Course Hero Logo

ThaiMai_Lab6.pdf - Page 1 of 7 Thai Mai 1226459223 Lab 6:...

Course Hero uses AI to attempt to automatically extract content from documents to surface to you and others so you can study better, e.g., in search results, to enrich docs, and more. This preview shows page 1 - 4 out of 7 pages.

Page1of7Thai Mai1226459223Lab 6: Lab Cruise ControlNovember 17, 2022% Demonstration of Cruise Control% Using PI (Proportional and Integral) Controller% Author: Chao Wang%% Task: Complete and run the script.% The places you need to add code start with a capitized word.clearall; closeall;CASE1Only Kp is increased for getting faster response, Ki remains sameResponse became slighlty faster.CASE - 2
Page2of7Kp set to the max while Ki remained at the min,str1 ='Kp1 = 800, Ki = 40'str2 ='Kp2 = 1000, Ki = 40'S1 =RiseTime: 3.5097SettlingTime: 6.0144SettlingMin: 16.2127SettlingMax: 17.9921Overshoot: 0Undershoot: 0Peak: 17.9921PeakTime: 8.5895S2 =RiseTime: 2.9247SettlingTime: 5.5933SettlingMin: 16.2325SettlingMax: 17.9477Overshoot: 0Undershoot: 0Peak: 17.9477PeakTime: 27.9616As seen on the plot above, the deisred reponse hasn't been achieve from the parameters. Meaning the Kidat will need to be manipulated.As the speed resonse cirtieria was achieved but we still have a steady error problem.CASE3
Page3of7% This example is adapted from% % A good tutorial on PID controller can be found at% m = 1300;% mass of the car in kgb = 60;% damping coefficient in Ns/mv0 = 18;% reference car speed in m/s (40mph)% Kp can be used to decrease rise time and decrease steady state error,

Upload your study docs or become a

Course Hero member to access this document

Upload your study docs or become a

Course Hero member to access this document

End of preview. Want to read all 7 pages?

Upload your study docs or become a

Course Hero member to access this document

Term
Fall
Professor
Chakrabarti
Tags
ki, output v

Newly uploaded documents

Show More

Newly uploaded documents

Show More

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture