1. Home
  2. Explore
  3. Engineering
  4. Systems and Control Introduction

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Systems and Control Introduction

Transcript

Hello everybody. Welcome to this first lecture  on Control Engineering. So, what we will do is   we will just keep it very short, a series  of short lectures about 20-25 minutes each   sometimes even less. So, we will begin with  a little introduction to Systems and Control,   like what kind of tools you might eventually  use in the course and some very basics or   some very basic mathematical tools as well. So, let us start by defining- what is a system?

It could mean several things, but we will restrict  what makes sense for us in the course. So,   by definition, it could be a collection of some  physical components, biological components,   sometimes even abstract components; which talk  to each other to kind of perform an intended   objective. From the control point of view,  we can say that a system when subject to a   certain input also called excitation gives us a  certain output. We can also call it a response of a system and usually schematically we  can draw it as a diagram like this.   Systems could also be composed of several  subsystems, and we will eventually see physical   examples of this. So, like one system could  be connected this way SS1 you know it could   be connected this way or this way you know SS3 to  SS4 and so on. So, the overall input will give me   some kind of overall response of the system. So, what could be examples? some of them are like

very obvious, take a case of a motor where  I just give an electrical input and I just   see the output as mechanical energy in form  of torque. Air conditioner the input again   is electrical energy, the output you can sense in  the terms of heat energy which changes the ambient   temperature. The human body which is infected  with the virus, the input could be the drug   prescription which you take; and output could  be the way the drug is distributed in the body, its effect on the body in killing the virus. We will see all this, how this could actually   be modeled mathematically. And another  not very surprising example is that of a   car where the input could be some kind of  a signal which generates acceleration and   the output which you could obviously  see is the vehicle displacement.

So, before we start: I'll just introduce you  to some notations in the course, the small   letter t would denote the time variable,  input would usually be denoted by u of t,   output would be y of t, if there is certain delay  in the time signal we will denote that as a delta,   disturbance would usually be denoted by w  of t which is a time-varying disturbance   and f denotes any function; right which  may be maps one variable to the other.

So, how do we classify systems? Based on  the nature of systems we can have several   varieties or several classifications; some  of them which we would have already learned   in our signal systems course or our circuits  course and so on. So, the first one could be   something like a linear and non-linear, static or  dynamic, systems which vary with time, and system   which does not vary with time as we call them as  time-invariant systems. And lastly what we will deal with is causal or non-causal systems. So, what is a linear system? The system for   which the output varies linearly with the  input; and we all know that where it just   satisfies the principle of homogeneity and  superposition. For example, a resistor,   so let's see how this works. So, if I just take a resistor right,   so why do I call it a linear system. Let's  say first let's see if we can define what

is a linear function. If I say f of x then a  function is linear if f of x 1 plus f of x 2   is f x 1 plus f x 2; this what we called as the  superposition thing or a superposition property.   And something called the homogeneity if I just  take f a times x where a is just the constant,   I just have a, a of x. Why do I call a resistor  a linear system is essentially because;   if I take an R, I give it an input voltage V  the output I see is I equal to V over R.

Now, what happens if I have two voltage sources  V 1 V 2 well of course with the appropriate sign   conventions and R, what is the current?  So, the current I see here is of course,   V adds up like V 1 plus V 2 over R which  essentially is V 1 over R, V 2 over R and   this is the response would I 1 which I would get  only with voltage V 1, and I 2 the response which   I would get only with V 2. So, this is like I  could just take the individual voltages;take

the response and then combine them. How does homogeneity work? So, instead of V if I   say replace this by some constant a some constant  b and I look at the current would just be a times   V 1; b times V 2 over R, that simply would be  again a V 1 by R; b V 2 by R and so on. So, this   is like again the response with voltage V 1 scaled  by a factor a added directly to the response or   the current with the voltage V 2 with a scaling  b. So, this is an example of a linear system.

We could also see well what if I have instead an  inductor say voltage is L di by dt or in other   words the current across an inductor follows this  one V over L. So, what would happen if I have two   voltage sources? So, my total voltage would be  V 1 plus V 2 which goes across a resistor L and   that would generate some amount of current  let's call this I total here di T by dt.   So, what is this di T by dt? This di T by dt  now can be written as V 1 over L plus again V

2 over L; the same way as we did earlier for  a resistance. This again should be what the   V 1 over L is essentially if I just take the  response with just V 1 as the source similarly   V2 by L would be the response which I would take  with only V 2 as a source and you say the add up,   right just define the superposition thing. And  similarly, even the homogeneity would follow.

So, what does the non-linear system do?  Well, non-linear system; well the response   does not vary linearly with the input. And  of course, it does not satisfy homogeneity   and superposition. For example, a diode let us  work out this as we did earlier for the same.   So, i was i0 e power V over tau minus 1. And  you see if I take again V as a combination of   two sources V 1 plus V 2 I could never write  i as some individual combinations. So now,

the total i would be e V 1 plus V 2 over tau  minus 1, and this is not equal to i0 e power V   1 by tau minus 1 plus i0 e power V 2 over tau  minus 1. So, superposition doesn't hold. And   similarly you can check with the homogeneity  as well say- if I just put a here it will not   be equal to a times i0 e power V over tau minus  1; just kind of a straight forward to check.   The other kind of classification is between  static and dynamic systems. So, for a static

system at anytime the output depends only on the  current value of the input. In other words, they   are also called memoryless systems, whereas for  dynamic systems the output depends on the past as   well as the present inputs. And these are systems  which are called systems with memory. What does   it mean? I can just work out another example. So, let's again take the example of V equal to IR   a linear resistor. So, if I apply a voltage  V it results in a certain current across my resistor; V, this is R and this is the output.  And as soon as I say switch to V equal to 0,   I just remove this guy. Then what happens?  Well, I instantaneously goes to 0;

which means the input is gone the output  automatically is gone or it goes to 0.   Now, take an example where I have a V, an R and an  inductance; this is my R and L if I write down the   dynamics it would simply be V equal to iR plus  L di by dt. And I say I just put this voltage   source, I let the system go on for a while, say  for a few seconds. And later on what I do I just;   sorry, I just take out the voltage which means  I am now looking at the circuit which looks like

this. I do after some time when I do the circuit  when I switch it off for a some time. You would   know that the inductance accumulates some flux  or its stores some energy. Or in other words,   the initial current when I just say I do this at t  equal to 0 is not 0 then will be some current. And   I write down the equations it will be iR plus L di  by dt is 0. And let me say i at 0 is some number i

of 0. Then the current for all future times would  be i of 0 e power minus of R over L times t. So,   what you see is that, as soon as V goes to  0, i follow a certain pattern it does not go   to 0 immediately, it will take some time  to go 0 depending on what the value of R   and L are and these are usually referred  to as a time constants of the system.   So, this is how we classify between what are  called as static and dynamic systems. And the way;

the reason we say memory is that, well they store  some energy and remember something and that they   don't instantaneously go to 0. Mathematically  it would mean that y of t is equal to u of t,   just at that time instance. Or like for example,  which we saw of the linear resistor. For the   dynamics system y of t would depend on u of t  its previous instances what was like if we talk   in terms of the stored energy, it would just  mathematically look something like this. If I want to say i at 1 second it depends on all the  previous instances starting from t equal to 0.   For example, as we saw the inductor. Other examples could be the example of,   or the other classification would be in  terms of systems which vary with time and   systems which do not vary with time; as  we call time-invariant and time-variant   systems. And this should not be confused by  the dynamics of the system. Like for example,

if I in my earlier example here i was varying with  time, but this is also a time-invariant system. We   are not really interested in how i varies. So,  what we mean by time-invariant is the following:   that the output of the system is independent  of the time at which the input is applied.   So, if I take the example of a resistance  I experiment say today for a certain V,   I get a certain value of I say- V is 1 volt R is  1 ohm and my I obviously would be 1 ampere. So,

if I do this experiment say tomorrow the same  time I should get the same reading. And those   are systems which are time-invariant,  which means here we are concerned about   the parameters of the system- the value of R. Now, what does the time-varying system do? Well,   the output of the system depends on the time at  which the input is applied. If I apply u I get   a certain response y, and if I do the same  experiment after a while the response might change. How does the response change? What does it  mean? It means, take an example of the mass of an   aircraft: as the aircraft moves it keeps burning  on fuel and its mass inherently reduces. So,   if the mass at take-off would be different  than the mass at landing, which means the   parameters of the system are actually varying.  So, we are not classifying the time dependence   in terms of the dynamics, but in terms of  system parameters. So here the resistance

would be the parameter and in the case of the  aircraft, the mass would be the parameter. The last kind of classification which we would  be interested in the course is that of causal   versus non-causal, a very basic signal systems  concept. A causal system is a one where the   output is depending only on the inputs which  are received either in the present or in the   past. These are also called as non-anticipatory  systems. Non-causal systems they depend also on   future inputs. And the system anticipates  the future inputs based on the past.

For example, well mathematically this would mean  y of t will depend only on the inputs it received   at t it is received at t minus 1 and all if at  all any inputs at t minus 2 and so on. Well,   a causal system could also do the reverse; it  could also see what could happen at t plus 1   and get its outputs based on that. Well, a basic  causal system is all systems we see around you   know most physical systems are causal in nature  a motor or a generator it doesn't; my AC does not

react to see what might happen tomorrow to give  me an output today. Whereas, if I look at the   weather forecasting systems I would look at what  could happen tomorrow to kind of predict today,   or a more general example which we are which we  are used to when I prepare for an exam I prepare   keeping in mind what could be the questions in  the exam these are non-causal systems we keep in   mind or we anticipate what could be the future  inputs or if I am playing a game or a cricket match. I decide,you know what kind of pitch I am  playing, what kind of bowlers the opponents would   have. And then I prepare myself based on that.  These are essentially non-causal systems.

Now, what are the implications of this on control?  Well, what is the simple control mechanism? Well,   a simple control mechanism could be a mechanism  which directs the input takes it through other   systems and regulates their output. And a  control system also alters the response of   a plant or a system as desired. Typically,  it could look something like this. You have   a plant which is to be a controlled could be a  motor, it could be a car, a missile or whatever.

So, the controller gives it a certain control  input and then we want to all this entire system   the plant plus the controller to perform  the desired objective; at I will say well   I want to say set the speed of my car to a certain  desired speed and I could measure that speed. So,   this plant is controlled via a control  input which the controller generates   based on what is the desired reference. So, what could, will this always work? Well, sometimes not you have disturbances,  which are essentially unwanted signals,   which affect the output of the system. For  example, people entering and or leaving a   room while an air conditioner is on, sometimes  external environments, so at morning 6'o clock my   external conditions would be different then what  they would be at 12 or 6 in the evening that could   be modeled as a disturbance. And my controller  should also be smart enough to eliminate the

effects of these disturbances. And therefore, we  need what is called as feedback in control.   So, what does the feedback do? The  feedback essentially it senses the output,   it gives a signal which can be compared to the  reference. Say this is 24 degrees- if I talk of   an air conditioner, this is 27 degrees. This  guy will send the signal back to the desired   reference and say well your output is not equal  to the desired reference and this difference

will tell the controller to give a certain input  which might give which might set or eventually   from 27 degrees I could go to 24 degrees. So, the feedback senses the output of the   plant and gives a signal which can be compared  to the reference. And the controller action,   the controller input is chosen or it changes  based on the feedback, for example, the desired   is 24 and the actual is 21 degrees; the controller  action would be different when the output is 21,

than it would be when the output is 27; so the  controller action changes based on the feedback.   And feedback enables the control system in  exciting the desired performance from the   plant even in the presence of a disturbance. Say now, in (Refer Time: 19:16) this is 24 and   I say well my temperature is also 24 everything is  perfect. Then I say there is some disturbance some   10 people enter the room or 10 people leaves the  room. Then if 10 people enter the room then you would expect the temperature to go up to say  26, then this is being continuously monitored   here continuously being compared here. Then this  guy will say oh hold on there is a difference in   temperature so the controller should perform an  action to give certain input to the plant to get   back the 26 to 24. So, this feedback also helps  in eliminating the disturbance. And we will see   the exact analysis of how to eliminate the  disturbance in the future lectures.

What could be examples that we have been; of  course, motivating ourselves to the examples? So,   a typical open-loop air conditioner  would look something like this. So,   this room is the plant to be controlled, the air  conditioner is my controller, the control action   could be on and off switch of the air conditioner,  and I will have a temperature setting nob or even   as simple as simple as a regulator on my fan. So, when I look at a control system I should identify what is the process or the plant,  in this case, it is the room. What is the   output? The output which I measure is the  actual temperature of the room. What is the   desired input? If I want a certain temperature  what could be the desired input over here? Are   there any subsystems involved in the middle and  what is the actuator? So, we will slowly quantify   or even model each of these and see what these be  in the analysis and design of control systems.

So, this was in the open-loop case, now we  could also or all the air conditions now   we see are close-loop in nature. We know that the  air conditioner is it helps us in maintaining the   desired temperature. The plant, in this case, is  my room, the control system or the controller is   the air conditioner, the reference signal is the  desired temperature which I want the room go to,   the control input could come as in terms of  an on-off switch, the output which I measure is the output temperature, disturbance could be  factors affecting the ambient temperature like   people entering or leaving the room. And then  the feedback signal is the actual temperature   is compared with the desired temperature  to perform the on-off control action.   Other examples could be well when I am  actually driving a car I want to go from   point a to point b. So, this is the desired so  I can fix a destination to say a point b.

Now, at each point, I see how far I am from  point b, and then I have a control system   which is essentially my control action when  I drive the car. The reference is the desired   destination, the control input is the steering  mechanism what drives or steers my cars from   point a to point b. And the output which I  measure or I compare myself to is the actual   position. The disturbance could be several in  terms of traffic conditions, road conditions; you hit upslope or a slope and so on. And this  constitutes a close-loop control mechanism.   So, what we have done so far? We have looked  at the classification of systems which would   be important from the control point of view. We  have looked at a very basic notion of feedback   and its significance. So, what we will be  doing in the coming lecture? We will look   at how to build models and the significance  of models, types of mathematical models,

and what are the other what are the steps involved  in modelling of systems. So, we will do that in   the second lecture. Thank you.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent