The application of power line carrier device and microcontroller is combined to develop urban street lamp intelligent control system. The system using power line carrier communication may not be able to find and repair in time. To this end, the need to achieve urbanization is the requirement and trend of social development. Street lamps are an essential lighting tool for urban residents. The streetlight control requirements of small and medium-sized towns have their own unique characteristics compared with big cities. For example, small and medium-sized towns have a small population, and business activities after midnight are rare. In order to save energy and extend the life of lighting equipment, it is hoped that all street lights can be turned off except for a few key locations. In addition, many small and medium-sized cities and towns have a tradition of regular market gathering, and farmers have to go early in the morning, so it is necessary to open the relevant street lights in time to facilitate farmers. In addition, streetlight management and maintenance personnel in small towns are generally equipped with small, street lamp damage type, all the street lights in the town are connected to the computer, the computer can monitor the working status of all street lights, and can be set at any time. The switching time of the street light or the temporary manual control of any street lamp is implemented separately. This not only satisfies the lighting needs but also reduces the waste of electricity and prolongs the use of lighting equipment. At the same time, the working status of any street lamp in the system can be inquired at any time to ensure real-time alarm when the street lamp is damaged, and can display the specific geographical location for quick maintenance. The system application example shows that the intelligent street lamp control system fully meets the needs of urban street lamp control and management, and the system is feasible and effective.

2 system working principle The system is divided into two parts: the monitoring center and the front controller (slave).

The monitoring center consists of a PC and a main controller. The PC is developed with VB and GIS software, and has a database management module, a human/machine operation module, and a geographical circuit diagram of the urban street lamp system. On the one hand, the database on the PC completes the recording and operation of street lamp numbering, naming, historical data, maintenance data, etc. On the other hand, the human/machine interface operation module is used to issue control commands for the work of each street lamp to achieve the required control. Claim.

Then use the geographical map of the town street lights stored on the PC. According to the street lamp fault signal from the front controller, the specific location of the fault and the possible fault cause can be displayed in time and accurately. The main controller structure of the monitoring center is shown.

The main controller communicates with the PC through the RS232 interface. On the one hand, it receives the operation commands of the PC. On the other hand, it can also transmit the status data of each street lamp to the PC for PC data management and fault analysis reporting. The main controller is also provided with a Chinese LCD display and operation keyboard module, which can be used to set the streetlight control parameters and display the fault location when the PC is faulty or when the main controller is used in the field. The main controller and the front controller are communicated by the power carrier modem through the power line carrier serial mode. A communication packet consists of 6 bytes, the first byte is the communication identifier, the 2nd and 3rd bytes are the slave address, the 4th byte is the command word, and the 5th and 6th bytes are the data. . Because the slave address is two bytes, the entire system can theoretically control 64K slaves. The main controller sends the command data in a broadcast manner. After receiving the communication packet, the slave station performs data analysis, first identifies whether it is its own address, and when it judges that it is its own address, it receives and executes the corresponding command operation.

Each slave station controls two sets of street lights. The slave receives commands from the host controller through the power line carrier and performs corresponding operations. In addition, the sampling process of the working current and the working voltage of the two groups of street lamps controlled is completed. Determine if the street light is working properly in order to take reasonable protective measures. At the same time, the status information of the street lamp is returned to the monitoring center by using the power carrier line.

3 system design 3.1 hardware system design main controller design: main controller is modulated by power carrier PL1201 is a direct sequence spread spectrum half-duplex asynchronous modem.

