A charging-discharging circuit

CN117543752BActive Publication Date: 2026-11-03SHENZHEN INJOINIC TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311406839.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-26
Publication Date
2026-11-03
Estimated Expiration
2043-10-26

AI Technical Summary

Technical Problem

When the external input voltage of the wireless earphone charging case is unstable, the effectiveness of the communication signal is affected, making it difficult for the load device to successfully interpret the signal and perform subsequent operations.

Method used

The circuit adopts a simultaneous charging and discharging approach. Through the cooperation of the power control module and the link module, the switching frequency and voltage level of the voltage signal are controlled to ensure the stability of the voltage amplitude of the communication signal. When necessary, linear charging is used to avoid power loss and heat accumulation.

Benefits of technology

It improves the effectiveness of communication signals and the reliability of load devices, ensuring successful signal parsing and operation even under unstable voltage conditions, while reducing power loss and heat accumulation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117543752B_ABST
    Figure CN117543752B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a charging and discharging circuit, which comprises a power supply control module and a link module. The first control end of the power supply control module is used for outputting a first control signal. When the voltage of the first control signal is a first voltage, the link module is used for outputting a target voltage signal. The target voltage signal output by the link module is the voltage signal with higher voltage among the voltage signal of the first input end and the voltage signal of the second input end of the link module. When the voltage of the first control signal is a second voltage, the link module is used for stopping outputting the target voltage signal. The power supply control module is used for controlling the voltage output end of the power supply control module to output the first voltage signal in the case of needing to send a communication signal to a load device, and controlling the voltage of the first control signal to switch between the first voltage and the second voltage according to a preset switching frequency. The embodiment of the present application can enhance the effectiveness of the communication signal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to power supply technology, applied in the field of electrical engineering, and in particular to a circuit that charges and discharges simultaneously. Background Technology

[0002] Wireless earphone charging cases can charge both the internal rechargeable battery and the connected wireless earphones simultaneously using an external power source. Currently, wireless earphone charging cases typically use a switching charging method to charge lithium batteries. Switching charging has low power loss and minimal heat buildup during charging, but it requires an inductor to step down the voltage for the lithium battery to charge it. The lithium battery cannot discharge to the wireless earphones while charging. Therefore, charging cases using switching charging can only charge the wireless earphones with the help of an external power source to achieve simultaneous charging and discharging. However, when the charging case receives an external input voltage and needs to send a communication signal (also known as a pattern signal) to the wireless earphones, the effectiveness of the communication signal is affected by the stability of the external input voltage. When the external input voltage is unstable, the load device may have difficulty successfully interpreting the signal, making it difficult to perform subsequent operations under the guidance of the communication signal. Summary of the Invention

[0003] This application discloses a charging-discharging circuit for enhancing the effectiveness of communication signals.

[0004] In a first aspect, embodiments of this application provide a simultaneous charging and discharging circuit, which includes a power control module 101 and a link module 102. The input terminal a of the power control module 101 is connected to the input terminal b of the simultaneous charging and discharging circuit. The first input terminal c1 of the link module 102 is connected to the input terminal a of the power control module 101. The second input terminal c2 of the link module 102 is connected to the voltage output terminal d of the power control module 101. The third input terminal c3 of the link module 102 is connected to the first control terminal e of the power control module 101. The output terminal g of the link module 102 is connected to the output terminal i of the simultaneous charging and discharging circuit. The output terminal i of the simultaneous charging and discharging circuit is used to connect to one end n of the load device 20. The first control terminal e of the power control module 101 is used to output a first control signal V_EN1. The first control signal V_EN... When the voltage of 1 is the first voltage, the link module 102 is used to output the target voltage signal V_TGT. The target voltage signal V_TGT output by the link module 102 is the higher voltage signal between the voltage signal at the first input terminal c1 and the voltage signal at the second input terminal c2 of the link module 102. When the voltage of the first control signal V_EN1 is the second voltage, the link module 102 is used to stop outputting the target voltage signal V_TGT. When it is necessary to send a communication signal to the load device 20, the power control module 101 is used to control the voltage output terminal d of the power control module 101 to output the first voltage signal V_OUT, and control the voltage of the first control signal V_EN1 to switch between the first voltage and the second voltage according to a preset switching frequency. The voltage of the first voltage signal V_OUT is not less than the preset communication voltage amplitude.

[0005] Considering that the validity of the communication signal is related to the stability of its voltage amplitude, when the voltage amplitude of the communication signal is too low, the load device 20 may fail to interpret the communication signal, making it difficult for the load device 20 to successfully perform subsequent operations under the instruction of the communication signal. In the above-mentioned charging-discharging circuit, when the voltage of the first control signal V_EN1 switches between the first voltage and the second voltage according to a preset switching frequency, one end n of the load device 20 can receive a communication signal whose voltage switches between high and low levels according to a preset switching frequency. The amplitude of this communication signal is equal to the voltage of the target voltage signal V_TGT, that is, equal to the voltage of the input voltage signal V_IN of the charging-discharging circuit and the voltage of the first voltage signal V_OUT. Therefore, in scenarios where no input voltage signal V_IN is received (i.e., no external power supply is available), or where the voltage of the input voltage signal V_IN drops below the preset communication voltage threshold due to the instability of the external power supply, when the power control module 101 needs to send a communication signal to the load device 20, it can control the voltage of the target voltage signal V_TGT to be the voltage of the first voltage signal V_OUT based on the link module 102, so that the voltage amplitude of the communication signal received by the load device 20 is not less than the preset communication voltage amplitude, thereby improving the stability of the voltage amplitude of the communication signal, and thus enhancing the effectiveness of the communication signal, enabling the load device to successfully parse the communication signal and perform subsequent operations under the instruction of the communication signal.

[0006] In conjunction with the first aspect, in one possible implementation, the power control module 101 is further configured to, upon receiving the input voltage signal V_IN from the charging-discharging circuit and without needing to send a communication signal to the load device 20, control the voltage output terminal d of the power control module 101 to stop outputting the first voltage signal V_OUT, and control the voltage of the first control signal V_EN1 to be the first voltage.

[0007] In the above-described charging and discharging circuit, when the power control module 101 receives the input voltage signal V_IN and does not need to send a communication signal to the load device 20, the target voltage signal V_TGT output by the control link module 102 is the input voltage signal V_IN, so that the load device 20 can charge based on the voltage of the input voltage signal V_IN.

[0008] In conjunction with the first aspect, or any of the above possible implementations of the first aspect, in another possible implementation, the communication terminal f of the power control module 101 is connected to the output terminal g of the link module 102, wherein the power control module 101 is further configured to control the communication terminal f of the power control module 101 to be in a high-impedance state when the voltage of the first control signal V_EN1 is a first voltage, and to control the communication terminal f of the power control module 101 to be in a low-impedance state when the voltage of the first control signal V_EN1 is a second voltage.

[0009] In practical applications, the effectiveness of communication signals depends not only on their amplitude but also on the falling edge time of the voltage transition from high to low. When the falling edge time is too long, the communication signal cannot be successfully resolved.

[0010] Because the electrical characteristics of the internal circuit components of the load device slow down the voltage drop rate, the power control module 101 in the above-mentioned charging and discharging circuit controls its communication terminal f to switch from a high-impedance state to a low-impedance state when the voltage of the first control signal V_EN1 switches from the first voltage to the second voltage (that is, the voltage of one end n of the load device 20 switches from a high level to a low level). This helps to release the residual charge at one end n of the load device, shorten the voltage drop time, and thus ensure the validity of the communication signal received by the load device, which is conducive to the load device 20 performing subsequent operations under the instruction of the communication signal.

[0011] In conjunction with the first aspect, or any of the above possible implementations of the first aspect, in yet another possible implementation, the charging-discharging circuit further includes a rechargeable battery 103, and the power control module 101 is further configured to linearly charge the rechargeable battery 103 based on the input voltage signal V_IN of the charging-discharging circuit, and to control the rechargeable battery 103 to output a first voltage signal V_OUT through the voltage output terminal d of the power control module 101.

[0012] In the above-described charging and discharging circuit, the power control module 101 uses a linear charging method to linearly charge the rechargeable battery 103 based on the input voltage signal V_IN. During the linear charging process, it is not necessary to use the inductor element required for discharging the rechargeable battery 103 to step down the voltage. Therefore, when the power control module 101 receives the input voltage signal V_IN and needs to send a communication signal to the load device, the rechargeable battery 103 can simultaneously perform boost discharge using the inductor element under the control of the power control module 101 during the charging state, and output the first voltage signal V_OUT through the voltage output terminal d of the power control module 101, thereby improving the stability of the voltage amplitude of the communication signal and enhancing the effectiveness of the communication signal.

[0013] Furthermore, when the power control module 101 receives the input voltage signal V_IN and does not need to send a communication signal to the load device 20, the input voltage signal V_IN is used to charge the rechargeable battery 103 and the load device 20 respectively. This can avoid the large power loss and heat accumulation effect caused by the rechargeable battery 103 being in a state of charging and discharging for a long time, thereby improving the reliability of the charging and discharging circuit.

[0014] In conjunction with the first aspect, or any of the above possible implementations of the first aspect, in yet another possible implementation, the charging-discharging circuit further includes an overvoltage protection module 104. The input terminal a of the power control module 101 is connected to the input terminal b of the charging-discharging circuit through the overvoltage protection module 104. The overvoltage protection module 104 is used to output the input voltage signal V_IN when it is determined that the voltage of the input voltage signal V_IN of the charging-discharging circuit is not greater than a preset input voltage threshold.

[0015] The above-mentioned charging and discharging circuit can prevent damage to the power control module 101 and the load device 20 from the input of abnormally high external high voltage signal V_IN, thereby improving the reliability of the charging and discharging circuit during operation.

[0016] In conjunction with the first aspect, or any of the above possible implementations of the first aspect, in yet another possible implementation, the link module 102 includes a first circuit 1021, a second circuit 1022, and a third circuit 1023. The input terminal of the first circuit 1021 is the first input terminal c1 of the link module 102, the input terminal of the second circuit 1022 is the second input terminal c2 of the link module 102, the first input terminal h1 of the third circuit 1023 is connected to the third input terminal c3 of the link module 102, the second input terminal h2 of the third circuit 1023 is connected to the output terminal j of the first circuit 1021 and the output terminal k of the second circuit 1022, and the output terminal g of the third circuit 1023 is the output terminal g of the link module 102. The first circuit 1021 and the second circuit 1022 are both unidirectional conduction circuits. When the voltage of the first control signal V_EN1 is a first voltage, the third circuit 1023 is used to output the target voltage signal V_TGT. When the voltage of the first control signal V_EN1 is a second voltage, the third circuit 1023 is used to stop outputting the target voltage signal V_TGT.

[0017] In conjunction with the first aspect, or any of the above possible implementations of the first aspect, in yet another possible implementation, the first circuit 1021 includes a first diode D1, the second circuit 1022 includes a second diode D2, the anode of the first diode D1 is the input terminal of the first circuit 1021, the cathode of the first diode D1 is the output terminal j of the first circuit 1021, the anode of the second diode D2 is the input terminal of the second circuit 1022, and the cathode of the second diode D2 is the output terminal k of the second circuit 1022.

[0018] In conjunction with the first aspect, or any of the above possible implementations of the first aspect, in yet another possible implementation, the third circuit 1023 includes a first resistor R1, a second resistor R2, a third resistor R3, a first switch Q1, and a second switch Q2; the second input terminal h2 of the third circuit 1023 is connected to the source of the first switch Q1 and one end of the first resistor R1, the gate of the first switch Q1 is connected to the other end of the first resistor R1 and the drain of the second switch Q2, the drain of the first switch Q1 is the output terminal of the third circuit 1023, the first input terminal h1 of the third circuit 1023 is connected to one end of the second resistor R2 and one end of the third resistor R3, the other end of the second resistor R2 is connected to the gate of the second switch Q2, and the other end of the third resistor R3 is connected to the source of the second switch Q2 and a reference ground.

[0019] In conjunction with the first aspect, or any of the possible implementations of the first aspect described above, in another possible implementation, the detection terminal m of the power control module 101 is connected to the detection terminal p of the charging-discharging circuit, and the detection terminal p of the charging-discharging circuit is connected to the other end q of the load device 20. The power control module 101 is further configured to detect the current signal I_SENSE of the load device 20 during charging. If it is determined that the load device 20 is in an overcurrent state based on the current signal I_SENSE, a hiccup protection operation is executed. This hiccup protection operation stops detecting the current signal I_SENSE and controls the voltage of the first control signal V_EN1 to a second voltage. The system waits for a first preset time, and upon the end of the first preset time, the execution count is incremented by 1, where the execution count is the number of times the hiccup protection operation is executed. If it is determined that the execution count is less than or equal to a preset threshold, the voltage of the first control signal V_EN1 is controlled to a first voltage. The system waits for a second preset time, and upon the end of the second preset time, the system returns to executing the operation of detecting the current signal I_SENSE of the load device 20 during charging.

[0020] The power control module 101 in the above-mentioned charging and discharging circuit can monitor the charging current of the load device. When the number of times the hiccup protection operation is executed (i.e. the number of times the load device 20 is in an overcurrent state) does not exceed the preset threshold, the power control module 101 will continue to charge the load device 20, which helps to avoid interference from occasional overcurrent phenomena and more accurately monitor the fault of the load device 20.

[0021] In conjunction with the first aspect, or any of the above possible implementations of the first aspect, in yet another possible implementation, the power control module 101 is further configured to, if it is determined that the number of executions is greater than a preset number threshold and a preset release signal is detected, reduce the number of executions to zero and control the voltage of the first control signal V_EN1 to a first voltage, wherein the preset release signal is used to reflect the re-establishment of connection between the load device 20 and the charging-discharging circuit after a third preset time, or to reflect the re-input of the input voltage signal V_IN after a fourth preset time; wait for a second preset time, and return to the operation of detecting the current signal I_SENSE when the load device 20 is charging if the second preset time ends; if it is determined that the number of executions is greater than the preset number threshold and no preset release signal is detected, continue to perform the hiccup protection operation.

[0022] In the aforementioned charge-and-discharge circuit, when the number of times the hiccup protection operation is executed (i.e., the number of times the load device 20 is in an overcurrent state) exceeds a preset threshold, the power control module 101 determines that the load device 20 is faulty and stops charging the load device 20, thereby improving the reliability of the charge-and-discharge circuit 10 during operation. Furthermore, after determining that the load device 20 is faulty and stopping charging, the power control module 101 can respond to a preset release signal, re-output a voltage signal to the load device 20, and monitor the charging status of the load device 20, thereby improving the flexibility of the charge-and-discharge circuit 10.

[0023] Secondly, embodiments of this application provide a charging-while-discharging device, which includes the charging-while-discharging circuit described in the first aspect or any possible implementation of the first aspect.

[0024] The beneficial effects of the equipment provided in the second aspect of this application can be referred to the beneficial effects of the technical solution in the first aspect, and will not be repeated here. Attached Figure Description

[0025] The accompanying drawings used in the description of the embodiments of this application will be briefly introduced below.

[0026] Figure 1 This is a schematic diagram of a charging-discharging circuit provided in an embodiment of this application;

[0027] Figure 2This is a schematic flowchart of a current signal detection method provided in an embodiment of this application;

[0028] Figure 3 This is a schematic diagram of another charging-discharging circuit provided in an embodiment of this application;

[0029] Figure 4 This is a schematic diagram of the structure of a link module provided in an embodiment of this application;

[0030] Figure 5 This is a schematic diagram of another charging-discharging circuit provided in the embodiments of this application;

[0031] Figure 6 This is a signal voltage waveform diagram provided in an embodiment of this application. Detailed Implementation

[0032] The embodiments of this application will now be described in detail with reference to the accompanying drawings.

[0033] Please see Figure 1 , Figure 1 This is a schematic diagram of a charging-discharging circuit provided in an embodiment of this application. Figure 1 As shown, the simultaneous charging and discharging circuit 10 includes a power control module 101, a link module 102, and a rechargeable battery 103. The input terminal a of the power control module 101 is connected to the input terminal b of the simultaneous charging and discharging circuit 10. The first input terminal c1 of the link module 102 is connected to the input terminal a of the power control module 101. The second input terminal c2 of the link module 102 is connected to the voltage output terminal d of the power control module 101. The third input terminal c3 of the link module 102 is connected to the first control terminal e of the power control module 101. The output terminal g of the link module 102 is connected to the output terminal i of the simultaneous charging and discharging circuit 10. The input terminal b of the simultaneous charging and discharging circuit 10 is used to connect to an external power source, and the output terminal i of the simultaneous charging and discharging circuit 10 is used to connect to one end n of the load device 20, establishing a wireless communication connection between the load device 20 and the terminal device 30.

[0034] Specifically, input terminal a of power control module 101 is used to receive the voltage signal V_IN input from the external power supply to the charging-discharging circuit 10. Power control module 101 can charge the rechargeable battery 103 based on the input voltage signal V_IN using a linear charging method. The first control terminal e of power control module 101 is used to output a first control signal V_EN1. When the voltage of the first control signal V_EN1 is a first voltage, link module 102 is used to output a target voltage signal V_TGT. The target voltage signal V_TGT output by link module 102 is the higher voltage signal between the voltage signal at the first input terminal c1 and the voltage signal at the second input terminal c2 of link module 102. When the voltage of the first control signal V_EN1 is a second voltage, link module 102 is used to stop outputting the target voltage signal V_TGT.

[0035] The control principle of the power control module 101 under different conditions will be further explained below.

[0036] Scenario 1: The power control module 101 needs to send a communication signal to the load device 20.

[0037] In this embodiment, the voltage waveform of the communication signal is a combination of high and low levels, and the switching frequency between high and low levels is a preset switching frequency. This embodiment does not limit the method by which the power control module 101 determines whether to send a communication signal to the load device 20. For example, the power control module 101 may send a communication signal to the load device 20 according to a preset communication frequency, or the power control module 101 may send a communication signal to the load device 20 upon receiving a preset communication command.

[0038] Regarding scenario one, considering that the effectiveness of the communication signal is related to the stability of the voltage amplitude of the communication signal, when the voltage amplitude of the communication signal is lower than the preset communication voltage amplitude, the load device 20 will have difficulty successfully parsing the communication signal even if it receives it. The power control module 101 controls the voltage output terminal d to output the first voltage signal V_OUT, and controls the voltage of the first control signal V_EN1 to switch between the first voltage and the second voltage according to the preset switching frequency. The voltage of the first voltage signal V_OUT is not less than the preset communication voltage amplitude.

[0039] Specifically, based on the connection relationship between the power control module 101 and the link module 102, the voltage of the target voltage signal V_TGT (hereinafter referred to as "target voltage Vtgt") is the maximum value between the voltage of the input voltage signal V_IN of the charging-discharging circuit 10 (hereinafter referred to as "input voltage Vin") and the voltage of the first voltage signal V_OUT (hereinafter referred to as "output voltage Vout"). Furthermore, when the voltage of the first control signal V_EN1 switches between the first voltage and the second voltage according to a preset switching frequency, one end n of the load device 20 can receive a communication signal indicating that the voltage is switching between high and low levels according to the preset switching frequency. The amplitude of this communication signal is equal to the target voltage Vtgt. It should be noted that in this embodiment, the first voltage and the second voltage are not equal, but this embodiment does not limit the magnitude relationship between the first voltage and the second voltage.

[0040] When the input voltage Vin drops below a preset communication voltage threshold due to external power instability, the power control module 101 can control the target voltage Vtgt to be the output voltage Vout based on the link module 102, so that the voltage amplitude of the communication signal received by the load device 20 is not less than the preset communication voltage amplitude, thereby improving the stability of the voltage amplitude of the communication signal. Furthermore, it is easy to understand that even when the power control module 101 does not receive the input voltage signal V_IN (e.g., when no external power is connected), the target voltage Vtgt is also the output voltage Vout. Therefore, regardless of whether the input voltage signal V_IN is received, the power control module 101 can continuously send communication signals to the load device 20 and improve the stability of the voltage amplitude of the communication signal, thereby enhancing the effectiveness of the communication signal.

[0041] In practical applications, the effectiveness of communication signals depends not only on their amplitude but also on the falling edge time of the voltage transition from high to low. When the falling edge time is long, the communication signal may be difficult to decode successfully. Optionally, such as... Figure 1 As shown, the power control module 101 can also be configured with a communication terminal f, which is connected to the output terminal g of the link module 102.

[0042] Specifically, the power control module 101 can control its communication terminal f to be in a high-impedance state when the voltage of the first control signal V_EN1 is a first voltage, and control its communication terminal f to be in a low-impedance state when the voltage of the first control signal V_EN1 is a second voltage. That is, when the voltage of the first control signal V_EN1 switches from the first voltage to the second voltage (i.e., the voltage at one end n of the load device 20 switches from a high level to a low level), the power control module 101 controls its communication terminal f to switch from a high-impedance state to a low-impedance state to release residual charge at one end n of the load device 20. This avoids the internal circuit components of the load device slowing down the voltage drop due to electrical characteristics, which helps to shorten the falling edge time of the voltage at end n, thereby further ensuring the effectiveness of the communication signal received by the load device 20.

[0043] Furthermore, while sending communication signals to the load device 20, the power control module 101 can linearly charge the rechargeable battery 103 based on the input voltage signal V_IN. During linear charging, the inductor required for discharging the rechargeable battery 103 does not need to be used for voltage reduction. Therefore, the rechargeable battery 103 can simultaneously perform boost discharge using the inductor while charging, under the control of the power control module 101, and output a first voltage signal V_OUT through the voltage output terminal d of the power control module 101. The voltage value of the first voltage signal V_OUT can be adjusted according to actual needs and application scenarios. Optionally, the power control module 101 can also monitor the linear charging current of the rechargeable battery 103. When the linear charging current of the rechargeable battery 103 drops to a preset full-charge current threshold, it determines that the rechargeable battery 103 is fully charged and stops charging the rechargeable battery 103. It should be noted that in practical applications, the linear charging method has a smaller preset full-charge current threshold than the switching charging method, making it more suitable for charging small-capacity rechargeable batteries and helping to extend the battery life of small-capacity rechargeable batteries. The preset full-charge current threshold can be a current value set according to the actual application scenario. For example, the preset full-charge current threshold can be 40mA. Optionally, the rechargeable battery 103 can be a lithium battery.

[0044] After receiving a communication signal with a voltage amplitude not less than a preset communication voltage amplitude, the load device 20 can successfully parse it and, under the instruction of the communication signal, stably transmit wireless data to the terminal device 30. This wireless data can reflect the operating status of the load device 20 and / or the operating status of the power control module 101, such as the stored power of the load device, the power output of the power control module 101 during linear charging of the rechargeable battery 103, and the linear charging current during the charging process. It should be noted that this application embodiment only uses "the load device 20 receiving and parsing the communication signal and then transmitting wireless data to the terminal device 30" as an example for illustration. This application embodiment does not limit the content of subsequent operations performed by the load device 20 in response to the communication signal, that is, it does not limit the function of the communication signal.

[0045] Optionally, the terminal device 30 can be a standalone device such as a handheld terminal, a desktop terminal, or a wearable device, or it can be a component (such as a chip or integrated circuit) included in a standalone device. When the terminal device 30 is a handheld terminal, it can be a mobile phone, a tablet computer, a computer (such as a laptop computer, a PDA, etc.).

[0046] Scenario 2: The power control module 101 receives the input voltage signal V_IN and does not need to send a communication signal to the load device 20.

[0047] In scenario two, the power control module 101 stops outputting the first voltage signal V_OUT at the voltage output terminal d, and controls the voltage of the first control signal V_EN1 to be the first voltage. Based on the connection relationship between the power control module 101 and the link module 102, the target voltage Vtgt is the input voltage Vin. Therefore, the load device 20 can be charged based on the input voltage signal V_IN, and the power control module 101 can linearly charge the rechargeable battery 103 based on the input voltage signal V_IN. That is, the power control module 101 can use the input voltage signal V_IN to charge both the rechargeable battery 103 and the load device 20. Thus, the simultaneous charging and discharging circuit 10 can solve the problems of high power loss and heat accumulation caused by the rechargeable battery 103 being in a state of continuous charging and discharging, thereby improving the reliability of the simultaneous charging and discharging circuit 10 during operation.

[0048] It should be noted that when the power control module 101 sends a communication signal to the load device 20, the rechargeable battery 103 may be in a state of charging and discharging simultaneously. Since the duration of sending the communication signal in actual applications is generally short, the power loss and heat generated by the rechargeable battery 103 during this period can be ignored.

[0049] Scenario 3: The power control module 101 does not receive the input voltage signal V_IN and does not need to send a communication signal to the load device 20.

[0050] In scenario three, the power control module 101 determines that no input voltage signal V_IN has been received based on the voltage at input terminal a. Therefore, it controls the voltage output terminal d to output a first voltage signal V_OUT, and controls the voltage of the first control signal V_EN1 to be the first voltage. Specifically, based on the connection between the power control module 101 and the link module 102, the target voltage Vtgt is the output voltage Vout. Thus, the load device 20 can be charged based on the first voltage signal V_OUT. Therefore, the simultaneous charging and discharging circuit 10 can charge the load device 20 using the electrical energy stored in the rechargeable battery 103 in the absence of an external power supply or in the event of an external power supply failure.

[0051] Based on scenarios one, two, and three, it can be seen that in this embodiment, after the power control module 101 stops sending communication signals to the load device 20 (i.e., completes the communication signal sending operation), if it determines that no input voltage signal V_IN has been received based on the voltage at input terminal a, it will continue to control the voltage output terminal d to output the first voltage signal V_OUT, and use the first voltage signal V_OUT to charge the load device 20; if it determines that the input voltage signal V_IN has been received based on the voltage at input terminal a, it will control the voltage output terminal d to stop outputting the first voltage signal V_OUT, and use the input voltage signal V_IN to charge the load device 20.

[0052] Furthermore, considering that in practical applications, the load device 20 may malfunction during charging and remain in an overcurrent state, optionally, such as Figure 1 As shown, the power control module 101 may also be provided with a detection terminal m, which is connected to the detection terminal p of the simultaneous charging and discharging circuit 10. The detection terminal p of the simultaneous charging and discharging circuit 10 is connected to the other end q of the load device 20. For easier understanding, please refer to [link to relevant documentation]. Figure 2 , Figure 2 This is a schematic flowchart of a current signal detection method provided in an embodiment of this application. The following is in conjunction with... Figure 1 and Figure 2 The specific steps for the power control module 101 to detect the current signal I_SENSE are further explained.

[0053] Step S201: Detect the current signal I_SENSE when the load device 20 is charging.

[0054] The power control module 101 acquires and detects the current signal I_SENSE when the load device 20 is charging through the detection terminal m.

[0055] Step S202: If it is determined that the load device 20 is in an overcurrent state based on the current signal I_SENSE, then a hiccup protection operation is performed.

[0056] Specifically, the hiccup protection operation is used to stop detecting the current signal I_SENSE and control the voltage of the first control signal V_EN1 to the second voltage. That is to say, when the load device is in an overcurrent state, the power control module 101 controls the link module 102 to stop outputting the voltage signal, and at this time the load device 20 stops charging.

