My full-time job is designing control systems for satellites and aircraft. I've had some pretty fantastic mentors over the years who have helped me realize the value of what I learned in school. These lessons are what I'm trying to pass on to others so hopefully more people will get interested and excited about engineering systems. My recommendation to you would be to read/watch tons of different explanations of the same topic and choose what works for you ... that and practice!
I have a engineering degree working for sustainable energy but in structure and mechanical. Where can I get started to make control system for a robot car?
@@BoZhaoengineering Hello Bo!, I'm a biomedial Eng Undergrad so i might not know as much as you, but you can start by learning to program microcontrollers(preferably arduino) and learning step by step about various different motor drivers and such.. there are lot of good tutorials on the internet, then you can design a control system with the inputs that you plan to implement (it,ultrasound) and output as the pwm for motor driver and switching direction
Thanks! It went unstable at the end because I had increased the gain higher than 1/35. If you noticed the car never actually went back to the flag and so by increasing the gain I reduced that final error. But if you increase it too much the car goes unstable. However, the real root of the problem is that a proportional controller isn't the correct choice for this case. I couldn't increase the gain high enough to have zero error while still staying stable. I'll explain in a future video.
Well, after one semester of studying control theory I finally got it thanks to this video. I missed connection between algebraic representation and reality. Thank you.
You just did! Thanks for watching and please share with your friends so that I can grow the channel and eventually make this a one-stop resource for controls related tutorials.
Brian, THANKS A LOT for this fantastic small project. I have finished the control theory course for years and it is your way of teaching that really attracts me. I highly appreciated your videos and I believe many more people will benefit from your enlightening guidance. Hope you get more videos in the future^^
I'am in my final year of electronic engineering in Ireland, in exams I could do all the control mathematics with great grades but had not the faintest idea what I was doing until now! WOW! Great video.
Thank you so much for this video, I am currently an undergraduate student focusing on monitoring and advanced control, I love both math and electronics and when I read your comment about your full time job, you answered me the question, I want to be a control design engineer!!
I have never commented on anyone's video in my life but your videos have helped me understand a lot of things and i would like to thank you for that. I hope to see more control system videos !!!!
Good question. I could have used a compass (or even the compass and gyro as a pair). I chose a gyro only because I wanted to talk about the gyro sensor in the next few videos. The control law attempts to minimize vehicle rotation, if I had used the compass the control law would have tried to maintain a specific heading. If I had a specific goal for the car (other than to show a closed loop controller) I probably would've picked a different sensor.
Very nice video!! I've started studying closed loop control and this video has got me excited to keep studying hard! Thank you, Brian, for the good job with your channel!
Hi Cruz, you are correct that the EMI caused by the motors would be picked up by the compass. I haven't tried it on my latest project but on a past project I wrapped the motors with a high magnetic permeability metal to shield the other components from the motors. Another thought is depending on the speed of the motors and the expected turning rate of the car you might be able to filter the magnetic component from the motors out of the compass reading. Interested to see if it would work!
its great that you are doing all this! one problem i have seen with control system courses in school is that its taught as just a math course without enough explanations into the applications of what we are learning. students need to look into other resources such as your videos to better understand the applications
This is what our Indian education system lacks, we know the theory but not the applications and as a results the subject sucks.Even if we look for the same topic the educator also lacks the practical knowledge. Your video makes a difference Sir.
Again, incredible work! Your explanations make concepts I had written off as too difficult for me years ago so much more accessible. I plan on using your videos both at work and in my volunteer work with our local school and STEM programs. Please, keep it up and thank you.
Hi Dipendra, I have to admit that I'm not a programming expert but here is my recommendation. First off, understanding "how" to program is more important than learning a specific language (i.e. the logic and flow of a program). At my job I use Matlab more than anything and you can write some pretty sophisticated scripts with Matlab. I can read through C and can tweak code but haven't really had to write large programs from scratch in C. I guess it depends on what you're using it for.
I'm going to watch a lot of your video's.Thankyou for putting effort into making these great videos. Seriously, they are great and helping a lot! I am going to combine it with two books and then try something myself.
Congratulations for your videos Brian, I'm sure it helps lots of people, I am one of them. I'm trying to make a car go towards to one direction, in my case the disturb is caused by little difference between wheels speed. I thought I could do that using a acelerometer, but someone told me I should use a gyro. My goal at this moment is to get that.
I like how you demonstrated the implementation of control systems using electronics and embedded systems though most control engineers usually don't need to do the implementation.
Shame that you didnt really continue this series except for the "Robotic Car - A Simple Way to Build a Model" video... Any plans on continuing with this series after these few years?
you should do one of those inverted pendulum robots, just like the segway alike, very much common in arduino projects. That would be nice, the system identification and also the real life LQR application.
NICE, I just wanted to know why do you need to build a 5 frames average filter in this ("primitive, simple") example and from where do you get the gain 1/35 of your closed loop? thank you so much:-)
Hi James, I just made a video about building a really simple plant for the Zumo bot. It's two videos ago if you go to my channel. I'm planning on making a more in depth one in a few weeks. Do you have a Zumo? Have you done any modeling of it?
Hey Brian can you make a separate and detailed video illustrating the method of designing a control system and then implementing it on hardware. Thanks
Brian, Great Videos... However, Kalman Filter and MIMO systems using Matlab plus are my lackings. Any chance on videos and examples on these topics. I have problems with more than one input like pressure and temperature. Trying to optimize and perform system ID is more second-order or more systems. After building math models and trying to tune cascade models. hardware in the loop is different at this level. Does not tune very well. Any ideas?
@Brian Douglas Where did you learn all of this? I have a couple of Control Systems books but they aren't that great that I can do this kind of stuff (and I'm not talking about the Arduino). Maybe you have a better book you can recommend? Thanx for the video's !
Adjust those gains and give it a sense of direction /w the magnetometer! Might wanna get the MPU-9150 also. Oh and while i'm at it you're gonna need to find out what has an electromagnetic field [like the motors ;)] and keep the magnetometer away.
Since the rotation is not centered at origin of the car's reference frame, I think the car will try to preserve a trajectory parallel to the original black line.
Hey Brian, I love you videos man keep em coming. Is it possible for you to make a few videos about implementing an MPC system on an Arduino for a 6-DOF craft? I somewhat understand the theory but implementing matrix computations on Arduino and also the details needed to correctly implement the system is not easy to do. Any help in this field would be greatly appreciated.
Hey Brian, love your videos man. I am currently doing my masters in electrical, want control to be my focus. As an electrical engineer, we weren't required to take any other programming classes than C (which I didn't understand very well) during undergraduate at our university. I was hoping you could advise me on what programming courses would help me to become a good control engineer? Would greatly appreciate your help.
hello, excellent video; In my university they want to do this tests with a table that turns 5 times faster than the nominal with the use of Psoc. I hope you can help me thanks.
I tried your code to my zumo robot and it did not work, after doing some research i found that you made some mistakes, in fact you are reading raw data from the gyro, you have to do the conversion (dps or rad/sec). Where does the 1/35 comes from? normally it should be RW where R is (the length of the axel/2) and W is the angular speed, and what is the unit of the velocity, are you sure that the units are uniform? I also think that you should change the equations of Vleft and Vright, if you want your robot to drive straight with respect to the earth reference, because if the disturbance G.z is positive then the left wheel should drive faster than the right wheel to compensate. I donno how you code worked.
Brian, after finding your lectures awesome, this is even better! Just yesterday I was having a moan with class mates about the lack of practical involvement in our control classes - and here it is. But - Why do you think it went unstable in the last clip? Is 35 too high for the gain?