10-09-2008 01:55 AM
Solved! Go to Solution.
10-09-2008 10:29 AM
wer12 wrote:
....each waveform graph chart?
It would really help if you cound attach an image on what you mean by "distortion" or even attach a small VI example.
What do you mean by "outputs" in your case (scalars, waveforms, arrays, etc.)?
There is no "waveform graph chart". There are "waveform graphs" and "waveform charts", and they are quite different. What do you use?
10-09-2008 10:03 PM
I had tried using a simulation loop (shown in the attachment) to hold 2 different kinds of control system and made a comparison between them. But these 2 control systems produced distorted output step responses, thus causing a problem for me to make a good comparison. Can you please tell me why this occur?
10-10-2008 10:31 AM
wer12,
Can you please attach your fuzzy controller(.fc) file that is required when this VI runs. You may want to use a fixed-step solver in the simulation loop to give a comparison between the two methods.
Chris M
10-12-2008 10:38 PM
Here is the fuzzy toolkit file.
Hope you can give me advice on solving this problem.
Thank you.
10-13-2008 09:32 AM
wer12,
If you change the solver of the Simulation Loop to a fixed-step method, the outputs will be much smoother. I'm assuming this is what you mean by "distortion". To set the solver, double-click the input node of the loop, then select "Runge-Kutta 1 (Euler)" for ODE Solver. There are other fixed-step solvers that are more advanced as well, such as "Runge-Kutta 4". If you choose any of the variable-step solvers, you will likely see the "distortion" again.
-Chris M
10-14-2008 01:10 AM
01-21-2009 01:18 PM
Hi. Solution: In the VI you attached in a later message you must use Build Array to "bundle" the signals to be plotted in the same chart, and you must use the SimTime Waveform + Chart block(s) which are on the Simulation / Graph Utilities palette. If you are in doubt what I mean, please take a look at
http://techteach.no/labview/lv85/sim_module/index.htm
Finn