<?xml version="1.0" encoding="UTF-8"?>
<article xmlns:xlink="http://www.w3.org/1999/xlink">
<front><article-meta>
<title-group><article-title>Motion Control of Mechanical Systems with Backlash</article-title></title-group>
<contrib-group>
<contrib contrib-type="author"><name><surname>Moradian</surname><given-names>Khadijeh</given-names></name><xref ref-type="aff" rid="aff1"/></contrib>
<contrib contrib-type="author"><name><surname>Tavakoli Afshari</surname><given-names>Saeed</given-names></name><xref ref-type="aff" rid="aff2"/></contrib>
<aff id="aff1">Department of Mechanical Engineering, University of Birjand, Birjand, Iran.</aff>
<aff id="aff2">Department of Electrical Engineering, University of Sistan and Baluchestan, Zahedan, Iran.</aff>
</contrib-group>
<abstract><p>Backlash is a mechanical interaction which occurs with clearance between structural parts of a mechanical system. The clearance causes noncompletion, nonuniform rotation or displacement of structure parts. Due to the clearance errors in positioning and motion of structure parts occur. In this paper, a software based solution for mechanical systems with backlash is presented. To achieve accurate speed control, a Proportional-Derivative (PD) compensator is combined with a Proportional-Integral (PI) controller. The correct controller is adopted by a Genetic Algorithm (GA). As the criteria for the system, first, overshoot, second, error performance index are considered. According to ITAE criterion, there exists very low oscillations in the step response of the system. This indicates good system stability.</p></abstract>
<kwd-group kwd-group-type="author"><kwd>Backlash</kwd><kwd>Compensator</kwd><kwd>Genetic algorithm</kwd><kwd>ITAE criterion</kwd></kwd-group>
</article-meta></front>
<body>
<sec id="sec-1"><label>1</label><title>Introduction</title>
<p>Backlash is a nonlinear system disturbance, which is an undesirable system performance. It is basically the play between neighboring moving components. This phenomenon in mechanical systems, especially at the beginning of motion, is inevitable <xref ref-type="bibr" rid="ref-1">[1]</xref>. This phenomenon is found in gear trains, bearings, and other similar mechanical connections.</p>
<p>In gear, the minimum distance between the non-driven teeth is known as backlash <xref ref-type="bibr" rid="ref-2">[2]</xref>. A certain amount of backlash is required for the correct gear transmission. When the backlash is less than the proper amount, the gears will interfere, and when the backlash is too much, it will cause the system to be slack <xref ref-type="bibr" rid="ref-3">[3]</xref>. Compressed gear meshing or precision gears can be used to eliminate backlash <xref ref-type="bibr" rid="ref-4">[4]</xref>. However, there are some disadvantages for compressed meshing. It may increase friction and gear interference.</p>
<p>In addition, the method of using precision gears is very expensive and is generally undesirable in practice. The above drawbacks emphasize the importance of system control. With proper controller design, the detrimental effects of backlash can be eliminated non-mechanically <xref ref-type="bibr" rid="ref-5">[5]</xref>.</p>
<p>Nordin et al. <xref ref-type="bibr" rid="ref-6">[6]</xref> studied compressed backlash, which is a type of backlash that is valid only for shafts with damping. In this case, backlash is assumed for system elements, motor, load, and shaft. The proposed model is very accurate. Thomson et al. <xref ref-type="bibr" rid="ref-7">[7]</xref> designed three methods for speed control of two-mass systems, which are a PI controller, a 4th-order state-space controller, and a 5th-order state-space controller. In state-space control, if all of the states cannot be measured in the system, then system control is difficult.</p>
<p>Shahgholian et al. <xref ref-type="bibr" rid="ref-8">[8]</xref> used a linear controller to compensate for backlash in a position control system. The system&apos;s step response indicates a small amount of overshoot. Extensive research has been conducted on backlash modeling, identification, and compensation in mechanical systems.</p>
<p>Woodside et al. <xref ref-type="bibr" rid="ref-9">[9]</xref> developed a feedforward kinematic error controller incorporating an angular positioning deviations model for backlash compensation in industrial robots, demonstrating a 25% improvement in circularity accuracy.</p>
<p>Iklodi et al. <xref ref-type="bibr" rid="ref-10">[10]</xref> investigated stick-slip oscillations in grinding machine feed motions caused by the interaction of dry friction and backlash, providing valuable insights into low-speed motion stability. Wang et al. <xref ref-type="bibr" rid="ref-11">[11]</xref> proposed an oscillation suppression method for automatic loading manipulator arms using a Third-Order Nonlinear Extended State Observer (TNESO), achieving a reduction in positioning error from 0.006 rad to 0.001 rad through backlash disturbance compensation.</p>
<p>Larkin et al. <xref ref-type="bibr" rid="ref-12">[12]</xref> presented a novel approach combining neural network tuning with Genetic Algorithms (GAs) for controlling hierarchical systems with backlash, demonstrating that evolutionary changes during system operation can significantly improve control characteristics. A recent study on backlash size identification proposed a Hilbert-Huang Transform-based method to determine the exact timing of gear disengagement, enabling maintenance scheduling and improved compensation <xref ref-type="bibr" rid="ref-13">[13]</xref>. Research on tracking mechatronic systems with variable backlash size has shown that systems with switchable feedback on motor and load shaft positions exhibit lower sensitivity to varying backlash magnitudes <xref ref-type="bibr" rid="ref-14">[14]</xref>. Additionally, novel compensation methods for teleoperation systems have been developed using two identical counter-operating drives per joint to cancel backlash effects in both geared systems and thrust-wire mechanisms <xref ref-type="bibr" rid="ref-15">[15]</xref>.</p>
</sec>
<sec id="sec-2"><label>2</label><title>Speed Control</title>
<p>Typically, in motion control, the system consists of a motor, a load, and a gear transmission <xref ref-type="bibr" rid="ref-1">[1]</xref>. In any mechanical system where the motor (driving member) is not directly connected to the load (moving member), backlash exists <xref ref-type="bibr" rid="ref-6">[6]</xref>. A real mechanical system is a complex multi-mass system in which masses are connected by flexible shafts. Nevertheless, a multi-mass system can be approximated by a two-mass model <xref ref-type="bibr" rid="ref-2">[2]</xref>, where the first mass is assumed to be the motor, and the second mass is the load and shaft with free inertia. In this section, the two-mass system shown in <xref ref-type="fig" rid="fig1">Fig. 1</xref> is used.</p>
<p>In this paper, a controller based on a GA is provided for speed regulation of systems with backlash. Overshoot and the ITAE index are used as system evaluation criteria. To achieve this goal, a Matlab®/Simulink™ model is presented <xref ref-type="bibr" rid="ref-16">[16]</xref>. The objective function is minimized using Matlab® optimization functions. The goal is to achieve a stable system despite the presence of backlash.</p>
<fig id="fig1"><label>Figure 1</label><caption><p>Two-mass system.</p></caption><graphic content-type="pdf-region" xlink:href="pdf-region:2:66,598.6,537.1,780.3"/><p content-type="note">This figure is shown in the PDF version of the article.</p></fig>
<p>Under the following assumptions, the speed control of the two-mass system is analyzed:</p>
<p>The gear ratio is 1. Friction is neglected.</p>
<p>The control input is the motor torque, Tm, and the output variable is the load speed, ω. Eqs. (1) and (2) show the motor transfer function, Gm, and the load transfer function, Gl, respectively. Jm, Jl, bm, and bl are the motor moment of inertia, load moment of inertia, motor damping, and load damping, respectively.</p>
<p>Gm = (1)</p>
<p>Jms + bm</p>
<p>Gl = (2)</p>
<p>Jls + bl The motor and load are coupled by an elastic shaft. The shaft is modeled by a spring with stiffness coefficient kk and damping coefficient b <xref ref-type="bibr" rid="ref-7">[7]</xref>. The internal damping of the shaft is very low. Eq. (3) shows the shaft transfer function:</p>
<p>bs + k</p>
<p>Gs = (3)</p>
<p>In this analysis, the gear is located close to the motor. The gear ratio is assumed to be 1, the backlash is of the compressed type, and the backlash size is assumed to be 1 degree. The driving part generates torque, which is transmitted to the load via the elastic shaft <xref ref-type="bibr" rid="ref-2">[2]</xref>. The actuator dynamics are assumed to have a time delay Td and a time constant Tc. The actuator transfer function, G, is considered according to Eq. (4): <xref ref-type="table" rid="tab1">Table 1</xref> presents the system specifications.</p>
<p>e−Tds</p>
<p>G = (3)</p>
<p>1 + Tcs The block diagram of the system under study is considered according to <xref ref-type="fig" rid="fig2">Fig. 2</xref>. In <xref ref-type="fig" rid="fig2">Fig. 2</xref>, C is the controller, P is the compensator, and N is the backlash. The transfer functions of the controller and compensator are defined based on Eqs. (5) and (6).</p>
<table-wrap id="tab1"><label>Table 1</label><caption><p>System parameters.</p></caption><graphic content-type="pdf-region" xlink:href="pdf-region:2:66,86.3,537.1,193.8"/><p content-type="note">This table is shown in the PDF version of the article.</p></table-wrap>
<fig id="fig2"><label>Figure 2</label><caption><p>Block diagram of the two-mass system speed control.</p></caption><graphic content-type="pdf-region" xlink:href="pdf-region:3:66,522,537.1,726.8"/><p content-type="note">This figure is shown in the PDF version of the article.</p></fig>
</sec>
<sec id="sec-3"><label>3</label><title>Optimization</title>
<p>In this research, the goal is to achieve a stable system despite the presence of backlash. The system performance evaluation criteria are the maximum overshoot and the error performance index. For system stability, the design process begins by determining the desired performance specifications. These specifications are:</p>
<p>I. The maximum overshoot should be less than 20% .</p>
<p>II. The error performance indices should be minimized.</p>
<p>In the analyses, the ITAE index is used. ITAE is the integral of time multiplied by the absolute value of the error. The controller is designed during the optimization process to satisfy the desired conditions. The method used for optimization is the GA. Typically, for speed control of two-mass systems, controllers with a Proportional-Integral (PI) structure are used <xref ref-type="bibr" rid="ref-7">[7]</xref>. In this paper, a combination of a PI controller with a Proportional-Derivative (PD) compensator is proposed for system control. As observed in <xref ref-type="fig" rid="fig3">Fig. 3</xref>, feedback from the motor side is assumed because, from an industrial perspective, measuring load speed is expensive and nearly impossible <xref ref-type="bibr" rid="ref-6">[6]</xref>. Optimization is performed on the controller gains.</p>
<p>Using the GA, the objective function is minimized. The decision variables are kp , ki, kp1 and kd1 which are, respectively, the proportional gain of the controller, the integral gain of the controller, the proportional gain of the compensator, and the derivative gain of the compensator.</p>
<fig id="fig3"><label>Figure 3</label><caption><p>Simulation of the two-mass system with the proposed control scheme in Matlab®/Simulink™.</p></caption><graphic content-type="pdf-region" xlink:href="pdf-region:3:66,109.3,537.1,211"/><p content-type="note">This figure is shown in the PDF version of the article.</p></fig>
<p>The specifications of the applied GA are according to <xref ref-type="table" rid="tab2">Table 2</xref>.</p>
<table-wrap id="tab2"><label>Table 2</label><caption><p>GA specifications.</p></caption><graphic content-type="pdf-region" xlink:href="pdf-region:4:66,620.4,537.1,738.7"/><p content-type="note">This table is shown in the PDF version of the article.</p></table-wrap>
<p>The design results can be seen in <xref ref-type="table" rid="tab3">Tables 3</xref> and 4. These results were obtained through simulation and programming for controller optimization using the GA in Matlab® software.</p>
<table-wrap id="tab3"><label>Table 3</label><caption><p>Optimal gain values for the two-mass system and the ITAE objective function value based on the GA.</p></caption><graphic content-type="pdf-region" xlink:href="pdf-region:4:66,522.2,537.1,550.9"/><p content-type="note">This table is shown in the PDF version of the article.</p></table-wrap>
<p>The step response of the system based on the data in <xref ref-type="table" rid="tab3">Table 3</xref> is shown in <xref ref-type="fig" rid="fig4">Fig. 4</xref>.</p>
<fig id="fig4"><label>Figure 4</label><caption><p>Step response of the two-mass system based on the ITAE criterion.</p></caption><graphic content-type="pdf-region" xlink:href="pdf-region:4:66,315.1,537.1,489.2"/><p content-type="note">This figure is shown in the PDF version of the article.</p></fig>
<p>According to <xref ref-type="fig" rid="fig4">Fig. 4</xref>, the system is stable. The maximum overshoot of the system is 8.5%, and its rise time is less than 1 second (approximately 0.72 seconds).</p>
</sec>
<sec id="sec-4"><label>4</label><title>Results and Discussion</title>
<p>Backlash exists in any mechanical system where the driving member is not directly connected to the load. In gears, when contact between the teeth is lost, the load becomes disconnected from the motor, and the driving torque only moves the components before the backlash. Backlash can lead to significant difficulty in motion control and instability.</p>
<p>In this paper, speed control of a system with backlash was investigated. For system control, the simultaneous use of a PI controller and a PD compensator was proposed. Based on the ITAE criterion, the maximum overshoot of the system was 8.5%, and its rise time was less than 1 second (approximately 0.72 seconds). The step response of the system exhibits negligible oscillation, which indicates system stability. Simulations show that the proposed method for designing the optimal controller is efficient.</p>
</sec>
<sec id="sec-5"><title>Conflict of Interest</title>
<p>The authors declare no conflict of interest.</p>
</sec>
<sec id="sec-6"><title>Data Availability</title>
<p>All data are included in the text.</p>
</sec>
<sec id="sec-7"><title>Funding</title>
<p>This research received no specific grant from funding agencies in the public, commercial, or not-for-profit sectors.</p>
</sec>
<sec id="sec-figures"><title>Figures</title>
<fig><label>Figure</label><caption><p>Image from the PDF file; its caption could not be matched.</p></caption><graphic xlink:href="https://mtei.reapress.com/public/journals/1/jats-figures/73/fig-1-9bef9c8e0a88.jpg"/></fig>
<fig><label>Figure</label><caption><p>Image from the PDF file; its caption could not be matched.</p></caption><graphic xlink:href="https://mtei.reapress.com/public/journals/1/jats-figures/73/fig-2-f925624b8f4e.png"/></fig>
</sec>
</body>
<back><ref-list><title>References</title>
<ref id="ref-1"><label>1</label><mixed-citation>Liu, J., Yao, J., &amp; Deng, W. (2024). Nonlinear robust adaptive control of electro-hydrostatic actuators with continuous friction compensation. International journal of control, automation and systems, 22(4), 1225–1237. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1007/s12555-022-1120-6">https://doi.org/10.1007/s12555-022-1120-6</ext-link></mixed-citation></ref>
<ref id="ref-2"><label>2</label><mixed-citation>Hovland, G., Hanssen, S., Gallestey, E., Moberg, S., Brogardh, T., Gunnarsson, S., &amp; Isaksson, M. (2002). Nonlinear identification of backlash in robot transmissions. In Proceedings of the 33rd ISR (international symposium on robotics) (pp. 1-6). <ext-link ext-link-type="uri" xlink:href="https://home.uia.no/geirh/PDF/C20.pdf">https://home.uia.no/geirh/PDF/C20.pdf</ext-link></mixed-citation></ref>
<ref id="ref-3"><label>3</label><mixed-citation>Kalantari, R., Sadat, F. M. (2009). Backlash nonlinearity modeling and adaptive controller design for an electromechanical power transmission system. Transaction b: Mechanical engineering, 16(6), 463–469. (In Persian). <ext-link ext-link-type="uri" xlink:href="https://www.sid.ir/en/VEWSSID/J_pdf/9552009B607.pdf">https://www.sid.ir/en/VEWSSID/J_pdf/9552009B607.pdf</ext-link></mixed-citation></ref>
<ref id="ref-4"><label>4</label><mixed-citation>Jiayi, H. U. (2006). Control of mechanical systems with backlash problem [Thesis]. <ext-link ext-link-type="uri" xlink:href="https://scholarbank.nus.edu.sg/handle/10635/15083">https://scholarbank.nus.edu.sg/handle/10635/15083</ext-link></mixed-citation></ref>
<ref id="ref-5"><label>5</label><mixed-citation>Bruns, R. M. R., Diepstraten, J., Schuurbiers, X. G. P., &amp; Wouters, J. A. G. (2006). Motion control of systems with backlash. In Technische universiteit eindhoven. (pp. 1–42). Technische Universiteit Eindhoven. <ext-link ext-link-type="uri" xlink:href="https://pure.tue.nl/ws/portalfiles/portal/4295876/633392.pdf">https://pure.tue.nl/ws/portalfiles/portal/4295876/633392.pdf</ext-link></mixed-citation></ref>
<ref id="ref-6"><label>6</label><mixed-citation>Nordin, M., &amp; Gutman, P. O. (2002). Controlling mechanical systems with backlash—a survey. Automatica, 38(10), 1633–1649. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/S0005-1098(02)00047-X">https://doi.org/10.1016/S0005-1098(02)00047-X</ext-link></mixed-citation></ref>
<ref id="ref-7"><label>7</label><mixed-citation>Thomsen, S., &amp; Fuchs, F. W. (2009). Speed control of torsional drive systems with backlash. 2009 13th European conference on power electronics and applications (pp. 1–10). IEEE. <ext-link ext-link-type="uri" xlink:href="https://ieeexplore.ieee.org/abstract/document/5278771">https://ieeexplore.ieee.org/abstract/document/5278771</ext-link></mixed-citation></ref>
<ref id="ref-8"><label>8</label><mixed-citation>Shahgholian, G., Faiz, J., &amp; Shafaghi, P. (2009). Analysis and simulation of speed control for two-mass resonant system. 2009 second international conference on computer and electrical engineering (Vol. 2, pp. 666– 670). IEEE.</mixed-citation></ref>
<ref id="ref-9"><label>9</label><mixed-citation>Woodside, M. R., Cui, T., Emelko, J., Ibaraki, S., Landers, R. G., &amp; Bristow, D. A. (2024). A feedforward kinematic error controller with an angular positioning deviations model for backlash compensation of industrial robots. Manufacturing letters, 41, 1579–1584. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.mfglet.2024.09.184">https://doi.org/10.1016/j.mfglet.2024.09.184</ext-link></mixed-citation></ref>
<ref id="ref-10"><label>10</label><mixed-citation>Iklodi, Z., Piiroinen, P. T., Franco, O., Beudaert, X., &amp; Dombovari, Z. (2025). Stick–slip oscillations in the low feed linear motion of a grinding machine due to dry friction and backlash. International journal of non-linear mechanics, 168, 104940. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.ijnonlinmec.2024.104940">https://doi.org/10.1016/j.ijnonlinmec.2024.104940</ext-link></mixed-citation></ref>
<ref id="ref-11"><label>11</label><mixed-citation>Wang, J., Zou, Q., Xu, Y., Chang, S., &amp; Li, Y. (2024). Backlash compensation based oscillation suppression control for automatic loading manipulator arm with nonlinear extended state observer. Nonlinear dynamics, 112(16), 14253–14280. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1007/s11071-024-09836-w">https://doi.org/10.1007/s11071-024-09836-w</ext-link></mixed-citation></ref>
<ref id="ref-12"><label>12</label><mixed-citation>Larkin, E. V., Bogomolov, A. V., &amp; Privalov, A. N. (2025). Neural network tuning of the genetic algorithm for controlling a vector hierarchical system. Informatics and automation, 24(5), 1333–1354. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.15622/ia.24.5.3">https://doi.org/10.15622/ia.24.5.3</ext-link></mixed-citation></ref>
<ref id="ref-13"><label>13</label><mixed-citation>Wu, B. F., &amp; Cheng, M. Y. (2024). Backlash size identification for servomechanisms with gear transmission devices. Precision engineering, 91, 132–142. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.precisioneng.2024.09.011">https://doi.org/10.1016/j.precisioneng.2024.09.011</ext-link></mixed-citation></ref>
<ref id="ref-14"><label>14</label><mixed-citation>Apolonskiy, V. V, &amp; Tararykin, S. V. (2025). Methods of controlling tracking mechatronic systems with varying backlash size in highly rigid kinematic transmissions. 2025 international conference on industrial engineering, applications and manufacturing (ICIEAM) (pp. 615–620). IEEE.</mixed-citation></ref>
<ref id="ref-15"><label>15</label><mixed-citation>Prasanga, D. K., Sariyildiz, E., &amp; Ohnishi, K. (2015). Compensation of backlash for geared drive systems and thrust wires used in teleoperation. IEEJ journal of industry applications, 4(5), 514–525. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1541/ieejjia.4.514">https://doi.org/10.1541/ieejjia.4.514</ext-link></mixed-citation></ref>
<ref id="ref-16"><label>16</label><mixed-citation>Yang, W. Y. (2018). MATLAB/Simulink for digital communication. A-Jin Publishing Co., Korea. <ext-link ext-link-type="uri" xlink:href="https://media1.ppf.edu.rs/2020/12/MATLAB_Simulink_for_Digital_Communicatio.pdf">https://media1.ppf.edu.rs/2020/12/MATLAB_Simulink_for_Digital_Communicatio.pdf</ext-link></mixed-citation></ref>
</ref-list></back>
</article>