Background technology
Along with the mankind's continuous development, energy resource consumption is increasing, and is also increasing to the influence of environment simultaneously, and entire society has turned to the exploitation of new forms of energy with more attention, and inexhaustible solar energy becomes one of present exploitation focus undoubtedly.Because solar cell often needs under the enough strong illumination condition and could power, and exists the photoelectric conversion plate light-receiving area little, photoelectric conversion efficiency is not high, causes problem of unstable.Thereby by a large amount of solar cell arrays storage battery is charged usually, power to the load by storage battery again.Therefore, adopt more excellent method control solar cell to the charging of storage battery for solar energy
Battery system seems particularly important.
Solar energy can only be by day and also the enough strong situation of illumination under could power, need continual work in 24 hours in one day if consider storage battery, only solar energy may be not enough, so be necessary the power supply that the while is also introduced the 220V civil power, the 220V civil power can be used as replenishing of solar energy, in the time of enough illumination, automaticallying switch, it is solar powered to become, when solar energy can not be powered again, and when the voltage of storage battery is reduced to certain value, begin to automatically switch to the power supply of civil power.
When power supply is put into outwork, can not send someone seeing 24 hours every days whether its power supply is normal, this is also unrealistic, so be necessary to accomplish and can automatically obtain the present power supply situation of power supply by certain means indoor, serial ports and network interface are present more common means of communication.
Therefore, need a kind of intelligence to switch solar energy, civil power and storage battery power supply, and can be by certain channel Control on Communication power source diverter output state and the intelligent power control system of obtaining the power supply electric power thus supplied, can guarantee the continuity of powering like this, also can make full use of solar energy, not only environmental protection but also convenient.
Embodiment
As shown in Figure 1; the utility model comprises power-supply controller of electric 1; solar cell 2; storage battery 3; electric network source 4 and load 5; described power-supply controller of electric 1 and described solar cell 2; storage battery 3; electric network source 4 and 5 corresponding connections of load; described power-supply controller of electric 1 detects and controls described solar cell 2; storage battery 3; the operating state of electric network source 4; guarantee transmits electric power to described load 5; described electric network source 4 comprises the DC power supply of civil power after Switching Power Supply; described power-supply controller of electric 1 comprises operating state and voltage detecting circuit 11; power supply output control circuit 12; MCU power supply circuits 13; MCU governor circuit 14; serial communication circuit 15; battery state of charge commutation circuit 16; accumulator super-charge/discharge protection circuit 17; working procedure control device 18; described MCU power supply circuits 13 connect described solar cell 2; storage battery 3; electric network source 4; described MCU governor circuit 14 and described operating state and voltage detecting circuit 11; power supply output control circuit 12; MCU power supply circuits 13; serial communication circuit 15; battery state of charge commutation circuit 16; accumulator super-charge/discharge protection circuit 17; working procedure control device 18 is electrically connected, and the signal of described MCU governor circuit 14 described operating states of acceptance and voltage detecting circuit 11 transmission and described serial communication circuit 15 and working procedure control device 18 exchange handles the back to described power supply output control circuit 12; battery state of charge commutation circuit 16; accumulator super-charge/discharge protection circuit 17 is implemented control.
Be provided with solar-electricity tank discharge relay K 1 between described solar cell 2 and the described power-supply controller of electric 1; be provided with city's discharge of electricity relay K 2 between described electric network source 4 and the described power-supply controller of electric 1, be provided with accumulator super-charge protection switch M1 between described storage battery 3 and the described accumulator super-charge/discharge protection circuit 17, storage battery is crossed and put protection switch M2.
Described working procedure control device 18 comprises MCU and is connected with corresponding DLL (dynamic link library), reset switch and input and output auxiliary terminal.
In the present embodiment, specific design and making principle and method are as follows:
One, logic and function specification
1, but solar cell, electric main, storage battery three power and import arrangement.Described electric main is meant electric network source, and it is the DC power supply that comprises through after the Switching Power Supply, the maximum configurable 300W of solar cell, storage battery maximum configured 130AH/12V.Suggestion according to qualifications be configured to solar cell 100W, storage battery 65AH/12V.Being combined as of this controller support: civil power; Storage battery; Civil power+storage battery; Solar cell+storage battery; Civil power+solar cell+various configuration modes such as storage battery is not in addition supported the solar-electricity pool mode, and civil power+solar-electricity pool mode is equal to and only connects city's power mode.
2, storage battery is supported solar cell and two kinds of charging modes of civil power, and solar cell adopts floating charge, civil power to adopt and all presses charging, and is standby each other.The preferential solar cell that uses charges a battery and electric; treat to change by civil power after solar cell power inadequately and charge a battery and electric; solar cell power judges that voltage is 18.5V; if surpass this voltage then by rechargeable solar battery; otherwise change by commercial power charged, controller possesses the accumulator super-charge protection, and protection voltage is 14.4V; and provide the led state indication, protect to extinguishing state.Stop charging after the protection, by battery discharging, discharge causes 13.2V and recovers charging.
3, when not having under solar cell and the city's electricity condition by the storage battery powering load, possess storage battery and cross and put protection, disconnect output voltage, stop powering load, protection voltage is 11V, and provides led state and indicate, and protects to extinguishing state.Cross put protection after, storage battery continues to power-supply controller of electric power supply, when the storage battery of configuration 130AH/12, crosses and puts the protection back and put an experience protection point 10.5V to the real mistake of storage battery, can keep power supply self to work at least 7 days.
4, can charge a battery behind solar cell or city power recovery, recovery voltage was exported after battery tension surpassed 11.4V, but the load operate as normal realizes self-starting function.
5, the power supply of local control unit is let alone a power supply by civil power, solar cell, storage battery three.
6, output voltage is that ((4.5V~5.5V), the output maximum load current is 10A to 12VDC for 10.5V~14.5V) and 5VDC.Also have 1 the tunnel in addition by wire jumper selection 12V or the controlled output of 5V, the output maximum load current is 3A.Each delivery outlet possesses short circuit/overload protection function.
7, accumulator charging and discharging state, whether charging type, battery tension, civil power the detection of information such as power down, and realize and the upper level control unit carries out data communication by above-mentioned serial communication circuit 15, can receive control command in addition simultaneously, realize local control.
8, also have in addition programming port and reset switch to MCU on the panel construction, it all is that connector by the power supply box panel is from the outside access of power supply box that solar cell, storage battery and 220VAC exchange input.In the power supply design, need new design E-PMB power management veneer, support DC/DC module and necessary input, output interface on the veneer, veneer and Switching Power Supply constitute power-supply controller of electric jointly, realize connecting by line between the two.
Two, operation design
1, running
The design is main to be to have realized solar cell, electric main, storage battery three management of charging and discharging, and the power supply running status is carried out data communication by serial communication circuit 15 and upper strata control unit.Wherein the concrete running that discharges and recharges of power supply is as follows:
1), system preferentially adopts the solar cell pond and charges a battery and electric;
2), switch to that electric main charges a battery and electric during the underpower of solar cell pond;
3), automatically switch to storage battery output discharge powering load under solar cell pond deficiency and the electric main off-position.
2, system logic flow process
Specifying of system's operation is following (disposes with change after the power supply input powers on when configuring; press reset key and restart, K1 solar cell tank discharge relay, K2 be city's discharge of electricity relay, M1 be accumulator super-charge protection switch, M2 be storage battery cross put protection switch):
When being the combination of solar cell pond+Switching Power Supply+storage battery, start self-check program (as shown in Figure 3) at initial condition working procedure control device 18, check and whether be furnished with civil power and storage battery.Start main program (as shown in Figure 2) then; the electric main state is detected in the back powering on; then K1 disconnection of electric main is arranged; the K2 closure; AD changes (its AD flow path switch as shown in Figure 4); M1; the M2 closure; charge a battery and export to power devices (then power devices is given in solar cell pond and storage battery if having a power failure) by civil power; examine the solar cell cell voltage again; after its voltage is more than or equal to 18.5V; move the K1 closure this moment; K2 disconnects; changing the solar cell pond charges a battery and gives power devices; detect the accumulator cell charging and discharging electric current afterwards; if charging current is then kept and this electric current of cycle detection; if discharging current; examine the solar cell cell voltage this moment; judge whether be the accumulator super-charge protection; if there is not over-charge protective; detect electric main this moment once more; if the then relay above detection of being failure to actuate and circulating of no electric main; if there is electric main then to move K1 for disconnecting; K2 is closed; charge a battery and give power devices by Switching Power Supply, and regularly examine the solar cell cell voltage once more after 10 minutes and judge that whether can cut the solar cell pond charges a battery.So circulation, in case run into the civil power power down during this time then judge that whether the solar cell pond connects, have then the solar cell pond charge a battery and give power devices together for the not enough and storage battery of power devices solar cell pond power), do not have then and discharge by storage battery output.
Certainly system also can support following configuration compound mode, is respectively civil power, storage battery, civil power+storage battery:
1), civil power.Normally be K1 disconnection, K2 closure, M1, M2 closure, all the time by civil power output 14V powering load.
2), storage battery.Normal is that K1 closure, K2 disconnect, and M1, M2 closure are by the storage battery powering load, when battery tension surpasses then M1 disconnection over-charge protective of 14.4V.Voltage less than 11V then M2 disconnected and put protection.
3), civil power+storage battery.Normally be K1 disconnection, K2 closure, M1, M2 closure.Charge a battery and electric by civil power, when civil power outage then by the storage battery powering load, battery tension less than 11V then M2 disconnected and put protection.
4) solar cell pond+storage battery.Normal is that K1 closure, K2 disconnect, M1, M2 closure, and the solar cell pond charges a battery and electric, when the storage battery electricity surpasses then M1 disconnection over-charge protective of 14.4V, the storage battery powering load is arranged.Battery tension after less than 13.2V closed M1 recover charging; During solar cell pond underpower by storage battery solar cell pond powering load together, when battery tension less than 11V then M2 disconnected and put protection, battery tension recovers that then closed M2 recovers powering load more than 11.4V.