model a discrete delta sigma modulator based adc -凯发k8网页登录
model a discrete delta sigma modulator based adc
since r2021b
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
in — analog input signal
scalar
analog input signal, specified as a scalar.
data types: double
reset — reset delta sigma modulator
scalar
reset signal for delta sigma modulator block, specified as a scalar.
data types: double
output
out — digital output signal
scalar
digital output signal, returned as a scalar.
data types: fixed point
| single
| double
| int8
| int16
| int32
| uint8
| uint16
| uint32
| boolean
parameters
delta sigma modulator architecture — architecture of delta sigma modulator
cifb
(default) | crfb
| ciff
| crff
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 |
delta sigma modulator order — order of delta sigma modulator
2nd order
(default) | 3rd order
| 4th order
| 5th order
| 6th order
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 |
sampling frequency (hz) — sampling frequency of delta sigma modulator
128e3
(default) | positive real scalar
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 |
quantizer levels — number of quantizer levels in delta sigma modulator
2
(default) | positive real scalar
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 |
quantizer ouput — range of quantizer output
[-1;1]
(default) | real valued vector
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] |
coefficient 'a' — feedback/feed-forward coefficients from/to the quantizer
[0.1601 0.6515]
(default) | real valued vector
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] |
coefficient 'g' — resonator coefficients
[0.0]
(default) | real valued vector
resonator coefficients, specified as a vector with real elements.
programmatic use
block parameter:
g |
type: character vector |
values: real valued vector |
default:
[0.0] |
coefficient 'b' — feed-in coefficients from the modulator input to each integrator
[0.1601 0.6515 1]
(default) | real valued vector
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] |
coefficient 'c' — integrator inter-stage coefficients
[1 1]
(default) | real valued vector
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] |
populate coefficients 'a', 'g', 'b', and 'c' — populate default values of coefficients
button
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.
enable noise impairment — enable noise calculations in delta sigma modulator adc
on (default) | off
enable noise calculations in the delta sigma modulator adc.
signal to noise ratio (db) — ratio of signal power to noise power
75
(default) | nonnegative real scalar
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 |
input signal power (w) — power of input signal
0.125
(default) | real scalar
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 |
system bandwidth (hz) — bandwidth of delta sigma modulator system
1000
(default) | nonnegative real scalar
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
matlab 命令
您点击的链接对应于以下 matlab 命令:
请在 matlab 命令行窗口中直接输入以执行命令。web 浏览器不支持 matlab 命令。
select a web site
choose a web site to get translated content where available and see local events and offers. based on your location, we recommend that you select: .
you can also select a web site from the following list:
how to get best site performance
select the china site (in chinese or english) for best site performance. other mathworks country sites are not optimized for visits from your location.
americas
- (español)
- (english)
- (english)
europe
- (english)
- (english)
- (deutsch)
- (español)
- (english)
- (français)
- (english)
- (italiano)
- (english)
- (english)
- (english)
- (deutsch)
- (english)
- (english)
- switzerland
- (english)
asia pacific
- (english)
- (english)
- (english)
- 中国
- (日本語)
- (한국어)