Manual Control Systems 112
Manual Control Systems 112
EEE4511
Control Systems Lab
Version 4.2
B. D. Sweet
Department of Electrical and Computer Engineering
Lawrence Technological University
Copyright Notice
This material is the property of the authors. It is not to be reproduced without written
consent. Permission is hereby granted to print and copy material from this manual for the
purpose of completing lab exercises and submitting lab reports associated with this lab.
Table of Contents
Copyright Notice.................................................................................................................... 1
Table of Contents................................................................................................................... 1
Revision History .................................................................................................................... 2
Acknowledgements................................................................................................................ 2
References.............................................................................................................................. 3
Introduction............................................................................................................................ 4
Lab Exercise Schedule........................................................................................................... 5
Lab Report Format................................................................................................................. 6
Terminology......................................................................................................................... 10
Error Analysis ...................................................................................................................... 11
Lab Apparatus...................................................................................................................... 13
Servo Motor System ........................................................................................................ 16
Tachometer ...................................................................................................................... 17
Dual Attenuator................................................................................................................ 17
Position Indicator ............................................................................................................. 18
Operational Amplifier...................................................................................................... 19
Lab Exercise 1 – Parameter Determination ......................................................................... 20
Procedure: Balance Pre-Amp Output............................................................................... 31
Procedure: Measure Sine-Waveform Phase Delay Angle ............................................... 32
Procedure: Measure Time Constant of a Step Response ................................................. 34
Lab Exercise 2 – Closed-Loop Position Control System Design ........................................ 36
Procedure: Zero Op-Amp Output .................................................................................... 43
Procedure: Set Gain using an Attenuator......................................................................... 44
Procedure: Measure Characteristics of an Under-Damped Step Response ..................... 45
Lab Exercise 3 – Design for Steady-State Error and Marginal Stability............................. 47
Lab Exercise 4 – Design of Position Control System with Velocity Feedback................... 56
Lab Exercise 5 – System Stabilization Design by Velocity Feedback ................................ 61
Lab Exercise 6 – Phase Lead Compensator Design............................................................. 66
Lab Exercise 6 – Appendix – Design Pole, Zero, and Gain Values for Phase-Lead
Compensator .................................................................................................................... 75
Lab Exercise 7 – Control System Frequency Response Analysis ....................................... 80
Lab Exercise 7 – Appendix – The Lissajous Curve......................................................... 91
Appendix – TDS3012 Oscilloscope Specifications............................................................. 94
Revision History
1980 Prof. Richard Maslowski Version 1.0
June 1996 Dr. Laszlo Hideg Version 2.0
August 2001 Dr. Joseph R. Asik Version 3.0
December 29, 2003 Prof. Benjamin D. Sweet Version 4.0
January 7, 2004 Prof. Benjamin D. Sweet Version 4.1
April 24, 2005 Prof. Benjamin D. Sweet Version 4.2
Acknowledgements
Many and sincere thanks to all of those friends, students, colleagues, and faculty members
(all fall into the first category) who put up my ongoing requests for feedback on the
material in this manual. Many thanks to those who responded, whether verbally or in
writing.
This manual was not written from scratch; the previous version(s) of the manual provided a
solid foundation for me to work from. Thanks to all previous authors of this manual, and
those who supported them.
The material that I added was based on my experience over several years teaching the
Control Systems Lab. I tried to recall the places where students had difficulty
understanding the procedures, and where the lecture was slightly behind the information
need for the lab exercise. Thanks to all of my students from previous lab classes for
helping me to formulate this material by not being too shy to ask “What?”and “Why?”, and
to those who dug into the course material to figure it out when I didn’t have the answers.
Finally, thanks to my family for putting up with the late night and early morning editing
sessions, the stacks of Control Systems reference books, and assorted scatters of papers.
I was consumed to some extent with this project, but I am very satisfied with the results.
I hope that the “consumers” of this product are satisfied as well.
Benjamin D. Sweet
December 22, 2003
References
[1] Schaum’s Outline of Theory and Problems of Feedback and Control Systems, 2/e,
DiStefano, Stubberud, Williams; McGraw-Hill, 1990: ISBN #0-07-017052-5
[2] Modern Control Systems, 9/e, Dorf, Bishop; Prentice-Hall, 2001: ISBN #0-13-030660-
6
[3] Feedback Control of Dynamic Systems, 4/e, Franklin, Powell, Emami-Naeini; Prentice-
Hall, 2002: ISBN #0-13-32393-4
[4] Control Systems Engineering, 4/e, Nise, Norman S.; John Wiley & Sons, Inc, 2004:
ISBN #0-471-44577-0
[5] Modern Control Engineering, 4/e, Ogata, Katsuhiko; Prentice-Hall, 2002: ISBN #0-13-
060907-2
Introduction
This laboratory manual describes the exercises to be performed in the laboratory of the
Control Systems Laboratory course, offered by the ECE Department at Lawrence
Technological University.
The laboratory exercises focus on a linearized DC servomotor that has a power rating
below one horsepower. The motor is linearized by using feedback concepts implemented
by amplifiers and the tachometer generator. This assembly is shown under “Servo Motor
System” in the “Lab Apparatus” section.
Input signals to the subject systems are produced from either a function generator or a
variable DC voltage. Outputs from the systems are observed either on an oscilloscope or
from DC voltages measured on a volt-meter.
The primary data observation device is a Digital Storage Oscilloscope (DSO). The data
may be captured by sending the image on the oscilloscope screen to a printer, or storing the
image on a disc. This permits recording data in the usual way by oscilloscope and then
obtaining a hard copy by a screen dump option. Instructions for the basic operation of the
oscilloscope for these labs are discussed in “Appendix – TDS3012 Oscilloscope
Specifications.”
The exercises normally performed for the course are listed in the next section. The
schedule includes the expected number of lab sessions necessary to complete the laboratory
classroom portion of the lab.
Laboratory reports are required of all exercises performed in the course. Suggestions for
content and format are discussed in “Lab Report Format.”
1, 2 1 Parameter Determination
*This schedule assumes accommodation for extra lab time (if needed) and for the
instructor’s option to have in-lab examinations.
Where not specified by the instructor, use your own judgment as to the presentation of the
material. Here are a few suggestions:
General
Each student is responsible for submitting an individual laboratory report based on his or
her own work. A small team of 2-3 people can perform the exercises.
It is important that the student attach engineering units to key results throughout the report.
(e.g., use 3.0 Volt/rpm instead of just 3.0).
The laboratory report should contain enough information so that it can stand alone without
reference to the laboratory manual.
On Report “Completeness”
Write your lab report as if you were presenting it to somebody who was not involved in the
lab exercise; it is reasonable to assume that the reader is familiar with the lab equipment.
Consider whether they would be able to follow and understand your report without
referring to the lab manual.
Explain what you intend to do (background, lab set-up, schematics), what you expect to
observe (pre-lab, theoretical calculations), what you actually observed (actual measured
values, percent error analysis where appropriate), and your conclusions (did you observe
what you expected, and why or why not?)
Try to organize the report in a manner so as to minimize “flipping” back and forth between
the body of the report and the supporting documentation. If graphs, oscilloscope traces,
computations, etc. are included as appendices, summarize the results in the body of the
report, and then refer to the label of the supporting documentation.
On Report Organization
Title Sheet:
This page should contain the exercise number and title, the name of all students in the
group, the date(s) that the exercise was conducted, and the date that the report was
submitted. The author’s name should be clearly identified. This section should also
include any pertinent equipment identification, such as motor serial number; the same
motor assembly should be used throughout the semester to minimize variability.
Purpose:
The next page should contain a short original paragraph of the student’s own interpretation
of the purpose of the laboratory exercise. Enough detail should be included so that the
laboratory report can stand on its own without reference to the laboratory manual.
Pre-Lab Work:
Specific preparations are necessary in order to make the laboratory class work progress
smoothly and efficiently. This section should briefly explain what theoretical values are
being designed or calculated. Design work often requires a large amount of algebraic
manipulation in order to determine component values and other system parameters needed
to satisfy the design criteria, or to predict the subject system’s behavior. These pre-lab
calculations should be included in the final lab report, even if they are in hand-written
form. They may be included within this section of the report, or included as an appendix
section and referred to in this section of the report along with a summary of the computed
values. CAE (Computer Aided Engineering) software may be used here; Matlab/Simulink
and MathCad are available on the University computer system. This section should be
completed in enough detail so that the student can carry out the exercise efficiently in the
laboratory; the instructor may ask to review the pre-lab material during the laboratory
period.
For example:
Perform the Balance Pre-Amp Output Procedure and Zero Op-Amp Output
Procedure.
Note: It is not necessary to repeat the explanation of these procedures in EACH lab report, but a
brief summary of the procedure should be included in the report for the first exercise in which
the procedure is used. Then, in subsequent lab reports, it should be sufficient to just say
“Perform the xyz procedure.”
is used for the variable gain, Ka. Connect the signal generator to plug 1 of the Op-
Amp unit; this serves as the input voltage, Vin. Connect Channel 1 of the
Oscilloscope to monitor Vin, and Channel 2 to monitor Vposition.
Etc...
Results:
This section contains a summary of the key results and observations. The measured
(observed) results, comparison to the theoretical values or simulated results, and discussion
of the error analysis should be included here. If data is collected in an appendix section, it
should be referred to here. If error analysis computation is contained in an appendix
section, it should be referred to here along with a summary of the error values.
Answers to specific questions in the lab manual should be included; the questions
themselves should be included or implied in the statement of the answers. The answers to
the questions should be complete, coherent, and generally supported by the overall lab
report.
Any deviations from the procedures in the lab manual should be discussed here along with
the reasons for deviating from the procedure (perhaps lab equipment was not functioning
properly or was not available, etc.)
The student should discuss the results of the lab exercise and explain significant deviations
between the measured (observed) values versus theoretical values, based on the error
analysis. Do not use qualitative words like “close” or “good” or “successful” without some
supporting quantitative information. (Refer to Error Analysis section.)
For example:
All but two of the measured values were within 5% of the expected values, and all
were within 10% of expected values. It is therefore concluded that the theoretical
analysis accurately predicted the observed system behavior.
(Use your own original statement.)
Note: Errors between expected and observed values do not constitute “failure” to
successfully perform the lab exercise. There are many reasons for errors between expected
and observed values that are not attributable to “operator error.” Yes, double-check your
math in the derivation of expected values, but also consider the many other possible
sources of error. For example, the model for the D.C. motor that is used in the computation
of expected values ignores armature inductance, changes in armature resistance with
temperature of the motor, and the non-linear effects of motor speed saturation and gear
backlash.
Calculations:
This section provides the computational framework. This section should include the origin
and derivation of the key equations used in the analysis and design. In this section the
laboratory data should be reduced to the key parametric results required. The error analysis
should be included. Error analysis involves comparing the measured (observed) values or
results with the expected, or theoretical, values.
Data:
This section should contain raw data obtained in the exercise, such as hard copies of time
response (“traces”) from the oscilloscope, data tables, and recorded measurements. Sample
calculations used in the data reduction should be included here, or refer to the relevant
information in the calculation section. All graphs should be clearly labeled. This means
the axes should have variable names and engineering units and that key parametric
features, such as rise time or overshoot, should be highlighted on each graph. This may
involve annotating the original raw data hard copy.
Terminology
Mp Percent Overshoot (also referred to as %OS) – The amount that the peak value of an
under-damped step response overshoots the final value, expressed as a percentage
of the final value.
tp
Overshoot
90%
tr 2% (+/- 1%)
Settling Band
Final Value
ts
10%
Error Analysis
Accuracy is the measure of how True or Correct the scale of a measurement is.
Precision is the measure of Repeatability of a measurement (without the measurement
necessarily being correct.) Precision could be evaluated for the same person taking the
measurement several times, or for different people taking the same measurement.
Resolution is the level of Fineness of a measurement, or the ability to distinguish between
two measurement points.
Digital meters are ASSUMED to be Accurate; regular calibrations help to assure this.
Digital meters have a different number of digits after the decimal point (Resolution) based
on the scale or range of the measurement (up to 1 Volt, up to 10 Volts, etc.)
When measurements are taken in the lab, the “actual” or “measured” values observed
almost never equal the “expected” or “theoretical” values predicted from the calculations.
This may be due to many factors:
• Tolerance in manufactured parts (5% resistors, etc.)
• Unanticipated or un-accounted for resistance, inductance, and capacitance in wires
and connectors
• Resistance or “loading” from the measurement equipment
• Errors in taking and/or reading the measurement (accuracy, precision, resolution)
It is necessary to divide the difference between the “theoretical” and “measured” values
(the error) by the “theoretical” value to normalize the error. For example, if a theoretical
value is 100V and the measured value is 90V, the error is 10V; if a theoretical value is 5V
and the measured value is 4V, the error is 1V. Which error is “worse?” Certainly the 10V
error has a larger magnitude, but it only deviates from the theoretical value by 10% while
the 1V error deviates from its theoretical value by 20%. Therefore, one could say that the
1V error is more severe than the 10V error.
Deviation Analysis
In cases where a parameter is measured more than once or by more than one method, it is
possible to analyze how closely the different measurements relate to one another. The term
“error analysis” is not applicable since no single measurement can really be considered as
the “True” value.
Several different methods may be used to evaluate the deviation of the different
measurements from one another:
o Range Deviation:
Max{M 1...M n } − Min{M 1...M n }
% Range Deviation = × 100%
Min{M 1...M n }
Lab Apparatus
The Feedback, Inc. servo motor system modular components are:
• Power Supply
• Servo Amplifier
• Motor
• Tachometer/Generator (with Digital Volt Meter)
• Position Indicator (1 Input/ 1 Output)
• Pre-Amplifier
• Operational Amplifier
• Dual Attenuator
• Function Generator
Elements can be switched between lab stations except for the Motor Generator. The same
Motor Generator should used for all lab exercises, otherwise the Km and τm parameters
will be inconsistent, as motor properties are similar but not identical. Using the same
motor will reduce experimental error. RECORD THE MOTOR INVENTORY TAG
NUMBER, AND CHECK IT AT EVERY SESSION.
Certain “umbilical” connections are made between the Power Supply and Servo Amplifier
in the rear of the boxes and from the Servo Amplifier to the Motor.
Motor Linearization
The motor is a DC constant field, armature current controlled motor. Its properties are not
completely linear. To improve the linearity, the Pre-Amp, Servo-Amp, Motor, and
Tachometer are used and modeled as ONE UNIT. This assembly forms the core of each
subject system, and must be assembled at the beginning of each lab session. The
connections are shown in Figure 1.
VTach
“Umbilical” Connection
(Given)
+15V GND -15V +15V GND -15V
+
RPM/DC Volts
2 4 2
2
Shaft
The Pre-Amp has two controls on the faceplate: a three-position switch, which is set to
defined τ, and a Zero Set dial. Also, at the top of both the Pre-Amp and Tachometer units
are three power connections for +15V, -15V, and ground. This D.C. power can be
provided either from the Servo-Amp or the Power Supply. (Note that the Servo-Amp and
the Power Supply share the D.C. power sources by means of the rear “umbilical”
connection between them.)
At the start of every lab session, the Balance Pre-Amp Output Procedure (refer to
Procedure section, page 31) must be performed to balance the differential output signal of
the Pre-Amp unit.
Tachometer
The Tachometer unit contains a tachometer/generator, a 1/30 gear reduction, a digital read-
out of RPM, and a digital volt meter read-out. The Tachometer unit requires +15V, -15V,
and ground connections from either the Servo-Amp or the Power Supply.
The tachometer is a D.C. generator connected to the high RPM (motor) side of the gear.
The negative potential (plug 1) is used as the velocity feedback to the system; the positive
potential (plug 2) should be connected to ground.
The Tachometer unit contains two digital read-outs that share a common display; a two-
position switch selects which quantity is displayed.
• For a digital read-out (in RPM) of a frequency input on “tacho rpm” (plug 3), slide
the two-way selector switch to the left (toward plug 3) and connect the signal to me
measured to plug 3. Attaching plug 1 to plug 3 gives the motor speed in RPM.
• For a digital read-out of a D.C. Voltage (± 20V MAX) on “dc volts” (plug 4), slide
the two-way selector switch to the right (toward plug 4) and connect the signal to
me measured to plug 4.
Dual Attenuator
The Dual Attenuator unit consists of two 10KΩ potentiometers.
3 6
10 kΩ
10 kΩ
2 5
0 10 0 10
1 4
Black Black
Plug Plug
The marks around the dials are only meant as a guide to the true setting. It is best to
determine the actual voltage ratio by implementing a voltage divider with the potentiometer
using the +15V and –15V sources and wiper.
For the dial marks to coordinate with the potentiometer wiper motion (i.e.: turning the dial
toward increasing numbers results in smaller resistance between the higher potential
terminal and the wiper, and therefore a higher voltage out of the voltage divider at the
wiper terminal), ALWAYS connect the black plug to the lowest potential, ground or -15V,
depending on the application.
Position Indicator
The Position Indicator unit consists of a 10KΩ potentiometer and a visual angular
indicator on the front plate. The output Position Indicator is coupled directly to the
Tachometer unit through a shaft. The top connection plate and the rotating front dial are
shown in Figure 2.
The faceplate shows the connections to the 10KΩ potentiometer. The faceplate will be
used for determining the coefficients of the Position Indicator, and the non-dynamic
coefficients of the motor and generator.
The ends of the potentiometer are typically connected to +15V (plug 1) and -15V (plug 2).
The potentiometer wiper (plug 3) is the output signal for indication of angular position, and
is also used as a position feedback signal to the system.
The front plate has three sets of marks. The outermost indicates angular rotation in 10°
increments. The inner two are used to synchronize angular velocity to either 50Hz
(Europe) or 60Hz (USA) lighting systems.
The 60Hz ring has marks as seen on phonograph turntables. Room lighting provides an
appropriate strobe effect, which is faster than the human eye can detect. The motor, by a
gear reduction turns the output front plate. As the angular velocity is increased, the strobe
effect is seen since the 60Hz portion of the plate appears to be stationary even though the
plate is actually rotating. At the first appearance of this effect, the front plate is rotating at
one revolution per second. Increasing the motor speed will bring a second strobe effect at
two revolutions per second.
The Tachometer unit has a built-in digital display on the high-speed shaft section; the shaft
speed can be directly read from the Tachometer unit.
Operational Amplifier
The operational amplifier is well known in Circuits courses and will only be briefly
described here. The faceplate connections are shown in Figure 3.
At the top of the Op-Amp unit are three power connections for +15V, -15V, and ground.
This D.C. power can be provided either from the Servo-Amp or the Power Supply.
As with the Pre-Amp, the Op-Amp has a Zero set dial, which must separately adjusted
from the Pre-Amp. At the start of every lab session the uses the Op-Amp unit, the Zero
Op-Amp Output Procedure (refer to Procedure section, page 43) must be performed to
zero the output signal of the Op-Amp unit.
The Feedback Network Selector is a three-position rotary switch to select the feedback
circuit for the Op-Amp. The bottom (counter-clockwise) switch selection has a 100KΩ
resistor so that the Op-Amp unit, as shown in Figure 3, is a signal summer with a unity
gain. The middle switch selection turns the Op-Amp circuit into a first order lag with
τ = RC = 100KΩ•1µF = 0.1 sec. The top (clockwise) switch selection allows for the
insertion of any desired feedback network.
VTach
“Umbilical” Connection
Dual Attenuator
(½) +15V GND -15V (Given) +15V GND -15V
+
1 3 1 RPM/DC Volts
2 2
2 4 2
1 Shaft
ωLS
-15V
Units: RPM
Objectives:
After completing this exercise, you will be able to:
• Setup the “core” subject system plant: Pre-Amp, Servo-Amp, Motor, and
Tachometer
• Perform the Balance Pre-Amp Output Procedure
• Measure RPM and D.C. voltages using the digital read-out on the Tachometer unit
• Measure the Phase Delay Angle between two sinusoidal wave-forms
• Measure the Time Constant of a first-order system step response
Reference Reading:
Model of a D.C. Motor – the derivation of the model of a D.C. motor is included in many
Control Systems textbooks:
[1] Schaum’s Outline of Theory and Problems of Feedback and Control Systems, 2/e,
Chapter 6, p 143
[2] Modern Control Systems, 9/e, Chapter 2, pp 52-55
[3] Feedback Control of Dynamic Systems, 4/e, Chapter 2, pp 54-55
[4] Control Systems Engineering, 4/e, Chapter 2, pp 87-94
[5] Modern Control Engineering, 4/e, Chapter 3, pp139-141
Equipment List:
The following pieces of lab equipment will be required to complete this exercise:
• Pre-Amp, Servo-Amp, Motor, and Tachometer “core”
• Position Indicator
• Dual Attenuator
• Operational Amplifier
• Signal Generator
• Oscilloscope
• Printer
• Three coaxial cables with BNC to clip (alligator or microprobe)
• Various interconnect wires
Background Information:
The “plant” (object of control system) to be used in the lab exercises is a D.C., constant
field, armature-current controlled motor. A second order differential equation describes the
motor dynamics relating applied voltage to angular velocity. One system dynamic is due to
the electrical effects of the armature coil inductance and resistance. The other dynamic
system is due to the mechanical effects of the armature and load inertia and the bearing
friction. The electrical dynamics are much faster than mechanical dynamics. Thus, the
motor can be modeled simply as a first order differential equation. The Servo-Amp and the
Pre Amp are used to linearize the motor performance. The generator is physically much
smaller than the motor and its dynamics do not influence the motor operation. The Motor
Generator Assembly is represented by the block diagram in Figure 4, and its wiring
diagram is shown in Figure 5.
Pre-Lab:
There is no pre-lab for this exercise.
Procedure:
Preliminary Preparation
Step 1 – Perform the Balance Pre-Amp Output Procedure (refer to Procedure section,
page 31)
Step 1 – Connect the Pre-Amp, Servo-Amp, Motor, and Tachometer as shown in Figure 5:
• The Dual-Attenuator provides a variable D.C. voltage, VMotor, to control motor
speed. The motor speed should be zero near dial setting 5. The speed should
increase in one direction as the dial is turned toward 10, and in the other direction
as the dial is turned toward 0.
• On the Tachometer unit, connect the negative output from the Tachometer (plug 1)
to the “tacho rpm” input (plug 3), and set the selector switch to read-out RPM.
Step 2 – Find the saturation VMotor input – the point at which increasing VMotor input no
longer results in increasing motor speed. (Note: saturation is one of the non-linear
behaviors that our model for the D.C. motor is ignoring.)
• Increase the VMotor input by turning the dial from 5 toward 10 until the motor speed
no longer increases (i.e.: the motor speed “saturates”).
• Slowly reduce VMotor until the motor speed begins to decrease; this is the threshold
VMotor input for unsaturated motor operation – VSAT.
• Measure the voltage at the wiper of the Dual-Attenuator, VMotor, using the volt
meter read-out on the Tachometer unit.
• Record this value in the table below.
Step 3 – Compute the maximum VMotor input for linear motor operation, VMAX:
• Compute VMAX: round 90% of VSAT to the nearest 1/10 volt.
• Record this value in the table below.
• Note that ±VMAX should be the limits of VMotor inputs in this lab exercise to avoid
the nonlinear effects of motor speed saturation.
VSAT Volts
VMAX Volts
Note: The upper-case variable for motor speed, ΩHS, in the equations above indicates
that the equations are Transfer Functions in the Laplace domain. This is further
indicated by the Laplace variable, (s). The lower-case variable, ωHS, indicates a time-
domain representation.
Compute: Analyze:
VMotor Km Kt |Km| [Mean |Kt| [Mean
Deviation of Deviation of
Absolute Value] Absolute Value]
VMAX RPM/Volt Volt/RPM % %
VMAX/2 RPM/Volt Volt/RPM % %
-VMAX RPM/Volt Volt/RPM % %
-VMAX/2 RPM/Volt Volt/RPM % %
Mean of
Absolute
Values RPM/Volt Volt/RPM
Table 2 - Km and Kt
The motor will turn; the speed will slowly increase, then slow, and reverse direction.
This cycle will repeat due to the periodic Triangle-wave input. The trace on the scope
will appear as a comet with an increasing tail. Eventually, the trace will look like a
diagonal line on the screen.
• Measure the horizontal extent of the diagonal line; this is VTach. Refer to CH2
setting for V/division scale.
• Record the values of VMotor and VTach in the table below.
• Indicate these measured ranges of VMotor and VTach on the hard copy/print-out of the
trace.
VMotor Volts
VTach Volts
• On the hard copy/print-out of the trace, indicate the location of the four data points
(VMotor , VTach) from Table 1.
Motor Dynamics: τm
To determine the motor time constant, τm, a faster time varying signal will be used as the
input. Two methods will be used. The first method is a sinusoidal steady-state analysis,
and the second method is a step-input response.
Θ degrees
For complex functions with numerators and denominators, the overall phase delay
is computed as:
Phase Delay = ( Phase Delay of Numerator) − ( Phase Delay of Denominator ) degrees
For the D.C. motor under investigation, the overall phase delay is computed as:
K ⋅K
∠ m t = ∠( Num ) - ∠(Den )
τ m s + 1 s = jω
Im{K m ⋅ K t } Im{τ m ⋅ jω + 1}
= tan −1 - tan −1 degrees
Re{K m ⋅ K t } Re{τ m ⋅ jω + 1}
τ ⋅ω
= (0 ) - tan −1 m degrees
1
• Compute the value of τm using the Phase Delay Angle, Θ, measured in Step 3, and
the relationship given above:
t
Phase Delay Angle, Θ = - 2 ⋅ 360° = - tan −1 (τ m ⋅ ω ) degrees
t1
1 1
Noting that ω = 2 ⋅ π ⋅ f = 2 ⋅π ⋅ = 2 ⋅π ⋅ , the only unknown in the equation
T t1
above is τm, which can be solved for using algebraic manipulation.
• Record the value of τm below:
τm seconds
τm - Method 2 seconds %
Mean seconds %
Position Indicator: Kp
The Position Indicator is the potentiometer assembly that is connected to the motor via the
gearbox. Its transfer function is described by a constant, Kp, that relates angular
displacement to voltage.
Step 1 – Disconnect the motor by removing the pair of connections between the Pre-Amp
and the Servo-Amp (refer to Figure 5).
This will allow for free motion of the motor by hand.
• Adjust the Zero Set dial on the Op-Amp unit until the output voltage (plug 6)
shows 0 Volts.
• Remove the ground input to the Op-Amp.
Measure the actual Op-Amp output voltage and compare it with the expected value
(using your measured input voltages to determine the expected value).
Input: Set: Compute: Measure: Analyze:
V1 V2 V1 [Actual] V2 [Actual] VOut [Expected] VOut [Actual] % Error
3V -5V Volts Volts Volts Volts %
Step 3 – Measure the Op-Amp Resistor/Capacitor Feedback Network Time Constant, τ1:
• Remove the +3V and -5V inputs to the Op-Amp.
• Set the three-position Feedback Network Selector rotary switch to the 1 µF
capacitor in parallel with the 100KΩ resistor.
• Set the function generator for Square-wave, 0.2 Hz, 5Vpp.
• Connect the output of the function generator to one of the Op-Amp inputs.
• Connect the Op-Amp output to one of the oscilloscope input channels.
• Perform the Measure Time Constant of a Step Response Procedure (refer to
Procedure section, page 34). Measure and record the time constant, τ1.
• Use the Hard Copy feature on the oscilloscope to obtain a print-out of the step
response.
• On the hard copy/print-out of step response, indicate τ1.
Expected: Measured: Analyze:
τ1 [Expected] τ1 [Actual] % Error
0.1 seconds seconds %
• In the Lab Report, derive the transfer function of the Op-Amp with the R-C
feedback network, and verify that the expected characteristic behavior is indeed a
first-order exponential with a time constant of 0.1 seconds.
Summary:
Lab Exercise Checklist – Be sure that the following have been obtained in the Lab to
complete the lab exercise:
Collected data supporting the measurements of VMAX, Km, τm, Kt, Kp, and τ1
Annotated hardcopies of traces from Motor Linearity, from both methods of
measuring τm, and from measuring τ1
Lab Report Checklist – The Lab Report should contain the following supporting
documentation:
All collected data and hardcopies of scope traces
Parameter values (to be used in the remainder of lab exercises). [Where the value
was measured by more than one method, or was taken more than one time, use the
mean value.]
Error or appropriate deviation analysis of the measured data
Derivation of Op-Amp transfer function with R-C feedback network
Summary of Measured Parameter Values – to be used in the remainder of the lab exercises:
VMAX Volts
Km RPM/Volt
τm seconds
Kt Volt/RPM
Kp Volt/degree
τ1 seconds
The following should be considered as reference values of the system parameters for
“sanity check” purposes only. They should NOT be considered as “correct” or
“theoretical” values for error analysis.
• Motor Gain Constant – Km: 1800-2600 RPM/Volt
• Motor Time Constant – τm: 0.20-0.26 seconds
• Tachometer Gain Constant – Kt: 0.0023-0.0027 Volt/RPM
• Position Indicator Gain Constant – Kp: 0.07-0.12 Volt/Degree
• Op-Amp Lag Feedback Time Constant – τ1: 0.09-0.11 seconds
Purpose:
This procedure must be performed before each lab exercise to balance the differential
output signal of the Pre-Amp unit.
VTach
“Umbilical” Connection
(Given)
+15V GND -15V +15V GND -15V
+
RPM/DC Volts
2 4 2
2
Shaft
ωLS = 0
Procedure:
Step 1 – Connect the Pre-Amp, Servo-Amp, Motor, and Tachometer as shown in Figure 6.
• Connect the three power connections (+15V, 15V, and ground) on both the Pre-
Amp and Tachometer units from either the Servo-Amp or the Power Supply.
• On the Pre-Amp unit, set the three-position switch to “defined τ.”
Step 2 – Ground the “V-Motor” input (plug 1) on the Pre-Amp unit. This provides a
“command” input for Zero speed from the motor.
Step 3 – Adjust the Zero Set dial on the Pre-Amp unit until the motor does not turn.
Purpose:
This procedure is used to measure the Phase Delay Angle (in degrees) between two
sinusoidal wave-forms.
CH1
VMotor
t1
(Period) CH2
t2 VTach
(Delay)
Procedure:
Step 1 – Oscilloscope setup:
• Connect the oscilloscope CH1 input to the system “input” signal (e.g.: VMotor).
• Connect the oscilloscope CH2 input to system “output” signal (e.g.: VTach).
Invert CH2.
• Adjust the CH1 and CH2 vertical sensitivities (Volt/division) so that both Sine-
waves have about the same amplitude.
• Adjust horizontal sweep (seconds/division) until a complete Sine-wave (from Peak
to Peak) is displayed on the screen from both CH1 and CH2.
Purpose:
This procedure is used to measure the Time Constant from a first-order exponential system
step response.
Figure 8 – Measuring the Time Constant from a First-Order Exponential Step Response
Procedure:
Step 1 – Oscilloscope setup:
• Connect one oscilloscope input channel to the signal being evaluated (e.g.: VTach).
• Adjust the vertical sensitivity (Volt/division) so that the entire amplitude of the step
response fits on the screen.
• Adjust horizontal sweep (seconds/division) so that a single step response (from the
beginning of the step until the final value is reached) is displayed on the screen.
The Time Constant of an exponential decay curve is the time required to reach 37%
(e-1) of the initial value.
The Time Constant of an exponential rise curve is the time required to reach 63%
(1-e-1) of the final value.
• Compute 63% of the overall vertical displacement of the rising step response.
The horizontal cursor will be used to measure the time from the beginning of the step
response to the 63% point, however vertical cursor indicating the 63% vertical location
will be lost when the cursor mode is switched from vertical to horizontal.
• Use the horizontal offset adjustment on the oscilloscope to align the intersection of
the trace of the step response and the 63% cursor indication with one of the solid
vertical lines on the oscilloscope display. (Refer to the “Triple Intersection” in
Figure 8.)
• Switch the cursor measurement mode from vertical to horizontal, and measure the
time from the beginning of the step response to the 63% point (the intersection of
the trace of the step response with the solid vertical line on the oscilloscope
display).
• This time measurement is the time constant, τ, of the exponential curve.
Op-Amp VTach
100 kΩ Zero
“Umbilical” Connection
Dual Attenuator
(½) +15V GND -15V (Given) +15V GND -15V
+
1 3 1 RPM/DC Volts
3
100 kΩ 2
2 4 2 2
1
Shaft
ωLS
Units: RPM
Unit Conversion:
6 ⋅ ( revolution
minute
)⋅ ( degree
second
)
Units: Shaft
degree/sec
ω,θ
+15V -15V
1 2
VPosition
Position Indicator
VPosition
Objectives:
After completing this exercise, you will be able to:
• Perform the Zero Op-Amp Output Procedure
• Predict second-order system response to a step-input
• Design basic second-order system step response by adjusting gain
• Measure the Percent Overshoot, Peak-Time, and Settling-Time of an under-damped
second-order step response
Reference Reading:
[1] Schaum’s Outline of Theory and Problems of Feedback and Control Systems, 2/e
Block-Diagram Simplification:
o Chapter 7, pp 154-207
[2] Modern Control Systems, 9/e
Block-Diagram Simplification:
o Chapter 2, pp 62-71
Second-Order Dynamic Response Design Procedure & Equations:
o Chapter 5, pp 227-232
o Summary on inside back cover
[3] Feedback Control of Dynamic Systems, 4/e
Block-Diagram Simplification:
o Chapter 3, pp 123-133
Second-Order Dynamic Response Design Procedure & Equations:
o Chapter 3, pp 136-150
o Summary on p. 180 and inside back cover.
[4] Control Systems Engineering, 4/e
Block-Diagram Simplification:
o Chapter 5, pp 252-263
Second-Order Dynamic Response Design Procedure & Equations:
o Chapter 4, pp 191-202
o Summary on inside back cover.
[5] Modern Control Engineering, 4/e
Block-Diagram Simplification:
o Chapter 3, pp 58-61
Second-Order Dynamic Response Design Procedure & Equations:
o Chapter 5, pp 224-235
Equipment List:
The following pieces of lab equipment will be required to complete this exercise:
• Pre-Amp, Servo-Amp, Motor, and Tachometer “core”
• Position Indicator
• Dual Attenuator
• Operational Amplifier
• Signal Generator
• Oscilloscope
• Printer
• Three coaxial cables with BNC to clip (alligator or microprobe)
Background Information:
Lab Exercise #1 examined the open-loop motor. The transfer function for the motor that
relates applied voltage to motor speed is a first-order function; the motor’s changes in
speed due to a square-wave input exhibited the characteristic exponential step response of a
first-order system. The new system transfer function introduces a 1/s term (discussed
later), which results in an over-damped second-order system. However, as the system gain,
Ka, is adjusted, the closed-loop system poles move from their open-loop positions; the
system becomes critically-damped at some value of Ka, and is under-damped for Ka greater
than that value. The objectives of this lab exercise include predicting the characteristics of
the under-damped step response with a given value of Ka, and specifying the value of Ka to
achieve the specified under-damped step response characteristics.
The Closed-Loop Position Control system is represented by the block diagram in Figure 9,
and its wiring diagram is shown in Figure 10.
The new components that are introduced in the block diagram are the summing junction,
the variable gain, Ka, the gear reduction factor, 1/30, the unit conversion factor, 6, and the
integrator, 1/s.
The summing junction is implemented with the Op-Amp using the resistor feedback
network for a unity gain (gain factor of 1). (Note that the reversal of direction from the
gear coupling provides the negative sign on the summing junction’s feedback input.)
The variable gain, Ka, is implemented with one of the attenuators (potentiometers)
configured as a voltage divider. Since the gain is implemented with an attenuator, the
attainable gain is limited to values between zero and one.
The gear reduction factor is just the transfer function of the gear-train:
Output ( s ) # revolutions on Output shaft 1
= =
Input ( s ) # revolutions on Input shaft 30
Note that this transfer function ignores friction, the mass of the gears, gear backlash, etc. It
would also be possible, if desired, to derive transfer functions for the gear-train that relate
other input-output relationships such as input torque vs. output torque.
The unit conversion factor, 6, appears in the block diagram but is not a physical element in
the system. Since the digital read-out on the Tachometer unit displays motor angular speed
as RPM (Revolutions-per-minute), and the position indicator produces a voltage relative to
degrees (rather than revolutions), a conversion factor is necessary for consistency of units:
revolutions 1 minute 360° degrees
⋅ ⋅ =
minute 60 seconds 1 revolution second
minute ⋅ degree
Conversion Factor : 6
second ⋅ revolution
The Integrator (1/s), like the unit conversion factor, is not a physical element in the system.
Some transfer function derivations for the D.C. motor include the 1/s term, and relate
applied voltage to angular position (recall that the motor transfer function used here relates
applied voltage to angular velocity). By definition of the motor transfer function, the
quantities on the High-Speed and Low-Speed shafts are velocities, ωHS and ωLS. Since the
output of the Position Indicator is a voltage related to position, VPosition, then conceptually
integration (1/s) is occurring based only on our definitions of the quantities, and not though
a physical element performing an integration function.
Pre-Lab:
Step 1 – Derive the Closed-Loop Transfer Function:
• Derive the closed-loop transfer function, T(s) = VP(s)/VIn(s), for the system shown
in Figure 9. The transfer function should be derived with the symbols in the block
diagram (Ka, Km, τm, Kp), and then the values measured in Lab Exercise #1 should
be substituted in. Note that the gain, Ka, is still a variable.
Procedure:
Preliminary Preparation
Step 1 – Perform the Balance Pre-Amp Output Procedure (refer to Procedure section,
page 31)
Step 2 – Perform the Zero Op-Amp Output Procedure (refer to Procedure section, page
43)
• Record the measured values of tp, ts and Mp below and compare the measured
values with the expected values computed in the second part of the pre-lab:
Measured: Analyze:
%Error
tp seconds %
ts seconds %
Mp % %
• Use the Hard Copy feature on the oscilloscope to obtain a print-out of the step
response.
• Record the measured values of tp, ts and Mp below and compare the measured
values with the expected values computed in the third part of the pre-lab:
Measured: Analyze:
%Error
tp seconds %
ts seconds %
Mp % %
Summary:
Lab Exercise Checklist – Be sure that the following have been obtained in the Lab to
complete the lab exercise:
Collected data supporting the measurements of tp, ts and Mp for both Ka = 1 and Mp
= 25%
Annotated hardcopies of step response traces for both Ka = 1 and Mp = 25%
Lab Report Checklist – The Lab Report should contain the following supporting
documentation:
All collected data and hardcopies of scope traces
Derivation of closed-loop transfer function
Pre-lab computations
Error analysis of the measured vs. expected values
Purpose:
This procedure must be performed before each lab exercise that uses the Op-Amp to zero
the output signal of the Op-Amp unit.
Note: This procedure must be performed AFTER performing the Balance Pre-Amp
Output Procedure.
VTach
Zero 1
-
100 kΩ
VIn 1
Defined τ
VMotor Shaft
+
1 3 1 RPM/DC Volts
6
2 2 4 2 2
100 kΩ
3 Shaft
100 kΩ
ωLS = 0
Procedure:
Step 1 – Connect the Op-Amp, Pre-Amp, Servo-Amp, Motor, and Tachometer as shown in
Figure 11.
• Connect the three power connections (+15V, 15V, and ground) on the Op-Amp,
Pre-Amp, and Tachometer units from either the Servo-Amp or the Power Supply.
• On the Op-Amp unit, set the three-position selector to the single resistor feedback.
• On the Pre-Amp unit, set the three-position switch to “defined τ.”
Step 2 – Ground the “V-In” input (plug 1) on the Op-Amp unit. This provides a
“command” input for Zero speed from the motor.
Step 3 – Adjust the Zero Set dial on the Op-Amp unit until the motor does not turn.
Purpose:
This procedure describes how to set a specified gain value between the values of zero and
one using an attenuator (potentiometer).
Vin
Ka
2
10 kΩ
Vout=Vin*Ka
1
Black
Plug
Procedure:
Step 1 – Disconnect the Vout (wiper) terminal on the attenuator from other “downstream”
connections. This will prevent the Vout voltage from driving the motor.
Step 2 – Connect the +15V source voltage from either the Servo-Amp or the Power Supply
as Vin, as shown in Figure 12.
Step 5 – Reconnect the attenuator Vin and Vout terminals to their original connections.
Purpose:
This procedure is used to measure the Rise-Time, Peak-Time, Settling-Time, and Percent
Overshoot of an under-damped second-order step response.
tp
Overshoot
90%
tr 2% (+/- 1%)
Settling Band
Final Value
ts
10%
Procedure:
Step 1 – Oscilloscope setup:
• Connect one oscilloscope input channel to the signal being evaluated (e.g.: VPosition).
• Adjust the vertical sensitivity (Volt/division) so that the entire amplitude of the step
response fits on the screen (including the peak overshoot).
• Adjust horizontal sweep (seconds/division) so that a single step response (from the
beginning of the step until the final value is reached) is displayed on the screen.
• Use the HOLD or RUN/STOP feature on the oscilloscope to capture a positive
going step response.
Note that due to disturbance inputs, system nonlinearities, etc., the oscillations may
never decay to within the 2% (±1%) settling band. (This condition should be noted
in your lab report.) If so, estimate and measure the value that the signal is
oscillating around and use this as the final value.
If required:
Step 3 – Measure the Rise-Time, tr:
• Use the Cursor or Measure feature on the oscilloscope to measure the time that it
takes for the step response to transition from 10% to 90% or the final value. (Refer
to Figure 13.)
If required:
Step 4 – Measure the Peak-Time, tp:
• Use the Cursor or Measure feature on the oscilloscope to measure the time that it
takes for the step response to transition from the beginning of the step response to
the first peak of the oscillation. (Refer to Figure 13.)
If required:
Step 5 – Measure the Settling-Time, ts:
• Use the Cursor or Measure feature on the oscilloscope to measure the time that it
takes for the step response to transition from the beginning of the step response
until the oscillation remains within 2% (±1%) of the final value (i.e.: the settling
band). (Refer to Figure 13.)
If the oscillations do not decay to within the 2% (±1%) settling band, this condition
should be noted in your lab report.
If required:
Step 6 – Measure the Percent Overshoot, Mp:
• Use the Cursor or Measure feature on the oscilloscope to measure the amount of
overshoot of the first peak of the oscillation above the final value. (Refer to Figure
13.)
• Compute the percent overshoot as:
Overshoot Peak Value − Final Value
Percent Overshoot, M p = ×100% = ×100%
Final Value Final Value
Objectives:
After completing this exercise, you will be able to:
• Predict a type-1 system’s expected steady-state error to a ramp input
• Design a systems steady-state error by adjusting gain
• Measure the system’s steady-state error to a ramp input
• Predict a marginally stable system’s oscillation frequency
• Design a system to operate on the threshold of stability by adjusting gain
Reference Reading:
• References from Previous Lab Exercises:
o Block-Diagram Simplification
o Second-Order Dynamic Response Design Procedure & Equations
[1] Schaum’s Outline of Theory and Problems of Feedback and Control Systems, 2/e
Steady-State Error:
o Chapter 9, pp 214-219
Stability:
o Chapter 5, pp 114-127
[2] Modern Control Systems, 9/e
Steady-State Error:
o Chapter 5, pp 240-244
Stability:
o Chapter 6, pp 290-300
[3] Feedback Control of Dynamic Systems, 4/e
Steady-State Error:
o Chapter 4, pp 234-236
Stability:
o Chapter 3, pp 157-166
[4] Control Systems Engineering, 4/e
Steady-State Error:
o Chapter 7, pp 368-383
Stability:
o Chapter 6, pp 324-347
Figure 15 - Third-Order Position Control System Block Diagram for Marginal Stability Design
Op-Amp VTach
1 µF
Zero
“Umbilical” Connection
Dual Attenuator
(½) +15V GND -15V (Given) +15V GND -15V
100 kΩ
VIn 1 100 kΩ Pre-Amp Servo-Amp Motor Tachometer
Ka
VTach
ωHS
5
VPosition 6 3
Zero 1
-
2
100 kΩ Defined τ
VMotor Shaft
+
1 3 1 RPM/DC Volts
3 2
100 kΩ
2 4 2 2
1
Shaft
ωLS
Units: RPM
Unit Conversion:
6 ⋅ ( revolution
minute
)⋅ ( degree
second
)
Units: Shaft
degree/sec
ω,θ
+15V -15V
1 2
VPosition
Position Indicator
VPosition
Equipment List:
The following pieces of lab equipment will be required to complete this exercise:
• Pre-Amp, Servo-Amp, Motor, and Tachometer “core”
• Position Indicator
• Dual Attenuator
• Operational Amplifier
• Signal Generator
• Oscilloscope
• Printer
• Three coaxial cables with BNC to clip (alligator or microprobe)
• Various interconnect wires
Background Information:
Steady-State Error
In Lab Exercise #2, the system design criteria, tp, ts and Mp, were based on the transient
response with respect to the final value from a step input. Some design specifications
consider how closely the steady-state output tracks the input signal. The Error signal,
E(s), is defined as the difference between the system input and the system output. While
the system Transfer Function examines the ratio of the system output over the input in the
frequency (“s”) domain, the system Steady-State Error, ess, examines the Difference (i.e.:
Error) between the system input and output in the time domain.
Many control system textbooks examine system steady-state error with respect to the
number of system poles at the origin (i.e.: 1/s terms – the number of system poles at the
origin).
Note that the System Type, number of poles at the origin, is independent of the
system order (number of poles in the system transfer function), other than the fact
that the system order must be at least equal to the system type.
This lab exercise examines the ability of a type 1 system (one pole at the origin) to track a
ramp input (R/s2).
Marginal Stability
System stability examines whether a system’s output decays to a final value or remains
bounded over time (stability), or grows toward infinity or to the maximum extent of the
system output capability – such as an op-amp output getting “stuck on the rails” –
(instability).
For a system to be stable, all system poles must have negative real parts (i.e.: be to the left
of the jω-axis; “be in the Left-Half Plane”). A system is unstable if any pole has a positive
real part (i.e.: lies to the right of the jω-axis; “is in the Right-Half Plane”).
A system’s output will oscillate if it has complex poles. If the complex poles are stable (lie
in the Left-Half Plane), then the oscillation amplitude will exponentially decay; if the
complex poles are unstable (lie in the Right-Half Plane), the oscillation amplitude will
exponentially grow. When a system’s complex poles lie directly on the jω-axis, the
oscillation is “un-damped”; the system output oscillates with constant amplitude. This
condition is called marginal stability.
Pre-Lab:
Steady-State Error
Step 1 – Derive the Error Transfer Function:
• Derive the error transfer function, TE(s) = Verror(s)/VIn(s), for the system shown in
Figure 14. The error transfer function should be derived with the symbols in the
block diagram (Ka, Km, τm, Kp), and then the values measured in Lab Exercise #1
should be substituted in. Note that the gain, Ka, is still a variable.
Step 2 – Derive the System Error Function, Verror(s), to a Ramp-Input, VIn(s) = R/s2:
• Verror(s) = VIn(s)⋅TE(s).
The Ramp-Input will be R=2V/sec (i.e.: R=2 in the equation for Verror(s)).
Marginal Stability
Step 1 – Derive the Closed-Loop Transfer Function:
• Derive the closed-loop transfer function, T(s) = Vp(s)/VIn(s), for the third-order
system shown in Figure 15. The transfer function should be derived with the
symbols in the block diagram (τ1, Ka, Km, τm, Kp), and then the values measured in
Lab Exercise #1 should be substituted in. Note that the gain, Ka, is still a variable.
With the “s1 row” equal to zero from Step2, the “s2 row” is called the Auxiliary
Equation. If the coefficients in the “s2 row” are A and B, the Auxiliary Equation
will have the form As2 + B.
• Manipulate the Auxiliary Equation to be in the form s2 + ω2, and solve for the
theoretical oscillation frequency, ω in units of rad/sec.
ω rad/sec
f Hz
The poles of the system are where the denominator of the transfer function is equal
to zero.
• Solve for the values of Ka and ω to make both equations equal zero:
Re{T(jω)} = 0 , Im{T(jω)} = 0
Ka
ω rad/sec
f Hz
Procedure:
Preliminary Preparation
Step 1 – Perform the Balance Pre-Amp Output Procedure (refer to Procedure section,
page 31)
Step 2 – Perform the Zero Op-Amp Output Procedure (refer to Procedure section, page
43)
Steady-State Error
Step 1 – Set the gain, Ka, to the value computed in the pre-lab for Steady State Error:
• Use the Set Gain using an Attenuator Procedure (refer to Procedure section,
page 44)
Step 2 – Connect the system components as shown in Figure 10 (Lab Exercise #2, page
36):
• The Op-Amp feedback network is set to the 100KΩ resistor.
Measured: Analyze:
%Error
Verror V %
• Use the Hard Copy feature on the oscilloscope to obtain a print-out of the Verror
trace.
Marginal Stability
Step 1 – Double-Check the Pre-Amp and Op-Amp Balanced/Zeroed Output:
• Perform the Balance Pre-Amp Output Procedure (refer to Procedure section,
page 31)
• Perform the Zero Op-Amp Output Procedure (refer to Procedure section, page
43)
• Measure and record the oscillation frequency and compare this to the theoretical
value.
• Without disturbing the attenuator setting, disconnect the attenuator from the system
and measure the gain, Ka, using a method similar to setting the gain to a specific
value (refer to Set Gain using an Attenuator Procedure, page 44).
Record the measured value of Ka and compare this value to the theoretical value for
Marginal Stability.
Measured: Analyze:
%Error
f Hz %
Ka %
Summary:
Lab Exercise Checklist – Be sure that the following have been obtained in the Lab to
complete the lab exercise:
Collected data supporting the measurements of Verror to a Ramp-input for steady-
state error exercise, and oscillation frequency and associated Ka for marginal
stability exercise
Annotated hardcopies of step response traces for both Verror and un-damped
oscillation
Lab Report Checklist – The Lab Report should contain the following supporting
documentation:
All collected data and hardcopies of scope traces
Derivation of closed-loop transfer functions
Pre-lab computations
Error analysis of the measured vs. expected values:
o Steady-state error, ess (Verror) – considering actual ramp-input slope
o f (ω) and Ka for marginal stability
Figure 17 - Position Control System with Velocity Feedback Loop - Block Diagram
100 kΩ Zero
“Umbilical” Connection
Dual Attenuator
(½) +15V GND -15V (Given) +15V GND -15V
+
1 3 1 RPM/DC Volts
3 2
100 kΩ
2 4 2 2
1
Shaft
Dual Attenuator
(½)
Kb
ωLS
VTach Units: RPM
3 Unit Conversion:
6 ⋅ ( revolution
minute
)⋅ ( degree
second
)
2
Units: Shaft
degree/sec
1
ω,θ
+15V -15V
1 2
VPosition
Position Indicator
VPosition
Figure 18 - Position Control System with Velocity Feedback Loop - Wiring Diagram
Objectives:
After completing this exercise, you will be able to:
• Design a system’s step-response using two adjustable gain parameters
Reference Reading:
• References from Previous Lab Exercises:
o Block-Diagram Simplification
o Second-Order Dynamic Response Design Procedure & Equations
o Steady-State Error
Equipment List:
The following pieces of lab equipment will be required to complete this exercise:
• Pre-Amp, Servo-Amp, Motor, and Tachometer “core”
• Position Indicator
• Dual Attenuator
• Operational Amplifier
• Signal Generator
• Oscilloscope
• Printer
• Three coaxial cables with BNC to clip (alligator or microprobe)
• Various interconnect wires
Background Information:
In Lab Exercise #2, a closed-loop position control system was designed to meet a single
step response performance requirement: Overshoot, Mp, of 25%. The controller was a
single variable gain (multiplier) of the error (difference between system input and output).
With a single adjustable parameter (one “degree of freedom”), only one performance
requirement could be specified.
In this exercise, an inner “velocity loop” will be added; the velocity signal from the
tachometer, Vtach, will be fed-back to an input of the Pre-Amp after first passing through a
new adjustable gain, Kb.
The second adjustable parameter will result in a system with two degrees of freedom, and
will allow the design requirements to specify two step response performance criteria.
Pre-Lab:
Step 1 – Derive the Closed-Loop Transfer Function:
• Derive the closed-loop transfer function, T(s) = VP(s)/VIn(s), for the system shown
in Figure 17. The transfer function should be derived with the symbols in the block
diagram (Ka, Kb, Km, τm, Kt, Kp), and then the values measured in Lab Exercise #1
should be substituted in. Note that the two gains, Ka and Kb, are still variables.
Step 2 – Specify a Transient Response and Compute Ka and Kb for the Specified Behavior:
• Specify (i.e.: choose) an overshoot, Mp < 20%, and Settling Time, ts,2% < 4/3
seconds to a step input.
• Determine the value of Ka and Kb that will yield the specified transient
response (Mp, and ts,2%) to a step input for the transfer function derived in Step 1 of
the pre-lab, and use the second-order system design equations as needed.
• Predict the peak time, tp, for this design.
• Confirm that for a Unit-Ramp input (1/s2 – slope is 1 Volt/sec) the Steady-State
Error, ess < 4° (use Kp to convert from the angular specification to voltage).
Design Objectives:
Mp %
ts seconds
Controller Values:
Ka
Kb
Procedure:
Step 1 – Preliminary Preparation:
• Perform the Balance Pre-Amp Output Procedure (refer to Procedure section,
page 31)
• Perform the Zero Op-Amp Output Procedure (refer to Procedure section, page
43)
Step 2 – Set the gains, Ka and Kb, to the values computed in the pre-lab:
• Use the Set Gain using an Attenuator Procedure (refer to Procedure section,
page 44)
The Steady-State Analysis to a Ramp-Input is only theoretical – not part of the Lab
Exercise.
Summary:
Lab Exercise Checklist – Be sure that the following have been obtained in the Lab to
complete the lab exercise:
Collected data supporting the measurements of tp, ts and Mp
Annotated hardcopy of step response
Lab Report Checklist – The Lab Report should contain the following supporting
documentation:
All collected data and hardcopies of scope traces
Derivation of closed-loop transfer function
Pre-lab computations
Error analysis of the measured vs. expected values of tp, ts and Mp
Theoretical analysis of steady-state error to a ramp-input
Pre-Amp
Op-Amp input Position
Motor Unit
Integration
Attenuator Gear Conversion Indicator
VPosition(s)
0
VIn(s) + 1 + Km 1 1
Ka 6 Kp
- τ 1s + 1 - τ ms +1 30 s
Attenuator
VPosition(s)
Kb Kt
Tachometer
VTach(s)
+
1 3 1 RPM/DC Volts
3 2
100 kΩ
2 4 2 2
1
Shaft
Dual Attenuator
(½)
Kb
ωLS
VTach Units: RPM
3 Unit Conversion:
6 ⋅ ( revolution
minute
)⋅ ( degree
second
)
2
Units: Shaft
degree/sec
1
ω,θ
+15V -15V
1 2
VPosition
Position Indicator
VPosition
Objectives:
After completing this exercise, you will be able to:
• Stabilize an unstable system’s step-response using velocity feedback
Reference Reading:
• References from Previous Lab Exercises:
o Block-Diagram Simplification
o Second-Order Dynamic Response Design Procedure & Equations
o Stability
Equipment List:
The following pieces of lab equipment will be required to complete this exercise:
• Pre-Amp, Servo-Amp, Motor, and Tachometer “core”
• Position Indicator
• Dual Attenuator
• Operational Amplifier
• Signal Generator
• Oscilloscope
• Printer
• Three coaxial cables with BNC to clip (alligator or microprobe)
• Various interconnect wires
Background Information:
In Lab Exercise #3, third pole was introduced to the system. The additional pole adds
phase lag (delay). With the additional lag, increasing the system gain above some
threshold value caused the system to become unstable.
In this exercise, the inner “velocity loop” introduced in Lab Exercise #4 will be added to
the third-order position control system from Lab Exercise #3. The gain Ka will be set to a
value to intentionally cause system instability. Then, the velocity feedback gain, Kb, will
be designed so as to return the system to marginal stability, and then to an over-damped
condition.
Pre-Lab:
Preliminary
Step 1 – Derive the Closed-Loop Transfer Function:
• Derive the closed-loop transfer function, T(s) = VPosition(s)/VIn(s), for the system
shown in Figure 19. The transfer function should be derived with the symbols in
the block diagram (Ka, τ1, Kb, Km, τm, Kt, Kp), and then the values measured in Lab
Exercise #1 should be substituted in. Note that the two gains, Ka and Kb, are still
variables.
Marginal Stability
Step 1 – Induce System Instability:
• Begin with the value of Ka from Lab Exercise #3 that was found to bring the system
into marginal stability.
• Increase that value of Ka by 10% to assure that the system is unstable.
Ka
Step 2 – Find Kb for Marginal Stability and the Theoretical Oscillation Frequency, ω:
• Using either method from Lab Exercise #3, compute the value of Kb that restores
the system to marginal stability, and also find the theoretical oscillation frequency,
ω in units of rad/sec.
Kb
ω rad/sec
f Hz
Response for Kb = 1
Step 1 – Predict Transient Response for Kb = 1:
• Let Kb = 1 in the closed-loop transfer function, and keep the same value of Ka
(unstable) from the previous part of this exercise.
• Predict the step-response performance (peak time, tp, settling time, ts, and percent
overshoot, Mp) and the steady-state error, ess, to a unit-ramp input (1/s2 – slope is 1
Volt/sec).
Expected for
Kb = 1:
tp seconds
ts seconds
Mp %
ess Volt
Procedure:
Step 1 – Preliminary Preparation:
• Perform the Balance Pre-Amp Output Procedure (refer to Procedure section,
page 31)
• Perform the Zero Op-Amp Output Procedure (refer to Procedure section, page
43)
Step 2 – Set the gains, Ka and Kb, to the values computed in the pre-lab:
• Use the Set Gain using an Attenuator Procedure (refer to Procedure section,
page 44)
Step 5 – Set Kb to 1:
• Replace the attenuator for Kb with a direct connection form the tachometer output
to the pre-amp input. This sets the value of Kb to 1.
Measured: Analyze:
%Error
tp seconds %
ts seconds %
Mp % %
The Steady-State Analysis to a Ramp-Input is only theoretical – not part of the Lab
Exercise.
Summary:
Lab Exercise Checklist – Be sure that the following have been obtained in the Lab to
complete the lab exercise:
Collected data supporting the measurements of oscillation frequency and associated
Kb for marginal stability, and step response when Kb = 1
Annotated hardcopies of un-damped system oscillation and step response for Kb = 1
Lab Report Checklist – The Lab Report should contain the following supporting
documentation:
All collected data and hardcopies of scope traces
Derivation of closed-loop transfer function
Pre-lab computations
Error analysis of the measured vs. expected values of Kb, un-damped oscillation
frequency, and step response for Kb = 1
Theoretical analysis of steady-state error to a ramp-input
Pre-Amp
Op-Amp Lead-Lag input
Compensator Position
Motor Unit
Gear Conversion Integration Indicator
K c (τ z s + 1) VPosition(s)
0
VIn(s) + VMotor(s) Km 1 1
6 Kp
- (τ p s + 1) τ ms +1 30 s
VPosition(s)
VTach
Zero 1
-
100 kΩ
VIn Defined τ
1
VMotor Shaft
+
1 3 1 RPM/DC Volts
VPosition 6
2 2
100 kΩ 2 4 2
3 Shaft
100 kΩ
ωLS
Units: RPM
Unit Conversion:
6 ⋅ ( revolution
minute
)⋅ ( degree
second
)
Units: Shaft
degree/sec
ω,θ
+15V -15V
1 2
VPosition
Position Indicator
VPosition
Objectives:
After completing this exercise, you will be able to:
• Design and implement a Phase-Lead compensator to meet specified system time
response specifications
Reference Reading:
• References from Previous Lab Exercises:
o Second-Order Dynamic Response Design Procedure & Equations
o Steady-State Error
Equipment List:
The following pieces of lab equipment will be required to complete this exercise:
• Pre-Amp, Servo-Amp, Motor, and Tachometer “core”
• Position Indicator
• Dual Attenuator
• Operational Amplifier
• Signal Generator
• Oscilloscope
• Printer
• Three coaxial cables with BNC to clip (alligator or microprobe)
• Various interconnect wires
• Discrete components to build the Lead compensator network
Background Information:
In Lab Exercises #2, 3, 4, and 5, variable gain parameters, Ka and Kb, were adjusted such
that the closed-loop system met the time-domain performance specifications. In all of
these systems, the root-loci of the closed-loop systems passed through regions of the s-
plane such that the specifications could be met by merely adjusting gain values.
In this lab exercise, the time-domain performance specifications require closed-loop pole
locations that do not lie on the system’s root locus, and therefore cannot be met by
adjusting gain values alone.
s-plane
Im
X O Re
1 1
− pc = − − zc = −
τ pc τ zc
+ R1 +
VIn R2 VOut
- -
Gc ( s ) =
VOut ( s )
=
R2 R2
≡ ⋅
(R1C ⋅ s + 1)
VIn ( s )
R2 + R1
1
R1 + R2 R1 R2
sC R + R C ⋅ s + 1
1 2
R1 R2
τ = C
1 (ατ ⋅ s + 1) R1 + R2
≡ ⋅ Where :
α (τ ⋅ s + 1) R + R2
α = 1
R2
OR
τ = (R C )
Gc ( s ) ≡ β ⋅
(τ ⋅ s + 1)
Where :
1
(βτ ⋅ s + 1) R2
β =
R1 + R2
1
In the first formulation, note that α is greater than 1; the zero at is closer to the origin
ατ
1
than the pole at .
τ
1
In the second formulation, note that β is less than 1; the pole at is further from the
βτ
1
origin than the zero at .
τ
Note also that the D.C. gain of the system (transfer function gain with s = 0) is:
1 R2
=β = , the Voltage Divider equation.
α R1 + R2
The values α and β can be thought of as separation ratios, or separation distances, between
the compensator pole and zero. α typically has a value between 3 and 20. One “rule of
thumb” suggests that the pole be at least ten-times further than the zero from the s-plane
origin (p ≥ 10z). Note, however that large values of α also result in increased attenuation
from the voltage divider.
RF
C
-
R1 R2
+ + +
VIn
VOut
-
-
Pre-Lab:
Step 1 – Derive the Closed-Loop Transfer Function:
• Derive the closed-loop transfer function, T(s) = VPosition(s)/VIn(s), for the system
shown in Figure 21. The transfer function should be derived with the symbols in
the block diagram (Kc, τz, τp, Km, τm, Kp), and then the values measured in Lab
Exercise #1 should be substituted in. Note that the compensator parameters, Kc, τz,
and τp, are still variables.
• For Unit-Ramp input (1/s2 – slope is 1 Volt/sec) the Steady-State Error, ess < 1°
(use Kp to convert from the angular specification to voltage).
Design Objectives:
Mp %
ts seconds
ess Volt
Step 3 – Specify Desired Closed-Loop Dominant Pole Location to meet Design Objectives:
• Use the second-order system design equations to determine the location of the
desired dominant closed-loop system poles.
Step 4 – Design the Compensator Pole, Zero, and Gain values to meet Design Objectives:
• Refer to the references reading material and “Lab Exercise 6 – Appendix – Design
Pole, Zero, and Gain Values for Phase-Lead Compensator” for guidance.
Your design assumptions, calculations, etc. must be included in your lab report.
Discussion:
The overall system will be third-order. The design equations will be applied to the
dominant complex conjugate pole pair. The third pole, p3, must be real. The
resulting closed-loop transfer function denominator will therefore be:
( s + p3 )( s 2 + 2ζω n ⋅ s + ωn ) = s 3 + ( p3 + 2ζω n ) s 2 + (2ζω n p3 + ωn ) s + ( p3 ⋅ ωn )
2 2 2
Use the second-order system design equations to determine the necessary ζ and ωn
values, and substitute these into the expanded third-order equation above. (The
location of the third pole, p3, is still a variable.)
• Your completed design should include an evaluation to assure that the theoretical
closed loop step response will meet the Design Objectives. Simulation tools such
as MatLab and MathCad may be used here.
• Predict the peak time, tp, for this design.
Procedure:
Step 1 – Preliminary Preparation:
• Perform the Balance Pre-Amp Output Procedure (refer to Procedure section,
page 31)
• Perform the Zero Op-Amp Output Procedure (refer to Procedure section, page
43)
The Steady-State Analysis to a Ramp-Input is only theoretical – not part of the Lab
Exercise.
Summary:
Lab Exercise Checklist – Be sure that the following have been obtained in the Lab to
complete the lab exercise:
Collected data supporting the measurements of tp, ts and Mp
Annotated hardcopy of step response
Lab Report Checklist – The Lab Report should contain the following supporting
documentation:
All collected data and hardcopies of scope traces
Derivation of closed-loop transfer function
Pre-lab computations INCLUDING compensator design (pole, zero, gain, and
circuit components)
Error analysis of the measured vs. expected values of tp, ts and Mp
Theoretical analysis of steady-state error to a ramp-input
Purpose:
This section describes some techniques and background information that may be helpful in
solving for the necessary Pole, Zero, and Gain values for a Phase-Lead Compensator to
yield closed-loop system poles at specified locations.
s-plane Im
Desired
Closed-Loop
θp2 θp1
Pole
Location
θpc θzc
X O X X Re
-pc -zc -p2 -p1
There are various methods to determine the compensator pole and zero locations; some of
these are discussed in the reference reading material for the lab exercise.
Angle Criteria
The angle criteria of the closed-loop root locus requires that the sum of the angles of the
open-loop zeros (with respect to the desired closed-loop pole location) minus the sum of
the open-loop poles (with respect to the desired closed-loop pole location) must equal an
integer multiple of 180° (refer to Figure 26):
∏ (s + z )
i
∠G ( s ) = ∠ i
= ∑ ∠( s + zi ) − ∑ ∠( s + p j ) ≡ 180° ± k ⋅ 360°
∏ (s + p )
j
j i j
For the system with poles and zeros shown in Figure 26, this would be:
θzc – ( θpc + θp2 + θp1 ) = -180°
Magnitude Criteria
The magnitude criteria of the closed-loop root locus requires that the product of the pole
magnitudes (distances from the open-loop poles to the desired closed-loop pole location)
divided by the product of the zero magnitudes (distances from the open-loop zeros to the
desired closed-loop pole location) is equal to the open-loop gain, K.
Note that the magnitude criteria will give the OVERALL system gain, K, that is
necessary to place the closed-loop pole at the desired location. Therefore, to find the
compensator gain, Kc, the overall system gain must be divided by the open-loop D.C. gain
of the original uncompensated system.
• The location of the compensator pole and zero are found using geometric and
trigonometric identities to satisfy the angle criteria.
The general relationship for the angles of open-loop poles or zeros and the desired closed-
loop pole location is:
y Im{s} − Im{ p}
tan(θ p ) = =
x Re{s} − Re{ p}
The angles of poles and zeros to the left of the desired closed-loop pole location can be
“measured” using the identity:
Im{s} − Im{ p}
θ = tan −1
Re{s} − Re{ p}
The angles for poles and zeros to the right of the desired closed-loop pole location can be
“measured” using the identity:
Im{s} − Im{ p}
φ = tan −1 , and θ = 180° − φ
Re{s} − Re{ p}
For the pole p2 in Figure 27, the placement of the pole given the angle is found by:
y Im{s} − Im{ p}
tan(θ p ) = =
x Re{s} − Re{ p}
ω
⇒ tan(θ p 2 ) =
p2 − σ
ω
⇒ p2 = +σ
tan(θ p 2 )
The magnitude (distance from the open-loop pole or zero to the desired closed-loop pole)
can be considered as the hypotenuse of a right triangle:
∏j
(Re{s} − Re{ p j }) 2 + (Im{s} − Im{ p j }) 2
K=
∏ i
(Re{s} − Re{zi }) 2 + (Im{s} − Im{zi }) 2
For the system with poles and zeros shown in Figure 26, and the desired close-loop pole
location is s= -σ + jω, this would be:
(σ − p1 ) 2 + (ω ) 2 ⋅ (σ − p2 ) 2 + (ω ) 2 ⋅ (σ − pc ) 2 + (ω ) 2
K=
(σ − zc ) 2 + (ω ) 2
Note that OVERALL system gain, K, must be divided by the open-loop D.C. gain
of the original uncompensated system to find the necessary compensator gain, Kc.
The fist part of the exercise evaluates the position control system from Lab Exercise #2
(Figure 9 and Figure 10, page 36), and uses the value of Ka computed to achieve a 25%
overshoot to a step input. This closed-loop second-order system is then explored by
comparing sinusoidal input and output signals and constructing the system Bode plot.
The second part of the exercise, evaluates the marginally stable OPEN-LOOP third-
order system (Figure 28 and Figure 29, page 82) (system from Lab Exercise #3 without
the feedback), and uses the value of Ka measured in Lab Exercise #3 to achieve a
marginally stable system. This open-loop third-order system is then explored by
comparing sinusoidal input and output signals and constructing the system Nyquist (polar)
plot.
Objectives:
After completing this exercise, you will be able to:
• Perform sinusoidal steady-state analysis of a system
• Sketch a Bode Plot from laboratory data of sinusoidal system input and output
signals.
• Sketch a Nyquist Plot from laboratory data of sinusoidal system input and output
signals.
Reference Reading:
[1] Schaum’s Outline of Theory and Problems of Feedback and Control Systems, 2/e
Bode Analysis:
o Chapter 15, pp 364-383
Nyquist Analysis:
o Chapter 11, pp 246-260
[2] Modern Control Systems, 9/e
Frequency Response and Bode:
o Chapter 8, pp 406-442
The Nyquist Criterion:
o Chapter 9, pp 476-493
[3] Feedback Control of Dynamic Systems, 4/e
Frequency Response and Bode Plot Techniques:
o Chapter 6, pp 364-384
The Nyquist Stability Criterion:
o Chapter 6, pp 390-409
Additional Reference:
GraphTablet – “Gives you a never ending supply of simple graph paper from your
home printer.” This utility allows you to generate custom semi-log grids for Bode
plots and polar grids for Nyquist plots.
http://www.graphtablet.com/
Op-Amp VTach
1 µF
Zero
“Umbilical” Connection
Dual Attenuator
(½) +15V GND -15V (Given) +15V GND -15V
100 kΩ
VIn 1 100 kΩ Pre-Amp Servo-Amp Motor Tachometer
Ka
VTach
ωHS
5
6 3
Zero 1
-
2
100 kΩ Defined τ
VMotor Shaft
+
1 3 1 RPM/DC Volts
3 2
100 kΩ
2 4 2 2
1
Shaft
ωLS
Units: RPM
Unit Conversion:
6 ⋅ ( revolution
minute
)⋅ ( degree
second
)
Units: Shaft
degree/sec
ω,θ
+15V -15V
1 2
VPosition
Position Indicator
Equipment List:
The following pieces of lab equipment will be required to complete this exercise:
• Pre-Amp, Servo-Amp, Motor, and Tachometer “core”
• Position Indicator
• Dual Attenuator
• Operational Amplifier
• Signal Generator
• Oscilloscope
• Printer
• Three coaxial cables with BNC to clip (alligator or microprobe)
• Various interconnect wires
Background Information:
The previous lab exercises have evaluated systems by means of their “transient” (step)
responses. In theory, one could analyze the step response of a system to determine the
location of the dominant system poles. This method has two fundamental shortcomings:
• Only dominant system poles are identified. “Faster” poles far into the Left-Half
Plane may not be observed.
• The step input has “vertical” discontinuity that would require an infinite amount of
energy to realize in a real system. (The square-wave inputs in the previous lab
exercises have only been approximations of step inputs.)
Sinusoidal Steady-State system analysis techniques that compare the input and output gain
and phase differences have the advantage of being realizable in physical systems. A “black
box” system can be identified by applying a series of sinusoidal inputs at different
frequencies, and measuring the resulting change in magnitude and phase of the output
signal. In fact, there is equipment available that automates this type of system
identification.
Bode analysis plots both gain magnitude (ratio of output to input amplitude) and phase
(difference between output and input phase angles) on two separate, parallel plots with
respect to frequency, using a logarithmic scale for angular frequency, ω. Nyquist analysis
plots gain magnitude and phase on a single polar plot on the complex s-plane independent
of frequency.
Pre-Lab:
Step 2 – Compute the Natural Frequency, Resonant Frequency, Resonant Peak Magnitude,
and Phase Angle of the Closed-Loop Under-damped Second Order System:
• Compute the natural frequency, ωn, (the “break frequency”) from the closed-loop
transfer function. This may be found from either T(s) or T(jω).
• Use differential equation techniques to determine the resonant frequency, ωr; the
value of ω that maximizes the magnitude, M = |T(jω)|.
Note that this is NOT the observed (damped) oscillation frequency in the time-
domain step response, ωd = ωn 1 − ζ 2 ; rather it is ωr = ωn 1 − 2 ⋅ ζ 2 - use this
formula as a “sanity check” for your derivation.
• Substitute ωr into the magnitude and phase angle equations to compute the expected
resonant peak magnitude at ωr, Mr = |T(jωr)|, and the associated phase angle, θr.
ωn 1
For the system , the resonant peak magnitude is .
s + 2ζω n ⋅ s + ω n
2 2
2ζ 1 − ζ 2
Step 2 – Compute the Frequency, Magnitude, and Phase Angle at the Edge of System
Stability:
Discussion:
Marginal stability (i.e.: the “edge of system stability”) occurs when the system gain
(magnitude) is 1 and the phase angle is ±180°. The Nyquist plot often resembles a
spiral on the s-plane. The point of marginal stability occurs when the Nyquist plot
intersects the point s = -1 (magnitude of 1, angle of ±180°) on the s-plane. As -1 is
a real value, this intersection must occur when the imaginary part of G(jω) is equal
to zero.
• Compute the frequency at which the system is marginally stable (the imaginary part
of G(jω) is equal to zero), ω0.
• Substitute ω0 into the magnitude and phase angle equations to compute the
expected magnitude at ω0, M0 = |T(jω0)|, and the associated phase angle, θ0.
Expected Frequency for Marginal Stability, and associated Magnitude and Phase
Angle:
ω0 rad/sec Hz
M0 (raw
value) dB
θ0 degrees
Step 3 – Derive the Adjustment Function, Tpt(s), for Conversion of Vt(s) to Vp(s):
Discussion:
As this (open-loop) system is not controlling the closed-loop position, the motor
position may rotate more than 360°. If the position indicator output, Vp, is being
monitored, the potentiometer wiper may pass through the sensor “dead zone”
during which the position indicator output transitions from +15V to -15V; this will
complicate the recording of Vp data. It may therefore be necessary to “reconstruct”
the Vp signal by reading the tachometer output, Vt, and working through block-
diagram algebra to convert Vt to Vp.
• From the block diagram shown in Figure 28, derive the adjustment function, Tpt(s),
necessary to convert the signal Vt(s) to Vp(s). The system with “reconstructed” Vp
output is shown in Figure 30.
Procedure:
Preliminary Preparation
Step 1 – Perform the Balance Pre-Amp Output Procedure (refer to Procedure section,
page 31)
Step 2 – Perform the Zero Op-Amp Output Procedure (refer to Procedure section, page
43)
Step 2 – Connect the system components as shown in Figure 10 (Lab Exercise #2, page
36):
• The Op-Amp feedback network is set to the 100KΩ resistor.
ω (rad/sec) f (Hz) Vin (Vpp) Vout (Vpp) Q (Vpp) or Gain (dB) Phase
(degree)
t1 & t2 (sec)
rad/sec Hz Vpp Vpp dB degree
Step 2 – Set the gain, Ka, to the value measured in Lab Exercise #3 to achieve marginal
system stability:
• Use the Set Gain using an Attenuator Procedure (refer to Procedure section,
page 44)
• The point of marginal stability may not occur precisely at the computed value of ω0.
Therefore, review the overall system magnitude and phase data recorded and
identify the range of frequencies where the gain is ~1 and the phase is ~ -180°.
Then, vary the frequency in this range to find and record the data at the point of
marginal stability.
Compare the marginal stability data with the expected values.
• Generate the Nyquist Plot. Plot the Gain and Phase on the s-plane as a polar plot.
Summary:
Lab Exercise Checklist – Be sure that the following have been obtained in the Lab to
complete the lab exercise:
Collected data supporting the measurements of ωr, Mr and θr for the Closed-Loop
Bode analysis, and ω0, M0 and θ0 for the Open-Loop Nyquist analysis.
Representative oscilloscope traces (annotated) from both Bode and Nyquist
sections; label the traces with appropriate names and sample information.
Lab Report Checklist – The Lab Report should contain the following supporting
documentation:
All collected data and hardcopies of scope traces
Derivation of transfer functions
Pre-lab computations including all expected values, derivation of frequency for
peak magnitude, derivation of frequency for marginal stability
Error analysis of the measured vs. expected values of ωr, Mr, θr, ω0, M0, and θ0
Purpose:
The Lissajous curve plots two functions against each other without an explicit time axis;
time occurs implicitly. The Lissajous curve is essentially a mapping from the input
waveform to the output waveform. This is a type of transfer function. Consider Figure 31.
The Lissajous curve is generated by using the X-Y display mode on the oscilloscope time
base selection. The horizontal extent of the Lissajous Curve is the Vin(t) peak-to-peak
value; the vertical extent of the curve is the Vout(t) peak-to-peak value. Centering the curve
in the oscilloscope screen, the height Q can be found.
This technique may be used to determine the gain and phase angle relationship between the
input and output waveforms as an alternative method to comparing the two sinusoidal
waveforms directly. Furthermore, measuring the phase delay (phase shift) by comparing
two sinusoidal waveforms may be difficult when the time delay is very small compared to
the period of the waveform. This technique may be used to facilitate the measurements in
that case.
References:
Lissajous Figures
http://surendranath.tripod.com/Lissajous/Lissajous.html
Procedure:
Step 1 – Oscilloscope setup:
• Set the display mode to X-Y.
• Ground both Channel 1 (CH1) and Channel 2 (CH2) inputs.
• Center the dot vertically with the CH1 offset adjustment, and center it horizontally
with the time base adjustment.
• Connect the input signal, Vin(t), to CH1 and the output signal, Vout(t), to CH2.
Step 2 – Measure Vin(t), Vout(t), and Q (all are in units of peak-to-peak voltage, Vpp)
Example:
The Lissajous curve in Figure 31 shows input and output waveforms, Vin(t) and Vout(t):
Vin (t ) = sin(2π ⋅ t ) V pp
Vout (t ) = 34 ⋅ sin(2π ⋅ t + π6 ) V pp
0.75 V pp
Phase Angle = sin −1 degrees = 30° = π radians
1 .5 V 6
pp
Note that Figure 31 shows an example of on output waveform that Leads the input
waveform, and therefore the Phase Angle is positive.
Basic Description
Cursor Menu
Controls Buttons
This section contains a basic description of the features and operation of the
Tektronix 3012 Oscilloscope shown above. Additional details can be found in the
Detailed Description.
The front panel has buttons and controls for the functions you use most often. The front
panel has menus to access more specialized functions To use the menu system, follow the
steps shown below.
1. Push a dark-colored front-panel menu button to display the menu you want to use.
2. Push a bottom screen button to select a menu item. If a pop-up menu appears, continue
to push the screen button to select an item from the pop-up menu.
3. Push a side screen button to choose a menu item. If the menu item contains more than
one choice, push the side screen button again to make the choice.
4. Certain menu choices require you to set a numerical value to complete the setup. Use the
general-purpose knob to adjust the parameter value. Push the COARSE button to make
larger adjustments.
You can use the menu buttons to perform the following oscilloscope functions.
3. SAVE/RECALL. Saves and recalls setups and waveforms to memory or a floppy disk.
Saving to disk allows the student to transfer data electronically to his/her report.
7. Vertical MENU. Adjusts the scale, position, and offset of waveforms. Sets the input
parameters.
9. Acquire MENU. Sets the acquisition modes and horizontal resolution, and resets the
delay time.
These dedicated buttons and controls generally control waveforms and cursors without the
use of menus.
1. COARSE. Causes the general-purpose knob and position knobs to make adjustments
more quickly.
2. SELECT. Toggles between the two cursors to select the active cursor.
3. General purpose knob. Moves the cursors. Sets numerical parameter values for some
menu items. Push COARSE to make adjustments quickly.
4. Vertical POSITION. Adjusts the vertical position of the selected waveform. Push
COARSE to make adjustments more quickly.
5. Horizontal POSITION. Adjusts the trigger point location relative to the acquired
waveforms. Push COARSE to make adjustments quickly.
8. SINGLE SEQ. Sets acquisition, display, and trigger parameters for a single-shot (single
sequence) acquisition.
9. SET TO 50%. Sets the trigger level to the midpoint of the waveform.
10. AUTOSET. Automatically sets the vertical, horizontal, and trigger controls for a usable
display.
13. B TRIG. Activates the B Digger. Changes the trigger menu to set the B-trigger
parameters.
14. DELAY Enables delayed acquisition relative to the trigger event. Use horizontal
POSITION to set the amount of delay.
16. Horizontal zoom. Splits the screen and magnifies the current acquisition horizontally.
19. CH1, CH2 MATH. Displays a waveform and chooses the selected waveform. REF
shows the reference waveform menu.
20. Hard copy. Initiates a hard copy from the dot matrix printer using the port selected in
the Utility menu.
21. Power switch. Turns power to on or standby. Power-up time varies from about 15
seconds to 45 seconds, depending on the oscilloscope internal calibration process.
22. Wrist-strap ground. Connect a wrist strap when working with ESD-sensitive circuits.
This connector is not a safety ground.
Hard Copy
After you connect a printer and set up the oscilloscope, push the hard-copy button at the
left of the display to make a hard copy. You can also store hard-copy images on a floppy
disk (in normal or compressed format) and then transfer them later to a PC for printing or
use in a report.
Connecting a Printer
Connect your printer to the parallel printer port on the rear panel of the oscilloscope.
Setting Up to Print
3. Push the Format screen button and then choose the printer format appropriate for your
application.
4. Push the Options screen button to select the image orientation (portrait or landscape)
as well as turn on or off hard copy file compression.
5. Push the Ink Saver screen button and select On for most applications. If you want the
hard copy colors to be the same as the screen colors, you can select Off.
6. Push the Port screen button and select the port that your printer is connected to or select
File to save the hard copy on a floppy disk.
Hard Copy File Compression. When compression is set to on, the oscilloscope
compresses the hard copy data, using the current printer format, into a gnuzip file format,
with the extension .gz. Compressing hard copy files lets you store more screen captures on
a floppy disk. Centronics output is never compressed. .gz files can be decompressed using
PKZIP or WinZip programs.
Color and Gray-Scale Printing. You can print a color hard copy that uses the display
colors. Gray-scale waveform information is printed as shades of color. If you have a
Deskjet or Laserjet monochrome printer, gray-scale waveform information is printed as a
dithered image.
Ink Saver and Preview. As an alternative to printing the display colors, turn on the Ink
Saver function to print a hard copy with a white background. This function saves printer
ink while it preserves the color coding of the waveforms and readouts. Ink saver also
works with the monochrome print formats.
Push and hold the Preview screen button to show how the colors will appear on the paper.
Clear Spool. You can push the Clear Spool screen button to empty the print spooler to
stop a hard copy operation in progress, if the hard copy port connection is not made due to
incompatible settings (such as baud rate), or if you lose the hard copy port connection
before the hard copy is complete.
The following items may appear in the display; not all items are visible at any given time.
Some readouts move outside the graticule area when menus are turned off.
1. Waveform baseline icons show the zero-volt level of the waveforms (ignoring the effect
of offset). The icon colors correspond to the waveform colors.
4. Expansion point icon shows the point that the horizontal scale expands and compresses
around.
5. Waveform record icon shows the trigger location relative to the waveform record. The
line color corresponds to the selected waveform color.
7. Trigger level icon shows the trigger level on the waveform. The icon color corresponds
to the trigger source channel color.
9. Trigger readouts show the trigger sources, slopes, and levels, and position.
10. Readout shows the delay setting or the trigger location within the record.
12. Auxiliary waveform readouts show the vertical and horizontal scale factors of the math
or reference waveforms.
13. Channel readouts show the channel scale factor, coupling, input resistance, bandwidth
limit, and invert status.
14. Triangle icon with the battery icon indicates a battery is installed and battery power is
in use. The battery icon shows the approximate charge level of the battery.
15. Power-plug icon with the battery icon indicates a battery is installed but line power is in
use. The battery may be charging. The battery icon shows the approximate charge level.
Using QuickMenus
The QuickMenu feature simplifies the use of the oscilloscope. When you push the
QUICKMENU button, a set of frequently used menu functions show on the display. Then,
push the screen buttons around the display to operate the QuickMenu.
Using the Scope QuickMenu. Scope is one type of QuickMenu that you can use to control
the basic oscilloscope functions. You can perform many tasks without using the regular
menu system. If you need to use a function that is not contained in the Scope QuickMenu,
push the button you would normally push to access that function. For example, if you want
to add an automatic measurement, push the MEASURE button to set up the measurement.
Then, push the QUICKMENU button to return to the Scope QuickMenu with the
measurement also in the display.
1. Edge Trigger controls. Push these screen buttons to set trigger parameters for edge
trigger.
3. Cursor control. Push this screen button to turn on cursors and select the cursor type. Push
the SELECT button to toggle between the two cursors to select the active cursor. Use the
general-purpose knob to move the active cursor.
5. Channel vertical controls. Push these screen buttons to set vertical controls for the
selected channel. Use the CH 1, CH2, CH3, CH4, MATH, and REF buttons to select the
channel you want to control.
7. Menu. Push this screen button to select a specific QuickMenu display if more than one is
available.
NOTE. Items in the Scope QuickMenu not mentioned above are also contained in the
regular display.
Front-Panel Connectors
3. EXT TRIG. External trigger input with TekProbe interface (two-channel models only).
Rear-Panel Connectors
3. DC power output. Provides -15 V DC accessory power only when the oscilloscope is
connected to the AC power line.
9. l0baseT local area network (LAN) Ethernet port. Connect to a 10baseT network for
remote printing or programming.
Application Examples
Each application example highlights different features of the oscilloscope and gives you
ideas about using the oscilloscope to solve test problems.
You need to see a signal in a circuit, but you do not know the signal amplitude or
frequency. Connect the oscilloscope to quickly display the signal and then measure its
frequency and peak-to-peak amplitude.
Using Autoset
The oscilloscope sets vertical, horizontal, and trigger controls automatically. You can
manually adjust any of these controls if you need to optimize the display of the waveform.
When you are using more than one channel, the autoset function sets the vertical controls
for each channel and uses the lowest-numbered active channel to set the horizontal and
trigger controls.
The oscilloscope can take automatic measurements of most displayed signals. To measure
signal frequency and peak-to-peak amplitude, do these steps:
2. Push the CH 1 button and then push the Select Measurement for Chl screen button.
3. Select the Frequency measurement.
4. Push the more screen button until you can select the Pk-Pk measurement.
The measurements show on the screen and update as the signal changes.
You are testing a piece of equipment and need to measure the gain of its audio amplifier.
You have an audio generator that can inject a test signal at the amplifier input. Connect two
oscilloscope channels to the amplifier input and output as shown. Measure both signal
levels and use these measurements to calculate the gain.
2. Push the CH 1 button and then push the Select Measurement for Chl screen button.
4. Push the CH 2 button and then push the Select Measurement for Ch2 screen button.
In this example you want to verify that the incoming signal to a piece of digital equipment
meets its specifications. Specifically, the transition time from a low logic level (0.8 V) to a
high logic level (2.0 V) must be 10 ns or less.
2. Push the CH 1 button and then the Select Measurement for Chl screen button.
3. Select the Rise Time measurement. Rise time is typically measured between the 10%
and 90% amplitude levels of a signal; these are the default reference levels the oscilloscope
uses for rise time measurements. However, in this example you need to measure the time
the signal takes to pass between the 0.8 V and 2.0 V levels.
You can customize the rise time measurement to measure the signal transition time
between any two reference levels. You can set each of those reference levels to a specific
percent of the signal amplitude or to a specific level in vertical units (such as volts or
amperes).
Setting Reference Levels. To set the reference levels to specific voltages, do these steps:
The measurement verifies that the transition time (3.842 ns) meets the specification ( 10
ns).
Next you want to see the pulses in the incoming digital signal, but the pulse widths vary so
it is hard to establish a stable trigger. To look at a snapshot of the digital signal, do this
step:
Now you want to measure the width of each displayed pulse. You can use measurement
gating to select a specific pulse to measure. To measure the second pulse, for example, do
these steps:
2. Push the CH 1 button and then push the Select Measurement for Chl screen button.
5. Select Gate With V Bar Cursors to choose measurement gating using cursors.
6. Place one cursor to the left and one cursor to the right of the second pulse.
The oscilloscope shows the width measurement (160 ns) for the second pulse.
You can use the cursors to take quick measurements on a waveform. To measure the ring
frequency at the rising edge of the signal, do these steps: i
6. Place one cursor on the first peak of the ring using the general-purpose knob.
The cursor ∆ readout shows the measured ring frequency is 227 kHz.
Acquisition Features
Separate Digitizers. Ensure accurate timing measurements with separate digitizers for
each channel. Each digitizer can sample at up to the maximum sample rate; acquisition on
all channels is always concurrent to provide full single-shot bandwidth on each channel.
Fast Trigger Acquisition. Acquire up to 3,000 waveforms per second to see rapidly
changing signals or intermittent signal irregularities.
Pretrigger. You can capture signals that occur before the trigger point. You can position
the trigger point at the beginning of the acquisition, at the end, or at any location in
between.
Delay. You can also delay the acquisition so that it starts after the trigger point. Use delay
when you want to acquire the signal at a specific time after the trigger point.
Peak Detect. See pulses as narrow as 1 ns even at the slower time base settings. Peak
Detect helps you see noise and glitches in your signal.
Average. Apply averaging to your signal to remove uncorrelated noise and improve
measurement accuracy.
Envelope. Use envelope to capture and display the maximum variation of a signal.
Waveform Math. Use waveform math to add, subtract, multiply, or divide waveforms. For
example, you can use math to analyze differential signals or calculate a power waveform.
Display Features
Color LCD Display. Identify and differentiate waveforms easily with color-coding.
Waveforms, readouts, and buttons are color matched to increase productivity and reduce
operating errors.
Signal Preview. Use the preview feature to optimize the control settings when setting up a
single-shot acquisition. As you adjust the controls, the adjustments modify the current
acquisition to show a preview of how the next acquisition should appear.
Measurement Features
Cursors. Use cursors to take simple voltage, time, and frequency measurements.
Trigger Features
Dual Triggers. Use the main (A) trigger system alone or add the B trigger to capture more
complex events. You can use the A and B triggers together to set up a wait-for-time or
wait-for-events trigger.
Video Trigger. Trigger on video fields or lines to see a stable display of standard video
signals.
Convenience Features
Autoset. Use Autoset to quickly set up the vertical, horizontal, and trigger controls for a
usable display.
Scope QuickMenu. Use the built-in Scope QuickMenu for simplified oscilloscope
operation.
Single Sequence. One button sets the trigger parameters to the correct settings for a single-
shot acquisition (or single-sequence acquisition).
Floppy Disk. Use the built-in floppy disk to store and recall waveforms and setups, as well
as upgrade the oscilloscope firmware and install new features.
Probe Support. Use the standard probes or choose an optional probe for a specific
application.
Optional Features