A kind of synchronous turning on and turning off controller for solar street lampTechnical field
The present invention relates to a kind of street lamp control appliance with synchronization control function, particularly be a kind of Synchronizing Control Devices that is applied to solar street lamp controller.
Background technology
Solar energy more and more comes into one's own as a kind of efficient pollution-free energy, for the solar irradiation abundance, be not suitable for laying especially the occasion of feed cable, adopts solar powered one of the current power solution that become.Solar street light has been widely applied in the various highway lightings as one of product of road lighting.Present solar street lamp controller is generally unit and works alone, the separate unit controller only controls the unlatching of street lamp by the height of monitoring solar cell output voltage or cuts out, because the difference that the performance difference of solar panel self, the difference of solar panel setting angle and controller self exist, cause the road lighting that whole piece is equipped with solar street light not light simultaneously or to extinguish, time difference can reach more than 30 minutes, influenced road lighting.Network edition solar street lamp controller need utilize the existing Internet cable network to control, and needs the independent network line of laying, but is not suitable for difficult application the in place of laying-out for remote mountain areas etc.
There is the partial monopoly document to carry out correlative study work at controller for solar.
Patent of invention " 200710118513.2---a kind of PWM solar power control module of PWM controller for solar ", control at rechargeable solar battery, designed control method based on PWM, improved the charge efficiency of solar cell, controller still adopts the relation between the street lamp opening and closing voltage threshold of judging solar cell output voltage and setting, realizes the opening and closing of street lamp.
Utility model patent " 200520071259.1---controller for solar ", at the output control of solar cell, designed the controller of low-power consumption, when reaching original brightness of illumination, it is original 1/2 or 1/3 that power consumption can reduce, and do not relate to solar street light quantity problem simultaneously.
Utility model patent " 200620096426.2---a kind of controller for solar of anti-reverse charge "; be considered to connect the problem of damaging on the contrary easily at the solar cell output electrode; designed and prevented to connect circnit NOT; effectively protect solar panel and back-end processing circuit, do not related to solar street light quantity problem simultaneously.
Utility model patent " 03268193.3---a kind of sun-generated electric power control device ", at solar power supply system overcharge of a battery and overdischarge problem, designed power-supply controller of electric, effectively overcome overcharge of a battery and overdischarge problem, do not related to solar street light quantity problem simultaneously.
Utility model patent " 02282076.0---a kind of controller for solar ", be the charge in batteries efficiency at solar cell, designed charging circuit efficiently, do not relate to solar street light quantity problem simultaneously.
But do not solve the actual demand that solar street light is lighted simultaneously and extinguished, this is that those skilled in the art needs one of problem that emphasis considers.
Summary of the invention
The objective of the invention is: realize lighting synchronously and extinguishing of entire road solar street light.A kind of synchronous turning on and turning off controller for solar street lamp, technical solution of the present invention: a kind of synchronous turning on and turning off controller for solar street lamp, comprisecore processing unit 31, solar cell andbattery management unit 32, wirelessdata transmission unit 33, keyboard anddisplay unit 34, it is characterized in that based on 433MHz:
Describedcore processing unit 31 is connected withdisplay unit 34 withbattery management unit 32, the wirelessdata transmission unit 33 based on 433MHz, keyboard with solar cell respectively, realizes solar cell and the power management of storage battery, the management of data transmission unit and monitoring, keyboard input instruction and the liquid crystal display of transmission command;
Solar cell is connected withcore processing unit 31 withbattery management unit 32, and the associated voltage and the digital quantity control information that utilizecore processing unit 31 to send realize the monitoring and the control of solar cell power output, accumulator cell charging and discharging electric current; Wireless data transmission unit based on 433MHz is connected with core processing unit, the command conversion that core processing unit will need to send becomes serial data, send through wireless data transmission unit, the order that wireless data transmission unit receives is transferred to core processing unit through serial ports, and, inform the core processing unit reading order to core processing unit generation interrupt signal;
Further,core processing unit 31 adopts single-chip microcomputer C8051F020 as the control core, utilize integrated 2 road DA (D/A conversion circuit) the output aanalogvoltage of singlechip, control solar cell power output and charging and discharging of accumulator power, and realize the control of accumulator cell charging and discharging in conjunction with the IO mouth (input/output port) of single-chip microcomputer; The charge mode of storage battery is automatically made constant current charge, constant voltage charge, pulsed constant voltage charge and four kinds of patterns of trickle charge, and can select automatically according to the battery tension situation.
Wireless data transmission based on the wirelessdata transmission unit 33 of 433MHz is partly adopted the CC1100 controller of martRF company, realizes wireless data coding, emission received power function such as adjusting automatically; The interface section adopt FPGA (EPM7128AE) realize SPI interface and LVTTL level serial line interface protocol conversion and with the hardware handshaking of CC1100 controller;
Core processing unit 31 is connected with the FPGA of 433MHz wirelessdata transmission unit 33 by the serial line interface of LVTTL, the serial order thatcore processing unit 31 sends is converted to SPI control protocol and hardware handshaking control signal through FPGA, FPGA and CC1100 carry out transfer of data, are finally launched by antenna after with digital coding by CC1100; The receiving function of data process therewith is opposite, adopts interrupt signal noticecore processing unit 31 to receive data when different is reception.The receiving function of data process therewith is opposite, adopts interrupt signal noticecore processing unit 31 to receive data when different is reception.
Wireless data exchange has been brought into play important transmission medium effect in current information data transmission, present digital handset, digital cordless phone etc. all adopt the wireless data transmission mode to realize data interaction.A kind of synchronous turning on and turning off controller for solar street lamp of the present invention has utilized the principle design of wireless data transmission to form exactly.Solar street light generally adopts uniformly-spaced mounting means, about 500 meters of the maximum distance between street lamp and the street lamp, and shelter is less, is suitable for the low-consumption wireless transfer of data.Whole piece solar street light track data transmission control adopts the relay mode to realize, general whole piece circuit solar street lamp controller is according to geocoding, setting one or more controller is master controller, solar array voltage is low to arrive (or high arriving) certain voltage threshold when master controller detects, promptly send the instruction of opening road lamp power supply (or closing road lamp power supply) to adjacent solar street lamp controller, instruction is encoded according to the address, the controller that only meets the address requirement is just carried out corresponding reception instruction, otherwise command information is transmitted.Adjacent street lamp can carry out the instruction of opening road lamp power supply (or cutting out road lamp power supply) accordingly after detecting the instruction that meets self geocoding, all receives the instruction that meets own geocoding up to all controller for road lamp, carries out till the corresponding order.
Therefore, the present invention compared with prior art has following advantage: can solve solar street light because the non-practical problem of lighting simultaneously and extinguishing that self performance difference brings, improve the reliability and the aesthetics of solar street light illuminator.
Description of drawings
Fig. 1 is a kind of synchronous turning on and turning off controller for solar street lamp functional structure chart of the present invention;
Fig. 2 is solar cell and battery management Elementary Function structure chart in the controller of the present invention;
Fig. 3 in the controller of the present invention based on the wireless data transmission unit functional structure chart of 433MHz;
Fig. 4 is a controller workflow diagram of the present invention;
Fig. 5 connects for single-chip microcomputer C8051F005 circuit of the present invention;
Fig. 6 is the present invention control principle figure that charges;
Fig. 7 is load output control principle figure of the present invention;
Fig. 8 is RF wireless radiofrequency module of the present invention and circuit connection;
Fig. 9 detects schematic diagram for controller circuitry of the present invention;
Among the figure, 1 is solar panel, and 2 is storage battery, and 4 is street lamp; Belong to 3 part:core processing unit 31, solar cell andbattery management unit 32, wirelessdata transmission unit 33, keyboard anddisplay unit 34 based on 433MHz; Belong to 32 part: battery currentpower controlling pipe 321, solar array voltagecurrent monitoring unit 322, battery tensioncurrent monitoring unit 323; Belong to 33 part:antenna 331, wirelesssignal modulate circuit 332, CC1100wireless controller 333 and FPGA334.
All of above accompanying drawing indicate and to belong to all that those skilled in the art are with the aid of pictures can be known, and comprise symbol, numeral, components and parts sign etc., do not describe in detail at this.
Embodiment
Below, in conjunction with the accompanying drawings, the specific embodiment of the present invention is described.
As shown in Figure 1, the solar street lamp controller of the present invention with synchronization control function is made up ofcore processing unit 31, solar cell andbattery management unit 32, wirelessdata transmission unit 33, keyboard anddisplay unit 34 based on 433MHz.Core processing unit 31 is connected withdisplay unit 34 withbattery management unit 32, the wirelessdata transmission unit 33 based on 433MHz, keyboard with solar cell respectively, realizes solar cell and the power management of storage battery, the management of data transmission unit and monitoring, keyboard input instruction and the liquid crystal display of transmission command; Solar cell is connected withcore processing unit 31 withbattery management unit 32, and the associated voltage and the digital quantity control information that utilizecore processing unit 31 to send realize the monitoring and the control of solar cell power output, accumulator cell charging and discharging electric current; Wirelessdata transmission unit 33 based on 433MHz is connected with the serial ports ofcore processing unit 31 by the LVTTL level, the command conversion thatcore processing unit 31 will need to send becomes serial data, send through wireless data transmission unit, the order that wireless data transmission unit receives is transferred tocore processing unit 31 through the serial ports of LVTTL level, and, inform the core processing unit reading order tocore processing unit 31 generation interrupt signals; Keyboard anddisplay unit 34 are finished the setting and the demonstration of system parameters.
As shown in Figure 2, the present invention has the solar cell and thebattery management unit 32 of the solar street lamp controller of synchronization control function, is made up of battery currentpower controlling pipe 321, solar array voltagecurrent monitoring unit 322, battery tension current monitoring unit 323.Battery currentpower controlling pipe 321 is made of large power triode and field effect transistor, utilize the conducting angle of the analog signal control triode of single-chip microcomputer DA output to realize the control of charge in batteries electric current, utilize single-chip microcomputer IO signal controlling field effect transistor to realize the switch control of charge in batteries and the switch control of discharge; Solar array voltage currentmonitoring power supply 322 is made of resistor voltage divider network, current-to-voltage converting circuit and filter circuit, utilizes the high-power sampling resistor of resistance pressure-dividing network and low resistance to realize the voltage and current conversion, satisfies the requirement of Chip Microcomputer A input voltage; Battery tensioncurrent monitoring unit 323 is made of resistor voltage divider network, current-to-voltage converting circuit and filter circuit, utilizes the high-power sampling resistor of resistance pressure-dividing network and low resistance to realize the voltage and current conversion, satisfies the requirement of Chip Microcomputer A input voltage.As Fig. 3 and shown in Figure 8, the present invention has the wirelessdata transmission unit 33 based on 433MHz of the solar street lamp controller of synchronization control function, be made up ofantenna 331, wireless signal modulatecircuit 332, CC1100wireless controller 333 and FPGA334,antenna 331 selects to be suitable for the antenna module of 433MHz transfer of data; Wireless signal modulatecircuit 332 mainly constitutes frequency-selective network by high frequency capacitance and resistance, the frequency-selecting of realization wireless signal, filtering etc. and processing; The bidirectional data transfers control of the power control of CC1100wireless controller 333 realization wireless signals, the encoding and decoding of data, SPI interface is by the hardware handshaking function between FPGA and thecore processing unit 31; FPGA334 is by the hardware handshaking between conversion, CC1100wireless controller 333 and thecore processing unit 31 of inner logical circuit realization SPI interface and RS232 interface protocol.
Simultaneously can adopt special wireless data transmission terminal to send monitored instruction to solar street light, the operating state of monitoring solar street light, as parameters such as the operating voltage of current solar cell working voltage and current, storage battery and electric currents, be beneficial to the monitoring of producer to the solar street light state.
Shown in Fig. 4,5,6,7,8,9, the present invention has the workflow diagram and the schematic diagram of the solar street lamp controller of synchronization control function:
Step a: initialization, finish the initial parameter setting of core processing unit and other unit;
Step b: keyboard scan judges, if having keyboard to press and effectively, then execution in step j carries out the keyboard handling procedure, if there is not keyboard to press, and execution in step c then;
Step c: the wireless command matching judgment, if the controller that closes on is to this address sending controling instruction and effectively, then execution in step i carries out street lamp and opens or closing control, if the control command that receives and this machine address do not match, execution in step d then;
Steps d: the control command that receives and this machine address do not match, and this transmits control command to next geocoding, transmit the execution in step e that finishes;
Step e: solar cell, battery management, finish the adjusting of the input and output electric current of solar cell power output, storage battery, regulate the then execution in step f that finishes;
Step f: the wireless monitor command determination, if system receives monitoring state order, execution in step h, system with current state by the wireless assigned address that is forwarded to, after being finished, program execution in step g, do not detect the wireless monitor order else if, then direct execution in step g;
Step g: DP display processor, realize the demonstration of system parameters, the program that is finished then turns back to step b and carries out periodic duty;
Step h: system state monitoring and router, finish system state monitoring and by wireless to the assigned address send state information, being finished then turns back to step g;
Step I: the control command executive program, finish close on that controller sends and with the control command of this machine matching addresses, finish street lamp and open or bolt down procedure, being finished then turns back to steps d;
Step j: the keyboard handling procedure, finish effective keyboard input and instruction and carry out, be finished and then turn back to step c.
The above only is preferred embodiment of the present invention, only is illustrative and nonrestrictive for the purpose of the present invention.In the spirit and scope that claim of the present invention limited, can carry out many changes, modification, equivalence, but all will fall within the scope of protection of the present invention it.