main content

model a discrete delta sigma modulator based adc -凯发k8网页登录

model a discrete delta sigma modulator based adc

since r2021b

  • delta-sigma modulator

libraries:
mixed-signal blockset / adc / building blocks

description

use the delta sigma modulator block to model a discrete delta sigma modulator based adc using a set of different architectures. the block supports these architectures:

  • cascade of feedback resonators.

  • cascade of feedback integrators.

  • cascade of feed-forward resonators.

  • cascade of feed-forward integrators.

you can model an adc of orders from two to six. you can also model circuit based noise.

ports

input

analog input signal, specified as a scalar.

data types: double

reset signal for delta sigma modulator block, specified as a scalar.

data types: double

output

digital output signal, returned as a scalar.

data types: fixed point | single | double | int8 | int16 | int32 | uint8 | uint16 | uint32 | boolean

parameters

architecture of the delta sigma modulator, specified as:

  • cifb — cascade of feedback integrators.

  • crfb — cascade of feedback resonators.

  • ciff — cascade of feed-forward integrators.

  • crff — cascade of feed-forward resonators.

programmatic use

block parameter: dsmarchitecture
type: character vector
values: cifb | crfb | ciff | crff
default: cifb

order of delta sigma modulator. you can choose between orders two to six.

programmatic use

block parameter: dsmorder
type: character vector
values: 2nd order | 3rd order | 4th order | 5th order | 6th order
default: 2nd order
input parameters

sampling frequency of the delta sigma modulator, specified as a positive real scalar in hz.

programmatic use

block parameter: samplingfrequency
type: character vector
values: positive real scalar
default: 128e3

number of quantizer levels in delta sigma modulator, specified as a positive real scalar.

programmatic use

block parameter: numberlevels
type: character vector
values: positive real scalar
default: 2

range of the quantizer output in the delta sigma modulator architecture, specified as a vector with real elements.

programmatic use

block parameter: quantizeroutput
type: character vector
values: real valued vector
default: [-1;1]

feedback coefficients from the quantizer or feed-forward coefficients to the quantizer, specified as a vector with real elements.

programmatic use

block parameter: a
type: character vector
values: real valued vector
default: [0.1601 0.6515]

resonator coefficients, specified as a vector with real elements.

programmatic use

block parameter: g
type: character vector
values: real valued vector
default: [0.0]

feed-in coefficients from the modulator input to each integrator, specified as a vector with real elements.

programmatic use

block parameter: b
type: character vector
values: real valued vector
default: [0.1601 0.6515 1]

integrator inter-stage coefficients, specified as a vector with real elements.

programmatic use

block parameter: c
type: character vector
values: real valued vector
default: [1 1]

click to populate the default values of the coefficients 'a', 'g', 'b', and 'c'. the block calculates the coefficient values based on the architecture and order of the delta sigma modulator.

noise

enable noise calculations in the delta sigma modulator adc.

ratio of signal power to noise power, specified as a nonnegative real scalar in db.

programmatic use

block parameter: snr
type: character vector
values: nonnegative real scalar
default: 75

power of the signal at the input of the delta sigma modulator, specified as a real scalar in watts.

programmatic use

block parameter: inputpower
type: character vector
values: real scalar
default: 0.125

bandwidth of the delta sigma modulator system,

programmatic use

block parameter: bandwidth
type: character vector
values: nonnegative real scalar
default: 1000

version history

introduced in r2021b

see also

| |

topics

    网站地图