Multi-angle light source control system and method

By designing a multi-angle strobe source control system, using FPGA to develop a PWM control module, adjusting the PWM signal frequency and duty cycle according to the real-time ambient light intensity, solving the problems of uneven light distribution and insufficient response speed, and achieving high-quality imaging and energy efficiency optimization.

CN119997287APending Publication Date: 2025-05-13WUXI ZHONGQI PUSHI TECHNOLOGY CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411911721.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-24
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

When multi-angle light sources are used in industrial vision cameras, the light distribution is uneven, making it difficult to ensure consistent imaging quality. The existing light source control system has insufficient response speed, so it is impossible to quickly adjust the brightness and angle of the light source to adapt to dynamic scenes.

Method used

A multi-angle strobe light source control system is designed, including the main control board, power board, external trigger, external input signal, IO output control, network port and serial port. The PWM control module is developed through FPGA, and the PWM signal frequency and duty cycle are adjusted according to the real-time ambient light intensity to achieve fast response and precise control of the light source.

Benefits of technology

It achieves a more uniform light distribution, improves the imaging quality of industrial vision cameras, can quickly respond to environmental changes, adapt to dynamic scenarios, reduces system energy consumption, and simplifies hardware requirements and wiring complexity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119997287A_ABST
    Figure CN119997287A_ABST
Patent Text Reader

Abstract

The invention discloses a multi-angle light source control system and a multi-angle light source control method. The multi-angle stroboscopic light source control system is composed of a main control board, a power board, an external trigger, an external input signal, an IO output control, a network port and a serial port. A PWM control module is developed based on the FPGA, an adaptive algorithm is introduced, and the PWM signal frequency and duty ratio are adjusted according to the real-time ambient light intensity; designing an intelligent interface detection function, automatically identifying the type of connection equipment and adjusting configuration; formulating a communication protocol between the main control board and the upper computer, and introducing an error detection and correction mechanism to improve the communication reliability; a dynamic control algorithm is designed, and the main control board adjusts light source brightness and working modes in real time according to sensor feedback; designing a power board, and adjusting the brightness of each light source channel according to the output signal of the main control board. By optimizing the multi-angle light source control method, more uniform illumination distribution is realized, and the imaging quality of the short-wave infrared camera is improved. Through integrated design, hardware requirements are reduced, and the overall structure of the system is simplified.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of industrial visual camera light source control, and in particular relates to a multi-angle stroboscopic light source control system and method. Background Art

[0002] When multi-angle light sources are used in industrial vision cameras, the light distribution is often uneven, making it difficult to ensure consistent imaging quality at each angle. Uneven lighting may cause loss of imaging details, affecting subsequent analysis and processing. Existing light source control systems have insufficient response speed when ambient light changes, and are unable to quickly adjust light source brightness and angle. In dynamic scenes, they are unable to adapt to lighting changes in a timely manner, affecting imaging effects.

[0003] The traditional control method has limited brightness adjustment accuracy and cannot meet the high-demand short-wave infrared imaging applications. In situations where detailed observation is required, ideal imaging effects cannot be achieved. Multi-angle light source control systems usually require complex hardware and redundant wiring, which increases the complexity of system design and maintenance. Summary of the invention

[0004] The purpose of this section is to summarize some aspects of embodiments of the present invention and briefly introduce some preferred embodiments. Some simplifications or omissions may be made in this section and the specification abstract and the invention title of this application to avoid blurring the purpose of this section, the specification abstract and the invention title, and such simplifications or omissions cannot be used to limit the scope of the present invention.

[0005] In view of the above or existing problems of multi-angle light source control systems and methods, the present invention is proposed.

[0006] In order to solve the above technical problems, the present invention provides the following technical solutions:

[0007] The embodiment of the present invention provides a multi-angle stroboscopic light source control system, including: the multi-angle stroboscopic light source control system is composed of a main control board, a power board, an external trigger, an external input signal, an IO output control, a network port and a serial port.

[0008] As a preferred solution of the multi-angle stroboscopic light control system of the present invention, wherein: the main control board is directly connected to the power board to output PWM signals and control instructions; the main control board is connected to the external trigger interface to output trigger signals to the camera or PLC, etc.; the main control board is connected to the external input signal interface to receive input signals from sensors or other devices; the main control board is connected to the IO output control module to realize multi-channel control; the main control board communicates with the host computer through the network port and the serial port.

[0009] As a preferred solution of the multi-angle stroboscopic light source control system of the present invention, the power board receives the PWM signal of the main control board, controls the brightness of the LED light source, and outputs the control signal to the light source trigger interface.

[0010] As a preferred solution of the multi-angle stroboscopic light source control system of the present invention, the external trigger interface outputs a trigger signal during automatic operation and starts light source control at the same time.

[0011] As a preferred solution of the multi-angle stroboscopic light control system of the present invention, the external input signal interface receives input from a sensor or an external signal, and the external input signal interface is connected to the main control board and uploaded to the host computer for real-time data processing.

[0012] As a preferred solution of the multi-angle stroboscopic light source control system of the present invention, wherein: the light source trigger receives a signal from the outside or a host computer; the IO output control is used to control the light source; the network port and the serial port are used for data communication with the host computer.

[0013] The embodiment of the present invention provides a multi-angle stroboscopic light source control method, including: developing a PWM control module based on FPGA, adjusting the PWM signal frequency and duty cycle according to the real-time ambient light intensity;

[0014] Design intelligent interface detection function to automatically identify the type of connected device and adjust the configuration;

[0015] Formulate the communication protocol between the main control board and the host computer, and introduce error detection and correction mechanisms to improve the reliability of communication;

[0016] The main control board adjusts the light source brightness and working mode in real time according to sensor feedback;

[0017] Design the power board to adjust the brightness of each light source channel according to the output signal of the main control board.

[0018] As a preferred solution of the multi-angle stroboscopic light source control method of the present invention, the PWM control module developed based on FPGA has reliable and stable operation and rich functions, and adjusts the PWM signal frequency and duty cycle according to the real-time ambient light intensity, including:

[0019] The PWM control module generates a high-resolution PWM signal. The frequency and duty cycle of the PWM signal are set by the user and have an adjustment range from 0 to 255 to meet the brightness requirements of different light sources.

[0020] When the lighting conditions are strong, the PWM control module increases the frequency of the PWM signal to reduce the flickering caused by brightness fluctuations;

[0021] According to the set target brightness and the current ambient light intensity, the PWM control module adjusts the PWM duty cycle in real time to control the actual brightness of the light source.

[0022] As a preferred solution of the multi-angle stroboscopic light source control method of the present invention, the main control board adjusts the light source brightness and working mode in real time according to the feedback from the host computer, including:

[0023] If the ambient light intensity is detected to be low, the main control board will automatically increase the brightness of the light source;

[0024] If the ambient light intensity is detected to be high, the main control board will reduce the brightness of the light source;

[0025] The main control board can automatically switch the working mode of the light source according to sensor feedback and preset scene conditions. The working modes include:

[0026] Energy-saving mode: If the ambient light intensity is high or high-brightness illumination is not required, the system switches to energy-saving mode to reduce the power output of the light source and reduce energy consumption;

[0027] High-brightness mode: If the scene is insufficiently lit or the lighting effect needs to be enhanced, the system will enter high-brightness mode to increase the brightness output of the light source to ensure clear imaging.

[0028] As a preferred solution of the multi-angle light source control method described in the present invention, the power board is designed to adjust the brightness of each light source channel according to the output signal of the main control board, including: determining the brightness requirement of each channel according to the PWM signal decoding of the main control board; adjusting the conduction time of the MOSFET according to the PWM duty cycle, thereby adjusting the current flowing through the light source and controlling the brightness; designing a multi-way switch to select the light source channel to be adjusted according to the control instruction; setting the maximum output current threshold to prevent the light source from being damaged due to overcurrent; designing a finite state machine to switch the state according to the control signal and feedback information of the main control board, and in a specific state, automatically adjusting the PWM duty cycle according to the feedback signal to ensure stable output brightness.

[0029] The beneficial effects of the present invention are as follows: the present invention can achieve more uniform illumination distribution and improve the imaging quality of industrial vision cameras by optimizing the multi-angle light source control method. The use of advanced control algorithms enables the light source to respond quickly to environmental changes, adjust the brightness and angle in real time, and adapt to dynamic scenes. Combined with high-precision PWM regulation and feedback mechanisms, accurate control of the light source brightness is ensured to meet high-demand imaging applications. Through integrated design, hardware requirements and wiring complexity are reduced, the overall structure of the system is simplified, and maintenance costs are reduced. Through intelligent control and dynamic adjustment, the power consumption of the light source is optimized, energy consumption is reduced, and the energy efficiency of the system is improved. The 40 channels of the controller can be independently controlled, and each single channel can be adjusted from 0 to 255, so there are many ways to combine the light sources. It depends on the actual use of the customer. In complex places, one controller can be used to achieve a combined light source. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor. Among them:

[0031] Figure 1 This is a flow chart of a multi-angle stroboscopic light source control method provided by an embodiment of the present invention.

[0032] Figure 2 This is a structural circuit diagram of a multi-angle stroboscopic light source control system provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0033] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the accompanying drawings.

[0034] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.

[0035] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive with other embodiments.

[0036] Example 1

[0037] Reference Figure 1 , is an embodiment of the present invention, which provides a multi-angle stroboscopic light source control method, comprising:

[0038] S1: Develop a PWM control module based on FPGA to adjust the PWM signal frequency and duty cycle according to the real-time ambient light intensity.

[0039] Preferably, the PWM control module generates a high-resolution PWM signal, the frequency and duty cycle of the PWM signal are set by the user, and have an adjustment range from 0 to 255 to meet the brightness requirements of different light sources; when the lighting conditions are strong, the PWM control module increases the frequency of the PWM signal to reduce the flickering caused by brightness fluctuations; according to the set target brightness and the current ambient light intensity, the PWM control module adjusts the PWM duty cycle in real time to control the actual brightness of the light source.

[0040] Furthermore, when the system is started, the target brightness is set to 200 (within the range of 0 to 255), the frequency range is set to 500 Hz to 2 kHz, and the user interface transmits these settings to the PWM control module as a control reference.

[0041] The PWM control module generates a corresponding PWM signal according to the set target brightness. The initial duty cycle is set at 70% and the initial frequency is set at 1kHz.

[0042] The light intensity sensor monitors the current ambient light conditions in real time and feeds back to the PWM control module; based on the real-time light intensity data, if the ambient light intensity increases, the module will automatically increase the frequency of the PWM signal; for example, from 1kHz to 1.5kHz to reduce brightness fluctuations and flickering caused by changes in light.

[0043] At the same time, the PWM control module will adjust the duty cycle according to the set target brightness. If the set target brightness is 200, when the current ambient light is brighter, the system will automatically reduce the duty cycle and reduce the light source brightness to meet the set value.

[0044] The system continuously monitors in real time and checks whether the current output brightness matches the target brightness in each adjustment cycle (e.g. every 50ms). If a deviation is detected, the module will make fine adjustments according to the set adjustment rate.

[0045] For example, if the ambient light suddenly dims, the sensor detects this change and the PWM control module will gradually increase the duty cycle to ensure that the brightness of the light source meets the set 200. The adjustment process is smooth and will not cause obvious brightness flicker.

[0046] When the system detects rapid changes in light intensity, it increases the frequency of the PWM signal to prevent visual flicker. For example, when the ambient light changes dramatically, the module increases the frequency to 2kHz to ensure a smooth transition in brightness output.

[0047] S2: Use adaptive filtering algorithm to dynamically adjust filtering parameters and optimize signal quality based on real-time signal characteristics.

[0048] Preferably, the connection status, device type and current configuration parameters are displayed through LED or LCD. When identification fails or parameters are incompatible, error information is fed back and troubleshooting suggestions are provided. A user-friendly operation interface is provided, allowing users to view and manually adjust configurations. The history of each device connection and parameter adjustment is recorded to facilitate subsequent analysis and optimization.

[0049] Furthermore, the user connects the LED light source (model A) and the temperature and humidity sensor (model B) to the system through the interface. The main control board sends a device identification request through the intelligent interface module. The light source model A returns the device ID and related parameters (such as power, maximum PWM duty cycle), and the temperature and humidity sensor model B also returns its ID and working parameters (such as voltage range, sampling frequency).

[0050] The main control board monitors the device connection status in real time and displays the recognition results on the LCD user interface. Based on the recognition results, the system sets the PWM frequency of the LED light source to 1kHz and the maximum duty cycle to 80%. The sampling frequency of the sensor is set to 2Hz and the data transmission protocol is I2C. When the ambient light intensity changes, the main control board dynamically adjusts the PWM output of the LED based on the feedback from the light intensity sensor to maintain the desired brightness level.

[0051] If an error occurs during device identification, an error message is displayed with troubleshooting suggestions.

[0052] The user views the current configuration through the touch screen interface and manually adjusts parameters when necessary, such as changing the duty cycle of the LED light source.

[0053] S3: Develop a communication protocol between the main control board and the host computer, and introduce an error detection and correction mechanism to improve the reliability of communication.

[0054] Preferably, a simple XOR check or CRC algorithm is used to check the data packet. After receiving the data packet, the main control board sends an ACK packet to the host computer to indicate that the data has been successfully received. If the ACK is not received within a predetermined time, a retransmission mechanism is triggered.

