Charging and discharging circuit and electronic device

By designing a charging and discharging circuit in an electronic device, selectively connecting an external power supply or accessory through the same interface, and controlling the working state of the charging and discharging circuit, combined with a wake-up circuit, the balance between charging and low power consumption for long battery life in electronic devices is solved, and low power charging and discharging functions are realized.

CN224385090UActive Publication Date: 2026-06-19SHENZHEN OCEANWING SMART INNOVATIONS TECHNOLOGY CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
SHENZHEN OCEANWING SMART INNOVATIONS TECHNOLOGY CO LTD
Filing Date
2025-04-30
Publication Date
2026-06-19

AI Technical Summary

Technical Problem

The battery components of existing electronic devices struggle to balance the demands for charging and low-power, long-lasting battery life, especially since they cannot achieve both charging and discharging through the same interface. Furthermore, the static current consumption in the charging chip and power path is significant.

Method used

A charging and discharging circuit is adopted, which selectively connects to external power supply components or external accessories through the same interface. The main control circuit controls the working state of the charging and discharging circuits, and the main control circuit and external accessories are woken up by the wake-up circuit, thereby reducing static current consumption.

Benefits of technology

It enables charging and discharging through the same interface, reducing the power consumption of electronic devices, extending standby and battery life, simplifying control logic, and reducing static current loss.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224385090U_ABST
    Figure CN224385090U_ABST
Patent Text Reader

Abstract

This application provides a charging and discharging circuit and an electronic device. The charging and discharging circuit includes a charging and discharging interface for selectively connecting an external power supply device or an external accessory; a charging circuit connected to the charging and discharging interface and a battery pack, which charges the battery pack with electrical energy transmitted from the external power supply device through the charging and discharging interface; a discharging circuit connected to the charging and discharging interface and the battery pack, which discharges the battery pack with electrical energy to the external accessory through the charging and discharging interface; and a wake-up circuit connected to the charging and discharging interface. The charging and discharging interface, the charging circuit, the discharging circuit, and the wake-up circuit are also connected to a main control circuit. Based on the insertion state of the external power supply device in the charging and discharging interface, the main control circuit controls the operation of the charging circuit; based on the insertion state of the external accessory in the charging and discharging interface, the main control circuit controls the operation of the discharging circuit; and based on the insertion state of the external accessory in the charging and discharging interface, the wake-up circuit enables wake-up between the main control circuit and the external accessory.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic technology, specifically to a charging and discharging circuit and an electronic device. Background Technology

[0002] Many electronic devices now have built-in battery components, such as rechargeable batteries, which can be charged to power the device itself. In some related technologies, electronic devices typically use a charging interface for charging and do not support external accessories for power supply or low-power communication. For example, battery-powered cameras do not support power supply and low-power communication for image transmission modules. In other related technologies, the battery component can directly supply power through a charging chip's reverse voltage boost, but the charging chip itself and other components in the power path have a large quiescent current, which is unsuitable for the low-power, long-lasting battery life requirements of electronic devices. Utility Model Content

[0003] In view of the above problems, this application provides a charging and discharging circuit and electronic device to realize charging and discharging functions through the same interface and reduce overall power consumption.

[0004] To solve the above-mentioned technical problems, the technical solution adopted in this application is conceived as follows:

[0005] This application provides a charging and discharging circuit for an electronic device. The electronic device includes a main control circuit, a battery pack, and the charging and discharging circuit. The charging and discharging circuit includes a charging and discharging interface for selectively connecting an external power supply or an external accessory; a charging circuit connected to the charging and discharging interface and the battery pack, which charges the battery pack with electrical energy transmitted from the external power supply through the charging and discharging interface; a discharging circuit connected to the charging and discharging interface and the battery pack, which discharges the battery pack with electrical energy to the external accessory through the charging and discharging interface; and a wake-up circuit connected to the charging and discharging interface. The charging and discharging interface, the charging circuit, the discharging circuit, and the wake-up circuit are also connected to the main control circuit. Based on the insertion state of the external power supply in the charging and discharging interface, the main control circuit controls the charging circuit to operate. Based on the insertion state of the external accessory in the charging and discharging interface, the main control circuit controls the discharging circuit to operate. Based on the insertion state of the external accessory in the charging and discharging interface, the wake-up circuit wakes up the main control circuit and the external accessory.

