control system
The Electromechanical Servomechanism Virtual Laboratory is designed to emulate a DC motor within a feedback control system. An example of the physical device being controlled is shown in figure 1.
1
)
(
+
+
+
=
s
s
K
s
K
K
s
G
D
i
p
c
g
Figure 1 : The servomechanism. 2
Figure 2 : Screenshot showing Virtual Laboratory Servomechanism layout.2
To set system parameters :
A screenshot for the servomechanism virtual laboratory program is shown as Figure 2. In the top section of the window, a representation of the control system is shown. Animation is used to show a simplified representation of the physical operation of the system. Coloured boxes indicate the blocks which have user definable parameters. For the servomechanism, these include :
Definable constant gains (e.g. Gp and Gt for the servomechanism laboratory).
Using the DSO (Digital Storage Oscilloscope) :
While the simulation in the top section of the screen indicates the effect of inputs and parameters on the system attribute of interest, a graphical representation over time is required for analysis of control system performance. The lower section of the program window provides a DSO with functionality similar to that of a CRO (cathode ray oscilloscope).
As shown in figure 3, this section of the screen is divided into three main parts :
1. DSO control panel – top right part of DSO. Here, channel settings and DSO operation can be changed.
2. DSO data box – bottom right part of DSO. Data provided in this box includes sampled signal values on each channel, current voltage scaling, time delay, and time and voltage cursor information.
3.
Figure 3 : Screenshot of Digital Signal Oscilloscope.
Using the DSO control panel :
Display Buttons
The buttons in the upper-right part of the DSO control panel enable control over general DSO operation.
- to stop collecting signal data and hold the current signal image on the screen.
- to clear display screen, and clear signal data buffer.
- to change display options such as line type, thickness and screen grid type.
- to print current screen view.
- to export data (currently in DSO’s memory) to clipboard or file. Data can also be exported to Matlab matrix. Within Matlab, Ctrl-V is used to then retrieve the matrix of data.
Time Base
Channel Settings
Additionally, there are options as to how the signal of each channel is connected to the DSO. Options are:
DC coupled (for direct connection),
AC coupled (for high pass filtering of signal to remove DC component),
GND (connects this DSO channel to ground (0V)),
OFF (to stop display of this signal).
DC coupling is the most commonly used in these laboratory experiments.
Time & Voltage Cursors :
Trigger :
Trigger source – Selects the channel which determines if the triggering condition is met.
Trigger mode – Describes the event which will trigger DSO tracing to occur.
Normal mode – When trigger condition met, a sweep of MSO occurs until screen is full, then waits for the condition to be met again.
Auto mode – MSO waits a set amount of time for trigger, otherwise starts sweep on its own. One-shot mode – When trigger condition met, data is collected until the buffer is full, then stops. The user can then examine this captured data.
Generally, the automatic mode is used here.
Trigger level & slope – Defines the trigger condition. Either rising or falling edge can be selected. Checking the show level box allows defining of the point through which the level must pass to meet the trigger condition, with rising / falling edge defining the direction it must be going.
� EMBED MSPhotoEd.3 ���
� EMBED MSPhotoEd.3 ���
� EMBED MSPhotoEd.3 ���
DSO data box
DSO control panel
DSO trace display
� EMBED MSPhotoEd.3 ���
� EMBED MSPhotoEd.3 ���
� EMBED MSPhotoEd.3 ���
� EMBED MSPhotoEd.3 ���
� EMBED MSPhotoEd.3 ���
1. Designed for use with “Virtual Laboratories for Control System Design : Electromechanical Servo-mechanism”, CDSC, 2007.
2 “Virtual Laboratories for Control System Design Laboratory Book : Laboratory 1 Electromechanical Servomechanism”
G.C. Goodwin, University of Newcastle Research Associates (TUNRA), 2007, p xi-xiv.
� EMBED MSPhotoEd.3 ���
Appendix 1
Using the Electromechanical Servomechanism Virtual Laboratory 1,2
1. Designed for use with “Virtual Laboratories for Control System Design : Electromechanical Servo-mechanism”, CDSC, 2007.
2. “Virtual Laboratories for Control System Design Laboratory Book : Laboratory 1 Electromechanical Servomechanism”
G.C. Goodwin, University of Newcastle Research Associates (TUNRA), 2007, p xi-xiv.
� EMBED MSPhotoEd.3 ���
� EMBED MSPhotoEd.3 ���
Appendix 1
Using the Electromechanical Servomechanism Virtual Laboratory 1,2
1. Designed for use with “Virtual Laboratories for Control System Design : Electromechanical Servo-mechanism”, CDSC, 2007.
2 “Virtual Laboratories for Control System Design Laboratory Book : Laboratory 1 Electromechanical Servomechanism”
G.C. Goodwin, University of Newcastle Research Associates (TUNRA), 2007, p xi-xiv.
� EMBED MSPhotoEd.3 ���
� EMBED MSPhotoEd.3 ���
Appendix 1
Using the Electromechanical Servomechanism Virtual Laboratory 1,2
� EMBED MSPhotoEd.3 ���
� EMBED MSPhotoEd.3 ���
� EMBED MSPhotoEd.3 ���
� EMBED MSPhotoEd.3 ���
� EMBED MSPhotoEd.3 ���
1. Designed for use with “Virtual Laboratories for Control System Design : Electromechanical Servo-mechanism”, CDSC, 2007.
2 Extract from : “Virtual Laboratories for Control System Design Laboratory Book : Laboratory 1 Electromechanical Servomechanism”
G.C. Goodwin, University of Newcastle Research Associates (TUNRA), 2007, p4-5.
� EMBED MSPhotoEd.3 ���