1、Exercise No.1 create and display a tf Exercise 1b: Create and Display a Transfer Function • Use physical specifications to create a plant model • Build a transfer function with Control Design Toolkit Excise No.2 interconnection Exercise No.3 Exercis
2、e No.4 Exercise No.5 Time response analysis Exercise No.6 frequency response and dynamic data—CD Root Locus Exercise No.7 CD display Exercise No.8 create a PID controller Exercise No.9 The Simulation Loop • Built in Differential Equation Solver allows continuous-time s
3、ystem • Similar to a While Loop with a predefined time period • Installed with Simulation Module • Double-click Input Node to configure simulation parameters • Create an indicator on the Output Node to display Simulation errors The simulation loop is the core component of the Simulation
4、 Module. It is an “upgraded” version of the while loop which integrates powerful differential equation solvers, internal or external timing features, and cross-platform capabilities. With the Simulation Module, continuous time systems can be run in the discrete digital world. The loop consists of
5、 three main parts: Input node (Left)- allows simulation parameters to be programmatically defined. By default, these parameters are static and can be configured by double-clicking the input node. This node can be expanded by clicking on the bottom border of the node to “grab” the handle and draggi
6、ng down to show additional parameters. Main loop – The system to be simulated is placed here. Output node (Right) – returns any errors that may have happened in the loop, such as an improper transfer function. Configuring a Simulation There are many parameters that
7、 can be configured for a given simulation loop. Simulation Parameters Tab Simulation Time – Specifies for what period of “simulation time” how long the simulation should run. This time doesn’t necessarily dictate the computation time of the simulation. See Timing Parameters below. Solver Method
8、 – Specifies what Ordinary Differential Equation ODE) solver is used to solve integral and differential type blocks in the simulation. A wide variety of solvers are available. Time Step and Tolerance – These settings control the window of time steps used by LabVIEW. Typically, the default settin
9、gs will suffice, but adjust them if necessary. Discrete Time – While the Default Auto Discrete Time option will typically work for most simulations, you can force LabVIEW to use a specific step size here. Timing Parameters Tab Timing – The software timing option is always used when performing si
10、mulations. This will solve the equation as fast as the CPU can. To observe a simulation run in “real time”, disable the software timing option and set the timing parameters below. Loop Timing Source – When implementing a simulation in hardware, change the loop timing source to an available hardwa
11、re timing. This option can be used to sync the simulation execution with an external time source, such as the operating system clock or even a Data Acquisition board’s clock. Loop Timing Parameters – These options control how the loop executes with respect to the selected timing source. For more
12、detailed information on these options, consult the LabVIEW help by clicking the Help button. Exercise No.10 Exercise No.11 Simulate the motor ctrl system Exercise No.12 simulation- introducing nonlinearities Exercise No.13 Tune the Controller Exercise No.14 Deployment-o
13、n the real hardware to ctrl the subject variables. − need data acquisition instruments, i.g. PCI-6259 Some useful web resources: System Identification Toolkit: Control Design Toolkit: Simulation Module: LabVIEW Real-Time Module: Data Acquisition and Control Hardware: CompactRIO Real-Time Platform:






