Memory circuit and device

By integrating power circuits and protocol chips in the storage circuit and controlling the power transmission using handshake signals, the mobile terminal device can simultaneously transmit and charge data on a single interface and supply power during charging, solving the problem of insufficient power supply for existing equipment.

CN119557254AActive Publication Date: 2025-03-04SHENZHEN SPEEDMOBILE TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202510137552.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-07
Publication Date
2025-03-04
Estimated Expiration
2045-02-07

AI Technical Summary

Technical Problem

Existing mobile terminal devices cannot transmit and charge data at the same time, and when connected to external data storage devices, the power consumption is faster and cannot meet the power supply needs of the memory module.

Method used

A storage circuit is designed, including a memory module, power supply circuit, protocol chip and connection port, and the handshake signal is obtained through the communication between the protocol chip and the connection port, and the power supply circuit is controlled to transmit power under different signal conditions to realize data transmission and charging at the same time.

Benefits of technology

It realizes data transmission and external charging/discharging of the battery cell at a single connection port, solving the problem that existing equipment cannot charge and transmit data simultaneously, and uses power to supply power when charging, avoiding disconnection caused by insufficient power supply.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119557254A_ABST
    Figure CN119557254A_ABST
Patent Text Reader

Abstract

The invention discloses a memory circuit and equipment. The memory circuit comprises a memory module, a power supply circuit, a protocol chip and a connection port, the connecting port is used for connecting external equipment; the protocol chip is used for acquiring a handshake signal; the memory module is connected with the connecting port; the power supply circuit is used for controlling the battery cell to supply power to the memory module and charge the external equipment or controlling the external equipment to supply power to the memory module when the handshake signal is a first discharge signal; and when the handshake signal is a charging signal, controlling the external equipment to supply power to the memory module, or controlling the external equipment to supply power to the memory module and charge the battery cell. According to the storage circuit, data transmission and external charging / discharging of the battery cell can be simultaneously carried out at a single connection port, and energy storage, charging and data storage and transmission functions are realized in a one-stop manner.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of storage technology, and in particular to a storage circuit and device. Background Art

[0002] USB Type-C interfaces are now common in mobile terminals, and can be connected to external data storage devices to expand the capacity of mobile terminals or to perform efficient and convenient data transmission. However, in order to reduce the thickness and volume of the device, many mobile terminals only retain one data interface, which cannot perform charging and data transmission at the same time. When connecting to an external data storage device, the mobile terminal not only consumes power itself, but also needs to power the storage device, which consumes power faster. If you want to take into account both charging and data transmission functions, you need to connect an additional expansion dock, etc., and the connecting cables are messy, which is inconvenient for daily use. Summary of the invention

[0003] The embodiments of the present invention provide a storage circuit and a device to solve the problem that the existing mobile terminal device is inconvenient to perform data transmission and charging at the same time.

[0004] An embodiment of the present invention provides a storage circuit, including a memory module, a power supply circuit, a protocol chip and a connection port; The connection port is used to connect to an external device to perform charging and discharging and / or data transmission with the external device; The protocol chip is connected to the connection port and is used to communicate with an external device through the connection port to obtain a handshake signal; The memory module is connected to the connection port; The power supply circuit is used to connect the battery cell, and is also connected to the memory module, the connection port and the protocol chip, and is used to control the battery cell to supply power to the memory module and charge the external device through the connection port when the handshake signal is a first discharge signal, or control the external device to supply power to the memory module; When the handshake signal is a charging signal, the external device is controlled to supply power to the memory module through the connection port, or the external device is controlled to supply power to the memory module and charge the battery cell through the connection port.

[0005] Preferably, the power supply circuit is further used to obtain the cell status corresponding to the cell; The power supply circuit is used to control the battery cell to supply power to the memory module and charge the external device through the connection port when the handshake signal is a first discharge signal and the battery cell state is a normal state; When the handshake signal is a first discharge signal and the cell state is an abnormal state, controlling an external device to supply power to the memory module; When the handshake signal is a charging signal and the battery cell is in a normal state, controlling an external device to supply power to the memory module and charge the battery cell; When the handshake signal is a charging signal and the cell state is an abnormal state, an external device is controlled to supply power to the memory module.

[0006] Preferably, the memory module comprises a memory chip and a first buck circuit; The storage chip is connected to the connection port and is used for data transmission with an external device; The power supply circuit is connected to the memory chip through the first buck circuit, and is used to supply power to the memory chip based on a preset power supply power.

[0007] Preferably, the protocol chip is connected to the first buck circuit, and is used to control the shutdown of the first buck circuit when the handshake signal is a fast charging signal.

[0008] Preferably, the first buck circuit comprises a buck chip, a first inductor and a first capacitor; The output end of the buck chip is connected to the first end of the first inductor, and the second end of the first inductor is connected to the storage chip; A first end of the first capacitor is connected to a connection node between the first inductor and the storage chip, and a second end of the first capacitor is grounded.