The carrier frequency is 120KHz and the bandwidth is 15KHz. It transmits a baud rate of 500BPS and receives sensitive 30fxv. The modem has strong anti-interference ability and is compatible with TTL level. It has convenient and simple interface with MCS51, and fully meets the requirements of power line data communication. AT89C55 is a cost-effective microprocessor with 20KB FLASH program memory, which can meet the needs of LCD display Chinese character font construction. MGLS24064 is a product of Hong Kong Jingdian Company. It can display 4 lines of 15 Chinese characters per line. MAX232 is a TTL level and RS232 level conversion chip for serial communication between the main controller and PC. When the PL2101 receives the carrier frequency signal transmitted by the power line and processes it through the internal circuit, it demodulates the data information and outputs it to the microcontroller via RXD. At the same time, the synchronous pin HEAD output low level causes the AT89C55 INT1 to generate an interrupt and accept data. Then, according to the predetermined format, the specified status information is sent to the PC through the MAX232. When the main controller obtains the command information from the PC or from the keyboard operation, the command data is sent by the PI. 5 to the PL2101, and the signal is coupled to the power line after the PL2101 modulation signal. Send to the slave.

Slave design: The slave controller consists of PL2101, AT89C2051, A/D chip TLC0832 and optocoupler street lamp control circuit.

The AT89C2051 is a microcontroller with 2KB of program memory. The instructions and function blocks are fully compatible with the MCS51. TLC0832 is an 8-bit two-channel three-bus A/D converter, which is characterized by small size, less use of single-chip resources, simple and convenient interface with single-chip microcomputer, and excellent cost performance. When the PL2101 receives the carrier frequency signal transmitted by the main control station through the power line and is processed by its internal demodulation circuit, it is output to the microcontroller by the RXD pin. At the same time, the HEAD pin synchronously outputs a low level to the INT1 pin of the AT89C2051, generates an interrupt, and accepts the command data sent from the main control station in the interrupt service routine. At the same time, according to the operation requirements specified in the command, the switching lamp time is modified, and the photoelectric coupling street lamp control circuit performs the switching lamp operation. In addition, it can monitor the current, voltage and other parameters on the street lamp after turning on the light, and automatically implement the protection measures when the condition exceeds the standard seriously, and send the failure reason information to the main control machine in time.

3.2 Software Design The software of the single-chip microcomputer is written in C51 language, adopting modular and structured design methods. The program modules in the main controller mainly include: four modules: data communication with the PC, scanning and recognition of the keyboard, LCD display and data communication with the slave. The data communication with the PC is completed by serial communication interrupt, the keyboard processing is realized by external interrupt INTO, and the data communication with the slave is realized by INTI interrupt. The slave program includes: communication module with the main controller, current and voltage sampling processing module, and electric light coupling control module. The communication module uses the INT1 interrupt service program.

The monitoring center's PC database management, command interface operation and fault location display are developed using VB and GIS. Realize three major functions, one is the management of the street lamp database (including the number, name, material, maintenance record, fault record, etc.); the second is the command operation, using the keyboard to realize the switch setting of each group of street lamps, and immediately pass the main controller Send to the slave, complete the switch control of the street light in real time; third, draw and display the fault location map, through the electronic map of the geographical location of the streetlight drawn in advance, when a street lamp occurs, the fault status information is sent. It can accurately and timely display the location and cause of the fault on the PC for easy maintenance.

4 Conclusion After the design and development of the urban streetlight intelligent control system, it has been used in the intensive management and control system of 486 street lamps in a town in Zhejiang. After more than half a year of use, the system is stable and reliable, indicating that the system design is feasible and effective. As long as the system further expands the functions of the PC and the main controller of the monitoring center, it can be used for intelligent control of large-scale regional street lamps in large and medium-sized cities.

Roller Blind Curtain Shade Gauze Zebra

Using double-layer fabric, adjustable light, do not take up space. Not only the advantages of cloth and yarn are combined, but also the function of a hundred leaf curtain, a roll curtain, and a Roman curtain. European style, double-layer transparent curtain design -- the middle transparent curtain has a louver curtain open dimming function, adjust the angle of the curtain, can make different light permeability curtains overlap, with a soft texture. Locally adjustable light.

Zebra Shades Window Blinds,Zebra Window Blinds,Zebra Shade Blinds,Roller Blind Curtain Shade Gauze Zebra

SHAOXING JEVA IMP.&EXP CO., LTD. , https://www.xhcurtain.com