Chapter 1. Introduction
Chapter 1. Introduction
Introduction
Pham Duy Hung, PhD
Faculty of Electronics and Telecommunications,
VNU-University of Engineering and Technology
Email: hungpd@[Link]
Contents
• Basic concepts of measurement
• Electrical devices and measurement
• Introduction to digital control systems
I. Basic concepts of measurement methods
The objective in any
measurement is to answer a
question
Touch screen
GPS
Microphone
Compass sensor
Acceleration sensor
Rotation sensor
Barometric pressure sensor
1. General measurement systems
Sensor/transducer stage:
Senses the physical variable and converts
it into a detectable signal (mechanical,
electrical, or optical). This is the primary
interface with the physical world.
1. General measurement systems
Signal conditioning stage:
takes the transducer signal and modifies it
to the desired magnitude. This optional
intermediate stage may perform functions
such as:
Amplifying the signal to
increase its magnitude.
Filtering the signal to
remove unwanted
components
Providing mechanical or
optical linkage between
the transducer and the
output stage.
1. General measurement systems
Output stage:
Indicates or records the value measured.
This might be a simple readout display, a
marked scale, or even a recording device
such as a computer disk drive.
1. General measurement systems
Control stage:
Contains a controller that interprets the
measured signal and makes a decision
regarding the control of the process
1. General measurement systems
Sensors
Signal Conditioning
A/D conversion
Computer
𝐼
𝑅
𝐼 𝐼 𝑅 =𝐼 𝑅 →𝐼 =𝐼
𝑅 𝑅
𝑅 +𝑅
𝐼 =𝐼 +𝐼 =𝐼
𝑅
6. Current and voltage measurement
• DC ammeter: A multi-range
ammeter uses parallel shunt
resistors with a switching
mechanism.
6. Current and voltage measurement
• Voltmeter circuit using PMMC instrument
A PMMC current meter can be used as a
voltmeter by connecting a large resistor in
series with the meter resistance. The series
resistor, called a multiplier resistor, ensures
that only an acceptable current flows through
the meter.
Let the meter current be 𝐼 and the voltage to
be measured be 𝑉 . The total resistance of
the circuit 𝑅 is given by:
𝑉
𝑅=
𝐼
6. Current and voltage measurement
• AC voltmeter: Full-wave rectifier voltmeter
/
1 2
𝐼 = 𝐼 𝑠𝑖𝑛𝜔𝑡 𝑑𝑡 = 𝐼 𝑠𝑖𝑛𝜔𝑡𝑑𝑡
𝑇 𝑇
2
𝐼 = 𝐼 = 0.637𝐼
𝜋
6. Current and voltage measurement
• Digital Multimeter
Uses analog-to-digital conversion (ADC)
Conversion process:
o Generate a reference voltage
o Compare the input analog voltage with
the reference voltage
o Generate a digital code, implemented
by a pulse counter or algorithm
6. Current and voltage measurement
the circuit:
(𝑉 −𝑉 ) × 100% 𝑉
𝑒= = 1− × 100% 𝑉 ?
𝑉 𝑉 E V
𝑅 𝑅
×
Without meter: 𝑉 =
×( ⁄∕ )
With meter: 𝑉 = ( ⁄∕ )
=
(Shunt resistor 𝑅 )
8. Loading Errors and impedance matching
𝑅
• =
E
𝑅 𝑉?
• When 𝑅 tends to infinity
𝑉 𝑅
=
𝑉 𝑅 +𝑅
𝑅 Meter
(Shunt resistor 𝑅 )
• Exe. Given the circuit as shown in the figure, measure the voltage
across the load resistor 𝑅 using two voltmeters with sensitivities of
20000 Ω/V and 1000 Ω/V, both with a 10 V scale. Calculate the
loading error for each voltmeter. Assume that 𝑅 = 10kΩ, 𝑅
= 100kΩ, and 𝐸 = 10V
𝑅 Meter
𝑉 ?
E V
𝑅 𝑅
(Shunt resistor 𝑅 )
8. Loading Errors and impedance matching
• Interstage Loading Errors
Impedance matching?
III. Digital control systems
9. Digital control systems
e(t)
z(t)
PID R7
100K
4
U02A
D R6 S1 D
2
10K 1
3
TL082
4
8
U01A R14
2 U01B
Actuator
1 R1 5 R10 1M
3 7 R8 10K R16
Vref 10K
6 10K
TL082 100K C1
10K R2 TL082 D
8
10nF U03B
6
R4 R9 U02B 7
6 S2 R14 5
10K
7
1K 5
4
C TL082 C
R17 U04A
10K
TL082 2
1
10K R3 R12 100K R13 100 3
1K
C3 TL082
8
R15
10pF
S7
L R 10K
4
C2 U03A S8
R11 2 S3 L S4 R L R
330 1
1nF 3
Vsens
TL082
B B
8
S6
L R
R20
Physical system External
L S5 R
4
U05B U05A
6 2
7 R21 100K 1
5 3 R19
1K R18
TL082 1K TL082 100K
8
1M C5 1M
10nF C4
10nF Title
A A
𝑑𝑒(𝑡) Size Number Revision
𝑢 𝑡 =𝐾 𝑒 𝑡 +𝐾 𝑒 𝑡 𝑑𝑡 + 𝐾 A4
𝑑𝑡 Date:
File:
29-Nov-2002
C:\Documenti\trinhcd\pids\[Link]
Sheet of
Drawn By:
1 2 3 4
9. Digital control systems
• Digital control model
x(t) u(t)
e(t) y(t)
z(t)
e(t) y(t)
z(t)
Advantages
Can implement complex control algorithms, such as PID control
The controller is program/software-based
Direct input from digital sensors
9. Digital control systems
• Digital control model
x(t) u(t)
e(t) y(t)
z(t)
Challenges
Analog-to-digital conversion (ADC) is required because the environment is analog
High sampling rates are needed for rapidly changing signals
Limited accuracy due to the finite number of bits in digital conversion
Most output signals must be reconstructed into analog form to interact with the environment
→ DAC required
9. Digital control systems
• Data Acquisition System (DAQ)
Data collection
Data processing
System control
9. Digital control systems
• Sequential Control systems (Cloths Dryers)
(Dishwashers)
(Washing machine)