SUMMERY OF THE UTILITY MODEL
In order to overcome the defects of the prior art, one of the objectives of the present invention is to provide a charging circuit, which has a simple structure and a low cost.
The utility model discloses an one of the purpose adopts following technical scheme to realize:
a charging circuit comprises a direct current source and a constant current circuit, wherein the direct current source outputs a target current through the constant current circuit to charge an external energy storage device; the charging circuit comprises a charging device, a constant current circuit and a charging device, wherein the charging device comprises a charging circuit, a charging circuit and a power supply circuit, the charging circuit comprises at least two constant current sub-circuits, the input ends of the at least two constant current sub-circuits are connected to a direct current source, the output ends of the at least two constant current sub-circuits are connected to the input end of a selection circuit, and the selection circuit is used for selecting one constant current sub-circuit to enable the output current of the selected constant current sub-circuit to be output to the energy storage.
Further, the constant current circuit comprises a first constant current sub-circuit and a second constant current sub-circuit; the first constant current sub-circuit comprises a first resistor, one end of the first resistor is connected to a direct current source, and the other end of the first resistor is connected to the input end of the selection circuit; the second constant current sub-circuit comprises a second resistor, one end of the second resistor is connected to the direct current source, and the other end of the second resistor is connected to the input end of the selection circuit.
Further, the selection circuit comprises an analog switch, the analog switch is provided with two input ends, the two input ends of the analog switch are respectively connected to the output end of the first constant current sub-circuit and the output end of the second constant current sub-circuit, and the output end of the analog switch is connected to the input end of the switch circuit.
Furthermore, the analog switch is a single-pole double-throw switch, two static contacts of the single-pole double-throw switch are respectively connected to the output end of the first constant current sub-circuit and the output end of the second constant current sub-circuit, and a movable contact of the single-pole double-throw switch is connected to the input end of the switch circuit;
or;
the analog switch is a chip BL1551, two input ends of the chip BL1551 are respectively connected to the output end of the first constant current sub-circuit and the output end of the second constant current sub-circuit, and the output end of the chip BL1551 is connected to the input end of the switch circuit; the enable end of the chip BL1551 is connected to an external enable signal.
Furthermore, the switch circuit comprises an electronic switch, a third resistor and a first PNP triode, a power supply end of the electronic switch is connected to a direct current source or an external auxiliary power supply, an output end of the electronic switch is connected to a base electrode of the first PNP triode, and an enable end of the electronic switch is connected to an external control signal through the third resistor; and the emitter of the first PNP triode is connected to the output end of the selection circuit, and the collector of the first PNP triode is connected to the energy storage device.
Further, the electronic switch is a chip MAX 40200.
Further, the switch circuit further comprises a second PNP triode, an emitter of the second PNP triode is connected to the direct current source, a base of the second PNP triode is connected to an emitter of the first PNP triode, and a collector of the second PNP triode is connected to the power supply end of the chip MAX 40200.
Furthermore, the charging circuit further comprises a normally-on constant current circuit, an input end of the normally-on constant current circuit is connected to the direct current source, and an output end of the normally-on constant current circuit is connected to the energy storage device.
Further, the normally-on constant current circuit comprises a fourth resistor, a third PNP triode, a fourth PNP triode and a fifth resistor, wherein an emitting electrode of the third PNP triode is connected to a direct current source through the fourth resistor, a collecting electrode of the third PNP triode is connected to the energy storage device, an emitting electrode of the fourth PNP triode is connected to the direct current source, a collecting electrode of the fourth PNP triode is grounded through the fifth resistor, a base electrode of the fourth PNP triode is connected between the fourth resistor and the emitting electrode of the third PNP triode, and a base electrode of the third PNP triode is connected between the fifth resistor and the collecting electrode of the fourth PNP triode.
A second object of the present invention is to provide a charging device, which has a simple structure and a low cost. The method comprises the following steps: a charging device comprises a housing and a charging circuit according to one of the objects of the present invention; the charging circuit is located on a circuit board in the housing.
The third objective of the present invention is to provide a terminal, which has a simple structure and a low cost. The method comprises the following steps: a terminal, it includes one of the objects of the present invention a charging circuit.
Compared with the prior art, the beneficial effects of the utility model reside in that:
the utility model discloses a multichannel constant current sub circuit parallel connection form is connected to the direct current source on, is controlled multichannel constant current sub circuit by selection circuit and switch circuit again to the realization adopts different charging current for the different stages that energy storage device charges, its simple structure, and is with low costs, and charging circuit's consumption is also low itself.
Example one
Referring to fig. 1, a charging circuit includes adc source 10 and a constant current circuit, where the dc source outputs a target current through the constant current circuit to charge an external energy storage device. In the preferred embodiment of the present invention, the constant current circuit includes at least two constant current sub-circuits, and aselection circuit 50 and aswitch circuit 60 are further disposed in the charging circuit, the constant current sub-circuits are connected in parallel, that is, the input terminals of the constant current sub-circuits are all connected to the dc source, and the output terminals are all connected to the input terminals of the selection circuit, the selection circuit is used for selecting the output current of one of the constant current sub-circuits via the switch circuit is connected to the energy storage device to charge theenergy storage device 70.
The mode of selecting a certain constant current sub-circuit by the selection circuit can be any one of the following modes: one is carried out according to the length of charging time, namely, a plurality of time nodes are set (timing is carried out from the beginning of charging), and corresponding constant current sub-circuits are selected at the corresponding time nodes; and secondly, selecting a corresponding constant current sub-circuit under corresponding electric quantity according to the electric quantity condition of the energy storage device. Of course, the selection can also be done manually.
The switching circuit is mainly used for selecting whether the constant current sub-circuits are charged or not, and generally, the connection between the selection circuit and the energy storage device is disconnected only when the energy storage device is charged. Of course, in some special occasions, the electric quantity can be preset for the energy storage device, and when the electric quantity of the energy storage device meets the preset electric quantity, the connection between the selection circuit and the energy storage device is disconnected through the switch circuit.
The direct current source is realized by an AC-DC circuit. Referring to fig. 2 and 3, the AC-DC circuit includes a rectifyingcircuit 11, atransformer 12, and afreewheeling circuit 13, wherein an input terminal of the rectifying circuit is connected to an external AC power source, an output terminal of the rectifying circuit outputs a first target voltage (i.e., an output voltage of a DC source, and a target current is output through a constant current circuit to charge an external energy storage device) through the transformer and the freewheeling circuit, and the AC-DC circuit further includes aswitch controller 15 and afeedback circuit 14, wherein the switch controller is a chip LNK362 or LNK363 or LNK 364; the source electrode pin of the switch controller is connected to the output end of the rectifying circuit, the drain electrode pin of the switch controller is connected to the control end of the transformer, the input end of the feedback circuit is connected to the output end of the follow current circuit, and the output end of the feedback circuit is connected to the feedback pin of the switch controller.
The switch controller adopts one of micro-power consumption chips LNK362, LNK363 and LNK364 to adjust the first target voltage, so as to ensure the stability of the output of the first target voltage and realize the limitation of the power consumption of the AC-DC circuit. The LNK362, LNK363, and LNK364 are selected according to the requirements of the first target voltage, for example, if the first target voltage is 5V, the LNK363 chip may be selected.
An external alternating current power supply (such as mains supply) is rectified by a rectifying circuit to form a high-voltage direct current signal, the high-voltage direct current signal is converted by a transformer and then is subjected to voltage reduction, and then the high-voltage direct current signal is rectified by a follow current circuit to form a first target voltage, namely the required voltage for charging electric equipment. The feedback circuit samples the first target voltage, and the first target voltage is adjusted through the switching performance of the switch controller, so that the purpose of voltage stabilization is achieved.
Referring to fig. 3, the rectifying circuit is a full-wave rectifying bridge. The input end of the full-wave rectifier bridge is connected to an external alternating current power supply, namely the commercial power, and a plurality of rectifier circuits can be arranged according to the condition of the commercial power of different countries, and are connected in parallel and connected with the corresponding commercial power. Of course, a plurality of rectifying circuits are connected in parallel, and redundant power supply of a plurality of external alternating-current power supplies can also be realized. An EMC circuit can be arranged between the full-wave rectifier bridge and an external alternating current power supply according to requirements so as to improve the electromagnetic compatibility of the AC-DC circuit.
Still can be first filter circuit between rectifier circuit and the transformer, first filter circuit is low pass filter circuit the utility model discloses in the embodiment of preferred, adopt RC low pass filter. Namely, the first filter circuit comprises a resistor R14 and a capacitor C4, and the positive output end of the full-wave rectifier bridge is connected to the source electrode pin of the switch controller after passing through a resistor R14 and a capacitor C4; the negative output end of the full-wave rectifier bridge is connected to a source electrode pin of the switch controller; the positive output end of the full-wave rectifier bridge is connected to the input end of the transformer through a resistor R14.
The transformer comprises a primary winding, a secondary winding and an auxiliary winding, wherein the dotted terminal of the primary winding is connected to a drain electrode pin of the switch controller; the synonym terminal of the primary winding is connected between a resistor R14 and a capacitor C4; the dotted terminal of the secondary winding outputs a first target voltage through a follow current circuit; and the synonym end of the secondary winding is grounded. The auxiliary winding is matched with an auxiliary circuit and is mainly used for filtering and absorbing leakage inductance, the auxiliary circuit comprises a capacitor CP4, a capacitor C112, a diode D8 and a resistor R26, wherein the dotted terminal of the auxiliary winding is connected to the negative output end of the full-wave rectifier bridge, the unlike terminal of the auxiliary winding is connected to a bypass pin of the switch controller through the diode D8 and the resistor R26, one end of the capacitor CP4 and the capacitor C112 after being connected in parallel is connected between the diode D8 and the resistor R26, and the other end of the capacitor CP4 and the capacitor C112 after being connected in parallel is connected to the negative output end of the full-wave.
The free-wheeling circuit mainly comprises a diode D4 and a capacitor CP1, wherein the anode of the diode D4 is connected to the dotted terminal of the secondary winding, the anode of the capacitor CP1 is connected to the cathode of the diode D4, and the cathode of the capacitor CP1 and the dotted terminal of the secondary winding are both grounded.
A second filter circuit and an anti-reverse diode D5 are further arranged at the output end of the freewheeling circuit, wherein the anode of the anti-reverse diode D5 is connected between the cathode of the diode D4 and the anode of the capacitor CP1, and the cathode of the anti-reverse diode D5 outputs a first target voltage through the second filter circuit; in the preferred embodiment of the present invention, three filter capacitors are adopted, namely, capacitor CP2, capacitor C2 and capacitor C3, wherein one end of capacitor CP2, capacitor C2 and capacitor C3 is connected to the negative electrode of anti-reverse diode D5, and the other end is grounded.
The feedback circuit comprises a voltage division circuit, an optocoupler and a voltage stabilizing circuit, wherein the voltage division circuit comprises a resistor R37 and a resistor R38; the voltage stabilizing circuit comprises a resistor R39, a capacitor C6, a voltage stabilizing tube U8 and a resistor R40, wherein one end of the resistor R37 is connected to the output end of the follow current circuit (the cathode of a diode D4); the other end of the resistor R37 is connected to the cathode of a voltage regulator tube U8 through a resistor R38; the input end of the optical coupler is connected between the resistor R37 and the resistor R38, and the output end of the optical coupler is connected to a feedback pin of the switch controller. The cathode of the voltage regulator tube U8 is also connected to the output end of the follow current circuit through a capacitor C6 and a resistor R39; the reference end of the voltage regulator tube U8 is connected between the resistor R39 and the capacitor C6, one end of the resistor R40 is grounded, and the other end of the resistor R40 is connected between the resistor R39 and the capacitor C6.
The switch controller internally comprises a 700V MOSFET and a controller thereof (called as a MOSFET controller), and a high-voltage current source internally connected to a drain electrode of the switch controller provides bias current in a starting stage, so that an external starting circuit is omitted. An oscillator integrated within the switch controller can provide 132KHz output pulses to the output MOSFET.
The switch controller also integrates some functions for system level protection. The auto-restart function may limit power dissipation in the MOSFETs, transformers, and output diodes (diode D8) under overload, output short circuit, or open loop conditions. The auto-recovery hysteresis thermal shutdown function may also disable the MOSFET switch when the temperature exceeds a safety limit.
The working principle is as follows: the switch controller converts the high-voltage direct current signal output by the first rectifier diode (via the first filter circuit) into a pulse signal of 132KHz by controlling the internal MOSFETs to be continuously switched on and off. When the MOSFET is turned on, the current flowing in the primary winding of the transformer increases to reach the peak value Ip. When the MOSFET is turned on and off, the flyback voltage causes the output diode to enter a conducting state, energy stored in the auxiliary winding is transferred to the secondary, providing load current, and charging the freewheeling capacitor (CP 4). The duty ratio of the pulse signal output by the switch controller can be adjusted through the feedback circuit, so that the size of the peak current Ip is adjusted, and the voltage-stabilizing output effect is achieved.
In order to meet the requirement voltage of other devices, in the preferred embodiment of the present invention, a voltage stabilizingoutput circuit 16 is further provided for converting the first target voltage into a second target voltage (voltage for supplying power to the charging device or other devices at the terminal), for example, the first target voltage is 5V, and the second target voltage is 3.3V. Referring to fig. 4, the voltage stabilizing output circuit includes a voltage stabilizer, an input filter circuit and an output filter circuit, an input end of the voltage stabilizer is connected to an output end of the follow current circuit, an output end of the voltage stabilizer outputs a second target voltage, the input filter circuit is connected between the output end of the follow current circuit and the input end of the voltage stabilizer, and the output filter circuit is connected to the output end of the voltage stabilizer.
The voltage stabilizer can adopt HT7550 and the like, and the input filter circuit and the output filter circuit can be one or more filter capacitors. When a plurality of filter capacitors are adopted, the filter capacitors are connected in parallel and then connected to corresponding positions.
In the preferred embodiment of the present invention, two paths of constant current sub-circuits are taken as an example, namely, the first constant current sub-circuit 20 and the second constant current sub-circuit 30. The constant current sub-circuit in other cases is basically the same as the realization process.
Referring to fig. 5, the first constant current sub-circuit 20 includes a first resistor (resistor R112), one end of the first resistor is connected to the dc source, and the other end of the first resistor is connected to the input end of the selection circuit; the second constant current sub-circuit comprises a second resistor (resistor R215), one end of the second resistor is connected to the direct current source, and the other end of the second resistor is connected to the input end of the selection circuit.
The output currents of the first constant current sub-circuit and the second constant current sub-circuit are related to the resistance values of the first resistor and the second resistor, different resistance values can be set according to different requirements, the output currents of the first constant current sub-circuit and the second constant current sub-circuit can be equal, but the situation has no practical significance. Therefore, in a preferred embodiment of the present invention, the resistances of the first resistor and the second resistor are different, for example, the output current of the first constant current sub-circuit is 6mA, and the output current of the second constant current sub-circuit is 30 mA.
The selection circuit mainly comprises an analog switch, the analog switch is provided with two input ends, the two input ends of the analog switch are respectively connected to the output end of the first constant current sub-circuit and the output end of the second constant current sub-circuit, and the output end of the analog switch is connected to the input end of the switch circuit.
The analog switch can adopt a single-pole double-throw switch, two static contacts of the single-pole double-throw switch are respectively connected to the output end of the first constant current sub-circuit and the output end of the second constant current sub-circuit, a movable contact of the single-pole double-throw switch is connected to the input end of the switch circuit, and the output selection of the manual control constant current circuit can be realized by adopting the single-pole double-throw switch.
In a preferred embodiment of the present invention, please refer to fig. 6, the analog switch employs a chip BL1551 (chip U22), two input terminals of the chip BL1551 are respectively connected to an output terminal of the first constant current sub-circuit and an output terminal of the second constant current sub-circuit, and an output terminal of the chip BL1551 is connected to an input terminal of the switching circuit; the enable end of the chip BL1551 is connected to an external enable signal.
The external enable signal can be realized by a microprocessor, such as a single chip microcomputer, and the like, that is, a corresponding time threshold (when the constant current sub-circuit is selected by charging time) or a corresponding electric quantity threshold (when the constant current sub-circuit is selected by charging electric quantity of the energy storage device) is stored in the microprocessor. When the selection is realized by the charging time, the clock of the microprocessor times when the charging is started, and when the timing time reaches the corresponding time threshold, the corresponding constant current sub-circuit is selected; when the selection is realized by the charging electric quantity, the microprocessor collects the electric quantity condition of the energy storage device, and when the electric quantity condition reaches the corresponding electric quantity threshold value, the corresponding constant current sub-circuit is selected.
The microprocessor only compares the collected information with a stored threshold value, so as to output a corresponding level signal (high level or low level) as an enable signal to control an enable end of the chip BL1551, and the improvement of software is not involved. The output end of the chip BL1551 is the input current of a certain input end of the chip BL1551, and the chip BL1551 can also be called a single-pole double-throw switch capable of realizing automatic control.
Referring to fig. 5 and 7, the switch circuit mainly includes an electronic switch, a third resistor (resistor R90) and a first PNP transistor (transistor Q10). The electronic switch adopts a chip MAX40200 (a chip U18, and certainly, other forms of electronic switches such as a triode, an MOS transistor and the like can be adopted), a power supply end of the chip MAX40200 is connected to a direct current source or an external auxiliary power supply, an output end of the chip MAX40200 is connected to a base electrode of a first PNP triode, and an enabling end of the chip MAX40200 is connected to an external control signal through a third resistor (the enabling end can also be generated by a microprocessor which compares the collected electric quantity of the energy storage device with a preset electric quantity threshold value for controlling the chip MAX40200 to generate a control signal); and the emitter of the first PNP triode is connected to the output end of the selection circuit, and the collector of the first PNP triode is connected to the energy storage device.
When the control signal is at a high level, the first PNP triode is conducted, the current output by the selection circuit flows to the collector electrode through the emitter electrode of the first PNP triode and then charges the energy storage device, and when the control signal is at a low level, the first PNP triode is cut off, and the constant current sub-circuit cannot charge the energy storage device.
In the preferred embodiment of the present invention, the switch circuit further includes a second PNP triode (triode Q11), an emitter of the second PNP triode is connected to the dc source, a base of the second PNP triode is connected to an emitter of the first PNP triode, and a collector of the second PNP triode is connected to the power source terminal of the chip MAX 40200.
In the preferred embodiment of the present invention, the power supply further comprises a normally-on constantcurrent circuit 40, wherein an input end of the normally-on constant current circuit is connected to the dc source, and an output end of the normally-on constant current circuit is connected to the energy storage device. The normally-on constant current circuit preferably outputs a smaller current than the above-described constant current sub-circuit, which always charges the energy storage device as long as a direct current source is present.
Referring to fig. 8, the normally-on constant current circuit includes a fourth resistor (resistor R109), a third PNP transistor (transistor Q7), a fourth PNP transistor (transistor Q8), and a fifth resistor (resistor R11), an emitter of the third PNP transistor is connected to the dc source through the fourth resistor, a collector of the third PNP transistor is connected to the energy storage device, an emitter of the fourth PNP transistor is connected to the dc source, a collector of the fourth PNP transistor is grounded through the fifth resistor, a base of the fourth PNP transistor is connected between the fourth resistor and the emitter of the third PNP transistor, and a base of the third PNP transistor is connected between the fifth resistor and the collector of the fourth PNP transistor.
The multi-path constant current sub-circuit is connected to the direct current source in a parallel connection mode, and then the multi-path constant current sub-circuit is controlled by the selection circuit and the switch circuit, so that different charging currents are adopted for different stages of charging of the energy storage device, the structure is simple, the cost is low, and meanwhile, the power consumption of the charging circuit is reduced.