03-04-2013 06:56 AM
Can anybody please help with the below question.
Using your LabView interface, input different values of power and record the output value of the number of wheel rotations. You can convert the latter into speed by measuring the diameter of the wheel. Then, type ‘ident’ in the command line of Matlab to launch a graphical user interface for system identification. Using the data collected for input power and recorded speed, you can derive the transfer function for your robot in the Laplace domain.
You will notice that it is possible to approximate the transfer function to a first order system.
Add disturbance to your system such as wind drag, road profile or friction. You might want to model the disturbance as a sinusoidal waveform.
Analyse the system response in LabView in order to tune the response.
Finally, write a LabView program to test your controller.
Record the steady-state error. Has it dropped to near zero?
Record the rise time. Has it decreased to less than 0.5 second? And for what values of Kp?
Check whether this response is realistic i.e. a real cruise control system generally cannot change the speed of the vehicle from 0 to 10m/s in less than 0.5 second.
Write the PID-feedback control LabVIEW program as described above.
Does it work? Quantify! Show us it is working
Hand in a short report on the PID project on the cruise control of the LEGO MINDSTORM NXT Robot. Your report should contain an introduction to cruise control and uses of PID controllers, a brief explanation of how PID feedback control works. The printout of the Block Diagram and Front Panel of your LabVIEW program should be attached at the end of your report.
Put it all together. There are many questions that can be explored and written up in the result section. Be creative.
Here are some things that may be addressed: Check whether your system can stabilise speed to within 1%. What are the optimal PID parameters that you have found? Can you choose PID parameters to both reach the set speed quickly and also maintain the speed within good accuracy once the system has reached the set speed? Can you control the speed of small steps? Explain your results?
03-07-2013 04:11 AM
HI ToolMonkey
You should be able to build control system to do this using PID control VIs. The following paper is a good place to start when working with PID systems.
http://www.ni.com/white-paper/6440/en
Let me know how you get on using some of the functions in this.
Thanks
Dan.H
UKAE
03-07-2013 09:29 AM
Thanks for that.
@DanHarryman wrote:
HI ToolMonkey
You should be able to build control system to do this using PID control VIs. The following paper is a good place to start when working with PID systems.
http://www.ni.com/white-paper/6440/en
Let me know how you get on using some of the functions in this.
Thanks
Dan.H
UKAE