Why doesn't the input match the output in the Digital Power ADC-DAC diagram?
Please help me with the following:
In the ADC-DAC diagram from the Digital Power addon shouldn't I get the same output as input? Here is the plot:
The output is a step when the input is ramp.
The ADC and DAC blocks model
The ADC and DAC blocks model the sampling delay and quantization error you get when using these devices. These are important concepts.
As you can see from your ADC simulation block settings below, your choice of a very slow ADC sample rate (100Hz) will result in large delay and dominates the error and is the primary cause of your steps on the DAC output. The hardware ADC conversion time on a typical C2000 is in the 200 nanosec range, in your dialog it is set to 10 microsecs, still quite small compared to the 10000 microsecs of your ADC sample rate so conversion time is not a factor in your diagram.
