CN112986855B - Detection device in automobile lamp pre-lighting process and control method thereof - Google Patents

Detection device in automobile lamp pre-lighting process and control method thereof Download PDF

Info

Publication number
CN112986855B
CN112986855B CN202110451150.4A CN202110451150A CN112986855B CN 112986855 B CN112986855 B CN 112986855B CN 202110451150 A CN202110451150 A CN 202110451150A CN 112986855 B CN112986855 B CN 112986855B
Authority
CN
China
Prior art keywords
lamp
lighting
color
black
industrial camera
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.)
Active
Application number
CN202110451150.4A
Other languages
Chinese (zh)
Other versions
CN112986855A (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.)
Changzhou Xingyu Automotive Lighting Systems Co Ltd
Original Assignee
Changzhou Xingyu Automotive Lighting Systems 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 Changzhou Xingyu Automotive Lighting Systems Co Ltd filed Critical Changzhou Xingyu Automotive Lighting Systems Co Ltd
Priority to CN202110451150.4A priority Critical patent/CN112986855B/en
Publication of CN112986855A publication Critical patent/CN112986855A/en
Application granted granted Critical
Publication of CN112986855B publication Critical patent/CN112986855B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/44Testing lamps
    • 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/0207Details of measuring devices
    • 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/04Optical benches therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/90Arrangement of cameras or camera modules, e.g. multiple cameras in TV studios or sports stadiums

Abstract

The invention provides a detection device in a pre-lighting process of an automobile lamp and a control method thereof, wherein the device comprises: a programmable power supply; the first color industrial camera is used for shooting a first color image of the lamp; the black-and-white industrial camera is used for shooting black-and-white images of the lamp; the industrial tablet computer is used for realizing different lighting functions of the lamps according to the lamp information, controlling the first color industrial camera or the black and white industrial camera to work according to the function to be tested corresponding to the lamps in the detection area, and judging the lighting detection result of the lamps in the detection area according to the lamp information and the first color image or the black and white image. The device judges the lighting detection result of the lamp according to the image, does not need a manual visual mode, prevents damage to human eyesight and human misjudgment or missing detection, switches the work of the camera according to the required test functions corresponding to different lamps, meets the lighting detection of different functions of the lamp, and has strong universality and high accuracy.

Description

Detection device in automobile lamp pre-lighting process and control method thereof
Technical Field
The invention relates to the technical field of vehicles, in particular to a detection device in an automobile lamp pre-lighting process and a control method of the detection device in the automobile lamp pre-lighting process.
Background
The automobile lamp is an important part on an automobile and has the functions of illumination, signal feedback to external conditions, appearance decoration and the like. Especially, turn lights, dipped headlights, high beams, brake lights and brake lights in the automobile lamps are related to driving safety.
Since the structure of the car lamp is more complicated, after a lamp cover, a reflector, a light guide or other decorative parts are installed and an assembly lamp is assembled, the assembly lamp cannot recognize the states of all the LEDs (light-Emitting diodes) of the lamp in percentage due to factors such as size, angle and the like, and therefore, a pre-lighting process is added in the manufacturing process. Therefore, in the conventional production, before the lamp is installed on the lampshade, all lighting actions are carried out, and the lighting state and the spot color of the lamp are checked through manual visual inspection.
However, visual inspection under strong light for a long time easily causes visual impairment to the eyes of operators, and the operators are easily fatigued to the vision, causing false detection and missed detection.
Disclosure of Invention
In order to solve the above problems, a first object of the present invention is to provide a detection device in a pre-lighting process of an automobile lamp. The device is a lamp detection general system, judges the lighting detection result of the lamp by acquiring the lamp image, does not need manual visual judgment, reduces the manual workload and the visual damage, prevents the occurrence of manual misjudgment or missed detection, switches the work of the camera according to the required test functions corresponding to different lamps, satisfies the lighting detection of different functions of the lamp, and has strong universality and high accuracy.
A second object of the present invention is to provide a method for controlling a detection device in a pre-lighting process of an automobile lamp.
The technical scheme adopted by the invention is as follows:
an embodiment of a first aspect of the present invention provides a detection apparatus in a pre-lighting process of an automobile lamp, including: the programmable power supply is connected with the lamp through a digital input/output board card, the programmable power supply is used for outputting stable voltage, and the digital input/output board card is used for converting the stable voltage into a plurality of voltage signals and supplying the voltage signals to the lamp; a first color industrial camera to capture a first color image of a fixture in a detection area; the black and white industrial camera is used for shooting black and white images of the lamps in the detection area; an industrial tablet computer respectively connected with the programmable power supply, the digital input/output board card, the first color industrial camera and the black and white industrial camera, the industrial tablet computer is used for reading lamp information in the detection area, the lamp information comprises the model number of the lamp and the function to be tested, and controls the programmable power supply and the digital input/output board card according to the lamp information to realize different lighting functions of the lamp, and controlling the first color industrial camera or black and white industrial camera to work according to the function to be tested corresponding to the lamp in the detection area so as to acquire a first color image or black and white image of the lamp in the detection area, and judging the lighting detection result of the lamp in the detection area according to the information of the lamp and the first color image or black and white image of the lamp in the detection area.
The detection device in the pre-lighting process of the automobile lamp provided by the invention also has the following additional technical characteristics:
according to an embodiment of the invention, each lamp corresponds to a two-dimensional code, the two-dimensional code stores corresponding lamp information, the industrial tablet computer reads the two-dimensional code through a code reader to obtain the lamp information, and the industrial tablet computer further stores a lighting detection result of the lamp in the two-dimensional code corresponding to the lamp.
According to an embodiment of the present invention, the industrial tablet computer is specifically configured to: if the function of the lamp to be tested is a lighting function, controlling the first color industrial camera to work so as to obtain a first color image of the lamp in the detection area, analyzing the spot area and the corresponding color of the lamp according to the first color image, judging whether the spot area and the corresponding color meet a preset lighting standard, and if so, judging that the lighting function of the lamp is qualified; and if the function of the lamp to be tested is a dynamic running water lighting function, controlling the black-white industrial camera to work so as to obtain a black-white image of the lamp in the detection area, analyzing the number of light spots, the duration and the running water direction of each stage when the lamp is lighted in running water according to the black-white image, judging whether the number of the light spots, the duration and the running water direction of each stage meet a preset running water lighting standard, and if so, judging that the running water lighting function of the lamp is qualified.
According to an embodiment of the present invention, the detection device in the pre-lighting process of the automobile lamp further includes: the second color industrial camera is connected with the industrial tablet computer and used for shooting a second color image of the lamp in the detection area, and the positions of the first color industrial camera and the second color industrial camera are determined according to the model of the lamp in the detection area; the industrial tablet computer is further used for controlling the first color industrial camera and the second color industrial camera to work when the function of the lamp to be tested is a lighting function, so as to obtain a first color image and a second color image of the lamp in the detection area, analyzing the spot area and the corresponding color of the lamp according to the first color image and the second color image, judging whether the spot area and the corresponding color meet a preset lighting standard, and if so, judging that the lighting function of the lamp is qualified.
According to one embodiment of the invention, the acquisition period of the black and white industrial camera is 3 ms.
An embodiment of a second aspect of the present invention provides a method for controlling a detection device in a pre-lighting process of an automotive lamp according to an embodiment of the first aspect of the present invention, including the following steps: reading lamp information in the detection area by using the industrial tablet computer, wherein the lamp information comprises the model of a lamp and a function to be tested; controlling the programmable power supply and the digital input/output board card by using the industrial tablet computer according to the lamp information so as to realize different lighting functions of the lamp; and controlling the first color industrial camera or the black and white industrial camera to work by using the industrial tablet computer according to the function to be tested corresponding to the lamp in the detection area so as to obtain a first color image or a black and white image of the lamp in the detection area, and judging the lighting detection result of the lamp in the detection area by using the industrial tablet computer according to the information of the lamp and the first color image or the black and white image of the lamp in the detection area.
The control method of the detection device in the pre-lighting process of the automobile lamp provided by the invention can also have the following additional technical characteristics:
according to an embodiment of the present invention, each of the light fixtures corresponds to a two-dimensional code, and the two-dimensional code stores therein the light fixture information, and the method further includes: and reading the two-dimensional code through a code reader to acquire the lamp information, and storing the lighting detection result of the lamp in the two-dimensional code corresponding to the lamp.
According to an embodiment of the present invention, the method for detecting lighting of a lamp in a detection area by using an industrial tablet pc includes the steps of controlling the first color industrial camera or the black and white industrial camera to work according to a function to be tested corresponding to the lamp in the detection area by using the industrial tablet pc, so as to obtain a first color image or a black and white image of the lamp in the detection area, and determining a lighting detection result of the lamp in the detection area by using the industrial tablet pc according to information of the lamp and the first color image or the black and white image of the lamp in the detection area, which specifically includes: if the function of the lamp to be tested is a lighting function, the industrial tablet computer is used for controlling the first color industrial camera to work so as to obtain a first color image of the lamp in the detection area, the spot area and the corresponding color of the lamp are analyzed according to the first color image, whether the spot area and the corresponding color meet a preset lighting standard or not is judged, and if yes, the lighting function of the lamp is judged to be qualified; if the function of the lamp to be tested is a dynamic running water lighting function, the industrial tablet computer is used for controlling the black-white industrial camera to work so as to obtain black-white images of the lamp in the detection area, the number, duration and running water direction of light spots in each stage when the lamp is lighted in running water are analyzed according to the black-white images, whether the number, duration and running water direction of the light spots in each stage meet preset running water lighting standards or not is judged, and if yes, the running water lighting function of the lamp is judged to be qualified.
According to an embodiment of the present invention, the method further includes: the industrial tablet computer is used for controlling the first color industrial camera and the second color industrial camera to work so as to obtain a first color image and a second color image of a lamp in the detection area, the industrial tablet computer is used for analyzing the spot area and the corresponding color of the lamp according to the first color image and the second color image, whether the spot area and the corresponding color meet a preset lighting standard or not is judged, and if yes, the lighting function of the lamp is judged to be qualified.
The invention has the beneficial effects that:
(1) the lighting detection result of the lamp is judged by collecting the lamp image, so that the judgment in a manual visual mode is not needed, the manual workload and the visual damage are reduced, and the occurrence of manual misjudgment or missed detection is prevented;
(2) the camera is switched to work according to the functions to be tested corresponding to different lamps, lighting detection of different functions of the lamps is met, and the lamp lighting detection device is high in universality and accuracy;
(3) the multi-camera arrangement mode makes up the limitation of the single-camera view, and meets the detection requirements of large-size lamps and large-curved-surface lamps;
(4) the flowing water facula is collected and judged by the high-speed black and white industrial camera, and the flowing water function detection of the lamp is met, which cannot be realized by manual visual inspection at present;
(5) code scanning is carried out through a code reader, unified management of data is achieved by combining a data management software mode, and production information one-button type tracing of a single lamp can be carried out by connecting a Manufacturing Execution System (MES) System.
Drawings
Fig. 1 is a block diagram schematically illustrating a detection device in a pre-lighting process of an automotive lamp according to an embodiment of the present invention;
FIG. 2 is a block diagram of a detection device in a pre-lighting process of an automotive lamp according to another embodiment of the present invention;
fig. 3 is a flowchart of a method for controlling the detection device in the pre-lighting process of the automobile lamp according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The present invention is directed to an application scenario in an automotive lamp pre-lighting process.
Fig. 1 is a block diagram schematically illustrating a detection apparatus in a pre-lighting process of an automotive lamp according to an embodiment of the present invention, as shown in fig. 1, the apparatus including: programmable power supply 1, first colored industry camera 2, black and white industry camera 3, industry panel computer 4.
The programmable power supply 1 is connected with the lamp 6 through the digital input/output board card 5, the programmable power supply 1 is used for outputting stable voltage, and the digital input/output board card 5 is used for converting the stable voltage into a plurality of voltage signals and supplying the voltage signals to the lamp 6; the first color industrial camera 2 is used for shooting a first color image of the lamp in the detection area; the black and white industrial camera 3 is used for shooting black and white images of the lamps in the detection area; the industrial tablet computer 4 is respectively connected with the programmable power supply 1, the digital input/output board card 5, the first color industrial camera 2 and the black and white industrial camera 3, the industrial tablet computer 4 is used for reading lamp information in the detection area, the lamp information comprises the model number and the function to be tested of a lamp, the programmable power supply 1 and the digital input/output board card 5 are controlled according to the lamp information to realize different lighting functions of the lamp, the first color industrial camera 2 or the black and white industrial camera 3 is controlled to work according to the function to be tested corresponding to the lamp in the detection area to obtain a first color image or a black and white image of the lamp 6 in the detection area, and the lighting detection result of the lamp 6 in the detection area is judged according to the lamp information and the first color image or the black and white image of the lamp 6 in the detection area.
In the embodiment of the present invention, the black-and-white industrial camera 3 is a high-speed black-and-white industrial camera, and the acquisition period needs to reach 3 ms.
Specifically, after power-on initialization, a configuration program of a lamp to be detected is manually selected. After the configuration program is loaded successfully, manually placing the lamp to be detected on a workbench of a detection area, manually pressing a double-hand starting button, and carrying out test flow actions by the device according to the preset. The industrial tablet computer 4 reads lamp information (model and function of the lamp) in the detection area, and then controls the programmable power supply 1 and the digital input/output board 5 according to the lamp information, so that the programmable power supply 1 outputs a stable voltage (for example, a stable voltage of 13.5V) to the digital input/output board 5, and meanwhile, the industrial tablet computer 4 also controls the digital input/output board 5 according to the function of the lamp to be tested, so that the digital input/output board 5 outputs a corresponding voltage signal to the lamp 6 according to the function of the lamp to be tested, so as to realize different lighting functions (such as low beam, high beam, daytime running, position, dynamic flow steering, braking, reversing lamp and the like) of the lamp 6.
Then, the industrial tablet computer 4 controls the first color industrial camera 2 or the black and white industrial camera 3 to work according to the function to be tested corresponding to the lamp in the detection area, for example, if the test is a general lighting test, the first color industrial camera 2 is controlled to work, if the test is a dynamic running water lighting test, the light spot is rapidly changed, a single color camera cannot meet the detection requirement, the black and white industrial camera is suitable for being used when the light spot of the lamp is rapidly changed in millisecond level, the black and white industrial camera 3 can be controlled to work, and the black and white industrial camera 3 is a high-speed black and white industrial camera, such as the black and white camera acA800-510 um. Therefore, a first color image or a black and white image of the lamp in the detection area can be obtained, and then the lighting detection result of the lamp in the detection area is judged according to the information of the lamp and the first color image or the black and white image of the lamp in the detection area. After the detection is completed, the industrial tablet computer 4 may display the detection result on the interface of the industrial tablet computer 4.
By the above, the device is a lamp detection general system, the lighting detection result of the lamp is judged by collecting the lamp image, the judgment is carried out in a manual visual mode, the manual workload and the visual damage are reduced, the occurrence of manual misjudgment or missed detection is prevented, the operation of the camera is switched according to the required test functions corresponding to different lamps, the lighting detection of different functions of the lamp is met, and the device is strong in universality and high in accuracy.
In the invention, the industrial tablet computer 4 can be connected with the programmable power supply 1 through an RS232 Serial port, the industrial tablet computer 4 can be connected with the digital input/output board card 5 through a USB (Universal Serial Bus), the industrial tablet computer 4 can be connected with the black-and-white industrial camera 3 through a USB3.0 port, and the industrial tablet computer 4 can be connected with the first color industrial camera 2 through an Ethernet.
In the embodiment of the invention, each lamp 6 corresponds to one two-dimensional code, the corresponding lamp information is stored in the two-dimensional code, the industrial tablet computer 4 reads the two-dimensional code through a code reader to acquire the lamp information, and the industrial tablet computer 4 further stores the lighting detection result of the lamp in the two-dimensional code corresponding to the lamp.
Specifically, each lamp corresponds to one two-dimensional code, corresponding lamp information is stored in the two-dimensional codes, the industrial tablet personal computer 4 reads the two-dimensional codes on the detection lamps 6 through a code reader, and the two-dimensional codes used by different lamps are different. After the detection is completed, the industrial tablet computer 4 can also store the lighting detection result of the lamp 6 in the two-dimensional code corresponding to the lamp. Therefore, code scanning is performed through the code reader, unified management of data is achieved by combining a data management software mode, a production line MES system is butted, and one-key type tracing of production information of a single lamp can be performed.
According to an embodiment of the present invention, the industrial tablet 4 is specifically configured to: if the function of the lamp to be tested is the lighting function, the first color industrial camera 2 is controlled to work to obtain a first color image of the lamp in the detection area, the light spot area and the corresponding color of the lamp 6 are analyzed according to the first color image, whether the light spot area and the corresponding color meet the preset lighting standard or not is judged, and if yes, the lighting function of the lamp 6 is judged to be qualified; and if the function of the lamp to be tested is the dynamic running water lighting function, controlling the black-white industrial camera 3 to work so as to obtain a black-white image of the lamp in the detection area, analyzing the number of light spots, the duration and the running water direction of each stage when the lamp is lighted in running water according to the black-white image, judging whether the number of the light spots, the duration and the running water direction of each stage meet the preset running water lighting standard, and if so, judging that the running water lighting function of the lamp 6 is qualified.
Specifically, if the industrial tablet computer 4 judges that the function of the lamp to be tested is the lighting function according to the lamp information, the first color industrial camera 2 is controlled to work, the first color industrial camera 2 collects a lamp lighting spot image (a first color image), the industrial tablet computer 4 can analyze the spot area through an image algorithm Particle Analysis, analyze the corresponding color through a ColorHistogram algorithm and convert the corresponding color into a corresponding CIE XYZ color coordinate value, then compare the spot area and the corresponding color with a preset lighting standard, if the spot area and the corresponding color meet the preset lighting standard, the lighting function of the lamp is judged to be qualified, and otherwise, the lighting function of the lamp is judged to be unqualified. It can be understood that lighting standards corresponding to different models of lamps and corresponding functions thereof can be pre-stored in the industrial tablet computer 4 in advance through relevant experiments.
When the lamp needs to be tested and the function is the dynamic flow lighting function, light spots change rapidly, a single color camera cannot meet detection requirements, and the black-and-white industrial camera is suitable for being used when the lamp dynamic flow lighting LED light spots change rapidly in millisecond level, so that the industrial tablet personal computer 4 controls the black-and-white industrial camera 3 to work, the black-and-white industrial camera 3 collects images rapidly, the interval of each frame of image is about 3ms, and all images in the flow process are recorded. After the black-and-white industrial camera 3 finishes collecting, the industrial tablet computer 4 can calculate an image through an image algorithm Particle Analysis, and in combination with comparison and Analysis of all multi-cycle test values, the number of light spots, the duration and the flowing direction of each flowing water stage are calculated, and then whether the number of the light spots, the duration and the flowing water direction of each stage meet a preset flowing water lighting standard or not is judged, if so, the flowing water lighting function of the lamp 6 is judged to be qualified, otherwise, the flowing water lighting function of the lamp 6 is judged to be unqualified. It can be understood that the running light standards corresponding to different models of the lamps and their corresponding running light functions may be pre-stored in the industrial tablet computer 4 in advance through related experiments. Therefore, the flowing water light spots are collected and judged through the high-speed black and white industrial camera, and the flowing water function detection of the lamp is met, which cannot be realized by manual visual inspection at present. And the running function detection is placed in the pre-lighting process of the lamp instead of the electrical detection of the assembly lamp, so that the detection beat of the assembly lamp is not too long, the high-speed capacity requirement can be met, and the whole production beat is optimized to a great extent by redefining and distributing the process.
According to an embodiment of the present invention, as shown in fig. 2, the detection device in the pre-lighting process of the automobile lamp may further include: the second color industrial camera 7 is connected with the industrial tablet computer 4, the second color industrial camera 7 is used for shooting a second color image of the lamp in the detection area, and the positions of the first color industrial camera 2 and the second color industrial camera 7 are determined according to the model of the lamp in the detection area; the industrial tablet computer 4 is further configured to control the first color industrial camera 2 and the second color industrial camera 7 to work when the function of the lamp to be tested is a lighting function, so as to obtain a first color image and a second color image of the lamp in the detection area, analyze the spot area and the corresponding color of the lamp according to the first color image and the second color image, determine whether the spot area and the corresponding color meet a preset lighting standard, and if so, determine that the lighting function of the lamp 6 is qualified.
Specifically, when the size of the lamp 6 is too long or the curved surface is too large, and one color industrial camera cannot cover all light spots of the lamp, two color industrial cameras can be used for shooting simultaneously, and it is ensured that the light spots of the whole lamp can be seen by the cameras. The positions of the two color industrial cameras are set according to the lamp, and the two color industrial cameras can be matched to complete the collection of the complete light spots of the lamp. When the lamp needs to be tested and the lighting function is required, under the condition that the size of the lamp is too long or the curved surface is too large, and the first color industrial camera 2 cannot cover all light spots of the lamp, the industrial tablet computer 4 controls the first color industrial camera 2 and the second color industrial camera 7 to work simultaneously to obtain a first color image and a second color image of the lamp in the detection area, the light spot area and the corresponding color are analyzed through an image algorithm according to the first color image and the second color image, then the light spot area and the corresponding color are compared with a preset lighting standard, if the light spot area and the corresponding color meet the preset lighting standard, the lighting function of the lamp is judged to be qualified, and if not, the lighting function of the lamp is judged to be unqualified. Therefore, the lighting function detection can be effectively performed even when the size of the lamp is too long or the curved surface is too large.
It should be noted that, in the embodiment of the present invention, the first color industrial camera 2, the black and white industrial camera 3, and the second color industrial camera 7 may be configured as a virtual camera in a program running on the industrial tablet computer 4, such as being added or deleted, or renamed as a through light camera, a stream camera, a position light camera, and the like, so as to facilitate definition and management of different lamp parameters.
In conclusion, according to the detection device in the pre-lighting process of the automobile lamp, the lighting detection result of the lamp is judged by collecting the lamp image, so that the judgment in a manual visual mode is not needed, the manual workload and the visual damage are reduced, and the occurrence of manual misjudgment or missed detection is prevented; the camera is switched to work according to the functions to be tested corresponding to different lamps, lighting detection of different functions of the lamps is met, and the lamp lighting detection device is high in universality and accuracy; the multi-camera arrangement mode makes up the limitation of the single-camera view, and meets the detection requirements of large-size lamps and large-curved-surface lamps; the flowing water facula is collected and judged by the high-speed black and white industrial camera, and the flowing water function detection of the lamp is met, which cannot be realized by manual visual inspection at present; code scanning is performed through the code reader, unified management of data is achieved by combining a data management software mode, the production information of a single lamp can be traced in one key mode by butting a production line MES system.
Based on the detection device in the automobile lamp pre-lighting process, the invention also provides a control method of the detection device in the automobile lamp pre-lighting process. Since the method embodiment of the present invention is based on the apparatus embodiment, details that are not disclosed in the method embodiment may refer to the apparatus embodiment, and are not described again in the present invention.
Fig. 3 is a flowchart of a control method of a detection device in a pre-lighting process of an automobile lamp according to an embodiment of the present invention, as shown in fig. 3, the control method includes the steps of:
and S1, reading lamp information in the detection area by using the industrial tablet computer, wherein the lamp information comprises the model of the lamp and the function to be tested.
And S2, controlling the programmable power supply and the digital input/output board card by using the industrial tablet computer according to the lamp information so as to realize different lighting functions of the lamp.
And S3, controlling the first color industrial camera or the black and white industrial camera to work by using the industrial tablet computer according to the function to be tested corresponding to the lamp in the detection area so as to obtain a first color image or a black and white image of the lamp in the detection area, and judging the lighting detection result of the lamp in the detection area by using the industrial tablet computer according to the information of the lamp and the first color image or the black and white image of the lamp in the detection area.
According to an embodiment of the present invention, each lamp corresponds to a two-dimensional code, and the two-dimensional code stores corresponding lamp information, and the method further includes: and reading the two-dimensional code through the code reader to acquire lamp information, and storing the lighting detection result of the lamp in the two-dimensional code corresponding to the lamp.
According to an embodiment of the present invention, an industrial tablet computer is used to control a first color industrial camera or a black and white industrial camera to work according to a function to be tested corresponding to a lamp in a detection area, so as to obtain a first color image or a black and white image of the lamp in the detection area, and the industrial tablet computer is used to determine a lighting detection result of the lamp in the detection area according to information of the lamp and the first color image or the black and white image of the lamp in the detection area, which specifically includes:
if the function of the lamp to be tested is the lighting function, controlling a first color industrial camera to work by using an industrial tablet computer so as to obtain a first color image of the lamp in the detection area, analyzing the light spot area and the corresponding color of the lamp according to the first color image, judging whether the light spot area and the corresponding color meet a preset lighting standard, and if so, judging that the lighting function of the lamp is qualified;
if the function of the lamp to be tested is a dynamic running water lighting function, the black-white industrial camera is controlled by the industrial tablet computer to work so as to obtain a black-white image of the lamp in the detection area, the number of light spots, the duration and the running water direction of each stage when the lamp is lighted in running water are analyzed according to the black-white image, whether the number of the light spots, the duration and the running water direction of each stage meet a preset running water lighting standard or not is judged, and if yes, the running water lighting function of the lamp is judged to be qualified.
According to an embodiment of the present invention, the method for controlling the detection device in the pre-lighting process of the automobile lamp further includes: the method comprises the steps of controlling a first color industrial camera and a second color industrial camera to work by using an industrial tablet computer to obtain a first color image and a second color image of a lamp in a detection area, analyzing the light spot area and the corresponding color of the lamp by using the industrial tablet computer according to the first color image and the second color image, judging whether the light spot area and the corresponding color meet a preset lighting standard, and if so, judging that the lighting function of the lamp is qualified.
In conclusion, according to the control method of the detection device in the pre-lighting process of the automobile lamp, the lighting detection result of the lamp is judged by collecting the lamp image, so that the judgment in a manual visual mode is not needed, the manual workload and the visual impairment are reduced, and the occurrence of manual misjudgment or missed detection is prevented; the camera is switched to work according to the functions to be tested corresponding to different lamps, lighting detection of different functions of the lamps is met, and the lamp lighting detection device is high in universality and accuracy; the multi-camera arrangement mode makes up the limitation of the single-camera view, and meets the detection requirements of large-size lamps and large-curved-surface lamps; the flowing water facula is collected and judged by the high-speed black and white industrial camera, and the flowing water function detection of the lamp is met, which cannot be realized by manual visual inspection at present; code scanning is performed through the code reader, unified management of data is achieved by combining a data management software mode, the production information of a single lamp can be traced in one key mode by butting a production line MES system.
In the description of the present invention, the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. The meaning of "plurality" is two or more 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; the two components can be directly connected with each other or indirectly connected with each other through an intermediate medium, and can be communicated with each other in the compartment or the interaction relation of the two components. 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 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 are not necessarily intended to 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. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction. 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 are not necessarily intended to 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. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., 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.
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. 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.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. 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.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (7)

