Skip to main content
6 events
when toggle format what by license comment
Mar 21, 2015 at 19:11 comment added BarzinM The diagram is basically the same that you use for any PID. The only difference is that your desired state keeps changing. How to add this changing state in Simulink depends on how you want to define your desired state. In simple case, you can make a block that takes the time and spits out the distance. Substitute that with the constant block that you had before.
Mar 19, 2015 at 9:12 comment added Wilhelm Could you please provide a simple simulink diagram or something like that for the case above, please?
Mar 19, 2015 at 4:30 history edited BarzinM CC BY-SA 3.0
added 19 characters in body
Mar 18, 2015 at 22:07 comment added Wilhelm Thanks for the Matlab code. That is very important to understand how the PID in that case works
Mar 18, 2015 at 21:49 vote accept Wilhelm
Mar 18, 2015 at 19:23 history answered BarzinM CC BY-SA 3.0