CN110212596A - A kind of charging equipment and the communication means that charges - Google Patents
A kind of charging equipment and the communication means that charges Download PDFInfo
- Publication number
- CN110212596A CN110212596A CN201811629979.3A CN201811629979A CN110212596A CN 110212596 A CN110212596 A CN 110212596A CN 201811629979 A CN201811629979 A CN 201811629979A CN 110212596 A CN110212596 A CN 110212596A
- Authority
- CN
- China
- Prior art keywords
- charging
- load
- voltage
- equipment
- data
- 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
Links
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/00032—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
- H02J7/00036—Charger exchanging data with battery
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The embodiment of the invention provides a kind of charging equipment and charging communication means, wherein, charging equipment includes charging port, communication module and micro-control unit, charging port is for being electrically connected charging load and including power end and data terminal, for power end for providing charge power supply, data terminal is used for transmission data-signal;Communication module is electrically connected with data terminal and micro-control unit respectively, and data terminal is also used to receive the level signal of characterization charging load rated charging voltage;Communication module is used to generate encoded information according to level signal, and encoded information is sent to micro-control unit;Micro-control unit and data terminal are electrically connected to execute data communication according to the encoded information and the charging load.It using the embodiment of the present invention, may be implemented to carry out Charge Management to charging load, it is ensured that the safety of charging load charging.
Description
Technical field
The present invention relates to electronic technology field more particularly to a kind of charging equipment and charging communication means.
Background technique
With the development of the times, terminal device is also evolving and perfect, the safety of terminal device increasingly by
Concern, wherein charging safety is particularly important, and the accidents such as explosion occur in charging for example as the terminal device of charging load,
It is improper caused by charging.In order to guarantee the charging security of terminal device, common method is filled for terminal device
When electric, matched charging equipment is selected.
But be difficult to determine whether in many cases, using charging equipment be it is matched with terminal device, such one
Come, there are hidden danger for the safety of terminal device.Therefore, in charging, it is it that how terminal device, which selects suitable charging equipment,
Charging is known as the hot issue of current research.
Summary of the invention
The embodiment of the invention provides a kind of charging equipment and charging communication means, may be implemented to fill charging load
Fulgurite reason, it is ensured that the safety of charging load charging.
In a first aspect, the embodiment of the invention provides a kind of charging equipment, including charging port, communication module and micro-control
Unit processed, charging port is for being electrically connected charging load and including power end and data terminal, and power end is for providing charging electricity
Source, data terminal are used for transmission data-signal;
Communication module is electrically connected with data terminal and micro-control unit respectively, and data terminal is also used to receive characterization charging load
Rated charging voltage level signal;
Communication module is used to generate encoded information according to level signal, and encoded information is sent to micro-control unit;
The micro-control unit is electrically connected with the data terminal to be held according to the encoded information and the charging load
Row data communication.
Optionally, the data communication includes: the micro-control unit is filled according to the encoded information generation received
Electric prompt information, and the charge prompting information is sent to the data terminal, the data terminal is also used to mention the charging
Show that information is sent to the charging load.
Optionally, charging equipment further includes charging circuit,
The charging circuit and the power end are electrically connected, and the charging circuit is by the power end to the charging
Load provides power supply as charging load charging;
The micro-control unit and the charging circuit are electrically connected, and are born when the micro-control unit receives the charging
When carrying the charging response message for charge prompting information transmission, the charging electricity is controlled based on the charging response message
It is charging load charging that road, which provides the charging voltage to match with the rated charging voltage,.
Optionally, communication module includes emitter follower, voltage comparator and encoder,
The emitter follower and the data terminal are electrically connected, and the emitter follower is for receiving the level letter
Number;
The emitter follower is also electrically connected with the voltage comparator, and the level signal received is transmitted
To the voltage comparator;
The voltage comparator and the encoder are electrically connected, the voltage comparator be used for by the level signal with
Reference voltage is compared, and the comparison result is sent to the encoder, wherein is filled described in the reference voltage characterization
The rated output voltage that electric equipment provides;
The encoder carries out coded treatment to the comparison result and obtains the encoded information.
Optionally, the data terminal includes the first data pin and the second data for cooperating and executing transmission data-signal
Pin, first resistor are electrically connected between first data pin and second data pin, and the power end includes
Power pins and grounding pin, the power pins and the grounding pin are respectively described with charging circuit electric connection
Charging load charging,
First data pin and the emitter follower are electrically connected, for sending out the level signal received
The emitter follower is given,
First data pin and the MCU are electrically connected, the charge prompting letter sent for receiving the MCU
Breath, and the charge prompting information is sent to the charging load to execute data communication.Second aspect, the embodiment of the present invention
Provide a kind of charging communication means, comprising:
When charging equipment is electrically connected by charging port and charging load, the charging equipment passes through the charging end
The data terminal of mouth receives the level signal for characterizing the voltage rating of the charging load;
The charging equipment generates encoded information according to the level signal;
The charging equipment executes data communication according to the encoded information and the charging load by the data terminal.
Optionally, the charging equipment includes emitter follower, voltage comparator and encoder, the charging equipment according to
The level signal generates encoded information, comprising:
The charging equipment obtains the level signal that the data port receives by the emitter follower, and
The level signal is transferred to voltage comparator;
The level signal is compared by the charging equipment by the voltage comparator with reference voltage, is compared
Compared with as a result, and the comparison result is transferred to the encoder, the reference voltage characterizes the volume that the charging equipment provides
Determine output voltage;
The charging equipment carries out coded treatment to the comparison result that the encoder receives by the encoder, obtains
To encoded information.
Optionally, charging equipment executes data according to the encoded information and the charging load by the data terminal and leads to
Letter, comprising:
The charging equipment generates charge prompting information according to the encoded information, and the charge prompting information is passed through
The data terminal is sent to the charging load, the specified electricity of charging load described in charging load described in the charge prompting information
The size relation for the rated output voltage that pressure is provided with the charging equipment, in order to which the charging load is closed according to the size
System carries out Charge Management to the charging load.
Optionally, charging equipment further includes charging circuit, the method also includes:
When receiving the charging response message that the charging load is sent for the charge prompting information, the charging
The charging voltage that equipment matches according to the determining voltage rating responsible with the charging of the charging response message;
The charging equipment is charging load charging with the charging voltage by the charging circuit.
Optionally, the charging port of the charging equipment includes the data terminal and power end, and the data terminal includes the
One data pin and the second data pin, the power end include power pins and grounding pin, and the charging equipment passes through institute
The data terminal for stating charging port receives the level signal for characterizing the voltage rating of the charging load, comprising:
The charging equipment receives the specified electricity for characterizing the charging load by the first data pin of the data terminal
The level signal of pressure;
Charging equipment is charging load charging with the charging voltage by the charging circuit, comprising:
Charging equipment exports the charging voltage by the power end as charging load charging.
In the embodiment of the present invention, charging equipment includes charging port, communication module and micro-control unit, and charging port is used
In electric connection charging load and including power end and data terminal, for providing charge power supply, data terminal is used for transmission power end
Data-signal;Communication module is electrically connected with data terminal and micro-control unit respectively, and it is negative that data terminal is also used to receive characterization charging
Carry the level signal of rated charging voltage;Communication module is used to generate encoded information according to level signal, and encoded information is sent out
Give micro-control unit;Micro-control unit and data terminal are electrically connected to be executed according to the encoded information and the charging load
Data communication may be implemented to carry out Charge Management to charging load, it is ensured that the safety of charging load charging.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is a kind of structural schematic diagram of charging equipment provided in an embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of emitter follower provided in an embodiment of the present invention;
Fig. 3 is a kind of flow diagram of communication means that charges provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Now with the development of technology, the Charge Management of charging load is more and more important, in charging load charging, to filling
The voltage of electricity and/electric current are managed, it is ensured that the safety of charging.Charging valve when in order to realize to charging load charging
Reason, the embodiment of the invention provides a kind of charging equipment, which can be communicated with charging load, and can be according to filling
The charging instruction of electric loading is that charging load charges.
It is a kind of structural schematic diagram of charging equipment provided in an embodiment of the present invention, charging as shown in Figure 1 with reference to Fig. 1
Equipment 100 may include charging port 101, communication module 102 and micro-control unit (Microcontroller Unit, MCU)
103, You Tuzhong it is found that charging port 101 and communication module 102 are electrically connected, and communication module 102 and micro-control unit 103 are electric
Property connection, micro-control unit 103 and charging port 101 are electrically connected.
Wherein, charging port 101 is applied to be electrically connected charging load 200, and charging load 200 refers to that needs charged sets
Standby, such as mobile phone, plate, laptop and wearable device etc., charging port 101 may include power end and data terminal,
Power end is mainly used for providing power supply, and data terminal is mainly used for transmitting data-signal, namely carries out between transmission and charging load
The communication information.In the present embodiment, charging port 101 can be USB3.0 interface, in other embodiments of the present invention, charging end
Mouth 101 can also be other kinds of interface.
Specifically, data terminal includes that the first data pin indicates to indicate with the second data pin with DM with DP, and DP and DM are logical
First resistor R1 connection is crossed, power end includes that power pins indicate to indicate with grounding pin with GND with VDD, VDD and GND difference
It is electrically connected with charging circuit.Wherein, first resistor R1 is connected between DP and DM, and R1 can be set to 200 ohm, Ci Zhonglian
Connecing can make when charging equipment and charging load are electrically connected, and charging load sets charging equipment for special charging end
Mouthful.
In one embodiment, communication module 102 further includes emitter follower 1021, voltage comparator 1022 and coding
Device 1023.It should be understood that emitter follower 1021, voltage comparator 1022 and 1023 groups of encoder in communication module 102
At the Resume session circuit (Session Request Protocol circuit, SRP) in charging equipment 100, SRP
Led to by improving to allow on hardware plan between charging controller and charging load with the smallest cost
Letter, so that more accurate on Charge Management.
In one embodiment, the first data pin DP and emitter follower 1021 are electrically connected, the first data pin DP
Believe for receiving the level signal of the voltage rating of the characterization charging load of the transmission of charging load 200, and by the level received
It number is sent to emitter follower 1021, emitter follower 1021 receives the level signal that the first data pin DP is received.
Wherein, the voltage rating of charging load, which refers to, is used to the voltage that charging load charges, some chargings
Two voltage ratings are supported in load, for example the voltage rating of certain cell phone apparatus is 5V and 9V, and some charging loads only support one
Voltage rating.Optionally, can be preset in charging equipment 100 level signal of the voltage rating for characterizing charging load with
Charging gets lodged in corresponding relationship between voltage rating, such as when the voltage rating of charging load can be set is 5V, level signal
For 3V, or when the voltage rating of charging load also can be set is 5V, level signal 1V.
In one embodiment, the first data pin DP receives the implementation for the level signal that charging load 200 is sent
It can be with are as follows: when detecting the electric connection between charging load 200, the first data pin DP is sent to charging load 200
Charge parameter is requested, and may include the voltage rating of charging load in charge parameter request;Charging load 200 is according to charging load
Voltage rating generates level signal, and the level signal is sent to the first data pin DP of charging equipment.It should be appreciated that
Since data terminal is used for transmission data-signal, the voltage swing that data terminal can transmit is limited, in order to guarantee that data are transmitted
Validity and accuracy, what charging load was sent to data terminal is for characterizing the voltage rating of charging load level letter
Number, rather than the voltage rating of charging load.
In one embodiment, emitter follower 1021 and voltage comparator 1022 are electrically connected, emitter follower 1021
The level signal that will acquire is input to voltage comparator 1022;Voltage comparator 1022 and encoder 1023 are electrically connected, electricity
Comparator 1022 is pressed to be used for the level signal received and the reference for being used to characterize the rated output voltage that charging equipment provides
Voltage is compared, and obtains comparison result, and comparison result is sent to encoder 1023;1023 compared result of encoder into
Row coded treatment, obtains encoded information.
In one embodiment, encoder 1023 and micro-control unit 103 are electrically connected, the volume that encoder 1023 will obtain
Code information is transferred to micro-control unit 103, and micro-control unit 103 generates charge prompting information according to encoded information.Microcontroller list
Member 103 and the first data pin DP are electrically connected, and the charge prompting information of generation is sent to the first data by micro-control unit 103
Charge prompting information is sent to charging load 200 by pin DP, the first data pin DP.Wherein, charge prompting information is for mentioning
Show the size relation between charging load charging equipment and the voltage rating of charging load, in order to which charging load is according to above-mentioned
Size relation carries out Charge Management.
In one embodiment, in the embodiment of the present invention emitter follower 1021 used in communication module 102 electricity
Line structure figure as shown in Fig. 2, include four resistance, a triode, emitter-base bandgap grading in the circuit of emitter follower 1021 as shown in Figure 2
Follower is mainly characterized by input resistance height, and transmitting signal source signal efficiency is high, and output resistance is low, and carrying load ability is strong, electricity
It presses amplification factor less than 1 close to 1, and output voltage is identical as input voltage phase, there is following feature, in practical applications
It is widely used as output stage or intermediate isolating rank.Emitter follower as intermediate isolating grade when can by prime and rear class every
From buffering being realized, isolation front stage interferes with each other, to avoid output voltage by the influence loaded.
Preferably, further including charging circuit 104 in charging equipment 100, micro-control unit 103 and charging circuit 104 are electrically
Connection, when micro-control unit 103 receives the charging response message that charging load 200 is sent for charge prompting information, base
Controlling charging circuit in charging response message is charging load charging.Wherein, charging response message can be charging load with
Family is for generating after charge prompting information input confirmation charging operations.Charging circuit 104 electrically connects with power pins VDD
It connects, charging circuit provides power supply to charging load by power pins VDD as charging load charging.
In one embodiment, if charging load 200 is according to the voltage rating of the clear charging load of charge prompting information
Less than charging equipment provide rated output voltage, charging load 200 can user interface show the charge prompting information with
It is operated convenient for user according to the charge prompting information input, if charging load 200 receives the determining charging of user's input
Operation, charging load 200 generates charging response message according to the operation of confirmation charging, and charging response message is sent to charging
Equipment 100;After micro-control unit 103 in charging equipment 100 receives charging response message, charging equipment 100 can be notified
Middle voltage reduction module matches the voltage drop that charging circuit 104 provides as low as the voltage rating with charging load, then by filling
Circuit 104 with the voltage that charging load matches as charging load to charge.Optionally, if charging load it is specified
Voltage is less than the rated output voltage that charging equipment provides, if charge prompting information is for prompting for using the charging at this time
Equipment, which carries out charging for charging load, may have security risk.
It should be appreciated that since the charging equipment by high voltage is that lower charging load carries out charging in the presence of safe hidden
Trouble, charging equipment 100 are charging controlling charging circuit 104 by decompression processing with the voltage to match with charging load 200
Before load is charged, charge prompting information is sent to charging load 200, facilitates charging load user according to the actual situation
Judge whether to need to continue to charge using the charging equipment, it in other words, can if there are also other, and charging equipment can be used by user
To select more suitable charging equipment to charge as charging load, in this way, convenient for carrying out Charge Management to charging load,
Ensure the charging safety of charging load.
In one embodiment, if charging load 200 is according to the voltage rating of the clear charging load of charge prompting information
Greater than charging equipment provide rated output voltage, charging load can user interface show the charge prompting information in order to
User operates according to the charge prompting information input, if charging load 200 receives the operation for determining charging of user's input,
Charging load 200 generates charging response message according to the operation of confirmation charging, and charging response message is sent to charging equipment
100.After micro-control unit 103 in charging equipment 100 receives charging response message, charging equipment 100 can be notified to fill
As charging voltage, charging circuit 104 charges the rated output voltage that electric equipment provides by charging load of charging voltage.
Optionally, when the voltage rating of charging load is greater than the rated output voltage that charging equipment provides, charge prompting information is available
If selecting the charging equipment to carry out charging for charging load in informing user to need to spend more time.
It should be appreciated that since the rated output voltage of charging equipment offer is less than the voltage rating of charging load, at this time
When being charged using charging equipment for charging complexity, it may be necessary to expend more time, therefore be set in charging circuit with charging
The standby rated output voltage provided is that the forward direction charging load of charging load charging sends charge prompting information, and it is negative to facilitate charging
It carries whether user continues to charge determines according to actual conditions, user experience thus can be improved.
In the embodiment of the present invention, charging equipment 100 includes charging port 101, communication module 102 and micro-control unit
103, charging port 101 is for being electrically connected charging load and including power end and data terminal, and power end is for providing charging electricity
Source, data terminal are used for transmission data-signal;Communication module 102 is electrically connected with data terminal and micro-control unit respectively, data terminal
It is also used to receive the level signal of characterization charging load rated charging voltage;Communication module 102 according to level signal for generating
Encoded information, and encoded information is sent to micro-control unit 103;Micro-control unit 103 and data terminal are electrically connected with basis
The encoded information and the charging load execute data communication, realize the communication between charging equipment and charging load, have
Charge Management is carried out conducive to charging load, it is ensured that the safety of charging load charging.
It is a kind of charging communication means provided in an embodiment of the present invention, charging communication means shown in Fig. 3 can with reference to Fig. 3
With in application charging equipment shown in Fig. 1, which can be executed by charging equipment.Charging shown in Fig. 3 is logical
Letter method can comprise the following steps that
Step S401, when charging equipment is electrically connected by charging port and charging load, charging equipment passes through charging
The data terminal of port receives the level signal of the voltage rating of characterization charging load.
In one embodiment, level signal is the signal for characterizing the voltage rating of charging load, in other words level
There is corresponding relationship between signal and the voltage rating of charging load, level signal is the voltage rating of charging load with certain rule
Why voltage value after diminution, charging load send the level letter of the voltage rating for characterizing charging load to charging equipment
Number, it is rather than directly to charging equipment and sends voltage rating, be that the data terminal in the charging port due to charging equipment can only pass
Defeated lesser voltage, cannot transmit larger voltage.Charging load can preset level signal pass corresponding with voltage rating
System, it is assumed for example that the voltage rating of charging load is 5V, and it is 3V or 2V that level signal corresponding with voltage rating, which can be set,
Or 1V.For in the corresponding relationship embodiment of the present invention between specific voltage rating and level signal without limitation.
In one embodiment, charging equipment, which receives level signal and can be charging load, is detecting and charging equipment
Between electric connection in the case where receive.Electric connection between charging load and charging equipment, which has been established, to be referred to: being filled
Electric equipment accesses alternating current, and the charging port of charging load passes through the data terminal of data line and the charging port of charging equipment
It is attached.
In one embodiment, the data terminal in charging port is mainly used for data transmission, and data terminal may include the first number
According to pin and the second data pin, the first data pin can be expressed as DP, and the second data pin can be expressed as DM, above-mentioned to fill
Electric equipment receives the level signal of charging load transmission essentially by the first of data terminal by the data terminal of charging port
Data pin receives the level signal that charging load is sent, and is also possible to receive by the second pin of data terminal.Usual situation
Under, if detecting high-speed level signal, can be received by the first data pin, if detecting low speed level signal,
It can be received by the second data pin.In one embodiment, the power end in charging port may include power pins and
Grounding pin, power pins are used to provide charging voltage for charging load, and grounding pin is for being grounded.
In one embodiment, between the first data pin and the second data pin that data terminal includes by a resistance into
Row is electrically connected, and when so can charging load be connect with charging equipment, charging load detection be connected to charging equipment
Special charging port, but in other words so that charging load detects that the equipment having connected is charging equipment.
In one embodiment, the mode that charging equipment receives the level signal that charging load is sent can be with are as follows: is connecting
After foundation, charging equipment can send charge parameter request to charging load by data terminal, and charge parameter request is used for
Indicate that charging load sends the voltage rating of charging load to charging equipment, charge parameter request in other embodiments can be with
It is used to indicate the rated current that charging load sends charging load to charging equipment;Receive the charge parameter of charging equipment transmission
After request, charging load obtains the voltage rating of charging load, and is determined according to voltage rating for characterizing the voltage rating
The level signal is sent to the data terminal of charging equipment by level signal.
Step S402, charging equipment generates encoded information according to level signal.
In one embodiment, charging equipment can be with according to the mode that level signal generates encoded information are as follows: fills an electricity and sets
It is standby to be compared level signal with reference voltage, comparison result is obtained, then compared result carries out coded treatment, thus
To encoded information.In one embodiment, reference voltage is used to characterize the rated output voltage of charging equipment offer, that is to say, that
The rated output voltage that reference voltage and charging equipment provide is mutual corresponding relationship, it should be noted that in order to enable filling
Electric loading accurately carries out Charge Management to charging load, and the rated output electricity that reference voltage and charging equipment provide is arranged herein
The rule of the rule and above-mentioned setting level signal and the voltage rating of charging load of mutual corresponding relationship needs to protect between pressure
It holds identical.For example, if the rule of the corresponding relationship of the voltage rating of level signal and charging load that setting terminal is surveyed can be with
Be: the corresponding level signal of voltage rating 5V is 1V, then what the reference voltage and charging equipment of setting charging equipment side provided
The rule of the corresponding relationship of rated output voltage are as follows: the rated output voltage that charging equipment provides is the corresponding reference voltage of 5V
It also is 1V.
It should be appreciated that level signal, which is compared with reference voltage, can learn the voltage rating of charging load and fill
Electric equipment can provide the size relation between voltage.
Specifically, charging equipment may include emitter follower, voltage comparator and encoder, wherein emitter follower
It is mainly characterized by input resistance height, transmitting signal source signal efficiency is high, and output resistance is low, and carrying load ability is strong, voltage amplification times
Number is less than 1 close to 1, and output voltage is identical as input voltage phase, has following feature, is widely used as in practical applications
Output stage or intermediate isolating rank.Prime and rear class can be isolated when emitter follower is as intermediate isolating grade, be realized
Interfering with each other for front stage is isolated in buffering, to avoid output voltage by the influence loaded.Voltage comparator can be to input
Its two voltages carry out size comparison, and comparison result is indicated with low and high level, specifically, if charging in the embodiment of the present invention
The voltage rating of load is greater than reference voltage, then high level or low level can be exported, if the voltage rating of charging load
Less than the reference voltage of charging equipment, then low level or high level can be exported.Encoder can will be at analog information coding
Reason is digital information.
In one embodiment, charging equipment may is that charging equipment according to the mode that level signal generates encoded information
The level signal that data terminal receives is obtained by emitter follower, and the level signal is transferred to voltage comparator;Charging
Level signal is compared by equipment by voltage comparator with reference voltage, obtains comparison result, and the comparison result is passed
It is defeated by encoder;Charging equipment carries out coded treatment to the comparison result received by encoder, obtains encoded information.It should
Understand, the comparison result of voltage comparator output is analog level information, the letter that charging equipment and charging load can be transmitted
Breath is digital information, carries out coded treatment by encoder compared result and original analog level information is become data letter
Breath namely encoded information, can so communicate between charging equipment and charging load.
Step S403, charging equipment executes data communication according to encoded information and charging load by data terminal.
In one embodiment, charging equipment executes data communication according to encoded information and charging load by data terminal,
Include: charging equipment according to encoded information generation charge prompting information, and charge prompting information is sent to by data terminal and is filled
Electric loading, the rated output voltage that the voltage rating and charging equipment of the charge prompting information charging load charging load provide
Size relation, in order to which charging load carries out Charge Management to charging load according to size relation.
In one embodiment, the rated output voltage that charge prompting information is used to that charging load charging equipment to be prompted to provide
Size relation between the voltage rating of charging load, in order to which charging load is filled according to what the size relation performed the next step
Electric control.Charging load can show the charge prompting information received in user interface, in order to which user is closed according to size
Whether system's input continues the instruction operation of charging, and further, the instruction that charging load can be inputted according to user, which operates, to be determined
Whether to charging equipment send charging response message.If charging load, which receives user, confirms charging operations, charging load
Charging response message can be sent to charging equipment so that charging equipment is charging load charging;If charging load receives use
Charging operations are cancelled at family, then charging load can not send charging response message to charging equipment.
In one embodiment, charging equipment further includes charging circuit, is filled when charging equipment receives charging load and is directed to
When the charging response message that electric prompt information is sent, charging equipment is according to the determining specified electricity with charging load of charging response message
Press the charging voltage to match;It is charged by charging circuit by charging load of charging voltage.
In one embodiment, if charging load is less than according to the voltage rating of the clear charging load of charge prompting information
The rated output voltage that charging equipment provides, charging load can show the charge prompting information in order to user in user interface
It indicates to operate according to the charge prompting information input, if charging load receives the determination charging operations of user's input, charging
Load generates charging response message according to confirmation charging operations, and charging response message is sent to charging equipment;Charging equipment
Receive charging response message after, can notify voltage reduction module in charging equipment, the voltage drop that charging circuit is provided as low as with
The voltage rating of charging load matches, then by charging circuit using the voltage that matches with charging load as charging load into
Row charging.Optionally, if the voltage rating of charging load is less than the rated output voltage that charging equipment provides, charging is mentioned at this time
If show information for prompt for using the charging equipment be charging load carry out charge may have security risk.
It should be appreciated that since the charging equipment by high voltage is that lower charging load carries out charging in the presence of safe hidden
Suffer from, charging equipment is handling control charging circuit to be filled with the voltage that charging load matches as charging load by decompression
Before electricity, charge prompting information is sent to charging load, facilitates charging load user and judges whether to need according to the actual situation
Continue to charge using the charging equipment, in other words, if there are also other, and charging equipment can be used by user, it is more suitable to can choose
Charging equipment be that charging load charges, in this way, convenient for carrying out Charge Management to charging load, it is ensured that charging is negative
The charging safety of load.
In one embodiment, if charging load is greater than according to the voltage rating of the clear charging load of charge prompting information
The rated output voltage that charging equipment provides, charging load can show the charge prompting information in order to user in user interface
It indicates to operate according to the charge prompting information input, if charging load receives the determination charging operations of user's input, charging
Load generates charging response message according to the operation of confirmation charging, and charging response message is sent to charging equipment.Charging is set
After receiving charging response message, charging equipment can be notified using the rated output voltage that charging equipment provides as charging electricity
Pressure, charging circuit charge by charging load of charging voltage.Optionally, it is set when the voltage rating of charging load is greater than charging
When the standby rated output voltage provided, if charge prompting information can be used for informing that user selects the charging equipment for charging load
Charging is carried out to need to spend more time.
As an example it is assumed that the voltage rating of charging load is 5V, the available maximum voltage of charging equipment is 9V, charging
When connection between equipment and charging load has been established, charging equipment sends charge parameter acquisition request to charging load, then
Level signal is compared with reference voltage, is compared to charging equipment transmission level signal, charging equipment by charging load
As a result;Charge prompting information is generated according to comparison result, and is sent to charging load, charging load can be from charge prompting information
In learn size relation between rated output voltage that voltage rating and charging equipment provide, and size relation is showed into use
Family.If user wants to continue being that charging load charges using the charging equipment, user's input validation charging operations, in turn
Charging load notifies charging equipment that 9V is reduced to 5V as charging load charging.
In the embodiment of the present invention, in the case where charging equipment is electrically connected by charging port and charging load, charging
Equipment receives the level signal of charging load transmission, and encoded information can be generated according to level signal, and further charging is set
It is standby that data communication is executed according to encoded information and charging load by data terminal, in order to carry out Charge Management to charging load,
Ensure the safety of charging load charging.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Instruct relevant hardware to complete by computer program, program can be stored in a computer-readable storage medium,
The program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, storage medium can for magnetic disk, CD,
Read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory,
RAM) etc..
Above disclosed is only a preferred embodiment of the present invention, cannot limit the power of the present invention with this certainly
Sharp range, those skilled in the art can understand all or part of the processes for realizing the above embodiment, and weighs according to the present invention
Benefit requires made equivalent variations, still belongs to the scope covered by the invention.
Claims (10)
1. a kind of charging equipment, which is characterized in that including charging port, communication module and micro-control unit, the charging end
Mouth is for being electrically connected charging load and including power end and data terminal, and the power end is for providing charge power supply, the number
Data-signal is used for transmission according to end;
The communication module is electrically connected with the data terminal and the micro-control unit respectively, and the data terminal is also used to receive
Characterize the level signal of the rated charging voltage of the charging load;
The communication module is used to generate encoded information according to the level signal, and the encoded information is sent to described micro-
Control unit;
The micro-control unit and the data terminal are electrically connected to execute number according to the encoded information and the charging load
According to communication.
2. charging equipment according to claim 1, which is characterized in that the data communication includes: the micro-control unit
Charge prompting information is generated according to the encoded information received, and the charge prompting information is sent to the data
End, the data terminal are also used to the charge prompting information being sent to the charging load.
3. charging equipment according to claim 2, which is characterized in that the charging equipment further includes charging circuit,
The charging circuit and the power end are electrically connected, and the charging circuit is by the power end to the charging load
Power supply is provided as charging load charging;
The micro-control unit and the charging circuit are electrically connected, when the micro-control unit receives the charging load needle
When the charging response message sent to the charge prompting information, mentioned based on the charging response message control charging circuit
It is charging load charging for the charging voltage to match with the rated charging voltage.
4. charging equipment according to claim 3, which is characterized in that the communication module includes emitter follower, voltage
Comparator and encoder,
The emitter follower and the data terminal are electrically connected, and the emitter follower is for receiving the level signal;
The emitter follower is also electrically connected with the voltage comparator, and the level signal received is transferred to institute
State voltage comparator;
The voltage comparator and the encoder are electrically connected, and the voltage comparator is used for the level signal and reference
Voltage is compared, and the comparison result is sent to the encoder, wherein the reference voltage characterization charging is set
The standby rated output voltage provided;
The encoder carries out coded treatment to the comparison result and obtains the encoded information.
5. charging equipment according to claim 4, which is characterized in that the data terminal includes cooperating to execute transmission number
It is believed that number the first data pin and the second data pin, first resistor is electrically connected at first data pin and described
Between two data pins, the power end includes power pins and grounding pin, and the power pins and the grounding pin divide
Not being electrically connected with the charging circuit is that the charging load charges,
First data pin and the emitter follower are electrically connected, for the level signal received to be sent to
The emitter follower;
First data pin and the MCU are electrically connected, the charge prompting information sent for receiving the MCU,
And the charge prompting information is sent to the charging load to execute data communication.
6. a kind of charging communication means characterized by comprising
When charging equipment is electrically connected by charging port and charging load, the charging equipment passes through the charging port
Data terminal receives the level signal for characterizing the voltage rating of the charging load;
The charging equipment generates encoded information according to the level signal;
The charging equipment executes data communication according to the encoded information and the charging load by the data terminal.
7. according to the method described in claim 6, it is characterized in that, the charging equipment includes that emitter follower, voltage compare
Device and encoder, the charging equipment generate encoded information according to the level signal, comprising:
The charging equipment obtains the level signal that the data terminal receives by the emitter follower, and will be described
Level signal is transferred to voltage comparator;
The level signal is compared by the charging equipment by the voltage comparator with reference voltage, obtains comparing knot
Fruit, and the comparison result is transferred to the encoder, the reference voltage characterizes the specified defeated of the charging equipment offer
Voltage out;
The charging equipment carries out coded treatment to the comparison result that the encoder receives by the encoder, is compiled
Code information.
8. the method according to the description of claim 7 is characterized in that the charging equipment is by the data terminal according to the volume
Code information and the charging load execute data communication, comprising:
The charging equipment generates charge prompting information according to the encoded information, and by the charge prompting information described in
Data terminal is sent to the charging load, the voltage rating of charging load described in charging load described in the charge prompting information with
The size relation for the rated output voltage that the charging equipment provides, in order to which the charging load is according to the size relation pair
The charging load carries out Charge Management.
9. according to the method described in claim 8, it is characterized in that, the charging equipment further includes charging circuit, the method
Further include:
When receiving the charging response message that the charging load is sent for the charge prompting information, the charging equipment
The charging voltage to be matched according to the determining voltage rating with the charging load of charging response message;
The charging equipment is charging load charging with the charging voltage by the charging circuit.
10. according to the method described in claim 9, it is characterized in that, the charging port of the charging equipment includes the data
End and power end, the data terminal include the first data pin and the second data pin, the power end include power pins and
Grounding pin, the charging equipment receive the voltage rating for characterizing the charging load by the data terminal of the charging port
Level signal, comprising:
The charging equipment receives the voltage rating for characterizing the charging load by the first data pin of the data terminal
Level signal;
The charging equipment is charging load charging with the charging voltage by the charging circuit, comprising:
The charging equipment exports the charging voltage by the power end as charging load charging.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811629979.3A CN110212596A (en) | 2018-12-28 | 2018-12-28 | A kind of charging equipment and the communication means that charges |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811629979.3A CN110212596A (en) | 2018-12-28 | 2018-12-28 | A kind of charging equipment and the communication means that charges |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110212596A true CN110212596A (en) | 2019-09-06 |
Family
ID=67780040
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811629979.3A Pending CN110212596A (en) | 2018-12-28 | 2018-12-28 | A kind of charging equipment and the communication means that charges |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110212596A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110867068A (en) * | 2019-11-21 | 2020-03-06 | 广东乐芯智能科技有限公司 | Contact charging control method for wearable equipment |
-
2018
- 2018-12-28 CN CN201811629979.3A patent/CN110212596A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110867068A (en) * | 2019-11-21 | 2020-03-06 | 广东乐芯智能科技有限公司 | Contact charging control method for wearable equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104393627B (en) | USB charger, mobile terminal and charge control method | |
CN104393628B (en) | USB charger, mobile terminal and charging control method | |
KR101898185B1 (en) | Power adaptor, terminal and charging system | |
CN105680501B (en) | Portable electronic device and its charging method | |
US10554060B2 (en) | Systems and methods for charging via USB port | |
CN106537719A (en) | Electronic device, charger, charging system, and charging method | |
CN106300501B (en) | A kind of adapter recognition methods and intelligent mobile terminal | |
US20170269922A1 (en) | Method for upgrading firmware of adapter, apparatus, and system thereof | |
CN107707000B (en) | OTG power supply and wireless charging compatible circuit, related method and terminal equipment | |
CN104037920B (en) | A kind of lead-acid battery smart charge control system | |
CN104253458A (en) | USB (universal serial bus) charging cable performance testing system and method and electronic device | |
CN109254210B (en) | Electronic equipment port type detection method and device, detection circuit and electronic equipment | |
US20180278082A1 (en) | Electronic device and charging method thereof | |
CN106329654A (en) | Electronic device and charging method thereof | |
CN104795864B (en) | A kind of mobile terminal and charged state detection method of accurate detection charged state | |
CN110212596A (en) | A kind of charging equipment and the communication means that charges | |
CN109861038B (en) | USB connection port capable of automatically switching connection mode and control method thereof | |
CN105743185B (en) | A kind of mobile terminal and charging method | |
CN106300549A (en) | Electronic installation and charging method thereof | |
CN109148986A (en) | A kind of charging method and device | |
CN104917227A (en) | Charge control method, charging equipment and terminal equipment | |
CN112217296B (en) | Wireless charging method, device, equipment and computer storage medium | |
CN114928029A (en) | Temperature detection circuit and chip, battery protection circuit, chip and device | |
CN106532839A (en) | Charging control method and system | |
CN107425570B (en) | Charging method, system and device of terminal equipment |
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 |