The Research and Application of Distributed Digital LED Lighting Controller
- Author
- HeMin
- Advisor
- LiDi , XieChangGui
- School
- South China University of Technology
- Major
- Instrumentation Engineering
- Classification
- TM923.34 Semiconductor light emitting light
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 97
- Citations
- 0
Abstract
Lighting controller, as the most critical parts in lighting system, can impact the quality ofthe images and application effect in the field of machine vision. With the rapid developmentof machine vision in the field of industrial automation, the demand for lighting controller isalso growing. At present, most of the lighting controller adjusts the voltage by the way ofanalog which comes into being outstanding problems, such as low accuracy, less function,inflexible and power consumption. It is a major bottleneck when the traditional lightingcontroller is applied in the industrial production process.In response of these issues, this paper designed a distributed digital LED lightingcontroller which is based on the real-time operating system FreeRTOS and takes STM32asthe core after researching technologies such as distributed control, embed system,communication, software architecture and LED driver. Firstly, according to the requirementsof the machine vision, the design scheme which takes STM32as the MCU and determines thePWM constant current LED driver was present. Circuits of hardware schematic and PCB aredesigned. Secondly, the embedded real-time operating system FreeRTOS was ported to theSTM32platform to build the firmware of Modular multi-tasking software architecture.Carrying out three modes of illumination (common mode, strobe mode and trigger mode), thedigital lighting controller can interact with PC by USB, CAN, RS232and Ethernet which aresupported by porting the LWIP protocol stack. This distributed network system of multi-nodelighting controller was developed based on CAN bus topological and Ethernet star topology.Fourthly, a reliable and efficient data communication protocol and SDK applied in windowswere developed to provide better openness, adaptability and accessibility.At last, the lighting controller was applied to the dry battery cover quality detect systemafter a serious of debugging experiment in function and performance. Result of the testing andeffect of the application experiment turn out to be correct and the performance meetsapplication requirements.
Table of contents
Summary 5-6
Abstract 6-10
first chapter 10-16
1.1 Overview 10-12 <br / > 1.2 Status and Trends study abroad 12-14
1.3 significance 14
1.4 the main work 14-16
Chapter II light controller system analysis and planning 16-23
2.1 controller needs analysis Selection nbsp 16-17
2.2 processor ; 17-19 <br / > 2.2.1 Cortex-M3 architecture and ARM7 architecture contrast 17-18
2.2.2 STM32 microcontroller 18-19
choice nbsp 2.3 means of communication ; select 19
2.4 LED drive mode 19-21
2.5 overall architecture of distributed source control system planning 21-22
2.5.1 source controller daughter system architecture planning 21-22
2.5.2 distributed Control system Design 22
2.6 Summary 22-23
Chapter III source controller hardware circuit design 23-33
3.1 STM32 core module design 23-26
3.2 communication module design 26-30
3.2.1 USB communication module 26-27
3.2.2 serial communication module 27-28
3.2.3 CAN communication module 28-29
3.2. 4 Ethernet communication module 29-30
3.3 manual control module design 30-31
3.4 LED power driver module design 31-32
3.5 Summary 32-33
Chapter IV of distributed source control systems and software 33-69
4.1 distributed source control system architecture 33 - 35
4.1.1 distributed Control system Introduction 33
4.1.2 CAN -bus based distributed system design 33-34
4.1.3 Ethernet-based distribution system design 34-35
4.2 PC client key technology 35-39
4.2.1 dynamic Link Library 35-36
4.2. 2 Socket network programming 36-37
4.2.3 USB device driver 37-39
4.3 STM32 firmware library source controller design 39-54
4.3.1 FreeRTOS analysis 39-40
4.3.2 FreeRTOS transplant 40-42
4.3.3 FreeRTOS transplantation test 42-43 <br / > 4.3.4 FreeRTOS source controller realized on the 43-45
4.3.5 USB module programming 45-47
4.3.6 CAN module programming 47-50
4.3.7 USART module programming 50-52
4.3.8 manual module Software Design 52-54
4.4 is based LWIP Ethernet module design 54-68
4.4.1 LWIP protocol stack analysis 54-57
4.4.2 LWIP protocol stack ported 57-60 <br / > 4.4.3 network device Driver Design 60-61
4.4.4 Ethernet communication to achieve 61-64
4.4.5 Ethernet module performance testing 64-68
4.5 Summary 68-69
Chapter user data protocol design 69-76
5.1 data protocol design 69 - develop and illustrate 71
5.2.1 data protocol format 69
5.2.2 data Packing and parsing process 69-70
5.2.3 data Verification software achieve 70-71
5.2 software adaptation layer protocol design 71-75
5.2.1 USB protocol software adaptation 72-73
5.2 .2 CAN protocol software adaptation 73-75
5.3 Summary 75-76
Chapter VI light controller system testing and application examples 76-87
6.1 system test platform 76
6.2 client test program 76-79
6.3 system performance testing 79-84
6.3. a dimming precision test 79-80
6.3.2 time Accuracy test 80-81
6.3.3 response speed test 81-82
debugging and analysis 6.3.4 source network controller 82-84
6.4 dry sealed plastic quality testing application examples 84-86
6.4.1 batteries sealed plastic quality testing About the Platform 84
6.4.2 source controller application and results analysis 84-86
6.5 summary 86-87
nbsp summary and Outlook ; 87-89
References made ??during 89-92
Masters research 92-93
Thanks 93-94 <br / > Accessories 94
Related dissertations
- The Design and Research of Stand-alone Embedded Motion Controller Based on STM32and FreeRTOS
- Design and Research on Fire Detection and Alarm System Based on Multi-sensor Information Fusion Technology
- Design of Industrial Equipment State Wireless Monitoring System Based on STM32
- The Design and Implementation of a Monitor System for Small Thermo-Electric Power Machine
- The Design of Data Monitoring and Control System Based on USB and Lab VIEW
- Research on Techniques of Network Topologyandad Hoc Network in Cold Chain Transportation Monitoring System
- The Research and Design of Infrared Sensor Monitoring System Based on STM32
- High-precision In-pipeline Temperature Measurement System Based on STM32
- Design and Implementation of a Cooler of Data Acquisition and Control System Based on STM32
- Design of Steam System Data Acquisition Sub-station
- The Collection and Storage of Physiological Signals System Based on STM32
- Application of Distirbuted Multi-processor System in the Process of Water Cooling
- Research Control System of the Intelligent Wheelchair
- Design of Dynamic Pressure Controller Based on μC/OS-Ⅱ
- Stdudy on the Coordinated Control of Multiple Euler-Lagrange Systems
- Analysis for Distributed Control of Dynamical Networks
- Design of Industrial Controller Based on EPA
- The Design of CNC System for Automatic Gemstone Grinder
- Design and Research on the Control System of Patient’s Self-guided Rehabilitation Robotic Arm
- Design of the Embedded Internet Controller Based on STM32