Next Article in Journal
Identification and Evaluation of Vibration Sources from Experiments on Laboratory Drilling Equipment
Previous Article in Journal
Kinematic Modeling and Preliminary Field Evaluation of a Link-Driven Hopper Planting Mechanism for a 3.4 kW Walking-Type Pepper Transplanter
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Steering Accuracy Analysis of Cam Mechanism in Complex Trajectory Based on Return Error of Gear Transmission

1
College of Mechanical Engineering and Mechanics, Xiangtan University, Xiangtan 411105, China
2
Engineering Research Center of Complex Tracks Processing Technology and Equipment of Ministry of Education, Xiangtan University, Xiangtan 411105, China
3
School of Mechanical & Automotive Engineering, South China University of Technology, Guangzhou 510640, China
4
School of Mechanical and Vehicle Engineering, Hunan University, Changsha 410082, China
5
Faculty of Engineering, The Hong Kong Polytechnic University, Hong Kong, China
*
Author to whom correspondence should be addressed.
Machines 2025, 13(12), 1075; https://doi.org/10.3390/machines13121075
Submission received: 22 October 2025 / Revised: 15 November 2025 / Accepted: 18 November 2025 / Published: 21 November 2025
(This article belongs to the Section Machine Design and Theory)

Abstract

The trajectory accuracy of equipment with complex motion paths presents a critical engineering challenge. Targeting the precision issues in the operating trajectory of a carbon-free car, this paper proposes an optimization method for complex mechanical trajectories. Firstly, this study investigates gear backlash-induced return error on the steering precision of a carbon-free cam mechanism of cars. Secondly, considering the cumulative return error of gear transmission between gear groups, a comprehensive mathematical model was established to guide the optimization of cam structure. Finally, the steering accuracy before and after optimization is quantitatively evaluated by trajectory calculation. In addition, the optimized structure was tested and compared with the numerical calculation. The experimental and numerical calculation results are highly consistent. The numerical calculation results show that by adjusting the transmission ratio of the gear set and optimizing the cam profile, the cam deflection angle error is reduced by 24.74% and 27.15%, respectively, and the comprehensive cumulative deflection error of the car is significantly reduced by 45.31%. More importantly, the research provides crucial technical support and guidance for achieving precise control and planning complex paths in automated production lines.

1. Introduction

In recent years, the machining of complex trajectories and the prediction of complex paths have become one of the critical challenges in engineering applications [1,2,3,4,5,6]. This paper takes the carbon-free car [7,8,9] with intricate travel paths as the research object and investigates methods for optimizing its trajectory. The cam of the carbon-free car’s steering mechanism [10] is an important mechanism that affects the accuracy and stability of the carbon-free car’s running trajectory. It has the advantages of simple structure, compactness, and controllable action law [11,12]. Therefore, it is of great significance to study the influence of cam processing and assembly error on the trajectory accuracy of a carbon-free car, which is of great significance to the design and optimization of the car.
The cam mechanism is the decisive factor for the steering system of the carbon-free car. Many scholars have studied the design of the cam mechanism. Iriarte et al. [13] and Zhou et al. [14] proposed different designs and analysis methods for cam mechanisms, respectively. Previous results show that the cam trajectory designed by the proposed method is more accurate. The experimental results demonstrate that the proposed method effectively mitigates vibrations in the cam mechanism, resulting in a lower impact velocity. Pozo-Palacios et al. [15] evaluated forward and inverse cam synthesis methods for designing a multi-leaf cam rocker-slider mechanism. The results show that the torque ripple of the cam designed by the reverse method is reduced by at least 50.97%. Lan et al. [16] attributed design flaws in cam transmission mechanisms to geometric imperfections and consequently developed a defect recognition algorithm. Numerical simulations subsequently validated the algorithm’s feasibility. Yang et al. [17] introduced a design for a novel coaxial indexing mechanism based on a conjugate cam and a parallelogram linkage. To this end, they constructed a prototype and conducted physical experiments. The results show that the cam mechanism designed by this method is more compact and the transmission effect is better. Zheng et al. [18] designed a solar truck with a single cam as the steering guide mechanism, established a dynamic model of the car, and carried out numerical calculations. The results show that the single cam steering structure exhibits excellent mechanical properties and an accurate trajectory. In addition, some scholars have also carried out optimization research on cam design. Wang and Peng [19] applied an Improved Hunter–Prey Optimization (IHPO) algorithm to optimize the sizing parameters of an oscillating follower cam mechanism. These results demonstrate the method’s efficacy in enhancing the motion reliability of disk cam mechanisms, offering valuable insights for broader cam design applications. Zhu et al. [20] developed a parameter optimization method for designing and analyzing large-scale, high-speed cam-linkage mechanisms, taking into account motion performance. They validated their approach through its successful application to a lateral device. The optimization results show that the productivity of horizontal equipment has doubled. Kang et al. [21] addressed the optimization and dynamic analysis of a spring-driven cam-linkage mechanism in vacuum circuit breakers, demonstrating that their optimized design significantly reduces the Hertz stress at the cam follower interface. While these studies primarily focus on cam design methodologies, they have overlooked the influence of gear backlash on transmission accuracy.
Gear backlash, which is an inherent characteristic of the transmission system, constitutes the critical factor influencing the positioning precision of cam steering mechanisms [22]; some scholars have studied gear backlash. By establishing a thermal backlash model for a planetary gear system, Wang et al. [23] analyzed its nonlinear dynamic characteristics and demonstrated that temperature plays an important role in backlash variation. Tian et al. [24] investigated the coupled dynamics of gear backlash and bearing clearance, uncovering a range of rich nonlinear phenomena. Zenn et al. [25] and Reddy et al. [26] proposed methods of measuring the gear gap size, respectively, both of which can accurately estimate the gear gap size. The above studies do not consider the influence of backlash-induced return error of gear transmission on the steering accuracy of the cam follower mechanism. This negligence will lead to the deviation between the actual cam angle and the theoretical value, thus affecting the cam steering accuracy.
In summary, this paper examines the effect of gear transmission backlash error on the steering accuracy of cam mechanisms in a carbon-neutral car. Firstly, we develop a mathematical model for the return error of gear transmission in gear transmission and propose optimization methods. Secondly, computational analyses are performed using MATLAB 2023b to derive simulated trajectories, which are then compared with theoretical trajectories to assess the impact of the return error of gear transmission on the precision of car operation. Finally, the validity of the optimization methods is confirmed through calculation, and further verification is carried out through physical production and debugging. This research offers optimization strategies to improve the steering accuracy of cam mechanisms, providing crucial guidance for the debugging and trajectory analysis of the carbon-free car. These strategies can be applied to achieve precise control and automation of production lines with complex trajectories.

2. Mathematical Modeling and Kinematic Analysis of the Steering Accuracy of the Car

Comprehensive motion analysis and mathematical modeling of the car are performed to analyze the impact of gear return error of the gear transmission on the steering accuracy of the cam mechanism. The design of the disk cam’s contour curve is critical to the cam follower mechanism’s functionality. Below, a method for cam design and trajectory calculation suitable for various complex routes is introduced. Utilizing the concept of inverse operation [27,28], the cam contour curve design is conducted. The trajectory curve is engineered to accommodate the car punch requirements, calculating the turning radius at any point from the trajectory equation and determining the push stroke from the motion equation of the mechanism, derived from analyzing the body structure [29]. The actual cam profile is constructed via the envelope method based on its defined theoretical contour.

2.1. Three-Dimensional Model of the Carbon-Free Car

The carbon-free car consists of five components: the prime mover mechanism, the transmission mechanism, the traveling mechanism, the steering mechanism, and a fine adjustment mechanism. The overall structure features a three-wheel configuration, including a front wheel, a driving wheel, and a driven wheel, as depicted in Figure 1.
The prime mover primarily utilizes biomass energy to generate electricity, which in turn drives the motor. The motor is linked to the drive shaft via a coupling, converting the energy into kinetic energy to propel the car forward. During debugging, the prime mover can adjust its driving force according to varying requirements, accommodating different site conditions.
The gear transmission, renowned for its compact design, reliable operation, and stable transmission ratio, utilizes a three-stage gear setup in this car, transferring power from the motor to the steering mechanism with a transmission ratio of i = 45. The traveling mechanism, which consists of two rear wheels and one front wheel, serves as the final execution component for the car’s motion. The system operates on a single-wheel differential drive principle. One rear wheel is the driven wheel, which is powered directly by the motor through the drive shaft at a constant speed, while the other wheel is idled. In contrast, the driven wheel’s shaft is supported only by two bearings and remains independent of other drive components and motor rotation.
The fine adjustment mechanism comprises a slide rail, a sliding platform movable along the rail, a micrometer head, a front wheel axle, a front wheel, and a swing link. By advancing the micrometer head to drive the sliding platform, the horizontal distance between the front wheel axle and the camshaft axis is adjusted, as shown in Figure 2. This compensates for discrepancies between this distance and the base circle radius value caused by part assembly and machining tolerances. The cylindrical swing link follower and the cam profile form a point-contact sliding pair. The follower’s centerline is co-planar with the camshaft axis and maintains a fixed horizontal position relative to the front axle.
The cam follower mechanism, a key component in the carbon-free vehicle’s steering system, is illustrated in Figure 1. Spring force ensures a constant contact between the cam and the follower. The rotation of the cam converts into the swing of the follower, which in turn guides the front wheel. The complexity of the running track necessitates a specifically designed cam profile to drive the follower in a periodic, expected reciprocating motion, thereby achieving precise steering of the front wheel. Upon the completion of a circular motion by the cam, the car follows the preset motion trajectory. The overall operation process of the carbon-free car is shown in Figure 3. The trajectory that the car in this article needs to follow is shown in Figure 3.

2.2. Analysis of Transmission Error of Gears

The transmission accuracy of gears, as a crucial component of the transmission mechanism, is susceptible to manufacturing and installation errors [30,31] during the construction of carbon-free cars. These errors, categorized as transmission error and return error of gear transmission, significantly impact gear transmission accuracy. This study investigates the influence of the return error of gear transmission on cam steering accuracy.
Return error of gear transmission refers to the delay in rotation angle observed when the output shaft rotates reversely compared to the input shaft due to gear backlash within the gear pair during one-way transmission of the gear mechanism, denoted as B .

2.2.1. Calculation of Maximum Normal Backlash

