Electronic device adapter power supply circuit, chip and electronic device
Patent Information
- Application Number
- CN202611230710.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-13
- Publication Date
- 2026-10-23
AI Technical Summary
[0003]本申请提供一种电子设备适配器电源电路、芯片及电子设备,以解决相关技术中电源适配器在待机状态下,部分模块仍然需要工作造成能耗浪费的技术问题
[0015]通过上述第一方面提供的电子设备适配器电源电路,所述电子设备适配器电源电路包括:变压器、初级控制单元、次级控制单元、负载检测单元以及光耦元件;所述变压器的原边绕组的输入端,用于接收输入电压,所述初级控制单元设置在所述原边绕组所在初级回路中;所述次级控制单元设置在所述变压器的副边绕组所在的次级回路中,所述副边绕组的输出端,用于输出输出电压;所述负载检测单元设置在所述副边绕组的输出端上,用于检测所述副边绕组的输出端上是否接入负载,并将检测结果发送至所述次级控制单元;所述初级控制单元和所述次级控制单元通过所述光耦元件电连接,所述光耦元件还与所述输出端连接,以采样所述输出端上输出电压的反馈电压值;所述次级控制单元,用于在检测到所述输出端上未接入负载时,通过所述光耦元件向所述初级控制单元发送冬眠触发信号;所述初级控制单元,用于在收到所述冬眠触发信号后,通过所述光耦元件和所述次级控制单元之间进行至少一次通信握手,并在确定通信握手成功后控制所述变压器初级回路工作在冬眠模式下;所述次级控制单元,还用于在所述初级回路工作在冬眠模式下之后,控制所述次级回路也工作在冬眠模式下。可以看出,采用本申请提供的适配器电源电路,当次级控制单元检测到电源适配器电路的输出端上无负载接入时,则向所述初级控制单元发送冬眠触发信号;以使得初级控制单元和次级控制单元之间进行通信握手,并在通信握手成功后控制所述变压器初级回路和次级回路均工作在冬眠模式下,以达到节约能耗的目的,同时本申请通过增加光耦元件既可使得初级控制单元和次级控制单元实现通信握手,无需额外增加其他电路和功能模块,使得电源适配器电路整体电路结构简单,硬件成本较低。
Smart Images

Figure CN122969381A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electronic circuit technology, and in particular to an electronic device adapter power supply circuit, chip, and electronic device. Background Technology
[0002] With the development of electronic technology, people use more and more electronic products in their daily lives, inevitably leading to an increase in various charging needs. Nowadays, various electronic products are typically charged by connecting to the power grid using a power adapter. However, in actual applications, the time spent charging electronic products via the power adapter only accounts for a small portion of the power adapter's usage time. Most of the time, the power adapter is connected to the power grid but not connected to a load for charging. Even during this standby time, the power adapter still needs to perform basic output adjustments to ensure it can charge any connected load at any time. The relevant output adjustment modules must remain operational, resulting in wasted energy. With a large number of power adapters, this energy waste is considerable, necessitating solutions to avoid this problem. Therefore, the adapter power circuits provided in related technologies still have certain technical shortcomings and room for improvement. Summary of the Invention
[0003] This application provides a power supply circuit, chip, and electronic device for an electronic device adapter, in order to solve the technical problem in the related art where some modules of the power adapter still need to work in the standby state, resulting in energy waste.
[0004] In a first aspect, this application provides a power supply circuit for an electronic device adapter, the power supply circuit for the electronic device adapter including: a transformer, a primary control unit, a secondary control unit, a load detection unit, and an optocoupler; The input terminal of the primary winding of the transformer is used to receive the input voltage. The primary control unit is located in the primary circuit where the primary winding is located. The secondary control unit is located in the secondary circuit where the secondary winding of the transformer is located. The output terminal of the secondary winding is used to output the output voltage. The load detection unit is located at the output terminal of the secondary winding and is used to detect whether a load is connected to the output terminal of the secondary winding and send the detection result to the secondary control unit. The primary control unit and the secondary control unit are electrically connected through the optocoupler element. The optocoupler element is also connected to the output terminal to sample the feedback voltage value of the output voltage at the output terminal. The secondary control unit is used to send a hibernation trigger signal to the primary control unit through the optocoupler when it detects that no load is connected to the output terminal. The primary control unit is used to perform at least one communication handshake between the optocoupler and the secondary control unit after receiving the hibernation trigger signal, and to control the primary circuit of the transformer to work in hibernation mode after confirming that the communication handshake is successful. The secondary control unit is also configured to control the secondary circuit to operate in hibernation mode after the primary circuit has operated in hibernation mode.
[0005] In one possible design of this application, sending a hibernation trigger signal to the primary control unit via the optocoupler element includes: The secondary control unit actively pulls down the feedback voltage value output by the optocoupler and maintains it for a first duration in order to send a hibernation trigger signal to the primary control unit.
[0006] In one possible design of this application, the primary control unit is configured to perform at least one communication handshake between the optocoupler and the secondary control unit after receiving the hibernation trigger signal, including: The primary control unit is further configured to determine that it has received a hibernation trigger signal sent by the secondary control unit when it detects that the feedback voltage value output by the optocoupler element has been pulled down to a first voltage value and maintained for a first duration. The communication handshake between the primary control unit and the secondary control unit includes: After the primary control unit determines that it has received the hibernation trigger signal sent by the secondary control unit, the primary control unit actively sends two drive signal waves to the secondary circuit. After the secondary control unit detects the two consecutive drive signal waves, it removes the restriction of pulling the feedback voltage value down to the first voltage value, causing the feedback voltage value to gradually increase. The primary control unit is also used to actively and continuously send the drive signal wave to the secondary circuit again when it detects that the feedback voltage value has increased to the second reference voltage value; The secondary control unit is also used to actively pull the feedback voltage value down to the first voltage value again when the number of the driving signal waves detected is greater than or equal to three, and to determine that a communication handshake is successful.
[0007] In one possible design of this application, the primary control unit is further configured to control the primary circuit to enter a hibernation mode when it detects that the feedback voltage value output by the optocoupler is greater than the first reference voltage value and lasts for a second duration.
[0008] In one possible design of this application, the primary control unit and the secondary control unit perform a three-way communication handshake. If all three handshakes are successful, the primary control unit controls the primary circuit of the transformer to operate in hibernation mode.
[0009] In one possible design of this application, the primary control unit is further configured to, after each communication handshake failure with the secondary control unit, re-detect whether the feedback voltage value output by the optocoupler element has been pulled down to a first voltage value and maintained for a first duration, so as to re-perform the communication handshake.
[0010] In one possible design of this application, the secondary control unit is further configured to control the secondary circuit to exit the hibernation mode when a load is detected connected to the output terminal; at the same time, it sends an exit hibernation mode trigger signal to the primary control unit through the optocoupler element, and the primary control unit is further configured to control the primary circuit to exit the hibernation mode after detecting the exit hibernation mode trigger signal.
[0011] In one possible design of this application, sending an exit hibernation mode trigger signal to the primary control unit via the optocoupler element includes: When the secondary control unit detects a load connected to the output terminal, it actively pulls down the feedback voltage value output by the optocoupler to a first voltage value and maintains it for a third duration, wherein the third duration is shorter than the first duration. The primary control unit is further configured to, when it detects that the feedback voltage value output by the optocoupler is pulled down to a first voltage value and maintained for a third duration, determine that an exit hibernation mode trigger signal sent by the secondary control unit has been detected, and control the primary circuit to also exit hibernation mode.
[0012] In one possible design of this application, when both the secondary circuit and the primary circuit are operating in hibernation mode, the secondary control unit is further configured to detect that the voltage value at the output terminal of the secondary circuit is lower than a first preset voltage value, and then actively pull down the feedback voltage value output by the optocoupler to the first voltage value and maintain it for a fourth duration, and then pull up the feedback voltage value to a second voltage value; the fourth duration is longer than the third duration; The secondary control unit is further configured to send two consecutive drive signal waves to the secondary circuit when it detects that the feedback voltage value output by the optocoupler element is pulled down to the first voltage value, and to control the primary circuit to continue operating in hibernation mode when it detects that the feedback voltage value is pulled down to the first voltage value and continues for a fourth duration.
[0013] Secondly, this application also provides a chip, the chip including the power supply circuit of an electronic device adapter as described in any of the preceding claims.
[0014] Thirdly, this application also provides an electronic device, which includes an electronic device adapter power supply circuit as described in any of the preceding claims; or the electronic device includes a chip as described above.
[0015] The electronic device adapter power supply circuit provided in the first aspect above includes: a transformer, a primary control unit, a secondary control unit, a load detection unit, and an optocoupler; the input terminal of the primary winding of the transformer is used to receive input voltage, and the primary control unit is disposed in the primary circuit where the primary winding is located; the secondary control unit is disposed in the secondary circuit where the secondary winding of the transformer is located, and the output terminal of the secondary winding is used to output output voltage; the load detection unit is disposed on the output terminal of the secondary winding, used to detect whether a load is connected to the output terminal of the secondary winding, and send the detection result to the secondary control unit; the primary control unit and the secondary control unit are disposed in the primary circuit where the secondary winding is located, and the load detection unit is disposed on the output terminal of the secondary winding, used to detect whether a load is connected to the output terminal of the secondary winding, and send the detection result to the secondary control unit; the primary control unit and the secondary control unit are disposed in the primary circuit where the secondary winding is located, and the load detection unit is disposed in the secondary ... The secondary control unit is electrically connected via the optocoupler, which is also connected to the output terminal to sample the feedback voltage value of the output voltage at the output terminal. The secondary control unit is used to send a hibernation trigger signal to the primary control unit via the optocoupler when it detects that no load is connected to the output terminal. Upon receiving the hibernation trigger signal, the primary control unit is used to perform at least one communication handshake between the primary control unit and the secondary control unit via the optocoupler, and control the primary circuit of the transformer to operate in hibernation mode after confirming a successful communication handshake. The secondary control unit is also used to control the secondary circuit to also operate in hibernation mode after the primary circuit is operating in hibernation mode. As can be seen, using the adapter power supply circuit provided in this application, when the secondary control unit detects that no load is connected to the output terminal of the power adapter circuit, it sends a hibernation trigger signal to the primary control unit; so that the primary control unit and the secondary control unit can communicate and handshake, and after the communication handshake is successful, the primary circuit and the secondary circuit of the transformer are controlled to work in hibernation mode to save energy. At the same time, this application can enable the primary control unit and the secondary control unit to achieve communication handshake by adding an optocoupler element, without the need to add other circuits and functional modules, so that the overall circuit structure of the power adapter circuit is simple and the hardware cost is low.
[0016] The beneficial effects provided by the other aspects and the various possible designs of the other aspects can be found in the beneficial effects of the first aspect and the various possible implementations of the first aspect, and will not be repeated here. Attached Figure Description
[0017] Figure 1 A schematic diagram of the power adapter circuit structure provided for the related technologies of this application; Figure 2 This is one of the schematic diagrams of the power supply circuit structure of the electronic device adapter provided in the embodiments of this application; Figure 3 A flowchart illustrating the process of the power adapter circuit entering hibernation mode provided in this application embodiment; Figure 4 A flowchart illustrating the communication handshake process for the power adapter circuit in hibernation mode provided in this application embodiment; Figure 5 A schematic diagram illustrating the process of the power adapter circuit exiting hibernation mode provided in this application embodiment; Figure 6 The waveform diagram of the trigger signal for the power adapter circuit to exit hibernation mode provided in the embodiments of this application; Figure 7 A schematic diagram of the power adapter circuit in hibernation mode provided in the embodiments of this application; Figure 8 This is a schematic diagram of some signal waveforms of the power adapter circuit provided in the embodiment of this application operating in hibernation mode; Figure 9 This is a second schematic diagram of the power supply circuit structure of the electronic device adapter provided in the embodiments of this application. Detailed Implementation
[0018] In this application, "at least one" means one or more, and "more than one" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c alone can mean: a alone, b alone, c alone, a combination of a and b, a combination of a and c, a combination of b and c, or a, b, and c, where a, b, and c can be single or multiple. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.
[0019] The terms “center,” “longitudinal,” “lateral,” “up,” “down,” “left,” “right,” “front,” and “rear,” etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are used only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this application.
[0020] The terms "connected" and "connected" should be interpreted broadly. For example, in circuit structures, "connected" or "connected" can refer not only to physical connections but also to electrical or signal connections. This could be a direct connection (physical connection) or an indirect connection via at least one intermediate component, as long as the circuit is connected. It could also refer to the internal connection between two components. Similarly, a signal connection can refer to a connection via a circuit or a medium, such as radio waves. Those skilled in the art will understand the specific meaning of these terms in this application based on the specific circumstances.
[0021] The transistor in this application is a three-terminal transistor, with its three terminals being a control terminal, a first terminal, and a second terminal. The transistor can be a bipolar transistor (BPT) or a field-effect transistor (FET), etc. For example, when the transistor is a BPT, its control terminal is the base of the BPT, the first terminal can be the collector or emitter of the BPT, and the corresponding second terminal can be the emitter or collector of the BPT; when the transistor is a FET, its control terminal is the gate of the FET, the first terminal can be the drain or source of the FET, and the corresponding second terminal can be the source or drain of the FET.
[0022] Nowadays, various electronic products are typically charged using power adapters connected to the power grid. However, in real-world applications, the time spent charging via power adapters only accounts for a small portion of the adapter's usage time. Most of the time, the power adapter is connected to the grid but not connected to a load for charging. Even during this standby period, the power adapter still needs to perform basic output adjustments to ensure it can charge any connected load. The relevant output adjustment modules remain operational, resulting in wasted energy. With numerous power adapters, this energy waste is considerable, necessitating solutions to avoid this problem. One common technical solution involves introducing a load detection signal transmission unit in the secondary circuit to detect whether the adapter is connected to a load and notify the primary circuit. When no load is detected, the load detection unit notifies the secondary control unit to enter hibernation mode, simultaneously notifying the primary control unit on the other side to enter hibernation mode as well. In this mode, the primary control unit ceases precise output adjustment and shuts down most circuit modules, thus saving power.
[0023] Figure 1 For a schematic diagram of the power adapter circuit structure provided for the related technology of this application, please refer to [link / reference]. Figure 1As shown, the power adapter circuit for electronic devices provided in the related technology includes a first transformer T1, a primary-side control unit 11, a secondary-side control unit 12, a first load detection unit 13, a loop control unit 14, an output hysteresis control unit 15, a load detection signal transmission unit 16, and a primary-side drive signal transmission unit 17. The same-named terminal of the primary winding of the first transformer T1 is the positive input terminal, used to connect to the input DC voltage signal VIN1. The opposite-named terminal of the primary winding is connected to the drain of the first transistor Q1. The source of the first transistor Q1 is connected to the first terminal of the first resistor R1, the second terminal of the first resistor R1 is grounded, and the gate of the first transistor Q1 is connected to the corresponding control pin on the primary-side control unit. Furthermore, the first terminal of the first resistor R1 is connected to the corresponding voltage sampling pin on the primary-side control unit 11, and the second terminal of the first resistor R1 is connected to a common ground. Thus, the primary-side control unit 11 can determine the magnitude of the current and voltage values in the primary circuit by sampling the voltage value at the first terminal of the first resistor R1. The second end of the first resistor R1 is connected to the negative input terminal, and together with the positive input terminal, it receives the first input voltage VIN1 to power the entire power adapter circuit.
[0024] In addition, the power adapter circuit provided in this embodiment also includes a first capacitor C1, a second capacitor C2, a first diode D1, and a first power-taking winding L1. The second end of the first resistor R1 is connected to the first end of the first capacitor C1, the second end of the first capacitor C1 is connected to the negative terminal of the first diode D1, the positive terminal of the first diode D1 is connected to the opposite-named terminal of the first power-taking winding L1, and the same-named terminal of the first power-taking winding L1 is connected to the second end of the first resistor R1 and the first end of the first capacitor C1, respectively. It can be understood that the first power-taking winding L1 is used to draw power from the primary winding of the first transformer L1 to supply power to the primary-side control unit 11, enabling the primary-side control unit 11 to operate normally. The first capacitor C1 mainly plays a voltage stabilizing role, ensuring a stable power supply voltage to the primary-side control unit 11 and preventing damage to the primary-side control unit 11. The first diode D1 mainly serves to prevent reverse current from damaging electronic components. During the operation of this power adapter circuit, the primary-side control unit 11 is mainly used to control the on / off state of the primary circuit and its operating mode, thereby determining whether to provide function to the secondary circuit. The secondary-side control unit 12 is mainly used to determine whether a load is connected based on the voltage at the output terminal of the secondary circuit, thereby controlling the operating mode of the secondary circuit to achieve energy saving. The first terminal of the second capacitor C2 is connected to the positive terminal of the output, and the second terminal of the second capacitor C2 is connected to the negative terminal of the output. The second capacitor C2 serves to stabilize the output voltage Vo, ensuring the stability of the output voltage.
[0025] Please continue to see Figure 1 As shown, in the power adapter circuit provided in this embodiment, a first load detection unit 13 is provided on the output terminal of the secondary circuit. The two detection terminals of the first load detection unit 13 are respectively set on the positive and negative output terminals of the output terminal. The detection result output terminal of the first load detection unit 13 is connected to the sampling terminal on the secondary control unit 12. The first load detection unit 13 is mainly used to detect whether there is a load connected to the output terminal of the secondary circuit and send the detection result to the secondary control unit 12. The secondary control unit 12 can determine the working mode of the secondary circuit according to whether there is a load connected to the output terminal of the secondary circuit. For example, when the first load detection unit 13 detects that there is no load connected to the secondary circuit, it controls most of the functional units in the secondary circuit to be in a sleep state, thereby saving energy.
[0026] The power adapter circuit provided in this embodiment also includes a loop control unit 14, an output hysteresis control unit 15, a load detection signal transmission unit 16, and a primary-side drive signal transmission unit 17. Both the loop control unit 14 and the output hysteresis control unit 15 are located at the output terminal of the secondary circuit to control the output voltage of the secondary circuit. The input terminal of the load detection signal transmission unit 16 is connected to the output terminal of the first load detection unit 13 to receive the result from the first load detection unit 13, i.e., whether a load is connected to the output terminal of the secondary circuit, and sends the detection result to the load detection signal transmission unit 16. The output terminal of the load detection signal transmission unit 16 is connected to the corresponding terminal on the primary-side control unit 11. The load detection signal transmission unit 16 is mainly responsible for sending the detection result to the primary-side control unit 11. The primary-side control unit 11 determines the operating mode of the primary circuit and the power supply mode from the primary circuit to the secondary circuit based on the detection result (whether a load is connected to the output terminal of the secondary circuit).
[0027] When the first load detection unit 13 in the secondary circuit detects that the adapter is not connected to a load, it first notifies the relevant control unit in the secondary circuit to enter hibernation mode. Then, it also needs to notify the primary control unit to enter hibernation mode. For this purpose, an additional load detection signal transmission unit 16 is required to transmit the signal from the secondary side to the electrically isolated other side. This increases the cost of the entire system.
[0028] The sampling terminals of the loop control unit 14 and the output hysteresis control unit 15 are also located at the output terminals of the secondary circuit. The output terminals of both the loop control unit 14 and the output hysteresis control unit 15 are connected to the input terminal of the primary-side drive signal transmission unit 17, and the output terminal of the primary-side drive signal transmission unit 17 is connected to the primary-side control unit 11. Additionally, the power adapter circuit includes a second capacitor C2, whose two ends are connected to the positive and negative terminals of the output terminal, respectively. The second capacitor C2 primarily serves to stabilize the voltage at the output terminal.
[0029] Please continue to see Figure 1 As shown, it can be understood that the first transistor Q1 in this embodiment is an NMOS (N-Metal-Oxide-Semiconductor) transistor. In other embodiments, the first transistor Q1 can also be a GaN (Gallium Nitride) device or a Silicon Carbide (SiC) device. The primary-side control unit 11 can output a corresponding drive signal to pull up or pull down the voltage on the gate of the first transistor Q1, thereby controlling the conduction or turn-off of the first transistor Q1, and thus controlling the conduction or turn-off of the primary circuit where the primary winding is located. When the primary circuit where the primary winding is located is in the conducting state, energy can be transferred to the secondary circuit through the first transformer T1. After the first transistor Q1 in the primary circuit is turned off, the secondary circuit is turned on, and energy is transferred from the primary circuit to the secondary circuit.
[0030] To overcome the shortcomings of the aforementioned related technologies, this application proposes a power adapter circuit for electronic devices. On one hand, to reduce the hardware cost of the circuit, this application reuses common optocouplers. These optocouplers function as loop regulators during normal system operation and simultaneously notify the primary circuit to enter sleep mode via the feedback voltage value output by the optocoupler. Therefore, when the secondary side detects that it should enter sleep mode, it does not require an additional active drive signal transmission unit 17; it can notify the primary side to enter sleep mode simply by reusing the optocoupler itself. Similarly, the primary side can also notify the secondary side to exit sleep mode via the optocoupler, thus saving system costs. On the other hand, to avoid the situation where the primary side incorrectly judges and mistakenly switches to sleep mode when the loop adjusts the feedback voltage value output by the optocoupler itself, only notifying the primary side to enter sleep mode via the feedback voltage value output by the optocoupler, this solution introduces a handshake mechanism between the primary and secondary sides to ensure that both the primary and secondary sides successfully enter sleep mode and prevent incorrect entry into sleep mode. The hibernation mode application scheme proposed in this application can realize the judgment of hibernation mode entry and exit, as well as the maintenance of system output voltage in hibernation mode, without increasing the system cost. At the same time, the circuit is simpler, more efficient, and more reliable, making it extremely suitable for low-cost hibernation mode solutions.
[0031] Figure 2 For one of the schematic diagrams of the power circuit structure of the electronic device adapter provided in the embodiments of this application, please refer to [link / reference]. Figure 2As shown in the figure, this application provides a power supply circuit for an electronic device adapter. The power supply circuit includes: a second transformer T2, a primary control unit 21, a secondary control unit 22, a second load detection unit 23, and an optocoupler 24. The input terminal of the primary winding of the second transformer T2 is used to receive a second input voltage VIN2. The primary control unit 21 is located in the primary circuit where the primary winding is located. The secondary control unit 22 is located in the secondary circuit where the secondary winding of the second transformer T2 is located. The output terminal of the secondary winding is used to output an output voltage VOUT. The second load detection unit 23 is located at the output terminal of the secondary winding, and the output terminal of the second load detection unit 23 is connected to the secondary control unit 24. The corresponding detection result receiving terminal on the control unit 22 is connected to the second load detection unit 23, which is used to detect whether a load is connected to the output terminal of the secondary winding and send the detection result to the secondary control unit 22; the primary control unit 21 and the secondary control unit 22 are electrically connected through the optocoupler 24, which is also connected to the output terminal to sample the feedback voltage value VFB corresponding to the output voltage VOUT on the output terminal; the optocoupler 24 can be specifically understood as a sampling amplifier circuit or sampling amplifier, which can sample the output voltage VOUT on the output terminal and amplify it to obtain the corresponding feedback voltage value VFB, so that the feedback voltage value VFB can reflect the magnitude and change of the output voltage VOUT.
[0032] In one embodiment of this application, the secondary control unit 22 is configured to send a hibernation trigger signal to the primary control unit 21 via the optocoupler 24 when no load is detected on the output terminal; the primary control unit 21 is configured to, upon receiving the hibernation trigger signal, perform at least one communication handshake between the optocoupler 24 and the secondary control unit 22, and control the primary circuit of the second transformer T2 to operate in hibernation mode after confirming that the communication handshake is successful; the secondary control unit 22 is further configured to, after the primary circuit operates in hibernation mode, control the secondary circuit to also operate in hibernation mode.
[0033] As can be seen, using the adapter power circuit provided in this embodiment, when the secondary control unit 22 detects that no load is connected to the output terminal of the power adapter circuit, it sends a hibernation trigger signal to the primary control unit 21; so that the primary control unit 21 and the secondary control unit 22 can communicate and handshake, and after the communication handshake is successful, the primary circuit and the secondary circuit of the second transformer T2 are controlled to work in hibernation mode to save energy. At the same time, this embodiment can enable the primary control unit 21 and the secondary control unit 22 to achieve communication handshake by adding an optocoupler element 24, without the need to add other circuits and functional modules, making the overall circuit structure of the power adapter circuit simple and the hardware cost low.
[0034] In one embodiment of this application, the primary control unit 21 and the secondary control unit 22 communicate using an optocoupler 24. In this embodiment, the optocoupler 24 serves both as a regulating loop and as a trigger signal to the primary control unit 21 to enter hibernation mode. A second load detection unit 23 in the secondary circuit determines whether a load is connected to the output terminal of the secondary circuit, i.e., whether an electronic device is connected to the charging terminal of the power adapter, and then decides whether to enter hibernation mode. When the second load detection unit 23 detects that no load is connected to the output terminal of the secondary circuit, it notifies the secondary control unit 22 to enter hibernation mode. Simultaneously, to notify the primary side, the secondary control unit 22 continuously lowers the feedback voltage value VFB output by the optocoupler 24. After detecting that the feedback voltage value VFB has been lowered by the secondary control unit 22 and maintained for a first duration, the primary control unit 21 actively initiates a communication handshake with the secondary control unit 22 to inquire whether it truly needs to enter hibernation mode. Specifically, the primary control unit 21 notifies the secondary control unit 22 to initiate a communication handshake by actively transmitting a waveform (turning on the second transistor Q2 on the primary side). When the secondary control unit 22 detects the waveform from the primary side, it releases the restriction on actively pulling down the feedback voltage value VFB. This causes the feedback voltage value VFB on the secondary side to gradually increase. When the primary control unit 21 detects that the feedback voltage value VFB on the secondary side has been pulled up to a preset value (e.g., the second reference voltage Vref2), it determines that the handshake is successful. If the number of successful handshakes reaches the preset number, the primary control unit 21 controls the primary side to enter a hibernation mode. If, during the communication handshake phase, the primary control unit 21 fails to detect the feedback voltage value VFB on the secondary side rising to the preset value within a set time, or if the primary control unit 21 detects that the time for pulling up the feedback voltage value VFB on the secondary side is outside the set time, the handshake is considered a failure, and the primary control unit 21 refreshes the timer, waiting for the next trigger to initiate a communication handshake. Additionally, if the secondary control unit 22 does not detect a waveform from the primary side for a period of time, the secondary control unit 22 also controls the secondary side to enter a hibernation mode. This judgment strategy can effectively avoid the situation where the optocoupler is pulled low due to loop self-adjustment, thus causing the system to mistakenly enter hibernation mode. After the system has entered hibernation mode, it will perform coarse adjustments to the output and prepare for exiting hibernation mode.
[0035] In one embodiment of this application, the secondary control unit 22 sends a hibernation trigger signal to the primary control unit 21 through the optocoupler 24, including: the secondary control unit 22 actively pulls down the feedback voltage value VFB output by the optocoupler 24 and maintains it for a first duration to send the hibernation trigger signal to the primary control unit 21.
[0036] Understandably, when the second load detection unit 23 detects that no load is currently connected to the output terminal of the secondary winding, it sends the detection result to the secondary control unit 22. The primary control unit 21 and the secondary control unit 22 are electrically connected through the optocoupler 24. In order to save power consumption of the adapter power circuit, it is necessary to control the adapter power circuit to enter hibernation mode at this time, and only the most basic individual functional units of the adapter power circuit need to be maintained. Since there is no direct communication link between the secondary control unit 22 and the primary control unit 21, this embodiment proposes to use the method of the secondary control unit 22 sending a hibernation trigger signal to the primary control unit 21 through the optocoupler 24 to inform the primary control unit 21 that it needs to switch to hibernation mode.
[0037] It is understood that the hibernation trigger signal sent by the secondary control unit 22 to the primary control unit 21 through the optocoupler 24 can take various forms, as long as the secondary control unit 22 and the primary control unit 21 agree on the trigger form in advance. This embodiment provides a simple and easy-to-implement form. Since one control terminal of the secondary control unit 22 is directly electrically connected to the output terminal of the optocoupler 24, and the output terminal of the optocoupler 24 is mainly used to output the sampled feedback voltage value VFB, in this embodiment, the secondary control unit 22 can output a voltage pull-down control signal to control the feedback voltage value VFB output by the optocoupler 24 to be pulled down to a preset first voltage value, and this state is maintained for a preset first duration. Since the output of the optocoupler 24 is also connected to the voltage detection pin of the primary control unit 21, the voltage detection pin of the primary control unit 21 can detect that the feedback voltage value VFB on the output of the optocoupler 24 is pulled down to a preset first voltage value, and this state is maintained for a preset first duration. Then, according to the triggering mode agreed upon in advance by the secondary control unit 22 and the primary control unit 21, it can be determined that the secondary control unit 22 has sent a hibernation trigger signal to the primary control unit 21, indicating that there is no load connected to the output of the secondary circuit and the control circuit needs to switch to hibernation mode to save power consumption.
[0038] It should be noted that the secondary control unit 22 pulls the feedback voltage value VFB down to a preset first voltage value, and maintains this state for a preset first duration. The first voltage value can be set according to the actual application scenario, and is not limited here. Similarly, the preset first duration of maintaining this state can also be set according to the actual application scenario, and is not limited here.
[0039] In one embodiment of this application, the primary control unit 21 is configured to perform at least one communication handshake between the optocoupler 24 and the secondary control unit 22 after receiving the hibernation trigger signal, including: The primary control unit 22 is further configured to determine that it has received a hibernation trigger signal sent by the secondary control unit 22 when it detects that the feedback voltage value VFB output by the optocoupler element 24 has been pulled down to a first voltage value and maintained for a first duration, and then the primary control unit 21 and the secondary control unit 22 perform a communication handshake. Specifically, a communication handshake between the primary control unit 21 and the secondary control unit 22 includes: After the primary control unit 21 receives the hibernation trigger signal sent by the secondary control unit 22, it actively sends two consecutive drive signal waves (DRVs) to the secondary circuit. After detecting the two consecutive drive signal waves, the secondary control unit 22 removes the restriction of pulling the feedback voltage value VFB down to the first voltage value, that is, it releases the feedback voltage value VFB and no longer actively controls the feedback voltage value VFB to be pulled down, so that the feedback voltage value VFB gradually increases. The primary control unit 21 is also used to actively send the drive signal waves (DRVs) to the secondary circuit again when it detects that the feedback voltage value VFB has increased to the second reference voltage value Vref2. The secondary control unit 22 is also used to actively pull the feedback voltage value VFB down to the first voltage value again when it detects that the number of drive signal waves (DRVs) is greater than or equal to three, and determines that a communication handshake is successful.
[0040] In one embodiment of this application, the primary control unit 21 and the secondary control unit 22 perform a three-way communication handshake. If all three handshakes are successful, the primary control unit 21 controls the primary circuit of the transformer to operate in hibernation mode.
[0041] In one embodiment of this application, the primary control unit 21 is further configured to control the primary circuit to enter a hibernation mode when, after three successful communication handshakes, it is detected that the feedback voltage value VFB output by the optocoupler element 24 is greater than the first reference voltage value Vref1 and lasts for a second duration.
[0042] In one embodiment of this application, the primary control unit 21 is further configured to re-detect whether the feedback voltage value VFB output by the optocoupler element 24 has been pulled down to a first voltage value and maintained for a first duration after each communication handshake failure with the secondary control unit 22, so as to re-perform the communication handshake.
[0043] Figure 3 For a flowchart illustrating the process of the power adapter circuit entering hibernation mode as provided in this application embodiment, please refer to [link / reference]. Figure 3As shown, the secondary circuit uses a second load detection unit 23 to determine whether a load is connected to the output terminal of the secondary circuit, i.e., whether an electronic device is connected to the charging terminal of the power adapter, and then decides whether to enter hibernation mode. When the second load detection unit 23 detects that a load is connected to the output terminal of the secondary circuit, the primary control unit 21 and the secondary control unit 22 operate normally, controlling the power adapter circuit to adjust the output normally. Specifically, the output voltage can be adjusted according to the size of the load. When the second load detection unit 23 detects that no load is connected to the output terminal of the secondary circuit, the second load detection unit 23 notifies the secondary control unit 22 to enter hibernation mode. At the same time, in order to notify the primary side, the secondary control unit 22 will continuously pull down the feedback voltage value VFB output by the optocoupler 24. After the primary control unit 21 detects that the feedback voltage value VFB is pulled down by the secondary control unit 22 and maintained for a first duration, it will actively communicate with the secondary control unit 22 to ask whether the secondary control unit 22 really needs to enter hibernation mode. Specifically, the primary control unit 21 notifies the secondary control unit 22 to perform a communication handshake by actively transmitting a wave (turning on the second transistor Q2 on the primary side). When the secondary control unit 22 detects the wave transmitted on the primary side, it will release the restriction on actively pulling down the feedback voltage value VFB. In this way, the feedback voltage value VFB on the secondary side will gradually increase. At this time, the primary control unit 21 detects that the feedback voltage value VFB on the secondary side has been pulled up to a preset value (for example, the second reference voltage Vref2), and then determines that the handshake is successful. If the number of successful handshakes reaches the preset number, the primary control unit 21 controls the primary side to enter a hibernation mode. Specifically, in this embodiment, the primary control unit 21 and the secondary control unit 22 will perform a three-way communication handshake. After the primary control unit 21 determines that the first communication handshake is successful, it will continue to wait for the secondary control unit 22 to pull down the feedback voltage value VFB to trigger the primary control unit 22 to actively perform the second communication handshake. After the primary control unit 21 determines that the second communication handshake is successful, it will continue to wait for the secondary control unit 22 to pull down the feedback voltage value VFB to trigger the primary control unit 22 to actively perform the third communication handshake. Only when all three communication handshakes are successful will the primary control unit 21 control the primary side to enter a hibernation mode. At the same time, the secondary control unit 22 will also control the secondary side to turn off the optocoupler element 24 to achieve energy saving. If, during the communication handshake phase, the primary control unit 21 does not detect that the feedback voltage value VFB on the secondary side rises to the preset value within the set time, or if the primary control unit 21 detects that the feedback voltage value VFB on the secondary side rises for a time outside the set time, it will be considered a handshake failure. The primary control unit 21 will refresh the timer and wait for the next trigger to perform a communication handshake. In addition, if the secondary control unit 22 does not detect a primary side wave for a period of time, the secondary control unit 22 will also control the secondary side to enter hibernation mode.This judgment strategy can effectively avoid the situation where the optocoupler is pulled down due to the loop's own adjustment, thus causing it to mistakenly enter hibernation mode.
[0044] Figure 4 The communication handshake flowchart for the power adapter circuit in hibernation mode provided in the embodiments of this application is shown in the following figure. Figure 4 The diagram illustrates the entire process of the system entering hibernation mode; please refer to [link / reference]. Figure 4 As shown, the process of the power adapter circuit entering hibernation mode specifically includes: Step 1: The second load detection unit 23 on the secondary side detects that no load is connected to the output terminal and sends the detection result to the secondary control unit 22. The secondary control unit 22 controls the secondary side to enter the hibernation mode. At the same time, the secondary control unit 22 sends a hibernation mode trigger signal to the primary control unit 21. Specifically, the secondary control unit 22 actively maintains the feedback voltage value VFB output by the optocoupler 24 to the first voltage value and maintains it for a first duration T0, and then waits for the primary control unit 21 to initiate a communication handshake.
[0045] Step 2: The primary control unit 21 detects through the voltage detection terminal that the feedback voltage value VFB output by the optocoupler 24 has been pulled down to the first voltage value and maintained for more than the first duration T0. It then starts to send the first communication handshake signal to the secondary control unit 22: The primary control unit 21 controls the second transistor Q2 to turn on, thereby turning on the primary circuit, and thus actively sends two drive signal waves DRV to the secondary side. After the secondary control unit 22 detects the two drive signal waves DRV, it releases the feedback voltage value VFB, that is, it cancels the restriction of pulling the feedback voltage value VFB down to the first voltage value. At this time, the feedback voltage value VFB will gradually increase. When the primary control unit 21 detects that the feedback voltage value VFB is greater than the preset second reference voltage Vref2, the primary control unit 21 is triggered by the secondary side to send continuous drive signal waves DRV again. When the secondary control unit 22 detects that the number of received drive signal waves DRV is ≥3, it actively pulls down the feedback voltage value VFB output by the optocoupler 24 to the first voltage value again, waiting for the primary control unit 21 to be triggered to initiate the second communication handshake. If, after the primary control unit 21 actively sends two drive signal waves (DRV), and the secondary control unit 22 does not detect the secondary control unit 22 raising the feedback voltage value VFB during the second duration T1, the primary control unit 21 determines that the handshake has failed, refreshes the first duration T0, and starts the handshake again. If, after the primary control unit 21 actively sends two drive signal waves (DRV), and the secondary control unit 22 raises the feedback voltage value VFB during the second duration T1, but the duration of the secondary control unit 22 raising the feedback voltage value VFB is longer than the second duration T1, the primary control unit 21 will also determine that the handshake has failed, refresh the first duration T0, and wait for the next trigger to initiate the communication handshake.
[0046] Step 3: Second Communication Handshake: After the primary control unit 21 detects that the feedback voltage value VFB has been pulled low for the fifth time interval T2, it initiates the second communication handshake. The primary control unit 21 controls the second transistor Q2 to turn on, thereby turning on the primary circuit and actively sending two drive signal waves DRV to the secondary side. After the secondary control unit 22 detects the two drive signal waves DRV, it releases the feedback voltage value VFB, that is, it removes the restriction that the feedback voltage value VFB is pulled low to the first voltage value. At this time, the feedback voltage value VFB will gradually increase. When the primary control unit 21 detects that the feedback voltage value VFB is greater than the preset second reference voltage Vref2, the primary control unit 21 is triggered by the secondary side to send continuous drive signal waves DRV again. When the secondary control unit 22 detects that the number of drive signal waves DRV sent by the primary control unit 21 is ≥3, the secondary control unit 22 actively pulls down the feedback voltage value VFB and waits to initiate the third communication handshake. If the second communication handshake fails, the first time interval T0 is refreshed, and the handshake starts again. In this embodiment, the method for judging the failure of the second handshake is the same as the judgment condition for the failure of the first handshake, and will not be repeated here.
[0047] Step 4: Third Communication Handshake: After the primary control unit 21 detects that the feedback voltage VFB has been pulled low for the fifth time interval T3, it initiates the third communication handshake. The primary control unit 21 controls the second transistor Q2 to turn on, thereby turning on the primary circuit and actively sending two drive signal waves DRV to the secondary side. After the secondary control unit 22 detects the two drive signal waves DRV, it releases the feedback voltage VFB, that is, it removes the restriction that the feedback voltage VFB has been pulled low to the first voltage value. At this time, the feedback voltage VFB will gradually increase. When the primary control unit 21 detects that the feedback voltage VFB > the first reference voltage Vref1 within the second time interval T1, the primary control unit 21 controls the primary side to enter hibernation mode. If the third handshake fails, the first time interval T0 is refreshed, and the handshake is waited for again.
[0048] Step 5: The secondary control unit 22 releases the feedback voltage value VFB, that is, it removes the restriction of pulling the feedback voltage value VFB down to the first voltage value. The secondary control unit 22 detects that the primary control unit 21 has not sent the drive signal wave DRV within the time T4. Then the secondary control unit 22 controls the secondary side to enter the hibernation mode.
[0049] In the above process of this embodiment, if any handshake condition is not met, the first duration T0 will be refreshed, so that the secondary side and the primary side can start the handshake again.
[0050] In one embodiment of this application, the secondary control unit 22 is further configured to control the secondary circuit to exit the hibernation mode when a load is detected connected to the output terminal; at the same time, it sends an exit hibernation mode trigger signal to the primary control unit 21 through the optocoupler 24. The primary control unit 21 is further configured to control the primary circuit to exit the hibernation mode after detecting the exit hibernation mode trigger signal.
[0051] In one embodiment of this application, sending an exit hibernation mode trigger signal to the primary control unit 21 via the optocoupler 24 specifically includes: When the secondary control unit 21 detects a load connected to the output terminal, it actively pulls down the feedback voltage value VFB output by the optocoupler 24 to a first voltage value and maintains it for a third duration T5, wherein the third duration T5 is less than the first duration T0; the primary control unit 21 is also used to determine that it has detected an exit hibernation mode trigger signal sent by the secondary control unit 22 when it detects that the feedback voltage value output by the optocoupler 24 has been pulled down to the first voltage value and maintained for a third duration T5, and to control the primary circuit to also exit hibernation mode.
[0052] Figure 5 For a schematic diagram of the power adapter circuit exiting hibernation mode provided in this application embodiment, please refer to [link / reference]. Figure 5 As shown, when the second load detection unit 23 detects that no load is connected to the output terminal, the primary control unit 21 and the secondary control unit 22 respectively control the primary side and the secondary side to continue to maintain the hibernation mode; when the second load detection unit 23 detects that a load is connected to the output terminal, the secondary control unit 22 controls the secondary circuit to exit the hibernation mode; at the same time, the primary control unit 21 sends an exit hibernation mode trigger signal to the primary control unit 21 through the optocoupler 24. The primary control unit 21 is also used to control the primary circuit to exit the hibernation mode after detecting the exit hibernation mode trigger signal. Specifically, when the secondary control unit 21 detects a load connected to the output terminal, it actively pulls down the feedback voltage value VFB output by the optocoupler 24 to a first voltage value and maintains it for a third duration T5, wherein the third duration T5 is less than the first duration T0; the primary control unit 21 is also used to determine that it has detected an exit hibernation mode trigger signal sent by the secondary control unit 22 when it detects that the feedback voltage value output by the optocoupler 24 has been pulled down to the first voltage value and maintained for a third duration T5, and to control the primary circuit to also exit hibernation mode.
[0053] Figure 6 The waveform diagram of the trigger signal for the power adapter circuit to exit hibernation mode provided in the embodiments of this application is shown in the figure. Figure 6 The document demonstrates the entire process of the system exiting hibernation mode; please refer to [link / reference]. Figure 6 As shown, the process of the power adapter circuit exiting hibernation mode specifically includes: Step 1: When the second load detection unit 23 detects that a load is connected to the output terminal, the secondary control unit 22 controls the secondary circuit to exit the hibernation mode first; at the same time, in order to notify the primary control unit 21 to control the primary side to also exit the hibernation mode, the secondary control unit 22 actively pulls down the feedback voltage value VFB output by the optocoupler 24 to the first voltage value and maintains it for a third duration T5, wherein the third duration T5 is less than the first duration T0.
[0054] Step 2: When the primary control unit 21 detects that the feedback voltage value VFB output by the optocoupler element 24 is pulled down to the first voltage value and maintained for a third duration T5, it determines that it has detected the exit hibernation mode trigger signal sent by the secondary control unit 22, and controls the primary circuit to also exit hibernation mode.
[0055] Please continue reading Figure 6 As shown, if the primary control unit 21 detects that the feedback voltage value VFB has been pulled low for a time longer than the third duration T5, the primary control unit 21 will not control the primary side to exit the hibernation mode. When the primary control unit 21 detects that the feedback voltage value VFB output by the optocoupler 24 has been pulled low to the first voltage value and maintained for a time shorter than the third duration T5, it controls the primary circuit to also exit the hibernation mode. Then, the primary control unit 21 will continuously send drive signal waves DRV according to the load size at the output end to supply power to the secondary side.
[0056] In this embodiment, after the power adapter circuit enters hibernation mode, the primary controller 21 shuts down almost all circuit modules, leaving only the most basic power supply module and output voltage maintenance module to maintain the basic function of the primary circuit, thus saving energy. (In this embodiment, both the primary control unit 21 and the secondary control unit 22 are equipped with a power supply module and a corresponding output voltage maintenance module.) Precise adjustment of the output voltage VOUT is no longer performed. Furthermore, after the power adapter circuit enters hibernation mode, the output voltage VOUT is detected on the secondary side by the second load detection unit 23. When it is less than the first preset voltage value Vo1, the primary control unit 21 is notified to turn on the second transistor Q2. When the output voltage VOUT is detected to be greater than the second preset voltage value Vo2, it is not necessary to notify the primary side to turn on the second transistor Q2. This process repeats continuously, ensuring that the output remains near a preset value so that it can operate at any time after the load is reconnected.
[0057] Figure 7 Please refer to the schematic diagram of the power adapter circuit in hibernation mode provided in the embodiments of this application. Figure 7As shown, after the power adapter circuit enters hibernation mode, the secondary controller 22 controls the primary controller to generate a waveform on the secondary side, distributing energy to the output terminal and the secondary side, while also supplying power to the primary side. Therefore, there is a situation where the primary side power supply voltage is insufficient to maintain its operation, and the primary side cannot be controlled to generate a waveform to supplement energy. To solve this problem, as... Figure 2 As shown, this scheme directly draws power from the second input voltage VIN2 through the high-voltage power extraction unit 25 to supply power to the primary side, thus avoiding primary power failure.
[0058] In one embodiment of this application, when both the secondary circuit and the primary circuit are operating in hibernation mode, the secondary control unit 22 is further configured to, when detecting that the output voltage value VOUT at the output terminal of the secondary circuit is lower than the first preset voltage value Vo1, actively pull down the feedback voltage value VFB output by the optocoupler 24 to the first voltage value and maintain it for a fourth duration, and then pull up the feedback voltage value VFB to the second voltage value; the fourth duration is longer than the third duration; the secondary control unit is further configured to, when detecting that the feedback voltage value VFB output by the optocoupler 24 is pulled down to the first voltage value, send two consecutive drive signal waves DRV to the secondary circuit to provide energy to the secondary side and at the same time provide energy to the primary side, and when detecting that the feedback voltage value is pulled down to the first voltage value and maintains it for a fourth duration, control the primary circuit to continue operating in hibernation mode.
[0059] Figure 8 For a schematic diagram of some signals in the hibernation mode of the power adapter circuit provided in this application embodiment, please refer to [link / reference]. Figure 8 As shown, both the primary and secondary stages are in hibernation mode, and the output control process is as follows: Step 1: When the secondary side detects that the output voltage VOUT is less than the first preset voltage value Vo1 through the second load detection unit 23, the secondary side will continuously pull down the feedback voltage value VFB for a period of time and then pull up the feedback voltage value VFB. The time during which the feedback voltage value VFB is pulled down needs to be greater than the third duration T5.
[0060] Step 2: When the primary control unit 21 detects that the secondary control unit 22 has pulled down the feedback voltage value VFB, the primary control unit controls the second transistor Q2 to turn on, thereby turning on the primary circuit. This actively sends two drive signal waves DRV to the secondary side, providing energy to both the secondary and primary sides. Since the feedback voltage value VFB needs to be pulled low for a longer period than the third duration T5, the primary controller 21 will not control the primary side to exit the hibernation mode.
[0061] Once the power adapter circuit stabilizes in hibernation mode, the output voltage VOUT at the secondary side will vary between a first preset voltage value Vo1 and a second preset voltage value Vo2. In hibernation mode, when the primary side energy is insufficient to sustain its operation, power is supplied through the high-voltage power extraction unit 25 to ensure normal operation. In hibernation mode, most of the primary side circuitry is off, resulting in very low power consumption. The energy provided to the primary side by the secondary control unit 22, which controls the primary control unit 21 to transmit power, is often sufficient to sustain the primary side until the next transmission cycle. Therefore, the high-voltage power extraction unit 25 typically operates only once every few transmission cycles, and the resulting power loss is negligible throughout hibernation mode.
[0062] Figure 9 For the second schematic diagram of the power supply circuit structure of the electronic device adapter provided in the embodiments of this application, please refer to [link / reference]. Figure 2 and Figure 9As shown, the adapter power supply circuit provided in this embodiment also includes a second transistor Q2, a third capacitor C3, a fourth capacitor C4, a second diode D2, a second resistor R2, and a second power-taking winding L2. The same-name terminal of the primary winding of the second transformer T2 is the positive input terminal to receive the input DC voltage signal. The opposite-name terminal of the primary winding of the second transformer T2 is connected to the drain of the second transistor Q2. The source of the second transistor Q2 is connected to the first terminal of the second resistor R2, and the second terminal of the second resistor R2 is grounded. The gate of the second transistor Q2 is connected to the corresponding control pin on the primary control unit 21. In addition, the first terminal of the second resistor R2 is connected to the corresponding voltage sampling pin on the primary control unit 21, and the second terminal of the second resistor R2 is connected to the common ground. In this way, the primary control unit 21 can determine the current and voltage values in the primary circuit by sampling the voltage value at the first terminal of the second resistor R2. The second terminal of the second resistor R2 is connected to the negative input terminal and cooperates with the positive input terminal to receive the input second input voltage VIN2 to power the entire power adapter circuit. The second terminal of the second resistor R2 is connected to the first terminal of the third capacitor C3. The second terminal of the third capacitor C3 is connected to the negative terminal of the second diode D2. The positive terminal of the second diode D2 is connected to the opposite terminal of the second power-taking winding L2. The same terminal of the second power-taking winding L2 is connected to the second terminal of the second resistor R2 and the first terminal of the third capacitor C3. It can be understood that the second power-taking winding L2 draws power from the primary winding of the second transformer L2 to supply power to the primary control unit 21, enabling the primary control unit 21 to operate normally. The third capacitor C3 mainly serves to stabilize the voltage, ensuring a stable supply voltage to the primary control unit 21 and preventing damage to it. The second diode D2 mainly serves to prevent reverse current from damaging electronic components. During the operation of this power adapter circuit, the primary control unit 21 is mainly used to control the conduction or cutoff of the primary circuit and the operating mode of the primary circuit, thereby determining whether to provide function to the secondary circuit. The secondary control unit 22 is mainly used to determine whether a load is connected based on the voltage at the output terminal of the secondary circuit, thereby controlling the operating mode of the secondary circuit to achieve energy saving. Additionally, the two ends of the fourth capacitor C4 are connected to the positive and negative terminals of the output terminal, respectively, and the fourth capacitor C4 mainly serves to stabilize the voltage at the output terminal.
[0063] Please continue to see Figure 9As shown, it can be understood that the second transistor Q2 in this embodiment is an NMOS (N-Metal-Oxide-Semiconductor) transistor. The primary control unit 21 can output a corresponding drive signal to pull up or pull down the voltage on the gate of the second transistor Q2, thereby controlling the conduction or turn-off of the second transistor Q2, and thus controlling the conduction or turn-off of the primary circuit where the primary winding is located. When the primary circuit where the primary winding is located is in the conducting state, energy can be transferred to the secondary circuit through the second transformer T2.
[0064] Compared to solutions in related technologies, the power adapter circuit provided in this embodiment utilizes optocouplers 24, which are commonly used for output loop regulation during normal operation. These optocouplers are slightly modified to additionally perform hibernation mode signal communication between the primary and secondary windings, and a more optimized output voltage maintenance method is employed, reducing system hardware costs. Furthermore, this solution avoids accidental triggering of hibernation mode during load switching by adjusting the feedback voltage value output by the optocouplers 24 and the primary-secondary handshake mechanism, ensuring circuit stability and safety.
[0065] This application also provides a chip, which includes the power supply circuit for an electronic device adapter as provided in any of the above embodiments.
[0066] Understandably, the structure of the chip in this application is simpler than that of related technologies, saving hardware costs and avoiding the occurrence of accidental triggering of the hibernation mode during load switching, thus ensuring the stability and safety of the circuit operation.
[0067] This application also provides an electronic device, which includes an electronic device adapter power supply circuit as provided in any of the above embodiments; or the electronic device includes the chip described above.
[0068] Understandably, the structure of the electronic device in this application is simpler than that of related technologies, saving hardware costs and avoiding the occurrence of accidental triggering of hibernation mode during load switching, thus ensuring the stability and safety of circuit operation.
[0069] Finally, it should be noted that the above embodiments are merely specific implementations of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be covered within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A power supply circuit for an electronic device adapter, characterized in that, The power supply circuit of the electronic device adapter includes: a transformer, a primary control unit, a secondary control unit, a load detection unit, and an optocoupler. The input terminal of the primary winding of the transformer is used to receive the input voltage. The primary control unit is located in the primary circuit where the primary winding is located. The secondary control unit is located in the secondary circuit where the secondary winding of the transformer is located. The output terminal of the secondary winding is used to output the output voltage. The load detection unit is located at the output terminal of the secondary winding and is used to detect whether a load is connected to the output terminal of the secondary winding and send the detection result to the secondary control unit. The primary control unit and the secondary control unit are electrically connected through the optocoupler element. The optocoupler element is also connected to the output terminal to sample the feedback voltage value of the output voltage at the output terminal. The secondary control unit is used to send a hibernation trigger signal to the primary control unit through the optocoupler when it detects that no load is connected to the output terminal. The primary control unit is used to perform at least one communication handshake between the optocoupler and the secondary control unit after receiving the hibernation trigger signal, and to control the primary circuit of the transformer to work in hibernation mode after confirming that the communication handshake is successful. The secondary control unit is also configured to control the secondary circuit to operate in hibernation mode after the primary circuit has operated in hibernation mode.
2. The power supply circuit for an electronic device adapter according to claim 1, characterized in that, Sending a hibernation trigger signal to the primary control unit via the optocoupler includes: The secondary control unit actively pulls down the feedback voltage value output by the optocoupler and maintains it for a first duration in order to send a hibernation trigger signal to the primary control unit.
3. The power supply circuit for an electronic device adapter according to claim 2, characterized in that, The primary control unit, upon receiving the hibernation trigger signal, is configured to perform at least one communication handshake between the optocoupler and the secondary control unit, including: The primary control unit is further configured to determine that it has received a hibernation trigger signal sent by the secondary control unit when it detects that the feedback voltage value output by the optocoupler element has been pulled down to a first voltage value and maintained for a first duration. The communication handshake between the primary control unit and the secondary control unit includes: After the primary control unit determines that it has received the hibernation trigger signal sent by the secondary control unit, the primary control unit actively sends two consecutive drive signal waves to the secondary circuit. After the secondary control unit detects the two consecutive drive signal waves, it removes the restriction of pulling the feedback voltage value down to the first voltage value, causing the feedback voltage value to gradually increase. The primary control unit is also used to actively and continuously send the drive signal wave to the secondary circuit again when it detects that the feedback voltage value has increased to the second reference voltage value; The secondary control unit is also used to actively pull the feedback voltage value down to the first voltage value again when the number of the driving signal waves detected is greater than or equal to three, and to determine that a communication handshake is successful.
4. The power supply circuit for an electronic device adapter according to claim 3, characterized in that, The primary control unit is further configured to control the primary circuit to enter a hibernation mode when it detects that the feedback voltage value output by the optocoupler is greater than the first reference voltage value and continues for a second duration.
5. The power supply circuit for an electronic device adapter according to claim 3, characterized in that, The primary control unit and the secondary control unit perform a three-way communication handshake. If all three handshakes are successful, the primary control unit controls the primary circuit of the transformer to operate in hibernation mode.
6. The power supply circuit for an electronic device adapter according to claim 3, characterized in that, The primary control unit is further configured to, after each communication handshake failure with the secondary control unit, re-detect whether the feedback voltage value output by the optocoupler element has been pulled down to a first voltage value and maintained for a first duration, so as to re-perform the communication handshake.
7. The power supply circuit for an electronic device adapter according to claim 3, characterized in that, The secondary control unit is further configured to control the secondary circuit to exit hibernation mode when a load is detected connected to the output terminal; at the same time, it sends an exit hibernation mode trigger signal to the primary control unit through the optocoupler element. The primary control unit is further configured to control the primary circuit to exit hibernation mode after detecting the exit hibernation mode trigger signal.
8. The power supply circuit for an electronic device adapter according to claim 7, characterized in that, The step of sending an exit hibernation mode trigger signal to the primary control unit via the optocoupler includes: When the secondary control unit detects a load connected to the output terminal, it actively pulls down the feedback voltage value output by the optocoupler to a first voltage value and maintains it for a third duration, wherein the third duration is shorter than the first duration. The primary control unit is further configured to, when it detects that the feedback voltage value output by the optocoupler is pulled down to a first voltage value and maintained for a third duration, determine that an exit hibernation mode trigger signal sent by the secondary control unit has been detected, and control the primary circuit to also exit hibernation mode.
9. The power supply circuit for an electronic device adapter according to claim 8, characterized in that, When both the secondary circuit and the primary circuit are operating in hibernation mode, the secondary control unit is also used to detect that the voltage value at the output terminal of the secondary circuit is lower than the first preset voltage value, and then actively pull down the feedback voltage value output by the optocoupler to the first voltage value and maintain it for a fourth duration, and then pull up the feedback voltage value to the second voltage value; the fourth duration is longer than the third duration; The secondary control unit is further configured to send two consecutive drive signal waves to the secondary circuit when it detects that the feedback voltage value output by the optocoupler element is pulled down to the first voltage value, and to control the primary circuit to continue operating in hibernation mode when it detects that the feedback voltage value is pulled down to the first voltage value and continues for a fourth duration.
10. A chip, characterized in that, The chip includes the power supply circuit of the electronic device adapter as described in any one of claims 1-9.
11. An electronic device, characterized in that, The electronic device includes an electronic device adapter power supply circuit as described in any one of claims 1-9; or the electronic device includes a chip as described in claim 10.