Design method of line-controlled steering experiment table based on MPC algorithm

By adopting MPC algorithm and CAN communication technology in the online control steering system, combining the driver and vehicle dynamic models, the precise control of the line-controlled steering system is achieved, and the problem of stability control of the line-controlled steering system in the real object in the existing technology is solved. , realizes the transformation from theory to object and precise control effect.

CN118936937APending Publication Date: 2024-11-12ZHEJIANG UNIV +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411296411.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-14
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

The existing wire-controlled steering system is difficult to achieve precise control in the real object, and the control algorithm is difficult to deploy in the real object, resulting in the failure to effectively solve the stability problem.

Method used

A line-controlled steering experiment bench based on MPC algorithm was designed. By establishing a driver model and vehicle dynamic model, combining the MPC algorithm for precise control, the road sensing simulation system, steering control motor and CAN communication technology were used to achieve accurate corners. Control and implement in the real object in the controller.

Benefits of technology

The precise control of the wire-controlled steering system is realized, the stability of the vehicle in the real object is ensured, the transformation from theory to real object is successful, and the problem of insufficient accuracy of the control algorithm is solved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118936937A_ABST
    Figure CN118936937A_ABST
Patent Text Reader

Abstract

A design method of a steering-under-wire experiment table based on an MPC algorithm comprises the steps that road sensing signals are collected based on an established driver model, a controller sends the road sensing signals to a road sensing simulation system, and the road sensing simulation system transmits the road sensing simulation signals to a driver through a steering wheel; in the driver model, a brake signal and an acceleration signal of a steer-by-wire vehicle are sent out through a pedal, and the vehicle speed, the lateral acceleration and the yaw velocity are output through the established vehicle dynamics model; the obtained steering wheel rotation angle, speed, yaw velocity and lateral acceleration signals are transmitted to the main controller, and the rotation angle signals can obtain a real rotation angle value under an MPC algorithm through a variable angle transmission ratio control strategy and a front wheel rotation angle control strategy; the controller is used for acquiring and processing data, converting an obtained signal into a steering instruction through CAN communication and an ADC acquisition channel and transmitting the steering instruction to a steering control motor; the steering control motor drives the steering wheels to complete steering.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of steer-by-wire vehicle control system design, and in particular to a design method for a steer-by-wire test bench based on an MPC algorithm. Background Art

[0002] With the deep integration of intelligent information technology and the automotive industry, automobiles have developed rapidly in the direction of intelligence, among which wire-controlled steering technology, as a new technology in the vehicle field, has become an essential component of intelligent driving. However, in the wire-controlled steering system, most of the current ones in the industry remain in the simulation test stage, and many methods cannot be studied in the real world, resulting in many difficulties in this technology during driving that have not been solved. Therefore, it is necessary to provide a method that can implement the algorithm in the real world, and also to provide a more suitable control algorithm to perform stability control of the wire-controlled steering system. Therefore, the present invention provides a design method for a wire-controlled steering test bench based on the MPC algorithm. Summary of the invention

[0003] The purpose of the present invention is to overcome the shortcomings of the prior art and provide a design method for a steer-by-wire test bench based on the MPC algorithm to solve the problem that the control algorithm of the steer-by-wire system is not accurate enough and the algorithm is difficult to implement in the real object. Through experimental research, the steering angle of the steer-by-wire system can be accurately controlled under the MPC algorithm, and the algorithm can be implemented in the controller, realizing the transformation from theory to reality.

[0004] In order to achieve the above object, the present invention provides a design method of a steer-by-wire test bench based on an MPC algorithm, comprising:

[0005] Based on the established driver model, the controller sends a road feeling signal to the road feeling simulation system, and the road feeling simulation system transmits the road feeling simulation signal to the driver through the steering wheel;

[0006] In the driver model, the brake and acceleration signals of the steer-by-wire vehicle are sent through the pedals, and the output of the established vehicle dynamics model is the vehicle speed, lateral acceleration and yaw rate.

[0007] The steering wheel angle, speed, yaw rate, and lateral acceleration signals are transmitted to the main controller. The angle signal will go through the variable angle transmission ratio control strategy and the front wheel angle control strategy to obtain a real angle value under the MPC algorithm.

[0008] The controller collects and processes data, and converts the acquired signal into steering instructions to the steering control motor through CAN communication and ADC acquisition channels;

[0009] The steering control motor drives the steering wheel to complete the steering by connecting the steering gear and the steering tie rod in the steering drive mechanism;

[0010] To achieve the above object, the present invention is implemented by adopting the following technical solutions:

[0011] First, a two-wheeled vehicle steer-by-wire model and a driver model are established, and the parameters are imported into the MPC algorithm through the state space equation. The state equation model of the vehicle lateral motion is:

[0012]

[0013] Among them, C αf is the cornering stiffness of the front wheel, C αr is the cornering stiffness of the rear wheel, l f , l r is the distance from the vehicle's center of mass to the front and rear axles.

[0014] Furthermore, the MPC algorithm is designed, but the constraints in the algorithm design need to be considered, that is, the upper and lower limits of the parameters. The center of mass sideslip angle and yaw rate are used as the constraints of the algorithm to construct a stability region. The constraint range of the center of mass sideslip angle and yaw rate is:

[0015]

[0016] β-ω r The stability plane area changes continuously with the changes in vehicle speed and front wheel turning angle. The vehicle's driving stability can be guaranteed in this area.

[0017] Furthermore, after the cost function and loss function of the algorithm are designed, the control algorithm needs to be implemented in the real object, that is, in the controller. The control system assembly includes the main control board, servo drive, servo motor, brushless motor, angle encoder, brushless motor encoder, etc. CAN communication and PWM are used to control the speed of the brushless motor. The CANoe tool is used to generate the input message command of the wire steering system, and the steering result message data on the CAN bus is received, and the test results of the response performance are analyzed. Using the CAN transceiver, in the actual vehicle state, the steering system input message command is issued by the vehicle controller. The wire steering system performs the steering action after receiving the command. The vehicle controller has a great influence on the response performance of the steering system. The steering input command message is generated by the CANoe tool. After the CAN transceiver receives the command, it is output to the steering controller of the wire steering system to perform the steering action.

[0018] The beneficial effects of the present invention compared to the prior art are as follows: the present invention solves the problems of insufficient accuracy of the control algorithm of the wire-controlled steering system and the difficulty in implementing the algorithm in the actual object; through experimental research, the steering angle of the wire-controlled steering system can be accurately controlled under the MPC algorithm, and the algorithm can be implemented in the controller, realizing the transformation from theory to practice. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the present invention or the solutions in the prior art, the following is a brief introduction to the drawings required for use in the embodiments or the description of the prior art. Obviously, the following drawings are only for the present invention, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0020] Figure 1 It is a schematic flow chart of a design method of a steer-by-wire test bench based on an MPC algorithm according to the present invention;

[0021] Figure 2 A driver position preview model diagram provided by the present invention;

[0022] Figure 3 A driver preview tracking model diagram provided by the present invention;

[0023] Figure 4 A model diagram of a two-wheeled, front-wheel-steering, controlled-by-wire vehicle provided by the present invention;

[0024] Figure 5 The MPC algorithm control flow chart provided by the present invention;

[0025] Figure 6 A diagram of the MPC algorithm parameter constraints provided by the present invention;

[0026] Figure 7 A schematic diagram of the test bench test system provided by the present invention;

[0027] Figure 8 The control principle diagram of the Hall driver provided by the present invention;

[0028] Fig. 9 The hardware diagram of the test bench control system provided by the present invention;

[0029] Fig.10 A diagram of the chassis device of the steer-by-wire experimental vehicle provided by the present invention;

[0030] Fig.11 A diagram showing the corner tracking experiment results provided by the present invention; DETAILED DESCRIPTION

[0031] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with specific embodiments.

[0032] like Figure 1 As shown, the embodiment of this specification provides a design method of a wire control steering test bench based on an MPC algorithm, comprising the following steps:

[0033] S10, based on the established driver model, the controller sends a road feeling signal to the road feeling simulation system, and the road feeling simulation system transmits the road feeling simulation signal to the driver through the steering wheel;

[0034] In the embodiment of the present invention, please refer to Figure 2 and 3 , Figure 2 In the driver position preview model in , the optimal curvature during driving can be obtained as:

[0035]

[0036] The optimal acceleration is:

[0037]

[0038] The optimal cornering strategy is:

[0039]

[0040] The optimal acceleration strategy is:

[0041]

[0042] Figure 3 In the driver preview tracking model, f is the expected trajectory input by the driver, is the estimated vehicle position state, is the estimated value deviation, is the steering wheel angle of the input vehicle, represents the vehicle trajectory of the feedback output, P(s) is the preview link, F(s) is the forward correction link, B(s) is the feedback estimation link, and y represents the actual output vehicle trajectory.

[0043] S20, the driver model sends a braking signal and an acceleration signal of the steer-by-wire vehicle through the pedal, and the established vehicle dynamics model outputs the vehicle speed, lateral acceleration, and yaw angular velocity;

[0044] In the embodiment of the present invention, the vehicle model established by combining the driver model and the vehicle dynamics model in step S10 is as follows: Figure 4 As shown, the center of mass sideslip angle and yaw rate required later are obtained, specifically:

[0045] Side slip angle:

[0046]

[0047] Ideal yaw rate:

[0048]

[0049] Among them, C αf is the cornering stiffness of the front wheel, C αr is the cornering stiffness of the rear wheel, l f , l r is the distance from the vehicle's center of mass to the front and rear axles.

[0050] S30, all the previously obtained dynamic parameters need to be brought into the MPC algorithm, and the original model predictive control algorithm needs to be integrated and modified. Figure 5 It is the control flow chart of the MPC algorithm, which specifically includes:

[0051] MPC algorithm calculation expression:

[0052]

[0053] MPC algorithm rolling optimization expression:

[0054]

[0055] J is the cost function. In this model, the specific expression of J is:

[0056]

[0057] That is: J = ∑ (error weighted sum + input weighted sum + terminal error term)

[0058] S is the loss function, and the loss function expression is:

[0059]

[0060] The corresponding items are: weighted sum of errors + weighted sum of inputs + terminal error term + weighted sum of front wheel angles + weighted sum of accelerations.

[0061] Figure 6 The upper and lower limits of the parameters in the MPC algorithm designed by the present invention, that is, the range of the yaw rate and the sideslip angle of the center of mass, ensure that the vehicle can travel in a safe and stable range, specifically:

[0062]

[0063] S40, after all the theoretical contents are prepared, it is necessary to apply the MPC algorithm in the real object and test the designed controller. The test schematic diagram is as follows Figure 7As shown, the CANoe tool is used to generate the input message command of the wire-controlled steering system, receive the steering result message data on the CAN bus, and analyze the test results of the response performance. When using the CAN transceiver, in the actual vehicle state, the steering system input message command is issued by the vehicle controller. The wire-controlled steering system performs the steering action after receiving the command. The vehicle controller has a greater impact on the response performance of the steering system. The CANoe tool generates the steering input command message. After the CAN transceiver receives the command, it outputs it to the steering controller of the wire-controlled steering system to perform the steering action. Then connect the selected hardware for communication, such as Figure 8 and Fig. 9 shown.

[0064] S50, all the control parts of the hardware are installed, and need to be installed on the wire-controlled vehicle experimental chassis for debugging. Design a wire-controlled vehicle chassis, such as Fig.10 As shown in Figure 2, the vehicle trajectory tracking curve under the MPC algorithm is obtained through experiments, and the trajectory tracking error can be controlled within 1%, as shown in Figure 2. Fig.11 shown.