[0055] A timeout mechanism is set. If no valid data or ACK is received within a specific time, the communication is considered to have failed and retransmission is triggered. The lower computer main control board will restart first. If it cannot connect to the upper computer, the main control board will turn off all outputs after a fixed 50ms to protect the light source LED and avoid damage to the LED due to long-term high current operation.

[0056] The main control board receives the data packet and verifies its validity. If the verification fails, the data packet is discarded and no ACK is sent. If the verification succeeds, the request is processed and a response is prepared.

[0057] The host computer receives the response data packet and verifies it: if the verification is successful, the operation is confirmed to be completed; if the verification fails, the error is recorded and retransmission is triggered. If the communication is suddenly interrupted during operation, the host computer main control board will also turn off all light source outputs after a fixed 50ms to protect the LED, avoiding long-term high current operation and causing damage to the LED.

[0058] S4: The host computer adjusts the light source brightness and working mode in real time according to the sensor feedback.

[0059] Preferably, if the ambient light intensity is detected to be low, the brightness of the light source will be automatically increased;

[0060] If the ambient light intensity is detected to be high, the brightness of the light source will be reduced;

[0061] The host computer can automatically switch the working mode of the light source according to sensor feedback and preset scene conditions. The working modes include:

[0062] Energy-saving mode: If the ambient light intensity is high or high-brightness illumination is not required, the system switches to energy-saving mode to reduce the power output of the light source and reduce energy consumption;

[0063] High-brightness mode: If the scene is insufficiently lit or the lighting effect needs to be enhanced, the system will enter high-brightness mode to increase the brightness output of the light source to ensure clear imaging.

[0064] Furthermore, a light intensity threshold is set to distinguish between low light and high light environments. For example, the low light threshold is set to 300 lx and the high light threshold is set to 800 lx.

[0065] Low ambient light intensity (<300lx)

[0066] When the ambient light intensity is detected to be lower than the set threshold, it automatically switches to "high brightness mode".

[0067] In high brightness mode, the host computer sends a control signal to increase the brightness of the light source and sets the PWM duty cycle to 80% (to ensure sufficient lighting).

[0068] The light source emits strong light to ensure that the industrial vision camera can see clearly when imaging.

[0069] Ambient light intensity is high (>800lx)

[0070] When the ambient light intensity is detected to be higher than the set threshold, the main control board switches to "energy saving mode".

[0071] In energy-saving mode, the main control board reduces the power output of the light source and sets the PWM duty cycle to 30% (to reduce energy consumption).

[0072] By reducing brightness, the system does not waste power in well-lit environments while still maintaining good imaging.

[0073] S5: Design the power board to adjust the brightness of each light source channel according to the output signal of the main control board.

[0074] Preferably, the brightness requirement of each channel is determined according to the PWM signal decoding of the main control board; the on-time of the MOSFET is adjusted according to the PWM duty cycle, thereby adjusting the current flowing through the light source and controlling the brightness; a multi-way switch is designed to select the light source channel that needs to be adjusted according to the control instruction; the maximum output current threshold is set to prevent the light source from being damaged due to overcurrent; a finite state machine is designed to switch the state according to the control signal and feedback information of the main control board, and in a specific state, the PWM duty cycle is automatically adjusted according to the feedback signal to ensure stable output brightness.

[0075] Furthermore, the main control board receives the PWM control signal from the host computer and parses the brightness requirements of each channel. With 10-bit resolution, the PWM duty cycle range is 0-1023, indicating 0%-100% brightness.

[0076] Brightness requirement = PWM signal value / 1023*maximum brightness

[0077] According to the decoded PWM duty cycle, the on-time of the MOSFET is adjusted.

[0078] The conduction time of MOSFET determines the current flowing through the light source, and the calculation formula is:

[0079] On time = PWM duty cycle / 100*total cycle

[0080] The total cycle is set to 20ms (50Hz frequency), and brightness control is achieved by adjusting the on-time.

[0081] Use a multi-way switch to select the light source channel that needs to be adjusted. Connect to the MOSFET driver circuit of the corresponding channel through the control signal. Set the maximum output current threshold to prevent the light source from being damaged due to overcurrent.

[0082] Threshold setting:

[0083] The light source current is monitored in real time through the current sensor, and the threshold is set to 2A.

[0084] If the monitored current exceeds the set threshold, the corresponding MOSFET is immediately turned off to stop the current output.

[0085] The FSM switches states according to the control signal and feedback information from the main control board, ensuring that the system automatically adjusts the PWM duty cycle under different conditions.

[0086] State Design:

[0087] State 1: Standby

