Preview

Simulation of Dynamic Responses of First Order and Second Order Systems (in LabView)

Good Essays
Open Document
Open Document
1062 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Simulation of Dynamic Responses of First Order and Second Order Systems (in LabView)
Objectives:
As part of the experiment requirements, we were required to simulate the dynamic response of a first order and a second order linear system with the help of LabVIEW. One of our first objectives of this experiment was to observe the response of the first order system to the input step signal and then relate it to the time constant of that specific first order system. The second objective of this experiment included observing the second order system to the input step signal and then relating it to the damping ratio of the specific second order system. The third and most important objective of this experiment was to use different functions of LabVIEW including loop execution control, LabVIEW formula node, LabVIEW graph, LabVIEW Waveform functions and LabVIEW express Vis.

Theory:
The dynamics of a linear system can be represented through linear derivative equations. The representative equation of a first order system is as follows:

Here τ is the time constant, x(t) is the input and y(t) is the output. The discrete form of the equation is as follows, with t=n:

This is the iteration used in the simulation of the dynamic response of the first order system.
The typical representation of the second order system is as follows:

The ωn is the undamped natural frequency and the ζ is the damping ratio. The discrete form of the above equation is as follows (with t=n):

This is the iteration used in the simulation of the dynamic response of the second order system.

Description of how the LabVIEW simulated the system responses:
In order to simulate the dynamic response of a first order system, we first created a blank VI on LabVIEW, and added a numeric control for the time constant input and a graph indicator for the result display. Then a “Simulated Signal” express VI was used in the block diagram with a square wave as signal type, 1 Hz frequency, 1000 Hz sample frequency, 500 data points, and was set to convert the

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Nt1310 Unit 6 Lab Report

    • 3292 Words
    • 14 Pages

    where T is the period of the pendulum and ωn is the natural frequency. The natural frequency can be calculated using Equation 9…

    • 3292 Words
    • 14 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Study Guide

    • 356 Words
    • 12 Pages

    V = IR dq dt 1 K = 2 mv 2 1 Req, par t ε −τ Re = 1 R1 + 1 R2 t V disch = εe− τ 1 2 2 0E ρL…

    • 356 Words
    • 12 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Heap Sorting

    • 2119 Words
    • 9 Pages

    • Once this equation is obtained, proceed as in the homogeneous case. Anaysis of Algorihms, Fall 2012 CEng 315 4 Recurrences (cont.) Example:…

    • 2119 Words
    • 9 Pages
    Satisfactory Essays
  • Powerful Essays

    Differential Equ

    • 5855 Words
    • 24 Pages

    Differential Problems in MATLAB 1. What Equations Can MATLAB Handle? 2. Where Can I Find Tutorials or Additional Information? Frequently Asked Questions 3. What Changes in Syntax Exist for ODE Solvers? 4. How Do I Reduce the Order of an ODE? 5. How Do I Solve Time-Dependent ODEs? 6. How Do I Use a Fixed Time Step? 7. How Do I Use Stochastic Differential Equations? Examples 8. Systems of Equations 9. Boundary Value Problem (BVP): Channel Flow Stiffness 10. What Is Stiffness? 11. Implicit vs. Explicit Methods 12. Examples Options 13. How Can I Change Options When Solving a Differential Equation? 14. What Option Parameters Can Be Modified? 15. How Can Options Be Used as Functions? Differential-Algebraic Equations and their Index 16. How Can Differential Algebraic Equations Systems Be Solved in MATLAB?…

    • 5855 Words
    • 24 Pages
    Powerful Essays
  • Good Essays

    Apple Plus Case Study

    • 778 Words
    • 4 Pages

    In Aspen Plus to study the behavior of any process, the first step is to make the flow sheet converged in steady state so as to define and obtain the characteristic of the process. Once this flow sheet is converged, then it is imported to Aspen plus Dynamics so as to control and study nonlinearity of the system.…

    • 778 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    Linear Motion Lab

    • 6369 Words
    • 26 Pages

    In this experiment you will study the motion of an object in one dimension from a number of points of view. You will demonstrate how the variables of motion are related by differentiation and integration and investigate the relationship between potential and kinetic energy.…

    • 6369 Words
    • 26 Pages
    Powerful Essays
  • Satisfactory Essays

    Control Theory-Lab

    • 606 Words
    • 3 Pages

    >> numerator = [0 0 1]; denominator = [1 -2 1]; >> [z p k] = tf2zp(numerator,denominator) z = Empty matrix: 0-by-1…

    • 606 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    (1.2) together with the initial values (1.1), or directly from the known explicit summation representation…

    • 470 Words
    • 2 Pages
    Good Essays
  • Powerful Essays

    Characterizing both time and frequency domain response is a necessary step in understanding system dynamics. In the field of controls, designers use this information both for system identification and for validation of controller behavior. The dSPACE environment provides useful graphical tools for recording and displaying discrete-time data (e.g., the step response of a system). We saw a need for similar tools that could provide empirical Bode plots of the frequency response without interfacing to external hardware. One particular benefit of a signal analyzer that runs within a Simulink model over an external DSA is the ease with which the various signals can be used without the necessity of transforming them into analog representations. This project was the first author’s Bachelor’s thesis to develop a dynamic signal analyzer (DSA) for the ds1102.1 We have used this DSA on recent projects at the Precision Motion Control Lab at MIT. The source code for the signal analyzer is publicly available at our website, with the expectation others will find it useful as well.2…

    • 4081 Words
    • 17 Pages
    Powerful Essays
  • Satisfactory Essays

    For References Only

    • 495 Words
    • 2 Pages

    Equation of motion which represents the system dynamics is derived by neglecting the dynamics of potentiometers. Thus, the relationship between the output voltage and the input angular displacement is given by;…

    • 495 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Ma1506 Leture Notes

    • 4824 Words
    • 20 Pages

    A differential equation is an equation that contains one or more derivatives of a differentiable function. [In this chapter we deal only with ordinary DEs, NOT partial DEs.] The order of a d.e. is the order of the equation’s highest order derivative; and a d.e. is linear if it can be put in the form…

    • 4824 Words
    • 20 Pages
    Powerful Essays
  • Powerful Essays

    simulation and modelling

    • 1260 Words
    • 6 Pages

    Simulation software is based on the process of modeling a real phenomenon with a set of mathematical formulas. It is, essentially, a program that allows the user to observe an operation through simulation without actually performing that operation. Simulation software is used widely to design equipment so that the final product will be as close to design specs as possible without expensive in process modification. Simulation software with real-time response is often used in gaming, but it also has important industrial applications. When the penalty for improper operation is costly, such as airplane pilots, nuclear power plant operators, or chemical plant operators, a mock up of the actual control panel is connected to a real-time simulation of the physical response, giving valuable training experience without fear of a disastrous outcome.…

    • 1260 Words
    • 6 Pages
    Powerful Essays
  • Better Essays

    the step size; U ( n ) = [u ( n ) u ( n − 1) … u ( n…

    • 1708 Words
    • 7 Pages
    Better Essays
  • Satisfactory Essays

    Numerical Analysis

    • 306 Words
    • 2 Pages

    • A formulation or equation that expresses the essential features of a physical system or process in mathematical terms. • Generally, it can be represented as a functional relationship of the form…

    • 306 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    numerical methods

    • 6848 Words
    • 28 Pages

    2) What is the order of convergence of Newton Raphson method if the multiplicity of the…

    • 6848 Words
    • 28 Pages
    Good Essays

Related Topics