Why Gimbal Stabilization Loses the Target: Visual Servo Latency, IMU Drift, and Dual-Loop Control

A gimbal losing its target is a common failure in gimbal stabilization, and it is often the result of two error chains acting at once: visual servoing updates slowly and may occasionally be missing or erroneous, while inertial data updates quickly but drifts over time. The following sections examine the system composition, information complementarity, dual-loop control, and measured results.

1. Two Error Chains Behind a Lost Target

Vision information has a slow update rate and may occasionally be missing or contain errors. Other types of sensors should therefore be used alongside it to keep the system operating normally or to improve performance. Inertial sensors, which require no external aiding information and offer a high sampling rate and fast computation, are introduced together with vision sensors to perform navigation or regulation functions.

In SLAM, IMU and camera measurements are complementary in a sensor fusion architecture. An IMU can measure rapidly changing processes, which a camera cannot. But IMU measurements drift, and the error accumulates continuously. A camera is the opposite: during fast motion it may fail to track because the disparity between two frames is too large, or because of motion blur, while when the system remains stationary for a long time, the camera can maintain a stable pose estimate.

To address the tracking deviation and the separation of tracking from stabilization in stabilized platform systems, a real-time image stabilization and tracking control scheme for a two-degree-of-freedom stabilized platform based on visual/inertial information is proposed.

The Vision Chain: Slow, Prone to Loss, and Prone to Error

When the two-degree-of-freedom stabilized platform operates, the image information acquired by the camera module is easily affected by external factors such as illumination or vibration, causing the computed visual information to be missing or erroneous, or to lie outside the camera’s field of view. When erroneous visual information is sent to the main controller to regulate the platform, the rotation angles of the two axes develop larger errors, so the camera fails to move to the desired position, and real-time tracking is degraded or fails outright.

The Inertial Chain: Fast, but the Error Accumulates

Similarly, when a MEMS sensor is used for a long time, inertial sensor drift causes deviations in the control of the stabilized platform system; visual information is then used to correct the inertial information.

2. Basic Composition of the Two-Degree-of-Freedom Stabilized Platform

The two-degree-of-freedom stabilized platform consists of a mechanical structure and an electronic control section, mainly comprising the two-degree-of-freedom platform frame, drive motors, camera module, and control board. The frame is made of carbon fiber, which is lightweight, tough, and resistant to deformation. Its two rotational axes are the pitch axis and the azimuth axis. Two servos drive the pitch axis, and both axes are designed for a rotation range of −60° to 60°.

Exploded technical illustration of a two-axis camera stabilization platform showing carbon-fiber frames, pitch and azimuth rotation mechanisms, servo motors, camera module, and control board, with ±60° rotation ranges highlighted in amber.
Exploded view of a two-degree-of-freedom (2-DOF) camera gimbal, illustrating its pitch and azimuth axes, servo-driven mechanisms, and ±60° rotational travel.

The camera module is the vision part of the target tracking system. The tracking method identifies the target by color feature extraction; after the target feature is extracted, the difference between the image plane center and the target feature center is computed and output to the control section as visual information.

Split-panel illustration of color-based object detection, showing an original desktop scene with a magenta cube and a processed image highlighting the detected object, its bounding box, centroid, and positional offset (Δx, Δy) from the image center.
Comparison of an original camera image and its color-feature extraction result, illustrating magenta target detection and the calculation of positional deviation (Δx, Δy) between the target centroid and image center.

The control board communicates with the camera module on one side, and on the other acquires MEMS sensor data and sends it to the program controller of the stabilized platform system. The controller derives the control quantity that should be accurately output to the drive mechanism, thereby completing servo control of the two-degree-of-freedom stabilized platform based on visual/inertial information.

Performance indexParameter
Search modePitch–yaw search
Rotation rangePitch ±60°, yaw ±60°
Maximum rotation speed250°/s

3. How Vision and Inertia Correct Each Other

When the target is within the camera’s field of view, the camera extracts valid image information from the analog video signal. After image processing and visual computation, the difference between the image plane center position and the target feature center position yields the position adjustment required by the stabilized platform, namely the axial deviations of the pitch and azimuth axes. The position information computed by the vision part is sent to the platform’s main control system; after the control law acts on it, the rotation angles that each drive motor should turn through are obtained.

When visual information regulates the stabilized platform, the MEMS sensor mounted on the platform senses the angular motion of the platform and outputs inertial information to the main controller. The MEMS sensor’s data update rate is far higher than that of the vision sensor. Therefore, on one hand, the inertial information output by the MEMS sensor compensates for the time gaps in visual information caused by its slow update rate; on the other hand, inertial information corrects for missing or erroneous visual information.

Block diagram of a vision and IMU sensor fusion control system for a two-axis camera gimbal, showing visual position error, IMU angular-rate measurements, controller, motor driver, and platform feedback loop.
Closed-loop camera gimbal control architecture combining high-frequency IMU measurements with visual position feedback to compensate for motion, correct drift, and improve target tracking accuracy.

The function of the stabilized platform system can be summarized as regulating both image stabilization and platform stabilization through mutual correction between visual and inertial information. On one hand, the camera mounted on the platform maintains stable tracking of the target, which is image stabilization in the vision part; on the other hand, mutual correction between visual and inertial information keeps the platform body that carries the camera stable, which is platform stabilization control in the control part.

4. Dual-Loop Control: The Outer Loop Tracks, the Inner Loop Stabilizes the Line of Sight

A dual-loop structure consisting of a position loop and a stabilization loop jointly regulates the two-degree-of-freedom stabilized platform. In the LOS stabilization loop, angular velocity feedback measured by the MEMS inertial sensor improves the response speed of the stabilized platform system and promptly overcomes external disturbances. In the stabilization loop, the difference between the angular velocity signal output by the target-tracking position control loop and the pitch-axis angular velocity measured by the MEMS inertial sensor serves as the input to the stabilization loop, which passes through the line-of-sight stabilization controller and power amplifier to the motor driver. Thus the stabilization loop serves two purposes in the platform control loop: on one hand, it isolates external disturbances and keeps the camera line of sight stable relative to inertial space; on the other hand, it ensures that the pitch axis can rotate according to the command signal, that is, the given angular velocity, meeting dynamic performance requirements. The stabilization controller in the line-of-sight stabilization loop uses classical PID control, which improves both dynamic and steady-state performance.

Dual-loop camera gimbal control system diagram showing an outer switched PI-fuzzy position loop and an inner PID stabilization loop, with vision-based position feedback, MEMS IMU angular-rate feedback, motor control, and disturbance compensation.
Nested control architecture combining an outer switched PI-fuzzy position loop for visual target tracking with an inner PID stabilization loop for high-frequency motion compensation using MEMS IMU feedback.

A conventional two-dimensional fuzzy controller takes error e and error rate ec as inputs and can produce a proportional-derivative control effect. Because fuzzy control lacks an integral term and processes its inputs discretely and finitely, its control surface is stepped rather than smooth, so steady-state error exists, manifested as small-amplitude oscillation near the equilibrium point. PI control therefore is combined with fuzzy control, and switched PI-fuzzy control is adopted in the position loop of the visual stabilization system. When the error is greater than the threshold, the controller switches to fuzzy control to obtain better transient performance, faster response, and stronger disturbance rejection. When the error is less than the threshold, it switches to PI control to obtain better steady-state performance.

5. Measurements: 10 Hz Vision Paired with 100 Hz Inertia

Because a low-cost MEMS inertial sensor provides basic tilt and rotation measurement, is low in cost and small in size, and can be readily combined with other sensor types, a low-cost MEMS sensor was selected as the stabilization IMU. A 300,000-pixel camera was selected as the vision sensor to work with it. The visual information sampling rate is 10 Hz and the inertial information sampling rate is 100 Hz.

Static Target: Without Visual Correction, IMU Drift Keeps Accumulating

