An LED light source control system
By using the EtherCAT communication protocol and a chip-controlled LED light source driver circuit, the switching between flicker mode and constant-on mode is realized, which solves the problem of eye stimulation caused by high-brightness flicker, meets the needs of machine vision, and protects health.
Patent Information
- Application Number
- CN202411332796.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-24
- Publication Date
- 2025-10-31
- Estimated Expiration
- 2044-09-24
AI Technical Summary
In the existing technology, high-brightness flicker-type light source controllers cause significant eye irritation to workers during the commissioning phase, which can affect their health.
An LED light source control system was designed, which realizes the switching between flicker mode and constant light mode through the EtherCAT communication protocol. The system uses EtherCAT slave chip, ARM chip and FPGA chip to control the LED light source driving circuit, which meets the high brightness and fast response requirements of machine vision applications, while protecting eye health.
It achieves the goal of meeting machine vision requirements in high-brightness strobe mode, reducing eye irritation in constant-brightness mode, protecting the health of workers, and providing flexible operation to meet the real-time requirements of industrial control.
Smart Images

Figure CN118984509B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of semiconductor wafer loader vision, and in particular to an LED light source control system. Background Technology
[0002] In semiconductor die-loading machine vision applications, the brightness and flicker of the light source have a crucial impact on imaging quality and speed.
[0003] High-brightness flicker-type light source controllers can provide high-brightness, fast-response light sources to meet the needs of high-speed equipment operation. However, high-brightness flicker can be quite irritating to the eyes, especially during the commissioning phase, and can adversely affect the eye health of workers. Therefore, it is necessary to design an LED light source controller that can switch between high-brightness flicker and low-brightness constant-on functions. Summary of the Invention
[0004] The purpose of this application is to provide an LED light source control system that, by controlling the switching between the flicker mode and the constant-on mode of the LED light source, not only meets the requirements for high-brightness flicker in machine vision applications, but also effectively protects the eye health of workers.
[0005] To achieve the above objectives, this application provides the following solution:
[0006] This application provides an LED light source control system, which is used to control the switching between the flicker mode and the constant light mode of the LED light source; the LED light source control system includes: a master station device, a control module, a constant light driving circuit and a flicker driving circuit;
[0007] The main station equipment is connected to the control module;
[0008] The control module is connected to the control terminals of the constant-on drive circuit and the strobe drive circuit respectively, and is used to receive control commands sent by the master station equipment, and control the constant-on drive circuit and the strobe drive circuit according to the control commands;
[0009] Both the constant-on drive circuit and the strobe drive circuit are connected to the LED light source; the constant-on drive circuit drives the LED light source under the control of the control module, so that the LED light source works in constant-on mode; the strobe drive circuit is used to drive the LED light source under the control of the control module, so that the LED light source works in strobe mode.
[0010] Furthermore, the control module includes an EtherCAT slave chip, an ARM chip, and an FPGA chip;
[0011] The EtherCAT slave chip is connected to the master device via the EtherCAT bus, and is also connected to the ARM chip;
[0012] The ARM chip is connected to the control terminal of the constant-on drive circuit and also to the FPGA chip;
[0013] The EtherCAT slave chip is used to receive control commands from the master device and send them to the ARM chip;
[0014] When the received control command is a constant-on control command, the ARM chip generates a constant-on drive enable signal and outputs the constant-on drive enable signal to the control terminal of the constant-on drive circuit. When the control command is a strobe control command, it generates a strobe drive enable signal and sends the strobe drive enable signal to the FPGA chip.
[0015] The FPGA chip is connected to the control terminal of the strobe drive circuit. When the FPGA chip receives the strobe drive enable signal, it generates a strobe control signal and outputs the strobe control signal to the control terminal of the strobe drive circuit.
[0016] Furthermore, the constant-on driving circuit includes a first switching transistor, a voltage regulator, a Darlington current-amplifying transistor, and a digital potentiometer. The output terminal of the ARM chip is connected to the base of the first switching transistor as a constant-on light source control signal. The emitter of the first switching transistor is grounded. The collector of the first switching transistor is connected to the frequency compensation pin FCOMP of the voltage regulator through a resistor. The tap A of the digital potentiometer is connected to the reference voltage input pin VREF of the voltage regulator through a resistor. The tap B of the digital potentiometer is grounded through a resistor. The tap W of the digital potentiometer is connected to the non-inverting input IN+ of the voltage regulator. The base control terminal of the Darlington current-amplifying transistor is connected to the output pin VO of the voltage regulator. The collector of the Darlington current-amplifying transistor is connected to the positive terminal of the first power supply. The emitter of the Darlington current-amplifying transistor is connected to the positive terminal of the LED light source through a power resistor.
[0017] Furthermore, the strobe driving circuit includes a second switching transistor; the output terminal of the FPGA chip is connected to the control terminal of the second switching transistor, the output terminal of the second switching transistor is grounded, the input terminal of the second switching transistor is connected to the negative terminal of the LED light source, and the positive terminal of the LED light source is connected to the positive terminal of the second power supply.
[0018] Optionally, the EtherCAT slave chip interacts with the ARM chip via SPI, and the ARM chip interacts with the FPGA chip via serial communication.
[0019] Optionally, the output voltage range of the constant-on drive circuit is 20 to 30V; the output voltage range of the strobe drive circuit is 30V to 48V, and the pulse width range is 1 to 999μs.
[0020] Optionally, the control module further includes a relay, wherein the first stationary contact of the relay is connected to the positive terminal of the LED light source, the second stationary contact of the relay is connected to the negative terminal of the LED light source, the first normally open moving contact of the relay is connected to the positive terminal of the normally lit driving circuit, the second normally open moving contact of the relay is connected to the negative terminal of the normally lit driving circuit, the first normally closed moving contact of the relay is connected to the positive terminal of the strobe driving circuit, the second normally closed moving contact of the relay is connected to the negative terminal of the strobe driving circuit, and the control terminal of the relay is connected to the ARM chip.
[0021] According to the specific embodiments provided in this application, the following technical effects are disclosed:
[0022] This application provides an LED light source control system with EtherCAT control, strobe function, and constant-on function switching. The system achieves efficient and stable data transmission through the EtherCAT communication protocol, meeting real-time requirements. Simultaneously, the strobe mode implemented by the EtherCAT slave chip controlling the strobe drive circuit via an ARM chip meets the high brightness and fast response requirements of machine vision applications. The constant-on mode, implemented by the EtherCAT slave chip directly controlling the constant-on drive circuit, effectively eliminates the eye strain caused by high-brightness flicker during debugging. The strobe and constant-on function switching not only meets the high-brightness flicker requirements of machine vision applications but also effectively protects the eye health of workers, demonstrating high practical value and application prospects. Attached Figure Description
[0023] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0024] Figure 1 This is a schematic diagram of the LED light source control system of Embodiment 1 of this application;
[0025] Figure 2 This is a circuit diagram of the constant-on drive circuit in the LED light source control system of Embodiment 1 of this application;
[0026] Figure 3 This is a circuit diagram of the digital potentiometer in the constant-on drive circuit of Embodiment 1 of this application;
[0027] Figure 4 This is a circuit diagram of the flicker drive circuit in the LED light source control system of Embodiment 1 of this application;
[0028] Figure 5 This is a hardware mutual exclusion circuit diagram for the flickering and constant-on functions of Embodiment 1 of this application. Detailed Implementation
[0029] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0030] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0031] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0032] This application provides an LED light source control system, which is used to control the switching between flicker mode and constant light mode of LED light source; the LED light source control system includes: a master station device, a control module, a constant light drive circuit and a flicker drive circuit.
[0033] The master station equipment is connected to the control module.
[0034] The control module is connected to the control terminals of the constant-on drive circuit and the strobe drive circuit respectively, and is used to receive control commands sent by the master station equipment, and control the constant-on drive circuit and the strobe drive circuit according to the control commands.
[0035] Both the constant-on drive circuit and the strobe drive circuit are connected to the LED light source. The constant-on drive circuit drives the LED light source under the control of the control module, so that the LED light source works in constant-on mode. The strobe drive circuit is used to drive the LED light source under the control of the control module, so that the LED light source works in strobe mode.
[0036] Furthermore, the control module includes an EtherCAT slave chip, an ARM chip, and an FPGA chip.
[0037] like Figure 1 As shown, the EtherCAT slave chip is an EtherCAT control chip AX5810, which is connected to the master station device via an EtherCAT bus; it is also connected to the ARM chip.
[0038] The ARM chip is a 32-bit ARM processor STM32F103VCT6, which is connected to the control terminal of the constant-on drive circuit and also to the FPGA chip.
[0039] The EtherCAT slave chip is used to receive control commands from the master device and send them to the ARM chip;
[0040] When the received control command is a constant-on control command, the ARM chip generates a constant-on drive enable signal and outputs the constant-on drive enable signal to the control terminal of the constant-on drive circuit. When the control command is a strobe control command, it generates a strobe drive enable signal and sends the strobe drive enable signal to the FPGA chip.
[0041] The FPGA chip is an FPGA chip connected to the control terminal of the strobe drive circuit. When the FPGA chip receives the strobe drive enable signal, it generates a strobe control signal and outputs the strobe control signal to the control terminal of the strobe circuit.
[0042] Optionally, the output voltage of the constant-on drive circuit is designed to be digitally adjustable from 20 to 30V; the output pulse width and voltage of the strobe drive current are both digitally adjustable, with the voltage adjustable from 30V to 48V and the pulse width adjustable from 1 to 999μs.
[0043] Optionally, the AX58100 chip and the STM32F103VCT6 communicate via SPI. The STM32F103VCT6 uses a 12-bit DA converter chip and a current-boosting driver circuit to control the constantly lit LED light source. The STM32F103VCT6 and the FPGA mainly communicate via serial port, primarily for setting parameters for the strobe driver circuit.
[0044] Furthermore, the constantly lit driving circuit includes a first switching transistor, a voltage regulator, a Darlington current amplifier, and a digital potentiometer. For example... Figure 2 and Figure 3 As shown, the first switching transistor is an 8050S transistor, the voltage regulator is an LM723CN, the Darlington current amplifier is an MJD112, and the digital potentiometer is an MCP4261. The output of the STM32F103VCT6 ARM chip is connected to the base of the transistor, the emitter of the transistor is grounded, the collector of the transistor is connected to the FCOMP pin of the voltage regulator, the VREF pin of the voltage regulator is connected in series with a resistor and then connected to the P0A pin of the digital potentiometer, the P0B pin of the digital potentiometer is connected in series with a resistor and then grounded, the P0W pin of the digital potentiometer is connected to the IN+ pin of the voltage regulator, the base of the Darlington current amplifier is connected to the VO pin of the voltage regulator, the collector of the Darlington current amplifier is connected to the positive terminal of the 36V first power supply, and the emitter of the Darlington current amplifier is connected to the positive terminal of the LED light source. Specifically, the constant-on drive enable signal TR0 controls the transistor to turn on, enabling the LED light source to operate in constant-on mode, and controls the transistor to turn off, turning off the constant-on mode of the LED light source. The brightness of the light source in constant-on mode is adjusted by changing the resistance value through adjusting the position of the P0W terminal.
[0045] The strobe drive circuit includes a second switching transistor, such as... Figure 4 As shown, the second switching transistor is an N-channel MOSFET IRF3205. The output terminal of the FPGA chip is connected to the gate of the N-channel MOSFET IRF3205, the drain of the N-channel MOSFET IRF3205 is grounded, the source of the N-channel MOSFET IRF3205 is connected to the negative terminal of the LED light source, and the positive terminal of the LED light source is connected to the positive terminal of the 48V second power supply.
[0046] Optionally, the strobe drive enable signal is amplified by channel A of the MC34152DG and then used to drive the LED to flash via the N-channel MOSFET IRF3205. Specifically, the strobe drive enable signal is input to the A_IN pin of the dual non-inverting high-speed driver MC34152DG and output from the A_OUT pin of the driver MC34152DG to the gate of the N-channel MOSFET.
[0047] The working principle of this application is as follows:
[0048] When machine vision imaging is required, the master station sends a strobe control command to the EtherCAT chip in the control module via the EtherCAT communication interface. Upon receiving the strobe control command, the EtherCAT chip sends it to the STM32F103VCT6 ARM chip. The STM32F103VCT6, upon receiving the strobe control command, generates a strobe drive enable signal and sends it to the FPGA chip. Upon receiving the strobe drive enable signal, the FPGA chip generates a strobe control signal and outputs it to the control terminal of the strobe circuit, driving the LED light source to perform high-brightness strobe operation to meet the camera's shooting requirements.
[0049] During the debugging phase, to reduce eye strain for workers, the main station equipment can send a constant-on control command to the control module via the EtherCAT communication interface. Upon receiving the flicker control command, the EtherCAT chip sends it to the STM32F103VCT6 ARM chip. The STM32F103VCT6, upon receiving the constant-on control command, generates a constant-on drive enable signal and outputs it to the control terminal of the constant-on drive circuit, switching the operating mode to constant-on mode and driving the LED light source to operate at low brightness with constant illumination. Simultaneously, if... Figure 5 As shown, the ARM chip also implements mutual exclusion protection between the constant-on drive circuit and the strobe drive circuit through a Relay-DPDT relay. Specifically, the first stationary contact of the relay is connected to the positive terminal LED0+ of the LED light source, the second stationary contact of the relay is connected to the negative terminal LED0- of the LED light source, the first normally open moving contact of the relay is connected to the positive terminal LED0A+ of the constant-on drive circuit, the second normally open moving contact of the relay is connected to the negative terminal LED0A- of the constant-on drive circuit, the first normally closed moving contact of the relay is connected to the positive terminal LED0B+ of the strobe drive circuit, the second normally closed moving contact of the relay is connected to the negative terminal LED0B- of the strobe drive circuit, and the control terminal of the relay is connected to the LED0_Ctrl_Tri of the ARM chip.
[0050] In summary, this application relates to the field of semiconductor wafer mounting machine vision and discloses an LED light source control system to solve the problems of high-brightness flicker-type light source controllers in the prior art, which cause significant eye stimulation during the debugging phase and adversely affect the eye health of workers. Compared with the prior art, this LED light source control system adopts the EtherCAT communication protocol, which makes data transmission efficient and stable, meeting the real-time requirements of the industrial control field. The flicker mode can meet the high brightness and fast response requirements of the light source in machine vision applications. The constant-on mode can effectively eliminate the eye stimulation of workers during debugging caused by high-brightness flicker, protecting the eye health of workers. At the same time, the flicker mode and the constant-on mode can automatically switch the working mode according to preset conditions or be manually switched by external commands, making the operation flexible and convenient.
[0051] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0052] This document uses specific examples to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the methods and core ideas of this application. Furthermore, those skilled in the art will recognize that, based on the ideas of this application, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. An LED light source control system, characterized in that, The LED light source control system is used to control the switching between the flicker mode and the constant light mode of the LED light source; the LED light source control system includes: a main station device, a control module, a constant light drive circuit and a flicker drive circuit; The main station equipment is connected to the control module; The control module is connected to the control terminals of the constant-on drive circuit and the strobe drive circuit respectively, and is used to receive control commands sent by the master station equipment, and control the constant-on drive circuit and the strobe drive circuit according to the control commands; Both the constant-on drive circuit and the strobe drive circuit are connected to the LED light source; the constant-on drive circuit drives the LED light source under the control of the control module, so that the LED light source works in constant-on mode; the strobe drive circuit is used to drive the LED light source under the control of the control module, so that the LED light source works in strobe mode. The control module includes an EtherCAT slave chip, an ARM chip, and an FPGA chip. The EtherCAT slave chip is connected to the master device via an EtherCAT bus and also to the ARM chip. The ARM chip is connected to the control terminal of the constant-on drive circuit and also to the FPGA chip. The EtherCAT slave chip receives control commands from the master device and sends them to the ARM chip. When the received control command is a constant-on control command, the ARM chip generates a constant-on drive enable signal and outputs it to the control terminal of the constant-on drive circuit. When the received control command is a strobe control command, the ARM chip generates a strobe drive enable signal and sends it to the FPGA chip. The FPGA chip is connected to the control terminal of the strobe drive circuit. When the received strobe drive enable signal, the FPGA chip generates a strobe control signal and outputs it to the control terminal of the strobe drive circuit. The ARM chip also uses relays to achieve mutual exclusion protection between the constant-on drive circuit and the strobe drive circuit. Specifically, the first stationary contact of the relay is connected to the positive terminal of the LED light source, the second stationary contact of the relay is connected to the negative terminal of the LED light source, the first normally open moving contact of the relay is connected to the positive terminal of the constant-on drive circuit, the second normally open moving contact of the relay is connected to the negative terminal of the constant-on drive circuit, the first normally closed moving contact of the relay is connected to the positive terminal of the strobe drive circuit, the second normally closed moving contact of the relay is connected to the negative terminal of the strobe drive circuit, and the control terminal of the relay is connected to the ARM chip.
2. The LED light source control system according to claim 1, characterized in that, The constant-on driving circuit includes a first switching transistor, a voltage regulator, a Darlington current-amplifying transistor, and a digital potentiometer. The output terminal of the ARM chip is connected to the base of the first switching transistor as a constant-on light source control signal. The emitter of the first switching transistor is grounded. The collector of the first switching transistor is connected to the frequency compensation pin FCOMP of the voltage regulator through a resistor. The tap A of the digital potentiometer is connected to the reference voltage input pin VREF of the voltage regulator through a resistor. The tap B of the digital potentiometer is grounded through a resistor. The tap W of the digital potentiometer is connected to the non-inverting input IN+ of the voltage regulator. The base control terminal of the Darlington current-amplifying transistor is connected to the output pin VO of the voltage regulator. The collector of the Darlington current-amplifying transistor is connected to the positive terminal of the first power supply. The emitter of the Darlington current-amplifying transistor is connected to the positive terminal of the LED light source through a power resistor.
3. The LED light source control system according to claim 1, characterized in that, The strobe driving circuit includes a second switching transistor; the output terminal of the FPGA chip is connected to the control terminal of the second switching transistor, the output terminal of the second switching transistor is grounded, the input terminal of the second switching transistor is connected to the negative terminal of the LED light source, and the positive terminal of the LED light source is connected to the positive terminal of the second power supply.
4. The LED light source control system according to claim 1, characterized in that, The EtherCAT slave chip interacts with the ARM chip via SPI, and the ARM chip interacts with the FPGA chip via serial communication.
5. The LED light source control system according to claim 1, characterized in that, The output voltage range of the constant-on drive circuit is 20–30V; the output voltage range of the strobe drive circuit is 30V–48V, and the pulse width range is 1–999μs.
Citation Information
Patent Citations
LED light source system
CN110662329A