[0065] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A design method for a steer-by-wire test bench based on an MPC algorithm, characterized in that: include: Based on the established driver model, the controller sends a road feeling signal to the road feeling simulation system, and the road feeling simulation system transmits the road feeling simulation signal to the driver through the steering wheel; In the driver model, the brake and acceleration signals of the steer-by-wire vehicle are sent through the pedals, and the output of the established vehicle dynamics model is the vehicle speed, lateral acceleration and yaw rate. The steering wheel angle, speed, yaw rate, and lateral acceleration signals are transmitted to the main controller. The angle signal will go through the variable angle transmission ratio control strategy and the front wheel angle control strategy to obtain a real angle value under the MPC algorithm. The controller collects and processes data, and converts the acquired signal into steering instructions to the steering control motor through CAN communication and ADC acquisition channels; The steering control motor drives the steering wheel to complete the steering by connecting the steering gear and the steering rod in the steering drive mechanism.

2. The design method of a steer-by-wire test bench based on the MPC algorithm according to claim 1, characterized in that: Based on the established driver model, the controller sends a road feel signal to the road feel simulation system, and the road feel simulation system transmits the road feel simulation signal to the driver through the steering wheel, specifically including: Establish the driver preview model and position preview model: in, is the acceleration of motion along the y-axis, R is the path rotation radius, v is the vehicle speed, T is the measurement period, and t0 is the initial moment of measurement.

3. The design method of a steer-by-wire test bench based on the MPC algorithm according to claim 2 is characterized by: Based on the braking and acceleration signals of the steer-by-wire vehicle sent by the pedal in the driver model, the output of the established vehicle dynamics model is vehicle speed, lateral acceleration and yaw rate, which specifically include: the three input quantities are the left and right front wheel angles and vehicle speed, δ f , δ r ,v, speed can be obtained through the longitudinal vehicle model and is an external variable; The vehicle sideslip angle equation is:

4. The design method of a steer-by-wire test bench based on an MPC algorithm according to claim 3, characterized in that: Based on the steering wheel angle, speed, yaw rate, and lateral acceleration signals transmitted to the main controller, the angle signal will go through the variable angle transmission ratio control strategy and the front wheel angle control strategy to obtain a real angle value under the MPC algorithm, including: MPC algorithm calculation expression: MPC algorithm rolling optimization expression: J is the cost function. In this model, the specific expression of J is: That is: J = ∑ (error weighted sum + input weighted sum + terminal error term) S is the loss function, and the loss function expression is: The corresponding items are: weighted sum of errors + weighted sum of inputs + terminal error term + weighted sum of front wheel angles + weighted sum of accelerations.

5. The design method of a steer-by-wire test bench based on the MPC algorithm according to claim 4 is characterized by: The controller collects and processes data, and converts the obtained signals into steering commands to the steering control motor through CAN communication and ADC acquisition channels, specifically including: using the CANoe tool to generate input message commands for the wire-controlled steering system, receiving steering result message data on the CAN bus, and analyzing the test results of the response performance; using the CAN transceiver, in the actual vehicle state, the steering system input message command is issued by the vehicle controller, and the wire-controlled steering system executes the steering action after receiving the command. The vehicle controller has a greater impact on the response performance of the steering system; the CANoe tool generates a steering input command message, and after the CAN transceiver receives the command, it outputs it to the steering controller of the wire-controlled steering system to execute the steering action.

6. The design method of a steer-by-wire test bench based on the MPC algorithm according to claim 5, characterized in that: The steering control motor drives the steering wheel to complete the steering by connecting the steering gear and the steering rod in the steering drive mechanism.

Citation Information

Cited By

  • Cooperative control method for corner actuator and hand feeling simulator in SBW system

    CN120065738A