An Introduction To Control Systems

        Welcome to Control Systems.  Let's just jump right in.  We have a problem for you.  If you click here you will get access to a simulator.  It simulates a system, and when it loads you will be able to put in constant inputs and sinusoidal inputs.  You have one goal to start.

        Your first task is to do the following.
        As you get started, here are some ideas for using the lessons, and this introductory lesson in particular.
Question(s)

Q1.  You have just taken a position at River City Circuits Corporation (RC3), and their control system specialist is on an extended vacaction.  Your supervisor asks you to look at controlling a motor.  That motor is simulated in the simulator you can access above or by clicking here.  You need to specify how to get the motor to 1000 rpm and stay there within 2%.  Note that the simulator shows input and output in units of 1000 rpm, so you want to devise a scheme that gives an output of 1 (within 2%) when the input is exactly 1.

        What is your first thought?


Q2.  OK, one way or the other, you should have tried an input or two into the system and observed the output.  You might even have tried to calibrate the system.  Are you able to satisfy the 2% requirement consistently?


Q3.  Even though you were not able to control the system, you should have observed some things about the system.  In particular - assuming that you have probably taken a course in linear systems - do you think that the system is first order, second order or worse (which would be higher than second order)?

        Actually, you can test to determine whether the system is second order or higher by putting a sine wave into the system.  You can do that, but remember that the output of typical systems falls off at higher frequencies.  To avoid ugly plots, turn off the green plot by clicking for No Second Plot - as soon as the first plot starts.  Then, adjust the input amplitude to be much larger so that you get an output that you can actually see - so that you can see the phase of the output.


        Now you have a problem.  You should realize by now that you just can't make it work by calibrating the system because the system changes erratically.  That's what happens in real systems.  What you have just done is tried Open Loop Control, and you have discovered why it isn't popular.         We didn't even expose all of the possible problems with open loop control.  Here are some other things for you to think about.
        Now, let's go back to the problem at hand.  You still need to get the system to behave.  Can you think of a way to control this system?  Try to answer this question before going on, even if your ideas do not correspond with the options below.

Actually, we were trying to get you to the concept of ON-OFF Control.  It's a common way of controlling things like temperature in your house.  The essence of ON-OFF Control is to apply maximum control effort when the system is below where you want it to be, and minimum control effort when the system is above where you want it to be.  In the home thermostat that means your thermostat turns the heat ON when the house is tool cold and it turns the heat OFF when the house is too warm.

        In the simulator, we assume that the motor is driven by an amplifier that saturates in both directions.  So, when the motor is going too slow, the simulator is max positive output - to increase the motor speed.  When the motor is going too fast, the simulator is max negative output to make the motor start to slow down.  Try that in the simulator.  Do the following.


A Side Note

        In the ON-OFF control system the system is represented pictorially with a block diagram that shows how signals flow within the system and how they are processed.

For an ON-OFF controller, the controller reacts to the error in the system.  The error is the difference between what you want and what you have.  The simplest ON-OFF controller is the home thermostat, which looks at the temperature you want, and the temperature it senses and turns the heating system ON or OFF, depending upon the error in the system.  When the error is positive (i.e. the desired response is larger than the measured response) the controller turns the control effort to full ON.  Otherwise, when the error is negative, the control effort is OFF.  Some ON-OFF systems don't turn the control OFF when the error is negative.  If the system is a motor, and you are trying to get to some predetermined speed, if you go past the desired speed, rather than turning the control effort to OFF, the control effort becomes that maximum possible negative control effort - which will tend to slow the motor down.

        Now, it's time to examine what happens when you implement ON-OFF control.  Our simulator will let us examine what happens.

Once you have the simulator set, you should run the simulator for several different set points.  Try these values, and then we will have some questions.
Q4. When you simulated the system, was the response accurate for a set point of 0.5?


Q5. When you simulated the system, was the response accurate for a set point of 1.5?


Q6. When you simulated the system, was the response accurate for a set point of 2.5?



        What you should have noticed is that there are certain set points that require such a large control effort that you can't reach the desired output level.  When the control effort is limited - as it always is in reality - there is a limit to how large you can make the output level.

        You also should have seen that ON-OFF control gives oscillations in the output.  Moreover, the oscillations do not die out.  They persist forever.

        What are some of the virtues of ON-OFF control?

        What is the downside to ON-OFF control?         What resources will let me learn more about ON-OFF control?     That's ON-OFF control in a nutshell

Proportional Control

        There are other kinds of control algorithms that you can use.  The next kind of control is Proportional Control.  It has many similarities to ON-OFF control.

        Here is a block diagram for a proportional control system.  It's very much like the block diagram for the ON-OFF control system.  However, here the control effort is shown as:

Control Effort = CE = Kp x Error

Here's the block diagram.

        In proportional control, you can get very different behavior.  Let's explore some of that behavior using the simulator.  Here are the instructions for putting the simulator into the correct mode to examine proportional control.

        Now you are ready to look at some simulations with proportional control.  Once you have the simulator set, you should run the simulator for several different set points and values of proportional gain (Kp).


P1

        First, you will need some data, so try this set of values.

As you run those simulations, note the following and record the data you get.  Note the following You should get a strong sense of the following trends.
Continuing On

      Actually, there are numerous questions buried in this example, including questions about what happens if you try to control another system.  Are the conclusions reached above valid for other systems?  Let's review the conclusions, and then look at another system.  What we have noted in the example system above includes the following.

        Now, let's examine another system.  If you click here you will get access to another simulator for a system that is similar to the first system.  We want you to examine how this system behaves, and we will go through the same steps we went through for the first system.
Q7. Based on what you know already, can you predict how ON-OFF control will work?


        Next, look at using ON-OFF control with this system.  Do what you did before.  The instructions are repeated below. Once you have the simulator set, you should run the simulator for several different set points.  Try these values, and then we will have some questions.        When you examined ON-OFF control for the first system, you acquired some expectations.  The first system exhibited some oscillations, but they were small.         Next, look at using proportional control with this system.
Let's Summarize What We Have Found Out.

        There are some interesting issues raised by the simulations you have done, and we need to summarize what we have seen here.

        These observations reveal a number of things that need to be learned about control systems.  These observations can set the agenda for the rest of the course.


An Agenda

        There are some serious issues we have raised in this note, and there are clearly some things that we need to understand if we are going to be able to design control systems that behave well.  Here is a partial list of the issues that we need to address.

These are not really simple questions, and there is a lot to be learned if we want to be able to design systems to meet definitive performance specifications.

        Here is an approach to take.  First, we examine the first system in more detail.  If we can figure out what makes that system tick, then perhaps we will be in a position to understand what it is that makes the second system so difficult to control.  In this link you can learn about the fundamental problems that exist in these systems.


Readings