• Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Simulating DAC output or other quantised signals

Status
Not open for further replies.

alec_t

Well-Known Member
Most Helpful Member
While experimenting with simulation of some filter circuits for digitised data, I amused myself by creating a simple model of a quantised signal generator to test the circuits (I know, I should get out more :) ).
In case it's of use to anyone else I've attached the .asy and .sub files for the model.
The model has two user-specified parameters:
1) a value 'Bits' to define the bit-width of the digital data (e.g as fed to a DAC),
2) a value 'Fsv' to define the full-scale voltage corresponding to the number 2^Bits.

Here are a couple of examples of the model use:
QuantiserUseExamples.PNG
 

Attachments

Status
Not open for further replies.

Latest threads

EE World Online Articles

Loading
Top