[0057] Furthermore, if the power control module 101 determines that the load device 20 is not in an overcurrent state based on the current signal I_SENSE, it continues to execute step S201. That is to say, when the load device is not in an overcurrent state, the power control module 101 controls the link module 102 to continuously output a voltage signal, and the load device 20 continues to charge.

[0058] Furthermore, when determining that the load device 20 is in an overcurrent state based on the current signal I_SENSE, the power control module 101 can specifically determine that the load device 20 is in an overcurrent state if the current in the current signal I_SENSE is not greater than a preset current threshold. Optionally, the power control module 101 can also determine that the load device 20 is in an overcurrent state if the number of times the current in the current signal I_SENSE exceeds the preset current threshold within a third preset time period does not exceed a target number threshold. The preset current threshold can be a current value preset according to the actual application scenario, for example, the preset current threshold can be 200 mA. The target number threshold can be a number set according to the actual application scenario, for example, the target number threshold can be 10 times. The third preset time period can be a time period set according to the actual application scenario, for example, the third preset time period can be 50 milliseconds.

[0059] Step S203: Wait for the first preset duration, and increment the execution count by 1 when the first preset duration ends.

[0060] Specifically, the execution count refers to the number of times the power control module 101 performs the hiccup protection operation. The first preset duration can be a duration set according to the actual application scenario; for example, the first preset duration can be 400 milliseconds.

[0061] Step S204: If it is determined that the number of executions is less than or equal to the preset number threshold, then the voltage of the first control signal V_EN1 is controlled to be the first voltage.

[0062] Specifically, when the number of executions is less than or equal to a preset threshold, the power control module 101 controls the voltage of the first control signal V_EN1 to the first voltage, that is, recharges the load device 20. The preset threshold can be a number of times set according to the actual application scenario, for example, the preset threshold can be 5 times.

[0063] When the number of executions exceeds a preset threshold, the power control module 101 continues to perform the hiccup protection operation without detecting a preset release signal. The preset release signal is used to indicate whether the load device 20 has been disconnected from the charging / discharging circuit 10 for a third preset time period before reconnection, or to indicate whether the input voltage signal V_IN has stopped input for a fourth preset time period before re-input. Both the third and fourth preset time periods can be set according to the actual application scenario; for example, the third preset time period could be 2 seconds, and the fourth preset time period could be 5 seconds.

[0064] Furthermore, when the number of executions exceeds a preset threshold, the power control module 101, upon detecting a preset release signal, will reset the number of executions to zero and control the voltage of the first control signal V_EN1 to the first voltage.

[0065] Combining steps S203 and S204, it can be understood that when the number of times the hiccup protection operation is executed (i.e., the number of times the load device 20 is in an overcurrent state) does not exceed a preset threshold, the power control module 101 will continue to charge the load device 20, which helps to avoid interference from occasional overcurrent phenomena and more accurately monitor the fault of the load device 20. When the number of times the hiccup protection operation is executed (i.e., the number of times the load device is in an overcurrent state) exceeds the preset threshold, the power control module 101 determines that the load device 20 is faulty and stops charging the load device, thereby improving the reliability of the charging-discharging circuit 10 during operation. In addition, after the power control module 101 determines that the load device 20 is faulty and stops charging the load device, it can respond to a preset release signal and re-output a voltage signal to the load device 20, thereby improving the flexibility of the charging-discharging circuit 10.

[0066] Step S205: Wait for a second preset time, and if the second preset time ends, return to perform the operation of re-detecting the current signal I_SENSE when the load device 20 is charging.

[0067] Considering that the charging current may be unstable when the load device 20 first resumes charging, after determining that the number of executions is less than or equal to a preset threshold and the voltage of the first control signal V_EN1 is the first voltage, the power control module 101 waits for a second preset duration, and returns to execution step S201 when the second preset duration ends. It is understandable that setting a second preset duration is beneficial for obtaining a stable charging current when the load device 20 is charging. The second preset duration can be a duration set according to the actual application scenario; for example, the second preset duration can be 100 milliseconds.

[0068] In an optional embodiment, the simultaneous charging and discharging circuit 10 further includes an overvoltage protection module 104, and the link module 102 includes a first circuit 1021, a second circuit 1022, and a third circuit 1023. (See also...) Figure 3 , Figure 3 This is a schematic diagram of another charging-discharging circuit provided in an embodiment of this application. For example... Figure 3 As shown, the input terminal a of the power control module 101 is connected to the input terminal b of the charging and discharging circuit 10 through the overvoltage protection module 104. The input terminal of the first circuit 1021 is the first input terminal c1 of the link module 102. The input terminal of the second circuit 1022 is the second input terminal c2 of the link module 102. The first input terminal h1 of the third circuit 1023 is connected to the third input terminal c3 of the link module 102. The second input terminal h2 of the third circuit 1023 is connected to the output terminal j of the first circuit 1021 and the output terminal k of the second circuit 1022. The output terminal of the third circuit 1023 is the output terminal g of the link module 102. Figure 3 The connection method between the power control module 101, the link module 102, and the rechargeable battery 103 in the simultaneous charging and discharging circuit 10 shown, as well as the control principle of the power control module 101, can be found in the following text. Figure 1 The relevant descriptions of the corresponding parts in the illustrated embodiments will not be repeated here.

[0069] The working principle of the overvoltage protection module 104 and the link module 102 will be further explained below.

[0070] Specifically, the overvoltage protection module 104 outputs an input voltage signal V_IN when it determines that the input voltage Vin is not greater than a preset input voltage threshold. That is, when the input voltage Vin is greater than the preset input voltage threshold, the power control module 101 will not receive the input voltage signal V_IN through the overvoltage protection module 104, and the load device will also not receive the input voltage signal V_IN. It can be understood that the overvoltage protection module 104 can prevent damage to the power control module 101 and the load device 20 from external abnormally high voltage input voltage signals V_IN, thereby improving the reliability of the simultaneous charging and discharging circuit 10 during operation. It should be noted that the preset input voltage threshold can be a default voltage value or a voltage value set according to the actual application scenario. For example, the preset input voltage threshold can be 5.5V.

[0071] Optionally, the overvoltage protection module 104 can implement low-dropout linear regulation to regulate the input voltage Vin to a standard input voltage. For example, if the input voltage Vin is 5.3V, the standard input voltage is 5V, and the preset input voltage threshold is 5.5V, the overvoltage protection module 104 can release the voltage difference (i.e., 0.3V) between the input voltage Vin and the standard input voltage of 5V, so that the output terminal of the overvoltage protection module 104 stably outputs a standard input voltage signal, improving the stability of the charging-discharging circuit during operation.

