<?xml version="1.1" encoding="utf-8"?>
<article xsi:noNamespaceSchemaLocation="http://jats.nlm.nih.gov/publishing/1.1/xsd/JATS-journalpublishing1-mathml3.xsd" dtd-version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><front><journal-meta><journal-id journal-id-type="publisher-id">JERA</journal-id><journal-title-group><journal-title>Journal of Electronic Research and Application</journal-title></journal-title-group><issn>2208-3502</issn><eissn>2208-3510</eissn><publisher><publisher-name>Bio-Byword Scientific Publishing Pty. Ltd.</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.26689/jera.v10i7.15843</article-id><article-categories><subj-group subj-group-type="heading"><subject>Article</subject></subj-group></article-categories><title>Design and Implementation of a Dual-Layer Decoupled Gimbal Electronic Control System for Mobile Robots</title><url>https://artdesignp.com/journal/JERA/10/7/10.26689/jera.v10i7.15843</url><author>YangXiaoyu</author><pub-date pub-type="publication-year"><year>2026</year></pub-date><volume>10</volume><issue>7</issue><history><date date-type="pub"><published-time>2026-08-11</published-time></date></history><abstract>This paper proposes a dual-layer decoupled gimbal electronic control system for mobile robots. The hardware platform employs the STM32F407IGH6TR microcontroller with a BMI088 IMU and DaMiao J4310 / DJI GM6020 actuators. A three-layer software architecture running under a preemptive real-time kernel maintains a 1 ms attitude estimation loop and 2 ms motion control loops. A velocity coordinate rotation algorithm is derived to eliminate chassis–gimbal directional coupling inherent to the dual-layer Yaw structure. Angle–velocity cascaded PID controllers are implemented for both gimbal layers, incorporating derivative-on-measurement, conditional integration, and velocity feedforward compensation. Experimental results demonstrate that the inner gimbal Yaw step response rise time is approximately 50 ms with steady-state error below 0.3°; feedforward compensation reduces constant-velocity tracking RMS error by approximately 60% compared to pure PID; all control loops meet their timing requirements at a total CPU utilization of approximately 85%.</abstract><keywords/></article-meta></front><body/><back><ref-list><ref id="B1" content-type="article"><label>1</label><element-citation publication-type="journal"><p>Medero A, Puig V, 2022, LPV Control and Virtual-Sensor-Based Fault Tolerant Strategies for a Three-Axis Gimbal System. Sensors, 22(17): 6664.</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B2" content-type="article"><label>2</label><element-citation publication-type="journal"><p>Leblebicioğlu D, Ateşoğlu Ö, Çakmakcı M, 2022, Physics-Informed Disturbance Estimation and Nonlinear Controller Design for a Multi-Axis Gimbal System. IFAC-PapersOnLine, 55(37): 530–535.</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B3" content-type="article"><label>3</label><element-citation publication-type="journal"><p>Wang D, Gao Y, Wei W, et al., 2024, Sliding Mode Observer-Based Model Predictive Tracking Control for Mecanum-Wheeled Mobile Robot. ISA Transactions, 151: 51–61.</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B4" content-type="article"><label>4</label><element-citation publication-type="journal"><p>Zhao T, Zou X, Dian S, 2022, Fixed-Time Observer-Based Adaptive Fuzzy Tracking Control for Mecanum-Wheel Mobile Robots with Guaranteed Transient Performance. Nonlinear Dynamics, 107(1): 921–937.</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B5" content-type="article"><label>5</label><element-citation publication-type="journal"><p>Palacín J, Rubies E, Bitriá R, et al., 2023, Phasor-Like Interpretation of the Angular Velocity of the Wheels of Omnidirectional Mobile Robots. Machines, 11(7): 698.</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B6" content-type="article"><label>6</label><element-citation publication-type="journal"><p>Yan J, Li J, Chen M, et al., 2026, An Adaptive PID Control Strategy Based on Offline–Online Cooperative Optimization. Electronics, 15(5): 921.</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B7" content-type="article"><label>7</label><element-citation publication-type="journal"><p>Noordin A, Mohd Basri M, Mohamed Z, 2023, Real-Time Implementation of an Adaptive PID Controller for the Quadrotor MAV Embedded Flight Control System. Aerospace, 10(1): 59.</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B8" content-type="article"><label>8</label><element-citation publication-type="journal"><p>Arm J, Baštán O, Mihálik O, et al., 2022, Measuring the Performance of FreeRTOS on ESP32 Multi-Core. IFAC-PapersOnLine, 55(4): 292–297.</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B9" content-type="article"><label>9</label><element-citation publication-type="journal"><p>Liu M, Cai Y, Zhang L, et al., 2021, Attitude Estimation Algorithm of Portable Mobile Robot Based on Complementary Filter. Micromachines, 12(11): 1373.</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B10" content-type="article"><label>10</label><element-citation publication-type="journal"><p>Sever K, Golušin L, Lončar J, 2023, Optimization of Gradient Descent Parameters in Attitude Estimation Algorithms. Sensors, 23(4): 2298.</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B11" content-type="article"><label>11</label><element-citation publication-type="journal"><p>Yapp K, Hoo C, Lai C, 2024, New Anti-Windup Proportional-Integral-Derivative for Motor Speed Control. Asian Journal of Control, 26(6): 2854–2866.</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B12" content-type="article"><label>12</label><element-citation publication-type="journal"><p>Peng D, Huang B, Huang H, 2022, Design of an Anti-Windup PID Algorithm for Differential Torque Steering Systems. Shock and Vibration, 2022: 9973379.</p><pub-id pub-id-type="doi"/></element-citation></ref></ref-list></back></article>