[0006] This application provides an electronic device, which includes: the above-mentioned charging and discharging circuit; a battery assembly connected to the charging and discharging circuit; and a main control circuit connected to the charging and discharging circuit.

[0007] The beneficial effects of the embodiments of this application, which differ from the prior art, are as follows: The charging and discharging circuit proposed in this application includes: a charging and discharging interface for selectively connecting an external power supply device or an external accessory; a charging circuit connected to the charging and discharging interface and the battery pack, and charging the battery pack with electrical energy transmitted by the external power supply device through the charging and discharging interface; a discharging circuit connected to the charging and discharging interface and the battery pack, and discharging the battery pack with electrical energy to the external accessory through the charging and discharging interface; and a wake-up circuit connected to the charging and discharging interface; the charging and discharging interface, the charging circuit, the discharging circuit, and the wake-up circuit are also respectively connected to the main control circuit; based on the plug-in state of the external power supply device in the charging and discharging interface, the main control circuit controls the charging circuit to work; based on the plug-in state of the external accessory in the charging and discharging interface, the main control circuit controls the discharging circuit to work; based on the plug-in state of the external accessory in the charging and discharging interface, the wake-up circuit realizes the wake-up between the main control circuit and the external accessory. On the one hand, this application enables the external power supply to charge the battery pack through the charging and discharging interface and the charging circuit, and enables the battery pack to supply power to external accessories through the charging and discharging interface and the discharging circuit. This not only realizes the charging and discharging functions of the charging and discharging interface, but also allows the battery pack to supply power to external accessories without the need for a charging circuit, thereby saving the static current of the charging chip and other components in the power path of the charging circuit, thus reducing the power consumption of the electronic device and extending its standby time. On the other hand, this application can also realize the wake-up between the external accessory plugged into the charging and discharging interface and the main control circuit of the electronic device through a wake-up circuit, thereby further reducing the power consumption of the electronic device and extending its battery life. Attached Figure Description

[0008] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort, wherein:

[0009] Figure 1 This is a schematic diagram of the structure of an embodiment of the electronic device of this application;

[0010] Figure 2 This is a schematic diagram of another embodiment of the electronic device of this application;

[0011] Figure 3 This is a schematic diagram of the circuit structure of an embodiment of the charging and discharging interface circuit of this application;

[0012] Figure 4 This is a schematic diagram of the circuit structure of an embodiment of the third switching circuit of this application;

[0013] Figure 5This is a schematic diagram of the circuit structure of an embodiment of the overvoltage protection circuit of this application;

[0014] Figure 6 This is a schematic diagram of the circuit structure of an embodiment of the charging chip of this application;

[0015] Figure 7 This is a schematic diagram of the circuit structure of one embodiment of the voltage conversion circuit of this application;

[0016] Figure 8 This is a schematic diagram of the circuit structure of one embodiment of the first switching circuit and the second switching circuit of this application. Detailed Implementation

[0017] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. It is understood that the specific embodiments described herein are only for explaining this application and not for limiting it. Furthermore, it should be noted that, for ease of description, only the parts related to this application are shown in the accompanying drawings, not all structures. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.

[0018] In the description of this application, it should be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," and "counterclockwise," etc., indicating orientation or positional relationships based on the orientation or positional relationships shown in the accompanying drawings, are 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, and therefore should not be construed as a limitation of this application. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include one or more of the stated features. In the description of this application, "a plurality of" means two or more, unless otherwise explicitly specified.

[0019] In the description of this application, it should be noted that, unless otherwise expressly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection, an electrical connection, or a connection that allows communication between them; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication between two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances.

