1

In control system, the error is the difference between input and output. But why are we expecting to get the output same as the input. To get the exact input as output there is no necessary for the system since we have the output available i.e input.

I am not sure I have detailed it correctly but please respond if you get it.

Transistor
  • 168,990
  • 12
  • 186
  • 385
  • The basic definition of a system is a device that does something to the input signal to produce the output signal. Defining the error as the difference between these two signals is often convenient. – Chu Aug 08 '20 at 11:21

4 Answers4

1

Normally a control system uses a setpoint voltage to amplify power, to achieve a position, velocity or acceleration with feedback to correct the error. There are many situations where power is used to control something and it is best if that feedback uses a sensor to convert from the same units that the voltage represents.

This means having the ability to use linear control to compare without having to integrate and reduce bandwidth, add latency or use phase compensation for stability that may cause overshoot or ringing from disturbances or step changes to the desired input.

Yet often this is not possible and multiple targets are needed like acceleration, velocity, position or direction and multiple sensors are needed.

Tony Stewart EE75
  • 1
  • 3
  • 54
  • 182
1

Let's consider a human driving a car.

schematic

simulate this circuit – Schematic created using CircuitLab

Figure 1. The car's human control system.

  • You have decided to drive at 80 kph.
  • Your actual speed is 60 kph.
  • Your eyes look at the speedo and subconsciously your brain calculates that you are below target speed by 20 kph.
  • Your brain signals to your right foot that further pressure should be applied to the accelerator pedal.
  • The engine responds and speed is increased.
  • The loop continues to operate, the error reduces and your brain continues to adjust the engine power until the desired speed is achieved.

Note that there is some fancy control calculation going on. Some will be based on experience but you will automatically take into consideration the car's weight to power ratio, the gear you're in, the incline you're on, passenger comfort or load safety, etc.

In a control system (such as cruise control in this case) we have to tune it to obtain the required response. This may be to get to the set point as quickly as possible or at a certain predetermined rate or with minimum overshoot.

To address your questions:

In control system,the error is the difference between input and output.

Correct.

But why are we expecting to get the output same as the input.

We're not. In my example the input is 80 kph but the output is throttle position which might be 34%.

To get the exact input as output there is no necessary for the system since we have the output available i.e input.

No. In the example the throttle isn't calibrated in kph but, if you like, it's calibrated in engine output power. We adjust the power to control the speed. Note also that the car's speed is not proportional to power because, for example, aerodynamic drag increases with the square of the speed.

See if my answer to Understanding the flow of a PI Controller? is of any help.

Transistor
  • 168,990
  • 12
  • 186
  • 385
1

"To get the exact input as output" : In most control systems, the input is not physically the same as the output. For example, voltage is given as input, but the real output being controlled may be something like position or temperature. But to calculate error (to know if we reached set-point or not), we can't compare voltage to position directly. Like mentioned in the other answers, we then need a feedback system which will translate the controlled variable (position, temperature etc.) into the units of the controlling variable (voltage, pressure etc.).

"error is the difference between input and output" : It doesn't make sense (in physics) to add or subtract things which have different units. So the control system will contain transducers to convert between various parameters with various different units into a common language for the purpose of comparing (adding, subtracting). In electronics, this common language is usually voltage (or current). In pneumatic systems, the common language may be pressure or flow rate.

"error is the difference" : Most common error calculation method may be subtraction, but, it is not the only method. For example, when working with rotations (in a quad-copter control system), the error calculation is a product, not a difference. Even in that case, the input and feedback have the same units (rotation matrices, unit quaternions etc.)

AJN
  • 3,756
  • 1
  • 9
  • 20
  • In control system text books, the physics and the units are dealt with only in the first few chapters (dedicated to plant modelling). Afterwards, the control system is analysed in abstract symbols and numbers. Looking at it without the context of the previous chapters might lead one to ask why we need a control system if the desired output is same as the input (which we already have). – AJN Aug 08 '20 at 16:30
1

The error is not the difference between the system input and system output, it's the difference between the setpoint (which can be considered a controller input) and the system output.

For example, if you want to bake a nice batch of cookies you might want to set the oven to 375°F (190°C).

190°C is your setpoint.

The controller can work with the difference between the system output (say starting at 20°C) and the setpoint (190°C) and notice that the error is -170°C so turn the heaters on to maximum. As the system approaches the setpoint the heating would be throttled back so that it stabilizes near the desired temperature. When the system output (temperature) equals 190°C the error is zero.

As well as the value of the error, the controller can also look at the rate of change of the error and the integral of the error (PID control).

Of course we might want to look at the absolute temperature and setpoint as well as the error, and maybe even mains voltage, because real systems don't behave linearly, and taking mains voltage variations into account can reduce the variations in temperature because you don't need to wait for the error to appear to (at least partially) correct for the disturbance.

Spehro Pefhany
  • 376,485
  • 21
  • 320
  • 842