The optical road lamp controller
Technical field
The utility model relates to a kind of control device that utilizes solar energy that the power supply street lighting is provided, and particularly relates to a kind of protection and controlled function and improves optical road lamp controller reliable, that radiating effect is good, the steady operation time is long.
Background technology
The world today, traditional energy reduces day by day, and various countries all are faced with energy crisis in various degree, and solving energy shortage becomes more and more important subject under discussion, and the environmental pollution that traditional energy consumption is simultaneously caused also is on the rise.The develop actively new forms of energy, particularly utilize solar power generation to solve lighting problem, become a practicable new forms of energy development cutting point, the optical road lamp controller of existing all size is widely used in the solar street light illuminator of public arenas such as road, school, residential block, square in the market.
But existing optical road lamp controller all exists many perfect inadequately places on performance and structure, and particularly on some critical functions, in actual applications, these problems have all hindered the raising of optical road lamp controller quality.In the common in the market controller for road lamp; for protection effects such as load end (LED lamp) short circuit, circuit reversal connection, overcurrent, overvoltages is not very desirable; if situations such as long-time overcurrent or short circuit take place, controller can directly break down and burn out, and can't work.Secondly, most of controllers are considered perfect inadequately for the heat dissipation design of the high power device on the control board, controller for road lamp is installed in the outdoor lamp stand mostly, if outdoor environment is too abominable, when ambient temperature reaches more than 55 ℃, the controller radiating effect is bad, and inner main power device very likely can burn out.Once more, the light-operated combination that adds time control of the many employings of present most of controllers, the minority controller has the half-power function, but can't regulate the LED lamp brightness of illumination of half-power work according to user's demand.
In view of this, be necessary to provide a kind of protection and controlled function to improve optical road lamp controller reliable, that radiating effect is good, the steady operation time is long, to address the above problem.
Summary of the invention
Technical problem to be solved in the utility model is:, for a long time shortcoming of steady operation bad, the utility model for the protection that solves existing optical road lamp controller and controlled function imperfection, radiating effect provide a kind of protection and controlled function improve reliable, radiating effect is good, the optical road lamp controller of steady operation time length.
The technical scheme that the utility model adopted is: a kind of optical road lamp controller, described controller comprises shell, guidance panel, control circuit board, guidance panel is positioned on the shell, control circuit board is arranged at controller inside, it is characterized in that: described controller also comprises aluminium base and radiator, aluminium base is arranged on described outer casing bottom, and aluminium base and radiator fit tightly together; The internal hardware structure of described controller also comprises power circuit board, and power circuit board is welded on aluminium base top, and described control circuit board is fastened on the power circuit board by interface circuit; Described power circuit board comprises battery circuit, solar panel circuit, LED circuit for lamp and interface circuit, and external equipment storage battery, solar panel, LED lamp are connected respectively to battery circuit, solar panel circuit and LED circuit for lamp; Described control circuit board comprises single-chip microcomputer, A/D convertor circuit, display button circuit, IO drive circuit, hardware protection circuit and interface circuit; The voltage and current signal of the storage battery that power circuit board collects, solar panel, LED lamp is sent into A/D convertor circuit by interface circuit, A/D convertor circuit is the signal that single-chip microcomputer can be discerned with conversion of signals, send into single-chip microcomputer, by single-chip microcomputer the result after changing being carried out Algorithm Analysis handles, provide control command then, send to display button circuit and IO drive circuit.
Aforesaid optical road lamp controller is characterized in that, described controller further comprises a lightning surge protector, and the lightning surge protector is arranged on the aluminium base top.
Aforesaid optical road lamp controller; it is characterized in that; described hardware protection circuit comprise an operational amplifier and one and the door chip; signal after the LED lamp operating current sample conversion is imported described operational amplifier; the computing comparison signal that comes out with from the control LED lamp switch signal of single-chip microcomputer and described and door chip with; the signal that obtains removes to control the LED lamp switch, promptly constitutes the two-stage overcurrent protection.
Aforesaid optical road lamp controller is characterized in that described guidance panel is a thin film switch, and thin film switch is embedded on the shell, and thin film switch is provided with button and LED lamp, is used to be provided with controller parameter and display controller fault.
The beneficial effects of the utility model are: the utility model controller has hardware protection circuit, prepackage lightning surge protector, the mode that configuration aspects aluminium base and radiator combine makes this controller have following advantage: 1, defencive function is perfect, and controller LED lamp end is in the short-circuit condition controller for a long time also can not damaged; 2, lightning protection reliability height can effectively prevent induction overvoltage and the big electric current of thunderbolt; 3, the overheated controller main chip that causes burns out the short time in the time of can effectively preventing controller short circuit or overcurrent, prolongs the useful life of controller; 4, but the tenable environment working temperature of controller improves greatly, is in for a long time under the higher ambient temperature, and controller also can operate as normal.
Description of drawings
Fig. 1 is the optical road lamp controller housing structure figure of the utility model embodiment.
Fig. 2 is the optical road lamp controller hardware structured flowchart of the utility model embodiment.
Fig. 3 is the circuit diagram of the optical road lamp controller hardware protective circuit of the utility model embodiment.
Fig. 4 is the used one-chip computer module circuit diagram of the optical road lamp controller of the utility model embodiment.
Fig. 5 is the optical road lamp controller master control program flow chart of the utility model embodiment.
Fig. 6 is the optical road lamp controller software overcurrent protection subroutine flow chart of the utility model embodiment.
Embodiment
Symbol description in the accompanying drawing: 1-thin film switch, 2-shell, 3-radiator, 4-aluminium base.
Below by embodiment, the utility model is described in further detail in conjunction with the accompanying drawings.
Referring to Fig. 1, in the present embodiment, optical road lamp controller external structure mainly is made up of the aluminium base 4 of thin film switch 1, shell 2, radiator 3, outer casing bottom.Thin film switch 1 is provided with button and LED lamp, is used to be provided with controller parameter and display controller fault.Heat-conducting silicone grease is coated in the bottom of aluminium base 4, closely links together with radiator 3.
The internal hardware structure of optical road lamp controller mainly comprises control circuit board, power circuit board and lightning surge protector.Control circuit board is fastened on the power circuit board by interface circuit, and power circuit board is to be welded on aluminium base 4 tops.Simultaneously, the lightning surge protector of controller also is arranged on aluminium base 4 tops, is a control system function and protecting module independently, and protection photovoltaic LED lighting system is not subjected to the influence of lightning induction, effectively prevents induction overvoltage and the big electric current of thunderbolt.
Referring to Fig. 2, be the control circuit board of present embodiment and the hardware block diagram of power circuit board.The right be the structure of power circuit board, comprise battery circuit, solar panel circuit, LED circuit for lamp and interface circuit.External equipment storage battery, solar panel, LED lamp are connected respectively to battery circuit, solar panel circuit and LED circuit for lamp.The opening of the management of charging and discharging of battery circuit, LED lamp turn-offed control and realized by the turning on and off of metal-oxide-semiconductor that is serially connected in the circuit separately, the grid of metal-oxide-semiconductor is connected with IO drive circuit in the control circuit by interface circuit, realizes the drive controlling to grid.
The left side be the structure of control circuit board; comprise single-chip microcomputer; A/D convertor circuit; the display button circuit; the IO drive circuit; hardware protection circuit and interface circuit; the storage battery that power circuit board collects; solar panel; the voltage and current signal of LED lamp is sent into A/D convertor circuit by interface circuit; be converted to the signal that single-chip microcomputer can be discerned; send into single-chip microcomputer and carry out the AD conversion; handle through the single-chip microcomputer internal processes; to carry out Algorithm Analysis to the result after the conversion handles; provide control command then; send to display button circuit and IO drive circuit; the IO drive circuit mainly carries out power transfer to the signal that single-chip microcomputer is sent here, improves the driving power of signal.
Fig. 3 is the circuit diagram of the hardware protection circuit among Fig. 2.Hardware protection circuit also can be called relatively hardware protection circuit of computing, and wherein: U8 is an operational amplifier, and it imports 3 pin is 0-5V voltage after the LED lamp operating current sample conversion; U9 is and the door chip, the computing comparison signal that U8 comes out with from single-chip microcomputer P3.7 mouth control LED lamp switch signal with, the signal of output removes to control the LED lamp switch again.So just constituted the two-stage overcurrent protection, the software overcurrent protection subprogram of hardware protection circuit and single-chip microcomputer is compared in computing, has improved controller overcurrent protection ability.
This hardware circuit also can be realized the related hardware protection to controller:
(1) reverse connecting protection of storage battery, during reverse connection of accumulator, system is in off position, but can not damage controller;
(2) the LED lamp module partly have can recover the insurance, can prevent effectively that short circuit of LED lamp or overcurrent from causing damage to controller and light fixture.
Fig. 4 is the used one-chip computer module circuit diagram of controller, one-chip computer module mainly is made of single-chip microcomputer U3 (STC12C5204AD), act as voltage, the current analog signal of storage battery in the acquisition system, LED lamp and solar panel, be converted to digital signal, after the algorithm computing, decide controller to send which kind of control signal according to the data value that obtains.The function that single-chip microcomputer STC12C5204AD mainly realizes is as follows:
(1) finishes analog-to-digital conversion;
(2) finishing data algorithm handles;
(3) controller state indicator light;
(4) control accumulator cell charging and discharging switch, LED switch.
Wherein, each interface connection is designed to: the P1.0 of single-chip microcomputer, P1.1, P1.2, P1.5, P1.6, P1.7 are AD conversion input; P3.7 output control LED lamp operating state; P3.4 controls charging and discharging of accumulator; P3.0, P3.1, P3.3 connection status show LED and button.
Controller master control program and software overcurrent protection program are responsible for execution by single-chip microcomputer.Figure 5 shows that controller master control program flow chart, program is initiated with the initialization of each functional module, and from the inner EEPROM Read Controller of single-chip microcomputer relevant configured parameter value.Whether detection in real time simultaneously has actuation of keys to take place, and according to the button value of setting system parameters is reconfigured.The AD sample frequency is 10K Hz, detect in real time battery tension, electric current, the voltage and current value of the voltage of LED lamp, electric current and solar panel, and according to each signal value of sampling and obtaining, carry out corresponding algorithm process, guarantee the system stability reliability service.The algorithm routine module mainly comprises: accumulator cell charging and discharging management, system's overvoltage and under-voltage protection, system's overcurrent protection, opening of LED lamp are turn-offed and complete/half-power operational module control.
Fig. 6 is a software overcurrent protection subroutine flow chart, is provided with short-circuit protection preset current Ia and overcurrent protection preset current Ib, sets Ia>Ib, if LED lamp operating current, then directly turn-offs the output of LED lamp greater than Ia, time-delay M is open-minded again after second; If a whole night, operating current reached N greater than the number of times of Ib, then illustrative system work is undesired, turn-offs the output of LED lamp, no longer opens the LED lamp that night.The software protection that short-circuit protection and overcurrent protection combine, short circuit and overcurrent have improved the useful life of system to the infringement that system brings when effectively having prevented the work of LED lamp.