[0020] In this application, unless otherwise expressly specified and limited, "above" or "below" the second feature can include direct contact between the first and second features, or contact between the first and second features through another feature between them. Furthermore, "above," "over," and "on top" of the second feature includes the first feature directly above or diagonally above the second feature, or simply indicates that the first feature is at a higher horizontal level than the second feature. "Below," "below," and "under" the second feature includes the first feature directly below or diagonally below the second feature, or simply indicates that the first feature is at a lower horizontal level than the second feature.

[0021] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0022] The connection mentioned in this application can be a wired electrical connection or a wireless connection to enable the transmission of electrical power and / or data.

[0023] This application proposes a charging and discharging circuit, such as Figure 1 As shown, Figure 1This is a schematic diagram of an embodiment of the electronic device of this application. The charging / discharging circuit 1 of this embodiment is used in the electronic device (not shown). The electronic device includes a main control circuit 50, a battery assembly 60, and the charging / discharging circuit 1. The charging / discharging circuit 1 includes: a charging / discharging interface 10, a charging circuit 20, a discharging circuit 30, and a wake-up circuit 40. The charging / discharging interface 10 is used to selectively connect to an external power supply device (not shown) or an external accessory (not shown). The charging circuit 20 is connected to the charging / discharging interface 10 and the battery assembly 60, and charges the battery assembly 60 with electrical energy transmitted from the external power supply device through the charging / discharging interface 10. The discharging circuit 30 is connected to the charging / discharging interface 10 and the battery assembly 60. The battery assembly 60 is connected and discharges its power to an external accessory through the charging / discharging interface 10. The wake-up circuit 40 is connected to the charging / discharging interface 10. The charging / discharging interface 10, the charging circuit 20, the discharging circuit 30, and the wake-up circuit 40 are also connected to the main control circuit 50. Based on the plug-in state of the external power supply component in the charging / discharging interface 10, the main control circuit 50 controls the charging circuit 20 to work. Based on the plug-in state of the external accessory in the charging / discharging interface 10, the main control circuit 50 controls the discharging circuit 30 to work. Based on the plug-in state of the external accessory in the charging / discharging interface 10, the wake-up circuit 40 enables the main control circuit 50 to wake up the external accessory.

[0024] The wake-up circuit 40 enables the main control circuit 50 to wake up the external accessory, meaning that the main control circuit 50 wakes up the external accessory through the wake-up circuit 40, or the external accessory wakes up the main control circuit 50 through the wake-up circuit 40.

[0025] On the one hand, this embodiment enables the external power supply to charge the battery pack 30 through the charging and discharging interface 10 and the charging circuit 20, and enables the battery pack 60 to supply power to external accessories through the charging and discharging interface 10 and the discharging circuit 30. This not only enables the charging and discharging functions of the charging and discharging interface 10, but also allows the battery pack 60 to supply power to external accessories without using the charging circuit 20, thereby saving the static current of the charging chip and other components in the power path of the charging circuit 20, thus reducing the power consumption of the electronic device and extending its standby time. On the other hand, this embodiment can also enable the external accessory plugged into the charging and discharging interface 10 and the main control circuit 50 of the electronic device to be woken up through the wake-up circuit 40, thereby further reducing the power consumption of the electronic device and extending its battery life.

[0026] In one application scenario, when an external power supply is plugged into the charging / discharging interface 10, the main control circuit 50 controls the charging circuit 20 to work and controls the discharging circuit 30 to not work, so as to charge the battery pack 60 with the electrical energy transmitted by the external power supply through the charging / discharging interface 10, thereby realizing the charging of electronic devices.

[0027] In some embodiments, an external power supply may include a charger, adapter, power supply, or other power supply components or assemblies.

[0028] In another application scenario, when an external accessory is plugged into the charging / discharging interface 10, the main control circuit 50 controls the discharging circuit 30 to work and controls the charging circuit 20 to not work, so that the power of the battery pack 60 can be discharged to the external accessory through the charging / discharging interface 10, thereby enabling the electronic device to supply power to the external accessory; and during the discharging process, the charging circuit 20 does not work, that is, the charging circuit 20 is not used, thereby saving the static current of the charging chip and other components in the power path of the charging circuit 20, thereby reducing the power consumption of the electronic device and extending its standby time.

[0029] In some embodiments, the external accessory may include an electronic module that transmits data with an electronic device, or a powered device.

[0030] In some embodiments, battery assembly 60 may include a battery, or a battery system including a battery, etc.

[0031] In another application scenario, when an external power supply is plugged into the charging / discharging interface 10, the main control circuit 50 also controls the wake-up circuit 40 to not work, in order to save energy and simplify control. When an external accessory is plugged into the charging / discharging interface 10, the main control circuit 50 and the external accessory can achieve bidirectional wake-up. For example, when there is no need for power or data transmission between the electronic device and the external accessory, both the main control circuit 50 and the external accessory can be in a sleep state. If the main control circuit 50 is woken up first (by other components of the electronic device or by external operation of the electronic device), the main control circuit 50 will wake up the external accessory through the wake-up circuit 40. If the external accessory is woken up first (by external operation), the external accessory will wake up the main control circuit 50 through the wake-up circuit 40.

[0032] In some embodiments, the main control circuit 50 may be implemented as at least one of a microprocessor unit, FPGA, ASIC, analog / discrete circuit, MCU+FPGA hybrid architecture, etc.

[0033] In some embodiments, the charging circuit 20 and the discharging circuit 30 switch the power path through mutually exclusive switching control. The charging and discharging circuit 1 of this application realizes charging and discharging through the same charging and discharging interface 10, and the charging process and the discharging process are mutually exclusive, that is, the charging process and the discharging process are asynchronous.

[0034] In some embodiments, such as Figure 1 and Figure 2 As shown, Figure 2This is a schematic diagram of another embodiment of the electronic device of this application. The charging / discharging interface 10 includes a first port a and a second port c. The charging circuit 20 and the discharging circuit 30 are both connected to the first port a; the wake-up circuit 40 is connected to the second port c. In this embodiment, the charging / discharging interface 10 connects to the charging circuit 20 and the discharging circuit 30 through the same first port a, which saves ports and is beneficial for miniaturization of the charging / discharging circuit 1 and the electronic device. Furthermore, by controlling the asynchronous operation of the charging circuit 20 and the discharging circuit 30 through the main control circuit 50, interference between the charging and discharging processes can be reduced or avoided, and the discharging process will not cause static current loss in the charging circuit 20. Moreover, by implementing different functions through the first port a and the second port c, the charging / discharging interface 10 can perform discharging and wake-up functions through different ports when external accessories are plugged in, reducing interference.

[0035] In other embodiments, the charging circuit 20 and the discharging circuit 30 can also be connected through different ports of the charging and discharging interface 10.

[0036] In some embodiments, the charging circuit 20 includes: a first switching circuit 21 and a charging control circuit 22; the control terminal of the first switching circuit 21 is connected to the main control circuit 50, and the first communication terminal of the first switching circuit 21 is connected to the charging / discharging interface 10; the charging control circuit 22 is connected to the second communication terminal of the first switching circuit 21 and is used to connect to the battery assembly 60; wherein, when an external power supply is plugged into the charging / discharging interface 10, the main control circuit 50 controls the first switching circuit 21 to be turned on; when no external power supply is plugged into the charging / discharging interface 10, the main control circuit 50 controls the first switching circuit 21 to be turned off.

[0037] In this embodiment, the charging circuit 20 is implemented through the first switching circuit 21 and the charging control circuit 22. The switching between the charging state and the non-charging state of the charging circuit 20 is controlled by the on / off state of the first switching circuit 21, which has high control accuracy and is simple to control. Furthermore, when the charging circuit 20 is in the non-charging state, the entire charging circuit is disconnected, thereby improving the reliability of the non-charging state.

[0038] The first communication terminal of the first switching circuit 21 is specifically connected to the first port a of the charging / discharging interface 10.

[0039] In some embodiments, the first switching circuit 21 can be implemented by a switching transistor, such as a MOSFET or an IGBT, for details which can be found in the relevant technology.

[0040] In some embodiments, such as Figure 2As shown, the discharge circuit 30 includes a second switching circuit 31 and a discharge control circuit 32. The control terminal of the second switching circuit 31 is connected to the main control circuit 50, and the first communication terminal of the second switching circuit 31 is connected to the charging / discharging interface 10. The discharge control circuit 32 is connected to the second communication terminal of the second switching circuit 31 and is used to connect to the battery assembly 60. When an external accessory is plugged into the charging / discharging interface 10, the main control circuit 50 controls the second switching circuit 31 to turn on. When no external accessory is plugged into the charging / discharging interface 10, the main control circuit 50 controls the second switching circuit to turn off.

[0041] In this embodiment, the discharge circuit 30 is implemented through the second switching circuit 31 and the discharge control circuit 32. The switching between the discharge state and the non-discharge state of the discharge circuit 30 is controlled by the on / off state of the second switching circuit 31, which has high control accuracy and is simple to control. Furthermore, when the discharge circuit 30 is in the non-discharge state, the entire discharge circuit is disconnected, thereby improving the reliability of the non-discharge state.

[0042] The first communication terminal of the second switching circuit 31 is specifically connected to the first port a of the charging / discharging interface 10.

[0043] In some embodiments, the second switching circuit 31 can be implemented by a switching transistor, such as a MOSFET or an IGBT, for details please refer to the relevant technology.

[0044] In some embodiments, such as Figure 2 As shown, the charging control circuit 22 includes an overvoltage protection circuit 221 and a charging chip 222. The overvoltage protection circuit 221 is connected to the second communication terminal of the first switching circuit 21 and the charging chip 222, and the charging chip 222 is also used to connect to the battery assembly 60. The discharging control circuit 32 includes a voltage conversion circuit 321. The voltage conversion circuit 321 is connected to the second communication terminal of the second switching circuit 31, the main control circuit 50, and the battery assembly 60. When an external accessory is plugged into the charging / discharging interface 10, the main control circuit 50 also controls the voltage conversion circuit 321 to work.

[0045] This embodiment implements the charging control circuit 22 through the overvoltage protection circuit 221 and the charging chip 222, which not only controls the charging process but also protects it. This embodiment also implements the discharge control circuit 32 through the voltage conversion circuit 321, which allows for adjustment of the discharge voltage. The voltage conversion circuit 321 can be a BOOST DC-DC circuit, etc.

[0046] In some embodiments, such as Figure 2As shown, the wake-up circuit 40 includes a third switch circuit 41, connected to the charging / discharging interface 10 and used to connect to the main control circuit 50. When an external accessory is plugged into the charging / discharging interface 10, the main control circuit 50 controls the third switch circuit 41 to turn on; when an external power supply is plugged into the charging / discharging interface 10, the main control circuit 50 controls the third switch circuit 41 to turn off. Specifically, the third switch circuit 41 is connected to the second port c. The wake-up circuit 40 is implemented through the third switch circuit 41, offering high control precision and simple operation.

[0047] In some embodiments, the same I / O port of the main control circuit 50 is connected to the first switch circuit 21, the second switch circuit 31, and the third switch circuit 41, respectively. The same control signal controls the first switch circuit 21, the second switch circuit 31, and the third switch circuit 41, respectively. For example, the same control signal can be used to control the first switch circuit 21 to be on, the second switch circuit 31 to be off, and the third switch circuit 41 to be off; conversely, the same control signal can be used to control the first switch circuit 21 to be off, the second switch circuit 31 to be on, and the third switch circuit 41 to be on. This method saves ports on the main control circuit 50, simplifies control, and simplifies the circuitry.

[0048] In some embodiments, such as Figure 2 As shown, the charging / discharging interface 10 further includes a third port b, used to connect to the main control circuit 50 and for data communication with the main control circuit 50. In this embodiment, the charging / discharging interface 10 realizes data transmission between the external accessory and the main control circuit 50 through the third port b, thereby realizing data transmission between the external accessory and the electronic device.

[0049] In some embodiments, such as Figure 2 and Figure 3 As shown, Figure 3 This is a detailed circuit diagram of one embodiment of the charging / discharging interface circuit of this application. The charging / discharging interface 10 includes a TYPE-C interface. The first port a is the power supply port VBUS of the TYPE-C interface (such as VBUS1, VBUS2, VBUS3, VBUS4), the second port c is the CC communication port of the TYPE-C interface (such as CC1, CC2), and the third port b is the data port D of the TYPE-C interface (such as D+_A, D+_B, D-_A, D-_B). The TYPE-C interface, also known as the USB-C interface, is a hardware interface form of Universal Serial Bus (USB). Of course, in other embodiments, other forms of interfaces can be used instead of the TYPE-C interface.

[0050] The CC signal in the CC communication port is a key signal for TYPE-C. As a powered device, pulling down a 5.1K resistor (such as R1370 or R1371) will cause the external power supply to output a standard 5V voltage to power the electronic device.

[0051] Furthermore, the TYPE-C interface also has ports SBU (such as SBU1 and SBU2). The main control circuit 50 is connected to the ports SBU in the TYPE-C interface. When the TYPE-C interface is connected to an external power supply device, the level of the port SBU is low, while when an external accessory is connected, the level of the SBU is high. Therefore, the main control circuit 50 can determine whether the TYPE-C interface is connected to an external accessory or an external power supply device based on the level of the port SBU.

[0052] Data port D and port SBU are connected to the main control circuit 50, respectively.

[0053] Among them, the TYPE-C interface includes, but is not limited to, the TYPE-C interface chip of UB612-F16M1BY-A.

[0054] In some embodiments, the specific circuit structure of the TYPE-C interface and its peripheral circuits are as follows: Figure 3 As shown, but not limited to.

[0055] In some embodiments, the third switching circuit 41 may include an analog switch and its peripheral circuitry, such as... Figure 4 As shown, but not limited to, other switching transistors or other switching circuits may be used to implement the third switching circuit 41 in other embodiments.

[0056] like Figure 4 As shown, the analog switch can be, but is not limited to, the SGM7227YUWQ10G / TR. The TYPE-C interface allows for communication with the analog switch via signals CC1 and CC2. The control signal EN controls the operation of the analog switch.

[0057] Enable port S and data port D+ are connected to the main control circuit 50; communication ports HSD1+ and HSD2+ are connected to the CC communication ports CC1 and CC2.

[0058] In some embodiments, the specific circuit structure and peripheral circuits of the overvoltage protection circuit 221 are as follows: Figure 5 As shown, but not limited to, the overvoltage protection circuit 221 has its connection point A1 connected to the first switching circuit 21, and its right-hand connection point connected to the charging chip 222. In other embodiments, other circuits can also be used to implement the overvoltage protection circuit 221.

[0059] like Figure 5 As shown, the overvoltage protection circuit 221 can be, but is not limited to, ETA7014S2G.

[0060] In some embodiments, the specific circuit structure of the charging chip 222 and its peripheral circuits are as follows: Figure 6As shown, but not limited to, the charging chip 222 can be implemented using other circuits in other embodiments.

[0061] like Figure 6 As shown, the charging chip 222 can be, but is not limited to, SGM41513YTQF24G / TR.

[0062] In some embodiments, the specific circuit structure of the voltage conversion circuit 321 and its peripheral circuits are as follows: Figure 7 As shown, but not limited to, the voltage conversion circuit 321 is connected at connection point A2 to the second switching circuit 32 (connection point A3). In other embodiments, other circuits may be used to implement the voltage conversion circuit 321.

[0063] like Figure 7 As shown, the voltage conversion circuit 321 includes a boost chip TLV61070ADBVR and its peripheral circuits, but is not limited thereto.

[0064] The enable port EN is connected to the main control circuit 50.

[0065] In some embodiments, the specific circuit structures and peripheral circuits of the first switching circuit 21 and the second switching circuit 31 are as follows: Figure 8 As shown, but not limited to, connection points A5 and A6 are connected to the main control circuit 50, connection point A3 is connected to the voltage conversion circuit 321, and connection point A4 is connected to the overvoltage protection circuit 221 (connection point A1). In other embodiments, other circuits may be used to implement the first switching circuit 21 and / or the second switching circuit 31.

[0066] In some application scenarios, participants Figures 2 to 8 As shown, the control signal EN output by the main control circuit 50 is at a low level by default. When the adapter is connected for charging, because the control signal EN is low, MOS switch 1 is turned on (EN low level, Q27 is not turned on, Q26 is turned on, thus controlling Q25 to turn on), and MOS switch 2 is turned off (EN low level, Q23 cannot turn on, thus Q22 cannot turn on); the third switch 41 is closed, and the CC communication port and OUT_Signal_IN are disconnected. The adapter can normally charge the battery pack 60 through the overvoltage protection circuit 221 to the charging chip 222.

[0067] In some application scenarios, participants Figures 2 to 8As shown, the main control circuit 50 controls the EN signal to output a high level, MOS switch 1 is turned off (EN high level, Q27 is turned on, thus controlling Q26 to not be turned on, thus controlling Q25 to not be turned on), MOS switch 2 is turned on (EN high level, Q23 is turned on, thus Q22 is turned on), and the third switch 41 is turned on; the voltage conversion circuit 321 works to output power, which supplies power to external accessories through MOS switch 2, while bypassing the overvoltage protection circuit 221 and the charging chip 222.

[0068] In some application scenarios, when both external accessories and electronic devices are in sleep / standby mode, the I / O ports connected to the CC communication port on the main control circuit 50 are configured as inputs, and a high-level interrupt is used to wake them up. When the external accessory wakes up first and needs to wake up the main control circuit 50, the external accessory configures the CC communication port connected to it to a high level to wake up the main control circuit 50. When the main control circuit 50 wakes up first and needs to wake up the external accessory, the main control circuit 50 configures the CC communication port connected to it to a high level to wake up the external accessory.

[0069] This application further proposes an electronic device, such as Figure 1 and Figure 2 As shown, the electronic device includes: a charging / discharging circuit 1, a battery assembly 60, and a main control circuit 50; the battery assembly 60 is connected to the charging / discharging circuit 1; the main control circuit 50 is connected to the charging / discharging circuit 1. The circuit structure and working principle of this embodiment can be found in the above embodiments, and will not be repeated here.

[0070] In some embodiments, the electronic device further includes an image acquisition component connected to the main control circuit 50. The main control circuit 50 controls the operation of the image acquisition component and the charging / discharging circuit 1 to realize image data transmission between the image acquisition component and the external accessory. The electronic device in this embodiment can be an image acquisition device such as a battery camera. The long-distance image transmission module can be used as an external accessory to transmit image data to the main control circuit 50 via the charging / discharging interface 10.

[0071] The charging and discharging circuit 1 proposed in this application can be used not only in image acquisition devices, but also in other electronic devices with charging and discharging functions, as well as data acquisition, storage, and control functions.

[0072] This application utilizes a low static boost DC-DC converter for external power supply and employs the aforementioned switching circuit, such as a MOSFET, for mutual exclusion logic switching to bypass power consumption by overvoltage protection devices in the charging circuit. Furthermore, this application utilizes the CC communication port of the Type-C interface for a sleep / wake-up design. This application uses a single Type-C interface, which can be used as a charging port and also to connect external accessories, such as a long-distance image transmission module. Both the external accessories and the electronic device are in sleep mode, and the CC communication port of the Type-C interface serves as the wake-up communication pin, allowing them to be woken up by each other, thus extending battery life.

[0073] The above description is merely an embodiment of this application and does not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.

Claims

1. A charging and discharging circuit for an electronic device, the electronic device comprising a main control circuit, a battery assembly, and a charging and discharging circuit. , Its features are, in, The charging and discharging circuit includes: The charging / discharging interface is used to selectively connect to an external power supply or external accessories; A charging circuit is connected to the charging and discharging interface and the battery assembly, and charges the battery assembly with electrical energy transmitted by the external power supply component through the charging and discharging interface. A discharge circuit is connected to the charging / discharging interface and the battery assembly, and discharges the electrical energy of the battery assembly to the external accessory through the charging / discharging interface. A wake-up circuit is connected to the charging / discharging interface; The charging / discharging interface, the charging circuit, the discharging circuit, and the wake-up circuit are also connected to the main control circuit. Based on the plug-in state of the external power supply component at the charging / discharging interface, the main control circuit controls the charging circuit to operate; based on the plug-in state of the external accessory at the charging / discharging interface, the main control circuit controls the discharging circuit to operate; based on the plug-in state of the external accessory at the charging / discharging interface, the wake-up circuit realizes the wake-up between the main control circuit and the external accessory.

2. The charging and discharging circuit according to claim 1, characterized in that, The charging / discharging interface includes: The first port is connected to both the charging circuit and the discharging circuit. The second port is where the wake-up circuit is connected.

3. The charging and discharging circuit according to claim 1, characterized in that, The charging circuit includes: A first switching circuit, wherein the control terminal of the first switching circuit is used to connect to the main control circuit, and the first communication terminal of the first switching circuit is connected to the charging and discharging interface; A charging control circuit is connected to the second communication terminal of the first switching circuit and is used to connect to the battery assembly; When the external power supply is plugged into the charging / discharging interface, the main control circuit controls the first switching circuit to turn on; when the external power supply is not plugged into the charging / discharging interface, the main control circuit controls the first switching circuit to turn off.

4. The charging and discharging circuit according to claim 3, characterized in that, The discharge circuit includes: A second switching circuit, the control terminal of the second switching circuit is connected to the main control circuit, and the first communication terminal of the second switching circuit is connected to the charging and discharging interface; A discharge control circuit is connected to the second communication terminal of the second switching circuit and is used to connect to the battery assembly; When the external accessory is plugged into the charging / discharging interface, the main control circuit controls the second switching circuit to turn on; when the external accessory is not plugged into the charging / discharging interface, the main control circuit controls the second switching circuit to turn off. The charging circuit and the discharging circuit switch the power path through mutually exclusive switch control.

5. The charging and discharging circuit according to claim 4, characterized in that, The charging control circuit includes an overvoltage protection circuit and a charging chip. The overvoltage protection circuit is connected to the second communication terminal of the first switching circuit and the charging chip, respectively. The charging chip is also used to connect to the battery assembly. The discharge control circuit includes a voltage conversion circuit, which is connected to the second communication terminal of the second switching circuit, the main control circuit, and the battery assembly. When the external accessory is plugged into the charging / discharging interface, the main control circuit also controls the voltage conversion circuit to work.

6. The charging and discharging circuit according to claim 1, characterized in that, The wake-up circuit includes: The third switching circuit is connected to the charging / discharging interface and is also used to connect to the main control circuit. When the external accessory is plugged into the charging / discharging interface, the main control circuit controls the third switching circuit to turn on. When the external power supply is plugged into the charging / discharging interface, the main control circuit controls the third switching circuit to turn off.

7. The charging and discharging circuit according to claim 6, characterized in that, The charging and discharging interface further includes a third port for connecting to the main control circuit and for data communication with the main control circuit.

8. The charging and discharging circuit according to claim 2, characterized in that, The charging and discharging interface includes a TYPE-C interface, the first port is a power supply port, and the second port is a CC communication port.

9. An electronic device, characterized in that, The electronic device includes: The charging and discharging circuit according to any one of claims 1 to 8; The battery assembly is connected to the charging and discharging circuit; The main control circuit is connected to the charging and discharging circuit.

10. The electronic device according to claim 9, characterized in that, The electronic device also includes: The image acquisition component is connected to the main control circuit. The main control circuit controls the operation of the image acquisition component and the charging and discharging circuit to realize image data transmission between the image acquisition component and the external accessory.