Frequency Response Module

You can use the Frequency Response module to analyze the characteristics of the servo loop to examine the axis stability and dynamic performance. The Frequency Response module is the most advanced servo tuning tool in Automation1. It requires more input from you than the other tools. If you want to achieve the highest possible dynamic performance across a wide range of different move profiles, Aerotech recommends that you use this tool. You can find this module in the Servo Topic of the Configure workspace in Automation1 Studio. Make sure that you are in Basic Editing mode.

IMPORTANT: For more information about the Frequency Response module and servo tuning, see the Servo Tuning user guide.

Frequency Response Measurement

A frequency response lets you make an analysis of the dynamic behavior of the servo loop in the frequency domain. You can also make an estimate of how changes to the servo parameters will have an effect on that behavior.

IMPORTANT: Before you use the Frequency Response module, the axis that you select must be stable.

Motion Options

In the Frequency Response module, the Enable Motion option is available when you select Servo Loop as the Control Loop. It moves the axis in the forward and reverse directions based on the motion parameters, Travel Distance (primary units), and Travel Speed (primary units / second) that you specify. This movement occurs while you are measuring the frequency response. You can use the Enable Motion option to get low-frequency measurements that are more accurate on axes with high friction and on axes with coarse-resolution position encoders.

For an axis that generates linear motion, Aerotech recommends that you start with a Travel Distance of 10 mm. For an axis that generates rotational motion, Aerotech recommends that you start with a Travel Distance of 20 degrees. For the two axis types, set the Travel Speed to 1/10 of the Travel Distance to keep direction reversals to a minimum of ten-second intervals.

Response Configuration Options

You can use the Plot Options drop-down box to select which response type to show after the frequency response measurement is completed. If you select more than one response type, the types will overlap on the plot.

The different response types that are available in the Frequency Response module correspond to different input/output signal pairs. When you get a frequency response, Automation1 directly measures and saves the open-loop response. All the other response types are calculated from the measured open-loop response and the servo parameters.

At the top-right corner of the Frequency Response module, navigate to Plot Options > Response Types. There you can select which response types the application will show after you measure the frequency response. If you select two or more response types, they will overlap on the plot.

Response Types

The response types are as follows.

Overlap Frequency Response Plots

For some axes, the plant response will change based on different operating conditions. These conditions include the position in travel and the locations of other axes. On the top-right corner of the application, click the Overlap button to overlap two or more frequency response plots. Then you can examine the stability and dynamic performance across different operating conditions at the same time.

Loop Shaping Toolbar

After you do a Frequency Response measurement, you can shape the open-loop frequency response by changing the controller gains and servo loop filters in the loop shaping toolbar. You can also shape the open-loop response on a saved Frequency Response file if the file is open in the module.

There is a small icon at each filter frequency above the Magnitude plot that shows the type of filter and the filter number. Low Pass filters are represented by a green rectangle . Notch filters are represented by a blue triangle . Lead-Lag and Resonant filters are represented by a black ellipse .

To automatically put the filters in the best positions, click the Auto-fit servo loop filters button. To automatically set the Enhanced Tracking Control parameters to recommended values, click the Configure Enhanced Tracking Control button.

If you overlap frequency response plots, you can use loop shaping only when all of the responses have the same servo gains and filters. Loop shaping changes apply to all of the overlapped responses.

Stability Metrics

If a disturbance to the servo loop causes oscillations with an amplitude that does not change or one that is quickly increasing, then an axis under closed-loop control is not stable. When this occurs, the controller usually generates a Position Error Fault or an Over Current Fault directly after you enable the axis or command motion. An axis must be stable before you continue to optimize the performance of the controller.

When you examine how stable an axis is, there are three stability margins that you can use: phase margin, gain margin, and sensitivity peak. The Phase Margin (deg) is a calculation option that you can specify for the Closed LoopClosed A broad term relating to any system where the output is measured and compared to the input. Output is adjusted to reach the desired condition. Tuning and Open Loop Tuning tools. The application shows the phase margin, gain margin, and sensitivity peak directly below the plot in the Frequency Response module. You can make an axis more robust to variation in loading conditions by using more conservative stability margins when you do servo tuning. But this method might have a bad effect on the dynamic performance.

The application shows these stability metrics above the loop shaping toolbar.

Examine the Data

Click View Details to see the gain margin and phase margin at all of the crossover frequencies.

In the Frequency Response module, the first tab above the plot area shows the unsaved frequency response plots. Each time that you measure a new frequency response, the application adds a new plot to the Unsaved Plots drop-down menu.

You can access frequency response plots in all of the ways that follow:

  • To open a saved frequency response plot file from the Windows file system, click the Open File button .
  • To save a frequency response plot to the Windows file system, click the Save File button . When you save a frequency response, the application moves the plot from the Unsaved Plots drop-down menu to a file tab.
  • To save a frequency response plot as a CSV (comma-separated values) file, do the steps that follow:

IMPORTANT: You cannot open a CSV file in the Frequency Response module.

When you save an open plot that shows the measured and the shaped open-loop results, the application saves the measured result and the loop-shaping configuration in the Frequency Response file.

When you open a file that contains a loop-shaping configuration, the application loads the configuration and shows the shaped result.

Related Help Pages 

Servo Topic

Axes Category Overview