WO2022214083A1 - Multi-fast charging protocol control circuit, control method, chip, and electronic device - Google Patents

Multi-fast charging protocol control circuit, control method, chip, and electronic device Download PDF

Info

Publication number
WO2022214083A1
WO2022214083A1 PCT/CN2022/085879 CN2022085879W WO2022214083A1 WO 2022214083 A1 WO2022214083 A1 WO 2022214083A1 CN 2022085879 W CN2022085879 W CN 2022085879W WO 2022214083 A1 WO2022214083 A1 WO 2022214083A1
Authority
WO
WIPO (PCT)
Prior art keywords
voltage
port
interface
module
switch
Prior art date
Application number
PCT/CN2022/085879
Other languages
French (fr)
Chinese (zh)
Inventor
汤厚涛
Original Assignee
深圳英集芯科技股份有限公司
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 深圳英集芯科技股份有限公司 filed Critical 深圳英集芯科技股份有限公司
Publication of WO2022214083A1 publication Critical patent/WO2022214083A1/en

Links

Images

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/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • H02J7/00034Charger exchanging data with an electronic device, i.e. telephone, whose internal battery is under charge
    • 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/007Regulation of charging or discharging current or voltage
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
    • H02J7/00714Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters in response to battery charging or discharging current
    • 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/007Regulation of charging or discharging current or voltage
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
    • H02J7/007182Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters in response to battery voltage
    • H02J7/007186Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters in response to battery voltage obtained with the battery disconnected from the charge or discharge circuit
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Definitions

  • the present application relates to the technical field of fast charging, and in particular, to a multi-fast charging protocol control circuit, a control method, a chip and an electronic device.
  • the mainstream protocols on the market include the Quick Charge (QC) 3.0/2.0 protocol, the Dedicated Charging Ports (DCP) protocol, the Fast Charge Protocol (FCP) protocol, the ultra-fast charging protocol (Super Fast Charge, SCP) protocol, adaptive fast charging protocol (Adaptive Fast, AFC) and other fast charging protocols.
  • the traditional fast charging protocol chip usually only supports a single fast charging protocol, and cannot realize the fast charging of multiple fast charging protocols through a single fast charging protocol chip, which causes some mobile phones or electronic devices to be unable to fast charge, and there is a protocol compatibility problem. .
  • the present application provides a multi-fast charging protocol control circuit, control method, chip and electronic device, in order to solve the protocol compatibility problem caused by the inability of a single fast charging protocol chip to support multiple fast charging protocols in traditional fast charging protocol chips.
  • an embodiment of the present application provides a multi-fast charging protocol control circuit, including a charging logic control module, a first voltage detection module, a second voltage detection module, an AFSCP sending module, a VOOC sending module, a DP interface, a DM interface, VBUS interface, GND interface, timer module, switch G1, switch G2, switch G3;
  • the charging logic control module is connected to the first port of the first voltage detection module, the first port of the second voltage detection module, the VBUS interface, the GND interface, the timer module and the AFSCP
  • the DP interface is connected to the first port of the switch G2.
  • the second port of the switch G1 is connected to the second port of the VOOC sending module.
  • the second port of the second voltage detection module and the first port of the switch G3 are combined and connected to the DM interface and the second port of the switch G2, and the second port of the switch G3 is connected to the AFSCP sending module the second port;
  • the DP interface, the DM interface, the VBUS interface, and the GND interface are used to connect a load device, and the VOOC sending module is used to perform a VOOC protocol with the load device under the control of the charging logic control module communication, the AFSCP sending module is used for AFC/SCP/FCP protocol communication with the load device under the control of the charging logic control module, and the charging logic control module is used to control the first voltage detection module to detect The voltage of the DP interface, the second voltage detection module is controlled to detect the voltage of the DM interface, the timer module is used for timing, and the switch is controlled according to the voltage detection result, the timing result and the current of the VBUS interface G1, the switch G2 and the switch G3 are turned on and off to adjust the channel state of the multi-fast charging protocol control circuit, and use the corresponding communication protocol to communicate with the load device, and communicate with the load device through the VBUS interface.
  • the load device is charged.
  • the present application provides a control method for a multi-fast charging protocol control circuit
  • the multi-fast charging protocol control circuit includes the multi-fast charging protocol control circuit as described in the first aspect
  • the control method includes the following steps:
  • the charging logic control module adopts the DCP fast charging protocol by default, and controls the channel state of the multi-fast charging protocol control circuit to be the first state;
  • the charging logic control module determines the voltage change of the DP interface or the DM interface according to the voltage detection result of the first voltage detection module or the second voltage detection module, the timer module starts to count the time t1;
  • the charging logic control module controls the multi-fast charging protocol control circuit after the t1 time period
  • the channel state of is the second state, the switch G2 is closed, and the DP interface and the DM interface are short-circuited;
  • the charging logic control module determines, according to the voltage detection result of the first voltage detection module, that the DP interface voltage is Within the set voltage range, the timer module starts to count the time t2;
  • the charging logic control module determines that the voltage of the DP interface is always within the preset voltage range according to the voltage detection result of the first voltage detection module;
  • the charging logic control module controls the channel state of the multi-fast charging protocol control circuit to be the third state, the switch G2 is turned off, and the short circuit between the DP interface and the DM interface is disconnected. ;
  • the charging logic control module controls the switch G1 and the switch G3 to close, and judges whether the DM interface is less than a first preset voltage value according to the voltage detection result of the second voltage detection module;
  • the timer module starts timing t3 time
  • the charging logic control module determines that the voltage of the DM interface is always less than the first preset voltage value according to the voltage detection result of the second voltage detection module, then the QC handshake is successful; otherwise, the QC handshake is successful. , QC handshake failed;
  • the charging logic control module adopts the QC fast charging protocol, and adjusts the output voltage of the VBUS interface according to the voltage detection results of the first voltage detection module and the second voltage detection module;
  • the charging logic control module detects whether the current of the VBUS interface is greater than the preset current value
  • the timer module starts timing t4 time
  • the charging logic control module detects that the current of the VBUS interface is always greater than the preset current value, the VOOC sending module communicates with the load device through the VOOC protocol.
  • the present application provides a multi-fast charging protocol control chip, including the multi-fast charging protocol control circuit described in the first aspect.
  • the present application provides an electronic device, including the multi-fast charging protocol control chip as described in the third aspect.
  • the present application provides a multi-fast charging protocol control circuit, including a charging logic control module, a first voltage detection module, a second voltage detection module, an AFSCP transmission module, a VOOC transmission module, a DP interface, a DM interface, and a VBUS interface.
  • a charging logic control module including a charging logic control module, a first voltage detection module, a second voltage detection module, an AFSCP transmission module, a VOOC transmission module, a DP interface, a DM interface, and a VBUS interface.
  • GND interface, timer module, switch G1, switch G2, switch G3, and the charging logic control module is used to control the first voltage detection module and the second voltage detection module to detect the voltage of the DP interface and the DM interface respectively.
  • Timing according to the voltage detection results, timing results and the current of the VBUS interface to control the on-off of the switch G1, the switch G2, and the switch G3, and use the corresponding communication protocol to communicate with the load device, and to charge the load device through the VBUS interface. It can be seen that the multi-fast charging protocol control circuit provided in this application can realize fast charging of various fast charging protocols, and when applied to a fast charging protocol chip, a single chip can support various fast charging protocols, and the application is flexible and cost saving.
  • FIG. 1 is a circuit schematic diagram of a multi-fast charging protocol control circuit provided by the present application.
  • FIG. 2 is a circuit schematic diagram of a voltage detection module provided by the present application.
  • FIG. 3 is a circuit schematic diagram of another multi-fast charging protocol control circuit provided by the present application.
  • FIG. 4 is a circuit schematic diagram of a data voltage output module provided by the present application.
  • FIG. 5 is a circuit schematic diagram of another multi-fast charging protocol control circuit provided by the present application.
  • FIG. 6 is a circuit schematic diagram of another multi-fast charging protocol control circuit provided by the present application.
  • FIG. 7 is a schematic flowchart of a control method of a multi-fast charging protocol control circuit provided by the present application.
  • FIG. 8 is a schematic flowchart of another control method of a multi-fast charging protocol control circuit provided by the present application.
  • this embodiment provides a multi-fast charging protocol control circuit, a charging logic control module, a first voltage detection module, a second voltage detection module, an AFSCP sending module (ie, an FCP/SCP/AFC protocol sending module), Flash charge VOOC sending module, data positive signal (Data Positive, DP) interface, data negative signal (Data Minus, DM) interface, voltage positive VBUS interface, voltage negative GND interface, timer module, switch G1, switch G2, switch G3 ;
  • AFSCP sending module ie, an FCP/SCP/AFC protocol sending module
  • Flash charge VOOC sending module data positive signal (Data Positive, DP) interface, data negative signal (Data Minus, DM) interface, voltage positive VBUS interface, voltage negative GND interface, timer module, switch G1, switch G2, switch G3 ;
  • the charging logic control module is connected to the first port of the first voltage detection module, the first port of the second voltage detection module, the VBUS interface, the GND interface, the timer module and the AFSCP
  • the DP interface is connected to the first port of the switch G2.
  • the second port of the switch G1 is connected to the second port of the VOOC sending module.
  • the second port of the second voltage detection module and the first port of the switch G3 are combined and connected to the DM interface and the second port of the switch G2, and the second port of the switch G3 is connected to the AFSCP sending module the second port;
  • the DP interface, the DM interface, the VBUS interface, and the GND interface are used to connect a load device, and the VOOC sending module is used to perform a VOOC protocol with the load device under the control of the charging logic control module communication, the AFSCP sending module is used for AFC/SCP/FCP protocol communication with the load device under the control of the charging logic control module, and the charging logic control module is used to control the first voltage detection module to detect The voltage of the DP interface, the second voltage detection module is controlled to detect the voltage of the DM interface, the timer module is used for timing, and the switch is controlled according to the voltage detection result, the timing result and the current of the VBUS interface G1, the switch G2 and the switch G3 are turned on and off to adjust the channel state of the multi-fast charging protocol control circuit, and use the corresponding communication protocol to communicate with the load device, and communicate with the load device through the VBUS interface.
  • the load device is charged.
  • the multi-fast charging protocol control circuit described in the embodiments of the present application can be applied to the fast charging protocol control chip at the power adapter end.
  • the charging logic control module can specifically be used to control the VOOC sending module to communicate with the load device through the DP interface with the VOOC protocol, and to control the AFSCP sending module to communicate with the load device through the DM interface.
  • the charging logic control module controls the two voltage detection modules (the first voltage detection module and the second voltage detection module) to detect the voltage of the DP interface and the DM interface, which may include configuring the voltage detection module to A range of voltages is detected.
  • the charging logic control module can use a fast charging protocol as the initial fast charging protocol by default, and then can determine whether it needs to be switched according to the protocol communication with the load device.
  • the charging logic control module can use the DCP protocol by default. After connecting with the load device, it can adjust the path status of the multi-fast charging protocol control circuit and perform a protocol handshake with the load device to confirm whether the fast charging protocol needs to be switched.
  • the charging logic control module confirms the connection with the load device according to the voltage detection result of the voltage detection module (for example, according to the voltage detection result of the first voltage detection module or the second voltage detection module) After determining that the voltage of the DP interface or the DM interface changes for a period of time), the charging logic control module can control the switch G2 to close, so that the DP interface and the DM interface are short-circuited, and the load device is notified that the DCP protocol is used.
  • the load device After the load device detects that the DP interface and the DM interface are short-circuited, it can be determined that the power adapter adopts the DCP fast charging protocol. If the load device needs to adopt other fast charging protocols, it can control the voltage output to the DP interface and DM interface accordingly. , the charging logic control module can determine whether to switch the adopted fast charging protocol through the voltage detection result.
  • the charging logic control module determines that the voltage value on the DP interface is within the preset voltage value range for a specific time, and can control the disconnection switch G2 to disconnect the DP interface and the Short-circuit the DM interface, enable switch G1 and switch G3, and perform QC protocol handshake with the load device. Specifically, it can be determined whether the QC handshake is successful by detecting whether the voltage on the DM interface meets the preset conditions. Switch G1 and switch G3 are enabled. At this time, the AFSCP sending module and the VOOC sending module can communicate with the load device through the DP interface and DM interface under the control of the charging logic control module.
  • the charging logic control module can adjust the output voltage on VBUS according to the voltage detection result, and then realize fast charging supporting multiple fast charging protocols through the above-mentioned multi-fast charging logic control circuit.
  • the AFSCP sending module and the VOOC sending module are used to send signals (specifically, the AFSCP sending module can be controlled by the charging logic control module to output a specific voltage signal to the DM interface, control the VOOC sending module to output a specific voltage signal to the DP interface), and the charging logic control module is used to determine the signal from the load device according to the voltage detection result.
  • the first voltage detection module includes a voltage comparator CMP1, a voltage comparator CMP2, and a voltage comparator CMP3, and the second voltage detection module includes a voltage comparator CMP4, a voltage comparator CMP5, voltage comparator CMP6; the first input terminal of the voltage comparator CMP1, the first input terminal of the voltage comparator CMP2, the first input terminal of the voltage comparator CMP3, the first input terminal of the switch G1 After the ports are combined, the DP interface and the first port of the switch G2 are connected; the first input terminal of the voltage comparator CMP4, the first input terminal of the voltage comparator CMP5, the voltage comparator CMP6 The first input end and the first port of the switch G3 are combined and connected to the DM interface and the second port of the switch G2; the output end of the voltage comparator CMP1 and the output end of the voltage comparator CMP2 , The output terminal of the voltage comparator CMP3, the output terminal of the voltage comparator CMP4, the output terminal
  • the voltage comparator CMP1, the voltage comparator CMP2, the voltage comparator CMP3 are used to detect the voltage on the DP interface
  • the voltage comparator CMP4, the voltage comparator CMP5, and the voltage comparator CMP6 are used to detect the voltage on the DM interface
  • the charging logic The control module can determine the voltages on the DP interface and the DM interface respectively according to the voltage detection result of the comparator.
  • the first voltage detection module further includes: a data selector D1 and a data selector D2
  • the second voltage detection module further includes: a data selector D3 and a data selector D4;
  • the second input terminal of the voltage comparator CMP1 is connected to the output terminal of the data selector D1, the second input terminal of the voltage comparator CMP2 is connected to the output terminal of the data selector D2, and the voltage comparator CMP3
  • the input voltage of the second input terminal of the data selector D1 is the first input voltage
  • the input voltage of the first input terminal of the data selector D1 is the second input voltage
  • the input voltage of the second input terminal of the data selector D1 is the third input voltage
  • the input voltage of the first input terminal of the data selector D2 is the fourth input voltage
  • the input voltage of the second input terminal of the data selector D2 is the fifth input voltage
  • the second input terminal of the voltage comparator CMP4 is connected to the output terminal of the data selector D3, the second input terminal of the voltage comparator CMP5 is connected to the output terminal of the data selector D4, and the voltage comparator CMP6
  • the input voltage of the second input terminal of the data selector D3 is the sixth input voltage
  • the input voltage of the first input terminal of the data selector D3 is the seventh input voltage
  • the input voltage of the second input terminal of the data selector D3 is the eighth input voltage
  • the input voltage of the first input terminal of the data selector D4 is the ninth input voltage
  • the input voltage of the second input terminal of the data selector D4 is the tenth input voltage.
  • the first input voltage and the sixth input voltage may be 0.325V
  • the second input voltage and the seventh input voltage may be 2.9V
  • the third input voltage, the fourth input voltage, the eighth input voltage and the ninth input voltage may be is 2.0V
  • the fifth input voltage may be 1.2V
  • the tenth input voltage may be 1.5V.
  • One input terminal of the voltage comparator is connected to the output terminal of a data selector, and the voltage values of the two input terminals of the data selector are different, that is to say, one input terminal of the voltage comparator can be selected to be connected to different input voltages , so that the detection of voltages in different voltage value ranges can be realized through the same voltage detection module.
  • the first voltage detection The module can detect voltages less than 0.325V, 0.325V ⁇ 2.0V, and voltages greater than 2.0V (determined by the outputs of the voltage comparator CMP2 and the voltage comparator CMP3), and when the input of the second input terminal of the voltage comparator CMP2 When the voltage is 1.2V (that is, the data selector D2 selects 1.2V), the first voltage detection module can detect voltages less than 0.325V, voltages between 0.325V and 1.2V, and voltages greater than 1.2V.
  • the voltage selected by the input terminal of the voltage comparator may also be different.
  • the input voltage of the second input terminals of the voltage comparator CMP1 and the voltage comparator CMP4 can be 2.9V
  • the input voltage of the second input terminal of the voltage comparator CMP2 and the voltage comparator CMP5 can be 2.0V.
  • the charging logic control module can control the output voltage of the VBUS interface according to the voltage detection results of the first voltage detection module and the second voltage detection module, wherein the relationship between the voltage of the DP interface and the DM interface and the VBUS output voltage is shown in Table 1 below.
  • the adapter voltage is the VBUS output voltage
  • the first input terminal of each voltage comparator is the non-inverting input terminal
  • the second input terminal is the inverting input terminal.
  • the charging logic control module adjusts the output of the VBUS interface
  • the voltage is 5V.
  • the adapter voltage is default and the default state is maintained.
  • the adapter voltage is Continuous mode, namely QC3. 0 mode.
  • the multi-fast charging protocol control circuit further includes: a first data voltage output module and a second data voltage output module;
  • the charging logic control module is connected to the control port of the first data voltage output module, the control port of the second data voltage output module, the first port of the first data voltage output module, the first voltage detection module
  • the second port of the module and the first port of the switch G1 are combined and connected to the DP interface and the first port of the switch G2, and the second data voltage outputs the first port of the module, the second voltage
  • the second port of the detection module and the first port of the switch G3 are combined and connected to the DM interface and the second port of the switch G2;
  • the first data voltage output module is used to provide the output voltage of the DP interface
  • the second data voltage output module is used to provide the output voltage of the DM interface
  • the charging logic control module is further used to control the The output voltage of the first data voltage output module and the second data voltage output module.
  • the charging logic control module may control the output voltages of the two data voltage output modules to control the two data voltage output modules to output a voltage with a specific voltage value to the DP interface or the DM interface, or control the two data voltage output modules. Do not output voltage to the outside.
  • the charging logic control module can notify the load device of the specific fast charging mode by controlling the output voltages of the two data voltage output modules, for example, by controlling the first data voltage
  • the voltages output by the output module and the second data voltage output module to the DP interface and the DM interface are both 2.7V, and the load device is notified to adopt the APPLE2.4A mode.
  • the first data voltage output module includes a data selector D5 and an analog switch OP1
  • the second data voltage output module includes a data selector D6 and an analog switch OP2;
  • the input voltage of the first input terminal of the data selector D5 is the eleventh input voltage
  • the input voltage of the second input terminal of the data selector D5 is the twelfth input voltage
  • the output terminal of the data selector D5 is connected to
  • the first port of the analog switch OP1, the second port of the analog switch OP1, the second port of the first voltage detection module, and the first port of the switch G1 are combined and connected to the DP interface and all the first port of the switch G2, the charging logic control module is connected to the control port of the data selector D5 and the control port of the analog switch OP1;
  • the input voltage of the first input terminal of the data selector D6 is the thirteenth input voltage
  • the input voltage of the second input terminal of the data selector D6 is the fourteenth input voltage
  • the output terminal of the data selector D6 is connected to
  • the first port of the analog switch OP2, the second port of the analog switch OP2, the second port of the second voltage detection module, and the first port of the switch G3 are combined and connected to the DM interface and all
  • the charging logic control module is connected to the control port of the data selector D6 and the control port of the analog switch OP2.
  • the eleventh input voltage and the thirteenth input voltage may be 2.7V, and the twelfth input voltage and the fourteenth input voltage may be 2.0V.
  • the charging logic control module can respectively control whether the first data voltage output module and the second voltage output module output data voltage through the control ports of the two analog switches, and can control the two data selectors D5 and D6, the values of the output voltages of the above two data voltage output modules can be controlled respectively.
  • the charging logic control module controls the data selector D5 to select a voltage of 2.7V, and controls the analog switch OP1 to open, then the first data voltage output module can output a voltage of 2.7V to the DP interface.
  • the charging logic control module can control the output voltage values of the above two data voltage output modules according to the specific fast charging mode. Specifically, the output voltage values of the two data voltage output modules are related to the fast charging mode.
  • the corresponding relationship of the modes can be: the output voltage of the first data voltage output module is 2.0V, the output voltage of the second data voltage output module is 2.7V, corresponding to the APPLE 1A fast charging mode; the output voltage of the first data voltage output module is 2.7V, the output voltage of the second data voltage The output voltage of the voltage output module is 2.0V, corresponding to the APPLE 2A fast charging mode; the output voltage of the first data voltage output module is 2.7V, and the output voltage of the second data voltage output module is 2.7V, corresponding to the APPLE 2.4A fast charging mode.
  • the multi-fast charging protocol control circuit further includes: a resistor R1, a resistor R2, an NMOS transistor N1, and an NMOS transistor N2;
  • the first port of the resistor R1, the second port of the first voltage detection module, and the first port of the switch G1 are combined to connect to the DP interface and the first port of the switch G2, and the resistor
  • the second port of R1 is connected to the drain of the NMOS transistor N1, and the source of the NMOS transistor N1 is grounded;
  • the first port of the resistor R2, the second port of the second voltage detection module, and the first port of the switch G3 are combined to connect to the DM interface and the second port of the switch G2, and the resistor
  • the second port of R2 is connected to the drain of the NMOS transistor N2, and the source of the NMOS transistor N2 is grounded;
  • the charging logic control module is connected to the gate of the NMOS transistor N1 and the gate of the NMOS transistor N2;
  • the charging logic control module is further configured to control the gate voltage of the NMOS transistor N1 and the gate voltage of the NMOS transistor N2.
  • resistor R1 and resistor R2 can be used as bleeder resistors. By setting resistor R1 and resistor R2, it can match the impedance requirements of the DP interface or DM interface in the charging specification corresponding to the DCP fast charging protocol.
  • the charging logic control module can control the conduction state of the NMOS transistor N1 and the NMOS transistor N2 by controlling the gate voltages of the NMOS transistor N1 and the NMOS transistor N2, thereby realizing the control of whether the resistor R1 and the resistor R2 are grounded. .
  • the charging logic control module can make the NMOS transistor N2 turn on by controlling the gate voltage of the NMOS transistor N2.
  • the charging logic control module includes an S0 port, an S1 port, and an S2 port;
  • the S0 port is connected to the control port of the switch G1, the S1 port is connected to the control port of the switch G2, and the S2 port is connected to the control port of the switch G3;
  • the charging logic control module is configured to control the on-off of the switch G1 through the S0 port, control the on-off of the switch G2 through the S1 port, and control the on-off of the switch G3 through the S2 port.
  • the charging logic control module includes an S3 port, an S4 port, an S5 port, and an S6 port;
  • the S3 port is connected to the control port of the data selector D1
  • the S4 port is connected to the control port of the data selector D2
  • the S5 port is connected to the control port of the data selector D3
  • the S6 port is connected the control port of the data selector D4;
  • the charging logic control module is used to control the voltage selected by the data selector D1 through the S3 port, control the voltage selected by the data selector D2 through the S4 port, and control the input voltage through the S5 port.
  • the data selector D3 selects the input voltage, and controls the data selector D4 to select the input voltage through the S6 port.
  • the charging logic control module includes an S7 port, an S8 port, an S9 port, and an S10 port;
  • the S7 port is connected to the control port of the data selector D5, the S8 port is connected to the control port of the analog switch OP1, the S9 port is connected to the control port of the data selector D6, and the S10 port is connected to all The control port of the analog switch OP2;
  • the charging logic control module is used to control the voltage of the data selector D5 to select the input through the S7 port, to control the voltage of the data selector D6 to select the input through the S9 port, and to control the voltage of the data selector D6 to select the input through the S8 port.
  • the on-off of the analog switch OP1 is controlled, and the on-off of the analog switch OP2 is controlled through the S10 port.
  • the charging logic control module includes an S11 port and an S12 port;
  • the S11 port is connected to the gate of the NMOS transistor N1, and the S12 port is connected to the gate of the NMOS transistor N2;
  • the charging logic control module is configured to control the gate voltage of the NMOS transistor N1 through the S11 port, and control the gate voltage of the NMOS transistor N2 through the S12 port.
  • the multi-fast charging protocol control circuit includes: a charging logic control module, an analog switch OP1, an analog switch OP2, a switch G1, Switch G2, Switch G3, Data Selector D1, Data Selector D2, Data Selector D3, Data Selector D4, Data Selector D5, Data Selector D6, Voltage Comparator CMP1, Voltage Comparator CMP2, Voltage Comparator CMP3 , voltage comparator CMP4, voltage comparator CMP5, voltage comparator CMP6, AFSCP sending module, VOOC sending module, resistor R1, resistor R2, NMOS tube N1, NMOS tube N2, DP interface, DM interface, VBUS interface, GND interface, Timer module; the charging logic control module includes S0 port, S1 port, S2 port, S3 port, S4 port, S5 port, S6 port, S7 port, S8 port, S9 port, S10 port, S11 port, S12 port.
  • the charging logic module is connected to the output terminal of the voltage comparator CMP1, the output terminal of the voltage comparator CMP2, the output terminal of the voltage comparator CMP3, the output terminal of the voltage comparator CMP4, the output terminal of the voltage comparator CMP5, and the voltage comparator CMP6.
  • the S3 port of the charging logic control module is connected to the control port of switch G1, the S4 port is connected to the control port of switch G2, the S8 port is connected to the control port of switch G3, the S9 port is connected to the control port of the data selector D1, and the S10 port is connected to the data selector D2
  • the control port of the S11 port is connected to the control port of the data selector D3, the S12 port is connected to the control port of the data selector D4, the S0 port is connected to the control port of the data selector D5, the S1 port is connected to the control port of the analog switch OP1, and the S5 port is connected to the control port of the data selector D5.
  • the control port of the data selector D6, the S6 port is connected to the control port of the analog switch OP2, the S2 port is connected to the gate of the NMOS transistor N1, and the S7 port is connected to the gate of the NMOS transistor N2;
  • the input voltage of the first input end of the data selector D5 is 2.7V, the input voltage of the second input end of the data selector D5 is 2.0V, and the output end of the data selector D5 is connected to the first port of the analog switch OP1; the data selector D6
  • the input voltage of the first input end of the data selector D6 is 2.7V, the input voltage of the second input end of the data selector D6 is 2.0V, and the output end of the data selector D6 is connected to the first port of the analog switch OP2;
  • the ports After the ports are combined, connect the DP interface and the first port of the switch G2, the second port of the analog switch OP2, the first input end of the voltage comparator CMP4, the first input end of the voltage comparator CMP5, and the first input end of the voltage comparator CMP6.
  • the input end, the first port of the resistor R2, and the first port of the switch G3 are combined and connected to the DM interface and the second port of the switch G2;
  • the second input terminal of the voltage comparator CMP1 is connected to the output terminal of the data selector D1, the second input terminal of the voltage comparator CMP2 is connected to the output terminal of the data selector D2, and the input voltage of the second input terminal of the voltage comparator CMP3 is 0.325V , the input voltage of the first input terminal of the data selector D1 is 2.9V, the input voltage of the second input terminal of the data selector D1 is 2.0V, the input voltage of the first input terminal of the data selector D2 is 2.0V, and the data selector D2
  • the input voltage of the second input end of the voltage comparator CMP4 is connected to the output end of the data selector D3, the second input end of the voltage comparator CMP5 is connected to the output end of the data selector D4, and the voltage comparator
  • the input voltage of the second input terminal of CMP6 is 0.325V, the input voltage of the first input terminal of the data selector D3 is 2.9V, the input voltage of the second input terminal of the data selector D
  • the second port of the resistor R1 is connected to the drain of the NMOS transistor N1, and the source of the NMOS transistor N1 is grounded; the second port of the resistor R2 is connected to the drain of the NMOS transistor N2, and the source of the NMOS transistor N2 is grounded;
  • the second port of the switch G1 is connected to the second port of the VOOC sending module, and the second port of the switch G3 is connected to the second port of the AFSCP sending module;
  • the charging logic control module can adjust the channel status of the multi-fast charging protocol control circuit according to the voltage detection result of the voltage detection module, the timing result of the timer module and the current on the VBUS interface, such as controlling the on-off of each switch, the switching of each selector.
  • the output and the gate voltage of the NMOS transistor, etc. can communicate with the load device by adjusting the channel state (for example, by short-circuiting the DP and DM interfaces to notify the load device to adopt the DCP protocol, and detect the voltage value on the DP and DM to perform protocol handshake with the load device.
  • a multi-fast charging protocol control circuit includes a charging logic control module, a first voltage detection module, a second voltage detection module, an AFSCP transmission module, a VOOC transmission module, a DP interface, a DM interface, and a VBUS interface, GND interface, timer module, switch G1, switch G2, switch G3, and the charging logic control module is used to control the first voltage detection module and the second voltage detection module to detect the voltage of the DP interface and the DM interface, respectively, through the timer module.
  • the multi-fast charging protocol control circuit provided in this application can realize fast charging of various fast charging protocols, and when applied to a fast charging protocol chip, a single chip can support various fast charging protocols, and the application is flexible and cost saving. It is beneficial to solve the device compatibility problem caused by the fact that a single chip cannot support multiple fast charging protocols.
  • this embodiment provides a control method for a multi-fast charging protocol control circuit, which is applied to the multi-fast charging protocol control circuit in the above-mentioned Embodiment 1.
  • the method includes:
  • the charging logic control module adopts the DCP fast charging protocol by default, and controls the channel state of the multi-fast charging protocol control circuit to be a first state.
  • the charging logic control module can use the DCP fast charging protocol by default, and the first state of the multi-fast charging protocol control circuit adopts the DCP protocol to Circuit state when the load device is fast charging.
  • the charging logic control module determines the voltage change of the DP interface or the DM interface according to the voltage detection results of the first voltage detection module and the second voltage detection module, the timer module starts to count time t1.
  • the charging logic control module controls the multi-fast charging protocol
  • the on state of the control circuit is the second state.
  • the switch G2 is closed, and the DP interface and the DM interface are short-circuited.
  • the charging logic control module determines that the voltage of the DP interface or the DM interface changes according to the voltage detection result, and it can be determined that the load device is connected, and then the switch G2 can be controlled to close, so that the DP interface and the DM interface are short-circuited, and the notification
  • the fast charging protocol adopted by the load device is the DCP fast charging protocol.
  • the charging logic control module determines, according to the voltage detection result of the first voltage detection module, that the voltage of the DP interface is always within the preset voltage range.
  • the load device can notify the fast charging protocol supported by the charging logic control module at the charging adapter end by loading the voltage of the preset voltage value on the DP interface or the DM interface, and the charging logic control module determines the load device according to the voltage detection result. Whether the voltage applied to the DP interface is within the preset voltage range, and then it is determined whether the subsequent fast charging protocol handshake steps need to be continued.
  • the preset voltage range here can be determined by the QC fast charging protocol. If the charging logic control module determines that the voltage value on the DP interface is within the preset voltage range, the subsequent steps of the QC protocol handshake can be continued. In addition, since the DP interface and the DM interface are short-circuited at this time, the voltage of the DM interface actually changes with the voltage of the DP interface, and the voltages of the DP interface and the DM interface are the same.
  • the charging logic control module controls the channel state of the multi-fast charging protocol control circuit to be a third state.
  • the switch G2 is disconnected, and the short circuit between the DP interface and the DM interface is disconnected.
  • the charging logic control module controls the switch G1 and the switch G3 to close, and determines whether the DM interface is less than a first preset voltage value according to the voltage detection result of the second voltage detection module.
  • the first preset voltage value may be 0.325V.
  • the voltage of the DM interface will no longer change with the voltage of the DM interface, the NMOS transistor N2 is turned on, and the voltage value of the DM interface decreases.
  • the charging logic control module determines that the voltage of the DM interface is always lower than the first preset voltage value according to the voltage detection result of the second voltage detection module, then the QC handshake is successful , otherwise, the QC handshake fails.
  • AFC data packets, SCP data packets, and FCP data packets correspond to different voltage pulse sequences, respectively, and the charging logic module detects whether AFC/SCP/FCP data packets are received on the DM interface. Specifically, according to the second voltage detection module The voltage detection result of the DM interface determines the voltage pulse sequence on the DM interface, and decodes the voltage pulse sequence to determine whether an AFC/SCP/FCP data packet is received.
  • the charging logic control module can determine what needs to be done with the load device according to the detected data packets.
  • a fast charging protocol communication since the voltage applied by the load device to the DM interface is different when the three fast charging protocols of AFC/SCP/FCP are used, the charging logic control module can determine what needs to be done with the load device according to the detected data packets. A fast charging protocol communication.
  • the charging logic control module adopts the QC fast charging protocol, and adjusts the output voltage of the VBUS interface according to the voltage detection results of the first voltage detection module and the second voltage detection module.
  • the charging logic control module detects whether the current of the VBUS interface is greater than a preset current value.
  • the charging logic control module detects that the current of the VBUS interface is always greater than the preset current value, perform VOOC protocol communication with the load device through the VOOC sending module.
  • the method further includes: when the voltage detection result of the first voltage detection module or the second voltage detection module changes, if the charging logic control module changes according to the first voltage detection module The voltage detection result of the voltage detection module determines that the DP interface voltage is not within the preset voltage range; or, if within the time t2, the charging logic control module detects the voltage according to the first voltage detection module As a result, it is determined that the voltage of the DP interface is not within the preset voltage range; then the charging logic control module controls the channel state of the multi-fast charging protocol control circuit to be the second state.
  • the charging logic control module can control the channel state of the multi-fast charging protocol control circuit to return to the short-circuited state of the DP interface and the DM interface. status, re-detect the voltage of the DP interface, when it is detected that the voltage of the DP interface meets the relevant requirements of the QC fast charging protocol, you can continue to the next steps.
  • the method further includes: if the first voltage is within the time t1 When the voltage detection results of the detection module and the second voltage detection module change, the timer module is set to zero, and the time t1 is restarted.
  • the charging logic control module adopts the QC fast charging protocol, and adjusts the output voltage of the VBUS interface according to the voltage detection result of the voltage detection module, including:
  • the charging logic control module determines whether the voltage of the DM interface is greater than a second preset voltage value according to the voltage detection result of the second voltage detection module;
  • the charging logic control module adopts the DCP fast charging protocol, and controls the channel state of the multi-fast charging protocol circuit to be the first state.
  • the second preset voltage value and the fifth preset voltage value may be 0.325V
  • the third preset voltage value and the fourth preset voltage value may be 2V
  • the first output voltage value may be 5V
  • the second preset voltage value may be 5V
  • the output voltage value may be 12V
  • the third output voltage value may be 20V
  • the fourth output voltage value may be 9V.
  • control method of the multi-fast charging protocol control circuit of the present application may specifically include the following steps, which may be specifically applied to the multi-fast charging protocol control circuit shown in FIG. 6 :
  • Step 1 Start, go to Step 2.
  • Step 2 The APPLE 2.4A mode is adopted by default, and step 3 is executed.
  • the charging logic controller controls the input voltage of the analog switch OP1 and the analog switch OP2 to select 2.7V by default, and the voltage of the second input terminal of the voltage comparator CMP1 and the voltage comparator CMP4 is selected 2.9V, The voltage of the second input terminal of the voltage comparator CMP5 is 1.5V, and the analog switch OP1 and the analog switch OP2 are turned on.
  • the charging logic module controls each component through the port corresponding to each component, for example, controls the data selector D1 and the data selector D3 through the S9 port and the S11 port, so that the second input of the voltage comparator CMP1 and the voltage comparator CMP4
  • the terminal voltages are all selected at 2.9V.
  • the voltage of the second input terminal of the voltage comparator CMP5 can also be 2.0V.
  • the charging logic control module can determine whether a load device is inserted according to the output signal of each voltage comparator. .
  • the multi-fast charging protocol control module can specifically control the voltage output by the two analog switches to the DP interface and the DM interface to notify the fast charging mode adopted by the load device, such as the above-mentioned analog switches OP1 and DM.
  • the voltages output by the analog switch OP2 to the DP interface and the DM interface are both 2.7V, which means that the load device is notified that the APPLE 2.4A fast charge mode is used.
  • Step 3 If the voltage change of the DP interface or the DM interface is detected, go to Step 4.
  • the charging logic control module detects the voltage change of the DP interface or the DM interface through the output signal of each voltage comparator. When the voltage change of the DP interface or the DM interface is detected, that is, as long as the output signal of one voltage comparator jumps , it can be determined that a loaded device is connected.
  • Step 4 start the timer module to start timing t1 , and perform step 5 .
  • the timer module when the output signal of any voltage comparator jumps, the timer module is set to 0 and starts to count the time t1 again.
  • Step 5 Determine whether the time t1 time counted by the timer module is over, if yes, go to Step 6, otherwise continue to go to Step 5.
  • Step 6 Adjust the channel status of the multi-fast charging protocol control circuit, short-circuit the DP interface and the DM interface, and go to Step 7.
  • the charging logic control module controls the switch G2 to be closed, the DP interface and the DM interface are short-circuited, and also controls the analog switch OP1 and the analog switch OP2 to close, and controls the voltage comparator CMP2 to select the second input terminal voltage of 1.2V, and the voltage comparison
  • the voltage of the second input terminal of the comparator CMP4 is selected as 2.0V
  • the voltage of the second input terminal of the voltage comparator CMP5 is selected as 1.5V.
  • the charging logic control module can also control the gate voltage of the NMOS transistor N1 so that the NMOS transistor N1 is turned on, the pull-down of the DP resistor is turned on, and one end of the resistor R1 is grounded.
  • the selection of the voltage of the second input terminal of the voltage comparator CMP4 and the voltage comparator CMP5 can be used to subsequently detect whether the FCP/SCP/AFC data packet is received on the DM interface. This is because the above three types of FCP, SCP and AFC are used.
  • the voltage applied by the load device to the DM interface is different, so different fast charging protocols can be identified through the voltage comparator CMP4 and the voltage comparator CMP5.
  • Step 7 Determine whether the DP interface voltage is greater than 0.325V and less than 2V. If so, go to Step 8; otherwise, return to Step 6.
  • step 7 is performed when a voltage jump of the DP interface or the DM interface is detected.
  • Step 8 Start the timer module to start timing for 1.25S, and go to Step 9.
  • Step 9 Determine whether the voltage of the DP interface is greater than 0.325V and less than 2V. If so, go to Step 10, otherwise, return to Step 6.
  • Step 10 Determine whether the timer module reaches the timing time of 1.25S, if so, go to Step 11, otherwise, return to Step 9.
  • the above steps 7 to 10 determine whether the voltage of the DP interface is greater than 0.325V and less than 2V for 1.25S. If the DP voltage detected within 1.25S of the timer module is always greater than 0.325V and less than 2.0V, Then, after the timer module reaches the timing time of 1.25S, the subsequent step 11 is performed.
  • the charging adapter terminal short-circuits the DP interface and the DM interface, and after notifying the load device of the DCP protocol adopted, the load device can also communicate with the charging adapter terminal through the voltage on the DP interface and the DM interface.
  • step 10 it can be determined that the voltage loaded by the load device on the DP interface is greater than 0.325V and less than 2.0V, wherein because the DP interface and the DM interface are short-circuited, the voltages of the DP interface and the DM interface are the same.
  • Step 11 disconnect the short-circuit of the DP interface and the DM interface, control the NMOS transistor N2 to be turned on, turn on the pull-down of the DM resistor, and perform step 12 .
  • the charging logic control module controls the switch G2 to be turned off, that is, the short circuit between the DP interface and the DM interface is disconnected, then the voltage of the DM interface will no longer change with the voltage of the DM interface, and the charging logic control module controls The gate voltage of the NMOS transistor N2 turns on the NMOS transistor N2, the resistor R2 is grounded, and the detected voltage value of the DM interface is maintained at a low level.
  • Step 12 determine whether the DM interface voltage is less than 0.325V, if yes, go to Step 13.
  • Step 13 determine whether the QC protocol handshake is successful, if yes, go to step 14, if not, go to step 23.
  • judging whether the handshake of the QC protocol is successful may specifically include: starting the timer module to start timing for 10mS, and detecting whether the voltage of the DM interface is less than 0.325V during the timing of 10mS, and if so, after the timer t3 time expires, determine the handshake of the QC protocol Success, otherwise, it is identified as QC protocol handshake failure.
  • Step 14 Determine whether AFC/SCP/FCP data packets are received on the DM interface, if yes, go to Step 27; otherwise, go to Step 15.
  • steps 15 to 21 are the process of communicating with the load device to determine the VBUS output voltage when the QC fast charging protocol is used to fast charge the load device.
  • Step 15 determine whether the DM interface voltage is greater than 0.325V, if yes, go to Step 17, otherwise go to Step 16.
  • Step 16 determine that the QC fast charging request from the load device is received, request a 5V charging voltage, and perform step 22 .
  • the charging logic control module can determine the charging voltage requested by the load device according to the detected voltage values on the DP interface and the DM interface, and further, can control the VBUS to output the requested charging voltage to quickly charge the load device.
  • Step 17 Determine whether the DP interface voltage is greater than 2V, if yes, go to Step 19, otherwise go to Step 18.
  • Step 18 Determine that the QC fast charging request from the load device is received, request a 12V charging voltage, and perform step 22.
  • Step 19 determine whether the DM interface voltage is greater than 2V, if yes, go to Step 20, otherwise go to Step 21.
  • Step 20 determine that a QC fast charging request from the load device is received, request a 20V charging voltage, and perform step 22 .
  • Step 21 determine that the QC fast charging request from the load device is received, request a 9V charging voltage, and perform step 22 .
  • Step 22 Determine whether the voltage of the DP interface is greater than 0.325V, if so, go to Step 15; otherwise, return to Step 1.
  • the charging logic control module determines that the voltage of the DP interface is not greater than 0.325V according to the voltage detection result, it will exit the QC fast charging mode, and control the channel state of the multi-fast charging protocol control circuit to return to the original APPLE 2.4A mode .
  • Step 23 determine whether the VBUS interface current is greater than 1A, if yes, go to Step 24 , otherwise continue to go to Step 23 .
  • Step 24 start the timer module to start timing for 2S, and execute step 25 .
  • Step 25 Determine whether the timer module has reached the timing time of 2S, if yes, go to Step 26, otherwise continue to go to Step 25.
  • Step 26 perform VOOC protocol communication with the load device through the VOOC sending module.
  • Step 27 Perform AFC/SCP/FCP protocol communication with the load device through the AFSCP sending module.
  • control method of the multi-fast charging protocol control circuit provided in this application is applied to the design of charging chips, and a single protocol chip can be compatible with multiple fast charging protocols, thereby saving chip design costs and chip application costs.

Abstract

The present application provides a multi-fast charging protocol control circuit, comprising a charging logic control module, a first voltage measurement module, a second voltage measurement module, an AFSCP sending module, a VOOC sending module, a DP interface, a DM interface, a VBUS interface, a GND interface, a timer module, a switch G1, a switch G2, and a switch G3. The charging logic control module is configured to control the voltage measurement modules to measure voltages of the DP interface and the DM interface, to perform timing by means of the timer module, to control the on/off of the switches according to the voltage measurement results, the timing result and the current of the VBUS interface, to communicate with a load device using a corresponding communication protocol, and to charge the load device by means of the VBUS interface. The multi-fast charging protocol control circuit provided by the present application can realize the fast charging of a plurality of fast charging protocols, can implement the supporting of a plurality of fast charging protocols by a single chip when applied to a fast charging protocol chip, is flexible in application, and reduces cost.

Description

多快充协议控制电路、控制方法、芯片及电子设备Multi-fast charging protocol control circuit, control method, chip and electronic device
本申请要求于2021年04月09日提交中国专利局、申请号为2021103850008、申请名称为“多快充协议控制电路、控制方法、芯片及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on April 9, 2021 with the application number 2021103850008 and the application name "Multi-fast charging protocol control circuit, control method, chip and electronic equipment", the entire content of which is Incorporated herein by reference.
技术领域technical field
本申请涉及快充技术领域,尤其涉及一种多快充协议控制电路、控制方法、芯片及电子设备。The present application relates to the technical field of fast charging, and in particular, to a multi-fast charging protocol control circuit, a control method, a chip and an electronic device.
背景技术Background technique
随着快充技术的迅速普及,越来越多的手机厂商都推出自己的私有快充协议。目前市面上主流的协议包括如快速充电(Quick Charge,QC)3.0/2.0协议、专用充电端口(Dedicated Charging Ports,DCP)协议、快速充电协议(Fast Charge Protocol,FCP)协议、超快速充电协议(Super Fast Charge,SCP)协议、适应性快速充电协议(Adaptive Fast,AFC)等多种快充协议。而传统的快充协议芯片通常只支持单种快充协议,无法通过单颗快充协议芯片实现多种快充协议的快充,从而造成部分手机或者电子设备无法快充,存在协议兼容性问题。With the rapid popularization of fast charging technology, more and more mobile phone manufacturers have launched their own private fast charging protocols. At present, the mainstream protocols on the market include the Quick Charge (QC) 3.0/2.0 protocol, the Dedicated Charging Ports (DCP) protocol, the Fast Charge Protocol (FCP) protocol, the ultra-fast charging protocol ( Super Fast Charge, SCP) protocol, adaptive fast charging protocol (Adaptive Fast, AFC) and other fast charging protocols. The traditional fast charging protocol chip usually only supports a single fast charging protocol, and cannot realize the fast charging of multiple fast charging protocols through a single fast charging protocol chip, which causes some mobile phones or electronic devices to be unable to fast charge, and there is a protocol compatibility problem. .
发明内容SUMMARY OF THE INVENTION
本申请提供一种多快充协议控制电路、控制方法、芯片及电子设备,以期解决传统快充协议芯片中,单颗快充协议芯片无法支持多种快充协议导致的协议兼容性问题。The present application provides a multi-fast charging protocol control circuit, control method, chip and electronic device, in order to solve the protocol compatibility problem caused by the inability of a single fast charging protocol chip to support multiple fast charging protocols in traditional fast charging protocol chips.
第一方面,本申请实施例提供一种多快充协议控制电路,包括充电逻辑控制模块、第一电压检测模块、第二电压检测模块、AFSCP发送模块、VOOC发送模块、DP接口、DM接口、VBUS接口、GND接口、定时器模块、开关G1、开关G2、开关G3;In the first aspect, an embodiment of the present application provides a multi-fast charging protocol control circuit, including a charging logic control module, a first voltage detection module, a second voltage detection module, an AFSCP sending module, a VOOC sending module, a DP interface, a DM interface, VBUS interface, GND interface, timer module, switch G1, switch G2, switch G3;
所述充电逻辑控制模块连接所述第一电压检测模块的第一端口、所述第二电压检测模块的第一端口、所述VBUS接口、所述GND接口、所述定时器模块以及所述AFSCP发送模块的第一端口、所述VOOC发送模块的第一端口、所述开关G1的控制端口、所述开关G2的控制端口以及所述开关G3的控制端口,所述第一电压检测模块的第二端口与所述开关G1的第一端口合路后连接所述DP接口和所述开关G2的第一端口,所述开关G1的第二端口连接所述VOOC发送模块的第二端口,所述第二电压检测模块的第二端口和所述开关G3的第一端口合路后连接所述DM接口和所述开关G2的第二端口,所述开关G3的第二端口连接所述AFSCP发送模块的第二端口;The charging logic control module is connected to the first port of the first voltage detection module, the first port of the second voltage detection module, the VBUS interface, the GND interface, the timer module and the AFSCP The first port of the sending module, the first port of the VOOC sending module, the control port of the switch G1, the control port of the switch G2 and the control port of the switch G3, the first port of the first voltage detection module. After the second port is combined with the first port of the switch G1, the DP interface is connected to the first port of the switch G2. The second port of the switch G1 is connected to the second port of the VOOC sending module. The second port of the second voltage detection module and the first port of the switch G3 are combined and connected to the DM interface and the second port of the switch G2, and the second port of the switch G3 is connected to the AFSCP sending module the second port;
所述DP接口、所述DM接口、所述VBUS接口、所述GND接口用于连接负载设备,所述VOOC发送模块用于在所述充电逻辑控制模块的控制下与所述负载设备进行VOOC协议通信,所述AFSCP发送模块用于在所述充电逻辑控制模块的控制下与所述负载设备进行AFC/SCP/FCP协议通信,所述充电逻辑控制模块用于控制所述第一电压检测模块检测所述DP接口的电压、控制所述第二电压检测模块检测所述DM接口的电压,通过所述定时器模块进行计时,根据电压检测结果、计时结果和所述VBUS接口的电流控制所述开关G1、所述开关G2、所述开关G3的通断以调整所述多快充协议控制电路的通路状态,并采用相应的通信协议与所述负载设备进行通信,以及通过所述VBUS接口对所述负载设备进行充电。The DP interface, the DM interface, the VBUS interface, and the GND interface are used to connect a load device, and the VOOC sending module is used to perform a VOOC protocol with the load device under the control of the charging logic control module communication, the AFSCP sending module is used for AFC/SCP/FCP protocol communication with the load device under the control of the charging logic control module, and the charging logic control module is used to control the first voltage detection module to detect The voltage of the DP interface, the second voltage detection module is controlled to detect the voltage of the DM interface, the timer module is used for timing, and the switch is controlled according to the voltage detection result, the timing result and the current of the VBUS interface G1, the switch G2 and the switch G3 are turned on and off to adjust the channel state of the multi-fast charging protocol control circuit, and use the corresponding communication protocol to communicate with the load device, and communicate with the load device through the VBUS interface. The load device is charged.
第二方面,本申请提供一种多快充协议控制电路的控制方法,所述多快充协议控制电路包括如第一方面所述的多快充协议控制电路,所述控制方法包括以下步骤:In a second aspect, the present application provides a control method for a multi-fast charging protocol control circuit, the multi-fast charging protocol control circuit includes the multi-fast charging protocol control circuit as described in the first aspect, and the control method includes the following steps:
通过所述多快充协议控制电路与负载设备进行快充协议通信时,充电逻辑控制模块默认采用DCP快充协议,控制所述多快充协议控制电路的通路状态为第一状态;When performing fast charging protocol communication with the load device through the multi-fast charging protocol control circuit, the charging logic control module adopts the DCP fast charging protocol by default, and controls the channel state of the multi-fast charging protocol control circuit to be the first state;
当所述充电逻辑控制模块根据第一电压检测模块或第二电压检测模块的电压检测结果,确定DP接口或DM接口的电压变化时,定时器模块开始计时t1时间;When the charging logic control module determines the voltage change of the DP interface or the DM interface according to the voltage detection result of the first voltage detection module or the second voltage detection module, the timer module starts to count the time t1;
若所述t1时间内所述第一电压检测模块和所述第二电压检测模块的电压检测结果无变化,则所述t1时间后,所述充电逻辑控制模块控制所述多快充协议控制电路的通路状态为第二状态,开关G2闭合,所述DP接口和所述DM接口短接;If the voltage detection results of the first voltage detection module and the second voltage detection module do not change within the t1 time period, the charging logic control module controls the multi-fast charging protocol control circuit after the t1 time period The channel state of , is the second state, the switch G2 is closed, and the DP interface and the DM interface are short-circuited;
当所述第一电压检测模块或所述第二电压检测模块的电压检测结果变化时,若所述充电逻辑控制模块根据所述第一电压检测模块的电压检测结果确定所述DP接口电压在预设电压范围内,则所述定时器模块开始计时t2时间;When the voltage detection result of the first voltage detection module or the second voltage detection module changes, if the charging logic control module determines, according to the voltage detection result of the first voltage detection module, that the DP interface voltage is Within the set voltage range, the timer module starts to count the time t2;
若在所述t2时间内,所述充电逻辑控制模块根据所述第一电压检测模块的电压检测结果,确定所述DP接口的电压始终在所述预设电压范围内;If within the time t2, the charging logic control module determines that the voltage of the DP interface is always within the preset voltage range according to the voltage detection result of the first voltage detection module;
则在所述t2时间后,所述充电逻辑控制模块控制所述多快充协议控制电路的通路状态为第三状态,所述开关G2断开,断开DP接口和所述DM接口的短接;Then after the time t2, the charging logic control module controls the channel state of the multi-fast charging protocol control circuit to be the third state, the switch G2 is turned off, and the short circuit between the DP interface and the DM interface is disconnected. ;
所述充电逻辑控制模块控制所述开关G1和所述开关G3闭合,根据所述第二电压检测模块的电压检测结果判断所述DM接口是否小于第一预设电压值;The charging logic control module controls the switch G1 and the switch G3 to close, and judges whether the DM interface is less than a first preset voltage value according to the voltage detection result of the second voltage detection module;
若是,则所述定时器模块开始计时t3时间;If so, the timer module starts timing t3 time;
若在所述t3时间内,所述充电逻辑控制模块根据所述第二电压检测模块的电压检测结果确定所述DM接口的电压始终小于所述第一预设电压值,则QC握手成功,否则,QC握手失败;If within the time t3, the charging logic control module determines that the voltage of the DM interface is always less than the first preset voltage value according to the voltage detection result of the second voltage detection module, then the QC handshake is successful; otherwise, the QC handshake is successful. , QC handshake failed;
若QC握手成功,则在所述t3时间后,检测所述DM接口上是否收到AFC/SCP/FCP数据包;If the QC handshake is successful, then after the time t3, detect whether the AFC/SCP/FCP data packet is received on the DM interface;
若接收到,则通过AFSCP发送模块与负载设备进行AFC/SCP/FCP协议通信;If received, communicate with the load device through AFC/SCP/FCP protocol through the AFSCP sending module;
若未接收到,则所述充电逻辑控制模块采用QC快充协议,根据所述第一电压检测模块和所述第二电压检测模块的电压检测结果调整所述VBUS接口的输出电压;If not received, the charging logic control module adopts the QC fast charging protocol, and adjusts the output voltage of the VBUS interface according to the voltage detection results of the first voltage detection module and the second voltage detection module;
若QC握手失败,则在所述t3时间后,所述充电逻辑控制模块检测所述VBUS接口的电流是否大于预设电流值;If the QC handshake fails, after the time t3, the charging logic control module detects whether the current of the VBUS interface is greater than the preset current value;
若是,则定时器模块开始计时t4时间;If so, the timer module starts timing t4 time;
若在所述t4时间内,所述充电逻辑控制模块检测到所述VBUS接口的电流始终大于所述预设电流值,则通过VOOC发送模块与所述负载设备进行VOOC协议通信。If within the time t4, the charging logic control module detects that the current of the VBUS interface is always greater than the preset current value, the VOOC sending module communicates with the load device through the VOOC protocol.
第三方面,本申请提供一种多快充协议控制芯片,包括如第一方面所述的多快充协议控制电路。In a third aspect, the present application provides a multi-fast charging protocol control chip, including the multi-fast charging protocol control circuit described in the first aspect.
第四方面,本申请提供一种电子设备,包括如第三方面所述的多快充协议控制芯片。In a fourth aspect, the present application provides an electronic device, including the multi-fast charging protocol control chip as described in the third aspect.
可以看出,本申请提供一种多快充协议控制电路,包括充电逻辑控制模块、第一电压检测模块、第二电压检测模块、AFSCP发送模块、VOOC发送模块、DP接口、DM接口、VBUS接口、GND接口、定时器模块、开关G1、开关G2、开关G3,充电逻辑控制模块用于分别控制第一电压检测模块、第二电压检测模块检测DP接口、DM接口的电压,通过定时器模块进行计时,根据电压检测结果、计时结果和VBUS接口的电流控制开关G1、开关G2、开关G3的通断,并采用相应的通信协议与负载设备进行通信,以及通过VBUS接口对负载设备进 行充电。可见,本申请提供的多快充协议控制电路可实现多种快充协议的快充,应用于快充协议芯片可实现单颗芯片支持多种快充协议,应用灵活,节约成本。It can be seen that the present application provides a multi-fast charging protocol control circuit, including a charging logic control module, a first voltage detection module, a second voltage detection module, an AFSCP transmission module, a VOOC transmission module, a DP interface, a DM interface, and a VBUS interface. , GND interface, timer module, switch G1, switch G2, switch G3, and the charging logic control module is used to control the first voltage detection module and the second voltage detection module to detect the voltage of the DP interface and the DM interface respectively. Timing, according to the voltage detection results, timing results and the current of the VBUS interface to control the on-off of the switch G1, the switch G2, and the switch G3, and use the corresponding communication protocol to communicate with the load device, and to charge the load device through the VBUS interface. It can be seen that the multi-fast charging protocol control circuit provided in this application can realize fast charging of various fast charging protocols, and when applied to a fast charging protocol chip, a single chip can support various fast charging protocols, and the application is flexible and cost saving.
附图说明Description of drawings
图1是本申请提供的一种多快充协议控制电路的电路原理图;1 is a circuit schematic diagram of a multi-fast charging protocol control circuit provided by the present application;
图2是本申请提供的一种电压检测模块的电路原理图;2 is a circuit schematic diagram of a voltage detection module provided by the present application;
图3是本申请提供的另一种多快充协议控制电路的电路原理图;3 is a circuit schematic diagram of another multi-fast charging protocol control circuit provided by the present application;
图4是本申请提供的一种数据电压输出模块的电路原理图;4 is a circuit schematic diagram of a data voltage output module provided by the present application;
图5是本申请提供的另一种多快充协议控制电路的电路原理图;5 is a circuit schematic diagram of another multi-fast charging protocol control circuit provided by the present application;
图6是本申请提供的另一种多快充协议控制电路的电路原理图;6 is a circuit schematic diagram of another multi-fast charging protocol control circuit provided by the present application;
图7是本申请提供的一种多快充协议控制电路的控制方法的流程示意图;7 is a schematic flowchart of a control method of a multi-fast charging protocol control circuit provided by the present application;
图8是本申请提供的另一种多快充协议控制电路的控制方法的流程示意图。FIG. 8 is a schematic flowchart of another control method of a multi-fast charging protocol control circuit provided by the present application.
以下结合附图及实施例对本申请作进一步说明。The present application will be further described below with reference to the accompanying drawings and embodiments.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
需要说明的是,在本发明实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本发明。在本发明实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。It should be noted that the terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. As used in the embodiments of the present invention and the appended claims, the singular forms "a," "the," and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It will also be understood that the term "and/or" as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.
实施例1:Example 1:
参照图1,本实施例提供了一种多快充协议控制电路,充电逻辑控制模块、第一电压检测模块、第二电压检测模块、AFSCP发送模块(即FCP/SCP/AFC协议发送模块)、闪充VOOC发送模块、数据正信号(Data Positive,DP)接口、数据负信号(Data Minus,DM)接口、电压正极VBUS接口、电压负极GND接口、定时器模块、开关G1、开关G2、开关G3;1, this embodiment provides a multi-fast charging protocol control circuit, a charging logic control module, a first voltage detection module, a second voltage detection module, an AFSCP sending module (ie, an FCP/SCP/AFC protocol sending module), Flash charge VOOC sending module, data positive signal (Data Positive, DP) interface, data negative signal (Data Minus, DM) interface, voltage positive VBUS interface, voltage negative GND interface, timer module, switch G1, switch G2, switch G3 ;
所述充电逻辑控制模块连接所述第一电压检测模块的第一端口、所述第二电压检测模块的第一端口、所述VBUS接口、所述GND接口、所述定时器模块以及所述AFSCP发送模块的第一端口、所述VOOC发送模块的第一端口、所述开关G1的控制端口、所述开关G2的控制端口以及所述开关G3的控制端口,所述第一电压检测模块的第二端口与所述开关G1的第一端口合路后连接所述DP接口和所述开关G2的第一端口,所述开关G1的第二端口连接所述VOOC发送模块的第二端口,所述第二电压检测模块的第二端口和所述开关G3的第一端口合路后连接所述DM接口和所述开关G2的第二端口,所述开关G3的第二端口连接所述AFSCP发送模块的第二端口;The charging logic control module is connected to the first port of the first voltage detection module, the first port of the second voltage detection module, the VBUS interface, the GND interface, the timer module and the AFSCP The first port of the sending module, the first port of the VOOC sending module, the control port of the switch G1, the control port of the switch G2 and the control port of the switch G3, the first port of the first voltage detection module. After the second port is combined with the first port of the switch G1, the DP interface is connected to the first port of the switch G2. The second port of the switch G1 is connected to the second port of the VOOC sending module. The second port of the second voltage detection module and the first port of the switch G3 are combined and connected to the DM interface and the second port of the switch G2, and the second port of the switch G3 is connected to the AFSCP sending module the second port;
所述DP接口、所述DM接口、所述VBUS接口、所述GND接口用于连接负载设备,所述VOOC发送模块用于在所述充电逻辑控制模块的控制下与所述负载设备进行VOOC协议通信,所述AFSCP发送模块用于在所述充电逻辑控制模块的控制下与所述负载设备进行AFC/SCP/FCP协议通信,所述充电逻辑控制模块用于控制所述第一电压检测模块检测所述 DP接口的电压、控制所述第二电压检测模块检测所述DM接口的电压,通过所述定时器模块进行计时,根据电压检测结果、计时结果和所述VBUS接口的电流控制所述开关G1、所述开关G2、所述开关G3的通断以调整所述多快充协议控制电路的通路状态,并采用相应的通信协议与所述负载设备进行通信,以及通过所述VBUS接口对所述负载设备进行充电。The DP interface, the DM interface, the VBUS interface, and the GND interface are used to connect a load device, and the VOOC sending module is used to perform a VOOC protocol with the load device under the control of the charging logic control module communication, the AFSCP sending module is used for AFC/SCP/FCP protocol communication with the load device under the control of the charging logic control module, and the charging logic control module is used to control the first voltage detection module to detect The voltage of the DP interface, the second voltage detection module is controlled to detect the voltage of the DM interface, the timer module is used for timing, and the switch is controlled according to the voltage detection result, the timing result and the current of the VBUS interface G1, the switch G2 and the switch G3 are turned on and off to adjust the channel state of the multi-fast charging protocol control circuit, and use the corresponding communication protocol to communicate with the load device, and communicate with the load device through the VBUS interface. The load device is charged.
其中,本申请实施例所描述的多快充协议控制电路可以应用于电源适配器端的快充协议控制芯片中。The multi-fast charging protocol control circuit described in the embodiments of the present application can be applied to the fast charging protocol control chip at the power adapter end.
具体的,在采用相应的快充协议与负载设备进行通信方面,充电逻辑控制模块具体可用于控制VOOC发送模块通过DP接口与负载设备进行VOOC协议通信,控制AFSCP发送模块通过DM接口与负载设备进行AFC/SCP/FCP协议通信。Specifically, in terms of using the corresponding fast charging protocol to communicate with the load device, the charging logic control module can specifically be used to control the VOOC sending module to communicate with the load device through the DP interface with the VOOC protocol, and to control the AFSCP sending module to communicate with the load device through the DM interface. AFC/SCP/FCP protocol communication.
充电逻辑控制模块控制两个电压检测模块(第一电压检测模块和第二电压检测模块)检测DP接口和DM接口的电压,可以包括对电压检测模块进行配置,以实现通过同一电压检测模块对不同数值范围的电压进行检测。The charging logic control module controls the two voltage detection modules (the first voltage detection module and the second voltage detection module) to detect the voltage of the DP interface and the DM interface, which may include configuring the voltage detection module to A range of voltages is detected.
具体实现中,多快充协议电路在对负载设备进行快速充电时,充电逻辑控制模块可以默认采用一个快充协议作为初始采用的快充协议,后续可根据与负载设备的协议通信确定是否需要切换采用其他快充协议,例如充电逻辑控制模块可以默认采用DCP协议,在与负载设备连接后可以通过调整多快充协议控制电路的通路状态,与负载设备进行协议握手确认是否需要切换快充协议。In the specific implementation, when the multi-fast charging protocol circuit rapidly charges the load device, the charging logic control module can use a fast charging protocol as the initial fast charging protocol by default, and then can determine whether it needs to be switched according to the protocol communication with the load device. Using other fast charging protocols, for example, the charging logic control module can use the DCP protocol by default. After connecting with the load device, it can adjust the path status of the multi-fast charging protocol control circuit and perform a protocol handshake with the load device to confirm whether the fast charging protocol needs to be switched.
举例来说,在默认采用DCP快充协议的情况下,充电逻辑控制模块根据电压检测模块的电压检测结果确认与负载设备连接(例如根据第一电压检测模块或第二电压检测模块的电压检测结果,确定DP接口或DM接口的电压发生变化后维持一段时间)后,充电逻辑控制模块可以控制开关G2闭合,以使得DP接口和DM接口短接,通知负载设备采用的是DCP协议。For example, when the DCP fast charging protocol is adopted by default, the charging logic control module confirms the connection with the load device according to the voltage detection result of the voltage detection module (for example, according to the voltage detection result of the first voltage detection module or the second voltage detection module) After determining that the voltage of the DP interface or the DM interface changes for a period of time), the charging logic control module can control the switch G2 to close, so that the DP interface and the DM interface are short-circuited, and the load device is notified that the DCP protocol is used.
负载设备在检测到DP接口和DM接口短接之后,则可以确定电源适配器采用的是DCP快充协议,若负载设备需要采用其他快充协议,可以相应的控制输出至DP接口和DM接口的电压,充电逻辑控制模块通过电压检测结果则可确定是否切换采用的快充协议。After the load device detects that the DP interface and the DM interface are short-circuited, it can be determined that the power adapter adopts the DCP fast charging protocol. If the load device needs to adopt other fast charging protocols, it can control the voltage output to the DP interface and DM interface accordingly. , the charging logic control module can determine whether to switch the adopted fast charging protocol through the voltage detection result.
例如,充电逻辑控制模块根据第一电压检测模块的电压检测结果,确定DP接口上的电压值在预设电压值范围内持续了特定时间,则可以控制断开开关G2,以断开DP接口和DM接口的短接,并使能开关G1和开关G3,与负载设备进行QC协议的握手,具体的,可以通过检测DM接口上的电压是否符合预设条件,进而确定是否QC握手成功,由于使能了开关G1和开关G3,此时AFSCP发送模块、VOOC发送模块能够在充电逻辑控制模块的控制下通过DP接口和DM接口与负载设备进行相应的快充协议通信,若QC握手成功,则可进一步根据DM接口是否接收到AFC/SCP/FCP数据包,确定采用AFC/SCP/FCP快充协议还是QC快充协议,或者在QC握手失败之后,基于VBUS上的电流值确定是否需要采用VOOC快充协议。在确定采用的快充协议后,充电逻辑控制模可根据电压检测结果调整VBUS上的输出电压,进而通过上述多快充逻辑控制电路实现支持多种快充协议的快充。For example, according to the voltage detection result of the first voltage detection module, the charging logic control module determines that the voltage value on the DP interface is within the preset voltage value range for a specific time, and can control the disconnection switch G2 to disconnect the DP interface and the Short-circuit the DM interface, enable switch G1 and switch G3, and perform QC protocol handshake with the load device. Specifically, it can be determined whether the QC handshake is successful by detecting whether the voltage on the DM interface meets the preset conditions. Switch G1 and switch G3 are enabled. At this time, the AFSCP sending module and the VOOC sending module can communicate with the load device through the DP interface and DM interface under the control of the charging logic control module. If the QC handshake is successful, it can be Further, according to whether the DM interface receives AFC/SCP/FCP data packets, determine whether to use the AFC/SCP/FCP fast charging protocol or the QC fast charging protocol, or after the QC handshake fails, determine whether to use VOOC fast charging based on the current value on VBUS. charging agreement. After determining the adopted fast charging protocol, the charging logic control module can adjust the output voltage on VBUS according to the voltage detection result, and then realize fast charging supporting multiple fast charging protocols through the above-mentioned multi-fast charging logic control circuit.
具体的,在与负载进行VOOC协议通信或AFC/SCP/FCP协议通信时,AFSCP发送模块和VOOC发送模块用于发送信号(具体的,可由充电逻辑控制模块控制AFSCP发送模块输出特定电压信号至DM接口,控制VOOC发送模块输出特定电压信号至DP接口),充电逻辑控制模块用于根据电压检测结果确定来自负载设备的信号。Specifically, when VOOC protocol communication or AFC/SCP/FCP protocol communication is performed with the load, the AFSCP sending module and the VOOC sending module are used to send signals (specifically, the AFSCP sending module can be controlled by the charging logic control module to output a specific voltage signal to the DM interface, control the VOOC sending module to output a specific voltage signal to the DP interface), and the charging logic control module is used to determine the signal from the load device according to the voltage detection result.
在一个可能的示例中,参照图2,所述第一电压检测模块包括电压比较器CMP1、电压比较器CMP2、电压比较器CMP3,所述第二电压检测模块包括电压比较器CMP4、电压比较器 CMP5、电压比较器CMP6;所述电压比较器CMP1的第一输入端、所述电压比较器CMP2的第一输入端、所述电压比较器CMP3的第一输入端、所述开关G1的第一端口合路后连接所述DP接口和所述开关G2的第一端口;所述电压比较器CMP4的第一输入端、所述电压比较器CMP5的第一输入端、所述电压比较器CMP6的第一输入端、所述开关G3的第一端口合路后连接所述DM接口和所述开关G2的第二端口;所述电压比较器CMP1的输出端、所述电压比较器CMP2的输出端、所述电压比较器CMP3的输出端、所述电压比较器CMP4的输出端、所述电压比较器CMP5的输出端、所述电压比较器CMP6的输出端连接所述充电逻辑控制模块。In a possible example, referring to FIG. 2 , the first voltage detection module includes a voltage comparator CMP1, a voltage comparator CMP2, and a voltage comparator CMP3, and the second voltage detection module includes a voltage comparator CMP4, a voltage comparator CMP5, voltage comparator CMP6; the first input terminal of the voltage comparator CMP1, the first input terminal of the voltage comparator CMP2, the first input terminal of the voltage comparator CMP3, the first input terminal of the switch G1 After the ports are combined, the DP interface and the first port of the switch G2 are connected; the first input terminal of the voltage comparator CMP4, the first input terminal of the voltage comparator CMP5, the voltage comparator CMP6 The first input end and the first port of the switch G3 are combined and connected to the DM interface and the second port of the switch G2; the output end of the voltage comparator CMP1 and the output end of the voltage comparator CMP2 , The output terminal of the voltage comparator CMP3, the output terminal of the voltage comparator CMP4, the output terminal of the voltage comparator CMP5, and the output terminal of the voltage comparator CMP6 are connected to the charging logic control module.
其中,电压比较器CMP1、电压比较器CMP2、电压比较器CMP3用于检测DP接口上的电压,电压比较器CMP4、电压比较器CMP5、电压比较器CMP6用于检测DM接口上的电压,充电逻辑控制模块根据上述比较器的电压检测结果则可分别确定DP接口和DM接口上的电压。Among them, the voltage comparator CMP1, the voltage comparator CMP2, the voltage comparator CMP3 are used to detect the voltage on the DP interface, the voltage comparator CMP4, the voltage comparator CMP5, and the voltage comparator CMP6 are used to detect the voltage on the DM interface, and the charging logic The control module can determine the voltages on the DP interface and the DM interface respectively according to the voltage detection result of the comparator.
继续参照图2,本示例中,所述第一电压检测模块还包括:数据选择器D1、数据选择器D2,所述第二电压检测模块还包括:数据选择器D3、数据选择器D4;2, in this example, the first voltage detection module further includes: a data selector D1 and a data selector D2, and the second voltage detection module further includes: a data selector D3 and a data selector D4;
所述电压比较器CMP1的第二输入端连接所述数据选择器D1的输出端、所述电压比较器CMP2的第二输入端连接所述数据选择器D2的输出端、所述电压比较器CMP3的第二输入端的输入电压为第一输入电压,所述数据选择器D1的第一输入端的输入电压为第二输入电压,所述数据选择器D1的第二输入端的输入电压为第三输入电压,所述数据选择器D2的第一输入端的输入电压为第四输入电压,所述数据选择器D2的第二输入端的输入电压为第五输入电压;The second input terminal of the voltage comparator CMP1 is connected to the output terminal of the data selector D1, the second input terminal of the voltage comparator CMP2 is connected to the output terminal of the data selector D2, and the voltage comparator CMP3 The input voltage of the second input terminal of the data selector D1 is the first input voltage, the input voltage of the first input terminal of the data selector D1 is the second input voltage, and the input voltage of the second input terminal of the data selector D1 is the third input voltage , the input voltage of the first input terminal of the data selector D2 is the fourth input voltage, and the input voltage of the second input terminal of the data selector D2 is the fifth input voltage;
所述电压比较器CMP4的第二输入端连接所述数据选择器D3的输出端、所述电压比较器CMP5的第二输入端连接所述数据选择器D4的输出端、所述电压比较器CMP6的第二输入端的输入电压为第六输入电压,所述数据选择器D3的第一输入端的输入电压为第七输入电压,所述数据选择器D3的第二输入端的输入电压第八输入电压,所述数据选择器D4的第一输入端的输入电压为第九输入电压,所述数据选择器D4的第二输入端的输入电压为第十输入电压。The second input terminal of the voltage comparator CMP4 is connected to the output terminal of the data selector D3, the second input terminal of the voltage comparator CMP5 is connected to the output terminal of the data selector D4, and the voltage comparator CMP6 The input voltage of the second input terminal of the data selector D3 is the sixth input voltage, the input voltage of the first input terminal of the data selector D3 is the seventh input voltage, the input voltage of the second input terminal of the data selector D3 is the eighth input voltage, The input voltage of the first input terminal of the data selector D4 is the ninth input voltage, and the input voltage of the second input terminal of the data selector D4 is the tenth input voltage.
其中,第一输入电压和第六输入电压可以为0.325V,第二输入电压和第七输入电压可以为2.9V,第三输入电压、第四输入电压、第八输入电压和第九输入电压可以为2.0V,第五输入电压可以为1.2V,第十输入电压可以为1.5V。Wherein, the first input voltage and the sixth input voltage may be 0.325V, the second input voltage and the seventh input voltage may be 2.9V, the third input voltage, the fourth input voltage, the eighth input voltage and the ninth input voltage may be is 2.0V, the fifth input voltage may be 1.2V, and the tenth input voltage may be 1.5V.
其中,电压比较器的一个输入端连接一个数据选择器的输出端,而该数据选择器的两个输入端电压值不同,也就是说,电压比较器的一个输入端可以选择连接不同的输入电压,从而可以通过同一个电压检测模块实现对不同电压值范围电压的检测。One input terminal of the voltage comparator is connected to the output terminal of a data selector, and the voltage values of the two input terminals of the data selector are different, that is to say, one input terminal of the voltage comparator can be selected to be connected to different input voltages , so that the detection of voltages in different voltage value ranges can be realized through the same voltage detection module.
例如,当电压比较器CMP2的第二输入端的输入电压为2.0V(即数据选择器D2的选择2.0V)、电压比较器CMP3的第二输入端的输入电压为0.325V时,通过第一电压检测模块可以实现对小于0.325V电压,0.325V~2.0V电压,大于2.0V电压的检测(通过电压比较器CMP2和电压比较器CMP3的输出确定),而当电压比较器CMP2的第二输入端的输入电压为1.2V(即数据选择器D2选择1.2V)时,通过第一电压检测模块可以实现对小于0.325V电压,0.325V~1.2V电压,大于1.2V电压的检测。For example, when the input voltage of the second input terminal of the voltage comparator CMP2 is 2.0V (that is, the selection of the data selector D2 is 2.0V), and the input voltage of the second input terminal of the voltage comparator CMP3 is 0.325V, the first voltage detection The module can detect voltages less than 0.325V, 0.325V~2.0V, and voltages greater than 2.0V (determined by the outputs of the voltage comparator CMP2 and the voltage comparator CMP3), and when the input of the second input terminal of the voltage comparator CMP2 When the voltage is 1.2V (that is, the data selector D2 selects 1.2V), the first voltage detection module can detect voltages less than 0.325V, voltages between 0.325V and 1.2V, and voltages greater than 1.2V.
具体实现中,采用不同快充协议模式对负载设备进行快速充电时,电压比较器输入端选择的电压也可能存在差异。例如,采用DCP快充协议时,电压比较器CMP1和电压比较器CMP4第二输入端的输入电压可以为2.9V,电压比较器CMP2和电压比较器CMP5第二输入 端的输入电压可以为2.0V。In the specific implementation, when different fast charging protocol modes are used to fast charge the load device, the voltage selected by the input terminal of the voltage comparator may also be different. For example, when the DCP fast charging protocol is adopted, the input voltage of the second input terminals of the voltage comparator CMP1 and the voltage comparator CMP4 can be 2.9V, and the input voltage of the second input terminal of the voltage comparator CMP2 and the voltage comparator CMP5 can be 2.0V.
而在充电逻辑模块与负载设备QC握手成功,确认需要采用QC快充协议时,可设置电压比较器CMP1和电压比较器CMP4的输入电压为2.0V。从而充电逻辑控制模块可根据第一电压检测模块和第二电压检测模块的电压检测结果,控制VBUS接口的输出电压,其中,DP接口和DM接口电压与VBUS输出电压的关系如下表1所示。When the handshake between the charging logic module and the load device QC is successful, and it is confirmed that the QC fast charging protocol needs to be adopted, the input voltage of the voltage comparator CMP1 and the voltage comparator CMP4 can be set to 2.0V. Therefore, the charging logic control module can control the output voltage of the VBUS interface according to the voltage detection results of the first voltage detection module and the second voltage detection module, wherein the relationship between the voltage of the DP interface and the DM interface and the VBUS output voltage is shown in Table 1 below.
其中,适配器电压即VBUS输出电压,各电压比较器的第一输入端为正相输入端,第二输入端为反相输入端,电压比较器的正相输入端电压大于反相输入端电压时,则该电压比较器输出端的信号为0,反之则为1。The adapter voltage is the VBUS output voltage, the first input terminal of each voltage comparator is the non-inverting input terminal, and the second input terminal is the inverting input terminal. When the voltage of the non-inverting input terminal of the voltage comparator is greater than the voltage of the inverting input terminal , the signal at the output of the voltage comparator is 0, otherwise it is 1.
举例来说,当电压比较器CMP1和电压比较器CMP3的输出信号分别为0和1,电压比较器CMP4和电压比较器CMP6的输出信息均为1时,则充电逻辑控制模块调整VBUS接口的输出电压为5V。当DP接口电压和DM接口电压均为0V时,则适配器电压为defualt即保持默认状态,当DP接口电压为0.6V、DM接口电压为3.3V时,则适配器电压为连续模式Continuous mode即QC3.0模式。For example, when the output signals of the voltage comparator CMP1 and the voltage comparator CMP3 are 0 and 1 respectively, and the output information of the voltage comparator CMP4 and the voltage comparator CMP6 are both 1, the charging logic control module adjusts the output of the VBUS interface The voltage is 5V. When the DP interface voltage and the DM interface voltage are both 0V, the adapter voltage is default and the default state is maintained. When the DP interface voltage is 0.6V and the DM interface voltage is 3.3V, the adapter voltage is Continuous mode, namely QC3. 0 mode.
表1 QC协议输出电压控制逻辑表Table 1 QC protocol output voltage control logic table
Figure PCTCN2022085879-appb-000001
Figure PCTCN2022085879-appb-000001
在一个可能的示例中,参照图3,所述多快充协议控制电路还包括:第一数据电压输出模块、第二数据电压输出模块;In a possible example, referring to FIG. 3 , the multi-fast charging protocol control circuit further includes: a first data voltage output module and a second data voltage output module;
所述充电逻辑控制模块连接所述第一数据电压输出模块的控制端口、所述第二数据电压输出模块的控制端口,所述第一数据电压输出模块的第一端口、所述第一电压检测模块的第二端口、所述开关G1的第一端口合路后连接所述DP接口和所述开关G2的第一端口,所述第二数据电压输出模块的第一端口、所述第二电压检测模块的第二端口、所述开关G3的第一端口合路后连接所述DM接口和所述开关G2的第二端口;The charging logic control module is connected to the control port of the first data voltage output module, the control port of the second data voltage output module, the first port of the first data voltage output module, the first voltage detection module The second port of the module and the first port of the switch G1 are combined and connected to the DP interface and the first port of the switch G2, and the second data voltage outputs the first port of the module, the second voltage The second port of the detection module and the first port of the switch G3 are combined and connected to the DM interface and the second port of the switch G2;
所述第一数据电压输出模块用于提供所述DP接口的输出电压,所述第二数据电压输出模块用于提供所述DM接口的输出电压,所述充电逻辑控制模块还用于控制所述第一数据电压输出模块、所述第二数据电压输出模块的输出电压。The first data voltage output module is used to provide the output voltage of the DP interface, the second data voltage output module is used to provide the output voltage of the DM interface, and the charging logic control module is further used to control the The output voltage of the first data voltage output module and the second data voltage output module.
具体实现中,充电逻辑控制模块控制两个数据电压输出模块的输出电压可以是,控制两个数据电压输出模块将特定电压值的电压输出至DP接口或DM接口,或者控制两个数据电压输出模块不向外输出电压。In specific implementation, the charging logic control module may control the output voltages of the two data voltage output modules to control the two data voltage output modules to output a voltage with a specific voltage value to the DP interface or the DM interface, or control the two data voltage output modules. Do not output voltage to the outside.
具体的,在多快充协议控制电路采用DCP模式进行充电,充电逻辑控制模块可以通过控制两个数据电压输出模块的输出电压,通知负载设备具体采用的快充模式,例如,控制第一数据电压输出模块和第二数据电压输出模块输出至DP接口和DM接口的电压均为2.7V,通知负载设备采用APPLE2.4A模式。Specifically, when the multi-fast charging protocol control circuit adopts the DCP mode for charging, the charging logic control module can notify the load device of the specific fast charging mode by controlling the output voltages of the two data voltage output modules, for example, by controlling the first data voltage The voltages output by the output module and the second data voltage output module to the DP interface and the DM interface are both 2.7V, and the load device is notified to adopt the APPLE2.4A mode.
本示例中,参照图4,所述第一数据电压输出模块包括数据选择器D5、模拟开关OP1, 所述第二数据电压输出模块包括数据选择器D6和模拟开关OP2;In this example, referring to FIG. 4 , the first data voltage output module includes a data selector D5 and an analog switch OP1, and the second data voltage output module includes a data selector D6 and an analog switch OP2;
所述数据选择器D5的第一输入端的输入电压为第十一输入电压,所述数据选择器D5的第二输入端的输入电压为第十二输入电压,所述数据选择器D5的输出端连接所述模拟开关OP1的第一端口,所述模拟开关OP1的第二端口、所述第一电压检测模块的第二端口、所述开关G1的第一端口合路后连接所述DP接口和所述开关G2的第一端口,所述充电逻辑控制模块连接所述数据选择器D5的控制端口、所述模拟开关OP1的控制端口;The input voltage of the first input terminal of the data selector D5 is the eleventh input voltage, the input voltage of the second input terminal of the data selector D5 is the twelfth input voltage, and the output terminal of the data selector D5 is connected to The first port of the analog switch OP1, the second port of the analog switch OP1, the second port of the first voltage detection module, and the first port of the switch G1 are combined and connected to the DP interface and all the first port of the switch G2, the charging logic control module is connected to the control port of the data selector D5 and the control port of the analog switch OP1;
所述数据选择器D6的第一输入端的输入电压为第十三输入电压,所述数据选择器D6的第二输入端的输入电压为第十四输入电压,所述数据选择器D6的输出端连接所述模拟开关OP2的第一端口,所述模拟开关OP2的第二端口、所述第二电压检测模块的第二端口、所述开关G3的第一端口合路后连接所述DM接口和所述开关G2的第二端口,所述充电逻辑控制模块连接所述数据选择器D6的控制端口、所述模拟开关OP2的控制端口。The input voltage of the first input terminal of the data selector D6 is the thirteenth input voltage, the input voltage of the second input terminal of the data selector D6 is the fourteenth input voltage, and the output terminal of the data selector D6 is connected to The first port of the analog switch OP2, the second port of the analog switch OP2, the second port of the second voltage detection module, and the first port of the switch G3 are combined and connected to the DM interface and all The second port of the switch G2, the charging logic control module is connected to the control port of the data selector D6 and the control port of the analog switch OP2.
其中,第十一输入电压和第十三输入电压可以为2.7V,第十二输入电压和第十四输入电压可以为2.0V。Wherein, the eleventh input voltage and the thirteenth input voltage may be 2.7V, and the twelfth input voltage and the fourteenth input voltage may be 2.0V.
具体实现中,充电逻辑控制模块可以通过两个模拟开关的控制端口,分别控制第一数据电压输出模块和第二电压输出模块是否向外输出数据电压,且可通过控制两个数据选择器D5和D6,可以分别控制上述两个数据电压输出模块输出电压的值。例如,充电逻辑控制模块控制数据选择器D5选择2.7V电压,并控制模拟开关OP1打开,则第一数据电压输出模块可输出2.7V的电压至DP接口。在采用DCP快充协议时,充电逻辑控制模块可以根据具体采用的快充模式,控制上述两个数据电压输出模块的输出电压值,具体的,两个数据电压输出模块的输出电压值与快充模式的对应关系可以是:第一数据电压输出模块输出电压2.0V、第二数据电压输出模块输出电压2.7V,对应APPLE 1A快充模式;第一数据电压输出模块输出电压2.7V、第二数据电压输出模块输出电压2.0V,对应APPLE 2A快充模式;第一数据电压输出模块输出电压2.7V、第二数据电压输出模块输出电压2.7V,对应APPLE 2.4A快充模式。In specific implementation, the charging logic control module can respectively control whether the first data voltage output module and the second voltage output module output data voltage through the control ports of the two analog switches, and can control the two data selectors D5 and D6, the values of the output voltages of the above two data voltage output modules can be controlled respectively. For example, the charging logic control module controls the data selector D5 to select a voltage of 2.7V, and controls the analog switch OP1 to open, then the first data voltage output module can output a voltage of 2.7V to the DP interface. When the DCP fast charging protocol is adopted, the charging logic control module can control the output voltage values of the above two data voltage output modules according to the specific fast charging mode. Specifically, the output voltage values of the two data voltage output modules are related to the fast charging mode. The corresponding relationship of the modes can be: the output voltage of the first data voltage output module is 2.0V, the output voltage of the second data voltage output module is 2.7V, corresponding to the APPLE 1A fast charging mode; the output voltage of the first data voltage output module is 2.7V, the output voltage of the second data voltage The output voltage of the voltage output module is 2.0V, corresponding to the APPLE 2A fast charging mode; the output voltage of the first data voltage output module is 2.7V, and the output voltage of the second data voltage output module is 2.7V, corresponding to the APPLE 2.4A fast charging mode.
在一个可能的示例中,参照图5,所述多快充协议控制电路还包括:电阻R1、电阻R2、NMOS管N1、NMOS管N2;In a possible example, referring to FIG. 5 , the multi-fast charging protocol control circuit further includes: a resistor R1, a resistor R2, an NMOS transistor N1, and an NMOS transistor N2;
所述电阻R1的第一端口、所述第一电压检测模块的第二端口、所述开关G1的第一端口合路后连接所述DP接口和所述开关G2的第一端口,所述电阻R1的第二端口连接所述NMOS管N1的漏极,所述NMOS管N1的源极接地;The first port of the resistor R1, the second port of the first voltage detection module, and the first port of the switch G1 are combined to connect to the DP interface and the first port of the switch G2, and the resistor The second port of R1 is connected to the drain of the NMOS transistor N1, and the source of the NMOS transistor N1 is grounded;
所述电阻R2的第一端口、所述第二电压检测模块的第二端口、所述开关G3的第一端口合路后连接所述DM接口和所述开关G2的第二端口,所述电阻R2的第二端口连接所述NMOS管N2的漏极,所述NMOS管N2的源极接地;The first port of the resistor R2, the second port of the second voltage detection module, and the first port of the switch G3 are combined to connect to the DM interface and the second port of the switch G2, and the resistor The second port of R2 is connected to the drain of the NMOS transistor N2, and the source of the NMOS transistor N2 is grounded;
所述充电逻辑控制模块连接所述NMOS管N1的栅极、所述NMOS管N2的栅极;The charging logic control module is connected to the gate of the NMOS transistor N1 and the gate of the NMOS transistor N2;
所述充电逻辑控制模块还用于控制所述NMOS管N1的栅极电压、所述NMOS管N2的栅极电压。The charging logic control module is further configured to control the gate voltage of the NMOS transistor N1 and the gate voltage of the NMOS transistor N2.
其中,电阻R1和电阻R2可以作为泄放电阻,通过设置电阻R1和电阻R2可以匹配DCP快充协议对应的充电规范中对DP接口或DM接口的阻抗要求。Among them, resistor R1 and resistor R2 can be used as bleeder resistors. By setting resistor R1 and resistor R2, it can match the impedance requirements of the DP interface or DM interface in the charging specification corresponding to the DCP fast charging protocol.
具体实现中,充电逻辑控制模块可以通过控制NMOS管N1以及NMOS管N2的栅极电压,从而控制NMOS管N1和NMOS管N2的导通状态,进而可实现对电阻R1和电阻R2是否接地的控制。In the specific implementation, the charging logic control module can control the conduction state of the NMOS transistor N1 and the NMOS transistor N2 by controlling the gate voltages of the NMOS transistor N1 and the NMOS transistor N2, thereby realizing the control of whether the resistor R1 and the resistor R2 are grounded. .
举例来说,在需要将DM电阻下拉,即需要将电阻R2接地的时候,充电逻辑控制模块可以通过控制NMOS管N2的栅极电压,使得NMOS管N2导通。For example, when the DM resistor needs to be pulled down, that is, the resistor R2 needs to be grounded, the charging logic control module can make the NMOS transistor N2 turn on by controlling the gate voltage of the NMOS transistor N2.
在一个可能的示例中,所述充电逻辑控制模块包括S0端口、S1端口、S2端口;In a possible example, the charging logic control module includes an S0 port, an S1 port, and an S2 port;
所述S0端口连接所述开关G1的控制端口,所述S1端口连接所述开关G2的控制端口,所述S2端口连接所述开关G3的控制端口;The S0 port is connected to the control port of the switch G1, the S1 port is connected to the control port of the switch G2, and the S2 port is connected to the control port of the switch G3;
所述充电逻辑控制模块用于通过所述S0端口控制所述开关G1的通断、通过所述S1端口控制所述开关G2的通断、通过所述S2端口控制所述开关G3的通断。The charging logic control module is configured to control the on-off of the switch G1 through the S0 port, control the on-off of the switch G2 through the S1 port, and control the on-off of the switch G3 through the S2 port.
在一个可能的示例中,所述充电逻辑控制模块包括S3端口、S4端口、S5端口、S6端口;In a possible example, the charging logic control module includes an S3 port, an S4 port, an S5 port, and an S6 port;
所述S3端口连接所述数据选择器D1的控制端口,所述S4端口连接所述数据选择器D2的控制端口,所述S5端口连接所述数据选择器D3的控制端口,所述S6端口连接所述数据选择器D4的控制端口;The S3 port is connected to the control port of the data selector D1, the S4 port is connected to the control port of the data selector D2, the S5 port is connected to the control port of the data selector D3, and the S6 port is connected the control port of the data selector D4;
所述充电逻辑控制模块用于通过所述S3端口控制所述数据选择器D1选择输入的电压,通过所述S4端口控制所述数据选择器D2选择输入的电压,通过所述S5端口控制所述数据选择器D3选择输入的电压,通过所述S6端口控制所述数据选择器D4选择输入的电压。The charging logic control module is used to control the voltage selected by the data selector D1 through the S3 port, control the voltage selected by the data selector D2 through the S4 port, and control the input voltage through the S5 port. The data selector D3 selects the input voltage, and controls the data selector D4 to select the input voltage through the S6 port.
在一个可能的示例中,所述充电逻辑控制模块包括S7端口、S8端口、S9端口、S10端口;In a possible example, the charging logic control module includes an S7 port, an S8 port, an S9 port, and an S10 port;
所述S7端口连接所述数据选择器D5的控制端口,所述S8端口连接所述模拟开关OP1的控制端口,所述S9端口连接所述数据选择器D6的控制端口,所述S10端口连接所述模拟开关OP2的控制端口;The S7 port is connected to the control port of the data selector D5, the S8 port is connected to the control port of the analog switch OP1, the S9 port is connected to the control port of the data selector D6, and the S10 port is connected to all The control port of the analog switch OP2;
所述充电逻辑控制模块用于通过所述S7端口控制所述数据选择器D5选择输入的电压,通过所述S9端口控制所述数据选择器D6选择输入的电压,以及用于通过所述S8端口控制所述模拟开关OP1的通断,通过所述S10端口控制所述模拟开关OP2的通断。The charging logic control module is used to control the voltage of the data selector D5 to select the input through the S7 port, to control the voltage of the data selector D6 to select the input through the S9 port, and to control the voltage of the data selector D6 to select the input through the S8 port. The on-off of the analog switch OP1 is controlled, and the on-off of the analog switch OP2 is controlled through the S10 port.
在一个可能的示例中,所述充电逻辑控制模块包括S11端口、S12端口;In a possible example, the charging logic control module includes an S11 port and an S12 port;
所述S11端口连接所述NMOS管N1的栅极,所述S12端口连接所述NMOS管N2的栅极;The S11 port is connected to the gate of the NMOS transistor N1, and the S12 port is connected to the gate of the NMOS transistor N2;
所述充电逻辑控制模块用于通过所述S11端口控制所述NMOS管N1的栅极电压,通过所述S12端口控制所述NMOS管N2的栅极电压。The charging logic control module is configured to control the gate voltage of the NMOS transistor N1 through the S11 port, and control the gate voltage of the NMOS transistor N2 through the S12 port.
具体的,参照图6,实际应用中,多快充协议控制电路具体可以如图6所示,该多快充协议控制电路包括:充电逻辑控制模块、模拟开关OP1、模拟开关OP2、开关G1、开关G2、开关G3、数据选择器D1、数据选择器D2、数据选择器D3、数据选择器D4、数据选择器D5、数据选择器D6、电压比较器CMP1、电压比较器CMP2、电压比较器CMP3、电压比较器CMP4、电压比较器CMP5、电压比较器CMP6、AFSCP发送模块、VOOC发送模块、电阻R1、电阻R2、NMOS管N1、NMOS管N2、DP接口、DM接口、VBUS接口、GND接口、定时器模块;所述充电逻辑控制模块包括S0端口、S1端口、S2端口、S3端口、S4端口、S5端口、S6端口、S7端口、S8端口、S9端口、S10端口、S11端口、S12端口。Specifically, referring to FIG. 6 , in practical applications, the multi-fast charging protocol control circuit can be specifically shown in FIG. 6 . The multi-fast charging protocol control circuit includes: a charging logic control module, an analog switch OP1, an analog switch OP2, a switch G1, Switch G2, Switch G3, Data Selector D1, Data Selector D2, Data Selector D3, Data Selector D4, Data Selector D5, Data Selector D6, Voltage Comparator CMP1, Voltage Comparator CMP2, Voltage Comparator CMP3 , voltage comparator CMP4, voltage comparator CMP5, voltage comparator CMP6, AFSCP sending module, VOOC sending module, resistor R1, resistor R2, NMOS tube N1, NMOS tube N2, DP interface, DM interface, VBUS interface, GND interface, Timer module; the charging logic control module includes S0 port, S1 port, S2 port, S3 port, S4 port, S5 port, S6 port, S7 port, S8 port, S9 port, S10 port, S11 port, S12 port.
其中,充电逻辑模块连接电压比较器CMP1的输出端、电压比较器CMP2的输出端、电压比较器CMP3的输出端、电压比较器CMP4的输出端、电压比较器CMP5的输出端、电压比较器CMP6的输出端、VBUS接口、GND接口、定时器模块、VOOC发送模块的第一端口、AFSCP发送模块的第一端口;The charging logic module is connected to the output terminal of the voltage comparator CMP1, the output terminal of the voltage comparator CMP2, the output terminal of the voltage comparator CMP3, the output terminal of the voltage comparator CMP4, the output terminal of the voltage comparator CMP5, and the voltage comparator CMP6. The output end, VBUS interface, GND interface, timer module, the first port of the VOOC sending module, the first port of the AFSCP sending module;
充电逻辑控制模块的S3端口连接开关G1的控制端口,S4端口连接开关G2的控制端口,S8端口连接开关G3的控制端口,S9端口连接数据选择器D1的控制端口,S10端口连接数据选择器D2的控制端口,S11端口连接数据选择器D3的控制端口,S12端口连接数据选择器D4的控制端口,S0端口连接数据选择器D5的控制端口,S1端口连接模拟开关OP1的控 制端口,S5端口连接数据选择器D6的控制端口,S6端口连接模拟开关OP2的控制端口,S2端口连接NMOS管N1的栅极,S7端口连接NMOS管N2的栅极;The S3 port of the charging logic control module is connected to the control port of switch G1, the S4 port is connected to the control port of switch G2, the S8 port is connected to the control port of switch G3, the S9 port is connected to the control port of the data selector D1, and the S10 port is connected to the data selector D2 The control port of the S11 port is connected to the control port of the data selector D3, the S12 port is connected to the control port of the data selector D4, the S0 port is connected to the control port of the data selector D5, the S1 port is connected to the control port of the analog switch OP1, and the S5 port is connected to the control port of the data selector D5. The control port of the data selector D6, the S6 port is connected to the control port of the analog switch OP2, the S2 port is connected to the gate of the NMOS transistor N1, and the S7 port is connected to the gate of the NMOS transistor N2;
数据选择器D5的第一输入端的输入电压为2.7V,数据选择器D5的第二输入端的输入电压为2.0V,数据选择器D5的输出端连接模拟开关OP1的第一端口;数据选择器D6的第一输入端的输入电压为2.7V,数据选择器D6的第二输入端的输入电压为2.0V,数据选择器D6的输出端连接模拟开关OP2的第一端口;The input voltage of the first input end of the data selector D5 is 2.7V, the input voltage of the second input end of the data selector D5 is 2.0V, and the output end of the data selector D5 is connected to the first port of the analog switch OP1; the data selector D6 The input voltage of the first input end of the data selector D6 is 2.7V, the input voltage of the second input end of the data selector D6 is 2.0V, and the output end of the data selector D6 is connected to the first port of the analog switch OP2;
模拟开关OP1的第二端口、电压比较器CMP1的第一输入端、电压比较器CMP2的第一输入端、电压比较器CMP3的第一输入端、电阻R1的第一端口、开关G1的第一端口合路后连接DP接口和开关G2的第一端口,模拟开关OP2的第二端口、电压比较器CMP4的第一输入端、电压比较器CMP5的第一输入端、电压比较器CMP6的第一输入端、电阻R2的第一端口、开关G3的第一端口合路后连接DM接口和开关G2的第二端口;The second port of the analog switch OP1, the first input end of the voltage comparator CMP1, the first input end of the voltage comparator CMP2, the first input end of the voltage comparator CMP3, the first port of the resistor R1, the first port of the switch G1 After the ports are combined, connect the DP interface and the first port of the switch G2, the second port of the analog switch OP2, the first input end of the voltage comparator CMP4, the first input end of the voltage comparator CMP5, and the first input end of the voltage comparator CMP6. The input end, the first port of the resistor R2, and the first port of the switch G3 are combined and connected to the DM interface and the second port of the switch G2;
电压比较器CMP1的第二输入端连接数据选择器D1的输出端,电压比较器CMP2的第二输入端连接数据选择器D2的输出端,电压比较器CMP3的第二输入端的输入电压为0.325V,数据选择器D1的第一输入端的输入电压为2.9V,数据选择器D1的第二输入端的输入电压为2.0V,数据选择器D2的第一输入端的输入电压为2.0V,数据选择器D2的第二输入端的输入电压为1.2V;电压比较器CMP4的第二输入端连接数据选择器D3的输出端,电压比较器CMP5的第二输入端连接数据选择器D4的输出端,电压比较器CMP6的第二输入端的输入电压为0.325V,数据选择器D3的第一输入端的输入电压为2.9V,数据选择器D3的第二输入端的输入电压为2.0V,数据选择器D4的第一输入端的输入电压为2.0V,数据选择器D4的第二输入端的输入电压为1.5V。The second input terminal of the voltage comparator CMP1 is connected to the output terminal of the data selector D1, the second input terminal of the voltage comparator CMP2 is connected to the output terminal of the data selector D2, and the input voltage of the second input terminal of the voltage comparator CMP3 is 0.325V , the input voltage of the first input terminal of the data selector D1 is 2.9V, the input voltage of the second input terminal of the data selector D1 is 2.0V, the input voltage of the first input terminal of the data selector D2 is 2.0V, and the data selector D2 The input voltage of the second input end of the voltage comparator CMP4 is connected to the output end of the data selector D3, the second input end of the voltage comparator CMP5 is connected to the output end of the data selector D4, and the voltage comparator The input voltage of the second input terminal of CMP6 is 0.325V, the input voltage of the first input terminal of the data selector D3 is 2.9V, the input voltage of the second input terminal of the data selector D3 is 2.0V, and the input voltage of the first input terminal of the data selector D4 is 2.0V. The input voltage of the second input terminal of the data selector D4 is 2.0V, and the input voltage of the second input terminal of the data selector D4 is 1.5V.
电阻R1的第二端口连接NMOS管N1的漏极,NMOS管N1的源极接地;电阻R2的第二端口连接NMOS管N2的漏极,NMOS管N2的源极接地;The second port of the resistor R1 is connected to the drain of the NMOS transistor N1, and the source of the NMOS transistor N1 is grounded; the second port of the resistor R2 is connected to the drain of the NMOS transistor N2, and the source of the NMOS transistor N2 is grounded;
开关G1的第二端口连接VOOC发送模块的第二端口,开关G3的第二端口连接AFSCP发送模块的第二端口;The second port of the switch G1 is connected to the second port of the VOOC sending module, and the second port of the switch G3 is connected to the second port of the AFSCP sending module;
充电逻辑控制模块可以根据电压检测模块的电压检测结果、定时器模块的计时结果和VBUS接口上的电流,调整多快充协议控制电路的通路状态,例如控制各开关的通断、各选择器的输出以及NMOS管的栅极电压等,通过调整通路状态可以与负载设备进行协议通信(例如通过短接DP、DM接口通知负载设备采用DCP协议,检测DP、DM上电压值与负载设备进行协议握手确定采用的快充协议,通过控制VOOC发送模块或AFSCP发送模块与负载设备进行VOOC协议通信或AFC/SCP/FCP协议通信),并进一步采用相应的快充协议通过VBUS接口对负载设备进行快速充电。The charging logic control module can adjust the channel status of the multi-fast charging protocol control circuit according to the voltage detection result of the voltage detection module, the timing result of the timer module and the current on the VBUS interface, such as controlling the on-off of each switch, the switching of each selector. The output and the gate voltage of the NMOS transistor, etc., can communicate with the load device by adjusting the channel state (for example, by short-circuiting the DP and DM interfaces to notify the load device to adopt the DCP protocol, and detect the voltage value on the DP and DM to perform protocol handshake with the load device. Determine the fast charging protocol used, and control the VOOC sending module or AFSCP sending module to communicate with the load device with VOOC protocol or AFC/SCP/FCP protocol), and further use the corresponding fast charge protocol to quickly charge the load device through the VBUS interface. .
可以看出,本申请提供的一种多快充协议控制电路,包括充电逻辑控制模块、第一电压检测模块、第二电压检测模块、AFSCP发送模块、VOOC发送模块、DP接口、DM接口、VBUS接口、GND接口、定时器模块、开关G1、开关G2、开关G3,充电逻辑控制模块用于分别控制第一电压检测模块、第二电压检测模块检测DP接口、DM接口的电压,通过定时器模块进行计时,根据电压检测结果、计时结果和VBUS接口的电流控制开关G1、开关G2、开关G3的通断,并采用相应的通信协议与负载设备进行通信,以及通过VBUS接口对负载设备进行充电。可见,本申请提供的多快充协议控制电路可实现多种快充协议的快充,应用于快充协议芯片可实现单颗芯片支持多种快充协议,应用灵活,节约成本。有利于解决目前因单颗芯片无法支持多种快充协议而带来的设备兼容性问题。It can be seen that a multi-fast charging protocol control circuit provided by this application includes a charging logic control module, a first voltage detection module, a second voltage detection module, an AFSCP transmission module, a VOOC transmission module, a DP interface, a DM interface, and a VBUS interface, GND interface, timer module, switch G1, switch G2, switch G3, and the charging logic control module is used to control the first voltage detection module and the second voltage detection module to detect the voltage of the DP interface and the DM interface, respectively, through the timer module. Carry out timing, control the on-off of switch G1, switch G2, and switch G3 according to the voltage detection result, timing result and the current of the VBUS interface, and use the corresponding communication protocol to communicate with the load device and charge the load device through the VBUS interface. It can be seen that the multi-fast charging protocol control circuit provided in this application can realize fast charging of various fast charging protocols, and when applied to a fast charging protocol chip, a single chip can support various fast charging protocols, and the application is flexible and cost saving. It is beneficial to solve the device compatibility problem caused by the fact that a single chip cannot support multiple fast charging protocols.
实施例2:Example 2:
参照图7,本实施例提供了一种多快充协议控制电路的控制方法,应用于上述实施例1中的多快充协议控制电路,方法包括:Referring to FIG. 7 , this embodiment provides a control method for a multi-fast charging protocol control circuit, which is applied to the multi-fast charging protocol control circuit in the above-mentioned Embodiment 1. The method includes:
S201,充电逻辑控制模块默认采用DCP快充协议,控制所述多快充协议控制电路的通路状态为第一状态。S201, the charging logic control module adopts the DCP fast charging protocol by default, and controls the channel state of the multi-fast charging protocol control circuit to be a first state.
具体实现中,通过所述多快充协议控制电路与负载设备进行快充协议通信时,充电逻辑控制模块可默认采用DCP快充协议,多快充协议控制电路的第一状态即采用DCP协议对负载设备进行快速充电时的电路状态。In the specific implementation, when the multi-fast charging protocol control circuit communicates with the load device through the fast charging protocol, the charging logic control module can use the DCP fast charging protocol by default, and the first state of the multi-fast charging protocol control circuit adopts the DCP protocol to Circuit state when the load device is fast charging.
S202,当所述充电逻辑控制模块根据第一电压检测模块和第二电压检测模块的电压检测结果,确定DP接口或DM接口的电压变化时,定时器模块开始计时t1时间。S202, when the charging logic control module determines the voltage change of the DP interface or the DM interface according to the voltage detection results of the first voltage detection module and the second voltage detection module, the timer module starts to count time t1.
S203,若所述t1时间内所述第一电压检测模块和所述第二电压检测模块的电压检测结果无变化,则所述t1时间后,所述充电逻辑控制模块控制所述多快充协议控制电路的通路状态为第二状态。S203 , if the voltage detection results of the first voltage detection module and the second voltage detection module do not change within the time t1, then after the time t1, the charging logic control module controls the multi-fast charging protocol The on state of the control circuit is the second state.
其中,所述第二状态下开关G2闭合,所述DP接口和所述DM接口短接。Wherein, in the second state, the switch G2 is closed, and the DP interface and the DM interface are short-circuited.
S202和203中,充电逻辑控制模块根据电压检测结果确定DP接口或DM接口的电压发生变化,即可确定有负载设备接入,则可控制开关G2闭合,使得DP接口和DM接口短接,通知负载设备采用的快充协议为DCP快充协议。In S202 and 203, the charging logic control module determines that the voltage of the DP interface or the DM interface changes according to the voltage detection result, and it can be determined that the load device is connected, and then the switch G2 can be controlled to close, so that the DP interface and the DM interface are short-circuited, and the notification The fast charging protocol adopted by the load device is the DCP fast charging protocol.
S204,当所述第一电压检测模块或所述第二电压检测模块的电压检测结果变化时,若所述充电逻辑控制模块根据所述第一电压检测模块的电压检测结果确定所述DP接口电压在预设电压范围内,则所述定时器模块开始计时t2时间。S204, when the voltage detection result of the first voltage detection module or the second voltage detection module changes, if the charging logic control module determines the DP interface voltage according to the voltage detection result of the first voltage detection module Within the preset voltage range, the timer module starts to count time t2.
S205,若在所述t2时间内,所述充电逻辑控制模块根据所述第一电压检测模块的电压检测结果,确定所述DP接口的电压始终在所述预设电压范围内。S205, if within the time t2, the charging logic control module determines, according to the voltage detection result of the first voltage detection module, that the voltage of the DP interface is always within the preset voltage range.
S204和S205中,负载设备可通过在DP接口或DM接口上加载预设电压值的电压,通知充电适配器端的充电逻辑控制模块支持的快充协议,充电逻辑控制模块根据电压检测结果,确定负载设备加在DP接口上的电压是否在预设的电压范围内,进而确定是否需要继续后续的快充协议握手步骤。这里的预设电压范围可以由QC快充协议确定,若充电逻辑控制模块确定DP接口上电压值在预设的电压范围内,则可以继续执行后面QC协议握手的步骤。另外,由于此时DP接口和DM接口短接,实际上DM接口的电压是随DP接口电压变化的,DP接口和DM接口的电压是相同的。In S204 and S205, the load device can notify the fast charging protocol supported by the charging logic control module at the charging adapter end by loading the voltage of the preset voltage value on the DP interface or the DM interface, and the charging logic control module determines the load device according to the voltage detection result. Whether the voltage applied to the DP interface is within the preset voltage range, and then it is determined whether the subsequent fast charging protocol handshake steps need to be continued. The preset voltage range here can be determined by the QC fast charging protocol. If the charging logic control module determines that the voltage value on the DP interface is within the preset voltage range, the subsequent steps of the QC protocol handshake can be continued. In addition, since the DP interface and the DM interface are short-circuited at this time, the voltage of the DM interface actually changes with the voltage of the DP interface, and the voltages of the DP interface and the DM interface are the same.
S206,在所述t2时间后,所述充电逻辑控制模块控制所述多快充协议控制电路的通路状态为第三状态。S206, after the time t2, the charging logic control module controls the channel state of the multi-fast charging protocol control circuit to be a third state.
其中,所述第三状态下,所述开关G2断开,断开DP接口和所述DM接口的短接。Wherein, in the third state, the switch G2 is disconnected, and the short circuit between the DP interface and the DM interface is disconnected.
S207,所述充电逻辑控制模块控制所述开关G1和所述开关G3闭合,根据所述第二电压检测模块的电压检测结果判断所述DM接口是否小于第一预设电压值。S207, the charging logic control module controls the switch G1 and the switch G3 to close, and determines whether the DM interface is less than a first preset voltage value according to the voltage detection result of the second voltage detection module.
其中,第一预设电压值可以是0.325V。Wherein, the first preset voltage value may be 0.325V.
具体实现中,由于断开了DP接口和DM接口的短接,DM接口的电压不会再随着DM接口的电压变化,NMOS管N2导通,DM接口的电压值下降。In the specific implementation, since the short connection between the DP interface and the DM interface is disconnected, the voltage of the DM interface will no longer change with the voltage of the DM interface, the NMOS transistor N2 is turned on, and the voltage value of the DM interface decreases.
S208,若是,则所述定时器模块开始计时t3时间。S208, if yes, the timer module starts to count time t3.
S209,若在所述t3时间内,所述充电逻辑控制模块根据所述第二电压检测模块的电压检测结果确定所述DM接口的电压始终小于所述第一预设电压值,则QC握手成功,否则,QC握手失败。S209, if within the time t3, the charging logic control module determines that the voltage of the DM interface is always lower than the first preset voltage value according to the voltage detection result of the second voltage detection module, then the QC handshake is successful , otherwise, the QC handshake fails.
S210,若QC握手成功,则在所述t3时间后,检测所述DM接口上是否收到AFC/SCP/FCP 数据包。S210, if the QC handshake is successful, after the time t3, detect whether an AFC/SCP/FCP data packet is received on the DM interface.
具体实现中,AFC数据包、SCP数据包、FCP数据包分别对应不同的电压脉冲序列,充电逻辑模块检测DM接口上是否收到AFC/SCP/FCP数据包具体可以是,根据第二电压检测模块的电压检测结果确定DM接口上电压脉冲序列,对电压脉冲序列进行解码确定是否收到AFC/SCP/FCP数据包。In the specific implementation, AFC data packets, SCP data packets, and FCP data packets correspond to different voltage pulse sequences, respectively, and the charging logic module detects whether AFC/SCP/FCP data packets are received on the DM interface. Specifically, according to the second voltage detection module The voltage detection result of the DM interface determines the voltage pulse sequence on the DM interface, and decodes the voltage pulse sequence to determine whether an AFC/SCP/FCP data packet is received.
S211,若接收到,则通过AFSCP发送模块与负载设备进行AFC/SCP/FCP协议通信。S211, if received, perform AFC/SCP/FCP protocol communication with the load device through the AFSCP sending module.
具体实现中,由于采用AFC/SCP/FCP三种快充协议时,负载设备加在DM接口上的电压是不同的,充电逻辑控制模块可以根据检测到的数据包,确定需要与负载设备进行何种快充协议通信。In the specific implementation, since the voltage applied by the load device to the DM interface is different when the three fast charging protocols of AFC/SCP/FCP are used, the charging logic control module can determine what needs to be done with the load device according to the detected data packets. A fast charging protocol communication.
S212,若未接收到,则所述充电逻辑控制模块采用QC快充协议,根据所述第一电压检测模块和所述第二电压检测模块的电压检测结果调整所述VBUS接口的输出电压。S212, if not received, the charging logic control module adopts the QC fast charging protocol, and adjusts the output voltage of the VBUS interface according to the voltage detection results of the first voltage detection module and the second voltage detection module.
S213,若QC握手失败,则在所述t3时间后,所述充电逻辑控制模块检测所述VBUS接口的电流是否大于预设电流值。S213, if the QC handshake fails, after the time t3, the charging logic control module detects whether the current of the VBUS interface is greater than a preset current value.
S214,若是,则定时器模块开始计时t4时间。S214, if yes, the timer module starts to count time t4.
S215,若在所述t4时间内,所述充电逻辑控制模块检测到所述VBUS接口的电流始终大于所述预设电流值,则通过VOOC发送模块与所述负载设备进行VOOC协议通信。S215 , if within the time t4 , the charging logic control module detects that the current of the VBUS interface is always greater than the preset current value, perform VOOC protocol communication with the load device through the VOOC sending module.
在一个可能的示例中,所述方法还包括:所述当所述第一电压检测模块或所述第二电压检测模块的电压检测结果变化时,若所述充电逻辑控制模块根据所述第一电压检测模块的电压检测结果,确定所述DP接口电压不在所述预设电压范围内;或者,若在所述t2时间内,所述充电逻辑控制模块根据所述第一电压检测模块的电压检测结果,确定所述DP接口的电压不在所述预设电压范围内;则所述充电逻辑控制模块控制所述多快充协议控制电路的通路状态为所述第二状态。In a possible example, the method further includes: when the voltage detection result of the first voltage detection module or the second voltage detection module changes, if the charging logic control module changes according to the first voltage detection module The voltage detection result of the voltage detection module determines that the DP interface voltage is not within the preset voltage range; or, if within the time t2, the charging logic control module detects the voltage according to the first voltage detection module As a result, it is determined that the voltage of the DP interface is not within the preset voltage range; then the charging logic control module controls the channel state of the multi-fast charging protocol control circuit to be the second state.
具体实现中,若负载设备加在DP接口上的电压不符合QC快充协议的相关要求,则充电逻辑控制模块可控制多快充协议控制电路的通路状态回到DP接口和DM接口短接的状态,重新对DP接口的电压进行检测,在检测到DP接口电压符合QC快充协议的相关要求时,则可继续进行后续步骤。In the specific implementation, if the voltage applied by the load device to the DP interface does not meet the relevant requirements of the QC fast charging protocol, the charging logic control module can control the channel state of the multi-fast charging protocol control circuit to return to the short-circuited state of the DP interface and the DM interface. status, re-detect the voltage of the DP interface, when it is detected that the voltage of the DP interface meets the relevant requirements of the QC fast charging protocol, you can continue to the next steps.
在一个可能的示例中,所述确定所述DP接口或所述DM接口的电压变化时,定时器模块开始计时t1时间之后,所述方法还包括:若所述t1时间内所述第一电压检测模块和所述第二电压检测模块的电压检测结果变化,则所述定时器模块置零,重新开始计时t1时间。In a possible example, when the voltage change of the DP interface or the DM interface is determined, after the timer module starts to count the time t1, the method further includes: if the first voltage is within the time t1 When the voltage detection results of the detection module and the second voltage detection module change, the timer module is set to zero, and the time t1 is restarted.
在一个可能的示例中,所述充电逻辑控制模块采用QC快充协议,根据所述电压检测模块的电压检测结果调整所述VBUS接口的输出电压,包括:In a possible example, the charging logic control module adopts the QC fast charging protocol, and adjusts the output voltage of the VBUS interface according to the voltage detection result of the voltage detection module, including:
所述充电逻辑控制模块根据所述第二电压检测模块的电压检测结果判断所述DM接口的电压是否大于第二预设电压值;The charging logic control module determines whether the voltage of the DM interface is greater than a second preset voltage value according to the voltage detection result of the second voltage detection module;
若否,则调整所述VBUS接口的输出电压为第一输出电压值;If not, adjusting the output voltage of the VBUS interface to the first output voltage value;
若是,则根据所述第一电压检测模块的电压检测结果判断所述DP接口的电压是否大于第三预设电压值;If so, determine whether the voltage of the DP interface is greater than a third preset voltage value according to the voltage detection result of the first voltage detection module;
若否,则调整所述VBUS接口的输出电压为第二输出电压值;If not, adjusting the output voltage of the VBUS interface to the second output voltage value;
若是,则根据所述第二电压检测模块的电压检测结果判断所述DM接口的电压是否大于第四预设电压值;If so, determine whether the voltage of the DM interface is greater than a fourth preset voltage value according to the voltage detection result of the second voltage detection module;
若是,则调整所述VBUS接口的输出电压为第三输出电压值;If so, adjust the output voltage of the VBUS interface to a third output voltage value;
若否,则调整所述VBUS接口的输出电压为第四输出电压值;If not, adjusting the output voltage of the VBUS interface to be the fourth output voltage value;
每次调整所述VBUS接口的输出电压后,根据所述第一电压检测模块的电压检测结果确定所述DP接口的电压是否大于第五预设电压值;After each adjustment of the output voltage of the VBUS interface, determine whether the voltage of the DP interface is greater than a fifth preset voltage value according to the voltage detection result of the first voltage detection module;
若是,则执行所述根据第二电压检测模块的电压检测结果判断所述DM接口的电压是否大于第二预设电压值的步骤;If so, execute the step of judging whether the voltage of the DM interface is greater than the second preset voltage value according to the voltage detection result of the second voltage detection module;
若否,则所述充电逻辑控制模块采用DCP快充协议,控制所述多快充协议电路的通路状态为所述第一状态。If not, the charging logic control module adopts the DCP fast charging protocol, and controls the channel state of the multi-fast charging protocol circuit to be the first state.
具体实现中,第二预设电压值和第五预设电压值可以是0.325V,第三预设电压值和第四预设电压值可以是2V,第一输出电压值可以是5V,第二输出电压值可以是12V,第三输出电压值可以为20V,第四输出电压值可以为9V。In specific implementation, the second preset voltage value and the fifth preset voltage value may be 0.325V, the third preset voltage value and the fourth preset voltage value may be 2V, the first output voltage value may be 5V, and the second preset voltage value may be 5V. The output voltage value may be 12V, the third output voltage value may be 20V, and the fourth output voltage value may be 9V.
在实际应用中,参照图8,本申请的多快充协议控制电路的控制方法具体可以包括以下步骤,具体可以应用于如图6所示的多快充协议控制电路中:In practical application, referring to FIG. 8 , the control method of the multi-fast charging protocol control circuit of the present application may specifically include the following steps, which may be specifically applied to the multi-fast charging protocol control circuit shown in FIG. 6 :
步骤1、开始,执行步骤2。 Step 1. Start, go to Step 2.
步骤2、默认采用APPLE 2.4A模式,执行步骤3。 Step 2. The APPLE 2.4A mode is adopted by default, and step 3 is executed.
其中,默认采用APPLE 2.4A模式时,充电逻辑控制器控制模拟开关OP1和模拟开关OP2输入端电压默认选择2.7V,电压比较器CMP1和电压比较器CMP4的第二输入端电压均选择2.9V,电压比较器CMP5的第二输入端电压为1.5V,模拟开关OP1和模拟开关OP2开启。Among them, when the APPLE 2.4A mode is adopted by default, the charging logic controller controls the input voltage of the analog switch OP1 and the analog switch OP2 to select 2.7V by default, and the voltage of the second input terminal of the voltage comparator CMP1 and the voltage comparator CMP4 is selected 2.9V, The voltage of the second input terminal of the voltage comparator CMP5 is 1.5V, and the analog switch OP1 and the analog switch OP2 are turned on.
其中,模拟开关开启时,通过对数据选择器D5和D6的控制,则可向DP接口或DM接口输出电压,模拟开关关闭则不向DP接口和DM接口输出电压。充电逻辑模块通过与各元器件对应的端口对各元器件进行控制,例如通过S9端口和S11端口控制数据选择器D1和数据选择器D3,使得电压比较器CMP1和电压比较器CMP4的第二输入端电压均选择2.9V。实际应用中,电压比较器CMP5的第二输入端电压也可以为2.0V,通过上述电压比较器输入端电压设置,充电逻辑控制模块可以根据各电压比较器的输出信号,确定是否有负载设备插入。Among them, when the analog switch is turned on, through the control of the data selectors D5 and D6, the voltage can be output to the DP interface or the DM interface, and when the analog switch is turned off, no voltage can be output to the DP interface and the DM interface. The charging logic module controls each component through the port corresponding to each component, for example, controls the data selector D1 and the data selector D3 through the S9 port and the S11 port, so that the second input of the voltage comparator CMP1 and the voltage comparator CMP4 The terminal voltages are all selected at 2.9V. In practical applications, the voltage of the second input terminal of the voltage comparator CMP5 can also be 2.0V. Through the voltage setting of the input terminal of the voltage comparator, the charging logic control module can determine whether a load device is inserted according to the output signal of each voltage comparator. .
对于采用DCP快充协议进行快充时,多快充协议控制模块具体可以通过控制两个模拟开关输出至DP接口和DM接口的电压,通知负载设备采用的快充模式,例如上述模拟开关OP1和模拟开关OP2分别输出至DP接口和DM接口的电压均为2.7V,即通知负载设备采用的是APPLE 2.4A快充模式。When the DCP fast charging protocol is used for fast charging, the multi-fast charging protocol control module can specifically control the voltage output by the two analog switches to the DP interface and the DM interface to notify the fast charging mode adopted by the load device, such as the above-mentioned analog switches OP1 and DM. The voltages output by the analog switch OP2 to the DP interface and the DM interface are both 2.7V, which means that the load device is notified that the APPLE 2.4A fast charge mode is used.
步骤3、检测到DP接口或DM接口的电压变化,执行步骤4。 Step 3. If the voltage change of the DP interface or the DM interface is detected, go to Step 4.
具体实现中,充电逻辑控制模块通过各电压比较器的输出信号检测DP接口或DM接口的电压变化,当检测到DP接口或DM接口电压变化时,即只要有一个电压比较器的输出信号跳转,则可确定为有负载设备接入。In the specific implementation, the charging logic control module detects the voltage change of the DP interface or the DM interface through the output signal of each voltage comparator. When the voltage change of the DP interface or the DM interface is detected, that is, as long as the output signal of one voltage comparator jumps , it can be determined that a loaded device is connected.
步骤4、启动定时器模块开始计时t1时间,执行步骤5。Step 4 , start the timer module to start timing t1 , and perform step 5 .
具体实现中,当有任意一个电压比较器的输出信号跳转,则定时器模块置0重新开始计时t1时间。In the specific implementation, when the output signal of any voltage comparator jumps, the timer module is set to 0 and starts to count the time t1 again.
步骤5、判断定时器模块计时t1时间是否结束,若是,执行步骤6,否则继续执行步骤5。Step 5: Determine whether the time t1 time counted by the timer module is over, if yes, go to Step 6, otherwise continue to go to Step 5.
步骤6、调整多快充协议控制电路通路状态,DP接口和DM接口短接,执行步骤7。Step 6. Adjust the channel status of the multi-fast charging protocol control circuit, short-circuit the DP interface and the DM interface, and go to Step 7.
具体实现中,充电逻辑控制模块控制开关G2闭合,DP接口和DM接口短接,另外,还控制模拟开关OP1和模拟开关OP2关闭,控制电压比较器CMP2第二输入端电压选择1.2V,电压比较器CMP4第二输入端电压选择2.0V,电压比较器CMP5第二输入端电压选择1.5V。In the specific implementation, the charging logic control module controls the switch G2 to be closed, the DP interface and the DM interface are short-circuited, and also controls the analog switch OP1 and the analog switch OP2 to close, and controls the voltage comparator CMP2 to select the second input terminal voltage of 1.2V, and the voltage comparison The voltage of the second input terminal of the comparator CMP4 is selected as 2.0V, and the voltage of the second input terminal of the voltage comparator CMP5 is selected as 1.5V.
此外,步骤6中充电逻辑控制模块还可以控制NMOS管N1的栅极电压以使得NMOS管N1导通,开启DP电阻下拉,电阻R1一端接地。In addition, in step 6, the charging logic control module can also control the gate voltage of the NMOS transistor N1 so that the NMOS transistor N1 is turned on, the pull-down of the DP resistor is turned on, and one end of the resistor R1 is grounded.
其中,电压比较器CMP4和电压比较器CMP5第二输入端电压的选择,可用于后续检测DM接口上是否接收到FCP/SCP/AFC的数据包,这是由于采用上述FCP、SCP和AFC三种快充协议时,负载设备加在DM接口上的电压不同,因此可通过电压比较器CMP4和电压比较器CMP5识别不同的快充协议。Among them, the selection of the voltage of the second input terminal of the voltage comparator CMP4 and the voltage comparator CMP5 can be used to subsequently detect whether the FCP/SCP/AFC data packet is received on the DM interface. This is because the above three types of FCP, SCP and AFC are used. During the fast charging protocol, the voltage applied by the load device to the DM interface is different, so different fast charging protocols can be identified through the voltage comparator CMP4 and the voltage comparator CMP5.
步骤7、判断DP接口电压是否大于0.325V且小于2V,若是,则执行步骤8,否则返回执行步骤6。 Step 7. Determine whether the DP interface voltage is greater than 0.325V and less than 2V. If so, go to Step 8; otherwise, return to Step 6.
本示例中,步骤7是在检测到DP接口或DM接口电压有跳变时进行的。In this example, step 7 is performed when a voltage jump of the DP interface or the DM interface is detected.
步骤8、启动定时器模块开始计时1.25S,执行步骤9。 Step 8. Start the timer module to start timing for 1.25S, and go to Step 9.
步骤9、判断DP接口电压是否大于0.325V且小于2V,若是,则执行步骤10,否则返回执行步骤6。Step 9. Determine whether the voltage of the DP interface is greater than 0.325V and less than 2V. If so, go to Step 10, otherwise, return to Step 6.
步骤10、判断定时器模块是否达到定时时间1.25S,若是,执行步骤11,否则返回执行步骤9。Step 10: Determine whether the timer module reaches the timing time of 1.25S, if so, go to Step 11, otherwise, return to Step 9.
其中,上述步骤7至步骤10即确定DP接口的电压是否大于0.325V且小于2V维持了1.25S,若在定时器模块计时的1.25S内检测到的DP电压始终大于0.325V且小于2.0V,则在定时器模块达到定时时间1.25S后,执行后续的步骤11。Among them, the above steps 7 to 10 determine whether the voltage of the DP interface is greater than 0.325V and less than 2V for 1.25S. If the DP voltage detected within 1.25S of the timer module is always greater than 0.325V and less than 2.0V, Then, after the timer module reaches the timing time of 1.25S, the subsequent step 11 is performed.
具体实现中,充电适配器端将DP接口和DM接口短接,通知负载设备采用的DCP协议之后,负载设备也可通过在DP接口和DM接口上电压和充电适配器端进行协议通信,上述步骤7至步骤10中,即可确定出负载设备在DP接口上加载的电压大于0.325V且小于2.0V,其中,由于DP接口和DM接口短接,因此DP接口和DM接口的电压相同。In the specific implementation, the charging adapter terminal short-circuits the DP interface and the DM interface, and after notifying the load device of the DCP protocol adopted, the load device can also communicate with the charging adapter terminal through the voltage on the DP interface and the DM interface. In step 10, it can be determined that the voltage loaded by the load device on the DP interface is greater than 0.325V and less than 2.0V, wherein because the DP interface and the DM interface are short-circuited, the voltages of the DP interface and the DM interface are the same.
步骤11、断开DP接口和DM接口的短接,控制NMOS管N2导通,开启DM电阻下拉,执行步骤12。 Step 11 , disconnect the short-circuit of the DP interface and the DM interface, control the NMOS transistor N2 to be turned on, turn on the pull-down of the DM resistor, and perform step 12 .
具体实现中,步骤11中充电逻辑控制模块控制开关G2断开,即断开DP接口和DM接口的短接,则DM接口的电压不会再随着DM接口的电压变化,充电逻辑控制模块控制NMOS管N2的栅极电压使NMOS管N2导通,电阻R2接地,检测到的DM接口的电压值维持在低电平。In the specific implementation, in step 11, the charging logic control module controls the switch G2 to be turned off, that is, the short circuit between the DP interface and the DM interface is disconnected, then the voltage of the DM interface will no longer change with the voltage of the DM interface, and the charging logic control module controls The gate voltage of the NMOS transistor N2 turns on the NMOS transistor N2, the resistor R2 is grounded, and the detected voltage value of the DM interface is maintained at a low level.
步骤12、判断DM接口电压是否小于0.325V,若是,执行步骤13。 Step 12, determine whether the DM interface voltage is less than 0.325V, if yes, go to Step 13.
步骤13、判断QC协议握手是否成功,若是,执行步骤14,若否,执行步骤23。 Step 13, determine whether the QC protocol handshake is successful, if yes, go to step 14, if not, go to step 23.
其中,判断QC协议握手是否成功,具体可以包括:启动定时器模块开始计时10mS,计时10mS期间检测DM接口的电压是否小于0.325V,若是,则在定时器计时t3时间结束后,确定QC协议握手成功,否则,识别为QC协议握手失败。Among them, judging whether the handshake of the QC protocol is successful may specifically include: starting the timer module to start timing for 10mS, and detecting whether the voltage of the DM interface is less than 0.325V during the timing of 10mS, and if so, after the timer t3 time expires, determine the handshake of the QC protocol Success, otherwise, it is identified as QC protocol handshake failure.
步骤14、判断DM接口上是否收到AFC/SCP/FCP数据包,若是,执行步骤27;否则执行步骤15。Step 14: Determine whether AFC/SCP/FCP data packets are received on the DM interface, if yes, go to Step 27; otherwise, go to Step 15.
具体实现中,步骤15至步骤21即采用QC快充协议对负载设备进行快速充电时,与负载设备通信确定VBUS输出电压的过程。In the specific implementation, steps 15 to 21 are the process of communicating with the load device to determine the VBUS output voltage when the QC fast charging protocol is used to fast charge the load device.
步骤15、判断DM接口电压是否大于0.325V,若是,执行步骤17,否则执行步骤16。 Step 15, determine whether the DM interface voltage is greater than 0.325V, if yes, go to Step 17, otherwise go to Step 16.
步骤16、确定收到负载设备的QC快充请求,请求5V充电电压,执行步骤22。 Step 16 , determine that the QC fast charging request from the load device is received, request a 5V charging voltage, and perform step 22 .
具体实现中,充电逻辑控制模块根据检测到的DP接口和DM接口上的电压值,可确定负载设备请求的充电电压,进一步的,可控制VBUS输出该请求的充电电压对负载设备进行快速充电。In the specific implementation, the charging logic control module can determine the charging voltage requested by the load device according to the detected voltage values on the DP interface and the DM interface, and further, can control the VBUS to output the requested charging voltage to quickly charge the load device.
步骤17、判断DP接口电压是否大于2V,若是,执行步骤19,否则执行步骤18。Step 17: Determine whether the DP interface voltage is greater than 2V, if yes, go to Step 19, otherwise go to Step 18.
步骤18、确定收到负载设备的QC快充请求,请求12V充电电压,执行步骤22。Step 18: Determine that the QC fast charging request from the load device is received, request a 12V charging voltage, and perform step 22.
步骤19、判断DM接口电压是否大于2V,若是,执行步骤20,否则执行步骤21。 Step 19, determine whether the DM interface voltage is greater than 2V, if yes, go to Step 20, otherwise go to Step 21.
步骤20、确定收到负载设备的QC快充请求,请求20V充电电压,执行步骤22。Step 20 , determine that a QC fast charging request from the load device is received, request a 20V charging voltage, and perform step 22 .
步骤21、确定收到负载设备的QC快充请求,请求9V充电电压,执行步骤22。Step 21 , determine that the QC fast charging request from the load device is received, request a 9V charging voltage, and perform step 22 .
步骤22、判断DP接口电压是否大于0.325V,若是,执行步骤15,否则返回执行步骤1。Step 22: Determine whether the voltage of the DP interface is greater than 0.325V, if so, go to Step 15; otherwise, return to Step 1.
具体实现中,若充电逻辑控制模块根据电压检测结果确定DP接口的电压不大于0.325V,则会退出QC快充模式,控制多快充协议控制电路的通路状态回到最开始的APPLE 2.4A模式。In the specific implementation, if the charging logic control module determines that the voltage of the DP interface is not greater than 0.325V according to the voltage detection result, it will exit the QC fast charging mode, and control the channel state of the multi-fast charging protocol control circuit to return to the original APPLE 2.4A mode .
步骤23、判断VBUS接口电流是否大于1A,若是,执行步骤24,否则继续执行步骤23。 Step 23 , determine whether the VBUS interface current is greater than 1A, if yes, go to Step 24 , otherwise continue to go to Step 23 .
步骤24、启动定时器模块开始计时2S,执行步骤25。 Step 24 , start the timer module to start timing for 2S, and execute step 25 .
步骤25、判断定时器模块是否达到计时时间2S,若是,执行步骤26,否则继续执行步骤25。Step 25: Determine whether the timer module has reached the timing time of 2S, if yes, go to Step 26, otherwise continue to go to Step 25.
步骤26、通过VOOC发送模块与负载设备进行VOOC协议通信。 Step 26 , perform VOOC protocol communication with the load device through the VOOC sending module.
步骤27、通过AFSCP发送模块与负载设备进行AFC/SCP/FCP协议通信。Step 27: Perform AFC/SCP/FCP protocol communication with the load device through the AFSCP sending module.
由此可见,本申请提供的多快充协议控制电路的控制方法应用于充电芯片的设计上,可以实现通过单颗协议芯片兼容多种快充协议,从而节省芯片设计成本和芯片应用成本。It can be seen that the control method of the multi-fast charging protocol control circuit provided in this application is applied to the design of charging chips, and a single protocol chip can be compatible with multiple fast charging protocols, thereby saving chip design costs and chip application costs.
以上所述仅是本申请的部分实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本申请的保护范围。The above are only part of the embodiments of the present application. It should be pointed out that for those skilled in the art, without departing from the principles of the present application, several improvements and modifications can also be made. It should be regarded as the protection scope of this application.

Claims (16)

  1. 一种多快充协议控制电路,其特征在于,包括:充电逻辑控制模块、第一电压检测模块、第二电压检测模块、AFSCP协议模块、VOOC协议模块、DP接口、DM接口、VBUS接口、GND接口、定时器模块、开关G1、开关G2、开关G3;A multi-fast charging protocol control circuit, characterized in that it includes: a charging logic control module, a first voltage detection module, a second voltage detection module, an AFSCP protocol module, a VOOC protocol module, a DP interface, a DM interface, a VBUS interface, a GND Interface, timer module, switch G1, switch G2, switch G3;
    所述充电逻辑控制模块连接所述第一电压检测模块的第一端口、所述第二电压检测模块的第一端口、所述VBUS接口、所述GND接口、所述定时器模块、所述AFSCP发送模块的第一端口、所述VOOC发送模块的第一端口、所述开关G1的控制端口、所述开关G2的控制端口以及所述开关G3的控制端口,所述第一电压检测模块的第二端口与所述开关G1的第一端口合路后连接所述DP接口和所述开关G2的第一端口,所述开关G1的第二端口连接所述VOOC发送模块的第二端口,所述第二电压检测模块的第二端口和所述开关G3的第一端口合路后连接所述DM接口和所述开关G2的第二端口,所述开关G3的第二端口连接所述AFSCP发送模块的第二端口;The charging logic control module is connected to the first port of the first voltage detection module, the first port of the second voltage detection module, the VBUS interface, the GND interface, the timer module, and the AFSCP The first port of the sending module, the first port of the VOOC sending module, the control port of the switch G1, the control port of the switch G2 and the control port of the switch G3, the first port of the first voltage detection module. After the second port is combined with the first port of the switch G1, the DP interface is connected to the first port of the switch G2. The second port of the switch G1 is connected to the second port of the VOOC sending module. The second port of the second voltage detection module and the first port of the switch G3 are combined and connected to the DM interface and the second port of the switch G2, and the second port of the switch G3 is connected to the AFSCP sending module the second port;
    所述DP接口、所述DM接口、所述VBUS接口、所述GND接口用于连接负载设备,所述VOOC发送模块用于在所述充电逻辑控制模块的控制下与所述负载设备进行VOOC协议通信,所述AFSCP发送模块用于在所述充电逻辑控制模块的控制下与所述负载设备进行AFC/SCP/FCP协议通信,所述充电逻辑控制模块用于控制所述第一电压检测模块检测所述DP接口的电压、控制所述第二电压检测模块检测所述DM接口的电压,通过所述定时器模块进行计时,根据电压检测结果、计时结果和所述VBUS接口的电流控制所述开关G1、所述开关G2、所述开关G3的通断以调整所述多快充协议控制电路的通路状态,并采用相应的通信协议与所述负载设备进行通信,以及通过所述VBUS接口对所述负载设备进行充电。The DP interface, the DM interface, the VBUS interface, and the GND interface are used to connect a load device, and the VOOC sending module is used to perform a VOOC protocol with the load device under the control of the charging logic control module communication, the AFSCP sending module is used for AFC/SCP/FCP protocol communication with the load device under the control of the charging logic control module, and the charging logic control module is used to control the first voltage detection module to detect The voltage of the DP interface, the second voltage detection module is controlled to detect the voltage of the DM interface, the timer module is used for timing, and the switch is controlled according to the voltage detection result, the timing result and the current of the VBUS interface G1, the switch G2 and the switch G3 are turned on and off to adjust the channel state of the multi-fast charging protocol control circuit, and use the corresponding communication protocol to communicate with the load device, and communicate with the load device through the VBUS interface. The load device is charged.
  2. 根据权利要求1所述的多快充协议控制电路,其特征在于,所述第一电压检测模块包括电压比较器CMP1、电压比较器CMP2、电压比较器CMP3,所述第二电压检测模块包括电压比较器CMP4、电压比较器CMP5、电压比较器CMP6;The multi-fast charging protocol control circuit according to claim 1, wherein the first voltage detection module comprises a voltage comparator CMP1, a voltage comparator CMP2, and a voltage comparator CMP3, and the second voltage detection module comprises a voltage comparator CMP1, a voltage comparator CMP2, and a voltage comparator CMP3 Comparator CMP4, voltage comparator CMP5, voltage comparator CMP6;
    所述电压比较器CMP1的第一输入端、所述电压比较器CMP2的第一输入端、所述电压比较器CMP3的第一输入端、所述开关G1的第一端口合路后连接所述DP接口和所述开关G2的第一端口;The first input terminal of the voltage comparator CMP1, the first input terminal of the voltage comparator CMP2, the first input terminal of the voltage comparator CMP3, and the first port of the switch G1 are combined and connected to the DP interface and the first port of the switch G2;
    所述电压比较器CMP4的第一输入端、所述电压比较器CMP5的第一输入端、所述电压比较器CMP6的第一输入端、所述开关G3的第一端口合路后连接所述DM接口和所述开关G2的第二端口;The first input terminal of the voltage comparator CMP4, the first input terminal of the voltage comparator CMP5, the first input terminal of the voltage comparator CMP6, and the first port of the switch G3 are combined and connected to the a DM interface and the second port of the switch G2;
    所述电压比较器CMP1的输出端、所述电压比较器CMP2的输出端、所述电压比较器CMP3的输出端、所述电压比较器CMP4的输出端、所述电压比较器CMP5的输出端、所述电压比较器CMP6的输出端连接所述充电逻辑控制模块。the output terminal of the voltage comparator CMP1, the output terminal of the voltage comparator CMP2, the output terminal of the voltage comparator CMP3, the output terminal of the voltage comparator CMP4, the output terminal of the voltage comparator CMP5, The output end of the voltage comparator CMP6 is connected to the charging logic control module.
  3. 根据权利要求2所述的多快充协议控制电路,其特征在于,所述第一电压检测模块还包括:数据选择器D1、数据选择器D2,所述第二电压检测模块还包括:数据选择器D3、数据选择器D4;The multi-fast charging protocol control circuit according to claim 2, wherein the first voltage detection module further comprises: a data selector D1 and a data selector D2, and the second voltage detection module further comprises: a data selector D3, data selector D4;
    所述电压比较器CMP1的第二输入端连接所述数据选择器D1的输出端、所述电压比较器CMP2的第二输入端连接所述数据选择器D2的输出端、所述电压比较器CMP3的第二输入端的输入电压为第一输入电压,所述数据选择器D1的第一输入端的输入电压为第二输入电压,所述数据选择器D1的第二输入端的输入电压为第三输入电压,所述数据选择器D2的 第一输入端的输入电压为第四输入电压,所述数据选择器D2的第二输入端的输入电压为第五输入电压;The second input terminal of the voltage comparator CMP1 is connected to the output terminal of the data selector D1, the second input terminal of the voltage comparator CMP2 is connected to the output terminal of the data selector D2, and the voltage comparator CMP3 The input voltage of the second input terminal of the data selector D1 is the first input voltage, the input voltage of the first input terminal of the data selector D1 is the second input voltage, and the input voltage of the second input terminal of the data selector D1 is the third input voltage , the input voltage of the first input terminal of the data selector D2 is the fourth input voltage, and the input voltage of the second input terminal of the data selector D2 is the fifth input voltage;
    所述电压比较器CMP4的第二输入端连接所述数据选择器D3的输出端、所述电压比较器CMP5的第二输入端连接所述数据选择器D4的输出端、所述电压比较器CMP6的第二输入端的输入电压为第六输入电压,所述数据选择器D3的第一输入端的输入电压为第七输入电压,所述数据选择器D3的第二输入端的输入电压第八输入电压,所述数据选择器D4的第一输入端的输入电压为第九输入电压,所述数据选择器D4的第二输入端的输入电压为第十输入电压。The second input terminal of the voltage comparator CMP4 is connected to the output terminal of the data selector D3, the second input terminal of the voltage comparator CMP5 is connected to the output terminal of the data selector D4, and the voltage comparator CMP6 The input voltage of the second input terminal of the data selector D3 is the sixth input voltage, the input voltage of the first input terminal of the data selector D3 is the seventh input voltage, the input voltage of the second input terminal of the data selector D3 is the eighth input voltage, The input voltage of the first input terminal of the data selector D4 is the ninth input voltage, and the input voltage of the second input terminal of the data selector D4 is the tenth input voltage.
  4. 根据权利要求1所述的多快充协议控制电路,其特征在于,所述多快充协议控制电路还包括:第一数据电压输出模块、第二数据电压输出模块;The multi-fast charging protocol control circuit according to claim 1, wherein the multi-fast charging protocol control circuit further comprises: a first data voltage output module and a second data voltage output module;
    所述充电逻辑控制模块连接所述第一数据电压输出模块的控制端口、所述第二数据电压输出模块的控制端口,所述第一数据电压输出模块的第一端口、所述第一电压检测模块的第二端口、所述开关G1的第一端口合路后连接所述DP接口和所述开关G2的第一端口,所述第二数据电压输出模块的第一端口、所述第二电压检测模块的第二端口、所述开关G3的第一端口合路后连接所述DM接口和所述开关G2的第二端口;The charging logic control module is connected to the control port of the first data voltage output module, the control port of the second data voltage output module, the first port of the first data voltage output module, the first voltage detection module The second port of the module and the first port of the switch G1 are combined and connected to the DP interface and the first port of the switch G2, and the second data voltage outputs the first port of the module, the second voltage The second port of the detection module and the first port of the switch G3 are combined and connected to the DM interface and the second port of the switch G2;
    所述第一数据电压输出模块用于提供所述DP接口的输出电压,所述第二数据电压输出模块用于提供所述DM接口的输出电压,所述充电逻辑控制模块还用于控制所述第一数据电压输出模块、所述第二数据电压输出模块的输出电压。The first data voltage output module is used to provide the output voltage of the DP interface, the second data voltage output module is used to provide the output voltage of the DM interface, and the charging logic control module is further used to control the The output voltage of the first data voltage output module and the second data voltage output module.
  5. 根据权利要求4所述的多快充协议控制电路,其特征在于,所述第一数据电压输出模块包括数据选择器D5、模拟开关OP1,所述第二数据电压输出模块包括数据选择器D6和模拟开关OP2;The multi-fast charge protocol control circuit according to claim 4, wherein the first data voltage output module includes a data selector D5 and an analog switch OP1, and the second data voltage output module includes a data selector D6 and analog switch OP2;
    所述数据选择器D5的第一输入端的输入电压为第十一输入电压,所述数据选择器D5的第二输入端的输入电压为第十二输入电压,所述数据选择器D5的输出端连接所述模拟开关OP1的第一端口,所述模拟开关OP1的第二端口、所述第一电压检测模块的第二端口、所述开关G1的第一端口合路后连接所述DP接口和所述开关G2的第一端口,所述充电逻辑控制模块连接所述数据选择器D5的控制端口、所述模拟开关OP1的控制端口;The input voltage of the first input terminal of the data selector D5 is the eleventh input voltage, the input voltage of the second input terminal of the data selector D5 is the twelfth input voltage, and the output terminal of the data selector D5 is connected to The first port of the analog switch OP1, the second port of the analog switch OP1, the second port of the first voltage detection module, and the first port of the switch G1 are combined and connected to the DP interface and all the first port of the switch G2, the charging logic control module is connected to the control port of the data selector D5 and the control port of the analog switch OP1;
    所述数据选择器D6的第一输入端的输入电压为第十三输入电压,所述数据选择器D6的第二输入端的输入电压为第十四输入电压,所述数据选择器D6的输出端连接所述模拟开关OP2的第一端口,所述模拟开关OP2的第二端口、所述第二电压检测模块的第二端口、所述开关G3的第一端口合路后连接所述DM接口和所述开关G2的第二端口,所述充电逻辑控制模块连接所述数据选择器D6的控制端口、所述模拟开关OP2的控制端口。The input voltage of the first input terminal of the data selector D6 is the thirteenth input voltage, the input voltage of the second input terminal of the data selector D6 is the fourteenth input voltage, and the output terminal of the data selector D6 is connected to The first port of the analog switch OP2, the second port of the analog switch OP2, the second port of the second voltage detection module, and the first port of the switch G3 are combined and connected to the DM interface and all The second port of the switch G2, the charging logic control module is connected to the control port of the data selector D6 and the control port of the analog switch OP2.
  6. 根据权利要求1所述的多快充协议控制电路,其特征在于,所述多快充协议控制电路还包括:电阻R1、电阻R2、NMOS管N1、NMOS管N2;The multi-fast charging protocol control circuit according to claim 1, wherein the multi-fast charging protocol control circuit further comprises: a resistor R1, a resistor R2, an NMOS transistor N1, and an NMOS transistor N2;
    所述电阻R1的第一端口、所述第一电压检测模块的第二端口、所述开关G1的第一端口合路后连接所述DP接口和所述开关G2的第一端口,所述电阻R1的第二端口连接所述NMOS管N1的漏极,所述NMOS管N1的源极接地;The first port of the resistor R1, the second port of the first voltage detection module, and the first port of the switch G1 are combined to connect to the DP interface and the first port of the switch G2, and the resistor The second port of R1 is connected to the drain of the NMOS transistor N1, and the source of the NMOS transistor N1 is grounded;
    所述电阻R2的第一端口、所述第二电压检测模块的第二端口、所述开关G3的第一端口合路后连接所述DM接口和所述开关G2的第二端口,所述电阻R2的第二端口连接所述NMOS管N2的漏极,所述NMOS管N2的源极接地;The first port of the resistor R2, the second port of the second voltage detection module, and the first port of the switch G3 are combined to connect to the DM interface and the second port of the switch G2, and the resistor The second port of R2 is connected to the drain of the NMOS transistor N2, and the source of the NMOS transistor N2 is grounded;
    所述充电逻辑控制模块连接所述NMOS管N1的栅极、所述NMOS管N2的栅极;The charging logic control module is connected to the gate of the NMOS transistor N1 and the gate of the NMOS transistor N2;
    所述充电逻辑控制模块还用于控制所述NMOS管N1的栅极电压、所述NMOS管N2的 栅极电压。The charging logic control module is also used to control the gate voltage of the NMOS transistor N1 and the gate voltage of the NMOS transistor N2.
  7. 根据权利要求1所述的多快充协议控制电路,其特征在于,所述充电逻辑控制模块包括S0端口、S1端口、S2端口;The multi-fast charging protocol control circuit according to claim 1, wherein the charging logic control module comprises an S0 port, an S1 port, and an S2 port;
    所述S0端口连接所述开关G1的控制端口,所述S1端口连接所述开关G2的控制端口,所述S2端口连接所述开关G3的控制端口;The S0 port is connected to the control port of the switch G1, the S1 port is connected to the control port of the switch G2, and the S2 port is connected to the control port of the switch G3;
    所述充电逻辑控制模块用于通过所述S0端口控制所述开关G1的通断、通过所述S1端口控制所述开关G2的通断、通过所述S2端口控制所述开关G3的通断。The charging logic control module is configured to control the on-off of the switch G1 through the S0 port, control the on-off of the switch G2 through the S1 port, and control the on-off of the switch G3 through the S2 port.
  8. 根据权利要求3所述的多快充协议控制电路,其特征在于,所述充电逻辑控制模块包括S3端口、S4端口、S5端口、S6端口;The multi-fast charging protocol control circuit according to claim 3, wherein the charging logic control module comprises an S3 port, an S4 port, an S5 port, and an S6 port;
    所述S3端口连接所述数据选择器D1的控制端口,所述S4端口连接所述数据选择器D2的控制端口,所述S5端口连接所述数据选择器D3的控制端口,所述S6端口连接所述数据选择器D4的控制端口;The S3 port is connected to the control port of the data selector D1, the S4 port is connected to the control port of the data selector D2, the S5 port is connected to the control port of the data selector D3, and the S6 port is connected the control port of the data selector D4;
    所述充电逻辑控制模块用于通过所述S3端口控制所述数据选择器D1选择输入的电压,通过所述S4端口控制所述数据选择器D2选择输入的电压,通过所述S5端口控制所述数据选择器D3选择输入的电压,通过所述S6端口控制所述数据选择器D4选择输入的电压。The charging logic control module is used to control the voltage selected by the data selector D1 through the S3 port, control the voltage selected by the data selector D2 through the S4 port, and control the input voltage through the S5 port. The data selector D3 selects the input voltage, and controls the data selector D4 to select the input voltage through the S6 port.
  9. 根据权利要求5所述的多快充协议控制电路,其特征在于,所述充电逻辑控制模块包括S7端口、S8端口、S9端口、S10端口;The multi-fast charging protocol control circuit according to claim 5, wherein the charging logic control module comprises an S7 port, an S8 port, an S9 port, and an S10 port;
    所述S7端口连接所述数据选择器D5的控制端口,所述S8端口连接所述模拟开关OP1的控制端口,所述S9端口连接所述数据选择器D6的控制端口,所述S10端口连接所述模拟开关OP2的控制端口;The S7 port is connected to the control port of the data selector D5, the S8 port is connected to the control port of the analog switch OP1, the S9 port is connected to the control port of the data selector D6, and the S10 port is connected to all The control port of the analog switch OP2;
    所述充电逻辑控制模块用于通过所述S7端口控制所述数据选择器D5选择输入的电压,通过所述S9端口控制所述数据选择器D6选择输入的电压,以及用于通过所述S8端口控制所述模拟开关OP1的通断,通过所述S10端口控制所述模拟开关OP2的通断。The charging logic control module is used to control the voltage of the data selector D5 to select the input through the S7 port, to control the voltage of the data selector D6 to select the input through the S9 port, and to control the voltage of the data selector D6 to select the input through the S8 port. The on-off of the analog switch OP1 is controlled, and the on-off of the analog switch OP2 is controlled through the S10 port.
  10. 根据权利要求6所述的多快充协议控制电路,其特征在于,所述充电逻辑控制模块包括S11端口、S12端口;The multi-fast charging protocol control circuit according to claim 6, wherein the charging logic control module comprises an S11 port and an S12 port;
    所述S11端口连接所述NMOS管N1的栅极,所述S12端口连接所述NMOS管N2的栅极;The S11 port is connected to the gate of the NMOS transistor N1, and the S12 port is connected to the gate of the NMOS transistor N2;
    所述充电逻辑控制模块用于通过所述S11端口控制所述NMOS管N1的栅极电压,通过所述S12端口控制所述NMOS管N2的栅极电压。The charging logic control module is configured to control the gate voltage of the NMOS transistor N1 through the S11 port, and control the gate voltage of the NMOS transistor N2 through the S12 port.
  11. 一种多快充协议控制电路的控制方法,其特征在于,所述多快充协议控制电路包括如权利要求1-10任一项所述的多快充协议控制电路,所述方法包括以下步骤:A method for controlling a multi-quick charging protocol control circuit, wherein the multi-quick charging protocol control circuit comprises the multi-quick charging protocol control circuit according to any one of claims 1-10, and the method comprises the following steps :
    通过所述多快充协议控制电路与负载设备进行快充协议通信时,充电逻辑控制模块默认采用DCP快充协议,控制所述多快充协议控制电路的通路状态为第一状态;When performing fast charging protocol communication with the load device through the multi-fast charging protocol control circuit, the charging logic control module adopts the DCP fast charging protocol by default, and controls the channel state of the multi-fast charging protocol control circuit to be the first state;
    当所述充电逻辑控制模块根据第一电压检测模块或第二电压检测模块的电压检测结果,确定DP接口或DM接口的电压变化时,定时器模块开始计时t1时间;When the charging logic control module determines the voltage change of the DP interface or the DM interface according to the voltage detection result of the first voltage detection module or the second voltage detection module, the timer module starts to count the time t1;
    若所述t1时间内所述第一电压检测模块和所述第二电压检测模块的电压检测结果无变化,则所述t1时间后,所述充电逻辑控制模块控制所述多快充协议控制电路的通路状态为第二状态,开关G2闭合,所述DP接口和所述DM接口短接;If the voltage detection results of the first voltage detection module and the second voltage detection module do not change within the t1 time period, the charging logic control module controls the multi-fast charging protocol control circuit after the t1 time period The channel state of , is the second state, the switch G2 is closed, and the DP interface and the DM interface are short-circuited;
    当所述第一电压检测模块或所述第二电压检测模块的电压检测结果变化时,若所述充电逻辑控制模块根据所述第一电压检测模块的电压检测结果确定所述DP接口电压在预设电压范围内,则所述定时器模块开始计时t2时间;When the voltage detection result of the first voltage detection module or the second voltage detection module changes, if the charging logic control module determines, according to the voltage detection result of the first voltage detection module, that the DP interface voltage is Within the set voltage range, the timer module starts to count the time t2;
    若在所述t2时间内,所述充电逻辑控制模块根据所述第一电压检测模块的电压检测结果,确定所述DP接口的电压始终在所述预设电压范围内;If within the time t2, the charging logic control module determines that the voltage of the DP interface is always within the preset voltage range according to the voltage detection result of the first voltage detection module;
    则在所述t2时间后,所述充电逻辑控制模块控制所述多快充协议控制电路的通路状态为第三状态,所述开关G2断开,断开DP接口和所述DM接口的短接;Then after the time t2, the charging logic control module controls the channel state of the multi-fast charging protocol control circuit to be the third state, the switch G2 is turned off, and the short circuit between the DP interface and the DM interface is disconnected. ;
    所述充电逻辑控制模块控制所述开关G1和所述开关G3闭合,根据所述第二电压检测模块的电压检测结果判断所述DM接口是否小于第一预设电压值;The charging logic control module controls the switch G1 and the switch G3 to close, and judges whether the DM interface is less than a first preset voltage value according to the voltage detection result of the second voltage detection module;
    若是,则所述定时器模块开始计时t3时间;If so, the timer module starts timing t3 time;
    若在所述t3时间内,所述充电逻辑控制模块根据所述第二电压检测模块的电压检测结果确定所述DM接口的电压始终小于所述第一预设电压值,则QC握手成功,否则,QC握手失败;If within the time t3, the charging logic control module determines that the voltage of the DM interface is always less than the first preset voltage value according to the voltage detection result of the second voltage detection module, then the QC handshake is successful; otherwise, the QC handshake is successful. , QC handshake failed;
    若QC握手成功,则在所述t3时间后,检测所述DM接口上是否收到AFC/SCP/FCP数据包;If the QC handshake is successful, then after the time t3, detect whether the AFC/SCP/FCP data packet is received on the DM interface;
    若接收到,则通过AFSCP发送模块与负载设备进行AFC/SCP/FCP协议通信;If received, communicate with the load device through AFC/SCP/FCP protocol through the AFSCP sending module;
    若未接收到,则所述充电逻辑控制模块采用QC快充协议,根据所述第一电压检测模块和所述第二电压检测模块的电压检测结果调整所述VBUS接口的输出电压;If not received, the charging logic control module adopts the QC fast charging protocol, and adjusts the output voltage of the VBUS interface according to the voltage detection results of the first voltage detection module and the second voltage detection module;
    若QC握手失败,则在所述t3时间后,所述充电逻辑控制模块检测所述VBUS接口的电流是否大于预设电流值;If the QC handshake fails, after the time t3, the charging logic control module detects whether the current of the VBUS interface is greater than the preset current value;
    若是,则定时器模块开始计时t4时间;If so, the timer module starts timing t4 time;
    若在所述t4时间内,所述充电逻辑控制模块检测到所述VBUS接口的电流始终大于所述预设电流值,则通过VOOC发送模块与所述负载设备进行VOOC协议通信。If within the time t4, the charging logic control module detects that the current of the VBUS interface is always greater than the preset current value, the VOOC sending module communicates with the load device through the VOOC protocol.
  12. 根据权利要求11所述的方法,其特征在于,所述方法还包括:The method according to claim 11, wherein the method further comprises:
    所述当所述第一电压检测模块或所述第二电压检测模块的电压检测结果变化时,若所述充电逻辑控制模块根据所述第一电压检测模块的电压检测结果,确定所述DP接口电压不在所述预设电压范围内;或者,When the voltage detection result of the first voltage detection module or the second voltage detection module changes, if the charging logic control module determines the DP interface according to the voltage detection result of the first voltage detection module The voltage is not within the preset voltage range; or,
    若在所述t2时间内,所述充电逻辑控制模块根据所述第一电压检测模块的电压检测结果,确定所述DP接口的电压不在所述预设电压范围内;If within the time t2, the charging logic control module determines that the voltage of the DP interface is not within the preset voltage range according to the voltage detection result of the first voltage detection module;
    则所述充电逻辑控制模块控制所述多快充协议控制电路的通路状态为所述第二状态。Then, the charging logic control module controls the channel state of the multi-fast charging protocol control circuit to be the second state.
  13. 根据权利要求11或12所述的方法,其特征在于,所述确定所述DP接口或所述DM接口的电压变化时,定时器模块开始计时t1时间之后,所述方法还包括:The method according to claim 11 or 12, wherein when the voltage change of the DP interface or the DM interface is determined, after the timer module starts to count time t1, the method further comprises:
    若所述t1时间内所述第一电压检测模块和所述第二电压检测模块的电压检测结果变化,则所述定时器模块置零,重新开始计时t1时间。If the voltage detection results of the first voltage detection module and the second voltage detection module change within the time t1, the timer module is set to zero, and the time t1 is restarted.
  14. 根据权利要求11所述的方法,其特征在于,所述充电逻辑控制模块采用QC快充协议,根据所述电压检测模块的电压检测结果调整所述VBUS接口的输出电压,包括:The method according to claim 11, wherein the charging logic control module adopts a QC fast charging protocol, and adjusts the output voltage of the VBUS interface according to the voltage detection result of the voltage detection module, comprising:
    所述充电逻辑控制模块根据所述第二电压检测模块的电压检测结果判断所述DM接口的电压是否大于第二预设电压值;The charging logic control module determines whether the voltage of the DM interface is greater than a second preset voltage value according to the voltage detection result of the second voltage detection module;
    若否,则调整所述VBUS接口的输出电压为第一输出电压值;If not, adjusting the output voltage of the VBUS interface to the first output voltage value;
    若是,则根据所述第一电压检测模块的电压检测结果判断所述DP接口的电压是否大于第三预设电压值;If so, determine whether the voltage of the DP interface is greater than a third preset voltage value according to the voltage detection result of the first voltage detection module;
    若否,则调整所述VBUS接口的输出电压为第二输出电压值;If not, adjusting the output voltage of the VBUS interface to the second output voltage value;
    若是,则根据所述第二电压检测模块的电压检测结果判断所述DM接口的电压是否大于第四预设电压值;If so, determine whether the voltage of the DM interface is greater than a fourth preset voltage value according to the voltage detection result of the second voltage detection module;
    若是,则调整所述VBUS接口的输出电压为第三输出电压值;If so, adjust the output voltage of the VBUS interface to a third output voltage value;
    若否,则调整所述VBUS接口的输出电压为第四输出电压值;If not, adjusting the output voltage of the VBUS interface to be the fourth output voltage value;
    每次调整所述VBUS接口的输出电压后,根据所述第一电压检测模块的电压检测结果确定所述DP接口的电压是否大于第五预设电压值;After each adjustment of the output voltage of the VBUS interface, determine whether the voltage of the DP interface is greater than a fifth preset voltage value according to the voltage detection result of the first voltage detection module;
    若是,则执行所述根据第一电压比较器输出信号判断所述DM接口的电压是否大于第二预设电压值的步骤;If so, execute the step of judging whether the voltage of the DM interface is greater than the second preset voltage value according to the output signal of the first voltage comparator;
    若否,则所述充电逻辑控制模块采用DCP快充协议,控制所述多快充协议电路的通路状态为所述第一状态。If not, the charging logic control module adopts the DCP fast charging protocol, and controls the channel state of the multi-fast charging protocol circuit to be the first state.
  15. 一种多快充协议控制芯片,其特征在于,包括如权利要求1-10任一项所述多快充协议控制电路。A multi-quick charging protocol control chip, characterized in that it includes the multi-quick charging protocol control circuit according to any one of claims 1-10.
  16. 一种电子设备,其特征在于,所述电子设备包括如权利要求15所述的多快充协议控制芯片。An electronic device, characterized in that, the electronic device comprises the multi-fast charge protocol control chip as claimed in claim 15 .
