The reason I asked is because if we emulate an ADC in C++, we could emulate a S-domain plant or a discret plant and a digital control loop in C++. In this way we could finding the correct parameters for the control loop in simulation. It certainly makes easy to test the plant and the digital control loop we could use in a DSP. We could verify stability or change discret components in the plant.
1 Like