Vehicle lamp correction method, system and equipment and storage medium
By automatically detecting the difference between vehicle light pattern data and ideal data and making adjustments, it solves the problem of complex vehicle light correction steps and tool dependence, realizes simple automatic correction of vehicle light patterns, and improves driving safety and production efficiency.
Patent Information
- Application Number
- CN202410879695.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-02
- Publication Date
- 2024-10-01
AI Technical Summary
The existing car light calibration procedures are complex and require special tools, making it difficult for ordinary users to correct vehicle light patterns, which affects driving safety.
By obtaining the difference between the measured light pattern data of the vehicle lights on the vertical projection surface and the ideal light pattern data, the lights are automatically adjusted to reach the set threshold, and the adjustment motor is used for correction, simplifying the operation process.
It realizes automatic correction of car lights, is simple to operate, avoids professional tools and complicated steps, improves driving safety, and reduces time and labor costs.
Smart Images

Figure CN118734087A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicle light calibration, and in particular to a vehicle light calibration method, system, device and storage medium. Background Art
[0002] As vehicles have more and more functions and are more intelligent, the safety requirements for vehicles are also increasing. The vehicle illumination area has a great impact not only on the driving safety of the vehicle itself, but also on the driving safety of the vehicle ahead. In order to meet relevant requirements and improve driving safety, all OEMs will manually calibrate the vehicle light pattern before the vehicle leaves the factory to achieve the desired light pattern.
[0003] However, as the vehicle is used for a longer time, the vehicle's light pattern will change due to aging of the mechanical structure or loosening of the fastening bolts, and will no longer meet the relevant requirements. For example, some light patterns fall downward, resulting in a significant shortening of the low beam illumination distance, affecting the driving safety of the vehicle; some light patterns tilt upward, which mainly affects the driving safety of the vehicle in front or oncoming; the light pattern of some vehicles deviates to the left or right, which not only affects the driving safety of the vehicle itself, but also affects the driving safety of the vehicle in front or oncoming. Most of the above changes are combined on the market. When the light pattern of many users' vehicles changes, they do not know how to manually correct the light pattern, which causes great trouble. Even if there is an operating manual to guide, special tools are required, and the correction steps are relatively cumbersome. Ordinary users who are not professionals have no idea where to start. In view of this, a method for calibrating headlights is needed to solve the above problems. Summary of the invention
[0004] In view of the above shortcomings of the prior art, the present invention provides a vehicle lamp calibration method to improve the technical problems that the prior vehicle lamp calibration steps are complicated and require special tools.
[0005] To achieve the above-mentioned purpose and other related purposes, the present invention provides a method for calibrating a headlight, comprising: obtaining measured light pattern data of a headlight on one side of a vehicle on a vertical projection surface within a set distance on the front side of the vehicle; obtaining ideal light pattern data of the headlight on the vertical projection surface; determining the difference between the measured light pattern data and the ideal light pattern data; if the difference is less than or equal to a set threshold, not calibrating the headlight; if the difference is greater than the set threshold, calibrating the headlight until the difference is less than or equal to the set threshold.
[0006] In an exemplary embodiment of the present application, if the number of vehicle light calibrations reaches a set number and the difference is still greater than a set threshold, calibration failure information is sent.
[0007] In an exemplary embodiment of the present application, the measured light pattern data includes a distance L1 between the vehicle headlight and the vertical projection plane, a height H1 of an inflection point of a low beam cutoff line, and a distance L2 between the inflection point of the low beam cutoff line and a center line.
[0008] In an exemplary embodiment of the present application, obtaining the ideal light pattern data of the headlight on the vertical projection plane includes: obtaining the distance L1 between the headlight and the vertical projection plane; and calculating and obtaining the ideal light pattern data of the low beam headlight on the vertical projection plane according to the distance L1 between the headlight and the vertical projection plane and a pre-stored light pattern algorithm.
[0009] In an exemplary embodiment of the present application, if the difference is greater than a set threshold, the headlight is calibrated, including: determining that the difference is greater than the set threshold; calculating the number of steps required for the adjustment motor based on the difference; and controlling the number of steps required for the adjustment motor to move.
[0010] In an exemplary embodiment of the present application, after the vehicle lamp calibration is successful, the adjustment motor data is saved as an alternative to the existing adjustment motor data.
[0011] The present application also provides a vehicle light calibration system, comprising a vehicle light control module, an active safety domain control module, a measurement module, a vehicle light adjustment device and a vehicle light; the vehicle light control module receives a vehicle light calibration instruction, controls the vehicle light on the side to be calibrated to turn on, turns off the other vehicle lights, and sends a vehicle light pattern acquisition instruction; the safety domain control module receives the vehicle light pattern acquisition instruction and sends a vehicle light pattern acquisition request; the measurement module receives the vehicle light pattern acquisition request and acquires measurement light pattern data; the safety domain control module receives the measurement light pattern data acquired by the measurement module and forwards the measurement light pattern data; the measurement The light type data includes a distance L1 between the headlight and the vertical projection plane, a height H1 of the inflection point of the low beam cut-off line, and a distance L2 between the inflection point of the low beam cut-off line and the center line; the headlight control module receives the measured light type data, and the headlight control module calculates and obtains ideal light type data based on the measured light type data; a difference between the measured light type data and the ideal light type data is determined, and if the difference is less than or equal to a set threshold, the headlight correction is not performed; if the difference is greater than the set threshold, the adjustment device is controlled to correct the headlight until the difference is less than or equal to the set threshold.
[0012] In an embodiment of a headlight calibration system of the present application, the headlight adjustment device includes a left-right adjustment motor and an up-down adjustment motor; if the difference is greater than a set threshold value, controlling the adjustment device to calibrate the headlight includes: calculating the required number of running steps of the left-right adjustment motor and the up-down adjustment motor according to the difference; controlling the left-right adjustment motor and the up-down adjustment motor to move separately to adjust the headlight to an ideal position.
[0013] The present application also provides a device, which includes: one or more processors; a storage device for storing one or more programs, and when the one or more programs are executed by the one or more processors, the electronic device implements the vehicle light correction method as described in any one of the above.
[0014] The present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor of a computer, the computer executes any one of the above-mentioned vehicle light calibration methods.
[0015] In combination with the prior art, the beneficial effects of the present invention are:
[0016] Existing headlight adjustment requires special tools, and the calibration steps are cumbersome, which results in most headlight adjustments requiring professional personnel to handle. The present application obtains the measured light pattern data of the headlight on the vertical projection plane, and then obtains the ideal light pattern data of the headlight on the vertical projection plane based on the distance between the headlight and the vertical projection plane. By judging the measured light pattern data and the ideal light pattern data, it is determined whether the headlight needs to be calibrated. If the headlight needs to be calibrated, the headlight is calibrated based on the difference. The method of the present application only requires the vehicle to be parked within a set distance from the vertical projection plane, and then the calibration function is turned on to complete the automatic calibration of the headlight. The operation is simple and easy to implement.
[0017] The vertical projection surface can be a wall that is perpendicular to the ground. The site is simple and easy to find, such as an underground garage or any location with a vertical wall. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0019] Figure 1 is a schematic diagram of an exemplary vehicle light calibration method of the present application;
[0020] Figure 2 For this application Figure 1 The specific steps of step S140;
[0021] Figure 3 For this application Figure 1 Specific steps of S120;
[0022] Figure 4 This is a schematic diagram of an exemplary measured light type data of the present application;
[0023] Figure 5 This is a schematic diagram of an exemplary ideal light type data calculation of the present application;
[0024] Figure 6 is a schematic diagram of an exemplary vehicle light calibration system of the present application;
[0025] Figure 7 The present invention is a schematic diagram of the structure of a computer system used to implement an embodiment of the present invention. DETAILED DESCRIPTION
[0026] The following is an explanation of the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the features in the following embodiments and the embodiments can be combined with each other without conflict. It should also be understood that the terms used in the embodiments of the present invention are intended to describe specific embodiments, rather than to limit the scope of protection of the present invention. The test methods for which specific conditions are not indicated in the following examples are usually carried out under conventional conditions or according to the conditions recommended by the manufacturers.
[0027] When numerical ranges are given in the embodiments, it should be understood that, unless otherwise specified in the present invention, both endpoints of each numerical range and any value between the two endpoints can be selected. Unless otherwise defined, all technical and scientific terms used in the present invention are familiar to those skilled in the art and the description of the present invention, and any methods, equipment and materials of the prior art similar or equivalent to the methods, equipment and materials described in the embodiments of the present invention can also be used to implement the present invention.
[0028] It should be noted that the terms such as "upper", "lower", "left", "right", "middle" and "one" etc. used in this specification are only for the convenience of description and are not intended to limit the scope of implementation of the present invention. Changes or adjustments to their relative relationships, without substantially changing the technical content, should also be regarded as the scope of implementation of the present invention.
[0029] See also Figure 1 The present application provides a vehicle light calibration method to solve the problems of complicated operation and cumbersome steps of existing vehicle light calibration. The specific steps are as follows:
[0030] Step S110, obtaining measured light pattern data of a headlight on one side of the vehicle on a vertical projection surface within a set distance in front of the vehicle.
[0031] When calibrating the headlights, first park the vehicle at a set distance from the vertical projection plane, and make the vehicle face the vertical projection plane, so as to obtain the measured light type data on the vertical projection plane. The vertical projection plane refers to the plane perpendicular to the parking position of the vehicle, such as a vertical wall perpendicular to the ground, or a vertical plane that can be projected. The set distance is a distance range value set according to the vehicle model and related requirements. Different requirements may apply to different vehicle models. For example, when the set distance is 5 to 15 meters, the vehicle can be parked at any position between 5 and 15 meters from the vertical projection plane to obtain the measured light type data.
[0032] In order to better obtain the measured light type data, the vehicle needs to calibrate the headlights at night, in underground parking garages and other places with low brightness, so as to reduce the impact of natural light on the headlight calibration and obtain more accurate measured light type data.
[0033] The vehicle light calibration method of the present application adopts separate calibration of the left and right lights during calibration, which effectively avoids the mutual interference of the light patterns of the left and right lights, reduces the difficulty of distinguishing the front-view camera, improves the accuracy of the measured light pattern data, greatly simplifies the complexity of the system, and improves the stability of the system.
[0034] See also Figure 4 Furthermore, the measured light type data includes the distance L1 between the headlight and the vertical projection plane, the height H1 of the inflection point of the low beam cutoff line, and the distance L2 between the inflection point of the low beam cutoff line and the center line. The low beam cutoff line is the dividing line between the low beam illumination area and the non-illumination area. The low beam cutoff line is intended to ensure driving safety by limiting the illumination range of the low beam to avoid glare to drivers of oncoming vehicles. The inflection point of the low beam cutoff line is a key point of the dividing line between the low beam illumination area and the non-illumination area. By adjusting the relevant data of the low beam cutoff line, the vehicle's low beam can be accurately adjusted. The center line is the projection line of the middle vertical plane of the vehicle on the wall plane, which can be automatically identified by a measuring device such as a camera to ensure that the headlights on both sides can be accurately calibrated.
[0035] Step S120: Acquire ideal light pattern data of the vehicle lamp on the vertical projection plane.
[0036] By measuring the light type data and combining it with the pre-stored light type algorithm, you can get the ideal light type data. Figure 3 , the specific steps are as follows:
[0037] Step S310: Obtain a distance L1 between the vehicle headlight and the vertical projection plane.
[0038] According to the measured distance L1 between the headlight and the vertical projection plane, the ideal height H2 of the inflection point of the low beam cutoff line and the ideal distance L3 of the inflection point of the low beam cutoff line and the center line at the distance L1 can be obtained.
[0039] Step S320: Calculate and obtain ideal light pattern data of the low beam headlight on the vertical projection plane according to the distance L1 between the headlight and the vertical projection plane and a pre-stored light pattern algorithm.
[0040] See also Figure 5 , the ideal illumination angle of the headlight in the vertical direction is φ, then when the distance between the headlight and the vertical projection plane is L1, the ideal height of the inflection point of the low beam cut-off line H2 = tanφ*L1. Similarly, the ideal distance L3 between the inflection point of the low beam cut-off line and the center line can be obtained. In other embodiments of the present application, L3 can be obtained by calculating the ideal illumination angle of the headlight in the horizontal direction, or by retrieving it from a pre-stored database. The database stores the ideal distance L3 between the inflection point of the low beam cut-off line and the center line when the distance between the headlight and the vertical projection plane is L1.
[0041] After obtaining the ideal light type data, it is possible to determine whether the headlights need to be calibrated and how to calibrate the headlights by comparing the ideal light type data with the measured light type data.
[0042] Step S130, determining the difference between the measured light type data and the ideal light type data;
[0043] The difference between the measured light type data and the ideal light type data is judged to determine whether the headlights need to be calibrated, and if so, how to calibrate them.
[0044] In one embodiment of the present application, the difference between the height H1 of the inflection point of the low beam cut-off line and the ideal height H2 of the inflection point of the low beam cut-off line is calculated, and the difference between the distance L2 of the inflection point of the low beam cut-off line and the center line and the ideal distance L3 of the inflection point of the low beam cut-off line and the center line is calculated. By judging the value of the difference, it is determined whether the headlights need to be calibrated.
[0045] In another embodiment of the present application, the difference percentage between the height H1 of the inflection point of the low beam cutoff line and the ideal height H2 of the inflection point of the low beam cutoff line is calculated, that is, the percentage by which the height H1 of the inflection point of the low beam cutoff line exceeds or is lower than the ideal height H2 of the inflection point of the low beam cutoff line is calculated; the difference percentage between the distance L2 of the inflection point of the low beam cutoff line and the center line and the ideal distance L3 of the inflection point of the low beam cutoff line and the center line is calculated, that is, the percentage by which the distance L2 exceeds or is lower than the distance L3, thereby obtaining the difference between the measured light type data and the ideal light type data.
[0046] Step S140: If the difference is less than or equal to the set threshold, the headlight calibration is not performed; if the difference is greater than the set threshold, the headlight is calibrated until the difference is less than or equal to the set threshold.
[0047] If the difference is less than or equal to the set threshold, it means that the headlight is within the normal illumination range and no headlight calibration is required. If the difference is greater than the set threshold, it means that the headlight illumination range is abnormal and headlight calibration is required until the difference between the measured light type data and the ideal light type data is less than or equal to the set threshold.
[0048] See also Figure 2 If the difference is greater than the threshold, the specific steps for calibrating the headlights are as follows:
[0049] Step S210: determine whether the difference is greater than a set threshold.
[0050] Step S220: Calculate the number of steps required to adjust the motor according to the difference.
[0051] The number of steps required for the adjustment motor is calculated based on the difference, so that the adjustment motor adjusts the headlight to a suitable angle. In another embodiment of the present application, the headlight can also be adjusted to a suitable angle and position. The adjustment motor includes a left-right adjustment motor and an up-down adjustment motor, wherein the number of steps of the left-right adjustment motor is obtained based on the difference between the distance L2 between the inflection point of the low beam cutoff line and the center line and the ideal distance L3 between the inflection point of the low beam cutoff line and the center line, and the up-down adjustment motor is obtained based on the difference between the height H1 of the inflection point of the low beam cutoff line and the ideal height H2 of the inflection point of the low beam cutoff line.
[0052] Step S230, controlling the regulating motor to move a required number of steps.
[0053] The steps required for the left and right adjustment motors and the up and down adjustment motors to move are controlled respectively, thereby adjusting the headlights.
[0054] After adjusting the number of steps required for the motor to move, the adjusted headlights are measured again to obtain the adjusted measured light type data, and the difference between the adjusted measured light type data and the ideal light type data is calculated and judged. If the difference is still greater than the threshold, the headlight calibration is repeated until the difference is less than or equal to the threshold.
[0055] Furthermore, if the difference is still greater than the set threshold when the number of headlight calibrations reaches the set number, a calibration fault message is sent. The set number can be 3, 4, 5, etc. By sending the calibration fault message, the owner or driver can be reminded to pay attention to the fault so that maintenance and debugging can be performed, thereby improving driving safety. Through the closed-loop calibration, if the first calibration is unsuccessful, multiple attempts are made. If it still fails after reaching the set number of calibrations, it is determined to be a system fault, which also detects whether the system has a fault from the side, thereby reminding the driver to repair it in time.
[0056] Furthermore, after the headlights are calibrated successfully, the regulating motor data will be replaced and saved as the existing regulating motor data. On the one hand, this ensures that the headlights can reach the specified position each time they are turned on. On the other hand, as the vehicle is used for a longer time and the components age, the calibrated regulating motor data will be stored and the original parameters will be overwritten after each automatic calibration, thereby enabling the parameters to be updated as the components are used for a longer time, ensuring that the light pattern remains unchanged, and the vehicle can be used for a longer period of time, which can also improve safe driving.
[0057] In one embodiment of the present application, a headlight calibration instruction is first received, and then the headlight calibration method is started. Further, after receiving the headlight calibration instruction, it is first determined whether the distance L1 between the vehicle and the vertical projection plane is within a set distance range. When the distance L1 between the vehicle and the vertical projection plane exceeds the set distance range, the driver is reminded to drive away or closer before the headlight calibration is performed.
[0058] Further, the vehicle light calibration instruction can be sent periodically by the vehicle to achieve automatic calibration of the vehicle light without user attention. The vehicle light calibration instruction can also be sent by user operation. Preferably, the vehicle light calibration instruction is sent by user operation.
[0059] The method of the present application only requires the user to face the vehicle directly against the wall, without any tools or professional operation. After starting the method, the vehicle will automatically perform lighting calibration, greatly simplifying the operation and making the vehicle smarter. When a problem with the vehicle's light type is found, there is no need to go to a professional calibration agency or after-sales service store alone, thus avoiding the time and labor costs of calibration, and basically achieving zero labor and time costs.
[0060] In addition to the improvement of intelligence, the lighting calibration time is also greatly shortened. Currently, both the calibration of the vehicle off the line and the manual calibration after sales consume a lot of time. The method of the present application is not only fully automatic, but also greatly shortens the lighting calibration time, which can improve the production efficiency of the production line and greatly shorten the after-sales calibration time.
[0061] Even as the vehicle is used for a longer time and the parts are aged, after each automatic calibration, the corrected data will be stored and the original parameters will be overwritten, so that the parameters can be updated as the parts are used for a longer time, ensuring that the light pattern remains unchanged. The vehicle can be used for a longer period of time and can also ensure safe driving.
[0062] See also Figure 6 The present application also provides a headlight calibration system, including a headlight control module, an active safety domain control module, a measurement module, a headlight adjustment device and a headlight.
[0063] When the vehicle light calibration system performs vehicle light calibration, the vehicle light control module receives a vehicle light calibration instruction, controls the vehicle light on the side to be calibrated to turn on, turns off the other vehicle lights, and sends a vehicle light pattern acquisition instruction;
[0064] The security domain control module receives the instruction to obtain the vehicle light pattern, and sends a request to obtain the vehicle light pattern;
[0065] The measuring module receives the request for obtaining the vehicle light pattern and obtains the measured light pattern data;
[0066] The safety domain control module receives the measured light type data acquired by the measurement module and forwards the measured light type data; the measured light type data includes a distance H1 between the headlight and the vertical projection plane, a height L1 of an inflection point of a low beam cutoff line, and a distance L2 between an inflection point of a low beam cutoff line and a center line;
[0067] The vehicle light control module receives the measured light type data, and calculates the ideal light type data according to the measured light type data; determines the difference between the measured light type data and the ideal light type data, and if the difference is less than or equal to a set threshold, does not perform vehicle light correction; if the difference is greater than the set threshold, controls the adjustment device to correct the vehicle light until the difference is less than or equal to the set threshold.
[0068] In an embodiment of a headlight correction system of the present application, the headlight adjustment device includes two sets, which are respectively arranged at the left and right headlights, and the headlight adjustment device on one side includes a left and right adjustment motor and an up and down adjustment motor; if the difference is greater than a set threshold value, then controlling the adjustment device to correct the headlight includes: calculating the required number of running steps of the left and right adjustment motor and the up and down adjustment motor according to the difference; controlling the left and right adjustment motor and the up and down adjustment motor to move respectively to adjust the headlight to an ideal position.
[0069] The present application also provides a device, which includes: one or more processors; a storage device for storing one or more programs, and when the one or more programs are executed by the one or more processors, the electronic device implements the vehicle light correction method as described in any one of the above.
[0070] The present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor of a computer, the computer executes any one of the above-mentioned vehicle light calibration methods.
[0071] Figure 7 The structure diagram of the computer system suitable for implementing the electronic device of the embodiment of the present application is shown. It should be noted that: Figure 7 The computer system of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0072] like Figure 7As shown, the computer system includes a central processing unit (CPU) 701, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 702 or the program loaded from the storage part 708 to the random access memory (RAM) 703, such as executing the method described in the above embodiment. In RAM 703, various programs and data required for system operation are also stored. CPU 701, ROM 702 and RAM 703 are connected to each other through bus 704. Input / output (I / O) interface 705 is also connected to bus 704.
[0073] The following components are connected to the I / O interface 705: an input section 706 including a keyboard, a mouse, a handwriting input, a key input, etc.; an output section 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker; a storage section 708 including a hard disk, etc.; and a communication section 709 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the I / O interface 705 as needed. A removable medium 711, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 710 as needed so that a computer program read therefrom is installed into the storage section 708 as needed.
[0074] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 709, and / or installed from a removable medium 711. When the computer program is executed by a central processing unit (CPU) 701, various functions defined in the system of the present application are executed.
[0075] It should be noted that the computer-readable medium shown in the embodiment of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable computer program is carried. This propagated data signal can take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. A computer program contained on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0076] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0077] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.
[0078] Another aspect of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor of a computer, the computer executes the vehicle light calibration method as described above. The computer-readable storage medium may be included in the electronic device described in the above embodiment, or may exist independently without being assembled into the electronic device.
[0079] Another aspect of the present application also provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the vehicle light calibration method provided in each of the above embodiments.
[0080] The headlight calibration method of the present application only requires parking the vehicle within a set distance from the vertical projection plane, and then turning on the calibration function to complete the automatic calibration of the headlights. The operation is simple and easy to implement. The present invention effectively overcomes some practical problems in the prior art and thus has high utilization value and use significance. The above embodiments are only illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with this technology may modify or change the above embodiments without violating the spirit and scope of the present invention. Therefore, all equivalent modifications or changes made by those with ordinary knowledge in the relevant technical field without departing from the spirit and technical ideas disclosed by the present invention should still be covered by the claims of the present invention.
Claims
1. A method for calibrating a vehicle light, It is characterized in that include: Obtaining measured light pattern data of a headlight on one side of the vehicle on a vertical projection surface within a set distance in front of the vehicle; Acquire ideal light pattern data of the vehicle lamp on the vertical projection plane; Determining the difference between the measured light type data and the ideal light type data; If the difference is less than or equal to the set threshold, the headlight calibration is not performed; if the difference is greater than the set threshold, the headlight is calibrated until the difference is less than or equal to the set threshold.
2. The vehicle light calibration method according to claim 1, It is characterized in that The method comprises: If the difference is still greater than the set threshold when the number of headlight calibrations reaches the set number, calibration fault information is sent.
3. The vehicle light calibration method according to claim 1, It is characterized in that The measured light pattern data includes a distance L1 between the vehicle headlight and the vertical projection plane, a height H1 of an inflection point of a low beam cutoff line, and a distance L2 between the inflection point of a low beam cutoff line and a center line.
4. The vehicle light calibration method according to claim 3, It is characterized in that Acquiring ideal light pattern data of the vehicle lamp on the vertical projection plane includes: Obtaining a distance L1 between the vehicle lamp and the vertical projection plane; According to the distance L1 between the vehicle headlight and the vertical projection plane and a pre-stored light pattern algorithm, ideal light pattern data of the low beam headlight on the vertical projection plane is calculated and acquired.
5. The vehicle light calibration method according to claim 1, It is characterized in that If the difference is greater than a set threshold, the vehicle light is calibrated, including: Determining whether the difference is greater than a set threshold; Calculate the number of steps required to adjust the motor according to the difference; Control the regulating motor to move the required number of steps.
6. The vehicle light calibration method according to claim 5, It is characterized in that After the vehicle light calibration is successful, the regulating motor data is saved as the existing regulating motor data.
7. A vehicle light calibration system, It is characterized in that It includes a headlight control module, an active safety domain control module, a measurement module, a headlight adjustment device and headlights; The vehicle light control module receives the vehicle light calibration instruction, controls the vehicle light on the side to be calibrated to turn on, turns off the other vehicle lights, and sends a vehicle light pattern acquisition instruction; The security domain control module receives the instruction to obtain the vehicle light pattern, and sends a request to obtain the vehicle light pattern; The measuring module receives the request for obtaining the vehicle light pattern and obtains the measured light pattern data; The safety domain control module receives the measured light type data acquired by the measurement module and forwards the measured light type data; the measured light type data includes a distance L1 between the headlight and a vertical projection plane, a height H1 of an inflection point of a low beam cutoff line, and a distance L2 between an inflection point of a low beam cutoff line and a center line; The vehicle light control module receives the measured light type data, and the vehicle light control module calculates and obtains ideal light type data according to the measured light type data; The difference between the measured light type data and the ideal light type data is determined. If the difference is less than or equal to a set threshold, the headlight calibration is not performed. If the difference is greater than the set threshold, the adjustment device is controlled to calibrate the headlight until the difference is less than or equal to the set threshold.
8. The vehicle light calibration system according to claim 7, Features: The headlight adjustment device includes a left-right adjustment motor and an up-down adjustment motor; if the difference is greater than a set threshold, controlling the adjustment device to calibrate the headlight includes: Calculate the required running steps of the left-right adjustment motor and the up-down adjustment motor according to the difference; The left-right adjustment motor and the up-down adjustment motor are controlled to move respectively to adjust the vehicle light to an ideal position.
9. A device, It is characterized in that The device comprises: one or more processors; A storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, enables the device to implement the vehicle light calibration method as described in any one of claims 1 to 6.
10. A computer-readable storage medium, It is characterized in that A computer program is stored therein, and when the computer program is executed by a processor of a computer, the computer is caused to execute the vehicle light calibration method according to any one of claims 1 to 6.
Citation Information
Cited By
Vehicle lamp calibration method, device and system and medium
CN119845549A