To determine the maximum normal backlash, it is necessary to calculate the normal backlash resulting from center distance, tooth thickness deviation, base circle eccentricity, and tooth profile error separately [32].
The normal backlash j b n 1 caused by the increase in center distance is [33]
j b n 1 = 2 Δ a tan α n
where Δ a is the upper deviation of the center distance limit tolerance + f α , which can be obtained from the table.
During the gear backlash calculation process, it is crucial to compensate for gear manufacturing error, installation error, thermal expansion deformation, and the minimum gear backlash required for lubrication. The compensation value can be determined based on the negative deviation of the tooth thickness E s n i . Consequently, the maximum value of the normal backlash caused by a pair of gears j b n 2 is
j b n 2 = ( E s n i 1 + E s n i 2 )
To determine the tooth thickness deviation, we must consider the compensation amount j n to adjust for the decrease in gear backlash resulting from gear machining and installation errors.
j n = f p t 1 cos α t 2 + f p t 2 cos α t 2 + F β 1 cos α n 2 + F β 2 cos α n 2 + f Σ δ sin α n 2 + f Σ β cos α n 2
where f p t 1 and f p t 2 represent the base pitch deviations of the gear, retrieved from the table; F β 1 and F β 2 denote the total helix deviations of the gear, also sourced from the table; f Σ δ and f Σ β indicate the parallelism deviations of the gear pair axes; α t and α n denote the end face angle and normal pressure angle of the gear, respectively, with values set at 0° and 20°.
Now we determine the parallelism error of each gear pair’s two gear axes individually, then choose the lesser value. The calculation equation is as follows:
f Σ β = 0.5 l b F β
f Σ δ = 2 f Σ β
where l denotes the bearing span; b represents the tooth width.
The empirical equation for the minimum normal backlash j b n m i n is as follows:
j b n m i n = 2 3 ( 0.06 + 0.0005 a i + 0.03 m n )
where a i is the minimum working center distance of the gear pair; m n is the normal module of the gear.
Combining Equations (3) and (6), the positive deviation of tooth thickness E s n s can be obtained.
E s n s = f α tan α n j b n m i n + j n 2 cos α n
Before computing the negative deviation of tooth thickness E s n i , it is essential to establish the tooth thickness tolerance T s n .
T s n = 2 tan α n F r 2 + b r 2
where F r is the radial runout tolerance, obtainable from the table, and b r is the radial cutting tolerance, obtainable from the table.
Calculate the negative deviation of tooth thickness E s n i by combining Equations (7) and (8).
E s n i = E s n s T s n
By simultaneously solving Equations (2) and (9), we can determine the maximum value of normal backlash j b n 2 . The eccentricity of the base circle and tooth profile errors can be collectively represented by the radial comprehensive error Δ F r ; the resulting gear backlash is j b n 3 .
j b n 3 = 2 Δ F r 1 + Δ F r 2 tan α n
where Δ F r 1 and Δ F r 2 are the comprehensive radial errors of the gear, obtainable from the table.
The calculations above yield the maximum normal backlash j b n m a x of a pair of meshing gears.
j b n m a x = j b n 1 + j b n 2 + j b n 3

2.2.2. The Calculation Model of Return Error of Gear Transmission

The return error of gear transmission B produced by each stage of gear pairs is determined by selecting the circumferential backlash j w t . The relationship between circumferential backlash j w t and normal backlash j b n is resolved as follows:
j w t = j b n cos α t cos β b
where α t represents the end face pressure angle and β b denotes the base helix angle, set at 0°.
The correlation between the return error of gear transmission B and the circumferential backlash j w t can be expressed as follows [33]:
B = j w t r × 1000 × 180 π
where r signifies the pitch circle radius of the follower gear.

2.3. Modeling of Car Trajectory

The trajectory of the car is the decisive factor in guiding the design of the cam. In MATLAB, a sixth-order B-spline curve [34,35] is derived using interpolation [36] to serve as the trajectory for the carbon-free car. The flexibility of the spline curve is paramount for facilitating the design of complex paths. However, constraints imposed by the car’s structure and the steering characteristics of the cam mechanism necessitate iterative refinement of the trajectory.
The trajectory curve of the car is discretized, with N points evenly distributed along the curve. The X and Y coordinates of these points are recorded as initial data. Combined with Equation (14), the curvature radius R 1 at each point is calculated. This trajectory represents the active wheel trajectory of the car, with the left wheel as the active wheel, so R 1 is the turning radius of the center point of the left wheel [32].
R 1 = ( 1 + y 2 ) 3 2 y

2.4. Car Steering State

The schematic diagram of the car’s mechanism is presented in Figure 4. The base circle radius of the cam, denoted as a, is defined by the distance from the camshaft to the front wheel center. The incremental displacement of the follower’s contact point relative to this base circle is the lift s. As illustrated in Figure 4b, the lift s takes a positive value during a right turn. Furthermore, the theoretical cam offset distance e represents the axial offset of the cam’s center plane relative to the front wheel center. The wheelbase L is the distance from the front wheel center to the drive shaft, and A1 denotes the driving wheel offset. The center of the front wheel is taken as the reference point A and the center of the curvature radius of the car at this position is taken as the reference point O; it is assumed that there is a vertical line of the drive shaft through the center of the front wheel, and the foot of the vertical line is taken as the reference point H.
The initial design parameters of the car are shown in Table 1. Among these, A 2 represents the offset distance of the right wheel, and r t stands for the follower’s radius.

2.5. The Theoretical Model of Cam Profile

Taking into account the thickness of cam C, the actual cam offset er represents the distance from the center point A of the front wheel to the cam plane, wherein the actual contact point F of the follower and the cam is situated [37].
e r = e + C 2       s < 0 e C 2       s 0
In the triangular AEF, the deflection angle β of the car follower in relation to the push stroke s is represented as follows:
t a n β = s e + C 2         ( s < 0 )       0               ( s = 0 ) s e C 2         ( s > 0 )
In the triangular AHO,
t a n β = L R
From Figure 4, we derive the connection between the steering radius R at reference point H and R 1 as follows:
R = R 1 + A 1 s 0 R 1 A 1 s > 0
The equations of the push stroke can be acquired from Equations (16)–(18) simultaneously, as stated below.
s = L × e + C 2 R 1 + A 1       s 0 L × e C 2 R 1 A 1       s > 0
By substituting the initial parameters of the carriage, we ascertain the cam stroke s, leading to the depiction of the resulting cam profile curve in Figure 5.

2.6. The Theoretical Model of Car Trajectory

Applying a forward calculation method for calculation, the designed cam profile curve is utilized to forwardly deduce the spliced running trajectory. Differential operations are conducted on the car’s motion to derive changes in the front wheel steering angle d β , cam angle d θ , and displacement variation in the driving wheel of the car d x within each differential motion interval. The motions within each interval are overlaid to generate the car’s motion trajectory curve.
The relationship between the cam angle variation d θ and displacement variation in the driving wheel of the car d x is as follows [37]:
d x 2 π R h i = d θ 360
The angle β turned by the carriage relative to its initial state can be determined by considering that the initial position of the active wheel center of the carriage is ( X 0 , Y 0 ), the initial angle formed by the direction of the car body and the X-axis is β 0 , and the linear velocity of the active wheel of the carriage is v 1 ; then, the angle β turned by the carriage relative to the initial state is [31]
β = s v 1 L e s C 2 s + s A 1 d x
The angle β 1 between the direction of the car body and the X-axis is
β 1 = β 0 + β
The formula describing the coordinates of the center point of the driving wheel ( x 1 , y 1 ) in motion is
x 1 y 1 = X 0 v 1 sin β d x Y 0 v 1 cos β d x
By referring to Equation (25) along with Figure 5, we can derive the expressions for the motion coordinates of the center point of the front wheel ( x 0 , y 0 ) and the center point of the driven wheel ( x 2 , y 2 ) [31]:
x 0 y 0 x 2 y 2 = x 1 L sin β + A 1 cos β y 1 L cos β + A 1 sin β x 1 + ( A 1 + A 2 ) cos β y 1 + ( A 1 + A 2 ) sin β

3. The Numerical Calculation Results of the Return Error of Gear Transmissions of Each Transmission Mechanism of the Car

Based on theoretical formulae, the backlash and return error in the multi-stage gear transmission were computed for the initial design. The car’s kinematic trajectory was simulated via MATLAB and contrasted with the original trajectory. This work also involved a systematic investigation into the influence of gear transmission errors on cam steering precision. The investigation yielded results for the original deflection error (in both travel and deflection angle), as well as the trajectories under three specific error scenarios: jumping error only, return error only, and the combined influence of both.

3.1. The Calculation Result of the Return Error of the Gear Transmission of the Three-Stage Gear Set Transmission

The car utilizes a three-stage spur gear transmission as its transmission mechanism, with a precision grade of 7. The relevant basic parameters are outlined in Table 2. By substituting the basic parameters outlined in Table 2 into Equations (1)–(13), the corresponding parameters for each gear pair can be derived as shown in Table 3.
The car’s transmission mechanism comprises a three-stage gear transmission. It is imperative to compute the cumulative impact of multiple gear pairs within the transmission chain, denoted as the comprehensive return error of gear transmission B Σ . The relationship between the comprehensive return error of gear transmission B Σ and the return error of the gear transmission of each stage gear pair B n is expressed as follows [33]:
B Σ = B n + B n 1 i n + B n 2 i n i n 1 + + B 1 i n i n 1 i 2 = j = 1 n B j i j n
i j n = k = j + 1 n i k
where i j n is the ratio from the driven shaft of the j -stage gear pair to the output shaft of the transmission chain, namely the transmission ratio to the camshaft.
By inputting the maximum return error of gear transmission of each gear pair into Equations (25) and (26), we derive the comprehensive return error of gear transmission B Σ = 0.962°.

3.2. Numerical Analysis of Car Trajectory

Figure 6 shows the comparison between the calculated trajectory of the car and the original trajectory. The calculated trajectories of the three wheels are three curves with equal spacing. Among them, the calculated trajectory of the front wheel coincides with the original trajectory when Y > 3 m, and there is a slight deviation when Y < 3 m. The reason is that the return error of gear transmission of the gear transmission affects the accuracy of the cam transmission, thus affecting the steering accuracy. The optimization of the cam profile can be used to improve the accuracy of the cam transmission, thereby improving the steering accuracy.

3.3. The Influence of the Return Error of Gear Transmission of the Gear Set Transmission on Cam Steering Accuracy

During transmission, the driven gear undergoes transmission torque T in the direction depicted in Figure 7a. This torque is utilized to oppose the load torque M applied by the follower, while maintaining the gear pair in a standard meshing state.
As the follower traverses the jump point, the negative torque exerted by the follower on the cam undergoes reversal, aligning with the transmission torque received by the driven gear, which is coaxial with the cam. Owing to the presence of gear backlash j b n , the driven gear experiences a slight angular displacement under the influence of the negative torque, equivalent to the comprehensive return error of the gear transmission B Σ calculated previously. This scenario, referred to as the jump return error of gear transmission, results in the disengagement of originally meshed teeth at the working surfaces, while the non-working surfaces come into contact with each other, as illustrated in the enlarged image in Figure 7b.
As the follower crosses the reverse point, the load torque applied by the follower to the cam opposes the driving torque exerted by the driven gear. This transition alters the meshing state of the gear pair from the configuration depicted in Figure 7b to the state illustrated in the partially enlarged view of Figure 7a, causing the driven gear to rotate slightly under the influence of the load torque. Let the return error of the gear transmission in this scenario be termed the reverse return error of the gear transmission.
As the driven gear is coaxial with the cam, the cam also undergoes a slight angular displacement, causing the follower to transition from position 1 to position 2. Consequently, the cam profile corresponding to this slight angle becomes invalid, as depicted in Figure 8. Given that the driven gear is coaxial with the cam, the cam also rotates by the same small angle. Consequently, the follower returns from position 3 to position 4, enabling the repeated action of the cam profile corresponding to the tiny angle, as depicted in Figure 8.
θ s t = θ t + B
where θ s t represents the cam angle after the jump and θ t represents the cam angle before the jump [26].
During the steering process of the cam, as the follower moves from the push stroke area to the return stroke area, the contact point between the follower and the cam becomes a jump point. Similarly, when the follower transitions from the return stroke area to the push stroke area, it becomes the reverse point, as depicted in Figure 9.
If a segment of the cam profile malfunctions, the follower’s swing angle in that section will not be imparted to the car’s actual moving path. When considering Equations (20) and (21), it becomes apparent that the original cumulative deflection angle of the car undergoes a change, represented as the jump deflection error β t , as depicted in Figure 9:
β t = θ t θ s t π R h i s v 1 180 L e s C 2 s + s A 1 d θ
where θ s h represents the cam angle after the reverse and θ h represents the theoretical cam angle before the reverse.
The repetitive action of the cam profile results in the corresponding deflection angle of the follower in this section of the profile curve being reflected twice in the trajectory of the car. Consequently, the actual original cumulative deflection angle of the car undergoes alteration, denoted as the reverse deflection error β h , as depicted in Figure 9.
θ s h = θ h B
β h = θ s h θ h π R h i s v 1 180 L e s C 2 s + s A 1 d θ
When the car crosses a jump point (or reverse point), its trajectory shifts to the left compared to the theoretical path. Subsequently, passing through the same point amplifies this deviation. With each additional encounter of jump points (or reverse points), the cumulative error effect grows, leading to increasingly significant deflection errors in the car’s path.
Table 4 illustrates the respective jump deflection error β t and reverse deflection error β h , and β z represents the original cumulative deflection error.
Through mathematical modeling, the effect of gear return error of gear transmission on the car trajectory was analyzed. However, qualitative analysis alone proved insufficient to clearly reveal this influence. Therefore, a MATLAB calculation was employed to generate the trajectory under the return error of gear transmission, which was then compared with the theoretical path. By plotting tangents at jump or reverse points on both trajectories, the angle between them was used to quantify the cumulative deviation error at these positions. This enabled a quantitative assessment of trajectory deviation.
The car’s pre-optimization trajectory is illustrated in Figure 10. Specifically, Figure 10a only considered the jump return error of gear transmission for trajectory calculation analysis; it was observed that the jump return error of gear transmission leads to the failure of the follower deflection angle φ corresponding to the cam contour segment, resulting in a reduced original cumulative deflection angle to the right, denoted as β t . Subsequent calculation trajectories deviate to the left, with the error increasing as the number of jumps increases. Figure 10b only incorporated the reverse return error of the gear transmission for trajectory calculation analysis. It was found that the reverse return error of the gear transmission causes repetitive action of the follower deflection angle φ corresponding to the cam contour segment, leading to an increased original cumulative deflection angle towards the left, denoted as β h . Subsequent calculation trajectories of the car deviate to the left.
Trajectory calculation analysis incorporating both the jump return error of the gear transmission and the reverse return error of the gear transmission was conducted. Throughout a motion cycle, the cam experiences three jump points and two reverse points, generating corresponding jump return and reverse return error of gear transmissions. The error accumulation effect is depicted in Figure 10c.

4. Optimization and Numerical Calculation of Cam Trajectory with Consideration of Return Error of Gear Transmission

To reduce the gear transmission return error and thereby optimize the steering accuracy of the cam, two methods were employed: adjusting the gear ratio and optimizing the cam profile. Furthermore, the synergistic effect of combining both methods was analyzed for a comprehensive optimization.

4.1. Optimization Measures

The optimization measures for the car trajectory include adjusting the gear ratio and optimizing the cam profile. Based on the above two optimization perspectives, the trajectory deviation of the car was analyzed. Among them, optimizing the cam profile was characterized by adjusting the peak and valley values of the push stroke at the jump and reverse points. The optimization process is shown in Figure 11.

4.1.1. Adjust the Transmission Ratio of the Gear Transmission

From Equation (20), the analysis reveals that the gear transmission backlash (return error) generated at each stage of the gear train is amplified by the transmission ratio of subsequent stages as it propagates toward the output shaft. Consequently, the backlash originating from the final gear pair has the most dominant effect on the resulting angular deviation of the output shaft. Therefore, if the structure allows, the transmission ratio of the last stage in the transmission chain should be increased to diminish the impact of the front stage’s return error of gear transmission on the output shaft angle. Without altering the total transmission ratio, the stage with the highest transmission ratio is positioned at the end; specifically, the transmission ratio at the third stage is 5. By substituting the modified transmission ratios of each stage into Equations (25) and (26), the optimized overall return error of the gear transmission B Σ = 0.724° is obtained, which is a reduction from the original overall return error of the gear transmission B Σ = 0.962°, as shown in Figure 12. The optimization of the cumulative deflection error β z after adjusting the transmission ratio is 24.74% compared to the original cumulative deflection error β z , as demonstrated in Figure 13. Adjusting the gear ratio effectively reduced the deflection error, but at the expense of requiring modifications to the overall structure, which complicated the gear set design process and made assembly more difficult.

4.1.2. Optimizing the Cam Profile

Given that mitigating the front stage’s return error of gear transmission solely through transmission ratio adjustment is constrained by structural and ratio suitability factors, a multi-faceted approach is required. Beyond increasing the rear stage transmission ratio, this solution also involves optimizing the peak and valley values of the push stroke at the jump and reverse points. This serves to minimize the resulting deflection error and thereby enhances the cam’s steering precision.
From Equation (21), it is observed that the absolute value of the stroke s is directly proportional to the deflection error induced by the return error of gear transmission. Consequently, with the return error of gear transmission remaining constant, the cam profile is optimized to smooth the fluctuations of the peak and valley values of the stroke at the jump and reverse points, as illustrated in Figure 14. This adjustment aims to diminish the impact of the return error of gear transmission on the deflection angle during the car’s operation, as depicted in Figure 15.
As shown in Figure 16, the optimization of the cam profile resulted in a 27.15% reduction in the deflection angle error compared to the original design, where both stroke and deflection angle are illustrated before and after optimization. Specifically, Figure 16a corresponds to the travel deviation before and after optimization shown in Figure 14, while Figure 16b corresponds to the deflection angle deviation before and after optimization shown in Figure 15. While the optimization of the cam profile significantly enhanced steering accuracy, this came with the drawback of a more intricate actual machining path and more demanding requirements for machining precision.

4.1.3. Comprehensive Optimization

Figure 17 shows the comparison of the optimization effect between the cumulative deflection error β z of the comprehensive optimized cam and the original cumulative deflection error β z . Combining the two optimization methods mentioned above, on the basis of transmission ratio optimization, the cam profile curve can be further optimized. In contrast to the cumulative deflection error of the comprehensive optimization result β Σ z , with the original cumulative deflection error β z , the comprehensive optimization effect reaches 45.31%. The optimization results are shown in Figure 17.

4.2. The Optimized Trajectory of the Car

The calculated trajectories generated in MATLAB (Code Location: Appendix A) using the pre- and post-optimization return error of gear transmissions enabled a clear visual comparison of the optimization effects. After adjusting the transmission ratio, the return error of gear transmission decreased, leading to a corresponding reduction in trajectory deviation, as shown in Figure 18a. Following cam optimization, the peak value of the push stroke was reduced, thereby weakening the correlation between jump deflection error and push stroke. This modification mitigated the influence of the return error of the gear transmission on steering accuracy, as illustrated in Figure 18b. By integrating both strategies, the return error of gear transmission and its associated deflection error were simultaneously reduced. The overall improvement is demonstrated in Figure 18c.
The calculation trajectories post-optimization of the transmission ratio, cam contour curve, and comprehensive optimization are presented in Figure 19a, Figure 19b, and Figure 19c, respectively, with optimization principles as described earlier.
The combined influence of both return error of gear transmissions results in a decreased actual right-turn amplitude of the car, while the left-turn amplitude increases, leading to a significant leftward deviation in the calculation trajectory. By combining the optimization strategies of adjusting the transmission ratio and optimizing the cam profile, the trajectory calculation of the vehicle was carried out. The calculation trajectories are shown in Figure 20a, Figure 20b, and Figure 20c, respectively.
From the calculation results, it is evident that, compared to the theoretical trajectory, the calculation trajectory affected by the return error of the gear transmission exhibits a more pronounced leftward offset. Through transmission ratio adjustment and cam profile optimization, the steering accuracy of the mechanism was considerably improved, leading to a 45.31% enhancement in overall performance.

5. Physical Production Test

To verify the conclusion’s feasibility, a series of experiments is conducted using a carbon-free car. The carbon-free car used in the experiment is shown in Figure 21. The experiment employs traditional mechanical design principles along with modern technical methods. The test involves precise control of the motor rotation duration via an STM32 series microcontroller (Manufacturer: Guangzhou Xingyi Electronic Technology Co., Ltd., Guangzhou, China), and employs an LM320B series high-precision electronic digital inclinometer (Manufacturer: UNI-TREND TECHNOLOGY (CHINA) CO., LTD., Dongguang, China) to measure the cam rotation angle; its measurement accuracy is 0.01°. Following data acquisition, the normal distribution is employed to calculate the mean, variance, confidence intervals, and other statistical measures. The specific experimental design details are presented below.
A car free of carbon emissions is operated by a small DC motor, which rotates at 60 revolutions per minute. The total transmission ratio for the three-stage gear set is designated as i = 45. The experiment was divided into three groups to test the cam’s smooth zone, jumping zone, and turning zone, respectively. Each group underwent 100 trials lasting 15 s each, and the average value was calculated to minimize experimental error. A controlled variable approach was adopted to mitigate the influence of factors such as motor speed deviation, vibration, and assembly inaccuracies on the carbon-free car, with the control group defined by the cam rotation angle in the smooth zone over a 15 s interval. For each test, the initial and final contact points between the cam and follower were recorded as points a1–a3 and b1–b3, corresponding to the three profile segments. The rotation angle of each segment (a1b1, a2b2, a3b3) was measured using a high-precision digital inclinometer. The principle of the experiment is shown in Figure 22.
A 95% confidence interval was calculated using the standard deviation of the experimental data and the normal distribution. The normal distribution probability density function is defined as follows [38]:
f x = 1 2 π σ e x μ 2 2 σ 2
σ = x 1 X ¯ 2 + x 2 X ¯ 2 + + x n X ¯ 2 n
( X ¯ σ n · u 1 0.95 2 , X ¯ + σ n · u 1 0.95 2 )
where n represents the number of experimental data, which is 100, μ represents the mathematical expectation, σ represents the standard deviation, X ¯ represents the average value, u is the critical value of the normal distribution, and u 1 0.95 2 can be obtained by referring to the table of u values of the normal distribution, which is 1.96.
The average values obtained from the three sets of test data are 113.37, 114.19, and 112.58, respectively. According to Equation (32), it is calculated that the standard deviations of the three groups of experimental data were 0.68, 0.68, and 0.69, respectively. When the standard deviation is known, the confidence interval with a 95% confidence level can be calculated using Equation (33). The corresponding confidence intervals were [113.24, 113.50], [114.06, 114.32], and [112.45, 112.71].
Based on the above calculation results, Figure 23 compares the average values of the angles obtained from the three groups of experiments with the optimized results. There is no difference in the gentle zone, while the differences in the jump zone and the reverse zone are 0.18% and 0.17%, respectively. The experimental findings validate that the jump return error of gear transmission and the reverse return error of gear transmission are authentic and approximate the values predicted by theoretical calculations.

6. Conclusions

This study investigated the cam steering mechanism in a carbon-free vehicle. Through theoretical modeling and MATLAB-based numerical analysis, the influence of gear transmission backlash on steering accuracy is evaluated. Furthermore, the cam profile and gear transmission ratio are optimized to mitigate the impact of backlash on the cam mechanism’s performance. The main conclusions of this work are summarized as follows:
(1)
The analysis of car motion facilitated the derivation of design and trajectory calculation concepts for the cam, and the construction of a mathematical model for gear return error of gear transmission, considering factors such as center distance and tooth thickness deviation. This foundation supports subsequent calculation and optimization efforts.
(2)
The comprehensive return error of gear transmission exhibits a negative correlation with the rear transmission ratio, while the deflection error induced by the return error of gear transmission shows a positive correlation with the peak and valley values of the push stroke. Consequently, a method to increase the rear transmission ratio and optimize the cam profile curve is proposed, aiming to diminish the impact of the return error of gear transmission on the steering accuracy of the car. The optimization results show that the deflection errors are reduced by 24.74% and 27.15%, respectively. Furthermore, comprehensive optimization resulted in a 45.31% reduction in cumulative deflection error.
(3)
The trajectory was calculated using MATLAB 2023b, which incorporated the return error of the gear transmission both before and after optimization. This analysis helped quantify the impact of the return error of gear transmission on the car’s trajectory, thereby corroborating the theoretical soundness of the optimization method. The validity of these findings was further confirmed through the construction and testing of a physical prototype. This study provides critical insights for the design, manufacturing, and trajectory calibration of equipment with complex motion paths. Beyond this, the proposed optimization method offers technical support for achieving precise motion control in broader applications requiring complex trajectories, such as in advanced machining and robotic guidance within automated production lines, thereby paving the way for its adoption in these fields.

Author Contributions

Conceptualization and writing—original draft preparation, L.S.; methodology, Y.Z.; software and project administration, A.L., R.Y. and L.Y.; writing—review and editing, Y.Z.; supervision, Y.Z. and A.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Natural Science Foundation of China (52175254) and the Project of Education Department of Hunan Province (HNJG-2022-0587).

Data Availability Statement

Data will be made available on request.

Acknowledgments

The authors have reviewed and edited the output and take full responsibility for the content of this publication.

Conflicts of Interest

The authors declare no conflicts of interest.

Nomenclature

symbolMeaning
N, nNumber of discretization points for trajectory and experimental data
a, R , R 1 , r t , R h , r Base, the steering, the curvature, the follower, the drive wheel radius, and the pitch circle radius of the driven gear
s / s Cam stroke before and after optimization
s t / s t Stroke range of the jumping points before and after optimization
s h / s h Cam stroke of the reversal point before and after optimization
e , e r Theoretical and actual cam offset
L , C Car length and the thickness of the cam
A 1 , A 2 Offset of the driving wheel and the driven wheel
β , β 0 , β 1 , β b Change in the direction of the vehicle body and the angle with respect to the x-axis during the cam rotation, as well as the base helix angle, set at 0°
d β , d θ Changes in the front wheel steering and the cam angle
v 1 / f α Linear velocity of the active wheel of the carriage/deviation
j bn 1 / j bn 2 / j bn 3 Backlash of the third-level gears
a i , Δ a Minimum working center distance of the gear pair and the upper deviation of the center distance limit tolerance
j n Compensation amount to adjust for the decrease in gear backlash resulting from gear machining and installation errors
f pt 1 , f pt 2 Base pitch deviations of the gear
F β 1 , F β 2 Total helix deviations of the gear
f Σ δ , f Σ β Parallelism deviations of the gear pair axes
α t , α n End face angle and normal pressure angle of the gear, respectively, with values set at 0° and 20°
l , b Bearing span and the tooth width
m n Normal module of the gear
E sni , E sns T sn Positive deviation, negative deviation, and tolerance of tooth thickness
F r , b r Radial runout and cutting tolerance
Δ F r 1 and Δ F r 2 Comprehensive radial errors of the gear
j bnmax , j bnmin Maximum and minimum normal backlash
j wt , j bn Circumferential backlash and the normal backlash
B, B n , B Σ , B Σ Return error of gear transmissions of each level of gears, and the return error of gear transmissions before and after comprehensive optimization
i , i jn Total gear ratio and camshaft transmission ratio
T , M Transmission torque borne by the driven gear and the resisting load torque
θ st / θ t / θ s h / θ h Cam angles before and after the jump and the flip
β t ,   β t ,   β t ,   β Σ t / β h ,   β h ,  
β h ,   β Σ h / β z ,   β z ,   β z ,   β Σ z
Angle error of jump/reverse/cumulative deflection before optimization, after adjusting the transmission ratio, after optimizing the cam profile, and after comprehensive optimization
σ, X ¯ ,u,μParameters in the normal distribution, including standard deviation, mean, normal distribution critical value, and mathematical expectation

Appendix A

MATLAB code discussed in Section 4:
clc,clf,clear
%Basic Car’ Parameters
L=166.65;
a1=37;
a2=201.6;
a=25.1;           %Cam Offset
base=70;           %Base Circle Radius
ml=a1+0.5*a2-20;    %Sensor Offset Distance
th=2.5;            %Rocker Arm Diameter
tu=2.7;            %Cam Thickness
CDB=48;          %Transmission Ratio
i=3603;           %Insertion Points
u=1;
v=9;
p_feel=1;
%Plot Site Information
figure(1)
fig.Position=[50,200,800,800];
D=u*[7450+250,950+50];rectangle('Position',[D(1)-50,D(2)-50,100,100],'curvature',[1,1],'FaceColor','red');
hold on,axis equal
D=u*[5950,500];rectangle('Position',[D(1)-50,D(2)-50,100,100],'curvature',[1,1],'FaceColor','red');
D=u*[4200,250];rectangle('Position',[D(1)-50,D(2)-50,100,100],'curvature',[1,1],'FaceColor','red');
D=u*[3300,600];rectangle('Position',[D(1)-50,D(2)-50,100,100],'curvature',[1,1],'FaceColor','red');%
D=u*[3150,1600];rectangle('Position',[D(1)-50,D(2)-50,100,100],'curvature',[1,1],'FaceColor','red');
D=u*[2720,2700];rectangle('Position',[D(1)-50,D(2)-50,100,100],'curvature',[1,1],'FaceColor','red');
D=u*[600,2950];rectangle('Position',[D(1)-50,D(2)-50,100,100],'curvature',[1,1],'FaceColor','red');
D=u*[700,4300];rectangle('Position',[D(1)-50,D(2)-50,100,100],'curvature',[1,1],'FaceColor','red');
D=u*[1700,6000];rectangle('Position',[D(1)-50,D(2)-50,100,100],'curvature',[1,1],'FaceColor','red');
D=u*[2300,7000];rectangle('Position',[D(1)-50,D(2)-50,100,100],'curvature',[1,1],'FaceColor','red');
D=u*[4000,7510];rectangle('Position',[D(1)-50,D(2)-50,100,100],'curvature',[1,1],'FaceColor','red');
D=u*[6703.79,7200];rectangle('Position',[D(1)-50,D(2)-50,100,100],'curvature',[1,1],'FaceColor','red');
D=[4000,4000];rectangle('Position',[D(1)-4000,D(2)-4000,8000,8000],'curvature',[0,0]);
x00=[7450+250,5950,4200+30,3300+80,3150-30,2800-190,600+200,700,1700-30,2300+50,4000,6703.79];
y00=[950+50,500,250,600+20,1600,2700-180,2950+80,4300+50,6000,7000-80,7500+10,7200];
p=[x00;y00]
%Fit Trajectory Using Cubic Spline Curve
x=linspace(300,3750,12);
cs=csape(x,p,[1,2]);
yy=ppval(cs,linspace(x(1),x(end),i));
plot(yy(1,:),yy(2,:),'G','LineWidth',1);
title('Trajectory Planning Diagram');
xlabel('X/mm');
ylabel('Y/mm');
hold on
x0=yy(1,:);y0=yy(2,:);
%Offset to Obtain Drive Wheel Trajectory
dx0=diff(x0);dy0=diff(y0);
y01=dy0./dx0;
x0(end)=[];y0(end)=[];
char_x1=get_char(dx0);char_y1=get_char(dy0);
k_y=char_y1.*abs(y01./sqrt(1+y01.^2));k_x=char_x1.*abs(1./sqrt(1+y01.^2));
pos_x1=x0-p_feel.*k_y*ml;pos_y1=y0+p_feel.*k_x*ml;
posx_car=pos_x1-k_x*L;posy_car=pos_y1-k_y*L;
posx_carl=x0-k_y*ml;posy_carl=y0+k_x*ml;
X=posx_carl;Y=posy_carl;%Drive Wheel on the Left

plot(X,Y,'K','LineWidth',1);

%Calculate Cam Profile from Drive Wheel Trajectory
dx=diff(X);dy=diff(Y);
xx=diff(dx);yy=diff(dy);
xx(end+1)=xx(end);yy(end+1)=yy(end);

rho=abs(((dx.^2+dy.^2).^(3/2))./(dx.*yy-xx.*dy));%Calculate Radius of Curvature
[A,b]=findpeaks(rho);
c=find(A<10^4);
b(c)=[];
b=[0,b];
b(2)=[];

acell = cell(size(b,2),1);
char_peaks=[];
for o=1:size(b,2)-1
   acell{o} = (-1)^o*ones(1,b(o+1)-b(o));
   char_peaks=[char_peaks,acell{o}];
end
acell_end=(-1)^(size(b,2))*ones(1,(i-2)-size(char_peaks,2));
char_peaks=[char_peaks,acell_end];
%%%%%%%
rho=-char_peaks.*rho;
delta_d=((a.*L)./(rho-a1));        %Cam Lift Calculation
% delta_d=((a.*L)./(rho+a2));        %Drive Wheel on the Right

figure(3)
fig.Position=[100,200,2500,800];
[f,fi]=findpeaks(delta_d);      %Find the Peak Value of the Stroke
fan_delta_d=10-delta_d;
[Down,di]=findpeaks(fan_delta_d); %Find the Valley Value of the Stroke
n3=size(delta_d,2);
z3=linspace(0,360,n3);
di(1)=[];
plot(z3,delta_d,z3(fi),delta_d(fi),'go',z3(di),delta_d(di),'ro','LineWidth',1)
title('Cam Stroke Diagram');
xlabel('Rotation Angle/°');
ylabel('Stroke/mm');

d=delta_d+base;
ds=sqrt(dx.^2+dy.^2);
dts=sqrt(dx0.^2+dy0.^2);
ts=sum(dts);
s=cumsum(ds);      %Segmented Cumulative Sum
total_s=sum(ds)      %Cumulative Sum
theta=2*pi*s./total_s;
d(:,end)=d(:,1);
theta(:,end)=theta(:,1);
angle01=theta./2./pi.*360;
t_delta_d=[delta_d(fi),delta_d(di)];
figure(2)
p=0.5.*th;          %Follower Radius
for i=1:size(d,2)
  if delta_d(i)>=0
    db(i)=d(i)-(p*sqrt(a^2+delta_d(i)^2)/a);
  else
    db(i)=delta_d(i).*(a+tu)./a+base-(p*sqrt((a+tu)^2+(delta_d(i).*(a+tu)./a)^2)/(a+tu));
  end
  i=i+1;
end
polarplot(theta,d,theta,db,'R','LineWidth',0.75) %Plot Theoretical Cam Profile And Plot Actual Cam Profile
title('Cam Design Drawing');
% gtext('Blue Line - Theoretical Cam');
% gtext('Red Line - Actual Cam');
hold off
%%%%%%%
x=db.*cos(theta);x=x';
y=db.*sin(theta);y=y';  %Transpose Row Vector to Column Vector
zeros=x.*0;
coord=[x,y,zeros];
%
writematrix(coord,'D:\Program Files\Polyspace\R2021a\bin\xyz.txt')

%%%%%%%%%%%%%%%%%Calculate Pressure Angle
aa=(diff(delta_d)./diff(theta));
bb=delta_d+0.5*db;
bb(end)=[];
Yalijiao=atand(aa./(bb));
[B,m]=findpeaks(Yalijiao);
Yalijiao(m)=[];
% [D,min]=findpeaks(Yalijiao,'minpeakheight',-10);
% t=find(Yalijiao>45);
Yalijiao=-Yalijiao;
[d,m1]=findpeaks(Yalijiao); %Minimum Value of Pressure Angle
Yalijiao(m1)=[];
Yalijiao=-Yalijiao;

% figure(4)
% % subplot(2,1,1)
% % n1=size(Yalijiao,2);
% % z1=linspace(0,360,n1);
% % % plot(z1,Yalijiao)
% % plot(z1,Yalijiao)
% % title('Cam Pressure Angle Diagram');
% % xlabel('Rotation Angle/°');
% % ylabel('Pressure Angle/°');
% %%%%%Follower Swing Angle
% subplot(2,1,1)
% fai=atand(delta_d./a);
% n2=size(fai,2);
% z2=linspace(1,n2,n2);
% plot(z2,fai)
% title('Front Wheel Steering Angle Diagram');
% xlabel('θ/°');
% ylabel('Steering Angle/°');
% hold on
% subplot(2,1,2)
% sum_fai=cumsum(fai);
% n3=size(sum_fai,2);
% z3=linspace(1,n3,n3);
% plot(z3,sum_fai)
% % [F,s_fai]=thsum_fai(fai,fi(1),12);
% hold off
%%%%%%Trajectory Simulation
figure(5)
xl=abs((X(72)-X(1)).\(Y(72)-Y(1)));  %Calculate Slope
Q=atand(xl);            %Initial Heading Angle
real_angle=atan(xl)*180/pi;
angle=pi-atan(xl);
direction0=angle;
delta_direction=ds./rho;
direction=direction0+cumsum(delta_direction);
delta_realX=ds.*cos(direction);
delta_realY=-ds.*sin(direction);
realX0=X(1);realY0=Y(1);
realX=realX0+cumsum(delta_realX);
realY=realY0+cumsum(delta_realY);
realX=[realX0,realX];realY=[realY0,realY];
plot(realX,realY,'K','LineWidth',1)
% plot(realX,realY,'K',realX(fi),realY(fi),'*',realX(di),realY(di),'*','LineWidth',1)
% plot(realX,realY,'G',X,Y,'R')
title('Trajectory Simulation Plot');
xlabel('X/mm');
ylabel('Y/mm');
hold on
%%%%%%%%Derive Tangent Equation at a Point and Plot
% %%%Jump Point
% x001=realX(fi(3)+v+1);
% y001=realY(fi(3)+v+1);
% plot(x001,y001,'*','LineWidth',1)
% hold on
% f=diff(realY)./diff(realX);
% m1=f(fi(3)+v+1);
% y=m1*realX-m1*x001+y001;
% plot(realX,y,'g')
% hold on
% x003=realX(fi(2)+v+1);
% y003=realY(fi(2)+v+1);
% plot(x003,y003,'*','LineWidth',1)
% hold on
% f=diff(realY)./diff(realX);
% m3=f(fi(2)+v+1);
% y=m3*realX-m3*x003+y003;
% plot(realX,y,'g')
% hold on
% x005=realX(fi(1)+v+1);
% y005=realY(fi(1)+v+1);
% plot(x005,y005,'*','LineWidth',1)
% hold on
% f=diff(realY)./diff(realX);
% m5=f(fi(1)+v+1);
% y=m5*realX-m5*x005+y005;
% plot(realX,y,'g')
% hold on
% xlim([-1000 8000])
% ylim([0 8000])
%%%%Reverse Point
x007=realX(di(2)+1);
y007=realY(di(2)+1);
plot(x007,y007,'*','LineWidth',1)
hold on
f=diff(realY)./diff(realX);
m7=f(di(2)+1);
y=m7*realX-m7*x007+y007;
plot(realX,y,'g')
hold on
x009=realX(di(1)+1);
y009=realY(di(1)+1);
plot(x009,y009,'*','LineWidth',1)
hold on
f=diff(realY)./diff(realX);
m9=f(di(1)+1);
y=m9*realX-m9*x009+y009;
plot(realX,y,'g')
xlim([-1000 8000])
ylim([0 8000])

s_direction=0;
Ai=[];
n5=size(fi,2);
for n=1:n5
   for i=1:9
   Ai=[Ai,delta_direction(fi(n)+i)];
   s_direction=s_direction+delta_direction(fi(n)+i);
   end
end
Ai=180.*Ai./pi;
ai=reshape(Ai,9,3);
ss=sum(ai,1);

ss_direction=0;
Bi=[];
n5=size(di,2);
for n=1:n5
   for i=1:9
   Bi=[Bi,delta_direction(di(n)+i)];
   s_direction=ss_direction+delta_direction(di(n)+i);
   end
end
Bi=180.*Bi./pi;
bi=reshape(Bi,9,2);
SS=sum(bi,1);

dx=diff(realX);dy=diff(realY);
y1=dy./dx;
k=abs(y1);
char_dx=get_char(dx);char_dy=get_char(dy);
k_y=char_dy.*abs(k./sqrt(1+k.^2));   %sinɑ,ɑ is the Vehicle Yaw Angle
k_x=char_dx.*abs(1./sqrt(1+k.^2));   %cosɑ
realX(end)=[];realY(end)=[];
posx_car=realX+k_y*ml;posy_car=realY-k_x*ml;
posx_carr=realX+k_y*(a1+a2);posy_carr=realY-k_x*(a1+a2);
% plot(posx_car,posy_car,'K',posx_carr,posy_carr,'G','LineWidth',1)

posx_car=realX+k_y*ml;posy_car=realY-k_x*ml;
posx_carl=realX+k_y*(a1+a2);posy_carr=realY-k_x*(a1+a2);

