TWI651608B - Adapter and charging control method - Google Patents

Adapter and charging control method Download PDF

Info

Publication number
TWI651608B
TWI651608B TW106124355A TW106124355A TWI651608B TW I651608 B TWI651608 B TW I651608B TW 106124355 A TW106124355 A TW 106124355A TW 106124355 A TW106124355 A TW 106124355A TW I651608 B TWI651608 B TW I651608B
Authority
TW
Taiwan
Prior art keywords
voltage
adapter
current
charging
output
Prior art date
Application number
TW106124355A
Other languages
Chinese (zh)
Other versions
TW201804276A (en
Inventor
田晨
張加亮
Original Assignee
廣東歐珀移動通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from PCT/CN2017/070548 external-priority patent/WO2017133402A2/en
Application filed by 廣東歐珀移動通信有限公司 filed Critical 廣東歐珀移動通信有限公司
Publication of TW201804276A publication Critical patent/TW201804276A/en
Application granted granted Critical
Publication of TWI651608B publication Critical patent/TWI651608B/en

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Abstract

本發明實施例提供一種適配器和充電控制方法,該適配器包括:功率轉換單元;電壓回饋單元;電流回饋單元;功率調整單元,功率調整單元的輸入端與電壓回饋單元的輸出端和電流回饋單元的輸出端相連,功率調整單元的輸出端與功率轉換單元相連,功率調整單元用於接收電壓回饋訊號和電流回饋訊號,並在電壓回饋訊號指示適配器的輸出電壓達到目標電壓,或電流回饋訊號指示適配器的輸出電流達到目標電流的情況下,穩定適配器的輸出電壓和輸出電流。本發明實施例提供的適配器能夠提高充電程序的安全性。An embodiment of the present invention provides an adapter and a charging control method. The adapter includes: a power conversion unit, a voltage feedback unit, a current feedback unit, a power adjustment unit, an input end of the power adjustment unit, an output end of the voltage feedback unit, and a current feedback unit. The output ends are connected, the output of the power adjustment unit is connected to the power conversion unit, and the power adjustment unit is configured to receive the voltage feedback signal and the current feedback signal, and the voltage feedback signal indicates that the output voltage of the adapter reaches the target voltage, or the current feedback signal indicates the adapter. When the output current reaches the target current, the output voltage and output current of the adapter are stabilized. The adapter provided by the embodiment of the invention can improve the security of the charging procedure.

Description

適配器和充電控制方法Adapter and charging control method

本發明實施例涉及充電技術領域,並且更具體地,涉及一種適配器和充電控制方法。Embodiments of the present invention relate to the field of charging technology, and, more particularly, to an adapter and a charging control method.

適配器又稱為電源適配器,用於為待充電裝置(如終端)進行充電。目前市面上的適配器通常採用恆壓的方式為待充電裝置(如終端)進行充電,當待充電裝置(如終端)所吸取的電流超過適配器所能提供的最大電流輸出臨界值時,可能會引發適配器進入超載保護狀態,無法繼續對待充電裝置(如終端)進行充電。The adapter, also known as a power adapter, is used to charge a device to be charged, such as a terminal. At present, adapters on the market usually use a constant voltage method to charge a device to be charged (such as a terminal). When the current drawn by the device to be charged (such as a terminal) exceeds the maximum current output threshold that the adapter can provide, it may cause The adapter enters the overload protection state and cannot continue charging the charging device (such as the terminal).

本發明實施例提供一種適配器和充電控制方法,以提高充電程序的安全性。Embodiments of the present invention provide an adapter and a charging control method to improve the security of a charging procedure.

第一方面,提供一種適配器,該適配器支援一第一充電模式和一第二充電模式,該適配器在該第二充電模式下對一待充電裝置的充電速度快於該適配器在該第一充電模式下對該待充電裝置的充電速度,該適配器包括:功率轉換單元,用於對輸入的交流電進行轉換,以得到該適配器的輸出電壓和輸出電流;電壓回饋單元,該電壓回饋單元的輸入端與該功率轉換單元相連,該電壓回饋單元用於對該適配器的輸出電壓進行檢測,以產生一電壓回饋訊號,該電壓回饋訊號用於指示該適配器的輸出電壓是否達到設定的一目標電壓;電流回饋單元,該電流回饋單元的輸入端與該功率轉換單元相連,該電流回饋單元用於對該適配器的輸出電流進行檢測,以產生一電流回饋訊號,該電流回饋訊號用於指示該適配器的輸出電流是否達到設定的一目標電流;功率調整單元,該功率調整單元的輸入端與該電壓回饋單元的輸出端和該電流回饋單元的輸出端相連,該功率調整單元的輸出端與該功率轉換單元相連,該功率調整單元用於接收該電壓回饋訊號和該電流回饋訊號,並在該電壓回饋訊號指示該適配器的輸出電壓達到該目標電壓,或該電流回饋訊號指示該適配器的輸出電流達到該目標電流的情況下,穩定該適配器的輸出電壓和輸出電流;充電介面,該適配器通過該充電介面中的資料線與該待充電裝置進行雙向通訊。In a first aspect, an adapter is provided, the adapter supporting a first charging mode and a second charging mode, wherein the adapter charges a charging device faster than the adapter in the first charging mode in the second charging mode Under the charging speed of the device to be charged, the adapter comprises: a power conversion unit, configured to convert the input alternating current to obtain an output voltage and an output current of the adapter; and a voltage feedback unit, the input end of the voltage feedback unit The power conversion unit is connected to the voltage feedback unit for detecting the output voltage of the adapter to generate a voltage feedback signal, the voltage feedback signal is used to indicate whether the output voltage of the adapter reaches a set target voltage; current feedback a unit, the input end of the current feedback unit is connected to the power conversion unit, and the current feedback unit is configured to detect an output current of the adapter to generate a current feedback signal, the current feedback signal is used to indicate an output current of the adapter Whether the set target current is reached; the power adjustment sheet The input end of the power adjustment unit is connected to the output end of the voltage feedback unit and the output end of the current feedback unit, and the output end of the power adjustment unit is connected to the power conversion unit, and the power adjustment unit is configured to receive the voltage feedback The signal and the current feedback signal, and 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 of the adapter is stabilized and Output current; charging interface, the adapter communicates bidirectionally with the device to be charged through a data line in the charging interface.

第二方面,提供一種充電控制方法,該方法應用於適配器,該適配器支援一第一充電模式和一第二充電模式,該適配器在該第二充電模式下對一待充電裝置的充電速度快於該適配器在該第一充電模式下對該待充電裝置的充電速度,該方法包括:對輸入的交流電進行轉換,以得到該適配器的輸出電壓和輸出電流;對該適配器的輸出電壓進行檢測,以產生一電壓回饋訊號,該電壓回饋訊號用於指示該適配器的輸出電壓是否達到設定的一目標電壓;對該適配器的輸出電流進行檢測,以產生一電流回饋訊號,該電流回饋訊號用於指示該適配器的輸出電流是否達到設定的一目標電流;在該電壓回饋訊號指示該適配器的輸出電壓達到該目標電壓,或該電流回饋訊號指示該適配器的輸出電流達到該目標電流的情況下,穩定該適配器的輸出電壓和輸出電流;通過充電介面中的資料線與該待充電裝置進行雙向通訊。In a second aspect, a charging control method is provided, the method being applied to an adapter, the adapter supporting a first charging mode and a second charging mode, wherein the adapter charges the device to be charged faster than the device to be charged in the second charging mode The charging speed of the adapter to the charging device in the first charging mode, the method comprising: converting the input alternating current to obtain an output voltage and an output current of the adapter; detecting an output voltage of the adapter, to Generating a voltage feedback signal, the voltage feedback signal is used to indicate whether the output voltage of the adapter reaches a set target voltage; detecting an output current of the adapter to generate a current feedback signal, the current feedback signal is used to indicate the Whether the output current of the adapter reaches a set target current; the adapter is stabilized 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 Output voltage and output current; The data interface lines and the two-way communication device to be charged.

本發明實施例的適配器既包括電壓回饋單元,也包括電流回饋單元,其中電壓回饋單元、功率調整單元和功率轉換單元形成用於對適配器的輸出電壓進行閉環控制的硬體電路,即硬體形式的電壓回饋環;電流回饋單元、功率調整單元和功率轉換單元形成用於對適配器的輸出電流進行閉環控制的硬體電路,即硬體形式的電流回饋環。在雙環回饋控制的基礎上,本發明實施例的功率調整單元會綜合考慮電壓回饋訊號和電流回饋訊號提供的回饋資訊,並在適配器的輸出電壓和適配器的輸出電流中的任意一個達到目標值的情況下,穩定適配器的輸出電壓和輸出電流。換句話說,本發明實施例中,適配器的輸出電壓和輸出電流中的任意一個達到目標值時,功率調整單元均能立刻感知這一事件的發生,並立刻對這一事件進行回應,以穩定適配器的輸出電壓和輸出電流,提高了充電程序的安全性。The adapter of the embodiment of the 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 performing closed-loop control on the output voltage of the adapter, that is, a hardware form. The voltage feedback loop; the current feedback unit, the power adjustment unit and the power conversion unit form a hardware circuit for performing closed-loop control of the output current of the adapter, that is, a current feedback loop in the form of a hardware. On the basis of 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 reaches the target value at any one of the output voltage of the adapter and the output current of the adapter. In this case, stabilize the adapter's output voltage and output current. In other words, in the embodiment of the present invention, when any one of the output voltage and the output current of the adapter reaches the target value, the power adjustment unit can immediately sense the occurrence of the event and immediately respond to the event to stabilize. The output voltage and output current of the adapter increase the safety of the charging process.

下面將結合本發明實施例中的附圖,對本發明實施例中的技術方案進行清楚、完整地描述,顯然,所描述的實施例是本發明的一部分實施例,而不是全部實施例。基於本發明中的實施例,本領域普通技術人員在沒有做出創造性勞動的前提下所獲得的所有其他實施例,都應屬於本發明保護的範圍。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts shall fall within the scope of the present invention.

相關技術中提到了用於為待充電裝置(如終端)進行充電的一第一適配器。該第一適配器工作在恆壓模式下。在恆壓模式下,該第一適配器輸出的電壓基本維持恆定,比如5V,9V,12V或20V等。A first adapter for charging a device to be charged, such as a terminal, is mentioned in the related art. The first adapter operates in a constant voltage mode. In the constant voltage mode, the voltage output by the first adapter is maintained substantially constant, such as 5V, 9V, 12V or 20V.

該第一適配器輸出的電壓並不適合直接載入到電池兩端,而是需要先經過待充電裝置(如終端)內的變換電路進行變換,以得到待充電裝置(如終端)內的電池所預期的充電電壓和/或充電電流。The voltage output by the first adapter is not suitable for direct loading to both ends of the battery, but needs to be converted by a conversion circuit in a device to be charged (such as a terminal) to obtain a battery expected in the device to be charged (such as a terminal). Charging voltage and / or charging current.

變換電路用於對第一適配器輸出的電壓進行變換,以滿足電池所預期的充電電壓和/或充電電流的需求。A conversion circuit is used to transform the voltage output by the first adapter to meet the demand for the charging voltage and/or charging current expected by the battery.

作為一種示例,該變換電路可指充電管理模組,例如充電積體電路(integrated circuit,IC)。在電池的充電程序中,用於對電池的充電電壓和/或充電電流進行管理。該變換電路具有電壓回饋模組的功能,和/或,具有電流回饋模組的功能,以實現對電池的充電電壓和/或充電電流的管理。As an example, the conversion circuit may refer to a charge management module, such as a charging integrated circuit (IC). In the charging process of the battery, 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 has the function of a current feedback module to implement management of the charging voltage and/or charging current of the battery.

舉例來說,電池的充電程序可包括涓流充電階段,恆流充電階段和恆壓充電階段中的一個或者複數。在涓流充電階段,變換電路可利用電流回饋環使得在涓流充電階段進入到電池的電流滿足電池所預期的充電電流大小(譬如第一充電電流)。在恆流充電階段,變換電路可利用電流回饋環使得在恆流充電階段進入電池的電流滿足電池所預期的充電電流大小(譬如第二充電電流,該第二充電電流可大於第一充電電流)。在恆壓充電階段,變換電路可利用電壓回饋環使得在恆壓充電階段載入到電池兩端的電壓滿足電池所預期的充電電壓大小。For example, the charging procedure of the battery may include one or a plurality of trickle charging phases, a constant current charging phase, and a constant voltage charging phase. In the trickle charge phase, the conversion circuit can utilize the current feedback loop such that the current entering the battery during the trickle charge phase meets the magnitude of the charge current expected by the battery (eg, the first charge current). In the constant current charging phase, the conversion circuit can utilize the current feedback loop such that the current entering the battery during the constant current charging phase satisfies the magnitude of the charging current expected by the battery (eg, the second charging current, which can be greater than the first charging current) . In the constant voltage charging phase, the conversion circuit can utilize the voltage feedback loop such that the voltage loaded across the battery during the constant voltage charging phase meets the expected charging voltage of the battery.

作為一種示例,當第一適配器輸出的電壓大於電池所預期的充電電壓時,變換電路可用於對第一適配器輸出的電壓進行降壓處理,以使降壓轉換後得到的充電電壓滿足電池所預期的充電電壓需求。作為又一種示例,當第一適配器輸出的電壓小於電池所預期的充電電壓時,變換電路可用於對第一適配器輸出的電壓進行升壓處理,以使升壓轉換後得到的充電電壓滿足電池所預期的充電電壓需求。As an example, when the voltage output by the first adapter is greater than the charging voltage expected by the battery, the conversion circuit can be used to step down the voltage output by the first adapter, so that the charging voltage obtained after the step-down conversion meets the expected battery The charging voltage is required. As still another example, when the voltage output by the first adapter is less than the charging voltage expected by the battery, the conversion circuit may be configured to perform a voltage boosting process on the voltage output by the first adapter, so that the charging voltage obtained after the boosting conversion satisfies the battery Expected charging voltage requirements.

作為又一示例,以第一適配器輸出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 battery core (taking a lithium battery cell as an example, the charge cutoff voltage of a single cell is 4.2V), the conversion circuit (for example, Buck is lowered). The voltage circuit can perform a step-down process on the voltage outputted by the first adapter, so that the charging voltage obtained after the voltage reduction satisfies the charging voltage demand expected by 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 is a battery having two or more single cells connected in series (taking a lithium battery cell as an example, a charging cutoff voltage of a single cell) When charging 4.2V), a conversion circuit (such as a boost voltage boosting circuit) can boost the voltage outputted by the first adapter so that the charging voltage obtained after boosting satisfies the charging voltage demand expected by the battery.

變換電路受限於電路轉換效率低下的原因,致使未被轉換部分的電能以熱量的形式散失。這部分熱量會聚焦在待充電裝置(如終端)內部。待充電裝置(如終端)的設計空間和散熱空間都很小(例如,使用者使用的行動終端實體大小越來越輕薄,同時行動終端內密集排布了大量的電子元器件以提升行動終端的性能),這不但提升了變換電路的設計難度,還會導致聚焦在待充電裝置(如終端)內的熱量很難及時移除,進而引發待充電裝置(如終端)的異常。The conversion circuit is limited by the low conversion efficiency of the circuit, so that the electric energy of the unconverted portion is dissipated as heat. This part of the heat will be focused inside the device to be charged (such as the terminal). The design space and heat dissipation space of the device to be charged (such as the terminal) are small (for example, the size of the mobile terminal used by the user is getting thinner and lighter, and a large number of electronic components are densely arranged in the mobile terminal to enhance the mobile terminal. Performance), which not only improves the design difficulty of the conversion circuit, but also causes the heat concentrated in the device to be charged (such as the terminal) to be difficult to remove in time, thereby causing an abnormality of 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. As another example, the heat accumulated on the conversion circuit may shorten the life of the conversion circuit and nearby electronic components. Another example is that the heat accumulated on the circuit may cause thermal interference to the battery, which may cause abnormal battery charging and discharging. Another example is the heat accumulated on the circuit, which may cause the temperature of the device to be charged (such as the terminal) to rise, affecting the user's experience in charging. For another example, the heat accumulated on the conversion circuit may cause a short circuit of the conversion circuit itself, so that the voltage outputted by the first adapter is directly loaded at both ends of the battery, causing charging abnormality. If the battery is in an overvoltage state for a long time, even Causes battery explosion, endangering user safety.

本發明實施例提供一種輸出電壓可調的第二適配器。該第二適配器能夠獲取電池的狀態資訊。電池的狀態資訊可以包括電池當前的電量資訊和/或電壓資訊。該第二適配器可以根據獲取到的電池的狀態資訊來調節第二適配器自身的輸出電壓,以滿足電池所預期的充電電壓和/或充電電流的需求。進一步地,在電池充電程序的恆流充電階段,第二適配器調節後輸出的電壓可直接載入在電池的兩端為電池充電。Embodiments of the present invention provide a second adapter whose output voltage is adjustable. The second adapter is capable of acquiring status information of the battery. The status information of the battery may include current battery information and/or voltage information of the battery. The second adapter can adjust the output voltage of the second adapter itself according to the acquired state information of the battery to meet the demand of the charging voltage and/or the charging current expected by the battery. Further, during the constant current charging phase of the battery charging program, the voltage output by the second adapter can be directly loaded at both ends of the battery to charge the battery.

該第二適配器可以具有電壓回饋模組的功能和電流回饋模組的功能,以實現對電池的充電電壓和/或充電電流的管理。The second adapter can have the function of a voltage feedback module and the function of the current feedback module to implement management of the charging voltage and/or charging current of the battery.

該第二適配器根據獲取到的電池的狀態資訊來調節第二適配器自身的輸出電壓可以指:該第二適配器能夠即時獲取到電池的狀態資訊,並根據每次所獲取到的電池的即時狀態資訊來調節第二適配器自身輸出的電壓,以滿足電池所預期的充電電壓和/或充電電流。The second adapter adjusts the output voltage of the second adapter according to the acquired state information of the battery. The second adapter can obtain the status information of the battery in real time, and according to the instantaneous status information of the obtained battery. The voltage output by the second adapter itself is adjusted to meet the expected charging voltage and/or charging current of the battery.

該第二適配器根據即時獲取到的電池的狀態資訊來調節第二適配器自身的輸出電壓可以指:隨著充電程序中電池電壓的不斷上升,第二適配器能夠獲取到充電程序中不同時刻電池的當前狀態資訊,並根據電池的當前狀態資訊來即時調節第二適配器自身的輸出電壓,以滿足電池所預期的充電電壓和/或充電電流的需求。The second adapter adjusts the output voltage of the second adapter according to the state information of the battery that is acquired immediately. The second adapter can obtain the current state of the battery at different times in the charging process as the battery voltage increases continuously during the charging process. Status information, and instantly adjust the output voltage of the second adapter itself according to the current state information of the battery to meet the demand of the battery's expected charging voltage and/or charging current.

舉例來說,電池的充電程序可包括涓流充電階段,恆流充電階段和恆壓充電階段中的一個或者複數。在涓流充電階段,第二適配器可利用電流回饋環使得在涓流充電階段由第二適配器輸出且進入電池的電流滿足電池所預期的充電電流的需求(譬如第一充電電流)。在恆流充電階段,第二適配器可利用電流回饋環使得在恆流充電階段由第二適配器輸出且進入到電池的電流滿足電池所預期的充電電流的需求(譬如第二充電電流,該第二充電電流可大於第一充電電流),並且,在恆流充電階段,第二適配器可以將輸出的充電電壓直接載入在電池兩端為電池充電。在恆壓充電階段,第二適配器可利用電壓回饋環使得在恆壓充電階段由第二適配器輸出的電壓滿足電池所預期的充電電壓的需求。For example, the charging procedure of the battery may include one or a plurality of trickle charging phases, a constant current charging phase, and a constant voltage charging phase. During the trickle charge phase, the second adapter can utilize the current feedback loop such that the current output by the second adapter during the trickle charge phase and the current entering the battery meets the demand for the battery's expected charging current (eg, the first charging current). In the constant current charging phase, the second adapter can utilize the current feedback loop such that the current output by the second adapter during the constant current charging phase and the current entering the battery meets the demand for the charging current expected by the battery (eg, the second charging current, the second The charging current can be greater than the first charging current), and in the constant current charging phase, the second adapter can load the output charging voltage directly across the battery to charge the battery. During the constant voltage charging phase, the second adapter can utilize the voltage feedback loop such that the voltage output by the second adapter during the constant voltage charging phase meets the demand for the charging voltage expected by the battery.

對於涓流充電階段和恆壓充電階段,第二適配器輸出的電壓可以採用類似第一適配器的處理方式,即經過待充電裝置(如終端)內的變換電路進行變換,以得到待充電裝置(如終端)內的電池所預期的充電電壓和/或充電電流。For the trickle charging phase and the constant voltage charging phase, the voltage output by the second adapter may be processed in a manner similar to that of the first adapter, that is, through a conversion circuit in a device to be charged (eg, a terminal) to obtain a device to be charged (eg, The expected charging voltage and/or charging current of the battery within the terminal).

可選地,作為一種實現方式,第二適配器的電流回饋環可以在電壓回饋環的基礎上採用軟體的方式實現。具體地,當第二適配器輸出的充電電流不符合要求時,第二適配器可以根據期望的充電電流計算出期望的充電電壓,並通過電壓回饋環將第二適配器輸出的充電電壓調整為該計算出的期望的充電電壓,相當於通過軟體的方式,借助電壓回饋環實現了電流回饋環的功能。但是,在採用恆壓的方式為電池充電的程序中,充電電路上的負載電流經常是快速變化的,如果第二適配器通過軟體的方式實現電流回饋環,需要進行電流取樣、電流電壓轉換等中間操作,導致第二適配器對負載電流的回應速度慢,從而可能會導致待充電裝置(如終端)所吸取的電流超過第二適配器所能提供的最大電流輸出臨界值,引發第二適配器進入超載保護狀態,無法繼續對待充電裝置(如終端)進行充電。Optionally, as an implementation manner, the current feedback loop of the second adapter can be implemented in a software manner on the basis of the voltage feedback loop. Specifically, when the charging current output by the second adapter does not meet the requirement, the second adapter may calculate a desired charging voltage according to the expected charging current, and adjust the charging voltage output by the second adapter to the calculated voltage through the voltage feedback loop. The desired charging voltage is equivalent to the function of the current feedback loop by means of a voltage feedback loop through a software. However, in the process of charging the battery by means of constant voltage, the load current on the charging circuit often changes rapidly. If the second adapter realizes the current feedback loop through the software, it needs to perform current sampling, current voltage conversion, etc. The operation causes the second adapter to respond slowly to the load current, which may cause the current to be charged by the device to be charged (such as the terminal) to exceed the maximum current output threshold that the second adapter can provide, causing the second adapter to enter the overload protection. In the state, it is not possible to continue charging the charging device (such as a terminal).

為了提升第二適配器對負載電流的回應速度,可以在第二適配器內部設置硬體形式的電壓回饋環和硬體形式的電流回饋環,下面結合第1A圖進行詳細描述。In order to increase the response speed of the second adapter to the load current, a voltage feedback loop in the form of a hard body and a current feedback loop in the form of a hardware may be disposed inside the second adapter, which will be described in detail below in conjunction with FIG. 1A.

第1A圖是本發明實施例的第二適配器的示意性結構圖。第1A圖的第二適配器10可包括一功率轉換單元11、電壓回饋單元12、電流回饋單元13和功率調整單元14。Fig. 1A is a schematic structural view of a second adapter of an embodiment of the present invention. The second adapter 10 of FIG. 1A 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 configured to convert the input alternating current to obtain an output voltage and an 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 configured to detect the output voltage of the second adapter 10 to generate a voltage feedback signal, and the voltage feedback signal is used to indicate the output of the second adapter 10. Whether the voltage reaches a 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 configured to detect the output current of the second adapter 10 to generate a current feedback signal, and the current feedback signal is used to indicate the output of the second adapter 10. Whether the current reaches a 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. The output end of the power adjustment unit 14 is connected to the power conversion unit 11, and the power adjustment unit 14 is configured to receive the voltage feedback signal and The current feedback signal, and when the voltage feedback signal indicates that the output voltage of the second adapter 10 reaches the target voltage, or the current feedback signal indicates that the output current of the second adapter 10 reaches the target current, the output voltage and output of the second adapter 10 are stabilized. Current.

功率調整單元14穩定第二適配器10的輸出電壓和輸出電流可以指功率調整單元14控制第二適配器10的輸出電壓和輸出電流保持不變。以功率調整單元14是基於脈衝寬度調變(Pulse Width Modulation,PWM)的功率調整單元為例,在PWM控制訊號的頻率和占空比保持不變的情況下,第二適配器10的輸出電壓和輸出電流即可保持穩定。Stabilizing the output voltage and output current of the second adapter 10 by the power adjustment unit 14 may mean that the power adjustment unit 14 controls the output voltage and output current of the second adapter 10 to remain unchanged. Taking the power adjustment unit 14 as a pulse width modulation (PWM) power adjustment unit as an example, in the case where the frequency and duty ratio of the PWM control signal remain unchanged, the output voltage of the second adapter 10 is The output current is stable.

本發明實施例的第二適配器既包括電壓回饋單元,也包括電流回饋單元,其中電壓回饋單元、功率調整單元和功率轉換單元形成用於對第二適配器的輸出電壓進行閉環控制的硬體電路,即硬體形式的電壓回饋環;電流回饋單元、功率調整單元和功率轉換單元形成用於對第二適配器的輸出電流進行閉環控制的硬體電路,即硬體形式的電流回饋環。在雙環回饋控制的基礎上,本發明實施例的功率調整單元會綜合考慮電壓回饋訊號和電流回饋訊號提供的回饋資訊,並在第二適配器的輸出電壓和一第二適配器的輸出電流中的任意一個達到目標值的情況下,穩定第二適配器的輸出電壓和輸出電流。換句話說,本發明實施例中,第二適配器的輸出電壓和輸出電流中的任意一個達到目標值時,功率調整單元均能立刻感知這一事件的發生,並立刻對這一事件進行回應,以穩定第二適配器的輸出電壓和輸出電流,提高了充電程序的安全性。The second adapter of the embodiment of the 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 performing closed-loop control on the output voltage of the second adapter, That is, the voltage feedback loop in the form of a hardware; the current feedback unit, the power adjustment unit, and the power conversion unit form a hardware circuit for performing closed-loop control of the output current of the second adapter, that is, a current feedback loop in the form of a hardware. On the basis of 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 is arbitrary in the output voltage of the second adapter and the output current of the second adapter. The output voltage and output current of the second adapter are stabilized when a target value is reached. In other words, in the embodiment of the present invention, when any one of the output voltage and the output current of the second adapter reaches the target value, the power adjustment unit can immediately sense the occurrence of the event and immediately respond to the event. In order to stabilize the output voltage and output current of the second adapter, the safety of the charging procedure is improved.

