| With the rapid development of domestic sapiential city,smart lamp is becoming more and more popular as an essential part of the sapiential city. They mainly refer to the remote control and management to the lamps by applying advanced efficient and reliable power line carrier communication technology and GPRS/CDMA,They also have other functions such as automatically adjust the brightness according to the traffic flow, remote lighting control, fault with active alarm, lighting cable anti-theft, remote meter reading and so on, to substantial savings in resources, and enhancing the level of public lighting management, and reducing the cost of maintenance.This essay firstly expands the development history and the current condition of the smart street lamp at home and abroad, pointing out that the development of smart concentrator is a vital link of smart street lamp control system. In the mean time, it puts forward the general design scheme for smart street lamp control system, Including the selection of the microprocessor, flash and ram selection, wireless communication GPRS module and power carrier chip selection.Secondly, it introduces the hardware circuit design of concentrator,which contains the power supply, storage circuit, wireless communication circuit, Ethernet interface circuit and USB interface circuit design,After the design of the hard circuit, the-three-board design as a whole is adopted. The bottom lay is power supply board and router board,The top one is the touch screen panel board,The middle one is microprocessor board and a control center.The connection way of each board is cable connector.After the completion of the hardware design,embedded Linux developing environment based on the virtual machine is set up.It is made up of the Eclipse integration environment installation and configuration under the environment of Ubuntu, cross compiler of the GDB debugger and the setting-up of developing environment Qt. According to the general steps of Embedded Linux, the first thing to do is to get every hardware module going.Then the design of the concentrator software programming frameworkfor is designed. using Linux multi-threaded programming completed the development of the main program, using Qt to develop the touch screen program, and using based on TCP socket of the machine communication method, to realize the communication of the two processes.Finally, a sample system is fixed at the Shun Hua road of Jinan.50 single lamp controllers were equipped, and passed the test. They have been on successfully for one month, realizing the expected design and Implementation. |