WO2017117875A1 - Light source state detection system and method - Google Patents

Light source state detection system and method Download PDF

Info

Publication number
WO2017117875A1
WO2017117875A1 PCT/CN2016/078172 CN2016078172W WO2017117875A1 WO 2017117875 A1 WO2017117875 A1 WO 2017117875A1 CN 2016078172 W CN2016078172 W CN 2016078172W WO 2017117875 A1 WO2017117875 A1 WO 2017117875A1
Authority
WO
WIPO (PCT)
Prior art keywords
light source
circuit
source state
level signal
measured
Prior art date
Application number
PCT/CN2016/078172
Other languages
French (fr)
Chinese (zh)
Inventor
王珊
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017117875A1 publication Critical patent/WO2017117875A1/en

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
    • G01M11/02Testing optical properties
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J1/00Photometry, e.g. photographic exposure meter
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J3/00Spectrometry; Spectrophotometry; Monochromators; Measuring colours
    • G01J3/28Investigating the spectrum
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J3/00Spectrometry; Spectrophotometry; Monochromators; Measuring colours
    • G01J3/46Measurement of colour; Colour measuring devices, e.g. colorimeters

Definitions

  • the present invention relates to the field of light source detection, and in particular to a light source state detection system and method.
  • the color and state detection of the indicator light source on the product are mostly detected by the human eye; in the case of long working hours, the tester may be fatigued or inattentive, and the state of the indicator light source cannot be correctly judged.
  • the leakage of the indicator light, misplacement or poor soldering will affect the product quality and yield. Once the product is found to be missing or faulty, and all products are re-tested, the efficiency is extremely low and the automatic production of the product cannot be realized.
  • Embodiments of the present invention provide a light source state detection system and method to at least solve the problem of low detection efficiency of a light source state in the related art.
  • a light source state detecting system includes: a light guiding circuit configured to collect light source state information of a light source to be measured, and transmit the light source state information to a light source state detecting circuit;
  • the multi-channel light source state detecting circuit is connected to the light guiding circuit, and is configured to acquire spectral value information of the measured light source according to the light source state information;
  • a micro control unit MCU control circuit, and the light source state detecting circuit Connecting configured to convert the spectral value information into a level signal, wherein the level signal is used to characterize a color and/or state of the measured light source;
  • a test circuit coupled to the MCU control circuit, configured It is detected whether the color and/or state of the light source to be tested is normal according to the level signal.
  • the MCU control circuit includes: an MCU detection circuit configured to convert the spectral value information into a corresponding level signal; the display circuit includes a display light source configured to display a light state corresponding to the level signal And / or light color.
  • the MCU control circuit further includes: a level isolation conversion circuit configured to isolate the level signal to obtain a specified level signal, and send the specified level signal to the test circuit.
  • the light guiding circuit includes: a positioning structure, configured to fix the light source to be measured, and collect light source state information of the light source to be measured; and an anti-interference structure, configured to shield the light source other than the measured light source The light signal of the light source; one or more light guiding fibers are connected to one or more of the light source state detecting circuits, and are arranged to transmit the light source state information to the light source state detecting circuit.
  • test circuit is further configured to: determine whether the level signal is the same as the preset level signal; and when the level signal is the same as the preset level signal, determine the color of the measured light source and/or State is normal; at the level signal When the preset level signals are different, it is determined that the color and/or state of the light source to be tested is abnormal.
  • the MCU control circuit further includes: a multi-channel voltage conversion circuit connected to the power supply, and configured to respectively supply power to the MCU detection circuit, the display circuit, and the level isolation conversion circuit.
  • the MCU control circuit further includes: a control circuit configured to receive the test control command and/or the switch control command, and open one or more of the relay circuits according to the test control command; one or more relay circuits And connecting the one or more of the light source state detecting circuit and the control circuit, and configured to turn on one or more of the light source state detecting circuits according to the test control instruction; and/or one or more powers And a relay circuit connected to the control circuit, configured to turn off one or more of the light source state detecting circuits according to the switching control command.
  • the state of the light source to be tested includes at least one of the following: extinction, ignition, and flicker.
  • a light source state detecting method including: a light source state detecting circuit receives a test control command; and the light source state detecting circuit detects one or more light source states indicated by the test control command Detecting a state of a light source of the corresponding one or more measured light sources on the circuit, and generating one or more light source state information; the light source state detecting circuit transmitting the one or more light source state information to the test circuit to detect the Whether the state of the light source of one or more of the measured light sources is consistent with the state of the preset light source.
  • the one or more measured light sources are conducted to the one or more light source state detecting circuits through the light guiding circuit.
  • detecting whether the state of the light source of the one or more measured light sources is consistent with the preset light source state comprises: determining whether the one or more light source state information is consistent with the preset light source state information of the measured light source; When the one or more light source state information is consistent with the preset light source state of the measured light source, determining that the light source state of the measured light source is normal, and the one or more light source state information and the measured When the preset light source states of the light source are inconsistent, it is determined that the light source state of the measured light source is abnormal.
  • a computer storage medium is further provided, and the computer storage medium may store an execution instruction for executing the light source state detection method in the above embodiment.
  • a light guiding circuit is configured to collect light source state information of the light source to be measured, and transmit the light source state information to the light source state detecting circuit; one or more of the light source state detecting circuits, and the The light guiding circuit is connected to obtain the spectral value information of the measured light source according to the light source state information; the micro control unit MCU control circuit is connected to the light source state detecting circuit, and is configured to convert the spectral value information into a level signal, wherein the level signal is used to characterize a color and/or a state of the light source to be measured; a test circuit coupled to the MCU control circuit, configured to detect the measured value according to the level signal Whether the color and/or status of the light source is normal.
  • FIG. 1 is a system block diagram of a light source state detecting system in accordance with an embodiment of the present invention
  • FIG. 2 is an optional system block diagram of a light source state detecting system in accordance with an embodiment of the present invention
  • FIG. 3 is a flowchart of a light source state detecting method according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a test flow in accordance with an alternative embodiment of the present invention.
  • circuitry may mean a combination of software and/or hardware that performs a predetermined function.
  • methods described in the following embodiments are preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 1 is a system block diagram of a light source state detecting system according to an embodiment of the present invention.
  • the light guiding circuit 10 includes one or more light source states.
  • a detection circuit 12 a Micro Controller Unit (MCU) control circuit 14, and a test circuit 16, wherein
  • MCU Micro Controller Unit
  • the light guiding circuit 10 is configured to collect light source state information of the light source to be measured, and transmit the light source state information to the light source state detecting circuit;
  • the light source to be tested may be a light source that needs to be detected, and the light source may be various indicator lights and illumination lamps.
  • the light source state information may include whether the light source is illuminated, whether the light source is blinking, the frequency of the flash, the color of the light source, the color changed when the light source is blinking, the light intensity, and the like.
  • the one or more light source state detecting circuit 12 is connected to the light guiding circuit and configured to acquire spectral value information of the light source to be tested according to the light source state information;
  • the micro control unit MCU control circuit 14 is coupled to the light source state detecting circuit and configured to convert the spectral value information into a level signal, wherein the level signal is used to characterize the color and/or state of the measured light source;
  • the test circuit 16 is coupled to the MCU control circuit and is configured to detect whether the color and/or state of the light source under test is normal based on the level signal.
  • the light guiding circuit is configured to collect the light source state information of the light source to be measured, and transmit the light source state information to the light source state detecting circuit;
  • the one or more light source state detecting circuit is connected to the light guiding circuit, and is set to Obtaining spectral value information of the measured light source according to the light source state information;
  • the micro control unit MCU control circuit is connected to the light source state detecting circuit, and is configured to convert the spectral value information into a level signal, wherein the level signal is used to represent the measured light source The color and/or state;
  • the test circuit connected to the MCU control circuit, configured to detect the color and/or shape of the measured light source based on the level signal Whether the state is normal.
  • n is an integer greater than 1, and may represent one or more channels, except for the circuit of FIG.
  • the MCU control circuit 14 includes:
  • the MCU detection circuit 20 is configured to convert the spectral value information into a corresponding level signal
  • the display circuit 21 includes one or more display light sources for displaying light states and/or light colors corresponding to the level signals.
  • the level isolating conversion circuit 22 is configured to isolate the level signal to obtain a specified level signal, and send the specified level signal to the test circuit.
  • the multi-channel voltage conversion circuit 23 is connected to the power supply and is configured to supply power to the MCU detection circuit, the display circuit, and the level isolation conversion circuit, respectively.
  • the control circuit 24 is configured to receive the test control command and/or the switch control command, and open one or more relay circuits according to the test control command;
  • One or more relay circuits 25 are connected to one or more light source state detecting circuits and control circuits, and are configured to turn on one or more light source state detecting circuits according to the test control command;
  • the one or more power relay circuits 26 are connected to the control circuit and are arranged to turn off one or more light source state detecting circuits according to the switching control command.
  • the light guiding circuit 10 includes: a positioning structure 30, an interference prevention structure 31, and one or more light guiding fibers 32, wherein
  • the positioning structure 30 is configured to fix the light source to be measured, and collect source state information of the light source to be tested;
  • the anti-interference structure 31 is configured to shield optical signals of other light sources except the light source to be tested;
  • One or more light guiding optical fibers 32 are connected to one or more light source state detecting circuits, and are arranged to transmit light source state information to the light source state detecting circuit.
  • the test circuit 16 further includes: a control selection circuit 40, a receiving device 41, a power supply 42, and a computer PC43, wherein
  • the control selection circuit 40 is configured to send various test instructions according to a user operation, such as the above test control instruction, the above-mentioned switching control instruction, and the like;
  • the receiving device 41 is arranged to receive the designated level signal transmitted by the level isolation conversion circuit 22 and convert the specified level signal into a digital signal recognizable by the PC.
  • the power supply 42 is configured to provide various power sources of the system.
  • the voltage of the power supply is V, V1, V2, V3, and V4 are voltages supplied to the respective circuits, or voltages reserved for the ports, such as V2.
  • the computer PC43 includes a host computer software for issuing a test command to the control selection circuit 40, and displaying the test result of the tested power source according to the digital signal sent by the receiving device 41.
  • the test circuit 16 can detect whether the color and/or state of the light source under test is normal according to the level signal by using the following steps, including:
  • Step S11 determining whether the level signal is the same as the preset level signal
  • Step S12 when the level signal is the same as the preset level signal, determining that the color and/or state of the light source to be tested is normal; when the level signal is different from the preset level signal, determining the color of the light source to be tested and/or Or the status is not normal.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods of various embodiments of the present invention.
  • a light source state detecting method is also provided, which is used in the above-mentioned light source state detecting circuit, and the method is used to implement the above-mentioned embodiments and preferred embodiments, which have not been described again.
  • the term “module” may implement a combination of software and/or hardware of a predetermined function.
  • FIG. 3 is a flowchart of a method for detecting a light source state according to an embodiment of the present invention. As shown in FIG. 3, the method includes:
  • Step S301 the light source state detecting circuit receives the test control instruction
  • Step S302 The light source state detecting circuit detects a light source state of the corresponding one or more measured light sources on one or more light source state detecting circuits indicated by the test control instruction, and generates one or more light source state information;
  • Step S303 The light source state detecting circuit sends one or more light source state information to the test circuit to detect whether the light source state of the one or more measured light sources is consistent with the preset light source state.
  • one or more of the measured light sources are conducted through a light guiding circuit to one or more of the light source state detecting circuits.
  • detecting whether the state of the light source of the one or more measured light sources is consistent with the preset light source state includes:
  • Step S21 determining whether the one or more light source state information is consistent with the preset light source state information of the light source to be tested;
  • Step S22 when one or more light source state information is consistent with the preset light source state of the light source to be measured, determining that the light source state of the light source to be tested is normal, and the one or more light source state information is inconsistent with the preset light source state of the measured light source. When it is judged, the state of the light source of the light source to be measured is abnormal.
  • the optional embodiment proposes an automatic detection device for the light source state of the indicator light, which aims to quickly and accurately determine whether the color state of the indicator light source is correct, and has an effect of smashing the indicator light, posting errors, and the like.
  • the present invention provides a device for automatically detecting the color state of different light sources.
  • the present invention includes: a light guiding circuit 10, a Micro Controller Unit (MCU) control circuit 14 The light source state detecting circuit 12.
  • MCU Micro Controller Unit
  • the device is connected to the test circuit 16, and the test circuit comprises: a power supply, a control selection circuit, a receiving circuit, and a host computer PC.
  • the power supply directly supplies power to the MCU control circuit, which can be an adapter conversion, or can be directly powered by a DC source;
  • the control and receiving part can control the light source state detecting circuit through the MCU control circuit, detect one or more channels, and receive the detection result given by the MCU control circuit.
  • the PC gives a control signal to the host computer software and receives the test result and displays it.
  • the color state detection of the light source is only a part thereof, and may also include other test contents, which is not limited herein.
  • the MCU control circuit can include the following parts: four voltage conversion, MCU detection circuit, 8-way relay control circuit, 8-channel display circuit and level-isolated conversion circuit, 4-way power relay circuit; voltage conversion circuit through different resistance values The resistor converts the supply voltage into a voltage for the MCU chip, alarm pull-up, level isolation conversion, and reserved power supply; the MCU detection circuit may include: a main control chip, a download terminal, a dial switch, a program operation display circuit, etc.; The relay control circuit is controlled (turned on or off) by the level signal given by the MCU; the 8-channel display circuit consists of indicator lights, which are controlled by the MCU detection circuit; the 8-way level isolation conversion is to give the level given by the MCU. The conversion is performed to play the role of isolation; the 4-way power relay circuit can replace the manual switching of the switch during the test process to realize the automatic test.
  • the light guiding circuit transmits the light source at the indicator light of the light source to be detected to the light source state detecting circuit, including: a positioning structure, a light guiding fiber structure and an anti-interference structure.
  • the structure indicator light source is transmitted to the light source state detecting circuit in the most realistic state, the accuracy of the light source state detecting circuit can be improved.
  • the light source state detecting circuit and the 8-way relay control circuit in the MCU control circuit are connected through the terminal and the cable, and the host computer and the MCU control one or more channels for detection.
  • FIG. 2 is a schematic block diagram of an automatic detecting device for different light source states of the indicator light according to an alternative embodiment.
  • the device includes a test circuit 16, an MCU control circuit 14, a light source state detecting circuit 12, and a light guiding circuit 10.
  • the test circuit comprises four parts: the power supply supplies power to the automatic detection device, such as four relay control circuits on the MCU control circuit, including but not limited to an adapter or other DC source controlled by the PC; the control selection circuit passes the MCU The control circuit selects one or more paths of the light source state detecting circuit for detection, including but not limited to an instrument that can be controlled by a PC; the receiving device receives the level or waveform of the MCU control circuit, including but not limited to an instrument that can be controlled by a PC. The PC controls, receives and displays the test results through the host computer software;
  • the automatic detection device such as four relay control circuits on the MCU control circuit, including but not limited to an adapter or other DC source controlled by the PC
  • the control selection circuit passes the MCU
  • the control circuit selects one or more paths of the light source state detecting circuit for detection, including but not limited to an instrument that can be controlled by a PC
  • the receiving device receives the level or waveform of the MCU control circuit, including but not limited to an instrument that can
  • the MCU control circuit includes: one or more voltage conversion circuits, pull-up circuits, one or more power relay circuits, control circuits, MCU detection circuits, road display circuits, one or more isolation conversion circuits, one or more relay circuits .
  • One of the voltage conversion circuits can also be reserved as the rest of the test power supply, the voltage conversion circuit can also supply power to other voltage conversion circuits and pull-up circuits; the voltage conversion circuit supplies power to the MCU detection circuit; and the voltage conversion circuit supplies power to the level isolation conversion circuit.
  • the pull-up circuit is used to reserve the rest of the test.
  • the control circuit is composed of a DIP switch and a terminal, which can receive signals from the host computer, and can also control the level of the multi-channel level through the DIP switch; after receiving the control signal, the one or more channels of the control relay circuit are closed or closed. Broken, or the circuit level signal is detected by the MCU.
  • One or more of the power relay circuits can also be used as a reserve for the rest of the test.
  • the MCU detection circuit downloads the software through the port, then detects the level signal given by the control circuit, and then gives the signal control relay circuit closed.
  • the relay circuit controls the light source state detecting circuit to work one way or multiple times after receiving the signal given by the MCU detecting circuit.
  • the spectral value detected by the light source state detecting circuit is fed back to the MCU detecting circuit through an integrated circuit (Inter-integrated Circuit, IIC) communication interface, and the MCU detecting circuit compares and gives a level signal to the display circuit to display the circuit light.
  • the state is consistent with the state of the light source being tested (off, on, or flashing).
  • the MCU detection circuit sends the level signal to the level-isolated conversion circuit, performs level isolation conversion, and then sends it to the receiving device of the test circuit, and finally determines the color and state of the detection by the PC software of the PC.
  • the states are consistent and the automated test results are given.
  • the light guiding circuit conducts the light source of the indicator light portion of the measured light source to the detecting chip filter of the light source state detecting circuit, and the light guiding circuit comprises: a positioning structure, an anti-interference structure and a light guiding optical fiber structure.
  • the positioning structure can receive the intensity of the light source to the greatest extent; the anti-interference structure is used to prevent the interference of the external light source; the light guiding fiber structure is a conductive medium with low light intensity attenuation.
  • the introduction of the light guiding circuit allows the detecting portion to be separated from the light source, and the design application is more flexible.
  • the optional embodiment can develop multi-channel indicator light source detection, and take 8 channels as an example for description.
  • the working principle of this alternative embodiment is as follows:
  • a total of 8 signals from S1 to S8 are controlled by the upper computer of the test circuit.
  • the MCU chip such as Atmega32L-8AU chip detects the corresponding.
  • the corresponding PORT port When the PORT port is low, the corresponding PORT port is pulled high, so that the relay is turned on, the corresponding color detection chip (such as TMG39933) starts to work, and the detected value is transmitted to the MCU chip through the IIC interface for comparison, and then Through the corresponding PAORT port output to the display circuit and the level conversion isolation circuit, the state of the indicator light in the display circuit is consistent with the state of the indicator light on the light source under test, and the level conversion circuit uploads the obtained level signal to the receiving device of the test circuit. And through the host computer software to determine whether the state is consistent with the required state.
  • the corresponding color detection chip such as TMG39933
  • FIG. 4 is a schematic diagram of a testing process according to an alternative embodiment of the present invention, as shown in FIG. 4, including:
  • Step S401 the host computer software of the test circuit sends a test command
  • Step S402 the MCU control circuit determines whether it is a low level, and if it is a low level, controls the MCU chip to turn on a corresponding relay circuit;
  • Step S403 the relay circuit turns on the light source state detecting circuit connected thereto;
  • Step S404 receiving light source state information collected by the light guiding circuit
  • Step S405 the light source state information is sent to the MCU chip for level processing and light source state analysis
  • Step S406 displaying the state and color of the light source to be tested
  • Step S407 sending the level signal to the level conversion isolation circuit for level isolation conversion
  • Step S408 sending to the test circuit and displaying the test structure of the light source to be tested.
  • the light guiding circuit is designed to effectively transmit the light source of the indicator light on the product to the light source state detecting circuit on the premise of maximally conducting the intensity of the light source and eliminating external light interference. Since the measured light source has only two indicator light sources, for convenience of description, 1-way and 5-way operation are selected here.
  • the upper computer sends a command to pull S1 and S5 low, the corresponding port of the MCU chip detects a low level, and the value of the detected light is read out from the register to the MCU chip through the IIC communication interface, and is compared by an internal preset program.
  • a corresponding level used to characterize the state of the light source. If A/B is flashing, a square wave is given according to the flashing frequency of the lamp, the amplitude is 3.3V, the display circuit 1 and the display circuit follow the flicker, Out1 and Out5 are square waves, the amplitude is 5V, and are sent to the upper computer. A determination is made as to whether the test is correct and the test result is given.
  • the signal is controlled by the host computer of the testing circuit to control the MCU control circuit so that the corresponding path of the light source state detecting circuit works, and the spectral value is detected;
  • the communication interface passes the spectral value to the MCU control circuit for calculation, and then performs the determination. If it is detected that a certain road should be red light and needs to be bright, the detected value needs to be red value is greater than the rest of the value, and then the high level is given to the upper computer to determine the pass, and the rest of the cases are failures. Test of the color status of the indicator light source.
  • the single-channel or multi-channel simultaneous detection can be realized by the DIP switch, and the selection of different ways can be controlled by the upper computer to fully realize the automatic test of the color state of the indicator light source.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
  • Embodiments of the present invention also provide a software for performing the technical solutions described in the above embodiments and preferred embodiments.
  • Embodiments of the present invention also provide a storage medium.
  • the above storage medium may be configured to store program code for performing the following steps:
  • the light source state detecting circuit receives the test control instruction
  • the light source state detecting circuit detects a light source state of the corresponding one or more measured light sources on one or more light source state detecting circuits indicated by the test control instruction, and generates one or more light source state information;
  • the light source state detecting circuit sends one or more light source state information to the test circuit to detect whether the light source state of the one or more measured light sources is consistent with the preset light source state.
  • the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a Random Access Memory (RAM).
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • the processor executes the receiving test control instruction according to the stored program code in the storage medium
  • the processor performs, according to the stored program code in the storage medium, detecting a light source state of the corresponding one or more measured light sources on one or more light source state detecting circuits indicated by the test control instruction. And generating one or more light source status information;
  • the processor sends one or more light source state information to the test circuit according to the stored program code in the storage medium to detect the light source state and preset of the one or more measured light sources. Whether the light source status is consistent.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the above technical solution provided by the embodiment of the present invention uses a light guiding circuit, which is configured to collect light source state information of the light source to be measured, and transmit the light source state information to the light source state detecting circuit; one or more of the light source state detecting circuits And connecting to the light guiding circuit, configured to acquire spectral value information of the light source to be tested according to the light source state information; and a micro control unit MCU control circuit connected to the light source state detecting circuit, configured to set the spectrum
  • the value information is converted into a level signal, wherein the level signal is used to characterize the color and/or state of the measured light source; a test circuit is coupled to the MCU control circuit and configured to detect based on the level signal Whether the color and/or state of the measured light source is normal.

