Geometric parameter calibration system for tested vehicle in-the-loop test of whole vehicle
Through the controller and parameter calibration system, the front wheel master pin spacing and rotation angle ratio of the vehicle being tested is automatically calculated, which solves the accuracy and efficiency of parameter acquisition in the vehicle in the ring test, and realizes efficient test preparation and result reliability .
Patent Information
- Application Number
- CN202410955709.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-17
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2044-07-17
AI Technical Summary
In the vehicle-round test, it is difficult to accurately obtain the front wheel master pin spacing of the vehicle under test and the car's front wheel angle and steering wheel angle ratio. The existing methods have problems such as manual measurement errors and undisclosed parameters, which affect the test results and progress.
Using controller, pit stand and parameter calibration system, the wheel video is automatically aligned and captured by industrial cameras and servo cylinders, and the front wheel master pin spacing and angle ratio are calculated using target tracking algorithm and image processing, and parameters are automatically obtained in real time. .
It improves the accuracy of parameters, reduces the test preparation time, ensures the reliability and efficiency of test results, and avoids the problems of manual measurement errors and inaccurate parameters.
Smart Images

Figure CN119022794A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicle-in-the-loop testing, and in particular to a system for calibrating geometric parameters of a vehicle under test in a vehicle-in-the-loop testing. Background Art
[0002] Smart cars that integrate artificial intelligence technology are one of the main development directions of future cars. Compared with traditional cars, smart cars have more sensors, powerful data processing and analysis equipment, so that they can perceive the surrounding environment and traffic conditions in real time, make corresponding decisions and operations, and assist or replace human drivers to complete car driving work. Therefore, the safety and reliability of smart cars are the prerequisites for ensuring road traffic safety. In order to ensure that smart cars can operate safely, reliably and efficiently under various traffic conditions, meteorological environments and usage scenarios on the road, a large number of tests are required in the research and development process of smart cars. In addition, in order to ensure the performance of each mass-produced smart car, relevant tests need to be carried out at different stages of the smart car production process to provide quality assurance for the vehicles off the line. In addition, for smart cars in service, the performance of some sensors or data processing equipment decays as their service time increases. In order to ensure the driving safety and reliability of smart cars in service, the performance of various vehicles in service needs to be tested regularly.
[0003] According to different test stages and test environments, the testing methods of smart cars can be divided into virtual simulation testing, natural scene testing, hardware-in-the-loop testing and vehicle-in-the-loop testing. Among them, the vehicle-in-the-loop testing is a process of comprehensively testing and verifying the whole vehicle by simulating various real road environments on the test bench through digital twin technology, such as different road conditions, weather and traffic conditions such as urban roads, highways, and rural roads. This test is designed to evaluate the performance, safety and reliability of the car under different road and traffic conditions. It is an important means to verify whether the design and engineering of the car meet the requirements of relevant regulations and standards. At the same time, the fuel economy, noise, vibration level, emission performance, etc. of the car will also be examined in the vehicle-in-the-loop testing. It can help manufacturers discover and solve potential problems and ensure the safety and reliability of the car in various situations. To ensure that their vehicles can achieve high standards of performance and safety in actual road environments.
[0004] At present, the drum test bench is one of the important equipment for the in-loop test of the whole vehicle. The drum test bench with front wheel steering function can rotate according to the vehicle wheel angle and can detect the automatic driving function of smart cars. However, before conducting the in-loop test of the whole vehicle, it is necessary to know the front wheel kingpin spacing of the tested vehicle and the ratio of the front wheel angle of the vehicle to the steering wheel angle in advance, so as to adjust the front wheel drum spacing and set the relevant control parameters of the drum test bench.
[0005] At present, in the vehicle-in-the-loop test, the front wheel kingpin spacing and the ratio of the vehicle's front wheel angle to the steering wheel angle can be obtained in the following two ways:
[0006] The first method: Consult the vehicle's technical documentation, such as the vehicle manual, design specifications or engineering drawings;
[0007] The second method: on-site measurement, such as using a tape measure, angle measuring instrument, etc.
[0008] However, due to the wide variety of car brands and models, many parameters belong to car design parameters, and vehicle technical documents are not open to users and are difficult to obtain. Field measurements are relatively inconvenient and prone to manual measurement errors, resulting in inaccurate parameters and further inaccurate test results.
[0009] In addition, some parameters may evolve as the vehicle's service life increases. Using inaccurate parameters to conduct vehicle-in-the-loop testing will lead to inaccurate test results, or adjustment tests will be required before conducting vehicle-in-the-loop testing, affecting the test progress. Summary of the invention
[0010] The present invention provides a vehicle geometric parameter calibration system for a vehicle-in-the-loop test, which can improve the accuracy of the test results and avoid affecting the test progress. The specific technical solution is as follows.
[0011] In a first aspect, the present invention provides a system for calibrating geometric parameters of a vehicle under test in a vehicle-in-the-loop test, comprising a controller, two pit racks and a parameter calibrator arranged in a pit, wherein the vehicle under test is placed directly above the pit, the two pit racks are arranged in parallel, the controller is fixedly mounted on the parameter calibrator, and the controller is communicatively connected with an electronic control unit ECU of the vehicle under test;
[0012] Each pit frame includes a frame support and a scissor lift, the scissor lift is fixedly installed on the rear side of the frame support, the two frame supports are respectively arranged directly below the two front wheels of the vehicle under test, and the parameter calibrator is arranged between the two frame supports;
[0013] The parameter calibration instrument comprises at least two servo electric cylinders and two industrial cameras, the two servo electric cylinders are both connected to the controller signal, each servo electric cylinder is connected to the corresponding industrial camera drive, and the two scissor lifts support the vehicle under test;
[0014] When receiving the alignment instruction, the controller controls the first servo electric cylinder to drive the corresponding industrial camera to move until its camera center is aligned with the center of the left front wheel, and controls the second servo electric cylinder to drive the corresponding industrial camera to move until its camera center is aligned with the center of the right front wheel, wherein the first servo electric cylinder is a servo electric cylinder close to the left front wheel of the vehicle under test, and the second servo electric cylinder is a servo electric cylinder close to the right front wheel of the vehicle under test;
[0015] After the camera centers of the two industrial cameras have been aligned with the centers of the corresponding wheels, controlling the two industrial cameras to respectively shoot the steering video of the left front wheel and the steering video of the right front wheel;
[0016] Receive the steering video of the left front wheel and the steering video of the right front wheel taken by the two industrial cameras, track and process the steering video of the left front wheel and the steering video of the right front wheel respectively based on the target tracking algorithm, obtain a first distance from the center of the left front wheel to the rotation center of the left front wheel and a second distance from the center of the right front wheel to the rotation center of the right front wheel, obtain a first extension distance of the industrial camera corresponding to the first servo electric cylinder and a second extension distance of the industrial camera corresponding to the second servo electric cylinder, and calculate the front wheel kingpin spacing of the vehicle under test according to the first distance, the second distance, the first extension distance and the second extension distance, wherein the extension distance is the distance between the center of each industrial camera and the installation position of the corresponding servo electric cylinder when the camera center of each industrial camera is aligned with the center of the corresponding wheel;
[0017] Receive the current steering wheel angle of the tested vehicle sent by the ECU, determine the current front wheel angle of the tested vehicle, and calculate the ratio of the front wheel angle of the tested vehicle to the steering wheel angle based on the current front wheel angle and the current steering wheel angle.
[0018] Optionally, the parameter calibrator further includes an electric cylinder bottom plate;
[0019] The two servo electric cylinders are respectively fixedly connected to the vertical center line of the upper surface of the electric cylinder base plate, and are respectively located on both sides of the horizontal center line of the upper surface of the electric cylinder base plate. The two industrial cameras are respectively fixedly installed on the ends of the two servo electric cylinders away from the electric cylinder base plate.
[0020] Optionally, the parameter calibrator further includes a parameter calibrator bracket, a parameter calibrator bottom plate, a motor, two forward and backward movable guide rails, a slider, a turntable bottom plate and an electric rotating turntable, the motor and the electric rotating turntable are both connected to the controller signal, and the controller is fixedly mounted on the upper surface of the parameter calibrator bottom plate;
[0021] The parameter calibration instrument bracket is fixedly installed in the pit, the parameter calibration instrument bottom plate is fixedly connected to the top of the parameter calibration instrument bracket, the two forward and backward movable guide rails are fixedly connected to the upper surface of the parameter calibration instrument bottom plate and are symmetrically arranged about the vertical center line of the upper surface of the parameter calibration instrument bottom plate, the slider is slidably connected to the top of the two forward and backward movable guide rails, the motor is fixedly connected to the upper surface of the parameter calibration instrument bottom plate and the output end of the motor is drivingly connected to the slider;
[0022] The turntable bottom plate is fixedly connected to the top of the slider, the electric rotary turntable is fixedly connected to the center position of the upper surface of the turntable bottom plate, and the electric cylinder bottom plate is fixedly installed at the center position of the upper surface of the electric rotary turntable;
[0023] When receiving a movement instruction, the controller controls the motor to drive the slider to move a first target distance along the two forward and backward moving guide rails in a first target direction, wherein the movement instruction includes the first target direction and the first target distance;
[0024] When receiving a rotation instruction, the controller controls the electric rotary turntable to rotate toward a second target direction by a target angle, wherein the rotation instruction includes the second target direction and the target angle.
[0025] Optionally, when receiving the alignment instruction, the controller uses the moving distance of the industrial camera corresponding to the first servo electric cylinder contained in the alignment instruction as the first current target distance, and uses the moving distance of the industrial camera corresponding to the second servo electric cylinder contained in the alignment instruction as the second current target distance;
[0026] After controlling the first servo electric cylinder to drive the corresponding industrial camera to move the first current target distance, controlling the industrial camera corresponding to the first servo electric cylinder to take a picture of the left front wheel to obtain a first image, performing image processing on the first image to obtain a second target distance between the camera center of the industrial camera corresponding to the first servo electric cylinder and the center of the left front wheel, judging whether the second target distance is 0, if not, taking the second target distance as the first current target distance, returning to execute the control of the first servo electric cylinder to drive the corresponding industrial camera to move the first current target distance until the second target distance is 0, wherein the second target distance is an alignment distance, and when the alignment distance is 0, the camera center of the industrial camera corresponding to the first servo electric cylinder is aligned with the center of the left front wheel;
[0027] After controlling the second servo electric cylinder to drive the corresponding industrial camera to move the second current target distance, the industrial camera corresponding to the second servo electric cylinder is controlled to take a picture of the right front wheel to obtain a second image, and the second image is processed to obtain a third target distance between the camera center of the industrial camera corresponding to the second servo electric cylinder and the center of the right front wheel, and it is determined whether the third target distance is 0. If not, the third target distance is used as the second current target distance, and the control of the second servo electric cylinder to drive the corresponding industrial camera to move the second current target distance until the third target distance is 0 is returned, wherein the third target distance is the alignment distance. When the alignment distance is 0, the camera center of the industrial camera corresponding to the second servo electric cylinder is aligned with the center of the right front wheel.
[0028] Optionally, for each video frame image in the steering video of the left front wheel, the controller performs a correlation value operation on the video frame image and a preset filter template based on a correlation filtering method to obtain the motion trajectory point coordinates of the tracking target in the video frame image, wherein the preset filter template is a filter template with the maximum response obtained when the preset filter template acts on the tracking target in the video frame image, and the tracking target is any point on the wheel;
[0029] Fitting all the motion trajectory point coordinates of the tracking target in the steering video of the left front wheel by the least square method to obtain a fitted circular curve;
[0030] The circular curve is solved to obtain a first distance from the center of the left front wheel to the center of rotation of the left front wheel.
[0031] Optionally, the controller calculates a first sum between the first extension distance and the second extension distance, calculates a second sum between the first distance and the second distance, calculates a difference between the first sum and the second sum, and uses the difference as the front wheel kingpin spacing of the vehicle under test.
[0032] Optionally, the controller generates a trajectory point arc image based on all motion trajectory points of the tracking target in the steering video of the left front wheel;
[0033] Determine the coordinates of the starting point, the ending point and the center of the arc formed by all the motion trajectory points in the steering video of the left front wheel in the trajectory point arc image;
[0034] Calculating a first angle between a straight line formed by the center of the circle and the starting point and a horizontal coordinate axis of the trajectory point arc image;
[0035] Calculating a second angle between a straight line formed by the center of the circle and the end point and a horizontal coordinate axis of the trajectory point arc image;
[0036] The current front wheel turning angle of the tested vehicle is calculated based on the first angle and the second angle.
[0037] Optionally, the controller determines the current front wheel angle of the vehicle under test based on a pre-established target deep learning neural network model and the current steering wheel angle, wherein the target deep learning neural network model is used to correlate the steering wheel angle sample data with the corresponding vehicle front wheel angle sample data.
[0038] Optionally, the training process of the target deep learning neural network model is:
[0039] Obtaining steering wheel angle sample data and corresponding vehicle front wheel angle sample data;
[0040] The steering wheel angle sample data and the corresponding vehicle front wheel angle sample data are used as model training data to train the initial deep learning neural network model to obtain the target deep learning neural network model.
[0041] Optionally, the target deep learning neural network model is a back-propagation BP neural network model.
[0042] It can be seen from the above content that an embodiment of the present invention provides a system for calibrating the geometric parameters of a vehicle under test in a whole-vehicle-in-the-loop test, comprising a controller, two pit racks and a parameter calibrator arranged in a pit, the vehicle under test is placed directly above the pit, the two pit racks are arranged in parallel, the controller is fixedly mounted on the parameter calibrator, and the controller is communicatively connected with the electronic control unit ECU of the vehicle under test; each pit rack comprises a rack bracket and a scissor lift, the scissor lift is fixedly mounted on the rear side of the rack bracket, the two rack brackets are respectively arranged directly below the two front wheels of the vehicle under test, and the parameter calibrator is arranged on the two racks. The parameter calibrator includes at least two servo electric cylinders and two industrial cameras, both of which are connected to the controller signal, and each servo electric cylinder is connected to the corresponding industrial camera drive, and two scissor lifts lift the vehicle under test; when the controller receives the alignment instruction, it controls the first servo electric cylinder to drive the corresponding industrial camera to move until its own camera center is aligned with the center of the left front wheel, and controls the second servo electric cylinder to drive the corresponding industrial camera to move until its own camera center is aligned with the center of the right front wheel, wherein the first servo electric cylinder is a servo electric cylinder close to the left front wheel of the vehicle under test, and the second servo electric cylinder is a servo electric cylinder close to the left front wheel of the vehicle under test. A servo electric cylinder is provided for the right front wheel of the vehicle under test; after the camera centers of the two industrial cameras have been aligned with the centers of the corresponding wheels, the two industrial cameras are controlled to respectively shoot the steering video of the left front wheel and the steering video of the right front wheel; the steering video of the left front wheel and the steering video of the right front wheel shot by the two industrial cameras are received, and the steering video of the left front wheel and the steering video of the right front wheel are respectively tracked and processed based on the target tracking algorithm to obtain the first distance from the center of the left front wheel to the rotation center of the left front wheel and the second distance from the center of the right front wheel to the rotation center of the right front wheel, and obtain the first extension distance of the industrial camera corresponding to the first servo electric cylinder. The second extension distance of the industrial camera corresponding to the first and second servo electric cylinders is calculated according to the first distance, the second distance, the first extension distance and the second extension distance to obtain the front wheel kingpin spacing of the tested vehicle, wherein the extension distance is the distance between the center of each industrial camera and the installation position of the corresponding servo electric cylinder when the camera center of each industrial camera is aligned with the center of the corresponding wheel; the current steering wheel angle of the tested vehicle sent by the ECU is received, the current front wheel angle of the tested vehicle is determined, and the ratio of the front wheel angle of the tested vehicle to the steering wheel angle is calculated according to the current front wheel angle of the tested vehicle and the current steering wheel angle.Therefore, by setting a controller, two pit frames and a parameter calibrator, the controller controls the two industrial cameras of the parameter calibrator to shoot the steering video of the left front wheel and the steering video of the right front wheel, and then based on the target tracking algorithm, the steering video of the left front wheel and the steering video of the right front wheel are tracked and processed respectively to obtain a first distance from the center of the left front wheel to the rotation center of the left front wheel and a second distance from the center of the right front wheel to the rotation center of the right front wheel, and then a first extension distance of the industrial camera corresponding to the first servo electric cylinder and a second extension distance of the industrial camera corresponding to the second servo electric cylinder are obtained. The front wheel kingpin distance of the tested vehicle is calculated by the first extension distance and the second extension distance, and the current steering wheel angle of the tested vehicle sent by the ECU is received to determine the current front wheel angle of the tested vehicle, and the ratio of the front wheel angle of the tested vehicle to the steering wheel angle is calculated according to the current front wheel angle and the current steering wheel angle, so as to achieve the purpose of automatically obtaining the front wheel kingpin distance and the ratio of the front wheel angle to the steering wheel angle in real time, without the need for on-site measurement, and without manual measurement errors, thereby improving the accuracy of the obtained parameters, further improving the accuracy of the test results, and avoiding affecting the test progress.
[0043] The innovative features of the embodiments of the present invention include:
[0044] 1. By setting a controller, two pit frames and a parameter calibrator, the controller controls the two industrial cameras of the parameter calibrator to shoot the steering video of the left front wheel and the steering video of the right front wheel, and then track the steering video of the left front wheel and the steering video of the right front wheel based on the target tracking algorithm to obtain the first distance from the center of the left front wheel to the rotation center of the left front wheel and the second distance from the center of the right front wheel to the rotation center of the right front wheel, and then obtain the first extension distance of the industrial camera corresponding to the first servo electric cylinder and the second extension distance of the industrial camera corresponding to the second servo electric cylinder. According to the first distance and the second distance The front wheel kingpin distance of the vehicle under test is calculated by using the first extension distance and the second extension distance, and the current steering wheel angle of the vehicle under test sent by the ECU is received to determine the current car front wheel angle of the vehicle under test, and the ratio of the car front wheel angle to the steering wheel angle of the vehicle under test is calculated according to the current car front wheel angle and the current steering wheel angle, so as to achieve the purpose of automatically obtaining the front wheel kingpin distance and the ratio of the car front wheel angle to the steering wheel angle in real time, without the need for on-site measurement, and without manual measurement errors, thereby improving the accuracy of the obtained parameters, further improving the accuracy of the test results, and avoiding affecting the test progress.
[0045] 2. Since the embodiment of the present invention can obtain the front wheel kingpin distance and the ratio of the front wheel angle of the vehicle to the steering wheel angle in real time, the preparation time of the vehicle-in-the-loop test is greatly reduced, the test efficiency is improved, and the reliability of the test results is ensured.
[0046] 3. The controller controls the two servo electric cylinders through image processing to drive the corresponding industrial cameras to move until their own camera centers are aligned with the centers of the corresponding wheels.
[0047] 4. Perform correlation value operation on the steering video of the left front wheel through the correlation filtering method to obtain the coordinates of all motion trajectory points in the steering video of the left front wheel, and then fit the coordinates of all motion trajectory points of the tracking target in the steering video of the left front wheel through the least squares method to obtain the fitted circular curve, and solve the circular curve to obtain the first distance from the center of the left front wheel to the rotation center of the left front wheel.
[0048] 5. The front wheel kingpin spacing of the vehicle under test is obtained by calculating a first sum between the first extension distance and the second extension distance, calculating a second sum between the first distance and the second distance, calculating a difference between the first sum and the second sum, and using the difference as the front wheel kingpin spacing of the vehicle under test.
[0049] 6. The current front wheel steering angle of the vehicle under test is obtained by calculating the center angle of the arc formed by all the motion trajectory points in the steering video of the left front wheel.
[0050] 7. By fixing the two servo electric cylinders on the vertical center line of the upper surface of the electric cylinder bottom plate and locating them on both sides of the horizontal center line of the upper surface of the electric cylinder bottom plate, the two servo electric cylinders are fixedly installed at the center of the electric cylinder bottom plate, with balanced force, easy installation and beautiful appearance.
[0051] 8. Determine the current front wheel angle of the vehicle under test based on the pre-established target deep learning neural network model and the current steering wheel angle.
[0052] 9. By setting a motor, two forward and backward moving guide rails and a slider, the controller can control the slider to move forward and backward, thereby driving the two industrial motors to move forward and backward. Also, by setting an electric rotating turntable, the controller can control the electric rotating turntable to rotate, thereby driving the two industrial cameras to rotate.
[0053] Of course, it is not necessary to achieve all of the advantages described above at the same time to implement any product or method of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without creative work.
[0055] Figure 1A schematic diagram of a structure of a system for calibrating geometric parameters of a vehicle under test in a vehicle-in-the-loop test provided by an embodiment of the present invention;
[0056] Figure 2 Schematic diagram of geometric parameter calibration for the vehicle under test;
[0057] Figure 3 A schematic diagram of the structure of a pit gantry provided by an embodiment of the present invention;
[0058] Figure 4 A schematic diagram of the structure of a parameter calibration instrument provided in an embodiment of the present invention;
[0059] Figure 5 This is a schematic diagram of wheel steering;
[0060] FIG6( a ) is a schematic diagram of an arc image of a trajectory point when the center angle of the arc is an acute angle;
[0061] FIG6( b ) is a schematic diagram of an arc image of a trajectory point when the center angle of the arc is an obtuse angle;
[0062] Figure 7 Schematic diagram of the nonlinear function of the steering wheel angle and the front wheel angle of the car.
[0063] Figure 1-Figure 7 1 pit, 2 pit frame, 21 frame bracket, 22 scissor lift, 3 parameter calibrator, 31 servo electric cylinder, 32 industrial camera, 33 electric cylinder bottom plate, 34 parameter calibrator bracket, 35 parameter calibrator bottom plate, 36 front and rear moving guide rail, 37 slider, 38 electric rotating turntable, 4 tested vehicle, r 1 The first distance, r 2 The second distance, d 1 First extension distance, d 2 The second extension distance, U is the distance between the front wheel kingpins of the measured vehicle, β is the current front wheel turning angle of the vehicle, D is the starting point of the arc, E is the ending point of the arc, O is the center of the arc, M is the first angle, and N is the second angle. DETAILED DESCRIPTION
[0064] The following will be combined with the accompanying drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0065] It should be noted that the terms "including" and "having" and any variations thereof in the embodiments of the present invention and the accompanying drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices.
[0066] The embodiment of the present invention discloses a system for calibrating geometric parameters of a vehicle under test in a vehicle-in-the-loop test, which can improve the accuracy of the test results and avoid affecting the test progress. The embodiment of the present invention is described in detail below.
[0067] Figure 1 A schematic diagram of a structural diagram of a vehicle geometric parameter calibration system for a vehicle-in-the-loop test provided by an embodiment of the present invention, Figure 2 Schematic diagram of geometric parameter calibration for the vehicle under test. Figure 1 and Figure 2 The vehicle geometric parameter calibration system for the whole vehicle in-the-loop test provided by the embodiment of the present invention includes a controller and two pit racks 2 and a parameter calibrator 3 arranged in the pit 1, wherein the two pit racks 2 and the parameter calibrator 3 can be fixed in the pit 1 by anchor bolts.
[0068] The vehicle 4 under test is placed directly above the pit 1, two pit racks 2 are arranged in parallel, and the controller is fixedly installed on the parameter calibrator 3, wherein the fixed installation method can be any fixed installation method in the prior art, and the embodiment of the present invention does not impose any limitation on this.
[0069] The controller is in communication connection with an ECU (Electronic Control Unit) of the tested vehicle 4. The controller may be a PLC (Programmable Logic Controller).
[0070] Figure 3 The structural diagram of the pit rack 2 provided by the embodiment of the present invention is shown in FIG. Figure 3 Each pit frame 2 includes a frame support 21 and a scissor lift 22, and the scissor lift 22 is fixedly installed on the rear side of the frame support 21. The fixed installation method can be bolt connection or any fixed installation method in the prior art, and the embodiment of the present invention does not limit this.
[0071] Continue to see Figure 3The rack support 21 can be a stepped structure, the front side of the rack support 21 is a high step, and the rear side of the rack support 21 is a low step. When the scissor lift 22 is not raised, the upper surface of the scissor lift 22 is flush with the upper surface of the front side of the rack support 21. And when the two scissor lifts 22 are not raised, their upper surfaces do not exceed the pit 1.
[0072] The front side of the travel rack bracket 21 can be a rectangular hollow structure, or a structure with multiple through holes on the side, as long as it has a certain load-bearing capacity, the front side of the travel rack bracket 21 is set as a hollow or perforated structure to reduce weight. The rear side of the travel rack bracket 21 can be a groove structure.
[0073] Continue to see Figure 2 , the two carriage brackets 21 are respectively arranged directly below the two front wheels of the vehicle 4 under test, and the parameter calibrator 3 is arranged between the two carriage brackets 21. Since the two carriage brackets 21 are respectively arranged directly below the two front wheels of the vehicle 4 under test, and the parameter calibrator 3 is arranged between the two carriage brackets 21, the parameter calibrator 3 is very close to the two front wheels of the vehicle 4 under test.
[0074] Figure 4 The structural diagram of the parameter calibration instrument provided by the embodiment of the present invention is shown in FIG. Figure 4 The parameter calibrator 3 includes at least two servo electric cylinders 31 and two industrial cameras 32 . Both servo electric cylinders 31 are connected to the controller signal, and each servo electric cylinder 31 is driven and connected to the corresponding industrial camera 32 .
[0075] When parameter calibration is required, the tester controls the two scissor lifts 22 to rise through the controller of the scissor lifts 22 so as to lift the vehicle 4 under test.
[0076] After the vehicle 4 under test is lifted up, parameter calibration can be performed. The tester sends an alignment command to the controller. When receiving the alignment command, the controller controls the first servo electric cylinder to drive the corresponding industrial camera 32 to move until its own camera center is aligned with the center of the left front wheel, and controls the second servo electric cylinder to drive the corresponding industrial camera 32 to move until its own camera center is aligned with the center of the right front wheel, wherein the first servo electric cylinder is a servo electric cylinder close to the left front wheel of the vehicle 4 under test, and the second servo electric cylinder is a servo electric cylinder close to the right front wheel of the vehicle 4 under test.
[0077] When receiving the alignment instruction, the controller controls the first servo electric cylinder to drive the corresponding industrial camera 32 to move to align its own camera center with the center of the left front wheel, and controls the second servo electric cylinder to drive the corresponding industrial camera 32 to move to align its own camera center with the center of the right front wheel.
[0078] When receiving the alignment instruction, the controller uses the moving distance of the industrial camera 32 corresponding to the first servo electric cylinder contained in the alignment instruction as the first current target distance, and uses the moving distance of the industrial camera 32 corresponding to the second servo electric cylinder contained in the alignment instruction as the second current target distance;
[0079] After controlling the first servo electric cylinder to drive the corresponding industrial camera 32 to move the first current target distance, the industrial camera 32 corresponding to the first servo electric cylinder is controlled to take a picture of the left front wheel to obtain a first image, and the first image is processed to obtain a second target distance between the camera center of the industrial camera 32 corresponding to the first servo electric cylinder and the center of the left front wheel, and it is determined whether the second target distance is 0. If not, the second target distance is used as the first current target distance, and the control of the first servo electric cylinder to drive the corresponding industrial camera 32 to move the first current target distance until the second target distance is 0 is returned, wherein the second target distance is the alignment distance. When the alignment distance is 0, the camera center of the industrial camera 32 corresponding to the first servo electric cylinder is aligned with the center of the left front wheel;
[0080] After controlling the second servo electric cylinder to drive the corresponding industrial camera 32 to move the second current target distance, the industrial camera 32 corresponding to the second servo electric cylinder is controlled to take a picture of the right front wheel to obtain a second image, and the second image is processed to obtain the third target distance between the camera center of the industrial camera 32 corresponding to the second servo electric cylinder and the center of the right front wheel, and it is determined whether the third target distance is 0. If not, the third target distance is used as the second current target distance, and the control of the second servo electric cylinder to drive the corresponding industrial camera 32 to move the second current target distance until the third target distance is 0 is returned, wherein the third target distance is the alignment distance. When the alignment distance is 0, the camera center of the industrial camera 32 corresponding to the second servo electric cylinder is aligned with the center of the right front wheel.
[0081] The alignment instruction issued by the tester includes the moving distance of the two industrial cameras 32. After receiving the alignment instruction, the controller controls the two servo electric cylinders 31 to drive the corresponding industrial cameras 32 to move the corresponding moving distances.
[0082] However, after the two industrial cameras 32 have completed the movement, the camera centers of the two industrial cameras 32 may not be aligned with the centers of the corresponding front wheels. Therefore, it is necessary to take pictures of the corresponding front wheels through the two industrial cameras 32, and then perform image processing on the taken images to determine whether the camera centers of the two industrial cameras 32 are aligned with the centers of the corresponding front wheels. If not, the controller needs to control the two servo electric cylinders 31 again to drive the corresponding industrial cameras 32 to move respectively until the camera centers of the two industrial cameras 32 are aligned with the centers of the corresponding front wheels. The image processing method can be any image processing method in the prior art that can calculate the distance between the camera taking pictures and the photographed object, and the embodiments of the present invention do not impose any limitation on this. The distance between the camera taking pictures and the photographed object includes the alignment distance.
[0083] Therefore, the controller controls the two servo electric cylinders 31 through image processing to drive the corresponding industrial cameras 32 to move until their own camera centers are aligned with the centers of the corresponding wheels.
[0084] After the camera centers of the two industrial cameras 32 have been aligned with the centers of the corresponding wheels, the controller controls the two industrial cameras 32 to respectively shoot the steering video of the left front wheel and the steering video of the right front wheel. Specifically, after the camera centers of the two industrial cameras 32 have been aligned with the centers of the corresponding wheels, the tester controls the tested vehicle 4 to turn.
[0085] Under the control of the controller, the two industrial cameras 32 respectively shoot the steering video of the left front wheel and the steering video of the right front wheel and send them to the controller, wherein the industrial camera 32 located near the left front wheel shoots the steering video of the left front wheel, and the industrial camera 32 located near the right front wheel shoots the steering video of the right front wheel. The steering video of each wheel can be a video of turning left first and then turning right, or a video of turning right first and then turning left.
[0086] The controller receives the steering video of the left front wheel and the steering video of the right front wheel taken by two industrial cameras 32, and tracks and processes the steering video of the left front wheel and the steering video of the right front wheel based on the target tracking algorithm, respectively, to obtain a first distance from the center of the left front wheel to the rotation center of the left front wheel and a second distance from the center of the right front wheel to the rotation center of the right front wheel, wherein the wheel rotation center is the center of a circle corresponding to the arc trajectory formed by a marked point on the wheel when the marked point is tracked, and the marked point is the tracking target.
[0087] The first distance may be determined in the following manner:
[0088] For each video frame image in the steering video of the left front wheel, the controller performs a correlation value operation on the video frame image and a preset filter template based on a correlation filtering method to obtain the motion trajectory point coordinates of the tracking target in the video frame image, wherein the preset filter template is a filter template with the maximum response when it acts on the tracking target in the video frame image, and the tracking target is any point on the wheel;
[0089] The coordinates of all the motion trajectory points of the tracking target in the steering video of the left front wheel are fitted by the least square method to obtain the fitted circular curve;
[0090] Solve the circular curve to obtain the first distance from the center of the left front wheel to the center of rotation of the left front wheel.
[0091] The correlation filtering method is a target tracking algorithm. Compared with other target tracking algorithms, the biggest advantage of the correlation filtering method is that it has an extremely fast operation speed and a high accuracy. The correlation value is a measure of the similarity between two signals. The more similar the two signals are, the higher their correlation value is. In the embodiment of the present invention, the two signals refer to each video frame image in the steering video and the preset filter template h.
[0092] Among them, the preset filter template h is the filter template with the largest response g when it acts on the tracking target in the video frame image. The tracking target is any point on the wheel, and a point that is easy to be photographed by the industrial camera 32 can be selected. Among them, the response g is presented in the video frame image f as a two-dimensional Gaussian peak centered on the tracking target.
[0093] For each video frame image in the steering video of the left front wheel, the controller performs a correlation value operation on the video frame image and a preset filter template based on a correlation filtering method to obtain the motion trajectory point coordinates of the tracking target in the video frame image, which can be:
[0094] For each video frame image in the steering video of the left front wheel, the controller calculates the two-dimensional Fourier transform of the video frame image f: F=F(f), the two-dimensional Fourier transform of the preset filter template h: H=F(h) and the two-dimensional Fourier transform of the response g: G=F(g).
[0095] From the convolution theorem, we know that the correlation value operation becomes the multiplication of elements in the Fourier domain. The ⊙ symbol represents the multiplication of elements and the * symbol represents the complex conjugate. Then the correlation value is in the form of:
[0096] G=F⊙H * (1)
[0097] Where G is the two-dimensional Fourier transform of the response g, F is the two-dimensional Fourier transform of the video frame image f, and H *It is the complex conjugate of the two-dimensional Fourier transform of the preset filter template h.
[0098] Adjusting the above formula (1), we have:
[0099]
[0100] In practical applications, due to the influence of factors such as the appearance change of the tracked target, it is necessary to consider m consecutive video frame images with the tracked target in the steering video of the left front wheel as references to improve the robustness of the model. Then there is the following objective function:
[0101]
[0102] Among them, F i is the two-dimensional Fourier transform of the i-th video frame image in the left front wheel steering video, G i is the two-dimensional Fourier transform of the response g of the i-th video frame image in the steering video of the left front wheel.
[0103] According to the convolution theorem, the operations in the frequency domain are all element-wise, so H can be solved separately * Each element in
[0104]
[0105] in, is the complex conjugate of the two-dimensional Fourier transform of the element with horizontal coordinate w and vertical coordinate v in the preset filter template h, F w,v,i is the two-dimensional Fourier transform of the element with horizontal coordinate w and vertical coordinate v in the i-th video frame image in the steering video of the left front wheel, G w,v,i It is the two-dimensional Fourier transform of the response of the element with abscissa w and ordinate v in the i-th video frame image in the steering video of the left front wheel.
[0106] By taking the derivative of the above formula (4) and setting it to 0, we can obtain the following solution:
[0107]
[0108] in, is the complex conjugate of the two-dimensional Fourier transform of the i-th video frame image in the steering video of the left front wheel, is the complex conjugate of the two-dimensional Fourier transform of the response g of the i-th video frame image in the steering video of the left front wheel.
[0109] Getting H means getting H *In the process of tracking the target, it is only necessary to perform the correlation value operation shown in formula (1) on the preset filter template h and each video frame image in the steering video of the left front wheel, and use the corresponding coordinates of the largest point in the two-dimensional Fourier transform G of the response g as the coordinates of the motion trajectory point of the tracking target in each video frame image.
[0110] The updating method of the preset filter template h can be performed as follows:
[0111] H t =(1-η)H t-1 +ηH(t) (6)
[0112] Among them, H t is the two-dimensional Fourier transform of the preset filter template h in the t-th frame video frame image, η is an empirical constant between 0 and 1, H t-1 is the two-dimensional Fourier transform of the preset filter template h in the t-1th frame video frame image, and H(t) is the filter template obtained in the tth frame video frame image.
[0113] Thus, the coordinates of the motion trajectory points of the tracking target in each video frame image are obtained by the above correlation filtering method, thereby obtaining a series of motion trajectory point coordinates (x, y) of the tracking target on the left front wheel.
[0114] Then, the least squares method is used to fit the coordinates of all the motion trajectory points of the tracking target in the steering video of the left front wheel to obtain the fitted circular curve:
[0115] R 2 =(xA) 2 +(yB) 2 (7)
[0116] Among them, R is the radius of the circular curve, which is also the first distance from the center of the left front wheel to the center of rotation of the left front wheel, A is the horizontal coordinate of the center of the circular curve, B is the vertical coordinate of the center of the circular curve, x is the horizontal coordinate of the motion trajectory point of the tracking target on the left front wheel, and y is the vertical coordinate of the motion trajectory point of the tracking target on the left front wheel.
[0117] Let a = -2A, b = -2B, c = A 2 +B 2 -R 2 , we can get another form of the circular curve equation:
[0118] x 2 +y 2 +ax+by+c=0 (8)
[0119] Substitute the coordinates of all the motion trajectory points of the tracking target in the left front wheel steering video into the above formula (8) to solve the circular curve and obtain the radius R of the circular curve, which is the first distance r from the left front wheel center to the left front wheel turning center. 1 :
[0120]
[0121] Therefore, the correlation value operation is performed on the steering video of the left front wheel through the correlation filtering method to obtain the coordinates of all motion trajectory points in the steering video of the left front wheel, and then the coordinates of all motion trajectory points of the tracking target in the steering video of the left front wheel are fitted by the least squares method to obtain the fitted circular curve, and the circular curve is solved to obtain the first distance from the center of the left front wheel to the rotation center of the left front wheel.
[0122] Similarly, the second distance may be determined as follows:
[0123] For each video frame image in the steering video of the right front wheel, the controller performs a correlation value operation on the video frame image and a preset filter template based on a correlation filtering method to obtain the motion trajectory point coordinates of the tracking target in the video frame image, wherein the preset filter template is a filter template with the maximum response obtained when it acts on the tracking target in the video frame image, and the tracking target is any point on the wheel;
[0124] The coordinates of all the motion trajectory points of the tracking target in the steering video of the right front wheel are fitted by the least square method to obtain the fitted circular curve;
[0125] Solve the circular curve to obtain the second distance from the center of the right front wheel to the center of rotation of the right front wheel.
[0126] The method for determining the second distance is the same as the method for determining the first distance. For details, please refer to the method for determining the first distance mentioned above, which will not be repeated here.
[0127] After obtaining the first distance and the second distance, the controller obtains the first extension distance of the industrial camera 32 corresponding to the first servo electric cylinder and the second extension distance of the industrial camera 32 corresponding to the second servo electric cylinder, wherein the extension distance is the distance between the center of each industrial camera 32 and the installation position of the corresponding servo electric cylinder when the camera center of each industrial camera 32 is aligned with the center of the corresponding wheel.
[0128] Since the controller controls the alignment of the camera centers of the two industrial cameras 32 with the centers of the corresponding wheels, the controller can obtain the distance between the center of each industrial camera 32 and the installation position of the corresponding servo electric cylinder when the camera center of each industrial camera 32 is aligned with the center of the corresponding wheel, that is, the first extension distance and the second extension distance.
[0129] Figure 5 Schematic diagram of wheel steering. Figure 5 In, r 1 is the first distance, r 2 is the second distance, d 1 is the first extension distance, d 2 is the second extension distance, U is the front wheel kingpin distance of the tested vehicle 4, and β is the front wheel turning angle of the vehicle.
[0130] After obtaining the first extension distance and the second extension distance, the controller calculates the front wheel kingpin distance of the tested vehicle 4 according to the first distance, the second distance, the first extension distance and the second extension distance.
[0131] The controller calculates the front wheel kingpin spacing of the tested vehicle 4 according to the first distance, the second distance, the first extension distance and the second extension distance, which can be:
[0132] The controller calculates a first sum between the first extension distance and the second extension distance, calculates a second sum between the first distance and the second distance, calculates a difference between the first sum and the second sum, and uses the difference as the front wheel kingpin distance of the vehicle 4 under test.
[0133] The front wheel kingpin spacing of the tested vehicle 4 is calculated according to the following formula:
[0134] U=(d 1 +d 2 )-(r 1 +r 2 )
[0135] Among them, U is the front wheel kingpin distance of the tested vehicle 4, r 1 is the first distance, r 2 is the second distance, d 1 is the first extension distance, d 2 is the second extension distance.
[0136] Therefore, the front wheel kingpin spacing of the vehicle 4 under test is obtained by calculating the first sum between the first extension distance and the second extension distance, calculating the second sum between the first distance and the second distance, calculating the difference between the first sum and the second sum, and using the difference as the front wheel kingpin spacing of the vehicle 4 under test.
[0137] Since the controller is communicatively connected with the ECU, the controller can receive the current steering wheel angle of the vehicle under test 4 sent by the ECU, determine the current front wheel angle of the vehicle under test 4, and calculate the ratio of the front wheel angle of the vehicle under test 4 to the steering wheel angle based on the current front wheel angle and the current steering wheel angle.
[0138] There are many ways to determine the current front wheel angle of a car, including but not limited to the following two ways:
[0139] First way:
[0140] When the controller obtains the coordinates of all the motion track points in the steering video of the left front wheel, the controller generates a track point arc image based on all the motion track points of the tracking target in the steering video of the left front wheel;
[0141] Determine the coordinates of the starting point, the ending point and the center of the arc formed by all the motion trajectory points in the steering video of the left front wheel in the trajectory point arc image;
[0142] Calculate the first angle between the straight line formed by the center of the circle and the starting point and the horizontal coordinate axis of the arc image of the trajectory point;
[0143] Calculate the second angle between the straight line formed by the center of the circle and the end point and the horizontal coordinate axis of the trajectory point arc image;
[0144] The current front wheel turning angle of the tested vehicle 4 is calculated based on the first angle and the second angle.
[0145] Since the front wheel turning angles of the two front wheels are the same, the front wheel turning angle of the car can be calculated based on the steering video of one side of the front wheels. In the embodiment of the present invention, the calculation is based on the steering video of the left front wheel. Of course, the calculation can also be based on the steering video of the right front wheel.
[0146] FIG6(a) is a schematic diagram of an arc image of trajectory points when the center angle of the arc is an acute angle, and FIG6(b) is a schematic diagram of an arc image of trajectory points when the center angle of the arc is an obtuse angle. Referring to FIG6(a) and FIG6(b), when the controller obtains the coordinates of all motion trajectory points in the steering video of the left front wheel, the controller generates an arc image of trajectory points based on all motion trajectory points of the tracking target in the steering video of the left front wheel. The method of generating images by motion trajectory points may be any image generating method in the prior art, and the embodiments of the present invention do not impose any limitation on this.
[0147] As shown in Figure 6(a) and Figure 6(b), all the motion trajectory points of the tracking target in the steering video of the left front wheel are presented as a circular arc. The coordinates of the starting point, the ending point and the center of the circular arc formed by all the motion trajectory points in the steering video of the left front wheel are determined in the trajectory point arc image. That is, the starting point of the circular arc is recorded as D(x 1 ,y 1 ), the end point is E(x 2 ,y 2 ), the center of the circle is O(x 0 ,y 0 ), wherein the center angle of the arc formed by all the motion trajectory points in the steering video of the left front wheel is the current front wheel turning angle of the tested vehicle 4.
[0148] When the center angle of the arc is an acute angle, the first angle M between the straight line OD formed by the center of the circle and the starting point and the horizontal coordinate axis of the trajectory point arc image is calculated according to the following formula (10), and the second angle N between the straight line OE formed by the center of the circle and the end point and the horizontal coordinate axis of the trajectory point arc image is calculated:
[0149]
[0150] When the center angle of the arc is an acute angle, the current front wheel turning angle of the tested vehicle 4 is calculated based on the first angle and the second angle. The difference between the first angle and the second angle is calculated as the current front wheel turning angle of the tested vehicle 4:
[0151] β=MN (11)
[0152] When the center angle of the arc is an obtuse angle, the first angle M between the straight line OD formed by the center of the circle and the starting point and the horizontal coordinate axis of the trajectory point arc image is calculated according to the following formula (12), and the second angle N between the straight line OE formed by the center of the circle and the end point and the horizontal coordinate axis of the trajectory point arc image is calculated:
[0153]
[0154] When the central angle of the arc is an obtuse angle, the current front wheel turning angle of the tested vehicle 4 is calculated based on the first angle and the second angle. The calculation method can be as follows: the sum of the first angle and the second angle is calculated as the current front wheel turning angle of the tested vehicle 4:
[0155] β=M+N (13)
[0156] Therefore, the current front wheel turning angle of the tested vehicle 4 is obtained by calculating the center angle of the arc formed by all the motion track points in the steering video of the left front wheel.
[0157] Second way:
[0158] The controller determines the current front wheel angle of the tested vehicle 4 based on a pre-established target deep learning neural network model and the current steering wheel angle, wherein the target deep learning neural network model is used to correlate the steering wheel angle sample data with the corresponding front wheel angle sample data.
[0159] Among them, the training process of the target deep learning neural network model can be:
[0160] Obtaining steering wheel angle sample data and corresponding vehicle front wheel angle sample data;
[0161] The steering wheel angle sample data and the corresponding car front wheel angle sample data are used as model training data to train the initial deep learning neural network model to obtain the target deep learning neural network model.
[0162] When establishing the target deep learning neural network model, it is necessary to obtain the steering wheel angle sample data and the corresponding car front wheel angle sample data.
[0163] The steering wheel angle sample data and the corresponding vehicle front wheel angle sample data may be obtained in the following manner:
[0164] The steering wheel is turned multiple times to obtain multiple steering wheel angles and corresponding front wheel angles of the vehicle, and then the multiple steering wheel angles are used as steering wheel angle sample data, and the front wheel angles of the vehicle corresponding to the multiple steering wheel angles are used as front wheel angle sample data of the vehicle.
[0165] After obtaining the steering wheel angle sample data and the corresponding car front wheel angle sample data, the steering wheel angle sample data and the corresponding car front wheel angle sample data can be used as model training data to train the initial deep learning neural network model to obtain the target deep learning neural network model.
[0166] The condition for the end of model training can be that the required number of model iterations is reached or the model error is less than the required error threshold. The steering wheel angle and the front wheel angle of the car are in a nonlinear functional relationship β = F (α), where α is the steering wheel angle. Figure 7 As shown, Figure 7 Schematic diagram of the nonlinear function of the steering wheel angle and the front wheel angle of the car.
[0167] Exemplarily, the target deep learning neural network model may be a BP (Back Propagation Neural Network) neural network model.
[0168] Therefore, the current front wheel angle of the tested vehicle 4 is determined based on the pre-established target deep learning neural network model and the current steering wheel angle.
[0169] Continue to see Figure 4 The parameter calibration instrument 3 also includes an electric cylinder bottom plate 33, two servo electric cylinders 31 are respectively fixedly connected to the vertical center line of the upper surface of the electric cylinder bottom plate 33, and are respectively located on both sides of the horizontal center line of the upper surface of the electric cylinder bottom plate 33, and two industrial cameras 32 are respectively fixedly installed at the ends of the two servo electric cylinders 31 away from the electric cylinder bottom plate 33. Among them, the fixed installation method can be bolted.
[0170] By fixing the two servo electric cylinders 31 on the vertical center line of the upper surface of the electric cylinder bottom plate 33 and locating them on both sides of the horizontal center line of the upper surface of the electric cylinder bottom plate 33, the two servo electric cylinders 31 are fixedly installed at the center position of the electric cylinder bottom plate 33, with balanced force, easy installation and beautiful appearance.
[0171] Continue to see Figure 4 In the case where the parameter calibrator 3 also includes an electric cylinder base plate 33, the parameter calibrator 3 also includes a parameter calibrator bracket 34, a parameter calibrator base plate 35, a motor, two front and rear movable guide rails 36, a slider 37, a turntable base plate and an electric rotating turntable 38. The motor and the electric rotating turntable 38 are both connected to the controller signal. The controller is fixedly mounted on the upper surface of the parameter calibrator base plate 35. The fixed mounting method can be any fixed mounting method in the prior art, and the embodiment of the present invention does not impose any limitation on this.
[0172] The parameter calibrator bracket 34 is fixedly installed in the pit 1, the parameter calibrator base plate 35 is fixedly connected to the top of the parameter calibrator bracket 34, the two front and rear movable guide rails 36 are fixedly connected to the upper surface of the parameter calibrator base plate 35 and are symmetrically arranged about the vertical center line of the upper surface of the parameter calibrator base plate 35, the slider 37 is slidably connected to the top of the two front and rear movable guide rails 36, the motor is fixedly connected to the upper surface of the parameter calibrator base plate 35 and the output end of the motor is drivingly connected to the slider 37, wherein the parameter calibrator bracket 34 can be fixedly installed in the pit 1 by anchor bolts, and the fixed connection method of the parameter calibrator base plate 35, the two front and rear movable guide rails 36 and the motor can be any fixed connection method in the prior art, and the embodiment of the present invention does not impose any limitation on this.
[0173] The two front and rear movable guide rails 36 are fixedly connected to the upper surface of the parameter calibrator base plate 35 and are symmetrically arranged about the vertical center line of the upper surface of the parameter calibrator base plate 35, so that the two front and rear movable guide rails 36 are fixedly installed at the center position of the parameter calibrator base plate 35, with balanced force, easy installation, and beautiful appearance.
[0174] In one implementation, the parameter calibrator bracket 34 and the parameter calibrator base plate 35 may be integrally formed. In the embodiment of the present invention, the two are separated into two parts to reduce weight and processing costs.
[0175] The turntable bottom plate is fixedly connected to the top of the slider 37, and the electric rotating turntable 38 is fixedly connected to the center of the upper surface of the turntable bottom plate, which is balanced in force, easy to install, and beautiful. The electric cylinder bottom plate 33 is fixedly installed at the center of the upper surface of the electric rotating turntable 38, which is balanced in force, easy to install, and beautiful. Among them, the fixed connection method of the turntable bottom plate, the electric rotating turntable 38 and the electric cylinder bottom plate 33 can be any fixed connection method in the prior art, and the embodiment of the present invention does not make any limitation on this.
[0176] Since the stopping position of the tested vehicle 4 is sometimes deviated, the tester needs to send a movement command or a rotation command to the controller.
[0177] When receiving the moving instruction, the controller controls the motor to drive the slider 37 to move along the two front and rear moving guide rails 36 to a first target direction and a first target distance, wherein the moving instruction includes the first target direction and the first target distance.
[0178] Exemplarily, the first target direction is forward or backward.
[0179] When receiving the rotation instruction, the controller controls the electric rotating turntable 39 to rotate toward the second target direction by a target angle, wherein the rotation instruction includes the second target direction and the target angle.
[0180] Exemplarily, the second target direction is clockwise or counterclockwise.
[0181] Thus, by setting a motor, two forward and backward moving guide rails 36 and a slider 37, the slider 37 can be controlled to move forward and backward, thereby driving the two industrial motors 32 to move forward and backward. Also, by setting an electric rotating turntable 39, the controller can control the electric rotating turntable 39 to rotate, thereby driving the two industrial cameras 32 to rotate.
[0182] It can be seen from the above content that an embodiment of the present invention provides a system for calibrating the geometric parameters of a vehicle under test in a whole-vehicle-in-the-loop test, comprising a controller, two pit racks and a parameter calibrator arranged in a pit, the vehicle under test is placed directly above the pit, the two pit racks are arranged in parallel, the controller is fixedly mounted on the parameter calibrator, and the controller is communicatively connected with the electronic control unit ECU of the vehicle under test; each pit rack comprises a rack bracket and a scissor lift, the scissor lift is fixedly mounted on the rear side of the rack bracket, the two rack brackets are respectively arranged directly below the two front wheels of the vehicle under test, and the parameter calibrator is arranged on the two racks. The parameter calibrator includes at least two servo electric cylinders and two industrial cameras, both of which are connected to the controller signal, and each servo electric cylinder is connected to the corresponding industrial camera drive, and two scissor lifts lift the vehicle under test; when the controller receives the alignment instruction, it controls the first servo electric cylinder to drive the corresponding industrial camera to move until its own camera center is aligned with the center of the left front wheel, and controls the second servo electric cylinder to drive the corresponding industrial camera to move until its own camera center is aligned with the center of the right front wheel, wherein the first servo electric cylinder is a servo electric cylinder close to the left front wheel of the vehicle under test, and the second servo electric cylinder is a servo electric cylinder close to the left front wheel of the vehicle under test. A servo electric cylinder is provided for the right front wheel of the vehicle under test; after the camera centers of the two industrial cameras have been aligned with the centers of the corresponding wheels, the two industrial cameras are controlled to respectively shoot the steering video of the left front wheel and the steering video of the right front wheel; the steering video of the left front wheel and the steering video of the right front wheel shot by the two industrial cameras are received, and the steering video of the left front wheel and the steering video of the right front wheel are respectively tracked and processed based on the target tracking algorithm to obtain the first distance from the center of the left front wheel to the rotation center of the left front wheel and the second distance from the center of the right front wheel to the rotation center of the right front wheel, and obtain the first extension distance of the industrial camera corresponding to the first servo electric cylinder. The second extension distance of the industrial camera corresponding to the first and second servo electric cylinders is calculated according to the first distance, the second distance, the first extension distance and the second extension distance to obtain the front wheel kingpin spacing of the tested vehicle, wherein the extension distance is the distance between the center of each industrial camera and the installation position of the corresponding servo electric cylinder when the camera center of each industrial camera is aligned with the center of the corresponding wheel; the current steering wheel angle of the tested vehicle sent by the ECU is received, the current front wheel angle of the tested vehicle is determined, and the ratio of the front wheel angle of the tested vehicle to the steering wheel angle is calculated according to the current front wheel angle of the tested vehicle and the current steering wheel angle.Therefore, by setting a controller, two pit frames and a parameter calibrator, the controller controls the two industrial cameras of the parameter calibrator to shoot the steering video of the left front wheel and the steering video of the right front wheel, and then based on the target tracking algorithm, the steering video of the left front wheel and the steering video of the right front wheel are tracked and processed respectively to obtain a first distance from the center of the left front wheel to the rotation center of the left front wheel and a second distance from the center of the right front wheel to the rotation center of the right front wheel, and then a first extension distance of the industrial camera corresponding to the first servo electric cylinder and a second extension distance of the industrial camera corresponding to the second servo electric cylinder are obtained. The front wheel kingpin distance of the tested vehicle is calculated by the first extension distance and the second extension distance, and the current steering wheel angle of the tested vehicle sent by the ECU is received to determine the current car front wheel angle of the tested vehicle, and the ratio of the car front wheel angle to the steering wheel angle of the tested vehicle is calculated according to the current car front wheel angle and the current steering wheel angle, so as to achieve the purpose of automatically obtaining the front wheel kingpin distance and the ratio of the car front wheel angle to the steering wheel angle in real time, without the need for on-site measurement, and without manual measurement errors, thereby improving the accuracy of the obtained parameters, further improving the accuracy of the test results, and avoiding affecting the test progress.
[0183] Furthermore, since the embodiment of the present invention can obtain the front wheel kingpin distance and the ratio of the vehicle's front wheel angle to the steering wheel angle in real time, the preparation time for the vehicle-in-the-loop test is greatly reduced, the test efficiency is improved, and the reliability of the test results is ensured.
[0184] Those skilled in the art can understand that the accompanying drawings are only schematic diagrams of an embodiment, and the modules or processes in the accompanying drawings are not necessarily required to implement the present invention.
[0185] Those skilled in the art can understand that the modules in the device in the embodiment can be distributed in the device in the embodiment according to the description of the embodiment, or can be changed accordingly and located in one or more devices different from the embodiment. The modules in the above embodiment can be combined into one module, or can be further divided into multiple sub-modules.
[0186] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A vehicle-in-the-loop test vehicle geometric parameter calibration system, It is characterized in that It includes a controller, two pit racks and a parameter calibrator arranged in a pit, the vehicle under test is placed directly above the pit, the two pit racks are arranged in parallel, the controller is fixedly mounted on the parameter calibrator, and the controller is communicatively connected with an electronic control unit ECU of the vehicle under test; Each pit frame includes a frame support and a scissor lift, the scissor lift is fixedly installed on the rear side of the frame support, the two frame supports are respectively arranged directly below the two front wheels of the vehicle under test, and the parameter calibrator is arranged between the two frame supports; The parameter calibration instrument comprises at least two servo electric cylinders and two industrial cameras, the two servo electric cylinders are both connected to the controller signal, each servo electric cylinder is connected to the corresponding industrial camera drive, and the two scissor lifts support the vehicle under test; When receiving the alignment instruction, the controller controls the first servo electric cylinder to drive the corresponding industrial camera to move until its camera center is aligned with the center of the left front wheel, and controls the second servo electric cylinder to drive the corresponding industrial camera to move until its camera center is aligned with the center of the right front wheel, wherein the first servo electric cylinder is a servo electric cylinder close to the left front wheel of the vehicle under test, and the second servo electric cylinder is a servo electric cylinder close to the right front wheel of the vehicle under test; After the camera centers of the two industrial cameras have been aligned with the centers of the corresponding wheels, controlling the two industrial cameras to respectively shoot the steering video of the left front wheel and the steering video of the right front wheel; Receive the steering video of the left front wheel and the steering video of the right front wheel taken by the two industrial cameras, track and process the steering video of the left front wheel and the steering video of the right front wheel respectively based on the target tracking algorithm, obtain a first distance from the center of the left front wheel to the rotation center of the left front wheel and a second distance from the center of the right front wheel to the rotation center of the right front wheel, obtain a first extension distance of the industrial camera corresponding to the first servo electric cylinder and a second extension distance of the industrial camera corresponding to the second servo electric cylinder, and calculate the front wheel kingpin spacing of the vehicle under test according to the first distance, the second distance, the first extension distance and the second extension distance, wherein the extension distance is the distance between the center of each industrial camera and the installation position of the corresponding servo electric cylinder when the camera center of each industrial camera is aligned with the center of the corresponding wheel; Receive the current steering wheel angle of the tested vehicle sent by the ECU, determine the current front wheel angle of the tested vehicle, and calculate the ratio of the front wheel angle of the tested vehicle to the steering wheel angle based on the current front wheel angle and the current steering wheel angle.
2. The vehicle-in-the-loop test vehicle geometric parameter calibration system as claimed in claim 1, It is characterized in that The parameter calibration instrument also includes an electric cylinder bottom plate; The two servo electric cylinders are respectively fixedly connected to the vertical center line of the upper surface of the electric cylinder base plate, and are respectively located on both sides of the horizontal center line of the upper surface of the electric cylinder base plate. The two industrial cameras are respectively fixedly installed on the ends of the two servo electric cylinders away from the electric cylinder base plate.
3. The vehicle-in-the-loop test vehicle geometric parameter calibration system as claimed in claim 2, It is characterized in that The parameter calibration instrument further includes a parameter calibration instrument bracket, a parameter calibration instrument bottom plate, a motor, two forward and backward movable guide rails, a slider, a turntable bottom plate and an electric rotating turntable, the motor and the electric rotating turntable are both connected to the controller signal, and the controller is fixedly mounted on the upper surface of the parameter calibration instrument bottom plate; The parameter calibration instrument bracket is fixedly installed in the pit, the parameter calibration instrument bottom plate is fixedly connected to the top of the parameter calibration instrument bracket, the two forward and backward movable guide rails are fixedly connected to the upper surface of the parameter calibration instrument bottom plate and are symmetrically arranged about the vertical center line of the upper surface of the parameter calibration instrument bottom plate, the slider is slidably connected to the top of the two forward and backward movable guide rails, the motor is fixedly connected to the upper surface of the parameter calibration instrument bottom plate and the output end of the motor is drivingly connected to the slider; The turntable bottom plate is fixedly connected to the top of the slider, the electric rotary turntable is fixedly connected to the center position of the upper surface of the turntable bottom plate, and the electric cylinder bottom plate is fixedly installed at the center position of the upper surface of the electric rotary turntable; When receiving a movement instruction, the controller controls the motor to drive the slider to move a first target distance along the two forward and backward moving guide rails in a first target direction, wherein the movement instruction includes the first target direction and the first target distance; When receiving a rotation instruction, the controller controls the electric rotary turntable to rotate toward a second target direction by a target angle, wherein the rotation instruction includes the second target direction and the target angle.
4. The vehicle-in-the-loop test vehicle geometric parameter calibration system as claimed in claim 1, It is characterized in that When receiving the alignment instruction, the controller uses the moving distance of the industrial camera corresponding to the first servo electric cylinder contained in the alignment instruction as the first current target distance, and uses the moving distance of the industrial camera corresponding to the second servo electric cylinder contained in the alignment instruction as the second current target distance; After controlling the first servo electric cylinder to drive the corresponding industrial camera to move the first current target distance, controlling the industrial camera corresponding to the first servo electric cylinder to take a picture of the left front wheel to obtain a first image, performing image processing on the first image to obtain a second target distance between the camera center of the industrial camera corresponding to the first servo electric cylinder and the center of the left front wheel, judging whether the second target distance is 0, if not, taking the second target distance as the first current target distance, returning to execute the control of the first servo electric cylinder to drive the corresponding industrial camera to move the first current target distance until the second target distance is 0, wherein the second target distance is an alignment distance, and when the alignment distance is 0, the camera center of the industrial camera corresponding to the first servo electric cylinder is aligned with the center of the left front wheel; After controlling the second servo electric cylinder to drive the corresponding industrial camera to move the second current target distance, the industrial camera corresponding to the second servo electric cylinder is controlled to take a picture of the right front wheel to obtain a second image, and the second image is processed to obtain a third target distance between the camera center of the industrial camera corresponding to the second servo electric cylinder and the center of the right front wheel, and it is determined whether the third target distance is 0. If not, the third target distance is used as the second current target distance, and the control of the second servo electric cylinder to drive the corresponding industrial camera to move the second current target distance until the third target distance is 0 is returned, wherein the third target distance is the alignment distance. When the alignment distance is 0, the camera center of the industrial camera corresponding to the second servo electric cylinder is aligned with the center of the right front wheel.
5. The vehicle-in-the-loop test vehicle geometric parameter calibration system as claimed in claim 1, It is characterized in that For each video frame image in the steering video of the left front wheel, the controller performs a correlation value operation on the video frame image and a preset filter template based on a correlation filtering method to obtain the coordinates of the motion trajectory point of the tracking target in the video frame image, wherein the preset filter template is a filter template with the maximum response obtained when the preset filter template acts on the tracking target in the video frame image, and the tracking target is any point on the wheel; Fitting all the motion trajectory point coordinates of the tracking target in the steering video of the left front wheel by the least square method to obtain a fitted circular curve; The circular curve is solved to obtain a first distance from the center of the left front wheel to the center of rotation of the left front wheel.
6. The vehicle-in-the-loop test vehicle geometric parameter calibration system as claimed in claim 1, It is characterized in that The controller calculates a first sum between the first extension distance and the second extension distance, calculates a second sum between the first distance and the second distance, calculates a difference between the first sum and the second sum, and uses the difference as the front wheel kingpin distance of the tested vehicle.
7. The vehicle-in-the-loop test vehicle geometric parameter calibration system as claimed in claim 5, It is characterized in that The controller generates a trajectory point arc image based on all motion trajectory points of the tracking target in the steering video of the left front wheel; Determine the coordinates of the starting point, the ending point and the center of the arc formed by all the motion trajectory points in the steering video of the left front wheel in the trajectory point arc image; Calculating a first angle between a straight line formed by the center of the circle and the starting point and a horizontal coordinate axis of the trajectory point arc image; Calculating a second angle between a straight line formed by the center of the circle and the end point and a horizontal coordinate axis of the trajectory point arc image; The current front wheel turning angle of the tested vehicle is calculated based on the first angle and the second angle.
8. The vehicle-in-the-loop test vehicle geometric parameter calibration system as claimed in claim 1, It is characterized in that The controller determines the current front wheel angle of the vehicle under test based on a pre-established target deep learning neural network model and the current steering wheel angle, wherein the target deep learning neural network model is used to correlate the steering wheel angle sample data with the corresponding vehicle front wheel angle sample data.
9. The vehicle-in-the-loop test vehicle geometric parameter calibration system as claimed in claim 8, It is characterized in that The training process of the target deep learning neural network model is: Obtaining steering wheel angle sample data and corresponding vehicle front wheel angle sample data; The steering wheel angle sample data and the corresponding vehicle front wheel angle sample data are used as model training data to train the initial deep learning neural network model to obtain the target deep learning neural network model.
10. The vehicle geometric parameter calibration system for the vehicle-in-the-loop test as claimed in claim 8 or 9, It is characterized in that The target deep learning neural network model is a back propagation BP neural network model.
Citation Information
Patent Citations
Multidimensional full field optical calibrator
CN101113890A
Video target profile tracing method and device
CN101394546A
Detection method and system of offset of contact net
CN101650179A
Rotor-free through-flow measurement method for steam turbine
CN102944182A
Monocular vision-based vehicle minimum turning diameter measurement method and system
CN113884319A