% %%%%%%%%%%%%%Point Removal Operation
% % delta_d(fi(3)+12)=[];%%%
% % delta_d(fi(3)+11)=[];%%%
% % delta_d(fi(3)+10)=[];%%%
% delta_d(fi(3)+9)=[];%%%
% delta_d(fi(3)+8)=[];%%%
% delta_d(fi(3)+7)=[];%%%
% delta_d(fi(3)+6)=[];%%%
% delta_d(fi(3)+5)=[];%%%
% delta_d(fi(3)+4)=[];%%%
% delta_d(fi(3)+3)=[];%%%
% delta_d(fi(3)+2)=[];%%%
% delta_d(fi(3)+1)=[];%%%

% % delta_d(fi(2)+12)=[];%%%
% % delta_d(fi(2)+11)=[];%%%
% % delta_d(fi(2)+10)=[];%%%
% delta_d(fi(2)+9)=[];%%%
% delta_d(fi(2)+8)=[];%%%
% delta_d(fi(2)+7)=[];%%%
% delta_d(fi(2)+6)=[];%%%
% delta_d(fi(2)+5)=[];%%%
% delta_d(fi(2)+4)=[];%%%
% delta_d(fi(2)+3)=[];%%%
% delta_d(fi(2)+2)=[];%%%
% delta_d(fi(2)+1)=[];%%%
% % 
% % delta_d(fi(1)+12)=[];%%%
% % delta_d(fi(1)+11)=[];%%%
% % delta_d(fi(1)+10)=[];%%%
% delta_d(fi(1)+9)=[];%%%
% delta_d(fi(1)+8)=[];%%%
% delta_d(fi(1)+7)=[];%%%
% delta_d(fi(1)+6)=[];%%%
% delta_d(fi(1)+5)=[];%%%
% delta_d(fi(1)+4)=[];%%%
% delta_d(fi(1)+3)=[];%%%
% delta_d(fi(1)+2)=[];%%%
% delta_d(fi(1)+1)=[];%%%

% d=delta_d+base;

% % ds(fi(3)+12)=[];%%%
% % ds(fi(3)+11)=[];%%%
% % ds(fi(3)+10)=[];%%%
% ds(fi(3)+9)=[];%%%
% ds(fi(3)+8)=[];%%%
% ds(fi(3)+7)=[];%%%
% ds(fi(3)+6)=[];%%%
% ds(fi(3)+5)=[];%%%
% ds(fi(3)+4)=[];%%%
% ds(fi(3)+3)=[];%%%
% ds(fi(3)+2)=[];%%%
% ds(fi(3)+1)=[];%%%

% % ds(fi(2)+12)=[];%%%
% % ds(fi(2)+11)=[];%%%
% % ds(fi(2)+10)=[];%%%
% ds(fi(2)+9)=[];%%%
% ds(fi(2)+8)=[];%%%
% ds(fi(2)+7)=[];%%%
% ds(fi(2)+6)=[];%%%
% ds(fi(2)+5)=[];%%%
% ds(fi(2)+4)=[];%%%
% ds(fi(2)+3)=[];%%%
% ds(fi(2)+2)=[];%%%
% ds(fi(2)+1)=[];%%%

% % ds(fi(1)+12)=[];%%%
% % ds(fi(1)+11)=[];%%%
% % ds(fi(1)+10)=[];%%%
% ds(fi(1)+9)=[];%%%
% ds(fi(1)+8)=[];%%%
% ds(fi(1)+7)=[];%%%
% ds(fi(1)+6)=[];%%%
% ds(fi(1)+5)=[];%%%
% ds(fi(1)+4)=[];%%%
% ds(fi(1)+3)=[];%%%
% ds(fi(1)+2)=[];%%%
% ds(fi(1)+1)=[];%%%

% s=cumsum(ds);    %
% total_s=sum(ds)    %
% theta=2*pi*s./total_s;
% d(:,end)=d(:,1);
% theta(:,end)=theta(:,1);
% angle01=theta./2./pi.*360;
% % 
% %%%%%%%%%%%%%Trajectory Simulation after Point Removal
% % rho(fi(3)+12)=[];%%%
% % rho(fi(3)+11)=[];%%%
% % rho(fi(3)+10)=[];%%%
% rho(fi(3)+9)=[];%%%
% rho(fi(3)+8)=[];%%%
% rho(fi(3)+7)=[];%%%
% rho(fi(3)+6)=[];%%%
% rho(fi(3)+5)=[];%%%
% rho(fi(3)+4)=[];%%%
% rho(fi(3)+3)=[];%%%
% rho(fi(3)+2)=[];%%%
% rho(fi(3)+1)=[];%%%

% % rho(fi(2)+12)=[];%%%
% % rho(fi(2)+11)=[];%%%
% % rho(fi(2)+10)=[];%%%
% rho(fi(2)+9)=[];%%%
% rho(fi(2)+8)=[];%%%
% rho(fi(2)+7)=[];%%%
% rho(fi(2)+6)=[];%%%
% rho(fi(2)+5)=[];%%%
% rho(fi(2)+4)=[];%%%
% rho(fi(2)+3)=[];%%%
% rho(fi(2)+2)=[];%%%
% rho(fi(2)+1)=[];%%%

% % rho(fi(1)+12)=[];%%%
% % rho(fi(1)+11)=[];%%%
% % rho(fi(1)+10)=[];%%%
% rho(fi(1)+9)=[];%%%
% rho(fi(1)+8)=[];%%%
% rho(fi(1)+7)=[];%%%
% rho(fi(1)+6)=[];%%%
% rho(fi(1)+5)=[];%%%
% rho(fi(1)+4)=[];%%%
% rho(fi(1)+3)=[];%%%
% rho(fi(1)+2)=[];%%%
% rho(fi(1)+1)=[];%%%

% delta_direction00=ds./rho;
% direction00=direction0+cumsum(delta_direction00);
% delta_realX00=ds.*cos(direction00);
% delta_realY00=-ds.*sin(direction00);
% realX0=X(1);realY0=Y(1);
% realX=realX0+cumsum(delta_realX00);
% realY=realY0+cumsum(delta_realY00);
% realX1=[realX0,realX];realY1=[realY0,realY];
% % plot(realX1,realY1,'--',realX1(fi(2)-v),realY1(fi(2)-v),'*',realX1(fi(3)-2*v),realY1(fi(3)-2*v),'*','LineWidth',1)
% plot(realX1,realY1,'--','LineWidth',1)

% x002=realX1(fi(3)-2*v+1);
% y002=realY1(fi(3)-2*v+1);
% plot(x002,y002,'*','LineWidth',1)
% hold on
% f=diff(realY1)./diff(realX1);
% m2=f(fi(3)-2*v+1);
% y=m2*realX1-m2*x002+y002;
% fai2=180*(atan(m2)-atan(m1))/pi
% plot(realX1,y,'g')
% hold on
% x004=realX1(fi(2)-v+1);
% y004=realY1(fi(2)-v+1);
% plot(x004,y004,'*','LineWidth',1)
% hold on
% f=diff(realY1)./diff(realX1);
% m4=f(fi(2)-v+1);
% y=m4*realX1-m4*x004+y004;
% fai4=180*(atan(m4)-atan(m3))/pi
% plot(realX1,y,'g')
% hold on
% x006=realX1(fi(1)+1);
% y006=realY1(fi(1)+1);
% plot(x006,y006,'*','LineWidth',1)
% hold on
% f=diff(realY1)./diff(realX1);
% m6=f(fi(1)+1);
% y=m6*realX1-m6*x006+y006;
% fai6=180*(atan(m6)-atan(m5))/pi
% plot(realX1,y,'g')
% hold off
%%%%%%%%%%%%Repeated Pathing Simulation
% delta_d2=double_down(delta_d,di(2),1);%%%
% delta_d1=double_down(delta_d2,di(2),1);%%%
% delta_d=double_down(delta_d1,di(2),1);%%%delta_d2=double_down(delta_d,di,1);%%%
delta_d2=double_down(delta_d,di(2),1);%%%
delta_d1=double_down(delta_d2,di(2),1);%%%
delta_d=double_down(delta_d1,di(2),1);%%%delta_d2=double_down(delta_d,di,1);%%%
delta_d2=double_down(delta_d,di(2),1);%%%
delta_d1=double_down(delta_d2,di(2),1);%%%
delta_d=double_down(delta_d1,di(2),1);%%%delta_d2=double_down(delta_d,di,1);%%%
delta_d2=double_down(delta_d,di(2),1);%%%
delta_d1=double_down(delta_d2,di(2),1);%%%
delta_d=double_down(delta_d1,di(2),1);%%%delta_d2=double_down(delta_d,di,1);%%%

% delta_d2=double_down(delta_d,di(1),1);%%%
% delta_d1=double_down(delta_d2,di(1),1);%%%
% delta_d=double_down(delta_d1,di(1),1);%%%delta_d2=double_down(delta_d,di,1);%%%
delta_d2=double_down(delta_d,di(1),1);%%%
delta_d1=double_down(delta_d2,di(1),1);%%%
delta_d=double_down(delta_d1,di(1),1);%%%delta_d2=double_down(delta_d,di,1);%%%
delta_d2=double_down(delta_d,di(1),1);%%%
delta_d1=double_down(delta_d2,di(1),1);%%%
delta_d=double_down(delta_d1,di(1),1);%%%delta_d2=double_down(delta_d,di,1);%%%
delta_d2=double_down(delta_d,di(1),1);%%%
delta_d1=double_down(delta_d2,di(1),1);%%%
delta_d=double_down(delta_d1,di(1),1);%%%delta_d2=double_down(delta_d,di,1);%%%
d4=delta_d+base;

% ds2=double_down(ds,di(2),1);%%%
% ds1=double_down(ds2,di(2),1);%%%
% ds=double_down(ds1,di(2),1);%%%
ds2=double_down(ds,di(2),1);%%%
ds1=double_down(ds2,di(2),1);%%%
ds=double_down(ds1,di(2),1);%%%
ds2=double_down(ds,di(2),1);%%%
ds1=double_down(ds2,di(2),1);%%%
ds=double_down(ds1,di(2),1);%%%
ds2=double_down(ds,di(2),1);%%%
ds1=double_down(ds2,di(2),1);%%%
ds=double_down(ds1,di(2),1);%%%

% ds2=double_down(ds,di(1),1);%%%
% ds1=double_down(ds2,di(1),1);%%%
% ds=double_down(ds1,di(1),1);%%%
ds2=double_down(ds,di(1),1);%%%
ds1=double_down(ds2,di(1),1);%%%
ds=double_down(ds1,di(1),1);%%%
ds2=double_down(ds,di(1),1);%%%
ds1=double_down(ds2,di(1),1);%%%
ds=double_down(ds1,di(1),1);%%%
ds2=double_down(ds,di(1),1);%%%
ds1=double_down(ds2,di(1),1);%%%
ds=double_down(ds1,di(1),1);%%%

