loading

We are a leading manufacturer of solar power utilization and lighting systems

Digital LED light controller design

In modern automated production process, machine vision system is widely used in condition monitoring, inspection and quality control, etc. Machine vision system is mainly composed of lighting system, camera, video camera, image acquisition card and the image processing system, by the light source, lens and CCD imaging device matching image acquisition and processing system for product inspection, identification, etc. , this technique can greatly reduce the burden of artificial visual inspection product quality, to effectively improve the efficiency of detection, and is conducive to the production management. Lighting system is an important part of machine vision system, is the key of collecting image quality and application effect, and the light controller is the core of the lighting system, its main function is to provide the different lighting levels for specific applications and lighting system, thus improve the quality of the lighting source, to obtain high quality images. Is the current domestic manufacturers of light controller is manual regulation or adjusted by RS232 communication with a Pc, use less convenient, low efficiency, and high cost. This paper designed a new type of light controller, this controller to ST companies based on ARM Codex - M3 kernel STM32F107VCT6 STM32 micro controller as the core, through the plug and play, high transmission speed of the USB interface to communicate with a Pc, Pc application software for light controller parameters can be set in real time. Using STM32 timer on chip to realize PWM digital dimming, and pulse frequency and duty ratio of a wide range of adjustment, and through the timer to work together to ensure precise timing between. In addition, the controller implements three illumination mode, normal mode, stroboscopic mode and external trigger mode. This design flexibility to adapt to the machine vision detection system application needs on different occasions.

1 overall scheme design, in a nutshell, the main functions of the light controller is received from the PC host pre-defined commands and set parameters, through main controller processing, then through the drive circuit control LED light source according to the set for digital PWM dimming.

light controller according to the architecture can be divided into the software part and hardware part, software part and can be divided into Pc application user interface, USB driver, the controller hardware and firmware. The hardware part can be divided into main control module and LED driver module. Master control module is mainly responsible for communication with a Pc, the command response, and management, it is the core part of the controller. The LED driver module mainly provide suitable LED light source drive way. LED light source drive mode have common inductive charge pump drive, drive and the inductive drive circuit for driving a number of series of LED. LED brightness control method can be divided into analog dimming and digital PWM dimming two kinds. Analog dimming by changing the LED current to adjust the brightness. Its drawback is that the LED will produce with the forward current change color phenomenon, cannot satisfy the requirement of accuracy. PWM dimming by opening and closing the LED to change forward current conduction time in order to achieve the brightness adjustment effect. Because the leds are in constant current conduction, so there will be no analog dimming technology color deviation problem. This design adopts inductive drive, PWM constant current dimmer.

GET IN TOUCH WITH Us
recommended articles
Knowledge News & events Project
Leading the future of green energy storage, ALLTOP will appear at the 137th Canton Fair

Exhibition name: 2025 THE 137TH CHINA IMPORT AND EXPORT FAIRExhibition date: April 15-19, 2025Booth No. : 14.3 f33-34g10-11/14.2 D13-14-15Address: China Import and Export Fair Hall (Canton Fair Hall)
Somali municipal project: ALLTOP solar street lights light a green future
Project name: A municipal project (solar street lamp) in Somalia was successfully implemented
Date: January 04, 2025
Project location: Somalia
Quantity and specific configuration: 500 sets of 0278-400W solar street lights
ALLTOP presents innovative products at the 2024 Solar PV and Energy Storage World Expo
2024 Solar PV & Energy Storage World Expo The 16th Guangzhou Intt Solar Photovoltaic & Energy Storage Exhibition Booth No.Booth B551, Hall 10.2, Area B TIME/August 8th-10th, 2024 ADD: Area B, China Import & Export Fair Complex, Guangzhou
Pv + Agriculture: ALLTOP lights up Pakistani farms with green light, photovoltaic agricultural irrigation project is successful
While actively responding to the "Belt and Road" Initiative, ALLTOP should dig deep into overseas markets and carry out accurate market positioning and strategic planning. Comply with the current economic trend in the international situation, while ensuring that its products and services can meet the actual needs of countries along the "Belt and Road", and make ALLTOP unique products can achieve the purpose of truly serving the "Belt and Road", so as to achieve a soft landing and grounding; A pr
Shaping the Future of Energy ALLTOP at the Expo Georgia Exhibition Center
Live up to the old expectations! On April 26,The 28th International Exhibition for Buildi had its grand opening. ALLTOP team appeared in 118A, Hall 11.36, brought many new photovoltaic products, outdoor street lights, photovoltaic energy storage and other one-stop systematic solutions, attracted more than 300 industry leading enterprises to participate in the exhibition, many visitors have stopped to visit, exchange, tens of thousands of visitors, customers together, a glimpse of the annual indu
no data
Our aim is to provide the best products and the most considerate service for customers.
About Us
Customer service
detect