ELEC 341

Week 1

Updated 2017-09-12

Course Info

Office Hour: Thursday 14:00 - 16:00 KAIS 3026 [email protected]

Introduction

Systems Representation

Consider a ball getting hit:

The position of the ball can be modelled as a system, which can be graphically represented as:

Where is the impulse force exerted on the ball, and is the constant downward gravitational acceleration. The gravitational acceleration is multiplied by the ball’s mass , and also multiplied by for direction opposite of the impulse force. They are added together to form .

We then divide everything by to obtain the acceleration of the ball , which equals to or . We integrate and get . We integrate again to get the position of the ball in time .

This system is expressed mathematically as:

Feedback Control

Feedback involves sampling or sensing the output and adding an input based on the output. As shown by the diagram below, the system not only does depend on the input , but also depends on the reading from sensor .

In this case, the desired value is given by , the actual value is given by , and the measured value is the output of . We take the difference of the desired value and the actual value to get the value needed to control the system . When the measured value and the desired value is the same, 0 control will be fed into , thus we expect 0 change to the output since we are already at the desired value.

External Disturbances

External disturbances unintentional inputs that are modeled as inputs. These may be the random wind causing the flag to flap up and down, or turbulence in an airplane, etc.

Disturbances cannot be compensated without some form of feedback.

Stability

Stability can only be one of two options: Stable or Unstable. When some system is unstable, it does not have a margin, the result will usually be useless. When the system is stable though, it could be stable or marginally stable.

For instance, a ball placed on peak of a hill is marginally stable because some force will cause it to become unstable (the ball will start rolling downhill, and the further away it is from the peak, the faster it moves away from it). On the other hand, a ball placed in a valley is stable because any nudge will have a opposing force trying to move it back to its stable position.

Controller Design

The controller mainly handles the output of the feedback and the input of the system. It scales the output (i.e. voltage, etc.) based on the input (i.e. distance, voltage, etc.).

A PID Controller is an example of a controller that takes the Proportional gain, Integral gain, and Derivative gain, and outputs the control signal.

Block Diagrams

Block diagrams are graphical representation of a system (Graphic Math). For example, the system with output equal to input times the transfer function , can be represented like this:

Linear Time-Invariant (LTI)

Linear: linear systems support superposition of signals and homogeneous property.

Superposition: if , then

Homogeneous:

Time-Invariant: What matters in the system isn’t changing with respect to time

These LTI properties essentially ensures that the Laplace Transform exists. These properties are also used to perform block manipulation.

Laplace Transform

Put simply, Laplace transform makes solving problems easier by turning differentiation and integration into algebra.

General formula for Laplace Transform (single sided):

So we get some of these transforms:

The system transforms from time domain to complex frequency domain.

Differentiation becomes multiplication.

But since we are are taking the single sided Laplace transform that starts from 0-, becomes 0 for convenience sake, so rewriting the above and we get:

Integration becomes division.

Graphic Math

Multiplication

Graphical Mathematical
(LTI systems are commutative)
same as above

Division

Graphical Mathematical

Addition

Graphical Mathematical

Pick-off Point

Graphical Mathematical

Transfer Function

Transfer function is determined by taking the output and divided by input (). If the transfer function of a system is known, the output of the system can be determined easily by multiplying the transfer function by the input.

In the last example from the table in Pick off point, the transfer function is .

Example: find transfer function, and draw a equivalent block diagram

To find the transfer function, we first label the hidden / internal signals, and then write the mathematical representation.

Here, the error is , the measured value is , and the actual output is

We substitute the expressions into each other, and we get . We can then rearrange to find the transfer function. The transfer function of this generic feedback system is:

The equivalent block diagram is:

Example: find the transfer function

In this example, the system is identical to the general feedback system described above. Except with . Thus finding the transfer function only requires substituting with 1.

Thus the transfer function for this system is .

Example: find the transfer function

The transfer function is which can be determined by calculating (as a voltage divider).

Block Diagram Manipulation

Block diagrams elements such as blocks, signals, summing junctions, and pickoff points may be moved around to make representation or computation easier.

Manipulation in the Same Node

Consider the block diagram representation below, find the transfer function

To help visualizing, we may move the block around and split the summing junction into two. From here, we can think of the two feedback blocks as a single block. So we use the formula for feedback system, but plug in for and we get .

Alternatively, we can also think of it as a nested feedback loops. So we would apply the feedback formula for , then treat that term as a block and use the feedback formula again. The result would be the same as above.

Manipulation Across Blocks

Summing Junctions

The block diagram above can be modified to become:

But we have to multiply by . This is equivalent to the distributive property:

Usually it’s nicer to move summing junctions to the right since the “fix” only involves multiplication instead of division.

Pickoff Points

The block diagram above can be modified to become:

The same logic follows. But generally it’s nicer to move pickoff points to the left to void division blocks.