Rotary Inverted Pendulum (PID) - Design, Build, Model, Swing Up and Stabilisation
ฝัง
- เผยแพร่เมื่อ 21 ก.ย. 2024
- This was my final year mechanical engineering project's presentation. Hopefully this will help someone who wishes to take on a similar project. feel free to contact me if you have any questions, I'd be happy to help.
I used an Arduino Mega, a Geared motor, two optical encoders and a L298N motor driver as the hardware.
The control system developed used two PID controllers which were implemented in the Arduino IDE.
Can we control the rotary inverted pendulum by implementing the neural networks ??
I am doing the same project using simulink and matlab. If anyone can help please tell me
How would you convert the control signal from a voltage to a PWM pulse signal? Thank you very much!
Hey, it's not too difficult actually! Just look for a tutorial on how to control an LED brightness with PWM on Arduino - plenty out there. If you can control an LED's brightness you can control a motor.
My code loops continuously, so with each time the code runs through, the new PWM output is calculated for that specific moment. Hope this helps.
what do you think about doing this project with an stm board (arm instead of avr)
i do with arm, but actually its
same for me
hey man, can you give me an email for further communications too, please?