I am using a Model Predictive Controller for controlling a vehicle. In SIMULINK i have used the state-space continuous time plant model and by default the MPC block is generating digital control input into the ss continuous plant. Also the output from the plant is continuous, which is going through the MPC for feedback.

My concern is, is it possible or not?

If not possible, do i need A/D or D/A converters??

Why zero-hold or other conversion method of D to A signals, causing a delay?? as a result when i implement a D/A conversion i dnt get real time signal in the output.

For example, if the disturbance in the plant is acting at 4th second of the simulation, the output starts to change on the 5th second,in digital time frame. but if i use continuous frame, the outputs are displayed at real time.

Moreover, i dont find any convenient way to convert D/A (corrected*) in simulink.

sorry for a long explanation.

any help will be highly appreciated.

Similar questions and discussions