[0009] Preferably, the power supply circuit includes a second buck circuit, a first power supply chip and a first switch circuit; The first end of the second buck circuit is used to connect to the battery cell, the second end of the second buck circuit is connected to the first switch circuit through the first power chip, and the first switch circuit is connected to the connection port and the memory module; The first power chip is connected to the battery cell and the protocol chip, and is used to control the second buck circuit not to work and the first switch circuit to work when the handshake signal is a first discharge signal, so as to supply power to the memory module and charge the external device through the connection port, or control both the second buck circuit and the first switch circuit not to work so that the external device supplies power to the memory module; When the handshake signal is a charging signal, the second buck circuit and the first switch circuit are controlled to work, so that the external device supplies power to the memory module and charges the battery cell through the connection port, or the second buck circuit and the first switch circuit are controlled not to work, so that the external device supplies power to the memory module.

[0010] Preferably, the second buck circuit comprises a second inductor and a second capacitor; The first end of the second inductor is connected to the first power chip, and the second end of the second inductor is connected to the battery core; A first end of the second capacitor is connected to a connection node between the second inductor and the battery core, and a second end of the second capacitor is grounded.

[0011] Preferably, the storage circuit further includes a wireless charging module, and the power supply circuit further includes a second switch circuit; One end of the second switch circuit is connected to a connection node between the first switch circuit and the first power chip, and the other end of the second switch circuit is connected to the wireless charging module; The wireless charging module is connected to the first power chip, and is also used to perform electromagnetic coupling with an external device, communicate with the external device to obtain a second discharge signal, output a discharge start signal to the first power chip according to the second discharge signal, and charge the external device when the second switch circuit is turned on; The first power chip is used to control the second switch circuit to be turned on according to the discharge start signal.

[0012] Preferably, the wireless charging module includes a wireless charging control chip, a second power chip and a charging coil; The wireless charging control chip is connected to the charging coil through the second power chip, and is also connected to the first power chip, and is used to communicate with the external device to obtain a second discharge signal when the external device is electromagnetically coupled to the charging coil, and output a discharge start signal to the first power chip based on the second discharge signal; The second power chip is connected to the second switch circuit, and is used to charge the external device through the charging coil when the second switch circuit is turned on.

[0013] Preferably, the wireless charging module further includes a communication unit; The first end of the communication unit is connected to the charging coil, the second end of the communication unit is connected to the second power chip, and the wireless charging control chip is connected to the third end of the communication unit for obtaining a second discharge signal.

[0014] Preferably, the wireless charging module further includes an online upgrade unit; The online upgrade unit is connected to the connection port and the wireless charging control chip, and is used for performing online upgrade on the wireless charging control chip.

[0015] An embodiment of the present invention further provides a storage device, comprising a battery cell and any one of the storage circuits described above.

[0016] The embodiment of the present invention provides a storage circuit and device. By arranging a power supply circuit and a protocol chip in the storage circuit, data transmission and external charging / discharging of a battery cell can be realized at a single connection port at the same time, realizing a port for multiple uses and realizing energy storage, charging and data storage and transmission functions in one stop, solving the problem that existing electronic devices cannot simultaneously charge and transmit data to a storage device due to a single port setting. The power supply circuit in the present application can use the battery cell power to power a memory module while the battery cell is charging an external device. It can also solve the problem that the power supply capacity of the external device port is insufficient and cannot meet the power supply demand of the memory module, thereby preventing the disk from being disconnected or the chain from being disconnected. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.

[0018] Figure 1 is a schematic diagram of a block diagram of a storage circuit in one embodiment of the present invention; Figure 2 is a circuit structure diagram of a storage circuit in one embodiment of the present invention; Figure 3 is a circuit structure diagram of a storage circuit in one embodiment of the present invention; Figure 4 is a schematic diagram of a block diagram of a storage circuit in one embodiment of the present invention; Figure 5 is a circuit structure diagram of a storage circuit in one embodiment of the present invention; Figure 6 Schematic diagram of a circuit structure of a storage circuit in one embodiment of the present invention.

[0019] In the figure: 1. memory module; 11. memory chip; 12. first buck circuit; 2. power circuit; 21. second buck circuit; 22. first power chip; 23. first switch circuit; 24. second switch circuit; 3. protocol chip; 4. connection port; 5. battery cell; 6. wireless charging module; 61. wireless charging control chip; 62. second power chip; 63. charging coil; 64. communication unit; 65. online upgrade unit. DETAILED DESCRIPTION

[0020] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0021] It should be understood that the present invention can be implemented in different forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, providing these embodiments will make the disclosure thorough and complete and fully convey the scope of the present invention to those skilled in the art. In the accompanying drawings, the sizes and relative sizes of layers and regions may be exaggerated for clarity. The same reference numerals throughout represent the same elements.

[0022] It should be understood that when an element or layer is referred to as being "on, adjacent to, connected to or coupled to other elements or layers, it may be directly on, adjacent to, connected to or coupled to other elements or layers, or there may be intervening elements or layers. In contrast, when an element is referred to as being "directly on, directly adjacent to, directly connected to or directly coupled to other elements or layers, there may be no intervening elements or layers. It should be understood that, although the terms first, second, third, etc. may be used to describe various elements, components, regions, layers and / or parts, these elements, components, regions, layers and / or parts should not be limited by these terms. These terms are only used to distinguish one element, component, region, layer or part from another element, component, region, layer or part. Therefore, without departing from the teachings of the present invention, the first element, component, region, layer or part discussed below may be represented as a second element, component, region, layer or part.

[0023] Spatially relative terms such as "under," "beneath," "below," "under," "above," "above," and the like may be used herein for ease of description to describe the relationship of an element or feature shown in the figures to other elements or features. It should be understood that the spatially relative terms are intended to include different orientations of the device in use and operation in addition to the orientations shown in the figures. For example, if the device in the accompanying drawings is flipped, then the elements or features described as "under other elements" or "under" or "under" will be oriented as "above" the other elements or features. Thus, the exemplary terms "under" and "under" may include both upper and lower orientations. The device may be otherwise oriented (rotated 90 degrees or other orientations) and the spatial descriptors used herein are interpreted accordingly.

[0024] The purpose of the terms used herein is only to describe specific embodiments and is not intended to be limiting of the present invention. When used herein, the singular forms "one", "an" and "said / the" are also intended to include plural forms, unless the context clearly indicates otherwise. It should also be understood that the terms "consisting of" and / or "comprising", when used in this specification, determine the presence of the features, integers, steps, operations, elements and / or parts, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, parts and / or groups. When used herein, the term "and / or" includes any and all combinations of the relevant listed items.

[0025] In order to fully understand the present invention, detailed structures and steps will be presented in the following description to illustrate the technical solutions proposed by the present invention. The preferred embodiments of the present invention are described in detail below, but in addition to these detailed descriptions, the present invention may also have other implementations.

[0026] An embodiment of the present invention provides a storage circuit, including a memory module 1, a power supply circuit 2, a protocol chip 3 and a connection port 4; the protocol chip 3 is connected to the connection port 4, and the connection port 4 is used to connect an external device to perform charging and discharging and / or data transmission with the external device; the protocol chip 3 is connected to the connection port 4, and is used to communicate with the external device through the connection port 4 and obtain a handshake signal; the memory module 1 is connected to the connection port 4; the power supply circuit 2 is used to connect a battery cell 5, and is also connected to the memory module 1, the connection port 4 and the protocol chip 3, and is used to control the battery cell 5 to power the memory module 1 and charge the external device through the connection port 4 when the handshake signal obtained by the protocol chip 3 is a first discharge signal, or only control the external device to power the memory module 1; when the handshake signal is a charging signal, control the external device to power the memory module 1 through the connection port 4, or control the external device to power the memory module 1 and charge the battery cell 5 through the connection port 4.

[0027] As an example, the storage circuit includes a memory module 1, a power circuit 2, a protocol chip 3 and a connection port 4. The connection port 4 can be a Type-C port for connecting external devices, such as computers, mobile phones, chargers and other devices. The single connection port 4 in the storage circuit cooperates with the power circuit 2, the memory module 1 and the protocol chip 3 to realize discharging to the external device and transmitting data at the same time, or the external device charges the battery cell 5 connected to the power circuit 2 and transmits data at the same time, or only performs charging / discharging, or only performs data transmission.

[0028] The protocol chip 3 is connected to the connection port 4. When the connection port 4 is plugged into an external device, the protocol chip 3 can obtain a handshake signal with the external device through the CC configuration channel to determine the uplink / downlink relationship between the external device and the device, inform the external device of its own power supply capability and identify the power supply capability of the external device, and finally obtain a handshake signal containing a charging signal or a discharging signal according to the negotiation result, so that the power supply circuit 2 transmits power according to the handshake signal. For example, when the connection port 4 is plugged into the charger, the protocol chip 3 can communicate with the charger through the connection port 4, determine that the currently connected external device is a DFP (Downstream Facing Port) device, and negotiate the transmission voltage with the external device, and obtain a handshake signal containing a charging signal, so that the power supply circuit 2 can take power from the charger according to the transmission voltage negotiated in the handshake signal to charge the battery cell 5.

[0029] The memory module 1 is connected to the connection port 4 and is used for data transmission with an external device. The first end of the power circuit 2 is used to connect the battery cell 5, the second end of the power circuit 2 is connected to the connection port 4 and the memory module 1, and the third end of the power circuit 2 is connected to the protocol chip 3. If the handshake signal obtained by the protocol chip 3 and the external device is a first discharge signal, the power circuit 2 can control the battery cell 5 to supply power to the memory module 1 and charge the external device according to the signals such as the discharge voltage negotiated in the first discharge signal, so that the memory module 1 can respond to the data transmission demand and transmit data with the external device, so that data transmission and charging of the external device can be carried out at the same time. At the same time, since the power of the battery cell 5 is used to power the memory module 1 at this time, it is also enough to solve the problem that the power supply capacity of the external device port is insufficient and cannot meet the power supply demand of the memory module 1, and prevent the disk from being disconnected. Further, the first power chip 22 provided in the power circuit 2 can detect the state of the battery cell. If the state of the battery cell is abnormal, for example, the power of the battery cell 5 is lower than the preset power value, or the temperature of the battery cell 5 is too high, the power circuit 2 cannot supply power to the memory module 1 and charge the external device based on the first discharge signal. If the external device has a data transmission requirement, the external device can only supply power to the memory module 1 through the connection port 4, so that the memory module 1 can transmit data with the external device. If the handshake signal obtained by the protocol chip 3 handshaking with the external device is a charging signal, the power circuit 2 can control the external device to charge the battery cell 5 according to the charging signal, and supply power to the memory module 1 at the same time, so that when the external device has a data transmission requirement, the memory module 1 can transmit data with the external device, so that data transmission and charging of the battery cell can be carried out simultaneously. Further, if the state of the battery cell is abnormal, the power circuit 2 cannot control the external device to charge the battery cell 5 based on the charging signal, and can only enable the external device to supply power to the memory module 1.

[0030] In this example, by arranging a power supply circuit 2 and a protocol chip 3 in the storage circuit, data transmission and external charging / discharging of the battery cell 5 can be realized at the same time at a single connection port 4, realizing multiple uses of one port and realizing energy storage, charging and data storage and transmission functions in one stop, solving the problem that existing electronic devices cannot simultaneously charge and transmit data to storage devices due to the single-port setting. The power supply circuit 2 in the present application can use the power of the battery cell 5 to power the memory module 1 while the battery cell 5 is charging the external device. It can also solve the problem that the power supply capacity of the external device port is insufficient and cannot meet the power supply demand of the memory module 1, thereby preventing the disk from being disconnected or the chain from being disconnected.

[0031] In one embodiment, the power supply circuit 2 is also used to obtain the battery cell state corresponding to the battery cell 5; the power supply circuit 2 is used to control the battery cell 5 to supply power to the memory module 1 and charge the external device through the connection port 4 when the handshake signal obtained by the protocol chip 3 is a first discharge signal and the battery cell state is in a normal state; when the handshake signal obtained by the protocol chip 3 is a first discharge signal and the battery cell state is in an abnormal state, control the external device to supply power to the memory module 1; when the handshake signal obtained by the protocol chip 3 is a charging signal and the battery cell state is in a normal state, control the external device to supply power to the memory module 1 and charge the battery cell 5; when the handshake signal obtained by the protocol chip 3 is a charging signal and the battery cell state is in an abnormal state, control the external device to supply power to the memory module 1.

[0032] As an example, the power circuit 2 is also used to obtain the cell state corresponding to the cell 5. Specifically, a first power chip 22 may be provided in the power circuit 2, and the first power chip 22 is connected to the cell 5, and is used to obtain cell state information such as the current power and current temperature of the cell 5. If any of the obtained cell state information is in an abnormal state, the cell state is judged to be an abnormal state. For example, if the current power is lower than the preset power, or the current temperature of the cell 5 is not within the preset temperature range, the cell state is judged to be an abnormal state. Otherwise, the cell state is judged to be a normal state.

[0033] When the cell state is normal and the handshake signal obtained by the protocol chip 3 is the first discharge signal, the power circuit 2 controls the cell 5 to supply power to the memory module 1 and to charge the external device; when the cell state is abnormal and the handshake signal obtained by the protocol chip 3 is the first discharge signal, the power circuit 2 controls the external device to supply power to the memory module 1. When the cell state is normal and the handshake signal obtained by the protocol chip 3 is a charging signal, the power circuit 2 controls the external device to supply power to the memory module 1 and to charge the cell 5; when the cell state is abnormal and the handshake signal obtained by the protocol chip 3 is a charging signal, the power circuit 2 only controls the external device to supply power to the memory module 1. By detecting the cell state, it is possible to prevent the cell from exchanging power with the cell 5 when the cell state is not good, such as when the battery is too low or overheated, and to prevent undesirable phenomena such as over-discharge or overheating of the cell 5, thereby ensuring the safety of charging and discharging.

[0034] In one embodiment, the memory module 1 includes a memory chip 11 and a first buck circuit 12; the memory chip 11 is connected to the connection port 4 for data transmission with an external device; the power supply circuit 2 is connected to the memory chip 11 through the first buck circuit 12 for powering the memory chip 11 based on a preset power supply power.

[0035] As an example, the memory module 1 includes a memory chip 11 and a first buck circuit 12. The first buck circuit 12 is a circuit for performing DC-DC conversion on the voltage output by the power supply circuit 2. The memory chip 11 is connected to the connection port 4 for data transmission with an external device. The first end of the first buck circuit 12 is connected to the second end of the power supply circuit 2, and the second end of the first buck circuit 12 is connected to the memory chip 11 for DC-DC conversion of the voltage output by the power supply circuit 2. When the power supply circuit 2 controls the battery cell 5 to discharge to the outside, the first buck circuit 12 can perform DC-DC conversion on the voltage output by the battery cell 5, obtain the power supply voltage, such as 5V voltage, and supply it to the memory chip 11, so that the memory chip 11 can work based on the preset power supply power. In this example, the power supply circuit 2 can use the battery cell 5 to charge the external device while the battery cell 5 charges the external device, and use the battery cell 5 power to power the memory chip 11 based on the preset power supply power, which can ensure the stable transmission of data, solve the problem that the power supply capacity of the external device port is insufficient and cannot meet the power supply demand of the memory chip 11, and prevent the disk from breaking and dropping the chain.

[0036] In one embodiment, the protocol chip 3 is connected to the first buck circuit 12 and is used to control the first buck circuit 12 to be turned off when the handshake signal is a fast charging signal.

[0037] As an example, the protocol chip 3 is also connected to the first buck circuit 12. When an external device is plugged into the connection port 4, the protocol chip 3 can determine whether the handshake signal is a fast charging signal based on the charging voltage or charging power negotiated with the external device in the handshake signal. If the handshake signal is a fast charging signal, the first buck circuit 12 is controlled to be turned off, the power supply to the storage chip 11 is stopped, and the data transmission function is turned off to alleviate the heating during fast charging. For example, when the connection port 4 is plugged into a charger with a PD fast charging function, the protocol chip 3 can determine that the handshake signal is a fast charging signal based on the charging voltage or charging power negotiated with the external device in the handshake signal, and control the first buck circuit 12 to be turned off to stop powering the storage chip 11. Furthermore, if the handshake signal is not a fast charging signal, the first buck circuit 12 is still kept in an on state so that the external device can use the data transmission function normally. For example, when the connection port 4 is plugged into a computer, the protocol chip 3 can determine that the handshake signal is not a fast charging signal based on the charging voltage or charging power negotiated with the external device in the handshake signal. The protocol chip 3 keeps the first buck circuit 12 in an on state and normally powers the storage chip 11 so that the computer can normally transmit data with the storage chip 11 when there is a data transmission demand.

[0038] In one embodiment, if Figure 2 As shown, the first buck circuit 12 includes a buck chip U1, a first inductor L1 and a first capacitor C1; the input terminal VIN of the buck chip U1 is connected to the second end of the power supply circuit 2; the output terminal SW of the buck chip U1 is connected to the first end of the first inductor L1, and the second end of the first inductor L1 is connected to the storage chip 11; the first end of the first capacitor C1 is connected to the connection node between the first inductor L1 and the storage chip 11, and the second end of the first capacitor C1 is grounded.

[0039] As an example, the first buck circuit 12 includes a buck chip U1, a first inductor L1 and a first capacitor C1; the input terminal VIN of the buck chip U1 is connected to the second terminal of the power circuit 2, that is, the connection node VBUS_IN_SYS between the power circuit 2 and the connection port 4; the output terminal SW of the buck chip U1 is connected to the first terminal of the first inductor L1, and the second terminal of the first inductor L1 is connected to the storage chip 11; the first terminal of the first capacitor C1 is connected to the connection node between the first inductor L1 and the storage chip 11, and the second terminal of the first capacitor C1 is grounded. The output terminal SW of the buck chip U1 is used to output a PWM signal. When the output terminal SW of the buck chip U1 outputs a high-level signal, the electric energy is stored in the first inductor L1. When the output terminal SW of the buck chip U1 outputs a low-level signal, the electric energy stored in the first inductor L1 is released to power the connected storage chip 11.

[0040] In one embodiment, if Figure 1 and Figure 3 As shown, the power circuit 2 includes a second buck circuit 21, a first power chip 22 and a first switch circuit 23. The first end of the second buck circuit 21 is used to connect the battery cell 5, and the second end of the second buck circuit 21 is connected to the first switch circuit 23 through the first power chip 22, and the first switch circuit 23 is connected to the connection port 4 and the memory module 1; the first power chip 22 is connected to the battery cell 5 and the protocol chip 3, and is used to control the second buck circuit 21 not to work and the first switch circuit 23 to work when the handshake signal obtained by the protocol chip 3 is a first discharge signal, to supply power to the memory module 1, and to charge the external device through the connection port 4, or to control the second buck circuit 21 and the first switch circuit 23 not to work, so that the external device supplies power to the memory module 1; when the handshake signal is a charging signal, the second buck circuit 21 and the first switch circuit 23 are controlled to work, so that the external device supplies power to the memory module 1 through the connection port 4 and charges the battery cell 5, or to control the second buck circuit 21 and the first switch circuit 23 not to work, so that the external device supplies power to the memory module 1.

[0041] As an example, the power circuit 2 includes a second buck circuit 21, a first power chip 22 and a first switch circuit 23. The first end of the second buck circuit 21 is used to connect the battery cell 5, and the second end of the second buck circuit 21 is connected to the first switch circuit 23 through the first power chip 22. The second buck circuit 21 is a circuit for performing DC-DC conversion on the voltage input by the external device. The first switch circuit 23 is connected to the connection port 4 and the memory module 1, and the first power chip 22 is connected to the battery cell 5 and the protocol chip 3. Among them, the first switch circuit 23 may include a first MOS tube Q1, the drain of the first MOS tube Q1 is connected to the voltage output terminal VOUT of the first power chip 22, the gate of the first MOS tube Q1 is connected to the first output control terminal GATE1 of the first power chip 22, and the source of the first MOS tube Q1 is connected to the connection port 4 and the memory module 1, so as to be turned on / off under the control of the first power chip 22, so as to realize the turning on / off of the first switch circuit 23. The first power chip 22 can adopt a first power chip 22 with model SW6206, obtain the output voltage of the battery cell 5 through the power detection pin BAT, and detect the power of the battery cell 5, obtain the temperature of the battery cell 5 through the temperature detection pin, and communicate with the protocol chip 3 through the communication pin to obtain information such as the charge / discharge voltage based on the handshake signal. When the handshake signal obtained by the protocol chip 3 is the first discharge signal, the first power chip 22 can control the second buck circuit 21 to not work and turn on the first switch circuit 23, so that the electric energy output by the battery cell 5 through the power detection pin BAT can continue to be output to the external device through the first switch circuit 23 to charge the external device. Furthermore, when the first power chip 22 detects that the battery cell state is abnormal, for example, the power of the battery cell 5 is less than the preset power value, or the temperature of the battery cell 5 is not within the preset range, the second buck circuit 21 is controlled not to work and the first switch circuit 23 is turned off, so that the battery cell 5 cannot charge the external device or supply power to the memory module 1, thereby protecting the battery cell 5. At this time, the memory module 1 can only be powered by the interface output voltage of the external device to maintain the data transmission function. The first power chip 22 can also control the second buck circuit 21 to work and turn on the first switch circuit 23 when the handshake signal obtained by the protocol chip 3 is a charging signal, so that the electric energy output by the external device can flow to the battery cell 5 through the first switch circuit 23 and the second buck circuit 21 to charge the battery cell 5. Furthermore, when the first power chip 22 detects that the battery cell state is abnormal, it controls the second buck circuit 21 not to work and turns off the first switch circuit 23, so that the external device cannot charge the battery cell 5 and protect the battery cell 5. At this time, only the external device keeps powering the memory module 1 to maintain the output transmission function.

[0042] In one embodiment, if Figure 3As shown, the second buck circuit 21 includes a second inductor L2 and a second capacitor C2; the first end of the second inductor L2 is connected to the first power chip 22, and the second end of the second inductor L2 is connected to the battery core 5; the first end of the second capacitor C2 is connected to the connection node between the second inductor L2 and the battery core 5, and the second end of the second capacitor C2 is grounded.

[0043] As an example, the second buck circuit 21 includes a second inductor L2 and a second capacitor C2; a first end of the second inductor L2 is connected to the signal output terminal SW of the first power chip 22, and a second end of the second inductor L2 is connected to the battery cell 5; a first end of the second capacitor C2 is connected to a connection node between the second inductor L2 and the battery cell 5, and a second end of the second capacitor C2 is grounded. The signal output terminal SW of the first power chip 22 is used to output a PWM signal. When the signal output terminal SW of the first power chip 22 outputs a high-level signal, electric energy is stored in the second inductor L2. When the signal output terminal SW of the first power chip 22 outputs a low-level signal, the electric energy stored in the second inductor L2 is released to supply power to the connected battery cell 5.

[0044] In one embodiment, the storage circuit also includes a wireless charging module 6, and the power supply circuit 2 also includes a second switch circuit 24; one end of the second switch circuit 24 is connected to the connection node between the first switch circuit 23 and the first power chip 22, and the other end of the second switch circuit 24 is connected to the wireless charging module 6; the wireless charging module 6 is connected to the first power chip 22, and is also used to perform electromagnetic coupling with an external device, communicate with the external device to obtain a second discharge signal, output a discharge start signal to the first power chip 22 according to the second discharge signal, and charge the external device when the second switch circuit 24 is turned on; the first power chip 22 is used to control the opening of the second switch circuit 24 according to the discharge start signal.

[0045] As an example, the storage circuit also includes a wireless charging module 6, and the power supply circuit 2 also includes a second switch circuit 24. One end of the second switch circuit 24 is connected to the connection node between the first switch circuit 23 and the first power chip 22, and the other end of the second switch circuit 24 is connected to the wireless charging module 6, wherein the second switch circuit 24 may include a second MOS tube Q2, the gate of the second MOS tube Q2 is connected to the first power chip 22, the drain of the second MOS tube Q2 is connected to the connection node between the first switch circuit 23 and the first power chip 22, and the source of the second MOS tube Q2 is connected to the wireless charging module 6, so as to be turned on / off under the control of the first power chip 22, so as to realize the conduction / off of the second switch circuit 24, and realize the opening / closing of the power supply to the wireless charging module 6. The wireless charging module 6 is connected to the first power chip 22, and is also used to perform electromagnetic coupling with an external device through a charging coil 63. When the external device is close to the charging coil 63, it can be magnetically coupled with the charging coil 63, so that the wireless charging module 6 can further communicate and handshake with the external device through magnetic coupling, and obtain a second discharge signal containing a charging voltage, a charging power, etc. The wireless charging module 6 can perform I2C communication with the first power chip 22, and continue to send a discharge start signal to the first power chip 22 according to the second discharge signal, so that the first power chip 22 controls the opening of the second switch circuit 24. After the second switch circuit 24 is turned on, the wireless charging module 6 can process the electric energy output by the power circuit 2 and charge the external device through the charging coil 63. Further, when the first power chip 22 detects that the state of the battery cell is abnormal, even if the discharge start signal sent by the wireless charging module 6 is detected, the second switch circuit 24 will not be turned on to protect the battery cell 5.

[0046] In one embodiment, if Figure 4 As shown, the wireless charging module 6 includes a wireless charging control chip 61, a second power chip 62 and a charging coil 63; the wireless charging control chip 61 is connected to the charging coil 63 through the second power chip 62, and is also connected to the first power chip 22, and is used to communicate with the external device to obtain a second discharge signal when the external device is electromagnetically coupled with the charging coil 63, and based on the second discharge signal, output a discharge start signal to the first power chip 22; the second power chip 62 is connected to the second switch circuit 24, and is used to charge the external device through the charging coil 63 when the second switch circuit 24 is turned on.

[0047] As an example, the wireless charging module 6 includes a wireless charging control chip 61, a second power chip 62 and a charging coil 63. The wireless charging control chip 61 is connected to the charging coil 63 through the wireless charging module 6. When the external device is close to the charging coil 63, it can be magnetically coupled with the charging coil 63 so that a current is generated in the charging coil 63. The wireless charging control chip 61 can further communicate and handshake with the external device by detecting the current generated by electromagnetic induction, and obtain a second discharge signal including a charging voltage, a charging power, etc. The wireless charging control chip 61 is also connected to the first power chip 22, and can communicate with the first power chip 22 through I2C. Based on the second discharge signal, a discharge start signal is output to the first power chip 22, so that the first power chip 22 turns on the second switch circuit 24. The second power chip 62 is a wireless charging power chip, which is connected to the second switch circuit 24 and the charging coil 63. When the second switch circuit 24 is turned on, the second power chip 62 can process the electric energy output by the power circuit 2 and charge the external device through the charging coil 63. Furthermore, when the first power chip 22 detects that the battery cell state is abnormal, even if the discharge start signal sent by the wireless charging module 6 is detected, the second switch circuit 24 will not be turned on to protect the battery cell 5.

[0048] In one embodiment, if Figure 4 As shown, the wireless charging module 6 also includes a communication unit 64; a first end of the communication unit 64 is connected to the charging coil 63, a second end of the communication unit 64 is connected to the second power chip 62, and the wireless charging control chip 61 is connected to the third end of the communication unit 64 for obtaining a second discharge signal.

[0049] As an example, the wireless charging module 6 further includes a communication unit 64, a first end of the communication unit 64 is connected to the charging coil 63, and is used to obtain a magnetic induction current when the external device is magnetically coupled with the charging coil 63, a second end of the communication unit 64 is connected to a communication pin VDM of a second power chip 62, and the second power chip 62 can provide a reference voltage for the communication unit 64, and a third end of the communication unit 64 is connected to the wireless charging control chip 61, and is used to obtain a second discharge signal when a magnetic induction current is generated in the charging coil 63. Specifically, as Figure 5As shown, the communication unit 64 may include a first diode D1, a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a third capacitor C3, a fourth capacitor C4 and a fifth capacitor C5. The third capacitor C3 and the fourth capacitor C4 are connected in series between the communication pin VDM of the second power chip 62 and the ground; the anode of the first diode D1 is connected to the charging coil 63, the cathode of the first diode D1 is connected to the first end of the first resistor R1, the second end of the first resistor R1 is connected to the first end of the second resistor R2, and the second end of the second resistor R2 is connected to the connection node between the third capacitor C3 and the fourth capacitor C4; the first end of the third resistor R3 and the first end of the fifth capacitor C5 are both connected to the connection node between the first resistor R1 and the second resistor R2, the second end of the third resistor R3 and the second end of the fifth capacitor C5 are grounded, the first end of the fourth resistor R4 is connected to the second end of the third resistor R3, the second end of the fourth resistor R4 is connected to the second end of the fifth capacitor C5, and the wireless charging control chip 61 is connected to the first end of the fourth resistor R4.

[0050] In one embodiment, if Figure 4 As shown, the wireless charging module 6 further includes an online upgrade unit 65 ; the online upgrade unit 65 is connected to the connection port 4 and the wireless charging control chip 61 , and is used to perform online upgrade on the wireless charging control chip 61 .

[0051] As an example, the wireless charging module 6 further includes an online upgrade unit 65. Specifically, Figure 6 As shown, the online upgrade unit 65 includes a third MOS tube Q3 and a fourth MOS tube Q4, the third MOS tube Q3 is a PMOS tube, the fourth MOS tube Q4 is an NMOS tube, the source of the third MOS tube Q3 is connected to the connection port 4, the drain of the third MOS tube Q3 is connected to the power supply pin VC of the wireless charging control chip 61, the gate of the third MOS tube Q3 is connected to the drain of the fourth MOS tube Q4, the source of the fourth MOS tube Q4 is grounded, the gate of the fourth MOS tube Q4 is connected to the enable end of the wireless charging control chip 61, and the wireless charging control chip 61 The communication pins CL and DA are connected to the connection port 4, and are used to output a high-level signal from the enable pin EN when an online upgrade signal is generated at the connection port 4, so that the fourth MOS tube Q4 of the third MOS tube Q3 is turned on, and the electric energy output from the connection port 4 can be transmitted to the power supply pin VC of the wireless charging control chip 61 to power the wireless charging control chip 61, so that the wireless charging control chip 61 can receive the online upgrade instruction transmitted through the connection port 4 through the communication pins CL and DA, and update the built-in wireless charging code to be compatible with more wireless charging devices.

[0052] An embodiment of the present invention further provides a storage device, comprising a battery cell 5 and the storage circuit in the above embodiment.

[0053] As an example, the storage device includes a battery cell 5 and the storage circuit in the above example. In this example, by setting a power supply circuit 2 and a protocol chip 3 in the storage circuit, data transmission and external charging / discharging of the battery cell 5 can be realized at a single connection port 4 at the same time, realizing one port for multiple uses, and realizing energy storage, charging and data storage and transmission functions in one stop, solving the problem that existing electronic devices cannot be charged and transmit data to storage devices at the same time due to the single port setting, and the power supply circuit 2 in this application can use the power of the battery cell 5 to power the memory module 1 while the battery cell 5 is charging the external device, and can also solve the problem that the power supply capacity of the external device port is insufficient and cannot meet the power supply demand of the memory module 1, and prevent the disk from breaking and dropping the chain.

[0054] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.

Claims

1. A storage circuit, characterized in that: It includes a memory module, a power supply circuit, a protocol chip and a connection port; The connection port is used to connect to an external device to perform charging and discharging and / or data transmission with the external device; The protocol chip is connected to the connection port and is used to communicate with an external device through the connection port to obtain a handshake signal; The memory module is connected to the connection port; The power supply circuit is used to connect the battery cell, and is also connected to the memory module, the connection port and the protocol chip, and is used to control the battery cell to supply power to the memory module and charge the external device through the connection port when the handshake signal is a first discharge signal, or control the external device to supply power to the memory module; When the handshake signal is a charging signal, the external device is controlled to supply power to the memory module through the connection port, or the external device is controlled to supply power to the memory module and charge the battery cell through the connection port.

2. The storage circuit according to claim 1, wherein: The power supply circuit is also used to obtain the battery cell status corresponding to the battery cell; The power supply circuit is used to control the battery cell to supply power to the memory module and charge the external device through the connection port when the handshake signal is a first discharge signal and the battery cell state is a normal state; When the handshake signal is a first discharge signal and the cell state is an abnormal state, controlling an external device to supply power to the memory module; When the handshake signal is a charging signal and the battery cell is in a normal state, controlling an external device to supply power to the memory module and charge the battery cell; When the handshake signal is a charging signal and the cell state is an abnormal state, an external device is controlled to supply power to the memory module.

3. The storage circuit according to claim 1, wherein: The memory module includes a memory chip and a first buck circuit; The storage chip is connected to the connection port and is used for data transmission with an external device; The power supply circuit is connected to the memory chip through the first buck circuit, and is used to supply power to the memory chip based on a preset power supply power.

4. The storage circuit according to claim 3, characterized in that: The protocol chip is connected to the first buck circuit and is used to control the shutdown of the first buck circuit when the handshake signal is a fast charging signal.

5. The storage circuit according to claim 3, characterized in that: The first buck circuit includes a buck chip, a first inductor and a first capacitor; The output end of the buck chip is connected to the first end of the first inductor, and the second end of the first inductor is connected to the storage chip; A first end of the first capacitor is connected to a connection node between the first inductor and the storage chip, and a second end of the first capacitor is grounded.

6. The storage circuit according to claim 1, wherein: The power supply circuit includes a second buck circuit, a first power supply chip and a first switch circuit; The first end of the second buck circuit is used to connect to the battery cell, the second end of the second buck circuit is connected to the first switch circuit through the first power chip, and the first switch circuit is connected to the connection port and the memory module; The first power chip is connected to the battery cell and the protocol chip, and is used to control the second buck circuit not to work and the first switch circuit to work when the handshake signal is a first discharge signal, so as to supply power to the memory module and charge the external device through the connection port, or control both the second buck circuit and the first switch circuit not to work so that the external device supplies power to the memory module; When the handshake signal is a charging signal, the second buck circuit and the first switch circuit are controlled to work, so that the external device supplies power to the memory module and charges the battery cell through the connection port, or the second buck circuit and the first switch circuit are controlled not to work, so that the external device supplies power to the memory module.

7. The storage circuit according to claim 6, characterized in that: The second buck circuit includes a second inductor and a second capacitor; The first end of the second inductor is connected to the first power chip, and the second end of the second inductor is connected to the battery core; A first end of the second capacitor is connected to a connection node between the second inductor and the battery core, and a second end of the second capacitor is grounded.

8. The storage circuit according to claim 6, characterized in that: The storage circuit further includes a wireless charging module, and the power supply circuit further includes a second switch circuit; One end of the second switch circuit is connected to a connection node between the first switch circuit and the first power chip, and the other end of the second switch circuit is connected to the wireless charging module; The wireless charging module is connected to the first power chip, and is also used to perform electromagnetic coupling with an external device, communicate with the external device to obtain a second discharge signal, output a discharge start signal to the first power chip according to the second discharge signal, and charge the external device when the second switch circuit is turned on; The first power chip is used to control the second switch circuit to be turned on according to the discharge start signal.

9. The storage circuit according to claim 8, characterized in that: The wireless charging module includes a wireless charging control chip, a second power chip and a charging coil; The wireless charging control chip is connected to the charging coil through the second power chip, and is also connected to the first power chip, and is used to communicate with the external device to obtain a second discharge signal when the external device is electromagnetically coupled to the charging coil, and output a discharge start signal to the first power chip based on the second discharge signal; The second power chip is connected to the second switch circuit, and is used to charge the external device through the charging coil when the second switch circuit is turned on.

10. The storage circuit according to claim 9, characterized in that: The wireless charging module also includes a communication unit; The first end of the communication unit is connected to the charging coil, the second end of the communication unit is connected to the second power chip, and the wireless charging control chip is connected to the third end of the communication unit for obtaining a second discharge signal.

11. The storage circuit according to claim 9, characterized in that: The wireless charging module also includes an online upgrade unit; The online upgrade unit is connected to the connection port and the wireless charging control chip, and is used for performing online upgrade on the wireless charging control chip.

12. A storage device, characterized in that: It comprises a battery cell and the storage circuit according to any one of claims 1 to 11.

Citation Information

Patent Citations

  • Charging and discharging control system and method and battery pack

    CN114448010A

  • Charging circuit with storage function and charger

    CN116599195A

  • Electronic equipment, control method and related device

    CN118473035A

  • USB flash disk treasured that charges and control circuit thereof

    CN207677460U

  • Multifunctional portable mobile power supply

    CN212343393U