.


   

File Menu

Open

To open a file, click File ->Open, choose the file and click Open.

The files are saved in a tab delimited format that is layed out with a header followed by the closed loop response data in the following format:
Freq [tab] amplitude in dB [tab] phase in degrees

Following the data is test condition data for simulation when opening the file later. A sample from some actual test data is shown below:

 
Freq (Hz)
Amp0 (dB)
Phase0 (deg)
  1 -0.729532 -7.430594
  1.04 -0.721152 -7.564263
  1.0816 -0.722216 -7.588275
  1.124864 -0.751176 -7.551938
  1.169859 -0.764334 -7.541215
  1.216653 -0.768844 -7.538438
 
...
...
...
  999.023 -34.6801 121.248
  999.268 -33.9355 117.679
  999.512 -35.5274 93.743
  999.756 -41.3555 -100.95

 

 

 

 

 

 

 

TIMESTAMP: 09/25/03 19:04:15 SAMPLE RATE: 2000 Filter[0].Algorithm 0 Filter[0].Coeff[0].f[0] 100.000000 Filter[0].Coeff[0].f[1] 0.000000 Filter[0].Coeff[0].f[2] 1000.000000 Filter[0].Coeff[0].f[3] 0.000000 Filter[0].Coeff[0].f[4] 0.000000

Filter[0].Coeff[0].f[15] 0.000000
Filter[0].Coeff[0].f[16] 0.000000

Filter[0].PostFilter.Type 0 Filter[0].PostFilter.Length 0 Filter[0].PostFilter.Coeff[0] 0.000000 Filter[0].PostFilter.Coeff[1] 0.000000 Filter[0].PostFilter.Coeff[2] 0.000000

Filter[0].PostFilter.Coeff[28] 0.000000 Filter[0].PostFilter.Coeff[29] 0.000000 Filter[0].PostFilter.Coeff[30] 0.000000 Filter[0].PostFilter.Coeff[31] 0.000000

Save

You can also save files for later viewing and simulation. To save a file, click File ->Save As, choose a name and click Save.

Merge Files

Merge Files is a feature that can take more than one bode plot file and merge them, so you can see all of the merged files at once. There are two common uses for this feature:

  • Compare multiple measurements taken under different conditions.
  • Merge files so that tuning simulation can be performed on multiple conditions at once.

Both use cases start the same way:

Click Bode Plot -> File -> Merge Files

Note: A warning will pop up telling you that, if you want to simulate tuning on the merged file, you need to ensure all the merged files have identical tuning. Click OK.

You need to create a file to hold the merged data from all of your individual bode plots. This is usually a new file.

Note: If you select an existing file, it will be overwritten. Click Save.

Next, select all the files that you want to merge into a new file. Use the Control or Shift key and Left click to select all the files you want to merge. Click Open.

The files are then merged. To see the merged file, open it as you would open any other file. A short example of how the merged files are displayed is shown below.

First file to merge (to merge 1.txt)

Second file to merge (to merge 2.txt)

Resulting merged file (merged files.txt):

 

Simulating with merged files

Note: Simulating tuning with merged files is only supported when all files that are merged have identical tuning.

To simulate tuning with merged files, proceed to simulate tuning with the same procedure you would use with a single (non-merged) file. An example is shown with the merged file created above.

The original merged file has two measurements merged. One closed loop trace has an underdamped peat at 10 Hz and one is over damped. The tuning will be adjusted to eliminate the underdamped peak at 10 Hz. The PID tuning is replaced by a lead / lag tuning to reduce the underdamped peak. Notice that the underdamped peak is eliminated and the other closed loop trace that was underdamped before continues to be underdamped.

The importance of the merged file simulation is that you can, in one simulation step determine the results of simulation of both conditions. There is no need for repeatedly opening both files to make sure both files have acceptable performance.

 

Previous | Next
       Legal Notice  |  Tech Email  |  Feedback
      
Copyright ©
2001-2009 Motion Engineering