The blue curve increases gradually with time, which can be understood as the platform position gradually deviating from its original position under the influence of inertial sensor drift; the longer the time, the larger the offset. For the magenta curve, when the stabilized platform system is under the combined action of visual and inertial information, after the system runs for a period, inertial sensor drift causes a relatively large change in platform position, but the visual information output by the vision sensor corrects the impending large position change. Therefore, under the combined action of visual/inertial information, the pitch-axis position output of the platform fluctuates around zero and does not develop a large offset.

Line chart comparing pitch position drift over 60 seconds for inertial-only and vision-inertial fusion systems. The blue inertial-only curve drifts upward to approximately 4.2°, while the magenta vision-inertial curve remains stable near zero.
Comparison of pitch position stability over 60 seconds. Inertial-only estimation accumulates angular drift, while vision-inertial fusion maintains pitch position close to zero through visual feedback correction.

Dynamic Target: Amplitude Changes Travel, Frequency Changes Tempo

When the difference decreases to zero, the target moves in the opposite direction, so the pitch axis continues to rotate and adjust the platform position. As the target keeps reciprocating, the difference between the target center and the image center repeatedly decreases to zero, increases, and decreases again. When the target oscillates at different frequencies, neither the position output nor the velocity output at different frequencies remains similar or overlapping.

Three stacked time-series charts comparing pitch position, pitch angular velocity, and image-center tracking error over 90 seconds for two oscillation scenarios labeled 0.5 Hz and 0.8 Hz, with amplitudes of 10° and 15°, respectively.
Comparison of pitch motion and visual tracking error under two oscillation scenarios (0.5 Hz at 10° and 0.8 Hz at 15°), illustrating pitch position, angular velocity, and repeated image-center error correction.

Control Method: Why Switch at a Threshold

It can be observed that with switched PI-fuzzy control, the pitch-axis rotation speed of the stabilized platform changes more uniformly and smoothly than with conventional PID control, with no abrupt change at the extreme points. This demonstrates the applicability and effectiveness of switched PI-fuzzy control in the visual/inertial two-degree-of-freedom stabilized platform system.

Single Loop, Dual Loop, and Switched PI-Fuzzy

After velocity negative feedback is introduced, the dual-loop PID stabilized platform system shows improved regulation performance under normal inputs and disturbances. With switched PI-fuzzy control, the dual-loop system has a relatively shorter settling time, markedly lower overshoot, and fewer oscillations.

Line chart comparing pitch angular velocity over 60 seconds using PID and switched PI-fuzzy controllers. The amber PID curve exhibits sharp velocity spikes at motion extremes, while the blue switched PI-fuzzy curve maintains a smoother response without abrupt changes.
Comparison of pitch velocity responses under PID and switched PI-fuzzy control, illustrating sharp velocity spikes in the PID response and smoother motion transitions with switched PI-fuzzy control.

6. Engineering Takeaways for DAISCH IMU Users

Putting these experimental conclusions into practice, selection and tuning can be checked in four steps.

  • Check bandwidth before accuracy. The 10 Hz vision and 100 Hz inertial configuration shows that the IMU’s first job is to fill in angular motion between two image updates. Confirm that the output rate matches the control period.
  • Separate the two loops clearly. The position loop is responsible for “reaching the target,” while the stabilization loop is responsible for “isolating disturbances.” The stabilization loop uses MEMS angular velocity for velocity negative feedback.
  • Do not rely on a single control law in the outer loop. Use fuzzy control to seize response in the large-error region and PI control to remove steady-state error in the small-error region, with the threshold set from the actual error range.
  • Always keep a visual correction path. Inertial-only operation drifts continuously; vision provides the absolute reference and the IMU provides the high-rate supplement.

DAISCH IMU core modules, intelligent inertial sensors, and integrated navigation products serve exactly these high-dynamics stabilization and tracking scenarios. Note that DAISCH inertial sensor products are six-axis IMUs (three-axis gyroscope plus three-axis accelerometer) and contain no magnetometer. Where heading is required, it should be obtained from an external reference or an integrated navigation solution, not from an internal magnetic heading.

Related Articles

Latest Articles