s4=cumsum(ds);    %
total_s=sum(ds)    %
theta4=2*pi*s4./total_s;
d4(:,end)=d(:,1);
theta4(:,end)=theta(:,1);

% rho2=double_down(rho,di(2),1);%%%
% rho1=double_down(rho2,di(2),1);%%%
% rho=double_down(rho1,di(2),1);%%%
rho2=double_down(rho,di(2),1);%%%
rho1=double_down(rho2,di(2),1);%%%
rho=double_down(rho1,di(2),1);%%%
rho2=double_down(rho,di(2),1);%%%
rho1=double_down(rho2,di(2),1);%%%
rho=double_down(rho1,di(2),1);%%%
rho2=double_down(rho,di(1),1);%%%
rho1=double_down(rho2,di(1),1);%%%
rho=double_down(rho1,di(1),1);%%%

% rho2=double_down(rho,di(1),1);%%%
% rho1=double_down(rho2,di(1),1);%%%
% rho=double_down(rho1,di(1),1);%%%
rho2=double_down(rho,di(1),1);%%%
rho1=double_down(rho2,di(1),1);%%%
rho=double_down(rho1,di(1),1);%%%
rho2=double_down(rho,di(1),1);%%%
rho1=double_down(rho2,di(1),1);%%%
rho=double_down(rho1,di(1),1);%%%
rho2=double_down(rho,di(1),1);%%%
rho1=double_down(rho2,di(1),1);%%%
rho=double_down(rho1,di(1),1);%%%

delta_direction4=ds./rho;%%%%%%%%%
direction4=direction0+cumsum(delta_direction4);
delta_realX4=ds.*cos(direction4);
delta_realY4=-ds.*sin(direction4);
realX0=X(1);realY0=Y(1);
realX4=realX0+cumsum(delta_realX4);
realY4=realY0+cumsum(delta_realY4);
realX4=[realX0,realX4];realY4=[realY0,realY4];
% plot(realX4,realY4,'G',realX4(fi),realY4(fi),'*',realX4(di),realY4(di),'*','LineWidth',1)
plot(realX4,realY4,'--','LineWidth',1)
x008=realX4(di(2)+2*v+1);
y008=realY4(di(2)+2*v+1);
plot(x008,y008,'*','LineWidth',1)
hold on
f=diff(realY4)./diff(realX4);
m8=f(di(2)+2*v+1);
y=m8*realX4-m8*x008+y008;
fai8=180*(atan(m8)-atan(m7))/pi
plot(realX4,y,'k')
hold on
x010=realX4(di(1)+v+1);
y010=realY4(di(1)+v+1);
plot(x010,y010,'*','LineWidth',1)
hold on
f=diff(realY4)./diff(realX4);
m10=f(di(1)+v+1);
y=m10*realX4-m10*x010+y010;
fai10=180*(atan(m10)-atan(m9))/pi
plot(realX4,y,'r')
hold off
figure(6)
subplot(2,1,1)
delta_direction=180.*delta_direction./pi;
n6=size(delta_direction,2);
z6=linspace(0,360,n6);
y0=0;
plot(z6,delta_direction,'k','LineWidth',1)
hold off

References

  1. Cheng, Z.; Yang, J.; Sun, J.; Zhao, L. Trajectory Planning of Unmanned Aerial Vehicles in Complex Environments Based on Intelligent Algorithm. Drones 2025, 9, 468. [Google Scholar] [CrossRef] [Scilit]
  2. Han, Z.; Tian, M.; Gongye, Z.; Xue, D.; Xing, J.; Wang, Q.; Gao, Y.; Wang, J.; Xu, C.; Gao, F. Hierarchically depicting vehicle trajectory with stability in complex environments. Sci. Robot. 2025, 10, 4551. [Google Scholar] [CrossRef] [Scilit]
  3. Gong, L.; Li, L.; Zhang, L.; Zhang, B.; Zheng, D.; Li, N. Pseudo-random and dynamic selective trajectories generation for mid-spatial frequency error rapid convergence. Precis. Eng. 2025, 97, 572–594. [Google Scholar] [CrossRef] [Scilit]
  4. Liu, L.; Sun, M.; Zhao, E.; Zhu, K. Three-Dimensional Dynamic Trajectory Planning for Autonomous Underwater Robots Under the PPO-IIFDS Framework. J. Mar. Sci. Eng. 2025, 13, 445. [Google Scholar] [CrossRef] [Scilit]
  5. Chen, G.; Yuan, S.; Zhang, Z.; Liang, X. Multi-UAV collaborative trajectory planning for non-cooperative target tracking in complex environment. Proc. Inst. Mech. Eng. Part G J. Aerosp. Eng. 2025, 239, 1423–1439. [Google Scholar] [CrossRef] [Scilit]
  6. Bi, G.; Lu, L.; Zhang, L.; Fan, C.; Sun, L. High-precision trajectory calibration for robot surface machining by meta-heuristic search algorithm from local error in machining area. Int. J. Adv. Manuf. Technol. 2025, 138, 2281–2295. [Google Scholar] [CrossRef] [Scilit]
  7. Ma, X.; Wang, X.; Zhang, H.; Li, H. The teaching application of the backward design method in Chinese national undergraduate engineering training integration ability competition: Take the double 8 carbon-free car as an example. Appl. Sci. 2023, 13, 8829. [Google Scholar] [CrossRef] [Scilit]
  8. Wang, H.; Shang, L.; Tang, D.; Li, Z. Research themes, evolution trends, and future challenges in China’s carbon emission studies. Sustainability 2024, 16, 2080. [Google Scholar] [CrossRef] [Scilit]
  9. He, R.H.; Xiao, J.C.; Du, K.Q.; Yue, J.H.; Lan, M.H. Structural Design and Analysis of S-Ring Carbon-Free Cars. J. Mach. Des. 2023, 40, 48–54. [Google Scholar]
  10. Chen, Y.N.; Hsu, K.L. Necessary and Sufficient Design Conditions for Overconstrained Cam Mechanisms With Flat-Faced and Roller Follower. J. Mech. Robot. 2025, 17, 075002. [Google Scholar] [CrossRef] [Scilit]
  11. Català, P.; Veciana, J.M.; Jordi, L. Energy loss comparison between kinematically equivalent mechanisms: Slider-crank and eccentric cam. Mech. Based Des. Struct. Mach. 2024, 52, 9435–9457. [Google Scholar] [CrossRef] [Scilit]
  12. Merticaru, E.; Merticaru, V.; Nagîț, G.; Mihalache, A.M.; Tăbăcaru, L.L.; Rîpanu, M.I. Analytical, numerical and experimental analysis of a positive displacement cam mechanism—A case study. Machines 2023, 11, 770. [Google Scholar] [CrossRef] [Scilit]
  13. Iriarte, X.; Bacaicoa, J.; Plaza, A.; Aginaga, J. A unified analytical disk cam profile generation methodology using the Instantaneous Center of Rotation for educational purpose. Mech. Mach. Theory 2024, 196, 105625. [Google Scholar] [CrossRef] [Scilit]
  14. Zhou, C.; Hu, B.; Chen, S.; Ma, L. Design and analysis of high-speed cam mechanism using Fourier series. Mech. Mach. Theory 2016, 104, 118–129. [Google Scholar] [CrossRef] [Scilit]
  15. Pozo-Palacios, J.; Fulbright, N.J.; Voth, J.A.; Van de Ven, J.D. Comparison of forward and inverse cam generation methods for the design of cam-linkage mechanisms. Mech. Mach. Theory 2023, 190, 105465. [Google Scholar] [CrossRef] [Scilit]
  16. Lan, W.; Fan, S.; Fan, S. Analysis of structural design defects in parallel overloading mechanisms with cam transmission mechanism. Appl. Math. Model. 2022, 107, 717–739. [Google Scholar] [CrossRef] [Scilit]
  17. Yang, Y.; Xie, R.; Wang, J.; Tao, S. Design of a novel coaxial cam-linkage indexing mechanism. Mech. Mach. Theory 2022, 169, 104681. [Google Scholar] [CrossRef] [Scilit]
  18. Zheng, X.; Zhao, H.; Zhang, S.; Liu, D.; Wang, B. Design Method of Cam Steering Mechanism Based on Path Fitting. Processes 2024, 12, 1037. [Google Scholar] [CrossRef] [Scilit]
  19. Wang, C.; Peng, W. Optimization design for reliability of the oscillating follower disk cam mechanism based on improved hunter-prey optimization algorithm. IEEE Access 2024, 12, 182532–182546. [Google Scholar] [CrossRef] [Scilit]
  20. Zhu, G.; Wang, Y.; Zhu, G.-N.; Weng, M.; Liu, J.; Zhou, J.; Lu, B. Parameter optimization of large-size high-speed cam-linkage mechanism for kinematic performance. Actuators 2022, 12, 2. [Google Scholar] [CrossRef] [Scilit]
  21. Kang, Y.-H.; Huang, H.-C.; Yang, B.-Y. Optimal design and dynamic analysis of a spring-actuated cam-linkage mechanism in a vacuum circuit breaker. Machines 2023, 11, 150. [Google Scholar] [CrossRef] [Scilit]
  22. Li, M.; Liang, R.; Zhang, Y.; Peng, C.; Mu, D.; Wan, Z. On-line measurement method of transmission backlash based on angular velocity and double-end angular position information. Meas. Control 2021, 54, 65–72. [Google Scholar] [CrossRef] [Scilit]
  23. Wang, J.; Wu, Z.; Wang, H.; Ding, J.; Yi, C. Analysis of influence of thermal tooth backlash on nonlinear dynamic characteristics of planetary gear system. Nonlinear Dyn. 2025, 113, 289–311. [Google Scholar] [CrossRef] [Scilit]
  24. Tian, G.; Gao, Z.; Liu, P.; Bian, Y. Dynamic modeling and stability analysis for a spur gear system considering gear backlash and bearing clearance. Machines 2022, 10, 439. [Google Scholar] [CrossRef] [Scilit]
  25. Zenn, W.; Herold, S.; Melz, T. Estimation of the backlash size on rack-and-pinion drives of machine tools using supervised learning classification methods. Int. J. Adv. Manuf. Technol. 2025, 137, 5279–5292. [Google Scholar] [CrossRef] [Scilit]
  26. Reddy, P.; Shahbakhti, M.; Ravichandran, M.; Doering, J. Real-time estimation of backlash size in automotive drivetrains. IEEE/ASME Trans. Mechatron. 2022, 27, 3362–3372. [Google Scholar] [CrossRef] [Scilit]
  27. Ma, X.-T.; Zhang, H.; Zhang, H.; Wang, X.F.; Zhu, Z. Research on reverse design method of S-ring carbon-free car. Machinery 2022, 49, 23–28. [Google Scholar]
  28. Fang, L.; Wu, Y.; Mou, Z.; Guo, Y. Reverse calculation analysis and design of cam of carbon free car with “8” trajectory. J. Mach. Des. 2023, 40, 106–111. [Google Scholar]
  29. Sun, Q.; Cui, Y.; Li, P.; Zhang, Z.; Li, W. Design of “8” potential energy driven vehicle based on MATLAB calculation. Sci. Technol. Innov. 2022, 25, 167–170. [Google Scholar]
  30. Song, C.; Wang, S.; Li, X.; Zhu, C.; Yang, Y. Influences of circular runout errors and processing parameters for slotting on the accuracy of harmonic reducer. J. Adv. Mech. Des. Syst. Manuf. 2022, 16, JAMDSM0003. [Google Scholar] [CrossRef] [Scilit]
  31. Wang, H.; Zhang, X.; Fang, K.; Qiu, Y.; Zhang, Z. Return error simulation analysis and experimental study for RV reducer with ADAMS. J. Adv. Mech. Des. Syst. Manuf. 2024, 18, JAMDSM0023. [Google Scholar] [CrossRef] [Scilit]
  32. Wen, B. Mechanical Design Handbook; Machinery Industry Press: Beijing, China, 2018. [Google Scholar]
  33. Zhang, L.; Fan, Y. Analysis on Influence of Gear Backlash on Gear Transmission Accuracy. Mach. Tool Hydraul. 2017, 45, 114–116. [Google Scholar]
  34. Li, J. Trajectory and structural design of carbon free car based on B-spline curve. J. Mach. Des. 2023, 40, 114–118. [Google Scholar]
  35. Li, J. Universal design method of carbon-free car based on 3D motion calculation. J. Mach. Des. 2022, 38, 46–48+52. [Google Scholar]
  36. Yu, J.; Huang, K.; Luo, H.; Wu, Y.; Long, X. Manipulate optimal high-order motion parameters to construct high-speed cam curve with optimized dynamic performance. Appl. Math. Comput. 2020, 371, 124953. [Google Scholar] [CrossRef] [Scilit]
  37. Zhang, K.; Xiu, F.; Zhang, Y.; Su, L.; Yang, X. Design of double 8-shaped trajectory carbon-free car based on cam mechanism. J. Mach. Des. 2020, 37, 24–28. [Google Scholar] [CrossRef]
  38. Gong, G. Probability Theory and Mathematical Statistics; Tsinghua University Press Co., Ltd.: Beijing, China, 2006. [Google Scholar]
