I wish that my teacher had something like this to explain the working of PID controls. We have used just a book (which was by the way a great one), seeing the system in real life is much more interesting. Great work, maybe I will build one for myself.
This is nicely designed, I was thinking of doing something similar. One significant modification I was thinking about was replacing the ultrasonic sensor with something more reliable. What if instead of the wooden rails, you used metal rods instead, with a metal ball. Then measure the resistance across the rails. As long as the rails are electrically isolated (and it would appear they would be in your model), the ball would act as a potentiometer. Greater resistance = greater distance. It'd be interesting to see how that would work. It would also remove your friction issues.
I see a lot of these on Utube now. There must be an open source project somewhere because they all look the same. This isn't a difficult PID control project. It is just first order so has little chance of becoming unstable, no matter what you do. A more interesting PID demo I have seen is balancing a vertical pole, with the error signal coming from an angle sensor at the base.
inject a sine wave instead of the pot. Awesome work.
That's amazing to watch it, but we missed the sweet voice over!
Could be used as a controller for hydrofoil wing. Looks like ultrasound distance is the 'set point' for the PID.
Amazing work. It will be awesome to have a wave machine on wheels on this
Nice project, PID constants are not tuned optimally though - it oscillates around the target
Nice project, good work. Hope you enjoyed it continue to do more!
I tried to build this project but didn't find a circuit diagram and used library. Specially HC_SR04 creates problems.
good job 👍🏽, but may you show me how is the connection of the electrical components with the microcontroller ?
Hi IV Projects, I recently came across your video on the Ball and Beam project, and I found it really insightful! I'm currently working on it and was wondering if you could share more detailed information regarding the electronic connections. If possible, could you provide: A wiring diagram or schematic, if available. Additional photos of the connections on the CNC shield and components. Your guidance would be greatly appreciated, and I'd love to credit your work in my documentation. Looking forward to your response(would highly appreciate it if you upload some connection info images in git) Best regards, Noar
I'm wondering how the 3D models work for the cart, I can't seem to see how the the axels fit inside the cart chasis, thank you!!!
Do you have this project documented somewhere for other people to replicate and learn? Open source? This is a good learning project for PID control.
Love to see your trasfer function
Congratulations Great project.thank you for sharing so amazing PID controller
Impressive! Can you tell which pid equation is implemented here, since there are quite a few of them for some reason like parallel form, etc. Do Ki and Kd terms have time related physical meaning in your code or are "just numbers" correctly chosen? Would like to see some educational material from you, thank you!
Cool and smooth 👍🏼 Built as a demo or is there a future use for it?
Your project is beautiful. Can you post the wiring diagram of the circuit?
@matt55346