What are the steps required to build a control system?

Dr. Ryan Ahmed, Ph.D., MBA
A free video tutorial from Dr. Ryan Ahmed, Ph.D., MBA
Professor & Best-selling Udemy Instructor, 200K+ students
4.5 instructor rating • 28 courses • 225,455 students

Learn more from the full course

MATLAB/SIMULINK Bible|Go From Zero to Hero!

Build 10 Practical Projects and go from Beginner to Pro in Simulink with this Project-Based Simulink Course!

04:34:51 of on-demand video • Updated June 2018

  • Develop Simulink models in a practical, fun and easy way.
  • Develop, simulate and analyze electrical and mechanical systems in Simulink.
  • Understand the basic concepts of control systems and develop your own controllers in Simulink.
  • Understand control system theory, develop PID controllers, and tune these controllers in Simulink.
  • Impress future (or current) employers with your marketable skills in MATLAB/Simulink
English [Auto] So what are the steps that we need to follow in order to develop any control systems. There are mainly three key steps that we need to do to perform and are going to walk you through them right now because we're going to use them at some point to develop our Ph.D. controllers and simulate. So the first step that we need. Again that's an overview of the of our system our control system. The first step is we need to develop what we call it a mathematical model for our process. I hope you guys are experts by now when it comes to developing mathematical models. It's very similar to what we have done before when we try to control our battery. Correct. If you recall we had the battery and we wanted to develop mathematical equations are just equations that tells us or describes how these batteries work in a very simple form. If you wanted to control let's say a water within a tank it's really simple. We're going to try to develop equations that describes what's the volume of the tank you know how do. Like how does water for example lever go into the tank and so on. Once we have that mathematical equation that's good. OK why. Because we can prove these equations put them directly within basically our controller with our computer and that's it then we're good to go. OK. That's the first and second step that we need to select the sensor we need to know what measurements do we need to take. So in this case we are actually measuring the level of fluid within the tank right or level of water within the thing. So you need to select ok for example a level sensor or like you know like whatever sensor you need. So we need to make sure that you select the right sensor for the right application. Right. Third step that we need to develop what we call the controller. OK. And that's if you recall before that. OK. Like the operator. Measure the measure of the actual level of the tank. He knows what he went to go. And then he decides in his brain. How much do I need to open or close the valve. Right. And how fast do I need to do it. All these decisions are very important. And actually we do that we actually implement the most advanced you know like the idea controllers in our brain without even realizing right. So what we need to do that we need to capture what we do in our brain and actually do it mathematically. And that's what we call it controller and that's one of the most important controllers is on call it proportional integral derivative control. It sounds fancy but it's really simple. It's a p decontrol. OK. And these are the key three elements that we need to follow when we design or develop any control system get a mathematical equation or a model for the plant which is we have done before we know how to model batteries for example. We're going to know how to develop we knew how to develop or model a mass spring system. We need to select the sensor and third step we need to know how can I make you know at smartness in there how can I make an actual control take a control action when we design our controllers. And these are the key three key elements. So let's dive right in and look into how can we develop an actual ID controller in the next section.