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
…show more content…
A shift register was then used to store the y value for the next iteration (y(n-1)) in case of the first order system while a 2 stacked shift register, in case of a second order system, was used to store the y values from previous iterations (y(n-1) and y(n-2)). A formula node was used in order to input the formula required to program the algorithm for each of the first and second order systems respectively. After providing the required number inputs and outputs (as per the requirement of each of the formula respectively), a waveform function was used to create the waveform data from the output data and determine the time interval of the input waveform. After using an array to contain all the input and output waveforms, a graph indicator was finally added to the VI to display the final graphical representation of the output data.
After saving, each of the VI were run separately set at different time constants (for the first order system) and different damping ratios and 100 Hz undamped natural frequency (for the second order ratio).
Results:
After creating the VI for first order differential systems in LabVIEW, we ran the VI using five different time constant values (0.01, 0.03, 0.05, 0.07, 0.1) and received the following graphs:
Figure : LabVIEW generated graph of amplitude against time for
The Panel Designer is used to create graphic panels. I used these panels to change the values of discrete and continuous environment variables interactively during the simulation. From the Toolbox and the Symbol Explorer I placed controls and symbols via drag and drop on an open panel. The properties of the selected objects are displayed in a table format which I synchronized with the signal being depicted by the control. This division of all these windows makes the process to configure the panel and its controls virtually dialog-free. A brief description of them are as follows.
3) What do the rate of change values you just calculated represent? Why are some positive and some negative?
The programmed algorithm is shown in Figure 6.The program was developed using LabVIEW System design software. The entire experimental set-up is shown in Figure 7.
The neural network is composed of an input of 12 neurons presenting in the X values, an output layer with 2 neurons presenting in the Y values and hidden layer with 10
A more detailed implementation description is shown in Figure~\ref{fig:block_HHC_shaw}. The components of the harmonic amplitude vector $Y$ are the Fourier coefficients of the measured vibration at the frequency $\omega$. The Fourier coefficients are obtained by integrating the demodulated vibration signal over one sampling period $T^s$. As for the control adjustments $\Delta u_c$ and $\Delta u_s$, they are obtained as the product of the components $Y$, and the inverse of the control response matrix $T$. The control adjustments are sampled and added to the control signal amplitudes of the previous time step, generating the current control amplitude vector $U_k$. The controller output is obtained by summing the modulated components of the control
This paper comprises an appreciation of data representation, its visualization, an outline description of behavior, plus an indication of the use of the equation in engineering.
For the first part of the lab, our goal was to calculate the time constant, , of an RC circuit. We made an RC series circuit and connected it to the Rigol wave generator to produce a square waveform for current. Then, we collected data of the voltage across the capacitor at different points in time using a myDAQ and the 4BL application. In order to find the time constant, we linearized the voltage we measured across the capacitor and then performed a linear regression on the data. The equation for the voltage across the capacitor as a function of time is:
4. Write a program to calculate and display the result of a second order equation where
If I should just do the programming, I will choose to make use of Pseudocodes. Nevertheless, I love coding, and I want you to, visually, understand what is going to be done. In addition, I want you to see the result. Therefore, in this assignment, I will be making use of both the Flowchart and Pseudocode Conceptual models. Thereafter I will produce the Calculator and you can even use it.
It must be noted that only the absolute value of the slope matters in this situation. Third order reactions have somewhat a similar story except they require a plot of 1/concentration versus time to determine rate of reaction. When all three graphs are plotted, the graph with the line of best fit, or the one in which all point seem to be on a straight line is the correct one for the reaction. This is easily drawn using the LoggerPro software. When all three graphs are drawn, the graph with the best fit line and lowest root mean square error, or the lowest deviation from the best fit line, is the graph to be used to determine reaction kinematics. This knowledge is acquired from the equations of the integrated rate laws which are explained in the textbook.
The controller computes this and reduces the error signal until the desired set-point is acquired and maintained. The closed-loop structure is in wide use throughout industry.
For the damping measurement in simple structures such as a beam where the damping of the system is not too high (typically $\eta<0.01$) the free vibration condition in time domain is the most suitable method. In this method, there exist initial displacement in the structure. Releasing the structure from this initial displacement, the magnitude of vibrations of the displacement is recorded as a function of time. An example of measurement can be seen in Figure \ref{fig: measestfig2}.
Step 10: Draw a scatter plot of T2 on the Y-axis against L on the X-axis.
The time for one oscillation was found by dividing the amount of oscillations (20) done by the time taken for them= 31.4720 = 1.57s
3. Presents the software description. It explains the implementation of the project using PIC C Compiler software.