Figure 1. Three-dimensional rendering of carbon-free car.
Figure 1. Three-dimensional rendering of carbon-free car.
Machines 13 01075 g001
Figure 2. The fine adjustment mechanism.
Figure 2. The fine adjustment mechanism.
Machines 13 01075 g002
Figure 3. Operation flowchart.
Figure 3. Operation flowchart.
Machines 13 01075 g003
Figure 4. Simplified diagram of the car mechanism. (a) Left turn status and (b) right turn status.
Figure 4. Simplified diagram of the car mechanism. (a) Left turn status and (b) right turn status.
Machines 13 01075 g004
Figure 5. Profile curve of cam.
Figure 5. Profile curve of cam.
Machines 13 01075 g005
Figure 6. Comparison of the calculated trajectory with the original trajectory.
Figure 6. Comparison of the calculated trajectory with the original trajectory.
Machines 13 01075 g006
Figure 7. Cam force. (a) Normal meshing state and (b) abnormal meshing state.
Figure 7. Cam force. (a) Normal meshing state and (b) abnormal meshing state.
Machines 13 01075 g007
Figure 8. Jumping motion of cam follower.
Figure 8. Jumping motion of cam follower.
Machines 13 01075 g008
Figure 9. Jump deflection error and reverse deflection error of cam follower.
Figure 9. Jump deflection error and reverse deflection error of cam follower.
Machines 13 01075 g009
Figure 10. The trajectory of the car before optimization. (a) Considering only the jump return error of gear transmission, (b) considering only the reverse return error of gear transmission, and (c) considering jump return and reverse return error of gear transmissions.
Figure 10. The trajectory of the car before optimization. (a) Considering only the jump return error of gear transmission, (b) considering only the reverse return error of gear transmission, and (c) considering jump return and reverse return error of gear transmissions.
Machines 13 01075 g010
Figure 11. Flowchart of the optimization process.
Figure 11. Flowchart of the optimization process.
Machines 13 01075 g011
Figure 12. The deflection error after optimizing the transmission ratio.
Figure 12. The deflection error after optimizing the transmission ratio.
Machines 13 01075 g012
Figure 13. Comparison of deflection error after optimization of transmission ratio with the original deflection error.
Figure 13. Comparison of deflection error after optimization of transmission ratio with the original deflection error.
Machines 13 01075 g013
Figure 14. Comparison of the stroke after optimizing the cam profile with the original stroke.
Figure 14. Comparison of the stroke after optimizing the cam profile with the original stroke.
Machines 13 01075 g014
Figure 15. Comparison of the deflection angle error after optimizing the cam profile with the original deflection angle error.
Figure 15. Comparison of the deflection angle error after optimizing the cam profile with the original deflection angle error.
Machines 13 01075 g015
Figure 16. Comparison of cumulative errors after optimizing the cam profile with the original cumulative errors. (a) Stroke. (b) Deflection angle.
Figure 16. Comparison of cumulative errors after optimizing the cam profile with the original cumulative errors. (a) Stroke. (b) Deflection angle.
Machines 13 01075 g016
Figure 17. Comparison of optimized comprehensive deflection error with the original deflection error.
Figure 17. Comparison of optimized comprehensive deflection error with the original deflection error.
Machines 13 01075 g017
Figure 18. Trajectory of car with jump return error of gear transmission. (a) Transmission ratio optimization. (b) Cam optimization. (c) Comprehensive optimization.
Figure 18. Trajectory of car with jump return error of gear transmission. (a) Transmission ratio optimization. (b) Cam optimization. (c) Comprehensive optimization.
Machines 13 01075 g018
Figure 19. Trajectory of car with reverse return error of gear transmission. (a) Transmission ratio optimization. (b) Cam optimization. (c) Comprehensive optimization.
Figure 19. Trajectory of car with reverse return error of gear transmission. (a) Transmission ratio optimization. (b) Cam optimization. (c) Comprehensive optimization.
Machines 13 01075 g019
Figure 20. Trajectory of car with comprehensive return error of gear transmission. (a) Transmission ratio optimization. (b) Cam optimization. (c) Comprehensive optimization.
Figure 20. Trajectory of car with comprehensive return error of gear transmission. (a) Transmission ratio optimization. (b) Cam optimization. (c) Comprehensive optimization.
Machines 13 01075 g020
Figure 21. Test site setup and physical model of the carbon-free car.
Figure 21. Test site setup and physical model of the carbon-free car.
Machines 13 01075 g021
Figure 22. Principle of the experiment.
Figure 22. Principle of the experiment.
Machines 13 01075 g022
Figure 23. Cam angle optimization and experimental comparison.
Figure 23. Cam angle optimization and experimental comparison.
Machines 13 01075 g023
Table 1. Key initial parameters of the car.
Table 1. Key initial parameters of the car.
ParameterInitial ValueParameterInitial Value
N3000a [mm]70
L [mm]167e [mm]25
A1 [mm]37C [mm]3
A2 [mm]201rt [mm]2.5
Table 2. Basic parameters of transmission gears.
Table 2. Basic parameters of transmission gears.
Transmission Grade j First StageSecond StageThird Stage
Transmission ratio i n 533
Center distance a i   [mm]454040
Modulus m n   [mm]0.50.50.5
Bearing span l   [mm]808080
Tooth width b   [mm]555
Number of gear teeth150/30120/40120/40
Normal pressure angle α n [°]20
End face angle α t [°]0
Modulus mn [mm]0.5
Table 3. Related parameters of gear pairs at all levels.
Table 3. Related parameters of gear pairs at all levels.
j j b n 1 [µm] j b n 2 [µm] j b n 3 [µm] j b n m a x [µm] B n [°]
First stage14.195302.32439.309355.8280.544
Second stage14.195300.55039.309354.0540.676
Third stage14.195300.55039.309354.0540.676
Table 4. Original deflection error of cam follower.
Table 4. Original deflection error of cam follower.
Return Error of Gear TransmissionCode s [mm]Code β [°] β z [°]
Jump zone s t 1 5.848 β t 1 2.72117.154
s t 2 9.425 β t 2 6.695
s t 3 3.683 β t 3 2.151
Reverse zone s h 1 −9.065 β h 1 4.879
s h 2 −0.917 β h 2 0.709
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Su, L.; Zhou, Y.; Li, A.; Yao, R.; Yuan, L. Steering Accuracy Analysis of Cam Mechanism in Complex Trajectory Based on Return Error of Gear Transmission. Machines 2025, 13, 1075. https://doi.org/10.3390/machines13121075

AMA Style

Su L, Zhou Y, Li A, Yao R, Yuan L. Steering Accuracy Analysis of Cam Mechanism in Complex Trajectory Based on Return Error of Gear Transmission. Machines. 2025; 13(12):1075. https://doi.org/10.3390/machines13121075

Chicago/Turabian Style

Su, Liang, Youhang Zhou, Anfeng Li, Rihao Yao, and Luling Yuan. 2025. "Steering Accuracy Analysis of Cam Mechanism in Complex Trajectory Based on Return Error of Gear Transmission" Machines 13, no. 12: 1075. https://doi.org/10.3390/machines13121075

APA Style

Su, L., Zhou, Y., Li, A., Yao, R., & Yuan, L. (2025). Steering Accuracy Analysis of Cam Mechanism in Complex Trajectory Based on Return Error of Gear Transmission. Machines, 13(12), 1075. https://doi.org/10.3390/machines13121075

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop