Hi: I have a simulink model of a PID controller and plant. This is a continuous model (s instead of z). (1) Will the continuous model I have, work with an xPC/industrial PC setup coupled to the actual plant hardware, or do I absolutely have to use a digital model ?
In the latter case, is there a simple way to convert this continuous model into a digital one, other than rebuilding it using discrete functions ? Could I, for instance, add a zero-order hold at the input and output of the model to simulate a digital system ?
(2) When I connect the actual plant to the model, I intend to reconnect the plant block in the overall simulink model as an estimator in the feedback loop. Would converting the controller to a digital system have any effect on this analog plant estimator model ? Would I need to add ZOHs at the input and output of this estimator ?