Bode Plot principles

The Bode Plot is a special representation of a complex transfer function or of a system in the frequency range. The Bode Plot consists of a graph for the value (gain response) and a graph for the phase shift (phase response). It describes the stationary reaction of the system to a harmonic excitation (sine oscillation). The frequency is displayed logarithmically on the X-axes. As a result, the behavior over a wide frequency range is visible at a glance.

In a servo system, it is possible with the help of the Bode Plot analysis to analyze the behavior of the closed and open loops, as well as the transmission link (e.g. the connected mechanism) and to make or optimize controller and filter settings. In general, this can take place in the typical operating modes - current, speed and position control - and can also serve as the basis for automatic tuning algorithms. There are currently two variants in TwinCAT - current and speed control.

Conventional methods, such as optimization to a step response, are usable only to a limited extent. The Bode Plot contains much more information than the step response and is thus the ideal tool for the analysis and optimization of control loops:

What generates resonances in a drive train?

Bode Plot principles 1:

Each coupling between load and motor has a finite rigidity. This leads to different inertia ratios and different resonant frequencies of the complete system. These different frequencies are difficult to determine without a suitable tool. The frequency analysis can be performed with an almost infinitely fine graduation in order to reliably detect all resonance points.

Mechanical friction must be eliminated during the measurement procedure, otherwise the measurement will be useless. Therefore, to overcome the static friction, a sine oscillation with a constant low frequency is additionally applied to the motor shaft. Gradually increasing sine wave frequencies are modulated onto this signal. To ensure that the motor current remains more or less constant in speed (and position) control, the amplitude of the sine oscillations decreases as the frequency increases. The actuating amplitudes are thus very small at high frequencies. The current in the Bode Plot is constant.

Open and closed loop

When analyzing control loops, the behavior of the controller and the process is generally considered separately with and without feedback. The so-called “open loop” ignores feedback effects in this context. By closing the control loop – that is, by incorporating feedback – one obtains a “closed-loop”. In some cases, the “process” is also considered separately.

Bode Plot

Resonance points are represented in a Bode Plot. In the representation, a resonance point consists of an anti-resonance (frequency response exhibits a pronounced minimum) and a resonance (frequency response exhibits a pronounced maximum).

Bode Plot principles 2:

The following illustration shows an example of the frequency response of a motor with no load, no resonance points and a rather high bandwidth. The closed loop is used for the determination of the bandwidth, while the open loop is regarded for calculating the gain response. The bandwidth is read where the gain response first crosses the -3 dB or the phase response first crosses the -90° line. The higher the bandwidth of a system, the more stable it is and the higher the control loop gain can be set. This results in higher dynamics.

Bode Plot principles 3:

The following figure shows a typical response with resonance points: a response with two resonance points and a narrow bandwidth.

The second important limit is the +3 dB line. If the gain response of the closed loop exceeds this limit, this is referred to as positive feedback, analogous to the field of audio engineering (a speaker with a microphone close to the loudspeaker)

This positive feedback generates an undesired mechanical oscillation, which can lead to uncontrolled behavior.

By increasing the P part (proportional gain), the curve is shifted upwards in parallel to the x-axis; a reduction has the opposite effect.

Bode Plot principles 4: