Note: This pre-lab exercises serve the purpose of familiarizing you with the Vis Sim software, which you will be using f
Posted: Fri Jul 08, 2022 6:29 am
Answer using vissim software and attached the screenshot inanswer
Note: This pre-lab exercises serve the purpose of familiarizing you with the Vis Sim software, which you will be using for the lab exercises. Introduction to Vis Sim/Embedded Controls Developer VisSim/Embedded Controls Developer is a visual environment for model-based development of embedded systems. Using VisSim/Embedded Controls Developer, it is easy to create working models of your control and system under control. Vis Sim is a block diagram language for creating complex nonlinear dynamic systems. To create a model, simply drag blocks in the workspace and connect them with wires. Then click the Go button to initiate your simulation. The response is instantaneous. By combining the simplicity and clarity of a block diagram interface with a high- performance mathematical engine, VisSim provides fast and accurate solutions for linear, nonlinear, continuous time, discrete time, SISO, MIMO, multi-rate, and hybrid systems. With VisSim's wide selection of block operations and expression handling, complex systems can be quickly entered into VisSim. Using VisSim, step response, system dynamic and etc will be plotted automatically. Furthermore, this will simplify analysis and design of a control system. The main objective of this lab exercise is to introducing VisSim to students so that students will be able to use VisSim to simulate and get better idea about transient response from a control block diagram. The Vis Sim Environment VisSim's user interface consists of the basic elements, illustrated in Figure 1 below.
The Vis Sim Environment VisSim's user interface consists of the basic elements, illustrated in Figure 1 below. De Vi Qu Block diagram window Standard toolbar Block diagram toolbar Figure 1 Advog wedne BARCLAY DOHODNOTENY CE•CTU@C OOODCOCHODE DEOSEDCOO SCUERPOO 5 7.5 10 125 15 175 ( 130 50X The visSim Environment Work place window
• i.) ii.) I.) II.) Gain - multiplies the input signal by the gain amount To create gain, click Blocks > Arithmetic -> gain on the block diagram window then drag the block into the workplace. Double click on the gain block then set the desire Gain value. ii.) Summing Junction - produces the sum of two signed input signals To create summing junction, click Blocks -> Arithmetic-> summingJunction on the block diagram window then drag the block into the workplace. The sign of the input signals can be toggle(switch from positive to negative and vice versa) by holding down the CTRL key and clicking the right mouse button over the connector tab. . i.) ii.) i.) • Plot - displays simulation data graphically in customizable plots To create summing junction, click Blocks > Signal Consumer -> plot on the block diagram window then drag the block into the workplace. By default, the plot will show simulation time start at Osec and end at 4sec. To change simulation time, click simulation at menu bar then select simulation properties change the desire simulation start and end time. Step input - creates a unit step signal To create summing junction, click Blocks > Signal Producer →> step on the block diagram window then drag the block into the workplace. Double click on the step input block to change the amplitude of the step input
If a process/plant, such as a mechanical system, has high-frequency vibration modes, then a desired closed-loop response may be difficult to obtain. These high-frequency vibration modes can be modeled as part of the plant's transfer function by pairs of complex poles near the imaginary axis. In a closed-loop configuration, these poles can move closer to the imaginary axis or even cross into the right half-plane. Instability or high-frequency oscillations superimposed over the desired response can result. One way of eliminating the high-frequency oscillations is to cascade a notch filter with the process/plant. The notch filter has zeros close to the low-damping-ratio poles of the plant as well as two real poles. Other cascade compensators can now be designed to yield a desired response. 1. Given the following transfer function in Figure 3, determine R(s) → K Y(s) Figure 3 a. The step response of the system, thus the overshoot, settling time and steady state error. b. The root-locus plot of the system and comment the stability.
2. Design and apply a notch filter to achieve a better step response and stability. Compare and comment on the results of before and after the filter Id applied to the system.
Constructing a general control system block diagram To create a new block diagram, click the left mouse button to select the desire block diagram either on block diagram toolbar or block diagram window. Below are some of the common block diagram which often used in control system. i.) • Tranfer function - executes a single-input single-output linear transfer function To create transfer function, click Blocks > Linear System ->transferFunction on the block diagram window then drag the block into the workplace. Double click on transfer function block then set Polynomial coefficients (Transfer function). A transfer function ii.) n(s) d(s) is characterized by the numerator n(s) and denominator d(s). For example 25³ +165 +4 G(s)= 10s +225 +45² +2 G(s) Polynomial Coefficients Numerator : 2 Denominator : 10 0 0 = 16 4 22 4 2 • Gain - multiplies the input signal by the gain amount i.) To create gain, click Blocks -> Arithmetic -> gain on the block diagram window then drag the block into the workplace. ii.) Double click on the gain block then set the desire Gain value.