Virtual calibration method and system for lane keeping assist system
Through the virtual calibration method, the simulation model is used to generate calibration parameters, which are optimized and input into the lane keeping assist controller. This solves the problem of high calibration time and cost of the lane keeping assist system in the existing technology and achieves an efficient calibration process.
Patent Information
- Application Number
- CN202410741094.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-11
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-06-11
AI Technical Summary
The existing calibration method of the lane keeping assist system requires a large amount of calibration test equipment and time, has high costs and a long calibration cycle.
Using the virtual calibration method, the calibration parameters are generated by building a road environment simulation model and a vehicle simulation model, and virtual calibration is performed through a computer simulation system. The calibration parameters are optimized until the set conditions are met, and the lane keeping assist controller is input for real vehicle calibration.
It effectively saves the time and cost of real vehicle calibration, reduces the demand for real vehicle and road verification resources, and improves calibration efficiency.
Smart Images

Figure CN118310769B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle technology, and in particular to a virtual calibration method and system for a lane keeping assist system. Background Art
[0002] Most existing lane keeping assist system calibration methods use real equipment or environments to calibrate the system, which requires a large amount of calibration test equipment, a relatively long calibration cycle, and high costs. Summary of the invention
[0003] The purpose of the present invention is to provide a virtual calibration method and system for a lane keeping assist system in view of the deficiencies in the prior art.
[0004] The present invention is achieved by adopting the following technical solutions:
[0005] A virtual calibration method for a lane keeping assist system, the method comprising:
[0006] Model building steps: build a road environment simulation model and a vehicle simulation model;
[0007] Calibration steps: Run the road environment simulation model and the vehicle simulation model to perform virtual calibration on the lane keeping assist system.
[0008] As a further illustration of the invention, building a road environment simulation model includes:
[0009] Acquire simulated road environment information, wherein the simulated road environment information includes road environment information; the road environment information includes road width, road lane line type, road lane line curvature, rate of change of road lane line curvature, angle between vehicle and lane line, and distance between vehicle and lane lines on both sides of the road;
[0010] A road environment simulation model is generated based on the simulated road environment information.
[0011] As a further illustration of the invention, building a vehicle simulation model includes:
[0012] Acquire simulated vehicle information, wherein the simulated vehicle information includes vehicle information; the vehicle information includes vehicle type, number of vehicle drive axles, vehicle wheelbase, vehicle width, vehicle gross weight, vehicle running speed, and vehicle running acceleration;
[0013] A vehicle simulation model is generated based on the simulated vehicle information.
[0014] As a further illustration of the invention, the calibration step includes:
[0015] Obtaining operation data of a road environment simulation model and a vehicle simulation model;
[0016] Calibration parameters are generated according to the operation data of the road environment simulation model and the vehicle simulation model; and the calibration parameters are input into the lane keeping assist controller for real vehicle calibration.
[0017] As a further illustration of the invention, before the calibration parameters are input into the lane keeping assist controller for real vehicle calibration, the following steps are included:
[0018] Obtain lane departure related information of the vehicle simulation model under the road environment simulation model;
[0019] Determine whether the lane departure related information satisfies a set condition; the set condition includes whether the vehicle simulation model remains on the virtual center line of the road environment simulation model within a set time;
[0020] If so, the calibration parameters are input into the lane keeping assist controller; otherwise, the calibration parameters are optimized until the lane departure related information meets the set conditions, and the optimized calibration parameters are input into the lane keeping assist controller.
[0021] As a further illustration of the invention, the lane departure related information includes:
[0022] Lane departure driving state information of the vehicle simulation model under the road environment simulation model under different vehicle speed conditions.
[0023] As a further illustration of the invention, the calibration parameters include:
[0024] Setting calibration constants when the vehicle simulation model requests a turning angle under the road environment simulation model;
[0025] When the vehicle simulation model deviates from the virtual right lane line of the road environment simulation model while driving on a straight road, the calibration constant is a positive value;
[0026] When the vehicle simulation model deviates from the virtual left lane line of the road environment simulation model while driving on a straight road, the calibration constant is a negative value.
[0027] As a further illustration of the invention, the following steps are included when performing real vehicle calibration:
[0028] Calibration parameter delivery: calibrate the parameters of the relevant equipment of the actual vehicle and obtain the fault code of the relevant equipment of the actual vehicle; if there is no fault code, it means that the calibration parameters are delivered successfully, otherwise, optimize the calibration parameters and re-deliver them until the calibration parameters are delivered successfully;
[0029] The calibration result is displayed. The real vehicle is running in a road environment, and the calibration progress and calibration results of the relevant equipment of the real vehicle are obtained. If the calibration is successful, it means that the calibration is completed. Otherwise, the calibration progress and calibration results of the real vehicle equipment are obtained again until the calibration is successful.
[0030] A virtual calibration system for a lane keeping assist system, comprising any of the above-described virtual calibration methods for a lane keeping assist system, characterized in that the system comprises a computer simulation system, a lane keeping assist system, a lane keeping controller, a CAN signal transceiver, a calibration device, and a wiring harness adapter cable;
[0031] The computer simulation system is connected to one end of the CAN transceiver, the other end of the CAN transceiver is connected to the lane keeping controller of the lane keeping assist system through a wiring harness adapter, and the calibration device is connected to the lane keeping controller through another set of CAN signal lines of the wiring harness adapter.
[0032] As a further description of the invention, it also includes an EOL host computer, an EOL device, and real vehicle related equipment; the EOL host computer is connected to the lane keeping controller CAN signal; the EOL host computer is connected to the vehicle front camera of the real vehicle related equipment through the EOL device.
[0033] Compared with the prior art, the present invention has the following beneficial technical effects:
[0034] The present invention performs virtual calibration on the lane keeping assist system through a computer simulation system, obtains calibration parameters and solidifies the calibration parameters into the lane keeping controller, and the actual vehicle calibration is performed based on the virtual calibration parameters. This avoids the need for direct actual vehicle verification which requires a lot of time and actual vehicle and road verification resources, and can effectively save actual vehicle calibration time and calibration costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 Schematic diagram of the principle framework of the virtual calibration system of the lane keeping assist system of the present invention;
[0036] Figure 2 It is a schematic diagram of the vehicle front camera calibration principle framework of the present invention. DETAILED DESCRIPTION
[0037] The present invention is described in detail below in conjunction with specific embodiments. The following embodiments will help those skilled in the art to further understand the present invention, but are not intended to limit the present invention in any form. It should be noted that, for those of ordinary skill in the art, several changes and improvements can also be made without departing from the concept of the present invention. These all belong to the protection scope of the present invention.
[0038] like Figure 1-2 As shown, an embodiment of the present invention discloses a virtual calibration method for a lane keeping assist system, the method comprising:
[0039] Model building steps: build a road environment simulation model and a vehicle simulation model;
[0040] Calibration steps: Run the road environment simulation model and the vehicle simulation model to perform virtual calibration on the lane keeping assist system.
[0041] Building a road environment simulation model includes:
[0042] Acquire simulated road environment information, the simulated road environment information includes road environment information; the road environment information includes road width, road lane line type, road lane line curvature, the rate of change of road lane line curvature, the angle between the vehicle and the lane line, the distance between the vehicle and the lane lines on both sides of the road, etc.; the road lane line type includes dotted line and solid line;
[0043] A road environment simulation model is generated based on the simulated road environment information.
[0044] Building a vehicle simulation model includes:
[0045] The simulated vehicle information is obtained, and the simulated vehicle information includes vehicle information; the vehicle information includes vehicle type, number of vehicle drive axles, vehicle wheelbase, vehicle width, vehicle gross weight, vehicle running speed, vehicle running acceleration, etc.; the vehicle type can be divided into trucks, passenger cars, tractors (with trailers), and other vehicles equipped with lane keeping controllers.
[0046] A vehicle simulation model is generated based on the simulated vehicle information.
[0047] The calibration steps include:
[0048] Obtaining operation data of a road environment simulation model and a vehicle simulation model;
[0049] Calibration parameters are generated according to the operation data of the road environment simulation model and the vehicle simulation model; and the calibration parameters are input into the lane keeping assist controller for real vehicle calibration.
[0050] Before the calibration parameters are input into the lane keeping assist controller for real vehicle calibration, the following steps are included:
[0051] Obtain lane departure related information of the vehicle simulation model under the road environment simulation model;
[0052] Determine whether the lane departure related information meets the set conditions; the set conditions include whether the vehicle simulation model remains on the virtual center line of the road environment simulation model within a set time;
[0053] If the conditions are met, the calibration parameters are input into the lane keeping assist controller; otherwise, the calibration parameters are optimized until the lane departure related information meets the set conditions, and the optimized calibration parameters are input into the lane keeping assist controller;
[0054] Preferably, the vehicle lane keeping assist function is enabled. When the vehicle simulation model deviates from the lane under the road environment simulation model, the timing starts when the front wheel of the vehicle presses against the lane line. After 5 seconds, the vehicle is able to stay in the middle of the lane without pressing the left or right lane lines, then the calibration is considered successful. Otherwise, recalibration is required.
[0055] Lane departure related information includes:
[0056] Lane departure driving state information of the vehicle simulation model under the road environment simulation model under different vehicle speed conditions.
[0057] Preferably, the vehicle lane keeping assist function is enabled, and the vehicle simulation model is in the lane deviation driving state of the vehicle simulation model under the road environment simulation model at speeds of 60 k / h, 70 k / h, 80 k / h, 90 k / h, 100 k / h, 110 k / h, and 120 k / h; when the vehicle simulation model is not as expected in a certain speed segment, the PID parameters of the adjacent speed segments are adjusted until the PID parameters meet the design requirements; accordingly, during the actual vehicle calibration, the deviation of the vehicle at 60 k / h, 70 k / h, 80 k / h, 90 k / h, 100 k / h, 110 k / h, and 120 k / h are recorded respectively, and the calibration is performed section by section through speed division. Finally, in order to overcome the characteristics of the vehicle steering gear zero position drift, the steering gear zero position compensation is performed to allow the vehicle to keep driving in the middle of the road as much as possible. Virtual calibration can effectively save the actual vehicle calibration time and calibration cost.
[0058] The calibration parameters include:
[0059] Setting calibration constants when the vehicle simulation model requests a turning angle under the road environment simulation model;
[0060] When the vehicle simulation model deviates from the virtual right lane line of the road environment simulation model while driving on a straight road, the calibration constant is a positive value;
[0061] When the vehicle simulation model deviates from the virtual left lane line of the road environment simulation model while driving on a straight road, the calibration constant is a negative value.
[0062] The following steps are included when performing real vehicle calibration:
[0063] Calibration parameter delivery: calibrate the parameters of the relevant equipment of the actual vehicle and obtain the fault code of the relevant equipment of the actual vehicle; if there is no fault code, it means that the calibration parameters are delivered successfully, otherwise, optimize the calibration parameters and re-deliver them until the calibration parameters are delivered successfully;
[0064] Calibration result display: After success under the calibration parameters, the actual vehicle runs in the road environment, and the calibration progress and calibration results of the actual vehicle related equipment are obtained. If the calibration is successful, it means that the calibration is completed. Otherwise, the calibration progress and calibration results of the actual vehicle equipment are obtained again until the calibration is successful.
[0065] like Figure 1-2 As shown, an embodiment of the present invention discloses a virtual calibration system for a lane keeping assist system, including any of the above-mentioned virtual calibration methods for a lane keeping assist system, wherein the system includes a computer simulation system, a lane keeping assist system (Lane Keeping Assist, referred to as LKA), a lane keeping controller, a CAN signal transceiver, a calibration device, and a wiring harness adapter cable;
[0066] The computer simulation system is connected to one end of the CAN transceiver, the other end of the CAN transceiver is connected to the lane keeping controller of the lane keeping assist system through a wiring harness adapter, and the calibration device is connected to the lane keeping controller through another set of CAN signal lines of the wiring harness adapter;
[0067] Among them, the computer simulation system sends the simulated road environment information to the CAN bus through the computer simulation software in the form of CAN signals, the lane keeping controller sends the relevant signals for controlling the vehicle steering to the CAN bus in the form of CAN signals, and the computer simulation system and the lane keeping controller are connected through the CAN line for two-way communication, and the communication rate is consistent with the actual communication rate of the real vehicle; a road environment simulation model is built in the computer simulation system, and the simulated road environment information is sent to the CAN line in the form of CAN signals; a vehicle simulation model is built in the computer simulation system, and the vehicle simulation model can receive the CAN signal sent by the controller, and perform lateral control according to the CAN signal command, and the lateral deviation process of the vehicle is displayed in the form of animation. The relationship between the vehicle and the road information.
[0068] It also includes an EOL (End of Line, offline configuration tool) host computer, EOL equipment, and real vehicle related equipment; the EOL host computer is connected to the lane keeping controller CAN signal; the EOL host computer is connected to the vehicle front camera of the real vehicle related equipment through the EOL equipment;
[0069] Among them, the EOL host computer sends the road scene information to the lane keeping assist controller through the CAN line, and the lane keeping assist controller can transmit the steering wheel angle request and other information to the host computer through the CAN bus. The two form a closed-loop control, and the EOL host computer is also used to display the calibration progress and calibration results; preferably, the EOL host computer can directly communicate with the lane keeping assist controller through the USB interface. During the actual vehicle calibration, the front camera of the vehicle used to identify the road information is first calibrated by the EOL device to ensure that the front camera of the vehicle can correctly collect road information and truly reflect the geometric relationship between the vehicle and the road.
[0070] The above describes the specific embodiments of the present invention. It should be understood that the present invention is not limited to the above specific embodiments, and those skilled in the art can make various changes or modifications within the scope of the claims, which does not affect the essence of the present invention. In the absence of conflict, the embodiments of the present application and the features in the embodiments can be combined with each other arbitrarily.
Claims
1. A virtual calibration method for a lane keeping assist system, characterized in that: The method comprises: Model building steps: build a road environment simulation model and a vehicle simulation model; Calibration steps: Run the road environment simulation model and the vehicle simulation model to perform virtual calibration on the lane keeping assist system; Building a road environment simulation model includes: Acquire simulated road environment information, wherein the simulated road environment information includes road environment information; the road environment information includes road width, road lane line type, road lane line curvature, rate of change of road lane line curvature, angle between vehicle and lane line, and distance between vehicle and lane lines on both sides of the road; generating a road environment simulation model based on the simulated road environment information; Building a vehicle simulation model includes: Acquire simulated vehicle information, wherein the simulated vehicle information includes vehicle information; the vehicle information includes vehicle type, number of vehicle drive axles, vehicle wheelbase, vehicle width, vehicle gross weight, vehicle running speed, and vehicle running acceleration; generating a vehicle simulation model based on the simulated vehicle information; The calibration steps include: Obtaining operation data of a road environment simulation model and a vehicle simulation model; Generating calibration parameters according to the operation data of the road environment simulation model and the vehicle simulation model; inputting the calibration parameters into the lane keeping assist controller for real vehicle calibration; Before the calibration parameters are input into the lane keeping assist controller for real vehicle calibration, the following steps are included: Obtain lane departure related information of the vehicle simulation model under the road environment simulation model; Determine whether the lane departure related information satisfies a set condition; the set condition includes whether the vehicle simulation model remains on the virtual center line of the road environment simulation model within a set time; If the conditions are met, the calibration parameters are input into the lane keeping assist controller; otherwise, the calibration parameters are optimized until the lane departure related information meets the set conditions, and the optimized calibration parameters are input into the lane keeping assist controller; The lane departure related information includes: Lane departure driving state information of the vehicle simulation model under the road environment simulation model at different vehicle speeds; The calibration parameters include: Setting calibration constants when the vehicle simulation model requests a turning angle under the road environment simulation model; When the vehicle simulation model deviates from the virtual right lane line of the road environment simulation model while driving on a straight road, the calibration constant is a positive value; When the vehicle simulation model deviates from the virtual left lane line of the road environment simulation model while driving on a straight road, the calibration constant is a negative value; The following steps are included when performing real vehicle calibration: Calibration parameter delivery: calibrate the parameters of the relevant equipment of the actual vehicle and obtain the fault code of the relevant equipment of the actual vehicle; if there is no fault code, it means that the calibration parameters are delivered successfully, otherwise, optimize the calibration parameters and re-deliver them until the calibration parameters are delivered successfully; The calibration result is displayed; the real vehicle is running in the road environment, and the calibration progress and calibration results of the relevant equipment of the real vehicle are obtained. If the calibration is successful, it means that the calibration is completed. Otherwise, the calibration progress and calibration results of the real vehicle equipment are obtained again until the calibration is successful.
2. A virtual calibration system for a lane keeping assist system, comprising the virtual calibration method for a lane keeping assist system according to claim 1, characterized in that: The system includes a computer simulation system, a lane keeping assist system, a lane keeping controller, a CAN signal transceiver, a calibration device, and a wiring harness adapter cable; The computer simulation system is connected to one end of the CAN transceiver, the other end of the CAN transceiver is connected to the lane keeping controller of the lane keeping assist system through a wiring harness adapter, and the calibration device is connected to the lane keeping controller through another set of CAN signal lines of the wiring harness adapter.
3. The virtual calibration system for the lane keeping assist system according to claim 2, characterized in that: It also includes an EOL host computer, an EOL device, and real vehicle related equipment; the EOL host computer is connected to the lane keeping controller CAN signal; the EOL host computer is connected to the vehicle front camera of the real vehicle related equipment through the EOL device.
Citation Information
Patent Citations
Multi-scene-oriented intelligent driving autonomous lane keeping performance detection method
CN110532636A
Lane keeping test system and method based on virtual driving system
CN114911173A
Simulation test evaluation method and evaluation system for vehicle emergency lane keeping system
CN115016439A
Method and device for vehicle AEB calibration, electronic equipment and storage medium
CN115964800A
Simulation method, device and equipment for verifying lane line keeping auxiliary system
CN117113647A