Landscapes

  • Physics & Mathematics (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • General Physics & Mathematics (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Testing Of Optical Devices Or Fibers (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

A light source state detection system and method. The light source state detection system comprises: a light guide circuit (10) configured to acquire light source state information about a detected light source and transmit the light source state information to a light source state detection circuit (12); one or more paths of light source state detection circuits (12) connected to the light guide circuit (10) and configured to acquire spectrum value information about the detected light source according to the light source state information; a micro-control unit (MCU) control circuit (14) connected to the light source state detection circuit (12) and configured to convert the spectrum value information into a level signal, wherein the level signal is configured to represent the colour and/or state of the detected light source; and a test circuit (16) connected to the MCU control circuit (14) and configured to detect whether the colour and/or state of the detected light source is normal according to the level signal. The problem of the low efficiency of light source state detection in the related art is solved, and thus, the effects of improving the efficiency of light source state detection and the factory yield of light sources are achieved.

Description

光源状态检测系统及方法Light source state detection system and method 技术领域Technical field
本发明涉及光源检测领域,具体而言,涉及一种光源状态检测系统及方法。The present invention relates to the field of light source detection, and in particular to a light source state detection system and method.
背景技术Background technique
在相关技术中,产品上的指示灯光源颜色及状态检测多数是用人眼检测;在长时间工作的情况下,测试人员会疲劳或注意力不集中,不能对指示灯光源状态进行正确的判断,导致指示灯漏贴、错贴或者焊接不良等故障泄露,影响产品质量和良品率,一旦发现有漏检或在错检测,并且全部产品重新检测,效率极低,不能实现产品的自动化生产。In the related art, the color and state detection of the indicator light source on the product are mostly detected by the human eye; in the case of long working hours, the tester may be fatigued or inattentive, and the state of the indicator light source cannot be correctly judged. The leakage of the indicator light, misplacement or poor soldering will affect the product quality and yield. Once the product is found to be missing or faulty, and all products are re-tested, the efficiency is extremely low and the automatic production of the product cannot be realized.
针对相关技术中光源状态的检测效率低的问题,目前尚未发现有效的解决方法。In view of the low detection efficiency of the light source state in the related art, no effective solution has been found yet.
发明内容Summary of the invention
本发明实施例提供了一种光源状态检测系统及方法,以至少解决相关技术中光源状态的检测效率低的问题。Embodiments of the present invention provide a light source state detection system and method to at least solve the problem of low detection efficiency of a light source state in the related art.
根据本发明的一个实施例,提供了一种光源状态检测系统,包括:导光电路,设置为采集被测光源的光源状态信息,并将所述光源状态信息传送给光源状态检测电路;一路或多路所述光源状态检测电路,与所述导光电路连接,设置为根据所述光源状态信息获取所述被测光源的光谱值信息;微控制单元MCU控制电路,与所述光源状态检测电路连接,设置为将所述光谱值信息转化为电平信号,其中,所述电平信号用于表征所述被测光源的颜色和/或状态;测试电路,与所述MCU控制电路连接,设置为根据所述电平信号检测所述被测光源的颜色和/或状态是否正常。According to an embodiment of the present invention, a light source state detecting system includes: a light guiding circuit configured to collect light source state information of a light source to be measured, and transmit the light source state information to a light source state detecting circuit; The multi-channel light source state detecting circuit is connected to the light guiding circuit, and is configured to acquire spectral value information of the measured light source according to the light source state information; a micro control unit MCU control circuit, and the light source state detecting circuit Connecting, configured to convert the spectral value information into a level signal, wherein the level signal is used to characterize a color and/or state of the measured light source; a test circuit coupled to the MCU control circuit, configured It is detected whether the color and/or state of the light source to be tested is normal according to the level signal.
进一步地,所述MCU控制电路包括:MCU检测电路,设置为将所述光谱值信息转化为对应的电平信号;显示电路,包括显示光源,设置为显示与所述电平信号对应的光状态和/或光颜色。Further, the MCU control circuit includes: an MCU detection circuit configured to convert the spectral value information into a corresponding level signal; the display circuit includes a display light source configured to display a light state corresponding to the level signal And / or light color.
进一步地,所述MCU控制电路还包括:电平隔离转化电路,设置为将所述电平信号进行隔离转化得到指定电平信号,并将所述指定电平信号发送给所述测试电路。Further, the MCU control circuit further includes: a level isolation conversion circuit configured to isolate the level signal to obtain a specified level signal, and send the specified level signal to the test circuit.
进一步地,所述导光电路包括:定位结构,设置为固定所述被测光源,并采集所述被测光源的光源状态信息;防干扰结构,设置为屏蔽除所述被测光源之外其他光源的光信号;一路或多路导光光纤,与一路或多路所述光源状态检测电路一一连接,设置为将所述光源状态信息传送给所述光源状态检测电路。Further, the light guiding circuit includes: a positioning structure, configured to fix the light source to be measured, and collect light source state information of the light source to be measured; and an anti-interference structure, configured to shield the light source other than the measured light source The light signal of the light source; one or more light guiding fibers are connected to one or more of the light source state detecting circuits, and are arranged to transmit the light source state information to the light source state detecting circuit.
进一步地,测试电路还设置为:判断所述电平信号与预设电平信号是否相同;在所述电平信号与预设电平信号相同时,判定所述被测光源的颜色和/或状态正常;在所述电平信号与 预设电平信号不相同时,判定所述被测光源的颜色和/或状态不正常。Further, the test circuit is further configured to: determine whether the level signal is the same as the preset level signal; and when the level signal is the same as the preset level signal, determine the color of the measured light source and/or State is normal; at the level signal When the preset level signals are different, it is determined that the color and/or state of the light source to be tested is abnormal.
进一步地,所述MCU控制电路还包括:多路电压转化电路,与供电电源连接,设置为分别给所述MCU检测电路、所述显示电路、所述电平隔离转化电路进行供电。Further, the MCU control circuit further includes: a multi-channel voltage conversion circuit connected to the power supply, and configured to respectively supply power to the MCU detection circuit, the display circuit, and the level isolation conversion circuit.
进一步地,所述MCU控制电路还包括:控制电路,设置为接收测试控制指令和/或切换控制指令,并依据所述测试控制指令开启一路或多路所述继电器电路;一路或多路继电器电路,与所述一路或多路所述光源状态检测电路和所述控制电路连接,设置为根据所述测试控制指令开启一路或多路所述光源状态检测电路;和/或,一路或多路功率继电器电路,与所述控制电路连接,设置为根据所述切换控制指令关闭一路或多路所述光源状态检测电路。Further, the MCU control circuit further includes: a control circuit configured to receive the test control command and/or the switch control command, and open one or more of the relay circuits according to the test control command; one or more relay circuits And connecting the one or more of the light source state detecting circuit and the control circuit, and configured to turn on one or more of the light source state detecting circuits according to the test control instruction; and/or one or more powers And a relay circuit connected to the control circuit, configured to turn off one or more of the light source state detecting circuits according to the switching control command.
进一步地,所述被测光源的状态包括以下至少之一:熄灭、启辉、闪烁。Further, the state of the light source to be tested includes at least one of the following: extinction, ignition, and flicker.
根据本发明的另一实施例,提供了一种光源状态检测方法,包括:光源状态检测电路接收测试控制指令;所述光源状态检测电路在所述测试控制指令指示的一路或者多路光源状态检测电路上检测对应的一个或者多个被测光源的光源状态,并生成一个或者多个光源状态信息;所述光源状态检测电路将所述一个或者多个光源状态信息发送给测试电路,以检测所述一个或者多个被测光源的光源状态与预设光源状态是否一致。According to another embodiment of the present invention, a light source state detecting method is provided, including: a light source state detecting circuit receives a test control command; and the light source state detecting circuit detects one or more light source states indicated by the test control command Detecting a state of a light source of the corresponding one or more measured light sources on the circuit, and generating one or more light source state information; the light source state detecting circuit transmitting the one or more light source state information to the test circuit to detect the Whether the state of the light source of one or more of the measured light sources is consistent with the state of the preset light source.
进一步地,所述一个或者多个被测光源是通过导光电路传导到所述一路或者多路光源状态检测电路上的。Further, the one or more measured light sources are conducted to the one or more light source state detecting circuits through the light guiding circuit.
进一步地,检测所述一个或者多个被测光源的光源状态与预设光源状态是否一致包括:判断所述一个或者多个光源状态信息与所述被测光源的预设光源状态信息是否一致;在所述一个或者多个光源状态信息与所述被测光源的预设光源状态一致时,判断所述被测光源的光源状态正常,在所述一个或者多个光源状态信息与所述被测光源的预设光源状态不一致时,判断所述被测光源的光源状态不正常。Further, detecting whether the state of the light source of the one or more measured light sources is consistent with the preset light source state comprises: determining whether the one or more light source state information is consistent with the preset light source state information of the measured light source; When the one or more light source state information is consistent with the preset light source state of the measured light source, determining that the light source state of the measured light source is normal, and the one or more light source state information and the measured When the preset light source states of the light source are inconsistent, it is determined that the light source state of the measured light source is abnormal.
在本发明实施例中,还提供了一种计算机存储介质,该计算机存储介质可以存储有执行指令,该执行指令用于执行上述实施例中的光源状态检测方法。In the embodiment of the present invention, a computer storage medium is further provided, and the computer storage medium may store an execution instruction for executing the light source state detection method in the above embodiment.
通过本发明实施例,采用导光电路,设置为采集被测光源的光源状态信息,并将所述光源状态信息传送给光源状态检测电路;一路或多路所述光源状态检测电路,与所述导光电路连接,设置为根据所述光源状态信息获取所述被测光源的光谱值信息;微控制单元MCU控制电路,与所述光源状态检测电路连接,设置为将所述光谱值信息转化为电平信号,其中,所述电平信号用于表征所述被测光源的颜色和/或状态;测试电路,与所述MCU控制电路连接,设置为根据所述电平信号检测所述被测光源的颜色和/或状态是否正常。解决了相关技术中光源状态的检测效率低的问题,进而达到了提高光源状态的检测效率和光源出厂良率的效果。According to an embodiment of the present invention, a light guiding circuit is configured to collect light source state information of the light source to be measured, and transmit the light source state information to the light source state detecting circuit; one or more of the light source state detecting circuits, and the The light guiding circuit is connected to obtain the spectral value information of the measured light source according to the light source state information; the micro control unit MCU control circuit is connected to the light source state detecting circuit, and is configured to convert the spectral value information into a level signal, wherein the level signal is used to characterize a color and/or a state of the light source to be measured; a test circuit coupled to the MCU control circuit, configured to detect the measured value according to the level signal Whether the color and/or status of the light source is normal. The problem of low detection efficiency of the light source state in the related art is solved, and the effect of improving the detection efficiency of the light source state and the yield of the light source is achieved.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中: The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是根据本发明实施例的光源状态检测系统的系统框图;1 is a system block diagram of a light source state detecting system in accordance with an embodiment of the present invention;
图2是根据本发明实施例的光源状态检测系统的可选系统框图;2 is an optional system block diagram of a light source state detecting system in accordance with an embodiment of the present invention;
图3是根据本发明实施例的光源状态检测方法的流程图;3 is a flowchart of a light source state detecting method according to an embodiment of the present invention;
图4是根据本发明可选实施例的测试流程示意图。4 is a schematic diagram of a test flow in accordance with an alternative embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It is to be understood that the terms "first", "second" and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order.
如以下所使用的,术语“电路”、“结构”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的方法较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。As used hereinafter, the terms "circuitry," "structure," may mean a combination of software and/or hardware that performs a predetermined function. Although the methods described in the following embodiments are preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
在本实施例中提供了一种光源状态检测系统,图1是根据本发明实施例的光源状态检测系统的系统框图,如图1所示,包括:导光电路10、一路或多路光源状态检测电路12、微控制单元(Micro Controller Unit,简称为MCU)控制电路14、测试电路16,其中,In this embodiment, a light source state detecting system is provided. FIG. 1 is a system block diagram of a light source state detecting system according to an embodiment of the present invention. As shown in FIG. 1, the light guiding circuit 10 includes one or more light source states. a detection circuit 12, a Micro Controller Unit (MCU) control circuit 14, and a test circuit 16, wherein
导光电路10,设置为采集被测光源的光源状态信息,并将光源状态信息传送给光源状态检测电路;The light guiding circuit 10 is configured to collect light source state information of the light source to be measured, and transmit the light source state information to the light source state detecting circuit;
可选的,在本实施例中,被测光源可以是需要被检测的光源,光源可以是各种指示灯、照明灯。光源状态信息可以包括光源是否启辉、光源是否闪烁、闪速的频率、光源启辉的颜色、光源闪烁时变换的颜色、光照强度等。Optionally, in this embodiment, the light source to be tested may be a light source that needs to be detected, and the light source may be various indicator lights and illumination lamps. The light source state information may include whether the light source is illuminated, whether the light source is blinking, the frequency of the flash, the color of the light source, the color changed when the light source is blinking, the light intensity, and the like.
一路或多路光源状态检测电路12,与导光电路连接,设置为根据光源状态信息获取被测光源的光谱值信息;The one or more light source state detecting circuit 12 is connected to the light guiding circuit and configured to acquire spectral value information of the light source to be tested according to the light source state information;
微控制单元MCU控制电路14,与光源状态检测电路连接,设置为将光谱值信息转化为电平信号,其中,电平信号用于表征被测光源的颜色和/或状态;The micro control unit MCU control circuit 14 is coupled to the light source state detecting circuit and configured to convert the spectral value information into a level signal, wherein the level signal is used to characterize the color and/or state of the measured light source;
测试电路16,与MCU控制电路连接,设置为根据电平信号检测被测光源的颜色和/或状态是否正常。The test circuit 16 is coupled to the MCU control circuit and is configured to detect whether the color and/or state of the light source under test is normal based on the level signal.
通过本实施例,采用导光电路,设置为采集被测光源的光源状态信息,并将光源状态信息传送给光源状态检测电路;一路或多路光源状态检测电路,与导光电路连接,设置为根据光源状态信息获取被测光源的光谱值信息;微控制单元MCU控制电路,与光源状态检测电路连接,设置为将光谱值信息转化为电平信号,其中,电平信号用于表征被测光源的颜色和/或状态;测试电路,与MCU控制电路连接,设置为根据电平信号检测被测光源的颜色和/或状 态是否正常。解决了相关技术中光源状态的检测效率低的问题,进而达到了提高光源状态的检测效率和光源出厂良率的效果。In this embodiment, the light guiding circuit is configured to collect the light source state information of the light source to be measured, and transmit the light source state information to the light source state detecting circuit; the one or more light source state detecting circuit is connected to the light guiding circuit, and is set to Obtaining spectral value information of the measured light source according to the light source state information; the micro control unit MCU control circuit is connected to the light source state detecting circuit, and is configured to convert the spectral value information into a level signal, wherein the level signal is used to represent the measured light source The color and/or state; the test circuit, connected to the MCU control circuit, configured to detect the color and/or shape of the measured light source based on the level signal Whether the state is normal. The problem of low detection efficiency of the light source state in the related art is solved, and the effect of improving the detection efficiency of the light source state and the yield of the light source is achieved.
图2是根据本发明实施例的光源状态检测系统的可选系统框图,如图2所示,图2中n为大于1的整数,可以表示一路或者多路,除了包括图1的电路外,MCU控制电路14包括:2 is an optional system block diagram of a light source state detecting system according to an embodiment of the present invention. As shown in FIG. 2, n is an integer greater than 1, and may represent one or more channels, except for the circuit of FIG. The MCU control circuit 14 includes:
MCU检测电路20,设置为将光谱值信息转化为对应的电平信号;The MCU detection circuit 20 is configured to convert the spectral value information into a corresponding level signal;
显示电路21,包括一个或多个显示光源,用于显示与电平信号对应的光状态和/或光颜色。The display circuit 21 includes one or more display light sources for displaying light states and/or light colors corresponding to the level signals.
电平隔离转化电路22,设置为将电平信号进行隔离转化得到指定电平信号,并将指定电平信号发送给测试电路。The level isolating conversion circuit 22 is configured to isolate the level signal to obtain a specified level signal, and send the specified level signal to the test circuit.
多路电压转化电路23,与供电电源连接,设置为分别给MCU检测电路、显示电路、电平隔离转化电路进行供电。The multi-channel voltage conversion circuit 23 is connected to the power supply and is configured to supply power to the MCU detection circuit, the display circuit, and the level isolation conversion circuit, respectively.
控制电路24,设置为接收测试控制指令和/或切换控制指令,并依据测试控制指令开启一路或多路继电器电路;The control circuit 24 is configured to receive the test control command and/or the switch control command, and open one or more relay circuits according to the test control command;
一路或多路继电器电路25,与一路或多路光源状态检测电路和控制电路连接,设置为根据测试控制指令开启一路或多路光源状态检测电路;One or more relay circuits 25 are connected to one or more light source state detecting circuits and control circuits, and are configured to turn on one or more light source state detecting circuits according to the test control command;
一路或多路功率继电器电路26,与控制电路连接,设置为根据切换控制指令关闭一路或多路光源状态检测电路。The one or more power relay circuits 26 are connected to the control circuit and are arranged to turn off one or more light source state detecting circuits according to the switching control command.
如图2所示。导光电路10包括:定位结构30、防干扰结构31、一路或多路导光光纤32,其中,as shown in picture 2. The light guiding circuit 10 includes: a positioning structure 30, an interference prevention structure 31, and one or more light guiding fibers 32, wherein
定位结构30,设置为固定被测光源,并采集被测光源的光源状态信息;The positioning structure 30 is configured to fix the light source to be measured, and collect source state information of the light source to be tested;
防干扰结构31,设置为屏蔽除被测光源之外其他光源的光信号;The anti-interference structure 31 is configured to shield optical signals of other light sources except the light source to be tested;
一路或多路导光光纤32,与一路或多路光源状态检测电路一一连接,设置为将光源状态信息传送给光源状态检测电路。One or more light guiding optical fibers 32 are connected to one or more light source state detecting circuits, and are arranged to transmit light source state information to the light source state detecting circuit.
如图2所示,测试电路16还包括:控制选择电路40、接收设备41、供电电源42、电脑PC43,其中,As shown in FIG. 2, the test circuit 16 further includes: a control selection circuit 40, a receiving device 41, a power supply 42, and a computer PC43, wherein
控制选择电路40,设置为根据用户操作发送各种测试指令,如,上述测试控制指令、上述切换控制指令等;The control selection circuit 40 is configured to send various test instructions according to a user operation, such as the above test control instruction, the above-mentioned switching control instruction, and the like;
接收设备41,设置为接收电平隔离转化电路22发送的指定电平信号,并将指定电平信号转化为PC可以识别的数字信号。The receiving device 41 is arranged to receive the designated level signal transmitted by the level isolation conversion circuit 22 and convert the specified level signal into a digital signal recognizable by the PC.
供电电源42,设置为提供系统的各路电源,供电电源的电压为V,V1、V2、V3、V4为给各个电路提供的电压,或者,给端口预留的电压,如V2。 The power supply 42 is configured to provide various power sources of the system. The voltage of the power supply is V, V1, V2, V3, and V4 are voltages supplied to the respective circuits, or voltages reserved for the ports, such as V2.
电脑PC43,包括上位机软件,用于给控制选择电路40下发测试指令,以及根据接收设备41发送的数字信号显示上述被测电源的测试结果。The computer PC43 includes a host computer software for issuing a test command to the control selection circuit 40, and displaying the test result of the tested power source according to the digital signal sent by the receiving device 41.
可选的,测试电路16可以通过以下步骤根据电平信号检测被测光源的颜色和/或状态是否正常,包括:Optionally, the test circuit 16 can detect whether the color and/or state of the light source under test is normal according to the level signal by using the following steps, including:
步骤S11,判断电平信号与预设电平信号是否相同;Step S11, determining whether the level signal is the same as the preset level signal;
步骤S12,在电平信号与预设电平信号相同时,判定被测光源的颜色和/或状态正常;在电平信号与预设电平信号不相同时,判定被测光源的颜色和/或状态不正常。Step S12, when the level signal is the same as the preset level signal, determining that the color and/or state of the light source to be tested is normal; when the level signal is different from the preset level signal, determining the color of the light source to be tested and/or Or the status is not normal.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods of various embodiments of the present invention.
在本实施例中还提供了一种光源状态检测方法,用在上述光源状态检测电路中,该方法用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的方法较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In the embodiment, a light source state detecting method is also provided, which is used in the above-mentioned light source state detecting circuit, and the method is used to implement the above-mentioned embodiments and preferred embodiments, which have not been described again. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the methods described in the following embodiments are preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图3是根据本发明实施例的光源状态检测方法的流程图,如图3所示,该方法包括:FIG. 3 is a flowchart of a method for detecting a light source state according to an embodiment of the present invention. As shown in FIG. 3, the method includes:
步骤S301、光源状态检测电路接收测试控制指令;Step S301, the light source state detecting circuit receives the test control instruction;
步骤S302、光源状态检测电路在测试控制指令指示的一路或者多路光源状态检测电路上检测对应的一个或者多个被测光源的光源状态,并生成一个或者多个光源状态信息;Step S302: The light source state detecting circuit detects a light source state of the corresponding one or more measured light sources on one or more light source state detecting circuits indicated by the test control instruction, and generates one or more light source state information;
步骤S303、光源状态检测电路将一个或者多个光源状态信息发送给测试电路,以检测一个或者多个被测光源的光源状态与预设光源状态是否一致。Step S303: The light source state detecting circuit sends one or more light source state information to the test circuit to detect whether the light source state of the one or more measured light sources is consistent with the preset light source state.
在根据本实施例的可选实施方式中,一个或者多个被测光源是通过导光电路传导到一路或者多路光源状态检测电路上的。In an alternative embodiment in accordance with the present embodiment, one or more of the measured light sources are conducted through a light guiding circuit to one or more of the light source state detecting circuits.
在根据本实施例的可选实施方式中,检测一个或者多个被测光源的光源状态与预设光源状态是否一致包括:In an optional implementation manner of this embodiment, detecting whether the state of the light source of the one or more measured light sources is consistent with the preset light source state includes:
步骤S21,判断一个或者多个光源状态信息与被测光源的预设光源状态信息是否一致;Step S21, determining whether the one or more light source state information is consistent with the preset light source state information of the light source to be tested;
步骤S22,在一个或者多个光源状态信息与被测光源的预设光源状态一致时,判断被测光源的光源状态正常,在一个或者多个光源状态信息与被测光源的预设光源状态不一致时,判断被测光源的光源状态不正常。Step S22, when one or more light source state information is consistent with the preset light source state of the light source to be measured, determining that the light source state of the light source to be tested is normal, and the one or more light source state information is inconsistent with the preset light source state of the measured light source. When it is judged, the state of the light source of the light source to be measured is abnormal.
下面结合根据发明的可选实施例进行详细说明: The following is a detailed description in conjunction with an alternative embodiment in accordance with the invention:
本可选实施例提出一个指示灯光源状态自动检测装置,旨在快速准确的判定指示灯光源的颜色状态是否正确,对指示灯漏贴、贴错等有拦劫作用。The optional embodiment proposes an automatic detection device for the light source state of the indicator light, which aims to quickly and accurately determine whether the color state of the indicator light source is correct, and has an effect of smashing the indicator light, posting errors, and the like.
为了达到上述目的,本可选实施例提出了一种不同光源颜色状态自动检测装置,如图2所示,包括:导光电路10、微控制单元(Micro Controller Unit,简称为MCU)控制电路14、光源状态检测电路12。In order to achieve the above object, the present invention provides a device for automatically detecting the color state of different light sources. As shown in FIG. 2, the present invention includes: a light guiding circuit 10, a Micro Controller Unit (MCU) control circuit 14 The light source state detecting circuit 12.
该装置与测试电路16相连,测试电路包括:供电电源、控制选择电路、接收电路、上位机PC。The device is connected to the test circuit 16, and the test circuit comprises: a power supply, a control selection circuit, a receiving circuit, and a host computer PC.
供电电源直接给MCU控制电路供电,可以是适配器转化,亦可以是直流源直接供电;The power supply directly supplies power to the MCU control circuit, which can be an adapter conversion, or can be directly powered by a DC source;
控制及接收部分(控制选择电路、接收电路)可以通过MCU控制电路控制光源状态检测电路,某一路或者多路进行检测,并接收MCU控制电路给出的检测结果。The control and receiving part (control selection circuit, receiving circuit) can control the light source state detecting circuit through the MCU control circuit, detect one or more channels, and receive the detection result given by the MCU control circuit.
PC机为上位机软件给出控制信号并且接收测试结果并显示,光源颜色状态检测只是其一部分,还可以包括其他的测试内容,在此不作限定。The PC gives a control signal to the host computer software and receives the test result and displays it. The color state detection of the light source is only a part thereof, and may also include other test contents, which is not limited herein.
MCU控制电路可以包括以下几个部分:四个电压转换、MCU检测电路、8路继电器控制电路、8路显示电路及电平隔离转化电路、4路功率继电器电路;电压转换电路通过不同阻值的电阻将供电电压转化成给MCU芯片、告警上拉、电平隔离转化、预留供电的电压;MCU检测电路可以包括:主控芯片,下载端子,拨码开关,程序运行显示电路等;8路继电器控制电路由MCU给出的电平信号控制(导通或者断开);8路显示电路由指示灯组成,由MCU检测电路控制;8路电平隔离转化是为了将MCU给出的电平进行转化,起到隔离的作用;4路功率继电器电路可以取代在测试过程开关手动切换,实现自动化测试。The MCU control circuit can include the following parts: four voltage conversion, MCU detection circuit, 8-way relay control circuit, 8-channel display circuit and level-isolated conversion circuit, 4-way power relay circuit; voltage conversion circuit through different resistance values The resistor converts the supply voltage into a voltage for the MCU chip, alarm pull-up, level isolation conversion, and reserved power supply; the MCU detection circuit may include: a main control chip, a download terminal, a dial switch, a program operation display circuit, etc.; The relay control circuit is controlled (turned on or off) by the level signal given by the MCU; the 8-channel display circuit consists of indicator lights, which are controlled by the MCU detection circuit; the 8-way level isolation conversion is to give the level given by the MCU. The conversion is performed to play the role of isolation; the 4-way power relay circuit can replace the manual switching of the switch during the test process to realize the automatic test.
导光电路将被测光源的指示灯处的光源传递到光源状态检测电路,包括:定位结构、导光光纤结构及防干扰结构等。通过该结构指示灯光源以最真实的状态传递到光源状态检测电路,可以提高光源状态检测电路的准确度。The light guiding circuit transmits the light source at the indicator light of the light source to be detected to the light source state detecting circuit, including: a positioning structure, a light guiding fiber structure and an anti-interference structure. Through the structure indicator light source is transmitted to the light source state detecting circuit in the most realistic state, the accuracy of the light source state detecting circuit can be improved.
光源状态检测电路与MCU控制电路中的8路继电器控制电路通过端子及排线相连,由上位机及MCU控制一路或者多路进行检测。The light source state detecting circuit and the 8-way relay control circuit in the MCU control circuit are connected through the terminal and the cable, and the host computer and the MCU control one or more channels for detection.
如图2,为本可选实施例指示灯不同光源状态自动化检测装置的原理框图。该装置包括测试电路16、MCU控制电路14、光源状态检测电路12、导光电路10。FIG. 2 is a schematic block diagram of an automatic detecting device for different light source states of the indicator light according to an alternative embodiment. The device includes a test circuit 16, an MCU control circuit 14, a light source state detecting circuit 12, and a light guiding circuit 10.
测试电路包括四部分:供电电源给该自动化检测装置供电,如MCU控制电路上的4路继电器控制电路,包括但不限于是适配器或者是其余受PC机控制的直流源等;控制选择电路通过MCU控制电路选择光源状态检测电路的一路或者多路进行检测,包括但不限于可以通过PC机控制的仪器;接收设备接收MCU控制电路的电平或者波形,包括但不限于可以通过PC机控制的仪器;PC机通过上位机软件控制、接收并显示测试结果;The test circuit comprises four parts: the power supply supplies power to the automatic detection device, such as four relay control circuits on the MCU control circuit, including but not limited to an adapter or other DC source controlled by the PC; the control selection circuit passes the MCU The control circuit selects one or more paths of the light source state detecting circuit for detection, including but not limited to an instrument that can be controlled by a PC; the receiving device receives the level or waveform of the MCU control circuit, including but not limited to an instrument that can be controlled by a PC. The PC controls, receives and displays the test results through the host computer software;
MCU控制电路包括:一路或多路电压转化电路、上拉电路、一路或多路功率继电器电路、控制电路、MCU检测电路、路显示电路、一路或多路隔离转化电路、一路或多路继电器电路。 其中一路电压转化电路还可以作为其余测试供电预留,电压转化电路还可以给其他电压转化电路及上拉电路供电;电压转化电路给MCU检测电路供电;电压转化电路给电平隔离转化电路供电。上拉电路用于给其余测试做预留。控制电路由一个拨码开关和一个端子组成,可以由上位机接收信号,也可以通过拨码开关控制多路电平的高低;其接收到控制信号之后控制继电器电路的一路或者多路闭合或者关断,或者是给MCU检测电路电平信号。功率继电器电路的其中一路或者多路还可以用作其余测试的预留。MCU检测电路通过端口下载软件,然后检测由控制电路给的电平信号,再给出信号控制继电器电路的闭合。继电器电路接收到MCU检测电路给出的信号之后控制光源状态检测电路一路或者多路工作。The MCU control circuit includes: one or more voltage conversion circuits, pull-up circuits, one or more power relay circuits, control circuits, MCU detection circuits, road display circuits, one or more isolation conversion circuits, one or more relay circuits . One of the voltage conversion circuits can also be reserved as the rest of the test power supply, the voltage conversion circuit can also supply power to other voltage conversion circuits and pull-up circuits; the voltage conversion circuit supplies power to the MCU detection circuit; and the voltage conversion circuit supplies power to the level isolation conversion circuit. The pull-up circuit is used to reserve the rest of the test. The control circuit is composed of a DIP switch and a terminal, which can receive signals from the host computer, and can also control the level of the multi-channel level through the DIP switch; after receiving the control signal, the one or more channels of the control relay circuit are closed or closed. Broken, or the circuit level signal is detected by the MCU. One or more of the power relay circuits can also be used as a reserve for the rest of the test. The MCU detection circuit downloads the software through the port, then detects the level signal given by the control circuit, and then gives the signal control relay circuit closed. The relay circuit controls the light source state detecting circuit to work one way or multiple times after receiving the signal given by the MCU detecting circuit.
光源状态检测电路检测到的光谱值,通过集成电路总线(Inter-integrated Circuit,简称为IIC)通讯接口反馈给MCU检测电路,MCU检测电路通过对比给出电平信号到显示电路,显示电路的灯的状态与被测光源灯的状态一致(灭、亮或者闪烁)。同时,MCU检测电路将电平信号给到电平隔离转化电路,进行电平的隔离转化,然后送给测试电路的接收设备,最后到PC机的上位机软件判定检测的颜色及状态是否与设定的状态一致,给出自动化测试结果。The spectral value detected by the light source state detecting circuit is fed back to the MCU detecting circuit through an integrated circuit (Inter-integrated Circuit, IIC) communication interface, and the MCU detecting circuit compares and gives a level signal to the display circuit to display the circuit light. The state is consistent with the state of the light source being tested (off, on, or flashing). At the same time, the MCU detection circuit sends the level signal to the level-isolated conversion circuit, performs level isolation conversion, and then sends it to the receiving device of the test circuit, and finally determines the color and state of the detection by the PC software of the PC. The states are consistent and the automated test results are given.
导光电路将被测光源指示灯部分的光源传导到光源状态检测电路的检测芯片滤镜处,导光电路包括:定位结构,防干扰结构和导光光纤结构。定位结构能最大程度的接收到光源强度;防干扰结构用于防止外部光源的干扰;导光光纤结构是低光强衰减的传导介质。导光电路的引入使得检测部分可以与光源分开,设计应用更加灵活。The light guiding circuit conducts the light source of the indicator light portion of the measured light source to the detecting chip filter of the light source state detecting circuit, and the light guiding circuit comprises: a positioning structure, an anti-interference structure and a light guiding optical fiber structure. The positioning structure can receive the intensity of the light source to the greatest extent; the anti-interference structure is used to prevent the interference of the external light source; the light guiding fiber structure is a conductive medium with low light intensity attenuation. The introduction of the light guiding circuit allows the detecting portion to be separated from the light source, and the design application is more flexible.
本可选实施例可以发展多路指示灯光源检测,以8路为例进行说明。本可选实施例的工作原理如下:The optional embodiment can develop multi-channel indicator light source detection, and take 8 channels as an example for description. The working principle of this alternative embodiment is as follows:
S1~S8共8路信号由测试电路的上位机控制给出,当S1~S8中一个或者多个被拉低(烧录的程序决定)时,MCU芯片(如Atmega32L-8AU芯片)检测到相应的PORT口为低电平就会将相应PORT口拉高,使得继电器导通,对应路的颜色检测芯片(如TMG39933)开始工作,通过IIC接口将检测到的数值传送给MCU芯片进行比较,然后通过相应PAORT口输出到显示电路及电平转换隔离电路,显示电路中的指示灯状态与被测光源上指示灯状态一致,电平转化电路将得到的电平信号上传给测试电路的接收设备,并通过上位机软件自行进行判定状态是否与要求的状态相符合。A total of 8 signals from S1 to S8 are controlled by the upper computer of the test circuit. When one or more of S1 to S8 are pulled low (determined by the programming procedure), the MCU chip (such as Atmega32L-8AU chip) detects the corresponding. When the PORT port is low, the corresponding PORT port is pulled high, so that the relay is turned on, the corresponding color detection chip (such as TMG39933) starts to work, and the detected value is transmitted to the MCU chip through the IIC interface for comparison, and then Through the corresponding PAORT port output to the display circuit and the level conversion isolation circuit, the state of the indicator light in the display circuit is consistent with the state of the indicator light on the light source under test, and the level conversion circuit uploads the obtained level signal to the receiving device of the test circuit. And through the host computer software to determine whether the state is consistent with the required state.
图4是根据本发明可选实施例的测试流程示意图,如图4所示,包括:FIG. 4 is a schematic diagram of a testing process according to an alternative embodiment of the present invention, as shown in FIG. 4, including:
步骤S401,测试电路的上位机软件下发测试指令;Step S401, the host computer software of the test circuit sends a test command;
步骤S402,MCU控制电路判断是否为低电平,若为低电平,则控制MCU芯片导通对应的继电器电路;Step S402, the MCU control circuit determines whether it is a low level, and if it is a low level, controls the MCU chip to turn on a corresponding relay circuit;
步骤S403,继电器电路导通与之连接的光源状态检测电路;Step S403, the relay circuit turns on the light source state detecting circuit connected thereto;
步骤S404,接受导光电路采集的光源状态信息;Step S404, receiving light source state information collected by the light guiding circuit;
步骤S405,光源状态信息发送给MCU芯片进行电平处理和光源状态分析; Step S405, the light source state information is sent to the MCU chip for level processing and light source state analysis;
步骤S406,显示被测光源的状态和颜色;Step S406, displaying the state and color of the light source to be tested;
步骤S407,将电平信号发送给电平转换隔离电路进行电平隔离转换;Step S407, sending the level signal to the level conversion isolation circuit for level isolation conversion;
步骤S408,发送给测试电路并显示被测光源的测试结构。Step S408, sending to the test circuit and displaying the test structure of the light source to be tested.
以检测产品被测光源的相应位置A/B位置是否分别为红色及绿色指示灯及不同使用情况下的状态是否与要求一致为例进行说明。先设计导光电路,以最大可能传导光源强度及排除外部光线干扰为前提,将产品上指示灯的光源有效的传导到光源状态检测电路。由于被测光源只有两个指示灯光源,为方便描述,这里选定1路和5路工作。上位机发送命令将S1和S5拉低,MCU芯片的对应端口检测到低电平,通过IIC通讯接口将检测到的光的数值从寄存器中读出给MCU芯片,经内部预设程序比较,输出用于表征光源状态的相应电平。若A/B均闪烁,则根据灯的闪烁频率给出一个方波,幅值为3.3V,显示电路1和显示电路跟随闪烁,Out1和Out5为方波,幅值为5V,送入上位机进行判定是否是正确的状态,给出测试结果。The method of detecting whether the corresponding position A/B position of the light source of the product is red and green indicator light and whether the state under different use conditions is consistent with the requirements is described as an example. Firstly, the light guiding circuit is designed to effectively transmit the light source of the indicator light on the product to the light source state detecting circuit on the premise of maximally conducting the intensity of the light source and eliminating external light interference. Since the measured light source has only two indicator light sources, for convenience of description, 1-way and 5-way operation are selected here. The upper computer sends a command to pull S1 and S5 low, the corresponding port of the MCU chip detects a low level, and the value of the detected light is read out from the register to the MCU chip through the IIC communication interface, and is compared by an internal preset program. A corresponding level used to characterize the state of the light source. If A/B is flashing, a square wave is given according to the flashing frequency of the lamp, the amplitude is 3.3V, the display circuit 1 and the display circuit follow the flicker, Out1 and Out5 are square waves, the amplitude is 5V, and are sent to the upper computer. A determination is made as to whether the test is correct and the test result is given.
本可选实施例是在被测光源通过导光电路到达颜色状态检测电路之后,通过测试电路的上位机给出信号控制MCU控制电路使得光源状态检测电路的对应路工作,检测光谱值;通过IIC通讯接口将光谱值传递给MCU控制电路进行运算之后,再进行判定。如检测某一路应该是红灯,且需要亮,则检测到的值需要是红色数值大于其余的数值,然后给出高电平到上位机,才能判定为通过,其余情况均为失败,实现对指示灯光源颜色状态的测试。In the optional embodiment, after the light source to be tested reaches the color state detecting circuit through the light guiding circuit, the signal is controlled by the host computer of the testing circuit to control the MCU control circuit so that the corresponding path of the light source state detecting circuit works, and the spectral value is detected; The communication interface passes the spectral value to the MCU control circuit for calculation, and then performs the determination. If it is detected that a certain road should be red light and needs to be bright, the detected value needs to be red value is greater than the rest of the value, and then the high level is given to the upper computer to determine the pass, and the rest of the cases are failures. Test of the color status of the indicator light source.
本实施例可以通过拨码开关固定实现单路或者多路同时检测,也可以由上位机控制切换不同路数的选择,完全实现指示灯光源颜色状态自动化测试。In this embodiment, the single-channel or multi-channel simultaneous detection can be realized by the DIP switch, and the selection of different ways can be controlled by the upper computer to fully realize the automatic test of the color state of the indicator light source.
以上仅为本实施例使用情况的某一种,并非因此限制本实施例的专利范围,凡是利用本实施例说明书及附图内容所做的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本实施例的专利保护范围内。The above is only one of the use cases of the embodiment, and thus does not limit the scope of patents of the embodiment, and the equivalent structure or equivalent process transformation using the contents of the embodiment and the drawings of the embodiment, or directly or indirectly In other related technical fields, the same is included in the scope of patent protection of the present embodiment.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块分别位于多个处理器中。It should be noted that each of the above modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
本发明的实施例还提供了一种软件,该软件用于执行上述实施例及优选实施方式中描述的技术方案。Embodiments of the present invention also provide a software for performing the technical solutions described in the above embodiments and preferred embodiments.
本发明的实施例还提供了一种存储介质。在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Embodiments of the present invention also provide a storage medium. In this embodiment, the above storage medium may be configured to store program code for performing the following steps:
S1,光源状态检测电路接收测试控制指令;S1, the light source state detecting circuit receives the test control instruction;
S2,光源状态检测电路在测试控制指令指示的一路或者多路光源状态检测电路上检测对应的一个或者多个被测光源的光源状态,并生成一个或者多个光源状态信息;S2. The light source state detecting circuit detects a light source state of the corresponding one or more measured light sources on one or more light source state detecting circuits indicated by the test control instruction, and generates one or more light source state information;
S3,光源状态检测电路将一个或者多个光源状态信息发送给测试电路,以检测一个或者多个被测光源的光源状态与预设光源状态是否一致。 S3. The light source state detecting circuit sends one or more light source state information to the test circuit to detect whether the light source state of the one or more measured light sources is consistent with the preset light source state.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in the embodiment, the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a Random Access Memory (RAM). A variety of media that can store program code, such as a hard disk, a disk, or an optical disk.
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行接收测试控制指令;Optionally, in this embodiment, the processor executes the receiving test control instruction according to the stored program code in the storage medium;
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行在测试控制指令指示的一路或者多路光源状态检测电路上检测对应的一个或者多个被测光源的光源状态,并生成一个或者多个光源状态信息;Optionally, in this embodiment, the processor performs, according to the stored program code in the storage medium, detecting a light source state of the corresponding one or more measured light sources on one or more light source state detecting circuits indicated by the test control instruction. And generating one or more light source status information;
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行将一个或者多个光源状态信息发送给测试电路,以检测一个或者多个被测光源的光源状态与预设光源状态是否一致。Optionally, in this embodiment, the processor sends one or more light source state information to the test circuit according to the stored program code in the storage medium to detect the light source state and preset of the one or more measured light sources. Whether the light source status is consistent.
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。For example, the specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
为了使本发明实施例的描述更加清楚,下面结合优选实施例进行描述和说明。In order to make the description of the embodiments of the present invention more clear, the following description and description are given in conjunction with the preferred embodiments.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
本发明实施例提供的上述技术方案,采用导光电路,设置为采集被测光源的光源状态信息,并将所述光源状态信息传送给光源状态检测电路;一路或多路所述光源状态检测电路,与所述导光电路连接,设置为根据所述光源状态信息获取所述被测光源的光谱值信息;微控制单元MCU控制电路,与所述光源状态检测电路连接,设置为将所述光谱值信息转化为电平信号,其中,所述电平信号用于表征所述被测光源的颜色和/或状态;测试电路,与所述MCU控制电路连接,设置为根据所述电平信号检测所述被测光源的颜色和/或状态是否正常。解决了相关技术中光源状态的检测效率低的问题,进而达到了提高光源状态的检测效率和光源出厂良率的效果。 The above technical solution provided by the embodiment of the present invention uses a light guiding circuit, which is configured to collect light source state information of the light source to be measured, and transmit the light source state information to the light source state detecting circuit; one or more of the light source state detecting circuits And connecting to the light guiding circuit, configured to acquire spectral value information of the light source to be tested according to the light source state information; and a micro control unit MCU control circuit connected to the light source state detecting circuit, configured to set the spectrum The value information is converted into a level signal, wherein the level signal is used to characterize the color and/or state of the measured light source; a test circuit is coupled to the MCU control circuit and configured to detect based on the level signal Whether the color and/or state of the measured light source is normal. The problem of low detection efficiency of the light source state in the related art is solved, and the effect of improving the detection efficiency of the light source state and the yield of the light source is achieved.

Claims (11)

  1. 一种光源状态检测系统,包括:A light source state detection system comprising:
    导光电路,设置为采集被测光源的光源状态信息,并将所述光源状态信息传送给光源状态检测电路;a light guiding circuit configured to collect light source state information of the light source to be measured, and transmit the light source state information to the light source state detecting circuit;
    一路或多路所述光源状态检测电路,与所述导光电路连接,设置为根据所述光源状态信息获取所述被测光源的光谱值信息;One or more of the light source state detecting circuits are connected to the light guiding circuit, and configured to acquire spectral value information of the light source to be measured according to the light source state information;
    微控制单元MCU控制电路,与所述光源状态检测电路连接,设置为将所述光谱值信息转化为电平信号,其中,所述电平信号用于表征所述被测光源的颜色和/或状态;a micro control unit MCU control circuit coupled to the light source state detection circuit, configured to convert the spectral value information into a level signal, wherein the level signal is used to characterize a color of the measured light source and/or status;
    测试电路,与所述MCU控制电路连接,设置为根据所述电平信号检测所述被测光源的颜色和/或状态是否正常。The test circuit is coupled to the MCU control circuit and configured to detect whether the color and/or state of the light source under test is normal based on the level signal.
  2. 根据权利要求1所述的系统,其中,所述MCU控制电路包括:The system of claim 1 wherein said MCU control circuit comprises:
    MCU检测电路,设置为将所述光谱值信息转化为对应的电平信号;An MCU detection circuit configured to convert the spectral value information into a corresponding level signal;
    显示电路,包括显示光源,设置为显示与所述电平信号对应的光状态和/或光颜色。A display circuit, including a display source, is configured to display a light state and/or a light color corresponding to the level signal.
  3. 根据权利要求2所述的系统,其中,所述MCU控制电路还包括:The system of claim 2 wherein said MCU control circuit further comprises:
    电平隔离转化电路,设置为将所述电平信号进行隔离转化得到指定电平信号,并将所述指定电平信号发送给所述测试电路。And a level isolation conversion circuit configured to isolate the level signal to obtain a specified level signal, and send the specified level signal to the test circuit.
  4. 根据权利要求1所述的系统,其中,所述导光电路包括:The system of claim 1 wherein said light guiding circuit comprises:
    定位结构,设置为固定所述被测光源,并采集所述被测光源的光源状态信息;a positioning structure, configured to fix the light source to be measured, and collect source state information of the light source to be tested;
    防干扰结构,设置为屏蔽除所述被测光源之外其他光源的光信号;An anti-interference structure, configured to shield optical signals of other light sources except the light source to be tested;
    一路或多路导光光纤,与一路或多路所述光源状态检测电路一一连接,设置为将所述光源状态信息传送给所述光源状态检测电路。One or more light guiding optical fibers are connected to one or more of the light source state detecting circuits, and are arranged to transmit the light source state information to the light source state detecting circuit.
  5. 根据权利要求1所述的系统,其中,测试电路还设置为:The system of claim 1 wherein the test circuit is further configured to:
    判断所述电平信号与预设电平信号是否相同;Determining whether the level signal is the same as the preset level signal;
    在所述电平信号与预设电平信号相同时,判定所述被测光源的颜色和/或状态正常;在所述电平信号与预设电平信号不相同时,判定所述被测光源的颜色和/或状态不正常。Determining that the color and/or state of the light source to be tested is normal when the level signal is the same as the preset level signal; determining that the measured value is different when the level signal is different from the preset level signal The color and/or status of the light source is not normal.
  6. 根据权利要求3所述的系统,其中,所述MCU控制电路还包括:The system of claim 3 wherein said MCU control circuit further comprises:
    多路电压转化电路,与供电电源连接,设置为分别给所述MCU检测电路、所述显示电路、所述电平隔离转化电路进行供电。The multi-channel voltage conversion circuit is connected to the power supply and is configured to supply power to the MCU detection circuit, the display circuit, and the level isolation conversion circuit, respectively.
  7. 根据权利要求1所述的系统,其中,所述MCU控制电路还包括: The system of claim 1 wherein said MCU control circuit further comprises:
    控制电路,设置为接收测试控制指令和/或切换控制指令,并依据所述测试控制指令开启一路或多路继电器电路;a control circuit configured to receive a test control command and/or a switch control command, and to turn on one or more relay circuits according to the test control command;
    所述一路或多路继电器电路,与所述一路或多路所述光源状态检测电路和所述控制电路连接,设置为根据所述测试控制指令开启一路或多路所述光源状态检测电路;和/或,一路或多路功率继电器电路,与所述控制电路连接,设置为根据所述切换控制指令关闭一路或多路所述光源状态检测电路。The one or more relay circuits are connected to the one or more of the light source state detecting circuits and the control circuit, and configured to turn on one or more of the light source state detecting circuits according to the test control command; and And/or one or more power relay circuits connected to the control circuit, configured to turn off one or more of the light source state detecting circuits according to the switching control command.
  8. 根据权利要求1至权利要求7任意一项所述的系统,其中,所述被测光源的状态包括以下至少之一:熄灭、启辉、闪烁。The system according to any one of claims 1 to 7, wherein the state of the light source to be measured comprises at least one of: extinction, illuminating, flickering.
  9. 一种光源状态检测方法,包括:A method for detecting a state of a light source, comprising:
    光源状态检测电路接收测试控制指令;The light source state detecting circuit receives the test control instruction;
    所述光源状态检测电路在所述测试控制指令指示的一路或者多路光源状态检测电路上检测对应的一个或者多个被测光源的光源状态,并生成一个或者多个光源状态信息;The light source state detecting circuit detects a light source state of the corresponding one or more measured light sources on one or more light source state detecting circuits indicated by the test control instruction, and generates one or more light source state information;
    所述光源状态检测电路将所述一个或者多个光源状态信息发送给测试电路,以检测所述一个或者多个被测光源的光源状态与预设光源状态是否一致。The light source state detecting circuit sends the one or more light source state information to the test circuit to detect whether the light source state of the one or more measured light sources is consistent with the preset light source state.
  10. 根据权利要求9所述的方法,其中,所述一个或者多个被测光源是通过导光电路传导到所述一路或者多路光源状态检测电路上的。The method of claim 9 wherein said one or more sources of light to be measured are conducted through said light guiding circuit to said one or more light source state detecting circuits.
  11. 根据权利要求9所述的方法,其中,检测所述一个或者多个被测光源的光源状态与预设光源状态是否一致包括:The method according to claim 9, wherein detecting whether the state of the light source of the one or more measured light sources is consistent with the preset light source state comprises:
    判断所述一个或者多个光源状态信息与所述被测光源的预设光源状态信息是否一致;Determining whether the one or more light source state information is consistent with the preset light source state information of the measured light source;
    在所述一个或者多个光源状态信息与所述被测光源的预设光源状态一致时,判断所述被测光源的光源状态正常,在所述一个或者多个光源状态信息与所述被测光源的预设光源状态不一致时,判断所述被测光源的光源状态不正常。 When the one or more light source state information is consistent with the preset light source state of the measured light source, determining that the light source state of the measured light source is normal, and the one or more light source state information and the measured When the preset light source states of the light source are inconsistent, it is determined that the light source state of the measured light source is abnormal.
PCT/CN2016/078172 2016-01-07 2016-03-31 Light source state detection system and method WO2017117875A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610013672.5 2016-01-07
CN201610013672.5A CN106950034A (en) 2016-01-07 2016-01-07 Light source state detecting system and method

Publications (1)

Publication Number Publication Date
WO2017117875A1 true WO2017117875A1 (en) 2017-07-13

Family

ID=59273257

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/078172 WO2017117875A1 (en) 2016-01-07 2016-03-31 Light source state detection system and method

Country Status (2)

Country Link
CN (1) CN106950034A (en)
WO (1) WO2017117875A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116735152A (en) * 2023-06-13 2023-09-12 上海博取仪器有限公司 Colorimetric light source identity detection device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107966269A (en) * 2017-11-14 2018-04-27 东莞铭普光磁股份有限公司 A kind of optical module, optical device condition monitoring system
CN108764390A (en) * 2018-04-24 2018-11-06 青岛朗兹环保科技有限公司 The anti-error writing method of RFID tag of air purifier strainer

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101482445A (en) * 2009-02-23 2009-07-15 福建星网锐捷网络有限公司 Test method and apparatus for status indication lamp
CN101571419A (en) * 2009-06-15 2009-11-04 浙江大学 Method adopting image segmentation for automatically testing LED indicator light of automobile instruments
CN101738251A (en) * 2008-11-12 2010-06-16 纬创资通股份有限公司 Automatic test system and method
US7964839B1 (en) * 2010-06-11 2011-06-21 Optomistic Products, Inc. Universal LED testing device
CN102645276A (en) * 2011-02-16 2012-08-22 台湾超微光学股份有限公司 Spectrum sensing equipment, system and method
CN104019901A (en) * 2014-06-16 2014-09-03 哈尔滨工业大学 Automobile meter indicator lamp color detecting method based on dynamic clustering method
CN104897367A (en) * 2015-04-28 2015-09-09 南车株洲电力机车研究所有限公司 Indicating light optical state automatic test method and system
CN105301524A (en) * 2015-11-10 2016-02-03 深圳市共济科技有限公司 Server indicating lamp monitoring system and method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DK163837C (en) * 1987-11-10 1994-09-05 Neltec As DEVICE FOR COLOR CONTROL OF OBJECTS
CN100402993C (en) * 2004-12-15 2008-07-16 亚洲光学股份有限公司 Brightness detection instrument and detection method thereof
CN201436591U (en) * 2009-05-13 2010-04-07 东莞市冠佳电子设备有限公司 A voltage current monitoring system applied to power ageing test
CN201449411U (en) * 2009-07-02 2010-05-05 苏州经贸职业技术学院 Multichannel current sampling circuit
CN102650668A (en) * 2012-05-15 2012-08-29 孙临秋 LED state on-line monitoring method taking optical fiber as transmission medium and device applying same
CN204154883U (en) * 2014-09-11 2015-02-11 东莞理工学院 A kind of LED light tester

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101738251A (en) * 2008-11-12 2010-06-16 纬创资通股份有限公司 Automatic test system and method
CN101482445A (en) * 2009-02-23 2009-07-15 福建星网锐捷网络有限公司 Test method and apparatus for status indication lamp
CN101571419A (en) * 2009-06-15 2009-11-04 浙江大学 Method adopting image segmentation for automatically testing LED indicator light of automobile instruments
US7964839B1 (en) * 2010-06-11 2011-06-21 Optomistic Products, Inc. Universal LED testing device
CN102645276A (en) * 2011-02-16 2012-08-22 台湾超微光学股份有限公司 Spectrum sensing equipment, system and method
CN104019901A (en) * 2014-06-16 2014-09-03 哈尔滨工业大学 Automobile meter indicator lamp color detecting method based on dynamic clustering method
CN104897367A (en) * 2015-04-28 2015-09-09 南车株洲电力机车研究所有限公司 Indicating light optical state automatic test method and system
CN105301524A (en) * 2015-11-10 2016-02-03 深圳市共济科技有限公司 Server indicating lamp monitoring system and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116735152A (en) * 2023-06-13 2023-09-12 上海博取仪器有限公司 Colorimetric light source identity detection device
CN116735152B (en) * 2023-06-13 2024-03-19 上海博取仪器有限公司 Colorimetric light source identity detection device

Also Published As

Publication number Publication date
CN106950034A (en) 2017-07-14

Similar Documents

Publication Publication Date Title
CN204086505U (en) A kind of LED lamp intelligence aging testing system
WO2017117875A1 (en) Light source state detection system and method
CN209181997U (en) A kind of high/low temperature eye figure test device automatically switched for multichannel optical module
CN104865493A (en) CELL panel open-short circuit detection device and method
CN104237603A (en) Pulse voltage detecting device for multiple outlet pressing boards of relay protection
CN107589568B (en) Automatic learning and detecting device and method for LED lamp string
CN110609183A (en) IVI technology-based identification module and automatic test system of complete machine
CN109342867A (en) On-off electric test device
CN106531065B (en) A kind of parallel regulating system of one-to-many gamma curve and method
CN110031186A (en) Projector ray machine test macro and method
CN110609190A (en) Relay protection device outlet checking instrument and method thereof
CN106226034A (en) Automatic test method for various LED indicator lamps of server
CN107765117A (en) A kind of test device and method of optical module self-healing
CN209182420U (en) A kind of multicore cable automatic tester
CN204439108U (en) A kind of multichannel Temperature Humidity Sensor automatic detection device
CN102175920B (en) Medical electrode plate quality identification and display device and method thereof
CN105530511B (en) A kind of test device, test system and its method for remote control reception plate
CN105954688B (en) Lighting detecting device and illumination detection case
CN201266113Y (en) Machine vision chromaticity/color aberration analyzer
CN107102234A (en) Detection device and method for voltage sampling wire harness of battery module
CN203287492U (en) Test board for testing X121 input/output port of numeric control unit
CN206684269U (en) Test board weighs electrifying device automatically
CN104916120B (en) A kind of automated production test system and method for intelligent infrared transmitting equipment
CN220141673U (en) Electrocardiogram recorder testing device
CN109870995A (en) Multi-channel data acquisition status indicator lamp

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16883019

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16883019

Country of ref document: EP

Kind code of ref document: A1