[0072] Furthermore, both the first circuit 1021 and the second circuit 1022 in the link module 102 are unidirectional conducting circuits. The voltage signal in a unidirectional conducting circuit flows in one direction, from the input terminal to the output terminal. Therefore, the first circuit 1021 and the second circuit 1022 can prevent the voltage signal at the input terminal h2 of the third circuit 1023 from flowing back and affecting the external power supply or the link module 102. Also, when the voltage of the first control signal V_EN1 is the first voltage, the third circuit 1023 outputs the target voltage signal V_TGT; when the voltage of the first control signal V_EN1 is the second voltage, the third circuit 1023 stops outputting the target voltage signal V_TGT.

[0073] It is understandable that the voltage at the input terminal of the first circuit 1021 is the voltage at the first input terminal c1 of the link module 102 (i.e., the input voltage Vin), and the voltage at the input terminal of the second circuit 1022 is the voltage at the second input terminal c2 of the link module 102 (i.e., the output voltage Vout). Therefore, when the input voltage Vin is less than the output voltage Vout, the first circuit 1021 is in a reverse cutoff state; when the input voltage Vin is greater than the output voltage Vout, the second circuit 1022 is in a reverse cutoff state. Thus, neglecting circuit losses, the voltage at the second input terminal h2 of the third circuit 1023 is the maximum value between the input voltage Vin and the output voltage Vout.

[0074] For example, when the input voltage Vin is 4.9V and the output voltage Vout is 5.2V, the instantaneous voltage at output terminal j of the first circuit 1021 is 4.9V, and the instantaneous voltage at output terminal k of the second circuit 1022 is equal to 5.2V. The instantaneous voltage at output terminal k of the second circuit 1022 will pull the voltage at output terminal j of the first circuit 1021 up to 5.2V. Since the output voltage of the first circuit 1021 is greater than the input voltage, the first circuit 1021 is in a reverse cutoff state, and the voltage at the second input terminal h2 of the third circuit 1023 is 5.2V.

[0075] When the voltage of the first control signal V_EN1 is the first voltage, the voltage at the output terminal g of the third circuit 1023 (i.e., the target voltage Vtgt) is the maximum value between the input voltage Vin and the output voltage Vout, and the voltage at one end n of the load device is high. When the voltage of the first control signal V_EN1 is the second voltage, the output terminal g of the third circuit 1023 stops outputting the target voltage signal V_TGT, and the voltage at one end n of the load device is low. Therefore, when the voltage of the first control signal V_EN1 switches between the first voltage and the second voltage according to a preset switching frequency, one end n of the load device 20 can receive a communication signal in which the voltage switches between high and low levels according to the preset switching frequency.

[0076] Optionally, the first voltage is greater than the second voltage; that is, the first voltage is high and the second voltage is low. Please refer to [link / reference]. Figure 4 , Figure 4 This is a schematic diagram of a link module provided in an embodiment of this application. The link module 102 includes a first circuit 1021 comprising a first diode D1, a second circuit 1022 comprising a second diode D2, and a third circuit 1023 comprising a first resistor R1, a second resistor R2, a third resistor R3, a first switch Q1, and a second switch Q2. The anode of the first diode D1 is the input terminal of the first circuit 1021, and the cathode of the first diode D1 is the output terminal j of the first circuit 1021. The anode of the second diode D2 is the input terminal of the second circuit 1022, and the cathode of the second diode D2 is the output terminal k of the second circuit 1022. The second input terminal h2 of the third circuit 1023 is connected to the source of the first switching transistor Q1 and one end of the first resistor R1. The gate of the first switching transistor Q1 is connected to the other end of the first resistor R1 and the drain of the second switching transistor Q2. The drain of the first switching transistor Q1 is the output terminal of the third circuit 1023. The first input terminal h1 of the third circuit 1023 is connected to one end of the second resistor R2 and one end of the third resistor R3. The other end of the second resistor R2 is connected to the gate of the second switching transistor Q2, and the other end of the third resistor R3 is connected to the source of the second switching transistor Q2 and the reference ground.

[0077] Specifically, when the first control signal V_EN1 received at the first input terminal h1 of the third circuit 1023 is high, the first switch Q1 is turned on, and then the second switch Q2 is turned on, and the third circuit 1023 can output the target voltage signal V_TGT; when the first control signal V_EN1 is low, the first switch Q1 is turned off, and then the second switch Q2 is turned off, and the third circuit 1023 stops outputting the target voltage signal V_TGT.

[0078] Another option, Figure 3 The power control module 101 shown may also be provided with a second control terminal R, which is connected to the control terminal u of the first circuit 1021. The second control terminal R is used to output a second control signal V_EN2. When the voltage of the second control signal V_EN2 is a third voltage, the first circuit 1021 outputs an input voltage signal V_IN; when the voltage of the second control signal V_EN2 is a fourth voltage, the first circuit 1021 stops outputting the input voltage signal V_IN. It should be noted that in this embodiment, the third voltage and the fourth voltage are not equal, but this embodiment does not limit the magnitude relationship between the third voltage and the fourth voltage.

[0079] When the power control module 101 needs to send a communication signal to the load device 20, in addition to controlling the voltage output terminal d to output the first voltage signal V_OUT and controlling the voltage of the first control signal V_EN1 to switch between the first voltage and the second voltage according to a preset switching frequency, it can also control the voltage of the second control signal V_EN2 to be a fourth voltage. Therefore, combined with... Figure 1 The detailed description of scenario one in the illustrated embodiment and Figure 3 It can be seen that when the power control module 101 needs to send a communication signal to the load device 20, it always controls the voltage of the target voltage signal V_TGT output by the link module 102 to be the output voltage Vout, thereby further improving the stability of the voltage amplitude of the communication signal and thus further enhancing the effectiveness of the communication signal. Furthermore, when the power control module 101 does not need to send a communication signal to the load device 20, if it receives an input voltage signal V_IN, it controls the voltage of the second control signal V_EN2 to be the third voltage; if it does not receive an input voltage signal V_IN, it controls the voltage of the second control signal V_EN2 to be the fourth voltage.

[0080] Furthermore, this application embodiment does not limit the number of detection terminals in the load device and the power control module. Figure 1 and Figure 2 This is just an example. Please see below. Figure 5 , Figure 5 This is a schematic diagram of another charging-discharging circuit provided in an embodiment of this application. For example... Figure 5As shown, the output terminal i of the simultaneous charging and discharging circuit 10 is connected to one end of the first wireless earphone 201 and one end of the second wireless earphone 202. The first detection terminal m1 of the power control module 101 is connected to the first detection terminal p1 of the simultaneous charging and discharging circuit 10, and the second detection terminal m2 of the power control module 101 is connected to the second detection terminal p2 of the simultaneous charging and discharging circuit 10. The first detection terminal p1 of the simultaneous charging and discharging circuit 10 is connected to the other end of the first wireless earphone 201, and the second detection terminal p2 of the simultaneous charging and discharging circuit 10 is connected to the other end of the second wireless earphone 202. It can be understood that both the first wireless earphone 201 and the second wireless earphone 202 can be equivalent to... Figure 1 and Figure 3 In the illustrated embodiment, the first detection terminal m1 and the second detection terminal m2 of the power control module 101 can both be equivalent to the load device 20. Figure 1 and Figure 3 In the embodiment shown, the detection terminal m of the power control module 101, the first detection terminal p1 of the charging-discharging circuit 10, and the second detection terminal p2 can all be equivalent to... Figure 1 and Figure 3 The detection terminal p of the charging-discharging circuit 10 in the illustrated embodiment. Figure 5 For the connection relationships and working principle of each module in the charging-discharging circuit 10 shown in the embodiment, please refer to [link / reference]. Figures 1-4 The descriptions of the corresponding parts in the illustrated embodiments will not be repeated here.

