At present, the main content of LED street lamp is illuminating through street lamp, and the control of street lamp is scarce. Although the field of intelligent control develops rapidly at this stage, it is difficult to automatically detect the illumination of street lamp, so there is still a long way to go in the realization of remote control of street lamp. We need to explore. The main research content of this paper is the application of embedded technology, mainly using street lamp controller as the research carrier, through wireless communication technology to realize the development of intelligent street lamp control concept.
The composition of street lamp control system in this paper is composed of 3-4 control layers and 2-3 communication layers. In the actual operation process, the operator can transfer data from the mobile terminal or PC terminal to the street lamp controller through the monitoring software. After receiving the relevant data, the street lamp master can analyze and process the data internally, and transfer the data between the node controllers through its ad hoc wireless network. Then the node controllers feedback the data to realize the data transmission of the street lamp operating system. In the arrangement and selection of the controller, the main control module chosen in this paper is ATmega128, and the communication module chooses CDMA Internet communication and ISM wireless network communication respectively. Main control module.
In the selection of the main control module, this paper uses AVARATMEGA128. The chip is a high performance and low power 8-bit microprocessor. It runs at a good speed and can respond to instructions quickly. For the main control chip, its lifetime can reach 10,000 write-erase cycles. Moreover, the chip has an independent lock bit and can select the boot code. And through the start-up program inside the chip, the internal transformation of the system can be realized. It can also encrypt the software data when the lock is turned into a process.
Its unique JTAG interface can ensure that the program can be downloaded or debugged online. CDMA module. As far as the communication module is concerned, the internal protocol of the CDMA module can guarantee its good performance in long-distance wireless transmission, smooth communication path between the main controller and the control center, good data transmission and feedback path, and two-way data transmission can be guaranteed at the same time.
For the CDMA module, the communication between it and the main controller is relatively close.
For the communication between the main controller, UART1 is mainly used to ensure the transmission of bidirectional data. On the energy consumption of this module, the CDMA module uses 5V power supply, and the energy consumption problem is relatively low.
ISM communication module.
The path of data transfer from controller to node in street lamp is the ISM communication module we are going to talk about here. In the design process of this module, this paper mainly chooses NRF24l01 as the manual chip of wireless communication module, which can achieve 2.5 GHz universal frequency band.
In the design of wireless transceiver, it mainly includes frequency generator, enhanced mode controller, crystal oscillator, modulation regulator, channel selection and protocol setting. As we have improved above, the main function of the node controller is to execute the data and feedback the operation. For the design of node controller, it is necessary to meet the above requirements. Therefore, the node controller in this paper includes MCU control module, dimming module and wireless communication module. MCU control module. For the design and selection of the control module, the STC89C52 chip is chosen in this paper. The chip has high performance and low power consumption, and is a good CMO 8-bit microcontroller. And it can be programmed and stored in the system. With the use of high density, high storage and low amnesia memory, it can be perfectly compatible with the instructions of many industrial products at this stage.
And in the programming process of the memory, you can only use the conventional programmer. Dimming module. In the design of dimming module, the main functions are sensitization and dimming.
Firstly, for the high resistance of photoresistors in dark environment, the resistance will decrease with the arrival of light, and it will become positive light with the intensity of light. Therefore, the selection of photosensitive sensor for dimming module should be based on photoresistor. In the controller, the working parameters of the lamps are programmed through relevant programming, and the parameters are analyzed and judged to realize the control signal sending, thus realizing the brightness control of the LED lights. In this paper, thermostatic element the author mainly uses DNO112 chip to design dimming module, because DN0112 chip has good DC continuous touch.
The brightness can be adjusted between 3% and 100% by output PWM. Summary: In this paper, we mainly study the street lamp controller and node controller. Through the design of the Internet and wireless network, we realize the two-way transmission of data from the control center to the controller, then to the node and node channel controller and then to the control center. In this paper, by controlling the light intensity and adding photoresistor as the sensor of light intensity, the control of light sensitivity is realized.
On the dimming design problem, the introduction and development of mobile phone, embedded data transmission and embedded technology are realized by using new chip technology.
Experiments show that after using embedded street lamp control system, intelligent control can be achieved and energy saving has a very good effect.