Disclosure of Invention
Therefore, it is necessary to provide an intelligent charging system and a control method thereof, aiming at the problem that the existing charger can only charge the corresponding device to be charged and has no universality.
An intelligent charging system comprises a charging port, a switch module and a single chip microcomputer. The charging port is used for being connected with equipment to be charged. The charging port generates a residual voltage signal. The switch module comprises a power input end, a power output end and a signal receiving end. The power input end is used for being connected with a power supply. The power output is connected with the charging port.
The charging port and the signal receiving end are respectively connected with the single chip microcomputer. The single chip microcomputer is used for collecting the residual voltage signal. Full electric signals are preset in the single chip microcomputer. And the singlechip is used for obtaining a control signal according to the residual voltage signal and the full electric signal. The switch module is used for receiving the control signal through the signal receiving end. The control signal controls the switch module to be conducted. The power supply charges the device to be charged.
In one embodiment, the switching module includes a conduction circuit and a control circuit. The conduction circuit includes the power input terminal, the power output terminal, and a signal control terminal. The control circuit comprises the signal receiving end and a signal output end. The signal control end is connected with the signal output end. The control circuit is used for controlling the conduction circuit to be conducted according to the control signal.
In one embodiment, the control circuit is a PMOS tube. And the drain electrode of the PMOS tube is connected with the signal control end. And the source electrode of the PMOS tube is grounded. And the grid electrode of the PMOS tube is connected with the singlechip. And the singlechip inputs the control signal into the PMOS tube to control the conduction of the drain electrode and the source electrode.
In one embodiment, the smart charging system further comprises a first voltage dividing resistor and a second voltage dividing resistor. The first voltage-dividing resistor comprises a first voltage-dividing end and a second voltage-dividing end. The first voltage division terminal is connected between the power output terminal and the charging port. And the second voltage division end is connected with the singlechip. The second voltage-dividing resistor comprises a third voltage-dividing end and a fourth voltage-dividing end. The third voltage division end is connected with the second voltage division end. The fourth voltage division end is grounded.
In one embodiment, the intelligent charging system further comprises a reverse protection circuit. The reverse protection circuit is connected between the first voltage division end and the power output end. The reverse protection circuit is used for preventing current from reversely flowing.
In one embodiment, the reverse protection circuit is a diode. The diode includes a first cut-off terminal and a second cut-off terminal. The first cut-off terminal is connected to the power output terminal. The second cut-off end is connected with the first voltage dividing end.
In one embodiment, the intelligent charging system further comprises a voltage stabilizing circuit. The voltage stabilizing circuit is connected between the first cut-off end and the power output end.
In one embodiment, the voltage stabilizing circuit comprises a filter circuit and a tank circuit. The filter circuit is connected between the first cut-off terminal and the power output terminal. One end of the energy storage circuit is connected between the filter circuit and the power output end, and the other end of the energy storage circuit is grounded.
In one embodiment, the filter circuit includes an inductor and a first capacitor. The inductor includes a first inductor terminal and a second inductor terminal. The first inductor terminal is connected to the power output terminal. The second inductor terminal is connected to the first off terminal. The first capacitor includes a first capacitor end and a second capacitor end. The first capacitor end is connected with the first inductor end. The second capacitor end is grounded.
In one embodiment, the filter circuit further comprises a second capacitor. The second capacitor is connected in parallel with the first capacitor.
In one embodiment, the tank circuit includes a schottky diode. One end of the Schottky diode is connected between the filter circuit and the power output end. The other end of the Schottky diode is grounded.
A control method of the intelligent charging system according to any one of the above embodiments includes:
and the singlechip acquires the residual voltage of the equipment to be charged and obtains the residual voltage signal.
The full electric signal is preset in the single chip microcomputer.
And the singlechip outputs the control signal according to the residual voltage signal and the full electric signal.
The control signal controls the switch module to be conducted, and the power supply charges the equipment to be charged.
The intelligent charging system that this application embodiment provided includes charging port, switch module and singlechip. The charging port is used for being connected with equipment to be charged. The charging port generates a residual voltage signal. The switch module comprises a power input end, a power output end and a signal receiving end. The power input end is used for being connected with a power supply. The power output is connected with the charging port. The charging port and the signal receiving end are respectively connected with the single chip microcomputer. The single chip microcomputer is used for collecting the residual voltage signal. Full electric signals are preset in the single chip microcomputer. And the singlechip is used for obtaining a control signal according to the residual voltage signal and the full electric signal. The switch module is used for receiving the control signal through the signal receiving end. The control signal controls the switch module to be conducted. The power supply charges the device to be charged.
The intelligent charging system compares the residual voltage signal with the full electric signal through the single chip microcomputer to control whether the switch module is conducted or not, and then the power supply is controlled to charge the equipment to be charged. Full electric signals are preset in the single chip microcomputer. The preset full electric signals are different, and the switch-on conditions of the switch modules are different. The single chip microcomputer is used for charging the devices to be charged with different rated voltages by setting different full electric signals. The intelligent charging system can charge different devices to be charged, and is high in universality.
Drawings
Fig. 1 is an electrical schematic diagram of the intelligent charging system provided in one embodiment of the present application;
fig. 2 is a circuit diagram of the intelligent charging system provided in an embodiment of the present application.
Reference numerals:
intelligent charging system 10
Chargingport 20
Device to be charged 110
Switch module 30
Power supply 100
Signal receivingterminal 301
Single chip microcomputer 50
Conduction circuit 310
Power input 311
Power output 312
Signal control terminal 313
Control circuit 320
Signal output terminal 321
Drain electrode 322
Source electrode 323
Gate 324
First divider resistor 610
Firstvoltage dividing end 611
Secondvoltage dividing terminal 612
Secondvoltage dividing resistor 620
Thirdvoltage dividing terminal 621
Fourthvoltage dividing terminal 622
Reverse protection circuit 70
First cutend 701
Second cut-offend 702
Voltage stabilizing circuit 80
Filter circuit 800
Energy storage circuit 900
Inductor 810
First inductor terminal 811
Second inductor terminal 812
First capacitor 820
First capacitor terminal 821
Second capacitor terminal 822
Second capacitor 830
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, embodiments accompanying the present application are described in detail below with reference to the accompanying drawings. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. This application is capable of embodiments in many different forms than those described herein and those skilled in the art will be able to make similar modifications without departing from the spirit of the application and it is therefore not intended to be limited to the embodiments disclosed below.
The numbering of the components as such, e.g., "first", "second", etc., is used herein for the purpose of describing the objects only, and does not have any sequential or technical meaning. The term "connected" and "coupled" when used in this application, unless otherwise indicated, includes both direct and indirect connections (couplings). In the description of the present application, it is to be understood that the terms "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", and the like, indicate orientations or positional relationships based on those shown in the drawings, and are used only for convenience in describing the present application and for simplicity in description, and do not indicate or imply that the devices or elements referred to must have a particular orientation, be constructed in a particular orientation, and be operated, and thus, are not to be considered as limiting the present application.
In this application, unless expressly stated or limited otherwise, the first feature "on" or "under" the second feature may be directly contacting the first and second features or indirectly contacting the first and second features through intervening media. Also, a first feature "on," "over," and "above" a second feature may be directly or diagonally above the second feature, or may simply indicate that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature may be directly under or obliquely under the first feature, or may simply mean that the first feature is at a lesser elevation than the second feature.
Referring to fig. 1, an embodiment of the present application provides anintelligent charging system 10, which includes a chargingport 20, aswitch module 30, and asingle chip 50. The chargingport 20 is used for connecting with adevice 110 to be charged. The chargingport 20 generates a residual voltage signal. Theswitch module 30 includes apower input 311, apower output 312, and asignal receiving end 301. Thepower input 311 is used for connecting with thepower supply 100. Thepower output 312 is connected to the chargingport 20.
The chargingport 20 and thesignal receiving terminal 301 are respectively connected to thesingle chip microcomputer 50. Thesingle chip microcomputer 50 is used for collecting the residual voltage signal. The full electric signal is preset in thesinglechip 50. Thesingle chip microcomputer 50 is used for obtaining a control signal according to the residual voltage signal and the full electric signal. Theswitch module 30 is configured to receive the control signal through the signal receiving terminal. The control signal controls theswitch module 30 to be turned on. Thepower supply 100 charges the device to be charged 110.
In theintelligent charging system 10 provided in the embodiment of the present application, thesingle chip microcomputer 50 compares the residual voltage signal with the full-power signal to control whether theswitch module 30 is turned on or not, so as to control thepower supply 100 to charge the device to be charged 110. The full electric signal is preset in thesinglechip 50. The preset full electrical signals are different, and theswitch modules 30 are different in conduction condition. Thesingle chip microcomputer 50 charges the devices to be charged 110 with different rated voltages by setting different full-power signals. Theintelligent charging system 10 can charge different devices to be charged 110, and the universality is high.
The chargingport 20 is used for connecting with a device to be charged 110 to obtain an internal voltage value of the device to be charged 110. Thesingle chip microcomputer 50 is configured to detect a remaining voltage value inside the chargingdevice 110 and control whether to charge thecharging device 110.
In one embodiment, thesingle chip microcomputer 50 is model STM12F427.100. Thesingle chip microcomputer 50 is internally provided with an analog-digital conversion module. The analog-to-digital conversion module is configured to convert an analog signal of the residual voltage introduced by the chargingport 20 into a digital signal, so as to detect the residual power of thecharging device 110.
Thesingle chip 50 includes a storage module. The storage module is used for storing the full electric signal.
Thesingle chip 50 includes a pulse width modulation module. The pulse modulation module is respectively connected with the analog-to-digital conversion module and the storage module and is used for outputting the control signal according to the residual voltage signal and the full electric signal. The control signal is a pulse width modulation signal.
Referring also to fig. 2, in one embodiment, theswitch module 30 includes a turn-oncircuit 310 and acontrol circuit 320. The oncircuit 310 includes thepower input terminal 311, thepower output terminal 312 and asignal control terminal 313. Thecontrol circuit 320 includes thesignal receiving terminal 301 and asignal output terminal 321. Thesignal control terminal 313 is connected to thesignal output terminal 321. Thecontrol circuit 320 is configured to control the turn-oncircuit 310 to turn on according to the control signal.
In one embodiment, thecontrol circuit 320 is a PMOS transistor. Thedrain 322 of the PMOS transistor is connected to thesignal control terminal 313. The source electrode 323 of the PMOS tube is grounded. Thegrid 324 of the PMOS tube is connected with thesingle chip microcomputer 50. Thesingle chip microcomputer 50 inputs the control signal into the PMOS transistor to control the conduction between thedrain electrode 322 and thesource electrode 323.
The pwm signal controls the switch of the PMOS transistor to control whether theswitch module 30 is turned on or off.
In one embodiment, thesmart charging system 10 further includes a first voltage-dividingresistor 610 and a second voltage-dividingresistor 620. The firstvoltage dividing resistor 610 includes a firstvoltage dividing terminal 611 and a secondvoltage dividing terminal 612. The firstvoltage dividing terminal 611 is connected between thepower output terminal 312 and the chargingport 20. The secondvoltage dividing end 612 is connected with thesingle chip microcomputer 50. The second voltage-dividingresistor 620 includes a third voltage-dividingterminal 621 and a fourth voltage-dividingterminal 622. The thirdvoltage dividing terminal 621 is connected to the secondvoltage dividing terminal 612. The fourthvoltage dividing terminal 622 is grounded.
The firstvoltage dividing resistor 610 and the secondvoltage dividing resistor 620 divide the remaining voltage of the device to be charged 110, so as to reduce the voltage input to thesingle chip microcomputer 50 and protect thesingle chip microcomputer 50 from being damaged.
In one embodiment, theintelligent charging system 10 further includes areverse protection circuit 70. Thereverse protection circuit 70 is connected between the firstvoltage division terminal 611 and thepower output terminal 312. Thereverse protection circuit 70 is used to prevent the reverse current flow to avoid the reverse current surge during power failure.
In one embodiment, thereverse protection circuit 70 is a diode. The diode includes a first cut-offterminal 701 and a second cut-offterminal 702. Thefirst cut terminal 701 is connected to thepower output terminal 312. The second cut-offend 702 is connected to the firstvoltage dividing end 611. The device is used for preventing the current from flowing reversely so as to avoid the backflow impact of the current when the power is cut off.
In one embodiment, theintelligent charging system 10 further includes a stabilizingcircuit 80. Thevoltage stabilizing circuit 80 is connected between the first cut-offterminal 701 and thepower output terminal 312. Thevoltage stabilizing circuit 80 is used for stabilizing the charging voltage within a set range.
In one embodiment, thevoltage regulation circuit 80 includes afilter circuit 800 and atank circuit 900. Thefilter circuit 800 is connected between the first cut-offterminal 701 and thepower output terminal 312. One end of thetank circuit 900 is connected between thefilter circuit 800 and thepower output end 312, and the other end of thetank circuit 900 is grounded.
In one embodiment, thefilter circuit 800 includes aninductor 810 and a first capacitor 820. Theinductor 810 includes afirst inductor terminal 811 and asecond inductor terminal 812. Thefirst inductor terminal 811 is connected to thepower output terminal 312. Thesecond inductor terminal 812 is connected to the first cut-offterminal 701. The first capacitor 820 includes afirst capacitor terminal 821 and asecond capacitor terminal 822. Thefirst capacitor terminal 821 is connected to thefirst inductor terminal 811. Thesecond capacitor terminal 822 is grounded. The charging waveform is more stable when theinductor 810 and the first capacitor 820 cooperate with each other.
In one embodiment, thefilter circuit 800 further includes asecond capacitor 830. Thesecond capacitor 830 is connected in parallel with the first capacitor 820.
Thesecond capacitor 830 has a different capacitance from the first capacitor 820, so that waves with different frequencies can be filtered out.
In one embodiment, thetank circuit 900 includes a schottky diode. One end of the schottky diode is connected between thefilter circuit 800 and thepower output end 312. The other end of the Schottky diode is grounded. The Schottky diode can store electric energy, and the buffer capacity of the circuit is improved.
The embodiment of the present application provides a method for controlling theintelligent charging system 10 according to any one of the above embodiments, including:
and S100, thesinglechip 50 collects the residual voltage of the equipment to be charged 110 and obtains the residual voltage signal.
And S200, presetting the full electric signal in thesinglechip 50.
And S300, outputting the control signal by thesinglechip 50 according to the residual voltage signal and the full electric signal.
S400, the control signal controls theswitch module 30 to be turned on, and thepower supply 100 charges the device to be charged 110.
When thebelt charging device 110 is fully charged, thesingle chip microcomputer 50 does not output the pulse width modulation signal. Theswitching module 30 stops conducting. Thepower supply 100 is unable to charge the device to be charged 110.
In one embodiment, the full-power voltage preset in thesingle chip 50 may be different. The full-power voltage preset in thesingle chip microcomputer 50 is matched with the full-power voltage of the device to be charged 110. The preset full-power voltage of thesingle chip microcomputer 50 can be set through a program.
In the control method of theintelligent charging system 10 provided in the embodiment of the present application, thesingle chip microcomputer 50 compares the residual voltage signal with the full-power signal to control whether theswitch module 30 is turned on or off, so as to control thepower supply 100 to charge the device to be charged 110. The full electric signal is preset in thesinglechip 50. The preset full electrical signals are different, and theswitch modules 30 are different in conduction condition. Thesingle chip microcomputer 50 charges the devices to be charged 110 with different rated voltages by setting different full-power signals. Theintelligent charging system 10 can chargedifferent devices 110 to be charged, and the universality of the system is improved.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-described examples merely represent several embodiments of the present application and are not to be construed as limiting the scope of the claims. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.