PID algorithm: An example with DC Motor Control with Encoder
Вставка
- Опубліковано 24 сер 2024
- This was a lab done at John Abbott College by the Engineering Technologies Department, photonics program. Recorded by students Zakary Boucher and Domenic Nudo. We would also like to thank technical support from our technician Nick Sanza.
"STEM formulas" wants to acknowledge that it greatly inspired it’s content from the following video/channel/website:
• How to control a DC mo...
/ @curiores111
curiores.com/d...
Note: The wiring shown in her video showed that the color of the wires has a meaning. We disagree since it could be misleading. Motors with encoders attached to them may have a different color code for the wires. We encourage people to search for the proper wire connections rather than basing it off the color of the wire.
I like how you coded the equations directly rather than use a PID library (I did that once myself long ago when I worked DCS company).
I am working on a video on PID algorithm (concepts behind the formulas and numerical examples with MATLAB).
💖💖💖💖