PCT/CN2022/085879 2021-04-09 2022-04-08 Multi-fast charging protocol control circuit, control method, chip, and electronic device WO2022214083A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110385000.8A CN112803558B (en) 2021-04-09 2021-04-09 Multi-quick-charging-protocol control circuit, control method, chip and electronic equipment
CN202110385000.8 2021-04-09

Publications (1)

Publication Number Publication Date
WO2022214083A1 true WO2022214083A1 (en) 2022-10-13

Family

ID=75816712

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/085879 WO2022214083A1 (en) 2021-04-09 2022-04-08 Multi-fast charging protocol control circuit, control method, chip, and electronic device

Country Status (2)

Country Link
CN (2) CN115207999A (en)
WO (1) WO2022214083A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115207999A (en) * 2021-04-09 2022-10-18 深圳英集芯科技股份有限公司 Multi-quick-charging-protocol control circuit, control method, related chip and electronic equipment
CN114156991A (en) * 2021-12-10 2022-03-08 苏州博创集成电路设计有限公司 Method and device for scheduling timer, charging circuit, charging equipment and chip
CN114498865B (en) * 2022-04-14 2022-09-20 荣耀终端有限公司 Charging circuit, charging control method and electronic device
CN117330999A (en) * 2022-06-30 2024-01-02 深圳英集芯科技股份有限公司 Circuit for detecting equipment plug and related electronic equipment
CN114844180B (en) * 2022-07-01 2022-09-27 龙旗电子(惠州)有限公司 Charging method, device and equipment applied to electronic equipment and storage medium
CN115635851A (en) * 2022-10-31 2023-01-24 重庆长安新能源汽车科技有限公司 Vehicle-mounted intelligent power distribution system, control method and storage medium
CN115589051B (en) * 2022-11-18 2023-04-18 荣耀终端有限公司 Charging method and terminal equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120166173A1 (en) * 2010-12-23 2012-06-28 Standard Microsystems Corporation Method and system for determining an arbitrary charging protocol in usb charging ports
CN204304549U (en) * 2014-12-26 2015-04-29 罗勇进 Charger and charge management circuit
CN106385074A (en) * 2016-10-12 2017-02-08 成都芯源系统有限公司 Charging mode automatic detection unit, charging circuit and related method
CN106786979A (en) * 2017-01-25 2017-05-31 北京鸿智电通科技有限公司 The fast fill device and protocol identification and charging/discharging thereof of compatible various discharge and recharge agreements
CN111245073A (en) * 2020-03-31 2020-06-05 广州昂宝电子有限公司 USB charging circuit and method, chip and charger
CN112803558A (en) * 2021-04-09 2021-05-14 深圳英集芯科技股份有限公司 Multi-quick-charging-protocol control circuit, control method, chip and electronic equipment

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI460594B (en) * 2011-02-11 2014-11-11 Via Tech Inc Adaptive usb charging method and system
US8862921B1 (en) * 2011-12-02 2014-10-14 Maxim Integrated Products, Inc. Apparatus for remote wake-up during dedicated charging mode
US8760123B2 (en) * 2012-10-29 2014-06-24 Qualcomm Incorporated High voltage dedicated charging port
CN103427460B (en) * 2013-07-31 2016-09-07 华为终端有限公司 A kind of power supply terminal, charge control method and device
US9448259B2 (en) * 2014-07-10 2016-09-20 Qualcomm Incorporated Apparatuses and methods to distinguish proprietary, non-floating and floating chargers for regulating charging currents
TWI616028B (en) * 2014-08-14 2018-02-21 新唐科技股份有限公司 Chip and transmittal device and control method thereof
CN105676029A (en) * 2016-01-26 2016-06-15 江苏才易电子科技有限公司 Intelligent detector compatible with rapid charger and test method of detector
KR102468187B1 (en) * 2016-03-04 2022-11-17 삼성전자주식회사 Eletronic device and external device charging method thereof
CN106329628B (en) * 2016-08-31 2019-06-11 宇龙计算机通信科技(深圳)有限公司 A kind of charging method and device
CN106684986A (en) * 2016-12-26 2017-05-17 建荣半导体(深圳)有限公司 Charging equipment and fast-charging protocol analytic method and system thereof
CN109462266A (en) * 2018-12-28 2019-03-12 合肥市芯海电子科技有限公司 A kind of circuit and method based on single channel fast charge protocol chip control multichannel USB port
CN211089181U (en) * 2019-12-18 2020-07-24 深圳市海伦海电子有限公司 Quick charging protocol chip capable of adjusting output voltage
CN111404232A (en) * 2020-04-20 2020-07-10 深圳英集芯科技有限公司 Fast charging switching circuit and method based on double-interface plug-in detection
CN111856256A (en) * 2020-09-24 2020-10-30 深圳英集芯科技有限公司 Quick charging equipment test system and test method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120166173A1 (en) * 2010-12-23 2012-06-28 Standard Microsystems Corporation Method and system for determining an arbitrary charging protocol in usb charging ports
CN204304549U (en) * 2014-12-26 2015-04-29 罗勇进 Charger and charge management circuit
CN106385074A (en) * 2016-10-12 2017-02-08 成都芯源系统有限公司 Charging mode automatic detection unit, charging circuit and related method
CN106786979A (en) * 2017-01-25 2017-05-31 北京鸿智电通科技有限公司 The fast fill device and protocol identification and charging/discharging thereof of compatible various discharge and recharge agreements
CN111245073A (en) * 2020-03-31 2020-06-05 广州昂宝电子有限公司 USB charging circuit and method, chip and charger
CN112803558A (en) * 2021-04-09 2021-05-14 深圳英集芯科技股份有限公司 Multi-quick-charging-protocol control circuit, control method, chip and electronic equipment

Also Published As

Publication number Publication date
CN112803558A (en) 2021-05-14
CN112803558B (en) 2021-07-02
CN115207999A (en) 2022-10-18

Similar Documents

Publication Publication Date Title
WO2022214083A1 (en) Multi-fast charging protocol control circuit, control method, chip, and electronic device
US9356460B2 (en) Method and apparatus of fast battery charging with universal high power input source
EP2930588A1 (en) Method and apparatus for determining direction of power delivery
EP1961261B1 (en) Control circuitry for providing an interface between connectable terminal and peripheral device circuitry
US20110037428A1 (en) Connection apparatus
US11860805B2 (en) Terminal device, adapter, and charging method
US10141760B2 (en) Power supply circuit, charge circuit, charging system, power supplying method, and charging method
TW201424192A (en) Adaptive input power charger and method for controlling input current of charger
TW201913268A (en) Charging system and its power adapter
JP2016521023A (en) High-definition multimedia interface HDMI unit and multimedia terminal
CN110690816B (en) Terminal resistor circuit of USB connection port and operation method thereof
US7676199B2 (en) Impedance control for signal interface of a network node
JP2016218972A (en) USB hub device
WO2022194106A1 (en) Dual-battery charging and discharging circuit and control method, and electronic device
CN106249830B (en) Electric energy transmission system and method
CN114498831A (en) Electronic device and charging control method
CN203014666U (en) Quick start gate driving device and control module thereof
US20230079553A1 (en) Usb port controller and electronic apparatus
KR20050114120A (en) Charging device and method of mobile phone battery
KR20040090577A (en) The Apparatus and Method to Sensing Strobo of Wireless Communication Terminal Automatically
KR101441126B1 (en) Apparatus and method for rapid charge of secondary battery
KR101638760B1 (en) Systems and methods for recovering higher speed communication between devices
TWI699070B (en) Power system for handheld device
CN113595193B (en) Communication protocol authentication device and connecting wire
CN211089469U (en) Modal recognition circuit and circuit system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22784149

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE