A device signal indicator light color testing system

By combining optical fiber and color sensor with a microcontroller, the system solves the problems of efficiency and accuracy in the automated testing of equipment signal indicator lights, and realizes efficient, economical and environmentally applicable automated testing of multiple signal indicator lights.

CN122149642APending Publication Date: 2026-06-05SHANGHAI RAILWAY COMM

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHANGHAI RAILWAY COMM
Filing Date
2024-12-05
Publication Date
2026-06-05

AI Technical Summary

Technical Problem

Existing automated testing methods for device signal indicator lights are time-consuming, labor-intensive, and prone to errors. Furthermore, image recognition methods are not effective in large-scale testing and have limited applicability.

Method used

Optical fiber is used to guide the light signal of the signal indicator to the color sensor. The microcontroller analyzes the spectral digital signal and performs color encoding comparison by combining RGB and HSV algorithms. Multi-channel testing is achieved by using optical fiber multi-channel probes and fixture positioning devices.

Benefits of technology

It improves the accuracy and applicability of equipment signal indicator detection, reduces testing costs, and achieves efficient automation of multi-channel testing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122149642A_ABST
    Figure CN122149642A_ABST
Patent Text Reader

Abstract

The present application relates to a kind of equipment signal indicator light color test system, comprising: light guide fiber, the probe end of the light guide fiber is aligned with the signal indicator light of the equipment to be detected, and the other end of the light guide fiber is connected to color sensor;Color sensor is used to convert the color light signal transmitted by light guide fiber into spectral digital signal;Microcontroller is used to control the on-off of the signal indicator light of the equipment to be detected, and the spectral digital signal obtained from color sensor is parsed into color coding information;PC end is connected with the microcontroller, used to issue signal indicator light on-off control instruction to the microcontroller, and the color coding information parsed by the microcontroller and the pre-input color information coding are compared and the comparison result is output;Power supply is used to power the system.Compared with the prior art, the present application has the advantages of strong environmental applicability, high test accuracy, simple structure and high economic practicality.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of automated equipment testing, and in particular to a system for testing the color of equipment signal indicator lights. Background Technology

[0002] In the field of electronic design and manufacturing, various indicator lights exist to visually reflect the working status or operating condition of equipment. With the increasing level of intelligent manufacturing in the industry, the need for recognizing the colors and states of these indicator lights is becoming increasingly strong during automated product testing.

[0003] Currently, conventional indicator light recognition methods have the following drawbacks in automated product testing:

[0004] 1) Manual observation method: time-consuming, labor-intensive, and prone to errors;

[0005] 2) Image recognition method, which uses a camera and customized software to process graphic images: It is expensive and suitable for small-scale planar detection; when the range is larger than a certain size, it is easy to become blurred due to zoom, making it difficult to recognize, and it requires a vertical state, which has many limitations. Summary of the Invention

[0006] The purpose of this invention is to overcome the shortcomings of the existing technology and provide a device signal indicator color testing system that is highly adaptable to the environment, has high testing accuracy, simple structure, and is economical and practical.

[0007] The objective of this invention can be achieved through the following technical solutions:

[0008] A device signal indicator color testing system, comprising:

[0009] An optical fiber is used, with its probe end aligned with the signal indicator light of the device under test, and the other end connected to a color sensor.

[0010] A color sensor is used to convert color light signals transmitted through optical fibers into spectral digital signals.

[0011] The microcontroller is used to control the on / off state of the signal indicator lights of the device to be tested, and to parse the spectral digital signals obtained from the color sensor into color-coded information;

[0012] On the PC, connected to the microcontroller, it is used to send signal indicator light on / off control commands to the microcontroller, and to compare the obtained color code information parsed by the microcontroller with the pre-input color information code and output the comparison result.

[0013] Power supply, used to supply power to the system.

[0014] Preferably, the probe end of the optical fiber is equipped with multiple probes.

[0015] Preferably, the multi-channel probe is fixed at the corresponding position of the multi-channel signal indicator light of the device to be tested by a fixture positioning device.

[0016] Preferably, the probe end of the optical fiber is a funnel structure that is sleeved and fixed on the signal indicator light.

[0017] Preferably, the color sensor is provided with a register for temporarily storing spectral digital signals and a communication interface for communicating with the microcontroller to transmit spectral digital signals.

[0018] Preferably, the microcontroller controls the on / off state of the signal indicator lights of the device under test through an on / off control circuit. The on / off control circuit is equipped with an I / O control unit, which controls the on / off state of the signal indicator lights according to the switching signals sent from the PC to the microcontroller.

[0019] Preferably, the on / off control circuit is equipped with a control relay.

[0020] Preferably, the microcontroller uses a color recognition algorithm to analyze the spectral digital signal.

[0021] Preferably, the color recognition algorithm includes the RGB algorithm and the HSV algorithm.

[0022] Preferably, the power supply is equipped with multiple voltage conversion modules.

[0023] Compared with the prior art, the present invention has the following beneficial effects:

[0024] (1) The present invention realizes a soft connection between the indicator light of the signal under test and the system through optical fiber, which can detect various complex areas and has a wider range of applications.

[0025] (2) The light emitted by the signal indicator light is guided to the color sensor through the optical fiber. The color sensor converts the light signal into a spectral digital signal. Then, through spectral analysis and comparison, the color of the signal indicator light under test can be measured. Compared with the image recognition method, the entire transmission path is relatively closed, less affected by the environment, and the test accuracy is higher.

[0026] (3) Multiple probes are set at the probe end of the optical fiber. Multiple optical fibers are simultaneously connected to the receiving end of the same color recognition sensor for step-by-step identification. The color test is carried out by turning the signal indicator lights on and off in sequence through the microcontroller. Only one color sensor is needed to achieve multi-channel testing, which improves the system utilization.

[0027] (4) The multi-channel probe is fixed at the corresponding position of the multi-channel signal indicator light of the device to be tested by the fixture positioning device, which can achieve rapid positioning.

[0028] (5) The probe end of the optical fiber adopts a funnel structure that is fixed on the signal indicator light, which makes the light source more concentrated, avoids the influence of strong light environment on the accuracy of indicator light color test, and has stronger environmental applicability.

[0029] (6) The RGB and HSV algorithms are used to perform color analysis on the spectral digital signals, taking into account both accuracy and efficiency requirements. Attached Figure Description

[0030] Figure 1 This is a schematic diagram of the system architecture of the present invention. Detailed Implementation

[0031] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0032] Example

[0033] like Figure 1 As shown, this embodiment provides a device signal indicator light color testing system, including:

[0034] An optical fiber is used, with the probe end of the optical fiber aligned with the signal indicator light of the device under test, and the other end of the optical fiber connected to a color sensor.

[0035] A color sensor is used to convert color light signals transmitted through optical fibers into spectral digital signals.

[0036] The microcontroller is used to control the on / off state of the signal indicator lights of the device to be tested, and to parse the spectral digital signals obtained from the color sensor into color-coded information;

[0037] On the PC side, it connects to the microcontroller and is used to send signal indicator light on / off control commands to the microcontroller, as well as to compare the color code information parsed by the microcontroller with the pre-input color information code and output the comparison result.

[0038] Power supply, used to supply power to the system.

[0039] Next, we will provide a detailed description of each part of the system in this embodiment.

[0040] (1) Optical fiber

[0041] In this embodiment, the optical fiber is selected from quartz optical fiber.

[0042] In this embodiment, the probe end of the optical fiber is equipped with multiple probes. The multiple probes are fixed at the corresponding positions of the multiple signal indicator lights of the device under test by a fixture positioning device. Multiple optical fibers are simultaneously connected to the receiving end of the same color recognition sensor for step-by-step identification. The signal indicator lights are turned on and off sequentially by the microcontroller to perform color testing. Only one color sensor is needed to achieve multi-channel testing, which improves the system utilization.

[0043] In another preferred embodiment, the probe end of the optical fiber adopts a funnel structure that is sleeved and fixed on the signal indicator light, which makes the light source more concentrated, avoids the influence of strong light environment on the accuracy of indicator light color measurement, and has stronger environmental adaptability. Alternatively, a light guide block is set at the probe end of the optical fiber to act as a light focusing device. The light guide block is concave and corresponds to the shape of the signal indicator light. In addition, a lens is also set between the light guide block and the probe end to focus the color light signal.

[0044] (2) Color sensor

[0045] In this embodiment, a register for temporarily storing spectral digital signals and a communication interface for communicating with the microcontroller to transmit spectral digital signals are provided.

[0046] (3) Microcontroller

[0047] The microcontroller controls the on / off state of the signal indicator lights of the device under test through an on / off control circuit. The on / off control circuit is equipped with an IO control unit, which controls the on / off state of the signal indicator lights according to the switch signals sent from the PC to the microcontroller. The on / off control circuit is equipped with a control relay.

[0048] The microcontroller uses color recognition algorithms to analyze spectral digital signals. These color recognition algorithms include RGB and HSV algorithms.

[0049] (4) Power supply

[0050] In this embodiment, the power supply is a 48V power supply, which is equipped with a DC power input interface, multiple voltage conversion modules and a fuse. The multiple voltage conversion modules are set according to the actual power supply requirements.

[0051] In this embodiment, the lighting and color of the device's 8 signal indicator lights are tested. The testing process includes:

[0052] 1) Align the 1-to-8 optical fiber with the 8-channel signal indicator lights;

[0053] 2) Power on and initialize;

[0054] 3) Set the relays to open and close in sequence to control the opening and closing of each signal indicator light;

[0055] 4) The color sensor receives the color light signal, converts it into a spectral digital signal, and transmits it to the microcontroller. The microcontroller parses the spectral digital signal into color encoding information and sends it to the PC. The PC compares the color encoding information parsed by the microcontroller with the pre-input color information encoding. If they match, the test is successful. After the matching is complete, the next channel is started, and the test is completed until all channels have finished operating.

[0056] The color codes use numerical codes such as 1-yellow, 2-red, 3-green, etc. The logic varies for different products and can be customized.

[0057] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A device signal indicator color testing system, characterized in that, include: An optical fiber is used, with its probe end aligned with the signal indicator light of the device under test, and the other end connected to a color sensor. Color sensors are used to convert color light signals transmitted through optical fibers into spectral digital signals. The microcontroller is used to control the on / off state of the signal indicator lights of the device to be tested, and to parse the spectral digital signals obtained from the color sensor into color-coded information; On the PC, connected to the microcontroller, it is used to send signal indicator light on / off control commands to the microcontroller, and to compare the obtained color code information parsed by the microcontroller with the pre-input color information code and output the comparison result. Power supply, used to supply power to the system.

2. The device signal indicator color testing system according to claim 1, characterized in that, The probe end of the optical fiber is equipped with multiple probes.

3. The device signal indicator color testing system according to claim 2, characterized in that, The multi-channel probe is fixed at the corresponding position of the multi-channel signal indicator light of the device under test by a fixture positioning device.

4. The device signal indicator color testing system according to claim 1, characterized in that, The probe end of the optical fiber is a funnel structure that is fitted and fixed on the signal indicator light.

5. The device signal indicator light color testing system according to claim 1, characterized in that, The color sensor is equipped with a register for temporarily storing spectral digital signals and a communication interface for communicating with the microcontroller to transmit spectral digital signals.

6. The device signal indicator color testing system according to claim 1, characterized in that, The microcontroller controls the on / off state of the signal indicator lights of the device under test through an on / off control circuit. The on / off control circuit is equipped with an I / O control unit, which controls the on / off state of the signal indicator lights according to the switching signals sent from the PC to the microcontroller.

7. The device signal indicator color testing system according to claim 6, characterized in that, The on / off control circuit is equipped with a control relay.

8. The device signal indicator color testing system according to claim 1, characterized in that, The microcontroller uses a color recognition algorithm to analyze the spectral digital signal.

9. A device signal indicator color testing system according to claim 8, characterized in that, The color recognition algorithm includes the RGB algorithm and the HSV algorithm.

10. A device signal indicator color testing system according to claim 1, characterized in that, The power supply is equipped with multiple voltage conversion modules.