[go: up one dir, main page]

HK1246011B - Adaptor and charge control method - Google Patents

Adaptor and charge control method Download PDF

Info

Publication number
HK1246011B
HK1246011B HK18105031.0A HK18105031A HK1246011B HK 1246011 B HK1246011 B HK 1246011B HK 18105031 A HK18105031 A HK 18105031A HK 1246011 B HK1246011 B HK 1246011B
Authority
HK
Hong Kong
Prior art keywords
adapter
voltage
current
charging
output
Prior art date
Application number
HK18105031.0A
Other languages
Chinese (zh)
Other versions
HK1246011A1 (en
Inventor
田晨
张加亮
Original Assignee
Oppo 广东移动通信有限公司
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
Priority claimed from PCT/CN2016/073679 external-priority patent/WO2017133001A1/en
Application filed by Oppo 广东移动通信有限公司 filed Critical Oppo 广东移动通信有限公司
Priority claimed from PCT/CN2017/070528 external-priority patent/WO2017133388A1/en
Publication of HK1246011A1 publication Critical patent/HK1246011A1/en
Publication of HK1246011B publication Critical patent/HK1246011B/en

Links

Description

适配器和充电控制方法Adapter and charging control method

技术领域Technical Field

本发明实施例涉及充电技术领域,并且更具体地,涉及一种适配器和充电控制方法。Embodiments of the present invention relate to the field of charging technology, and more particularly, to an adapter and a charging control method.

背景技术Background Art

适配器又称为电源适配器,用于为待充电设备(如终端)进行充电。目前市面上的适配器通常采用恒压的方式为待充电设备(如终端)进行充电,当待充电设备(如终端)所吸取的电流超过适配器所能提供的最大电流输出阈值时,可能会引发适配器进入过载保护状态,无法继续对待充电设备(如终端)进行充电。An adapter, also known as a power adapter, is used to charge a device (such as a terminal). Currently, adapters on the market typically use a constant voltage method to charge the device (such as a terminal). When the current drawn by the device (such as a terminal) exceeds the maximum current output threshold of the adapter, the adapter may enter an overload protection state and be unable to continue charging the device (such as a terminal).

发明内容Summary of the Invention

本发明实施例提供一种适配器和充电控制方法,以提高充电过程的安全性。Embodiments of the present invention provide an adapter and a charging control method to improve the safety of a charging process.

第一方面,提供一种适配器,所述适配器包括:功率转换单元,用于对输入的交流电转进行转换,以得到所述适配器的输出电压和输出电流;电压反馈单元,所述电压反馈单元的输入端与所述功率转换单元相连,所述电压反馈单元用于对所述适配器的输出电压进行检测,以生成电压反馈信号,所述电压反馈信号用于指示所述适配器的输出电压是否达到设定的目标电压;电流反馈单元,所述电流反馈单元的输入端与所述功率转换单元相连,所述电流反馈单元用于对所述适配器的输出电流进行检测,以生成电流反馈信号,所述电流反馈信号用于指示所述适配器的输出电流是否达到设定的目标电流;功率调整单元,所述功率调整单元的输入端与所述电压反馈单元的输出端和所述电流反馈单元的输出端相连,所述功率调整单元的输出端与所述功率转换单元相连,所述功率调整单元用于接收所述电压反馈信号和所述电流反馈信号,并在所述电压反馈信号指示所述适配器的输出电压达到所述目标电压,或所述电流反馈信号指示所述适配器的输出电流达到所述目标电流的情况下,稳定所述适配器的输出电压和输出电流。In a first aspect, an adapter is provided, comprising: a power conversion unit for converting input alternating current (AC) power to obtain an output voltage and an output current of the adapter; a voltage feedback unit, an input end of the voltage feedback unit being connected to the power conversion unit, the voltage feedback unit being configured to detect the output voltage of the adapter to generate a voltage feedback signal, the voltage feedback signal being configured to indicate whether the output voltage of the adapter reaches a set target voltage; a current feedback unit, an input end of the current feedback unit being connected to the power conversion unit, the current feedback unit being configured to detect the output current of the adapter to generate a current feedback signal, the current feedback signal being configured to indicate whether the output current of the adapter reaches a set target current; and a power adjustment unit, an input end of the power adjustment unit being connected to an output end of the voltage feedback unit and an output end of the current feedback unit, an output end of the power adjustment unit being connected to the power conversion unit, the power adjustment unit being configured to receive the voltage feedback signal and the current feedback signal, and to stabilize the output voltage and output current of the adapter when the voltage feedback signal indicates that the output voltage of the adapter has reached the target voltage, or when the current feedback signal indicates that the output current of the adapter has reached the target current.

第二方面,提供一种充电控制方法,所述方法应用于适配器,所述方法包括:对输入的交流电转进行转换,以得到所述适配器的输出电压和输出电流;对所述适配器的输出电压进行检测,以生成电压反馈信号,所述电压反馈信号用于指示所述适配器的输出电压是否达到设定的目标电压;对所述适配器的输出电流进行检测,以生成电流反馈信号,所述电流反馈信号用于指示所述适配器的输出电流是否达到设定的目标电流;在所述电压反馈信号指示所述适配器的输出电压达到所述目标电压,或所述电流反馈信号指示所述适配器的输出电流达到所述目标电流的情况下,稳定所述适配器的输出电压和输出电流。In a second aspect, a charging control method is provided, which is applied to an adapter, and the method includes: converting the input alternating current to obtain the output voltage and output current of the adapter; detecting the output voltage of the adapter to generate a voltage feedback signal, wherein the voltage feedback signal is used to indicate whether the output voltage of the adapter reaches a set target voltage; detecting the output current of the adapter to generate a current feedback signal, wherein the current feedback signal is used to indicate whether the output current of the adapter reaches a set target current; and stabilizing the output voltage and output current of the adapter when the voltage feedback signal indicates that the output voltage of the adapter has reached the target voltage, or when the current feedback signal indicates that the output current of the adapter has reached the target current.

本发明实施例的适配器既包括电压反馈单元,也包括电流反馈单元,其中电压反馈单元、功率调整单元和功率转换单元形成用于对适配器的输出电压进行闭环控制的硬件电路,即硬件形式的电压反馈环;电流反馈单元、功率调整单元和功率转换单元形成用于对适配器的输出电流进行闭环控制的硬件电路,即硬件形式的电流反馈环。在双环反馈控制的基础上,本发明实施例的功率调整单元会综合考虑电压反馈信号和电流反馈信号提供的反馈信息,并在适配器的输出电压和适配器的输出电流中的任意一个达到目标值的情况下,稳定适配器的输出电压和输出电流。换句话说,本发明实施例中,适配器的输出电压和输出电流中的任意一个达到目标值时,功率调整单元均能立刻感知这一事件的发生,并立刻对这一事件进行响应,以稳定适配器的输出电压和输出电流,提高了充电过程的安全性。The adapter of the embodiment of the present invention includes both a voltage feedback unit and a current feedback unit, wherein the voltage feedback unit, the power adjustment unit, and the power conversion unit form a hardware circuit for closed-loop control of the output voltage of the adapter, that is, a voltage feedback loop in hardware form; the current feedback unit, the power adjustment unit, and the power conversion unit form a hardware circuit for closed-loop control of the output current of the adapter, that is, a current feedback loop in hardware form. Based on the dual-loop feedback control, the power adjustment unit of the embodiment of the present invention will comprehensively consider the feedback information provided by the voltage feedback signal and the current feedback signal, and stabilize the output voltage and output current of the adapter when either the output voltage of the adapter or the output current of the adapter reaches the target value. In other words, in the embodiment of the present invention, when either the output voltage or the output current of the adapter reaches the target value, the power adjustment unit can immediately sense the occurrence of this event and immediately respond to this event to stabilize the output voltage and output current of the adapter, thereby improving the safety of the charging process.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例中所需要使用的附图作简单地介绍,显而易见地,下面所描述的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments of the present invention. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

图1A是本发明一个实施例的第二适配器的示意性结构图。FIG1A is a schematic structural diagram of a second adapter according to an embodiment of the present invention.

图1B是本发明实施例的功率转换单元的示意性结构图。FIG1B is a schematic structural diagram of a power conversion unit according to an embodiment of the present invention.

图2是本发明另一实施例的第二适配器的示意性结构图。FIG2 is a schematic structural diagram of a second adapter according to another embodiment of the present invention.

图3是本发明又一实施例的第二适配器的示意性结构图。FIG3 is a schematic structural diagram of a second adapter according to another embodiment of the present invention.

图4是本发明又一实施例的第二适配器的示意性结构图。FIG4 is a schematic structural diagram of a second adapter according to another embodiment of the present invention.

图5是本发明又一实施例的第二适配器的示意性结构图。FIG5 is a schematic structural diagram of a second adapter according to another embodiment of the present invention.

图6是本发明又一实施例的第二适配器的示意性结构图。FIG6 is a schematic structural diagram of a second adapter according to another embodiment of the present invention.

图7是本发明又一实施例的第二适配器的示意性结构图。FIG7 is a schematic structural diagram of a second adapter according to another embodiment of the present invention.

图8是本发明又一实施例的第二适配器的示意性结构图。FIG8 is a schematic structural diagram of a second adapter according to another embodiment of the present invention.

图9是本发明实施例的电压比较单元的示意性结构图。FIG9 is a schematic structural diagram of a voltage comparison unit according to an embodiment of the present invention.

图10是本发明又一实施例的第二适配器的示意性结构图。FIG10 is a schematic structural diagram of a second adapter according to another embodiment of the present invention.

图11是本发明又一实施例的第二适配器的示意性结构图。FIG11 is a schematic structural diagram of a second adapter according to another embodiment of the present invention.

图12是本发明又一实施例的第二适配器的示意性结构图。FIG12 is a schematic structural diagram of a second adapter according to another embodiment of the present invention.

图13是本发明又一实施例的第二适配器的示意性结构图。FIG13 is a schematic structural diagram of a second adapter according to another embodiment of the present invention.

图14是本发明又一实施例的第二适配器的示意性结构图。FIG14 is a schematic structural diagram of a second adapter according to another embodiment of the present invention.

图15是本发明又一实施例的第二适配器的示意性结构图。FIG15 is a schematic structural diagram of a second adapter according to another embodiment of the present invention.

图16是本发明又一实施例的第二适配器的示意性结构图。FIG16 is a schematic structural diagram of a second adapter according to another embodiment of the present invention.

图17是本发明实施例的电流比较单元的示意性结构图。FIG17 is a schematic structural diagram of a current comparison unit according to an embodiment of the present invention.

图18是本发明又一实施例的第二适配器的示意性结构图。FIG18 is a schematic structural diagram of a second adapter according to another embodiment of the present invention.

图19A是本发明实施例的第二适配器与待充电设备的连接方式示意图。FIG19A is a schematic diagram showing a connection method between a second adapter and a device to be charged according to an embodiment of the present invention.

图19B是本发明实施例的快充通信过程的示意图。FIG19B is a schematic diagram of a fast charging communication process according to an embodiment of the present invention.

图20是脉动直流电的电流波形示意图。FIG20 is a schematic diagram of the current waveform of pulsating direct current.

图21是本发明又一实施例的第二适配器的示意性结构图。FIG21 is a schematic structural diagram of a second adapter according to another embodiment of the present invention.

图22是本发明实施例的恒流模式下的脉动直流电的示意图。FIG22 is a schematic diagram of pulsating direct current in constant current mode according to an embodiment of the present invention.

图23是本发明实施例的第二适配器的电路示例图。FIG. 23 is a circuit diagram of a second adapter according to an embodiment of the present invention.

图24是本发明实施例的充电控制方法的示意性流程图。FIG24 is a schematic flowchart of a charging control method according to an embodiment of the present invention.

具体实施方式DETAILED DESCRIPTION

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明的一部分实施例,而不是全部实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都应属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present invention.

相关技术中提到了用于为待充电设备(如终端)进行充电的一第一适配器。该第一适配器工作在恒压模式下。在恒压模式下,该第一适配器输出的电压基本维持恒定,比如5V,9V,12V或20V等。Related art discloses a first adapter for charging a device to be charged (e.g., a terminal). The first adapter operates in a constant voltage mode. In the constant voltage mode, the voltage output by the first adapter remains substantially constant, such as 5V, 9V, 12V, or 20V.

该第一适配器输出的电压并不适合直接加载到电池两端,而是需要先经过待充电设备(如终端)内的变换电路进行变换,以得到待充电设备(如终端)内的电池所预期的充电电压和/或充电电流。The voltage output by the first adapter is not suitable for being directly loaded onto both ends of the battery, but needs to be converted first by a conversion circuit in the device to be charged (such as a terminal) to obtain the expected charging voltage and/or charging current of the battery in the device to be charged (such as a terminal).

变换电路用于对第一适配器输出的电压进行变换,以满足电池所预期的充电电压和/或充电电流的需求。The conversion circuit is used to convert the voltage output by the first adapter to meet the expected charging voltage and/or charging current requirements of the battery.

作为一种示例,该变换电路可指充电管理模块,例如充电集成电路(integratedcircuit,IC)。在电池的充电过程中,用于对电池的充电电压和/或充电电流进行管理。该变换电路具有电压反馈模块的功能,和/或,具有电流反馈模块的功能,以实现对电池的充电电压和/或充电电流的管理。As an example, the conversion circuit may refer to a charging management module, such as a charging integrated circuit (IC). During the battery charging process, it is used to manage the charging voltage and/or charging current of the battery. The conversion circuit has the function of a voltage feedback module and/or the function of a current feedback module to achieve management of the charging voltage and/or charging current of the battery.

举例来说,电池的充电过程可包括涓流充电阶段,恒流充电阶段和恒压充电阶段中的一个或者多个。在涓流充电阶段,变换电路可利用电流反馈环使得在涓流充电阶段进入到电池的电流满足电池所预期的充电电流大小(譬如第一充电电流)。在恒流充电阶段,变换电路可利用电流反馈环使得在恒流充电阶段进入电池的电流满足电池所预期的充电电流大小(譬如第二充电电流,该第二充电电流可大于第一充电电流)。在恒压充电阶段,变换电路可利用电压反馈环使得在恒压充电阶段加载到电池两端的电压满足电池所预期的充电电压大小。For example, the battery charging process may include one or more of a trickle charging stage, a constant current charging stage, and a constant voltage charging stage. In the trickle charging stage, the conversion circuit may utilize a current feedback loop to ensure that the current entering the battery during the trickle charging stage meets the expected charging current size of the battery (e.g., a first charging current). In the constant current charging stage, the conversion circuit may utilize a current feedback loop to ensure that the current entering the battery during the constant current charging stage meets the expected charging current size of the battery (e.g., a second charging current, which may be greater than the first charging current). In the constant voltage charging stage, the conversion circuit may utilize a voltage feedback loop to ensure that the voltage loaded onto both ends of the battery during the constant voltage charging stage meets the expected charging voltage size of the battery.

作为一种示例,当第一适配器输出的电压大于电池所预期的充电电压时,变换电路可用于对第一适配器输出的电压进行降压处理,以使降压转换后得到的充电电压满足电池所预期的充电电压需求。作为又一种示例,当第一适配器输出的电压小于电池所预期的充电电压时,变换电路可用于对第一适配器输出的电压进行升压处理,以使升压转换后得到的充电电压满足电池所预期的充电电压需求。As an example, when the voltage output by the first adapter is greater than the expected charging voltage of the battery, the conversion circuit may be configured to step down the voltage output by the first adapter so that the resulting charging voltage meets the expected charging voltage requirement of the battery. As another example, when the voltage output by the first adapter is less than the expected charging voltage of the battery, the conversion circuit may be configured to step up the voltage output by the first adapter so that the resulting charging voltage meets the expected charging voltage requirement of the battery.

作为又一示例,以第一适配器输出5V恒定电压为例,当电池包括单个电芯(以锂电池电芯为例,单个电芯的充电截止电压为4.2V)时,变换电路(例如Buck降压电路)可对第一适配器输出的电压进行降压处理,以使得降压后得到的充电电压满足电池所预期的充电电压需求。As another example, taking the first adapter outputting a constant voltage of 5V as an example, when the battery includes a single cell (taking a lithium battery cell as an example, the charging cut-off voltage of a single cell is 4.2V), the conversion circuit (such as a Buck step-down circuit) can step down the voltage output by the first adapter so that the charging voltage obtained after the step-down meets the expected charging voltage requirement of the battery.

作为又一示例,以第一适配器输出5V恒定电压为例,当第一适配器为串联有两个及两个以上单电芯的电池(以锂电池电芯为例,单个电芯的充电截止电压为4.2V)充电时,变换电路(例如Boost升压电路)可对第一适配器输出的电压进行升压处理,以使得升压后得到的充电电压满足电池所预期的充电电压需求。As another example, taking the first adapter outputting a constant voltage of 5V as an example, when the first adapter charges a battery with two or more single cells connected in series (taking lithium battery cells as an example, the charging cut-off voltage of a single cell is 4.2V), the conversion circuit (such as a Boost circuit) can boost the voltage output by the first adapter so that the charging voltage obtained after the boost meets the expected charging voltage requirement of the battery.

变换电路受限于电路转换效率低下的原因,致使未被转换部分的电能以热量的形式散失。这部分热量会聚焦在待充电设备(如终端)内部。待充电设备(如终端)的设计空间和散热空间都很小(例如,用户使用的移动终端物理尺寸越来越轻薄,同时移动终端内密集排布了大量的电子元器件以提升移动终端的性能),这不但提升了变换电路的设计难度,还会导致聚焦在待充电设备(如终端)内的热量很难及时移除,进而引发待充电设备(如终端)的异常。The conversion circuit is limited by the low circuit conversion efficiency, causing the unconverted electrical energy to be dissipated in the form of heat. This heat will be concentrated inside the device to be charged (such as a terminal). The design space and heat dissipation space of the device to be charged (such as a terminal) are very small (for example, the physical size of the mobile terminals used by users is becoming thinner and lighter, and a large number of electronic components are densely arranged in the mobile terminal to improve the performance of the mobile terminal). This not only increases the difficulty of designing the conversion circuit, but also makes it difficult to remove the heat concentrated in the device to be charged (such as a terminal) in time, thereby causing abnormalities in the device to be charged (such as a terminal).

例如,变换电路上聚集的热量可能会对变换电路附近的电子元器件造成热干扰,引发电子元器件的工作异常。又如,变换电路上聚集的热量,可能会缩短变换电路及附近电子元件的使用寿命。又如,变换电路上聚集的热量,可能会对电池造成热干扰,进而导致电池充放电异常。又如变换电路上聚集的热量,可能会导致待充电设备(如终端)的温度升高,影响用户在充电时的使用体验。又如,变换电路上聚集的热量,可能会导致变换电路自身的短路,使得第一适配器输出的电压直接加载在电池两端而引起充电异常,如果电池长时间处于过压充电状态,甚至会引发电池的爆炸,危及用户安全。For example, the heat accumulated on the conversion circuit may cause thermal interference to the electronic components near the conversion circuit, causing abnormal operation of the electronic components. For another example, the heat accumulated on the conversion circuit may shorten the service life of the conversion circuit and nearby electronic components. For another example, the heat accumulated on the conversion circuit may cause thermal interference to the battery, thereby causing abnormal battery charging and discharging. For another example, the heat accumulated on the conversion circuit may cause the temperature of the device to be charged (such as a terminal) to rise, affecting the user experience during charging. For another example, the heat accumulated on the conversion circuit may cause a short circuit in the conversion circuit itself, causing the voltage output by the first adapter to be directly loaded on both ends of the battery, causing abnormal charging. If the battery is in an overvoltage charging state for a long time, it may even cause the battery to explode, endangering user safety.

本发明实施例提供一种输出电压可调的第二适配器。该第二适配器能够获取电池的状态信息。电池的状态信息可以包括电池当前的电量信息和/或电压信息。该第二适配器可以根据获取到的电池的状态信息来调节第二适配器自身的输出电压,以满足电池所预期的充电电压和/或充电电流的需求。进一步地,在电池充电过程的恒流充电阶段,第二适配器调节后输出的电压可直接加载在电池的两端为电池充电。An embodiment of the present invention provides a second adapter with adjustable output voltage. The second adapter is capable of acquiring battery status information. The battery status information may include the current battery charge level and/or voltage. The second adapter can adjust its own output voltage based on the acquired battery status information to meet the battery's expected charging voltage and/or charging current requirements. Furthermore, during the constant current charging phase of the battery charging process, the regulated output voltage of the second adapter can be directly applied to the battery terminals to charge the battery.

该第二适配器可以具有电压反馈模块的功能和电流反馈模块的功能,以实现对电池的充电电压和/或充电电流的管理。The second adapter may have the functions of a voltage feedback module and a current feedback module to manage the charging voltage and/or charging current of the battery.

该第二适配器根据获取到的电池的状态信息来调节第二适配器自身的输出电压可以指:该第二适配器能够实时获取到电池的状态信息,并根据每次所获取到的电池的实时状态信息来调节第二适配器自身输出的电压,以满足电池所预期的充电电压和/或充电电流。The second adapter adjusting its own output voltage based on the acquired battery status information may mean that the second adapter is able to acquire the battery status information in real time and adjust the second adapter's own output voltage based on the acquired real-time battery status information each time to meet the expected charging voltage and/or charging current of the battery.

该第二适配器根据实时获取到的电池的状态信息来调节第二适配器自身的输出电压可以指:随着充电过程中电池电压的不断上升,第二适配器能够获取到充电过程中不同时刻电池的当前状态信息,并根据电池的当前状态信息来实时调节第二适配器自身的输出电压,以满足电池所预期的充电电压和/或充电电流的需求。The second adapter adjusting its own output voltage based on the real-time acquired battery status information may mean that as the battery voltage continues to rise during the charging process, the second adapter can obtain the current battery status information at different moments in the charging process, and adjust the second adapter's own output voltage in real time based on the current battery status information to meet the expected charging voltage and/or charging current requirements of the battery.

举例来说,电池的充电过程可包括涓流充电阶段,恒流充电阶段和恒压充电阶段中的一个或者多个。在涓流充电阶段,第二适配器可利用电流反馈环使得在涓流充电阶段由第二适配器输出且进入电池的电流满足电池所预期的充电电流的需求(譬如第一充电电流)。在恒流充电阶段,第二适配器可利用电流反馈环使得在恒流充电阶段由第二适配器输出且进入到电池的电流满足电池所预期的充电电流的需求(譬如第二充电电流,该第二充电电流可大于第一充电电流),并且,在恒流充电阶段,第二适配器可以将输出的充电电压直接加载在电池两端为电池充电。在恒压充电阶段,第二适配器可利用电压反馈环使得在恒压充电阶段由第二适配器输出的电压满足电池所预期的充电电压的需求。For example, the battery charging process may include one or more of a trickle charging stage, a constant current charging stage, and a constant voltage charging stage. During the trickle charging stage, the second adapter may utilize a current feedback loop to ensure that the current output by the second adapter and entering the battery during the trickle charging stage meets the battery's expected charging current requirement (e.g., a first charging current). During the constant current charging stage, the second adapter may utilize a current feedback loop to ensure that the current output by the second adapter and entering the battery during the constant current charging stage meets the battery's expected charging current requirement (e.g., a second charging current, which may be greater than the first charging current). Furthermore, during the constant current charging stage, the second adapter may directly apply the output charging voltage to both ends of the battery to charge the battery. During the constant voltage charging stage, the second adapter may utilize a voltage feedback loop to ensure that the voltage output by the second adapter during the constant voltage charging stage meets the battery's expected charging voltage requirement.

对于涓流充电阶段和恒压充电阶段,第二适配器输出的电压可以采用类似第一适配器的处理方式,即经过待充电设备(如终端)内的变换电路进行变换,以得到待充电设备(如终端)内的电池所预期的充电电压和/或充电电流。During the trickle charging stage and the constant voltage charging stage, the voltage output by the second adapter can be processed in a manner similar to that of the first adapter, that is, it is converted by a conversion circuit in the device to be charged (such as a terminal) to obtain the expected charging voltage and/or charging current of the battery in the device to be charged (such as a terminal).

可选地,作为一种实现方式,第二适配器的电流反馈环可以在电压反馈环的基础上采用软件的方式实现。具体地,当第二适配器输出的充电电流不符合要求时,第二适配器可以根据期望的充电电流计算出期望的充电电压,并通过电压反馈环将第二适配器输出的充电电压调整为该计算出的期望的充电电压,相当于通过软件的方式,借助电压反馈环实现了电流反馈环的功能。但是,在采用恒压的方式为电池充电的过程中,充电电路上的负载电流经常是快速变化的,如果第二适配器通过软件的方式实现电流反馈环,需要进行电流采样、电流电压转换等中间操作,导致第二适配器对负载电流的响应速度慢,从而可能会导致待充电设备(如终端)所吸取的电流超过第二适配器所能提供的最大电流输出阈值,引发第二适配器进入过载保护状态,无法继续对待充电设备(如终端)进行充电。Optionally, as an implementation method, the current feedback loop of the second adapter can be implemented using software based on the voltage feedback loop. Specifically, when the charging current output by the second adapter does not meet the requirements, the second adapter can calculate the expected charging voltage based on the expected charging current, and adjust the charging voltage output by the second adapter to the calculated expected charging voltage through the voltage feedback loop, which is equivalent to implementing the function of the current feedback loop with the help of the voltage feedback loop through software. However, in the process of charging the battery using a constant voltage method, the load current on the charging circuit often changes rapidly. If the second adapter implements the current feedback loop through software, intermediate operations such as current sampling and current-voltage conversion are required, resulting in a slow response speed of the second adapter to the load current, which may cause the current drawn by the device to be charged (such as a terminal) to exceed the maximum current output threshold that the second adapter can provide, causing the second adapter to enter an overload protection state and be unable to continue charging the device to be charged (such as a terminal).

为了提升第二适配器对负载电流的响应速度,可以在第二适配器内部设置硬件形式的电压反馈环和硬件形式的电流反馈环,下面结合图1A进行详细描述。In order to improve the response speed of the second adapter to the load current, a hardware voltage feedback loop and a hardware current feedback loop may be set inside the second adapter, which are described in detail below with reference to FIG. 1A .

图1A是本发明实施例的第二适配器的示意性结构图。图1A的第二适配器10可包括功率转换单元11、电压反馈单元12、电流反馈单元13和功率调整单元14。1A is a schematic structural diagram of a second adapter according to an embodiment of the present invention. The second adapter 10 in FIG1A may include a power conversion unit 11 , a voltage feedback unit 12 , a current feedback unit 13 , and a power adjustment unit 14 .

功率转换单元11用于对输入的交流电转进行转换,以得到第二适配器10的输出电压和输出电流。The power conversion unit 11 is used to convert the input AC power to obtain the output voltage and output current of the second adapter 10 .

电压反馈单元12的输入端与功率转换单元11相连,电压反馈单元12用于对第二适配器10的输出电压进行检测,以生成电压反馈信号,电压反馈信号用于指示第二适配器10的输出电压是否达到设定的目标电压。The input end of the voltage feedback unit 12 is connected to the power conversion unit 11. The voltage feedback unit 12 is used to detect the output voltage of the second adapter 10 to generate a voltage feedback signal. The voltage feedback signal is used to indicate whether the output voltage of the second adapter 10 reaches the set target voltage.

电流反馈单元13的输入端与功率转换单元11相连,电流反馈单元13用于对第二适配器10的输出电流进行检测,以生成电流反馈信号,电流反馈信号用于指示第二适配器10的输出电流是否达到设定的目标电流。The input end of the current feedback unit 13 is connected to the power conversion unit 11. The current feedback unit 13 is used to detect the output current of the second adapter 10 to generate a current feedback signal. The current feedback signal is used to indicate whether the output current of the second adapter 10 reaches the set target current.

功率调整单元14的输入端与电压反馈单元12的输出端和电流反馈单元13的输出端相连,功率调整单元14的输出端与功率转换单元11相连,功率调整单元14用于接收电压反馈信号和电流反馈信号,并在电压反馈信号指示第二适配器10的输出电压达到目标电压,或电流反馈信号指示第二适配器10的输出电流达到目标电流的情况下,稳定第二适配器10的输出电压和输出电流。The input end of the power adjustment unit 14 is connected to the output end of the voltage feedback unit 12 and the output end of the current feedback unit 13, and the output end of the power adjustment unit 14 is connected to the power conversion unit 11. The power adjustment unit 14 is used to receive the voltage feedback signal and the current feedback signal, and stabilize the output voltage and output current of the second adapter 10 when the voltage feedback signal indicates that the output voltage of the second adapter 10 reaches the target voltage, or when the current feedback signal indicates that the output current of the second adapter 10 reaches the target current.

功率调整单元14稳定第二适配器10的输出电压和输出电流可以指功率调整单元14控制第二适配器10的输出电压和输出电流保持不变。以功率调整单元14是基于脉冲宽度调制(Pulse Width Modulation,PWM)的功率调整单元为例,在PWM控制信号的频率和占空比保持不变的情况下,第二适配器10的输出电压和输出电流即可保持稳定。The power adjustment unit 14 stabilizing the output voltage and output current of the second adapter 10 may refer to the power adjustment unit 14 controlling the output voltage and output current of the second adapter 10 to remain constant. For example, if the power adjustment unit 14 is a pulse width modulation (PWM)-based power adjustment unit, the output voltage and output current of the second adapter 10 can be kept stable when the frequency and duty cycle of the PWM control signal remain constant.

本发明实施例的第二适配器既包括电压反馈单元,也包括电流反馈单元,其中电压反馈单元、功率调整单元和功率转换单元形成用于对第二适配器的输出电压进行闭环控制的硬件电路,即硬件形式的电压反馈环;电流反馈单元、功率调整单元和功率转换单元形成用于对第二适配器的输出电流进行闭环控制的硬件电路,即硬件形式的电流反馈环。在双环反馈控制的基础上,本发明实施例的功率调整单元会综合考虑电压反馈信号和电流反馈信号提供的反馈信息,并在第二适配器的输出电压和第二适配器的输出电流中的任意一个达到目标值的情况下,稳定第二适配器的输出电压和输出电流。换句话说,本发明实施例中,第二适配器的输出电压和输出电流中的任意一个达到目标值时,功率调整单元均能立刻感知这一事件的发生,并立刻对这一事件进行响应,以稳定第二适配器的输出电压和输出电流,提高了充电过程的安全性。The second adapter of an embodiment of the present invention includes both a voltage feedback unit and a current feedback unit. The voltage feedback unit, the power adjustment unit, and the power conversion unit form a hardware circuit for closed-loop control of the output voltage of the second adapter, namely, a hardware-based voltage feedback loop. The current feedback unit, the power adjustment unit, and the power conversion unit form a hardware circuit for closed-loop control of the output current of the second adapter, namely, a hardware-based current feedback loop. Based on the dual-loop feedback control, the power adjustment unit of the embodiment of the present invention comprehensively considers the feedback information provided by the voltage feedback signal and the current feedback signal, and stabilizes the output voltage and output current of the second adapter when either the output voltage or the output current of the second adapter reaches the target value. In other words, in the embodiment of the present invention, when either the output voltage or the output current of the second adapter reaches the target value, the power adjustment unit can immediately sense the occurrence of this event and immediately respond to this event to stabilize the output voltage and output current of the second adapter, thereby improving the safety of the charging process.

以恒压模式为例,电压反馈环主要负责将第二适配器的输出电压调整至恒压模式对应的电压,电流反馈环可以负责检测第二适配器的输出电流是否达到目标电流(此时的目标电流可以是恒压模式下允许输出的最大电流),一旦第二适配器的输出电流达到目标电流,功率调整单元通过电流反馈环能够立刻感知这一事件,并及时稳定第二适配器的输出电流,防止其进一步增大。同理,在恒流模式下,电流反馈环可以负责将第二适配器的输出电流调整至恒流模式对应的电流,电压反馈环可以负责检测第二适配器的输出电压是否达到目标电压(此时的目标电压可以是恒流模式下允许输出的最大电压),一旦输出电压达到目标电压,功率调整单元通过电压反馈环能够立刻感知这一事件,并及时稳定第二适配器的输出电压,防止其进一步增大。Taking the constant voltage mode as an example, the voltage feedback loop is mainly responsible for adjusting the output voltage of the second adapter to the voltage corresponding to the constant voltage mode, and the current feedback loop can be responsible for detecting whether the output current of the second adapter reaches the target current (the target current at this time can be the maximum current allowed to be output in the constant voltage mode). Once the output current of the second adapter reaches the target current, the power adjustment unit can immediately sense this event through the current feedback loop and promptly stabilize the output current of the second adapter to prevent it from further increasing. Similarly, in the constant current mode, the current feedback loop can be responsible for adjusting the output current of the second adapter to the current corresponding to the constant current mode, and the voltage feedback loop can be responsible for detecting whether the output voltage of the second adapter reaches the target voltage (the target voltage at this time can be the maximum voltage allowed to be output in the constant current mode). Once the output voltage reaches the target voltage, the power adjustment unit can immediately sense this event through the voltage feedback loop and promptly stabilize the output voltage of the second adapter to prevent it from further increasing.

电压反馈信号和电流反馈信号是指二者反馈的对象不同,并非要对电压反馈信号和电流反馈信号的信号类型进行限定。具体地,电压反馈信号可用于反馈第二适配器的输出电压,电流反馈信号可用于反馈第二适配器的输出电流,但二者均可以是电压信号。The voltage feedback signal and the current feedback signal refer to different feedback objects, and are not intended to limit the signal types of the voltage feedback signal and the current feedback signal. Specifically, the voltage feedback signal can be used to feedback the output voltage of the second adapter, and the current feedback signal can be used to feedback the output current of the second adapter. However, both can be voltage signals.

目标电压可以是预先设定好的固定值,也可以是可调节的变量。在一些实施例中,第二适配器10可以根据实际需要,通过一定的调节电路调节目标电压的电压值。比如,待充电设备(终端)可以向第二适配器发送目标电压的调节指令,第二适配器10根据该目标电压的调节指令调节目标电压的电压值。又如,第二适配器10可以从待充电设备接收电池的状态信息,并根据电池的状态实时调节目标电压的电压值。同理,目标电流可以是预先设定好的固定值,也可以是可调节的变量。在一些实施例中,第二适配器10可以根据实际需要,通过一定的调节电路调节目标电流的电压值,比如,待充电设备(终端)可以向第二适配器10发送目标电流的调节指令,第二适配器10根据该目标电流的调节指令调节目标电流的电压值。又如,第二适配器10可以从待充电设备接收电池的状态信息,并根据电池的状态实时调节目标电流的电流值。The target voltage can be a pre-set fixed value or an adjustable variable. In some embodiments, the second adapter 10 can adjust the target voltage value according to actual needs through a certain adjustment circuit. For example, the device to be charged (terminal) can send a target voltage adjustment instruction to the second adapter, and the second adapter 10 adjusts the target voltage value according to the target voltage adjustment instruction. In another example, the second adapter 10 can receive battery status information from the device to be charged and adjust the target voltage value in real time according to the battery status. Similarly, the target current can be a pre-set fixed value or an adjustable variable. In some embodiments, the second adapter 10 can adjust the target current value according to actual needs through a certain adjustment circuit. For example, the device to be charged (terminal) can send a target current adjustment instruction to the second adapter 10, and the second adapter 10 adjusts the target current voltage value according to the target current adjustment instruction. In another example, the second adapter 10 can receive battery status information from the device to be charged and adjust the target current value in real time according to the battery status.

本发明实施例中所使用到的待充电设备可以是“通信终端”(或简称为“终端”),包括但不限于被设置成经由有线线路连接(如经由公共交换电话网络(publicswitchedtelephone network,PSTN)、数字用户线路(digital subscriber line,DSL)、数字电缆、直接电缆连接,以及/或另一数据连接/网络)和/或经由(例如,针对蜂窝网络、无线局域网(wireless local areanetwork,WLAN)、诸如手持数字视频广播(digitalvideobroadcastinghandheld,DVB-H)网络的数字电视网络、卫星网络、调幅-调频(amplitudemodulation-frequencymodulation,AM-FM)广播发送器,以及/或另一通信终端的)无线接口接收/发送通信信号的装置。被设置成通过无线接口通信的通信终端可以被称为“无线通信终端”、“无线终端”以及/或“移动终端”。移动终端的示例包括,但不限于卫星或蜂窝电话;可以组合蜂窝无线电电话与数据处理、传真以及数据通信能力的个人通信系统(personal communication system,PCS)终端;可以包括无线电电话、寻呼机、因特网/内联网接入、Web浏览器、记事簿、日历以及/或全球定位系统(global positioning system,GPS)接收器的个人数字助理(Personal DigitalAssistant,PDA);以及常规膝上型和/或掌上型接收器或包括无线电电话收发器的其它电子装置。The device to be charged used in the embodiments of the present invention may be a "communication terminal" (or simply "terminal"), including but not limited to a device configured to receive/send communication signals via a wired line connection (such as via a public switched telephone network (PSTN), a digital subscriber line (DSL), a digital cable, a direct cable connection, and/or another data connection/network) and/or via a wireless interface (for example, for a cellular network, a wireless local area network (WLAN), a digital television network such as a handheld digital video broadcasting (DVB-H) network, a satellite network, an amplitude modulation-frequency modulation (AM-FM) broadcast transmitter, and/or another communication terminal). A communication terminal configured to communicate via a wireless interface may be referred to as a "wireless communication terminal", a "wireless terminal" and/or a "mobile terminal". Examples of mobile terminals include, but are not limited to, satellite or cellular telephones; personal communication system (PCS) terminals that may combine a cellular radiotelephone with data processing, fax, and data communications capabilities; personal digital assistants (PDAs) that may include a radiotelephone, a pager, Internet/Intranet access, a Web browser, a notepad, a calendar, and/or a global positioning system (GPS) receiver; and conventional laptop and/or palmtop receivers or other electronic devices that include a radiotelephone transceiver.

在一些实施例中,该第二适配器10可包括用于对充电过程进行控制的控制单元(参见图23中的MCU),以提高第二适配器10的智能程度。具体地,该控制单元可用于与待充电设备(如终端)进行双向通信,以获取待充电设备(如终端)的指令或状态信息(所述状态信息可指待充电设备电池的当前电压和/或待充电设备的温度等状态信息),从而基于待充电设备(如终端)的指令或状态信号控制第二适配器10对待充电设备(如终端)的充电过程。在一些实施例中,该控制单元可以是微控制单元(MicrocontrollerUnit,MCU),但本发明实施例不限于此,还可以是其他类型的芯片或电路。In some embodiments, the second adapter 10 may include a control unit (see the MCU in FIG. 23 ) for controlling the charging process, thereby enhancing the intelligence of the second adapter 10. Specifically, the control unit may be configured to communicate bidirectionally with the device to be charged (e.g., a terminal) to obtain instructions or status information from the device to be charged (e.g., a terminal) (such status information may include information such as the current battery voltage and/or the temperature of the device to be charged). The control unit may then control the charging process of the device to be charged (e.g., a terminal) by the second adapter 10 based on the instructions or status signals from the device to be charged (e.g., a terminal). In some embodiments, the control unit may be a microcontroller unit (MCU), but embodiments of the present invention are not limited thereto and may also be other types of chips or circuits.

在一些实施例中,第二适配器10可以包括充电接口(参见图19A的充电接口191),但本发明实施例对充电接口的类型不作具体限定,例如,可以是通用串行总线(UniversalSerial Bus,USB)接口,所述USB接口可以是标准USB接口,也可以是micro USB接口,还可以是Type-C接口。In some embodiments, the second adapter 10 may include a charging interface (see the charging interface 191 in Figure 19A), but the embodiment of the present invention does not specifically limit the type of the charging interface. For example, it can be a Universal Serial Bus (USB) interface. The USB interface can be a standard USB interface, a micro USB interface, or a Type-C interface.

第二适配器10的充电模式或功能与目标电压和目标电流的选取有关,第二适配器10的充电模式或功能不同,目标电压和目标电流的取值也可以有所不同,下面分别以恒压模式和恒流模式为例进行详细说明。The charging mode or function of the second adapter 10 is related to the selection of the target voltage and target current. Depending on the charging mode or function of the second adapter 10, the target voltage and target current may also be different. The following describes the charging mode and the constant current mode in detail.

可选地,在一些实施例中,第二适配器10支持第一充电模式(即言,第二适配器10可工作在第一充电模式下为待充电设备(如终端)进行充电)。第一充电模式为恒压模式。在恒压模式下,第二适配器10的目标电压为恒压模式对应的电压。目标电流为第二适配器10在恒压模式下允许输出的最大电流。功率调整单元14具体用于根据电压反馈信号,将第二适配器10的输出电压调整至恒压模式对应的电压,并当电流反馈信号指示第二适配器10的输出电流达到第二适配器10在恒压模式下允许输出的最大电流时,控制第二适配器10的输出电流不超过第二适配器10在恒压模式下允许输出的最大电流。Optionally, in some embodiments, the second adapter 10 supports the first charging mode (that is, the second adapter 10 can operate in the first charging mode to charge the device to be charged (such as a terminal)). The first charging mode is a constant voltage mode. In the constant voltage mode, the target voltage of the second adapter 10 is the voltage corresponding to the constant voltage mode. The target current is the maximum current allowed to be output by the second adapter 10 in the constant voltage mode. The power adjustment unit 14 is specifically used to adjust the output voltage of the second adapter 10 to the voltage corresponding to the constant voltage mode according to the voltage feedback signal, and when the current feedback signal indicates that the output current of the second adapter 10 reaches the maximum current allowed to be output by the second adapter 10 in the constant voltage mode, control the output current of the second adapter 10 not to exceed the maximum current allowed to be output by the second adapter 10 in the constant voltage mode.

恒压模式下,第二适配器10的输出电压会调节至某一个固定电压值,上文中的恒压模式对应的电压即为该固定电压值。例如,恒压模式下,第二适配器10的输出电压为5V,则恒压模式对应的电压为5V。In constant voltage mode, the output voltage of the second adapter 10 is adjusted to a fixed voltage value. The voltage corresponding to the constant voltage mode mentioned above is the fixed voltage value. For example, in constant voltage mode, if the output voltage of the second adapter 10 is 5V, the voltage corresponding to the constant voltage mode is 5V.

本发明实施例将目标电压设定为恒压模式对应的电压,将目标电流设定为恒压模式下第二适配器允许输出的最大电流。这样一来,第二适配器能够基于电压反馈环迅速将第二适配器的输出电压调整至恒压模式对应的电压,为待充电设备(如终端)进行恒压充电。在恒压充电的过程中,一旦第二适配器的输出电流(即负载电流)达到了第二适配器允许输出的最大电流,第二适配器能够通过电流反馈环及时感知这一情况,并及时阻止第二适配器的输出电流的进一步上升,避免了充电故障的发生,提高了第二适配器对负载电流的响应能力。In an embodiment of the present invention, the target voltage is set to the voltage corresponding to the constant voltage mode, and the target current is set to the maximum current allowed to be output by the second adapter in the constant voltage mode. In this way, the second adapter can quickly adjust the output voltage of the second adapter to the voltage corresponding to the constant voltage mode based on the voltage feedback loop, and perform constant voltage charging for the device to be charged (such as a terminal). During the constant voltage charging process, once the output current of the second adapter (i.e., the load current) reaches the maximum current allowed to be output by the second adapter, the second adapter can promptly sense this situation through the current feedback loop and promptly prevent the output current of the second adapter from further increasing, thereby avoiding the occurrence of charging failures and improving the second adapter's responsiveness to the load current.

举例说明,在恒压模式下,如果恒压模式对应的固定电压值为5V,第二适配器的输出电流通常维持在100mA~200mA之间。在这种情况下,可以将目标电压设定为固定电压值(如5V),将目标电流设定为500mA或1A。一旦第二适配器的输出电流增长到该目标电流对应的电流值,功率调整单元14通过电流反馈环能够立刻感知这一事件的发生,并阻止第二适配器的输出电流的进一步增长。For example, in constant voltage mode, if the fixed voltage value corresponding to the constant voltage mode is 5V, the output current of the second adapter is generally maintained between 100mA and 200mA. In this case, the target voltage can be set to a fixed voltage value (such as 5V) and the target current can be set to 500mA or 1A. Once the output current of the second adapter increases to the current value corresponding to the target current, the power adjustment unit 14 can immediately detect this event through the current feedback loop and prevent the output current of the second adapter from increasing further.

如图1B所示,在上述实施例的基础上,功率转换单元11可以包括初级整流单元15、变压器16、次级整流单元17和次级滤波单元18,所述初级整流单元将脉动波形的电压直接输出至所述变压器。As shown in FIG1B , based on the above embodiment, the power conversion unit 11 may include a primary rectifier unit 15 , a transformer 16 , a secondary rectifier unit 17 and a secondary filter unit 18 . The primary rectifier unit directly outputs a pulsating waveform voltage to the transformer.

现有技术中,功率转换单元既包括位于初级侧的整流单元和滤波单元,还包括位于次级侧的整流单元和滤波单元。位于初级侧的整流单元和滤波单元可以称为初级整流单元和初级滤波单元。位于次级侧的整流单元和滤波单元可以称为次级整流单元和次级滤波单元。初级滤波单元一般采用液态铝质电解电容进行滤波,液态铝质电解电容的体积较大,会导致适配器的体积较大。In the prior art, a power conversion unit includes both a rectifier and filter unit located on the primary side, and a rectifier and filter unit located on the secondary side. The rectifier and filter unit located on the primary side can be referred to as the primary rectifier and filter unit. The rectifier and filter unit located on the secondary side can be referred to as the secondary rectifier and filter unit. The primary filter unit generally uses liquid aluminum electrolytic capacitors for filtering. Liquid aluminum electrolytic capacitors are relatively large, which results in a larger adapter.

本发明实施例中,功率转换单元11包括初级整流单元15、变压器16、次级整流单元17和次级滤波单元18,所述初级整流单元将脉动波形的电压直接输出至所述变压器。换句话说,本发明实施例提供的功率转换单元11不包括初级滤波单元,这样可以很大程度上减小第二适配器10的体积,使得第二适配器10更加便于携带。次级滤波单元18主要基于固态铝质电解电容进行滤波,去掉功率转换单元11中的初级滤波单元之后,虽然固态铝质电解电容的带负载能力有限,但由于硬件形式的电流反馈环的存在,可以及时响应负载电流的变化,从而避免因第二适配器的输出电流过大所导致的充电故障。In an embodiment of the present invention, the power conversion unit 11 includes a primary rectifier unit 15, a transformer 16, a secondary rectifier unit 17 and a secondary filter unit 18, and the primary rectifier unit directly outputs the voltage of the pulsating waveform to the transformer. In other words, the power conversion unit 11 provided in the embodiment of the present invention does not include a primary filter unit, which can greatly reduce the volume of the second adapter 10, making the second adapter 10 more portable. The secondary filter unit 18 is mainly based on solid-state aluminum electrolytic capacitors for filtering. After removing the primary filter unit in the power conversion unit 11, although the load capacity of the solid-state aluminum electrolytic capacitor is limited, due to the existence of a current feedback loop in the form of hardware, it can respond to changes in the load current in a timely manner, thereby avoiding charging failures caused by excessive output current of the second adapter.

在上述去除初级滤波单元的方案中,第二适配器10在恒压模式下允许输出的最大电流可以基于次级滤波单元中的电容的容量确定。例如,基于次级滤波单元中的电容的容量确定该次级滤波单元最大能够承受的负载电流为500mA或1A,则可以将目标电流设置为500mA或1A,从而可以避免第二适配器的输出电流超过目标电流而引起的充电故障。In the aforementioned solution without the primary filter unit, the maximum output current allowed by the second adapter 10 in constant voltage mode can be determined based on the capacitance of the capacitor in the secondary filter unit. For example, if the maximum load current that the secondary filter unit can withstand is determined to be 500 mA or 1 A based on the capacitance of the capacitor in the secondary filter unit, the target current can be set to 500 mA or 1 A, thereby avoiding charging failures caused by the output current of the second adapter exceeding the target current.

可选地,在一些实施例中,第二适配器10支持第二充电模式(即言,第二适配器10可工作在第二充电模式下为待充电设备(如终端)进行充电),第二充电模式为恒流模式。在恒流模式下,目标电压为第二适配器10在恒流模式下允许输出的最大电压,目标电流为恒流模式对应的电流。功率调整单元14具体用于根据电流反馈信号,将第二适配器10的输出电流调整至恒流模式对应的电流,并当电压反馈信号指示第二适配器10的输出电压达到第二适配器10在恒流模式下允许输出的最大电压时,控制第二适配器10的输出电压不超过第二适配器10在恒流模式下允许输出的最大电压。Optionally, in some embodiments, the second adapter 10 supports a second charging mode (that is, the second adapter 10 can operate in the second charging mode to charge the device to be charged (such as a terminal)), and the second charging mode is a constant current mode. In the constant current mode, the target voltage is the maximum voltage allowed to be output by the second adapter 10 in the constant current mode, and the target current is the current corresponding to the constant current mode. The power adjustment unit 14 is specifically used to adjust the output current of the second adapter 10 to the current corresponding to the constant current mode according to the current feedback signal, and when the voltage feedback signal indicates that the output voltage of the second adapter 10 reaches the maximum voltage allowed to be output by the second adapter 10 in the constant current mode, the output voltage of the second adapter 10 is controlled not to exceed the maximum voltage allowed to be output by the second adapter 10 in the constant current mode.

本发明实施例将目标电流设定为恒流模式对应的电流,将目标电压设定为恒流模式下第二适配器允许输出的最大电压,这样一来,第二适配器能够基于电流反馈环迅速将第二适配器的输出电流调整至恒流模式对应的电流,为待充电设备(如终端)进行充电,在充电过程中,一旦第二适配器的输出电压达到了第二适配器允许输出的最大电压,第二适配器能够通过电压反馈环及时感知这一情况,并及时阻止第二适配器的输出电压的进一步上升,避免了充电故障的发生。In this embodiment of the present invention, the target current is set to the current corresponding to the constant current mode, and the target voltage is set to the maximum allowable output voltage of the second adapter in the constant current mode. In this way, the second adapter can quickly adjust the output current of the second adapter to the current corresponding to the constant current mode based on the current feedback loop to charge the device to be charged (such as a terminal). During the charging process, once the output voltage of the second adapter reaches the maximum allowable output voltage of the second adapter, the second adapter can promptly detect this situation through the voltage feedback loop and promptly prevent the output voltage of the second adapter from rising further, thereby avoiding the occurrence of charging failures.

可选地,如图2所示,在上述任一实施例的基础上,第二适配器10还可包括第一调整单元21。第一调整单元21与电压反馈单元12相连,该第一调整单元21可用于调整目标电压的取值。2 , based on any of the above embodiments, the second adapter 10 may further include a first adjustment unit 21. The first adjustment unit 21 is connected to the voltage feedback unit 12 and may be used to adjust the value of the target voltage.

本发明实施例引入了第一调整单元,该第一调整单元能够根据实际需要调整第二适配器的输出电压,提高了第二适配器的智能程度。例如,第二适配器10可以工作在第一充电模式或第二充电模式下,第一调整单元21可以基于第二适配器10当前使用的第一充电模式或第二充电模式来对应地调整目标电压的取值。This embodiment of the present invention introduces a first adjustment unit that can adjust the output voltage of the second adapter based on actual needs, thereby improving the intelligence of the second adapter. For example, the second adapter 10 can operate in either the first charging mode or the second charging mode. The first adjustment unit 21 can adjust the target voltage value accordingly based on whether the second adapter 10 is currently operating in the first charging mode or the second charging mode.

可选地,在图2实施例的基础上,如图3所示,电压反馈单元12可包括电压采样单元31和电压比较单元32。电压采样单元31的输入端与功率转换单元11相连,用于对第二适配器10的输出电压进行采样,得到第一电压。电压比较单元32的输入端与电压采样单元31的输出端相连。电压比较单元32用于比较第一电压和第一参考电压,并基于第一电压和第一参考电压的比较结果,生成电压反馈信号。第一调整单元21与电压比较单元32相连,为电压比较单元32提供第一参考电压,第一调整单元21可通过调整第一参考电压的取值来实现调整目标电压的取值的目的。Optionally, based on the embodiment of FIG. 2 , as shown in FIG. 3 , the voltage feedback unit 12 may include a voltage sampling unit 31 and a voltage comparison unit 32. The input end of the voltage sampling unit 31 is connected to the power conversion unit 11 and is used to sample the output voltage of the second adapter 10 to obtain a first voltage. The input end of the voltage comparison unit 32 is connected to the output end of the voltage sampling unit 31. The voltage comparison unit 32 is used to compare the first voltage with a first reference voltage and generate a voltage feedback signal based on the comparison result between the first voltage and the first reference voltage. The first adjustment unit 21 is connected to the voltage comparison unit 32 and provides the voltage comparison unit 32 with a first reference voltage. The first adjustment unit 21 can adjust the value of the target voltage by adjusting the value of the first reference voltage.

应理解,本发明实施例中的第一电压对应于第二适配器的输出电压,或第一电压用于指示第二适配器的当前输出电压的大小。此外,本发明实施例中的第一参考电压对应于目标电压,或第一参考电压用于指示目标电压的大小。It should be understood that the first voltage in the embodiments of the present invention corresponds to the output voltage of the second adapter, or the first voltage is used to indicate the current output voltage of the second adapter. Furthermore, the first reference voltage in the embodiments of the present invention corresponds to the target voltage, or the first reference voltage is used to indicate the target voltage.

在一些实施例中,当第一电压小于第一参考电压时,电压比较单元生成第一电压反馈信号,该第一电压反馈信号用于指示第二适配器的输出电压还未达到目标电压;当第一电压等于第一参考电压时,电压比较单元生成第二电压反馈信号,该第二电压反馈信号用于指示第二适配器的输出电压达到目标电压。In some embodiments, when the first voltage is less than the first reference voltage, the voltage comparison unit generates a first voltage feedback signal, which is used to indicate that the output voltage of the second adapter has not yet reached the target voltage; when the first voltage is equal to the first reference voltage, the voltage comparison unit generates a second voltage feedback signal, which is used to indicate that the output voltage of the second adapter has reached the target voltage.

本发明实施例对电压采样单元31的具体形式不作限定,例如,电压采样单元31可以是一根导线,此时,第一电压即为第二适配器的输出电压,第一参考电压即为目标电压;又如,电压采样单元31可以包括进行串联分压的两个电阻,此时,第一电压可以是该两个电阻分压后得到的电压,第一参考电压的取值与两个电阻的分压比相关,以目标电压等于5V为例,假设第二适配器的输出电压达到5V时,经过两个电阻的串联分压,第一电压为0.5V,则第一参考电压可以设置为0.5V。The embodiment of the present invention does not limit the specific form of the voltage sampling unit 31. For example, the voltage sampling unit 31 can be a wire. In this case, the first voltage is the output voltage of the second adapter, and the first reference voltage is the target voltage. For another example, the voltage sampling unit 31 can include two resistors for series voltage division. In this case, the first voltage can be the voltage obtained after the two resistors are divided. The value of the first reference voltage is related to the voltage division ratio of the two resistors. Taking the target voltage equal to 5V as an example, assuming that when the output voltage of the second adapter reaches 5V, the first voltage is 0.5V after the series voltage division of the two resistors, then the first reference voltage can be set to 0.5V.

图3实施例中的第一调整单元21调整第一参考电压的方式可以有多种,下面结合图4-图6进行详细描述。In the embodiment of FIG. 3 , the first adjustment unit 21 may adjust the first reference voltage in various ways, which are described in detail below with reference to FIG. 4 to FIG. 6 .

可选地,在一些实施例中,如图4所示,第一调整单元21可包括控制单元41和第一数字模拟转换器(Digital to Analog Converter,DAC)42。第一DAC42的输入端与控制单元41相连,第一DAC 42的输出端与电压比较单元32相连。控制单元41通过第一DAC 42实现调整第一参考电压的取值的目的。Optionally, in some embodiments, as shown in FIG4 , the first adjustment unit 21 may include a control unit 41 and a first digital to analog converter (DAC) 42. The input end of the first DAC 42 is connected to the control unit 41, and the output end of the first DAC 42 is connected to the voltage comparison unit 32. The control unit 41 adjusts the value of the first reference voltage through the first DAC 42.

具体地,控制单元41可以是MCU,MCU可以通过DAC端口与第一DAC42相连,MCU通过DAC端口输出数字信号,并通过第一DAC 42将数字信号转换成模拟信号,该模拟信号即为第一参考电压的电压值。DAC具有信号转换速度快、精度高的特点,通过DAC调整参考电压能够提高第二适配器对参考电压的调节速度和控制精度。Specifically, the control unit 41 can be an MCU, which can be connected to the first DAC 42 via a DAC port. The MCU outputs a digital signal via the DAC port, and the first DAC 42 converts the digital signal into an analog signal. The analog signal is the voltage value of the first reference voltage. The DAC has the characteristics of fast signal conversion speed and high precision. Adjusting the reference voltage through the DAC can improve the adjustment speed and control accuracy of the reference voltage by the second adapter.

可选地,在一些实施例中,如图5所示,第一调整单元21可包括控制单元51和RC滤波单元52。RC滤波单元52的输入端与控制单元51相连,RC滤波单元52的输出端与电压比较单元32相连。控制单元51用于生成PWM信号,并通过调整PWM信号的占空比调整第一参考电压的取值。Optionally, in some embodiments, as shown in FIG5 , the first adjustment unit 21 may include a control unit 51 and an RC filter unit 52. The input end of the RC filter unit 52 is connected to the control unit 51, and the output end of the RC filter unit 52 is connected to the voltage comparison unit 32. The control unit 51 is configured to generate a PWM signal and adjust the value of the first reference voltage by adjusting the duty cycle of the PWM signal.

具体地,控制单元51可以是MCU,MCU可以通过PWM端口输出PWM信号,该PWM信号经过RC滤波电路52滤波之后,可以形成稳定的模拟量,即第一参考电压。RC滤波电路52具有实现简单,价格便宜的特点,能够以较低的成本实现第一参考电压的调节。Specifically, the control unit 51 may be an MCU, which may output a PWM signal through a PWM port. After filtering the PWM signal through the RC filter circuit 52, a stable analog quantity, i.e., the first reference voltage, may be formed. The RC filter circuit 52 is simple to implement and inexpensive, and can adjust the first reference voltage at a low cost.

可选地,在一些实施例中,如图6所示,第一调整单元21可包括控制单元61和数字电位器62。数字电位器62的控制端与控制单元61相连,数字电位器62的输出端与电压比较单元32相连。控制单元61通过调整数字电位器62的分压比,调整第一参考电压的取值。Optionally, in some embodiments, as shown in FIG6 , the first adjustment unit 21 may include a control unit 61 and a digital potentiometer 62. The control end of the digital potentiometer 62 is connected to the control unit 61, and the output end of the digital potentiometer 62 is connected to the voltage comparison unit 32. The control unit 61 adjusts the value of the first reference voltage by adjusting the voltage divider ratio of the digital potentiometer 62.

具体地,控制单元61可以是MCU,MCU可以通过内部整合电路(Inter IntegratedCircuit,I2C)接口与数字电位器62的控制端相连,用于调节数字电位器62的分压比,数字电位器62的高电位端可以为VDD,即电源端,数字电位器62的低电位端可以与地相连,数字电位器62的输出端(或称调节输出端)与电压比较单元32相连,用于向电压比较单元32输出第一参考电压。数字电位器实现简单,价格便宜,能够以较低的成本实现第一参考电压的调节。Specifically, the control unit 61 may be an MCU, which may be connected to the control terminal of the digital potentiometer 62 via an Inter Integrated Circuit (I2C) interface for adjusting the voltage divider ratio of the digital potentiometer 62. The high potential terminal of the digital potentiometer 62 may be VDD, i.e., a power supply terminal, and the low potential terminal of the digital potentiometer 62 may be connected to ground. The output terminal (or adjustment output terminal) of the digital potentiometer 62 is connected to the voltage comparison unit 32 for outputting the first reference voltage to the voltage comparison unit 32. The digital potentiometer is simple to implement and inexpensive, and can adjust the first reference voltage at a low cost.

可选地,在图2实施例的基础上,如图7所示,电压反馈单元12可包括分压单元71和电压比较单元72。分压单元71的输入端与功率转换单元11相连,用于按照设定的分压比对第二适配器10的输出电压进行分压,生成第一电压。电压比较单元72的输入端与分压单元71的输出端相连,用于比较第一电压和第一参考电压,并基于第一电压和第一参考电压的比较结果,生成电压反馈信号。第一调整单元21与分压单元71相连,通过调整分压单元71的分压比,调整目标电压的电压值。Optionally, based on the embodiment of FIG. 2 , as shown in FIG. 7 , the voltage feedback unit 12 may include a voltage divider unit 71 and a voltage comparison unit 72. The input end of the voltage divider unit 71 is connected to the power conversion unit 11 and is configured to divide the output voltage of the second adapter 10 according to a set voltage division ratio to generate a first voltage. The input end of the voltage comparison unit 72 is connected to the output end of the voltage divider unit 71 and is configured to compare the first voltage with a first reference voltage and generate a voltage feedback signal based on the comparison result of the first voltage and the first reference voltage. The first adjustment unit 21 is connected to the voltage divider unit 71 and adjusts the voltage value of the target voltage by adjusting the voltage division ratio of the voltage divider unit 71.

图7的实施例与图3-图6实施例的主要区别在于图3-图6的实施例是通过调整电压比较单元的参考电压实现目标电压的电压值的调整,图7的实施例是通过调整分压单元71的分压比实现目标电压的电压值的调整。换句话说,图7的实施例中,第一参考电压可以设置成固定值VREF,如果希望第二适配器的输出电压为5V,则可以调节分压单元71的分压比,使得第二适配器的输出电压为5V时,分压单元71的输出端的电压等于VREF;同理,如果希望第二适配器的输出电压为3V,则可以通过调整分压单元71的分压比,使得第二适配器的输出电压为3V时,分压单元71的输出端的电压等于VREF。The main difference between the embodiment of FIG7 and the embodiments of FIG3-6 is that the embodiment of FIG3-6 adjusts the voltage value of the target voltage by adjusting the reference voltage of the voltage comparison unit, while the embodiment of FIG7 adjusts the voltage value of the target voltage by adjusting the voltage division ratio of the voltage division unit 71. In other words, in the embodiment of FIG7, the first reference voltage can be set to a fixed value VREF. If the output voltage of the second adapter is desired to be 5V, the voltage division ratio of the voltage division unit 71 can be adjusted so that when the output voltage of the second adapter is 5V, the voltage at the output end of the voltage division unit 71 is equal to VREF. Similarly, if the output voltage of the second adapter is desired to be 3V, the voltage division ratio of the voltage division unit 71 can be adjusted so that when the output voltage of the second adapter is 3V, the voltage at the output end of the voltage division unit 71 is equal to VREF.

本发明实施例通过分压单元实现了第二适配器的输出电压的采样和目标电压的电压值的调整,简化了第二适配器的电路结构。The embodiment of the present invention implements sampling of the output voltage of the second adapter and adjustment of the voltage value of the target voltage through the voltage dividing unit, thereby simplifying the circuit structure of the second adapter.

本发明实施例的分压单元71的实现方式有多种,例如,可以采用数字电位器实现,也可以通过离散的电阻、开关等元件实现上述分压和分压比调节的功能。The voltage dividing unit 71 of the embodiment of the present invention can be implemented in various ways. For example, it can be implemented by a digital potentiometer, or the above-mentioned voltage dividing and voltage dividing ratio adjustment functions can be implemented by discrete components such as resistors and switches.

以数字电位器的实现方式为例,如图8所示,分压单元71可以包括数字电位器81。第一调整单元21可以包括控制单元82。数字电位器81的高电位端与功率转换单元11相连,数字电位器81的低电位端与地相连。数字电位器81的输出端与电压比较单元72的输入端相连。控制单元82与数字电位器81的控制端相连,用于调整数字电位器81的分压比。Taking the implementation of a digital potentiometer as an example, as shown in FIG8 , the voltage divider unit 71 may include a digital potentiometer 81. The first adjustment unit 21 may include a control unit 82. The high potential terminal of the digital potentiometer 81 is connected to the power conversion unit 11, and the low potential terminal of the digital potentiometer 81 is connected to ground. The output terminal of the digital potentiometer 81 is connected to the input terminal of the voltage comparison unit 72. The control unit 82 is connected to the control terminal of the digital potentiometer 81 and is used to adjust the voltage divider ratio of the digital potentiometer 81.

上文中的电压比较单元72的实现方式有多种,在一些实施例中,如图9所示,电压比较单元72可以包括第一运放。该第一运放的反相输入端用于接收第一电压,第一运放的同相输入端用于接收第一参考电压,第一运放的输出端用于生成电压反馈信号。第一运放也可称为第一误差放大器,或电压误差放大器。The voltage comparison unit 72 described above can be implemented in various ways. In some embodiments, as shown in FIG9 , the voltage comparison unit 72 may include a first operational amplifier. The inverting input of the first operational amplifier is used to receive the first voltage, the non-inverting input of the first operational amplifier is used to receive the first reference voltage, and the output of the first operational amplifier is used to generate a voltage feedback signal. The first operational amplifier may also be referred to as a first error amplifier or a voltage error amplifier.

可选地,如图10所示,在上述任一实施例的基础上,第二适配器10还可包括第二调整单元101,第二调整单元101与电流反馈单元13相连,用于调整目标电流的电流值。Optionally, as shown in FIG10 , based on any of the above embodiments, the second adapter 10 may further include a second adjustment unit 101 , which is connected to the current feedback unit 13 and is configured to adjust the current value of the target current.

本发明实施例引入了第二调整单元,该第二调整单元能够根据实际需要调整第二适配器的输出电流,提高了第二适配器的智能程度。例如,第二适配器10可工作在第一充电模式或第二充电模式下,第二调整单元101基于第二适配器10当前使用的第一充电模式或第二充电模式来调整目标电流的电流值。This embodiment of the present invention introduces a second adjustment unit that can adjust the output current of the second adapter based on actual needs, thereby improving the intelligence of the second adapter. For example, if the second adapter 10 can operate in either the first charging mode or the second charging mode, the second adjustment unit 101 adjusts the target current value based on the first or second charging mode currently used by the second adapter 10.

可选地,在一些实施例中,在图10的实施例的基础上,如图11所示,电流反馈单元13可包括电流采样单元111和电流比较单元112。电流采样单元111的输入端与功率转换单元11相连,用于对第二适配器10的输出电流进行采样,得到第二电压,第二电压用于指示第二适配器10的输出电流的大小。电流比较单元112的输入端与电流采样单元111的输出端相连,用于比较第二电压和第二参考电压,并基于第二电压和第二参考电压的比较结果,生成电流反馈信号。第二调整单元101与电流比较单元112相连,为电流比较单元112提供第二参考电压,并通过调整第二参考电压的电压值,调整目标电流的电流值。Optionally, in some embodiments, based on the embodiment of FIG. 10 , as shown in FIG. 11 , the current feedback unit 13 may include a current sampling unit 111 and a current comparison unit 112. The input end of the current sampling unit 111 is connected to the power conversion unit 11 and is configured to sample the output current of the second adapter 10 to obtain a second voltage, which is used to indicate the magnitude of the output current of the second adapter 10. The input end of the current comparison unit 112 is connected to the output end of the current sampling unit 111 and is configured to compare the second voltage with a second reference voltage and generate a current feedback signal based on the comparison result between the second voltage and the second reference voltage. The second adjustment unit 101 is connected to the current comparison unit 112 and provides a second reference voltage to the current comparison unit 112. The second adjustment unit 101 adjusts the target current by adjusting the voltage value of the second reference voltage.

应理解,本发明实施例中的第二电压对应于第二适配器的输出电流,或第二电压用于指示第二适配器的输出电流的大小。此外,本发明实施例中的第二参考电压对应于目标电流,或第二参考电压用于指示目标电流的大小。It should be understood that the second voltage in the embodiments of the present invention corresponds to the output current of the second adapter, or the second voltage is used to indicate the magnitude of the output current of the second adapter. In addition, the second reference voltage in the embodiments of the present invention corresponds to the target current, or the second reference voltage is used to indicate the magnitude of the target current.

具体地,当第二电压小于第二参考电压时,电流比较单元生成第一电流反馈信号,该第一电流反馈信号用于指示第二适配器的输出电流还未达到目标电流;当第二电压等于第二参考电压时,电流比较单元生成第二电流反馈信号,该第二电流反馈信号用于指示第二适配器的输出电流达到目标电流。Specifically, when the second voltage is less than the second reference voltage, the current comparison unit generates a first current feedback signal, which is used to indicate that the output current of the second adapter has not yet reached the target current; when the second voltage is equal to the second reference voltage, the current comparison unit generates a second current feedback signal, which is used to indicate that the output current of the second adapter has reached the target current.

电流采样单元111得到第二电压的方式具体可以是:电流采样单元111先对第二适配器的输出电流进行采样,得到采样电流。然后根据采样电流的大小,将其转换成对应的采样电压(采样电压值等于采样电流值与采样电阻的乘积)。在一些实施例中,可以将该采样电压直接作为第二电压。在另一些实施例中,也可以采用多个电阻对该采样电压进行分压,将分压后的电压作为第二电压。电流采样单元111中的电流采样功能具体可以由检流计来实现。The current sampling unit 111 may specifically obtain the second voltage by first sampling the output current of the second adapter to obtain a sampled current. The sampled current is then converted into a corresponding sampled voltage based on its magnitude (the sampled voltage value is equal to the product of the sampled current value and the sampling resistance). In some embodiments, the sampled voltage may be directly used as the second voltage. In other embodiments, the sampled voltage may be divided by multiple resistors, and the divided voltage may be used as the second voltage. The current sampling function in the current sampling unit 111 may be specifically implemented by a galvanometer.

图11实施例中的第二调整单元调整第二参考电压的方式可以有多种,下面结合图12-图14进行详细描述。In the embodiment of FIG. 11 , the second adjustment unit may adjust the second reference voltage in a variety of ways, which are described in detail below in conjunction with FIG. 12 to FIG. 14 .

可选地,在一些实施例中,如图12所示,第二调整单元101可包括控制单元121和第二DAC 122。第二DAC 122的输入端与控制单元121相连,第二DAC 122的输出端与电流比较单元112相连。控制单元121通过第二DAC 122调整第二参考电压的电压值。12 , the second adjustment unit 101 may include a control unit 121 and a second DAC 122. The input of the second DAC 122 is connected to the control unit 121, and the output of the second DAC 122 is connected to the current comparison unit 112. The control unit 121 adjusts the voltage value of the second reference voltage through the second DAC 122.

具体地,控制单元121可以是MCU。MCU可以通过DAC端口与第二DAC122相连。MCU通过DAC端口输出数字信号,并通过第二DAC 122将数字信号转换成模拟信号。该模拟信号即为第一参考电压的电压值。DAC具有信号转换速度快、精度高的特点,通过DAC调整参考电压能够提高第二适配器对参考电压的调节速度和控制精度。Specifically, the control unit 121 may be an MCU. The MCU may be connected to the second DAC 122 via a DAC port. The MCU outputs a digital signal via the DAC port, which is then converted into an analog signal by the second DAC 122. This analog signal is the voltage value of the first reference voltage. DACs have the characteristics of fast signal conversion speed and high accuracy. Adjusting the reference voltage via the DAC can improve the speed and control accuracy of the second adapter's reference voltage regulation.

可选地,在一些实施例中,如图13所示,第二调整单元101可包括控制单元131和RC滤波单元132。RC滤波单元132的输入端与控制单元131相连,RC滤波单元132的输出端与电流比较单元112相连。控制单元131用于生成PWM信号,并通过调整PWM信号的占空比调整第二参考电压的电压值。Optionally, in some embodiments, as shown in FIG13 , the second adjustment unit 101 may include a control unit 131 and an RC filter unit 132. The input end of the RC filter unit 132 is connected to the control unit 131, and the output end of the RC filter unit 132 is connected to the current comparison unit 112. The control unit 131 is configured to generate a PWM signal and adjust the voltage value of the second reference voltage by adjusting the duty cycle of the PWM signal.

具体地,控制单元131可以是MCU。MCU可以通过PWM端口输出PWM信号。该PWM信号经过RC滤波电路132滤波之后,可以形成稳定的模拟量,即第二参考电压。RC滤波电路132具有实现简单,价格便宜的特点,能够以较低的成本实现第二参考电压的调节。Specifically, the control unit 131 may be an MCU. The MCU can output a PWM signal through a PWM port. After filtering the PWM signal through the RC filter circuit 132, a stable analog value, i.e., the second reference voltage, is generated. The RC filter circuit 132 is simple to implement and inexpensive, enabling the adjustment of the second reference voltage at a low cost.

可选地,在一些实施例中,如图14所示,第二调整单元101可包括控制单元141和数字电位器142。数字电位器142的控制端与控制单元141相连,数字电位器142的输出端与电流比较单元112相连。控制单元141通过调整数字电位器142的分压比,调整第二参考电压的电压值。Optionally, in some embodiments, as shown in FIG14 , the second adjustment unit 101 may include a control unit 141 and a digital potentiometer 142. The control end of the digital potentiometer 142 is connected to the control unit 141, and the output end of the digital potentiometer 142 is connected to the current comparison unit 112. The control unit 141 adjusts the voltage value of the second reference voltage by adjusting the voltage divider ratio of the digital potentiometer 142.

在一些实施例中,控制单元141可以是MCU。MCU可以通过I2C接口与数字电位器142的控制端相连,用于调节数字电位器142的分压比。数字电位器142的高电位端可以为VDD,即电源端,数字电位器142的低电位端可以与地相连。数字电位器142的输出端(或称调节输出端)与电流比较单元112相连,用于向电流比较单元112输出第二参考电压。数字电位器实现简单,价格便宜,能够以较低的成本实现对第二参考电压的调节。In some embodiments, the control unit 141 may be an MCU. The MCU may be connected to the control terminal of the digital potentiometer 142 via an I2C interface to adjust the voltage divider ratio of the digital potentiometer 142. The high potential terminal of the digital potentiometer 142 may be VDD, i.e., the power supply terminal, and the low potential terminal of the digital potentiometer 142 may be connected to ground. The output terminal (or adjustment output terminal) of the digital potentiometer 142 is connected to the current comparison unit 112 to output the second reference voltage to the current comparison unit 112. Digital potentiometers are simple to implement and inexpensive, and can adjust the second reference voltage at a low cost.

可选地,在一些实施例中,在图10实施例的基础上,如图15所示,电流反馈单元13可包括电流采样单元151、分压单元152和电流比较单元153。电流采样单元151的输入端与功率转换单元11相连,用于对第二适配器10的输出电流进行采样,得到第三电压。第三电压用于指示第二适配器10的输出电流的大小。分压单元152的输入端与电流采样单元151的输出端相连,用于按照设定的分压比对第三电压进行分压,生成第二电压。电流比较单元153的输入端与分压单元152的输出端相连,用于比较第二电压和第二参考电压,并基于第二电压和第二参考电压的比较结果,生成电流反馈信号。第二调整单元101与分压单元152相连,通过调整分压单元152的分压比,调整目标电流的电流值。Optionally, in some embodiments, based on the embodiment of FIG. 10 , as shown in FIG. 15 , the current feedback unit 13 may include a current sampling unit 151, a voltage divider unit 152, and a current comparison unit 153. The input of the current sampling unit 151 is connected to the power conversion unit 11 and is configured to sample the output current of the second adapter 10 to obtain a third voltage. The third voltage is used to indicate the magnitude of the output current of the second adapter 10. The input of the voltage divider unit 152 is connected to the output of the current sampling unit 151 and is configured to divide the third voltage according to a set voltage divider ratio to generate a second voltage. The input of the current comparison unit 153 is connected to the output of the voltage divider unit 152 and is configured to compare the second voltage with a second reference voltage and generate a current feedback signal based on the comparison result between the second voltage and the second reference voltage. The second adjustment unit 101 is connected to the voltage divider unit 152 and adjusts the target current value by adjusting the voltage divider ratio of the voltage divider unit 152.

图15的实施例与图11-图14实施例的主要区别在于图11-图14的实施例是通过调整电流比较单元的参考电压实现目标电流的电流值的调整,图15的实施例是通过调整分压单元152的分压比实现目标电流的电流值的调整。换句话说,图15的实施例中,第二参考电压可以设置成固定值VREF,如果希望第二适配器的输出电流为300mV,则可以调节分压单元152的分压比,使得第二适配器的输出电流为300mV时,分压单元152的输出端的电压等于VREF;同理,如果希望第二适配器的输出电流为500mV,则可以通过调整分压单元152的分压比,使得第二适配器的输出电流为500mV时,分压单元152的输出端的电压等于VREF。The main difference between the embodiment of FIG15 and the embodiments of FIG11-14 is that the embodiment of FIG11-14 adjusts the target current by adjusting the reference voltage of the current comparison unit, while the embodiment of FIG15 adjusts the target current by adjusting the voltage division ratio of the voltage division unit 152. In other words, in the embodiment of FIG15, the second reference voltage can be set to a fixed value VREF. If the output current of the second adapter is desired to be 300mV, the voltage division ratio of the voltage division unit 152 can be adjusted so that when the output current of the second adapter is 300mV, the voltage at the output end of the voltage division unit 152 is equal to VREF. Similarly, if the output current of the second adapter is desired to be 500mV, the voltage division ratio of the voltage division unit 152 can be adjusted so that when the output current of the second adapter is 500mV, the voltage at the output end of the voltage division unit 152 is equal to VREF.

本发明实施例的分压单元152的实现方式有多种,例如,可以采用数字电位器实现,也可以通过离散的电阻、开关等元件实现上述分压和分压比调节的功能。The voltage divider unit 152 of the embodiment of the present invention can be implemented in various ways. For example, it can be implemented using a digital potentiometer, or the above-mentioned voltage division and voltage division ratio adjustment functions can be implemented through discrete components such as resistors and switches.

以数字电位器的实现方式为例,如图16所示,分压单元152包括数字电位器161,第二调整单元101包括控制单元162。数字电位器161的高电位端与电流采样单元151的输出端相连,数字电位器161的低电位端与地相连,数字电位器161的输出端与电流比较单元153的输入端相连。控制单元162与数字电位器161的控制端相连,用于调整数字电位器161的分压比。Taking the implementation of a digital potentiometer as an example, as shown in FIG16 , the voltage divider unit 152 includes a digital potentiometer 161, and the second adjustment unit 101 includes a control unit 162. The high potential terminal of the digital potentiometer 161 is connected to the output terminal of the current sampling unit 151, the low potential terminal of the digital potentiometer 161 is connected to ground, and the output terminal of the digital potentiometer 161 is connected to the input terminal of the current comparison unit 153. The control unit 162 is connected to the control terminal of the digital potentiometer 161 and is used to adjust the voltage divider ratio of the digital potentiometer 161.

上文中的控制单元可以是一个控制单元,也可以是多个控制单元。在一些实施例中,上文的第一调整单元和第二调整单元中的控制单元为同一控制单元。The control unit mentioned above can be one control unit or multiple control units. In some embodiments, the control units in the first adjustment unit and the second adjustment unit mentioned above are the same control unit.

上文中的电流比较单元153的实现方式有多种,在一些实施例中,如图17所示,电流比较单元153可以包括第二运放。该第二运放的反相输入端用于接收第二电压,第二运放的同相输入端用于接收第二参考电压,第二运放的输出端用于生成电流反馈信号。第二运放也可称为第二误差放大器,或电流误差放大器。The current comparison unit 153 described above can be implemented in various ways. In some embodiments, as shown in FIG17 , the current comparison unit 153 can include a second operational amplifier. The inverting input of the second operational amplifier is used to receive the second voltage, the non-inverting input of the second operational amplifier is used to receive the second reference voltage, and the output of the second operational amplifier is used to generate the current feedback signal. The second operational amplifier can also be referred to as a second error amplifier or a current error amplifier.

上文结合图1至图17详细描述了电压反馈单元12和电流反馈单元13的实现方式,以及电压反馈单元12对应的目标电压和电流反馈单元13对应的目标电流的调整方式,下文结合图18详细描述功率调整单元14的实现方式。The above text, in combination with Figures 1 to 17, describes in detail the implementation methods of the voltage feedback unit 12 and the current feedback unit 13, as well as the adjustment methods of the target voltage corresponding to the voltage feedback unit 12 and the target current corresponding to the current feedback unit 13. The following text, in combination with Figure 18, describes in detail the implementation method of the power adjustment unit 14.

可选地,在一些实施例中,如图18所示,电压反馈单元12可包括第一运放(图18未示出,具体可以参见图9),电压反馈单元12的第一运放的输出端用于输出电压反馈信号。电流反馈单元13可包括第二运放(图18未示出,具体可以参考图17),电流反馈单元13的第二运放的输出端用于输出电流反馈信号。功率调整单元14可包括第一二极管D1、第二二极管D2、光电耦合单元181和PWM控制单元182。电压反馈单元12的第一运放(参见图9,第一运放的输出端用于输出电压反馈信号)的输出端与第一二极管D1的负极相连。第一二极管D1的正极与光电耦合单元181的输入端相连。电流反馈单元13的第二运放的输出端(参见图17,第二运放的输出端用于输出电流反馈信号)与第二二极管D2的负极相连。第二二极管D2的正极与光电耦合单元181的输入端相连。光电耦合单元181的输出端与PWM控制单元182的输入端相连。PWM控制单元182的输出端与功率转换单元11相连。Optionally, in some embodiments, as shown in FIG18 , the voltage feedback unit 12 may include a first operational amplifier (not shown in FIG18 , see FIG9 for details), the output of which is configured to output a voltage feedback signal. The current feedback unit 13 may include a second operational amplifier (not shown in FIG18 , see FIG17 for details), the output of which is configured to output a current feedback signal. The power adjustment unit 14 may include a first diode D1, a second diode D2, a photoelectric coupling unit 181, and a PWM control unit 182. The output of the first operational amplifier of the voltage feedback unit 12 (see FIG9 , the output of the first operational amplifier is configured to output a voltage feedback signal) is connected to the cathode of the first diode D1. The anode of the first diode D1 is connected to the input of the photoelectric coupling unit 181. The output of the second operational amplifier of the current feedback unit 13 (see FIG17 , the output of the second operational amplifier is configured to output a current feedback signal) is connected to the cathode of the second diode D2. The anode of the second diode D2 is connected to the input of the photoelectric coupling unit 181. The output end of the photoelectric coupling unit 181 is connected to the input end of the PWM control unit 182. The output end of the PWM control unit 182 is connected to the power conversion unit 11.

应理解,本文中出现的第一运放可以指代同一运放。同理,本文中出现的第二运放可以指代同一运放。It should be understood that the first op amp mentioned herein may refer to the same op amp. Similarly, the second op amp mentioned herein may refer to the same op amp.

具体地,在本实施例中,第一运放输出的电压信号即为电压反馈信号,第二运放输出的电压信号即为电流反馈信号,第一运放输出的电压信号为0指示第二适配器的输出电压达到目标电压,第二运放输出的电压信号为0指示第二适配器的输出端电流达到目标电流。第一二极管D1和第二二极管D2是两个反向并联的二极管,当第一运放和第二运放中的任意一个运放输出的电压信号为0时,图18中的反馈点的电压约为0(由于二极管导通需要一定的压差,所以反馈点的实际电压会略大于0,如可以是0.7V)。在这种情况下,光电耦合单元181工作在稳定状态,向PWM控制单元182输出稳定的电压信号。然后,PWM控制单元182生成占空比一定的PWM控制信号,通过功率转换单元11稳定第二适配器的输出电压和输出电流。换句话说,当第二适配器的输出电压和输出电流中的任意一个达到目标值时,反向并联的第一二极管D1和第二二极管D2能够立刻感知这一事件的发生,进而使得第二适配器的输出电压和输出电流稳定。Specifically, in this embodiment, the voltage signal output by the first op amp is the voltage feedback signal, and the voltage signal output by the second op amp is the current feedback signal. A voltage signal output by the first op amp of 0 indicates that the output voltage of the second adapter has reached the target voltage, and a voltage signal output by the second op amp of 0 indicates that the output current of the second adapter has reached the target current. The first diode D1 and the second diode D2 are two anti-parallel diodes. When the voltage signal output by either the first op amp or the second op amp is 0, the voltage at the feedback point in FIG18 is approximately 0 (since a certain voltage difference is required for the diode to conduct, the actual voltage at the feedback point will be slightly greater than 0, such as 0.7V). In this case, the photoelectric coupling unit 181 operates in a stable state and outputs a stable voltage signal to the PWM control unit 182. The PWM control unit 182 then generates a PWM control signal with a certain duty cycle, which stabilizes the output voltage and output current of the second adapter through the power conversion unit 11. In other words, when either the output voltage or output current of the second adapter reaches the target value, the anti-parallel first diode D1 and the second diode D2 can immediately sense the occurrence of this event, thereby stabilizing the output voltage and output current of the second adapter.

可选地,在一些实施例中,第二适配器10可以支持第一充电模式和第二充电模式,第二适配器10在第二充电模式下对待充电设备(如终端)的充电速度快于第二适配器10在第一充电模式下对待充电设备(如终端)的充电速度。换句话说,相较于工作在第一充电模式下的第二适配器10来说,工作在第二充电模式下的第二适配器10充满相同容量的待充电设备(如终端)中的电池的耗时更短。Optionally, in some embodiments, the second adapter 10 may support a first charging mode and a second charging mode, and the second adapter 10 charges the device to be charged (e.g., a terminal) faster in the second charging mode than in the first charging mode. In other words, compared to the second adapter 10 operating in the first charging mode, the second adapter 10 operating in the second charging mode takes less time to fully charge a battery in a device to be charged (e.g., a terminal) of the same capacity.

第二适配器10包括控制单元,在第二适配器10与待充电设备(如终端)连接的过程中,控制单元与待充电设备(如终端)进行双向通信,以控制第二充电模式的充电过程。该控制单元可以是上述任意实施例中的控制单元,如可以是第一调整单元中的控制单元,也可以是第二调整单元中的控制单元。The second adapter 10 includes a control unit. During the connection between the second adapter 10 and the device to be charged (e.g., a terminal), the control unit communicates bidirectionally with the device to be charged (e.g., a terminal) to control the charging process in the second charging mode. The control unit can be the control unit in any of the above embodiments, such as the control unit in the first adjustment unit or the control unit in the second adjustment unit.

第一充电模式可为普通充电模式,第二充电模式可为快速充电模式。该普通充电模式是指第二适配器输出相对较小的电流值(通常小于2.5A)或者以相对较小的功率(通常小于15W)来对待充电设备(如终端)中的电池进行充电,在普通充电模式下想要完全充满一较大容量电池(如3000毫安时容量的电池),通常需要花费数个小时的时间;而在快速充电模式下,第二适配器能够输出相对较大的电流(通常大于2.5A,比如4.5A,5A甚至更高)或者以相对较大的功率(通常大于等于15W)来对待充电设备(如终端)中的电池进行充电,相较于普通充电模式而言,第二适配器在快速充电模式下完全充满相同容量电池所需要的充电时间能够明显缩短、充电速度更快。The first charging mode can be a normal charging mode, and the second charging mode can be a fast charging mode. The normal charging mode means that the second adapter outputs a relatively small current value (usually less than 2.5A) or charges the battery in the charging device (such as a terminal) at a relatively small power (usually less than 15W). In the normal charging mode, it usually takes several hours to fully charge a large capacity battery (such as a 3000mAh battery). In the fast charging mode, the second adapter can output a relatively large current (usually greater than 2.5A, such as 4.5A, 5A or even higher) or charge the battery in the charging device (such as a terminal) at a relatively large power (usually greater than or equal to 15W). Compared with the normal charging mode, the time required for the second adapter to fully charge a battery of the same capacity in the fast charging mode can be significantly shortened, and the charging speed is faster.

本发明实施例对第二适配器的控制单元与待充电设备(如终端)的通信内容,以及控制单元对第二适配器在第二充电模式下的输出的控制方式不作具体限定,例如,控制单元可以与待充电设备(如终端)通信,交互待充电设备(如终端)中的电池的当前电压或当前电量,并基于电池的当前电压或当前电量调整第二适配器的输出电压或输出电流。下面结合具体的实施例对控制单元与待充电设备(如终端)之间的通信内容,以及控制单元对在第二充电模式下的第二适配器的输出的控制方式进行详细描述。The embodiments of the present invention do not specifically limit the communication between the control unit of the second adapter and the device to be charged (such as a terminal), nor the control unit's control of the output of the second adapter in the second charging mode. For example, the control unit can communicate with the device to be charged (such as a terminal), exchange the current voltage or current charge of the battery in the device to be charged (such as a terminal), and adjust the output voltage or output current of the second adapter based on the current voltage or current charge of the battery. The communication between the control unit and the device to be charged (such as a terminal), as well as the control unit's control of the output of the second adapter in the second charging mode, are described in detail below with reference to specific embodiments.

可选地,在一些实施例中,控制单元与待充电设备(如终端)进行双向通信,以控制在第二充电模式下的第二适配器的输出的过程可包括:控制单元与待充电设备(如终端)进行双向通信,以协商第二适配器与待充电设备(如终端)之间的充电模式。Optionally, in some embodiments, the process of the control unit performing bidirectional communication with the device to be charged (such as a terminal) to control the output of the second adapter in the second charging mode may include: the control unit performing bidirectional communication with the device to be charged (such as a terminal) to negotiate the charging mode between the second adapter and the device to be charged (such as a terminal).

本发明实施例中,第二适配器并非盲目地采用第二充电模式对待充电设备(如终端)进行快速充电,而是与待充电设备(如终端)进行双向通信,协商第二适配器是否可以采用第二充电模式对待充电设备(如终端)进行快速充电,这样能够提升充电过程的安全性。In an embodiment of the present invention, the second adapter does not blindly adopt the second charging mode to quickly charge the device to be charged (such as a terminal), but rather communicates bidirectionally with the device to be charged (such as a terminal) to negotiate whether the second adapter can adopt the second charging mode to quickly charge the device to be charged (such as a terminal), which can improve the safety of the charging process.

具体地,控制单元与待充电设备(如终端)进行双向通信,以协商第二适配器与待充电设备(如终端)之间的充电模式可包括:控制单元向待充电设备(如终端)发送第一指令,第一指令用于询问待充电设备(如终端)是否开启第二充电模式;控制单元接收待充电设备(如终端)发送的针对所述第一指令的回复指令,回复指令用于指示待充电设备(如终端)是否同意开启第二充电模式;在待充电设备(如终端)同意开启第二充电模式的情况下,控制单元使用第二充电模式为待充电设备(如终端)充电。Specifically, the control unit performs two-way communication with the device to be charged (such as a terminal) to negotiate the charging mode between the second adapter and the device to be charged (such as a terminal), which may include: the control unit sends a first instruction to the device to be charged (such as a terminal), and the first instruction is used to inquire whether the device to be charged (such as a terminal) whether to turn on the second charging mode; the control unit receives a reply instruction sent by the device to be charged (such as a terminal) to the first instruction, and the reply instruction is used to indicate whether the device to be charged (such as a terminal) agrees to turn on the second charging mode; if the device to be charged (such as a terminal) agrees to turn on the second charging mode, the control unit uses the second charging mode to charge the device to be charged (such as a terminal).

本发明实施例的上述描述并不会对第二适配器(或者第二适配器的控制单元)与待充电设备(如终端)的主从性进行限定,换句话说,控制单元与待充电设备(如终端)中的任何一方均可作为主设备方发起双向通信会话,相应地另外一方可以作为从设备方对主设备方发起的通信做出第一响应或第一回复。作为一种可行的方式,可以在通信过程中,通过比较第二适配器侧和待充电设备(如终端)侧相对于大地的电平高低来确认主、从设备的身份。The above description of the embodiments of the present invention does not limit the master-slave relationship between the second adapter (or the control unit of the second adapter) and the device to be charged (e.g., a terminal). In other words, either the control unit or the device to be charged (e.g., a terminal) can initiate a two-way communication session as the master device, and the other can respond or reply to the communication initiated by the master device as the slave device. As a feasible approach, the identity of the master and slave devices can be confirmed during the communication process by comparing the electrical levels of the second adapter and the device to be charged (e.g., a terminal) relative to the ground.

本发明实施例并未对第二适配器(或者第二适配器的控制单元)与待充电设备(如终端)之间双向通信的具体实现方式作出限制,即言,第二适配器(或者第二适配器的控制单元)与待充电设备(如终端)中的任何一方作为主设备方发起通信会话,相应地另外一方作为从设备方对主设备方发起的通信会话做出第一响应或第一回复,同时主设备方能够针对所述从设备方的第一响应或第一回复做出第二响应,即可认为主、从设备之间完成了一次充电模式的协商过程。作为一种可行的实施方式,主、从设备方之间可以在完成多次充电模式的协商后,再执行主、从设备方之间的充电操作,以确保协商后的充电过程安全、可靠的被执行。The embodiments of the present invention do not restrict the specific implementation of bidirectional communication between the second adapter (or the control unit of the second adapter) and the device to be charged (such as a terminal). In other words, if either the second adapter (or the control unit of the second adapter) or the device to be charged (such as a terminal) initiates a communication session as a master device, and the other, as a slave device, responds with a first response or a first reply to the communication session initiated by the master device, and the master device responds with a second response to the first response or reply of the slave device, it can be considered that the master and slave devices have completed a charging mode negotiation process. As a feasible implementation method, the master and slave devices can perform charging operations between the master and slave devices after completing multiple charging mode negotiations to ensure that the negotiated charging process is executed safely and reliably.

作为主设备方能够根据所述从设备方针对通信会话的第一响应或第一回复做出第二响应的一种方式可以是:主设备方能够接收到所述从设备方针对通信会话所做出的第一响应或第一回复,并根据接收到的所述从设备的第一响应或第一回复做出针对性的第二响应。作为举例,当主设备方在预设的时间内接收到所述从设备方针对通信会话的第一响应或第一回复,主设备方会对所述从设备的第一响应或第一回复做出针对性的第二响应具体为:主设备方与从设备方完成了一次充电模式的协商,主设备方与从设备方之间根据协商结果按照第一充电模式或者第二充电模式执行充电操作,即第二适配器根据协商结果工作在第一充电模式或者第二充电模式下为待充电设备(如终端)充电。One way in which the master device can make a second response based on the first response or first reply of the slave device to the communication session may be: the master device can receive the first response or first reply made by the slave device to the communication session, and make a targeted second response based on the received first response or first reply of the slave device. For example, when the master device receives the first response or first reply of the slave device to the communication session within a preset time, the master device will make a targeted second response to the first response or first reply of the slave device. Specifically, the master device and the slave device complete a charging mode negotiation, and the master device and the slave device perform a charging operation in accordance with the first charging mode or the second charging mode according to the negotiation result, that is, the second adapter operates in the first charging mode or the second charging mode to charge the device to be charged (such as a terminal) according to the negotiation result.

作为主设备方能够根据所述从设备方针对通信会话的第一响应或第一回复做出进一步的第二响应的一种方式还可以是:主设备方在预设的时间内没有接收到所述从设备方针对通信会话的第一响应或第一回复,主设备方也会对所述从设备的第一响应或第一回复做出针对性的第二响应。作为举例,当主设备方在预设的时间内没有接收到所述从设备方针对通信会话的第一响应或第一回复,主设备方也会对所述从设备的第一响应或第一回复做出针对性的第二响应具体为:主设备方与从设备方完成了一次充电模式的协商,主设备方与从设备方之间按照第一充电模式执行充电操作,即第二适配器工作在第一充电模式下为待充电设备(如终端)充电。Another way for the master device to make a further second response based on the first response or first reply of the slave device to the communication session is: if the master device does not receive the first response or first reply of the slave device to the communication session within a preset time, the master device will also make a targeted second response to the first response or first reply of the slave device. For example, when the master device does not receive the first response or first reply of the slave device to the communication session within a preset time, the master device will also make a targeted second response to the first response or first reply of the slave device. Specifically, the master device and the slave device complete a charging mode negotiation, and the master device and the slave device perform a charging operation according to the first charging mode, that is, the second adapter operates in the first charging mode to charge the device to be charged (such as a terminal).

可选地,在一些实施例中,当待充电设备(如终端)作为主设备发起通信会话,第二适配器(或者第二适配器的控制单元)作为从设备对主设备方发起的通信会话做出第一响应或第一回复后,无需要待充电设备(如终端)对第二适配器的第一响应或第一回复做出针对性的第二响应,即可认为第二适配器(或者第二适配器的控制单元)与待充电设备(如终端)之间完成了一次充电模式的协商过程,进而第二适配器能够根据协商结果确定以第一充电模式或者第二充电模式为待充电设备(如终端)进行充电。Optionally, in some embodiments, when the device to be charged (such as a terminal) initiates a communication session as a master device, and the second adapter (or the control unit of the second adapter) makes a first response or a first reply to the communication session initiated by the master device as a slave device, there is no need for the device to be charged (such as the terminal) to make a targeted second response to the first response or the first reply of the second adapter. It can be considered that a charging mode negotiation process has been completed between the second adapter (or the control unit of the second adapter) and the device to be charged (such as the terminal), and the second adapter can determine whether to charge the device to be charged (such as the terminal) in the first charging mode or the second charging mode according to the negotiation results.

可选地,在一些实施例中,控制单元与待充电设备(如终端)进行双向通信,以控制第二适配器在第二充电模式下的输出的过程可包括:控制单元与待充电设备(如终端)进行双向通信,以确定在第二充电模式下的第二适配器输出的用于对待充电设备(如终端)进行充电的充电电压;控制单元对目标电压的电压值进行调整,使目标电压的电压值等于在第二充电模式下的第二适配器输出的用于对待充电设备(如终端)进行充电的充电电压。Optionally, in some embodiments, the process of the control unit performing bidirectional communication with the device to be charged (such as a terminal) to control the output of the second adapter in the second charging mode may include: the control unit performing bidirectional communication with the device to be charged (such as a terminal) to determine the charging voltage output by the second adapter in the second charging mode for charging the device to be charged (such as a terminal); the control unit adjusting the voltage value of the target voltage so that the voltage value of the target voltage is equal to the charging voltage output by the second adapter in the second charging mode for charging the device to be charged (such as a terminal).

具体地,控制单元与待充电设备(如终端)进行双向通信,以确定在第二充电模式下的第二适配器输出的用于对待充电设备(如终端)进行充电的充电电压可包括:控制单元向待充电设备(如终端)发送第二指令,第二指令用于询问第二适配器的输出电压与待充电设备(如终端)的电池的当前电压是否匹配;控制单元接收待充电设备(如终端)发送的第二指令的回复指令,第二指令的回复指令用于指示第二适配器的输出电压与电池的当前电压匹配、偏高或偏低。可替换地,第二指令可用于询问将第二适配器的当前输出电压作为在第二充电模式下的第二适配器输出的用于对待充电设备(如终端)进行充电的充电电压是否合适,第二指令的回复指令可用于指示当前第二适配器的输出电压合适、偏高或偏低。第二适配器的当前输出电压与电池的当前电压匹配,或者第二适配器的当前输出电压适合作为在第二充电模式下的第二适配器输出的用于对待充电设备(如终端)进行充电的充电电压可以指第二适配器的当前输出电压略高于电池的当前电压,且第二适配器的输出电压与电池的当前电压之间的差值在预设范围内(通常在几百毫伏的量级)。Specifically, the control unit performs bidirectional communication with the device to be charged (such as a terminal) to determine the charging voltage output by the second adapter in the second charging mode for charging the device to be charged (such as a terminal), which may include: the control unit sends a second instruction to the device to be charged (such as a terminal), the second instruction being used to inquire whether the output voltage of the second adapter matches the current voltage of the battery of the device to be charged (such as a terminal); the control unit receives a reply instruction to the second instruction sent by the device to be charged (such as a terminal), the reply instruction to the second instruction being used to indicate whether the output voltage of the second adapter matches the current voltage of the battery, is higher, or is lower. Alternatively, the second instruction may be used to inquire whether the current output voltage of the second adapter is appropriate as the charging voltage output by the second adapter in the second charging mode for charging the device to be charged (such as a terminal), and the reply instruction to the second instruction may be used to indicate whether the current output voltage of the second adapter is appropriate, is higher, or is lower. The current output voltage of the second adapter matches the current voltage of the battery, or the current output voltage of the second adapter is suitable as the charging voltage output by the second adapter in the second charging mode for charging the device to be charged (such as a terminal) can mean that the current output voltage of the second adapter is slightly higher than the current voltage of the battery, and the difference between the output voltage of the second adapter and the current voltage of the battery is within a preset range (usually on the order of several hundred millivolts).

可选地,在一些实施例中,控制单元与待充电设备(如终端)进行双向通信,以控制在第二充电模式下的第二适配器输出的过程可包括:控制单元与待充电设备(如终端)进行双向通信,以确定在第二充电模式下的第二适配器输出的用于对待充电设备(如终端)进行充电的充电电流;控制单元对目标电流的电流值进行调整,使目标电流的电流值等于在第二充电模式下的第二适配器输出的用于对待充电设备(如终端)进行充电的充电电流。Optionally, in some embodiments, the process of the control unit performing bidirectional communication with the device to be charged (such as a terminal) to control the output of the second adapter in the second charging mode may include: the control unit performing bidirectional communication with the device to be charged (such as a terminal) to determine the charging current output by the second adapter in the second charging mode for charging the device to be charged (such as a terminal); the control unit adjusting the current value of the target current so that the current value of the target current is equal to the charging current output by the second adapter in the second charging mode for charging the device to be charged (such as a terminal).

具体地,控制单元与待充电设备(如终端)进行双向通信,以确定在第二充电模式下的第二适配器输出的用于对待充电设备(如终端)进行充电的充电电流可包括:控制单元向待充电设备(如终端)发送第三指令,第三指令用于询问待充电设备(如终端)当前支持的最大充电电流;控制单元接收待充电设备(如终端)发送的第三指令的回复指令,第三指令的回复指令用于指示待充电设备(如终端)当前支持的最大充电电流;控制单元根据待充电设备(如终端)当前支持的最大充电电流确定在第二充电模式下的第二适配器输出的用于对待充电设备(如终端)进行充电的充电电流。应理解,控制单元根据待充电设备(如终端)当前支持的最大充电电流确定在第二充电模式下的第二适配器输出的用于对待充电设备(如终端)进行充电的充电电流的方式有多种,例如,第二适配器可以将待充电设备(如终端)当前支持的最大充电电流确定为在第二充电模式下的第二适配器输出的用于对待充电设备(如终端)进行充电的充电电流,也可以综合考虑待充电设备(如终端)当前支持的最大充电电流以及自身的电流输出能力等因素之后,确定在第二充电模式下的第二适配器输出的用于对待充电设备(如终端)进行充电的充电电流。Specifically, the control unit performs two-way communication with the device to be charged (such as a terminal) to determine the charging current output by the second adapter in the second charging mode for charging the device to be charged (such as a terminal), which may include: the control unit sends a third instruction to the device to be charged (such as a terminal), and the third instruction is used to inquire about the maximum charging current currently supported by the device to be charged (such as the terminal); the control unit receives a reply instruction to the third instruction sent by the device to be charged (such as the terminal), and the reply instruction of the third instruction is used to indicate the maximum charging current currently supported by the device to be charged (such as the terminal); the control unit determines the charging current output by the second adapter in the second charging mode for charging the device to be charged (such as the terminal) based on the maximum charging current currently supported by the device to be charged (such as the terminal). It should be understood that there are multiple ways for the control unit to determine the charging current output by the second adapter in the second charging mode for charging the device to be charged (such as the terminal) based on the maximum charging current currently supported by the device to be charged (such as the terminal). For example, the second adapter can determine the maximum charging current currently supported by the device to be charged (such as the terminal) as the charging current output by the second adapter in the second charging mode for charging the device to be charged (such as the terminal), or it can determine the charging current output by the second adapter in the second charging mode for charging the device to be charged (such as the terminal) after comprehensively considering factors such as the maximum charging current currently supported by the device to be charged (such as the terminal) and its own current output capability.

可选地,在一些实施例中,控制单元与待充电设备(如终端)进行双向通信,以控制在第二充电模式下的第二适配器的输出的过程可包括:在第二适配器使用第二充电模式为待充电设备(如终端)进行充电的过程中,控制单元与待充电设备(如终端)进行双向通信,以调整在第二充电模式下第二适配器的输出电流。Optionally, in some embodiments, the process of the control unit performing bidirectional communication with the device to be charged (such as a terminal) to control the output of the second adapter in the second charging mode may include: in the process of the second adapter using the second charging mode to charge the device to be charged (such as a terminal), the control unit performs bidirectional communication with the device to be charged (such as a terminal) to adjust the output current of the second adapter in the second charging mode.

具体地,控制单元与待充电设备(如终端)进行双向通信,以调整第二适配器的输出电流可包括:控制单元向待充电设备(如终端)发送第四指令,第四指令用于询问待充电设备(如终端)的电池的当前电压;控制单元接收第二适配器发送的第四指令的回复指令,第四指令的回复指令用于指示电池的当前电压;控制单元根据电池的当前电压,调整第二适配器的输出电流。Specifically, the control unit performs bidirectional communication with the device to be charged (such as a terminal) to adjust the output current of the second adapter, which may include: the control unit sends a fourth instruction to the device to be charged (such as a terminal), and the fourth instruction is used to inquire about the current voltage of the battery of the device to be charged (such as a terminal); the control unit receives a reply instruction to the fourth instruction sent by the second adapter, and the reply instruction of the fourth instruction is used to indicate the current voltage of the battery; the control unit adjusts the output current of the second adapter according to the current voltage of the battery.

可选地,在一些实施例中,如图19A所示,第二适配器10包括充电接口191。进一步地,在一些实施例中,第二适配器10中的控制单元(如图23中的MCU)可通过充电接口191中的数据线192与待充电设备(如终端)进行双向通信。Optionally, in some embodiments, as shown in FIG19A , the second adapter 10 includes a charging interface 191. Furthermore, in some embodiments, the control unit in the second adapter 10 (such as the MCU in FIG23 ) can perform bidirectional communication with the device to be charged (such as a terminal) via a data line 192 in the charging interface 191.

可选地,在一些实施例中,控制单元与待充电设备(如终端)进行双向通信,以控制在第二充电模式下第二适配器的输出的过程可包括:控制单元与待充电设备(如终端)进行双向通信,以确定充电接口是否接触不良。Optionally, in some embodiments, the process of the control unit performing bidirectional communication with the device to be charged (such as a terminal) to control the output of the second adapter in the second charging mode may include: the control unit performing bidirectional communication with the device to be charged (such as a terminal) to determine whether the charging interface has poor contact.

具体地,控制单元与待充电设备(如终端)进行双向通信,以便确定充电接口是否接触不良可包括:控制单元向待充电设备(如终端)发送第四指令,第四指令用于询问待充电设备(如终端)的电池的当前电压;控制单元接收待充电设备(如终端)发送的第四指令的回复指令,第四指令的回复指令用于指示待充电设备(如终端)的电池的当前电压;控制单元根据第二适配器的输出电压和待充电设备(如终端)电池的当前电压,确定充电接口是否接触不良。例如,控制单元确定第二适配器的输出电压和待充电设备(如终端)的当前电压的压差大于预设的电压阈值,则表明此时压差除以第二适配器输出的当前电流值所得到的阻抗大于预设的阻抗阈值,即可确定充电接口接触不良。Specifically, the control unit performs two-way communication with the device to be charged (such as a terminal) to determine whether the charging interface has poor contact, which may include: the control unit sends a fourth instruction to the device to be charged (such as a terminal), the fourth instruction being used to inquire about the current voltage of the battery of the device to be charged (such as a terminal); the control unit receives a reply instruction to the fourth instruction sent by the device to be charged (such as a terminal), the reply instruction to the fourth instruction being used to indicate the current voltage of the battery of the device to be charged (such as a terminal); the control unit determines whether the charging interface has poor contact based on the output voltage of the second adapter and the current voltage of the battery of the device to be charged (such as a terminal). For example, if the control unit determines that the voltage difference between the output voltage of the second adapter and the current voltage of the device to be charged (such as a terminal) is greater than a preset voltage threshold, it indicates that the impedance obtained by dividing the voltage difference by the current current value output by the second adapter is greater than the preset impedance threshold, and it can be determined that the charging interface has poor contact.

可选地,在一些实施例中,充电接口接触不良也可由待充电设备(如终端)进行确定:待充电设备(如终端)向控制单元发送第六指令,第六指令用于询问第二适配器的输出电压;待充电设备(如终端)接收控制单元发送的第六指令的回复指令,第六指令的回复指令用于指示第二适配器的输出电压;待充电设备(如终端)根据待充电设备(如终端)电池的当前电压和第二适配器的输出电压,确定充电接口是否接触不良。在待充电设备(如终端)确定充电接口接触不良后,待充电设备(如终端)向控制单元发送第五指令,第五指令用于指示充电接口接触不良。控制单元在接收到第五指令之后,可以控制第二适配器退出第二充电模式。Optionally, in some embodiments, the poor contact of the charging interface can also be determined by the device to be charged (such as a terminal): the device to be charged (such as a terminal) sends a sixth instruction to the control unit, and the sixth instruction is used to inquire about the output voltage of the second adapter; the device to be charged (such as a terminal) receives a reply instruction to the sixth instruction sent by the control unit, and the reply instruction to the sixth instruction is used to indicate the output voltage of the second adapter; the device to be charged (such as a terminal) determines whether the charging interface has poor contact based on the current voltage of the battery of the device to be charged (such as a terminal) and the output voltage of the second adapter. After the device to be charged (such as a terminal) determines that the charging interface has poor contact, the device to be charged (such as a terminal) sends a fifth instruction to the control unit, and the fifth instruction is used to indicate that the charging interface has poor contact. After receiving the fifth instruction, the control unit can control the second adapter to exit the second charging mode.

下面结合图19B,更加详细地描述第二适配器中的控制单元与待充电设备(如终端)之间的通信过程。应注意,图19B的例子仅仅是为了帮助本领域技术人员理解本发明实施例,而非要将本发明实施例限于所例示的具体数值或具体场景。本领域技术人员根据所给出的图19B的例子,显然可以进行各种等价的修改或变化,这样的修改或变化也落入本发明实施例的范围内。The following describes the communication process between the control unit in the second adapter and the device to be charged (such as a terminal) in more detail in conjunction with Figure 19B. It should be noted that the example of Figure 19B is only to help those skilled in the art understand the embodiment of the present invention, and is not intended to limit the embodiment of the present invention to the specific numerical values or specific scenarios illustrated. Based on the example of Figure 19B given, those skilled in the art can obviously make various equivalent modifications or changes, and such modifications or changes also fall within the scope of the embodiment of the present invention.

如图19B所示,在第二充电模式下第二适配器的输出对待充电设备(如终端)的充电过程,即充电过程可以包含五个阶段:As shown in FIG19B , in the second charging mode, the output of the second adapter charges the device to be charged (such as a terminal), that is, the charging process may include five stages:

阶段1:Phase 1:

待充电设备(如终端)与电源提供装置连接后,待充电设备(如终端)可以通过数据线D+、D-检测电源提供装置的类型,当检测到电源提供装置为第二适配器时,则待充电设备(如终端)吸收的电流可以大于预设的电流阈值I2(例如可以是1A)。当第二适配器中的控制单元检测到预设时长(例如,可以是连续T1时间)内第二适配器的输出电流大于或等于I2时,则控制单元可以认为待充电设备(如终端)对于电源提供装置的类型识别已经完成,控制单元开启第二适配器与待充电设备(如终端)之间的协商过程,向待充电设备(如终端)发送指令1(对应于上述第一指令),以询问待充电设备(如终端)是否同意第二适配器以第二充电模式对待充电设备(如终端)进行充电。After the device to be charged (e.g., a terminal) is connected to the power supply device, the device to be charged (e.g., a terminal) can detect the type of the power supply device via data lines D+ and D-. When the power supply device is detected to be a second adapter, the current absorbed by the device to be charged (e.g., a terminal) can be greater than a preset current threshold I2 (e.g., 1A). When the control unit in the second adapter detects that the output current of the second adapter is greater than or equal to I2 for a preset duration (e.g., a continuous duration T1), the control unit can deem that the type of the power supply device has been identified by the device to be charged (e.g., a terminal). The control unit then initiates a negotiation process between the second adapter and the device to be charged (e.g., a terminal), sending instruction 1 (corresponding to the first instruction described above) to the device to be charged (e.g., a terminal) to inquire whether the device to be charged (e.g., a terminal) agrees to the second adapter charging the device to be charged (e.g., a terminal) in the second charging mode.

当控制单元收到待充电设备(如终端)发送的指令1的回复指令,且该指令1的回复指令指示待充电设备(如终端)不同意第二适配器以第二充电模式对待充电设备(如终端)进行充电时,控制单元再次检测第二适配器的输出电流。当第二适配器的输出电流在预设的连续时长内(例如,可以是连续T1时间)仍然大于或等于I2时,控制单元再次向待充电设备(如终端)发送指令1,询问待充电设备(如终端)是否同意第二适配器以第二充电模式对待充电设备(如终端)进行充电。控制单元重复阶段1的上述步骤,直到待充电设备(如终端)同意第二适配器以第二充电模式对待充电设备(如终端)进行充电,或第二适配器的输出电流不再满足大于或等于I2的条件。When the control unit receives a reply instruction to instruction 1 sent by the device to be charged (such as a terminal), and the reply instruction to instruction 1 indicates that the device to be charged (such as a terminal) does not agree that the second adapter charges the device to be charged (such as a terminal) in the second charging mode, the control unit detects the output current of the second adapter again. When the output current of the second adapter is still greater than or equal to I2 within a preset continuous time (for example, it can be a continuous T1 time), the control unit sends instruction 1 to the device to be charged (such as a terminal) again, asking the device to be charged (such as a terminal) whether it agrees that the second adapter charges the device to be charged (such as a terminal) in the second charging mode. The control unit repeats the above steps of stage 1 until the device to be charged (such as a terminal) agrees that the second adapter charges the device to be charged (such as a terminal) in the second charging mode, or the output current of the second adapter no longer meets the condition of being greater than or equal to I2.

当待充电设备(如终端)同意第二适配器以第二充电模式对待充电设备(如终端)进行充电后,通信流程进入第2阶段。After the device to be charged (such as a terminal) agrees that the second adapter charges the device to be charged (such as a terminal) in the second charging mode, the communication process enters the second stage.

阶段2:Phase 2:

第二适配器的输出电压可以包括多个档位。控制单元向待充电设备(如终端)发送指令2(对应于上述第二指令),以询问第二适配器的输出电压(当前的输出电压)与待充电设备(如终端)电池的当前电压是否匹配。The output voltage of the second adapter can include multiple gears. The control unit sends instruction 2 (corresponding to the second instruction described above) to the device to be charged (such as a terminal) to inquire whether the output voltage (current output voltage) of the second adapter matches the current voltage of the battery of the device to be charged (such as a terminal).

待充电设备(如终端)向控制单元发送指令2的回复指令,以指示第二适配器的输出电压与待充电设备(如终端)电池的当前电压匹配、偏高或偏低。如果针对指令2的回复指令指示第二适配器的输出电压偏高或偏低,控制单元可以将第二适配器的输出电压调整一格档位,并再次向待充电设备(如终端)发送指令2,重新询问第二适配器的输出电压与待充电设备(如终端)电池的当前电压是否匹配。重复阶段2的上述步骤直到待充电设备(如终端)确定第二适配器的输出电压与待充电设备(如终端)电池的当前电压匹配,进入第3阶段。The device to be charged (such as a terminal) sends a reply instruction to instruction 2 to the control unit to indicate whether the output voltage of the second adapter matches, is higher or lower than the current voltage of the battery of the device to be charged (such as a terminal). If the reply instruction to instruction 2 indicates that the output voltage of the second adapter is higher or lower, the control unit can adjust the output voltage of the second adapter by one level and send instruction 2 to the device to be charged (such as a terminal) again to re-inquire whether the output voltage of the second adapter matches the current voltage of the battery of the device to be charged (such as a terminal). Repeat the above steps of stage 2 until the device to be charged (such as a terminal) determines that the output voltage of the second adapter matches the current voltage of the battery of the device to be charged (such as a terminal), and enter stage 3.

阶段3:Phase 3:

控制单元向待充电设备(如终端)发送指令3(对应于上述第三指令),询问待充电设备(如终端)当前支持的最大充电电流。待充电设备(如终端)向控制单元发送指令3的回复指令,以指示待充电设备(如终端)当前支持的最大充电电流,并进入第4阶段。The control unit sends instruction 3 (corresponding to the third instruction described above) to the device to be charged (e.g., a terminal), inquiring about the maximum charging current currently supported by the device to be charged (e.g., a terminal). The device to be charged (e.g., a terminal) sends a reply instruction to instruction 3 to the control unit, indicating the maximum charging current currently supported by the device to be charged (e.g., a terminal), and enters stage 4.

阶段4:Phase 4:

控制单元根据待充电设备(如终端)当前支持的最大充电电流,确定在第二充电模式下第二适配器输出的用于对待充电设备(如终端)进行充电的充电电流,然后进入阶段5,即恒流充电阶段。The control unit determines the charging current output by the second adapter for charging the device to be charged (such as the terminal) in the second charging mode according to the maximum charging current currently supported by the device to be charged (such as the terminal), and then enters stage 5, that is, the constant current charging stage.

阶段5:Phase 5:

在进入恒流充电阶段后,控制单元可以每间隔一段时间向待充电设备(如终端)发送指令4(对应于上述第四指令),询问待充电设备(如终端)电池的当前电压。待充电设备(如终端)可以向控制单元发送指令4的回复指令,以反馈待充电设备(如终端)电池的当前电压。控制单元可以根据待充电设备(如终端)电池的当前电压,判断充电接口的接触是否良好,以及是否需要降低第二适配器的输出电流。当第二适配器判断充电接口的接触不良时,可以向待充电设备(如终端)发送指令5(对应于上述第五指令),第二适配器会退出第二充电模式,然后复位并重新进入阶段1。After entering the constant current charging stage, the control unit may send instruction 4 (corresponding to the fourth instruction mentioned above) to the device to be charged (such as a terminal) at intervals to inquire about the current voltage of the battery of the device to be charged (such as a terminal). The device to be charged (such as a terminal) may send a reply instruction to instruction 4 to the control unit to feedback the current voltage of the battery of the device to be charged (such as a terminal). The control unit may determine whether the contact of the charging interface is good and whether the output current of the second adapter needs to be reduced based on the current voltage of the battery of the device to be charged (such as a terminal). When the second adapter determines that the contact of the charging interface is poor, it may send instruction 5 (corresponding to the fifth instruction mentioned above) to the device to be charged (such as a terminal), and the second adapter will exit the second charging mode, then reset and re-enter stage 1.

可选地,在一些实施例中,在阶段1中,待充电设备(如终端)发送指令1的回复指令时,指令1的回复指令中可以携带该待充电设备(如终端)的通路阻抗的数据(或信息)。待充电设备(如终端)的通路阻抗数据可用于在阶段5判断充电接口的接触是否良好。Optionally, in some embodiments, in stage 1, when the device to be charged (e.g., a terminal) sends a reply to instruction 1, the reply to instruction 1 may include data (or information) about the path impedance of the device to be charged (e.g., a terminal). The path impedance data of the device to be charged (e.g., a terminal) can be used to determine whether the contact of the charging interface is good in stage 5.

可选地,在一些实施例中,在阶段2中,从待充电设备(如终端)同意第二适配器在第二充电模式下对待充电设备(如终端)进行充电到控制单元将第二适配器的输出电压调整到合适的充电电压所经历的时间可以控制在一定范围之内。如果该时间超出预定范围,则第二适配器或待充电设备(如终端)可以判定快充通信过程异常,复位以重新进入阶段1。Optionally, in some embodiments, in stage 2, the time from when the device to be charged (e.g., a terminal) agrees that the second adapter can charge the device to be charged (e.g., a terminal) in the second charging mode to when the control unit adjusts the output voltage of the second adapter to an appropriate charging voltage can be controlled within a certain range. If the time exceeds the predetermined range, the second adapter or the device to be charged (e.g., a terminal) can determine that the fast charging communication process is abnormal and reset to re-enter stage 1.

可选地,在一些实施例中,在阶段2中,当第二适配器的输出电压比待充电设备(如终端)电池的当前电压高ΔV(ΔV可以设定为200~500mV)时,待充电设备(如终端)可以向控制单元发送指令2的回复指令,以指示第二适配器的输出电压与待充电设备(如终端)的电池电压匹配。Optionally, in some embodiments, in stage 2, when the output voltage of the second adapter is higher than the current voltage of the battery of the device to be charged (such as a terminal) by ΔV (ΔV can be set to 200-500mV), the device to be charged (such as a terminal) can send a reply instruction of instruction 2 to the control unit to indicate that the output voltage of the second adapter matches the battery voltage of the device to be charged (such as a terminal).

可选地,在一些实施例中,在阶段4中,第二适配器的输出电流的调整速度可以控制一定范围之内,这样可以避免由于调整速度过快而导致在第二充电模式下第二适配器输出对待充电设备(如终端)的充电过程发生异常。Optionally, in some embodiments, in stage 4, the adjustment speed of the output current of the second adapter can be controlled within a certain range, so as to avoid abnormal charging process of the second adapter output to the charged device (such as a terminal) in the second charging mode due to excessively fast adjustment speed.

可选地,在一些实施例中,在阶段5中,第二适配器的输出电流的变化幅度可以控制在5%以内。Optionally, in some embodiments, in stage 5, the variation of the output current of the second adapter may be controlled within 5%.

可选地,在一些实施例中,在阶段5中,控制单元可以实时监测充电电路的通路阻抗。具体地,控制单元可以根据第二适配器的输出电压、输出电流及待充电设备(如终端)反馈的电池的当前电压,监测充电电路的通路阻抗。当“充电电路的通路阻抗”>“待充电设备(如终端)的通路阻抗+充电线缆的阻抗”时,可以认为充电接口接触不良,第二适配器停止在第二充电模式下对待充电设备(如终端)进行充电。Optionally, in some embodiments, in stage 5, the control unit may monitor the path impedance of the charging circuit in real time. Specifically, the control unit may monitor the path impedance of the charging circuit based on the output voltage and output current of the second adapter and the current voltage of the battery fed back by the device to be charged (such as a terminal). When "path impedance of the charging circuit" > "path impedance of the device to be charged (such as a terminal) + impedance of the charging cable", it can be considered that the charging interface has poor contact, and the second adapter stops charging the device to be charged (such as a terminal) in the second charging mode.

可选地,在一些实施例中,第二适配器开启在第二充电模式下对待充电设备(如终端)进行充电之后,控制单元与待充电设备(如终端)之间的通信时间间隔可以控制在一定范围之内,避免通信间隔过短而导致通信过程发生异常。Optionally, in some embodiments, after the second adapter is turned on to charge the device to be charged (such as a terminal) in the second charging mode, the communication time interval between the control unit and the device to be charged (such as a terminal) can be controlled within a certain range to avoid abnormalities in the communication process caused by too short a communication interval.

可选地,在一些实施例中,充电过程的停止(或第二适配器在第二充电模式下对待充电设备(如终端)的充电过程的停止)可以分为可恢复的停止和不可恢复的停止两种。Optionally, in some embodiments, stopping of the charging process (or stopping of the charging process of the device to be charged (such as a terminal) by the second adapter in the second charging mode) can be divided into two types: a recoverable stop and an irrecoverable stop.

例如,当检测到待充电设备(如终端)的电池充满或充电接口接触不良时,充电过程停止,充电通信过程复位,充电过程重新进入阶段1。然后,待充电设备(如终端)不同意第二适配器在第二充电模式下对待充电设备(如终端)进行充电,则通信流程不进入阶段2。这种情况下的充电过程的停止可以视为不可恢复的停止。For example, when it is detected that the battery of the device to be charged (such as a terminal) is fully charged or the charging interface is in poor contact, the charging process is stopped, the charging communication process is reset, and the charging process re-enters Phase 1. Subsequently, if the device to be charged (such as a terminal) does not agree to the second adapter charging the device to be charged (such as a terminal) in the second charging mode, the communication process does not enter Phase 2. The suspension of the charging process in this case can be considered an irreversible suspension.

又例如,当控制单元与待充电设备(如终端)之间出现通信异常时,充电过程停止,充电通信过程复位,充电过程重新进入阶段1。在满足阶段1的要求后,待充电设备(如终端)同意第二适配器在第二充电模式下对待充电设备(如终端)进行充电以恢复充电过程。这种情况下的充电过程的停止可以视为可恢复的停止。For another example, when a communication anomaly occurs between the control unit and the device to be charged (e.g., a terminal), the charging process is stopped, the charging communication process is reset, and the charging process re-enters Phase 1. After the requirements of Phase 1 are met, the device to be charged (e.g., a terminal) agrees that the second adapter can charge the device to be charged (e.g., a terminal) in the second charging mode to resume the charging process. The suspension of the charging process in this case can be considered a recoverable suspension.

又例如,当待充电设备(如终端)检测到电池出现异常时,充电过程停止,充电通信过程复位,充电过程重新进入阶段1。然后,待充电设备(如终端)不同意第二适配器在第二充电模式下对待充电设备(如终端)进行充电。当电池恢复正常,且满足阶段1的要求后,待充电设备(如终端)同意第二适配器在第二充电模式下对待充电设备(如终端)进行充电。这种情况下的快充过程的停止可以视为可恢复的停止。For another example, when the device to be charged (such as a terminal) detects that the battery is abnormal, the charging process stops, the charging communication process is reset, and the charging process re-enters phase 1. Then, the device to be charged (such as a terminal) does not agree that the second adapter charges the device to be charged (such as a terminal) in the second charging mode. When the battery returns to normal and meets the requirements of phase 1, the device to be charged (such as a terminal) agrees that the second adapter charges the device to be charged (such as a terminal) in the second charging mode. The stop of the fast charging process in this case can be regarded as a recoverable stop.

以上对图19B示出的通信步骤或操作仅是示例。例如,在阶段1中,待充电设备(如终端)与第二适配器进行连接后,待充电设备(如终端)与控制单元之间的握手通信也可以由待充电设备(如终端)发起,即待充电设备(如终端)发送指令1,询问控制单元是否开启第二充电模式。当待充电设备(如终端)接收到控制单元的回复指令指示控制单元同意第二适配器在第二充电模式下对待充电设备(如终端)进行充电时,第二适配器开始在第二充电模式下对待充电设备(如终端)的电池进行充电。The above communication steps or operations shown in Figure 19B are only examples. For example, in stage 1, after the device to be charged (such as a terminal) is connected to the second adapter, the handshake communication between the device to be charged (such as a terminal) and the control unit can also be initiated by the device to be charged (such as a terminal), that is, the device to be charged (such as a terminal) sends an instruction 1 to ask the control unit whether to turn on the second charging mode. When the device to be charged (such as a terminal) receives a reply instruction from the control unit indicating that the control unit agrees that the second adapter charges the device to be charged (such as a terminal) in the second charging mode, the second adapter starts to charge the battery of the device to be charged (such as a terminal) in the second charging mode.

又如,在阶段5之后,还可包括恒压充电阶段。具体地,在阶段5中,待充电设备(如终端)可以向控制单元反馈电池的当前电压,当电池的当前电压达到恒压充电电压阈值时,充电阶段从恒流充电阶段转入恒压充电阶段。在恒压充电阶段中,充电电流逐渐减小,当电流下降至某一阈值时停止整个充电过程,表示待充电设备(如终端)的电池已经被充满。For another example, after stage 5, a constant voltage charging stage may also be included. Specifically, in stage 5, the device to be charged (such as a terminal) may feed back the current voltage of the battery to the control unit. When the current voltage of the battery reaches the constant voltage charging voltage threshold, the charging stage switches from the constant current charging stage to the constant voltage charging stage. During the constant voltage charging stage, the charging current gradually decreases. When the current drops to a certain threshold, the entire charging process stops, indicating that the battery of the device to be charged (such as a terminal) has been fully charged.

可选地,在一些实施例中,第二适配器的输出电流为脉动直流电(或称单向脉动的输出电流,或称脉动波形的电流,或称馒头波电流)。脉动直流电的波形如图20所示。Optionally, in some embodiments, the output current of the second adapter is pulsating direct current (or unidirectional pulsating output current, or current with a pulsating waveform, or steamed bun wave current). The waveform of pulsating direct current is shown in FIG20 .

随着第二适配器的输出功率变大,第二适配器在对待充电设备(如终端)内的电池进行充电时,容易造成电池的析锂现象,从而降低电池的使用寿命。为了提高电池的可靠性和安全性,本发明实施例控制第二适配器输出脉动直流电。脉动直流电能够减少充电接口的触点的拉弧的概率和强度,提高充电接口的寿命。将第二适配器的输出电流设置为脉动直流电的方式可以有多种,例如,可以去掉功率转换单元11中的次级滤波单元,将次级电流整流之后直接输出,形成脉动直流电。As the output power of the second adapter increases, the second adapter is likely to cause lithium deposition in the battery when charging the battery in the charging device (such as a terminal), thereby reducing the service life of the battery. In order to improve the reliability and safety of the battery, the embodiment of the present invention controls the second adapter to output pulsating direct current. Pulsating direct current can reduce the probability and intensity of arcing of the contacts of the charging interface and increase the life of the charging interface. There are many ways to set the output current of the second adapter to pulsating direct current. For example, the secondary filter unit in the power conversion unit 11 can be removed, and the secondary current can be rectified and directly output to form pulsating direct current.

进一步地,如图21所示,在上述任一实施例的基础上,第二适配器10可支持第一充电模式和第二充电模式,第二适配器在第二充电模式下对待充电设备(如终端)的充电速度快于第二适配器在第一充电模式下对待充电设备(如终端)的充电速度。功率转换单元11可包括次级滤波单元211,第二适配器10可包括控制单元212,控制单元212与次级滤波单元211相连。在第一充电模式下,控制单元212控制次级滤波单元211工作,使得第二适配器10的输出电压的电压值恒定。在第二充电模式下,控制单元212控制次级滤波单元211停止工作,使得第二适配器10的输出电流为脉动直流电。Furthermore, as shown in FIG21 , based on any of the above embodiments, the second adapter 10 may support a first charging mode and a second charging mode, and the second adapter charges the device to be charged (such as a terminal) faster in the second charging mode than in the first charging mode. The power conversion unit 11 may include a secondary filter unit 211, and the second adapter 10 may include a control unit 212, which is connected to the secondary filter unit 211. In the first charging mode, the control unit 212 controls the secondary filter unit 211 to operate so that the output voltage of the second adapter 10 is constant. In the second charging mode, the control unit 212 controls the secondary filter unit 211 to stop operating so that the output current of the second adapter 10 is pulsating direct current.

本发明实施例中,控制单元可以控制次级滤波单元是否工作,使得第二适配器既可以输出电流值恒定的普通直流电,也可以输出电流值变化的脉动直流电,从而兼容了现有的充电模式。In the embodiment of the present invention, the control unit can control whether the secondary filter unit is working, so that the second adapter can output both ordinary DC power with a constant current value and pulsating DC power with a variable current value, thereby being compatible with the existing charging mode.

可选地,在一些实施例中,第二适配器10支持第二充电模式。第二充电模式可以为恒流模式,在第二充电模式下,第二适配器的输出电流为交流电,交流电同样能够降低锂电芯的析锂现象,提高电芯的使用寿命。Optionally, in some embodiments, the second adapter 10 supports a second charging mode. The second charging mode may be a constant current mode. In the second charging mode, the output current of the second adapter is alternating current, which can also reduce lithium plating in lithium batteries and increase the service life of the batteries.

可选地,在一些实施例中,第二适配器10支持第二充电模式,第二充电模式可以为恒流模式,在第二充电模式下,第二适配器的输出电压和输出电流直接加载在待充电设备(如终端)的电池的两端,为电池进行直充。Optionally, in some embodiments, the second adapter 10 supports a second charging mode, which can be a constant current mode. In the second charging mode, the output voltage and output current of the second adapter are directly loaded on both ends of the battery of the device to be charged (such as a terminal) to directly charge the battery.

具体地,直充可以指将第二适配器的输出电压和输出电流直接加载在(或者直接引导至)待充电设备(如终端)电池的两端,为待充电设备(如终端)的电池充电,中间无需经过变换电路对第二适配器的输出电流或输出电压进行变换,避免变换过程带来的能量损失。在使用第二充电模式进行充电的过程中,为了能够调整充电电路上的充电电压或充电电流,可以将第二适配器设计成智能的适配器,由第二适配器完成充电电压或充电电流的变换,这样可以减轻待充电设备(如终端)的负担,并降低待充电设备的发热量。本文中的恒流模式是指对第二适配器的输出电流进行控制的充电模式,并非要求第二适配器的输出电流保持恒定不变。实际中,第二适配器在恒流模式下通常采用分段恒流的方式进行充电。Specifically, direct charging can refer to directly loading the output voltage and output current of the second adapter on (or directly guiding) the two ends of the battery of the device to be charged (such as a terminal) to charge the battery of the device to be charged (such as a terminal), without the need to convert the output current or output voltage of the second adapter through a conversion circuit, thereby avoiding energy loss caused by the conversion process. In the process of charging using the second charging mode, in order to be able to adjust the charging voltage or charging current on the charging circuit, the second adapter can be designed as an intelligent adapter, and the second adapter completes the conversion of the charging voltage or charging current, which can reduce the burden on the device to be charged (such as a terminal) and reduce the heat generated by the device to be charged. The constant current mode in this article refers to a charging mode that controls the output current of the second adapter, and does not require the output current of the second adapter to remain constant. In practice, the second adapter usually uses a segmented constant current method for charging in the constant current mode.

分段恒流充电(Multi-stage constant current charging)具有N个充电阶段(N为一个不小于2的整数)。分段恒流充电可以以预定的充电电流开始第一阶段充电。所述分段恒流充电的N个充电阶段从第一阶段到第(N-1)个阶段依次被执行,当充电阶段中的前一个充电阶段转到下一个充电阶段后,充电电流值变小;当电池电压到达充电终止电压阈值时,充电阶段中的前一个充电阶段会转到下一个充电阶段。Multi-stage constant current charging has N charging stages (N is an integer not less than 2). The first stage of multi-stage constant current charging begins with a predetermined charging current. The N charging stages of multi-stage constant current charging are executed sequentially from the first stage to the (N-1)th stage. When the previous charging stage in the charging stage transitions to the next charging stage, the charging current value decreases. When the battery voltage reaches the charge termination voltage threshold, the previous charging stage in the charging stage transitions to the next charging stage.

进一步地,在第二适配器的输出电流为脉动直流电的情况下,恒流模式可以指对脉动直流电的峰值或均值进行控制的充电模式,即控制第二适配器的输出电流的峰值不超过恒流模式对应的电流,如图22所示。此外,第二适配器的输出电流为交流电的情况下,恒流模式可以指对交流电的峰值进行控制的充电模式。Furthermore, when the output current of the second adapter is pulsating direct current, the constant current mode may refer to a charging mode that controls the peak value or average value of the pulsating direct current, that is, controls the peak value of the output current of the second adapter to not exceed the current corresponding to the constant current mode, as shown in Figure 22. Furthermore, when the output current of the second adapter is alternating current, the constant current mode may refer to a charging mode that controls the peak value of the alternating current.

下面结合具体例子,更加详细地描述本发明实施例。应注意,图23的例子仅仅是为了帮助本领域技术人员理解本发明实施例,而非要将本发明实施例限于所例示的具体数值或具体场景。本领域技术人员根据所给出的图23的例子,显然可以进行各种等价的修改或变化,这样的修改或变化也落入本发明实施例的范围内。The embodiments of the present invention are described in more detail below with reference to specific examples. It should be noted that the example of FIG. 23 is merely intended to help those skilled in the art understand the embodiments of the present invention, and is not intended to limit the embodiments of the present invention to the specific numerical values or specific scenarios illustrated. Those skilled in the art can obviously make various equivalent modifications or changes based on the example of FIG. 23, and such modifications or changes also fall within the scope of the embodiments of the present invention.

第二适配器包括功率转换单元(对应于上文中的功率转换单元11)。如图23所示,该功率转换单元可包括交流电AC的输入端,初级整流单元231,变压器T1,次级整流单元232和次级滤波单元233。The second adapter includes a power conversion unit (corresponding to the power conversion unit 11 mentioned above). As shown in FIG23 , the power conversion unit may include an AC input terminal, a primary rectifier unit 231 , a transformer T1 , a secondary rectifier unit 232 , and a secondary filter unit 233 .

具体地,交流电AC的输入端引入市电(一般是220V的交流电),然后将市电传输至初级整流单元231。Specifically, the AC input terminal introduces the mains power (generally 220V AC), and then transmits the mains power to the primary rectifier unit 231 .

初级整流单元231用于将市电转换成第一脉动直流电,然后将第一脉动直流电传输至变压器T1。初级整流单元231可以是桥式整流单元,例如可以是如图23所示的全桥整流单元,或者,也可以是半桥整流单元,本发明实施例对此不作具体限定。Primary rectifier unit 231 is used to convert AC power into a first pulsating DC power, and then transmit the first pulsating DC power to transformer T1. Primary rectifier unit 231 can be a bridge rectifier unit, such as a full-bridge rectifier unit as shown in Figure 23, or a half-bridge rectifier unit, which is not specifically limited in this embodiment of the present invention.

现有的适配器的初级侧包括初级滤波单元,初级滤波单元一般基于液态铝质电解电容进行滤波,而液态铝质电解电容的体积较大,会导致适配器的体积较大,本发明实施例提供的第二适配器的初级侧不包括初级滤波单元,这样可以大幅减小第二适配器的体积。The primary side of the existing adapter includes a primary filtering unit, which is generally based on a liquid aluminum electrolytic capacitor for filtering. However, the liquid aluminum electrolytic capacitor is large in volume, which will cause the adapter to be larger in volume. The primary side of the second adapter provided in an embodiment of the present invention does not include a primary filtering unit, which can greatly reduce the volume of the second adapter.

变压器T1用于将第一脉动直流电从变压器的初级耦合至次级,得到第二脉动直流电,并由变压器T1的次级绕组输出该第二脉动直流电。变压器T1可以是普通变压器,也可以是工作频率为50KHz-2MHz的高频变压器。变压器T1的初级绕组的个数及连接形式与第二适配器中采用的开关电源的类型有关,本发明实施例对此不作具体限定。如图23所示,第二适配器可以采用反激式开关电源。变压器的初级绕组的一端与初级整流单元231相连,初级绕组的另一端与PWM控制器所控制的开关相连。当然,第二适配器还可以是采用正激式开关电源,或推挽式开关电源的第二适配器。不同类型的开关电源中的初级整流单元和变压器具有各自的连接形式,为了简洁,这里不再一一列举。Transformer T1 is used to couple the first pulsating DC power from the primary to the secondary of the transformer, generating a second pulsating DC power, which is then outputted from the secondary winding of transformer T1. Transformer T1 can be a conventional transformer or a high-frequency transformer operating at a frequency of 50 kHz to 2 MHz. The number and connection configuration of transformer T1's primary windings are related to the type of switching power supply used in the second adapter, and are not specifically limited in this embodiment of the present invention. As shown in FIG23 , the second adapter can utilize a flyback switching power supply. One end of the transformer's primary winding is connected to the primary rectifier unit 231, and the other end of the primary winding is connected to a switch controlled by a PWM controller. Of course, the second adapter can also utilize a forward switching power supply or a push-pull switching power supply. The primary rectifier unit and transformer in different types of switching power supplies have different connection configurations, which are not listed here for the sake of brevity.

次级整流单元232用于对变压器T1的次级绕组输出的第二脉动直流电进行整流,得到第三脉动直流电。次级整流单元232的形式有多种,图23所示了一种典型的次级同步整流电路,该同步整流电路包括同步整流(Synchronous Rectifier,SR)芯片,受该SR芯片控制的MOS(Metal Oxide Semiconductor,MOS)管,以及连接在MOS管源极和漏极两端的二极管。所述SR芯片向MOS管的栅极发出PWM控制信号,控制该MOS管的通断,从而实现次级的同步整流。The secondary rectifier unit 232 is used to rectify the second pulsating DC power output by the secondary winding of transformer T1 to obtain a third pulsating DC power. The secondary rectifier unit 232 can be implemented in various forms. Figure 23 shows a typical secondary synchronous rectification circuit, which includes a synchronous rectifier (SR) chip, a MOS (Metal Oxide Semiconductor, MOS) transistor controlled by the SR chip, and a diode connected to the source and drain of the MOS transistor. The SR chip sends a PWM control signal to the gate of the MOS transistor, controlling the on and off of the MOS transistor, thereby achieving secondary synchronous rectification.

次级滤波单元233用于对次级整流单元232输出的第二脉动直流电进行整流,得到第二适配器的输出电压和输出电流(即图23中的VBUS和GND两端的电压和电流)。图23的实施例中,次级滤波单元233中的电容可以采用固态电容,或固态电容与普通电容(如陶瓷电容)并联的方式进行滤波。The secondary filter unit 233 is configured to rectify the second pulsating DC power output by the secondary rectifier unit 232 to obtain the output voltage and output current of the second adapter (i.e., the voltage and current across VBUS and GND in FIG23 ). In the embodiment of FIG23 , the capacitors in the secondary filter unit 233 can be solid-state capacitors, or solid-state capacitors can be connected in parallel with ordinary capacitors (e.g., ceramic capacitors) for filtering.

进一步地,次级滤波单元233还可以包含开关单元,如图23中的开关管Q1。该开关管Q1接收MCU发送的控制信号。当MCU控制开关管Q1闭合时,次级滤波单元233工作,使得第二适配器工作在第一充电模式。在第一充电模式下,第二适配器的输出电压可以为5V,输出电流为平稳的直流电。当MCU控制开关管Q1断开时,次级滤波单元233停止工作,第二适配器工作在第二充电模式。在第二充电模式下,第二适配器直接将次级整流单元232整流得到的脉动直流电输出。Furthermore, the secondary filtering unit 233 may also include a switching unit, such as the switch tube Q1 in Figure 23. The switch tube Q1 receives a control signal sent by the MCU. When the MCU controls the switch tube Q1 to be closed, the secondary filtering unit 233 operates, so that the second adapter operates in the first charging mode. In the first charging mode, the output voltage of the second adapter can be 5V, and the output current is a smooth direct current. When the MCU controls the switch tube Q1 to be disconnected, the secondary filtering unit 233 stops working, and the second adapter operates in the second charging mode. In the second charging mode, the second adapter directly outputs the pulsating direct current obtained by the rectification of the secondary rectifier unit 232.

进一步地,第二适配器可包括电压反馈单元(对应于上文中的电压反馈单元12)。如图23所示,电压反馈单元可包括电阻R1、电阻R2和第一运放OPA1。Furthermore, the second adapter may include a voltage feedback unit (corresponding to the voltage feedback unit 12 mentioned above). As shown in FIG23 , the voltage feedback unit may include a resistor R1, a resistor R2 and a first operational amplifier OPA1.

具体地,电阻R1和电阻R2对第二适配器的输出电压(即VBUS上的电压)进行采样,并将采样得到的第一电压发送至OPA1的反相输入端,以指示第二适配器的输出电压的大小。第一运放OPA1的同相输入端通过DAC1与MCU的DAC1端口相连。MCU通过控制DAC1的输出的模拟量的大小,调节第一运放OPA1的参考电压(对应于上文中的第一参考电压)的电压值,进而调节电压反馈单元对应的目标电压的电压值。Specifically, resistors R1 and R2 sample the output voltage of the second adapter (i.e., the voltage on VBUS) and send the sampled first voltage to the inverting input of OPA1 to indicate the magnitude of the second adapter's output voltage. The non-inverting input of the first op amp OPA1 is connected to the DAC1 port of the MCU via DAC1. The MCU adjusts the voltage value of the reference voltage of the first op amp OPA1 (corresponding to the first reference voltage mentioned above) by controlling the magnitude of the analog quantity output by DAC1, thereby adjusting the voltage value of the target voltage corresponding to the voltage feedback unit.

进一步地,第二适配器可包括电流反馈单元(对应于上文中的电流反馈单元13)。如图23所示,电流反馈单元可包括电阻R3、检流计、电阻R4、电阻R5和第二运放OPA2。Furthermore, the second adapter may include a current feedback unit (corresponding to the current feedback unit 13 mentioned above). As shown in FIG23 , the current feedback unit may include a resistor R3, a galvanometer, a resistor R4, a resistor R5, and a second operational amplifier OPA2.

具体地,电阻R3为检流电阻。检流计通过检测流过电阻R3的电流得到第二适配器的输出电流,然后将第二适配器的输出电流转换成对应的电压值输出至电阻R4和电阻R5两端进行分压,得到第二电压。第二电压可用于指示第二适配器的输出电流的大小。第二运放OPA2的反相输入端用于接收第二电压。第二运放OPA2的同相输入端通过DAC2与MCU的DAC2端口相连。MCU通过控制DAC2的输出的模拟量的大小,调节第二运放OPA2的参考电压(对应于上文中的第二参考电压)的电压值,进而调节电流反馈单元对应的目标电流的电流值。Specifically, resistor R3 is a current-sensing resistor. The galvanometer obtains the output current of the second adapter by detecting the current flowing through resistor R3, and then converts the output current of the second adapter into a corresponding voltage value and outputs it to resistors R4 and R5 for voltage division to obtain a second voltage. The second voltage can be used to indicate the magnitude of the output current of the second adapter. The inverting input terminal of the second operational amplifier OPA2 is used to receive the second voltage. The non-inverting input terminal of the second operational amplifier OPA2 is connected to the DAC2 port of the MCU through DAC2. The MCU adjusts the voltage value of the reference voltage of the second operational amplifier OPA2 (corresponding to the second reference voltage mentioned above) by controlling the magnitude of the analog quantity output by DAC2, thereby adjusting the current value of the target current corresponding to the current feedback unit.

第二适配器还包括功率调整单元(对应于上文中的功率调整单元14)。如图23所示,功率调整单元可包括第一二极管D1、第二二极管D2、光电耦合单元234、PWM控制器和开关管Q2。The second adapter further includes a power adjustment unit (corresponding to the power adjustment unit 14 mentioned above). As shown in FIG23 , the power adjustment unit may include a first diode D1, a second diode D2, a photoelectric coupling unit 234, a PWM controller, and a switch tube Q2.

具体地,第一二极管D1和第二二极管D2是两个反向并联的二极管,第一二极管D1和第二二极管D2的正极连接于图23所示的反馈点。光电耦合单元234的输入端用于接收反馈点的电压信号。在反馈点的电压低于光电耦合单元234的工作电压VDD时,光电耦合单元234开始工作,向PWM控制器的FB端提供反馈电压。PWM控制器通过比较CS端和FB端的电压,控制PWM端输出的PWM信号的占空比。当第一运放OPA1输出的电压信号(即上文中的电压反馈信号)为0,或第二运放OPA2输出的电压信号(即上文中的电流反馈信号)为0时,FB端的电压稳定,PWM控制器的PWM端输出的PWM控制信号的占空比保持一定。PWM控制器的PWM端通过开关管Q2与变压器T1的初级绕组相连,用于控制第二适配器的输出电压和输出电流。当PWM端发出的控制信号的占空比一定时,第二适配器的输出电压和输出电流也就保持稳定。Specifically, the first diode D1 and the second diode D2 are two diodes connected in reverse parallel, with the anodes of the first diode D1 and the second diode D2 connected to the feedback point shown in Figure 23. The input terminal of the photoelectric coupling unit 234 is used to receive the voltage signal at the feedback point. When the voltage at the feedback point is lower than the operating voltage VDD of the photoelectric coupling unit 234, the photoelectric coupling unit 234 begins to operate and provides a feedback voltage to the FB terminal of the PWM controller. The PWM controller controls the duty cycle of the PWM signal output by the PWM terminal by comparing the voltages at the CS terminal and the FB terminal. When the voltage signal output by the first operational amplifier OPA1 (i.e., the voltage feedback signal described above) is 0, or when the voltage signal output by the second operational amplifier OPA2 (i.e., the current feedback signal described above) is 0, the voltage at the FB terminal is stable, and the duty cycle of the PWM control signal output by the PWM terminal of the PWM controller remains constant. The PWM terminal of the PWM controller is connected to the primary winding of the transformer T1 via the switch Q2, and is used to control the output voltage and output current of the second adapter. When the duty cycle of the control signal output by the PWM terminal is constant, the output voltage and output current of the second adapter also remain stable.

进一步地,图23的第二适配器还包括第一调整单元和第二调整单元。如图23所示,第一调整单元包括MCU(对应于上文中的控制单元)和DAC1,用于调整第一运放OPA1的参考电压的电压值,进而调整电压反馈单元对应的目标电压的电压值。第二调整单元包括MCU(对应于上文中的控制单元)和DAC2,用于调整第二运放OPA2的参考电压,进而调整电流反馈单元对应的目标电流的电流值。Furthermore, the second adapter of FIG23 further includes a first adjustment unit and a second adjustment unit. As shown in FIG23 , the first adjustment unit includes an MCU (corresponding to the control unit described above) and DAC1, and is used to adjust the voltage value of the reference voltage of the first op amp OPA1, thereby adjusting the voltage value of the target voltage corresponding to the voltage feedback unit. The second adjustment unit includes an MCU (corresponding to the control unit described above) and DAC2, and is used to adjust the reference voltage of the second op amp OPA2, thereby adjusting the current value of the target current corresponding to the current feedback unit.

MCU能够根据第二适配器当前使用的充电模式对目标电压的电压值和目标电流的电流值进行调整。例如,当第二适配器使用恒压模式进行充电时,可以将目标电压调整为恒压模式对应的电压,将目标电流调整为恒压模式下允许输出的最大电流。又如,当第二适配器使用恒流模式充电时,可以将目标电流调整为恒流模式对应的电流,将目标电压调整为恒流模式下允许输出的最大电压。The MCU can adjust the target voltage and target current based on the charging mode currently used by the second adapter. For example, when the second adapter is charging in constant voltage mode, the target voltage can be adjusted to the voltage corresponding to the constant voltage mode, and the target current can be adjusted to the maximum current allowed to be output in the constant voltage mode. For another example, when the second adapter is charging in constant current mode, the target current can be adjusted to the current corresponding to the constant current mode, and the target voltage can be adjusted to the maximum voltage allowed to be output in the constant current mode.

举例说明,在恒压模式下,可以将目标电压调整为固定电压值(如5V)。考虑到初级侧并未设置初级滤波单元(初级滤波单元采用体积较大的液态铝质电解电容,为了减小第二适配器的体积,本发明实施例将初级滤波单元去掉),次级滤波单元233的带负载能力有限,可以将目标电流设置为500mA或1A。第二适配器首先基于电压反馈环将输出电压调整至5V。一旦第二适配器的输出电流达到目标电流,通过电流反馈环控制第二适配器的输出电流不得超过目标电流。在恒流模式下,可以将目标电流设置为4A,将目标电压设置为5V。由于第二适配器的输出电流为脉动直流电,通过电流反馈环可以将高于4A的电流进行削峰处理,使脉动直流电的电流峰值保持在4A。一旦第二适配器的输出电压超过目标电压,通过电压反馈环控制第二适配器的输出电压不得超过目标电压。For example, in constant voltage mode, the target voltage can be adjusted to a fixed voltage value (such as 5V). Taking into account that the primary side is not provided with a primary filter unit (the primary filter unit adopts a liquid aluminum electrolytic capacitor with a larger volume. In order to reduce the volume of the second adapter, the embodiment of the present invention removes the primary filter unit), the load capacity of the secondary filter unit 233 is limited, and the target current can be set to 500mA or 1A. The second adapter first adjusts the output voltage to 5V based on the voltage feedback loop. Once the output current of the second adapter reaches the target current, the output current of the second adapter is controlled by the current feedback loop not to exceed the target current. In constant current mode, the target current can be set to 4A and the target voltage can be set to 5V. Since the output current of the second adapter is pulsating direct current, the current feedback loop can be used to clip the current above 4A, so that the current peak of the pulsating direct current is maintained at 4A. Once the output voltage of the second adapter exceeds the target voltage, the output voltage of the second adapter is controlled by the voltage feedback loop not to exceed the target voltage.

此外,MCU还可以包括通信接口。MCU通过该通信接口可以与待充电设备(如终端)进行双向通信,控制第二适配器的充电过程。以充电接口为USB接口为例,该通信接口也可以是该USB接口。具体地,第二适配器可以使用USB接口中的电源线为待充电设备(如终端)进行充电,并使用USB接口中的数据线(D+和/或D-)与待充电设备(如终端)进行通信。In addition, the MCU may also include a communication interface. The MCU can communicate bidirectionally with the device to be charged (such as a terminal) through the communication interface to control the charging process of the second adapter. Taking the charging interface as a USB interface as an example, the communication interface can also be the USB interface. Specifically, the second adapter can use the power cord in the USB interface to charge the device to be charged (such as a terminal) and use the data line (D+ and/or D-) in the USB interface to communicate with the device to be charged (such as a terminal).

此外,光电耦合单元234还可与稳压单元相连,使得光耦的工作电压保持稳定。如图23所示,本发明实施例中的稳压单元可以采用低压差稳压器(Low Dropout Regulator,LDO)实现。In addition, the photoelectric coupling unit 234 can also be connected to a voltage stabilizing unit to keep the working voltage of the photocoupler stable. As shown in FIG23 , the voltage stabilizing unit in the embodiment of the present invention can be implemented using a low dropout regulator (LDO).

图23是以控制单元(MCU)通过DAC1调整第一运放OPA1的参考电压为例进行举例说明的,这种参考电压的调整方式对应于图4所示的参考电压调整方式,但本发明实施例不限于此,还可以采用如图5至-图8描述的任意一种参考电压调整方式,为了简洁,此处不再详述。FIG23 illustrates an example in which the control unit (MCU) adjusts the reference voltage of the first operational amplifier OPA1 through DAC1. This reference voltage adjustment method corresponds to the reference voltage adjustment method shown in FIG4 , but the embodiment of the present invention is not limited thereto. Any reference voltage adjustment method described in FIG5 to FIG8 may also be used. For the sake of brevity, these are not described in detail here.

图23是以控制单元(MCU)通过DAC2调整第二运放OPA2的参考电压为例进行举例说明的,这种参考电压的调整方式对应于图12所示的参考电压调整方式,但本发明实施例不限于此,还可以采用如图13至-图16描述的任意一种参考电压调整方式,为了简洁,此处不再详述。FIG23 illustrates an example in which the control unit (MCU) adjusts the reference voltage of the second operational amplifier OPA2 through DAC2. This reference voltage adjustment method corresponds to the reference voltage adjustment method shown in FIG12 , but the embodiment of the present invention is not limited thereto. Any reference voltage adjustment method described in FIG13 to FIG16 may also be used. For the sake of brevity, these are not described in detail here.

上文结合图1-图23,详细描述了本发明的装置实施例,下文结合图24,详细描述本发明实施例的方法实施例,应理解,方法侧的描述与装置侧的描述相互对应,为了简洁,适当省略重复的描述。The above text, in combination with Figures 1 to 23, describes in detail an embodiment of the device of the present invention. The following text, in combination with Figure 24, describes in detail a method embodiment of an embodiment of the present invention. It should be understood that the description on the method side corresponds to the description on the device side. For the sake of brevity, repeated descriptions are appropriately omitted.

图24是根据本发明实施例的充电控制方法的示意性流程图。图24的充电方法可以由上文中的第二适配器10执行,该方法可包括如下动作。Fig. 24 is a schematic flow chart of a charging control method according to an embodiment of the present invention. The charging method of Fig. 24 can be executed by the second adapter 10 described above, and the method may include the following actions.

2410、对输入的交流电转进行转换,以得到第二适配器的输出电压和输出电流。2410. Convert the input AC power to obtain an output voltage and an output current of a second adapter.

2420、对第二适配器的输出电压进行检测,以生成电压反馈信号,电压反馈信号用于指示第二适配器的输出电压是否达到设定的目标电压。2420. Detect the output voltage of the second adapter to generate a voltage feedback signal, where the voltage feedback signal is used to indicate whether the output voltage of the second adapter reaches a set target voltage.

2430、对第二适配器的输出电流进行检测,以生成电流反馈信号,电流反馈信号用于指示第二适配器的输出电流是否达到设定的目标电流。2430. Detect the output current of the second adapter to generate a current feedback signal, where the current feedback signal is used to indicate whether the output current of the second adapter reaches a set target current.

2440、在电压反馈信号指示第二适配器的输出电压达到目标电压,或电流反馈信号指示第二适配器的输出电流达到目标电流的情况下,稳定第二适配器的输出电压和输出电流。2440. When the voltage feedback signal indicates that the output voltage of the second adapter reaches the target voltage, or the current feedback signal indicates that the output current of the second adapter reaches the target current, stabilize the output voltage and output current of the second adapter.

可选地,在一些实施例中,第二适配器支持第一充电模式,第一充电模式为恒压模式。在恒压模式下,目标电压为恒压模式对应的电压,目标电流为第二适配器在恒压模式下允许输出的最大电流。图24的方法还可包括:根据电压反馈信号,将第二适配器的输出电压调整至恒压模式对应的电压。2440中可包括:当电流反馈信号指示第二适配器的输出电流达到第二适配器在恒压模式下允许输出的最大电流时,控制第二适配器的输出电流不超过第二适配器在恒压模式下允许输出的最大电流。Optionally, in some embodiments, the second adapter supports a first charging mode, which is a constant voltage mode. In the constant voltage mode, the target voltage is the voltage corresponding to the constant voltage mode, and the target current is the maximum current allowed to be output by the second adapter in the constant voltage mode. The method of FIG24 may further include: adjusting the output voltage of the second adapter to the voltage corresponding to the constant voltage mode based on the voltage feedback signal. 2440 may include: when the current feedback signal indicates that the output current of the second adapter has reached the maximum current allowed to be output by the second adapter in the constant voltage mode, controlling the output current of the second adapter to not exceed the maximum current allowed to be output by the second adapter in the constant voltage mode.

可选地,在一些实施例中,第二适配器包括初级整流单元、变压器、次级整流单元和次级滤波单元,所述初级整流单元将脉动波形的电压直接输出至所述变压器。Optionally, in some embodiments, the second adapter includes a primary rectifying unit, a transformer, a secondary rectifying unit, and a secondary filtering unit, and the primary rectifying unit directly outputs a pulsating waveform voltage to the transformer.

可选地,在一些实施例中,第二适配器在恒压模式下允许输出的最大电流是基于次级滤波单元中的电容的容量确定的。Optionally, in some embodiments, the maximum current allowed to be output by the second adapter in the constant voltage mode is determined based on the capacity of the capacitor in the secondary filter unit.

可选地,在一些实施例中,第二适配器支持第二充电模式。第二充电模式为恒流模式。在恒流模式下,目标电压为第二适配器在恒流模式下允许输出的最大电压,目标电流为恒流模式对应的电流。图24的方法还包括:根据电流反馈信号,将第二适配器的输出电流调整至恒流模式对应的电流。2440中可包括:当电压反馈信号指示第二适配器的输出电压达到第二适配器在恒流模式下允许输出的最大电压时,控制第二适配器的输出电压不超过第二适配器在恒流模式下允许输出的最大电压。Optionally, in some embodiments, the second adapter supports a second charging mode. The second charging mode is a constant current mode. In the constant current mode, the target voltage is the maximum voltage allowed to be output by the second adapter in the constant current mode, and the target current is the current corresponding to the constant current mode. The method of Figure 24 also includes: adjusting the output current of the second adapter to the current corresponding to the constant current mode based on the current feedback signal. 2440 may include: when the voltage feedback signal indicates that the output voltage of the second adapter has reached the maximum voltage allowed to be output by the second adapter in the constant current mode, controlling the output voltage of the second adapter to not exceed the maximum voltage allowed to be output by the second adapter in the constant current mode.

可选地,在一些实施例中,图24的方法还可包括:调整目标电压的取值。Optionally, in some embodiments, the method of FIG. 24 may further include: adjusting the value of the target voltage.

可选地,在一些实施例中,第二适配器支持第一充电模式和第二充电模式,所述调整目标电压的取值可包括:基于第二适配器当前使用的第一充电模式或第二充电模式,调整目标电压的取值。Optionally, in some embodiments, the second adapter supports a first charging mode and a second charging mode, and adjusting the target voltage value may include: adjusting the target voltage value based on the first charging mode or the second charging mode currently used by the second adapter.

可选地,在一些实施例中,对第二适配器的输出电压进行检测,以生成电压反馈信号可包括:对第二适配器的输出电压进行采样,得到第一电压;比较第一电压和第一参考电压;基于第一电压和第一参考电压的比较结果,生成电压反馈信号;调整目标电压的取值,包括:通过调整第一参考电压的取值,调整目标电压的取值。Optionally, in some embodiments, detecting the output voltage of the second adapter to generate a voltage feedback signal may include: sampling the output voltage of the second adapter to obtain a first voltage; comparing the first voltage with a first reference voltage; generating a voltage feedback signal based on the comparison result of the first voltage and the first reference voltage; adjusting the value of the target voltage, including: adjusting the value of the target voltage by adjusting the value of the first reference voltage.

可选地,在一些实施例中,所述第一参考电压的取值是基于第一DAC调整的。Optionally, in some embodiments, the value of the first reference voltage is adjusted based on a first DAC.

可选地,在一些实施例中,所述第一参考电压的取值是基于RC滤波单元调整的。Optionally, in some embodiments, the value of the first reference voltage is adjusted based on an RC filtering unit.

可选地,在一些实施例中,所述第一参考电压的取值是基于数字电位器调整的。Optionally, in some embodiments, the value of the first reference voltage is adjusted based on a digital potentiometer.

可选地,在一些实施例中,对第二适配器的输出电压进行检测,以生成电压反馈信号可包括:按照设定的分压比对第二适配器的输出电压进行分压,生成第一电压;比较第一电压和第一参考电压;基于第一电压和第一参考电压的比较结果,生成电压反馈信号;所述调整目标电压的取值可包括:通过调整分压比,调整目标电压的电压值。Optionally, in some embodiments, detecting the output voltage of the second adapter to generate a voltage feedback signal may include: dividing the output voltage of the second adapter according to a set voltage division ratio to generate a first voltage; comparing the first voltage with a first reference voltage; generating a voltage feedback signal based on the comparison result of the first voltage and the first reference voltage; and adjusting the value of the target voltage may include: adjusting the voltage value of the target voltage by adjusting the voltage division ratio.

可选地,在一些实施例中,所述分压比是数字电位器的分压比。Optionally, in some embodiments, the voltage division ratio is a voltage division ratio of a digital potentiometer.

可选地,在一些实施例中,图24的方法还可包括:调整目标电流的电流值。Optionally, in some embodiments, the method of FIG. 24 may further include: adjusting the current value of the target current.

可选地,在一些实施例中,第二适配器支持第一充电模式和第二充电模式。所述调整目标电流的电流值可包括:基于第二适配器当前使用的第一充电模式或第二充电模式,调整目标电流的电流值。Optionally, in some embodiments, the second adapter supports a first charging mode and a second charging mode. Adjusting the current value of the target current may include adjusting the current value of the target current based on the first charging mode or the second charging mode currently used by the second adapter.

可选地,在一些实施例中,对第二适配器的输出电流进行检测,以生成电流反馈信号可包括:对第二适配器的输出电流进行采样,得到第二电压,第二电压用于指示第二适配器的输出电流的大小;比较第二电压和第二参考电压;基于第二电压和第二参考电压的比较结果,生成电流反馈信号;所述调整目标电流的电流值可包括:通过调整第二参考电压的电压值,调整目标电流的电流值。Optionally, in some embodiments, detecting the output current of the second adapter to generate a current feedback signal may include: sampling the output current of the second adapter to obtain a second voltage, where the second voltage is used to indicate the magnitude of the output current of the second adapter; comparing the second voltage with a second reference voltage; generating a current feedback signal based on the comparison result of the second voltage and the second reference voltage; and adjusting the current value of the target current may include: adjusting the current value of the target current by adjusting the voltage value of the second reference voltage.

可选地,在一些实施例中,所述第二参考电压的取值是基于第二DAC调整的。Optionally, in some embodiments, the value of the second reference voltage is adjusted based on a second DAC.

可选地,在一些实施例中,所述第二参考电压的取值是基于RC滤波单元调整的。Optionally, in some embodiments, the value of the second reference voltage is adjusted based on an RC filtering unit.

可选地,在一些实施例中,所述第二参考电压的取值是基于数字电位器调整的。Optionally, in some embodiments, the value of the second reference voltage is adjusted based on a digital potentiometer.

可选地,在一些实施例中,所述对第二适配器的输出电流进行检测,以生成电流反馈信号可包括:对第二适配器的输出电流进行采样,得到第三电压,第三电压用于指示第二适配器的输出电流的大小;按照设定的分压比对第三电压进行分压,生成第二电压;比较第二电压和第二参考电压;基于第二电压和第二参考电压的比较结果,生成电流反馈信号;所述调整目标电流的电流值可包括:通过调整分压比,调整目标电流的电流值。Optionally, in some embodiments, detecting the output current of the second adapter to generate a current feedback signal may include: sampling the output current of the second adapter to obtain a third voltage, the third voltage being used to indicate the magnitude of the output current of the second adapter; dividing the third voltage according to a set voltage division ratio to generate a second voltage; comparing the second voltage with a second reference voltage; and generating a current feedback signal based on the comparison result of the second voltage and the second reference voltage; and adjusting the current value of the target current may include: adjusting the current value of the target current by adjusting the voltage division ratio.

可选地,在一些实施例中,所述分压比是数字电位器的分压比。Optionally, in some embodiments, the voltage division ratio is a voltage division ratio of a digital potentiometer.

可选地,在一些实施例中,所述第二适配器支持第一充电模式和第二充电模式。所述第二适配器在所述第二充电模式下对待充电设备的充电速度快于所述第二适配器在所述第一充电模式下对所述待充电设备的充电速度。图24的方法还可包括:在所述第二适配器与待充电设备连接的过程中,与所述待充电设备进行双向通信,以控制在所述第二充电模式下的所述第二适配器的输出。Optionally, in some embodiments, the second adapter supports a first charging mode and a second charging mode. In the second charging mode, the second adapter charges the device to be charged faster than in the first charging mode. The method of FIG. 24 may further include: while the second adapter is connected to the device to be charged, performing bidirectional communication with the device to be charged to control an output of the second adapter in the second charging mode.

可选地,在一些实施例中,所述与所述待充电设备进行双向通信,以控制在所述第二充电模式下的所述第二适配器的输出的过程可包括:与所述待充电设备进行双向通信,以协商所述第二适配器与所述待充电设备之间的充电模式。Optionally, in some embodiments, the process of performing bidirectional communication with the device to be charged to control the output of the second adapter in the second charging mode may include: performing bidirectional communication with the device to be charged to negotiate a charging mode between the second adapter and the device to be charged.

可选地,在一些实施例中,所述与所述待充电设备进行双向通信,以协商所述第二适配器与所述待充电设备之间的充电模式可包括:向所述待充电设备发送第一指令,所述第一指令用于询问所述待充电设备是否开启所述第二充电模式;接收所述待充电设备发送的所述第一指令的回复指令,所述第一指令的回复指令用于指示所述待充电设备是否同意开启所述第二充电模式;在所述待充电设备同意开启所述第二充电模式的情况下,使用所述第二充电模式为所述待充电设备充电。Optionally, in some embodiments, the two-way communication with the device to be charged to negotiate the charging mode between the second adapter and the device to be charged may include: sending a first instruction to the device to be charged, the first instruction being used to inquire the device to be charged whether to turn on the second charging mode; receiving a reply instruction to the first instruction sent by the device to be charged, the reply instruction to the first instruction being used to indicate whether the device to be charged agrees to turn on the second charging mode; and using the second charging mode to charge the device to be charged if the device to be charged agrees to turn on the second charging mode.

可选地,在一些实施例中,所述与所述待充电设备进行双向通信,以控制在所述第二充电模式下的所述第二适配器的输出的过程可包括:与所述待充电设备进行双向通信,以确定在所述第二充电模式下的所述第二适配器输出的用于对所述待充电设备进行充电的充电电压;对所述目标电压的电压值进行调整,使所述目标电压的电压值等于在所述第二充电模式下的所述第二适配器输出的用于对所述待充电设备进行充电的充电电压。Optionally, in some embodiments, the process of performing bidirectional communication with the device to be charged to control the output of the second adapter in the second charging mode may include: performing bidirectional communication with the device to be charged to determine the charging voltage output by the second adapter in the second charging mode for charging the device to be charged; and adjusting the voltage value of the target voltage so that the voltage value of the target voltage is equal to the charging voltage output by the second adapter in the second charging mode for charging the device to be charged.

可选地,在一些实施例中,所述与所述待充电设备进行双向通信,以确定在所述第二充电模式下的所述第二适配器输出的用于对所述待充电设备进行充电的充电电压可包括:向所述待充电设备发送第二指令,所述第二指令用于询问所述第二适配器的输出电压与所述待充电设备的电池的当前电压是否匹配;接收所述待充电设备发送的所述第二指令的回复指令,所述第二指令的回复指令用于指示所述第二适配器的输出电压与所述电池的当前电压匹配、偏高或偏低。Optionally, in some embodiments, the two-way communication with the device to be charged to determine the charging voltage output by the second adapter in the second charging mode for charging the device to be charged may include: sending a second instruction to the device to be charged, the second instruction being used to inquire whether the output voltage of the second adapter matches the current voltage of the battery of the device to be charged; and receiving a reply instruction to the second instruction sent by the device to be charged, the reply instruction to the second instruction being used to indicate whether the output voltage of the second adapter matches, is higher than, or is lower than the current voltage of the battery.

可选地,在一些实施例中,所述与所述待充电设备进行双向通信,以控制在所述第二充电模式下的所述第二适配器的输出的过程可包括:与所述待充电设备进行双向通信,以确定在所述第二充电模式下的所述第二适配器输出的用于对所述待充电设备进行充电的充电电流;对所述目标电流的电流值进行调整,使所述目标电流的电流值等于在所述第二充电模式下的所述第二适配器输出的用于对所述待充电设备进行充电的充电电流。Optionally, in some embodiments, the process of performing bidirectional communication with the device to be charged to control the output of the second adapter in the second charging mode may include: performing bidirectional communication with the device to be charged to determine the charging current output by the second adapter in the second charging mode for charging the device to be charged; and adjusting the current value of the target current so that the current value of the target current is equal to the charging current output by the second adapter in the second charging mode for charging the device to be charged.

可选地,在一些实施例中,所述与所述待充电设备进行双向通信,以确定在所述第二充电模式下的所述第二适配器输出的用于对所述待充电设备进行充电的充电电流可包括:向所述待充电设备发送第三指令,所述第三指令用于询问所述待充电设备当前支持的最大充电电流;接收所述待充电设备发送的所述第三指令的回复指令,所述第三指令的回复指令用于指示所述待充电设备当前支持的最大充电电流;根据所述待充电设备当前支持的最大充电电流确定在所述第二充电模式下的所述第二适配器输出的用于对所述待充电设备进行充电的充电电流。Optionally, in some embodiments, the two-way communication with the device to be charged to determine the charging current output by the second adapter in the second charging mode for charging the device to be charged may include: sending a third instruction to the device to be charged, the third instruction being used to inquire about the maximum charging current currently supported by the device to be charged; receiving a reply instruction to the third instruction sent by the device to be charged, the reply instruction to the third instruction being used to indicate the maximum charging current currently supported by the device to be charged; and determining the charging current output by the second adapter in the second charging mode for charging the device to be charged based on the maximum charging current currently supported by the device to be charged.

可选地,在一些实施例中,所述与所述待充电设备进行双向通信,以控制在所述第二充电模式下的所述第二适配器的输出的过程可包括:在使用所述第二充电模式充电的过程中,与所述待充电设备进行双向通信,以调整所述第二适配器的输出电流。Optionally, in some embodiments, the process of performing bidirectional communication with the device to be charged to control the output of the second adapter in the second charging mode may include: performing bidirectional communication with the device to be charged to adjust the output current of the second adapter during charging using the second charging mode.

可选地,在一些实施例中,所述与所述待充电设备进行双向通信,以调整所述第二适配器的输出电流可包括:向所述待充电设备发送的第四指令,所述第四指令用于询问所述待充电设备的电池的当前电压;接收所述第二适配器发送的所述第四指令的回复指令,所述第四指令的回复指令用于指示所述电池的当前电压;根据所述电池的当前电压,调整所述第二适配器的输出电流。Optionally, in some embodiments, the two-way communication with the device to be charged to adjust the output current of the second adapter may include: sending a fourth instruction to the device to be charged, the fourth instruction being used to inquire about the current voltage of the battery of the device to be charged; receiving a reply instruction to the fourth instruction sent by the second adapter, the reply instruction to the fourth instruction being used to indicate the current voltage of the battery; and adjusting the output current of the second adapter according to the current voltage of the battery.

可选地,在一些实施例中,所述第二适配器包括充电接口。所述第二适配器通过所述充电接口中的数据线与所述待充电设备进行双向通信。Optionally, in some embodiments, the second adapter includes a charging interface, and the second adapter performs bidirectional communication with the device to be charged via a data line in the charging interface.

可选地,在一些实施例中,所述第二适配器支持第二充电模式。所述第二充电模式为恒流模式,且在所述第二充电模式下,所述第二适配器的输出电流为脉动直流电。Optionally, in some embodiments, the second adapter supports a second charging mode, wherein the second charging mode is a constant current mode, and in the second charging mode, the output current of the second adapter is pulsating direct current.

可选地,在一些实施例中,所述第二适配器支持第一充电模式。所述第一充电模式为恒压模式。所述第二适配器包括次级滤波单元,图24的方法还可包括:在所述第一充电模式下,控制所述次级滤波单元工作,使得所述第二适配器的输出电压的电压值恒定;在所述第二充电模式下,控制所述次级滤波单元停止工作,使得所述第二适配器的输出电流为脉动直流电。Optionally, in some embodiments, the second adapter supports a first charging mode. The first charging mode is a constant voltage mode. The second adapter includes a secondary filter unit. The method of FIG24 may further include: in the first charging mode, controlling the secondary filter unit to operate so that the output voltage of the second adapter is constant; in the second charging mode, controlling the secondary filter unit to stop operating so that the output current of the second adapter is pulsating direct current.

可选地,在一些实施例中,所述第二适配器支持第二充电模式。所述第二充电模式为恒流模式,且在所述第二充电模式下,所述第二适配器的输出电流为交流电。Optionally, in some embodiments, the second adapter supports a second charging mode, wherein the second charging mode is a constant current mode, and in the second charging mode, the output current of the second adapter is alternating current.

可选地,在一些实施例中,所述第二适配器支持第二充电模式。在所述第二充电模式下,所述第二适配器的输出电压和输出电流直接加载在所述待充电设备的电池的两端,为所述电池进行直充。Optionally, in some embodiments, the second adapter supports a second charging mode. In the second charging mode, the output voltage and output current of the second adapter are directly applied to both ends of the battery of the device to be charged, thereby directly charging the battery.

可选地,在一些实施例中,所述第二适配器是用于为移动待充电设备充电的第二适配器。Optionally, in some embodiments, the second adapter is a second adapter for charging a mobile device to be charged.

可选地,在一些实施例中,所述第二适配器包括用于对充电过程进行控制的控制单元,所述控制单元为MCU。Optionally, in some embodiments, the second adapter includes a control unit for controlling the charging process, and the control unit is an MCU.

可选地,在一些实施例中,所述第二适配器包括充电接口,所述充电接口为USB接口。Optionally, in some embodiments, the second adapter includes a charging interface, and the charging interface is a USB interface.

应理解,本文中的“第一适配器”和“第二适配器”仅是为了描述的方便,并非要对本发明实施例的适配器的具体类型进行限定。It should be understood that the “first adapter” and “second adapter” herein are merely for the convenience of description and are not intended to limit the specific types of adapters in the embodiments of the present invention.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present invention.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,第二适配器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, second adapter or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any modifications or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present invention should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.

Claims (63)

1.一种适配器,其特征在于,所述适配器包括:1. An adapter, characterized in that the adapter comprises: 功率转换单元,用于对输入的交流电转进行转换,以得到所述适配器的输出电压和输出电流;A power conversion unit is used to convert the input AC power to obtain the output voltage and output current of the adapter; 电压反馈单元,所述电压反馈单元的输入端与所述功率转换单元相连,所述电压反馈单元用于对所述适配器的输出电压进行检测,以生成电压反馈信号,所述电压反馈信号用于指示所述适配器的输出电压是否达到设定的目标电压;A voltage feedback unit, the input terminal of which is connected to the power conversion unit, is used to detect the output voltage of the adapter to generate a voltage feedback signal, which is used to indicate whether the output voltage of the adapter has reached the set target voltage. 电流反馈单元,所述电流反馈单元的输入端与所述功率转换单元相连,所述电流反馈单元用于对所述适配器的输出电流进行检测,以生成电流反馈信号,所述电流反馈信号用于指示所述适配器的输出电流是否达到设定的目标电流;A current feedback unit is provided, the input of which is connected to the power conversion unit. The current feedback unit is used to detect the output current of the adapter to generate a current feedback signal, which is used to indicate whether the output current of the adapter has reached the set target current. 功率调整单元,所述功率调整单元的输入端与所述电压反馈单元的输出端和所述电流反馈单元的输出端相连,所述功率调整单元的输出端与所述功率转换单元相连,所述功率调整单元用于接收所述电压反馈信号和所述电流反馈信号,并在所述电压反馈信号指示所述适配器的输出电压达到所述目标电压,或所述电流反馈信号指示所述适配器的输出电流达到所述目标电流的情况下,稳定所述适配器的输出电压和输出电流,其中,所述目标电压和所述目标电流为所述适配器根据从待充电设备接收的电池的状态信息实时调整的。A power adjustment unit is provided, wherein the input terminal of the power adjustment unit is connected to the output terminal of the voltage feedback unit and the output terminal of the current feedback unit, and the output terminal of the power adjustment unit is connected to the power conversion unit. The power adjustment unit is used to receive the voltage feedback signal and the current feedback signal, and to stabilize the output voltage and output current of the adapter when the voltage feedback signal indicates that the output voltage of the adapter reaches the target voltage, or the current feedback signal indicates that the output current of the adapter reaches the target current. The target voltage and the target current are adjusted by the adapter in real time based on the battery status information received from the device to be charged. 2.如权利要求1所述的适配器,其特征在于,所述适配器还包括第一调整单元,所述第一调整单元与所述电压反馈单元相连,用于调整所述目标电压的取值。2. The adapter as claimed in claim 1, wherein the adapter further comprises a first adjustment unit, the first adjustment unit being connected to the voltage feedback unit and used to adjust the value of the target voltage. 3.如权利要求2所述的适配器,其特征在于,所述电压反馈单元包括:3. The adapter as claimed in claim 2, wherein the voltage feedback unit comprises: 电压采样单元,所述电压采样单元的输入端与所述功率转换单元相连,用于对所述适配器的输出电压进行采样,得到第一电压;A voltage sampling unit, the input terminal of which is connected to the power conversion unit, is used to sample the output voltage of the adapter to obtain a first voltage; 电压比较单元,所述电压比较单元的输入端与所述电压采样单元的输出端相连,用于比较所述第一电压和第一参考电压,并基于所述第一电压和所述第一参考电压的比较结果,生成所述电压反馈信号;A voltage comparison unit, the input of which is connected to the output of the voltage sampling unit, is used to compare the first voltage and the first reference voltage, and generate the voltage feedback signal based on the comparison result of the first voltage and the first reference voltage; 所述第一调整单元与所述电压比较单元相连,为所述电压比较单元提供所述第一参考电压,并通过调整所述第一参考电压的取值,调整所述目标电压的取值。The first adjustment unit is connected to the voltage comparison unit, provides the first reference voltage to the voltage comparison unit, and adjusts the value of the target voltage by adjusting the value of the first reference voltage. 4.如权利要求3所述的适配器,其特征在于,所述第一调整单元包括控制单元和第一DAC,所述第一DAC的输入端与所述控制单元相连,所述第一DAC的输出端与所述电压比较单元相连,所述控制单元通过所述第一DAC调整所述第一参考电压的取值。4. The adapter as claimed in claim 3, wherein the first adjustment unit includes a control unit and a first DAC, the input terminal of the first DAC is connected to the control unit, the output terminal of the first DAC is connected to the voltage comparison unit, and the control unit adjusts the value of the first reference voltage through the first DAC. 5.如权利要求3或4所述的适配器,其特征在于,所述电压比较单元包括第一运放,所述电压比较单元的第一运放的反相输入端用于接收所述第一电压,所述电压比较单元的第一运放的同相输入端用于接收所述第一参考电压,所述电压比较单元的第一运放的输出端用于生成所述电压反馈信号。5. The adapter as described in claim 3 or 4, wherein the voltage comparison unit includes a first operational amplifier, the inverting input terminal of the first operational amplifier of the voltage comparison unit is used to receive the first voltage, the non-inverting input terminal of the first operational amplifier of the voltage comparison unit is used to receive the first reference voltage, and the output terminal of the first operational amplifier of the voltage comparison unit is used to generate the voltage feedback signal. 6.如权利要求2-4中任一项所述的适配器,其特征在于,所述适配器支持第一充电模式和第二充电模式,所述第一调整单元基于所述适配器当前使用的第一充电模式或第二充电模式,调整所述目标电压的取值。6. The adapter as described in any one of claims 2-4, wherein the adapter supports a first charging mode and a second charging mode, and the first adjustment unit adjusts the value of the target voltage based on the first charging mode or the second charging mode currently used by the adapter. 7.如权利要求1-4中任一项所述的适配器,其特征在于,所述适配器还包括第二调整单元,所述第二调整单元与所述电流反馈单元相连,用于调整所述目标电流的电流值。7. The adapter as described in any one of claims 1-4, wherein the adapter further comprises a second adjustment unit connected to the current feedback unit for adjusting the current value of the target current. 8.如权利要求7所述的适配器,其特征在于,所述电流反馈单元包括:8. The adapter as claimed in claim 7, wherein the current feedback unit comprises: 电流采样单元,所述电流采样单元的输入端与所述功率转换单元相连,用于对所述适配器的输出电流进行采样,得到第二电压,所述第二电压用于指示所述适配器的输出电流的大小;A current sampling unit, the input terminal of which is connected to the power conversion unit, is used to sample the output current of the adapter to obtain a second voltage, which is used to indicate the magnitude of the output current of the adapter. 电流比较单元,所述电流比较单元的输入端与所述电流采样单元的输出端相连,用于比较所述第二电压和第二参考电压,并基于所述第二电压和所述第二参考电压的比较结果,生成所述电流反馈信号;A current comparison unit, the input terminal of which is connected to the output terminal of the current sampling unit, is used to compare the second voltage and the second reference voltage, and generate the current feedback signal based on the comparison result of the second voltage and the second reference voltage; 所述第二调整单元与所述电流比较单元相连,为所述电流比较单元提供所述第二参考电压,并通过调整所述第二参考电压的电压值,调整所述目标电流的电流值。The second adjustment unit is connected to the current comparison unit, provides the second reference voltage to the current comparison unit, and adjusts the current value of the target current by adjusting the voltage value of the second reference voltage. 9.如权利要求8所述的适配器,其特征在于,所述第二调整单元包括控制单元和第二DAC,所述第二DAC的输入端与所述控制单元相连,所述第二DAC的输出端与所述电流比较单元相连,所述控制单元通过所述第二DAC调整所述第二参考电压的电压值。9. The adapter as claimed in claim 8, wherein the second adjustment unit includes a control unit and a second DAC, the input terminal of the second DAC is connected to the control unit, the output terminal of the second DAC is connected to the current comparison unit, and the control unit adjusts the voltage value of the second reference voltage through the second DAC. 10.如权利要求8所述的适配器,其特征在于,所述电流比较单元包括第二运放,所述电流比较单元的第二运放的反相输入端用于接收所述第二电压,所述电流比较单元的第二运放的同相输入端用于接收所述第二参考电压,所述电流比较单元的第二运放的输出端用于生成所述电流反馈信号。10. The adapter as claimed in claim 8, wherein the current comparison unit includes a second operational amplifier, the inverting input terminal of the second operational amplifier of the current comparison unit is used to receive the second voltage, the non-inverting input terminal of the second operational amplifier of the current comparison unit is used to receive the second reference voltage, and the output terminal of the second operational amplifier of the current comparison unit is used to generate the current feedback signal. 11.如权利要求8所述的适配器,其特征在于,所述适配器支持第一充电模式和第二充电模式,所述第二调整单元基于所述适配器当前使用的第一充电模式或第二充电模式,调整所述目标电流的电流值。11. The adapter as claimed in claim 8, wherein the adapter supports a first charging mode and a second charging mode, and the second adjustment unit adjusts the current value of the target current based on the first charging mode or the second charging mode currently used by the adapter. 12.如权利要求1-4中任一项所述的适配器,其特征在于,所述适配器支持第一充电模式,所述第一充电模式为恒压模式,在所述恒压模式下,所述目标电压为所述恒压模式对应的电压,所述目标电流为所述适配器在所述恒压模式下允许输出的最大电流;12. The adapter as described in any one of claims 1-4, wherein the adapter supports a first charging mode, the first charging mode being a constant voltage mode, wherein in the constant voltage mode, the target voltage is the voltage corresponding to the constant voltage mode, and the target current is the maximum current that the adapter is allowed to output in the constant voltage mode; 所述功率调整单元用于根据所述电压反馈信号,将所述适配器的输出电压调整至所述恒压模式对应的电压,并当所述电流反馈信号指示所述适配器的输出电流达到所述适配器在所述恒压模式下允许输出的最大电流时,控制所述适配器的输出电流不超过所述适配器在所述恒压模式下允许输出的最大电流。The power adjustment unit is used to adjust the output voltage of the adapter to the voltage corresponding to the constant voltage mode according to the voltage feedback signal, and when the current feedback signal indicates that the output current of the adapter reaches the maximum current allowed to be output by the adapter in the constant voltage mode, it controls the output current of the adapter not to exceed the maximum current allowed to be output by the adapter in the constant voltage mode. 13.如权利要求12所述的适配器,其特征在于,所述功率转换单元包括初级整流单元、变压器、次级整流单元和次级滤波单元,所述初级整流单元将脉动波形的电压直接输出至所述变压器。13. The adapter as claimed in claim 12, wherein the power conversion unit comprises a primary rectifier unit, a transformer, a secondary rectifier unit, and a secondary filter unit, wherein the primary rectifier unit directly outputs the voltage of the pulsating waveform to the transformer. 14.如权利要求13所述的适配器,其特征在于,所述适配器在所述恒压模式下允许输出的最大电流是基于所述次级滤波单元中的电容的容量确定的。14. The adapter as claimed in claim 13, wherein the maximum current allowed to be output by the adapter in the constant voltage mode is determined based on the capacitance of the capacitor in the secondary filter unit. 15.如权利要求1-4中任一项所述的适配器,其特征在于,所述适配器支持第二充电模式,所述第二充电模式为恒流模式,在所述恒流模式下,所述目标电压为所述适配器在所述恒流模式下允许输出的最大电压,所述目标电流为所述恒流模式对应的电流;15. The adapter as described in any one of claims 1-4, wherein the adapter supports a second charging mode, the second charging mode being a constant current mode, wherein in the constant current mode, the target voltage is the maximum voltage that the adapter is allowed to output in the constant current mode, and the target current is the current corresponding to the constant current mode; 所述功率调整单元具体用于根据所述电流反馈信号,将所述适配器的输出电流调整至所述恒流模式对应的电流,并当所述电压反馈信号指示所述适配器的输出电压达到所述适配器在所述恒流模式下允许输出的最大电压时,控制所述适配器的输出电压不超过所述适配器在所述恒流模式下允许输出的最大电压。The power adjustment unit is specifically used to adjust the output current of the adapter to the current corresponding to the constant current mode according to the current feedback signal, and when the voltage feedback signal indicates that the output voltage of the adapter reaches the maximum voltage allowed to be output by the adapter in the constant current mode, control the output voltage of the adapter not to exceed the maximum voltage allowed to be output by the adapter in the constant current mode. 16.如权利要求1-4中任一项所述的适配器,其特征在于,所述电压反馈单元包括第一运放,所述电压反馈单元的第一运放的输出端用于输出所述电压反馈信号,所述电流反馈单元包括第二运放,所述电流反馈单元的第二运放的输出端用于输出所述电流反馈信号;16. The adapter according to any one of claims 1-4, wherein the voltage feedback unit includes a first operational amplifier, the output terminal of the first operational amplifier of the voltage feedback unit is used to output the voltage feedback signal, and the current feedback unit includes a second operational amplifier, the output terminal of the second operational amplifier of the current feedback unit is used to output the current feedback signal; 所述功率调整单元包括第一二极管、第二二极管、光电耦合单元和脉冲宽度调制PWM控制单元,所述电压反馈单元的第一运放的输出端与所述第一二极管的负极相连,所述第一二极管的正极与所述光电耦合单元的输入端相连,所述电流反馈单元的第二运放的输出端与所述第二二极管的负极相连,所述第二二极管的正极与所述光电耦合单元的输入端相连,所述光电耦合单元的输出端与所述PWM控制单元的输入端相连,所述PWM控制单元的输出端与所述功率转换单元相连。The power adjustment unit includes a first diode, a second diode, an optocoupler unit, and a pulse width modulation (PWM) control unit. The output terminal of the first operational amplifier of the voltage feedback unit is connected to the negative terminal of the first diode, and the positive terminal of the first diode is connected to the input terminal of the optocoupler unit. The output terminal of the second operational amplifier of the current feedback unit is connected to the negative terminal of the second diode, and the positive terminal of the second diode is connected to the input terminal of the optocoupler unit. The output terminal of the optocoupler unit is connected to the input terminal of the PWM control unit, and the output terminal of the PWM control unit is connected to the power conversion unit. 17.如权利要求1-4中任一项所述的适配器,其特征在于,所述适配器支持第一充电模式和第二充电模式,所述适配器在所述第二充电模式下对待充电设备的充电速度快于所述适配器在所述第一充电模式下对所述待充电设备的充电速度,所述适配器包括控制单元,在所述适配器与待充电设备连接的过程中,所述控制单元与所述待充电设备进行双向通信,以控制在所述第二充电模式下的所述适配器的输出。17. The adapter as claimed in any one of claims 1-4, characterized in that the adapter supports a first charging mode and a second charging mode, wherein the charging speed of the adapter for the device to be charged in the second charging mode is faster than the charging speed of the adapter for the device to be charged in the first charging mode, the adapter includes a control unit, wherein during the connection between the adapter and the device to be charged, the control unit communicates bidirectionally with the device to be charged to control the output of the adapter in the second charging mode. 18.如权利要求17所述的适配器,其特征在于,所述控制单元与所述待充电设备进行双向通信,以控制在所述第二充电模式下的所述适配器的输出的过程,包括:18. The adapter as claimed in claim 17, wherein the process of the control unit communicating bidirectionally with the device to be charged to control the output of the adapter in the second charging mode includes: 所述控制单元与所述待充电设备进行双向通信,以协商所述适配器与所述待充电设备之间的充电模式。The control unit communicates bidirectionally with the device to be charged to negotiate the charging mode between the adapter and the device to be charged. 19.如权利要求18所述的适配器,其特征在于,所述控制单元与所述待充电设备进行双向通信,以协商所述适配器与所述待充电设备之间的充电模式,包括:19. The adapter as claimed in claim 18, wherein the control unit communicates bidirectionally with the device to be charged to negotiate a charging mode between the adapter and the device to be charged, comprising: 所述控制单元向所述待充电设备发送第一指令,所述第一指令用于询问所述待充电设备是否开启所述第二充电模式;The control unit sends a first instruction to the device to be charged, the first instruction being used to ask the device to be charged whether to enable the second charging mode. 所述控制单元接收所述待充电设备发送的所述第一指令的回复指令,所述第一指令的回复指令用于指示所述待充电设备是否同意开启所述第二充电模式;The control unit receives a response instruction to the first instruction sent by the device to be charged, and the response instruction to the first instruction is used to indicate whether the device to be charged agrees to start the second charging mode. 在所述待充电设备同意开启所述第二充电模式的情况下,所述控制单元使用所述第二充电模式为所述待充电设备充电。If the device to be charged agrees to enable the second charging mode, the control unit uses the second charging mode to charge the device to be charged. 20.如权利要求17所述的适配器,其特征在于,所述控制单元与所述待充电设备进行双向通信,以控制在所述第二充电模式下的所述适配器的输出的过程,包括:20. The adapter as claimed in claim 17, wherein the process of the control unit communicating bidirectionally with the device to be charged to control the output of the adapter in the second charging mode includes: 所述控制单元与所述待充电设备进行双向通信,以确定在所述第二充电模式下的所述适配器输出的用于对所述待充电设备进行充电的充电电压;The control unit communicates bidirectionally with the device to be charged to determine the charging voltage output by the adapter for charging the device to be charged in the second charging mode. 所述控制单元对所述目标电压的电压值进行调整,使所述目标电压的电压值等于在所述第二充电模式下的所述适配器输出的用于对所述待充电设备进行充电的充电电压。The control unit adjusts the target voltage value so that it is equal to the charging voltage output by the adapter in the second charging mode for charging the device to be charged. 21.如权利要求20所述的适配器,其特征在于,所述控制单元与所述待充电设备进行双向通信,以确定在所述第二充电模式下的所述适配器输出的用于对所述待充电设备进行充电的充电电压,包括:21. The adapter as claimed in claim 20, wherein the control unit communicates bidirectionally with the device to be charged to determine a charging voltage output by the adapter for charging the device to be charged in the second charging mode, comprising: 所述控制单元向所述待充电设备发送第二指令,所述第二指令用于询问所述适配器的输出电压与所述待充电设备的电池的当前电压是否匹配;The control unit sends a second instruction to the device to be charged, the second instruction being used to inquire whether the output voltage of the adapter matches the current voltage of the battery of the device to be charged; 所述控制单元接收所述待充电设备发送的所述第二指令的回复指令,所述第二指令的回复指令用于指示所述适配器的输出电压与所述电池的当前电压匹配、偏高或偏低。The control unit receives a response instruction to the second instruction sent by the device to be charged. The response instruction to the second instruction is used to indicate whether the output voltage of the adapter matches, is too high, or is too low compared to the current voltage of the battery. 22.如权利要求17所述的适配器,其特征在于,所述控制单元与所述待充电设备进行双向通信,以控制在所述第二充电模式下的所述适配器的输出的过程,包括:22. The adapter as claimed in claim 17, wherein the process of the control unit communicating bidirectionally with the device to be charged to control the output of the adapter in the second charging mode includes: 所述控制单元与所述待充电设备进行双向通信,以确定在所述第二充电模式下的所述适配器输出的用于对所述待充电设备进行充电的充电电流;The control unit communicates bidirectionally with the device to be charged to determine the charging current output by the adapter for charging the device to be charged in the second charging mode. 所述控制单元对所述目标电流的电流值进行调整,使所述目标电流的电流值等于在所述第二充电模式下的所述适配器输出的用于对所述待充电设备进行充电的充电电流。The control unit adjusts the target current value so that the target current value is equal to the charging current output by the adapter in the second charging mode for charging the device to be charged. 23.如权利要求22所述的适配器,其特征在于,所述控制单元与所述待充电设备进行双向通信,以确定在所述第二充电模式下的所述适配器输出的用于对所述待充电设备进行充电的充电电流,包括:23. The adapter as claimed in claim 22, wherein the control unit communicates bidirectionally with the device to be charged to determine the charging current output by the adapter for charging the device to be charged in the second charging mode, comprising: 所述控制单元向所述待充电设备发送第三指令,所述第三指令用于询问所述待充电设备当前支持的最大充电电流;The control unit sends a third instruction to the device to be charged, the third instruction being used to query the maximum charging current currently supported by the device to be charged. 所述控制单元接收所述待充电设备发送的所述第三指令的回复指令,所述第三指令的回复指令用于指示所述待充电设备当前支持的最大充电电流;The control unit receives a response instruction to the third instruction sent by the device to be charged, the response instruction to the third instruction being used to indicate the maximum charging current currently supported by the device to be charged; 所述控制单元根据所述待充电设备当前支持的最大充电电流确定在所述第二充电模式下的所述适配器输出的用于对所述待充电设备进行充电的充电电流。The control unit determines the charging current output by the adapter for charging the device under the second charging mode based on the maximum charging current currently supported by the device to be charged. 24.如权利要求17所述的适配器,其特征在于,所述控制单元与所述待充电设备进行双向通信,以控制在所述第二充电模式下的所述适配器的输出的过程,包括:24. The adapter as claimed in claim 17, wherein the process of the control unit communicating bidirectionally with the device to be charged to control the output of the adapter in the second charging mode includes: 在使用所述第二充电模式充电的过程中,所述控制单元与所述待充电设备进行双向通信,以调整所述适配器的输出电流。During the charging process using the second charging mode, the control unit communicates bidirectionally with the device to be charged to adjust the output current of the adapter. 25.如权利要求24所述的适配器,其特征在于,所述控制单元与所述待充电设备进行双向通信,以调整所述适配器的输出电流,包括:25. The adapter as claimed in claim 24, wherein the control unit communicates bidirectionally with the device to be charged to adjust the output current of the adapter, comprising: 所述控制单元向所述待充电设备发送的第四指令,所述第四指令用于询问所述待充电设备的电池的当前电压;The control unit sends a fourth instruction to the device to be charged, the fourth instruction being used to query the current voltage of the battery of the device to be charged; 所述控制单元接收所述适配器发送的所述第四指令的回复指令,所述第四指令的回复指令用于指示所述电池的当前电压;The control unit receives a response instruction to the fourth instruction sent by the adapter, the response instruction to the fourth instruction being used to indicate the current voltage of the battery; 所述控制单元根据所述电池的当前电压,调整所述适配器的输出电流。The control unit adjusts the output current of the adapter based on the current voltage of the battery. 26.如权利要求17所述的适配器,其特征在于,所述适配器包括充电接口,所述控制单元通过所述充电接口中的数据线与所述待充电设备进行双向通信。26. The adapter as claimed in claim 17, wherein the adapter includes a charging interface, and the control unit communicates bidirectionally with the device to be charged via a data line in the charging interface. 27.如权利要求1-4中任一项所述的适配器,其特征在于,所述适配器支持第二充电模式,所述第二充电模式为恒流模式,且在所述第二充电模式下,所述适配器的输出电流为脉动直流电。27. The adapter as claimed in any one of claims 1-4, wherein the adapter supports a second charging mode, the second charging mode being a constant current mode, and in the second charging mode, the output current of the adapter is a pulsating direct current. 28.如权利要求27所述的适配器,其特征在于,所述适配器支持第一充电模式,所述第一充电模式为恒压模式,所述功率转换单元包括次级滤波单元,所述适配器包括控制单元,所述控制单元与所述次级滤波单元相连,在所述第一充电模式下,所述控制单元控制所述次级滤波单元工作,使得所述适配器的输出电压的电压值恒定;在所述第二充电模式下,所述控制单元控制所述次级滤波单元停止工作,使得所述适配器的输出电流为脉动直流电。28. The adapter as claimed in claim 27, characterized in that the adapter supports a first charging mode, the first charging mode being a constant voltage mode, the power conversion unit including a secondary filtering unit, the adapter including a control unit connected to the secondary filtering unit, wherein in the first charging mode, the control unit controls the secondary filtering unit to operate, so that the output voltage of the adapter is constant; and in the second charging mode, the control unit controls the secondary filtering unit to stop operating, so that the output current of the adapter is a pulsating direct current. 29.如权利要求1-4中任一项所述的适配器,其特征在于,所述适配器支持第二充电模式,在所述第二充电模式下,所述适配器的输出电流为交流电。29. The adapter as claimed in any one of claims 1-4, wherein the adapter supports a second charging mode, and in the second charging mode, the output current of the adapter is alternating current. 30.如权利要求1-4中任一项所述的适配器,其特征在于,所述适配器支持第二充电模式,在所述第二充电模式下,所述适配器的输出电压和输出电流直接加载在所述待充电设备的电池的两端,为所述电池进行直充。30. The adapter as described in any one of claims 1-4, wherein the adapter supports a second charging mode, wherein in the second charging mode, the output voltage and output current of the adapter are directly applied to the two ends of the battery of the device to be charged, thereby directly charging the battery. 31.如权利要求1-4中任一项所述的适配器,其特征在于,所述适配器是用于为移动待充电设备充电的适配器。31. The adapter as claimed in any one of claims 1-4, wherein the adapter is an adapter for charging a mobile device to be charged. 32.如权利要求1-4中任一项所述的适配器,其特征在于,所述适配器包括用于对充电过程进行控制的控制单元,所述控制单元为微控制单元MCU。32. The adapter according to any one of claims 1-4, wherein the adapter includes a control unit for controlling the charging process, the control unit being a microcontroller unit (MCU). 33.如权利要求1-4中任一项所述的适配器,其特征在于,所述适配器包括充电接口,所述充电接口为通用串行总线USB接口。33. The adapter as described in any one of claims 1-4, wherein the adapter includes a charging interface, and the charging interface is a Universal Serial Bus (USB) interface. 34.一种充电控制方法,其特征在于,所述方法应用于适配器,所述方法包括:34. A charging control method, characterized in that the method is applied to an adapter, the method comprising: 对输入的交流电转进行转换,以得到所述适配器的输出电压和输出电流;The input AC power is converted to obtain the output voltage and output current of the adapter; 对所述适配器的输出电压进行检测,以生成电压反馈信号,所述电压反馈信号用于指示所述适配器的输出电压是否达到设定的目标电压;The output voltage of the adapter is detected to generate a voltage feedback signal, which indicates whether the output voltage of the adapter has reached the set target voltage. 对所述适配器的输出电流进行检测,以生成电流反馈信号,所述电流反馈信号用于指示所述适配器的输出电流是否达到设定的目标电流;The output current of the adapter is detected to generate a current feedback signal, which is used to indicate whether the output current of the adapter has reached the set target current. 在所述电压反馈信号指示所述适配器的输出电压达到所述目标电压,或所述电流反馈信号指示所述适配器的输出电流达到所述目标电流的情况下,稳定所述适配器的输出电压和输出电流,其中,所述目标电压和所述目标电流为所述适配器根据从待充电设备接收的电池的状态信息实时调整的。When the voltage feedback signal indicates that the output voltage of the adapter reaches the target voltage, or the current feedback signal indicates that the output current of the adapter reaches the target current, the output voltage and output current of the adapter are stabilized, wherein the target voltage and the target current are adjusted by the adapter in real time based on the battery status information received from the device to be charged. 35.如权利要求34所述的充电控制方法,其特征在于,所述方法还包括:35. The charging control method as described in claim 34, characterized in that the method further comprises: 调整所述目标电压的取值。Adjust the value of the target voltage. 36.如权利要求35所述的充电控制方法,其特征在于,所述对所述适配器的输出电压进行检测,以生成电压反馈信号,包括:36. The charging control method as described in claim 35, characterized in that, detecting the output voltage of the adapter to generate a voltage feedback signal includes: 对所述适配器的输出电压进行采样,得到第一电压;The output voltage of the adapter is sampled to obtain a first voltage; 比较所述第一电压和第一参考电压;Compare the first voltage with the first reference voltage; 基于所述第一电压和所述第一参考电压的比较结果,生成所述电压反馈信号;The voltage feedback signal is generated based on the comparison result between the first voltage and the first reference voltage; 所述调整所述目标电压的取值,包括:Adjusting the value of the target voltage includes: 通过调整所述第一参考电压的取值,调整所述目标电压的取值。The value of the target voltage is adjusted by adjusting the value of the first reference voltage. 37.如权利要求36所述的充电控制方法,所述第一参考电压的取值是基于第一数字模拟转换器DAC调整的。37. The charging control method as described in claim 36, wherein the value of the first reference voltage is adjusted based on the first digital-to-analog converter (DAC). 38.如权利要求35-37中任一项所述的充电控制方法,其特征在于,所述适配器支持第一充电模式和第二充电模式,38. The charging control method according to any one of claims 35-37, characterized in that the adapter supports a first charging mode and a second charging mode. 所述调整所述目标电压的取值,包括:Adjusting the value of the target voltage includes: 基于所述适配器当前使用的第一充电模式或第二充电模式,调整所述目标电压的取值。The target voltage value is adjusted based on the first or second charging mode currently used by the adapter. 39.如权利要求34-37中任一项所述的充电控制方法,其特征在于,所述方法还包括:39. The charging control method according to any one of claims 34-37, characterized in that the method further comprises: 调整所述目标电流的电流值。Adjust the current value of the target current. 40.如权利要求39所述的充电控制方法,其特征在于,所述对所述适配器的输出电流进行检测,以生成电流反馈信号,包括:40. The charging control method as described in claim 39, characterized in that, detecting the output current of the adapter to generate a current feedback signal includes: 对所述适配器的输出电流进行采样,得到第二电压,所述第二电压用于指示所述适配器的输出电流的大小;The output current of the adapter is sampled to obtain a second voltage, which is used to indicate the magnitude of the output current of the adapter; 比较所述第二电压和第二参考电压;Compare the second voltage with the second reference voltage; 基于所述第二电压和所述第二参考电压的比较结果,生成所述电流反馈信号;The current feedback signal is generated based on the comparison result between the second voltage and the second reference voltage; 所述调整所述目标电流的电流值,包括:Adjusting the target current value includes: 通过调整所述第二参考电压的电压值,调整所述目标电流的电流值。The target current value is adjusted by adjusting the voltage value of the second reference voltage. 41.如权利要求40所述的充电控制方法,所述第二参考电压的取值是基于第二数字模拟转换器DAC调整的。41. The charging control method as described in claim 40, wherein the value of the second reference voltage is adjusted based on the second digital-to-analog converter (DAC). 42.如权利要求39所述的充电控制方法,其特征在于,所述适配器支持第一充电模式和第二充电模式,42. The charging control method as described in claim 39, wherein the adapter supports a first charging mode and a second charging mode. 所述调整所述目标电流的电流值,包括:Adjusting the target current value includes: 基于所述适配器当前使用的第一充电模式或第二充电模式,调整所述目标电流的电流值。The target current value is adjusted based on the first or second charging mode currently used by the adapter. 43.如权利要求34-37中任一项所述的充电控制方法,其特征在于,所述适配器支持第一充电模式,所述第一充电模式为恒压模式,在所述恒压模式下,所述目标电压为所述恒压模式对应的电压,所述目标电流为所述适配器在所述恒压模式下允许输出的最大电流,43. The charging control method according to any one of claims 34-37, characterized in that the adapter supports a first charging mode, the first charging mode being a constant voltage mode, wherein in the constant voltage mode, the target voltage is the voltage corresponding to the constant voltage mode, and the target current is the maximum current allowed to be output by the adapter in the constant voltage mode. 所述方法还包括:The method further includes: 根据所述电压反馈信号,将所述适配器的输出电压调整至所述恒压模式对应的电压;Based on the voltage feedback signal, the output voltage of the adapter is adjusted to the voltage corresponding to the constant voltage mode; 所述在所述电压反馈信号指示所述适配器的输出电压达到所述目标电压,或所述电流反馈信号指示所述适配器的输出电流达到所述目标电流的情况下,稳定所述适配器的输出电压和输出电流,包括:The step of stabilizing the output voltage and output current of the adapter when the voltage feedback signal indicates that the output voltage of the adapter has reached the target voltage, or the current feedback signal indicates that the output current of the adapter has reached the target current, includes: 当所述电流反馈信号指示所述适配器的输出电流达到所述适配器在所述恒压模式下允许输出的最大电流时,控制所述适配器的输出电流不超过所述适配器在所述恒压模式下允许输出的最大电流。When the current feedback signal indicates that the output current of the adapter reaches the maximum current allowed to be output by the adapter in the constant voltage mode, the output current of the adapter is controlled to not exceed the maximum current allowed to be output by the adapter in the constant voltage mode. 44.如权利要求43所述的充电控制方法,其特征在于,所述适配器包括初级整流单元、变压器、次级整流单元和次级滤波单元,所述初级整流单元将脉动波形的电压直接输出至所述变压器。44. The charging control method as described in claim 43, wherein the adapter includes a primary rectifier unit, a transformer, a secondary rectifier unit, and a secondary filter unit, and the primary rectifier unit directly outputs the voltage of the pulsating waveform to the transformer. 45.如权利要求44所述的充电控制方法,其特征在于,所述适配器在所述恒压模式下允许输出的最大电流是基于所述次级滤波单元中的电容的容量确定的。45. The charging control method as described in claim 44, wherein the maximum current allowed to be output by the adapter in the constant voltage mode is determined based on the capacitance of the capacitor in the secondary filter unit. 46.如权利要求34-37中任一项所述的充电控制方法,其特征在于,所述适配器支持第二充电模式,所述第二充电模式为恒流模式,在所述恒流模式下,所述目标电压为所述适配器在所述恒流模式下允许输出的最大电压,所述目标电流为所述恒流模式对应的电流;46. The charging control method according to any one of claims 34-37, wherein the adapter supports a second charging mode, the second charging mode is a constant current mode, and in the constant current mode, the target voltage is the maximum voltage that the adapter is allowed to output in the constant current mode, and the target current is the current corresponding to the constant current mode; 所述方法还包括:The method further includes: 根据所述电流反馈信号,将所述适配器的输出电流调整至所述恒流模式对应的电流;Based on the current feedback signal, the output current of the adapter is adjusted to the current corresponding to the constant current mode; 所述在所述电压反馈信号指示所述适配器的输出电压达到所述目标电压,或所述电流反馈信号指示所述适配器的输出电流达到所述目标电流的情况下,稳定所述适配器的输出电压和输出电流,包括:The step of stabilizing the output voltage and output current of the adapter when the voltage feedback signal indicates that the output voltage of the adapter has reached the target voltage, or the current feedback signal indicates that the output current of the adapter has reached the target current, includes: 当所述电压反馈信号指示所述适配器的输出电压达到所述适配器在所述恒流模式下允许输出的最大电压时,控制所述适配器的输出电压不超过所述适配器在所述恒流模式下允许输出的最大电压。When the voltage feedback signal indicates that the output voltage of the adapter reaches the maximum voltage that the adapter is allowed to output in the constant current mode, the output voltage of the adapter is controlled to not exceed the maximum voltage that the adapter is allowed to output in the constant current mode. 47.如权利要求34-37中任一项所述的充电控制方法,其特征在于,所述适配器支持第一充电模式和第二充电模式,所述适配器在所述第二充电模式下对待充电设备的充电速度快于所述适配器在所述第一充电模式下对所述待充电设备的充电速度,47. The charging control method according to any one of claims 34-37, characterized in that the adapter supports a first charging mode and a second charging mode, and the charging speed of the adapter for the device to be charged in the second charging mode is faster than the charging speed of the adapter for the device to be charged in the first charging mode. 所述方法还包括:The method further includes: 在所述适配器与待充电设备连接的过程中,与所述待充电设备进行双向通信,以控制在所述第二充电模式下的所述适配器的输出。During the connection process between the adapter and the device to be charged, bidirectional communication is performed with the device to be charged to control the output of the adapter in the second charging mode. 48.如权利要求47所述的充电控制方法,其特征在于,所述与所述待充电设备进行双向通信,以控制在所述第二充电模式下的所述适配器的输出的过程,包括:48. The charging control method as described in claim 47, characterized in that the process of bidirectional communication with the device to be charged to control the output of the adapter in the second charging mode includes: 与所述待充电设备进行双向通信,以协商所述适配器与所述待充电设备之间的充电模式。The adapter communicates bidirectionally with the device to be charged to negotiate the charging mode between the adapter and the device to be charged. 49.如权利要求48所述的充电控制方法,其特征在于,所述与所述待充电设备进行双向通信,以协商所述适配器与所述待充电设备之间的充电模式,包括:49. The charging control method as described in claim 48, characterized in that the step of bidirectional communication with the device to be charged to negotiate the charging mode between the adapter and the device to be charged includes: 向所述待充电设备发送第一指令,所述第一指令用于询问所述待充电设备是否开启所述第二充电模式;Send a first instruction to the device to be charged, the first instruction being used to inquire whether the device to be charged should activate the second charging mode; 接收所述待充电设备发送的所述第一指令的回复指令,所述第一指令的回复指令用于指示所述待充电设备是否同意开启所述第二充电模式;The system receives a response instruction to the first instruction sent by the device to be charged, wherein the response instruction to the first instruction is used to indicate whether the device to be charged agrees to enable the second charging mode. 在所述待充电设备同意开启所述第二充电模式的情况下,使用所述第二充电模式为所述待充电设备充电。If the device to be charged agrees to enable the second charging mode, the second charging mode is used to charge the device to be charged. 50.如权利要求47所述的充电控制方法,其特征在于,所述与所述待充电设备进行双向通信,以控制在所述第二充电模式下的所述适配器的输出的过程,包括:50. The charging control method as described in claim 47, characterized in that the process of bidirectional communication with the device to be charged to control the output of the adapter in the second charging mode includes: 与所述待充电设备进行双向通信,以确定在所述第二充电模式下的所述适配器输出的用于对所述待充电设备进行充电的充电电压;The adapter communicates bidirectionally with the device to be charged to determine the charging voltage output by the adapter in the second charging mode for charging the device to be charged. 对所述目标电压的电压值进行调整,使所述目标电压的电压值等于在所述第二充电模式下的所述适配器输出的用于对所述待充电设备进行充电的充电电压。The voltage value of the target voltage is adjusted so that it is equal to the charging voltage output by the adapter in the second charging mode for charging the device to be charged. 51.如权利要求50所述的充电控制方法,其特征在于,所述与所述待充电设备进行双向通信,以确定在所述第二充电模式下的所述适配器输出的用于对所述待充电设备进行充电的充电电压,包括:51. The charging control method as described in claim 50, characterized in that, the step of bidirectional communication with the device to be charged to determine the charging voltage output by the adapter for charging the device to be charged in the second charging mode includes: 向所述待充电设备发送第二指令,所述第二指令用于询问所述适配器的输出电压与所述待充电设备的电池的当前电压是否匹配;Send a second instruction to the device to be charged, the second instruction being used to inquire whether the output voltage of the adapter matches the current voltage of the battery of the device to be charged; 接收所述待充电设备发送的所述第二指令的回复指令,所述第二指令的回复指令用于指示所述适配器的输出电压与所述电池的当前电压匹配、偏高或偏低。The adapter receives a response instruction to the second instruction sent by the device to be charged. The response instruction to the second instruction is used to indicate whether the output voltage of the adapter matches, is too high, or is too low compared to the current voltage of the battery. 52.如权利要求47所述的充电控制方法,其特征在于,所述与所述待充电设备进行双向通信,以控制在所述第二充电模式下的所述适配器的输出的过程,包括:52. The charging control method as described in claim 47, characterized in that the process of bidirectional communication with the device to be charged to control the output of the adapter in the second charging mode includes: 与所述待充电设备进行双向通信,以确定在所述第二充电模式下的所述适配器输出的用于对所述待充电设备进行充电的充电电流;The adapter communicates bidirectionally with the device to be charged to determine the charging current output by the adapter in the second charging mode for charging the device to be charged. 对所述目标电流的电流值进行调整,使所述目标电流的电流值等于在所述第二充电模式下的所述适配器输出的用于对所述待充电设备进行充电的充电电流。The target current value is adjusted so that it is equal to the charging current output by the adapter in the second charging mode for charging the device to be charged. 53.如权利要求52所述的充电控制方法,其特征在于,所述与所述待充电设备进行双向通信,以确定在所述第二充电模式下的所述适配器输出的用于对所述待充电设备进行充电的充电电流,包括:53. The charging control method as described in claim 52, characterized in that, the step of bidirectional communication with the device to be charged to determine the charging current output by the adapter for charging the device to be charged in the second charging mode includes: 向所述待充电设备发送第三指令,所述第三指令用于询问所述待充电设备当前支持的最大充电电流;Send a third instruction to the device to be charged, the third instruction being used to query the maximum charging current currently supported by the device to be charged; 接收所述待充电设备发送的所述第三指令的回复指令,所述第三指令的回复指令用于指示所述待充电设备当前支持的最大充电电流;The system receives a response instruction to the third instruction sent by the device to be charged, the response instruction being used to indicate the maximum charging current currently supported by the device to be charged. 根据所述待充电设备当前支持的最大充电电流确定在所述第二充电模式下的所述适配器输出的用于对所述待充电设备进行充电的充电电流。The charging current output by the adapter for charging the device under the second charging mode is determined based on the maximum charging current currently supported by the device to be charged. 54.如权利要求47所述的充电控制方法,其特征在于,所述与所述待充电设备进行双向通信,以控制在所述第二充电模式下的所述适配器的输出的过程,包括:54. The charging control method as described in claim 47, characterized in that the process of bidirectional communication with the device to be charged to control the output of the adapter in the second charging mode includes: 在使用所述第二充电模式充电的过程中,与所述待充电设备进行双向通信,以调整所述适配器的输出电流。During the charging process using the second charging mode, bidirectional communication is established with the device to be charged to adjust the output current of the adapter. 55.如权利要求54所述的充电控制方法,其特征在于,所述与所述待充电设备进行双向通信,以调整所述适配器的输出电流,包括:55. The charging control method as described in claim 54, characterized in that the step of bidirectional communication with the device to be charged to adjust the output current of the adapter includes: 向所述待充电设备发送的第四指令,所述第四指令用于询问所述待充电设备的电池的当前电压;A fourth instruction is sent to the device to be charged, the fourth instruction being used to query the current voltage of the battery of the device to be charged; 接收所述适配器发送的所述第四指令的回复指令,所述第四指令的回复指令用于指示所述电池的当前电压;The system receives a response instruction to the fourth instruction sent by the adapter, the response instruction being used to indicate the current voltage of the battery. 根据所述电池的当前电压,调整所述适配器的输出电流。The adapter's output current is adjusted based on the battery's current voltage. 56.如权利要求47所述的充电控制方法,其特征在于,所述适配器包括充电接口,所述适配器通过所述充电接口中的数据线与所述待充电设备进行双向通信。56. The charging control method as described in claim 47, wherein the adapter includes a charging interface, and the adapter communicates bidirectionally with the device to be charged via a data line in the charging interface. 57.如权利要求34-37中任一项所述的充电控制方法,其特征在于,所述适配器支持第二充电模式,所述第二充电模式为恒流模式,且在所述第二充电模式下,所述适配器的输出电流为脉动直流电。57. The charging control method according to any one of claims 34-37, wherein the adapter supports a second charging mode, the second charging mode is a constant current mode, and in the second charging mode, the output current of the adapter is a pulsating direct current. 58.如权利要求57所述的充电控制方法,其特征在于,所述适配器支持第一充电模式,所述第一充电模式为恒压模式,所述适配器包括次级滤波单元,所述方法还包括:58. The charging control method as described in claim 57, characterized in that the adapter supports a first charging mode, the first charging mode being a constant voltage mode, the adapter including a secondary filtering unit, and the method further comprising: 在所述第一充电模式下,控制所述次级滤波单元工作,使得所述适配器的输出电压的电压值恒定;In the first charging mode, the secondary filtering unit is controlled to operate so that the output voltage of the adapter remains constant; 在所述第二充电模式下,控制所述次级滤波单元停止工作,使得所述适配器的输出电流为脉动直流电。In the second charging mode, the secondary filter unit is controlled to stop working, so that the output current of the adapter is pulsating DC. 59.如权利要求34-37中任一项所述的充电控制方法,其特征在于,所述适配器支持第二充电模式,所述第二充电模式为恒流模式,且在所述第二充电模式下,所述适配器的输出电流为交流电。59. The charging control method according to any one of claims 34-37, wherein the adapter supports a second charging mode, the second charging mode is a constant current mode, and in the second charging mode, the output current of the adapter is alternating current. 60.如权利要求34-37中任一项所述的充电控制方法,其特征在于,所述适配器支持第二充电模式,在所述第二充电模式下,所述适配器的输出电压和输出电流直接加载在所述待充电设备的电池的两端,为所述电池进行直充。60. The charging control method according to any one of claims 34-37, wherein the adapter supports a second charging mode, and in the second charging mode, the output voltage and output current of the adapter are directly applied to both ends of the battery of the device to be charged, thereby directly charging the battery. 61.如权利要求34-37中任一项所述的充电控制方法,其特征在于,所述适配器是用于为移动待充电设备充电的适配器。61. The charging control method according to any one of claims 34-37, wherein the adapter is an adapter for charging a mobile device to be charged. 62.如权利要求34-37中任一项所述的充电控制方法,其特征在于,所述适配器包括用于对充电过程进行控制的控制单元,所述控制单元为微控制单元MCU。62. The charging control method according to any one of claims 34-37, wherein the adapter includes a control unit for controlling the charging process, and the control unit is a microcontroller unit (MCU). 63.如权利要求34-37中任一项所述的充电控制方法,其特征在于,所述适配器包括充电接口,所述充电接口为通用串行总线USB接口。63. The charging control method according to any one of claims 34-37, wherein the adapter includes a charging interface, and the charging interface is a Universal Serial Bus (USB) interface.
HK18105031.0A 2016-02-05 2017-01-07 Adaptor and charge control method HK1246011B (en)

Applications Claiming Priority (5)

Application Number Priority Date Filing Date Title
PCT/CN2016/073679 WO2017133001A1 (en) 2016-02-05 2016-02-05 Charging method, adapter, and mobile terminal
CNPCT/CN2016/073679 2016-02-05
CN201610600612.3 2016-07-26
CN201610600612 2016-07-26
PCT/CN2017/070528 WO2017133388A1 (en) 2016-02-05 2017-01-07 Adaptor and charging control method

Publications (2)

Publication Number Publication Date
HK1246011A1 HK1246011A1 (en) 2018-08-31
HK1246011B true HK1246011B (en) 2021-10-08

Family

ID=

Similar Documents

Publication Publication Date Title
CN109874362B (en) Adapter and charging control method
CN107836066B (en) Adapter and charging control method
TWI657638B (en) Adapter and charging control method
HK1246011B (en) Adaptor and charge control method
HK1245516B (en) Adapter and charging control method