Hello, I have been facing a problem how to develop a hybrid simulation in the Scilab/Xcos. The simulation consists of a SISO (single input single output) system in continuous time domain and a discrete PID controller. The PID controller is a CBLOCK containing the code in the C programmin language. Interface between the "analog world" and the "discrete world" consists of two SAMPLEHOLD blocks. My problem is that I don't know how to achieve a state when the CBLOCK is calculated in synchronism with the sample and hold process realized in the SAMPLEHOLD blocks. Can anybody give me an advice or recommend me some tutorial? Thanks in advance.
-- Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html _______________________________________________ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users