以恆壓模式為例,電壓回饋環主要負責將第二適配器的輸出電壓調整至恆壓模式對應的電壓,電流回饋環可以負責檢測第二適配器的輸出電流是否達到目標電流(此時的目標電流可以是恆壓模式下允許輸出的最大電流),一旦第二適配器的輸出電流達到目標電流,功率調整單元通過電流回饋環能夠立刻感知這一事件,並及時穩定第二適配器的輸出電流,防止其進一步增大。同理,在恆流模式下,電流回饋環可以負責將第二適配器的輸出電流調整至恆流模式對應的電流,電壓回饋環可以負責檢測第二適配器的輸出電壓是否達到目標電壓(此時的目標電壓可以是恆流模式下允許輸出的最大電壓),一旦輸出電壓達到目標電壓,功率調整單元通過電壓回饋環能夠立刻感知這一事件,並及時穩定第二適配器的輸出電壓,防止其進一步增大。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) It can be the maximum current allowed 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 stabilize the output current of the second adapter in time to prevent it. Further increase. 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 (at this time) The target voltage can be the maximum voltage allowed 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 stabilize the output voltage of the second adapter in time to prevent further increase. Big.

電壓回饋訊號和電流回饋訊號是指二者回饋的物件不同,並非要對電壓回饋訊號和電流回饋訊號的訊號類型進行限定。具體地,電壓回饋訊號可用於回饋第二適配器的輸出電壓,電流回饋訊號可用於回饋第二適配器的輸出電流,但二者均可以是電壓訊號。The voltage feedback signal and the current feedback signal are different from the objects that are fed back. It is not necessary to limit the signal type 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 feed back the output current of the second adapter, but both can be voltage signals.

目標電壓可以是預先設定好的固定值,也可以是可調節的變數。在一些實施例中,第二適配器10可以根據實際需要,通過一定的調節電路調節目標電壓的電壓值。比如,待充電裝置(終端)可以向第二適配器發送目標電壓的調節指令,第二適配器10根據該目標電壓的調節指令調節目標電壓的電壓值。又如,第二適配器10可以從待充電裝置接收電池的狀態資訊,並根據電池的狀態即時調節目標電壓的電壓值。同理,目標電流可以是預先設定好的固定值,也可以是可調節的變數。在一些實施例中,第二適配器10可以根據實際需要,通過一定的調節電路調節目標電流的電壓值,比如,待充電裝置(終端)可以向第二適配器10發送目標電流的調節指令,第二適配器10根據該目標電流的調節指令調節目標電流的電壓值。又如,第二適配器10可以從待充電裝置接收電池的狀態資訊,並根據電池的狀態即時調節目標電流的電流值。The target voltage may be a preset fixed value or an adjustable variable. In some embodiments, the second adapter 10 can adjust the voltage value of the target voltage through a certain adjustment circuit according to actual needs. For example, the device to be charged (terminal) may send an adjustment command of the target voltage to the second adapter, and the second adapter 10 adjusts the voltage value of the target voltage according to the adjustment command of the target voltage. For another example, the second adapter 10 can receive status information of the battery from the device to be charged, and instantly adjust the voltage value of the target voltage according to the state of the battery. Similarly, the target current can be a preset fixed value or an adjustable variable. In some embodiments, the second adapter 10 can adjust the voltage value of the target current through a certain adjustment circuit according to actual needs. For example, the device to be charged (terminal) can send an adjustment command of the target current to the second adapter 10, and second. The adapter 10 adjusts the voltage value of the target current according to the adjustment command of the target current. For another example, the second adapter 10 can receive status information of the battery from the device to be charged, and instantly adjust the current value of the target current according to the state of the battery.

本發明實施例中所使用到的待充電裝置可以是“通訊終端”(或簡稱為“終端”),包括但不限於被設置成經由有線線路連接(如經由公共交換電話網絡(public switched telephone network, PSTN)、數位用戶線路(digital subscriber line, DSL)、數位電纜、直接電纜連線,以及/或另一資料連接/網路) 和/或經由(例如,針對蜂巢網路、無線區域網路(wireless local area network, WLAN)、諸如手持數位視訊廣播(digital video broadcasting handheld,DVB-H)網路的數位電視網路、衛星網路、調幅-調頻(amplitude modulation-frequency modulation, AM-FM)廣播發送器,以及/或另一通訊終端的)無線介面接收/發送通訊訊號的裝置。被設置成通過無線介面通訊的通訊終端可以被稱為“無線通訊終端”、“無線終端”以及/或“行動終端”。行動終端的示例包括,但不限於衛星或蜂巢式電話;可以組合蜂巢無線電電話與資料處理、傳真以及資料通訊能力的個人通訊系統(personal communication system, PCS)終端;可以包括無線電電話、傳呼機、網際網路/內部網路存取、Web瀏覽器、記事簿、日曆以及/或全球定位系統(global positioning system, GPS)接收器的個人數位助理(Personal Digital Assistant, PDA);以及常規膝上型和/或掌上型接收器或包括無線電電話收發器的其它電子裝置。The device to be charged used in the embodiment of the present invention may be a “communication terminal” (or simply “terminal”), including but not limited to being configured to be connected via a wire line (eg, via a public switched telephone network). , PSTN), digital subscriber line (DSL), digital cable, direct cable connection, and/or another data connection/network) and/or via (eg, for cellular networks, wireless local area networks) (wireless local area network, WLAN), digital television network such as handheld digital video broadcasting (DVB-H) network, satellite network, amplitude modulation-frequency modulation (AM-FM) A device for receiving/transmitting a communication signal by a broadcast transmitter, and/or a wireless interface of another communication terminal. Communication terminals that are configured to communicate over a wireless interface may be referred to as "wireless communication terminals," "wireless terminals," and/or "mobile terminals." Examples of mobile terminals include, but are not limited to, satellite or cellular telephones; personal communication system (PCS) terminals that can combine cellular radio telephones with data processing, faxing, and data communication capabilities; may include radio telephones, pagers, Internet/internet access, web browser, memo pad, calendar, and/or personal digital assistant (PDA) for global positioning system (GPS) receivers; and regular laptops And/or a palm-sized receiver or other electronic device including a radiotelephone transceiver.

