11-24-2006 12:58 PM
y(n)= Δt * ( T * y(n-1)+x(n) )
T+Δt Δt
Where T is the time constant, x(t) is the input and y(t) is the output.
Experiment 1, Simulate the dynamic response of first order system
1. Launch LabVIEW.
2. Create a blank VI.
3. The front panel should have at least an numeric control to input the time constant and the graph indicator to show the result.
4. Drop the “Simulated Signal” express VI and choose the signal type as square wave, frequency as 1Hz, sample frequency as 1000Hz and number of data points as 500.
5. Use “Convert from Dynamic Data” VI to convert the data from the “Simulated Signal” express VI to single waveform data.
6. Use waveform function to extract the waveform data and the time interval of the waveform.
7. Use FOR loop to iterate the output data of the first order system.
8. Use the formula node to program the algorithm based on equation 3.
9. Use waveform function to create the waveform data from the output data and the time interval of the input waveform.
10. Use “Build Array” function to create an array that consists of the input and output waveforms.
11. Use graph indicator to show the input and output waveforms.
12. Use “Write LabVIEW Measurement File” VI to save the data in a file.
13. Run the VI using the following time constants: 0.01, 0.03, 0.05, 0.07 and 0.1, and save the results to files.
11-30-2006 10:21 AM
Hi Neoforce,
If you want i can give some help doing that program. Yours it's completly confuse. You really are new to labview.
So, if can explain what you want. I can try to do the program for you.
y=(dt/(T+dt))*((T/dt)*y1+x); it's the expression. But explain the inputs dt, T,X and y1.
What is the result that you expect to see in the graph? It's y(x)?
12-01-2006 12:10 PM - edited 12-01-2006 12:10 PM
Message Edited by Rudi N on 12-01-2006 12:13 PM
12-01-2006 12:17 PM
01-03-2007 11:28 AM