Assignment 3-Q4 & Q5
Assignment 3-Q4 & Q5
The open-loop transfer function characterizes the inherent relationship between the input and
output of a system without any feedback mechanism. In the case of our DC motor control
system, the open-loop transfer function, provided to us, is a first-order transfer function given
by:
Equation 1
ω ( s) K0
=
V ( s ) τ s+1
Where:
In control systems analysis, it's standard practice to represent the open-loop transfer function
with the symbol 'G(s)'. This provides a compact and convenient notation for further analysis.
Equation 2
ω( s) K0
G ( s )= =
V ( s ) τ s+1
In the previous assignment, the DC motor's gain (K0) and time constant (Tau) were
experimentally determined. To tailor our analysis to the specific motor system, we substitute
these values into the open-loop transfer function:
K0 = 41.7
Tau = 3.93
Equation 3
41.7
G ( s )=
3.93 s +1
This transfer function indicates that a change in input voltage (V) will result in a
corresponding change in the motor's speed (w). The time constant (T) determines how
quickly the motor responds to changes in input, while the gain (K_0) dictates the magnitude
of the speed change for a given voltage change.
Input Signal R(s): This represents the desired reference speed for the DC motor.
Summing Junction: This element calculates the error (e) between the reference speed (R(s))
and the actual measured speed of the motor (which is fed back).
Kp Block: This represents our proportional controller. It multiplies the error (e) by the gain
Kp, generating a control signal.
G(s) Block: This represents the DC motor system itself. The control signal from the P-
controller is the input to this block, and the output is the actual speed of the motor.
Unity Feedback: This means the output speed is directly fed back and compared with the
input reference.
With the introduction of the P-controller (with gain Kp), the effective open-loop transfer
function of the system changes. Since the controller is in series with the original plant (the
DC motor), the new open-loop transfer function becomes the product of their individual
transfer functions:
41.7
Gnew ( s )=K p G ( s )=K p ⋅
3.93 s+1
Gc ( s ) G p ( s )
T ( s )=
1+G c ( s ) G p ( s ) H ( s )
Where:
Gc(s) = Kp (P-controller)
41.7
Gp(s) ¿ (The DC motor system)
3.93 s+ 1
Derivation
41.7
Kp⋅
3.93 s+ 1
T ( s )=
41.7
1+ K p ⋅ ⋅1
3.93 s +1
41.7 K p
T ( s )=
3.93 s+1+ 41.7 K p
The closed-loop transfer function describes how the system's output (motor speed) responds
to changes in the input (desired reference speed) with the controller in place. We'll use this
transfer function to analyse how our controller design impacts the system’s performance.
The steady-state error (ess) is a measure of how well the system's output tracks the desired
reference input after transients have subsided. It is calculated using the Final Value Theorem
as follows:
Equation 8
ess=e ( ∞ )=lim s E ( s )
s →0
where:
e(∞ ) represents the error signal at steady-state (as time approaches infinity)
ess=e ( ∞ )=lim [ wm ( t ) −w 0 ( t ) ]
t→∞
where:
e(∞ ): Error between desired and actual speed at steady state (as time approaches
infinity)
ess=lim s [ W m ( s )−W 0 ( s ) ]
s →0
where:
W 0 ( s )=T ( s ) W m ( s )
Equation 12
ess=lim s [ W m ( s )−T ( s ) W m ( s ) ]
s →0
ess=lim s [ 1−T ( s ) ] W m ( s )
s →0
6. Substitute the value of T(s): Substitute the previously derived T(s) into the steady-
state error equation:
Equation 14
ess=lim s 1−
s →0 ( 41.7 K p
3.93 s+ 41.7 K p +1 )
W m ( s)
1
7. Apply Unit Step Input: For a unit step input,W m ( s ) = . Substitute this value:
s
Equation 15
ess=lim s 1−
s →0 ( 41.7 K p 1
3.93 s+ 41.7 K p +1 s )
8. Simplify: Cancel out the 's' terms:
Equation 16
ess=lim 1−
s →0 ( 41.7 K p
3.93 s+ 41.7 K p +1 )
9. Evaluate the Limit: Taking the limit as s approaches 0, we get:
Equation 17
41.7 K p
ess=1−
41.7 K p +1
41.7 K p
0.05=1−
41.7 K p +1
11. Solve for Kp: Now, solving this equation to find the value of Kp that achieves
desired goal.
Subtract 1 from both sides:
Equation 19
−41.7 K p
−0.95=
41.7 K p +1
Multiply both sides by the denominator:
Equation 20
Equation 21
−39.615 K p−0.95=−41.7 K p
Combine Kp terms:
Equation 22
2.085 K p=0.95
Isolate Kp
Equation 23
0.95
Kp= ≈ 0.456
2.085
Control signals are the calculated outputs of a controller that are designed to manipulate a
system's behavior to achieve a desired outcome. In a closed-loop system, these control signals
are based on the error between the desired reference input and the measured output. Below is
a description of the common P, I, and D controllers:
P-controller (Proportional): The control signal is directly proportional to the current error. It
offers a quick response but can lead to steady-state error, where the output doesn't precisely
reach the desired value.
Figure 4 P-Controller
D-controller (Derivative): The control signal is proportional to the rate of change of the error.
It anticipates future error, improving response speed and stability, but it can be sensitive to
noise in the measured signal.
Figure 5 D-Controller
I-controller (Integral): The control signal is proportional to the accumulation (integral) of the
error over time. This helps eliminate steady-state error but can introduce instability and
oscillations if not tuned properly.
Figure 6 I-Controller
These controllers are often combined (e.g., PI, PD, or PID controllers) to achieve the best
balance of speed, accuracy, and stability for a specific control task.