在一些實施例中,該第二適配器10可包括用於對充電程序進行控制的控制單元(參見第23圖中的MCU),以提高第二適配器10的智慧程度。具體地,該控制單元可用於與待充電裝置(如終端)進行雙向通訊,以獲取待充電裝置(如終端)的指令或狀態資訊(該狀態資訊可指待充電裝置電池的當前電壓和/或待充電裝置的溫度等狀態資訊),從而基於待充電裝置(如終端)的指令或狀態訊號控制第二適配器10對待充電裝置(如終端)的充電程序。在一些實施例中,該控制單元可以是微控制單元(Microcontroller Unit,MCU),但本發明實施例不限於此,還可以是其他類型的晶片或電路。In some embodiments, the second adapter 10 can include a control unit (see the MCU in FIG. 23) for controlling the charging program to increase the level of intelligence of the second adapter 10. Specifically, the control unit may be configured to perform bidirectional communication with a device to be charged (such as a terminal) to obtain an instruction or status information of a device to be charged (such as a terminal) (the status information may refer to a current voltage of the battery of the device to be charged and/or The status information of the temperature of the device to be charged, etc., thereby controlling the charging process of the second adapter 10 to be charged (such as a terminal) based on an instruction or status signal of the device to be charged (such as a terminal). In some embodiments, the control unit may be a Microcontroller Unit (MCU), but the embodiment of the present invention is not limited thereto, and may be other types of wafers or circuits.

在一些實施例中,第二適配器10可以包括一充電介面(參見第19A圖的充電介面191),但本發明實施例對充電介面的類型不作具體限定,例如,可以是通用序列匯流排(Universal Serial 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 of FIG. 19A). However, the type of the charging interface is not specifically limited in the embodiment of the present invention, for example, may be a universal serial bus (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 the target current. The charging mode or function of the second adapter 10 is different, and the values of the target voltage and the target current may also be different, and the following are respectively in the constant voltage mode. The constant current mode is taken as an example for detailed description.

可選地,在一些實施例中,第二適配器10支援一第一充電模式(即言,第二適配器10可工作在第一充電模式下為待充電裝置(如終端)進行充電)。第一充電模式為恆壓模式。在恆壓模式下,第二適配器10的目標電壓為恆壓模式對應的電壓。目標電流為第二適配器10在恆壓模式下允許輸出的最大電流。功率調整單元14具體用於根據電壓回饋訊號,將第二適配器10的輸出電壓調整至恆壓模式對應的電壓,並當電流回饋訊號指示第二適配器10的輸出電流達到第二適配器10在恆壓模式下允許輸出的最大電流時,控制第二適配器10的輸出電流不超過第二適配器10在恆壓模式下允許輸出的最大電流。Optionally, in some embodiments, the second adapter 10 supports a first charging mode (ie, the second adapter 10 is operable to charge a device to be charged (eg, a terminal) in the first charging mode). 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 that the second adapter 10 is allowed to output in the constant voltage mode. The power adjustment unit 14 is specifically configured to adjust the output voltage of the second adapter 10 to a 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 second adapter 10 at a constant voltage When the maximum current allowed in the mode is allowed, the output current of the second adapter 10 is controlled 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 the constant voltage mode, the output voltage of the second adapter 10 is adjusted to a certain fixed voltage value, and the voltage corresponding to the constant voltage mode in the above is the fixed voltage value. For example, in the constant voltage mode, the output voltage of the second adapter 10 is 5V, and the voltage corresponding to the constant voltage mode is 5V.

本發明實施例將目標電壓設定為恆壓模式對應的電壓,將目標電流設定為恆壓模式下第二適配器允許輸出的最大電流。這樣一來,第二適配器能夠基於電壓回饋環迅速將第二適配器的輸出電壓調整至恆壓模式對應的電壓,為待充電裝置(如終端)進行恆壓充電。在恆壓充電的程序中,一旦第二適配器的輸出電流(即負載電流)達到了第二適配器允許輸出的最大電流,第二適配器能夠通過電流回饋環及時感知這一情況,並及時阻止第二適配器的輸出電流的進一步上升,避免了充電故障的發生,提高了第二適配器對負載電流的回應能力。In the embodiment of the invention, the target voltage is set to a voltage corresponding to the constant voltage mode, and the target current is set to a maximum current allowed 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 to perform constant voltage charging for the device to be charged (eg, the terminal). In the constant voltage charging process, once the output current of the second adapter (ie, the load current) reaches the maximum current allowed by the second adapter, the second adapter can sense the situation through the current feedback loop and promptly block the second The further increase in the output current of the adapter avoids the occurrence of a charging fault and improves the ability of the second adapter to respond to the load current.

舉例說明,在恆壓模式下,如果恆壓模式對應的固定電壓值為5V,第二適配器的輸出電流通常維持在100mA~200mA之間。在這種情況下,可以將目標電壓設定為固定電壓值(如5V),將目標電流設定為500mA或1A。一旦第二適配器的輸出電流增長到該目標電流對應的電流值,功率調整單元14通過電流回饋環能夠立刻感知這一事件的發生,並阻止第二適配器的輸出電流的進一步增長。For example, in the constant voltage mode, if the constant voltage mode corresponds to a fixed voltage value of 5V, the output current of the second adapter is usually 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 sense the occurrence of this event through the current feedback loop and prevent further increase in the output current of the second adapter.

如第1B圖所示,在上述實施例的基礎上,功率轉換單元11可以包括一初級整流單元15、一變壓器16、一次級整流單元17和一次級濾波單元18,該初級整流單元15將脈動形式的電壓直接輸出至該變壓器16。As shown in FIG. 1B, on the basis of the above embodiment, the power conversion unit 11 may include a primary rectification unit 15, a transformer 16, a primary rectification unit 17, and a primary filtering unit 18, which will pulsate The form of the voltage is output directly to the transformer 16.

先前技術中,功率轉換單元既包括位於初級側的整流單元和濾波單元,還包括位於次級側的整流單元和濾波單元。位於初級側的整流單元和濾波單元可以稱為初級整流單元和初級濾波單元。位於次級側的整流單元和濾波單元可以稱為次級整流單元和一次級濾波單元。初級濾波單元一般採用液態鋁質電解電容進行濾波,液態鋁質電解電容的體積較大,會導致適配器的體積較大。In the prior art, the power conversion unit includes both a rectifying unit and a filtering unit on the primary side, and a rectifying unit and a filtering unit on the secondary side. The rectifying unit and the filtering unit located on the primary side may be referred to as a primary rectifying unit and a primary filtering unit. The rectifying unit and the filtering unit on the secondary side may be referred to as a secondary rectifying unit and a primary filtering unit. The primary filter unit is generally filtered by a liquid aluminum electrolytic capacitor. The volume of the liquid aluminum electrolytic capacitor is large, which causes the adapter to be bulky.

本發明實施例中,功率轉換單元11包括一初級整流單元15、一變壓器16、一次級整流單元17和一次級濾波單元18,該初級整流單元15將脈動形式的電壓直接輸出至該變壓器16。換句話說,本發明實施例提供的功率轉換單元11不包括一初級濾波單元,這樣可以很大程度上減小第二適配器10的體積,使得第二適配器10更加便於攜帶。次級濾波單元18主要基於固態鋁質電解電容進行濾波,去掉功率轉換單元11中的初級濾波單元之後,雖然固態鋁質電解電容的帶負載能力有限,但由於硬體形式的電流回饋環的存在,可以及時回應負載電流的變化,從而避免因第二適配器的輸出電流過大所導致的充電故障。In the embodiment of the present invention, the power conversion unit 11 includes a primary rectification unit 15, a transformer 16, a primary rectification unit 17, and a primary filtering unit 18, and the primary rectification unit 15 directly outputs the pulsating voltage to the transformer 16. In other words, the power conversion unit 11 provided by the embodiment of the present invention does not include a primary filtering unit, which can greatly reduce the volume of the second adapter 10, so that the second adapter 10 is more portable. The secondary filtering unit 18 is mainly filtered based on the solid aluminum electrolytic capacitor. After the primary filtering unit in the power conversion unit 11 is removed, although the load capacity of the solid aluminum electrolytic capacitor is limited, due to the existence of the current feedback loop in the form of a hardware It can respond to changes in load current in time to avoid charging failure caused by excessive output current of the second adapter.

在上述去除初級濾波單元的方案中,第二適配器10在恆壓模式下允許輸出的最大電流可以基於次級濾波單元中的電容的容量確定。例如,基於次級濾波單元中的電容的容量確定該次級濾波單元最大能夠承受的負載電流為500mA或1A,則可以將目標電流設置為500mA或1A,從而可以避免第二適配器的輸出電流超過目標電流而引起的充電故障。In the above-described scheme of removing the primary filtering unit, the maximum current allowed to be output by the second adapter 10 in the constant voltage mode may be determined based on the capacity of the capacitor in the secondary filtering unit. For example, based on the capacity of the capacitor in the secondary filtering unit to determine that the secondary filter unit can withstand a maximum load current of 500 mA or 1 A, the target current can be set to 500 mA or 1 A, thereby preventing the output current of the second adapter from exceeding Charging failure caused by 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 (ie, the second adapter 10 is operable to charge the device to be charged (eg, a terminal) in the second charging mode), and second The charging mode is constant current mode. In the constant current mode, the target voltage is the maximum voltage that the second adapter 10 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 14 is specifically configured 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 constant current of the second adapter 10 When the maximum voltage allowed in the mode is allowed, the output voltage of the second adapter 10 is controlled not to exceed the maximum voltage that the second adapter 10 is allowed to output in the constant current mode.

本發明實施例將目標電流設定為恆流模式對應的電流,將目標電壓設定為恆流模式下第二適配器允許輸出的最大電壓,這樣一來,第二適配器能夠基於電流回饋環迅速將第二適配器的輸出電流調整至恆流模式對應的電流,為待充電裝置(如終端)進行充電,在充電程序中,一旦第二適配器的輸出電壓達到了第二適配器允許輸出的最大電壓,第二適配器能夠通過電壓回饋環及時感知這一情況,並及時阻止第二適配器的輸出電壓的進一步上升,避免了充電故障的發生。In the embodiment of the present invention, the target current is set to a current corresponding to the constant current mode, and the target voltage is set to a maximum voltage allowed by the second adapter in the constant current mode, so that the second adapter can quickly be the second based on the current feedback loop. The output current of the adapter is adjusted to the current corresponding to the constant current mode to charge the device to be charged (such as the terminal). In the charging process, once the output voltage of the second adapter reaches the maximum voltage allowed by the second adapter, the second adapter The voltage feedback loop can sense the situation in time, and prevent the output voltage of the second adapter from rising further in time, thereby avoiding the occurrence of charging failure.

可選地,如第2圖所示,在上述任一實施例的基礎上,第二適配器10還可包括一第一調整單元21。第一調整單元21與電壓回饋單元12相連,該第一調整單元21可用於調整目標電壓的取值。Optionally, as shown in FIG. 2, the second adapter 10 may further include a first adjusting unit 21 on the basis of any of the above embodiments. The first adjusting unit 21 is connected to the voltage feedback unit 12, and the first adjusting unit 21 can be used to adjust the value of the target voltage.

本發明實施例引入了第一調整單元,該第一調整單元能夠根據實際需要調整第二適配器的輸出電壓,提高了第二適配器的智慧程度。例如,第二適配器10可以工作在第一充電模式或第二充電模式下,第一調整單元21可以基於一第二適配器10當前使用的第一充電模式或第二充電模式來對應地調整目標電壓的取值。The embodiment of the present invention introduces a first adjusting unit, which can adjust the output voltage of the second adapter according to actual needs, thereby improving the intelligence level of the second adapter. For example, the second adapter 10 can operate in the first charging mode or the second charging mode, and the first adjusting unit 21 can correspondingly adjust the target voltage based on the first charging mode or the second charging mode currently used by the second adapter 10. The value.

可選地,在第2圖實施例的基礎上,如第3圖所示,電壓回饋單元12可包括電壓取樣單元31和電壓比較單元32。電壓取樣單元31的輸入端與功率轉換單元11相連,用於對第二適配器10的輸出電壓進行取樣,得到一第一電壓。電壓比較單元32的輸入端與電壓取樣單元31的輸出端相連。電壓比較單元32用於比較第一電壓和一第一參考電壓,並基於第一電壓和一第一參考電壓的比較結果,產生一電壓回饋訊號。第一調整單元21與電壓比較單元32相連,為電壓比較單元32提供第一參考電壓,第一調整單元21可通過調整第一參考電壓的取值來實現調整目標電壓的取值的目的。Optionally, on the basis of 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 for sampling the output voltage of the second adapter 10 to obtain a first voltage. The input of the voltage comparison unit 32 is connected to the output of the voltage sampling unit 31. The voltage comparison unit 32 is configured to compare the first voltage and a first reference voltage, and generate a voltage feedback signal based on a comparison result between the first voltage and a first reference voltage. The first adjusting unit 21 is connected to the voltage comparing unit 32 to provide a first reference voltage for the voltage comparing unit 32. The first adjusting unit 21 can achieve the purpose of adjusting 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 embodiment of the invention corresponds to the output voltage of the second adapter, or the first voltage is used to indicate the magnitude of the current output voltage of the second adapter. In addition, the first reference voltage in the embodiment of the present invention corresponds to the target voltage, or the first reference voltage is used to indicate the magnitude of 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, the first voltage feedback signal is used to indicate that the output voltage of the second adapter has not 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, and the second voltage feedback signal is used to indicate that the output voltage of the second adapter reaches 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 example, the voltage sampling unit 31 may include two resistors that perform series voltage division. In this case, the first voltage may be a voltage obtained by dividing the two resistors, and the value of the first reference voltage is equal to the two resistors. The voltage division ratio is related. Take the target voltage equal to 5V as an example. If the output voltage of the second adapter reaches 5V, after the series voltage division of the two resistors, the first voltage is 0.5V, the first reference voltage can be set to 0.5V. .

第3圖實施例中的第一調整單元21調整第一參考電壓的方式可以有多種,下面結合第4圖至第6圖進行詳細描述。The manner in which the first adjustment unit 21 in the embodiment of FIG. 3 adjusts the first reference voltage may be various, and will be described in detail below with reference to FIGS. 4 to 6.

可選地,在一些實施例中,如第4圖所示,第一調整單元21可包括一控制單元41和第一數位類比轉換器(Digital to Analog Converter,DAC)42。第一DAC 42的輸入端與控制單元41相連,第一DAC 42的輸出端與電壓比較單元32相連。控制單元41通過第一DAC 42實現調整第一參考電壓的取值的目的。Optionally, in some embodiments, as shown in FIG. 4, the first adjusting unit 21 may include a control unit 41 and a first digital to analog converter (DAC) 42. The input of the first DAC 42 is connected to the control unit 41, and the output of the first DAC 42 is connected to the voltage comparison unit 32. The control unit 41 achieves the purpose of adjusting the value of the first reference voltage through the first DAC 42.

具體地,控制單元41可以是MCU,MCU可以通過DAC埠與第一DAC 42相連,MCU通過DAC埠輸出數位訊號,並通過第一DAC 42將數位訊號轉換成類比訊號,該類比訊號即為第一參考電壓的電壓值。DAC具有訊號轉換速度快、精度高的特點,通過DAC調整參考電壓能夠提高第二適配器對參考電壓的調節速度和控制精度。Specifically, the control unit 41 may be an MCU, and the MCU may be connected to the first DAC 42 through the DAC. The MCU outputs a digital signal through the DAC, and converts the digital signal into an analog signal through the first DAC 42. The analog signal is the first signal. The voltage value of a 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 precision 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 FIG. 5, the first adjusting unit 21 may include a control unit 51 and an RC filtering unit 52. The input of the RC filter unit 52 is connected to the control unit 51, and the output 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 ratio of the PWM signal.

具體地,控制單元51可以是MCU,MCU可以通過PWM埠輸出PWM訊號,該PWM訊號經過RC濾波電路52濾波之後,可以形成穩定的模擬量,即第一參考電壓。RC濾波電路52具有實現簡單,價格便宜的特點,能夠以較低的成本實現第一參考電壓的調節。Specifically, the control unit 51 may be an MCU, and the MCU may output a PWM signal through the PWM port. After the PWM signal is filtered by the RC filter circuit 52, a stable analog quantity, that is, a first reference voltage, may be formed. The RC filter circuit 52 has the characteristics of simple implementation and low price, and can realize adjustment of 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 FIG. 6, the first adjusting unit 21 may include a control unit 61 and a digital potentiometer 62. The control terminal of the digital potentiometer 62 is connected to the control unit 61, and the output 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 division ratio of the digital potentiometer 62.

具體地,控制單元61可以是MCU,MCU可以通過內部整合電路(Inter Integrated Circuit,I2C)介面與數位元電位元器62的控制端相連,用於調節數位電位器62的分壓比,數位電位器62的高電位端可以為VDD,即電源端,數位電位器62的低電位端可以與地相連,數位電位器62的輸出端(或稱調節輸出端)與電壓比較單元32相連,用於向電壓比較單元32輸出第一參考電壓。數位電位器實現簡單,價格便宜,能夠以較低的成本實現第一參考電壓的調節。Specifically, the control unit 61 may be an MCU, and the MCU may be connected to the control end of the digital potentiometer 62 through an Inter Integrated Circuit (I2C) interface for adjusting the voltage dividing ratio and the digital potential of the digital potentiometer 62. The high potential terminal of the device 62 can be VDD, that is, the power supply terminal, and the low potential terminal of the digital potentiometer 62 can be connected to the ground. The output terminal (or the regulation output terminal) of the digital potentiometer 62 is connected to the voltage comparison unit 32 for The first reference voltage is output to the voltage comparison unit 32. The digital potentiometer is simple to implement and inexpensive, and can realize the adjustment of the first reference voltage at a low cost.

可選地,在第2圖實施例的基礎上,如第7圖所示,電壓回饋單元12可包括分壓單元71和電壓比較單元72。分壓單元71的輸入端與功率轉換單元11相連,用於按照設定的分壓比對第二適配器10的輸出電壓進行分壓,產生一第一電壓。電壓比較單元72的輸入端與分壓單元71的輸出端相連,用於比較第一電壓和一第一參考電壓,並基於第一電壓和一第一參考電壓的比較結果,產生一電壓回饋訊號。第一調整單元21與分壓單元71相連,通過調整分壓單元71的分壓比,調整目標電壓的電壓值。Optionally, on the basis of the embodiment of FIG. 2, as shown in FIG. 7, the voltage feedback unit 12 may include a voltage dividing unit 71 and a voltage comparison unit 72. The input end of the voltage dividing unit 71 is connected to the power conversion unit 11 for dividing the output voltage of the second adapter 10 according to the set voltage dividing ratio to generate a first voltage. The input end of the voltage comparison unit 72 is connected to the output end of the voltage dividing unit 71 for comparing the first voltage and a first reference voltage, and generating a voltage feedback signal based on the comparison result of the first voltage and a first reference voltage. . The first adjusting unit 21 is connected to the voltage dividing unit 71, and adjusts the voltage value of the target voltage by adjusting the voltage dividing ratio of the voltage dividing unit 71.

第7圖的實施例與第3圖至第6圖實施例的主要區別在於第3圖至第6圖的實施例是通過調整電壓比較單元的參考電壓實現目標電壓的電壓值的調整,第7圖的實施例是通過調整分壓單元71的分壓比實現目標電壓的電壓值的調整。換句話說,第7圖的實施例中,第一參考電壓可以設置成固定值VREF ,如果希望第二適配器的輸出電壓為5V,則可以調節分壓單元71的分壓比,使得第二適配器的輸出電壓為5V時,分壓單元71的輸出端的電壓等於VREF ;同理,如果希望第二適配器的輸出電壓為3V,則可以通過調整分壓單元71的分壓比,使得第二適配器的輸出電壓為3V時,分壓單元71的輸出端的電壓等於VREFThe main difference between the embodiment of FIG. 7 and the embodiment of FIG. 3 to FIG. 6 is that the embodiment of FIGS. 3 to 6 realizes the adjustment of the voltage value of the target voltage by adjusting the reference voltage of the voltage comparison unit, 7th. The embodiment of the figure is to adjust the voltage value of the target voltage by adjusting the voltage division ratio of the voltage dividing unit 71. In other words, in the embodiment of FIG. 7, the first reference voltage can be set to a fixed value V REF , and if the output voltage of the second adapter is desired to be 5 V, the voltage dividing ratio of the voltage dividing unit 71 can be adjusted so that the second When the output voltage of the adapter is 5V, the voltage at the output of the voltage dividing unit 71 is equal to V REF ; similarly, if the output voltage of the second adapter is desired to be 3V, the voltage dividing ratio of the voltage dividing unit 71 can be adjusted to make the second When the output voltage of the adapter is 3V, the voltage at the output of the voltage dividing unit 71 is equal to V REF .

本發明實施例通過分壓單元實現了第二適配器的輸出電壓的取樣和目標電壓的電壓值的調整,簡化了第二適配器的電路結構。In the embodiment of the invention, the sampling of the output voltage of the second adapter and the adjustment of the voltage value of the target voltage are realized by the voltage dividing unit, which simplifies 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 manners. For example, the voltage potentiometer can be implemented by using a digital potentiometer, or the functions of the voltage dividing and voltage dividing ratio adjustment can be realized by discrete resistors, switches, and the like.

以數位元電位元器的實現方式為例,如第8圖所示,分壓單元71可以包括數位電位器81。第一調整單元21可以包括一控制單元82。數位電位器81的高電位端與功率轉換單元11相連,數位電位器81的低電位端與地相連。數位電位器81的輸出端與電壓比較單元72的輸入端相連。控制單元82與數位電位器81的控制端相連,用於調整數位電位器81的分壓比。Taking the implementation of the digital potentiometer as an example, as shown in FIG. 8, the voltage dividing unit 71 may include a digital potentiometer 81. The first adjustment unit 21 can include a control unit 82. The high potential end of the digital potentiometer 81 is connected to the power conversion unit 11, and the low potential end of the digital potentiometer 81 is connected to the ground. The output of the digital potentiometer 81 is connected to the input of the voltage comparison unit 72. The control unit 82 is connected to the control terminal of the digital potentiometer 81 for adjusting the voltage division ratio of the digital potentiometer 81.

上文中的電壓比較單元72的實現方式有多種,在一些實施例中,如第9圖所示,電壓比較單元72可以包括一第一運放。該第一運放的反相輸入端用於接收第一電壓,第一運放的同相輸入端用於接收第一參考電壓,第一運放的輸出端用於產生一電壓回饋訊號。第一運放也可稱為第一誤差放大器,或電壓誤差放大器。The voltage comparison unit 72 is implemented in various manners. In some embodiments, as shown in FIG. 9, the voltage comparison unit 72 may include a first operational amplifier. The inverting input of the first operational amplifier is configured to receive the first voltage, the non-inverting input of the first operational amplifier is configured to receive the first reference voltage, and the output of the first operational amplifier is used to generate a voltage feedback signal. The first op amp can also be referred to as a first error amplifier, or a voltage error amplifier.

可選地,如第10圖所示,在上述任一實施例的基礎上,第二適配器10還可包括一第二調整單元101,第二調整單元101與電流回饋單元13相連,用於調整目標電流的電流值。Optionally, as shown in FIG. 10, on the basis of any of the foregoing embodiments, the second adapter 10 may further include a second adjusting unit 101, and the second adjusting unit 101 is connected to the current feedback unit 13 for adjustment. The current value of the target current.

本發明實施例引入了第二調整單元,該第二調整單元能夠根據實際需要調整第二適配器的輸出電流,提高了第二適配器的智慧程度。例如,第二適配器10可工作在第一充電模式或第二充電模式下,第二調整單元101基於一第二適配器10當前使用的第一充電模式或第二充電模式來調整目標電流的電流值。The embodiment of the invention introduces a second adjusting unit, which can adjust the output current of the second adapter according to actual needs, and improves the intelligence of the second adapter. For example, the second adapter 10 can operate in the first charging mode or the second charging mode, and the second adjusting unit 101 adjusts the current value of the target current based on the first charging mode or the 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, on the basis of 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 for sampling the output current of the second adapter 10 to obtain a second voltage for indicating 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 for comparing the second voltage and a second reference voltage, and generating a current feedback based on a comparison result of a second voltage and a second reference voltage. Signal. The second adjusting unit 101 is connected to the current comparing unit 112, supplies a second reference voltage to the current comparing unit 112, and adjusts the current value of the target current by adjusting the voltage value of the second reference voltage.

應理解,本發明實施例中的第二電壓對應於第二適配器的輸出電流,或第二電壓用於指示第二適配器的輸出電流的大小。此外,本發明實施例中的第二參考電壓對應於目標電流,或第二參考電壓用於指示目標電流的大小。It should be understood that the second voltage in the embodiment of the 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 embodiment 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, the first current feedback signal is used to indicate that the output current of the second adapter has not reached the target current; When the second reference voltage is equal to the second reference voltage, the current comparison unit generates a second current feedback signal, and the second current feedback signal is used to indicate that the output current of the second adapter reaches the target current.

電流取樣單元111得到一第二電壓的方式具體可以是:電流取樣單元111先對第二適配器的輸出電流進行取樣,得到取樣電流。然後根據取樣電流的大小,將其轉換成對應的取樣電壓(取樣電壓值等於取樣電流值與取樣電阻的乘積)。在一些實施例中,可以將該取樣電壓直接作為第二電壓。在另一些實施例中,也可以採用複數電阻對該取樣電壓進行分壓,將分壓後的電壓作為第二電壓。電流取樣單元111中的電流取樣功能具體可以由檢流計來實現。Specifically, the current sampling unit 111 obtains a second voltage. The current sampling unit 111 first samples the output current of the second adapter to obtain a sampling current. Then, according to the magnitude of the sampling current, it is converted into a corresponding sampling voltage (the sampling voltage value is equal to the product of the sampling current value and the sampling resistance). In some embodiments, the sampled voltage can be directly used as the second voltage. In other embodiments, the sampled voltage may be divided by a complex resistor, and the divided voltage is used as the second voltage. The current sampling function in the current sampling unit 111 can be specifically implemented by a galvanometer.

第11圖實施例中的第二調整單元調整第二參考電壓的方式可以有多種,下面結合第12圖至第14圖進行詳細描述。The manner in which the second adjustment unit in the embodiment of FIG. 11 adjusts the second reference voltage may be various, and is described in detail below with reference to FIGS. 12 to 14.

可選地,在一些實施例中,如第12圖所示,第二調整單元101可包括一控制單元121和第二DAC 122。第二DAC 122的輸入端與控制單元121相連,第二DAC 122的輸出端與電流比較單元112相連。控制單元121通過第二DAC 122調整第二參考電壓的電壓值。Optionally, in some embodiments, as shown in FIG. 12, the second adjusting unit 101 may include a control unit 121 and a second DAC 122. The input of the second DAC 122 is coupled to the control unit 121, and the output of the second DAC 122 is coupled 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埠與第二DAC 122相連。MCU通過DAC埠輸出數位訊號,並通過第二DAC 122將數位訊號轉換成類比訊號。該類比訊號即為第一參考電壓的電壓值。DAC具有訊號轉換速度快、精度高的特點,通過DAC調整參考電壓能夠提高第二適配器對參考電壓的調節速度和控制精度。Specifically, the control unit 121 may be an MCU. The MCU can be connected to the second DAC 122 through the DAC. The MCU outputs a digital signal through the DAC and converts the digital signal into an analog signal through the second DAC 122. 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 precision of the reference voltage by the second adapter.

可選地,在一些實施例中,如第13圖所示,第二調整單元101可包括一控制單元131和RC濾波單元132。RC濾波單元132的輸入端與控制單元131相連,RC濾波單元132的輸出端與電流比較單元112相連。控制單元131用於產生PWM訊號,並通過調整PWM訊號的占空比調整第二參考電壓的電壓值。Optionally, in some embodiments, as shown in FIG. 13, the second adjusting unit 101 may include a control unit 131 and an RC filtering unit 132. The input of the RC filter unit 132 is connected to the control unit 131, and the output 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 a voltage value of the second reference voltage by adjusting a duty ratio 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 PWM signals through PWM埠. After the PWM signal is filtered by the RC filter circuit 132, a stable analog quantity, that is, a second reference voltage, can be formed. The RC filter circuit 132 has the characteristics of simple implementation and low price, and can realize 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 FIG. 14, the second adjusting unit 101 may include a control unit 141 and a digital potentiometer 142. The control terminal of the digital potentiometer 142 is connected to the control unit 141, and the output 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 division ratio of the digital potentiometer 142.

在一些實施例中,控制單元141可以是MCU。MCU可以通過I2C介面與數位元電位元器142的控制端相連,用於調節數位電位器142的分壓比。數位電位器142的高電位端可以為VDD,即電源端,數位電位器142的低電位端可以與地相連。數位電位器142的輸出端(或稱調節輸出端)與電流比較單元112相連,用於向電流比較單元112輸出第二參考電壓。數位電位器實現簡單,價格便宜,能夠以較低的成本實現對第二參考電壓的調節。In some embodiments, control unit 141 can be an MCU. The MCU can be connected to the control terminal of the digital potentiometer 142 through the I2C interface for adjusting the voltage division ratio of the digital potentiometer 142. The high potential end of the digital potentiometer 142 can be VDD, that is, the power supply terminal, and the low potential end of the digital potentiometer 142 can be connected to the ground. An output terminal (or a regulated output terminal) of the digital potentiometer 142 is connected to the current comparison unit 112 for outputting a second reference voltage to the current comparison unit 112. The digital potentiometer is simple to implement and inexpensive, and can adjust the second reference voltage at a lower cost.

可選地,在一些實施例中,在第10圖實施例的基礎上,如第15圖所示,電流回饋單元13可包括電流取樣單元151、分壓單元152和電流比較單元153。電流取樣單元151的輸入端與功率轉換單元11相連,用於對第二適配器10的輸出電流進行取樣,得到一第三電壓。第三電壓用於指示第二適配器10的輸出電流的大小。分壓單元152的輸入端與電流取樣單元151的輸出端相連,用於按照設定的分壓比對第三電壓進行分壓,產生一第二電壓。電流比較單元153的輸入端與分壓單元152的輸出端相連,用於比較第二電壓和一第二參考電壓,並基於一第二電壓和一第二參考電壓的比較結果,產生一電流回饋訊號。第二調整單元101與分壓單元152相連,通過調整分壓單元152的分壓比,調整目標電流的電流值。Optionally, in some embodiments, on the basis of the embodiment of FIG. 10, as shown in FIG. 15, the current feedback unit 13 may include a current sampling unit 151, a voltage dividing unit 152, and a current comparison unit 153. The input end of the current sampling unit 151 is connected to the power conversion unit 11 for sampling 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 end of the voltage dividing unit 152 is connected to the output end of the current sampling unit 151 for dividing the third voltage according to the set voltage dividing ratio to generate a second voltage. The input end of the current comparison unit 153 is connected to the output end of the voltage dividing unit 152 for comparing the second voltage and a second reference voltage, and generating a current feedback based on a comparison result of a second voltage and a second reference voltage. Signal. The second adjusting unit 101 is connected to the voltage dividing unit 152, and adjusts the current value of the target current by adjusting the voltage dividing ratio of the voltage dividing unit 152.

第15圖的實施例與第11圖至第14圖實施例的主要區別在於第11圖至第14圖的實施例是通過調整電流比較單元的參考電壓實現目標電流的電流值的調整,第15圖的實施例是通過調整分壓單元152的分壓比實現目標電流的電流值的調整。換句話說,第15圖的實施例中,第二參考電壓可以設置成固定值VREF ,如果希望第二適配器的輸出電流為300mV,則可以調節分壓單元152的分壓比,使得第二適配器的輸出電流為300mV時,分壓單元152的輸出端的電壓等於VREF ;同理,如果希望第二適配器的輸出電流為500mV,則可以通過調整分壓單元152的分壓比,使得第二適配器的輸出電流為500mV時,分壓單元152的輸出端的電壓等於VREFThe main difference between the embodiment of FIG. 15 and the embodiment of FIGS. 11 to 14 is that the embodiment of FIGS. 11 to 14 realizes the adjustment of the current value of the target current by adjusting the reference voltage of the current comparison unit, the fifteenth The embodiment of the figure is to adjust the current value of the target current by adjusting the voltage division ratio of the voltage dividing unit 152. In other words, in the embodiment of Fig. 15, the second reference voltage can be set to a fixed value V REF , and if the output current of the second adapter is desired to be 300 mV, the voltage dividing ratio of the voltage dividing unit 152 can be adjusted so that the second When the output current of the adapter is 300mV, the voltage at the output of the voltage dividing unit 152 is equal to V REF ; similarly, if the output current of the second adapter is desired to be 500mV, the voltage dividing ratio of the voltage dividing unit 152 can be adjusted to make the second When the output current of the adapter is 500 mV, the voltage at the output of the voltage dividing unit 152 is equal to V REF .

本發明實施例的分壓單元152的實現方式有多種,例如,可以採用數位電位器實現,也可以通過離散的電阻、開關等元件實現上述分壓和分壓比調節的功能。The voltage dividing unit 152 of the embodiment of the present invention can be implemented in various manners. For example, the voltage potentiometer can be implemented by using a digital potentiometer, or the functions of the voltage dividing and voltage dividing ratio adjustment can be realized by discrete resistors, switches, and the like.

以數位元電位元器的實現方式為例,如第16圖所示,分壓單元152包括數位電位器161,第二調整單元101包括一控制單元162。數位電位器161的高電位端與電流取樣單元151的輸出端相連,數位電位器161的低電位端與地相連,數位電位器161的輸出端與電流比較單元153的輸入端相連。控制單元162與數位電位器161的控制端相連,用於調整數位電位器161的分壓比。Taking the implementation of the digital potentiometer as an example, as shown in FIG. 16, the voltage dividing unit 152 includes a digital potentiometer 161, and the second adjusting unit 101 includes a control unit 162. The high potential end of the digital potentiometer 161 is connected to the output terminal of the current sampling unit 151, the low potential end of the digital potentiometer 161 is connected to the 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 for adjusting the voltage dividing ratio of the digital potentiometer 161.

上文中的控制單元可以是一個控制單元,也可以是複數控制單元。在一些實施例中,上文的第一調整單元和一第二調整單元中的控制單元為同一控制單元。The control unit above may be a control unit or a complex control unit. In some embodiments, the control unit in the first adjustment unit and the second adjustment unit is the same control unit.

上文中的電流比較單元153的實現方式有多種,在一些實施例中,如第17圖所示,電流比較單元153可以包括一第二運放。該第二運放的反相輸入端用於接收第二電壓,第二運放的同相輸入端用於接收第二參考電壓,第二運放的輸出端用於產生一電流回饋訊號。第二運放也可稱為第二誤差放大器,或電流誤差放大器。The current comparison unit 153 is implemented in various manners. In some embodiments, as shown in FIG. 17, the current comparison unit 153 may include a second operational amplifier. The inverting input of the second op amp is for receiving the second voltage, the non-inverting input of the second op amp is for receiving the second reference voltage, and the output of the second op amp is for generating a current feedback signal. The second op amp can also be referred to as a second error amplifier, or a current error amplifier.

上文結合第1圖至第17圖詳細描述了電壓回饋單元12和電流回饋單元13的實現方式,以及電壓回饋單元12對應的目標電壓和電流回饋單元13對應的目標電流的調整方式,下文結合第18圖詳細描述功率調整單元14的實現方式。The implementation of the voltage feedback unit 12 and the current feedback unit 13 and the target voltage corresponding to the voltage feedback unit 12 and the target current corresponding to the current feedback unit 13 are described in detail above with reference to FIGS. 1 to 17 . Figure 18 details the implementation 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 FIG. 18, the voltage feedback unit 12 may include a first operational amplifier (not shown in FIG. 18, specifically see FIG. 9), and the voltage feedback unit 12 The output of an op amp is used to output a voltage feedback signal. The current feedback unit 13 can include a second operational amplifier (not shown in FIG. 18, specifically referring to FIG. 17). The output of the second operational amplifier of the current feedback unit 13 is used to output a current feedback signal. The power adjustment unit 14 can include a first diode D1, a second diode D2, a photocoupling unit 181, and a PWM control unit 182. The output of the first operational amplifier of the voltage feedback unit 12 (see FIG. 9, the output of the first operational amplifier for the output voltage feedback signal) is connected to the negative terminal of the first diode D1. The anode of the first diode D1 is connected to the input terminal of the photo-coupling unit 181. The output of the second operational amplifier of the current feedback unit 13 (see Fig. 17, the output of the second operational amplifier is used for the output current feedback signal) is connected to the negative terminal of the second diode D2. The anode of the second diode D2 is connected to the input terminal of the photo-coupling unit 181. The output of the photo-coupling unit 181 is connected to the input of the PWM control unit 182. The output of the PWM control unit 182 is connected to the power conversion unit 11.

應理解,本文中出現的第一運放可以指代同一運放。同理,本文中出現的第二運放可以指代同一運放。It should be understood that the first op amp appearing herein may refer to the same op amp. Similarly, the second op amp that appears in this article can 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 operational amplifier is a voltage feedback signal, and the voltage signal output by the second operational amplifier is a current feedback signal, and the voltage signal output by the first operational amplifier is 0 indicating a second The output voltage of the adapter reaches the target voltage, and the voltage signal output by the second op amp is 0 indicating that the output current of the second adapter reaches the target current. The first diode D1 and the second diode D2 are two anti-parallel diodes. When the voltage signal output by any one of the first operational amplifier and the second operational amplifier is 0, the 18th The voltage at the feedback point in the figure is about 0 (the actual voltage of the feedback point will be slightly larger than 0, as it can be 0.7V) because the diode is required to conduct a certain voltage difference. In this case, the photo-coupling unit 181 operates in a steady state, and outputs a stable voltage signal to the PWM control unit 182. Then, the PWM control unit 182 generates a PWM control signal having a constant duty ratio, and stabilizes the output voltage and the output current of the second adapter through the power conversion unit 11. In other words, when any one of the output voltage and the output current of the second adapter reaches the target value, the first diode D1 and the second diode D2 in anti-parallel can immediately sense the occurrence of the event, and further The output voltage and output current of the second adapter are stabilized.

可選地,在一些實施例中,第二適配器10可以支援一第一充電模式和一第二充電模式,第二適配器10在第二充電模式下對一待充電裝置(如終端)的充電速度快於第二適配器10在第一充電模式下對一待充電裝置(如終端)的充電速度。換句話說,相較於工作在第一充電模式下的第二適配器10來說,工作在第二充電模式下的第二適配器10充滿相同容量的待充電裝置(如終端)中的電池的耗時更短。Optionally, in some embodiments, the second adapter 10 can support a first charging mode and a second charging mode, and the second adapter 10 charges the charging device (such as a terminal) in the second charging mode. Faster than the charging speed of the second adapter 10 to a device to be charged (such as a terminal) 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 is filled with the battery in the same capacity of the device to be charged (such as the terminal). It is shorter.

第二適配器10包括一控制單元,在第二適配器10與待充電裝置(如終端)連接的程序中,控制單元與待充電裝置(如終端)進行雙向通訊,以控制第二充電模式的充電程序。該控制單元可以是上述任意實施例中的控制單元,如可以是第一調整單元中的控制單元,也可以是第二調整單元中的控制單元。The second adapter 10 includes a control unit. In the program in which the second adapter 10 is connected to a 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 control the charging procedure of the second charging mode. . The control unit may be the control unit in any of the above embodiments, such as a control unit in the first adjustment unit or a control unit in the second adjustment unit.

第一充電模式可為普通充電模式,第二充電模式可為快速充電模式。該普通充電模式是指第二適配器輸出相對較小的電流值(通常小於2.5A)或者以相對較小的功率(通常小於15W)來對待充電裝置(如終端)中的電池進行充電,在普通充電模式下想要完全充滿一較大容量電池(如3000毫安培培培培時容量的電池),通常需要花費數個小時的時間;而在快速充電模式下,第二適配器能夠輸出相對較大的電流(通常大於2.5A,比如4.5A,5A甚至更高)或者以相對較大的功率(通常大於等於15W)來對待充電裝置(如終端)中的電池進行充電,相較於普通充電模式而言,第二適配器在快速充電模式下完全充滿相同容量電池所需要的充電時間能夠明顯縮短、充電速度更快。The first charging mode may be a normal charging mode, and the second charging mode may be a fast charging mode. The normal charging mode means that the second adapter outputs a relatively small current value (typically less than 2.5 A) or a relatively small power (typically less than 15 W) to charge the battery in the charging device (eg, the terminal). In the charging mode, it is usually necessary to fully charge a large capacity battery (such as a battery with a capacity of 3000 mAh), which usually takes several hours; in the fast charging mode, the second adapter can output a relatively large amount. Current (usually greater than 2.5A, such as 4.5A, 5A or higher) or relatively large power (typically greater than or equal to 15W) to charge the battery in a charging device (such as a terminal) compared to normal charging mode In other words, the charging time required for the second adapter to fully charge the same capacity battery in the fast charging mode can be significantly shortened and the charging speed is faster.

本發明實施例對第二適配器的控制單元與待充電裝置(如終端)的通訊內容,以及控制單元對第二適配器在第二充電模式下的輸出的控制方式不作具體限定,例如,控制單元可以與待充電裝置(如終端)通訊,交互待充電裝置(如終端)中的電池的當前電壓或當前電量,並基於電池的當前電壓或當前電量調整第二適配器的輸出電壓或輸出電流。下面結合具體的實施例對控制單元與待充電裝置(如終端)之間的通訊內容,以及控制單元對在第二充電模式下的第二適配器的輸出的控制方式進行詳細描述。The embodiment of the present invention does not specifically limit the communication content of the control unit of the second adapter and the device to be charged (such as the terminal), and the control mode of the output of the second adapter in the second charging mode. For example, the control unit may Communicate with a device to be charged (such as a terminal), interact with the current voltage or current power 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 power of the battery. The communication content between the control unit and the device to be charged (such as the terminal) and the control mode of the control unit for the output of the second adapter in the second charging mode will be described in detail below in conjunction with a specific embodiment.

可選地,在一些實施例中,控制單元與待充電裝置(如終端)進行雙向通訊,以控制在第二充電模式下的第二適配器的輸出的程序可包括:控制單元與待充電裝置(如終端)進行雙向通訊,以協商第二適配器與待充電裝置(如終端)之間的充電模式。Optionally, in some embodiments, the program that the control unit performs bidirectional communication with the device to be charged (eg, the terminal) to control the output of the second adapter in the second charging mode may include: the control unit and the device to be charged ( For example, the terminal performs two-way communication to negotiate a charging mode between the second adapter and a device to be charged (such as a terminal).

本發明實施例中,第二適配器並非盲目地採用第二充電模式對待充電裝置(如終端)進行快速充電,而是與待充電裝置(如終端)進行雙向通訊,協商第二適配器是否可以採用第二充電模式對待充電裝置(如終端)進行快速充電,這樣能夠提升充電程序的安全性。In the embodiment of the present invention, the second adapter does not blindly use the second charging mode to quickly charge the charging device (such as the terminal), but performs two-way communication with the device to be charged (such as the terminal), and negotiates whether the second adapter can adopt the first The second charging mode performs fast charging on a charging device (such as a terminal), which can improve the safety of the charging program.

具體地,控制單元與待充電裝置(如終端)進行雙向通訊,以協商第二適配器與待充電裝置(如終端)之間的充電模式可包括:控制單元向待充電裝置(如終端)發送一第一指令,第一指令用於詢問待充電裝置(如終端)是否開啟第二充電模式;控制單元接收待充電裝置(如終端)發送的針對該第一指令的回覆指令,回覆指令用於指示待充電裝置(如終端)是否同意開啟第二充電模式;在待充電裝置(如終端)同意開啟第二充電模式的情況下,控制單元使用第二充電模式為待充電裝置(如終端)充電。Specifically, the two-way communication between the control unit and the device to be charged (such as the terminal) to negotiate the charging mode between the second adapter and the device to be charged (such as the terminal) may include: the control unit sends a charging device (such as a terminal) to the device to be charged. a first instruction, the first instruction is used to ask whether a device to be charged (such as a terminal) turns on the second charging mode; the control unit receives a reply command sent by the device to be charged (such as a terminal) for the first instruction, and the reply command is used to indicate Whether the device to be charged (such as a terminal) agrees to turn on the second charging mode; in the case that 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 of the second adapter (or the control unit of the second adapter) and the device to be charged (such as the terminal), in other words, the control unit and the device to be charged (eg, Any one of the terminals may initiate a two-way communication session as the master device, and accordingly the other party may make a first response or a first reply as the slave device initiates communication to the master device. As a possible way, the identity of the master and slave devices can be confirmed in the communication program by comparing the potential level of the potential of the second adapter side and the device to be charged (such as the terminal) relative to the ground.

本發明實施例並未對第二適配器(或者第二適配器的控制單元)與待充電裝置(如終端)之間雙向通訊的具體實現方式作出限制,即言,第二適配器(或者第二適配器的控制單元)與待充電裝置(如終端)中的任何一方作為主裝置方發起通訊會話,相應地另外一方作為從裝置方對主裝置方發起的通訊會話做出第一回應或第一回覆,同時主裝置方能夠針對該從裝置方的第一回應或第一回覆做出第二回應,即可認為主、從裝置之間完成了一次充電模式的協商程序。作為一種可行的實施方式,主、從裝置方之間可以在完成多次充電模式的協商後,再執行主、從裝置方之間的充電操作,以確保協商後的充電程序安全、可靠的被執行。The embodiment of the present invention does not limit the specific implementation of the two-way communication between the second adapter (or the control unit of the second adapter) and the device to be charged (such as the terminal), that is, the second adapter (or the second adapter) The control unit) initiates a communication session with any one of the devices to be charged (eg, the terminal) as the master device, and accordingly the other party acts as the first response or the first reply to the communication session initiated by the slave device to the master device. The master device can make a second response to the first response or the first reply of the slave device, that is, the negotiation procedure of the one charging mode is completed between the master and the slave device. As a feasible implementation manner, after the negotiation between the master and slave devices is completed, the charging operation between the master and slave devices can be performed to ensure the safe and reliable charging procedure after the negotiation. carried out.

作為主裝置方能夠根據該從裝置方針對通訊會話的第一回應或第一回覆做出第二回應的一種方式可以是:主裝置方能夠接收到該從裝置方針對通訊會話所做出的第一回應或第一回覆,並根據接收到的該從裝置的第一回應或第一回覆做出針對性的第二回應。作為舉例,當主裝置方在預設的時間內接收到該從裝置方針對通訊會話的第一回應或第一回覆,主裝置方會對該從裝置的第一回應或第一回覆做出針對性的第二回應具體為:主裝置方與從裝置方完成了一次充電模式的協商,主裝置方與從裝置方之間根據協商結果按照第一充電模式或者第二充電模式執行充電操作,即第二適配器根據協商結果工作在第一充電模式或者第二充電模式下為待充電裝置(如終端)充電。One way that the master device can make a second response according to the slave device's first response or first reply to the communication session may be that the master device can receive the slave device's first response to the communication session. A response or a first reply, and making 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 the first reply of the slave device for the communication session within a preset time, the master device may make a response to the first response or the first response of the slave device. The second response is specifically: the master device and the slave device complete the negotiation of the charging mode, and the charging operation is performed between the master device and the slave device according to the negotiation result according to the first charging mode or the second charging mode, that is, The second adapter operates to charge the device to be charged (eg, the terminal) in the first charging mode or the second charging mode according to the negotiation result.

作為主裝置方能夠根據該從裝置方針對通訊會話的第一回應或第一回覆做出進一步的第二回應的一種方式還可以是:主裝置方在預設的時間內沒有接收到該從裝置方針對通訊會話的第一回應或第一回覆,主裝置方也會對該從裝置的第一回應或第一回覆做出針對性的第二回應。作為舉例,當主裝置方在預設的時間內沒有接收到該從裝置方針對通訊會話的第一回應或第一回覆,主裝置方也會對該從裝置的第一回應或第一回覆做出針對性的第二回應具體為:主裝置方與從裝置方完成了一次充電模式的協商,主裝置方與從裝置方之間按照第一充電模式執行充電操作,即第二適配器工作在第一充電模式下為待充電裝置(如終端)充電。As a way for the master device to make a further second response according to the first response or the first reply of the slave device for the communication session, the master device may not receive the slave device within a preset time. For the first response or the first reply of the communication session, the master device also makes a targeted second response to the first response or the first reply of the slave device. For example, when the master device does not receive the first response or the first reply of the slave device for the communication session within a preset time, the master device also performs the first response or the first reply of the slave device. The targeted second response is specifically: the master device side and the slave device side complete the negotiation of one charging mode, and the charging operation is performed between the master device side and the slave device side according to the first charging mode, that is, the second adapter works in the first Charging a device to be charged (such as a terminal) in a charging mode.

可選地,在一些實施例中,當待充電裝置(如終端)作為主裝置發起通訊會話,第二適配器(或者第二適配器的控制單元)作為從裝置對主裝置方發起的通訊會話做出第一回應或第一回覆後,無需要待充電裝置(如終端)對第二適配器的第一回應或第一回覆做出針對性的第二回應,即可認為第二適配器(或者第二適配器的控制單元)與待充電裝置(如終端)之間完成了一次充電模式的協商程序,進而第二適配器能夠根據協商結果確定以第一充電模式或者第二充電模式為待充電裝置(如終端)進行充電。Optionally, in some embodiments, when a device to be charged (such as a terminal) initiates a communication session as a master device, the second adapter (or the control unit of the second adapter) acts as a communication session initiated by the slave device to the master device side. After the first response or the first reply, the second adapter (or the second adapter) can be considered as no need to make a targeted second response to the first response or the first response of the second adapter by the charging device (such as the terminal). The control unit) completes a negotiation procedure of the charging mode with the device to be charged (such as the terminal), and the second adapter can determine, according to the negotiation result, the device to be charged (such as the terminal) in the first charging mode or the second charging mode. Charge it.

可選地,在一些實施例中,控制單元與待充電裝置(如終端)進行雙向通訊,以控制第二適配器在第二充電模式下的輸出的程序可包括:控制單元與待充電裝置(如終端)進行雙向通訊,以確定在第二充電模式下的第二適配器輸出的用於對待充電裝置(如終端)進行充電的充電電壓;控制單元對目標電壓的電壓值進行調整,使目標電壓的電壓值等於在第二充電模式下的第二適配器輸出的用於對待充電裝置(如終端)進行充電的充電電壓。Optionally, in some embodiments, the program for bidirectional communication between the control unit and the device to be charged (eg, the terminal) to control the output of the second adapter in the second charging mode may include: the control unit and the device to be charged (eg, The terminal performs bidirectional communication to determine a charging voltage for charging the device to be charged (such as a terminal) output by the second adapter in the second charging mode; and the control unit adjusts the voltage value of the target voltage to make the target voltage The voltage value 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 (eg, the terminal) to determine that the charging voltage for charging the device to be charged (eg, the terminal) output by the second adapter in the second charging mode may include: the control unit Sending a second command to the device to be charged (such as the terminal) for inquiring whether the output voltage of the second adapter matches the current voltage of the battery of the device to be charged (such as the terminal); the control unit receives the device to be charged (eg The terminal sends a reply command of a second instruction, and the reply instruction of the second instruction is used to indicate that the output voltage of the second adapter matches the current voltage of the battery, and is higher or lower. Alternatively, the second instruction may be used to query whether the current output voltage of the second adapter is suitable as the charging voltage for charging the device to be charged (eg, the terminal) as the second adapter output in the second charging mode, second The command's reply command can be used to indicate that the current second adapter's output voltage is appropriate, high or low. 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 for charging the device to be charged (eg, the terminal) as the second adapter output in the second charging mode It can be said 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 two-way communication between the control unit and the device to be charged (such as the terminal) to control the output of the second adapter in the second charging mode may include: the control unit and the device to be charged (eg, The terminal performs bidirectional communication to determine a charging current output by the second adapter in the second charging mode for charging the charging device (eg, the terminal); and the control unit adjusts the current value of the target current to make the target current The current value is equal to the charging current output by the second adapter in the second charging mode for charging the device to be charged (eg, the terminal).

具體地,控制單元與待充電裝置(如終端)進行雙向通訊,以確定在第二充電模式下的第二適配器輸出的用於對待充電裝置(如終端)進行充電的充電電流可包括:控制單元向待充電裝置(如終端)發送一第三指令,第三指令用於詢問待充電裝置(如終端)當前支援的最大充電電流;控制單元接收待充電裝置(如終端)發送的一第三指令的回覆指令,第三指令的回覆指令用於指示待充電裝置(如終端)當前支援的最大充電電流;控制單元根據待充電裝置(如終端)當前支援的最大充電電流確定在第二充電模式下的第二適配器輸出的用於對待充電裝置(如終端)進行充電的充電電流。應理解,控制單元根據待充電裝置(如終端)當前支援的最大充電電流確定在第二充電模式下的第二適配器輸出的用於對待充電裝置(如終端)進行充電的充電電流的方式有多種,例如,第二適配器可以將待充電裝置(如終端)當前支援的最大充電電流確定為在第二充電模式下的第二適配器輸出的用於對待充電裝置(如終端)進行充電的充電電流,也可以綜合考慮待充電裝置(如終端)當前支援的最大充電電流以及自身的電流輸出能力等因素之後,確定在第二充電模式下的第二適配器輸出的用於對待充電裝置(如終端)進行充電的充電電流。Specifically, the control unit performs bidirectional communication with the device to be charged (eg, the terminal) to determine that the charging current for charging the device to be charged (eg, the terminal) output by the second adapter in the second charging mode may include: the control unit Sending a third command to the device to be charged (such as the terminal), the third command is used to query the maximum charging current currently supported by the device to be charged (such as the terminal); and the control unit receives a third command sent by the device to be charged (such as the terminal) The reply command 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 second charging mode according to the maximum charging current currently supported by the device to be charged (such as the terminal). The second adapter outputs a charging current for charging a charging device such as a terminal. It should be understood that the control unit determines, according to the maximum charging current currently supported by the device to be charged (such as the terminal), the charging current for charging the device to be charged (such as the terminal) output by the second adapter in the second charging mode. For example, the second adapter may determine the maximum charging current currently supported by the device to be charged (eg, the terminal) as the charging current for charging the device to be charged (eg, the terminal) output by the second adapter in the second charging mode, It is also possible to determine the maximum charging current currently supported by the device to be charged (such as the terminal) and the current output capability of the device, and determine the output of the second adapter in the second charging mode for the device to be charged (eg, the terminal). Charging current.

可選地,在一些實施例中,控制單元與待充電裝置(如終端)進行雙向通訊,以控制在第二充電模式下的第二適配器的輸出的程序可包括:在第二適配器使用第二充電模式為待充電裝置(如終端)進行充電的程序中,控制單元與待充電裝置(如終端)進行雙向通訊,以調整在第二充電模式下第二適配器的輸出電流。Optionally, in some embodiments, the program that the control unit performs bidirectional communication with the device to be charged (eg, the terminal) to control the output of the second adapter in the second charging mode may include: using the second in the second adapter In the charging mode for charging a 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 two-way communication between the control unit and the device to be charged (such as the terminal) to adjust the output current of the second adapter may include: the control unit sends a fourth command to the device to be charged (such as the terminal), and the fourth command is used to query The current voltage of the battery of the device to be charged (such as the terminal); the control unit receives a reply command of a fourth command sent by the second adapter, the reply command of the fourth command is used to indicate the current voltage of the battery; and the control unit is based on the current voltage of the battery , adjust the output current of the second adapter.

可選地,在一些實施例中,如第19A圖所示,第二適配器10包括一充電介面191。進一步地,在一些實施例中,第二適配器10中的控制單元(如第23圖中的MCU)可通過充電介面191中的資料線192與待充電裝置(如終端)進行雙向通訊。Optionally, in some embodiments, as shown in FIG. 19A, the second adapter 10 includes a charging interface 191. Further, in some embodiments, the control unit in the second adapter 10 (such as the MCU in FIG. 23) can communicate bidirectionally with the device to be charged (such as a terminal) through the data line 192 in the charging interface 191.

可選地,在一些實施例中,控制單元與待充電裝置(如終端)進行雙向通訊,以控制在第二充電模式下第二適配器的輸出的程序可包括:控制單元與待充電裝置(如終端)進行雙向通訊,以確定充電介面是否接觸不良。Optionally, in some embodiments, the program for bidirectional communication between the control unit and the device to be charged (eg, the terminal) to control the output of the second adapter in the second charging mode may include: the control unit and the device to be charged (eg, The terminal) performs two-way communication to determine whether the charging interface is in poor contact.

具體地,控制單元與待充電裝置(如終端)進行雙向通訊,以便確定充電介面是否接觸不良可包括:控制單元向待充電裝置(如終端)發送一第四指令,第四指令用於詢問待充電裝置(如終端)的電池的當前電壓;控制單元接收待充電裝置(如終端)發送的一第四指令的回覆指令,第四指令的回覆指令用於指示待充電裝置(如終端)的電池的當前電壓;控制單元根據第二適配器的輸出電壓和待充電裝置(如終端)電池的當前電壓,確定充電介面是否接觸不良。例如,控制單元確定第二適配器的輸出電壓和待充電裝置(如終端)的當前電壓的壓差大於預設的電壓臨界值,則表明此時壓差除以第二適配器輸出的當前電流值所得到的阻抗大於預設的阻抗臨界值,即可確定充電介面接觸不良。Specifically, the two-way communication between the control unit and the device to be charged (such as the terminal) to determine whether the charging interface is in poor contact may include: the control unit sends a fourth command to the device to be charged (such as the terminal), and the fourth command is used to query The current voltage of the battery of the charging device (such as the terminal); the control unit receives a reply command of a fourth command sent by the device to be charged (such as the terminal), and the reply command of the fourth command is used to indicate the battery of the device to be charged (such as the terminal) The current voltage; the control unit determines whether the charging interface is in poor contact according to the output voltage of the second adapter and the current voltage of the battery of the device to be charged (eg, the terminal). For example, 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 (eg, the terminal) is greater than a preset voltage threshold, indicating that the voltage difference is divided by the current current value output by the second adapter. The obtained impedance is greater than the preset impedance threshold to determine the poor contact of the charging interface.

可選地,在一些實施例中,充電介面接觸不良也可由待充電裝置(如終端)進行確定:待充電裝置(如終端)向控制單元發送第六指令,第六指令用於詢問第二適配器的輸出電壓;待充電裝置(如終端)接收控制單元發送的第六指令的回覆指令,第六指令的回覆指令用於指示第二適配器的輸出電壓;待充電裝置(如終端)根據待充電裝置(如終端)電池的當前電壓和一第二適配器的輸出電壓,確定充電介面是否接觸不良。在待充電裝置(如終端)確定充電介面接觸不良後,待充電裝置(如終端)向控制單元發送第五指令,第五指令用於指示充電介面接觸不良。控制單元在接收到第五指令之後,可以控制第二適配器退出第二充電模式。Optionally, in some embodiments, the charging interface contact failure may also be determined by a device to be charged (such as a terminal): the device to be charged (such as a terminal) sends a sixth command to the control unit, and the sixth command is used to query the second adapter. Output voltage; the device to be charged (such as a terminal) receives the reply command of the sixth command sent by the control unit, the reply command of the sixth command is used to indicate the output voltage of the second adapter; the device to be charged (such as the terminal) according to the device to be charged (such as the terminal) the current voltage of the battery and the output voltage of a second adapter to determine whether the charging interface is in poor contact. After the charging device (such as the terminal) determines that the charging interface is in poor contact, the device to be charged (such as the terminal) sends a fifth command to the control unit, and the fifth command is used to indicate that the charging interface is in poor contact. After receiving the fifth instruction, the control unit may control the second adapter to exit the second charging mode.

下面結合第19B圖,更加詳細地描述第二適配器中的控制單元與待充電裝置(如終端)之間的通訊程序。應注意,第19B圖的例子僅僅是為了幫助本領域技術人員理解本發明實施例,而非要將本發明實施例限於所例示的具體數值或具體場景。本領域技術人員根據所給出的第19B圖的例子,顯然可以進行各種等價的修改或變化,這樣的修改或變化也落入本發明實施例的範圍內。The communication procedure between the control unit in the second adapter and the device to be charged (e.g., terminal) will be described in more detail below in conjunction with FIG. 19B. It should be noted that the example of FIG. 19B is merely for the purpose of facilitating the understanding of 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 examples illustrated. A person skilled in the art will be able to make various modifications or changes in the form of the embodiment of FIG. 19B, and such modifications or variations are also within the scope of the embodiments of the present invention.

如第19B圖所示,在第二充電模式下第二適配器的輸出對待充電裝置(如終端)的充電程序,即充電程序可以包含五個階段: 階段1: 待充電裝置(如終端)與電源提供裝置連接後,待充電裝置(如終端)可以通過資料線D+、D-檢測電源提供裝置的類型,當檢測到電源提供裝置為第二適配器時,則待充電裝置(如終端)吸收的電流可以大於預設的電流臨界值I2(例如可以是1A)。當第二適配器中的控制單元檢測到預設時長(例如,可以是連續T1時間)內第二適配器的輸出電流大於或等於I2時,則控制單元可以認為待充電裝置(如終端)對於電源提供裝置的類型識別已經完成,控制單元開啟第二適配器與待充電裝置(如終端)之間的協商程序,向待充電裝置(如終端)發送指令1(對應於上述第一指令),以詢問待充電裝置(如終端)是否同意第二適配器以第二充電模式對待充電裝置(如終端)進行充電。As shown in FIG. 19B, in the second charging mode, the charging process of the second adapter to the charging device (such as the terminal), that is, the charging procedure, may include five phases: Phase 1: To-be-charged device (such as terminal) and power supply After the device is connected, the device to be charged (such as a terminal) can detect the type of the power supply device through the data lines D+ and D-, and when the power supply device is detected as the second adapter, the current to be absorbed by the device to be charged (such as the terminal) It may be greater than a preset current threshold I2 (for example, may be 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 within a preset duration (eg, may be continuous T1 time), the control unit may consider the device to be charged (eg, the terminal) to be powered The type identification of the providing device has been completed, the control unit opens a negotiation procedure between the second adapter and the device to be charged (such as the terminal), and sends an instruction 1 (corresponding to the first instruction) to the device to be charged (such as the terminal) to inquire Whether the device to be charged (such as a terminal) agrees to charge the second adapter in a second charging mode to charge the device (such as a terminal).

當控制單元收到待充電裝置(如終端)發送的指令1的回覆指令,且該指令1的回覆指令指示待充電裝置(如終端)不同意第二適配器以第二充電模式對待充電裝置(如終端)進行充電時,控制單元再次檢測第二適配器的輸出電流。當第二適配器的輸出電流在預設的連續時長內(例如,可以是連續T1時間)仍然大於或等於I2時,控制單元再次向待充電裝置(如終端)發送指令1,詢問待充電裝置(如終端)是否同意第二適配器以第二充電模式對待充電裝置(如終端)進行充電。控制單元重複階段1的上述步驟,直到待充電裝置(如終端)同意第二適配器以第二充電模式對待充電裝置(如終端)進行充電,或第二適配器的輸出電流不再滿足大於或等於I2的條件。When the control unit receives the reply command of the instruction 1 sent by the device to be charged (such as the terminal), and the reply command of the command 1 indicates that the device to be charged (such as the terminal) does not agree with the second adapter to treat the device in the second charging mode (such as When the terminal is charging, 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 period (for example, may be continuous T1 time), the control unit again sends an instruction 1 to the device to be charged (such as the terminal) to inquire about the device to be charged. Whether the terminal, for example, the terminal, agrees to charge the charging device (e.g., terminal) in the second charging mode. The control unit repeats the above steps of phase 1 until the device to be charged (such as the terminal) agrees that the second adapter charges the device to be charged (such as the terminal) in the second charging mode, or the output current of the second adapter no longer satisfies greater than or equal to I2 conditions of.

當待充電裝置(如終端)同意第二適配器以第二充電模式對待充電裝置(如終端)進行充電後,通訊流程進入第2階段。When the device to be charged (such as a terminal) agrees that the second adapter charges the charging device (such as a terminal) in the second charging mode, the communication flow enters the second stage.

階段2: 第二適配器的輸出電壓可以包括複數檔位元。控制單元向待充電裝置(如終端)發送指令2(對應於上述第二指令),以詢問第二適配器的輸出電壓(當前的輸出電壓)與待充電裝置(如終端)電池的當前電壓是否匹配。Phase 2: The output voltage of the second adapter can include a plurality of gears. The control unit sends an instruction 2 (corresponding to the second instruction) to the device to be charged (such as the terminal) to inquire whether the output voltage of the second adapter (current output voltage) matches the current voltage of the battery of the device to be charged (such as the terminal) .

待充電裝置(如終端)向控制單元發送指令2的回覆指令,以指示第二適配器的輸出電壓與待充電裝置(如終端)電池的當前電壓匹配、偏高或偏低。如果針對指令2的回覆指令指示第二適配器的輸出電壓偏高或偏低,控制單元可以將第二適配器的輸出電壓調整一格檔位元,並再次向待充電裝置(如終端)發送指令2,重新詢問第二適配器的輸出電壓與待充電裝置(如終端)電池的當前電壓是否匹配。重複階段2的上述步驟直到待充電裝置(如終端)確定第二適配器的輸出電壓與待充電裝置(如終端)電池的當前電壓匹配,進入第3階段。The device to be charged (such as a terminal) sends a reply command of the instruction 2 to the control unit to indicate that the output voltage of the second adapter matches the current voltage of the battery of the device to be charged (such as the terminal), is high or low. If the reply command for the instruction 2 indicates that the output voltage of the second adapter is high or low, the control unit may adjust the output voltage of the second adapter to a grid position and send the instruction 2 to the device to be charged (such as the terminal) again. Re-inquiring whether the output voltage of the second adapter matches the current voltage of the battery to be charged (such as the terminal). The above steps of phase 2 are repeated until the device to be charged (e.g., the terminal) determines that the output voltage of the second adapter matches the current voltage of the battery of the device to be charged (e.g., the terminal), and proceeds to the third stage.

階段3: 控制單元向待充電裝置(如終端)發送指令3(對應於上述第三指令),詢問待充電裝置(如終端)當前支援的最大充電電流。待充電裝置(如終端)向控制單元發送指令3的回覆指令,以指示待充電裝置(如終端)當前支援的最大充電電流,並進入第4階段。Stage 3: The control unit sends an instruction 3 (corresponding to the above-mentioned third instruction) to the device to be charged (such as the terminal), and queries the maximum charging current currently supported by the device to be charged (such as the terminal). The device to be charged (such as a terminal) sends a reply command of instruction 3 to the control unit to indicate the maximum charging current currently supported by the device to be charged (such as the terminal), and enters the fourth stage.

階段4: 控制單元根據待充電裝置(如終端)當前支援的最大充電電流,確定在第二充電模式下第二適配器輸出的用於對待充電裝置(如終端)進行充電的充電電流,然後進入階段5,即恆流充電階段。Stage 4: The control unit determines, according to the maximum charging current currently supported by the device to be charged (such as the terminal), the charging current for charging the device to be charged (such as the terminal) output by the second adapter in the second charging mode, and then enters the stage. 5, that is, the constant current charging phase.

階段5: 在進入恆流充電階段後,控制單元可以每間隔一段時間向待充電裝置(如終端)發送指令4(對應於上述第四指令),詢問待充電裝置(如終端)電池的當前電壓。待充電裝置(如終端)可以向控制單元發送指令4的回覆指令,以回饋待充電裝置(如終端)電池的當前電壓。控制單元可以根據待充電裝置(如終端)電池的當前電壓,判斷充電介面的接觸是否良好,以及是否需要降低第二適配器的輸出電流。當第二適配器判斷充電介面的接觸不良時,可以向待充電裝置(如終端)發送指令5(對應於上述第五指令),第二適配器會退出第二充電模式,然後重定並重新進入階段1。Stage 5: After entering the constant current charging phase, the control unit may send an instruction 4 (corresponding to the fourth instruction) to the device to be charged (such as the terminal) at intervals, and query the current voltage of the battery of the device to be charged (such as the terminal). . The device to be charged (such as a terminal) can send a reply command of instruction 4 to the control unit to feed back the current voltage of the battery of the device to be charged (such as the terminal). The control unit can determine whether the contact of the charging interface is good according to the current voltage of the battery of the device to be charged (such as the terminal), and whether it is necessary to reduce the output current of the second adapter. When the second adapter determines that the charging interface is in poor contact, the instruction 5 (corresponding to the fifth instruction) may be sent to the device to be charged (such as the terminal), the second adapter will exit the second charging mode, and then reset and re-enter the phase 1. .

可選地,在一些實施例中,在階段1中,待充電裝置(如終端)發送指令1的回覆指令時,指令1的回覆指令中可以攜帶該待充電裝置(如終端)的通路阻抗的資料(或資訊)。待充電裝置(如終端)的通路阻抗資料可用於在階段5判斷充電介面的接觸是否良好。Optionally, in some embodiments, in the phase 1, when the device to be charged (such as a terminal) sends the reply command of the instruction 1, the reply command of the command 1 may carry the path impedance of the device to be charged (such as the terminal). Information (or information). The path impedance data of the device to be charged (e.g., the terminal) can be used to determine if the contact of the charging interface is good at stage 5.

可選地,在一些實施例中,在階段2中,從待充電裝置(如終端)同意第二適配器在第二充電模式下對一待充電裝置(如終端)進行充電到控制單元將第二適配器的輸出電壓調整到合適的充電電壓所經歷的時間可以控制在一定範圍之內。如果該時間超出預定範圍,則第二適配器或待充電裝置(如終端)可以判定快充通訊程序異常,重置以重新進入階段1。Optionally, in some embodiments, in phase 2, the device to be charged (such as a terminal) agrees that the second adapter charges a device to be charged (such as a terminal) in the second charging mode to the control unit to be the second The time it takes for the adapter's output voltage to adjust to the proper charging voltage can be controlled within a certain range. If the time is outside the predetermined range, the second adapter or the device to be charged (such as the terminal) can determine that the fast charge communication program is abnormal and reset to re-enter phase 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 to be charged (eg, the terminal) by ΔV (ΔV may be set to 200-500 mV), the device to be charged A reply command of instruction 2 can be sent to the control unit (eg, the terminal) to indicate that the output voltage of the second adapter matches the battery voltage of the device to be charged (eg, the 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 the second adapter in the second charging mode due to the too fast adjustment speed. An abnormality occurs in the output of the charging program to be charged to the charging device (such as the terminal).

可選地,在一些實施例中,在階段5中,第二適配器的輸出電流的變化幅度可以控制在5%以內。Alternatively, in some embodiments, in stage 5, the magnitude of the change in the output current of the second adapter may be controlled within 5%.

可選地,在一些實施例中,在階段5中,控制單元可以即時監測充電電路的通路阻抗。具體地,控制單元可以根據第二適配器的輸出電壓、輸出電流及待充電裝置(如終端)回饋的電池的當前電壓,監測充電電路的通路阻抗。當“充電電路的通路阻抗”>“待充電裝置(如終端)的通路阻抗+充電線纜的阻抗”時,可以認為充電介面接觸不良,第二適配器停止在第二充電模式下對一待充電裝置(如終端)進行充電。Alternatively, in some embodiments, in stage 5, the control unit can immediately monitor the path impedance of the charging circuit. Specifically, the control unit may monitor the path impedance of the charging circuit according to the output voltage of the second adapter, the output current, and the current voltage of the battery to be fed back by the device to be charged (eg, the terminal). When "the path impedance of the charging circuit" > "the path impedance of the device to be charged (such as the terminal) + the impedance of the charging cable", it can be considered that the charging interface is in poor contact, and the second adapter stops charging in the second charging mode. The device (such as a terminal) is charged.

可選地,在一些實施例中,第二適配器開啟在第二充電模式下對一待充電裝置(如終端)進行充電之後,控制單元與待充電裝置(如終端)之間的通訊時間間隔可以控制在一定範圍之內,避免通訊間隔過短而導致通訊程序發生異常。Optionally, in some embodiments, after the second adapter is turned on to charge a device to be charged (such as a terminal) in the second charging mode, a communication time interval between the control unit and the device to be charged (such as the terminal) may be The control is within a certain range, and the communication interval is too short to cause an abnormality in the communication program.

可選地,在一些實施例中,充電程序的停止(或第二適配器在第二充電模式下對一待充電裝置(如終端)的充電程序的停止)可以分為可恢復的停止和不可恢復的停止兩種。Optionally, in some embodiments, the stopping of the charging procedure (or the stopping of the charging procedure of the second adapter in a second charging mode for a device to be charged (such as a terminal)) may be divided into recoverable stop and unrecoverable. Stop both.

例如,當檢測到待充電裝置(如終端)的電池充滿或充電介面接觸不良時,充電程序停止,充電通訊程序重置,充電程序重新進入階段1。然後,待充電裝置(如終端)不同意第二適配器在第二充電模式下對一待充電裝置(如終端)進行充電,則通訊流程不進入階段2。這種情況下的充電程序的停止可以視為不可恢復的停止。For example, when it is detected that the battery of the device to be charged (such as the terminal) is full or the charging interface is poorly contacted, the charging process is stopped, the charging communication program is reset, and the charging procedure re-enters Phase 1. Then, the device to be charged (such as the terminal) does not agree that the second adapter charges a device to be charged (such as a terminal) in the second charging mode, and the communication flow does not enter phase 2. The stop of the charging procedure in this case can be considered as an unrecoverable stop.

又例如,當控制單元與待充電裝置(如終端)之間出現通訊異常時,充電程序停止,充電通訊程序重置,充電程序重新進入階段1。在滿足階段1的要求後,待充電裝置(如終端)同意第二適配器在第二充電模式下對一待充電裝置(如終端)進行充電以恢復充電程序。這種情況下的充電程序的停止可以視為可恢復的停止。For another example, when a communication abnormality occurs between the control unit and the device to be charged (such as a terminal), the charging process is stopped, the charging communication program is reset, and the charging procedure re-enters Phase 1. After the requirements of phase 1 are met, the device to be charged (such as the terminal) agrees that the second adapter charges a device to be charged (such as a terminal) in the second charging mode to resume the charging process. The stop of the charging program in this case can be regarded as a recoverable stop.

又例如,當待充電裝置(如終端)檢測到電池出現異常時,充電程序停止,充電通訊程序重置,充電程序重新進入階段1。然後,待充電裝置(如終端)不同意第二適配器在第二充電模式下對一待充電裝置(如終端)進行充電。當電池恢復正常,且滿足階段1的要求後,待充電裝置(如終端)同意第二適配器在第二充電模式下對一待充電裝置(如終端)進行充電。這種情況下的快充程序的停止可以視為可恢復的停止。For another example, when the device to be charged (such as the terminal) detects that the battery is abnormal, the charging process is stopped, the charging communication program is reset, and the charging procedure re-enters Phase 1. Then, the device to be charged (such as the terminal) does not agree that the second adapter charges a 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 the terminal) agrees that the second adapter charges a device to be charged (such as a terminal) in the second charging mode. The stop of the fast charge program in this case can be regarded as a recoverable stop.

以上對第19B圖示出的通訊步驟或操作僅是示例。例如,在階段1中,待充電裝置(如終端)與第二適配器進行連接後,待充電裝置(如終端)與控制單元之間的握手通訊也可以由待充電裝置(如終端)發起,即待充電裝置(如終端)發送指令1,詢問控制單元是否開啟第二充電模式。當待充電裝置(如終端)接收到控制單元的回覆指令指示控制單元同意第二適配器在第二充電模式下對一待充電裝置(如終端)進行充電時,第二適配器開始在第二充電模式下對一待充電裝置(如終端)的電池進行充電。The communication steps or operations shown above for FIG. 19B are merely examples. For example, in the phase 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 the terminal) and the control unit may 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 inquire whether the control unit turns on the second charging mode. When the charging device (such as a terminal) receives a reply command from the control unit to instruct the control unit to agree that the second adapter charges a device to be charged (such as a terminal) in the second charging mode, the second adapter starts in the second charging mode. The battery of a device to be charged (such as a terminal) is charged.

又如,在階段5之後,還可包括恆壓充電階段。具體地,在階段5中,待充電裝置(如終端)可以向控制單元回饋電池的當前電壓,當電池的當前電壓達到恆壓充電電壓臨界值時,充電階段從恆流充電階段轉入恆壓充電階段。在恆壓充電階段中,充電電流逐漸減小,當電流下降至某一臨界值時停止整個充電程序,表示待充電裝置(如終端)的電池已經被充滿。As another example, after phase 5, a constant voltage charging phase can also be included. Specifically, in phase 5, the device to be charged (such as a terminal) can feed back the current voltage of the battery to the control unit. When the current voltage of the battery reaches the threshold value of the constant voltage charging voltage, the charging phase is switched from the constant current charging phase to the constant voltage. Charging phase. In the constant voltage charging phase, the charging current is gradually decreased, and when the current drops to a certain critical value, the entire charging process is stopped, indicating that the battery of the device to be charged (such as the terminal) has been fully charged.

可選地,在一些實施例中,第二適配器的輸出電流為脈動直流電(或稱單向脈動的輸出電流,或稱脈動波形的電流,或稱饅頭波電流)。脈動直流電的波形如第20圖所示。Optionally, in some embodiments, the output current of the second adapter is a pulsating direct current (or a unidirectional pulsating output current, or a pulsating waveform current, or a head wave current). The waveform of the pulsating direct current is shown in Fig. 20.

隨著第二適配器的輸出功率變大,第二適配器在對待充電裝置(如終端)內的電池進行充電時,容易造成電池的析鋰現象,從而降低電池的使用壽命。為了提高電池的可靠性和安全性,本發明實施例控制第二適配器輸出脈動直流電。脈動直流電能夠減少充電介面的觸點的起弧的機率和強度,提高充電介面的壽命。將第二適配器的輸出電流設置為脈動直流電的方式可以有多種,例如,可以去掉功率轉換單元11中的次級濾波單元,將次級電流整流之後直接輸出,形成脈動直流電。As the output power of the second adapter becomes larger, when the second adapter charges the battery in the charging device (such as the terminal), it is easy to cause lithium deposition of the battery, thereby reducing the service life of the battery. In order to improve the reliability and safety of the battery, the embodiment of the invention controls the second adapter to output the pulsating direct current. The pulsating direct current can reduce the probability and intensity of the arcing of the contacts of the charging interface and improve the life of the charging interface. There are various ways of setting the output current of the second adapter to the pulsating direct current. For example, the secondary filtering unit in the power conversion unit 11 can be removed, and the secondary current can be directly rectified and outputted to form a pulsating direct current.

進一步地,如第21圖所示,在上述任一實施例的基礎上,第二適配器10可支援一第一充電模式和一第二充電模式,第二適配器在第二充電模式下對一待充電裝置(如終端)的充電速度快於第二適配器在第一充電模式下對一待充電裝置(如終端)的充電速度。功率轉換單元11可包括一次級濾波單元211,第二適配器10可包括一控制單元212,控制單元212與次級濾波單元211相連。在第一充電模式下,控制單元212控制次級濾波單元211工作,使得第二適配器10的輸出電壓的電壓值恆定。在第二充電模式下,控制單元212控制次級濾波單元211停止工作,使得第二適配器10的輸出電流為脈動直流電。Further, as shown in FIG. 21, on the basis of any of the above embodiments, the second adapter 10 can support a first charging mode and a second charging mode, and the second adapter is in a second charging mode. The charging device (such as a terminal) is charged faster than the charging speed of the second adapter in a first charging mode to a device to be charged (such as a terminal). The power conversion unit 11 may include a primary filtering unit 211, the second adapter 10 may include a control unit 212, and the control unit 212 is connected to the secondary filtering unit 211. In the first charging mode, the control unit 212 controls the secondary filtering unit 211 to operate such that the voltage value of the output voltage of the second adapter 10 is constant. In the second charging mode, the control unit 212 controls the secondary filtering unit 211 to stop operating such that the output current of the second adapter 10 is pulsating direct current.

本發明實施例中,控制單元可以控制次級濾波單元是否工作,使得第二適配器既可以輸出電流值恆定的普通直流電,也可以輸出電流值變化的脈動直流電,從而相容了現有的充電模式。In the embodiment of the present invention, the control unit may control whether the secondary filtering unit operates, so that the second adapter can output a common direct current with a constant current value or a pulsating direct current with a changed 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 can be a constant current mode. In the second charging mode, the output current of the second adapter is an alternating current, and the alternating current can also reduce the lithium deposition phenomenon of the lithium battery and improve the service life of the battery.

可選地,在一些實施例中,第二適配器10支援一第二充電模式,第二充電模式可以為恆流模式,在第二充電模式下,第二適配器的輸出電壓和輸出電流直接載入在待充電裝置(如終端)的電池的兩端,為電池進行直充。Optionally, in some embodiments, the second adapter 10 supports a second charging mode, and the second charging mode may be a constant current mode. In the second charging mode, the output voltage and the output current of the second adapter are directly loaded. The battery is directly charged at both ends of the battery to be charged (such as a terminal).

具體地,直充可以指將第二適配器的輸出電壓和輸出電流直接載入在(或者直接引導至)待充電裝置(如終端)電池的兩端,為待充電裝置(如終端)的電池充電,中間無需經過變換電路對第二適配器的輸出電流或輸出電壓進行變換,避免變換程序帶來的能量損失。在使用第二充電模式進行充電的程序中,為了能夠調整充電電路上的充電電壓或充電電流,可以將第二適配器設計成智慧的適配器,由第二適配器完成充電電壓或充電電流的變換,這樣可以減輕待充電裝置(如終端)的負擔,並降低待充電裝置的發熱量。本文中的恆流模式是指對第二適配器的輸出電流進行控制的充電模式,並非要求第二適配器的輸出電流保持恆定不變。實際中,第二適配器在恆流模式下通常採用分段恆流的方式進行充電。Specifically, the direct charge may refer to directly loading (or directly guiding) the output voltage and the output current of the second adapter to the battery of the device to be charged (such as the terminal) to charge the battery of the device to be charged (such as the terminal). In the middle, there is no need to change the output current or output voltage of the second adapter through the conversion circuit to avoid energy loss caused by the conversion program. 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 a smart adapter, and the second adapter can complete the charging voltage or the charging current conversion. The burden on the device to be charged (such as the terminal) can be reduced, and the amount of heat generated by the device to be charged can be reduced. The constant current mode herein refers to a charging mode that controls the output current of the second adapter, and does not require that the output current of the second adapter be kept constant. In practice, the second adapter is typically charged in a constant current mode using a piecewise constant current.

分段恆流充電(Multi-stage constant current charging)具有N個充電階段(N為一個不小於2的整數)。分段恆流充電可以以預定的充電電流開始第一階段充電。該分段恆流充電的N個充電階段從第一階段到第(N-1)個階段依次被執行,當充電階段中的前一個充電階段轉到下一個充電階段後,充電電流值變小;當電池電壓到達充電終止電壓臨界值時,充電階段中的前一個充電階段會轉到下一個充電階段。Multi-stage constant current charging has N charging phases (N is an integer not less than 2). The piecewise constant current charging can start the first stage charging with a predetermined charging current. The N charging phases of the segmented constant current charging are sequentially performed from the first phase to the (N-1)th phase, and the charging current value becomes smaller after the previous charging phase in the charging phase is transferred to the next charging phase. When the battery voltage reaches the charge termination voltage threshold, the previous charging phase in the charging phase will move to the next charging phase.

進一步地,在第二適配器的輸出電流為脈動直流電的情況下,恆流模式可以指對脈動直流電的峰值或均值進行控制的充電模式,即控制第二適配器的輸出電流的峰值不超過恆流模式對應的電流,如第22圖所示。此外,第二適配器的輸出電流為交流電的情況下,恆流模式可以指對交流電的峰值進行控制的充電模式。Further, in the case that 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 the average value of the pulsating direct current, that is, the peak value of the output current of the second adapter is controlled not to exceed the constant current mode. The corresponding current is shown in Figure 22. Further, in the case where the output current of the second adapter is an alternating current, the constant current mode may refer to a charging mode that controls the peak value of the alternating current.

下面結合具體例子,更加詳細地描述本發明實施例。應注意,第23圖的例子僅僅是為了幫助本領域技術人員理解本發明實施例,而非要將本發明實施例限於所例示的具體數值或具體場景。本領域技術人員根據所給出的第23圖的例子,顯然可以進行各種等價的修改或變化,這樣的修改或變化也落入本發明實施例的範圍內。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 only intended to assist those skilled in the art to 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 examples illustrated. A person skilled in the art will be able to make various modifications or changes in the embodiments according to the example of FIG. 23, and such modifications or variations are also 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 above). As shown in FIG. 23, the power conversion unit may include an input terminal of an alternating current AC, a primary rectifying unit 231, a transformer T1, a secondary rectifying unit 232, and a secondary filtering unit 233.

具體地,交流電AC的輸入端引入市電(一般是220V的交流電),然後將市電傳輸至初級整流單元231。Specifically, the input terminal of the alternating current AC introduces commercial power (generally 220V alternating current), and then the commercial power is transmitted to the primary rectifying unit 231.

初級整流單元231用於將市電轉換成第一脈動直流電,然後將第一脈動直流電傳輸至變壓器T1。初級整流單元231可以是橋式整流單元,例如可以是如第23圖所示的全橋整流單元,或者,也可以是半橋整流單元,本發明實施例對此不作具體限定。The primary rectification unit 231 is for converting the commercial power into the first pulsating direct current, and then transmitting the first pulsating direct current to the transformer T1. The primary rectifying unit 231 may be a bridge rectifying unit, and may be, for example, a full-bridge rectifying unit as shown in FIG. 23, or may be a half-bridge rectifying unit, which is not specifically limited in the embodiment of the present invention.

現有的適配器的初級側包括一初級濾波單元,初級濾波單元一般基於液態鋁質電解電容進行濾波,而液態鋁質電解電容的體積較大,會導致適配器的體積較大,本發明實施例提供的第二適配器的初級側不包括一初級濾波單元,這樣可以大幅減小第二適配器的體積。The primary side of the existing adapter includes a primary filtering unit. The primary filtering unit is generally based on a liquid aluminum electrolytic capacitor for filtering. The volume of the liquid aluminum electrolytic capacitor is large, which results in a large volume of the adapter. The primary side of the second adapter does not include a primary filtering unit, which greatly reduces the volume of the second adapter.

變壓器T1用於將第一脈動直流電從變壓器的初級耦合至次級,得到一第二脈動直流電,並由變壓器T1的次級繞組輸出該第二脈動直流電。變壓器T1可以是普通變壓器,也可以是工作頻率為50KHz-2MHz的高頻變壓器。變壓器T1的初級繞組的個數及連接形式與第二適配器中採用的開關電源的類型有關,本發明實施例對此不作具體限定。如第23圖所示,第二適配器可以採用反馳式開關電源。變壓器的初級繞組的一端與初級整流單元231相連,初級繞組的另一端與PWM控制器所控制的開關相連。當然,第二適配器還可以是採用順向式開關電源,或推挽式開關電源的第二適配器。不同類型的開關電源中的初級整流單元和變壓器具有各自的連接形式,為了簡潔,這裡不再一一列舉。The transformer T1 is for coupling the first pulsating direct current from the primary to the secondary of the transformer to obtain a second pulsating direct current, and the second pulsating direct current is output by the secondary winding of the transformer T1. The transformer T1 can be an ordinary transformer or a high frequency transformer with an operating frequency of 50 kHz to 2 MHz. The number of the primary windings of the transformer T1 and the connection form are related to the type of the switching power supply used in the second adapter, which is not specifically limited in the embodiment of the present invention. As shown in Fig. 23, the second adapter can be a flyback switching power supply. One end of the primary winding of the transformer is connected to the primary rectifying unit 231, and the other end of the primary winding is connected to a switch controlled by the PWM controller. Of course, the second adapter can also be a second adapter that uses a forward switching power supply or a push-pull switching power supply. The primary rectifying units and transformers in different types of switching power supplies have their own connection forms, which are not listed here for brevity.

次級整流單元232用於對變壓器T1的次級繞組輸出的第二脈動直流電進行整流,得到一第三脈動直流電。次級整流單元232的形式有多種,第23圖所示了一種典型的次級同步整流電路,該同步整流電路包括同步整流(Synchronous Rectifier,SR)晶片,受該SR晶片控制的MOS(Metal Oxide Semiconductor,MOS)管,以及連接在MOS電晶體源極和汲極兩端的二極體。該SR晶片向MOS電晶體的閘極發出PWM控制訊號,控制該MOS電晶體的通斷,從而實現次級的同步整流。The secondary rectifying unit 232 is configured to rectify the second pulsating direct current outputted from the secondary winding of the transformer T1 to obtain a third pulsating direct current. There are various forms of the secondary rectifying unit 232. Fig. 23 shows a typical secondary synchronous rectification circuit including a Synchronous Rectifier (SR) chip, and a MOS controlled by the SR chip (Metal Oxide). A semiconductor, MOS) transistor, and a diode connected across the source and drain of the MOS transistor. The SR chip sends a PWM control signal to the gate of the MOS transistor to control the on and off of the MOS transistor, thereby achieving secondary synchronous rectification.

次級濾波單元233用於對次級整流單元232輸出的第二脈動直流電進行整流,得到一第二適配器的輸出電壓和輸出電流(即第23圖中的VBUS和GND兩端的電壓和電流)。第23圖的實施例中,次級濾波單元233中的電容可以採用固態電容,或固態電容與普通電容(如陶瓷電容)並聯的方式進行濾波。The secondary filtering unit 233 is configured to rectify the second pulsating direct current outputted by the secondary rectifying unit 232 to obtain an output voltage and an output current of the second adapter (ie, voltages and currents across VBUS and GND in FIG. 23). In the embodiment of Fig. 23, the capacitance in the secondary filtering unit 233 can be filtered by using a solid capacitor or a solid capacitor in parallel with a common capacitor (such as a ceramic capacitor).

進一步地,次級濾波單元233還可以包含開關單元,如第23圖中的開關管Q1。該開關管Q1接收MCU發送的控制訊號。當MCU控制開關管Q1閉合時,次級濾波單元233工作,使得第二適配器工作在第一充電模式。在第一充電模式下,第二適配器的輸出電壓可以為5V,輸出電流為平穩的直流電。當MCU控制開關管Q1斷開時,次級濾波單元233停止工作,第二適配器工作在第二充電模式。在第二充電模式下,第二適配器直接將次級整流單元232整流得到的脈動直流電輸出。Further, the secondary filtering unit 233 may further include a switching unit such as the switching transistor Q1 in FIG. The switch Q1 receives the control signal sent by the MCU. When the MCU control switch Q1 is closed, the secondary filter unit 233 operates such 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 control switch Q1 is turned off, the secondary filter unit 233 stops operating, and the second adapter operates in the second charging mode. In the second charging mode, the second adapter directly outputs the pulsating direct current output obtained by the secondary rectifying unit 232.

進一步地,第二適配器可包括電壓回饋單元(對應於上文中的電壓回饋單元12)。如第23圖所示,電壓回饋單元可包括電阻R1、電阻R2和第一運放OPA1。Further, the second adapter may include a voltage feedback unit (corresponding to the voltage feedback unit 12 above). As shown in FIG. 23, the voltage feedback unit may include a resistor R1, a resistor R2, and a first op amp OPA1.

具體地,電阻R1和電阻R2對第二適配器的輸出電壓(即VBUS上的電壓)進行取樣,並將取樣得到的第一電壓發送至OPA1的反相輸入端,以指示第二適配器的輸出電壓的大小。第一運放OPA1的同相輸入端通過DAC1與MCU的DAC1埠相連。MCU通過控制DAC1的輸出的模擬量的大小,調節第一運放OPA1的參考電壓(對應於上文中的第一參考電壓)的電壓值,進而調節電壓回饋單元對應的目標電壓的電壓值。Specifically, the resistor R1 and the resistor R2 sample the output voltage of the second adapter (ie, the voltage on the VBUS), and send the sampled first voltage to the inverting input of the OPA1 to indicate the output voltage of the second adapter. the size of. The non-inverting input of the first op amp OPA1 is connected to the DAC1 of the MCU through DAC1. The MCU adjusts the voltage value of the reference voltage of the first operational amplifier OPA1 (corresponding to the first reference voltage in the above) by controlling the magnitude of the analog quantity of the output of the DAC 1, thereby adjusting the voltage value of the target voltage corresponding to the voltage feedback unit.

進一步地,第二適配器可包括電流回饋單元(對應於上文中的電流回饋單元13)。如第23圖所示,電流回饋單元可包括電阻R3、檢流計、電阻R4、電阻R5和第二運放OPA2。Further, the second adapter may include a current feedback unit (corresponding to the current feedback unit 13 in the above). As shown in FIG. 23, the current feedback unit may include a resistor R3, a galvanometer, a resistor R4, a resistor R5, and a second op amp OPA2.

具體地,電阻R3為檢流電阻。檢流計通過檢測流過電阻R3的電流得到一第二適配器的輸出電流,然後將第二適配器的輸出電流轉換成對應的電壓值輸出至電阻R4和電阻R5兩端進行分壓,得到一第二電壓。第二電壓可用於指示第二適配器的輸出電流的大小。第二運放OPA2的反相輸入端用於接收第二電壓。第二運放OPA2的同相輸入端通過DAC2與MCU的DAC2埠相連。MCU通過控制DAC2的輸出的模擬量的大小,調節第二運放OPA2的參考電壓(對應於上文中的第二參考電壓)的電壓值,進而調節電流回饋單元對應的目標電流的電流值。Specifically, the resistor R3 is a current detecting resistor. The galvanometer obtains the output current of a second adapter by detecting the current flowing through the resistor R3, and then converts the output current of the second adapter into a corresponding voltage value and outputs it to the resistor R4 and the resistor R5 for voltage division to obtain a first Two voltages. The second voltage can be used to indicate the magnitude of the output current of the second adapter. The inverting input of the second op amp OPA2 is for receiving the second voltage. The non-inverting input of the second op amp OPA2 is connected to the DAC2 of the MCU via DAC2. The MCU adjusts the voltage value of the reference voltage of the second operational amplifier OPA2 (corresponding to the second reference voltage in the above) by controlling the magnitude of the analog quantity of the output of the DAC 2, 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 also includes a power adjustment unit (corresponding to the power adjustment unit 14 above). As shown in FIG. 23, the power adjustment unit may include a first diode D1, a second diode D2, a photoelectric coupling unit 234, a PWM controller, and a switching transistor 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 antiparallel diodes, and the anodes of the first diode D1 and the second diode D2 are connected to the second embodiment. Feedback point. The input of the optocoupler unit 234 is used to receive the voltage signal of the feedback point. When the voltage at the feedback point is lower than the operating voltage VDD of the photo-coupling unit 234, the photo-coupling unit 234 starts operating to supply 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 of the CS terminal and the FB terminal. When the voltage signal output by the first operational amplifier OPA1 (ie, the voltage feedback signal in the above) is 0, or the voltage signal output by the second operational amplifier OPA2 (ie, the current feedback signal in the above) is 0, the voltage at the FB terminal is stable. The duty cycle of the PWM control signal outputted by the PWM terminal of the PWM controller is kept constant. The PWM terminal of the PWM controller is connected to the primary winding of the transformer T1 through the switching transistor Q2 for controlling the output voltage and output current of the second adapter. When the duty ratio of the control signal sent from the PWM terminal is constant, the output voltage and output current of the second adapter remain stable.

進一步地,第23圖的第二適配器還包括一第一調整單元和一第二調整單元。如第23圖所示,第一調整單元包括MCU(對應於上文中的控制單元)和DAC1,用於調整第一運放OPA1的參考電壓的電壓值,進而調整電壓回饋單元對應的目標電壓的電壓值。第二調整單元包括MCU(對應於上文中的控制單元)和DAC2,用於調整第二運放OPA2的參考電壓,進而調整電流回饋單元對應的目標電流的電流值。Further, the second adapter of FIG. 23 further includes a first adjustment unit and a second adjustment unit. As shown in FIG. 23, the first adjusting unit includes an MCU (corresponding to the control unit in the above) and the DAC1 for adjusting the voltage value of the reference voltage of the first operational amplifier OPA1, thereby adjusting the target voltage corresponding to the voltage feedback unit. Voltage value. The second adjustment unit includes an MCU (corresponding to the control unit above) and a DAC 2 for adjusting the reference voltage of the second operational amplifier OPA2, thereby adjusting the current value of the target current corresponding to the current feedback unit.

MCU能夠根據第二適配器當前使用的充電模式對目標電壓的電壓值和目標電流的電流值進行調整。例如,當第二適配器使用恆壓模式進行充電時,可以將目標電壓調整為恆壓模式對應的電壓,將目標電流調整為恆壓模式下允許輸出的最大電流。又如,當第二適配器使用恆流模式充電時,可以將目標電流調整為恆流模式對應的電流,將目標電壓調整為恆流模式下允許輸出的最大電壓。The MCU can adjust the voltage value of the target voltage and the current value of the target current according to the charging mode currently used by the second adapter. For example, when the second adapter is charged in the 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 charged in the constant current mode, the target current can be adjusted to the current corresponding to the constant current mode, and the target voltage is adjusted to the maximum allowable output voltage 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). Considering that the primary filtering unit is not provided on the primary side (the primary filtering unit uses a larger liquid aluminum electrolytic capacitor, in order to reduce the volume of the second adapter, the primary filtering unit is removed), the secondary filtering unit 233 The load capacity 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 to not 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 higher than 4A can be peak-cut by the current feedback loop, so that the peak current of the pulsating direct current is kept 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 to not exceed the target voltage.

此外,MCU還可以包括通訊介面。MCU通過該通訊介面可以與待充電裝置(如終端)進行雙向通訊,控制第二適配器的充電程序。以充電介面為USB介面為例,該通訊介面也可以是該USB介面。具體地,第二適配器可以使用USB介面中的電源線為待充電裝置(如終端)進行充電,並使用USB介面中的資料線(D+和/或D-)與待充電裝置(如終端)進行通訊。In addition, the MCU can also include a communication interface. Through the communication interface, the MCU can perform bidirectional communication with a device to be charged (such as a terminal) to control the charging procedure of the second adapter. For example, the charging interface is a USB interface, and the communication interface can also be the USB interface. Specifically, the second adapter can use a power line in the USB interface to charge a device to be charged (such as a terminal), and use a data line (D+ and/or D-) in the USB interface and a device to be charged (such as a terminal). communication.

此外,光電耦合單元234還可與穩壓單元相連,使得光耦的工作電壓保持穩定。如第23圖所示,本發明實施例中的穩壓單元可以採用低壓差穩壓器(Low Dropout Regulator,LDO)實現。In addition, the photo-coupling unit 234 can also be connected to the voltage stabilizing unit such that the operating voltage of the optocoupler remains stable. As shown in FIG. 23, the voltage stabilizing unit in the embodiment of the present invention can be implemented by a Low Dropout Regulator (LDO).

第23圖是以控制單元(MCU)通過DAC1調整第一運放OPA1的參考電壓為例進行舉例說明的,這種參考電壓的調整方式對應於第4圖所示的參考電壓調整方式,但本發明實施例不限於此,還可以採用如第5圖至-第8圖描述的任意一種參考電壓調整方式,為了簡潔,此處不再詳述。Figure 23 is an example in which the control unit (MCU) adjusts the reference voltage of the first operational amplifier OPA1 through the DAC1 as an example. The adjustment method of the reference voltage corresponds to the reference voltage adjustment mode shown in Fig. 4, but The embodiment of the invention is not limited thereto, and any reference voltage adjustment manner as described in FIG. 5 to FIG. 8 may also be adopted, which will not be described in detail herein for brevity.

第23圖是以控制單元(MCU)通過DAC2調整第二運放OPA2的參考電壓為例進行舉例說明的,這種參考電壓的調整方式對應於第12圖所示的參考電壓調整方式,但本發明實施例不限於此,還可以採用如第13圖至-第16圖描述的任意一種參考電壓調整方式,為了簡潔,此處不再詳述。Figure 23 is an example in which the control unit (MCU) adjusts the reference voltage of the second operational amplifier OPA2 through the DAC2 as an example. The adjustment method of the reference voltage corresponds to the reference voltage adjustment method shown in Fig. 12, but The embodiment of the invention is not limited thereto, and any reference voltage adjustment manner as described in FIG. 13 to FIG. 16 may also be adopted, which will not be described in detail herein for the sake of brevity.

上文結合第1圖至第23圖,詳細描述了本發明的裝置實施例,下文結合第24圖,詳細描述本發明實施例的方法實施例,應理解,方法側的描述與裝置側的描述相互對應,為了簡潔,適當省略重複的描述。The apparatus embodiment of the present invention is described in detail above with reference to FIG. 1 to FIG. 23, and the method embodiment of the embodiment of the present invention is described in detail below with reference to FIG. 24, and the description of the method side and the description of the device side are understood. Corresponding to each other, for the sake of brevity, the repeated description is omitted as appropriate.

第24圖是根據本發明實施例的充電控制方法的示意性流程圖。第24圖的充電方法可以由上文中的第二適配器10執行,該方法可包括如下動作。Figure 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 performed by the second adapter 10 of the above, and the method can include the following actions.

2410、對輸入的交流電進行轉換,以得到一第二適配器的輸出電壓和輸出電流。2410. Convert the input alternating current 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, and 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, and the current feedback signal is used to indicate whether the output current of the second adapter reaches a set target current.

2440、在電壓回饋訊號指示第二適配器的輸出電壓達到目標電壓,或電流回饋訊號指示第二適配器的輸出電流達到目標電流的情況下,穩定第二適配器的輸出電壓和輸出電流。2440. The output voltage and the output current of the second adapter are stabilized 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.

可選地,在一些實施例中,第二適配器支援一第一充電模式,第一充電模式為恆壓模式。在恆壓模式下,目標電壓為恆壓模式對應的電壓,目標電流為第二適配器在恆壓模式下允許輸出的最大電流。第24圖的方法還可包括:根據電壓回饋訊號,將第二適配器的輸出電壓調整至恆壓模式對應的電壓。 2440中可包括:當電流回饋訊號指示第二適配器的輸出電流達到第二適配器在恆壓模式下允許輸出的最大電流時,控制第二適配器的輸出電流不超過第二適配器在恆壓模式下允許輸出的最大電流。Optionally, in some embodiments, the second adapter supports a first charging mode, and the first charging mode 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 FIG. 24 may further include: adjusting the output voltage of the second adapter to a voltage corresponding to the constant voltage mode according to the voltage feedback signal. The 2440 may include: when the current feedback signal indicates that the output current of the second adapter reaches the maximum current allowed to be output by the second adapter in the constant voltage mode, controlling the output current of the second adapter does not exceed the second adapter allowing in the constant voltage mode The maximum current output.

可選地,在一些實施例中,第二適配器包括一初級整流單元、一變壓器、一次級整流單元和一次級濾波單元,該初級整流單元將脈動形式的電壓直接輸出至該變壓器。Optionally, in some embodiments, the second adapter includes a primary rectifying unit, a transformer, a primary rectifying unit, and a primary filtering unit that directly outputs the pulsating form of the 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 capacitance in the secondary filtering 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 that the second 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 of Figure 24 further includes: adjusting the output current of the second adapter to a current corresponding to the constant current mode according to the current feedback signal. The 2440 may include: when the voltage feedback signal indicates that the output voltage of the second adapter reaches the maximum voltage allowed to be output by the second adapter in the constant current mode, controlling the output voltage of the second adapter does not exceed the second adapter allowing in the constant current mode The maximum voltage output.

可選地,在一些實施例中,第24圖的方法還可包括:調整目標電壓的取值。Optionally, in some embodiments, the method of FIG. 24 may further include: adjusting a value of the target voltage.

可選地,在一些實施例中,第二適配器支援一第一充電模式和一第二充電模式,該調整目標電壓的取值可包括:基於一第二適配器當前使用的第一充電模式或第二充電模式,調整目標電壓的取值。Optionally, in some embodiments, the second adapter supports a first charging mode and a second charging mode, where the value of the adjusting target voltage may include: based on a first charging mode currently used by a second adapter or In the second charging mode, the value of the target voltage is adjusted.

可選地,在一些實施例中,對第二適配器的輸出電壓進行檢測,以產生一電壓回饋訊號可包括:對第二適配器的輸出電壓進行取樣,得到一第一電壓;比較第一電壓和一第一參考電壓;基於第一電壓和一第一參考電壓的比較結果,產生一電壓回饋訊號;調整目標電壓的取值,包括:通過調整第一參考電壓的取值,調整目標電壓的取值。Optionally, in some embodiments, detecting the output voltage of the second adapter to generate a voltage feedback signal may include: sampling an output voltage of the second adapter to obtain a first voltage; comparing the first voltage and a first reference voltage; generating a voltage feedback signal based on the comparison result of the first voltage and a first reference voltage; adjusting the value of the target voltage, comprising: adjusting the target voltage by adjusting the value of the first reference voltage value.

可選地,在一些實施例中,該第一參考電壓的取值是基於第一DAC調整的。Optionally, in some embodiments, the value of the first reference voltage is adjusted based on the 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 the set voltage dividing ratio to generate a first a 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 a first reference voltage; the value of the adjustment target voltage may include: adjusting the voltage division ratio, adjusting The voltage value of the target voltage.

可選地,在一些實施例中,該分壓比是數位電位器的分壓比。Optionally, in some embodiments, the voltage division ratio is a voltage division ratio of the digit potentiometer.

可選地,在一些實施例中,第24圖的方法還可包括:調整目標電流的電流值。Optionally, in some embodiments, the method of FIG. 24 may further include: adjusting a current value of the target current.

可選地,在一些實施例中,第二適配器支援一第一充電模式和一第二充電模式。該調整目標電流的電流值可包括:基於一第二適配器當前使用的第一充電模式或第二充電模式,調整目標電流的電流值。Optionally, in some embodiments, the second adapter supports a first charging mode and a second charging mode. The adjusting the current value of the target current may include adjusting a current value of the target current based on a first charging mode or a 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 an output current of the second adapter to obtain a second voltage, where the second voltage is used for And indicating a magnitude of an output current of the second adapter; comparing the second voltage with a second reference voltage; generating a current feedback signal based on a comparison result of the second voltage and a second reference voltage; and determining a current value of the target current The method includes: adjusting a current value of the target current by adjusting a 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 the 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 an output current of the second adapter to obtain a third voltage, and using the third voltage And indicating a magnitude of an output current of the second adapter; dividing the third voltage according to the set voltage dividing ratio to generate a second voltage; comparing the second voltage and a second reference voltage; and based on a second voltage and a first The comparison result of the two reference voltages generates a current feedback signal; the current value of the adjustment target current may include: adjusting the current value of the target current by adjusting the voltage dividing ratio.

可選地,在一些實施例中,該分壓比是數位電位器的分壓比。Optionally, in some embodiments, the voltage division ratio is a voltage division ratio of the digit potentiometer.

可選地,在一些實施例中,該第二適配器支援一第一充電模式和一第二充電模式。該第二適配器在該第二充電模式下對一待充電裝置的充電速度快於該第二適配器在該第一充電模式下對該待充電裝置的充電速度。第24圖的方法還可包括:在該第二適配器與待充電裝置連接的程序中,與該待充電裝置進行雙向通訊,以控制在該第二充電模式下的該第二適配器的輸出。Optionally, in some embodiments, the second adapter supports a first charging mode and a second charging mode. The second adapter charges the device to be charged in the second charging mode faster than the charging rate of the device to be charged in the first charging mode by the second adapter. The method of FIG. 24 may further include: performing bidirectional communication with the device to be charged in a program in which the second adapter is connected to the device to be charged to control an output of the second adapter in the second charging mode.

可選地,在一些實施例中,該與該待充電裝置進行雙向通訊,以控制在該第二充電模式下的該第二適配器的輸出的程序可包括:與該待充電裝置進行雙向通訊,以協商該第二適配器與該待充電裝置之間的充電模式。Optionally, in some embodiments, the program for bidirectional communication with the device to be charged to control the output of the second adapter in the second charging mode may include: performing two-way 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 is used to query whether the to-be-charged device turns on the second charging mode; receive a reply command of the first instruction sent by the device to be charged, and the reply command of the first instruction is used to indicate whether the device to be charged agrees Turning on the second charging mode; and using the second charging mode to charge the device to be charged when the device to be charged agrees to turn on the second charging mode.

可選地,在一些實施例中,該與該待充電裝置進行雙向通訊,以控制在該第二充電模式下的該第二適配器的輸出的程序可包括:與該待充電裝置進行雙向通訊,以確定在該第二充電模式下的該第二適配器輸出的用於對該待充電裝置進行充電的充電電壓;對該目標電壓的電壓值進行調整,使該目標電壓的電壓值等於在該第二充電模式下的該第二適配器輸出的用於對該待充電裝置進行充電的充電電壓。Optionally, in some embodiments, the program for bidirectional communication with the device to be charged to control the output of the second adapter in the second charging mode may include: performing two-way communication with the device to be charged, Determining, by the second adapter in the second charging mode, a charging voltage for charging the device to be charged; adjusting a voltage value of the target voltage such that a 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 determines that 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 command to the device to be charged, the second command is used to query whether the output voltage of the second adapter matches the current voltage of a battery of the device to be charged; and receive the second signal sent by the device to be charged The reply instruction of the instruction, the reply instruction of the second instruction is used to indicate that the output voltage of the second adapter matches, is higher or lower than the current voltage of the battery.

可選地,在一些實施例中,該與該待充電裝置進行雙向通訊,以控制在該第二充電模式下的該第二適配器的輸出的程序可包括:與該待充電裝置進行雙向通訊,以確定在該第二充電模式下的該第二適配器輸出的用於對該待充電裝置進行充電的充電電流;對該目標電流的電流值進行調整,使該目標電流的電流值等於在該第二充電模式下的該第二適配器輸出的用於對該待充電裝置進行充電的充電電流。Optionally, in some embodiments, the program for bidirectional communication with the device to be charged to control the output of the second adapter in the second charging mode may include: performing two-way communication with the device to be charged, Determining, by the second adapter in the second charging mode, a charging current for charging the device to be charged; adjusting a current value of the target current, so that a 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 determines that the charging current output by the second adapter in the second charging mode for charging the device to be charged may include Transmitting, to the device to be charged, a third command for inquiring about a maximum charging current currently supported by the device to be charged; receiving a reply command of the third command sent by the device to be charged, the third command The reply command is used to indicate a maximum charging current currently supported by the device to be charged; determining, according to the maximum charging current currently supported by the device to be charged, the output of the second adapter in the second charging mode for performing the device to be charged Charging current.

可選地,在一些實施例中,該與該待充電裝置進行雙向通訊,以控制在該第二充電模式下的該第二適配器的輸出的程序可包括:在使用該第二充電模式充電的程序中,與該待充電裝置進行雙向通訊,以調整該第二適配器的輸出電流。Optionally, in some embodiments, the program for bidirectional communication with the device to be charged to control the output of the second adapter in the second charging mode may include: charging using the second charging mode In the program, two-way communication is performed with the device to be charged to adjust the output current of the second adapter.

可選地,在一些實施例中,該與該待充電裝置進行雙向通訊,以調整該第二適配器的輸出電流可包括:向該待充電裝置發送的一第四指令,該第四指令用於詢問該待充電裝置的一電池的當前電壓;接收該第二適配器發送的該第四指令的回覆指令,該第四指令的回覆指令用於指示該電池的當前電壓;根據該電池的當前電壓,調整該第二適配器的輸出電流。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 command to the device to be charged, the fourth command is used for Querying a current voltage of a battery of the device to be charged; receiving a reply command of the fourth command sent by the second adapter, the reply command of the fourth command is used to indicate a current voltage of the battery; according to a current voltage of the battery, Adjust the output current of the second adapter.

可選地,在一些實施例中,該第二適配器包括一充電介面。該第二適配器通過該充電介面中的資料線與該待充電裝置進行雙向通訊。Optionally, in some embodiments, the second adapter includes a charging interface. The second adapter communicates with the device to be charged in two directions through a data line in the charging interface.

可選地,在一些實施例中,該第二適配器支援一第二充電模式。該第二充電模式為恆流模式,且在該第二充電模式下,該第二適配器的輸出電流為脈動直流電。Optionally, in some embodiments, the second 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 second adapter is a 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 primary filtering unit, and the method of FIG. 24 further includes: controlling, in the first charging mode, the secondary filtering unit to operate such that a voltage value of the output voltage of the second adapter is constant; In the second charging mode, the secondary filtering unit is controlled to stop working, so that the output current of the second adapter is pulsed direct current.

可選地,在一些實施例中,該第二適配器支援一第二充電模式。該第二充電模式為恆流模式,且在該第二充電模式下,該第二適配器的輸出電流為交流電。Optionally, in some embodiments, the second 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 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 the output current of the second adapter are directly loaded on both ends of a battery of the device to be charged, and the battery is directly charged.

可選地,在一些實施例中,該第二適配器是用於為行動待充電裝置充電的第二適配器。Optionally, in some embodiments, the second adapter is a second adapter for charging the mobile device to be charged.

可選地,在一些實施例中,該第二適配器包括用於對充電程序進行控制的控制單元,該控制單元為MCU。Optionally, in some embodiments, the second adapter includes a control unit for controlling the charging program, the control unit being 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 for convenience of description only, and are not intended to limit the specific types of adapters of the embodiments of the present invention.

本領域普通技術人員可以意識到,結合本文中所揭露的實施例描述的各示例的單元及演算法步驟,能夠以電子硬體、或者電腦軟體和電子硬體的結合來實現。這些功能究竟以硬體還是軟體方式來執行,取決於技術方案的特定應用和設計約束條件。專業技術人員可以對每個特定的應用來使用不同方法來實現所描述的功能,但是這種實現不應認為超出本發明的範圍。Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in the form of an 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 solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.

所屬領域的技術人員可以清楚地瞭解到,為描述的方便和簡潔,上述描述的系統、裝置和單元的具體工作程序,可以參考前述方法實施例中的對應程序,在此不再贅述。A person skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working procedures of the system, the device and the unit described above can refer to the corresponding programs in the foregoing method embodiments, and details are not described herein again.

在本申請所提供的幾個實施例中,應該理解到,所揭露的系統、裝置和方法,可以通過其它的方式實現。例如,以上所描述的裝置實施例僅僅是示意性的,例如,該單元的劃分,僅僅為一種邏輯功能劃分,實際實現時可以有另外的劃分方式,例如複數單元或元件可以結合或者可以整合到另一個系統,或一些特徵可以忽略,或不執行。另一點,所顯示或討論的相互之間的耦合或直接耦合或通訊連接可以是通過一些介面,裝置或單元的間接耦合或通訊連接,可以是電性,機械或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division, and the actual implementation may have another division manner, for example, a plurality of units or components may be combined or may be integrated into Another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical, mechanical or otherwise.

該作為分離部件說明的單元可以是或者也可以不是物理上分開的,作為單元顯示的部件可以是或者也可以不是物理單元,即可以位於一個地方,或者也可以分佈到複數網路單元上。可以根據實際的需要選擇其中的部分或者全部單元來實現本實施例方案的目的。The units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.

另外,在本發明各個實施例中的各功能單元可以整合在一個處理單元中,也可以是各個單元單獨物理存在,也可以兩個或兩個以上單元整合在一個單元中。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.

該功能如果以軟體功能單元的形式實現並作為獨立的產品銷售或使用時,可以儲存在一個電腦可讀取儲存媒體中。基於這樣的理解,本發明的技術方案本質上或者說對先前技術做出貢獻的部分或者該技術方案的部分可以以軟體產品的形式體現出來,該電腦軟體產品儲存在一個儲存媒體中,包括若干指令用以使得一台電腦裝置(可以是個人電腦,伺服器,第二適配器或者網路裝置等)執行本發明各個實施例該方法的全部或部分步驟。而前述的儲存媒體包括:隨身碟、行動硬碟、唯讀記憶體(ROM,Read-Only Memory)、隨機存取記憶體(RAM,Random Access Memory)、磁碟或者光碟等各種可以儲存程式碼的媒體。This function, if implemented as a software functional unit and sold or used as a standalone product, can be stored on a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product in essence or in part of the prior art, and the computer software product is stored in a storage medium, including several The instructions are for causing a computer device (which may be a personal computer, a server, a second adapter or a network device, etc.) to perform all or part of the steps of the method in accordance with various embodiments of the present invention. The foregoing storage medium includes: a flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or a compact disk, and the like. Media.

以上所述,僅為本發明的具體實施方式,但本發明的保護範圍並不侷限於此,任何熟悉本技術領域的技術人員在本發明揭露的技術範圍內,可輕易想到變化或替換,都應涵蓋在本發明的保護範圍之內。因此,本發明的保護範圍應以所述申請專利範圍的保護範圍為準。The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of protection of the scope of the claims.

10‧‧‧適配器10‧‧‧Adapter

11‧‧‧功率轉換單元11‧‧‧Power Conversion Unit

12‧‧‧電壓回饋單元12‧‧‧Voltage feedback unit

13‧‧‧電流回饋單元13‧‧‧current feedback unit

14‧‧‧功率調整單元14‧‧‧Power adjustment unit

15、231‧‧‧初級整流單元15, 231‧‧‧ primary rectification unit

16‧‧‧變壓器16‧‧‧Transformers

17、232‧‧‧次級整流單元17, 232‧‧‧Secondary rectifier unit

18、211、233‧‧‧次級濾波單元18, 211, 233‧ ‧ secondary filter unit

21、101‧‧‧調整單元21, 101‧‧‧ adjustment unit

31‧‧‧電壓取樣單元31‧‧‧Voltage sampling unit

32、72‧‧‧電壓比較單元32, 72‧‧‧ voltage comparison unit

41、51、61、82、121、131、141、162、212‧‧‧控制單元41, 51, 61, 82, 121, 131, 141, 162, 212‧‧‧ control unit

42、122‧‧‧數位類比轉換器(DAC)42, 122‧‧‧Digital Analog Converters (DACs)

52、132‧‧‧RC濾波單元52, 132‧‧‧RC filter unit

62、81、142、161‧‧‧數位電位器62, 81, 142, 161‧‧‧ digit potentiometer

71、152‧‧‧分壓單元71, 152‧‧ ‧ partial pressure unit

111、151‧‧‧電流取樣單元111, 151‧‧‧ Current sampling unit

112、153‧‧‧電流比較單元112, 153‧‧‧ Current comparison unit

181‧‧‧光電耦合單元181‧‧‧Photoelectric coupling unit

182‧‧‧PWM控制單元182‧‧‧PWM control unit

D1、D2‧‧‧二極體D1, D2‧‧‧ diode

191‧‧‧充電介面191‧‧‧Charging interface

192‧‧‧資料線192‧‧‧Information line

AC‧‧‧交流電AC‧‧‧AC

LDO‧‧‧低壓差穩壓器LDO‧‧‧ Low Dropout Regulator

MCU‧‧‧微控制單元MCU‧‧‧Micro Control Unit

OPA1、OPA2‧‧‧運放OPA1, OPA2‧‧‧Operation

PWM‧‧‧脈衝寬度調變PWM‧‧‧ pulse width modulation

R1、R2、R3、R4、R5‧‧‧電阻R1, R2, R3, R4, R5‧‧‧ resistors

T1‧‧‧變壓器T1‧‧‧ transformer

為了更清楚地說明本發明實施例的技術方案,下面將對本發明實施例中所需要使用的附圖作簡單地介紹,顯而易見地,下面所描述的附圖僅僅是本發明的一些實施例,對於本領域普通技術人員來講,在不付出創造性勞動的前提下,還可以根據這些附圖獲得其他的附圖。 第1A圖是本發明一個實施例的第二適配器的示意性結構圖。 第1B圖是本發明實施例的功率轉換單元的示意性結構圖。 第2圖是本發明另一實施例的第二適配器的示意性結構圖。 第3圖是本發明又一實施例的第二適配器的示意性結構圖。 第4圖是本發明又一實施例的第二適配器的示意性結構圖。 第5圖是本發明又一實施例的第二適配器的示意性結構圖。 第6圖是本發明又一實施例的第二適配器的示意性結構圖。 第7圖是本發明又一實施例的第二適配器的示意性結構圖。 第8圖是本發明又一實施例的第二適配器的示意性結構圖。 第9圖是本發明實施例的電壓比較單元的示意性結構圖。 第10圖是本發明又一實施例的第二適配器的示意性結構圖。 第11圖是本發明又一實施例的第二適配器的示意性結構圖。 第12圖是本發明又一實施例的第二適配器的示意性結構圖。 第13圖是本發明又一實施例的第二適配器的示意性結構圖。 第14圖是本發明又一實施例的第二適配器的示意性結構圖。 第15圖是本發明又一實施例的第二適配器的示意性結構圖。 第16圖是本發明又一實施例的第二適配器的示意性結構圖。 第17圖是本發明實施例的電流比較單元的示意性結構圖。 第18圖是本發明又一實施例的第二適配器的示意性結構圖。 第19A圖是本發明實施例的第二適配器與待充電裝置的連接方式示意圖。 第19B圖是本發明實施例的快充通訊程序的示意圖。 第20圖是脈動直流電的電流波形示意圖。 第21圖是本發明又一實施例的第二適配器的示意性結構圖。 第22圖是本發明實施例的恆流模式下的脈動直流電的示意圖。 第23圖是本發明實施例的第二適配器的電路示例圖。 第24圖是本發明實施例的充電控制方法的示意性流程圖。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings to be used in the embodiments of the present invention will be briefly described below. It is obvious that the drawings described below are only some embodiments of the present invention, Those skilled in the art can also obtain other drawings based on these drawings without paying any creative work. Fig. 1A is a schematic structural view of a second adapter of one embodiment of the present invention. FIG. 1B is a schematic structural diagram of a power conversion unit according to an embodiment of the present invention. Fig. 2 is a schematic structural view of a second adapter according to another embodiment of the present invention. Fig. 3 is a schematic structural view of a second adapter according to still another embodiment of the present invention. Fig. 4 is a schematic structural view of a second adapter according to still another embodiment of the present invention. Fig. 5 is a schematic structural view of a second adapter according to still another embodiment of the present invention. Fig. 6 is a schematic structural view of a second adapter according to still another embodiment of the present invention. Fig. 7 is a schematic structural view of a second adapter according to still another embodiment of the present invention. Fig. 8 is a schematic structural view of a second adapter according to still another embodiment of the present invention. Fig. 9 is a schematic configuration diagram of a voltage comparison unit of an embodiment of the present invention. Fig. 10 is a schematic structural view of a second adapter according to still another embodiment of the present invention. Figure 11 is a schematic structural view of a second adapter according to still another embodiment of the present invention. Fig. 12 is a schematic structural view of a second adapter according to still another embodiment of the present invention. Figure 13 is a schematic structural view of a second adapter according to still another embodiment of the present invention. Figure 14 is a schematic structural view of a second adapter according to still another embodiment of the present invention. Figure 15 is a schematic structural view of a second adapter according to still another embodiment of the present invention. Figure 16 is a schematic structural view of a second adapter according to still another embodiment of the present invention. Figure 17 is a schematic configuration diagram of a current comparison unit of an embodiment of the present invention. Figure 18 is a schematic structural view of a second adapter according to still another embodiment of the present invention. FIG. 19A is a schematic diagram showing the connection manner of the second adapter and the device to be charged according to the embodiment of the present invention. Figure 19B is a schematic diagram of a fast charge communication program in accordance with an embodiment of the present invention. Figure 20 is a schematic diagram of the current waveform of the pulsating direct current. Figure 21 is a schematic structural view of a second adapter according to still another embodiment of the present invention. Fig. 22 is a view showing the pulsating direct current in the constant current mode of the embodiment of the present invention. Figure 23 is a circuit diagram showing the second adapter of the embodiment of the present invention. Figure 24 is a schematic flow chart of a charging control method according to an embodiment of the present invention.

Claims (53)

一種適配器,其特徵在於,該適配器支援一第一充電模式和一第二充電模式,該適配器在該第二充電模式下對一待充電裝置的充電速度快於該適配器在該第一充電模式下對該待充電裝置的充電速度,該適配器包括:一功率轉換單元,用於對輸入的交流電進行轉換,以得到該適配器的輸出電壓和輸出電流;一電壓回饋單元,該電壓回饋單元的輸入端與該功率轉換單元相連,該電壓回饋單元用於對該適配器的輸出電壓進行檢測,以產生一電壓回饋訊號,該電壓回饋訊號用於指示該適配器的輸出電壓是否達到設定的一目標電壓;一電流回饋單元,該電流回饋單元的輸入端與該功率轉換單元相連,該電流回饋單元用於對該適配器的輸出電流進行檢測,以產生一電流回饋訊號,該電流回饋訊號用於指示該適配器的輸出電流是否達到設定的一目標電流;一功率調整單元,該功率調整單元的輸入端與該電壓回饋單元的輸出端和該電流回饋單元的輸出端相連,該功率調整單元的輸出端與該功率轉換單元相連,該功率調整單元用於接收該電壓回饋訊號和該電流回饋訊號,並在該電壓回饋訊號指示該適配器的輸出電壓達到該目標電壓,或該電流回饋訊號指示該適配器的輸出電流達到該目標電流的情況下,穩定該適配器的輸出電壓和輸出電流;其中,該適配器與該待充電裝置進行雙向通訊。 An adapter, wherein the adapter supports a first charging mode and a second charging mode, wherein the adapter charges the device to be charged faster than the adapter in the first charging mode in the second charging mode For charging the device to be charged, the adapter includes: a power conversion unit for converting the input alternating current to obtain an output voltage and an output current of the adapter; and a voltage feedback unit having an input end of the voltage feedback unit Connected to the power conversion unit, the voltage feedback unit is configured to detect the output voltage of the adapter to generate a voltage feedback signal, the voltage feedback signal is used to indicate whether the output voltage of the adapter reaches a set target voltage; a current feedback unit, the input end of the current feedback unit is connected to the power conversion unit, and the current feedback unit is configured to detect an output current of the adapter to generate a current feedback signal, the current feedback signal is used to indicate the adapter Whether the output current reaches a set target current; a power An integral unit, an input end of the power adjustment unit is connected to an output end of the voltage feedback unit and an output end of the current feedback unit, and an output end of the power adjustment unit is connected to the power conversion unit, and the power adjustment unit is configured to receive the The voltage feedback signal and the current feedback signal, and the output of the adapter is stabilized if 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 Voltage and output current; wherein the adapter communicates bidirectionally with the device to be charged. 如申請專利範圍第1項所述的適配器,該適配器還包括一第一調整單元,該第一調整單元與該電壓回饋單元相連,用於調整該目標電壓的取值。 The adapter of claim 1, the adapter further comprising a first adjusting unit, the first adjusting unit being connected to the voltage feedback unit for adjusting the value of the target voltage. 如申請專利範圍第2項所述的適配器,該電壓回饋單元包括:一電壓取樣單元,該電壓取樣單元的輸入端與該功率轉換單元相連,用於對該適配器的輸出電壓進行取樣,得到一第一電壓; 一電壓比較單元,該電壓比較單元的輸入端與該電壓取樣單元的輸出端相連,用於比較該第一電壓和一第一參考電壓,並基於該第一電壓和該第一參考電壓的比較結果,產生該電壓回饋訊號;該第一調整單元與該電壓比較單元相連,為該電壓比較單元提供該第一參考電壓,並通過調整該第一參考電壓的取值,調整該目標電壓的取值。 The voltage feedback unit includes: a voltage sampling unit, wherein the input end of the voltage sampling unit is connected to the power conversion unit for sampling the output voltage of the adapter to obtain a First voltage a voltage comparison unit, the input end of the voltage comparison unit is connected to the output end of the voltage sampling unit, for comparing the first voltage and a first reference voltage, and based on comparing the first voltage with the first reference voltage As a result, the voltage feedback signal is generated; the first adjustment unit is connected to the voltage comparison unit, and the first reference voltage is provided for the voltage comparison unit, and the value of the first reference voltage is adjusted to adjust the target voltage. value. 如申請專利範圍第3項所述的適配器,該第一調整單元包括一控制單元和一數位電位器,該數位電位器的控制端與該控制單元相連,該數位電位器的輸出端與該電壓比較單元相連,該控制單元通過調整該數位電位器的分壓比,調整該第一參考電壓的取值。 The adapter of claim 3, wherein the first adjusting unit comprises a control unit and a digital potentiometer, and the control end of the digital potentiometer is connected to the control unit, and the output of the digital potentiometer and the voltage The comparison unit is connected, and the control unit adjusts the value of the first reference voltage by adjusting a voltage division ratio of the digital potentiometer. 如申請專利範圍第3項或第4項所述的適配器,該電壓比較單元包括一第一運放,該電壓比較單元的第一運放的反相輸入端用於接收該第一電壓,該電壓比較單元的第一運放的同相輸入端用於接收該第一參考電壓,該電壓比較單元的第一運放的輸出端用於產生該電壓回饋訊號。 The voltage comparison unit includes a first operational amplifier, and the inverting input terminal of the first operational amplifier of the voltage comparison unit is configured to receive the first voltage, where the adapter is configured according to claim 3 or 4 The non-inverting input of the first operational amplifier of the voltage comparison unit is configured to receive the first reference voltage, and the output of the first operational amplifier of the voltage comparison unit is configured to generate the voltage feedback signal. 如申請專利範圍第2項所述的適配器,該第一調整單元基於該適配器當前使用的第一充電模式或第二充電模式,調整該目標電壓的取值。 The adapter of claim 2, wherein the first adjustment unit adjusts the value of the target voltage based on a first charging mode or a second charging mode currently used by the adapter. 如申請專利範圍第1項所述的適配器,該適配器還包括一第二調整單元,該第二調整單元與該電流回饋單元相連,用於調整該目標電流的電流值。 The adapter of claim 1, wherein the adapter further comprises a second adjusting unit, the second adjusting unit is connected to the current feedback unit for adjusting a current value of the target current. 如申請專利範圍第7項所述的適配器,該電流回饋單元包括:一電流取樣單元,該電流取樣單元的輸入端與該功率轉換單元相連,用於對該適配器的輸出電流進行取樣,得到一第二電壓,該第二電壓用於指示該適配器的輸出電流的大小;一電流比較單元,該電流比較單元的輸入端與該電流取樣單元的輸出端相連,用於比較該第二電壓和一第二參考電壓,並基於該第二電壓和該第二參考電壓的比較結果,產生該電流回饋訊號; 該第二調整單元與該電流比較單元相連,為該電流比較單元提供該第二參考電壓,並通過調整該第二參考電壓的電壓值,調整該目標電流的電流值。 The current feedback unit includes: a current sampling unit, wherein the input end of the current sampling unit is connected to the power conversion unit for sampling the output current of the adapter to obtain a a second voltage, the second voltage is used to indicate the magnitude of the output current of the adapter; a current comparison unit, the input end of the current comparison unit is connected to the output end of the current sampling unit, for comparing the second voltage and a a second reference voltage, and based on a comparison result of the second voltage and the second reference voltage, generating the current feedback signal; The second adjusting unit is connected to the current comparing unit, and provides the second reference voltage for the current comparing unit, and adjusts the current value of the target current by adjusting the voltage value of the second reference voltage. 如申請專利範圍第8項所述的適配器,該第二調整單元包括一控制單元和一第二DAC,該第二DAC的輸入端與該控制單元相連,該第二DAC的輸出端與該電流比較單元相連,該控制單元通過該第二DAC調整該第二參考電壓的電壓值。 The adapter of claim 8, wherein the second adjusting unit comprises a control unit and a second DAC, the input end of the second DAC is connected to the control unit, and the output of the second DAC and the current The comparison unit is connected, and the control unit adjusts the voltage value of the second reference voltage through the second DAC. 如申請專利範圍第8項或第9項所述的適配器,該電流比較單元包括一第二運放,該電流比較單元的第二運放的反相輸入端用於接收該第二電壓,該電流比較單元的第二運放的同相輸入端用於接收該第二參考電壓,該電流比較單元的第二運放的輸出端用於產生該電流回饋訊號。 The adapter of claim 8 or 9, wherein the current comparison unit includes a second operational amplifier, and the inverting input of the second operational amplifier of the current comparison unit is configured to receive the second voltage. The non-inverting input of the second operational amplifier of the current comparison unit is configured to receive the second reference voltage, and the output of the second operational amplifier of the current comparison unit is configured to generate the current feedback signal. 如申請專利範圍第8項所述的適配器,該第二調整單元基於該適配器當前使用的第一充電模式或第二充電模式,調整該目標電流的電流值。 The adapter of claim 8, wherein the second adjustment unit adjusts a current value of the target current based on a first charging mode or a second charging mode currently used by the adapter. 如申請專利範圍第1項所述的適配器,該第一充電模式為恆壓模式,在該恆壓模式下,該目標電壓為該恆壓模式對應的電壓,該目標電流為該適配器在該恆壓模式下允許輸出的最大電流;該功率調整單元具體用於根據該電壓回饋訊號,將該適配器的輸出電壓調整至該恆壓模式對應的電壓,並當該電流回饋訊號指示該適配器的輸出電流達到該適配器在該恆壓模式下允許輸出的最大電流時,控制該適配器的輸出電流不超過該適配器在該恆壓模式下允許輸出的最大電流。 The adapter according to claim 1, wherein the first charging mode is a constant voltage mode, and in the constant voltage mode, the target voltage is a voltage corresponding to the constant voltage mode, and the target current is the constant of the adapter. The maximum current allowed in the voltage mode; the power adjustment unit is specifically configured 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 the output current of the adapter When the maximum current allowed by the adapter in the constant voltage mode is reached, the output current of the adapter is controlled to not exceed the maximum current allowed by the adapter in the constant voltage mode. 如申請專利範圍第12項所述的適配器,該功率轉換單元包括一初級整流單元、一變壓器、一次級整流單元和一次級濾波單元,該初級整流單元將脈動形式的電壓直接輸出至該變壓器。 The adapter of claim 12, the power conversion unit includes a primary rectification unit, a transformer, a primary rectification unit, and a primary filter unit, the primary rectification unit directly outputting a voltage in a pulsating form to the transformer. 如申請專利範圍第13項所述的適配器,該適配器在該恆壓模式下允許輸出的最大電流是基於該次級濾波單元中的電容的容量確定的。 The adapter of claim 13 is characterized in that the maximum current allowed by the adapter in the constant voltage mode is determined based on the capacity of the capacitor in the secondary filtering unit. 如申請專利範圍第1項所述的適配器,該第二充電模式為恆流模式,在該恆流模式下,該目標電壓為該適配器在該恆流模式下允許輸出的最大電壓,該目標電流為該恆流模式對應的電流;該功率調整單元具體用於根據該電流回饋訊號,將該適配器的輸出電流調整至該恆流模式對應的電流,並當該電壓回饋訊號指示該適配器的輸出電壓達到該適配器在該恆流模式下允許輸出的最大電壓時,控制該適配器的輸出電壓不超過該適配器在該恆流模式下允許輸出的最大電壓。 The adapter according to claim 1, wherein the second charging mode is a constant current mode, and in the constant current mode, the target voltage is a maximum voltage that the adapter allows to output in the constant current mode, the target current a current corresponding to the constant current mode; the power adjustment unit is specifically configured to adjust an output current of the adapter to a current corresponding to the constant current mode according to the current feedback signal, and when the voltage feedback signal indicates an output voltage of the adapter When the maximum voltage allowed by the adapter in the constant current mode is reached, the output voltage of the control is controlled to not exceed the maximum voltage that the adapter is allowed to output in the constant current mode. 如申請專利範圍第1項所述的適配器,該電壓回饋單元包括一第一運放,該電壓回饋單元的第一運放的輸出端用於輸出該電壓回饋訊號,該電流回饋單元包括一第二運放,該電流回饋單元的第二運放的輸出端用於輸出該電流回饋訊號;該功率調整單元包括一第一二極體、一第二二極體、一光電耦合單元和一脈衝寬度調變PWM控制單元,該電壓回饋單元的第一運放的輸出端與該第一二極體的負極相連,該第一二極體的正極與該光電耦合單元的輸入端相連,該電流回饋單元的第二運放的輸出端與該第二二極體的負極相連,該第二二極體的正極與該光電耦合單元的輸入端相連,該光電耦合單元的輸出端與該脈衝寬度調變PWM控制單元的輸入端相連,該脈衝寬度調變PWM控制單元的輸出端與該功率轉換單元相連。 The voltage feedback unit includes a first operational amplifier, and the output of the first operational amplifier of the voltage feedback unit is configured to output the voltage feedback signal, and the current feedback unit includes a first a second operational amplifier, the output of the second operational amplifier of the current feedback unit is configured to output the current feedback signal; the power adjustment unit includes a first diode, a second diode, a photoelectric coupling unit and a pulse a width modulation PWM control unit, the output end of the first operational amplifier of the voltage feedback unit is connected to the negative pole of the first diode, and the anode of the first diode is connected to the input end of the photoelectric coupling unit, the current An output end of the second operational amplifier of the feedback unit is connected to a negative pole of the second diode, and a positive pole of the second diode is connected to an input end of the photoelectric coupling unit, and an output end of the photoelectric coupling unit and the pulse width The input end of the modulation PWM control unit is connected, and the output end of the pulse width modulation PWM control unit is connected to the power conversion unit. 如申請專利範圍第1項所述的適配器,該適配器包括一控制單元,在該適配器與待充電裝置連接的程序中,該控制單元與該待充電裝置進行雙向通訊,以控制在該第二充電模式下的該適配器的輸出。 The adapter of claim 1, wherein the adapter comprises a control unit, wherein the control unit is in two-way communication with the device to be charged to control the second charging in the program connected to the device to be charged. The output of this adapter in mode. 如申請專利範圍第17項所述的適配器,該控制單元與該待充電裝置進行雙向通訊,以控制在該第二充電模式下的該適配器的輸出的程序,包括:該控制單元與該待充電裝置進行雙向通訊,以協商該適配器與該待充電裝置 之間的充電模式。 The adapter of claim 17, wherein the control unit performs bidirectional communication with the device to be charged to control an output of the adapter in the second charging mode, including: the control unit and the to-be-charged The device performs two-way communication to negotiate the adapter and the device to be charged The charging mode between. 如申請專利範圍第18項所述的適配器,該控制單元與該待充電裝置進行雙向通訊,以協商該適配器與該待充電裝置之間的充電模式,包括:該控制單元向該待充電裝置發送一第一指令,該第一指令用於詢問該待充電裝置是否開啟該第二充電模式;該控制單元接收該待充電裝置發送的該第一指令的回覆指令,該第一指令的回覆指令用於指示該待充電裝置是否同意開啟該第二充電模式;在該待充電裝置同意開啟該第二充電模式的情況下,該控制單元使用該第二充電模式為該待充電裝置充電。 The adapter of claim 18, wherein the control unit performs two-way communication with the device to be charged to negotiate a charging mode between the adapter and the device to be charged, including: the control unit sends the device to the device to be charged a first instruction, the first instruction is used to query whether the to-be-charged device turns on the second charging mode; the control unit receives a reply instruction of the first instruction sent by the to-be-charged device, and the reply instruction of the first instruction is used And indicating whether the device to be charged agrees to turn on the second charging mode; and when the device to be charged agrees to turn on the second charging mode, the control unit uses the second charging mode to charge the device to be charged. 如申請專利範圍第17項所述的適配器,該控制單元與該待充電裝置進行雙向通訊,以控制在該第二充電模式下的該適配器的輸出的程序,包括:該控制單元與該待充電裝置進行雙向通訊,以確定在該第二充電模式下的該適配器輸出的用於對該待充電裝置進行充電的充電電壓;該控制單元對該目標電壓的電壓值進行調整,使該目標電壓的電壓值等於在該第二充電模式下的該適配器輸出的用於對該待充電裝置進行充電的充電電壓。 The adapter of claim 17, wherein the control unit performs bidirectional communication with the device to be charged to control an output of the adapter in the second charging mode, including: the control unit and the to-be-charged The device performs two-way communication to determine a charging voltage output by the adapter for charging the device to be charged in the second charging mode; the control unit adjusts the voltage value of the target voltage to make the target voltage The voltage value is equal to the charging voltage output by the adapter in the second charging mode for charging the device to be charged. 如申請專利範圍第20項所述的適配器,該控制單元與該待充電裝置進行雙向通訊,以確定在該第二充電模式下的該適配器輸出的用於對該待充電裝置進行充電的充電電壓,包括:該控制單元向該待充電裝置發送一第二指令,該第二指令用於詢問該適配器的輸出電壓與該待充電裝置的一電池的當前電壓是否匹配;該控制單元接收該待充電裝置發送的該第二指令的回覆指令,該第二指令的回覆指令用於指示該適配器的輸出電壓與該電池的當前電壓匹配、偏高或偏低。 The adapter of claim 20, wherein the control unit performs bidirectional communication 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. The control unit sends a second command to the device to be charged, the second command is used to query whether the output voltage of the adapter matches the current voltage of a battery of the device to be charged; the control unit receives the to-be-charged The reply instruction of the second instruction sent by the device, the reply instruction of the second instruction is used to indicate that the output voltage of the adapter matches the current voltage of the battery, being high or low. 如申請專利範圍第17項所述的適配器,該控制單元與該待充電裝置進行雙向通訊,以控制在該第二充電模式下的該適配器的輸出的程序,包括:該控制單元與該待充電裝置進行雙向通訊,以確定在該第二充電模式下的該適配器輸出的用於對該待充電裝置進行充電的充電電流;該控制單元對該目標電流的電流值進行調整,使該目標電流的電流值等於在該第二充電模式下的該適配器輸出的用於對該待充電裝置進行充電的充電電流。 The adapter of claim 17, wherein the control unit performs bidirectional communication with the device to be charged to control an output of the adapter in the second charging mode, including: the control unit and the to-be-charged The device performs two-way communication to determine a charging current output by the adapter for charging the device to be charged in the second charging mode; the control unit adjusts a current value of the target current to make the target current The current value is equal to the charging current output by the adapter in the second charging mode for charging the device to be charged. 如申請專利範圍第22項所述的適配器,該控制單元與該待充電裝置進行雙向通訊,以確定在該第二充電模式下的該適配器輸出的用於對該待充電裝置進行充電的充電電流,包括:該控制單元向該待充電裝置發送一第三指令,該第三指令用於詢問該待充電裝置當前支援的最大充電電流;該控制單元接收該待充電裝置發送的該第三指令的回覆指令,該第三指令的回覆指令用於指示該待充電裝置當前支援的最大充電電流;該控制單元根據該待充電裝置當前支援的最大充電電流確定在該第二充電模式下的該適配器輸出的用於對該待充電裝置進行充電的充電電流。 The adapter of claim 22, wherein the control unit performs bidirectional communication with the device to be charged to determine a charging current output by the adapter for charging the device to be charged in the second charging mode. The control unit sends a third command to the device to be charged, the third command is used to query the maximum charging current currently supported by the device to be charged; and the control unit receives the third command sent by the device to be charged a reply instruction, the reply instruction of the third instruction is used to indicate a maximum charging current currently supported by the device to be charged; and the control unit determines the adapter output in the second charging mode according to a maximum charging current currently supported by the device to be charged A charging current for charging the device to be charged. 如申請專利範圍第17項所述的適配器,該控制單元與該待充電裝置進行雙向通訊,以控制在該第二充電模式下的該適配器的輸出的程序,包括:在使用該第二充電模式充電的程序中,該控制單元與該待充電裝置進行雙向通訊,以調整該適配器的輸出電流。 The adapter of claim 17, wherein the control unit performs bidirectional communication with the device to be charged to control an output of the adapter in the second charging mode, including: using the second charging mode In the charging process, the control unit performs bidirectional communication with the device to be charged to adjust the output current of the adapter. 如申請專利範圍第24項所述的適配器,該控制單元與該待充電裝置進行雙向通訊,以調整該適配器的輸出電流,包括:該控制單元向該待充電裝置發送的一第四指令,該第四指令用於詢問該待充電裝置的一電池的當前電壓; 該控制單元接收該適配器發送的該第四指令的回覆指令,該第四指令的回覆指令用於指示該電池的當前電壓;該控制單元根據該電池的當前電壓,調整該適配器的輸出電流。 The adapter of claim 24, wherein the control unit performs bidirectional communication with the device to be charged to adjust an output current of the adapter, and includes: a fourth command sent by the control unit to the device to be charged, The fourth instruction is used to query the current voltage of a battery of the device to be charged; The control unit receives a reply instruction of the fourth instruction sent by the adapter, and the reply instruction of the fourth instruction is used to indicate a current voltage of the battery; the control unit adjusts an output current of the adapter according to a current voltage of the battery. 如申請專利範圍第1項所述的適配器,該適配器是用於為行動待充電裝置充電的適配器。 The adapter of claim 1, wherein the adapter is an adapter for charging a mobile device to be charged. 如申請專利範圍第1項所述的適配器,該適配器包括用於對充電程序進行控制的一控制單元,該控制單元為微控制單元MCU。 The adapter of claim 1, wherein the adapter includes a control unit for controlling the charging program, the control unit being a micro control unit MCU. 如申請專利範圍第1項所述的適配器,該適配器包括一充電介面,該充電介面為通用序列匯流排USB介面。 The adapter of claim 1, wherein the adapter comprises a charging interface, and the charging interface is a universal serial bus USB interface. 一種充電控制方法,其特徵在於,該方法應用於適配器,該適配器支援一第一充電模式和一第二充電模式,該適配器在該第二充電模式下對一待充電裝置的充電速度快於該適配器在該第一充電模式下對該待充電裝置的充電速度,該方法包括:對輸入的交流電進行轉換,以得到該適配器的輸出電壓和輸出電流;對該適配器的輸出電壓進行檢測,以產生一電壓回饋訊號,該電壓回饋訊號用於指示該適配器的輸出電壓是否達到設定的一目標電壓;對該適配器的輸出電流進行檢測,以產生一電流回饋訊號,該電流回饋訊號用於指示該適配器的輸出電流是否達到設定的一目標電流;在該電壓回饋訊號指示該適配器的輸出電壓達到該目標電壓,或該電流回饋訊號指示該適配器的輸出電流達到該目標電流的情況下,穩定該適配器的輸出電壓和輸出電流;通過該適配器與該待充電裝置進行雙向通訊。 A charging control method, wherein the method is applied to an adapter, the adapter supports a first charging mode and a second charging mode, and the adapter charges the charging device to be faster than the charging device in the second charging mode The charging speed of the adapter to be charged in the first charging mode, the method comprising: converting the input alternating current to obtain an output voltage and an output current of the adapter; detecting an output voltage of the adapter to generate a voltage feedback signal, the voltage feedback signal is used to indicate whether the output voltage of the adapter reaches a set target voltage; the output current of the adapter is detected to generate a current feedback signal, the current feedback signal is used to indicate the adapter Whether the output current reaches a 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 adapter is stabilized Output voltage and output current; With the two-way communication device to be charged. 如申請專利範圍第29項所述的充電控制方法,該方法還包括:調整該目標電壓的取值。 The charging control method according to claim 29, wherein the method further comprises: adjusting a value of the target voltage. 如申請專利範圍第30項所述的充電控制方法,該對該適配器的輸出電壓進行檢測,以產生一電壓回饋訊號,包括:對該適配器的輸出電壓進行取樣,得到一第一電壓;比較該第一電壓和一第一參考電壓;基於該第一電壓和該第一參考電壓的比較結果,產生該電壓回饋訊號;該調整該目標電壓的取值,包括:通過調整該第一參考電壓的取值,調整該目標電壓的取值。 The charging control method according to claim 30, wherein the output voltage of the adapter is detected to generate a voltage feedback signal, comprising: sampling an output voltage of the adapter to obtain a first voltage; comparing the a first voltage and 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, comprising: adjusting the first reference voltage Take the value and adjust the value of the target voltage. 如申請專利範圍第31項所述的充電控制方法,該第一參考電壓的取值是基於一數位電位器調整的。 The charging control method according to claim 31, wherein the value of the first reference voltage is adjusted based on a digital potentiometer. 如申請專利範圍第30項至第32項中任一項所述的充電控制方法,該調整該目標電壓的取值,包括:基於該適配器當前使用的第一充電模式或第二充電模式,調整該目標電壓的取值。 The charging control method according to any one of claims 30 to 32, wherein the adjusting the value of the target voltage comprises: adjusting based on a first charging mode or a second charging mode currently used by the adapter The value of the target voltage. 如申請專利範圍第29項所述的充電控制方法,該方法還包括:調整該目標電流的電流值。 The charging control method according to claim 29, wherein the method further comprises: adjusting a current value of the target current. 如申請專利範圍第34項所述的充電控制方法,該對該適配器的輸出電流進行檢測,以產生一電流回饋訊號,包括:對該適配器的輸出電流進行取樣,得到一第二電壓,該第二電壓用於指示該適配器的輸出電流的大小;比較該第二電壓和一第二參考電壓;基於該第二電壓和該第二參考電壓的比較結果,產生該電流回饋訊號;該調整該目標電流的電流值,包括:通過調整該第二參考電壓的電壓值,調整該目標電流的電流值。 The charging control method according to claim 34, wherein the output current of the adapter is detected to generate a current feedback signal, comprising: sampling an output current of the adapter to obtain a second voltage, the first The second voltage is used to indicate the magnitude of the output current of the adapter; the second voltage is compared with a second reference voltage; and the current feedback signal is generated based on the comparison result of the second voltage and the second reference voltage; The current value of the current includes: adjusting a current value of the target current by adjusting a voltage value of the second reference voltage. 如申請專利範圍第35項所述的充電控制方法,該第二參考電壓的取值是基於一第二數位類比轉換器DAC調整的。 The charging control method according to claim 35, wherein the value of the second reference voltage is adjusted based on a second digital analog converter DAC. 如申請專利範圍第34項所述的充電控制方法,該調整該目標電流的電流值,包括:基於該適配器當前使用的第一充電模式或第二充電模式,調整該目標電流的電流值。 The charging control method according to claim 34, wherein the adjusting the current value of the target current comprises: adjusting a current value of the target current based on a first charging mode or a second charging mode currently used by the adapter. 如申請專利範圍第29項所述的充電控制方法,該第一充電模式為恆壓模式,在該恆壓模式下,該目標電壓為該恆壓模式對應的電壓,該目標電流為該適配器在該恆壓模式下允許輸出的最大電流,該方法還包括:根據該電壓回饋訊號,將該適配器的輸出電壓調整至該恆壓模式對應的電壓;該在該電壓回饋訊號指示該適配器的輸出電壓達到該目標電壓,或該電流回饋訊號指示該適配器的輸出電流達到該目標電流的情況下,穩定該適配器的輸出電壓和輸出電流,包括:當該電流回饋訊號指示該適配器的輸出電流達到該適配器在該恆壓模式下允許輸出的最大電流時,控制該適配器的輸出電流不超過該適配器在該恆壓模式下允許輸出的最大電流。 The charging control method according to claim 29, wherein the first charging mode is a constant voltage mode, and in the constant voltage mode, the target voltage is a voltage corresponding to the constant voltage mode, and the target current is the adapter The maximum current allowed in the constant voltage mode, the method further includes: adjusting the output voltage of the adapter to a voltage corresponding to the constant voltage mode according to the voltage feedback signal; the voltage feedback signal indicating the output voltage of the adapter When the target voltage is reached, or the current feedback signal indicates that the output current of the adapter reaches the target current, the output voltage and the output current of the adapter are stabilized, including: when the current feedback signal indicates that the output current of the adapter reaches the adapter When the maximum current output is allowed in the constant voltage mode, the output current of the control adapter is not exceeded by the maximum current allowed by the adapter in the constant voltage mode. 如申請專利範圍第38項所述的充電控制方法,該適配器包括一初級整流單元、一變壓器、一次級整流單元和一次級濾波單元,該初級整流單元將脈動形式的電壓直接輸出至該變壓器。 The charging control method according to claim 38, wherein the adapter comprises a primary rectifying unit, a transformer, a primary rectifying unit, and a primary filtering unit, the primary rectifying unit directly outputting a voltage in a pulsating form to the transformer. 如申請專利範圍第39項所述的充電控制方法,該適配器在該恆壓模式下允許輸出的最大電流是基於該次級濾波單元中的電容的容量確定的。 The charging control method according to claim 39, wherein the maximum current allowed by the adapter in the constant voltage mode is determined based on the capacity of the capacitor in the secondary filtering unit. 如申請專利範圍第29項所述的充電控制方法,該第二充電模式為恆流模式,在該恆流模式下,該目標電壓為該適配器在該恆流模式下允許輸出的最大電壓,該目標電流為該恆流模式對應的電流;該方法還包括:根據該電流回饋訊號,將該適配器的輸出電流調整至該恆流模式對應的電流;該在該電壓回饋訊號指示該適配器的輸出電壓達到該目標電壓,或該電流回饋訊號指示該適配器的輸出電流達到該目標電流的情況下,穩定該適配器的輸出電壓和輸出電流,包括:當該電壓回饋訊號指示該適配器的輸出電壓達到該適配器在該恆流模式下允許輸出的最大電壓時,控制該適配器的輸出電壓不超過該適配器在該恆流模式下允許輸出的最大電壓。 The charging control method according to claim 29, wherein the second charging mode is a constant current mode, and in the constant current mode, the target voltage is a maximum voltage that the adapter allows to output in the constant current mode, The target current is the current corresponding to the constant current mode; the method further includes: adjusting the output current of the adapter to the current corresponding to the constant current mode according to the current feedback signal; the feedback signal at the voltage indicating the output voltage of the adapter When the target voltage is reached, or the current feedback signal indicates that the output current of the adapter reaches the target current, the output voltage and the output current of the adapter are stabilized, including: when the voltage feedback signal indicates that the output voltage of the adapter reaches the adapter When the maximum voltage of the output is allowed in the constant current mode, the output voltage of the adapter is controlled not to exceed the maximum voltage allowed by the adapter in the constant current mode. 如申請專利範圍第29項所述的充電控制方法,該方法還包括:在該適配器與待充電裝置連接的程序中,與該待充電裝置進行雙向通訊,以控制在該第二充電模式下的該適配器的輸出。 The charging control method of claim 29, the method further comprising: performing two-way communication with the device to be charged in a program connected to the device to be charged to control the second charging mode; The output of this adapter. 如申請專利範圍第42項所述的充電控制方法,該與該待充電裝置進行雙向通訊,以控制在該第二充電模式下的該適配器的輸出的程序,包括:與該待充電裝置進行雙向通訊,以協商該適配器與該待充電裝置之間的充電模式。 The charging control method according to claim 42, wherein the program for bidirectional communication with the device to be charged to control the output of the adapter in the second charging mode comprises: bidirectionally interacting with the device to be charged Communication to negotiate a charging mode between the adapter and the device to be charged. 如申請專利範圍第43項所述的充電控制方法,該與該待充電裝置進行雙向通訊,以協商該適配器與該待充電裝置之間的充電模式,包括:向該待充電裝置發送一第一指令,該第一指令用於詢問該待充電裝置是否開啟該第二充電模式;接收該待充電裝置發送的該第一指令的回覆指令,該第一指令的回覆指令用 於指示該待充電裝置是否同意開啟該第二充電模式;在該待充電裝置同意開啟該第二充電模式的情況下,使用該第二充電模式為該待充電裝置充電。 The charging control method of claim 43, wherein the two-way communication with the device to be charged to negotiate a charging mode between the adapter and the device to be charged includes: transmitting a first to the device to be charged The first instruction is used to query whether the device to be charged is enabled to turn on the second charging mode; to receive a reply command of the first instruction sent by the device to be charged, and the reply command of the first instruction is used And indicating whether the device to be charged agrees to turn on the second charging mode; and when the device to be charged agrees to turn on the second charging mode, using the second charging mode to charge the device to be charged. 如申請專利範圍第42項所述的充電控制方法,該與該待充電裝置進行雙向通訊,以控制在該第二充電模式下的該適配器的輸出的程序,包括:與該待充電裝置進行雙向通訊,以確定在該第二充電模式下的該適配器輸出的用於對該待充電裝置進行充電的充電電壓;對該目標電壓的電壓值進行調整,使該目標電壓的電壓值等於在該第二充電模式下的該適配器輸出的用於對該待充電裝置進行充電的充電電壓。 The charging control method according to claim 42, wherein the program for bidirectional communication with the device to be charged to control the output of the adapter in the second charging mode comprises: bidirectionally interacting with the device to be charged Communicating to determine a charging voltage output by the adapter for charging the device to be charged in the second charging mode; adjusting a voltage value of the target voltage such that a voltage value of the target voltage is equal to The charging voltage output by the adapter in the second charging mode for charging the device to be charged. 如申請專利範圍第45項所述的充電控制方法,該與該待充電裝置進行雙向通訊,以確定在該第二充電模式下的該適配器輸出的用於對該待充電裝置進行充電的充電電壓,包括:向該待充電裝置發送一第二指令,該第二指令用於詢問該適配器的輸出電壓與該待充電裝置的一電池的當前電壓是否匹配;接收該待充電裝置發送的該第二指令的回覆指令,該第二指令的回覆指令用於指示該適配器的輸出電壓與該電池的當前電壓匹配、偏高或偏低。 The charging control method according to claim 45, wherein the charging device performs two-way communication 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. The method includes: sending a second instruction to the device to be charged, the second command is used to query whether an output voltage of the adapter matches a current voltage of a battery of the device to be charged; and receiving the second message sent by the device to be charged The reply instruction of the instruction, the reply instruction of the second instruction is used to indicate that the output voltage of the adapter matches the current voltage of the battery, being high or low. 如申請專利範圍第42項所述的充電控制方法,該與該待充電裝置進行雙向通訊,以控制在該第二充電模式下的該適配器的輸出的程序,包括:與該待充電裝置進行雙向通訊,以確定在該第二充電模式下的該適配器輸出的用於對該待充電裝置進行充電的充電電流;對該目標電流的電流值進行調整,使該目標電流的電流值等於在該第二充電模式下的該適配器輸出的用於對該待充電裝置進行充電的充電電流。 The charging control method according to claim 42, wherein the program for bidirectional communication with the device to be charged to control the output of the adapter in the second charging mode comprises: bidirectionally interacting with the device to be charged Communicating to determine a charging current output by the adapter for charging the device to be charged in the second charging mode; adjusting a current value of the target current such that a current value of the target current is equal to The charging current output by the adapter in the second charging mode for charging the device to be charged. 如申請專利範圍第47項所述的充電控制方法,該與該待充電裝置進行雙向通訊,以確定在該第二充電模式下的該適配器輸出的用於對該待充電裝置進行充電的充電電流,包括:向該待充電裝置發送一第三指令,該第三指令用於詢問該待充電裝置當前支援的最大充電電流;接收該待充電裝置發送的該第三指令的回覆指令,該第三指令的回覆指令用於指示該待充電裝置當前支援的最大充電電流;根據該待充電裝置當前支援的最大充電電流確定在該第二充電模式下的該適配器輸出的用於對該待充電裝置進行充電的充電電流。 The charging control method according to claim 47, wherein the charging device performs two-way communication to determine a charging current output by the adapter in the second charging mode for charging the device to be charged. The method includes: sending a third command to the device to be charged, the third command is used to query a maximum charging current currently supported by the device to be charged; and receiving a reply command of the third command sent by the device to be charged, the third The command output command is used to indicate the maximum charging current currently supported by the device to be charged; determining, according to the maximum charging current currently supported by the device to be charged, the output of the adapter in the second charging mode for performing the device to be charged Charging current. 如申請專利範圍第42項所述的充電控制方法,該與該待充電裝置進行雙向通訊,以控制在該第二充電模式下的該適配器的輸出的程序,包括:在使用該第二充電模式充電的程序中,與該待充電裝置進行雙向通訊,以調整該適配器的輸出電流。 The charging control method according to claim 42, wherein the program for bidirectional communication with the device to be charged to control the output of the adapter in the second charging mode comprises: using the second charging mode In the charging process, two-way communication is performed with the device to be charged to adjust the output current of the adapter. 如申請專利範圍第49項所述的充電控制方法,該與該待充電裝置進行雙向通訊,以調整該適配器的輸出電流,包括:向該待充電裝置發送的一第四指令,該第四指令用於詢問該待充電裝置的一電池的當前電壓;接收該適配器發送的該第四指令的回覆指令,該第四指令的回覆指令用於指示該電池的當前電壓;根據該電池的當前電壓,調整該適配器的輸出電流。 The charging control method of claim 49, the two-way communication with the device to be charged to adjust the output current of the adapter, comprising: a fourth command sent to the device to be charged, the fourth command a current voltage for inquiring a battery of the device to be charged; receiving a reply command of the fourth command sent by the adapter, the reply command of the fourth command is used to indicate a current voltage of the battery; according to a current voltage of the battery, Adjust the output current of the adapter. 如申請專利範圍第29項所述的充電控制方法,該適配器是用於為行動待充電裝置充電的適配器。 The charging control method according to claim 29, wherein the adapter is an adapter for charging a mobile charging device. 如申請專利範圍第29項所述的充電控制方法,該適配器包括用於對充電程序進行控制的一控制單元,該控制單元為微控制單元MCU。 The charging control method according to claim 29, wherein the adapter comprises a control unit for controlling the charging program, the control unit being a micro control unit MCU. 如申請專利範圍第29項所述的充電控制方法,該適配器包括一充電介面,該充電介面為通用序列匯流排USB介面。 The charging control method according to claim 29, wherein the adapter comprises a charging interface, and the charging interface is a universal serial bus USB interface.
TW106124355A 2016-07-26 2017-07-20 Adapter and charging control method TWI651608B (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201610600612 2016-07-26
??201610600612.3 2016-07-26
??PCT/CN2017/070548 2017-01-07
PCT/CN2017/070548 WO2017133402A2 (en) 2016-02-05 2017-01-07 Adapter and charging control method

Publications (2)

Publication Number Publication Date
TW201804276A TW201804276A (en) 2018-02-01
TWI651608B true TWI651608B (en) 2019-02-21

Family

ID=62014039

Family Applications (12)

Application Number Title Priority Date Filing Date
TW106124308A TWI625913B (en) 2016-07-26 2017-07-20 Adapter and charging control method
TW106124355A TWI651608B (en) 2016-07-26 2017-07-20 Adapter and charging control method
TW106124390A TWI636358B (en) 2016-07-26 2017-07-20 Adapter and charging control method
TW106124406A TWI661291B (en) 2016-07-26 2017-07-20 Adapter and charging control method
TW106124403A TWI661639B (en) 2016-07-26 2017-07-20 Adapter and charging control method
TW106124381A TWI657638B (en) 2016-07-26 2017-07-20 Adapter and charging control method
TW106124400A TWI632755B (en) 2016-07-26 2017-07-20 Adapter and charging control method
TW106124393A TWI646754B (en) 2016-07-26 2017-07-20 Adapter and charging control method
TW106124401A TWI635690B (en) 2016-07-26 2017-07-20 Adapter and charging control method
TW106124399A TWI653520B (en) 2016-07-26 2017-07-20 Adapter and charging control method
TW106124370A TWI658675B (en) 2016-07-26 2017-07-20 Adapter and charging control method
TW106124337A TWI656708B (en) 2016-07-26 2017-07-20 Adapter and charging control method

Family Applications Before (1)

Application Number Title Priority Date Filing Date
TW106124308A TWI625913B (en) 2016-07-26 2017-07-20 Adapter and charging control method

Family Applications After (10)

Application Number Title Priority Date Filing Date
TW106124390A TWI636358B (en) 2016-07-26 2017-07-20 Adapter and charging control method
TW106124406A TWI661291B (en) 2016-07-26 2017-07-20 Adapter and charging control method
TW106124403A TWI661639B (en) 2016-07-26 2017-07-20 Adapter and charging control method
TW106124381A TWI657638B (en) 2016-07-26 2017-07-20 Adapter and charging control method
TW106124400A TWI632755B (en) 2016-07-26 2017-07-20 Adapter and charging control method
TW106124393A TWI646754B (en) 2016-07-26 2017-07-20 Adapter and charging control method
TW106124401A TWI635690B (en) 2016-07-26 2017-07-20 Adapter and charging control method
TW106124399A TWI653520B (en) 2016-07-26 2017-07-20 Adapter and charging control method
TW106124370A TWI658675B (en) 2016-07-26 2017-07-20 Adapter and charging control method
TW106124337A TWI656708B (en) 2016-07-26 2017-07-20 Adapter and charging control method

Country Status (2)

Country Link
JP (2) JP6633104B2 (en)
TW (12) TWI625913B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108711921B (en) * 2018-04-16 2021-02-02 广州昂宝电子有限公司 Alternating current signal power conversion system for charging battery, charging system and method
CN108923660B (en) * 2018-08-14 2020-01-24 无锡芯朋微电子股份有限公司 Synchronous rectification converter
US11573617B2 (en) * 2019-01-25 2023-02-07 Dell Products, L.P. Indicator for AC power adapter
TWI693497B (en) * 2019-03-15 2020-05-11 新唐科技股份有限公司 Digital regulation system and control method thereof
CN111917122B (en) * 2020-06-30 2023-04-18 利天万世(上海)能源科技有限公司 Peak clipping and valley filling power supply control method for communication base station
CN112769204B (en) * 2020-12-29 2023-05-23 Oppo广东移动通信有限公司 Power supply device, charging method and system
CN113075563B (en) * 2021-03-19 2024-03-08 北京车和家信息技术有限公司 Detection method and device for lithium precipitation of power battery and vehicle
CN113316057B (en) * 2021-05-28 2024-01-16 维沃移动通信有限公司 Earphone, method and device for reducing power consumption and electronic equipment
TWI784788B (en) * 2021-11-10 2022-11-21 技嘉科技股份有限公司 Power supply regulating circuit, charging device and power supply mode adjustment method thereof

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6025695A (en) * 1997-07-09 2000-02-15 Friel; Daniel D. Battery operating system
US6909617B1 (en) * 2004-01-22 2005-06-21 La Marche Manufacturing Co. Zero-voltage-switched, full-bridge, phase-shifted DC-DC converter with improved light/no-load operation
TW200616305A (en) * 2004-11-12 2006-05-16 Niko Semiconductor Co Ltd Pulse width modulation apparatus by using output voltage feedback delay circuit to automatically change the output frequency
CN102364856A (en) * 2011-06-30 2012-02-29 成都芯源系统有限公司 Switching power supply and no-load control circuit and no-load control method thereof
TWM481439U (en) * 2014-03-14 2014-07-01 San-Shan Hong Switching power supply and protection device
CN104917271A (en) * 2015-06-19 2015-09-16 李�昊 Adapter
CN104967199A (en) * 2015-08-05 2015-10-07 青岛海信移动通信技术股份有限公司 Fast-charging method and mobile terminal
JP5822304B2 (en) * 2012-03-26 2015-11-24 ニチコン株式会社 Charger

Family Cites Families (38)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05103430A (en) * 1991-10-07 1993-04-23 Murata Mfg Co Ltd Battery charging circuit
JPH0646535A (en) * 1992-05-22 1994-02-18 Tamura Seisakusho Co Ltd Charger
US5614805A (en) * 1992-11-19 1997-03-25 Tokin Corporation Method and apparatus for charging a secondary battery by supplying pulsed current as charging current
JPH08223907A (en) * 1995-02-06 1996-08-30 Internatl Business Mach Corp <Ibm> Power unit and power supply supplying method
CN1079603C (en) * 1998-08-20 2002-02-20 苏永贵 Combined pulse charging method
JP2004260911A (en) * 2003-02-25 2004-09-16 Canon Inc Ac adapter
CN1564421A (en) * 2004-03-17 2005-01-12 毛锦铭 Charger for lithium cell
JP2006129619A (en) * 2004-10-29 2006-05-18 Hitachi Koki Co Ltd Battery charging equipment
TWI312603B (en) * 2006-03-17 2009-07-21 Innolux Display Corp Battery charging circuit
JP2007267498A (en) * 2006-03-28 2007-10-11 Matsushita Electric Works Ltd Charger, charging system and electric apparatus
US7750604B2 (en) * 2007-02-16 2010-07-06 O2Micro, Inc. Circuits and methods for battery charging
CN101022179A (en) * 2007-03-15 2007-08-22 淮阴工学院 Storage battery fast charging method
US7663352B2 (en) * 2007-08-27 2010-02-16 System General Corp. Control circuit for measuring and regulating output current of CCM power converter
JP5418871B2 (en) * 2007-10-25 2014-02-19 日立工機株式会社 Charger
CN101651356A (en) * 2008-08-11 2010-02-17 鸿富锦精密工业(深圳)有限公司 Power adapter and charging method thereof
JP2010110148A (en) * 2008-10-31 2010-05-13 Panasonic Corp Power supply device
TWI414126B (en) * 2009-01-23 2013-11-01 Asustek Comp Inc Charge device
US8148942B2 (en) * 2009-11-05 2012-04-03 O2Micro International Limited Charging systems with cell balancing functions
JP2012223077A (en) * 2011-04-14 2012-11-12 Kyocera Corp Charging system
WO2013046690A1 (en) * 2011-09-30 2013-04-04 パナソニック株式会社 Lithium ion battery charging method and battery-equipped device
WO2013114497A1 (en) * 2012-02-01 2013-08-08 パナソニック株式会社 Control device for power supply control system
CN102629773B (en) * 2012-04-12 2014-04-30 杭州创美实业有限公司 Intelligent pulse temperature-control charger
TWI477045B (en) * 2012-12-22 2015-03-11 Richtek Technology Corp Power converter for low power illumination device, control circuit and method thereof
CN103066666B (en) * 2013-01-22 2015-08-26 矽力杰半导体技术(杭州)有限公司 A kind of booster type battery charging management system and control method thereof
CN203135543U (en) * 2013-03-14 2013-08-14 广东欧珀移动通信有限公司 Cell phone adapter
CN103178595B (en) * 2013-03-14 2015-06-24 广东欧珀移动通信有限公司 Mobile phone adapter
DE102013105119B4 (en) * 2013-05-17 2016-03-03 H-Tech Ag Method and device for charging rechargeable cells
TWI506937B (en) * 2013-12-03 2015-11-01 Grenergy Opto Inc Power controllers and relevant control methods capable of providing load compensation
CN203645386U (en) * 2013-12-10 2014-06-11 中兴通讯股份有限公司 Charging adapter and mobile terminal
CN203747485U (en) * 2014-01-28 2014-07-30 广东欧珀移动通信有限公司 Electronic equipment charging device and power supply adapter thereof
CN103762702B (en) * 2014-01-28 2015-12-16 广东欧珀移动通信有限公司 Charging device of electronic appliances and power supply adaptor thereof
TWI536706B (en) * 2014-03-11 2016-06-01 登騰電子股份有限公司 Smart power adaptor and control method of power supplay thereof
TWI539731B (en) * 2014-06-19 2016-06-21 立錡科技股份有限公司 Voltage converter controller, voltage converter circuit, and control method for voltage converting
CN204190621U (en) * 2014-07-09 2015-03-04 昂宝电子(上海)有限公司 A kind of switching power circuit
US9929568B2 (en) * 2014-09-26 2018-03-27 Integrated Device Technology, Inc. Methods and apparatuses for power control during backscatter modulation in wireless power receivers
TWI524629B (en) * 2014-10-28 2016-03-01 國立成功大學 An electric power supply system cooperated by a battery and a super capacitor
EP3131170B1 (en) * 2014-11-11 2022-08-31 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Power adapter and terminal
CN105790626B (en) * 2014-12-25 2019-02-12 台达电子工业股份有限公司 Mode of resonance circuit for power conversion and the method for controlling mode of resonance circuit for power conversion

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6025695A (en) * 1997-07-09 2000-02-15 Friel; Daniel D. Battery operating system
US6909617B1 (en) * 2004-01-22 2005-06-21 La Marche Manufacturing Co. Zero-voltage-switched, full-bridge, phase-shifted DC-DC converter with improved light/no-load operation
TW200616305A (en) * 2004-11-12 2006-05-16 Niko Semiconductor Co Ltd Pulse width modulation apparatus by using output voltage feedback delay circuit to automatically change the output frequency
CN102364856A (en) * 2011-06-30 2012-02-29 成都芯源系统有限公司 Switching power supply and no-load control circuit and no-load control method thereof
JP5822304B2 (en) * 2012-03-26 2015-11-24 ニチコン株式会社 Charger
TWM481439U (en) * 2014-03-14 2014-07-01 San-Shan Hong Switching power supply and protection device
CN104917271A (en) * 2015-06-19 2015-09-16 李�昊 Adapter
CN104967199A (en) * 2015-08-05 2015-10-07 青岛海信移动通信技术股份有限公司 Fast-charging method and mobile terminal

Also Published As

Publication number Publication date
TWI646754B (en) 2019-01-01
TW201804705A (en) 2018-02-01
TW201804701A (en) 2018-02-01
TW201804285A (en) 2018-02-01
TW201804704A (en) 2018-02-01
TWI635690B (en) 2018-09-11
TWI661639B (en) 2019-06-01
TW201804699A (en) 2018-02-01
TWI656708B (en) 2019-04-11
TW201804700A (en) 2018-02-01
TWI653520B (en) 2019-03-11
TW201804702A (en) 2018-02-01
TWI632755B (en) 2018-08-11
TWI661291B (en) 2019-06-01
TW201804698A (en) 2018-02-01
TW201804276A (en) 2018-02-01
JP2019216602A (en) 2019-12-19
JP2018532358A (en) 2018-11-01
JP6966518B2 (en) 2021-11-17
TWI658675B (en) 2019-05-01
TWI625913B (en) 2018-06-01
TW201804274A (en) 2018-02-01
JP6633104B2 (en) 2020-01-22
TWI657638B (en) 2019-04-21
TW201804275A (en) 2018-02-01
TW201804707A (en) 2018-02-01
TWI636358B (en) 2018-09-21

Similar Documents

Publication Publication Date Title
WO2017133399A1 (en) Adapter and charge control method
CN109463020B (en) Adapter and charging control method
TWI651608B (en) Adapter and charging control method