1. A detection device in an automobile lamp pre-lighting process is characterized by comprising the following components:
the programmable power supply is connected with the lamp through a digital input/output board card, the programmable power supply is used for outputting stable voltage, and the digital input/output board card is used for converting the stable voltage into a plurality of voltage signals and supplying the voltage signals to the lamp;
a first color industrial camera to capture a first color image of a fixture in a detection area;
the black and white industrial camera is used for shooting black and white images of the lamps in the detection area;
the industrial tablet computer is respectively connected with the programmable power supply, the digital input/output board card, the first color industrial camera and the black and white industrial camera, and is used for reading lamp information in the detection area, wherein the lamp information comprises the model number and the function to be tested of a lamp, controlling the programmable power supply and the digital input/output board card according to the lamp information to realize different lighting functions of the lamp, controlling the first color industrial camera or the black and white industrial camera to work according to the function to be tested corresponding to the lamp in the detection area to acquire a first color image or a black and white image of the lamp in the detection area, and judging the lighting detection result of the lamp in the detection area according to the lamp information and the first color image or the black and white image of the lamp in the detection area, wherein the content of the first and second substances,
the industrial tablet computer is specifically configured to:
if the function of the lamp to be tested is a lighting function, controlling the first color industrial camera to work so as to obtain a first color image of the lamp in the detection area, analyzing the spot area and the corresponding color of the lamp according to the first color image, judging whether the spot area and the corresponding color meet a preset lighting standard, and if so, judging that the lighting function of the lamp is qualified;
and if the function of the lamp to be tested is a dynamic running water lighting function, controlling the black-white industrial camera to work so as to obtain a black-white image of the lamp in the detection area, analyzing the number of light spots, the duration and the running water direction of each stage when the lamp is lighted in running water according to the black-white image, judging whether the number of the light spots, the duration and the running water direction of each stage meet a preset running water lighting standard, and if so, judging that the running water lighting function of the lamp is qualified.
2. The device according to claim 1, wherein each of the lamps corresponds to a two-dimensional code, the two-dimensional code stores the corresponding lamp information, the industrial tablet computer reads the two-dimensional code through a code reader to obtain the lamp information, and the industrial tablet computer further stores the lighting detection result of the lamp in the two-dimensional code corresponding to the lamp.
3. The detection device in the automotive lamp pre-lighting process according to claim 1, further comprising:
the second color industrial camera is connected with the industrial tablet computer and used for shooting a second color image of the lamp in the detection area, and the positions of the first color industrial camera and the second color industrial camera are determined according to the model of the lamp in the detection area;
the industrial tablet computer is further used for controlling the first color industrial camera and the second color industrial camera to work when the function of the lamp to be tested is a lighting function, so as to obtain a first color image and a second color image of the lamp in the detection area, analyzing the spot area and the corresponding color of the lamp according to the first color image and the second color image, judging whether the spot area and the corresponding color meet a preset lighting standard, and if so, judging that the lighting function of the lamp is qualified.
4. The detecting device in the process of pre-lighting an automotive lamp according to claim 1, wherein the acquisition period of the black-and-white industrial camera is 3 ms.
5. The method for controlling the detection device in the pre-lighting process of the automobile lamp according to any one of claims 1 to 4, comprising the steps of:
reading lamp information in the detection area by using an industrial tablet computer, wherein the lamp information comprises the model of a lamp and a function to be tested;
controlling a programmable power supply and a digital input/output board card by using the industrial tablet computer according to the lamp information so as to realize different lighting functions of the lamp;
if the function of the lamp to be tested is a lighting function, the industrial tablet computer is used for controlling the first color industrial camera to work so as to obtain a first color image of the lamp in the detection area, the spot area and the corresponding color of the lamp are analyzed according to the first color image, whether the spot area and the corresponding color meet a preset lighting standard or not is judged, and if yes, the lighting function of the lamp is judged to be qualified;
if the function of the lamp to be tested is a dynamic running water lighting function, the industrial tablet computer is used for controlling the black-white industrial camera to work so as to obtain black-white images of the lamp in the detection area, the number, duration and running water direction of light spots in each stage when the lamp is lighted in running water are analyzed according to the black-white images, whether the number, duration and running water direction of the light spots in each stage meet preset running water lighting standards or not is judged, and if yes, the running water lighting function of the lamp is judged to be qualified.
6. The method of controlling a detection device in an automobile lamp pre-lighting process according to claim 5, wherein each of the lamps corresponds to a two-dimensional code in which the corresponding lamp information is stored, the method further comprising:
and reading the two-dimensional code through a code reader to acquire the lamp information, and storing the lighting detection result of the lamp in the two-dimensional code corresponding to the lamp.
7. The method of controlling a detection device in an automobile lamp pre-lighting process according to claim 5, further comprising: the industrial tablet computer is used for controlling a first color industrial camera and a second color industrial camera to work so as to obtain a first color image and a second color image of the lamp in the detection area, the industrial tablet computer is used for analyzing the spot area and the corresponding color of the lamp according to the first color image and the second color image, whether the spot area and the corresponding color meet a preset lighting standard or not is judged, and if yes, the lighting function of the lamp is judged to be qualified.
CN202110451150.4A 2021-04-26 2021-04-26 Detection device in automobile lamp pre-lighting process and control method thereof Active CN112986855B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110451150.4A CN112986855B (en) 2021-04-26 2021-04-26 Detection device in automobile lamp pre-lighting process and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110451150.4A CN112986855B (en) 2021-04-26 2021-04-26 Detection device in automobile lamp pre-lighting process and control method thereof

Publications (2)

Publication Number Publication Date
CN112986855A CN112986855A (en) 2021-06-18
CN112986855B true CN112986855B (en) 2021-08-31

Family

ID=76341713

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110451150.4A Active CN112986855B (en) 2021-04-26 2021-04-26 Detection device in automobile lamp pre-lighting process and control method thereof

Country Status (1)

Country Link
CN (1) CN112986855B (en)

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202854256U (en) * 2012-10-31 2013-04-03 惠州市德赛西威汽车电子有限公司 Aging testing device
JP6323094B2 (en) * 2014-03-18 2018-05-16 凸版印刷株式会社 Anti-glare inspection apparatus, method, and program
CN105388432B (en) * 2014-09-03 2018-08-21 常州星宇车灯股份有限公司 Test method based on car light automatically testing platform
CN206670551U (en) * 2017-03-03 2017-11-24 苏州云太基智能科技有限公司 Automatic Visual Inspection instrument
CN108012051A (en) * 2017-11-02 2018-05-08 东莞市普密斯精密仪器有限公司 A kind of optical detection apparatus with multiple image collections
CN109062176A (en) * 2018-06-26 2018-12-21 昆山睿力得软件技术有限公司 A kind of temperature controlling box Auto-Test System and method
JP2020101395A (en) * 2018-12-20 2020-07-02 三栄工業株式会社 Headlight tester, program, and recording medium
CN209978752U (en) * 2019-05-06 2020-01-21 常州星宇车灯股份有限公司 Wireless measuring system
CN211786014U (en) * 2019-12-20 2020-10-27 常州星宇车灯股份有限公司 Detection apparatus for OLED tail lamp developments flowing water effect
CN111457942B (en) * 2020-04-09 2021-09-14 苏州乐佰图信息技术有限公司 Plane height-fixing calibration device
CN212780982U (en) * 2020-05-29 2021-03-23 常州星宇车灯股份有限公司 Car lamp dynamic current time sequence detection device based on high-speed acquisition board card

Also Published As

Publication number Publication date
CN112986855A (en) 2021-06-18

Similar Documents

Publication Publication Date Title
JP4469860B2 (en) Vehicle lamp inspection method
CN105313762B (en) Illuminator
JP4108631B2 (en) Control system that automatically dims vehicle headlights
US10794838B2 (en) Method and device for detecting defect of cover lens in laser welding system on automobile production line
EP3139585B1 (en) Integrated camera, ambient light detection, and rain sensor assembly
US20140125227A1 (en) Method and device for controlling a headlight system of a vehicle
CN105410988A (en) Cigarette invisible sprayed code integrity detection device
KR20140022035A (en) Method and apparatus for recognizing an intensity of an aerosol in a field of vision of a camera on a vehicle
CN105034929A (en) Irradiation apparatus
CN112986855B (en) Detection device in automobile lamp pre-lighting process and control method thereof
CN112113504B (en) Brake disc wear diagnosis method and wear diagnosis system
JP2004301708A (en) Apparatus and method for detecting road surface state for vehicle, and control program for the apparatus for detecting road surface state for vehicle
JP2007015660A (en) Infrared image imaging device
JP2021511244A (en) Cleaning equipment, assemblies, and methods for cleaning the transparent front elements of optical sensors for automated vehicles.
US10870400B2 (en) Test system for verification of front camera lighting features
JP4404597B2 (en) Light distribution inspection apparatus and light distribution inspection method
US20170158130A1 (en) System to detect vehicle lamp performance
CN214896935U (en) Self-adaptive LED countdown signal lamp system
JP2914967B2 (en) Appearance inspection method
CN113085732A (en) Imaging device, vehicle, and rearview mirror
KR101645133B1 (en) Jig for harness vision inspecting, apparatus for vision inspecting, method for vision inspecting, and system for vision inspecting using the jig
JP2021071310A (en) Image processing system, setting method and program
CN212160037U (en) Combined front lamp electric detecting table
CN214097737U (en) Detection apparatus for two light ADB module dimming system
JP2014000908A (en) Light source state detection apparatus, light source state detection method, and light source state detection program

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