[0081] Therefore, the simultaneous charging and discharging circuit 10 provided in this application can be applied to the scenario of wireless earphone charging cases. It should be noted that in practical applications, if... Figure 5 The link module 102 in the middle adopts Figure 3 The structure shown considers the voltage drop loss generated when the voltage signal flows through the first diode D1 and the second diode D2. When the power control module 101 sends a communication signal to the load device 20, it controls the voltage output terminal d to output a first voltage signal V_OUT, and adjusts the output voltage Vout to be no less than the sum of the preset communication amplitude and the voltage drop loss, so as to ensure that the voltage amplitude of the communication signal received by the first wireless earphone 201 and the second wireless earphone 202 is not less than the preset communication amplitude. For example, when the charging and discharging circuit 10 is applied to the wireless earphone charging case, the preset input voltage threshold mentioned above can be set to 5.5V, the preset communication voltage amplitude can be set to 5V, the standard input voltage is 5V, and the voltage drop loss generated by the first diode D1 and the second diode D2 is 0.2V.

[0082] For better understanding, please refer to Figure 6 , Figure 6 This is a signal voltage waveform diagram provided in an embodiment of this application. Figure 6The waveforms shown in Figures 601-604 are the waveforms of the input voltage signal V_IN, the first voltage signal V_OUT, the first control signal V_EN1, and the voltage signal V_III output from the output terminal i of the charging-discharging circuit 10, respectively.

[0083] Wherein, time T1 is the start time when the power control module 101 receives the input voltage signal V_IN and begins to send the communication signal V_PATTERN to the first wireless earphone 201 and the second wireless earphone 202. Time T2 is the start time when the power control module 101 receives the input voltage signal V_IN but does not need to send the communication signal V_PATTERN to the first wireless earphone 201 and the second wireless earphone 202. Time T3 is the start time when the power control module 101 does not receive the input voltage signal V_IN and does not need to send the communication signal V_PATTERN to the first wireless earphone 201 and the second wireless earphone 202. Time T4 is the start time when the power control module 101 does not receive the input voltage signal V_IN and needs to send the communication signal V_PATTERN to the first wireless earphone 201 and the second wireless earphone 202.

[0084] Combination Figure 5 and Figure 6 It can be seen that during the time period from time T1 to time T2, the power control module 101 outputs a first voltage signal V_OUT, adjusting the output voltage Vout to 5.2V (i.e., the sum of the preset communication voltage amplitude and voltage drop loss), and controls the voltage of the first control signal V_EN1 to switch between high and low levels according to a preset switching frequency, so that the first wireless earphone 201 and the second wireless earphone 202 can receive the communication signal. When the voltage of the first control signal V_EN1 is high, the voltage of the communication signal V_PATTERN (i.e., the voltage of the output terminal i of the charging and discharging circuit 10) is the maximum value between the output voltage Vout and the input voltage Vin.

[0085] During the time period from time T2 to time T3, the power control module 101 stops outputting the first voltage signal V_OUT and maintains the voltage of the first control signal V_EN1 at a high level, so that the first wireless earphone 201 and the second wireless earphone 202 are charged based on the input voltage Vin. During the time period from time T3 to time T4, the power control module 101 starts outputting the first voltage signal V_OUT, adjusts the output voltage Vout to 5V (i.e., the standard input voltage), and maintains the voltage of the first control signal V_EN1 at a high level, so that the first wireless earphone 201 and the second wireless earphone 202 are charged based on the output voltage Vout. After time T4, the power control module 101 starts adjusting the output voltage Vout from 5V (i.e., the standard input voltage) to 5.2V, and maintains the voltage of the first control signal V_EN1 at a high level, so that the first wireless earphone 201 and the second wireless earphone 202 are charged based on the output voltage Vout. In addition, the power control module 101 also linearly charges the rechargeable battery 103 when it receives the input voltage signal V_IN.

[0086] Therefore, Figure 5 The simultaneous charging and discharging circuit 10 shown in the diagram transmits communication signals to the wireless earphones. The voltage amplitude of the communication signal is unaffected by the input voltage Vin. Even if the input voltage Vin is low or the external power supply is disconnected from the simultaneous charging and discharging circuit 10 during signal transmission, the circuit can still continuously transmit communication signals to the wireless earphones, ensuring the validity of the communication signal. Furthermore, when the simultaneous charging and discharging circuit 10 does not need to transmit communication signals to the wireless earphones, if it receives the input voltage Vin, it charges both the wireless earphones and the rechargeable battery based on the input voltage Vin, avoiding power loss and heat accumulation caused by the rechargeable battery being in a simultaneous charging and discharging state for extended periods. If it does not receive the input voltage Vin, it charges the wireless earphones based on the output voltage Vout, thus ensuring power is supplied to the wireless earphones. In addition, the simultaneous charging and discharging circuit 10 can also detect the current signal during wireless earphone charging and stop charging when a fault is detected, preventing overcurrent damage to the internal circuitry of the simultaneous charging and discharging circuit 10 caused by a wireless earphone malfunction.

[0087] Therefore, the charging and discharging circuit 10 provided in this application embodiment is more suitable for application scenarios with high requirements for the effectiveness of communication signals, more suitable for high temperature charging scenarios, and more suitable for application scenarios with high requirements for charging safety.

[0088] In the embodiments of this application, "multiple" refers to two or more. Furthermore, unless otherwise stated, "first" in the embodiments of this application is used only for naming purposes and is not used to define the order, timing, priority, or importance of multiple objects, such as a first control signal, a first switching transistor, etc. This rule also applies to "second," "third," and "fourth," etc.

[0089] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all 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 circuit for simultaneous charging and discharging, characterized in that, The simultaneous charging and discharging circuit includes a power control module (101) and a link module (102). The input terminal (a) of the power control module (101) is connected to the input terminal (b) of the simultaneous charging and discharging circuit. The first input terminal (c1) of the link module (102) is connected to the input terminal (a) of the power control module (101). The second input terminal (c2) of the link module (102) is connected to the voltage output terminal (d) of the power control module (101). The third input terminal (c3) of the link module (102) is connected to the first control terminal (e) of the power control module (101). The output terminal (g) of the link module (102) is connected to the output terminal (i) of the simultaneous charging and discharging circuit. The output terminal (i) of the simultaneous charging and discharging circuit is used to connect to one end (n) of the load device (20), wherein: The first control terminal (e) of the power control module (101) is used to output a first control signal (V_EN1). When the voltage of the first control signal (V_EN1) is a first voltage, the link module (102) is used to output a target voltage signal (V_TGT). The target voltage signal (V_TGT) output by the link module (102) is the higher voltage signal between the voltage signal at the first input terminal (c1) and the voltage signal at the second input terminal (c2) of the link module (102). When the voltage of the first control signal (V_EN1) is a second voltage, the link module (102) is used to stop outputting the target voltage signal (V_TGT). The power control module (101) is used to control the voltage output terminal (d) of the power control module (101) to output a first voltage signal (V_OUT) when it is necessary to send a communication signal to the load device (20), and to control the voltage of the first control signal (V_EN1) to switch between the first voltage and the second voltage according to a preset switching frequency, wherein the voltage of the first voltage signal (V_OUT) is not less than the preset communication voltage amplitude.

2. The charging-discharging circuit according to claim 1, characterized in that, The power control module (101) is also used to control the voltage output terminal (d) of the power control module (101) to stop outputting the first voltage signal (V_OUT) and control the voltage of the first control signal (V_EN1) to be the first voltage when it receives the input voltage signal (V_IN) of the charging and discharging circuit and does not need to send a communication signal to the load device (20).

3. The charging-discharging circuit according to claim 2, characterized in that, The communication terminal (f) of the power control module (101) is connected to the output terminal (g) of the link module (102). The power control module (101) is further configured to control the communication terminal (f) of the power control module (101) to be in a high-impedance state when the voltage of the first control signal (V_EN1) is the first voltage, and to control the communication terminal (f) of the power control module (101) to be in a low-impedance state when the voltage of the first control signal (V_EN1) is the second voltage.

4. The charging-discharging circuit according to claim 2 or 3, characterized in that, The simultaneous charging and discharging circuit also includes an overvoltage protection module (104). The input terminal (a) of the power control module (101) is connected to the input terminal (b) of the simultaneous charging and discharging circuit through the overvoltage protection module (104). The overvoltage protection module (104) is used to output the input voltage signal (V_IN) when it is determined that the voltage of the input voltage signal (V_IN) of the simultaneous charging and discharging circuit is not greater than a preset input voltage threshold.

5. The charging-discharging circuit according to claim 4, characterized in that, The charging and discharging circuit also includes a rechargeable battery (103). The power control module (101) is also used to linearly charge the rechargeable battery (103) based on the input voltage signal (V_IN) of the charging and discharging circuit, and to control the rechargeable battery (103) to output the first voltage signal (V_OUT) through the voltage output terminal (d) of the power control module (101).

6. The charging-discharging circuit according to claim 5, characterized in that, The link module (102) includes a first circuit (1021), a second circuit (1022), and a third circuit (1023). The input terminal of the first circuit (1021) is the first input terminal (c1) of the link module (102), the input terminal of the second circuit (1022) is the second input terminal (c2) of the link module (102), the first input terminal (h1) of the third circuit (1023) is connected to the third input terminal (c3) of the link module (102), and the second input terminal (h2) of the third circuit (1023) is connected to the output terminal (j) of the first circuit (1021). The output terminal (k) of the first circuit (1021) and the second circuit (1022) are respectively, and the output terminal (g) of the third circuit (1023) is the output terminal (g) of the link module (102). The first circuit (1021) and the second circuit (1022) are both unidirectional conduction circuits. When the voltage of the first control signal (V_EN1) is the first voltage, the third circuit (1023) is used to output the target voltage signal (V_TGT). When the voltage of the first control signal (V_EN1) is the second voltage, the third circuit (1023) is used to stop outputting the target voltage signal (V_TGT).

7. The charging-discharging circuit according to claim 6, characterized in that, The first circuit (1021) includes a first diode (D1), and the second circuit (1022) includes a second diode (D2). The anode of the first diode (D1) is the input terminal of the first circuit (1021), the cathode of the first diode (D1) is the output terminal (j) of the first circuit (1021), the anode of the second diode (D2) is the input terminal of the second circuit (1022), and the cathode of the second diode (D2) is the output terminal (k) of the second circuit (1022).

8. The charging-discharging circuit according to claim 6 or 7, characterized in that, The third circuit (1023) includes a first resistor (R1), a second resistor (R2), a third resistor (R3), a first switch (Q1), and a second switch (Q2); The second input terminal (h2) of the third circuit (1023) is connected to the source of the first switch (Q1) and one end of the first resistor (R1). The gate of the first switch (Q1) is connected to the other end of the first resistor (R1) and the drain of the second switch (Q2). The drain of the first switch (Q1) is the output terminal of the third circuit (1023). The first input terminal (h1) of the third circuit (1023) is connected to one end of the second resistor (R2) and one end of the third resistor (R3). The other end of the second resistor (R2) is connected to the gate of the second switch (Q2). The other end of the third resistor (R3) is connected to the source of the second switch (Q2) and the reference ground.

9. The charging-discharging circuit according to any one of claims 5-7, characterized in that, The detection terminal (m) of the power control module (101) is connected to the detection terminal (p) of the simultaneous charging and discharging circuit, and the detection terminal (p) of the simultaneous charging and discharging circuit is connected to the other end (q) of the load device (20). The power control module (101) is also used for: Detect the current signal (I_SENSE) of the load device (20) during charging; If it is determined that the load device (20) is in an overcurrent state based on the current signal (I_SENSE), a hiccup protection operation is performed, wherein the hiccup protection operation is used to stop detecting the current signal (I_SENSE) and control the voltage of the first control signal (V_EN1) to the second voltage; Wait for a first preset time, and increment the execution count by 1 when the first preset time ends, where the execution count is the number of times the hiccup protection operation is performed; If it is determined that the number of executions is less than or equal to a preset threshold number, then the voltage of the first control signal (V_EN1) is controlled to be the first voltage. Wait for a second preset time, and if the second preset time ends, return to perform the operation of detecting the current signal (I_SENSE) when the load device (20) is charging.

10. The charging-discharging circuit according to claim 9, characterized in that, The power control module (101) is also used for: If it is determined that the number of executions is greater than the preset number threshold and a preset release signal is detected, the number of executions is reduced to zero, and the voltage of the first control signal (V_EN1) is controlled to be the first voltage. The preset release signal is used to reflect that the load device (20) is disconnected from the charging and discharging circuit for a third preset time and then reconnected, or to reflect that the input voltage signal (V_IN) stops input for a fourth preset time and then re-inputs. Wait for the second preset time, and if the second preset time ends, return to perform the operation of detecting the current signal (I_SENSE) when the load device (20) is charging; If it is determined that the number of executions exceeds a preset threshold and no preset release signal is detected, then the hiccup protection operation continues to be executed.

Citation Information

Patent Citations

  • Control system, emergency starting power supply and intelligent battery clip

    CN114336924A

  • Mobile power supply

    CN216215966U