CN113310662A - Test method, platform and storage medium for automobile lamp - Google Patents

Test method, platform and storage medium for automobile lamp Download PDF

Info

Publication number
CN113310662A
CN113310662A CN202110483321.1A CN202110483321A CN113310662A CN 113310662 A CN113310662 A CN 113310662A CN 202110483321 A CN202110483321 A CN 202110483321A CN 113310662 A CN113310662 A CN 113310662A
Authority
CN
China
Prior art keywords
light area
result
test
light
evaluation result
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110483321.1A
Other languages
Chinese (zh)
Other versions
CN113310662B (en
Inventor
姜云岱
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Hainachuan Automotive Parts Co Ltd
Original Assignee
Beijing Hainachuan Automotive Parts Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Hainachuan Automotive Parts Co Ltd filed Critical Beijing Hainachuan Automotive Parts Co Ltd
Priority to CN202110483321.1A priority Critical patent/CN113310662B/en
Publication of CN113310662A publication Critical patent/CN113310662A/en
Application granted granted Critical
Publication of CN113310662B publication Critical patent/CN113310662B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01MTESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
    • G01M11/00Testing of optical apparatus; Testing structures by optical methods not otherwise provided for
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01MTESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
    • G01M11/00Testing of optical apparatus; Testing structures by optical methods not otherwise provided for
    • G01M11/02Testing optical properties
    • G01M11/06Testing the alignment of vehicle headlight devices
    • G01M11/064Testing the alignment of vehicle headlight devices by using camera or other imaging system for the light analysis
    • G01M11/065Testing the alignment of vehicle headlight devices by using camera or other imaging system for the light analysis details about the image analysis
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Abstract

The invention discloses a test method, a platform and a storage medium of an automobile lamp, wherein the method comprises the following steps: acquiring virtual test scene data of the car lamp; generating a control instruction according to the virtual test scene data, and controlling the vehicle lamp according to the control instruction to form a light area; identifying the light area to obtain an actual light area result; obtaining a theoretical light area result according to the virtual test scene data; and generating a test evaluation result of the vehicle lamp according to the actual light area result and the theoretical light area result. Therefore, the actual light area result and the theoretical light area result are combined and compared to generate a vehicle lamp test evaluation result, so that the automatic test of the vehicle lamp is realized, the objectivity and the reliability of the test evaluation result are improved, and the test efficiency of the vehicle lamp is improved.

Description

Test method, platform and storage medium for automobile lamp
Technical Field
The invention relates to the technical field of vehicles, in particular to a test method of an automobile lamp, a computer readable storage medium and a test platform of the automobile lamp.
Background
At present, in the stage of developing the ADB function (automatic high beam system) of an automobile lamp, many road conditions are usually difficult to simulate and implement, and meanwhile, necessary tests on some limit thresholds in a control algorithm are difficult to develop in order to ensure the safety of the test work.
However, in the bench simulation test, data such as environment and target of a test scene are usually provided to a controller by simulation software, but not real objects in a field, and it is difficult to ensure the objectivity and reliability of a test evaluation result, which results in low test efficiency of the vehicle lamp.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art. Therefore, a first objective of the present invention is to provide a method for testing an automobile lamp, which can implement automatic testing of the automobile lamp to improve the objectivity and reliability of the test evaluation result and improve the testing efficiency of the automobile lamp.
A second object of the invention is to propose a computer-readable storage medium.
The third purpose of the invention is to provide a test platform of the automobile lamp.
In order to achieve the above object, a method for testing an automotive lamp according to an embodiment of a first aspect of the present invention includes the following steps: acquiring virtual test scene data of the car lamp; generating a control instruction according to the virtual test scene data, and controlling the vehicle lamp according to the control instruction to form a light area; identifying the light area to obtain an original image of the light area; acquiring an actual light area result according to the original image of the light area, and acquiring a theoretical light area result according to the virtual test scene data; and generating a test evaluation result of the car lamp according to the actual light area result and the theoretical light area result.
According to the test method of the automobile lamp, the virtual test scene data of the automobile lamp is obtained, then the control instruction is generated according to the virtual test scene data, the automobile lamp is controlled according to the control instruction to form the light area, further, the light area is identified to obtain the original image of the light area, the actual light area result is obtained according to the original image of the light area, the theoretical light area result is obtained according to the virtual test scene data, and finally, the test evaluation result of the automobile lamp is generated according to the actual light area result and the theoretical light area result. Therefore, the actual light area result and the theoretical light area result are combined and compared to generate a vehicle lamp test evaluation result, so that the automatic test of the vehicle lamp is realized, the objectivity and the reliability of the test evaluation result are improved, and the test efficiency of the vehicle lamp is improved.
In addition, the test method for the automobile lamp according to the above embodiment of the present invention may further include the following additional technical features:
according to an embodiment of the present invention, the acquiring an actual light region result according to an original image of a light region includes: graying the original image to obtain a grayscale image of the light area; performing edge detection on the gray-scale image to obtain edge characteristics of the light area; and determining the actual light area result according to the edge characteristics, the gray value, the preset light area coordinates and the corresponding relation between the light area brightness and the gray value.
According to an embodiment of the present invention, the edge detection on the gray-scale map to obtain the edge characteristics of the light region includes: acquiring the position of the jump of the gray value; and determining the edge characteristics of the light area according to the jumping position of the gray value.
According to an embodiment of the present invention, the generating a test evaluation result of the automotive lamp according to the actual light zone result and the theoretical light zone result includes: acquiring the deviation between the actual light area result and the theoretical light area result; and generating the test evaluation result according to the deviation.
According to one embodiment of the invention, the testing method of the automobile lamp further comprises the following steps: judging whether the test evaluation result meets a preset test evaluation result or not; and if the test evaluation result does not meet the preset test evaluation result, adjusting the control instruction according to the deviation, and controlling the vehicle lamp according to the adjusted control instruction to form a light zone for the next round of test until the test evaluation result meets the preset test evaluation result.
According to an embodiment of the present invention, before generating a test evaluation result of the automotive lamp according to the actual light zone result and the theoretical light zone result, the method further includes: and performing coordinate conversion on the virtual test scene data so that the actual light zone result and the virtual test scene data are in the same coordinate system.
According to an embodiment of the present invention, before acquiring the original image of the optical area, the method further includes: and calibrating parameters of the identification algorithm for obtaining the original image of the light area to obtain the preset light area coordinates and the corresponding relation between the light area brightness and the gray value.
According to one embodiment of the invention, the virtual test scenario data includes ambient brightness, ambient weather, and ambient obstacle coordinates.
In order to achieve the above object, a computer-readable storage medium is provided in an embodiment of a second aspect of the present invention, on which a test program of an automotive lamp is stored, and the program is executed by a processor to implement the test method of the automotive lamp according to the embodiment of the first aspect.
According to the computer-readable storage medium of the embodiment of the invention, when the processor executes the test program of the automobile lamp, the actual light area result and the theoretical light area result can be combined and compared to generate the lamp test evaluation result, so that the automatic test of the automobile lamp is realized, the objectivity and reliability of the test evaluation result are improved, and the test efficiency of the automobile lamp is improved.
In order to achieve the above object, a third aspect of the present invention provides a testing platform for an automotive lamp, including: the control device is used for acquiring virtual test scene data of the car lamp, generating a control instruction according to the virtual test scene data, and controlling the car lamp according to the control instruction to form a light area; the identification equipment is used for identifying the light area to obtain an original image of the light area; and the testing equipment is used for acquiring an actual light area result according to the original image, acquiring a theoretical light area result according to the virtual testing scene data, and generating a testing evaluation result of the automobile lamp according to the actual light area result and the theoretical light area result.
According to the test platform of the automobile lamp, the control equipment is used for obtaining virtual test scene data of the automobile lamp, generating a control instruction according to the virtual test scene data, controlling the automobile lamp according to the control instruction to form a light area, identifying the light area through the identification equipment to obtain an original image of the light area, obtaining an actual light area result according to the original image of the light area through the test equipment, obtaining a theoretical light area result according to the virtual test scene data, and generating a test evaluation result of the automobile lamp according to the actual light area result and the theoretical light area result. Therefore, the actual light area result and the theoretical light area result are combined and compared to generate a vehicle lamp test evaluation result, so that the automatic test of the vehicle lamp is realized, the objectivity and the reliability of the test evaluation result are improved, and the test efficiency of the vehicle lamp is improved.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
FIG. 1 is a schematic flow chart of a method for testing an automotive lamp according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating a method for testing a lamp of an automobile according to an embodiment of the present invention
Fig. 3 is a block diagram of a testing platform for vehicle lamps according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
A test method of an automobile lamp, a computer-readable storage medium, and a test platform of an automobile lamp according to embodiments of the present invention are described below with reference to the accompanying drawings.
Fig. 1 is a schematic flow chart of a method for testing an automobile lamp according to an embodiment of the invention.
As shown in fig. 1, the testing method of the automobile lamp comprises the following steps:
s101, virtual test scene data of the vehicle lamp is obtained.
Optionally, the virtual test scenario data may include ambient brightness, ambient weather, and ambient obstacle coordinates.
For example, when an automobile lamp test is started, software such as Prescan and Matlab in a test system CAN be used for establishing a virtual test scene, and virtual test scene data is packaged into a CAN message and transmitted to an automobile lamp controller in real time through equipment such as CAN Case.
And S102, generating a control instruction according to the virtual test scene data, and controlling the vehicle lamp according to the control instruction to form a light area.
For example, the vehicle lamp controller may perform an operation according to different virtual test scene data to generate a control instruction under a corresponding virtual test scene, and then, the vehicle lamp may be controlled to irradiate an actual light effect onto the display device according to the control instruction to form a light area.
S103, identifying the light area to obtain an original image of the light area.
Optionally, before acquiring the original image of the light region, the method further includes: and calibrating parameters of the identification algorithm for obtaining the original image of the light area to obtain the preset light area coordinates and the corresponding relation between the light area brightness and the gray value.
Specifically, the preset coordinates of the light area and the corresponding relationship between the brightness and the gray value of the light area can be set correspondingly according to the test environment of the automobile lamp.
For example, in the process of calibrating parameters of an identification algorithm for obtaining an original image of a light region, assuming that a plurality of light regions exist, each light region may correspond to a plurality of brightness levels, taking an nth light region as an example, how to obtain preset coordinates of the light region and a corresponding relationship between brightness and gray scale value of the light region will be described: firstly, only the nth light zone can be lightened by controlling the vehicle lamp controller, and other light zones are controlled to be closed, so that the light zone coordinates of the nth light zone in the image can be determined to be used as the light zone coordinates preset by the nth light zone, then, the brightness of the nth light zone is adjusted, so that the corresponding relation between the brightness of a plurality of groups of light zones and the gray value is obtained to be used as the corresponding relation between the brightness of the light zone preset by the nth light zone and the gray value, and so on, so that the preset light zone coordinates corresponding to the plurality of light zones and the corresponding relation between the brightness of the light zones and the gray value are obtained, and parameter calibration of the identification algorithm for obtaining the original image of the light zones is realized.
Further, the edge detection of the gray-scale image to obtain the edge characteristics of the light area includes: and acquiring the jumping position of the gray value, and determining the edge characteristic of the optical area according to the jumping position of the gray value.
It can be understood that, since there is a significant difference between the gray value of the light region (e.g., the gray value is 250) and the gray value of the non-light region (e.g., the gray value is 20), the edge feature of the light region can be determined by acquiring the position where the gray value jumps and according to the position where the gray value jumps.
And S104, acquiring an actual light area result according to the original image of the light area, and acquiring a theoretical light area result according to the virtual test scene data.
Specifically, obtaining an actual light region result from an original image of the light region includes: graying an original image to obtain a gray scale image of a light area, further performing edge detection on the gray scale image to obtain edge characteristics of the light area, performing brightness detection on the gray scale image to obtain brightness characteristics of the light area, and determining an actual light area result according to the edge characteristics, the brightness characteristics, preset light area coordinates and a corresponding relation between light area brightness and gray scale values.
It can be understood that the light area can be acquired by an image acquisition device (e.g., a high definition camera) installed on the test bench to obtain an original image of the light area, then the original image is grayed to obtain a gray scale image of the light area, the gray scale image is subjected to edge detection to obtain edge characteristics of the light area, and then an actual light area effect is identified and determined according to the edge characteristics, the gray scale value, preset coordinates of the light area, and a corresponding relationship between the brightness and the gray scale value of the light area.
Assuming, for example, that an original image of a light area is composed of a plurality of images of small light areas, it may be determined first which light areas in the original image are illuminated according to edge characteristics, for example, acquiring a group of left and right edge features x being 20 and x being 50 under an original image coordinate system of the light area, it is determined that the 20, 50 segment is lighted, and then, the position of the lighted light zone can be determined according to the preset light zone coordinates, and at the same time, the gray scale value corresponding to the lighting interval of [20, 50] can be obtained in the gray scale map, furthermore, the brightness grade of the lighted light area position can be obtained according to the corresponding relation between the brightness of the preset light area and the gray value, by analogy, the positions of other lighted light areas and the brightness levels corresponding to the positions of the lighted light areas are obtained, so that the actual light area effect of the original image of the whole light area is identified and determined.
And after the virtual test scene data are obtained, the virtual test scene data can be combined with the functional specification requirements of the automobile lamps to obtain theoretical light area results corresponding to different virtual test scene data.
It should be noted that, in the functional specification requirement of the vehicle lamp, theoretical light area results that the vehicle lamp needs to reach under each working condition road condition are specified, for example, assuming that the working condition road condition corresponding to the current virtual test scene data is at night, and a vehicle comes from a position 50 meters ahead of the left side of the vehicle and forms an included angle of 4 degrees with the driving direction of the vehicle, at this time, since the 6 th light area may include a vehicle coming from the left 4 degrees, the 6 th light area needs to be controlled to be closed according to the functional specification requirement of the vehicle lamp, so as to meet the anti-dazzling of the high beam, while other light areas may be kept in a normal working state, that is, the theoretical light area result corresponding to the current virtual test scene data is the 6 th light area closed, and other light areas are kept in normal working.
And S105, generating a test evaluation result of the vehicle lamp according to the actual light area result and the theoretical light area result.
Therefore, in the embodiment of the invention, the control instruction is generated according to the obtained virtual test scene data, the vehicle lamp is controlled according to the control instruction to form the light area, the light area is identified to obtain the actual light area result, the theoretical light area result is obtained according to the obtained virtual test scene data, and then the actual light area result and the theoretical light area result are combined and compared to generate the test evaluation result of the vehicle lamp, so that the automatic test of the vehicle lamp is realized, the objectivity and reliability of the test evaluation result are improved, and the test efficiency of the vehicle lamp is improved.
Further, generating a test evaluation result of the vehicle lamp according to the actual light area result and the theoretical light area result, wherein the test evaluation result comprises the following steps: and acquiring the deviation between the actual light area result and the theoretical light area result, and generating a test evaluation result according to the deviation.
For example, an actual light zone result corresponding to an original image of a light zone may be compared with a theoretical light zone result corresponding to the virtual test scene data, for example, a lighting state, a lighting time, and a brightness level of each light zone in the actual light zone result may be compared with a lighting state, a lighting time, and a brightness level of each light zone in the theoretical light zone result to determine whether each light zone meets a functional specification requirement of an automobile lamp, so as to generate a corresponding test evaluation result.
Further, before generating a test evaluation result of the vehicle lamp according to the actual light zone result and the theoretical light zone result, the method further comprises the following steps: and performing coordinate conversion on the virtual test scene data to enable the actual light area result and the virtual test scene data to be in the same coordinate system.
It can be understood that the coordinate conversion can be performed on the virtual test scene data, so that the actual light area result and the virtual test scene data can be displayed in real time under the same coordinate system, a tester can observe the test process of the intelligent automobile headlamp conveniently, and the subsequent test data analysis and correction can be performed.
Further, the test method of the automobile lamp further comprises the following steps: judging whether the test evaluation result meets a preset test evaluation result or not; and if the test evaluation result does not meet the preset test evaluation result, adjusting the control instruction according to the deviation, and controlling the vehicle lamp according to the adjusted control instruction to form a light area for carrying out the next round of test until the test evaluation result meets the preset test evaluation result.
For example, if the test evaluation result does not satisfy the preset test evaluation result, the control instruction may be adjusted according to the on-off state deviation, the on-off time deviation and the brightness grade deviation of each light region under the actual light region result and each light region under the theoretical light region result, and the vehicle lamp may be controlled according to the adjusted control instruction to form a light region for the next test until the test evaluation result satisfies the preset test evaluation result, thereby optimizing the control instruction algorithm.
The following describes the testing steps of the testing method of the vehicle lamp with reference to fig. 2 and the embodiment of the present invention.
And S1, calibrating parameters of the recognition algorithm for obtaining the original image of the light area.
And S2, acquiring virtual test scene data of the vehicle lamp.
And S3, generating a control instruction according to the virtual test scene data, and controlling the vehicle lamp according to the control instruction to form a light area.
And S4, identifying the light area to obtain an original image of the light area.
And S5, performing coordinate conversion on the virtual test scene data to enable the actual light area result and the virtual test scene data to be in the same coordinate system.
And S6, generating a test evaluation result of the vehicle lamp according to the actual light zone result and the theoretical light zone result.
In summary, according to the testing method of the vehicle lamp in the embodiment of the present invention, virtual test scene data of the vehicle lamp is obtained, then a control instruction is generated according to the virtual test scene data, the vehicle lamp is controlled according to the control instruction to form a light area, further, the light area is identified to obtain an actual light area result, a theoretical light area result is obtained according to the virtual test scene data, and finally, a test evaluation result of the vehicle lamp is generated according to the actual light area result and the theoretical light area result. Therefore, the actual light area result and the theoretical light area result are combined and compared to generate a vehicle lamp test evaluation result, so that the automatic test of the vehicle lamp is realized, the objectivity and the reliability of the test evaluation result are improved, and the test efficiency of the vehicle lamp is improved.
Further, an embodiment of the present invention further provides a computer-readable storage medium, on which a test program of an automobile lamp is stored, and the program, when executed by a processor, implements the test method of the automobile lamp according to the foregoing embodiment of the present invention.
It should be noted that, when the test program of the vehicle lamp in the embodiment of the present application is executed, a specific implementation manner corresponding to the test method of the vehicle lamp in the foregoing embodiment of the present invention can be implemented, and details are not described herein again.
In summary, according to the computer-readable storage medium of the embodiment of the invention, when the processor executes the test program of the vehicle lamp, the actual light area result and the theoretical light area result can be combined and compared to generate the vehicle lamp test evaluation result, so that the automatic test of the vehicle lamp is realized, the objectivity and reliability of the test evaluation result are improved, and the test efficiency of the vehicle lamp is improved.
Fig. 3 is a block diagram of a testing platform for vehicle lamps according to an embodiment of the present invention.
As shown in fig. 3, the test platform 100 for the vehicle lamp includes a control device 10, an image capturing device 20, and a test device 30.
The control device 10 is configured to obtain virtual test scene data of the vehicle lamp, generate a control instruction according to the virtual test scene data, and control the vehicle lamp according to the control instruction to form a light area; the identification device 20 is used for identifying the light area to obtain an original image of the light area; the test equipment 30 is configured to obtain an actual light area result according to the original image, obtain a theoretical light area result according to the virtual test scene data, and generate a test evaluation result of the vehicle lamp according to the actual light area result and the theoretical light area result.
Alternatively, the control device 10 may comprise a vehicle light controller, the identification device 20 may comprise a high definition camera, and the test device 30 may comprise a test terminal.
Further, the testing device 30 is further configured to perform graying on the original image to obtain a grayscale image of the light region; carrying out edge detection on the gray-scale image to obtain edge characteristics of the light area; and determining an actual light area result according to the edge characteristics, the gray value, the preset light area coordinates and the corresponding relation between the light area brightness and the gray value.
Further, the testing device 30 is further configured to obtain a position where the gray value jumps; and determining the edge characteristics of the light area according to the position of the jump of the gray value.
Further, the test device 30 is further configured to generate a test evaluation result of the automotive lamp according to the actual light zone result and the theoretical light zone result, including: acquiring the deviation between the actual light area result and the theoretical light area result; and generating a test evaluation result according to the deviation.
Further, the testing platform 100 for the vehicle lamp further includes: and testing the evaluation equipment.
In particular, the test evaluation device is configured to: judging whether the test evaluation result meets a preset test evaluation result or not; and if the test evaluation result does not meet the preset test evaluation result, adjusting the control instruction according to the deviation, and controlling the vehicle lamp according to the adjusted control instruction to form a light area for carrying out the next round of test until the test evaluation result meets the preset test evaluation result.
Further, the testing platform 100 for the vehicle lamp further includes: a display device.
Specifically, the display device is further configured to: and performing coordinate conversion on the virtual test scene data so that the actual light zone result and the virtual test scene data are in the same coordinate system.
Further, the testing device 30 is further configured to perform parameter calibration on an identification algorithm for obtaining an original image of the light region, so as to obtain preset coordinates of the light region and a corresponding relationship between brightness of the light region and a gray value.
It should be noted that, the specific implementation of the test platform 100 for the vehicle lamp in the embodiment of the present invention corresponds to the specific implementation of the test method for the vehicle lamp in the foregoing embodiment of the present invention, and details are not repeated herein.
In summary, according to the test platform of the vehicle lamp in the embodiment of the present invention, the control device obtains the virtual test scene data of the vehicle lamp, generates the control instruction according to the virtual test scene data, controls the vehicle lamp according to the control instruction to form the light area, and identifies the light area by the identification device to obtain the actual light area result, and the test device obtains the theoretical light area result according to the virtual test scene data, and generates the test evaluation result of the vehicle lamp according to the actual light area result and the theoretical light area result. Therefore, the actual light area result and the theoretical light area result are combined and compared to generate a vehicle lamp test evaluation result, so that the automatic test of the vehicle lamp is realized, the objectivity and the reliability of the test evaluation result are improved, and the test efficiency of the vehicle lamp is improved.
It should be noted that the logic and/or steps represented in the flowcharts or otherwise described herein, such as an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
In the description of the present invention, it is to be understood that the terms "central," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," "counterclockwise," "axial," "radial," "circumferential," and the like are used in the orientations and positional relationships indicated in the drawings for convenience in describing the invention and to simplify the description, and are not intended to indicate or imply that the referenced devices or elements must have a particular orientation, be constructed and operated in a particular orientation, and are therefore not to be considered limiting of the invention.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
In the present invention, unless otherwise expressly stated or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship, unless expressly stated otherwise. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In the present invention, unless otherwise expressly stated or limited, the first feature "on" or "under" the second feature may be directly contacting the first and second features or indirectly contacting the first and second features through an intermediate. Also, a first feature "on," "over," and "above" a second feature may be directly or diagonally above the second feature, or may simply indicate that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature may be directly under or obliquely under the first feature, or may simply mean that the first feature is at a lesser elevation than the second feature.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (10)

1. A method for testing an automobile lamp, the method comprising the steps of:
acquiring virtual test scene data of the car lamp;
generating a control instruction according to the virtual test scene data, and controlling the vehicle lamp according to the control instruction to form a light area;
identifying the light area to obtain an original image of the light area;
acquiring an actual light area result according to the original image of the light area, and acquiring a theoretical light area result according to the virtual test scene data;
and generating a test evaluation result of the car lamp according to the actual light area result and the theoretical light area result.
2. The method for testing the lamp of claim 1, wherein the obtaining of the actual light zone result according to the original image of the light zone comprises:
graying the original image to obtain a grayscale image of the light area;
performing edge detection on the gray-scale image to obtain edge characteristics of the light area;
and determining the actual light area result according to the edge characteristics, the gray value, the preset light area coordinates and the corresponding relation between the light area brightness and the gray value.
3. The method for testing the vehicle lamp according to claim 2, wherein the edge detection of the gray-scale map to obtain the edge characteristics of the light area comprises:
acquiring the position of the jump of the gray value;
and determining the edge characteristics of the light area according to the jumping position of the gray value.
4. The method for testing the vehicle lamp according to claim 1, wherein the generating of the test evaluation result of the vehicle lamp according to the actual light zone result and the theoretical light zone result comprises:
acquiring the deviation between the actual light area result and the theoretical light area result;
and generating the test evaluation result according to the deviation.
5. The method for testing an automotive lamp of claim 4, further comprising:
judging whether the test evaluation result meets a preset test evaluation result or not;
and if the test evaluation result does not meet the preset test evaluation result, adjusting the control instruction according to the deviation, and controlling the vehicle lamp according to the adjusted control instruction to form a light zone for the next round of test until the test evaluation result meets the preset test evaluation result.
6. The method for testing an automotive lamp according to any one of claims 1 to 5, characterized in that, before generating a test evaluation result of the automotive lamp based on the actual light zone result and the theoretical light zone result, the method further comprises:
and performing coordinate conversion on the virtual test scene data so that the actual light zone result and the virtual test scene data are in the same coordinate system.
7. The method for testing the lamp of the vehicle according to claim 2, further comprising, before acquiring the original image of the optical zone:
and calibrating parameters of the identification algorithm for obtaining the original image of the light area to obtain the preset light area coordinates and the corresponding relation between the light area brightness and the gray value.
8. The method for testing vehicle lights according to claim 1, wherein the virtual test scenario data comprises ambient brightness, ambient weather, and ambient obstacle coordinates.
9. A computer-readable storage medium, characterized in that a test program of a vehicle lamp is stored thereon, which when executed by a processor implements a test method of a vehicle lamp according to any one of claims 1 to 8.
10. The utility model provides a test platform of car light which characterized in that, test platform includes:
the control device is used for acquiring virtual test scene data of the car lamp, generating a control instruction according to the virtual test scene data, and controlling the car lamp according to the control instruction to form a light area;
the identification equipment is used for identifying the light area to obtain an original image of the light area;
and the test equipment is used for acquiring an actual light area result according to the original image of the light area, acquiring a theoretical light area result according to the virtual test scene data, and generating a test evaluation result of the car lamp according to the actual light area result and the theoretical light area result.
CN202110483321.1A 2021-04-30 2021-04-30 Test method, platform and storage medium for automobile lamp Active CN113310662B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110483321.1A CN113310662B (en) 2021-04-30 2021-04-30 Test method, platform and storage medium for automobile lamp

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110483321.1A CN113310662B (en) 2021-04-30 2021-04-30 Test method, platform and storage medium for automobile lamp

Publications (2)

Publication Number Publication Date
CN113310662A true CN113310662A (en) 2021-08-27
CN113310662B CN113310662B (en) 2023-04-18

Family

ID=77371589

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110483321.1A Active CN113310662B (en) 2021-04-30 2021-04-30 Test method, platform and storage medium for automobile lamp

Country Status (1)

Country Link
CN (1) CN113310662B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116698377A (en) * 2023-07-31 2023-09-05 常州星宇车灯股份有限公司 ADB function test method and system for automobile LED matrix headlight

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004042673A2 (en) * 2002-11-04 2004-05-21 Imperial Vision Ltd. Automatic, real time and complete identification of vehicles
US20180033157A1 (en) * 2015-02-25 2018-02-01 Bae Systems Plc Image processing method and apparatus for determining depth within an image
CN109997169A (en) * 2016-12-01 2019-07-09 亮锐控股有限公司 The method for analyzing the illumination patterns of front lamp of vehicle
CN110570411A (en) * 2019-09-05 2019-12-13 中国科学院长春光学精密机械与物理研究所 mura detection method and device based on coefficient of variation
CN110764489A (en) * 2019-11-08 2020-02-07 北京海纳川汽车部件股份有限公司 Intelligent car lamp simulation and automatic test method and system
CN110850843A (en) * 2019-11-08 2020-02-28 北京海纳川汽车部件股份有限公司 Car lamp control simulation test method and system
CN111833367A (en) * 2020-06-24 2020-10-27 中国第一汽车股份有限公司 Image processing method and device, vehicle and storage medium
CN112197192A (en) * 2020-09-10 2021-01-08 深圳市骁阳工程咨询有限公司 Sunlight simulation illumination control method, device and equipment
CN112504638A (en) * 2020-12-16 2021-03-16 上汽通用汽车有限公司 Method and device for testing adaptive high beam system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004042673A2 (en) * 2002-11-04 2004-05-21 Imperial Vision Ltd. Automatic, real time and complete identification of vehicles
US20180033157A1 (en) * 2015-02-25 2018-02-01 Bae Systems Plc Image processing method and apparatus for determining depth within an image
CN109997169A (en) * 2016-12-01 2019-07-09 亮锐控股有限公司 The method for analyzing the illumination patterns of front lamp of vehicle
CN110570411A (en) * 2019-09-05 2019-12-13 中国科学院长春光学精密机械与物理研究所 mura detection method and device based on coefficient of variation
CN110764489A (en) * 2019-11-08 2020-02-07 北京海纳川汽车部件股份有限公司 Intelligent car lamp simulation and automatic test method and system
CN110850843A (en) * 2019-11-08 2020-02-28 北京海纳川汽车部件股份有限公司 Car lamp control simulation test method and system
CN111833367A (en) * 2020-06-24 2020-10-27 中国第一汽车股份有限公司 Image processing method and device, vehicle and storage medium
CN112197192A (en) * 2020-09-10 2021-01-08 深圳市骁阳工程咨询有限公司 Sunlight simulation illumination control method, device and equipment
CN112504638A (en) * 2020-12-16 2021-03-16 上汽通用汽车有限公司 Method and device for testing adaptive high beam system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
修亚男等: "车灯模组的照度检测研究", 《计量学报》, no. 10, 26 October 2020 (2020-10-26), pages 1212 - 1217 *
谢祖通等: "基于成像型亮度计的车灯配光性能检测系统研究", 《照明工程学报》, no. 02, 15 April 2017 (2017-04-15), pages 61 - 64 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116698377A (en) * 2023-07-31 2023-09-05 常州星宇车灯股份有限公司 ADB function test method and system for automobile LED matrix headlight
CN116698377B (en) * 2023-07-31 2023-10-03 常州星宇车灯股份有限公司 ADB function test method and system for automobile LED matrix headlight

Also Published As

Publication number Publication date
CN113310662B (en) 2023-04-18

Similar Documents

Publication Publication Date Title
CN104210421B (en) Surrounding decision maker
US8310662B2 (en) Method for detecting misalignment of a vehicle headlight using a camera
JP5100159B2 (en) Automatic switching control method for in-vehicle projector
US10872419B2 (en) Method and apparatus for evaluating a vehicle travel surface
US20140129081A1 (en) Method for regulating the beam range of at least one headlamp of a vehicle and light control device
CN102951070A (en) Method for determining a range of at least one headlamp and method for calibrating a light emission from at least one headlamp of a vehicle
US9493108B2 (en) Apparatus for detecting other vehicle lights and light control apparatus for vehicles
KR102269956B1 (en) Method for evaluation of headlights
CN113310662B (en) Test method, platform and storage medium for automobile lamp
EP2933143B1 (en) Irradiation apparatus
US20060115126A1 (en) Vehicle vicinity monitoring apparatus
US20120127311A1 (en) Method for calibrating an image recording system in a motor vehicle
US9970752B2 (en) Method and device for determining a headlight range alignment
CN111505617B (en) Vehicle positioning method, device, equipment and storage medium
US20230131446A1 (en) Simulation method for a pixel headlamp system
CN112183382A (en) Unmanned traffic light detection and classification method and device
CN110901514A (en) Vehicle and control method and device of high beam thereof
CN115734419A (en) Automatic brightness adjusting method, system, equipment and storage medium for automobile lamp
CN112164221B (en) Image data mining method, device and equipment and road side equipment
CN107203675B (en) Lower-beam inclination matching method and system for headlamps
US9086322B2 (en) Method and device for determining a radiation characteristic for an illumination device of a vehicle
CN112067315A (en) Testing method, testing terminal and storage medium of door opening early warning system
CN102096114A (en) Method and device for detecting bottom area of automobile
CN115580954A (en) ADB headlamp brightness adjusting method and device, storage medium and electronic equipment
CN111751085A (en) Car light replacement reminding method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant