CN107706994A - Control method and device when USB flash disk charger baby is to load charging - Google Patents

Control method and device when USB flash disk charger baby is to load charging Download PDF

Info

Publication number
CN107706994A
CN107706994A CN201711086435.2A CN201711086435A CN107706994A CN 107706994 A CN107706994 A CN 107706994A CN 201711086435 A CN201711086435 A CN 201711086435A CN 107706994 A CN107706994 A CN 107706994A
Authority
CN
China
Prior art keywords
load
circuit
flash disk
charger baby
charge
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711086435.2A
Other languages
Chinese (zh)
Inventor
黄辉权
汪永江
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Shengyao Photoelectric Technology Co Ltd
Original Assignee
Shenzhen Shengyao Photoelectric Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Shengyao Photoelectric Technology Co Ltd filed Critical Shenzhen Shengyao Photoelectric Technology Co Ltd
Priority to CN201711086435.2A priority Critical patent/CN107706994A/en
Publication of CN107706994A publication Critical patent/CN107706994A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0068Battery or charger load switching, e.g. concurrent charging and load supply
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • H02J7/00036Charger exchanging data with battery

Abstract

A kind of control method and device during the invention provides USB flash disk charger baby to load charging, the USB flash disk charger baby comprise at least main controller, charge-discharge modules, data transmission module and monitor whether load access and the observation circuit of data transfer request;Main controller connects charge-discharge modules, data transmission module and observation circuit respectively;When judging the access load of USB flash disk charger baby, whether there is external power source to access USB flash disk charger baby by monitoring circuit monitors;If there is external power source access, load is charged by external power source, and monitor whether external power source has request of data;If being accessed without external power source, load is charged by charge-discharge modules, and monitor whether load has request of data;If there is request, control data transport module starts corresponding data transfer;Control method and device when the USB flash disk charger baby provided in the present invention charges to load, control while being easy to charge to load and carry out data transmission with load.

Description

Control method and device when USB flash disk charger baby is to load charging
Technical field
The present invention relates to electronic technology field, more particularly to a kind of USB flash disk charger baby to load charging when control method and Device.
Background technology
Charger baby technology is quite ripe with USB flash disk technology at present, and its circuit part falls within circuit common;However, fill Electric treasured is used with USB flash disk as stand-alone product, it is necessary to be equipped with charger baby (stand-by power supply) for terminal user And USB flash disk (standby extended menory), USB flash disk charger baby is integrated in use, being then faced with inconvenience control data transmission simultaneously And the problem of being powered to load.
The content of the invention
The main object of the present invention is easy to provide control method and device when a kind of USB flash disk charger baby charges to load Load charge while control carrying out data transmission with load.
A kind of control method during the invention provides USB flash disk charger baby to load charging, accesses for USB flash disk charger baby and loads Charged to load, the USB flash disk charger baby, which comprises at least main controller, charge-discharge modules, data transmission module and monitoring, is It is no to have load access and the observation circuit of data transfer request;The main controller connects the charge-discharge modules respectively, data pass Defeated module and observation circuit;
Control method when the USB flash disk charger baby is to load charging comprises the following steps:
When judging the access load of USB flash disk charger baby, charged by the way that whether monitoring circuit monitors have external power source to access the USB flash disk It is precious;
If there is external power source access, the load is charged by the external power source, and monitor external power source Whether request of data is had;If being accessed without external power source, load is charged by the charge-discharge modules, and monitor load Whether request of data is had;
If there is request, control data transport module starts corresponding data transfer.
Further, the charge-discharge modules include power circuit, management of charging and discharging circuit and battery core;The data pass Defeated module includes data transmission circuit, flash memory, usb circuit;The usb circuit include USB input interface circuits with And USB output interface circuits;The management of charging and discharging circuit includes charge management circuit and discharging management circuit;
The main controller connects the flash memory, is connected to by the power circuit and the data transmission circuit described Usb circuit;The main controller controls and carries out data by data transmission circuit between the flash memory and usb circuit Transmission;
The charge management circuit is connected the main controller, battery core, the Charge Management electricity with discharging management circuit respectively Road connects the USB input interface circuits, and the discharging management circuit connects the USB output interface circuits;The USB inputs Interface circuit input current charges to the charge management circuit to the battery core, and the main controller controls the discharge tube Reason circuit exports the electric current of the battery core to the USB output interface circuits.
Further, if described access without external power source, the step to be charged by the charge-discharge modules to load Suddenly, specifically include:
If being accessed without external power source, the charge-discharge modules are controlled to charge load by power circuit;
If it is described without external power source access, by the charge-discharge modules to load charge the step of after, bag Include:
Monitor whether the load power is full of;
If being full of, control the charge-discharge modules to disconnect by the power circuit and the load is charged.
Further, after the step of whether the monitoring load power is full of, in addition to:
If underfill, judge whether the USB flash disk charger baby electricity is less than preset value;
If being less than, control the charge-discharge modules to disconnect by power circuit and the load is charged.
Further, the USB flash disk charger baby also includes state of charge indicator lamp;
The no external power source access, then after the step of being charged by the charge-discharge modules to load, including:
State of charge indicator lamp is opened, shows the state of charge of the USB flash disk charger baby.
Further, the USB flash disk charger baby also includes the key switch of turn-on data transmission;Whether the monitoring load has Request of data;And whether monitoring external power source has the step of request of data to include:
By key switch described in monitoring circuit monitors, whether turn-on data is transmitted;
If so, whether it is detected by D+ and the D- interface of monitoring circuit monitors usb circuit.
Further, the USB flash disk charger baby also includes the key switch of turn-on data transmission;The judgement USB flash disk charger baby After the step of during access load, in addition to:
By key switch described in monitoring circuit monitors, whether turn-on data is transmitted;
If so, whether it is detected by D+ and the D- interface of monitoring circuit monitors usb circuit;
If so, the data transfer between then starting and load.
Further, if described have external power source access, load what is charged to described by the external power source Also include after step:
Monitor whether the load power is full of;
If being full of, control the charge-discharge modules to disconnect by the power circuit and the load is charged, and The USB flash disk charger baby is charged by the external power source.
Further, if described have external power source access, load what is charged to described by the external power source Also include after step:
Monitor whether the load power is full of;
If underfill, by the external power source to it is described load charge the step of after also include:
By key switch described in monitoring circuit monitors, whether turn-on data is transmitted;
If so, whether it is detected by D+ and the D- interface of monitoring circuit monitors usb circuit;
If so, then USB flash disk charger baby preferentially starts the data transfer between load.
A kind of control device during present invention also offers USB flash disk charger baby to load charging, it is negative for the access of USB flash disk charger baby Carry and charged to load, the USB flash disk charger baby comprises at least main controller, charge-discharge modules, data transmission module and monitoring Whether load access and the observation circuit of data transfer request are had;The main controller connects the charge-discharge modules, data respectively Transport module and observation circuit;
Described device includes:
Monitoring unit, for judge USB flash disk charger baby access load when, whether have external power source by monitoring circuit monitors Or/and load accesses the usb circuit of the USB flash disk charger baby;And monitor whether external power source and/or load there are data please Ask;
Charge/discharge unit, if for there is external power source access, the load is charged by the external power source; If being accessed without external power source, load is charged by the charge-discharge modules;
Data transmission unit, if for there is request, control data transport module starts corresponding data transfer.
Control method and device when the USB flash disk charger baby provided in the present invention charges to load, have the advantages that:
Control method and device when the USB flash disk charger baby provided in the present invention charges to load, accessed for USB flash disk charger baby Load and charged to load, the USB flash disk charger baby comprises at least main controller, charge-discharge modules, data transmission module and prison Whether survey has load access and the observation circuit of data transfer request;The main controller connects the charge-discharge modules, number respectively According to transport module and observation circuit;When judging the access load of USB flash disk charger baby, whether there is external power source by monitoring circuit monitors Access the USB flash disk charger baby;If there is external power source access, the load is charged by the external power source, and supervises Survey whether external power source has request of data;If being accessed without external power source, load is charged by the charge-discharge modules, And monitor whether load has request of data;If there is request, control data transport module starts corresponding data transfer;It is easy to pair Control carries out data transmission with load while load charging.
Brief description of the drawings
Fig. 1 is the circuit block diagram of the control circuit of the USB flash disk charger baby in one embodiment of the invention;
Fig. 2 is the control method step schematic diagram when USB flash disk charger baby in one embodiment of the invention charges to load;
Fig. 3 is the control device structured flowchart when USB flash disk charger baby in one embodiment of the invention charges to load.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art Language and scientific terminology), there is the general understanding identical meaning with the those of ordinary skill in art of the present invention.Should also Understand, those terms defined in such as general dictionary, it should be understood that have with the context of prior art The consistent meaning of meaning, and unless by specific definitions, otherwise will not be explained with the implication of idealization or overly formal.
In the description of the invention, it is necessary to illustrate, unless otherwise clearly defined and limited, term " installation ", " phase Even ", " connection " should be interpreted broadly, for example, it may be being fixedly connected or being detachably connected, or be integrally connected;Can To be mechanical connection or electrical connection or can mutually communicate;Can be joined directly together, can also be by between intermediary Connect connected, can be connection or the interaction relationship of two elements of two element internals.For the ordinary skill of this area For personnel, the concrete meaning of above-mentioned term in the present invention can be understood as the case may be.
A kind of USB flash disk charger baby is provided in one embodiment of the invention, it includes control circuit;The control of the USB flash disk charger baby Circuit comprises at least main controller 100, charge-discharge modules, data transmission module and has monitored whether load access and data transfer The observation circuit of request;The main controller 100 connects the charge-discharge modules, data transmission module and observation circuit respectively.
Specifically, reference picture 1, for the circuit block diagram of the control circuit of the USB flash disk charger baby in one embodiment of the invention.
A kind of control circuit of USB flash disk charger baby is provided in one embodiment of the invention, wherein the charge-discharge modules include Power circuit 110, management of charging and discharging circuit and battery core 140, the data transmission module include data transmission circuit, flash memory 120th, usb circuit;The usb circuit includes USB input interface circuits 131 and USB output interface circuits 132; The management of charging and discharging circuit includes charge management circuit 180 and discharging management circuit 190;
The main controller 100 connects the flash memory 120, passes through the power circuit 110 and the data transmission circuit It is connected to the usb circuit;The main controller 100 controls passes through data between the flash memory 120 and usb circuit Transmission circuit carries out data transmission;Include the USB interface and power supply carried out data transmission in the usb circuit.
The charge management circuit is connected the main controller 100, battery core 140 and USB with discharging management circuit and connect respectively Mouth circuit;The charge management circuit connects the USB input interface circuits 131, and the discharging management circuit connects the USB Output interface circuit 132;The input current of USB input interface circuits 131 is to the charge management circuit to the battery core 140 Charge control is carried out, the main controller 100 controls the discharging management circuit to export the electric current of the battery core 140 to described USB output interface circuits 132.The usb circuit connects including Standard-USB/Micro-USB/Lightning/type-c Mouthful.
The USB input interface circuits 131 not only input current to the charge management circuit 180 to the battery core 140 Charged, or data transmission path, can be charged simultaneously and data transfer;The discharging management circuit 190 controls Battery core 140, can to the output current of USB output interface circuits 132, USB output interface circuits 132 and data transmission path To be discharged and data transfer simultaneously;The main controller 100 controls the charge management circuit 180 and discharging management circuit 190, also control the data transfer management of USB input interface circuits 131 and USB output interface circuits 132.
In the present embodiment, the circuit part carried out data transmission and the circuit part for carrying out discharge and recharge are integrated in one Rise, be all that discharge and recharge and data transfer are carried out by USB interface so that it can not only be used as portable power source but also can be used as storage Equipment, it is possible to reduce the expansion equipment quantity that user uses, while reduce charging wire that user uses and data wire quantity (only Need a charging data line).
In the present embodiment, above-mentioned control circuit also includes clock circuit 150 and protection circuit 170, the clock electricity Road 150 connects the main controller 100;The protection circuit 170 connects the main controller 100.
In the present embodiment, above-mentioned control circuit also includes indicator light circuit 160, and the indicator light circuit 160 connects institute Main controller 100 is stated, the indicator light circuit 160 includes being used for the indicator lamp for indicating electricity and charge-discharge behavior.
In the present embodiment, above-mentioned control circuit also includes key circuit, and the key circuit connects the main controller 100 And external function button.The function button can be arranged on shell.
In the present embodiment, the battery core 140 is Hard Roll battery core 140 (cylindrical lithium battery core 140) or soft pack cell 140 (polymer lithium ion battery cell 140);The flash memory 120 is Flash, SD card or TF card;The capacity of the flash memory 120 can be free Selection is set.
In the present embodiment, the management of charging and discharging circuit includes charge management circuit 180 and discharging management circuit 190;The usb circuit includes USB input interface circuits 131 and USB output interface circuits 132;The USB input interfaces Circuit 131 is used for power input and data input exports, and the USB output interface circuits 132 are used for power supply output and data Input and output.
The USB input interface circuits 131 connect the master control by the power circuit 110 and data transmission circuit Device 100, the USB output interface circuits 132 connect the main controller 100 by the data transmission circuit and carry out data biography It is defeated;
The charge management circuit 180 connects USB input interface circuits 131, main controller 100 and battery core 140 respectively, uses Charged in the battery core 140;It is defeated that the discharging management circuit 190 connects the main controller 100, battery core 140 and USB respectively Outgoing interface circuit 132 is used to discharge to the battery core 140.
In the present embodiment, the management of charging and discharging circuit also includes the Wireless charging coil 200 for wireless charging;
The Wireless charging coil 200 connects the main controller 100 and the charge management circuit 180 respectively.
In the present embodiment, above-mentioned control circuit also includes observation circuit 210, and the observation circuit 210 connects the master Device 100 is controlled, is mainly used in monitoring the Wireless charging coil induced-current, and monitoring USB input interface circuits 131 access electricity Source and/or the signal of the access load of USB output interface circuits 132 (mobile phone or tablet personal computer etc.);Battery core 140 can also be monitored Capacity and it is monitored whether functional button is pressed to above-mentioned key circuit.
Preferably, in the above-described embodiments, can also include a control board, it is solderable in above-mentioned control board on Flash is stated, installation neck is either provided with and SD card or TF card is correspondingly installed;Above-mentioned main controller 100, power circuit 110, data Transmission circuit, flash memory 120, usb circuit, management of charging and discharging circuit, battery core 140, observation circuit 210, clock circuit 150, Protection circuit 170, indicator light circuit 160, key circuit etc. can be arranged in the control board.It is understood that Specific implementation for above-mentioned each circuit, those skilled in the art can pass through prior art (such as USB flash disk in the prior art And circuit present in charger baby) and common knowledge realize, no longer it is repeated in the present embodiment.
A kind of USB flash disk charger baby, including USB flash disk described in shell and any of the above-described are additionally provided in another embodiment of the present invention The control circuit of charger baby, above-mentioned control board can also be included, the control board is arranged in shell, the control electricity Road is arranged in the control board in the shell;The opening of the corresponding usb circuit is provided with the shell.
The key opening of corresponding above-mentioned key circuit is additionally provided with shell, and sets corresponding function to press in opening Key.
The indicator lamp opening of corresponding above-mentioned indicator light circuit is additionally provided with shell, and corresponding instruction is set in opening Lamp.
Further, the shell is arranged to be adapted to the shelly of mobile phone.And it is internally provided with Micro-USB/ Lightning/type-C males, the Micro-USB/Lightning/type-C for being directly inserted into mobile phone or tablet personal computer connect Mobile phone or tablet personal computer are charged mouth and data transfer.
In summary, it is the USB flash disk charger baby and its control circuit that are provided in the embodiment of the present invention, including main controller 100, electricity Source circuit 110, data transmission circuit, flash memory 120, usb circuit, management of charging and discharging circuit, observation circuit 210, indicator lamp Circuit 160, protection circuit 170, Wireless charging coil 200 and battery core 140;The main controller 100 connects the flash memory 120, And the usb circuit is connected to by the power circuit 110 and the data transmission circuit respectively;The main controller Carried out data transmission between the 100 controls flash memory 120 and usb circuit by data transmission circuit;The discharge and recharge Management circuit connects the main controller 100, battery core 140, usb circuit respectively;The USB input interface circuits 131 input Electric current charges to the charge management circuit 180 to the battery core 140, and the main controller 100 controls the electric discharge management Circuit 190 exports the electric current of the battery core 140 to the USB output interface circuits 132;The U provided in the embodiment of the present invention Disk charger baby and its control circuit, can not only be used as portable power source be used as storage device again, and can at the same discharge and recharge and Data transfer and do not interfere with each other mutually.
A kind of reference picture 2, control method when USB flash disk charger baby is provided in the embodiment of the present invention to load charging, is used for USB flash disk charger baby access load in above-described embodiment is charged to load, and the USB flash disk charger baby comprises at least main controller, filled Discharge module, data transmission module and the observation circuit for monitoring whether load access and data transfer request;The master control Device connects the charge-discharge modules, data transmission module and observation circuit respectively;
Control method when the USB flash disk charger baby is to load charging comprises the following steps:
Step S1, when judging the access load of USB flash disk charger baby, whether main controller 100 has external electrical by monitoring circuit monitors The USB flash disk charger baby is accessed in source;
Step S2, if there is external power source access, the load is charged by the external power source, and monitors outer Whether portion's power supply has request of data;If being accessed without external power source, load is charged by the charge-discharge modules, and supervises Survey whether load has request of data;
Step S3, if there is request, control data transport module starts corresponding data transfer.Apparatus such as computer passes through When USB data line accesses USB flash disk charger baby, handshake, connection circuit and USB flash disk charger baby can be sent, and computer can be detected Whether need to carry out data transmission between USB flash disk charger baby.
In the present embodiment, during load access USB flash disk charger baby, if now USB flash disk charger baby access external power source (computer USB Interface, power interface, wireless charging power supply etc.), then load can be charged by external power source;If without external power source USB flash disk charger baby is accessed, then load is charged by the electric energy that USB flash disk charger baby itself stores.
Such as computer as external power source access USB flash disk charger baby when, computer can also carry out data between USB flash disk charger baby Transmission, therefore, can monitor whether computer has request of data, if so, then carrying out data transmission between computer and USB flash disk charger baby.U Disk charger baby can not only charge to load, can also carry out data transmission between load, therefore, can monitor load Whether request of data is had, if so, then carrying out data transmission between load and USB flash disk charger baby.When computer accesses U as external power source During disk charger baby, and when now loading (mobile phone or tablet personal computer) and also accessing USB flash disk charger baby, monitoring circuit monitors are to there is data biography During defeated request, the data transfer request of priority treatment load, i.e. external data storage of the USB flash disk charger baby preferentially as load is set It is standby.
Control method when USB flash disk charger baby in the present embodiment charges to load, is controlled while realizing and load is charged Carry out data transmission with load.
Further, if described access without external power source, the step to be charged by the charge-discharge modules to load Suddenly, specifically include:
If being accessed without external power source, the charge-discharge modules are controlled to charge load by power circuit 110;
If it is described without external power source access, by the charge-discharge modules to load charge the step of after, bag Include:
Monitor whether the load power is full of;
If being full of, control the charge-discharge modules to disconnect by the power circuit 110 and the load is charged. If underfill, power circuit 110 controls charge-discharge modules to continue to charge to the USB flash disk charger baby, until being full of.
Further, after the step of whether the monitoring load power is full of, in addition to:
If underfill, judge whether the USB flash disk charger baby electricity is less than preset value (such as 25%);
If being less than, control the charge-discharge modules to disconnect by power circuit 110 and the load is charged.
When USB flash disk charger baby electricity is relatively low, then it should not continue to charge to load, in order to avoid cause over-discharge;Therefore, in advance If a preset value, when USB flash disk charger baby electricity is less than the value, then controls the charge-discharge modules to disconnect and the load is carried out Charging.
Further, the USB flash disk charger baby also includes state of charge indicator lamp;
The no external power source access, then after the step of being charged by the charge-discharge modules to load, including:
State of charge indicator lamp is opened, shows the state of charge of the USB flash disk charger baby.The electricity of real-time display USB flash disk charger baby Amount state, it is easy to the information directly perceived for obtaining USB flash disk charger baby dump energy.
Specifically, the USB flash disk charger baby also includes the key switch of turn-on data transmission;Whether the monitoring load has number According to request;And whether monitoring external power source has the step of request of data to include:
A, by key switch described in monitoring circuit monitors, whether turn-on data is transmitted;Set in USB flash disk charger baby functional Switch, control turn-on data transmission, whether the monitoring circuit monitors button, which is pressed down, judges whether that turn-on data is transmitted;To move back , it is necessary to (be operated in load on mobile phone or tablet personal computer, making it, ejection is deposited safely when going out USB flash disk charger baby as External memory equipment Store up equipment.
B, if so, whether being detected by D+ and the D- interface of monitoring circuit monitors usb circuit.
Whether main controller 100 be detected by monitoring circuit monitors USB D+ and D- interface, determines whether to count with this Asked according to transmission;If being detected, log-on data transmission, if not detecting, data transfer is not turned on.
Further, the USB flash disk charger baby also includes the key switch of turn-on data transmission;The judgement USB flash disk charger baby After the step of during access load, in addition to:
By key switch described in monitoring circuit monitors, whether turn-on data is transmitted;Functional open is set in USB flash disk charger baby Close, control turn-on data transmission, whether the monitoring circuit monitors button, which is pressed down, judges whether that turn-on data is transmitted.
If so, whether it is detected by D+ and the D- interface of monitoring circuit monitors usb circuit;If monitored, open Data transfer between dynamic USB flash disk charger baby and load.
Further, if described have external power source access, load what is charged to described by the external power source Also include after step:
Monitor whether the load power is full of;When being charged to load, if load is full of, load feedback can be received Signal judges that load fills with electricity.
If being full of, control the charge-discharge modules to disconnect by the power circuit 110 and the load charged, And the USB flash disk charger baby is charged by the external power source.If underfill, external power source continues to fill load Electricity is until be full of.
If underfill, by the external power source to it is described load charge the step of after also include:
By key switch described in monitoring circuit monitors, whether turn-on data is transmitted;
If so, whether it is detected by D+ and the D- interface of monitoring circuit monitors usb circuit;
If so, then USB flash disk charger baby preferentially starts the data transfer between load.
Reference picture 3, control device when a kind of USB flash disk charger baby is additionally provided in one embodiment of the invention to load charging, Charged for the access load of USB flash disk charger baby to load, the USB flash disk charger baby comprises at least main controller, charge-discharge modules, number According to transport module and monitor whether load access and the observation circuit of data transfer request;The main controller connects institute respectively State charge-discharge modules, data transmission module and observation circuit;
Described device includes:
Monitoring unit 10, for judge USB flash disk charger baby access load when, whether have external power source by monitoring circuit monitors Or/and load accesses the usb circuit of the USB flash disk charger baby;And monitor whether external power source and/or load there are data please Ask;
Charge/discharge unit 20, if for there is external power source access, the load is filled by the external power source Electricity;If being accessed without external power source, load is charged by the charge-discharge modules
Data transmission unit 30, if for there is request, control data transport module starts corresponding data transfer.
When apparatus such as computer accesses USB flash disk charger baby by USB data line, handshake can be sent, connection circuit fills with USB flash disk It is electric precious, and can detect whether need to carry out data transmission between computer and USB flash disk charger baby.
In the present embodiment, during load access USB flash disk charger baby, if now USB flash disk charger baby access external power source (computer USB Interface, power interface, wireless charging power supply etc.), then load can be charged by external power source;If without external power source USB flash disk charger baby is accessed, then load is charged by the electric energy that USB flash disk charger baby itself stores.
Such as computer as external power source access USB flash disk charger baby when, computer can also carry out data between USB flash disk charger baby Transmission, therefore, can monitor whether computer has request of data, if so, then carrying out data transmission between computer and USB flash disk charger baby.U Disk charger baby can not only charge to load, can also carry out data transmission between load, therefore, can monitor load Whether request of data is had, if so, then carrying out data transmission between load and USB flash disk charger baby.When computer accesses U as external power source During disk charger baby, and when now loading (mobile phone or tablet personal computer) and also accessing USB flash disk charger baby, monitoring circuit monitors are to there is data biography During defeated request, the data transfer request of priority treatment load, i.e. external data storage of the USB flash disk charger baby preferentially as load is set It is standby.
The specific implementation of monitoring unit 10, charge/discharge unit 20, data transmission unit 30 in the present embodiment is with reference to above-mentioned Embodiment, no longer repeated herein.
In summary, control method and dress when the USB flash disk charger baby to be provided in embodiment in the present invention charges to load Put, charged for the access load of USB flash disk charger baby to load, the USB flash disk charger baby comprises at least main controller 100, discharge and recharge Module, data transmission module and the observation circuit for monitoring whether load access and data transfer request;The main controller 100 The charge-discharge modules, data transmission module and observation circuit are connected respectively;When judging the access load of USB flash disk charger baby, pass through Whether monitoring circuit monitors have external power source to access the USB flash disk charger baby;If there is external power source access, pass through the external electrical Source is charged to the load, and monitors whether external power source has request of data;If accessed without external power source, by described Charge-discharge modules charge to load, and monitor whether load has request of data;If there is request, control data transport module Start corresponding data transfer;Control carries out data transmission with load while being easy to charge to load.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the scope of the invention, every utilization The equivalent structure or equivalent flow conversion that description of the invention and accompanying drawing content are made, or directly or indirectly it is used in other correlations Technical field, be included within the scope of the present invention.

Claims (10)

  1. Control method when 1. a kind of USB flash disk charger baby is to load charging, filled for the access load of USB flash disk charger baby to load Electricity, it is characterised in that the USB flash disk charger baby comprises at least main controller, charge-discharge modules, data transmission module and monitored whether There are load access and the observation circuit of data transfer request;The main controller connects the charge-discharge modules, data transfer respectively Module and observation circuit;
    Control method when the USB flash disk charger baby is to load charging comprises the following steps:
    When judging the access load of USB flash disk charger baby, whether there is external power source to access the USB flash disk charger baby by monitoring circuit monitors;
    If there is external power source access, the load is charged by the external power source, and whether monitor external power source There is request of data;If being accessed without external power source, load is charged by the charge-discharge modules, and whether monitor load There is request of data;
    If there is request, control data transport module starts corresponding data transfer.
  2. Control method when 2. USB flash disk charger baby according to claim 1 is to load charging, it is characterised in that the charge and discharge Electric module includes power circuit, management of charging and discharging circuit and battery core;The data transmission module includes data transmission circuit, dodged Deposit, usb circuit;The usb circuit includes USB input interface circuits and USB output interface circuits;The charge and discharge Fulgurite reason circuit includes charge management circuit and discharging management circuit;
    The main controller connects the flash memory, and the USB is connected to by the power circuit and the data transmission circuit Interface circuit;The main controller controls and carries out data biography by data transmission circuit between the flash memory and usb circuit It is defeated;
    The charge management circuit is connected the main controller, battery core with discharging management circuit respectively, and the charge management circuit connects The USB input interface circuits are connect, the discharging management circuit connects the USB output interface circuits;The USB input interfaces Circuit input current charges to the charge management circuit to the battery core, the main controller control electric discharge management electricity Road exports the electric current of the battery core to the USB output interface circuits.
  3. Control method when 3. USB flash disk charger baby according to claim 2 is to load charging, it is characterised in that if the nothing External power source accesses, then the step of charging by the charge-discharge modules to load, specifically includes:
    If being accessed without external power source, the charge-discharge modules are controlled to charge load by power circuit;
    If it is described without external power source access, by the charge-discharge modules to load charge the step of after, including:
    Monitor whether the load power is full of;
    If being full of, control the charge-discharge modules to disconnect by the power circuit and the load is charged.
  4. Control method when 4. USB flash disk charger baby according to claim 3 is to load charging, it is characterised in that the monitoring After the step of whether load power is full of, in addition to:
    If underfill, judge whether the USB flash disk charger baby electricity is less than preset value;
    If being less than, control the charge-discharge modules to disconnect by power circuit and the load is charged.
  5. Control method when 5. the USB flash disk charger baby according to claim any one of 1-4 is to load charging, it is characterised in that The USB flash disk charger baby also includes state of charge indicator lamp;
    The no external power source access, then after the step of being charged by the charge-discharge modules to load, including:
    State of charge indicator lamp is opened, shows the state of charge of the USB flash disk charger baby.
  6. Control method when 6. USB flash disk charger baby according to claim 1 is to load charging, it is characterised in that the USB flash disk fills The electric precious key switch for also including turn-on data transmission;Whether the monitoring load has request of data;And monitoring external power source Whether there is the step of request of data to include:
    By key switch described in monitoring circuit monitors, whether turn-on data is transmitted;
    If so, whether it is detected by D+ and the D- interface of monitoring circuit monitors usb circuit.
  7. Control method when 7. USB flash disk charger baby according to claim 1 is to load charging, it is characterised in that the USB flash disk fills The electric precious key switch for also including turn-on data transmission;After the step of during the judgement USB flash disk charger baby access load, also wrap Include:
    By key switch described in monitoring circuit monitors, whether turn-on data is transmitted;
    If so, whether it is detected by D+ and the D- interface of monitoring circuit monitors usb circuit.
    If so, then start the data transfer between USB flash disk charger baby and load.
  8. Control method when 8. USB flash disk charger baby according to claim 2 is to load charging, it is characterised in that if described have External power source access, then by the external power source to it is described load charge the step of after also include:
    Monitor whether the load power is full of;
    If being full of, control the charge-discharge modules to disconnect by the power circuit and the load is charged, and pass through The external power source charges to the USB flash disk charger baby.
  9. Control method when 9. USB flash disk charger baby according to claim 2 is to load charging, it is characterised in that if described have External power source access, then by the external power source to it is described load charge the step of after also include:
    Monitor whether the load power is full of;
    If underfill, by the external power source to it is described load charge the step of after also include:
    By key switch described in monitoring circuit monitors, whether turn-on data is transmitted;
    If so, whether it is detected by D+ and the D- interface of monitoring circuit monitors usb circuit;
    If so, then USB flash disk charger baby preferentially starts the data transfer between load.
  10. Control device when 10. a kind of USB flash disk charger baby is to load charging, filled for the access load of USB flash disk charger baby to load Electricity, it is characterised in that the USB flash disk charger baby comprises at least main controller, charge-discharge modules, data transmission module and monitored whether There are load access and the observation circuit of data transfer request;The main controller connects the charge-discharge modules, data transfer respectively Module and observation circuit;
    Described device includes:
    Monitoring unit, for judge USB flash disk charger baby access load when, by monitoring circuit monitors whether have external power source or/and Load accesses the usb circuit of the USB flash disk charger baby;And monitor whether external power source and/or load have request of data;
    Charge/discharge unit, if for there is external power source access, the load is charged by the external power source;If nothing External power source accesses, then load is charged by the charge-discharge modules;
    Data transmission unit, if for there is request, control data transport module starts corresponding data transfer.
CN201711086435.2A 2017-11-07 2017-11-07 Control method and device when USB flash disk charger baby is to load charging Pending CN107706994A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711086435.2A CN107706994A (en) 2017-11-07 2017-11-07 Control method and device when USB flash disk charger baby is to load charging

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711086435.2A CN107706994A (en) 2017-11-07 2017-11-07 Control method and device when USB flash disk charger baby is to load charging

Publications (1)

Publication Number Publication Date
CN107706994A true CN107706994A (en) 2018-02-16

Family

ID=61179893

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711086435.2A Pending CN107706994A (en) 2017-11-07 2017-11-07 Control method and device when USB flash disk charger baby is to load charging

Country Status (1)

Country Link
CN (1) CN107706994A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110556886A (en) * 2018-08-28 2019-12-10 厦门新页微电子技术有限公司 multifunctional shared charger baby
CN111163388A (en) * 2019-12-31 2020-05-15 歌尔股份有限公司 Management method and device for charging path of Bluetooth headset and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102142696A (en) * 2010-01-29 2011-08-03 宁波维科电池有限公司 Multifunctional portable power supply device for mobile phone
CN103208831A (en) * 2013-03-12 2013-07-17 于超凡 Multi-functional charge-discharge device for USB-OTG (Universal Serial Bus-On-The-Go) device
CN203312846U (en) * 2013-05-16 2013-11-27 方洪福 A multifunctional mobile power supply
CN104283284A (en) * 2014-10-27 2015-01-14 北京元隆雅图文化传播股份有限公司 Multifunctional data portable power source and charging method
CN106684949A (en) * 2015-11-09 2017-05-17 广东百事泰电子商务股份有限公司 Back clip-type mobile power supply with data transmission and charging and discharging integrated function

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102142696A (en) * 2010-01-29 2011-08-03 宁波维科电池有限公司 Multifunctional portable power supply device for mobile phone
CN103208831A (en) * 2013-03-12 2013-07-17 于超凡 Multi-functional charge-discharge device for USB-OTG (Universal Serial Bus-On-The-Go) device
CN203312846U (en) * 2013-05-16 2013-11-27 方洪福 A multifunctional mobile power supply
CN104283284A (en) * 2014-10-27 2015-01-14 北京元隆雅图文化传播股份有限公司 Multifunctional data portable power source and charging method
CN106684949A (en) * 2015-11-09 2017-05-17 广东百事泰电子商务股份有限公司 Back clip-type mobile power supply with data transmission and charging and discharging integrated function

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110556886A (en) * 2018-08-28 2019-12-10 厦门新页微电子技术有限公司 multifunctional shared charger baby
CN111163388A (en) * 2019-12-31 2020-05-15 歌尔股份有限公司 Management method and device for charging path of Bluetooth headset and readable storage medium

Similar Documents

Publication Publication Date Title
US9269333B2 (en) Terminal and method for charging and discharging thereof
US8841798B2 (en) Method, apparatus for emergency power supply and device associated thereto
US9007025B2 (en) Systems and methods for configuring and charging hybrid battery systems
US20140184143A1 (en) Power management system and method
US7795842B2 (en) Adjustable cut-off voltage for mobile device battery
CN111987753A (en) Charging control method and related equipment
CN101222144B (en) Charging method of portable electronic device
CN110768345A (en) Battery electric quantity charging detection control device and charger
CN101399381B (en) Apparatus for changing charging and discharging efficiency according to status of chargeable battery
CN107706994A (en) Control method and device when USB flash disk charger baby is to load charging
TWI559125B (en) Power bank apparatus and power control method thereof
CN207834791U (en) A kind of Multifunctional data line
CN107612104A (en) Control method and device when USB flash disk charger baby charges
CN112531848B (en) Battery pack and control method thereof
CA3219737A1 (en) Energy storage system, primary energy-storage-apparatus, and auxiliary energy-storage-apparatus
CN104184179A (en) Battery control method and device, and wireless terminal
CN113346584A (en) Intelligent battery charging and replacing system and method supporting battery charging and replacing after power failure and storage medium
CN210041395U (en) Wireless earphone charging equipment and wireless earphone
CN204578120U (en) The electric energy supervision system of Mobile electric power
CN208479231U (en) A kind of wireless charger preferentially exported
KR20140024157A (en) Power supply control device for rechargeabel battery
CN207677460U (en) USB flash disk charger baby and its control circuit
CN216819409U (en) Energy storage system and main energy storage device
CN216929666U (en) Portable energy storage power supply easy to expand capacity
CN213279187U (en) Charging circuit and portable power source

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180216

RJ01 Rejection of invention patent application after publication