Disclosure of Invention
The invention provides a portable device and a power management chip thereof, aiming at solving the problem of high system cost in the prior art.
The power management chip is connected with the mobile power interface module, the load module, the power interface module, the energy storage element and the battery, and comprises a third field effect tube, wherein the energy storage element stores electric energy when the third field effect tube is switched on and stops outputting the electric energy; the energy storage element releases electric energy when the third field effect transistor is turned off, and the power management chip comprises a driving module, a control module, a charging module, a feedback module, a voltage conversion module and a fourth field effect transistor;
the control module is connected with a first control end of the feedback module and a second control end of the feedback module, a first output end of the driving module and a second output end of the driving module are respectively connected with a first control end of the voltage conversion module and a second control end of the voltage conversion module, a third output end of the driving module is connected with a grid electrode of the third field-effect tube, the driving module is connected with a grid electrode of the fourth field-effect tube, a third input end of the driving module is connected with an output end module of the feedback module, a first input end of the driving module and a second input end of the driving module are respectively connected with the control module, and a second output end of the voltage conversion module, a drain electrode of the fourth field-effect tube and a first input end of the feedback module jointly form a load voltage output end of the power management chip; the input end of the voltage conversion module and the drain electrode of the third field effect transistor jointly form a power tube drain end of the power management chip, the first output end of the voltage conversion module and the first input end of the feedback module jointly form a power voltage output end of the power management chip, the source electrode of the third field effect transistor forms a grounding end of the power management chip, and the source electrode of the fourth field effect transistor and the input end of the charging module jointly form a power end of the power management chip; the output end of the charging module forms a battery voltage end of the power management chip;
when the power interface module is connected with charging direct current, the power interface module transfers the charging direct current to the charging module and the source electrode of the fourth field effect transistor, the charging module generates charging voltage according to the charging direct current to charge the battery, the control module controls the driving module to drive the fourth field effect transistor to be conducted, and the fourth field effect transistor generates load voltage according to the charging direct current to supply power to the load module;
when the charging direct current is not accessed to the power supply interface module, the control module controls the driving module to drive the third field effect transistor to be switched on and off according to a preset switching duty ratio, the control module drives the driving module to control the voltage conversion module to be switched on, the voltage conversion module generates the load voltage according to the electric energy to supply power to the load module, and generates a mobile power supply voltage according to the electric energy to supply power to an external load connected with the mobile power supply interface module;
the control module generates a first switch control signal or a second switch control signal, and the feedback module drives the driving module to control the voltage conversion module and the fourth field effect transistor to be switched on and off according to a second preset duty ratio according to the load voltage and the first switch control signal; or the feedback module drives the driving module to control the voltage conversion module and the fourth field effect transistor to be switched on and off according to the voltage of the mobile power supply and the second switch control signal and according to a third preset duty ratio.
The invention also provides portable equipment which comprises a mobile power supply interface module, a load module, a power supply interface module, an energy storage element and a battery, and the portable equipment also comprises the power supply management chip.
The technical scheme provided by the invention has the beneficial effects that: according to the invention, the power management chip comprises a third field effect transistor due to the connection with the mobile power interface module, the load module, the power interface module, the energy storage element and the battery, and the energy storage element stores electric energy when the third field effect transistor is switched on and stops outputting the electric energy; the energy storage element releases electric energy when the third field effect transistor is turned off, and the power management chip comprises a driving module, a control module, a charging module, a feedback module, a voltage conversion module and a fourth field effect transistor; (ii) a When the power interface module is connected with charging direct current, the power interface module transfers the charging direct current to the charging module and the source electrode of the fourth field-effect tube, the charging module generates charging voltage according to the charging direct current to charge the battery, the control module controls the driving module to drive the fourth field-effect tube to be conducted, and the fourth field-effect tube generates load voltage according to the charging direct current to supply power to the load module; when the power interface module does not access charging direct current, the control module controls the driving module to drive the third field effect transistor to be switched on and off according to a preset switching duty ratio, the control module drives the driving module to control the voltage conversion module to be switched on, the voltage conversion module generates load voltage according to electric energy to supply power to the load module, and generates mobile power supply voltage according to the electric energy to supply power to an external load connected with the mobile power interface module; the control module generates a first switch control signal or a second switch control signal, and the feedback module drives the driving module to control the voltage conversion module and the fourth field-effect tube to be switched on and off according to the load voltage and the first switch control signal and according to a second preset duty ratio; or the feedback module drives the driving module to control the voltage conversion module and the fourth field effect transistor to be switched on and off according to the voltage of the mobile power supply and the second switch control signal and according to a third preset duty ratio; the mobile power supply and the load module share one inductor, and the functions of the mobile power supply and the load can work simultaneously, so that the system cost is reduced.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
Fig. 3 shows a module structure of a power management chip of a portable device according to an embodiment of the present invention, and for convenience of description, only the parts related to the embodiment of the present invention are shown, and the details are as follows:
a power management chip 01 is connected with a mobile power interface module 02, a load module 03, a power interface module 04, an energy storage element 05 and a battery BAT, and comprises a third field-effect tube M3, wherein the energy storage element 05 stores electric energy when the third field-effect tube M3 is switched on and stops outputting the electric energy; the energy storage element 05 releases electric energy when the third fet M3 is turned off, and the power management chip includes a driving module 011, a control module 012, a charging module 013, a feedback module 014, a voltage conversion module 015, and a fourth fet M4.
The control module 012 is connected to a first control end of the feedback module 014 and a second control end of the feedback module 014, a first output end of the drive module 011 and a second output end of the drive module 011 are connected to a first control end of the voltage conversion module 015 and a second control end of the voltage conversion module 015 respectively, a third output end of the drive module 011 is connected to a gate of the third fet M3, the drive module 011 is connected to a gate of the fourth fet M4, a third input end of the drive module 011 is connected to an output end module of the feedback module 014, a first input end of the drive module 011 and a second input end of the drive module 011 are connected to the control module 012 respectively, and a second output end of the voltage conversion module 015, a drain electrode of the fourth fet M4, and a first input end of the feedback module 014 jointly form a load voltage output end OUTFAN of the power management chip; the input end of the voltage conversion module 015 and the drain electrode of the third fet M3 jointly form a power tube drain terminal SW of the power management chip, the first output end of the voltage conversion module 015 and the first input end of the feedback module 014 jointly form a power voltage output terminal VOUT of the power management chip, the source electrode of the third fet M3 forms a ground terminal PGND of the power management chip, and the source electrode of the fourth fet M4 and the input end of the charging module 013 jointly form a power terminal VCC of the power management chip; the output terminal of the charging module 013 constitutes a battery BAT voltage terminal VBAT of the power management chip.
In the power management chip 01, when the power interface module 04 is connected to a charging dc power, the power interface module 04 transfers the charging dc power to the charging module 013 and the source of the fourth fet M4, the charging module 013 generates a charging voltage according to the charging dc power to charge the battery BAT, the control module 012 controls the driving module 011 to drive the fourth fet M4 to be turned on, and the fourth fet M4 generates a load voltage according to the charging dc power to supply power to the load module 03;
when the power interface module 04 does not access charging direct current, the control module 012 controls the drive module 011 to drive the third fet M3 to be turned on or off according to a preset switch duty ratio, and the control module 012 drives the drive module 011 to control the voltage conversion module 015 to be turned on, the voltage conversion module 015 generates load voltage according to electric energy to supply power to the load module 03, and generates mobile power supply voltage according to electric energy to supply power to an external load connected with the mobile power interface module 02;
the control module 012 generates a first switch control signal or a second switch control signal, and the feedback module 014 drives the driving module 011 to control the voltage conversion module 015 and the fourth fet M4 to be switched on and off according to the load voltage and the first switch control signal; or the feedback module 014 drives the driving module 011 according to the mobile power supply voltage and the second switch control signal to control the voltage conversion module 015 and the fourth field effect transistor M4 to be switched on and off according to a third preset duty ratio.
As shown in fig. 4, the feedback module 014 includes a first sampling module 0141, a second sampling module 0142, a first switching module 0143, a second switching module 0144, an operational amplifier 0145, and a pulse width modulation module 0146. The input end of the first sampling module 0141 is a first input end of the feedback module 014, the output end of the first sampling module 0141 is connected with the input end of the first switch module 0143, the control end of the first switch module 0143 is a first control end of the feedback module 014, the input end of the second sampling module 0142 is a second input end of the feedback module 014, the output end of the second sampling module 0142 is connected with the input end of the second switch module 0144, the control end of the second switch module 0144 is a second control end of the feedback module 014, the operational amplifier 0145 is connected with the output end of the first switch module 0143, the output end of the second switch module 0144 and the input end of the pulse width modulation module 0146, and the output end of the pulse width modulation module 0146 is an output end of the feedback module 014. When the control module 012 generates the first switch control signal CTRL1, the first sampling module 0141 samples the load voltage OUTFAN to generate a first sampling voltage, and sends the first sampling voltage to the operational amplifier 0145 through the first switch module 0143, the operational amplifier 0145 amplifies the first sampling voltage, and the pulse width modulation module 0146 drives the driving module 011 according to the amplified first sampling voltage to control the voltage conversion module 015 and the fourth field-effect transistor M4 to be turned on and off according to the second preset duty ratio; when the control module 012 generates the second switch control signal CTRL2, the second sampling module 0142 samples the mobile power supply voltage VOUT to generate a second sampling voltage and sends the second sampling voltage to the operational amplifier 0145 through the second switch module 0144, the operational amplifier 0145 amplifies the second sampling voltage, the pulse width modulation module 0146 drives the driving module 011 according to the amplified second sampling voltage to control the voltage conversion module 015 and the fourth field-effect transistor M4 to be turned on and off according to a third preset duty cycle, wherein the pulse width modulation module 0146 inputs the pulse width modulation signal PWM.
Fig. 5 shows an exemplary circuit structure of the driving module 011 and the voltage converting module 015 in the power management chip according to the embodiment of the present invention, and for convenience of illustration, only the parts related to the embodiment of the present invention are shown, and the detailed description is as follows:
the driving module 011 comprises a first nand gate U1, a second nand gate U2, a third nand gate U3, a fourth nand gate U4, a fifth nand gate U5, a sixth nand gate U6, a seventh nand gate U7, an eighth nand gate U8, a ninth nand gate U9, a tenth nand gate U10, a first nor gate X1, a second nor gate X2, a third nor gate X3, a first inverter I1, a second inverter I2, a third inverter I3, a fourth inverter I4, a fifth field effect transistor M05, a sixth field effect transistor M06, a seventh field effect transistor M07, an eighth field effect transistor M08, a ninth field effect transistor M09 and a tenth field effect transistor M10.
The input end of a first inverter I1, the first input end of a second NAND gate U2, the first input end of a fifth NAND gate U5 and the first input end of a sixth NAND gate U6 are the first input end of the drive module 011, the first input end of the first NAND gate U1, the source electrode of a fifth field effect tube M05 and the drain electrode of the sixth field effect tube M06 are the first output end of the drive module 011, the output end of the first inverter I1 is connected with the second input end of the first NAND gate U1, the second end of the second NAND gate U2, the source electrode of a ninth field effect tube M09 and the drain electrode of a tenth field effect tube M10 are the second output end of the drive module 011, the output end of the first NAND gate U1 is connected with the first input end of a third NAND gate U3, the output end of the second NAND gate U2 is connected with the second input end of the third NAND gate U3, the output end of the third NAND gate U3 is connected with the first input end of a fourth NAND gate U4 and the first input end of the first NOR gate X1, the input end of the second inverter I2, the first input end of the third nor gate X3, the second input end of the first nor gate X1 and the first input end of the second nor gate X2 are the third input end of the driving module 011, the output end of the second inverter I2 is connected with the input end of the fourth inverter I4, the second input end of the fourth nand gate U4 and the input end of the third inverter I3, the output end of the fourth nand gate U4 is connected with the gate of the seventh field-effect tube M07, the output end of the first nor gate X1 is connected with the gate of the eighth field-effect tube M08, the first input end of the ninth nand gate U9, the second input end of the sixth nand gate U6, the source of the seventh field-effect tube M07 and the drain of the eighth field-effect tube M08 are the third output end of the driving module 011, the output end of the fourth inverter I4 is connected with the first input end of the eighth nand gate U8, the second input end of the eighth nand gate U8 and the second input end of the ninth nand gate U9 are the second input end of the driving module 011, the output end of the eighth nand gate U8 is connected with the first input end of the tenth nand gate U10, the output end of the ninth nand gate U9 is connected with the second input end of the tenth nand gate U10 and the second input end of the third nor gate X3, the output end of the tenth nand gate U10 is connected with the gate of the fifth field-effect transistor M05, the output end of the third nor gate X3 is connected with the gate of the sixth field-effect transistor M06, the output end of the third inverter I3 is connected with the second input end of the fifth nand gate U5, the output end of the fifth nand gate U5 is connected with the first input end of the seventh nand gate U7, the output end of the sixth nand gate U6 is connected with the second input end of the seventh nand gate U7 and the second input end of the second nor gate X2, the output end of the seventh nand gate U7 is connected with the gate of the ninth field-effect transistor M09, the output end of the second nand gate U2 is connected with the source M09, the drain of the eighth nand gate M06 is connected with the source M06, and the drain of the eighth field-effect transistor M06, the drain of the eighth field-effect transistor M10 is connected with the source M09.
The voltage conversion module 015 includes a first field effect transistor M1 and a second field effect transistor M2; the drain of the first field effect transistor M1 and the source of the second field effect transistor M2 are input terminals of the voltage conversion module 015, the drain of the second field effect transistor M2 is a first output terminal of the voltage conversion module 015, the source of the first field effect transistor M1 is a second output terminal of the voltage conversion module 015, the gate of the first field effect transistor M1 is a first control terminal of the voltage conversion module 015, and the gate of the second field effect transistor M2 is a second control terminal of the voltage conversion module 015.
The following further describes the driving module 011 and the voltage converting module 015 in the power management chip shown in fig. 5 in conjunction with the working principle:
a first input end of the driving module 011 inputs an external load selection signal OUTSEL, a first input end of the driving module 011 inputs a load selection signal FANSEL, and a first input end of the driving module 011 inputs a pulse width modulation signal PWM; the third inverter I3, the fifth NAND gate U5, the sixth NAND gate U6, the seventh NAND gate U7, the second NOR gate X2, the ninth field-effect tube M09 and the tenth field-effect tube M10 generate a mobile power supply control signal according to an external load selection signal OUTSEL and a pulse width modulation signal PWM, and the second field-effect tube M2 generates a mobile power supply voltage VOUT according to the mobile power supply control signal; the fourth inverter I4, the eighth nand gate U8, the ninth nand gate U9, the tenth nand gate U10, the third nor gate X3, the fifth field effect transistor M05, and the sixth field effect transistor M6 generate a load control signal according to the load selection signal FANSEL and the pulse width modulation signal PWM, and the first field effect transistor M1 generates a load voltage OUTFAN according to the load control signal. The first NOR gate X1, the seventh field effect transistor M07 and the eighth field effect transistor M8 generate pulse width control signals according to the pulse width modulation signals so as to drive the third field effect transistor M3 to be switched on and off according to a preset switching duty ratio, and the third field effect transistor M3 generates a drain electrode signal SW of the power tube.
In specific implementation, as shown in fig. 6, the power management chip 01 may further include an external load detection module 016; the external load detection module 016 is connected with the power voltage output end of the power management chip and the control module 012; the external load detection module 016 acquires the voltage of the mobile power supply, judges the connection state of the external load according to the voltage of the mobile power supply, and sends the connection state information to the control module 012; when the connection state information indicates that the external load is connected to the mobile power interface module 02, the control module 012 drives the driving module 011 to control the conduction of the second field-effect transistor M2; when the connection state information indicates that the external load is disconnected from the mobile power interface module 02, the control module 012 drives the driving module 011 to control the disconnection of the second fet M2.
Based on the power management chip 01, an embodiment of the present invention further provides a portable device, as shown in fig. 7, the portable device includes a mobile power interface module 02, a load module 03, a power interface module 04, an energy storage element 05, and a battery BAT, and the portable device further includes the power management chip 01. The portable device may be a portable fan.
In a specific implementation, as shown in fig. 8, the portable device may further include a key module 06; the output end of the key module 06 is connected with the control module 012; the key module 06 outputs a key instruction according to an operation sent by a user, and the control module 012 drives the driving module 011 to control the voltage conversion module to close or to realize on-off according to a fourth preset duty ratio according to the key instruction.
In a specific implementation, as shown in fig. 9, the portable device may further include a first indication module 07 and a second indication module 08; a first input end of the first indication module 07 is connected with an input/output end of the power interface module 04, a second input end of the first indication module 07 is connected with the control module 012, and an input end of the second indication module 08 is connected with the control module 012; when the power interface module 04 does not access the charging direct current, the first indicating module 07 indicates according to the charging direct current; the control module 012 generates an instruction signal according to the key command, and the second instruction module performs an instruction according to the instruction signal.
In a specific implementation, as shown in fig. 10, the portable device may further include a first filtering module 09 and a second filtering module 10; the filter end of the first filter module 09 is connected to the first end of the energy storage element 05 and the drain end of the power transistor of the power management chip 01, and the filter end of the second filter module 10 is connected to the second end of the energy storage element 05, the positive electrode of the battery BAT, and the voltage end of the battery BAT of the power management chip 01.
Fig. 11 shows an exemplary circuit structure of a portable device provided in an embodiment of the present invention, and for convenience of description, only the parts related to the embodiment of the present invention are shown, and the details are as follows:
the first indication module 07 comprises a first light emitting diode LED1, a second light emitting diode LED2, a first resistor R1 and a second resistor R2;
a first end of the first resistor R1 is a first input end of the first indication module 07, a second end of the first resistor R1 is connected with an anode of the first light emitting diode LED1, a cathode of the first light emitting diode LED1 and a first end of the second resistor R2 are second input ends of the first indication module 07, a second end of the second resistor R2 is connected with an anode of the second light emitting diode LED2, and a cathode of the second light emitting diode LED2 is connected with a power ground;
the second indication module 08 includes a third light emitting diode LED3, a fourth light emitting diode LED4, a fifth light emitting diode LED5, and a sixth light emitting diode LED6;
the anode of the third light emitting diode LED3, the anode of the fourth light emitting diode LED4, the anode of the fifth light emitting diode LED5, and the anode of the sixth light emitting diode LED6 together form an input end of the second indication module 08, and the cathode of the third light emitting diode LED3, the cathode of the fourth light emitting diode LED4, the cathode of the fifth light emitting diode LED5, and the cathode of the sixth light emitting diode LED6 are commonly connected to the power ground.
The first filtering module 09 comprises a first capacitor C1; a first end of the first capacitor C1 is a filtering end of the first filtering module 09, and a second end of the first capacitor C1 is connected with a power ground;
the second filtering module 10 includes a second capacitor C2 and a third capacitor C3; the first end of the second capacitor C2 and the first end of the third capacitor C3 are filtering ends of the second filtering module 10, and the second end of the second capacitor C2 and the second end of the third capacitor C3 are connected to the power ground.
The mobile power interface module 02 comprises a first USB interface J1 and a fourth capacitor C4;
the power supply terminal VCC of the first USB interface J1 and the first end of the fourth capacitor C4 are input and output terminals of the mobile power supply interface module 02, and the ground terminal GND of the first USB interface J1 and the second end of the fourth capacitor C4 are commonly connected to the power supply ground.
The load module 03 comprises a load F1, a fifth capacitor C5 and a sixth capacitor C6;
the first end of the load F1, the first end of the fifth capacitor C5, and the first end of the sixth capacitor C6 are input ends of the load module 03, and the second end of the load F1, the second end of the fifth capacitor C5, and the second end of the sixth capacitor C6 are commonly connected to the power ground.
The power interface module 04 comprises a second USB interface J2 and a seventh capacitor C7;
the power supply terminal VCC of the second USB interface J2 and the first terminal of the seventh capacitor C7 are input and output terminals of the power interface module 04, and the ground terminal GND of the second USB interface J2 and the second terminal of the seventh capacitor C7 are commonly connected to the power ground.
The energy storage element 05 is an inductor L1.
The key module 06 comprises a key K1, a first end of the key K1 is an output end of the key module 06, and a second end of the key K1 is connected with a power ground.
The internal driving apparatus of the portable device shown in fig. 4 will be further described with reference to the working principle as follows:
in a specific implementation process, the energy storage element 05 stores electric energy when the third field-effect transistor M3 is turned on, and stops outputting the electric energy; the energy storage element 05 releases electrical energy when the third fet M3 is turned off.
In the power management chip 01, when the power supply terminal VCC of the second USB interface J2 is connected to the charging dc power, the second USB interface J2 transfers the charging dc power to the charging module 013 and the source of the fourth fet M4, the charging module 013 generates a charging voltage according to the charging dc power to charge the battery BAT, the control module 012 controls the driving module 011 to drive the fourth fet M4 to be turned on, and the fourth fet M4 generates a load voltage according to the charging dc power to supply the load F1.
When the power supply terminal VCC of the second USB interface J2 does not access the charging dc power, the control module 012 controls the driving module 011 to drive the third fet M3 to be turned on or off according to the preset switching duty ratio, and the control module 012 drives the driving module 011 to control the voltage conversion module 015 to be turned on, and the voltage conversion module 015 generates the load voltage according to the electric energy to supply power to the load F1, and generates the mobile power supply voltage according to the electric energy to supply power to the external load connected to the first USB interface J1.
The control module 012 generates a first switch control signal or a second switch control signal, and the feedback module 014 drives the driving module 011 according to the load voltage and the first switch control signal to control the voltage conversion module 015 and the fourth fet M4 to be switched on and off according to a second preset duty ratio; or the feedback module 014 drives the driving module 011 according to the mobile power supply voltage and the second switch control signal to control the voltage conversion module 015 and the fourth field effect transistor M4 to be switched on and off according to a third preset duty ratio.
In summary, the power management chip in the embodiment of the present invention is connected to the mobile power interface module, the load module, the power interface module, the energy storage element and the battery, and the power management chip includes a third field effect transistor, where the energy storage element stores electric energy when the third field effect transistor is turned on and stops outputting the electric energy; the energy storage element releases electric energy when the third field effect transistor is turned off, and the power management chip comprises a driving module, a control module, a charging module, a feedback module, a voltage conversion module and a fourth field effect transistor; (ii) a When the power interface module is connected with charging direct current, the power interface module transfers the charging direct current to the charging module and the source electrode of the fourth field effect transistor, the charging module generates charging voltage according to the charging direct current to charge the battery, the control module controls the driving module to drive the fourth field effect transistor to be conducted, and the fourth field effect transistor generates load voltage according to the charging direct current to supply power to the load module; when the power interface module does not access charging direct current, the control module controls the driving module to drive the third field effect transistor to be switched on and off according to a preset switching duty ratio, the control module drives the driving module to control the voltage conversion module to be switched on, the voltage conversion module generates load voltage according to electric energy to supply power to the load module, and generates mobile power supply voltage according to the electric energy to supply power to an external load connected with the mobile power interface module; the control module generates a first switch control signal or a second switch control signal, and the feedback module drives the driving module to control the voltage conversion module and the fourth field-effect tube to be switched on and off according to the load voltage and the first switch control signal and according to a second preset duty ratio; or the feedback module drives the driving module to control the voltage conversion module and the fourth field effect transistor to be switched on and off according to the voltage of the mobile power supply and the second switch control signal and according to a third preset duty ratio; the mobile power supply and the load module share one inductor, and the functions of the mobile power supply and the load module can work simultaneously, so that the system cost is reduced.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.