Professional Documents
Culture Documents
12
Control Design Toolkit in LabVIEW
1. Objective:
The activity aims to create models, simulation and analysis using control design toolkit in LabVIEW.
3. Discussion:
The Model Construction palette contains several functions for creating models. The resulting model is
represented as a cluster. This cluster can be used as input argument to other functions, e.g. for simulation,
frequency response analysis, etc.
On the Model Construction palette there are also functions for displaying the transfer function nicely on
the front panel.
Once the model is created, you can simulate it using functions on the Time Response palette, and you
can perform analysis, for example frequency response analysis using functions on the Frequency
Response palette.
Note that these simulation and analysis functions can be used on both continuous-time models and
discrete-time models.
The CD Construct Transfer Function Model function (CD means Control Design) (on the Model
Construction palette) defines a transfer function.
The CD Draw Transfer Function function (on the Model Construction palette) displays the transfer
function nicely in on the front panel (using a picture indicator which can be created by right-clicking
on the Equation output of the function).
The CD Step Response function (on the Time Response palette) simulated the step response,
assuming the input step has amplitude 1.
The CD Bode function (on the Frequency Response palette) plots the frequency response in a Bode plot
4. Resources:
LabVIEW
5. Procedure:
A. Creating s-functions
1. Create a folder with a filename Maranan_YourSurname_LabExer12. All virtual
instruments must be save inside this directory.
2. Using the block diagram as shown below, create the model and show its simulation
results.
3. Use the following data:
1
4. Save it as YourSurname_le12_procA.
B. Standard Transfer Function
1. Using the block diagram as shown below, create a first order transfer function with
gain 2, time constant 3 seconds and time delay 4 seconds and show the result.
2. Save it as YourSurnamce_le12_procB.
C. Standard Parallel PID Controller
1. Using the block diagram as shown below, create and display a PID Academic
Controller.
2. Use the following data:
3
Course: Computer Applications for ChE Laboratory Exercise No.: 12
Group No.: Section: CH51FC1
4
Group Members: Date Performed: September 20, 2017
Cuesta, Alwyn Wren C. Date Submitted: September 27, 2017
Instructor:
Engr. Crispulo Maranan
6. Data and Results:
A. Procedure A
Bode Phase
5
B. Procedure B
Display H(s)
C. Procedure C
Display Hcontr
D. Procedure D
6
E. Procedure E
F. Procedure F
Magnitude of L(s)
7
Step Response of tracking transfer function T(s)
Phase of L(s)
8
7.Conclusion
I therefore conclude that by using the cd structure functions of LabVIEW, I could make different types of
models and simulations of various transfer functions. The generated plot of the transfer functions such as
the phase plot, step response plot and magnitude plot also comes with a table where I can input the range
and other data required and a well-detailed labels and legends. With that, I could easily perform an analysis
since the plot are very understanble.
8. Further Readings:
Seborg Dale E., Edgar, Thomas F., and Mellichamp Duncan A. (2004). Process Dynamics and
Control. Singapore: Wiley.
Knopf, F. C. (2012). Modeling, analysis and optimization of process and energy systems.Hoboken,
New Jersey: John Wiley and Sons.
Velten, K. (2009). Mathematical modeling and simulation: introduction for scientists and engineers.
Singapore: Wiley-VCH.
Seborg Dale E., Edgar, Thomas F., and Mellichamp Duncan A. (2004). Process Dynamics and
Control. Singapore: Wiley.
Seborg Dale E., Edgar, Thomas F., and Mellichamp Duncan A. (2004). Process Dynamics and
Control. Singapore: Wiley.
Knopf, F. C. (2012). Modeling, analysis and optimization of process and energy systems.Hoboken,
New Jersey: John Wiley and Sons.
Velten, K. (2009). Mathematical modeling and simulation: introduction for scientists and engineers.
Singapore: Wiley-VCH.
Seborg Dale E., Edgar, Thomas F., and Mellichamp Duncan A. (2004). Process Dynamics and
Control. Singapore: Wiley.
Seborg Dale E., Edgar, Thomas F., and Mellichamp Duncan A. (2004). Process Dynamics and
Control. Singapore: Wiley.
Knopf, F. C. (2012). Modeling, analysis and optimization of process and energy systems.Hoboken,
New Jersey: John Wiley and Sons.
Velten, K. (2009). Mathematical modeling and simulation: introduction for scientists and engineers.
Singapore: Wiley-VCH.
9
10