Design and Implementation of a Handheld Stabilized Gimbal Based on RK3399 and PID
The primary function of a handheld stabilized gimbal is to isolate camera attitude changes caused by external environmental factors, such as body vibrations due to operator movement or wind resistance torque. This ensures that the camera's optical axis consistently maintains the desired attitude during operation. For a gimbal camera to capture high-quality images, it is crucial to ensure the camera's optical axis remains stable relative to the target. Therefore, during camera shooting, the equipment must maintain a horizontal, constant velocity motion while also ensuring its attitude stability. This paper utilizes the Rockchip RK3399 as the control chip for the handheld stabilized gimbal control system. It details the design of the gimbal's mechanical structure, performs kinematic analysis, applies attitude fusion algorithms, and finally outlines the hardware and software design for the gimbal control system. The main contents of this paper are: First, considering that common stabilized gimbals often employ a single attitude sensor mounted on either the target carrier or the gimbal base, this design, tailored to the structure and characteristics of a handheld stabilized gimbal system, adopts a dual inertial sensor installation scheme. One sensor is mounted on the carrier camera, and the other is mounted on the motor connected to the frame. The working principle of the stabilized gimbal is also introduced, along with its kinematic analysis. Next, three brushless DC motors are chosen to drive the gimbal. Based on the known mathematical model of brushless DC motors, the pitch frame control model for the stabilized gimbal is derived. A comparison is made between