[0088] Waiting for control instructions.

[0089] State 2: Adjustment state

[0090] The PWM duty cycle is adjusted according to the control command and current feedback.

[0091] State 3: Protection state

[0092] When the current exceeds the threshold, it switches to the protection state and turns off the light source.

[0093] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. A multi-angle stroboscopic light source control system, characterized in that: include: The multi-angle light source control system consists of a main control board, a power board, an external trigger, an external input signal, an IO output control, a network port and a serial port.

2. The multi-angle stroboscopic light source control system according to claim 1, characterized in that: The main control board is directly connected to the power board to output PWM signals and control instructions; the main control board is connected to the external trigger interface to output trigger signals to the camera or PLC, etc.; the main control board is connected to the external input signal interface to receive input signals from sensors or other devices; the main control board is connected to the IO output control module to achieve multi-channel control; the main control board communicates with the host computer through the network port and the serial port.

3. The multi-angle stroboscopic light source control system according to claim 1, characterized in that: The power board receives the PWM signal from the main control board, controls the brightness of the LED light source, and outputs the control signal to the light source trigger interface.

4. The multi-angle stroboscopic light source control system according to claim 1, characterized in that: When working automatically, the external trigger interface outputs a trigger signal and starts the light source control at the same time.

5. The multi-angle stroboscopic light source control system according to claim 1, characterized in that: The external input signal interface receives input from a sensor or an external signal, and the external input signal interface is connected to the main control board and uploaded to the host computer for real-time data processing.

6. The multi-angle stroboscopic light source control system according to claim 1, characterized in that: The light source trigger receives a signal from the outside or a host computer; the IO output control is used to control the light source; the network port and the serial port are used to communicate data with the host computer.

7. A multi-angle stroboscopic light source control method, characterized in that: include: Develop a PWM control module based on FPGA, introduce an adaptive algorithm to adjust the PWM signal frequency and duty cycle according to the real-time ambient light intensity; Design intelligent interface detection function to automatically identify the type of connected device and adjust the configuration; Formulate the communication protocol between the main control board and the host computer, and introduce error detection and correction mechanisms to improve the reliability of communication; Design dynamic control algorithms so that the main control board can adjust the light source brightness and working mode in real time based on sensor feedback; Design the power board to adjust the brightness of each light source channel according to the output signal of the main control board.

8. The multi-angle stroboscopic light source control method according to claim 7, characterized in that: The PWM control module developed based on FPGA is reliable, stable and has rich functions. It adjusts the PWM signal frequency and duty cycle according to the real-time ambient light intensity, including: The PWM control module generates a high-resolution PWM signal. The frequency and duty cycle of the PWM signal are set by the user and have an adjustment range from 0 to 255 to meet the brightness requirements of different light sources. When the lighting conditions are strong, the PWM control module increases the frequency of the PWM signal to reduce the flickering caused by brightness fluctuations; According to the set target brightness and the current ambient light intensity, the PWM control module adjusts the PWM duty cycle in real time to control the actual brightness of the light source.

9. The multi-angle stroboscopic light source control method according to claim 7, characterized in that: The main control board adjusts the light source brightness and working mode in real time according to the feedback from the host computer, including: If the ambient light intensity is detected to be low, the main control board will automatically increase the brightness of the light source; If the ambient light intensity is detected to be high, the main control board will reduce the brightness of the light source; The main control board can automatically switch the working mode of the light source according to sensor feedback and preset scene conditions. The working modes include: Energy-saving mode: If the ambient light intensity is high or high-brightness illumination is not required, the system switches to energy-saving mode to reduce the power output of the light source and reduce energy consumption; High-brightness mode: If the scene is insufficiently lit or the lighting effect needs to be enhanced, the system will enter high-brightness mode to increase the brightness output of the light source to ensure clear imaging.

10. The multi-angle stroboscopic light source control method according to claim 7, characterized in that: The power board is designed to adjust the brightness of each light source channel according to the output signal of the main control board, including: Determine the brightness requirement of each channel according to the PWM signal decoding of the main control board; adjust the on-time of the MOSFET according to the PWM duty cycle, thereby adjusting the current flowing through the light source and controlling the brightness; design a multi-way switch to select the light source channel that needs to be adjusted according to the control instruction; set the maximum output current threshold to prevent the light source from being damaged due to overcurrent; design a finite state machine to switch states according to the control signal and feedback information of the main control board. In a specific state, automatically adjust the PWM duty cycle according to the feedback signal to ensure stable output brightness.

Citation Information

Cited By

  • Lightweight driver fatigue monitoring method and system

    CN120340004A