Control of Smart Systems
Control of Smart Systems
Systems
⎋ Piemades, Inc.
S. Eswar Prasad,
Adjunct Professor, Department of Mechanical & Industrial Engineering,
Chairman, Piemades Inc,
1
Control Technologies
for Smart Systems
⎋ Piemades, Inc.
S. Eswar Prasad,
Adjunct Professor, Department of Mechanical & Industrial Engineering,
Chairman, Piemades Inc,
2
Control Technologies for Smart Systems
• Control Systems Overview
Open loop and closed loop systems
• Controller Operation
Proportional, Compensated
3
3
Control Systems Overview
4
Control Systems Overview
5
Control Systems Overview
Historical
6
Control Systems Overview
Assumption
The definition of the damping ratio and natural frequency
presumes that the overall feedback system is well approximated by
a second order system, that is, the system has a dominant pair of
poles.
Uses
7
Control Systems Overview
8
Control System Technology
9
Control Systems Overview
10
Open Loop System
Controlled
Reference Actuating Variable
Input Signal (output)
Controller Controlled Process
(Plant)
11
Open Loop System
Controlled
Reference Actuating Variable
Input Signal (output)
Controller Controlled Process
(Plant)
12
Open Loop System
Controlled
Reference Actuating Variable
Input Signal (output)
Controller Controlled Process
(Plant)
13
Closed Loop System
Error
Controlled
Detector
Reference Error Actuating Variable
Input Signal Signal Controlled (output)
Controller Process
+ (Plant)
-
Feedback
Signal
Feedback Path Elements
14
Error
Detector Controlled
15
Closed Loop System Reference
Input
Error
Error
Signal
Actuating
Signal Controlled
Controlled
Variabl
Controller Process
+ (Plant)
-
Feedback
Signal
Feedback Path Elements
16
Closed Loop System
Sensor
17
Closed Loop System
Sensor
If we assume the controller C, the plant P, and the sensor F are linear and time-
invariant (i.e., elements of their transfer function C(s), P(s), and F(s) do not depend on
time), the systems above can be analyzed using the Laplace transform on the
variables. This gives the following relations:
18
Closed Loop System
Sensor
The expression
then Y(s) is approximately equal to R(s) and the output closely tracks the reference
input.
19
Selection of a Control System
An open-loop
system
A closed-loop
system
20
Elements of Control Systems Response Characteristics
• Transient Response
• Stability
21
Elements of Control Systems Response Characteristics
Input Command
Amplitude
Time
22
Elements of Control Systems Response Characteristics
Input Command
Amplitude
Time
23
Elements of Control Systems Response Characteristics
Overshoot Steady State
Error
Input Command
Time
Settling time, ts, is the time it takes output to settle within a specified boundary
typically 2%).
Rise time, tr, is the time it takes for the output to change from 10% to 90% of final
value.
Peak time, tp, is the time to reach the vicinity of set point, and usually the largest,
peak.
Overshoot, Mp, is the amount that the peak exceeds the steady state value at the
peak time. generally expressed as a percentage of the final steady state value.
24
Elements of Control Systems Response Characteristics
25
Open loop
Closed Loop
26
Elements of Control Systems Response Characteristics
27
Elements of Control Systems Response Characteristics
28
Controller Operation
• Proportional Controllers
• Compensated Controllers
29
Proportional Controllers
In the proportional control algorithm, the controller output is
proportional to the error signal, which is the difference between
the set point and the process variable. In other words, the output
of a proportional controller is the multiplication product of the
error signal and the proportional gain.
This can be mathematically expressed as
where
Pout: Output of the proportional controller
Kp: Proportional gain
e(t): Instantaneous process error at time 't'. e(t) = SP − PV
SP: Set point
PV: Process variable
30
Compensated Controllers
31
PID Controllers
A proportional–integral–derivative controller (PID controller) is a
generic control loop feedback mechanism (controller) widely used
in industrial control systems – a PID is the most commonly used
feedback controller. A PID controller calculates an "error" value as
the difference between a measured process variable and a desired
set point. The controller attempts to minimize the error by
adjusting the process control inputs.
P
+
u(t) e(t) + y(t)
+
∑ I ∑ Plant/Process
- +
32
PID Controllers
• The PID controller calculation (algorithm) involves three separate constant
parameters, the proportional, the integral and derivative values, denoted P, I, and
D.
• The the use of the PID algorithm for control does not guarantee optimal
control of the system or system stability.
33
PID Controllers
In PID control the sum of its three correcting terms constitutes
the manipulated variable (MV). The proportional, integral, and
derivative terms are summed to calculate the output of the PID
controller. Defining u(t) as the controller output, the final form of
the PID algorithm is:
where
Kp : Proportional gain, a tuning parameter
Ki : Integral gain, a tuning parameter
Kd : Derivative gain, a tuning parameter
e : Error = SP − PV
t : Time or instantaneous time (the present)
34
PID Controllers
P
+
u(t) e(t) + y(t)
+
∑ I ∑ Plant/Process
- +
Steady-state
Parameter Rise Time Overshoot Settling Time Stability
Error
Large
Ki Decrease Increase Increase Degrade
decrease
Small Small No effect in Improve if Kd
Kd Small Increase
decrease decrease theory is small
Ang, K.H., Chong, G.C.Y., and Li,Y. (2005) PID control system analysis, design, and technology.
IEEE Transactions on Control Systems Technology, 13 (4). pp. 559-576.
Jinghua Zhong (2006). PID Controller Tuning: A Short Tutorial.
35
PID Controllers
Open Loop step response (OL) Proportional Control (P) Proportional Derivative control (PD)
http://www.engin.umich.edu/group/ctm/PID/PID.html
36
PID Controllers - Limitations
37
PID Controllers - Limitations
38
PID Controllers - Limitations & Solutions
39
Design of Control Systems - Process
Objectives
40
Design of Control Systems - Process Steps
Feedback Control of dynamic Systems, Franklin, Powell and Emami-Naeini, 2006 Prentice-Hall.
41
Design of Control Systems - Analogue Systems
42
Design of Control Systems - Digital Systems
Analogue- Feedback
to-Digital Sensor
Converter Response
43
Design of Control Systems - Digital Systems
Advantages
44
Design of Control Systems - Digital Systems
Digital controllers, in addition to PID, provide additional
algorithms.
• Notch Filter
Notch filters are used to control mechanical resonances in a
plant.
• Adaptive Filter
Adaptive filters are useful when plant response cannot be
determined due to insufficient information or if it is subjected
to time varying change. Can also be used to characterize an
unknown plant.
45
Algorithm Implementation Considerations
Digital processing systems operate using sampled data instead of
continuous data as is used in analogue systems. Mathematically,
differential equations are used to model DSP functions.
Two of the most important building blocks of DSP are FIT and the
IIR filters.
46
Algorithm Implementation Considerations - FIR Filter
FIR Filters are feedforward filters where the output values are a
function of a finite number of past input values.
47
Algorithm Implementation Considerations - IIR Filter
48
Algorithm Implementation Considerations - Filter Comparison
IIR FIR
49
Control System Hardware Implementation
Desired
Code/Data
Response
Memory
Input
Input Digital
Sensor Output
condition Signal Driver
condition
Processor
Plant
50
Control System Hardware Implementation - Microcontrollers
• Examples are: PIC family, Motorola 68H series and Intel 8051
series.
51
Control System Hardware Implementation - Microprocessors
52
Control System Hardware Implementation - DSPs
• built in ports for interfacing with ADCs and DACs and other
processors.
53
Control System Hardware Implementation - Factors
• Sensor input
dynamic range, sampling rate, number of sensor inputs
interface, polled or interrupt driven.
• Control algorithm
fixed point or floating point, computational performance
requirements, data storage requirement, program storage
requirement.
54
Control System Hardware Implementation - Typical Plant Parameters
Piezoelectric Accelerometer
Acceleration
Strain Gage Accelerometer
55
Control System Hardware Implementation - Typical Plant Parameters
Thermocouple
Temperature Semiconductor Junction
Thermisotr
Strain Gage
Pressure
Piezoelectric Force Transducer
Strain Gage
Force
Piezoelectric Force Transducer
Differential Pressure
Flow Rate Impeller (Frequency)
Thermal (Differential temperature)
56
Control System Hardware Implementation - Factors
Data to
DSP
VGA Control
from DSP
DSP Input Schematic Diagram
• Controller Response
local control - no operator inout
control by another processor through a port - interactive
control
57
Control System Hardware Implementation - Factors
Data Plant
from DSP Drive
PA
Control Plant
from DSP PWM Drive
• Controller Output
Output signal is converted back to analogue signal with a DAC,
filtered, fed to power amplifier.
58
Control System Hardware Implementation - Method
59
Control System Hardware Implementation - Block Diagram
60
Control System Hardware Implementation - Case Studies
61
Hard Disc Drive Description
62
Hard Disc Drive Description
• Disk read/write heads are the small parts of a disk drive, that move
above the disk platter and transform platter's magnetic field into
electrical current (read the disk) or vice versa – transform electrical
current into magnetic field (write the disk)
63
Performance of a Hard Disc Drive
• Data Rate – The data rate is the number of bytes per second
that the drive can deliver to the CPU. Rates between 5 and 40
megabytes per second are common.
64
65
Hard Disc Drive Description
• In a hard drive, the heads 'fly' above the disk surface with clearance of as
little as 3 nanometres. The "flying height" is constantly decreasing to
enable higher areal density. The flying height of the head is controlled by
the design of an air-bearing etched onto the disk-facing surface of the
slider. The role of the air bearing is to maintain the flying height constant
as the head moves over the surface of the disk. If the head hits the disk's
surface, a catastrophic head crash can result.
66
Hard Disc Drive Construction Details
The microphotograph of the head shows that the size of the front face
is about 0.3 mm. One functional part of the head is the round, orange
structure in the middle - the lithographically defined copper coil of the
write transducer.
67
Hard Disc Drive Description
• The light and fast-moving arm holds the read/write heads and is
controlled by the voice-coil actuator. The arm is able to move the
heads from the hub to the edge of the drive and can do this, back
and forth, up to 50 times per second.
68
Design Challenges
69
Design Challenges
70
Functional Block Diagram
71
Computer Hard Disc Drive - Transfer Function
Using Newton's law, a simple model for the read/write head is the
differential equation:
Transfer function:
72
Control System Performance
Step Response with large Phase margin Step response with filter
73
Active Suspension Systems - Introduction
74
Control System Hardware Implementation -
Active Suspension Systems Studies
75
Suspension Systems - Safety and Stability Issues
• Tire load variation is an indicator for the road contact and can
be used for determining a quantitative value for safety.
76
Suspension Systems - Conflicting Criteria
Therefore, the ride quality and the drive stability are two
conflicting criteria.
77
Suspension Systems - Currently Available Systems
78
Suspension Systems - Model
Inputs
The system has ten inputs, six of which are exogenous and the others
controllable. These inputs are:
• Exogenous:
The road velocity inputs experienced at each wheel
Vehicle pitch force (due to accelerating/braking/cornering the vehicle)
Vehicle roll input (due to cornering the vehicle)
• Controllable:
Actuator forces applied to the suspension system at each corner of
the vehicle.
• Outputs
The ride quality can be quantified by examining the vertical and angular
accelerations of the vehicle body, as well as the ability for the vehicle to
remain level regardless of operating conditions.
79
Suspension Systems - Operating Scenarios for
modelling
1.
Driving over a speed bump (generates a vertical
velocity profile input).
2.
Braking at 1 g by applying the appropriate pitch
moment to the vehicle centre of gravity.
3.
Cornering by applying the appropriate pitch and roll
moment to the vehicle centre of gravity.
80
Suspension Systems - LQR Models
Design of an LQR Control Strategy for Implementation on a Vehicular Active Suspension System
Ben Creed, Nalaka Kahawatte, Scott Varnhagen 2010 – University of California, Davis
81
Suspension Systems - Bose System
• The Bose system uses a linear electromagnetic motor (LEM) at
each wheel in lieu of a conventional shock- and-spring setup.
Amplifiers provide electricity to the motors in such a way that
their power is regenerated with each compression of the
system.
• The main benefit of the motors is that they are not limited by
the inertia inherent in conventional fluid-based dampers. As a
result, an LEM can extend and compress at a much greater
speed, virtually eliminating all vibrations in the passenger cabin.
82
Bose Active Suspension System
83
Active Suspension Systems
84
Active Suspension Systems
The eCorner concept replaces the conventional wheel suspension with hydraulic shock
absorbers, mechanical steering, hydraulic brakes and internal combustion engines with
integrated in-wheel systems
85
Resources
86
• Lecture 1: Introduction to Smart Materials and
Systems
⎋ Piemades, Inc.
S. Eswar Prasad,
Adjunct Professor, Department of Mechanical & Industrial Engineering,
Chairman, Piemades Inc,
87