TW201804704A - Adapter and charging control method - Google Patents

Adapter and charging control method Download PDF

Info

Publication number
TW201804704A
TW201804704A TW106124401A TW106124401A TW201804704A TW 201804704 A TW201804704 A TW 201804704A TW 106124401 A TW106124401 A TW 106124401A TW 106124401 A TW106124401 A TW 106124401A TW 201804704 A TW201804704 A TW 201804704A
Authority
TW
Taiwan
Prior art keywords
current
adapter
charging
unit
voltage
Prior art date
Application number
TW106124401A
Other languages
Chinese (zh)
Other versions
TWI635690B (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/070523 external-priority patent/WO2017133384A2/en
Application filed by 廣東歐珀移動通信有限公司 filed Critical 廣東歐珀移動通信有限公司
Publication of TW201804704A publication Critical patent/TW201804704A/en
Application granted granted Critical
Publication of TWI635690B publication Critical patent/TWI635690B/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

The present disclosure provides an adapter and a charging control method. The adapter includes a power converting unit, configured to convert an input alternating current to obtain an output voltage and an output current of the adapter, the output current of the adapter is a current of a first pulsating waveform; a sampling holding unit, connected to the power converting unit, when the sampling holding unit is in a sampling state, the sampling holding unit is configured to sample the current of the first pulsating waveform, when the sampling holding unit is in a holding state, the sample holding unit is configured to hold a peak value of the current of the first pulsating waveform; a current collecting and controlling unit, connected to the sampling holding unit, configured to determine whether the sampling holding unit is in a holding state, and collect the peak value of the current of the first pulsating waveform holding by the sampling holding unit when determining the sampling holding unit is in a holding state. The adapter according to embodiment of the present disclosure can improve a battery life.

Description

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

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

適配器又稱為電源適配器,用於為待充電裝置(如終端)進行充電。目前市面上的適配器通常採用恆壓的方式為待充電裝置(如終端)進行充電。由於待充電裝置中的電池一般為鋰電池,使用恆壓的方式為待充電裝置進行充電容易造成析鋰現象,導致電池的壽命降低。The adapter, also known as a power adapter, is used to charge a device to be charged, such as a terminal. Currentlyadays, adapters on the market usually charge a device to be charged (such as a terminal) in a constant voltage manner. Since the battery in the device to be charged is generally a lithium battery, charging the device to be charged by using a constant voltage method is liable to cause lithium deposition, resulting in a decrease in the life of the battery.

本發明實施例提供一種適配器和充電控制方法,以降低電池的析鋰現象,提高電池的使用壽命。Embodiments of the present invention provide an adapter and a charging control method to reduce lithium deposition of a battery and improve the service life of the battery.

第一方面,提供一種適配器,該適配器支援第一充電模式和第二充電模式,該適配器在該第二充電模式下對待充電裝置的充電速度快於該適配器在該第一充電模式下對該待充電裝置的充電速度,該適配器包括:功率轉換單元,用於對輸入的交流電進行轉換,以得到該適配器的輸出電壓和輸出電流,其中該適配器的輸出電流為第一脈動波形的電流;取樣保持單元,與該功率轉換單元相連,當該取樣保持單元處於取樣狀態時,該取樣保持單元用於對該第一脈動波形的電流進行取樣,當該取樣保持單元處於保持狀態時,該取樣保持單元用於保持該第一脈動波形的電流的峰值;電流採集控制單元,與該取樣保持單元相連,該電流採集控制單元用於判斷該取樣保持單元是否處於保持狀態,並在判斷出該取樣保持單元處於該保持狀態的情況下,採集該取樣保持單元保持的該第一脈動波形的電流的峰值。In a first aspect, an adapter is provided, the adapter supporting a first charging mode and a second charging mode, wherein the adapter charges the charging device faster in the second charging mode than the adapter is in the first charging mode The charging speed of the charging device, 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, wherein the output current of the adapter is a current of the first pulsating waveform; a unit connected to the power conversion unit, the sample holding unit is configured to sample the current of the first pulsation waveform when the sample holding unit is in a sampling state, and the sample holding unit is when the sample holding unit is in a holding state a peak of a current for maintaining the first pulsation waveform; a current collection control unit connected to the sample and hold unit, the current collection control unit is configured to determine whether the sample and hold unit is in a hold state, and determine the sample and hold unit Collecting the sample hold while in the hold state The peak current of the first element holding the pulsation waveform.

第二方面,提供一種充電控制方法,該方法應用於適配器,該適配器支援第一充電模式和第二充電模式,該適配器在該第二充電模式下對待充電裝置的充電速度快於該適配器在該第一充電模式下對該待充電裝置的充電速度,該適配器包括功率轉換單元和取樣保持單元,該功率轉換單元用於對輸入的交流電進行轉換,以得到該適配器的輸出電壓和輸出電流,其中該適配器的輸出電流為第一脈動波形的電流,該取樣保持單元與該功率轉換單元相連,當該取樣保持單元處於取樣狀態時,該取樣保持單元用於對該第一脈動波形的電流進行取樣,當該取樣保持單元處於保持狀態時,該取樣保持單元用於保持該第一脈動波形的電流的峰值,該方法包括:判斷該取樣保持單元是否處於保持狀態;在判斷出該取樣保持單元處於該保持狀態的情況下,採集該取樣保持單元保持的該第一脈動波形的電流的峰值。In a second aspect, a charging control method is provided, the method being applied to an adapter that supports a first charging mode and a second charging mode, wherein the adapter charges the charging device faster than the adapter in the second charging mode The charging speed of the device to be charged in the first charging mode, the adapter includes a power conversion unit and a sample and hold unit, and the power conversion unit is configured to convert the input alternating current to obtain an output voltage and an output current of the adapter, wherein The output current of the adapter is the current of the first pulsation waveform, and the sample holding unit is connected to the power conversion unit. When the sample holding unit is in the sampling state, the sample holding unit is configured to sample the current of the first pulsation waveform. The sample holding unit is configured to maintain a peak value of the current of the first pulsation waveform when the sample holding unit is in a hold state, the method comprising: determining whether the sample hold unit is in a hold state; determining that the sample hold unit is In the case of the hold state, the sample hold is collected The peak current of the first element holding the pulsation waveform.

本發明實施例的適配器的輸出電流是脈動波形的電流(或稱脈動直流電),脈動波形的電流能夠降低電池的析鋰現象。此外,脈動波形的電流能夠減少充電介面的觸點的起弧的機率和強度,提高充電介面的壽命。The output current of the adapter of the embodiment of the present invention is a current of a pulsating waveform (or pulsating direct current), and the current of the pulsating waveform can reduce the lithium deposition phenomenon of the battery. In addition, the current of the pulsating waveform can reduce the probability and intensity of the arcing of the contacts of the charging interface and increase the life of the charging interface.

下面將結合本發明實施例中的附圖,對本發明實施例中的技術方案進行清楚、完整地描述,顯然,所描述的實施例是本發明的一部分實施例,而不是全部實施例。基於本發明中的實施例,本領域普通技術人員在沒有做出創造性勞動的前提下所獲得的所有其他實施例,都應屬於本發明保護的範圍。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 more of a trickle charging phase, 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 physical 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 more of a trickle charging phase, 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).

為了提高電池充電程序的可靠性和安全性,本發明實施例控制第二適配器輸出具有脈動波形的電壓/電流,下面結合第1圖對本發明實施例的第二適配器進行詳細描述。In order to improve the reliability and safety of the battery charging procedure, the embodiment of the present invention controls the second adapter to output a voltage/current having a pulsating waveform. The second adapter of the embodiment of the present invention will be described in detail below with reference to FIG.

第1圖是本發明實施例的第二適配器的示意性結構圖。第1圖的第二適配器10包括功率轉換單元11、取樣保持單元12和電流採集控制單元13。Fig. 1 is a schematic structural view of a second adapter of an embodiment of the present invention. The second adapter 10 of FIG. 1 includes a power conversion unit 11, a sample holding unit 12, and a current collection control unit 13.

功率轉換單元11用於對輸入的交流電進行轉換,以得到第二適配器10的輸出電壓和輸出電流。第二適配器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. The output current of the second adapter 10 is the current of the first pulsation waveform.

取樣保持單元12與功率轉換單元11相連。當取樣保持單元12處於取樣狀態時,取樣保持單元12用於對第一脈動波形的電流進行取樣。當取樣保持單元12處於保持狀態時,取樣保持單元12用於保持(或鎖住)第一脈動波形的電流的峰值。The sample and hold unit 12 is connected to the power conversion unit 11. When the sample hold unit 12 is in the sampling state, the sample hold unit 12 is configured to sample the current of the first pulsation waveform. When the sample hold unit 12 is in the hold state, the sample hold unit 12 is used to hold (or lock) the peak value of the current of the first pulsation waveform.

電流採集控制單元13與取樣保持單元12相連。電流採集控制單元13用於判斷取樣保持單元12是否處於保持狀態,並在判斷出取樣保持單元12處於保持狀態的情況下,採集取樣保持單元12保持的第一脈動波形的電流的峰值。The current collection control unit 13 is connected to the sample hold unit 12. The current collection control unit 13 is for determining whether the sample hold unit 12 is in the hold state, and collecting the peak value of the current of the first pulsation waveform held by the sample hold unit 12 in the case where it is determined that the sample hold unit 12 is in the hold state.

本發明實施例的第二適配器的輸出電流是脈動波形的電流(或稱脈動直流電),脈動波形的電流能夠降低電池的析鋰現象。此外,脈動波形的電流能夠減少充電介面的觸點的起弧的機率和強度,提高充電介面的壽命。The output current of the second adapter of the embodiment of the present invention is a current of a pulsating waveform (or pulsating direct current), and the current of the pulsating waveform can reduce the lithium deposition phenomenon of the battery. In addition, the current of the pulsating waveform can reduce the probability and intensity of the arcing of the contacts of the charging interface and increase the life of the charging interface.

第二適配器一般會根據實際情況調整第二適配器的輸出電流。以支援恆流模式的第二適配器為例,第二適配器一般會基於待充電裝置(如終端)的電池電壓不斷調節第二適配器的輸出電流,以分段恆流的形式為電池充電。因此,在充電程序中,需要即時檢測和控制第二適配器的輸出電流。如果第二適配器的輸出電流的電流值是恆定的,第二適配器的輸出電流的檢測和控制是比較容易實現的。但在本發明實施例中,第二適配器的輸出電流是具有第一脈動波形的電流,第一脈動波形的電流的幅度是波動的,需要設計專門的第二適配器的輸出電流的檢測和控制方式。The second adapter generally adjusts the output current of the second adapter according to actual conditions. Taking the second adapter supporting the constant current mode as an example, the second adapter generally adjusts the output current of the second adapter based on the battery voltage of the device to be charged (such as the terminal) to charge the battery in the form of a piecewise constant current. Therefore, in the charging process, it is necessary to immediately detect and control the output current of the second adapter. If the current value of the output current of the second adapter is constant, the detection and control of the output current of the second adapter is relatively easy to implement. However, in the embodiment of the present invention, the output current of the second adapter is a current having a first pulsation waveform, and the amplitude of the current of the first pulsation waveform is fluctuating, and the detection and control manner of the output current of the special second adapter needs to be designed. .

有鑑於此,本發明實施例引入了取樣保持單元12和電流採集控制單元13,基於取樣保持單元12和電流採集控制單元13能夠採集第二適配器的輸出電流的峰值,從而保證能夠第二適配器對輸出電流的有效控制。 上文指出,第二適配器的輸出電流是第一脈動波形的電流。本文中的脈動波形可以是完整的脈動波形,也可以是將完整的脈動波形的進行削峰處理之後得到的脈動波形。所謂削峰處理可指將脈動波形中的超過某一臨界值的部分濾掉,從而實現對脈動波形峰值的控制。在第2A圖所示的實施例中,脈動波形為完整的脈動波形,在第2B圖所示的實施例中,脈動波形為經過削峰處理之後的脈動波形。In view of this, the embodiment of the present invention introduces the sample and hold unit 12 and the current collection control unit 13, and based on the sample and hold unit 12 and the current collection control unit 13, the peak value of the output current of the second adapter can be collected, thereby ensuring that the second adapter pair can be Effective control of the output current. As indicated above, the output current of the second adapter is the current of the first pulsating waveform. The pulsation waveform herein may be a complete pulsation waveform, or may be a pulsation waveform obtained after peak shaving of a complete pulsation waveform. The so-called peak clipping process may refer to filtering out a portion of the pulsation waveform that exceeds a certain critical value, thereby achieving control of the peak value of the pulsation waveform. In the embodiment shown in Fig. 2A, the pulsation waveform is a complete pulsation waveform, and in the embodiment shown in Fig. 2B, the pulsation waveform is a pulsation waveform after the peak clipping process.

應理解,本發明實施例對功率轉換單元11將交流電換成第一脈動波形的電流的方式不作具體限定。例如,可以去掉功率轉換單元11中的初級濾波單元和次級濾波單元,形成第一脈動波形的電流。這樣不但能夠使第二適配器10輸出第一脈動波形的電流,而且能夠大幅降低第二適配器10的體積,有利於第二適配器10的小型化。It should be understood that the manner in which the power conversion unit 11 exchanges the alternating current into the current of the first pulsation waveform is not specifically limited. For example, the primary filter unit and the secondary filter unit in the power conversion unit 11 can be removed to form a current of the first pulsation waveform. This not only enables the second adapter 10 to output the current of the first pulsation waveform, but also greatly reduces the volume of the second adapter 10, which facilitates miniaturization of the second adapter 10.

本發明實施例中所使用到的待充電裝置可以是“通訊終端”(或簡稱為“終端”),包括但不限於被設置成經由有線線路連接(如經由公共交換電話網絡(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可以包括充電介面(參見第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, it 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.

本發明實施例對取樣保持單元12的實現形式不作具體限定,一般地,取樣保持單元12可以基於電容實現訊號的取樣和保持。下面結合第3圖對取樣保持單元12的具體形式進行詳細描述。The implementation of the sample and hold unit 12 is not specifically limited in the embodiment of the present invention. Generally, the sample and hold unit 12 can implement sampling and holding of signals based on capacitance. The specific form of the sample holding unit 12 will be described in detail below with reference to FIG.

可選地,在一些實施例中,如第3圖所述,取樣保持單元12可包括電流取樣單元14和電流保持單元15。電流取樣單元14與功率轉換單元11相連,用於檢測第一脈動波形的電流,得到取樣電流,並將取樣電流轉換成取樣電壓。取樣電壓用於指示第一脈動波形的電流的大小。電流保持單元15與電流取樣單元14和電流採集控制單元13相連。電流保持單元15從電流取樣單元14接收取樣電壓,並基於取樣電壓為電流保持單元15中的電容(第3圖中未示出)充電。電流採集控制單元13通過採集電流採集控制單元13中的電容兩端的電壓,獲取第一脈動波形的電流的峰值。Alternatively, in some embodiments, as described in FIG. 3, the sample hold unit 12 may include a current sampling unit 14 and a current holding unit 15. The current sampling unit 14 is connected to the power conversion unit 11 for detecting the current of the first pulsation waveform, obtaining a sampling current, and converting the sampling current into a sampling voltage. The sampled voltage is used to indicate the magnitude of the current of the first pulsation waveform. The current holding unit 15 is connected to the current sampling unit 14 and the current collection control unit 13. The current holding unit 15 receives the sampling voltage from the current sampling unit 14, and charges the capacitance (not shown in FIG. 3) in the current holding unit 15 based on the sampling voltage. The current acquisition control unit 13 acquires the peak value of the current of the first pulsation waveform by collecting the voltage across the capacitance in the current acquisition control unit 13.

當第一脈動波形處於上升沿時,電流保持單元15中的電容隨著第一脈動波形的電流的電流值的升高而升高,取樣保持單元12處於取樣狀態。當第一脈動波形處於峰值或下降沿時,電流保持單元15中的電容兩端的電壓保持不變,取樣保持單元12處於保持狀態。When the first pulsation waveform is at the rising edge, the capacitance in the current holding unit 15 rises as the current value of the current of the first pulsation waveform rises, and the sample holding unit 12 is in the sampling state. When the first pulsation waveform is at the peak or falling edge, the voltage across the capacitor in the current holding unit 15 remains unchanged, and the sample hold unit 12 is in the hold state.

本發明實施例通過電流採集控制單元13採集取樣保持單元12保持的第一脈動波形的電流的峰值。在一些實施例中,電流採集控制單元13可包括類比數位轉換器(Analog-to-Digital Converte,ADC),電流採集控制單元13可以基於ADC採集第一脈動波形的電流的峰值。在一些實施例中,電流控制單元13還可以包括控制單元,該控制單元例如可以是微控制單元(Microcontroller Unit,MCU)。該控制單元包括ADC埠,該控制單元可以通過該ADC埠與取樣保持單元12中的電容相連,通過採集電容兩端電壓,採集第一脈動波形的電流的峰值。The embodiment of the present invention collects the peak value of the current of the first pulsation waveform held by the sample holding unit 12 by the current acquisition control unit 13. In some embodiments, the current acquisition control unit 13 may include an Analog-to-Digital Converte (ADC), and the current acquisition control unit 13 may acquire a peak value of the current of the first pulsation waveform based on the ADC. In some embodiments, the current control unit 13 may further include a control unit, which may be, for example, a Microcontroller Unit (MCU). The control unit includes an ADC port, and the control unit can be connected to the capacitor in the sample and hold unit 12 through the ADC, and collect the peak value of the current of the first pulsation waveform by collecting the voltage across the capacitor.

當取樣保持單元12處於取樣狀態時,電容兩端的電壓會隨著第一脈動波形的電流的電流值的增加而增加,相當於充電程序。當取樣保持單元12處於保持狀態時,電容兩端的電壓達到最大值。可以預先建立電容兩端電壓和第一脈動波形的電流值的對應關係。這樣一來,電流採集控制單元13通過採集電容兩端的電壓值,即可獲知第一脈動波形的電流的峰值。When the sample-and-hold unit 12 is in the sampling state, the voltage across the capacitor increases as the current value of the current of the first pulsation waveform increases, which is equivalent to the charging procedure. When the sample and hold unit 12 is in the hold state, the voltage across the capacitor reaches a maximum value. The correspondence between the voltage across the capacitor and the current value of the first ripple waveform can be established in advance. In this way, the current acquisition control unit 13 can obtain the peak value of the current of the first pulsation waveform by collecting the voltage value across the capacitor.

可選地,在一些實施例中,電流採集控制單元13還用於在採集到第一脈動波形的電流的峰值之後,控制取樣保持單元12從保持狀態轉換至取樣狀態。Optionally, in some embodiments, the current collection control unit 13 is further configured to control the sample hold unit 12 to transition from the hold state to the sample state after acquiring the peak value of the current of the first pulsation waveform.

具體地,第一脈動波形的電流的峰值可能是即時變化的,因此需要對第一脈動波形的電流的峰值進行不斷地檢測,以保證電流資訊的即時性和準確性,進而保證整個充電程序的順利進行。基於此,本發明實施例提供的電流採集控制單元13能夠在採集到第一脈動波形的電流的峰值之後,控制取樣保持單元12進入取樣狀態,對第一脈動波形的電流進行重新取樣,以保證第一脈動波形的電流峰值採集的即時性和準確性。Specifically, the peak value of the current of the first pulsation waveform may be instantaneously changed, so that the peak value of the current of the first pulsation waveform needs to be continuously detected to ensure the immediacy and accuracy of the current information, thereby ensuring the entire charging procedure. Going smoothly. Based on this, the current collecting control unit 13 provided by the embodiment of the present invention can control the sampling and holding unit 12 to enter the sampling state after collecting the peak value of the current of the first pulsating waveform, and resample the current of the first pulsating waveform to ensure The immediacy and accuracy of current peak acquisition of the first pulsating waveform.

進一步地,在一些實施例中,電流採集控制單元13可以在第一脈動波形的每個週期內完成一次峰值的採集,並在採集到該峰值之後,立刻控制取樣保持單元12從保持狀態切換至取樣狀態。這樣一來,電流採集控制單元13採集到的第一脈動波形的電流的峰值會以第一脈動波形的週期為單位即時更新,保證了第一脈動波形的電流峰值採集的即時性和準確性。Further, in some embodiments, the current acquisition control unit 13 may complete the acquisition of a peak in each cycle of the first pulsation waveform, and immediately after the acquisition of the peak, control the sample-and-hold unit 12 to switch from the hold state to Sampling status. In this way, the peak value of the current of the first pulsation waveform collected by the current acquisition control unit 13 is updated in real time in units of the period of the first pulsation waveform, thereby ensuring the immediacy and accuracy of the current peak collection of the first pulsation waveform.

由上可知,第二適配器10的輸出電流,即充電電流為第一脈動波形的電流。該充電電流可以以間歇的方式為電池充電,該充電電流的週期可以跟隨電網頻率變化。在一些實施例中,該充電電流的週期對應的頻率可以是電網頻率的整數倍或倒數倍。換句話說,該充電電流可以以間歇的方式為電池充電。在一些實施例中,該充電電流可以由與電網同步的一個或一組脈衝構成。As can be seen from the above, the output current of the second adapter 10, that is, the charging current is the current of the first pulsation waveform. The charging current can charge the battery in an intermittent manner, and the period of the charging current can follow the grid frequency change. In some embodiments, the frequency corresponding to the period of the charging current may be an integer multiple or a reciprocal of the grid frequency. In other words, the charging current can charge the battery in an intermittent manner. In some embodiments, the charging current can be comprised of one or a set of pulses that are synchronized with the grid.

應理解,電流採集控制單元13控制取樣保持單元12從保持狀態切換至採集狀態的方式可以有多種,例如,電流取樣單元13可以控制取樣保持單元12中的電容放電,清空電容兩端的電荷,使得下個取樣週期到來時,取樣保持單元12中的電容可以重新充電。It should be understood that the current collection control unit 13 can control the sampling and holding unit 12 to switch from the hold state to the acquisition state in various manners. For example, the current sampling unit 13 can control the discharge of the capacitor in the sample and hold unit 12 to clear the charge across the capacitor, so that When the next sampling period comes, the capacitance in the sample and hold unit 12 can be recharged.

可選地,在一些實施例中,如第4圖所示,取樣保持單元12可基於取樣保持單元12中的電容(第4圖未示出)保持第一脈動波形的電流的峰值。電流採集控制單元13可包括放電單元16和控制單元17。放電單元16分別與控制單元17和取樣保持單元12中的電容相連。放電單元16用於在控制單元17的控制下釋放取樣保持單元12中的電容兩端的電荷,從而使得取樣保持單元12從保持狀態轉換至取樣狀態。進一步地,取樣保持單元12保持的第一脈動波形的電流的峰值的採集可以由控制單元17完成。Alternatively, in some embodiments, as shown in FIG. 4, the sample hold unit 12 may maintain the peak value of the current of the first pulsation waveform based on the capacitance in the sample hold unit 12 (not shown in FIG. 4). The current collection control unit 13 may include a discharge unit 16 and a control unit 17. The discharge cells 16 are connected to the capacitances in the control unit 17 and the sample and hold unit 12, respectively. The discharge unit 16 is for releasing the charge across the capacitance in the sample hold unit 12 under the control of the control unit 17, thereby causing the sample hold unit 12 to transition from the hold state to the sample state. Further, the acquisition of the peak value of the current of the first pulsation waveform held by the sample holding unit 12 can be completed by the control unit 17.

放電單元16的實現方式可以有多種。例如,放電單元16可以包括與取樣保持單元12中的電容串聯的開關和電阻。當需要放電時,控制單元17控制開關閉合,使得電容對該電阻放電,從而消耗掉電容兩端的電荷。The discharge unit 16 can be implemented in a variety of ways. For example, discharge unit 16 may include a switch and a resistor in series with the capacitance in sample hold unit 12. When a discharge is required, the control unit 17 controls the switch to close so that the capacitor discharges the resistor, thereby consuming the charge across the capacitor.

本發明實施例對電流採集控制單元13判斷取樣保持單元12是否處於保持狀態的方式不作具體限定,下面結合具體的實施例進行詳細描述。The embodiment of the present invention does not specifically limit the manner in which the current collection control unit 13 determines whether the sample and hold unit 12 is in the hold state, and is described in detail below in conjunction with specific embodiments.

可選地,在一些實施例中,電流採集控制單元13可以即時檢測取樣保持單元12取樣得到的電流值,如果連續兩次檢測得到的電流值保持不變,表明取樣保持單元12處於保持狀態。Optionally, in some embodiments, the current collection control unit 13 can immediately detect the current value sampled by the sample and hold unit 12, and if the current values obtained by the two consecutive tests remain unchanged, it indicates that the sample and hold unit 12 is in the hold state.

可選地,在一些實施例中,電流採集控制單元13用於接收同步訊號,基於同步訊號判斷取樣保持單元12是否處於保持狀態。同步訊號的週期是第一脈動波形的週期的1/N,N為大於或等於1的整數。Optionally, in some embodiments, the current collection control unit 13 is configured to receive the synchronization signal, and determine whether the sample and hold unit 12 is in the hold state based on the synchronization signal. The period of the sync signal is 1/N of the period of the first pulsation waveform, and N is an integer greater than or equal to 1.

由於第一脈動形式的電流週期性變化,因此,取樣保持單元12從取樣狀態到保持狀態之間的時間間隔與該第一脈動波形的電流的週期有關(該時間間隔可以是第一脈動波形的電流的週期的1/2)。基於此,本發明實施例引入與第一脈動波形的週期具有特定關係的同步訊號(即同步訊號的週期是第一脈動波形的週期的1/N),並基於該同步訊號判斷取樣保持單元12的工作狀態。例如,可以利用同步訊號和第一脈動波形的週期和/或相位的關係,確定第一脈動波形是否處於峰值或下降沿。如果第一脈動波形處於峰值或下降沿,則判斷出取樣保持單元12處於保持狀態。本文中的確定第一脈動波形是否處於峰值或下降沿是指確定第一脈動波形是否處於第一脈動波形的峰值或下降沿。可替換地,上述確定第一脈動波形是否處於峰值或下降沿是指確定第二適配器的當前的輸出電流是否處於第一脈動波形的峰值或下降沿,或第二適配器的當前的輸出電流是否是第一脈動波形的峰值或下降沿對應的電流。Since the current in the first pulsating form periodically changes, the time interval between the sampling state and the holding state of the sample holding unit 12 is related to the period of the current of the first pulsation waveform (the time interval may be the first pulsation waveform) 1/2 of the period of the current. Based on this, the embodiment of the present invention introduces a synchronization signal having a specific relationship with the period of the first pulsation waveform (ie, the period of the synchronization signal is 1/N of the period of the first pulsation waveform), and determines the sample and hold unit 12 based on the synchronization signal. Working status. For example, the relationship between the synchronization signal and the period and/or phase of the first pulsation waveform can be utilized to determine whether the first pulsation waveform is at a peak or a falling edge. If the first pulsation waveform is at the peak or falling edge, it is judged that the sample holding unit 12 is in the hold state. Determining whether the first pulsation waveform is at a peak or a falling edge herein means determining whether the first pulsation waveform is at a peak or a falling edge of the first pulsation waveform. Alternatively, determining whether the first pulsation waveform is at a peak or a falling edge determines whether the current output current of the second adapter is at a peak or a falling edge of the first pulsation waveform, or whether the current output current of the second adapter is The current of the peak or falling edge of the first pulsation waveform.

可選地,作為一種實現方式,第一脈動波形的週期與同步訊號的週期相同。進一步地,在一些實施例中,第一脈動波形可以與同步訊號同相。換句話說,如果同步訊號處於上升沿,則第一脈動波形處於上升沿,如果同步訊號處於峰值或下降沿,則第一脈動波形處於峰值或下降沿。由於第一脈動波形處於峰值或下降沿時,取樣保持單元12處於保持狀態,因此,只要判斷出同步訊號何時處於峰值或下降沿,即可判斷出取樣保持單元12何時處於保持狀態。在另一些實施例中,第一脈動波形的相位可以與同步訊號的相位相差固定值,如相差90度,或相差180度。在這種情況下,同樣可以基於二者之間的週期和相位的關係判斷第一脈動波形何時處於峰值或下降沿,進而判斷出取樣保持單元12何時處於保持狀態。Optionally, as an implementation manner, the period of the first pulsation waveform is the same as the period of the synchronization signal. Further, in some embodiments, the first pulsation waveform can be in phase with the synchronization signal. In other words, if the sync signal is at the rising edge, the first pulsation waveform is at the rising edge, and if the sync signal is at the peak or falling edge, the first pulsation waveform is at the peak or falling edge. Since the first pulsation waveform is at the peak or falling edge, the sample hold unit 12 is in the hold state, and therefore, when it is judged when the sync signal is at the peak or the falling edge, it is judged when the sample hold unit 12 is in the hold state. In other embodiments, the phase of the first pulsation waveform may differ from the phase of the synchronization signal by a fixed value, such as 90 degrees out of phase, or 180 degrees out of phase. In this case, it is also possible to judge when the first pulsation waveform is at the peak or the falling edge based on the relationship between the period and the phase between the two, thereby judging when the sample holding unit 12 is in the hold state.

如果同步訊號的週期是第一脈動波形週期的1/2、1/3、1/4等,同樣可以基於同步訊號與第一脈動波形的相位和週期的關係對取樣保持單元12的工作狀態進行判斷。如第5圖所示,同步訊號的波形用實線表示,第一脈動波形的波形用虛線表示。同步訊號的週期是第一脈動波形週期的1/2,則同步訊號處於負半周的時候,第一脈動波形處於峰值或下降沿,取樣保持單元12處於保持狀態。因此,僅需要判斷同步訊號的波形何時處於負半周即可判斷出第一脈動波形何時處於峰值或下降沿,其他情況類似,此處不再一一列舉。If the period of the synchronization signal is 1/2, 1/3, 1/4, etc. of the first pulsation waveform period, the operation state of the sample and hold unit 12 can also be performed based on the relationship between the phase and the period of the synchronization signal and the first pulsation waveform. Judge. As shown in Fig. 5, the waveform of the sync signal is indicated by a solid line, and the waveform of the first pulsation waveform is indicated by a broken line. The period of the synchronization signal is 1/2 of the first pulsation waveform period. When the synchronization signal is in the negative half cycle, the first pulsation waveform is at the peak or falling edge, and the sample hold unit 12 is in the hold state. Therefore, it is only necessary to judge when the waveform of the synchronous signal is in the negative half cycle to determine when the first pulsation waveform is at the peak or the falling edge. Other situations are similar, and are not enumerated here.

此外,同步訊號可以是脈動波形的同步訊號,也可以是三角波形的同步訊號,還可以是其他類型的同步訊號,本發明實施例對此不作具體限定。In addition, the synchronization signal may be a synchronization signal of a pulsating waveform, a synchronization signal of a triangular waveform, or another type of synchronization signal, which is not specifically limited in the embodiment of the present invention.

本發明實施例對同步訊號的獲取方式不作具體限定,下面結合具體的實施例,給出同步訊號的可選的獲取方式。In the embodiment of the present invention, the manner of acquiring the synchronization signal is not specifically limited. The following describes an optional acquisition manner of the synchronization signal according to the specific embodiment.

可選地,在一些實施例中,電流採集控制單元13與功率轉換單元11相連,從功率轉換單元11獲取同步訊號。Optionally, in some embodiments, the current acquisition control unit 13 is connected to the power conversion unit 11 to acquire a synchronization signal from the power conversion unit 11.

應理解,從功率轉換單元11獲取到的同步訊號可以是功率轉換單元11接收的交流訊號、功率轉換單元11在初級整流後得到的電流/電壓訊號、功率轉換單元11的初級耦合至次級的電流/電壓訊號、次級整流之後的電流/電壓訊號等,本發明實施例對此不作具體限定。It should be understood that the synchronization signal acquired from the power conversion unit 11 may be an AC signal received by the power conversion unit 11, a current/voltage signal obtained by the power conversion unit 11 after primary rectification, and a primary coupling of the power conversion unit 11 to the secondary. The current/voltage signal, the current/voltage signal after the secondary rectification, and the like are not specifically limited in the embodiment of the present invention.

可選地,在一些實施例中,如第6圖所示,功率轉換單元11可包括初級單元18和次級單元19。電流採集控制單元13與次級單元19相連,從次級單元19獲取同步訊號。Alternatively, in some embodiments, as shown in FIG. 6, power conversion unit 11 may include primary unit 18 and secondary unit 19. The current collection control unit 13 is connected to the secondary unit 19 to acquire a synchronization signal from the secondary unit 19.

應理解,從次級單元19獲取同步訊號的方式有多種。例如,可以直接從次級單元19的母線(VBUS)上獲取同步訊號。具體地,由於第二適配器10輸出的是第一脈動波形的電流,而第二適配器10的輸出端與次級單元19的母線相連,因此,次級單元19的母線上也應該具有第一脈動波形的電流,可以直接從次級單元19的母線上獲取同步訊號。又如,如第7圖所示,次級單元19可包括第一整流單元20。第一整流單元20與電流採集控制單元13相連。第一整流單元20用於對初級單元18耦合至次級單元19的電流進行整流,得到第二脈動形式的電壓,並將第二脈動波形的電壓作為同步訊號,發送至電流採集控制單元13。It should be understood that there are various ways to obtain synchronization signals from the secondary unit 19. For example, the synchronization signal can be obtained directly from the bus (VBUS) of the secondary unit 19. Specifically, since the second adapter 10 outputs the current of the first pulsating waveform, and the output of the second adapter 10 is connected to the busbar of the secondary unit 19, the busbar of the secondary unit 19 should also have the first pulsation. The current of the waveform can be directly obtained from the bus of the secondary unit 19. As another example, as shown in FIG. 7, the secondary unit 19 may include a first rectifying unit 20. The first rectifying unit 20 is connected to the current collecting control unit 13. The first rectifying unit 20 is configured to rectify the current coupled to the secondary unit 19 by the primary unit 18 to obtain a voltage in the second pulsating form, and send the voltage of the second pulsating waveform as a synchronization signal to the current collecting control unit 13.

次級單元19本身包含次級整流單元。該次級整流單元與上述第一整流單元20可以是兩個獨立的整流單元。次級整流單元用於對初級耦合至次級的電流進行整流,得到第二適配器的輸出電流。第一整流單元用於對初級耦合至次級的電流進行整流,得到同步訊號。參見第21圖,第21圖中的附圖標記39所示的單元即為次級整流單元。該次級整流單元39和第一整流單元20均可位於靠近變壓器T1的次級繞組一側,從而對第二適配器從初級耦合至次級的電流進行整流。The secondary unit 19 itself contains a secondary rectifying unit. The secondary rectifying unit and the first rectifying unit 20 described above may be two independent rectifying units. The secondary rectifying unit is configured to rectify the current coupled to the secondary to obtain the output current of the second adapter. The first rectifying unit is configured to rectify the current coupled to the secondary to obtain a synchronization signal. Referring to Fig. 21, the unit shown by reference numeral 39 in Fig. 21 is a secondary rectifying unit. Both the secondary rectifying unit 39 and the first rectifying unit 20 can be located on the side of the secondary winding close to the transformer T1, thereby rectifying the current from the primary coupling to the secondary of the second adapter.

可選地,在一些實施例中,如第8圖所示,功率轉換單元11可包括初級單元18和次級單元19。電流採集控制單元13與初級單元18相連,從初級單元18獲取同步訊號。Alternatively, in some embodiments, as shown in FIG. 8, the power conversion unit 11 may include a primary unit 18 and a secondary unit 19. The current acquisition control unit 13 is connected to the primary unit 18 to acquire a synchronization signal from the primary unit 18.

應理解,從初級單元18獲取同步訊號的方式有多種。例如,可以直接從初級單元18獲取交流訊號,並將該交流訊號作為同步訊號發送至電流採集控制單元13。又如,可以將初級單元18中的整流電路整流得到的脈動直流訊號作為同步訊號,發送至電流採集控制單元13。It should be understood that there are many ways to obtain synchronization signals from the primary unit 18. For example, the AC signal can be obtained directly from the primary unit 18 and sent to the current acquisition control unit 13 as a synchronization signal. For another example, the pulsating DC signal obtained by rectifying the rectifier circuit in the primary unit 18 can be sent to the current collecting control unit 13 as a synchronization signal.

具體地,如第9圖所示,初級單元18對交流電AC進行整流,得到第三脈動波形的電壓。第三脈動波形與第一脈動波形週期相同。初級單元18可以通過光耦單元21將第三脈動波形的電壓從第二適配器10的初級耦合至次級,得到第四脈動波形的電壓,並將第四脈動波形的電壓作為同步訊號,發送至電流採集控制單元13。光耦單元21可以起到隔離初級和次級之間的相互干擾的作用。作為一種替代方式,初級單元18也可以不經過光耦單元21,直接將第三脈動波形的電壓發送至電流採集控制單元13,本發明實施例對此不作具體限定。Specifically, as shown in Fig. 9, the primary unit 18 rectifies the alternating current AC to obtain the voltage of the third pulsation waveform. The third pulsation waveform is the same as the first pulsation waveform period. The primary unit 18 can couple the voltage of the third pulsation waveform from the primary to the secondary of the second adapter 10 through the optocoupler unit 21 to obtain the voltage of the fourth pulsation waveform, and send the voltage of the fourth pulsation waveform as a synchronization signal to the synchronization signal. Current acquisition control unit 13. The optocoupler unit 21 can function to isolate mutual interference between the primary and secondary. As an alternative, the primary unit 18 can also directly transmit the voltage of the third pulsation waveform to the current collection control unit 13 without passing through the optocoupler unit 21, which is not specifically limited in the embodiment of the present invention.

上文結合具體的實施例,詳細描述了從功率轉換單元11獲取同步訊號的方式,但同步訊號的獲取方式不限於此,下文給出同步訊號的其他獲取方式。The manner of obtaining the synchronization signal from the power conversion unit 11 is described in detail above with reference to the specific embodiment. However, the manner of acquiring the synchronization signal is not limited thereto. Other acquisition methods of the synchronization signal are given below.

可選地,在一些實施例中,電流採集控制單元13可以從取樣保持單元12獲取同步訊號。Alternatively, in some embodiments, the current acquisition control unit 13 may acquire the synchronization signal from the sample and hold unit 12.

具體地,取樣保持單元12會對第二適配器的輸出電流,即第一脈動波形的電流進行取樣,得到取樣電流,則取樣保持單元12得到的取樣電流,或取樣電流對應的取樣電壓等訊號均與第一脈動波形的電流週期和相位均相同。將該取樣電流或取樣電壓作為同步訊號可以簡化取樣保持單元12的工作狀態的判斷邏輯。Specifically, the sampling and holding unit 12 samples the output current of the second adapter, that is, the current of the first pulsation waveform, to obtain a sampling current, and the sampling current obtained by the sampling and holding unit 12, or the sampling voltage corresponding to the sampling current, etc. The current period and phase are the same as those of the first pulsation waveform. The sampling current or the sampling voltage is used as the synchronization signal to simplify the determination logic of the operation state of the sample holding unit 12.

一般情況下,取樣保持單元12會對第一脈動波形的電流進行取樣,得到取樣電流,並將取樣電流轉換成取樣電壓。該取樣電壓可用於指示第一脈動波形的電流的大小。取樣保持單元12可以將該取樣電壓作為同步訊號,發送至電流採集控制單元13。例如,參見第21圖,可以將第21圖的檢流計的輸出埠(OUTPUT)輸出的電壓訊號作為同步訊號。In general, the sample hold unit 12 samples the current of the first pulsation waveform to obtain a sampling current, and converts the sampling current into a sampling voltage. The sampled voltage can be used to indicate the magnitude of the current of the first pulsating waveform. The sample and hold unit 12 can transmit the sampled voltage as a synchronization signal to the current collection control unit 13. For example, referring to Fig. 21, the voltage signal output from the output 埠 (OUTPUT) of the galvanometer of Fig. 21 can be used as the synchronization signal.

上文主要描述的是同步訊號的獲取方式,下文結合具體的實施例,詳細描述基於同步訊號判斷第一脈動波形是否處於峰值或下降沿的方式。The above mainly describes the manner of acquiring the synchronization signal. Hereinafter, the manner of determining whether the first pulsation waveform is at the peak or the falling edge based on the synchronization signal is described in detail with reference to the specific embodiment.

可選地,在一些實施例中,電流採集控制單元13基於同步訊號,判斷第一脈動波形是否處於峰值或下降沿,並在判斷出第一脈動波形處於峰值或下降沿的情況下,採集取樣保持單元12保持的第一脈動波形的電流的峰值。Optionally, in some embodiments, the current collection control unit 13 determines whether the first pulsation waveform is at a peak or a falling edge based on the synchronization signal, and collects sampling when it is determined that the first pulsation waveform is at a peak or a falling edge. The peak value of the current of the first pulsation waveform held by the unit 12 is maintained.

具體地,取樣保持單元12可以基於電容的充放電在取樣狀態和保持狀態之間進行切換。當第一脈動波形處於上升沿時,取樣保持單元12中的電容處於充電狀態,該電容兩端的電壓跟隨著第一脈動波形的電流的增長而增長,此時的取樣保持單元12處於取樣狀態。當第一脈動波形處於峰值或下降沿時,該電容兩端的電壓不再繼續增長,此時的取樣保持單元12處於保持狀態。因此,通過判斷第一脈動波形何時處於峰值或下降沿即可判斷出取樣保持單元12何時處於保持狀態。由於同步訊號的週期和相位與第一脈動波形的週期和相位有固定的關係,因此,可以基於同步訊號的週期和/或相位,確定第一脈動波形是否處於峰值或下降沿。例如,同步訊號與第一脈動波形同相,則同步訊號處於峰值或下降沿時,第一脈動波形處於峰值或下降沿。又如,同步訊號與第一脈動波形週期相同,相位相差半個週期,則同步訊號處於上升沿時,第一脈動波形也處於峰值或下降沿。Specifically, the sample hold unit 12 can switch between the sampling state and the hold state based on the charge and discharge of the capacitor. When the first pulsation waveform is at the rising edge, the capacitance in the sample-and-hold unit 12 is in a state of charge, and the voltage across the capacitor increases in accordance with the increase in the current of the first pulsation waveform, at which time the sample-and-hold unit 12 is in the sampling state. When the first pulsation waveform is at the peak or falling edge, the voltage across the capacitor no longer continues to increase, at which time the sample hold unit 12 is in the hold state. Therefore, it is judged when the sample holding unit 12 is in the hold state by judging when the first pulsation waveform is at the peak or the falling edge. Since the period and phase of the synchronization signal are in a fixed relationship with the period and phase of the first pulsation waveform, it is possible to determine whether the first pulsation waveform is at a peak or a falling edge based on the period and/or phase of the synchronization signal. For example, when the sync signal is in phase with the first pulsation waveform, the first pulsation waveform is at the peak or falling edge when the sync signal is at the peak or falling edge. For another example, the synchronization signal is the same as the first pulsation waveform period, and the phase is different by half a period. When the synchronization signal is at the rising edge, the first pulsation waveform is also at the peak or the falling edge.

同步訊號的相位的檢測方式可以有多種。例如,可以通過電流計或電壓計對同步訊號的電流或電壓進行即時檢測,從而確定同步訊號的相位,進而判斷第一脈動波形是否處於峰值或下降沿。但這種實現方式需要額外的電流電壓檢測電路,實現複雜。下面給出兩種基於比較器的實現方式,可以將同步訊號的電壓與參考電壓進行比較,從而方便地判斷出第一脈動波形是否處於峰值或下降沿。There are many ways to detect the phase of the sync signal. For example, the current or voltage of the synchronous signal can be detected instantaneously by an ammeter or a voltmeter to determine the phase of the synchronous signal, thereby determining whether the first pulsation waveform is at a peak or a falling edge. However, this implementation requires an additional current-voltage detection circuit, which is complicated to implement. Two comparator-based implementations are presented below that compare the voltage of the sync signal with the reference voltage to easily determine if the first ripple waveform is at the peak or falling edge.

可選地,在一些實施例中,如第10圖所示,電流採集控制單元13可包括比較器22和控制單元23。比較器22的第一輸入端用於接收同步訊號,比較器22的第二輸入端用於接收參考電壓。控制單元23與比較器22的輸出端相連,基於同步訊號的電壓和參考電壓的比較結果,判斷第一脈動波形是否處於峰值或下降沿。在一些實施例中,第一輸入端是比較器的同相輸入端,第二輸入端是比較器的反相輸入端。在另一些實施例中,第一輸入端是比較器的反相輸入端,第二輸入端是比較器的同相輸入端。Alternatively, in some embodiments, as shown in FIG. 10, the current acquisition control unit 13 may include a comparator 22 and a control unit 23. The first input of the comparator 22 is for receiving a synchronization signal, and the second input of the comparator 22 is for receiving a reference voltage. The control unit 23 is connected to the output of the comparator 22, and determines whether the first pulsation waveform is at a peak or a falling edge based on a comparison result of the voltage of the synchronization signal and the reference voltage. In some embodiments, the first input is a non-inverting input of the comparator and the second input is an inverting input of the comparator. In other embodiments, the first input is the inverting input of the comparator and the second input is the non-inverting input of the comparator.

應理解,本發明實施例對參考電壓的電壓值的選取方式不作具體限定,以同步訊號為過零點的脈動波形訊號為例,可以將參考電壓的電壓值選取為大於0,小於同步訊號的峰值的某個電壓值。以同步訊號是交流訊號為例,可以將參考電壓的電壓值選取為0。It should be understood that the method for selecting the voltage value of the reference voltage is not specifically limited in the embodiment of the present invention. Taking the pulsation waveform signal whose synchronization signal is a zero-crossing point as an example, the voltage value of the reference voltage may be selected to be greater than 0 and smaller than the peak value of the synchronization signal. a certain voltage value. For example, the synchronous signal is an alternating current signal, and the voltage value of the reference voltage can be selected as 0.

此外,本發明實施例對上述基於同步訊號的電壓和參考電壓的比較結果,判斷第一脈動波形是否處於峰值或下降沿的方式不作具體限定,這與同步訊號的週期和相位與第一脈動波形的週期和相位有關,下面結合第11圖和第12圖,以同步訊號與第一脈動波形的週期相同為例,對第一脈動波形的峰值或下降沿的判斷方式進行舉例說明。第11圖和第12圖的實施例中,電流採集控制單元13在第一脈動波形的每個週期均採集取樣保持單元保持的第一脈動波形的電流的峰值。在採集完成之後,電流採集控制單元13立刻為放電單元中的MOS電晶體提供控制電壓,控制放電單元中的MOS電晶體導通,釋放取樣保持單元12中的電容兩端的電荷。但第11圖和第12圖僅是舉例說明,本發明實施例不限於此。例如,電流採集控制單元13可以每隔複數週期採集一次第一脈動波形的電流的峰值。此外,放電單元也可以採用除MOS電晶體之外的其他實現方式,如使用其他類型的開關元件實現放電單元的導通與關斷。In addition, in the embodiment of the present invention, the manner of determining whether the first pulsation waveform is at a peak or a falling edge is not specifically limited by comparing the voltage of the synchronous signal and the reference voltage, and the period and phase of the synchronization signal and the first pulsation waveform. The period is related to the phase. The following is a description of the manner in which the peak or falling edge of the first pulsation waveform is judged by taking the same period of the synchronization signal and the first pulsation waveform as an example in conjunction with FIG. 11 and FIG. In the embodiments of Figs. 11 and 12, the current acquisition control unit 13 acquires the peak value of the current of the first pulsation waveform held by the sample holding unit in each cycle of the first pulsation waveform. After the acquisition is completed, the current acquisition control unit 13 immediately supplies a control voltage to the MOS transistor in the discharge cell, controls the MOS transistor in the discharge cell to be turned on, and discharges the charge across the capacitor in the sample and hold unit 12. However, the 11th and 12th drawings are merely illustrative, and the embodiment of the present invention is not limited thereto. For example, the current acquisition control unit 13 may acquire the peak value of the current of the first pulsation waveform once every plural period. In addition, the discharge unit can also adopt other implementations than the MOS transistor, such as using other types of switching elements to achieve the conduction and turn-off of the discharge cells.

在第11圖的實施例中,同步訊號和第一脈動波形(第一脈動波形是經過削峰處理之後的脈動波形)同相。從第11圖可以看出,由於同步訊號和第一脈動波形同相,當同步訊號處於峰值或下降沿時,第一脈動波形也處於峰值或下降沿。因此,只要判斷出同步訊號何時處於同步訊號的波形的峰值或下降沿,即可獲知第一脈動波形何時處於峰值或下降沿。In the embodiment of Fig. 11, the synchronization signal and the first pulsation waveform (the first pulsation waveform is a pulsation waveform after the peak clipping process) are in phase. As can be seen from Fig. 11, since the sync signal and the first pulsation waveform are in phase, the first pulsation waveform is also at the peak or falling edge when the sync signal is at the peak or falling edge. Therefore, as long as it is judged when the synchronization signal is at the peak or falling edge of the waveform of the synchronization signal, it can be known when the first pulsation waveform is at the peak or the falling edge.

進一步地,為了判斷同步訊號何時處於峰值或下降沿,第11圖的實施例引入了比較器。該比較器通過比較同步訊號和參考電壓的電壓值,得到比較器的輸出電位準的變化曲線,即如第11圖所示的矩形波。從該矩形波可以看出,當比較器的輸出電位準從高電位準轉換至低電位準的時刻(下稱目標時刻),第一脈動波形處於下降沿。此時,取樣保持單元12中的電容處於保持狀態。因此,本發明實施例將目標時刻作為峰值取樣點,控制電流採集控制單元13採集取樣保持單元12中的電容兩端的電壓,進而得到第一脈動波形的電流的峰值,並在採集到第一脈動波形的電流的峰值之後,立刻控制放電單元中的MOS電晶體導通,釋放取樣保持單元12中的電容兩端的電荷,為下一週期的採集做準備。Further, in order to determine when the sync signal is at a peak or a falling edge, the embodiment of Fig. 11 introduces a comparator. The comparator compares the voltage values of the synchronous signal and the reference voltage to obtain a curve of the output potential of the comparator, that is, a rectangular wave as shown in FIG. It can be seen from the rectangular wave that the first pulsation waveform is at the falling edge when the output potential of the comparator is switched from the high potential to the low potential (hereinafter referred to as the target time). At this time, the capacitance in the sample holding unit 12 is in the hold state. Therefore, in the embodiment of the present invention, the target time is taken as the peak sampling point, and the control current collecting control unit 13 collects the voltage across the capacitor in the sample holding unit 12, thereby obtaining the peak value of the current of the first pulsation waveform, and collecting the first pulsation. Immediately after the peak of the waveform current, the MOS transistor in the discharge cell is turned on, releasing the charge across the capacitor in the sample and hold unit 12 to prepare for the acquisition of the next cycle.

在第12圖的實施例中,同步訊號和第一脈動波形的相位相差180°,且第一脈動波形是經過削峰處理之後的脈動波形。從第12圖可以看出,由於同步訊號和第一脈動波形相位相差180°,當同步訊號處於峰值或上升沿時,第一脈動波形處於峰值或下降沿。因此,只要判斷出同步訊號何時處於峰值或上升沿,即可獲知第一脈動波形何時處於峰值或下降沿。In the embodiment of Fig. 12, the phases of the synchronization signal and the first pulsation waveform are 180° out of phase, and the first pulsation waveform is a pulsation waveform after the peak clipping process. As can be seen from Fig. 12, since the phase of the sync signal and the first pulsation waveform are 180° out of phase, when the sync signal is at the peak or rising edge, the first pulsation waveform is at the peak or falling edge. Therefore, as long as it is judged when the sync signal is at the peak or rising edge, it can be known when the first pulsation waveform is at the peak or the falling edge.

進一步地,為了判斷同步訊號何時處於峰值或上升沿,第12圖的實施例引入了比較器。該比較器通過比較同步訊號和參考電壓的電壓值,得到比較器的輸出電位準的變化曲線,即第12圖所示的矩形波。從該矩形波可以看出,當比較器的輸出電位準從低電位準轉換至高電位準的時刻(下稱目標時刻),第一脈動波形處於下降沿。此時,取樣保持單元12中的電容處於保持狀態。因此,本發明實施例將目標時刻作為峰值取樣點,控制電流採集控制單元13採集取樣保持單元12中的電容兩端的電壓,進而得到第一脈動波形的電流的峰值,並在採集到第一脈動波形的電流的峰值之後,立刻控制放電單元中的MOS電晶體導通,釋放取樣保持單元12中的電容兩端的電荷,為下一週期的採集做準備。Further, in order to determine when the sync signal is at a peak or a rising edge, the embodiment of Fig. 12 introduces a comparator. The comparator compares the voltage values of the synchronous signal and the reference voltage to obtain a curve of the output potential of the comparator, that is, the rectangular wave shown in FIG. It can be seen from the rectangular wave that the first pulsation waveform is at the falling edge when the output potential of the comparator is switched from the low potential to the high potential (hereinafter referred to as the target time). At this time, the capacitance in the sample holding unit 12 is in the hold state. Therefore, in the embodiment of the present invention, the target time is taken as the peak sampling point, and the control current collecting control unit 13 collects the voltage across the capacitor in the sample holding unit 12, thereby obtaining the peak value of the current of the first pulsation waveform, and collecting the first pulsation. Immediately after the peak of the waveform current, the MOS transistor in the discharge cell is turned on, releasing the charge across the capacitor in the sample and hold unit 12 to prepare for the acquisition of the next cycle.

可選地,在另一些實施例中,如第13圖所示,電流採集控制單元13可包括比較單元24和控制單元25。比較單元24可包括電容26和比較器27。電容26用於接收同步訊號,並過濾同步訊號中的直流訊號,得到過零點的交流訊號。比較器27的第一輸入端與電容26相連,用於接收交流訊號。比較器27的第二輸入端用於接收參考電壓。比較器27用於比較交流訊號的電壓與參考電壓。控制單元25與比較器27的輸出端相連,基於交流訊號的電壓和參考電壓的比較結果,判斷第一脈動波形是否處於峰值或下降沿。進一步地,在本發明實施例中,參考電壓的電壓值可以設置為0。在一些實施例中,第一輸入端是比較器的同相輸入端,第二輸入端是比較器的反相輸入端。在另一些實施例中,第一輸入端是比較器的反相輸入端,第二輸入端是比較器的同相輸入端。Alternatively, in other embodiments, as shown in FIG. 13, the current acquisition control unit 13 may include a comparison unit 24 and a control unit 25. Comparison unit 24 can include a capacitor 26 and a comparator 27. The capacitor 26 is configured to receive the synchronization signal and filter the DC signal in the synchronization signal to obtain an AC signal of the zero crossing point. The first input of comparator 27 is coupled to capacitor 26 for receiving an AC signal. The second input of comparator 27 is for receiving a reference voltage. The comparator 27 is for comparing the voltage of the alternating signal with the reference voltage. The control unit 25 is connected to the output of the comparator 27, and determines whether the first pulsation waveform is at a peak or a falling edge based on a comparison result of the voltage of the alternating current signal and the reference voltage. Further, in the embodiment of the present invention, the voltage value of the reference voltage may be set to zero. In some embodiments, the first input is a non-inverting input of the comparator and the second input is an inverting input of the comparator. In other embodiments, the first input is the inverting input of the comparator and the second input is the non-inverting input of the comparator.

以同步訊號是脈動波形訊號為例,脈動波形的訊號可以看成由直流訊號(或直流成分)和過零點的交流訊號(或交流成分)混合而成的訊號。通過電容26可以濾掉脈動波形訊號中的直流訊號,剩下過零點的交流訊號。在這種實現方式中,將比較器27的參考電壓設置為0(例如,將比較器的第二輸入端接地)即可方便地判斷出同步訊號的相位。For example, if the synchronous signal is a pulsating waveform signal, the pulsating waveform signal can be regarded as a signal obtained by mixing a direct current signal (or a direct current component) and a zero-crossing alternating current signal (or an alternating current component). The capacitor 26 can filter out the DC signal in the pulsating waveform signal, leaving the AC signal of the zero crossing. In this implementation, the phase of the sync signal can be conveniently determined by setting the reference voltage of comparator 27 to zero (e.g., grounding the second input of the comparator).

進一步地,在本發明實施例中,基於交流訊號和參考電壓判斷同步訊號判斷第一脈動波形是否處於峰值或下降沿的方式有多種,這與交流訊號的週期和相位與第一脈動波形的週期和相位有關,具體判斷方式與第11圖和第12圖描述的判斷方式類似,此處不再詳述。Further, in the embodiment of the present invention, determining whether the first pulsation waveform is at a peak or a falling edge based on the alternating signal and the reference voltage determination synchronization signal is different from the period and phase of the alternating signal and the period of the first pulsation waveform. It is related to the phase. The specific judgment method is similar to the judgment method described in Fig. 11 and Fig. 12, and will not be described in detail here.

上文詳細描述了第一脈動波形的電流峰值的獲取方式,下文結合具體的實施例,詳細描述基於獲取到的第一脈動波形的電流峰值對充電程序的控制方式。The manner in which the current peak of the first pulsation waveform is acquired is described in detail above. Hereinafter, the control method of the charging program based on the current peak value of the acquired first pulsation waveform will be described in detail with reference to a specific embodiment.

可選地,在一些實施例中,如第14圖所示,第二適配器10還可包括電壓調整單元28。電壓調整單元28與功率轉換單元11相連,用於檢測並調整第二適配器10的輸出電壓。電流採集控制單元13與電壓調整單元28相連,通過電壓調整單元28,調整第一脈動波形的電流的峰值。Optionally, in some embodiments, as shown in FIG. 14, the second adapter 10 may further include a voltage adjustment unit 28. The voltage adjustment unit 28 is connected to the power conversion unit 11 for detecting and adjusting the output voltage of the second adapter 10. The current acquisition control unit 13 is connected to the voltage adjustment unit 28, and the voltage adjustment unit 28 adjusts the peak value of the current of the first pulsation waveform.

應理解,電壓調整單元28最基本的功能是實現第二適配器的輸出電壓的調整。具體地,電壓調整單元28可通過功率轉換單元11檢測第二適配器10的輸出電壓,並通過功率轉換單元11對第二適配器10的輸出電壓進行調整。換句話說,電壓調整單元28與功率轉換單元11形成了第二適配器的輸出電壓的回饋控制系統,該回饋控制系統也可稱為電壓回饋環。應理解,在第二適配器的輸出功率一定的情況下,對電壓的調整也會引起電流的變化。因此,本發明實施例的電流採集控制單元13在採集到第一脈動波形的電流的峰值之後,可以利用上述電壓回饋環實現電流的調整。例如,電流採集控制單元13在採集到第一脈動波形的電流的當前峰值之後,如果希望將該當前峰值調整至目標峰值,則可以通過軟體計算將第一脈動波形的電流的峰值調整至目標峰值時,對應的第二適配器10的輸出電壓的目標值,然後利用上述電壓回饋環將第二適配器10的輸出電壓調整至該目標值即可。It should be understood that the most basic function of the voltage adjustment unit 28 is to achieve an adjustment of the output voltage of the second adapter. Specifically, the voltage adjustment unit 28 can detect the output voltage of the second adapter 10 through the power conversion unit 11 and adjust the output voltage of the second adapter 10 through the power conversion unit 11. In other words, the voltage adjustment unit 28 and the power conversion unit 11 form a feedback control system for the output voltage of the second adapter, which may also be referred to as a voltage feedback loop. It should be understood that in the case where the output power of the second adapter is constant, the adjustment of the voltage also causes a change in the current. Therefore, after collecting the peak value of the current of the first pulsation waveform, the current acquisition control unit 13 of the embodiment of the present invention can implement current adjustment by using the voltage feedback loop. For example, after collecting the current peak value of the current of the first pulsation waveform, if the current peak value is desired to be adjusted to the target peak value, the peak value of the current of the first pulsation waveform can be adjusted to the target peak value by software calculation. At this time, the target value of the output voltage of the corresponding second adapter 10 is then adjusted to the target value by the voltage feedback loop described above.

本發明實施例電流採集控制單元13和電壓回饋環形成了第二適配器的輸出電流的峰值的回饋控制系統。該回饋控制系統也可稱為電流回饋環。也就是說,本發明實施例既包括電壓回饋環(通過硬體實現),也包括電流回饋環(基於電壓回饋環,通過軟體計算實現),使得第二適配器既能實現第二適配器的輸出電壓的控制,也能實現第二適配器的輸出電流的控制,豐富了第二適配器的功能,提高了第二適配器的智慧程度。In the embodiment of the present invention, the current collecting control unit 13 and the voltage feedback loop form a feedback control system for the peak value of the output current of the second adapter. This feedback control system can also be referred to as a current feedback loop. That is, the embodiment of the present invention includes both a voltage feedback loop (implemented by hardware) and a current feedback loop (based on a voltage feedback loop, implemented by software calculation), so that the second adapter can achieve the output voltage of the second adapter. The control can also realize the control of the output current of the second adapter, enrich the function of the second adapter, and improve the wisdom of the second adapter.

電流採集控制單元13通過電壓調整單元28調整第一脈動波形的電流的峰值的方式可以有多種,下面結合第15圖和第17圖進行舉例說明。There are various ways in which the current collecting control unit 13 adjusts the peak value of the current of the first pulsation waveform by the voltage adjusting unit 28, which will be exemplified below with reference to FIGS. 15 and 17.

可選地,在一些實施例中,如第15圖所示,電壓調整單元28可包括電壓取樣單元29、電壓比較單元30和電壓控制單元31。電壓取樣單元29與功率轉換單元11相連,用於對第二適配器10的輸出電壓進行取樣,得到第一電壓。電壓比較單元30的輸入端與電壓取樣單元29相連,用於比較第一電壓和第一參考電壓。電壓控制單元31的輸入端與電壓比較單元30的輸出端相連。電壓控制單元31的輸出端與功率轉換單元11相連。電壓控制單元31根據第一電壓和第一參考電壓的比較結果,控制第二適配器10的輸出電壓。電流採集控制單元13與電壓比較單元30相連,通過調整第一參考電壓的電壓值,調整第一脈動波形的電流的峰值。Alternatively, in some embodiments, as shown in FIG. 15, the voltage adjustment unit 28 may include a voltage sampling unit 29, a voltage comparison unit 30, and a voltage control unit 31. The voltage sampling unit 29 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 30 is connected to the voltage sampling unit 29 for comparing the first voltage with the first reference voltage. The input of voltage control unit 31 is coupled to the output of voltage comparison unit 30. The output of the voltage control unit 31 is connected to the power conversion unit 11. The voltage control unit 31 controls the output voltage of the second adapter 10 based on the comparison result of the first voltage and the first reference voltage. The current acquisition control unit 13 is connected to the voltage comparison unit 30, and adjusts the peak value of the current of the first pulsation waveform by adjusting the voltage value of the first reference voltage.

具體地,電壓取樣單元29的輸入端可以與第二適配器的母線(VBUS)相連,以採集第二適配器的輸出電壓。在一些實施例中,電壓取樣單元29可以是一根導線。這樣一來,電壓取樣單元29取樣得到的第一電壓即為第二適配器的輸出電壓。在另一些實施例中,電壓取樣單元29可以包括用於分壓的兩個電阻。這樣一來,電壓取樣單元29取樣得到的第一電壓是兩個電阻分壓之後得到的電壓。電壓比較單元30可以通過運放實現。運放的一個輸入端用於接收電壓取樣單元29輸入的第一電壓,另一個輸入端用於接收第一參考電壓。運放的輸出端產生電壓回饋訊號,以指示第一電壓和第一參考電壓是否相等。電壓控制單元31可以基於光耦和PWM控制器等裝置實現,基於電壓比較單元30提供的電壓回饋訊號對第二適配器的輸出電壓進行調整。在第二適配器的輸出功率一定的情況下,電流採集控制單元13可以基於第一脈動波形的電流的峰值的期望值,計算出對應的第二適配器的輸出電壓的期望值。然後,通過調節第一參考電壓的電壓值,將第二適配器的輸出電壓調整為該第二適配器的輸出電壓的期望值,從而將第一脈動波形的電流的峰值調整為第一脈動波形的電流的峰值的期望值。Specifically, the input of the voltage sampling unit 29 can be connected to the bus bar (VBUS) of the second adapter to collect the output voltage of the second adapter. In some embodiments, voltage sampling unit 29 can be a wire. In this way, the first voltage sampled by the voltage sampling unit 29 is the output voltage of the second adapter. In other embodiments, voltage sampling unit 29 may include two resistors for voltage division. In this way, the first voltage sampled by the voltage sampling unit 29 is the voltage obtained after the two resistors are divided. The voltage comparison unit 30 can be implemented by an op amp. One input of the operational amplifier is for receiving the first voltage input by the voltage sampling unit 29, and the other input is for receiving the first reference voltage. The output of the operational amplifier generates a voltage feedback signal to indicate whether the first voltage and the first reference voltage are equal. The voltage control unit 31 can be implemented based on a device such as an optocoupler and a PWM controller, and adjusts the output voltage of the second adapter based on the voltage feedback signal provided by the voltage comparison unit 30. In the case where the output power of the second adapter is constant, the current acquisition control unit 13 may calculate the expected value of the output voltage of the corresponding second adapter based on the expected value of the peak value of the current of the first pulsation waveform. Then, adjusting the output voltage of the second adapter to a desired value of the output voltage of the second adapter by adjusting the voltage value of the first reference voltage, thereby adjusting the peak value of the current of the first pulsation waveform to the current of the first pulsation waveform The expected value of the peak.

電流採集控制單元13調整第一參考電壓的電壓值的方式可以有多種。可選地,作為一個實施例,如第16圖所示,電流採集控制單元13可以包括控制單元32和數位類比轉換器(Digital to Analog Converter,DAC)33。DAC 33的輸入端與控制單元32相連,DAC 33的輸出端與電壓比較單元30相連。控制單元32通過DAC 33調整第一參考電壓的電壓值,以調整第一脈動波形的電流的峰值。可選地,作為另一個實施例,控制單元32還可以通過RC單元,數位電位器等電路實現第一參考電壓的電壓值的調節,本發明實施例對此不作具體限定。The current acquisition control unit 13 can adjust the voltage value of the first reference voltage in a plurality of ways. Optionally, as an embodiment, as shown in FIG. 16, the current collection control unit 13 may include a control unit 32 and a digital to analog converter (DAC) 33. The input of DAC 33 is coupled to control unit 32, and the output of DAC 33 is coupled to voltage comparison unit 30. The control unit 32 adjusts the voltage value of the first reference voltage through the DAC 33 to adjust the peak value of the current of the first pulsation waveform. Optionally, as another embodiment, the control unit 32 can also implement the adjustment of the voltage value of the first reference voltage by using an RC unit, a digital potentiometer, or the like, which is not specifically limited in this embodiment of the present invention.

可選地,在一些實施例中,如第17圖所示,電壓調整單元28可包括分壓單元34、電壓比較單元30和電壓控制單元31。分壓單元34的輸入端與功率轉換單元11相連,用於按照設定的分壓比對第二適配器10的輸出電壓進行分壓,產生第二電壓。電壓比較單元30的輸入端與分壓單元34的輸出端相連,用於比較第二電壓和第二參考電壓。電壓控制單元31的輸入端與電壓比較單元30的輸入端相連。電壓控制單元31的輸出端與功率轉換單元11相連。電壓控制單元31根據第二電壓和第二參考電壓的比較結果,控制第二適配器10的輸出電壓。電流採集控制單元13與電壓比較單元30相連,通過調整分壓比,調整第一脈動波形的電流的峰值。Alternatively, in some embodiments, as shown in FIG. 17, the voltage adjustment unit 28 may include a voltage dividing unit 34, a voltage comparison unit 30, and a voltage control unit 31. The input end of the voltage dividing unit 34 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 second voltage. The input of the voltage comparison unit 30 is connected to the output of the voltage dividing unit 34 for comparing the second voltage with the second reference voltage. The input of voltage control unit 31 is coupled to the input of voltage comparison unit 30. The output of the voltage control unit 31 is connected to the power conversion unit 11. The voltage control unit 31 controls the output voltage of the second adapter 10 based on the comparison result of the second voltage and the second reference voltage. The current acquisition control unit 13 is connected to the voltage comparison unit 30, and adjusts the voltage division ratio to adjust the peak value of the current of the first pulsation waveform.

本發明實施例與第15圖的實施例類似,不同之處在於本發明實施例引入分壓單元。該分壓單元的分壓比可調。進一步地,本發明實施例中的電流採集控制單元13並非通過調整電壓比較單元30的參考電壓對第一脈動波形的電流的峰值進行調整,而是通過調整分壓單元34的分壓比對第一脈動波形的電流的峰值進行調整。本發明實施例基於分壓單元既實現了第二適配器的輸出電壓的取樣,又實現了第一脈動波形的電流的峰值的調節,簡化了第二適配器的電路結構。The embodiment of the present invention is similar to the embodiment of Fig. 15, except that the embodiment of the present invention introduces a voltage dividing unit. The partial pressure ratio of the voltage dividing unit is adjustable. Further, the current collection control unit 13 in the embodiment of the present invention does not adjust the peak value of the current of the first pulsation waveform by adjusting the reference voltage of the voltage comparison unit 30, but adjusts the voltage division ratio of the voltage dividing unit 34. The peak value of the current of a pulsating waveform is adjusted. The embodiment of the invention realizes the sampling of the output voltage of the second adapter based on the voltage dividing unit, and realizes the adjustment of the peak value of the current of the first pulsating waveform, which simplifies the circuit structure of the second adapter.

應理解,由於本發明實施例是通過調節分壓單元的分壓比實現第一脈動波形的電流的峰值的調節。因此,本發明實施例中的電壓比較單元的參考電壓(即上文中的第二參考電壓)可以是一個固定值。 本發明實施例的分壓單元34的實現方式有多種。例如,可以採用數位電位器實現,也可以通過離散的電阻、開關等元件實現上述分壓和分壓比調節的功能。It should be understood that the embodiment of the present invention achieves adjustment of the peak value of the current of the first pulsation waveform by adjusting the voltage division ratio of the voltage dividing unit. Therefore, the reference voltage of the voltage comparison unit in the embodiment of the present invention (ie, the second reference voltage in the above) may be a fixed value. There are various implementations of the voltage dividing unit 34 of the embodiment of the present invention. For example, it can be realized by a digital potentiometer, or the functions of the above partial pressure and voltage division ratio adjustment can be realized by discrete resistors, switches and the like.

以數位電位器的實現方式為例,如第18圖所示,電流採集控制單元13包括控制單元32,分壓單元34包括數位電位器35。數位電位器35的高電位端與功率轉換單元11相連。數位電位器35的低電位端與地相連。數位電位器35的輸出端與電壓比較單元30相連。控制單元32與數位電位器35的控制端相連,通過數位電位器35的控制端調整數位電位器35的分壓比,以調整第一脈動波形的電流的峰值。Taking the implementation of the digital potentiometer as an example, as shown in FIG. 18, the current collecting control unit 13 includes a control unit 32, and the voltage dividing unit 34 includes a digital potentiometer 35. The high potential end of the digital potentiometer 35 is connected to the power conversion unit 11. The low potential end of the digital potentiometer 35 is connected to the ground. The output of the digital potentiometer 35 is connected to a voltage comparison unit 30. The control unit 32 is connected to the control terminal of the digital potentiometer 35, and the voltage dividing ratio of the digital potentiometer 35 is adjusted by the control terminal of the digital potentiometer 35 to adjust the peak value of the current of the first pulsation waveform.

可選地,在一些實施例中,第二適配器10可以支援第一充電模式和第二充電模式。第二適配器10在第二充電模式下對待充電裝置(如終端)的充電速度快於第二適配器10在第一充電模式下對待充電裝置(如終端)的充電速度(上述第一脈動波形的電流可以為第二適配器在該第二充電模式下的輸出電流)。換句話說,相較於工作在第一充電模式下的第二適配器10來說,工作在第二充電模式下的第二適配器10充滿相同容量的待充電裝置(如終端)中的電池的耗時更短。Alternatively, in some embodiments, the second adapter 10 can support the first charging mode and the second charging mode. The second adapter 10 charges the charging device (such as the terminal) in the second charging mode faster than the charging speed of the charging device (such as the terminal) in the first charging mode of the second adapter 10 (the current of the first pulsating waveform) It may be the output current of the second adapter in the second 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 charging mode, it is usually necessary to fully charge a large capacity battery (such as 3000 mAh battery), which usually takes several hours; in fast charging mode, the second adapter can output relatively large current (usually More than 2.5A, such as 4.5A, 5A or higher) or charging a battery in a charging device (such as a terminal) with relatively large power (usually greater than or equal to 15W), compared to the normal charging mode, 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 the first to the device to be charged (such as the terminal) An instruction for inquiring whether a device to be charged (such as a terminal) turns on a 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 that the device is to be charged Whether the charging device (such as the terminal) agrees to turn on the second charging mode; in the case that the device to be charged (such as the 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 the 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 output voltage of the second adapter to make the second The output voltage of the adapter 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 instruction to the device to be charged (such as a 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 receiving the device to be charged (such as the terminal) a reply instruction of the second instruction sent, 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, being high or low. 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 charging unit that 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 ( Performing bidirectional communication, such as terminal, 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 adjusting the peak value of the current of the first pulsating waveform, The peak value of the current of the first pulsation waveform is equal to the charging current for charging the device to be charged output by the second adapter in the second charging mode.

具體地,控制單元與待充電裝置(如終端)進行雙向通訊,以確定在第二充電模式下的第二適配器輸出的用於對待充電裝置(如終端)進行充電的充電電流可包括:控制單元向待充電裝置(如終端)發送第三指令,第三指令用於詢問待充電裝置(如終端)當前支援的最大充電電流;控制單元接收待充電裝置(如終端)發送的第三指令的回覆指令,第三指令的回覆指令用於指示待充電裝置(如終端)當前支援的最大充電電流;控制單元根據待充電裝置(如終端)當前支援的最大充電電流確定在第二充電模式下的第二適配器輸出的用於對待充電裝置(如終端)進行充電的充電電流。應理解,控制單元根據待充電裝置(如終端)當前支援的最大充電電流確定在第二充電模式下的第二適配器輸出的用於對待充電裝置(如終端)進行充電的充電電流的方式有多種,例如,第二適配器可以將待充電裝置(如終端)當前支援的最大充電電流確定為在第二充電模式下的第二適配器輸出的用於對待充電裝置(如終端)進行充電的充電電流,也可以綜合考慮待充電裝置(如終端)當前支援的最大充電電流以及自身的電流輸出能力等因素之後,確定在第二充電模式下的第二適配器輸出的用於對待充電裝置(如終端)進行充電的充電電流。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 the reply of the third command sent by the device to be charged (such as the terminal) The instruction, the reply instruction of the third instruction is used to indicate the maximum charging current currently supported by the device to be charged (such as the terminal); and 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 charging current output by the second adapter 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 peak value of the current of the first pulsation waveform.

具體地,控制單元與待充電裝置(如終端)進行雙向通訊,以調整第一脈動波形的電流的峰值可包括:控制單元向待充電裝置(如終端)發送第四指令,第四指令用於詢問待充電裝置(如終端)的電池的當前電壓;控制單元接收第二適配器發送的第四指令的回覆指令,第四指令的回覆指令用於指示電池的當前電壓;控制單元根據電池的當前電壓,調整第一脈動波形的電流的峰值。Specifically, the two-way communication between the control unit and the device to be charged (such as the terminal) to adjust the peak value of the current of the first pulsation waveform may include: the control unit sends a fourth instruction to the device to be charged (such as the terminal), and the fourth instruction is used for Inquiring about a current voltage of a battery to be charged (such as a 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 a current voltage of the battery; and the control unit is based on the current voltage of the battery , adjusting the peak value of the current of the first pulsation waveform.

可選地,在一些實施例中,如第19A圖所示,第二適配器10包括充電介面191。進一步地,在一些實施例中,第二適配器10中的控制單元(如第21圖中的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 (such as the MCU in FIG. 21) in the second adapter 10 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 charging to be charged. The current voltage of the battery of the device (such as the terminal); the control unit receives the reply command of the 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 current state of the battery of the device to be charged (such as the terminal) 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 the 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圖所示,在第二充電模式下第二適配器的輸出對待充電裝置(如終端)的充電程序,即充電程序可以包含五個階段。As shown in Fig. 19B, in the second charging mode, the charging procedure of the second adapter to be charged to the charging device (e.g., terminal), i.e., the charging procedure, can include five stages.

階段1: 待充電裝置(如終端)與電源提供裝置連接後,待充電裝置(如終端)可以通過資料線D+、D-檢測電源提供裝置的類型,當檢測到電源提供裝置為第二適配器時,則待充電裝置(如終端)吸收的電流可以大於預設的電流臨界值I2(例如可以是1A)。當第二適配器中的控制單元檢測到預設時長(例如,可以是連續T1時間)內第二適配器的輸出電流大於或等於I2時,則控制單元可以認為待充電裝置(如終端)對於電源提供裝置的類型識別已經完成,控制單元開啟第二適配器與待充電裝置(如終端)之間的協商程序,向待充電裝置(如終端)發送指令1(對應於上述第一指令),以詢問待充電裝置(如終端)是否同意第二適配器以第二充電模式對待充電裝置(如終端)進行充電。Stage 1: After the device to be charged (such as a terminal) is connected to the power supply device, the device to be charged (such as a terminal) can detect the type of the power supply device through the data lines D+, D-, and when detecting that the power supply device is the second adapter The current to be absorbed by the device to be charged (eg, the terminal) may be greater than a preset current threshold I2 (eg, 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 (eg, the terminal), and whether it is necessary to lower the peak value of the current of the first pulsation waveform. 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 the charging device (such as a terminal) in the second charging mode to the control unit to the second adapter. The time it takes for the output voltage to adjust to the appropriate 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", the charging interface may be considered to be in poor contact, and the second adapter stops in the second charging mode to be charged to the device ( Such as the terminal) to charge.

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

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

例如,當檢測到待充電裝置(如終端)的電池充滿或充電介面接觸不良時,充電程序停止,充電通訊程序重置,充電程序重新進入階段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 charging device (such as the terminal) does not agree that the second adapter charges the charging device (such as the 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 (eg, the terminal) agrees that the second adapter charges the charging device (eg, the terminal) in the second charging mode to resume the charging procedure. 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 a terminal) does not agree that the second adapter charges the charging device (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 the charging device (such as the 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 the charging device (such as a terminal) in the second charging mode, the second adapter starts to treat in the second charging mode. The battery of the charging device (such as the 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圖所示,在上述任一實施例的基礎上,第二適配器10可支援第一充電模式和第二充電模式,第二適配器在第二充電模式下對待充電裝置(如終端)的充電速度快於第二適配器在第一充電模式下對待充電裝置(如終端)的充電速度。功率轉換單元11可包括次級濾波單元37,第二適配器10可包括控制單元36,控制單元36與次級濾波單元37相連。在第一充電模式下,控制單元36控制次級濾波單元37工作,使得第二適配器10的輸出電壓的電壓值恆定。在第二充電模式下,控制單元36控制次級濾波單元37停止工作,使得第二適配器10的輸出電流為第一脈動波形的電流。Further, as shown in FIG. 20, on the basis of any of the above embodiments, the second adapter 10 can support the first charging mode and the second charging mode, and the second adapter is to be charged in the second charging mode (eg, The charging speed of the terminal is faster than the charging speed of the second adapter in the first charging mode to the charging device (such as the terminal). The power conversion unit 11 may include a secondary filtering unit 37, and the second adapter 10 may include a control unit 36 that is coupled to the secondary filtering unit 37. In the first charging mode, the control unit 36 controls the secondary filtering unit 37 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 36 controls the secondary filtering unit 37 to stop operating such that the output current of the second adapter 10 is the current of the first pulsating waveform.

本發明實施例中,控制單元可以控制次級濾波單元是否工作,使得第二適配器既可以輸出電流值恆定的普通直流電,也可以輸出電流值變化的脈動直流電,從而相容了現有的充電模式。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.

可選地,在一些實施例中,第二適配器將第一脈動波形的電流直接載入在待充電裝置(如終端)的電池的兩端,為電池進行直充。Optionally, in some embodiments, the second adapter loads the current of the first pulsating waveform directly across the battery of the device to be charged (eg, the terminal) to directly charge the battery.

具體地,直充可以指將第二適配器的輸出電壓和輸出電流直接載入在(或者直接引導至)待充電裝置(如終端)電池的兩端,為待充電裝置(如終端)的電池充電,中間無需經過變換電路對第二適配器的輸出電流或輸出電壓進行變換,避免變換程序帶來的能量損失。在使用第二充電模式進行充電的程序中,為了能夠調整充電電路上的充電電壓或充電電流,可以將第二適配器設計成智慧的適配器,由第二適配器完成充電電壓或充電電流的變換,這樣可以減輕待充電裝置(如終端)的負擔,並降低待充電裝置的發熱量。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.

本發明實施例的第二適配器10可以工作在恆流模式。本文中的恆流模式是指對第二適配器的輸出電流進行控制的充電模式,並非要求第二適配器的輸出電流保持恆定不變。實際中,第二適配器在恆流模式下通常採用分段恆流的方式進行充電。The second adapter 10 of the embodiment of the present invention can operate in a constant current mode. 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.

進一步地,在第二適配器的輸出電流為脈動直流電的情況下,恆流模式可以指對脈動直流電的峰值或均值進行控制的充電模式,即控制第二適配器的輸出電流的峰值不超過恆流模式對應的電流。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. Corresponding current.

下面結合具體例子,更加詳細地描述本發明實施例。應注意,第21圖-第22圖的例子僅僅是為了幫助本領域技術人員理解本發明實施例,而非要將本發明實施例限於所例示的具體數值或具體場景。本領域技術人員根據所給出的第21圖至第22圖的例子,顯然可以進行各種等價的修改或變化,這樣的修改或變化也落入本發明實施例的範圍內。Embodiments of the present invention are described in more detail below with reference to specific examples. It should be noted that the examples of the 21st to the 22nd are merely for the purpose of facilitating the understanding of the embodiments of the present invention, and the embodiments of the invention are not limited to the specific numerical values or specific examples illustrated. It will be obvious to those skilled in the art that various modifications and changes can be made without departing from the scope of the embodiments of the present invention.

第二適配器包括功率轉換單元(對應於上文中的功率轉換單元11),如第21圖所示,該功率轉換單元可包括交流電AC的輸入端,初級整流單元38,變壓器T1,次級整流單元39以及第一整流單元20。The second adapter comprises a power conversion unit (corresponding to the power conversion unit 11 above), as shown in Fig. 21, the power conversion unit may comprise an input of an alternating current AC, a primary rectification unit 38, a transformer T1, a secondary rectification unit 39 and the first rectifying unit 20.

具體地,交流電AC的輸入端引入市電(一般是220V的交流電),然後將市電傳輸至初級整流單元38。Specifically, the input of the alternating current AC introduces mains (typically 220V AC) and then transmits the mains to the primary rectification unit 38.

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

變壓器T1用於將第一脈動直流電從變壓器的初級耦合至次級。變壓器T1可以是普通變壓器,也可以是工作頻率為50KHz-2MHz的高頻變壓器。變壓器T1的初級繞組的個數及連接形式與第二適配器中採用的開關電源的類型有關,本發明實施例對此不作具體限定。如第21圖所示,第二適配器可以採用反馳式開關電源,變壓器的初級繞組的一端與初級整流單元38相連,初級繞組的另一端與PWM控制器所控制的開關相連。當然,第二適配器還可以是採用順向式開關電源,或推挽式開關電源的第二適配器。不同類型的開關電源中的初級整流單元和變壓器具有各自的連接形式,為了簡潔,這裡不再一一列舉。Transformer T1 is used to couple the first pulsating direct current from the primary to the secondary of the transformer. 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. 21, the second adapter may be a flyback switching power supply, one end of the primary winding of the transformer is connected to the primary rectifying unit 38, 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.

次級整流單元39用於對初級耦合至次級的電流進行整流,得到第一脈動波形的電流。次級整流單元39的形式有多種,第21圖示出的是一種典型的次級同步整流電路。該同步整流電路包括同步整流(Synchronous Rectifier,SR)晶片,受該SR晶片控制的金屬氧化物半導體(Metal Oxide Semiconductor,MOS)電晶體,以及連接在MOS電晶體源極和汲極兩端的二極體。該SR晶片向MOS電晶體的閘極發出PWM控制訊號,控制該MOS電晶體的通斷,從而實現次級的同步整流。The secondary rectifying unit 39 is configured to rectify the current initially coupled to the secondary to obtain a current of the first pulsating waveform. There are various forms of the secondary rectifying unit 39, and Fig. 21 shows a typical secondary synchronous rectification circuit. The synchronous rectification circuit comprises a Synchronous Rectifier (SR) chip, a Metal Oxide Semiconductor (MOS) transistor controlled by the SR chip, and a diode connected to the source and the drain of the MOS transistor. body. 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.

第一整流單元20用於對初級耦合至次級的電流進行整流,得到同步訊號。如第21圖所示,該第一整流單元20可以是順向式整流電路。該同步訊號為該順向式整流電路輸出的順向電壓(forward voltage)。The first rectifying unit 20 is configured to rectify the current coupled to the secondary to obtain a synchronization signal. As shown in Fig. 21, the first rectifying unit 20 may be a forward rectifying circuit. The synchronization signal is a forward voltage of the forward rectifier circuit output.

進一步地,第二適配器可包括取樣保持單元(對應於上文中的取樣保持單元12)。該取樣保持單元包括電流取樣單元(對應於上文中的電流取樣單元14)和電流保持單元(對應於上文中的電流保持單元15)。 具體地,如第21圖所示,電流取樣單元具體包括檢流電阻R3和檢流計。檢流計通過檢流電阻R3對第一脈動波形的電流進行檢流,得到取樣電流,並將該取樣電流轉換成對應的取樣電壓(該取樣電壓用於指示第一脈動波形的電流的大小)。Further, the second adapter may include a sample holding unit (corresponding to the sample holding unit 12 above). The sample hold unit includes a current sampling unit (corresponding to the current sampling unit 14 above) and a current holding unit (corresponding to the current holding unit 15 above). Specifically, as shown in FIG. 21, the current sampling unit specifically includes a current detecting resistor R3 and a galvanometer. The galvanometer detects the current of the first pulsation waveform through the current detecting resistor R3, obtains a sampling current, and converts the sampling current into a corresponding sampling voltage (the sampling voltage is used to indicate the magnitude of the current of the first pulsating waveform) .

電路保持單元包括分壓電阻R4和R5,以及電容C1。電路保持單元先通過分壓電阻R4和R5對檢流計的輸出埠(OUTPUT)輸出的取樣電壓進行分壓,然後利用分壓後得到的電壓對電容C1充電,使得電容C1兩端的電壓跟隨第一脈動波形的電流的變化而變化。當第一脈動波形到達峰值或下降沿時,電容C1兩端的電壓達到最大值(該最大值即可對應第一脈動波形的電流的峰值),取樣保持單元進入保持狀態。The circuit holding unit includes voltage dividing resistors R4 and R5, and a capacitor C1. The circuit holding unit first divides the sampling voltage of the output 埠 (OUTPUT) output of the galvanometer through the voltage dividing resistors R4 and R5, and then charges the capacitor C1 by using the voltage obtained by dividing the voltage, so that the voltage across the capacitor C1 follows the first The current of a pulsating waveform changes as a function of current. When the first pulsation waveform reaches the peak or falling edge, the voltage across the capacitor C1 reaches a maximum value (this maximum value can correspond to the peak value of the current of the first pulsation waveform), and the sample holding unit enters the hold state.

進一步地,第二適配器包括電流採集控制單元(對應於上文中的電流採集控制單元13)。電流採集控制單元可包括MCU(對應於上文中的控制單元),比較單元24和放電單元16。Further, the second adapter includes a current acquisition control unit (corresponding to the current acquisition control unit 13 above). The current collection control unit may include an MCU (corresponding to the control unit above), a comparison unit 24, and a discharge unit 16.

具體地,比較單元24可以包括比較器。比較器的第一輸入端用於接收同步訊號。比較器第二輸入端用於接收參考電壓。在一些實施例中,第一輸入端為同相輸入端,第二輸入端為反相輸入端。在另一些實施例中,第一輸入端為反相輸入端,第二輸入端為同相輸入端。比較器將比較結果發送至MCU。In particular, comparison unit 24 may include a comparator. The first input of the comparator is for receiving a synchronization signal. The second input of the comparator is for receiving a reference voltage. In some embodiments, the first input is a non-inverting input and the second input is an inverting input. In other embodiments, the first input is an inverting input and the second input is a non-inverting input. The comparator sends the comparison result to the MCU.

MCU基於比較器的比較結果,判斷第一脈動波形何時處於峰值或下降沿。當第一脈動波形處於峰值或下降沿時,表明取樣保持電路處於保持狀態。MCU通過ADC採集電容C1兩端的電壓,從而確定第一脈動波形的電流的峰值。The MCU determines when the first pulsation waveform is at a peak or a falling edge based on the comparison result of the comparator. When the first pulsation waveform is at the peak or falling edge, it indicates that the sample and hold circuit is in the hold state. The MCU collects the voltage across the capacitor C1 through the ADC to determine the peak value of the current of the first ripple waveform.

放電單元16可包括開關管Q3和電阻R6。當MCU採集到第一脈動波形的電流的峰值之後,MCU控制開關管Q3導通,電容C1對電阻R6放電,釋放電容C1兩端的電荷。這樣一來,電容C1兩端的電壓就能夠重新跟隨第一脈動波形的電流的變化而變化,也就表明取樣保持單元從保持狀態切換到了取樣狀態。The discharge unit 16 may include a switching transistor Q3 and a resistor R6. After the MCU collects the peak value of the current of the first pulsation waveform, the MCU controls the switching transistor Q3 to be turned on, and the capacitor C1 discharges the resistor R6 to release the charge across the capacitor C1. In this way, the voltage across the capacitor C1 can be changed by following the change of the current of the first pulsation waveform, which indicates that the sample-and-hold unit is switched from the hold state to the sample state.

進一步地,第二適配器可包括電壓調整單元(對應於上文中的電壓調整單元28)。電壓調整單元可包括電壓取樣單元(對應於上文中的電壓取樣單元29),電壓比較單元(對應於上文中的電壓比較單元30)和電壓控制單元(對應於上文中的電壓控制單元31)。Further, the second adapter may include a voltage adjustment unit (corresponding to the voltage adjustment unit 28 above). The voltage adjustment unit may include a voltage sampling unit (corresponding to the voltage sampling unit 29 above), a voltage comparison unit (corresponding to the voltage comparison unit 30 above), and a voltage control unit (corresponding to the voltage control unit 31 above).

具體地,如第21圖所示,電壓取樣單元包括電阻R1和電阻R2,用於對第二適配器的輸出電壓進行分壓,得到第一電壓。Specifically, as shown in FIG. 21, the voltage sampling unit includes a resistor R1 and a resistor R2 for dividing the output voltage of the second adapter to obtain a first voltage.

電壓比較單元包括運放OPA。該OPA的反相輸入端用於接收第一電壓。該OPA的同相輸入端與DAC相連,用於接收DAC提供的第一參考電壓。該DAC與MCU相連。MCU可以通過該DAC調整第一參考電壓,進而調整第二適配器的輸出電壓和/或輸出電流。The voltage comparison unit includes an op amp OPA. The inverting input of the OPA is for receiving a first voltage. The non-inverting input of the OPA is coupled to the DAC for receiving a first reference voltage provided by the DAC. The DAC is connected to the MCU. The MCU can adjust the first reference voltage through the DAC to adjust the output voltage and/or output current of the second adapter.

電壓控制單元包括光耦單元40和PWM控制器。光電耦合單元40的輸入端與OPA的輸出端相連。在OPA的輸出電壓低於光電耦合單元40的工作電壓VDD時,光電耦合單元40開始工作,向PWM控制器的FB端提供回饋電壓。PWM控制器通過比較CS端和FB端的電壓,控制PWM端輸出的PWM訊號的占空比。當OPA的輸出電壓為0時,FB端的電壓穩定,PWM控制器的PWM端輸出的PWM控制訊號的占空比保持一定。PWM控制器的PWM端通過開關管Q2與變壓器T1的初級繞組相連,用於控制第二適配器的輸出電壓和輸出電流。當PWM端發出的控制訊號的占空比一定時,第二適配器的輸出電壓和輸出電流也就保持穩定。The voltage control unit includes an optocoupler unit 40 and a PWM controller. The input of the optocoupler unit 40 is coupled to the output of the OPA. When the output voltage of the OPA is lower than the operating voltage VDD of the photo-coupling unit 40, the photo-coupling unit 40 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 output voltage of the OPA is 0, the voltage at the FB terminal is stable, and the duty ratio 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.

此外,MCU還可以包括通訊介面。通過該通訊介面可以與待充電裝置(如終端)進行雙向通訊,控制第二適配器的充電程序。以充電介面為USB介面為例,該通訊介面也可以是該USB介面。具體地,第二適配器可以使用USB介面中的電源線為待充電裝置(如終端)進行充電,並使用USB介面中的資料線(D+和/或D-)與待充電裝置(如終端)進行通訊。In addition, the MCU can also include a communication interface. Through the communication interface, two-way communication can be performed with a device to be charged (such as a terminal) to control the charging process 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.

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

第22圖的實施例與第21圖的實施例類似,不同之處在於將第21圖中的由電阻R1和電阻R2組成的電壓採集單元替換為數位電位器(該數位電位器對應於上文中的分壓單元34),將OPA的反相輸入端連接一個固定的第二參考電壓,MCU通過調節數位電位器的分壓比,調節第二適配器的輸出電壓和輸出電流。例如,如果希望第二適配器的輸出電壓為5V,則可以調節數位電位器的分壓比,使得第二適配器的輸出電壓為5V時,數位電位器的輸出端的電壓等於第二參考電壓。同理,如果希望第二適配器的輸出電壓為3V,則可以通過調整數位電位器的分壓比,使得第二適配器的輸出電壓為3V時,數位電位器的輸出端的電壓等於第二參考電壓。The embodiment of Fig. 22 is similar to the embodiment of Fig. 21 except that the voltage collecting unit composed of the resistor R1 and the resistor R2 in Fig. 21 is replaced with a digit potentiometer (the digit potentiometer corresponds to the above) The voltage dividing unit 34) connects the inverting input terminal of the OPA to a fixed second reference voltage, and the MCU adjusts the output voltage and the output current of the second adapter by adjusting the voltage dividing ratio of the digital potentiometer. For example, if the output voltage of the second adapter is desired to be 5V, the voltage division ratio of the digital potentiometer can be adjusted such that when the output voltage of the second adapter is 5V, the voltage at the output of the digital potentiometer is equal to the second reference voltage. Similarly, if the output voltage of the second adapter is desired to be 3V, the voltage dividing ratio of the digital potentiometer can be adjusted so that the output voltage of the digital adapter is equal to the second reference voltage when the output voltage of the second adapter is 3V.

在第21圖至第22圖所示的實施例中,同步訊號是由第一整流單元20整流得到的,本發明實施例不限於此,還可以從第二適配器的初級獲得同步訊號,如採用第9圖所示的實現方式。或者,還可以從取樣保持單元獲得同步訊號,如從第21圖至第22圖所示的檢流計的輸出埠(OUTPUT)獲得。In the embodiment shown in FIG. 21 to FIG. 22, the synchronization signal is rectified by the first rectifying unit 20. The embodiment of the present invention is not limited thereto, and the synchronization signal may be obtained from the primary of the second adapter. The implementation shown in Figure 9. Alternatively, the synchronization signal can be obtained from the sample holding unit as obtained from the output 埠 (OUTPUT) of the galvanometer shown in Figs. 21 to 22.

在第21圖至第22圖所示的實施例中,比較單元24將同步訊號與參考電壓直接進行比較,以判斷取樣保持單元是否處於保持狀態,但本發明實施例不限於此。還可以採用第13圖所示的實現方式,通過電容濾掉同步訊號中的直流訊號,得到過零點的交流訊號,然後將過零點的交流訊號與參考電壓進行比較,以判斷取樣保持單元是否處於保持狀態。In the embodiment shown in FIGS. 21 to 22, the comparing unit 24 directly compares the synchronization signal with the reference voltage to determine whether the sample holding unit is in the hold state, but the embodiment of the present invention is not limited thereto. It is also possible to use the implementation shown in FIG. 13 to filter the DC signal in the synchronous signal by capacitor to obtain the AC signal of the zero crossing point, and then compare the AC signal of the zero crossing point with the reference voltage to determine whether the sampling and holding unit is in the On hold.

本文中的用不同附圖標記標識的控制單元可以是相互分離的控制單元,也可以同一控制單元。可選地,在一些實施例中,第二適配器包括MCU,本文中的控制單元均指該MCU。The control units identified herein by different reference numerals may be separate control units or the same control unit. Optionally, in some embodiments, the second adapter includes an MCU, and the control unit herein refers to the MCU.

上文結合第1圖至第22圖,詳細描述了本發明的裝置實施例,下文結合第23圖,詳細描述本發明實施例的方法實施例。應理解,方法側的描述與裝置側的描述相互對應,為了簡潔,適當省略重複的描述。The apparatus embodiments of the present invention are described in detail above with reference to FIGS. 1 through 22, and the method embodiments of the embodiments of the present invention are described in detail below with reference to FIG. It should be understood that the description of the method side corresponds to the description of the device side, and the duplicated description is appropriately omitted for the sake of brevity.

第23圖是本發明實施例提供的充電控制方法的示意性流程圖。第23圖的方法可應用於第二適配器,如可以是第1圖至第22圖描述的第二適配器。該第二適配器可包括功率轉換單元和取樣保持單元。該功率轉換單元可用於對輸入的交流電進行轉換,以得到該第二適配器的輸出電壓和輸出電流。該第二適配器的輸出電流為第一脈動波形的電流。該取樣保持單元與該功率轉換單元相連。當該取樣保持單元處於取樣狀態時,該取樣保持單元用於對該第一脈動波形的電流進行取樣。當該取樣保持單元處於保持狀態時,該取樣保持單元用於保持該第一脈動波形的電流的峰值。FIG. 23 is a schematic flowchart of a charging control method provided by an embodiment of the present invention. The method of Figure 23 can be applied to a second adapter, such as the second adapter, which can be described in Figures 1 through 22. The second adapter can include a power conversion unit and a sample and hold unit. The power conversion unit can be configured to convert the input alternating current to obtain an output voltage and an output current of the second adapter. The output current of the second adapter is the current of the first pulsating waveform. The sample and hold unit is coupled to the power conversion unit. The sample hold unit is configured to sample the current of the first pulsation waveform when the sample hold unit is in the sampling state. The sample holding unit is configured to maintain a peak value of a current of the first pulsation waveform when the sample holding unit is in a hold state.

第23圖的方法包括如下動作。The method of Fig. 23 includes the following actions.

2310、判斷該取樣保持單元是否處於保持狀態。2310. Determine whether the sample and hold unit is in a hold state.

2320、在判斷出該取樣保持單元處於該保持狀態的情況下,採集該取樣保持單元保持的該第一脈動波形的電流的峰值。2320. When it is determined that the sample holding unit is in the holding state, collect a peak value of a current of the first pulsation waveform held by the sample holding unit.

可選地,在一些實施例中,該判斷該取樣保持單元是否處於保持狀態可包括:接收同步訊號,其中該同步訊號的週期是該第一脈動波形的週期的1/N,N為大於或等於1的整數;基於該同步訊號判斷該取樣保持單元是否處於保持狀態。Optionally, in some embodiments, determining whether the sampling and holding unit is in the hold state may include: receiving a synchronization signal, wherein a period of the synchronization signal is 1/N of a period of the first pulsation waveform, and N is greater than or An integer equal to 1; determining whether the sample holding unit is in a hold state based on the synchronization signal.

可選地,在一些實施例中,該接收同步訊號可包括:從該功率轉換單元獲取該同步訊號。Optionally, in some embodiments, the receiving the synchronization signal may include: acquiring the synchronization signal from the power conversion unit.

可選地,在一些實施例中,該功率轉換單元包括初級單元和次級單元。該從該功率轉換單元獲取該同步訊號可包括:從該次級單元獲取該同步訊號。Optionally, in some embodiments, the power conversion unit includes a primary unit and a secondary unit. The obtaining the synchronization signal from the power conversion unit may include: acquiring the synchronization signal from the secondary unit.

可選地,在一些實施例中,該次級單元包括第一整流單元。該第一整流單元與該電流採集控制單元相連。該第一整流單元用於對該初級單元耦合至該次級單元的電流進行整流,得到第二脈動形式的電壓,並將該第二脈動波形的電壓作為該同步訊號,發送至該電流採集控制單元。Optionally, in some embodiments, the secondary unit comprises a first rectifying unit. The first rectifying unit is connected to the current collecting control unit. The first rectifying unit is configured to rectify a current of the primary unit coupled to the secondary unit to obtain a voltage in a second pulsating form, and send the voltage of the second pulsating waveform as the synchronous signal to the current collecting control unit.

可選地,在一些實施例中,該功率轉換單元可包括初級單元和次級單元。該從該功率轉換單元獲取該同步訊號可包括:從該初級單元獲取該同步訊號。Optionally, in some embodiments, the power conversion unit can include a primary unit and a secondary unit. The obtaining the synchronization signal from the power conversion unit may include: acquiring the synchronization signal from the primary unit.

可選地,在一些實施例中,該初級單元用於對該交流電進行整流,得到第三脈動波形的電壓。該第三脈動波形與該第一脈動波形週期相同。該初級單元通過光耦單元將該第三脈動波形的電壓從該第二適配器的初級耦合至該第二適配器的次級,得到第四脈動波形的電壓,並將該第四脈動波形的電壓作為該同步訊號,發送至該電流採集控制單元。Optionally, in some embodiments, the primary unit is configured to rectify the alternating current to obtain a voltage of the third pulsating waveform. The third pulsation waveform is the same as the first pulsation waveform period. The primary unit couples the voltage of the third pulsation waveform from the primary of the second adapter to the secondary of the second adapter through the optocoupler unit to obtain a voltage of the fourth pulsation waveform, and uses the voltage of the fourth pulsation waveform as The synchronization signal is sent to the current acquisition control unit.

可選地,在一些實施例中,該接收同步訊號可包括:從該取樣保持單元獲取該同步訊號。Optionally, in some embodiments, the receiving the synchronization signal may include: acquiring the synchronization signal from the sampling and holding unit.

可選地,在一些實施例中,該取樣保持單元用於對第一脈動波形的電流進行取樣,得到取樣電流,將該取樣電流轉換成取樣電壓,並將該取樣電壓作為同步訊號,發送至電流採集控制單元。該取樣電壓用於指示第一脈動波形的電流的大小。Optionally, in some embodiments, the sample holding unit is configured to sample a current of the first pulsation waveform, obtain a sampling current, convert the sampling current into a sampling voltage, and send the sampling voltage as a synchronization signal to the Current acquisition control unit. The sampled voltage is used to indicate the magnitude of the current of the first pulsation waveform.

可選地,在一些實施例中,該基於該同步訊號判斷該取樣保持單元是否處於保持狀態可包括:基於該同步訊號,判斷該第一脈動波形是否處於峰值或下降沿;在判斷出該第一脈動波形處於峰值或下降沿的情況下,確定該取樣保持單元處於保持狀態。Optionally, in some embodiments, determining whether the sampling and holding unit is in the hold state based on the synchronization signal may include: determining, according to the synchronization signal, whether the first pulsation waveform is at a peak or a falling edge; In the case where a pulsation waveform is at a peak or a falling edge, it is determined that the sample holding unit is in a hold state.

可選地,在一些實施例中,該基於該同步訊號,判斷該第一脈動波形是否處於峰值或下降沿可包括:基於該同步訊號的電壓和參考電壓的比較結果,判斷該第一脈動波形是否處於峰值或下降沿。Optionally, in some embodiments, determining whether the first pulsation waveform is at a peak or a falling edge based on the synchronization signal may include: determining the first pulsation waveform based on a comparison result of a voltage of the synchronization signal and a reference voltage Whether it is at the peak or falling edge.

可選地,在一些實施例中,該基於該同步訊號,判斷該第一脈動波形是否處於峰值或下降沿可包括:過濾該同步訊號中的直流訊號,得到過零點的交流訊號;比較該交流訊號的電壓與參考電壓;基於該交流訊號的電壓和該參考電壓的比較結果,判斷該第一脈動波形是否處於峰值或下降沿,其中該參考電壓的電壓值為0。Optionally, in some embodiments, determining whether the first pulsation waveform is at a peak or a falling edge based on the synchronization signal may include: filtering a DC signal in the synchronization signal to obtain an AC signal of a zero crossing; comparing the AC The voltage of the signal and the reference voltage; based on the comparison result of the voltage of the alternating signal and the reference voltage, determining whether the first ripple waveform is at a peak or a falling edge, wherein the voltage value of the reference voltage is zero.

可選地,在一些實施例中,該第一脈動波形的週期與該同步訊號的週期相同。Optionally, in some embodiments, the period of the first pulsation waveform is the same as the period of the synchronization signal.

可選地,在一些實施例中,第23圖的方法還可包括:在採集到該第一脈動波形的電流的峰值之後,控制該取樣保持單元從保持狀態轉換至取樣狀態。Optionally, in some embodiments, the method of FIG. 23 may further include: controlling the sampling and holding unit to switch from the hold state to the sampling state after acquiring the peak value of the current of the first pulsation waveform.

可選地,在一些實施例中,該取樣保持單元包括電容。該取樣保持單元基於該取樣保持單元中的電容保持該第一脈動波形的電流的峰值。該控制該取樣保持單元從保持狀態轉換至取樣狀態可包括:釋放該取樣保持單元中的電容兩端的電荷,從而使得該取樣保持單元從保持狀態轉換至取樣狀態。Optionally, in some embodiments, the sample and hold unit comprises a capacitor. The sample hold unit maintains a peak value of a current of the first pulsation waveform based on a capacitance in the sample hold unit. The controlling the switching of the sample holding unit from the hold state to the sample state may include releasing the charge across the capacitor in the sample hold unit such that the sample hold unit transitions from the hold state to the sample state.

可選地,在一些實施例中,該第二適配器還包括電壓調整單元。該電壓調整單元與該功率轉換單元相連,用於檢測並調整該第二適配器的輸出電壓。第23圖的方法還可包括:通過該電壓調整單元,調整該第一脈動波形的電流的峰值。Optionally, in some embodiments, the second adapter further includes a voltage adjustment unit. The voltage adjustment unit is connected to the power conversion unit for detecting and adjusting an output voltage of the second adapter. The method of FIG. 23 may further include: adjusting a peak value of the current of the first pulsation waveform by the voltage adjustment unit.

可選地,在一些實施例中,該電壓調整單元包括:電壓取樣單元、電壓比較單元以及電壓控制單元。電壓取樣單元與該功率轉換單元相連,用於對該第二適配器的輸出電壓進行取樣,得到第一電壓。該電壓比較單元的輸入端與該電壓取樣單元相連,用於比較該第一電壓和第一參考電壓。該電壓控制單元的輸入端與該電壓比較單元的輸出端相連。該電壓控制單元的輸出端與該功率轉換單元相連。該電壓控制單元根據該第一電壓和該第一參考電壓的比較結果,控制該第二適配器的輸出電壓。該通過該電壓調整單元,調整該第一脈動波形的電流的峰值可包括:通過調整該第一參考電壓的電壓值,調整該第一脈動波形的電流的峰值。Optionally, in some embodiments, the voltage adjustment unit includes: a voltage sampling unit, a voltage comparison unit, and a voltage control unit. The voltage sampling unit is connected to the power conversion unit for sampling the output voltage of the second adapter to obtain a first voltage. An input end of the voltage comparison unit is coupled to the voltage sampling unit for comparing the first voltage with the first reference voltage. An input of the voltage control unit is coupled to an output of the voltage comparison unit. An output of the voltage control unit is coupled to the power conversion unit. The voltage control unit controls an output voltage of the second adapter according to a comparison result of the first voltage and the first reference voltage. The adjusting the peak value of the current of the first pulsation waveform by the voltage adjusting unit may include adjusting a peak value of the current of the first pulsation waveform by adjusting a voltage value of the first reference voltage.

可選地,在一些實施例中,該通過調整該第一參考電壓的電壓值,調整該第一脈動波形的電流的峰值可包括:通過數位DAC調整該第一參考電壓的電壓值,以調整該第一脈動波形的電流的峰值。Optionally, in some embodiments, adjusting the peak value of the current of the first pulsation waveform by adjusting the voltage value of the first reference voltage may include: adjusting a voltage value of the first reference voltage by using a digital DAC to adjust The peak value of the current of the first pulsating waveform.

可選地,在一些實施例中,該電壓調整單元包括分壓單元、電壓比較單元、電壓控制單元。該分壓單元的輸入端與該功率轉換單元相連,用於按照設定的分壓比對該第二適配器的輸出電壓進行分壓,產生第二電壓。該電壓比較單元的輸入端與該分壓單元的輸出端相連,用於比較該第二電壓和第二參考電壓。該電壓控制單元的輸入端與該電壓比較單元的輸入端相連。該電壓控制單元的輸出端與該功率轉換單元相連。該電壓控制單元根據該第二電壓和該第二參考電壓的比較結果,控制該第二適配器的輸出電壓。所述通過該電壓調整單元,調整該第一脈動波形的電流的峰值可包括:通過調整該分壓比,調整該第一脈動波形的電流的峰值。Optionally, in some embodiments, the voltage adjustment unit includes a voltage dividing unit, a voltage comparison unit, and a voltage control unit. The input end of the voltage dividing unit is connected to the power conversion unit, and is configured to divide the output voltage of the second adapter according to the set voltage dividing ratio to generate a second voltage. An input end of the voltage comparison unit is connected to an output end of the voltage dividing unit for comparing the second voltage and the second reference voltage. An input of the voltage control unit is coupled to an input of the voltage comparison unit. An output of the voltage control unit is coupled to the power conversion unit. The voltage control unit controls an output voltage of the second adapter according to a comparison result of the second voltage and the second reference voltage. The adjusting the peak value of the current of the first pulsation waveform by the voltage adjusting unit may include: adjusting a peak value of the current of the first pulsation waveform by adjusting the voltage dividing ratio.

可選地,在一些實施例中,該分壓單元包括數位電位器。該數位電位器的高電位端與該功率轉換單元相連。該數位電位器的低電位端與地相連。該數位電位器的輸出端與該電壓比較單元相連。該通過調整該分壓比,調整該第一脈動波形的電流的峰值可包括:調整該數字電位器的分壓比,以調整該第一脈動波形的電流的峰值。Optionally, in some embodiments, the voltage dividing unit comprises a digital potentiometer. The high potential end of the digital potentiometer is connected to the power conversion unit. The low potential end of the digital potentiometer is connected to the ground. The output of the digital potentiometer is connected to the voltage comparison unit. By adjusting the voltage dividing ratio, adjusting the peak value of the current of the first pulsation waveform may include adjusting a voltage dividing ratio of the digital potentiometer to adjust a peak value of the current of the first pulsation waveform.

可選地,在一些實施例中,該取樣保持單元可包括電流取樣單元和電流保持單元。電流取樣單元與該功率轉換單元相連,用於檢測該第一脈動波形的電流,得到取樣電流,並將該取樣電流轉換成取樣電壓。該取樣電壓用於指示該第一脈動波形的電流的大小。電流保持單元與該電流取樣單元和該電流採集控制單元相連。該電流保持單元從該電流取樣單元接收該取樣電壓,並基於該取樣電壓為該電流保持單元中的電容充電。該採集該取樣保持單元保持的該第一脈動波形的電流的峰值可包括:通過採集該取樣保持單元中的電容兩端的電壓,獲取該第一脈動波形的電流的峰值。Optionally, in some embodiments, the sample and hold unit may include a current sampling unit and a current holding unit. The current sampling unit is connected to the power conversion unit for detecting the current of the first pulsation waveform, obtaining a sampling current, and converting the sampling current into a sampling voltage. The sampled voltage is used to indicate the magnitude of the current of the first pulsation waveform. A current holding unit is coupled to the current sampling unit and the current acquisition control unit. The current holding unit receives the sampling voltage from the current sampling unit and charges the capacitance in the current holding unit based on the sampling voltage. The collecting the peak value of the current of the first pulsation waveform held by the sample holding unit may include acquiring a peak value of the current of the first pulsation waveform by collecting a voltage across the capacitor in the sample holding unit.

可選地,在一些實施例中,所述採集該取樣保持單元保持的該第一脈動波形的電流的峰值可包括:基於ADC採集該第一脈動波形的電流的峰值。Optionally, in some embodiments, the collecting the peak value of the current of the first pulsation waveform held by the sample holding unit may include: acquiring a peak value of the current of the first pulsation waveform based on the ADC.

可選地,在一些實施例中,該第二適配器支援第一充電模式和第二充電模式。該第二適配器在該第二充電模式下對待充電裝置的充電速度快於該第二適配器在該第一充電模式下對該待充電裝置的充電速度。該第一脈動波形的電流為該第二適配器在該第二充電模式下的輸出電流。第23圖的方法還可包括:在該第二適配器與待充電裝置連接的程序中,與該待充電裝置進行雙向通訊,以控制在該第二充電模式下的該第二適配器的輸出。Optionally, in some embodiments, the second adapter supports the first charging mode and the second charging mode. The second adapter charges the charging device faster in the second charging mode than the charging speed of the second adapter in the first charging mode. The current of the first pulsation waveform is the output current of the second adapter in the second charging mode. The method of FIG. 23 may further include: performing two-way communication with the device to be charged in the program of the second adapter connected to the device to be charged to control the 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; and receives a reply command of the first instruction sent by the to-be-charged device, where the reply command of the first instruction is used to indicate whether the device to be charged agrees to open The second charging mode is configured to charge the device to be charged using the second charging mode 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 an output voltage of the second adapter such that an output voltage of the second adapter 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 Transmitting, to the device to be charged, a second command, the second command is used to query whether an output voltage of the second adapter matches a current voltage of a battery of the device to be charged; and receiving the second command sent by the device to be charged The reply instruction is configured 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 peak value of the current of the first pulsating waveform to make the current of the first pulsating waveform The peak value is equal to the charging current output by the second adapter for charging the device to be charged in the second charging mode.

可選地,在一些實施例中,該與該待充電裝置進行雙向通訊,以確定在該第二充電模式下的該第二適配器輸出的用於對該待充電裝置進行充電的充電電流可包括:向該待充電裝置發送第三指令,該第三指令用於詢問該待充電裝置當前支援的最大充電電流;接收該待充電裝置發送的該第三指令的回覆指令,該第三指令的回覆指令用於指示該待充電裝置當前支援的最大充電電流;根據該待充電裝置當前支援的最大充電電流確定在該第二充電模式下的該第二適配器輸出的用於對該待充電裝置進行充電的充電電流。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, and replying the third command The instruction 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 second adapter output in the second charging mode for charging the device to be charged The 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 peak value of the current of the first pulsation waveform.

可選地,在一些實施例中,該與該待充電裝置進行雙向通訊,以調整該第一脈動波形的電流的峰值可包括:向該待充電裝置發送的第四指令,該第四指令用於詢問該待充電裝置的電池的當前電壓;接收該第二適配器發送的該第四指令的回覆指令,該第四指令的回覆指令用於指示該電池的當前電壓;根據該電池的當前電壓,調整該第一脈動波形的電流的峰值。Optionally, in some embodiments, the bidirectional communication with the device to be charged to adjust the peak value of the current of the first pulsation waveform may include: a fourth instruction sent to the device to be charged, where the fourth instruction is used Querying the current voltage of the 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 the current voltage of the battery; according to the current voltage of the battery, The peak value of the current of the first pulsation waveform is adjusted.

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

可選地,在一些實施例中,該第二適配器支援第一充電模式和第二充電模式。該第一充電模式為恆壓模式。該第二充電模式為恆流模式。該第一脈動波形的電流為該第二適配器在該第二充電模式下的輸出電流。該第二適配器包括控制單元。該功率轉換單元包括次級濾波單元。該控制單元與該次級濾波單元相連。第23圖的方法還可包括:在該第一充電模式下,控制該次級濾波單元工作,使得該第二適配器的輸出電壓的電壓值恆定;在該第二充電模式下,控制該次級濾波單元停止工作,使得該第二適配器的輸出電流為該第一脈動波形的電流。Optionally, in some embodiments, the second adapter supports the first charging mode and the second charging mode. The first charging mode is a constant voltage mode. The second charging mode is a constant current mode. The current of the first pulsation waveform is the output current of the second adapter in the second charging mode. The second adapter includes a control unit. The power conversion unit includes a secondary filtering unit. The control unit is coupled to the secondary filtering unit. The method of FIG. 23 may further include: 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; and in the second charging mode, controlling the secondary The filtering unit stops working such that the output current of the second adapter is the current of the first pulsating waveform.

可選地,在一些實施例中,該第二適配器將該第一脈動波形的電流直接載入在該待充電裝置的電池的兩端,為該電池進行直充。Optionally, in some embodiments, the second adapter directly loads the current of the first pulsating waveform on both ends of the battery of the device to be charged, and directly charges the battery.

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

可選地,在一些實施例中,該第二適配器包括用於對充電程序進行控制的控制單元,該控制單元為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. Go to 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. 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 as a separate entity, or two or more units may be integrated into one unit.

所述功能如果以軟體功能單元的形式實現並作為獨立的產品銷售或使用時,可以存儲在一個電腦可讀取存儲媒體中。基於這樣的理解,本發明的技術方案本質上或者說對先前技術做出貢獻的部分或者該技術方案的部分可以以軟體產品的形式體現出來,該電腦軟體產品存儲在一個存儲媒體中,包括若干指令用以使得一台電腦裝置(可以是個人電腦,伺服器,或者網路裝置等)執行本發明各個實施例所述方法的全部或部分步驟。而前述的存儲媒體包括:隨身碟、行動硬碟、唯讀記憶體(ROM,Read-Only Memory)、隨機存取記憶體(RAM,Random Access Memory)、磁碟或者光碟等各種可以存儲程式碼的媒體。The functions can be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product. 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, or a network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage media include: 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 patent application.

AC‧‧‧交流電
C1、26‧‧‧電容
DAC、33‧‧‧數位類比轉換器
LDO‧‧‧低壓差穩壓器
MCU‧‧‧微控制單元
MOS‧‧‧金屬氧化物半導體
OUTPUT‧‧‧輸出埠
Q2、Q3‧‧‧開關管
R1、R2、R3、R4、R5、R6‧‧‧電阻
SR‧‧‧同步整流
T1‧‧‧變壓器
VBUS‧‧‧母線
10‧‧‧第二適配器
11‧‧‧功率轉換單元
12‧‧‧取樣保持單元
13‧‧‧電流採集控制單元
14‧‧‧電流取樣單元
15‧‧‧電流保持單元
16‧‧‧放電單元
17、23、25、32、36‧‧‧控制單元
18‧‧‧初級單元
19‧‧‧次級單元
20‧‧‧第一整流單元
21、40‧‧‧光耦單元
22、27‧‧‧比較器
24‧‧‧比較單元
28‧‧‧電壓調整單元
29‧‧‧電壓取樣單元
30‧‧‧電壓比較單元
31‧‧‧電壓控制單元
34‧‧‧分壓單元
35‧‧‧數位電位器
37‧‧‧次級濾波單元
38‧‧‧初級整流單元
39‧‧‧次級整流單元
191‧‧‧充電介面
192‧‧‧資料線
AC‧‧‧AC
C1, 26‧‧‧ capacitor
DAC, 33‧‧‧ digital analog converter
LDO‧‧‧ Low Dropout Regulator
MCU‧‧‧Micro Control Unit
MOS‧‧‧Metal Oxide Semiconductor
OUTPUT‧‧‧output埠
Q2, Q3‧‧‧ switch tube
R1, R2, R3, R4, R5, R6‧‧‧ resistors
SR‧‧‧Synchronous rectification
T1‧‧‧ transformer
VBUS‧‧‧ busbar
10‧‧‧second adapter
11‧‧‧Power Conversion Unit
12‧‧‧Sampling and holding unit
13‧‧‧ Current Acquisition Control Unit
14‧‧‧current sampling unit
15‧‧‧current holding unit
16‧‧‧discharge unit
17, 23, 25, 32, 36‧‧‧ control unit
18‧‧‧Primary unit
19‧‧‧Secondary unit
20‧‧‧First rectification unit
21, 40‧‧‧optical coupling unit
22, 27‧‧‧ comparator
24‧‧‧Comparative unit
28‧‧‧Voltage adjustment unit
29‧‧‧Voltage sampling unit
30‧‧‧Voltage comparison unit
31‧‧‧Voltage control unit
34‧‧‧Dividing unit
35‧‧‧Digital potentiometer
37‧‧‧Secondary filter unit
38‧‧‧Primary rectifier unit
39‧‧‧Secondary rectifier unit
191‧‧‧Charging interface
192‧‧‧Information line

為了更清楚地說明本發明實施例的技術方案,下面將對本發明實施例中所需要使用的附圖作簡單地介紹,顯而易見地,下面所描述的附圖僅僅是本發明的一些實施例,對於本領域普通技術人員來講,在不付出創造性勞動的前提下,還可以根據這些附圖獲得其他的附圖。 第1圖是本發明一個實施例的第二適配器的示意性結構圖。 第2A圖和第2B圖是本發明實施例的脈動波形的示意圖。 第3圖是本發明另一實施例的第二適配器的示意性結構圖。 第4圖是本發明又一實施例的第二適配器的示意性結構圖。 第5圖是本發明實施例的同步訊號和第一脈動波形的相位關係示例圖。 第6圖是本發明又一實施例的第二適配器的示意性結構圖。 第7圖是本發明又一實施例的第二適配器的示意性結構圖。 第8圖是本發明又一實施例的第二適配器的示意性結構圖。 第9圖是本發明實施例的同步訊號的獲取方式的示例圖。 第10圖是本發明一個實施例的電流採集控制單元的示意性結構圖。 第11圖是本發明一個實施例的參考電壓、比較器的輸出電位準以及第二適配器的輸出電流的波形關係示意圖。 第12圖是本發明另一個實施例的參考電壓、比較器的輸出電位準以及第二適配器的輸出電流的波形關係示意圖。 第13圖是本發明另一個實施例的電流採集控制單元的示意性結構圖。 第14圖是本發明又一實施例的第二適配器的示意性結構圖。 第15圖是本發明又一實施例的第二適配器的示意性結構圖。 第16圖是本發明又一實施例的第二適配器的示意性結構圖。 第17圖是本發明又一實施例的第二適配器的示意性結構圖。 第18圖是本發明又一實施例的第二適配器的示意性結構圖。 第19A圖是本發明實施例的第二適配器與待充電裝置的連接方式示意圖。 第19B圖是本發明實施例的快充通訊程序的示意圖。 第20圖是本發明又一實施例的第二適配器的示意性結構圖。 第21圖是本發明一個實施例的第二適配器的電路結構示意圖。 第22圖是本發明另一個實施例的第二適配器的電路結構示意圖。 第23圖是本發明實施例的充電控制方法的示意性流程圖。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. 1 is a schematic structural view of a second adapter of one embodiment of the present invention. 2A and 2B are schematic views of the pulsation waveforms of the embodiment of the present invention. Fig. 3 is a schematic structural view of a second adapter according to 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 view showing an example of the phase relationship between the sync signal and the first pulsation waveform in the 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 diagram showing an example of a method of acquiring a synchronization signal according to an embodiment of the present invention. Fig. 10 is a schematic structural view of a current collecting control unit according to an embodiment of the present invention. Figure 11 is a diagram showing the relationship between the reference voltage, the output potential of the comparator, and the output current of the second adapter in accordance with one embodiment of the present invention. Fig. 12 is a view showing the relationship between the reference voltage, the output potential of the comparator, and the waveform of the output current of the second adapter according to another embodiment of the present invention. Figure 13 is a schematic structural view of a current collecting control unit of 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 structural view of a second adapter according to still another 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 structural view of a second adapter according to still another embodiment of the present invention. Figure 21 is a circuit diagram showing the structure of a second adapter according to an embodiment of the present invention. Figure 22 is a circuit diagram showing the structure of a second adapter according to another embodiment of the present invention. Figure 23 is a schematic flow chart of a charging control method according to an embodiment of the present invention.

10‧‧‧第二適配器 10‧‧‧second adapter

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

12‧‧‧取樣保持單元 12‧‧‧Sampling and holding unit

13‧‧‧電流採集控制單元 13‧‧‧ Current Acquisition Control Unit

Claims (52)

一種適配器,其特徵在於,該適配器支援一第一充電模式和一第二充電模式,該適配器在該第二充電模式下對一待充電裝置的充電速度快於該適配器在該第一充電模式下對該待充電裝置的充電速度,該適配器包括: 一功率轉換單元,用於對輸入的交流電進行轉換,以得到該適配器的輸出電壓和輸出電流,其中該適配器的輸出電流為一第一脈動波形的電流; 一取樣保持單元,與該功率轉換單元相連,當該取樣保持單元處於取樣狀態時,該取樣保持單元用於對該第一脈動波形的電流進行取樣,當該取樣保持單元處於保持狀態時,該取樣保持單元用於保持該第一脈動波形的電流的峰值; 一電流採集控制單元,與該取樣保持單元相連,該電流採集控制單元用於判斷該取樣保持單元是否處於保持狀態,並在判斷出該取樣保持單元處於該保持狀態的情況下,採集該取樣保持單元保持的該第一脈動波形的電流的峰值。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, wherein the output current of the adapter is a first pulsation waveform a current holding unit connected to the power conversion unit, the sample holding unit is configured to sample the current of the first pulsation waveform when the sample holding unit is in a sampling state, when the sample holding unit is in a hold state The sampling and holding unit is configured to maintain a peak value of the current of the first pulsation waveform; a current collection control unit is connected to the sample and hold unit, and the current collection control unit is configured to determine whether the sample and hold unit is in a hold state, and In the case of judging that the sample holding unit is in the hold state, The set of sample and hold the peak current of a first pulsation waveform holding unit. 如申請專利範圍第1項所述之適配器,其特徵在於,該電流採集控制單元具體用於接收一同步訊號,基於該同步訊號判斷該取樣保持單元是否處於保持狀態,其中該同步訊號的週期是該第一脈動波形的週期的1/N,N為大於或等於1的整數。The adapter of claim 1, wherein the current collecting control unit is configured to receive a synchronization signal, and determine, according to the synchronization signal, whether the sampling and holding unit is in a hold state, wherein a period of the synchronization signal is 1/N, N of the period of the first pulsation waveform is an integer greater than or equal to 1. 如申請專利範圍第2項所述之適配器,其特徵在於,該電流採集控制單元與該功率轉換單元相連,從該功率轉換單元獲取該同步訊號。The adapter of claim 2, wherein the current collection control unit is connected to the power conversion unit, and the synchronization signal is obtained from the power conversion unit. 如申請專利範圍第3項所述之適配器,其特徵在於,該功率轉換單元包括一初級單元和一次級單元,該電流採集控制單元與該次級單元相連,從該次級單元獲取該同步訊號。The adapter of claim 3, wherein the power conversion unit comprises a primary unit and a primary unit, and the current collection control unit is connected to the secondary unit, and the synchronization signal is obtained from the secondary unit. . 如申請專利範圍第4項所述之適配器,其特徵在於,該次級單元包括一第一整流單元,該第一整流單元與該電流採集控制單元相連,該第一整流單元用於對該初級單元耦合至該次級單元的電流進行整流,得到一第二脈動形式的電壓,並將該第二脈動波形的電壓作為該同步訊號,發送至該電流採集控制單元。The adapter of claim 4, wherein the secondary unit comprises a first rectifying unit, the first rectifying unit is connected to the current collecting control unit, and the first rectifying unit is used for the primary The current coupled to the secondary unit is rectified to obtain a voltage in the second pulsating form, and the voltage of the second pulsating waveform is sent to the current collecting control unit as the synchronous signal. 如申請專利範圍第2項至第5項中任一項所述之適配器,其特徵在於,該電流採集控制單元基於該同步訊號,判斷該第一脈動波形是否處於峰值或下降沿,並在判斷出該第一脈動波形處於峰值或下降沿的情況下,採集該取樣保持單元保持的該第一脈動波形的電流的峰值。The adapter according to any one of the preceding claims, wherein the current acquisition control unit determines whether the first pulsation waveform is at a peak or a falling edge based on the synchronization signal, and is determining When the first pulsation waveform is at a peak or a falling edge, the peak value of the current of the first pulsation waveform held by the sample holding unit is acquired. 如申請專利範圍第6項所述之適配器,其特徵在於,該電流採集控制單元包括: 一比較器和一控制單元,該比較器的第一輸入端用於接收該同步訊號,該比較器的第二輸入端用於接收一參考電壓,該控制單元與該比較器的輸出端相連,基於該同步訊號的電壓和該參考電壓的比較結果,判斷該第一脈動波形是否處於峰值或下降沿。The adapter of claim 6, wherein the current collection control unit comprises: a comparator and a control unit, the first input of the comparator is configured to receive the synchronization signal, and the comparator The second input terminal is configured to receive a reference voltage, and the control unit is connected to the output end of the comparator, and determines whether the first pulsation waveform is at a peak or a falling edge based on a comparison result between the voltage of the synchronous signal and the reference voltage. 如申請專利範圍第6項所述之適配器,其特徵在於,該電流採集控制單元包括: 一比較單元和一控制單元,該比較單元包括一電容和一比較器,該電容用於接收該同步訊號,並過濾該同步訊號中的直流訊號,得到過零點的一交流訊號,該比較器的第一輸入端與該電容相連,用於接收該交流訊號,該比較器的第二輸入端用於接收一參考電壓,該比較器用於比較該交流訊號的電壓與該參考電壓,該控制單元與該比較器的輸出端相連,基於該交流訊號的電壓和該參考電壓的比較結果,判斷該第一脈動波形是否處於峰值或下降沿,其中該參考電壓的電壓值為0。The adapter of claim 6, wherein the current collection control unit comprises: a comparison unit and a control unit, the comparison unit includes a capacitor and a comparator for receiving the synchronization signal And filtering the DC signal in the synchronization signal to obtain an AC signal of a zero crossing, the first input end of the comparator is connected to the capacitor for receiving the AC signal, and the second input of the comparator is used for receiving a reference voltage, the comparator is configured to compare the voltage of the alternating current signal with the reference voltage, and the control unit is connected to the output end of the comparator, and determines the first pulsation based on a comparison result between the voltage of the alternating signal and the reference voltage Whether the waveform is at the peak or falling edge, where the voltage value of the reference voltage is zero. 如申請專利範圍第2項至第8項中任一項所述之適配器,其特徵在於,該第一脈動波形的週期與該同步訊號的週期相同。The adapter of any one of claims 2 to 8, wherein the period of the first pulsation waveform is the same as the period of the synchronization signal. 如申請專利範圍第1項至第9項中任一項所述之適配器,其特徵在於,該電流採集控制單元還用於在採集到該第一脈動波形的電流的峰值之後,控制該取樣保持單元從保持狀態轉換至取樣狀態。The adapter of any one of the preceding claims, wherein the current collection control unit is further configured to control the sample hold after collecting the peak value of the current of the first pulsation waveform. The unit transitions from the hold state to the sample state. 如申請專利範圍第10項所述之適配器,其特徵在於,該取樣保持單元包括一電容,該取樣保持單元基於該取樣保持單元中的電容保持該第一脈動波形的電流的峰值, 該電流採集控制單元包括一放電單元和一控制單元,該放電單元分別與該控制單元和該取樣保持單元中的電容相連,該放電單元用於在該控制單元的控制下釋放該取樣保持單元中的電容兩端的電荷,從而使得該取樣保持單元從保持狀態轉換至取樣狀態。The adapter of claim 10, wherein the sample-and-hold unit comprises a capacitor, and the sample-and-hold unit maintains a peak value of a current of the first pulsation waveform based on a capacitance in the sample-and-hold unit, the current collection The control unit includes a discharge unit and a control unit respectively connected to the capacitors in the control unit and the sample and hold unit, and the discharge unit is configured to release the capacitors in the sample and hold unit under the control of the control unit The charge of the terminal, thereby causing the sample-and-hold unit to transition from the hold state to the sample state. 如申請專利範圍第1項至第11項中任一項所述之適配器,其特徵在於,該適配器還包括: 一電壓調整單元,該電壓調整單元與該功率轉換單元相連,用於檢測並調整該適配器的輸出電壓; 其中該電流採集控制單元與該電壓調整單元相連,通過該電壓調整單元,調整該第一脈動波形的電流的峰值。The adapter of any one of clauses 1 to 11, wherein the adapter further comprises: a voltage adjustment unit connected to the power conversion unit for detecting and adjusting An output voltage of the adapter; wherein the current collection control unit is connected to the voltage adjustment unit, and the peak of the current of the first pulsation waveform is adjusted by the voltage adjustment unit. 如申請專利範圍第1項至第12項中任一項所述之適配器,其特徵在於,該取樣保持單元包括: 一電流取樣單元,與該功率轉換單元相連,用於檢測該第一脈動波形的電流,得到一取樣電流,並將該取樣電流轉換成取樣電壓,該取樣電壓用於指示該第一脈動波形的電流的大小; 一電流保持單元,與該電流取樣單元和該電流採集控制單元相連,該電流保持單元從該電流取樣單元接收該取樣電壓,並基於該取樣電壓為該電流保持單元中的電容充電; 其中該電流採集控制單元通過檢測該取樣保持單元中的電容兩端的電壓,採集該第一脈動波形的電流的峰值。The adapter of any one of the preceding claims, wherein the sampling and holding unit comprises: a current sampling unit connected to the power conversion unit for detecting the first pulsation waveform Current, a sampling current is obtained, and the sampling current is converted into a sampling voltage, the sampling voltage is used to indicate the magnitude of the current of the first pulsation waveform; a current holding unit, the current sampling unit and the current collecting control unit Connected, the current holding unit receives the sampling voltage from the current sampling unit, and charges the capacitor in the current holding unit based on the sampling voltage; wherein the current collecting control unit detects the voltage across the capacitor in the sampling and holding unit, The peak value of the current of the first pulsation waveform is acquired. 如申請專利範圍第1項至第13項中任一項所述之適配器,其特徵在於,該電流採集控制單元包括一類比數位轉換器ADC,該電流採集控制單元基於該ADC採集該第一脈動波形的電流的峰值。The adapter of any one of the preceding claims, wherein the current acquisition control unit comprises an analog-to-digital converter ADC, and the current acquisition control unit acquires the first pulsation based on the ADC The peak value of the current of the waveform. 如申請專利範圍第1項至第14項中任一項所述之適配器,其特徵在於,該第一脈動波形的電流為該適配器在該第二充電模式下的輸出電流,該適配器包括一控制單元,在該適配器與待充電裝置連接的程序中,該控制單元與該待充電裝置進行雙向通訊,以控制在該第二充電模式下的該適配器的輸出。The adapter of any one of clauses 1 to 14, wherein the current of the first pulsation waveform is an output current of the adapter in the second charging mode, and the adapter includes a control And a unit, in the program connected to the device to be charged, the two-way communication with the device to be charged to control the output of the adapter in the second charging mode. 如申請專利範圍第15項所述之適配器,其特徵在於,該控制單元與該待充電裝置進行雙向通訊,以控制在該第二充電模式下的該適配器的輸出的程序,包括: 該控制單元與該待充電裝置進行雙向通訊,以協商該適配器與該待充電裝置之間的充電模式。The adapter of claim 15 is characterized in that the control unit performs bidirectional communication with the device to be charged to control the output of the adapter in the second charging mode, comprising: the control unit Two-way communication with the device to be charged to negotiate a charging mode between the adapter and the device to be charged. 如申請專利範圍第16項所述之適配器,其特徵在於,該控制單元與該待充電裝置進行雙向通訊,以協商該適配器與該待充電裝置之間的充電模式,包括: 該控制單元向該待充電裝置發送一第一指令,該第一指令用於詢問該待充電裝置是否開啟該第二充電模式; 該控制單元接收該待充電裝置發送的該第一指令的回覆指令,該第一指令的回覆指令用於指示該待充電裝置是否同意開啟該第二充電模式; 在該待充電裝置同意開啟該第二充電模式的情況下,該控制單元使用該第二充電模式為該待充電裝置充電。The adapter of claim 16, 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 The charging device sends a first command for inquiring whether the device to be charged turns on the second charging mode; the control unit receives a reply command of the first command sent by the device to be charged, the first command The reply command is used to indicate whether the device to be charged agrees to enable 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 . 如申請專利範圍第15項至第17項中任一項所述之適配器,其特徵在於,該控制單元與該待充電裝置進行雙向通訊,以控制在該第二充電模式下的該適配器的輸出的程序,包括: 該控制單元與該待充電裝置進行雙向通訊,以確定在該第二充電模式下的該適配器輸出的用於對該待充電裝置進行充電的充電電壓; 該控制單元對該適配器的輸出電壓進行調整,使該適配器的輸出電壓等於在該第二充電模式下的該適配器輸出的用於對該待充電裝置進行充電的充電電壓。The adapter according to any one of claims 15 to 17, wherein the control unit performs bidirectional communication with the device to be charged to control the output of the adapter in the second charging mode. The program includes: the control unit 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 control unit is the adapter The output voltage is adjusted such that the output voltage of the adapter is equal to the charging voltage output by the adapter in the second charging mode for charging the device to be charged. 如申請專利範圍第18項所述之適配器,其特徵在於,該控制單元與該待充電裝置進行雙向通訊,以確定在該第二充電模式下的該適配器輸出的用於對該待充電裝置進行充電的充電電壓,包括: 該控制單元向該待充電裝置發送一第二指令,該第二指令用於詢問該適配器的輸出電壓與該待充電裝置的電池的當前電壓是否匹配; 該控制單元接收該待充電裝置發送的該第二指令的回覆指令,該第二指令的回覆指令用於指示該適配器的輸出電壓與該電池的當前電壓匹配、偏高或偏低。The adapter of claim 18, wherein the control unit performs bidirectional communication with the device to be charged to determine the output of the adapter in the second charging mode for the device to be charged. The charging voltage of the charging includes: the control unit sends a second instruction 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 the battery of the device to be charged; the control unit receives The reply instruction of the second instruction sent by the to-be-charged 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. 如申請專利範圍第15項至第19項中任一項所述之適配器,其特徵在於,該控制單元與該待充電裝置進行雙向通訊,以控制在該第二充電模式下的該適配器的輸出的程序,包括: 該控制單元與該待充電裝置進行雙向通訊,以確定在該第二充電模式下的該適配器輸出的用於對該待充電裝置進行充電的充電電流; 該控制單元對該第一脈動波形的電流的峰值進行調整,使該第一脈動波形的電流的峰值等於在該第二充電模式下的該適配器輸出的用於對該待充電裝置進行充電的充電電流。The adapter of any one of clauses 15 to 19, wherein the control unit performs bidirectional communication with the device to be charged to control the output of the adapter in the second charging mode. The program includes: the control unit performs two-way 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 peak value of the current of a pulsating waveform is adjusted such that the peak value of the current of the first pulsating waveform is equal to the charging current output by the adapter for charging the device to be charged in the second charging mode. 如申請專利範圍第20項所述之適配器,其特徵在於,該控制單元與該待充電裝置進行雙向通訊,以確定在該第二充電模式下的該適配器輸出的用於對該待充電裝置進行充電的充電電流,包括: 該控制單元向該待充電裝置發送一第三指令,該第三指令用於詢問該待充電裝置當前支援的最大充電電流; 該控制單元接收該待充電裝置發送的該第三指令的回覆指令,該第三指令的回覆指令用於指示該待充電裝置當前支援的最大充電電流; 該控制單元根據該待充電裝置當前支援的最大充電電流確定在該第二充電模式下的該適配器輸出的用於對該待充電裝置進行充電的充電電流。The adapter of claim 20, wherein the control unit performs bidirectional communication with the device to be charged to determine the output of the adapter in the second charging mode for the device to be charged. The charging current of the charging includes: the control unit sends a third command to the to-be-charged device, the third command is used to query a maximum charging current currently supported by the device to be charged; and the control unit receives the a reply instruction of the third instruction, the reply instruction of the third instruction is used to indicate a maximum charging current currently supported by the device to be charged; the control unit determines, according to the maximum charging current currently supported by the device to be charged, in the second charging mode The adapter outputs a charging current for charging the device to be charged. 如申請專利範圍第15項至第21項中任一項所述之適配器,其特徵在於,該控制單元與該待充電裝置進行雙向通訊,以控制在該第二充電模式下的該適配器的輸出的程序,包括: 在使用該第二充電模式充電的程序中,該控制單元與該待充電裝置進行雙向通訊,以調整該第一脈動波形的電流的峰值。The adapter of any one of clauses 15 to 21, wherein the control unit performs bidirectional communication with the device to be charged to control the output of the adapter in the second charging mode. The program includes: in the program for charging using the second charging mode, the control unit performs bidirectional communication with the device to be charged to adjust a peak value of a current of the first pulsation waveform. 如申請專利範圍第22項所述之適配器,其特徵在於,該控制單元與該待充電裝置進行雙向通訊,以調整該第一脈動波形的電流的峰值,包括: 該控制單元向該待充電裝置發送的一第四指令,該第四指令用於詢問該待充電裝置的電池的當前電壓; 該控制單元接收該適配器發送的該第四指令的回覆指令,該第四指令的回覆指令用於指示該電池的當前電壓; 該控制單元根據該電池的當前電壓,調整該第一脈動波形的電流的峰值。The adapter of claim 22, wherein the control unit performs bidirectional communication with the device to be charged to adjust a peak value of the current of the first pulsation waveform, including: the control unit to the device to be charged Sending a fourth command for inquiring about a current voltage of the battery of the device to be charged; the control unit receiving a reply command of the fourth command sent by the adapter, the reply command of the fourth command is used to indicate The current voltage of the battery; the control unit adjusts the peak value of the current of the first pulsation waveform according to the current voltage of the battery. 如申請專利範圍第1項至第23項中任一項所述之適配器,其特徵在於,該適配器是用於為行動終端充電的適配器。An adapter according to any one of claims 1 to 23, wherein the adapter is an adapter for charging a mobile terminal. 如申請專利範圍第1項至第24項中任一項所述之適配器,其特徵在於,該適配器包括用於對充電程序進行控制的一控制單元,該控制單元為微控制單元MCU。An adapter according to any one of claims 1 to 24, characterized in that the adapter comprises a control unit for controlling the charging program, the control unit being a micro control unit MCU. 如申請專利範圍第1項至第25項中任一項所述之適配器,其特徵在於,該適配器包括一充電介面,該充電介面為通用序列匯流排USB介面。The adapter of any one of claims 1 to 25, 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 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 adapter includes a power conversion unit and a sample and hold unit, and the power conversion unit is configured to convert the input alternating current to obtain the output of the adapter a voltage and an output current, wherein an output current of the adapter is a current of a first pulsation waveform, the sample holding unit is connected to the power conversion unit, and the sample holding unit is configured to be the first when the sample holding unit is in a sampling state The current of the pulsating waveform is sampled, and when the sampling holding unit is in the holding state, the sampling holding unit is configured to maintain a peak value of the current of the first pulsation waveform, the method comprising: determining whether the sampling and holding unit is in a holding state; When the sampling and holding unit is in the holding state, The sample and hold the peak current pulsation waveform of the first holding unit. 如申請專利範圍第27項所述之充電控制方法,其特徵在於,該判斷該取樣保持單元是否處於保持狀態,包括: 接收一同步訊號,其中該同步訊號的週期是該第一脈動波形的週期的1/N,N為大於或等於1的整數; 基於該同步訊號判斷該取樣保持單元是否處於保持狀態。The charging control method of claim 27, wherein determining whether the sampling and holding unit is in a hold state comprises: receiving a synchronization signal, wherein a period of the synchronization signal is a period of the first pulsation waveform 1/N, N is an integer greater than or equal to 1; based on the synchronization signal, it is determined whether the sample holding unit is in a hold state. 如申請專利範圍第28項所述之充電控制方法,其特徵在於,該接收同步訊號,包括: 從該功率轉換單元獲取該同步訊號。The charging control method of claim 28, wherein the receiving the synchronization signal comprises: acquiring the synchronization signal from the power conversion unit. 如申請專利範圍第29項所述之充電控制方法,其特徵在於,該功率轉換單元包括一初級單元和一次級單元, 該從該功率轉換單元獲取該同步訊號包括: 從該次級單元獲取該同步訊號。The charging control method according to claim 29, wherein the power conversion unit comprises a primary unit and a primary unit, and the obtaining the synchronization signal from the power conversion unit comprises: acquiring the secondary unit from the secondary unit Synchronization signal. 如申請專利範圍第30項所述之充電控制方法,其特徵在於,該次級單元包括一第一整流單元,該第一整流單元與該電流採集控制單元相連,該第一整流單元用於對該初級單元耦合至該次級單元的電流進行整流,得到第二脈動形式的電壓,並將該第二脈動波形的電壓作為該同步訊號,發送至該電流採集控制單元。The charging control method according to claim 30, wherein the secondary unit comprises a first rectifying unit, the first rectifying unit is connected to the current collecting control unit, and the first rectifying unit is configured to The current coupled to the secondary unit is rectified to obtain a voltage in the second pulsating form, and the voltage of the second pulsating waveform is sent to the current collecting control unit as the synchronous signal. 如申請專利範圍第28項至第31項中任一項所述之充電控制方法,其特徵在於,該基於該同步訊號判斷該取樣保持單元是否處於保持狀態,包括: 基於該同步訊號,判斷該第一脈動波形是否處於峰值或下降沿; 在判斷出該第一脈動波形處於峰值或下降沿的情況下,確定該取樣保持單元處於保持狀態。The charging control method according to any one of claims 28 to 31, wherein determining whether the sampling and holding unit is in a hold state based on the synchronization signal comprises: determining, based on the synchronization signal, Whether the first pulsation waveform is at a peak or a falling edge; and determining that the first pulsation waveform is at a peak or a falling edge, determining that the sample holding unit is in a hold state. 如申請專利範圍第32項所述之充電控制方法,其特徵在於,該基於該同步訊號,判斷該第一脈動波形是否處於峰值或下降沿,包括: 基於該同步訊號的電壓和參考電壓的比較結果,判斷該第一脈動波形是否處於峰值或下降沿。The charging control method of claim 32, wherein determining whether the first pulsation waveform is at a peak or a falling edge based on the synchronization signal comprises: comparing a voltage based on the synchronization signal with a reference voltage As a result, it is judged whether or not the first pulsation waveform is at a peak or a falling edge. 如申請專利範圍第32項所述之充電控制方法,其特徵在於,該基於該同步訊號,判斷該第一脈動波形是否處於峰值或下降沿,包括: 過濾該同步訊號中的直流訊號,得到過零點的交流訊號; 比較該交流訊號的電壓與一參考電壓; 基於該交流訊號的電壓和該參考電壓的比較結果,判斷該第一脈動波形是否處於峰值或下降沿,其中該參考電壓的電壓值為0。The charging control method of claim 32, wherein determining whether the first pulsation waveform is at a peak or a falling edge based on the synchronization signal comprises: filtering a DC signal in the synchronization signal, and obtaining a zero-point alternating current signal; comparing the voltage of the alternating current signal with a reference voltage; determining, based on a comparison result of the voltage of the alternating current signal and the reference voltage, whether the first ripple waveform is at a peak or a falling edge, wherein the voltage value of the reference voltage Is 0. 如申請專利範圍第28項至第34項中任一項所述之充電控制方法,其特徵在於,該第一脈動波形的週期與該同步訊號的週期相同。The charging control method according to any one of claims 28 to 34, wherein the period of the first pulsation waveform is the same as the period of the synchronization signal. 如申請專利範圍第27項至第35項中任一項所述之充電控制方法,其特徵在於,該方法還包括: 在採集到該第一脈動波形的電流的峰值之後,控制該取樣保持單元從保持狀態轉換至取樣狀態。The charging control method according to any one of claims 27 to 35, wherein the method further comprises: controlling the sampling and holding unit after collecting the peak value of the current of the first pulsation waveform Transition from hold to sample state. 如申請專利範圍第36項所述之充電控制方法,其特徵在於,該取樣保持單元包括一電容,該取樣保持單元基於該取樣保持單元中的電容保持該第一脈動波形的電流的峰值, 該控制該取樣保持單元從保持狀態轉換至取樣狀態,包括: 釋放該取樣保持單元中的電容兩端的電荷,從而使得該取樣保持單元從保持狀態轉換至取樣狀態。The charging control method according to claim 36, wherein the sampling and holding unit includes a capacitor, and the sampling and holding unit maintains a peak value of a current of the first pulsation waveform based on a capacitance in the sampling and holding unit, Controlling the sample hold unit to transition from the hold state to the sample state includes: releasing charge across the capacitor in the sample hold unit such that the sample hold unit transitions from the hold state to the sample state. 如申請專利範圍第27項至第37項中任一項所述之充電控制方法,其特徵在於,該適配器還包括一電壓調整單元,該電壓調整單元與該功率轉換單元相連,用於檢測並調整該適配器的輸出電壓; 該方法還包括: 通過該電壓調整單元,調整該第一脈動波形的電流的峰值。The charging control method according to any one of claims 27 to 37, wherein the adapter further comprises a voltage adjusting unit, the voltage adjusting unit is connected to the power converting unit, and is configured to detect and Adjusting the output voltage of the adapter; the method further comprises: adjusting a peak value of the current of the first pulsation waveform by the voltage adjusting unit. 如申請專利範圍第27項至第38項中任一項所述之充電控制方法,其特徵在於,該取樣保持單元包括: 一電流取樣單元,與該功率轉換單元相連,用於檢測該第一脈動波形的電流,得到取樣電流,並將該取樣電流轉換成取樣電壓,該取樣電壓用於指示該第一脈動波形的電流的大小; 一電流保持單元,與該電流取樣單元和該電流採集控制單元相連,該電流保持單元從該電流取樣單元接收該取樣電壓,並基於該取樣電壓為該電流保持單元中的電容充電; 該採集該取樣保持單元保持的該第一脈動波形的電流的峰值,包括: 通過採集該取樣保持單元中的電容兩端的電壓,獲取該第一脈動波形的電流的峰值。The charging control method according to any one of claims 27 to 38, wherein the sampling and holding unit comprises: a current sampling unit connected to the power conversion unit for detecting the first a current of the pulsating waveform, a sampling current is obtained, and the sampling current is converted into a sampling voltage, the sampling voltage is used to indicate a magnitude of a current of the first pulsation waveform; a current holding unit, the current sampling unit, and the current collection control Connected to the unit, the current holding unit receives the sampling voltage from the current sampling unit, and charges the capacitor in the current holding unit based on the sampling voltage; acquiring a peak value of the current of the first pulsation waveform held by the sample holding unit, The method includes: acquiring a peak value of a current of the first pulsation waveform by collecting a voltage across a capacitor in the sample and hold unit. 如申請專利範圍第27項39項中任一項所述之充電控制方法,其特徵在於,該採集該取樣保持單元保持的該第一脈動波形的電流的峰值,包括: 基於類比數位轉換器ADC採集該第一脈動波形的電流的峰值。The charging control method according to any one of claim 27, wherein the peak of the current of the first pulsation waveform held by the sampling and holding unit is included, comprising: an analog-based digital converter ADC The peak value of the current of the first pulsation waveform is acquired. 如申請專利範圍第27項至第40項中任一項所述之充電控制方法,其特徵在於,該第一脈動波形的電流為該適配器在該第二充電模式下的輸出電流, 該方法還包括: 在該適配器與待充電裝置連接的程序中,與該待充電裝置進行雙向通訊,以控制在該第二充電模式下的該適配器的輸出。The charging control method according to any one of claims 27 to 40, wherein the current of the first pulsation waveform is an output current of the adapter in the second charging mode, the method further The method includes: performing bidirectional communication with the device to be charged in a program connected to the device to be charged to control an output of the adapter in the second charging mode. 如申請專利範圍第41項所述之充電控制方法,其特徵在於,該與該待充電裝置進行雙向通訊,以控制在該第二充電模式下的該適配器的輸出的程序,包括: 與該待充電裝置進行雙向通訊,以協商該適配器與該待充電裝置之間的充電模式。The charging control method according to claim 41, characterized in that the program for bidirectional communication with the device to be charged to control the output of the adapter in the second charging mode comprises: The charging device performs two-way communication to negotiate a charging mode between the adapter and the device to be charged. 如申請專利範圍第42項所述之充電控制方法,其特徵在於,該與該待充電裝置進行雙向通訊,以協商該適配器與該待充電裝置之間的充電模式,包括: 向該待充電裝置發送一第一指令,該第一指令用於詢問該待充電裝置是否開啟該第二充電模式; 接收該待充電裝置發送的該第一指令的回覆指令,該第一指令的回覆指令用於指示該待充電裝置是否同意開啟該第二充電模式; 在該待充電裝置同意開啟該第二充電模式的情況下,使用該第二充電模式為該待充電裝置充電。The charging control method of claim 42, 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: Sending a first instruction, the first instruction is used to query whether the to-be-charged device turns on the second charging mode; receiving a reply instruction of the first instruction sent by the to-be-charged device, and the reply instruction of the first instruction is used to indicate Whether the device to be charged agrees to turn on the second charging mode; and in the case that the device to be charged agrees to turn on the second charging mode, the second charging mode is used to charge the device to be charged. 如申請專利範圍第41項至第43項中任一項所述之充電控制方法,其特徵在於,該與該待充電裝置進行雙向通訊,以控制在該第二充電模式下的該適配器的輸出的程序,包括: 與該待充電裝置進行雙向通訊,以確定在該第二充電模式下的該適配器輸出的用於對該待充電裝置進行充電的充電電壓; 對該適配器的輸出電壓進行調整,使該適配器的輸出電壓等於在該第二充電模式下的該適配器輸出的用於對該待充電裝置進行充電的充電電壓。The charging control method according to any one of claims 41 to 43 wherein the charging device performs two-way communication to control an output of the adapter in the second charging mode. The program includes: performing 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; adjusting an output voltage of the adapter, The output voltage of the adapter is made equal to the charging voltage output by the adapter in the second charging mode for charging the device to be charged. 如申請專利範圍第44項所述之充電控制方法,其特徵在於,該與該待充電裝置進行雙向通訊,以確定在該第二充電模式下的該適配器輸出的用於對該待充電裝置進行充電的充電電壓,包括: 向該待充電裝置發送一第二指令,該第二指令用於詢問該適配器的輸出電壓與該待充電裝置的電池的當前電壓是否匹配; 接收該待充電裝置發送的該第二指令的回覆指令,該第二指令的回覆指令用於指示該適配器的輸出電壓與該電池的當前電壓匹配、偏高或偏低。The charging control method according to claim 44, wherein the charging device performs two-way communication to determine the output of the adapter in the second charging mode for the device to be charged. Charging the charging voltage, comprising: sending a second instruction to the device to be charged, the second command for inquiring whether the output voltage of the adapter matches the current voltage of the battery of the device to be charged; receiving the sending of the device to be charged 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. 如申請專利範圍第41項至第45項中任一項所述之充電控制方法,其特徵在於,該與該待充電裝置進行雙向通訊,以控制在該第二充電模式下的該適配器的輸出的程序,包括: 與該待充電裝置進行雙向通訊,以確定在該第二充電模式下的該適配器輸出的用於對該待充電裝置進行充電的充電電流; 對該第一脈動波形的電流的峰值進行調整,使該第一脈動波形的電流的峰值等於在該第二充電模式下的該適配器輸出的用於對該待充電裝置進行充電的充電電流。The charging control method according to any one of claims 41 to 45, characterized in that the device to be charged is bidirectionally communicated to control the output of the adapter in the second charging mode. The program includes: performing two-way 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; current of the first pulsating waveform The peak is adjusted such that the peak value of the current of the first pulsation waveform is equal to the charging current output by the adapter in the second charging mode for charging the device to be charged. 如申請專利範圍第46項所述之充電控制方法,其特徵在於,該與該待充電裝置進行雙向通訊,以確定在該第二充電模式下的該適配器輸出的用於對該待充電裝置進行充電的充電電流,包括: 向該待充電裝置發送一第三指令,該第三指令用於詢問該待充電裝置當前支援的最大充電電流; 接收該待充電裝置發送的該第三指令的回覆指令,該第三指令的回覆指令用於指示該待充電裝置當前支援的最大充電電流; 根據該待充電裝置當前支援的最大充電電流確定在該第二充電模式下的該適配器輸出的用於對該待充電裝置進行充電的充電電流。The charging control method according to claim 46, wherein the charging device performs two-way communication to determine the output of the adapter in the second charging mode for the device to be charged. Charging the charging current, comprising: 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 reply command of the third instruction 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 The charging current to be charged by the charging device. 如申請專利範圍第41項至第47項中任一項所述之充電控制方法,其特徵在於,該與該待充電裝置進行雙向通訊,以控制在該第二充電模式下的該適配器的輸出的程序,包括: 在使用該第二充電模式充電的程序中,與該待充電裝置進行雙向通訊,以調整該第一脈動波形的電流的峰值。The charging control method according to any one of claims 41 to 47, wherein the charging device performs two-way communication to control an output of the adapter in the second charging mode. The program includes: in a program for charging using the second charging mode, performing bidirectional communication with the device to be charged to adjust a peak value of a current of the first pulsation waveform. 如申請專利範圍第48項所述之充電控制方法,其特徵在於,該與該待充電裝置進行雙向通訊,以調整該第一脈動波形的電流的峰值,包括: 向該待充電裝置發送的一第四指令,該第四指令用於詢問該待充電裝置的電池的當前電壓; 接收該適配器發送的該第四指令的回覆指令,該第四指令的回覆指令用於指示該電池的當前電壓; 根據該電池的當前電壓,調整該第一脈動波形的電流的峰值。The charging control method according to claim 48, characterized in that the two-way communication with the device to be charged to adjust the peak value of the current of the first pulsation waveform comprises: sending one to the device to be charged a fourth instruction, configured to query a current voltage of the battery of the device to be charged; receiving a reply command of the fourth command sent by the adapter, where the reply command of the fourth command is used to indicate a current voltage of the battery; The peak value of the current of the first pulsation waveform is adjusted according to the current voltage of the battery. 如申請專利範圍第27項至第49項中任一項所述之充電控制方法,其特徵在於,該適配器是用於為行動終端充電的適配器。The charging control method according to any one of claims 27 to 49, characterized in that the adapter is an adapter for charging a mobile terminal. 如申請專利範圍第27項至第50項中任一項所述之充電控制方法,其特徵在於,該適配器包括用於對充電程序進行控制的控制單元,該控制單元為微控制單元MCU。The charging control method according to any one of claims 27 to 50, characterized in that the adapter comprises a control unit for controlling a charging program, the control unit being a micro control unit MCU. 如申請專利範圍第27項至第51項中任一項所述之充電控制方法,其特徵在於,該適配器包括一充電介面,該充電介面為通用序列匯流排USB介面。The charging control method according to any one of claims 27 to 51, wherein the adapter comprises a charging interface, and the charging interface is a universal serial bus USB interface.
TW106124401A 2016-07-26 2017-07-20 Adapter and charging control method TWI635690B (en)

Applications Claiming Priority (4)

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

Publications (2)

Publication Number Publication Date
TW201804704A true TW201804704A (en) 2018-02-01
TWI635690B TWI635690B (en) 2018-09-11

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
TW106124400A TWI632755B (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
TW106124403A TWI661639B (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
TW106124337A TWI656708B (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
TW106124401A TWI635690B (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
TW106124393A TWI646754B (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
TW106124355A TWI651608B (en) 2016-07-26 2017-07-20 Adapter and charging control method

Family Applications Before (7)

Application Number Title Priority Date Filing Date
TW106124308A TWI625913B (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
TW106124399A TWI653520B (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
TW106124406A TWI661291B (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
TW106124390A TWI636358B (en) 2016-07-26 2017-07-20 Adapter and charging control method

Family Applications After (4)

Application Number Title Priority Date Filing Date
TW106124381A TWI657638B (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
TW106124370A TWI658675B (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

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

Family Cites Families (46)

* 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
US6025695A (en) * 1997-07-09 2000-02-15 Friel; Daniel D. Battery operating system
CN1079603C (en) * 1998-08-20 2002-02-20 苏永贵 Combined pulse charging method
JP2004260911A (en) * 2003-02-25 2004-09-16 Canon Inc Ac adapter
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
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
TWI251395B (en) 2004-11-12 2006-03-11 Niko Semiconductor Co Ltd Pulse width modulation apparatus by using output voltage feedback delay circuit to automatically change the output frequency
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
CN102364856B (en) * 2011-06-30 2013-10-16 成都芯源系统有限公司 Switching power supply and no-load control circuit and control method thereof
JP5810320B2 (en) * 2011-09-30 2015-11-11 パナソニックIpマネジメント株式会社 Lithium-ion battery charging method and battery-equipped device
WO2013114497A1 (en) * 2012-02-01 2013-08-08 パナソニック株式会社 Control device for power supply control system
JP5822304B2 (en) 2012-03-26 2015-11-24 ニチコン株式会社 Charger
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
TWM481439U (en) * 2014-03-14 2014-07-01 San-Shan Hong Switching power supply and protection device
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
MY176505A (en) * 2014-11-11 2020-08-12 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
CN104917271A (en) * 2015-06-19 2015-09-16 李�昊 Adapter
CN104967199B (en) * 2015-08-05 2018-07-10 青岛海信移动通信技术股份有限公司 Fast charge method and mobile terminal

Also Published As

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

Similar Documents

Publication Publication Date Title
WO2017133384A2 (en) Adapter and charging control method
CN107836067B (en) Adapter and charging control method
TWI635690B (en) Adapter and charging control method
WO2019056318A1 (en) Power supply circuit, power supply device, and control method