Hard disk protection circuit and hard disk cartridge

By using supercapacitor circuits and control circuits in the hard disk box, the supercapacitor powers the hard disk when the hard disk box is disconnected from the host, delaying the interruption of system power supply, solving the problem of data loss and ensuring the safety of the hard disk.

CN222952663UActive Publication Date: 2025-06-06SHENZHEN BASEUS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202421619544.1
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-07-09
Publication Date
2025-06-06
Estimated Expiration
2034-07-09

AI Technical Summary

Technical Problem

When the user reads and writes data in the hard disk box inserted into the solid state hard disk, the user unplugged the cable of the hard disk box without waiting for copying or cutting the data, causing the SSD to be unable to continue working after the power is off, resulting in data loss and affecting the safety of the hard disk.

Method used

A hard disk protection circuit is provided, including a supercapacitor circuit and a control circuit. When the hard disk box is disconnected from the host, the supercapacitor circuit supplies power to the first hard disk through a discharge switch circuit to delay interruption of the system power supply.

Benefits of technology

Through the energy storage function of the supercapacitor, the power outage time of the hard disk is delayed, ensuring that data can be fully written to the hard disk, protecting the safety of the hard disk box, and preventing data loss.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222952663U_ABST
    Figure CN222952663U_ABST
Patent Text Reader

Abstract

The embodiment of the utility model discloses a hard disk protection circuit and a hard disk cartridge, the hard disk protection circuit comprises a super capacitor circuit and a control circuit, the super capacitor circuit is connected with the control circuit, and the super capacitor circuit comprises a super capacitor and a discharge switch circuit; the control circuit is used for sending a first signal to the discharge switch circuit when detecting that the hard disk cartridge is disconnected from a host, the discharge switch circuit is triggered to be conducted, and the super capacitor supplies power to a first hard disk; the first hard disk is a hard disk inserted into the hard disk box.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a hard disk protection circuit and a hard disk box. Background Art

[0002] When a user inserts a solid state disk (SSD) into a hard disk enclosure to read or write data, but the user unplugs the hard disk enclosure cable before copying or cutting data, the SSD cannot continue to work after power failure, resulting in data loss and affecting the safety of the hard disk. Utility Model Content

[0003] The embodiments of the present application provide a hard disk protection circuit and a hard disk box.

[0004] The technical solution of the embodiment of the present application is implemented as follows:

[0005] In a first aspect, an embodiment of the present application provides a hard disk protection circuit, which is applied to a hard disk box. The hard disk protection circuit includes: a super capacitor circuit and a control circuit, wherein the super capacitor circuit is connected to the control circuit.

[0006] The supercapacitor circuit comprises a supercapacitor and a discharge switch circuit;

[0007] The control circuit is used to send a first signal to the discharge switch circuit when it detects that the hard disk box is disconnected from the host, triggering the discharge switch circuit to turn on, and the super capacitor supplies power to the first hard disk; the first hard disk is the hard disk inserted into the hard disk box.

[0008] In a second aspect, an embodiment of the present application provides a hard disk box, and the hard disk box includes: a hard disk protection circuit as described in any one of the embodiments of the present application.

[0009] Through the hard disk protection circuit provided in the embodiment of the present application, the supercapacitor has an energy storage function. When the user unplugs the hard disk box, the supercapacitor can continue to power the hard disk, ensuring that the data can be completely written to the hard disk and protecting the safety of the hard disk box. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] Figure 1 A schematic diagram of the structure of the hard disk protection circuit provided in the embodiment of the present application Figure 1 ;

[0011] Figure 2 A schematic diagram of the structure of a supercapacitor circuit and a buck circuit provided in an embodiment of the present application;

[0012] Figure 3 A schematic diagram of the structure of a boost circuit provided in an embodiment of the present application;

[0013] Figure 4 A schematic diagram of the structure of a charging detection circuit provided in an embodiment of the present application;

[0014] Figure 5 A schematic diagram of the structure of a comparator circuit provided in an embodiment of the present application;

[0015] Figure 6 A schematic diagram of the structure of a power display circuit provided in an embodiment of the present application;

[0016] Figure 7 A schematic diagram of the structure of a battery management circuit provided in an embodiment of the present application;

[0017] Figure 8 A schematic diagram of the structure of a voltage stabilizing circuit provided in an embodiment of the present application;

[0018] Fig. 9 A schematic diagram of the structure of a control circuit provided in an embodiment of the present application;

[0019] Fig.10 A schematic diagram of the structure of the hard disk protection circuit provided in the embodiment of the present application Figure 2 . DETAILED DESCRIPTION

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

[0021] It should be noted that in the embodiments of the present application, the term "and / or" is only a description of the association relationship of the associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the embodiments of the present application, the character " / " generally indicates that the associated objects before and after are in an "or" relationship.

[0022] In the description of the embodiments of the present application, the term "corresponding" may indicate a direct or indirect correspondence between two items, or an association relationship between the two items, or a relationship between indication and being indicated, configuration and being configured, and the like.

[0023] To facilitate understanding of the technical solutions of the embodiments of the present application, the relevant technologies of the embodiments of the present application are described below. The following related technologies can be arbitrarily combined with the technical solutions of the embodiments of the present application as optional solutions, and they all belong to the protection scope of the embodiments of the present application.

[0024] Figure 1A structural diagram of a hard disk protection circuit provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, an embodiment of the present application provides a hard disk protection circuit, which is applied to a hard disk box. The hard disk protection circuit includes: a super capacitor circuit and a control circuit. The super capacitor circuit is connected to the control circuit, wherein:

[0025] The supercapacitor circuit comprises a supercapacitor and a discharge switch circuit;

[0026] The control circuit is used to send a first signal to the discharge switch circuit when it detects that the hard disk box is disconnected from the host, triggering the discharge switch circuit to turn on, and the super capacitor supplies power to the first hard disk; the first hard disk is the hard disk inserted into the hard disk box.

[0027] In the embodiment of the present application, the super capacitor is connected to the first hard disk, and the super capacitor is an energy storage component. When the hard disk box is unplugged from the host, the control circuit sends a first signal to the discharge switch circuit, triggering the discharge switch circuit to be turned on, and the super capacitor starts to discharge and supplies power to the first hard disk. The discharge time of the super capacitor is about 10 seconds, which allows the hard disk to continue to run for about 10 seconds. When the user inserts the hard disk box of the SSD to read and write data, but the user does not wait to copy or cut the data before unplugging the wire of the hard disk box, the super capacitor will be switched to power supply at this time, delaying the system power supply for 1-10 seconds. This can prevent abnormal power failure from causing these new mapping relationships to be lost. The firmware of the SSD not only refreshes these mapping relationships into the flash memory before normal power failure, but also writes the mapping table into the flash memory according to a certain strategy during the operation of the SSD, which can ensure that the FTL mapping table update box cache data is written to protect the safety of the data box hard disk.

[0028] In an optional implementation manner of the present application, the supercapacitor circuit is connected to the host; the supercapacitor further includes a charging switch circuit;

[0029] The control circuit is also used to send a second signal to the charging switch circuit when it is detected that the hard disk is connected to the host, triggering the charging switch to turn on, so that the host charges the super capacitor.

[0030] In an embodiment of the present application, the power of the supercapacitor comes from the host. When the hard disk box is inserted into the host, the control circuit sends a second signal to the charging switch circuit, triggering the charging switch to turn on, and the host starts charging the supercapacitor.

[0031] In the embodiment of the present application, the host is a computer, a tablet or a mobile phone, and the port voltage of the host is about 5V. The hard disk protection circuit provided in the embodiment of the present application is applied to the hard disk box, and the specification of the super capacitor is relatively small. For example, the rated voltage is 3V. Therefore, it is necessary to step down the port voltage of the host before charging the super capacitor.

[0032] Based on this, in an optional implementation manner of the present application, the hard disk protection circuit further includes: a step-down circuit;

[0033] The supercapacitor circuit is connected to the host through the step-down circuit.

[0034] After adding the step-down circuit, the charging of the supercapacitor can be guaranteed.

[0035] Exemplary, reference Figure 2 , Figure 2 The schematic diagram of the structure of the supercapacitor circuit and the buck circuit provided in the embodiment of the present application is as follows: Figure 2 As shown, after the hard disk box is inserted into the host, the power supply of the hard disk box system is the VBUS power supply of the host. The buck circuit includes the buck chip U5 and its peripheral circuit. After passing through the buck circuit, VBUS is bucked to 3V to charge the super capacitor C1. Whether to charge the super capacitor C1 is related to whether the charging switch circuit is turned on. When the BAT_EN signal is a BAT_EN high-level signal, the NPN transistor Q24 is turned on, indirectly controlling the MOS tube Q23 to turn on, and start charging the super capacitor. Here, the BAT_EN high-level signal is the second signal sent by the control circuit. Whether the super capacitor is discharged is related to whether the discharge switch circuit is turned on. When the POW_OFF signal is a POW_OFF high-level signal, the MOS tube Q22 is turned on, and the super capacitor C1 starts to discharge. Here, the POW_OFF high-level signal is the first signal sent by the control circuit. It should be noted that when the control circuit detects that the hard disk box is unplugged from the host, it will send a BAT_EN low-level signal to the super capacitor circuit to turn off Q24 and Q23.

[0036] In an embodiment of the present application, the supercapacitor circuit not only supplies power to the first hard disk, but also supplies power to other circuits in the hard disk box. The rated voltage of other circuits in the hard disk box is usually consistent with the port voltage of the host, which may be greater than the discharge voltage of the supercapacitor. Therefore, the embodiment of the present application also provides a boost circuit to ensure that the supercapacitor supplies power to the hard disk box system after the hard disk box is disconnected from the host.

[0037] Based on this, in an optional implementation manner of the present application, the hard disk protection circuit further includes: a boost circuit;

[0038] The super capacitor circuit is connected to the first hard disk through the boost circuit; the super capacitor circuit is connected to the first hard disk through the boost circuit; the boost circuit is also connected to the buck circuit and the control circuit respectively.

[0039] refer to Figure 3 , Figure 3 The schematic diagram of the structure of the boost circuit provided in the embodiment of the present application is as follows: Figure 3 As shown, the boost circuit includes a boost chip U1 and its peripheral circuits. The discharge voltage 3V of the super capacitor C1 is input to pin 1 of U1. After being boosted by the boost circuit, pin 16 of U1 outputs a voltage of 5V to power the hard disk box system.

[0040] In an optional implementation manner of the present application, the hard disk protection circuit further includes: a charging detection circuit;

[0041] The charging detection circuit is connected to the step-down circuit and the control circuit respectively;

[0042] The charging detection circuit is used to detect whether the supercapacitor circuit is in a charging state; if it is in a charging state, a third signal is sent to the control circuit; if it is not in a charging state, a fourth signal is sent to the control circuit.

[0043] refer to Figure 4 , Figure 4 The schematic diagram of the charging detection circuit provided in the embodiment of the present application is as follows: Figure 4 As shown, the charging status detection circuit is connected to the step-down circuit. When the DC signal is a high-level signal, the CHR signal sent by the charging detection circuit to the control circuit is a high-level signal (i.e., the third signal), indicating that the host power supply is currently connected; when the DC signal is a low-level signal, the CHR signal sent by the charging detection circuit to the control circuit is a low-level signal (i.e., the fourth signal), indicating that the host power supply is not currently connected.

[0044] In an embodiment of the present application, a reference voltage can also be set. When the voltage of the supercapacitor is less than the reference voltage, the supercapacitor is charged normally. When the voltage of the supercapacitor is greater than the reference voltage, the control circuit can trickle charge the supercapacitor to ensure the charging safety of the supercapacitor.

[0045] Based on this, in an optional implementation manner of the present application, the hard disk protection circuit further includes: a comparator circuit;

[0046] The comparator circuit is connected to the supercapacitor circuit and the control circuit respectively;

[0047] The comparator circuit is used to compare the voltage of the super capacitor with a reference voltage; when the voltage of the super capacitor is greater than the reference voltage, a fifth signal is sent to the control circuit; when the voltage of the super capacitor is less than the reference voltage, a sixth signal is sent to the control circuit.

[0048] refer to Figure 5 , Figure 5 A schematic diagram of the structure of a comparator circuit provided in an embodiment of the present application is shown in FIG. Figure 5 As shown, the comparator circuit includes an operational amplifier U96 and its peripheral circuits, Vbat_2 is the supercapacitor voltage, ref2.5 is the reference voltage, and the supercapacitor voltage and the reference voltage are compared by U96. When the supercapacitor voltage is greater than the reference voltage, the BAT_INT sent by the comparator circuit to the control circuit is a high-level signal (i.e., the fifth signal). When the supercapacitor voltage is less than the reference voltage, the BAT_INT sent by the comparator circuit to the control circuit is a low-level signal (i.e., the sixth signal). The control circuit responds to the fifth signal or the sixth signal to ensure the charging safety of the supercapacitor.

[0049] In order to more intuitively observe the power level of the supercapacitor, an embodiment of the present application also provides a power display circuit. For example, the power display circuit is set to three indicator lights of red, green and yellow to distinguish the power level. 3.7V indicates that the supercapacitor is 100% charged, and the green light is lit accordingly. 2.5V indicates that the supercapacitor is 50% charged, and the yellow light is lit accordingly. 2.0V indicates that the supercapacitor is less than 20% charged, and the red light is lit accordingly.

[0050] In an optional implementation manner of the present application, the hard disk protection circuit further includes: a power display circuit;

[0051] The power display circuit is connected to the supercapacitor circuit and the control circuit respectively;

[0052] The power display circuit is used to display the power of the supercapacitor; the power display circuit includes indicator lights of N colors; wherein N is a positive integer, and indicator lights of different colors are used to indicate different power intervals.

[0053] refer to Figure 6 , Figure 6 The schematic diagram of the structure of the power display circuit provided in the embodiment of the present application is as follows: Figure 6 As shown, for different voltages of the supercapacitor, the control circuit sends LED1, LED2 and LED3 to the power display circuit respectively, triggering indicator lights D50, D49 and D4 to light up respectively, so as to visualize the power of the supercapacitor and facilitate the user to check the remaining power of the supercapacitor.

[0054] In an optional implementation manner of the present application, the hard disk protection circuit further includes: a battery management circuit;

[0055] The battery management circuit is connected to the supercapacitor circuit and the control circuit respectively;

[0056] The battery management circuit is used to provide overcharge protection, over-discharge protection and / or overheat protection for the supercapacitor.

[0057] In the embodiment of the present application, in order to further protect the supercapacitor, the hard disk protection circuit further includes: a battery management circuit, as shown in FIG7, Figure 7 The schematic diagram of the structure of the battery management circuit provided in the embodiment of the present application is as follows: Figure 7 As shown, the battery management circuit includes a battery management chip U98 and its peripheral circuits, which are connected to the supercapacitor circuit and the control circuit to provide overcharge protection and / or over-discharge protection and / or overheating protection for the supercapacitor.

[0058] In an optional implementation manner of the present application, the hard disk protection circuit further includes: a voltage stabilizing circuit;

[0059] The voltage stabilizing circuit is connected to the comparator circuit and is used to provide the reference voltage to the comparator circuit.

[0060] refer to Figure 8 , Figure 8 The schematic diagram of the structure of the voltage stabilizing circuit provided in the embodiment of the present application is as follows: Figure 8 As shown, the voltage stabilizing circuit includes a voltage stabilizing chip U11 and its peripheral circuits, which are connected to the comparator circuit to provide a stable reference voltage Ref2.5 for the comparator.

[0061] refer to Fig. 9 , Fig. 9 A schematic diagram of the structure of the control circuit provided in the embodiment of the present application is shown in FIG. Fig. 9 As shown, the control circuit includes MCU U3 and its peripheral circuits, which are used to monitor and control the charging and discharging of the hard disk protection circuit, and control the power display circuit to display the power of the super capacitor.

[0062] refer to Fig.10 , Fig.10 A schematic diagram of the structure of the hard disk protection circuit provided in the embodiment of the present application Figure 2 ,like Fig.10As shown, the main function of the bridge controller chip is to bridge the SATA bus protocol to the USB bus protocol, or to bridge the PCI-E bus protocol used by high-end NVME solid-state to the USB bus protocol. The physical interface is to convert the SATA interface into a USB or Type-C interface, which allows these hard disk boxes to give full play to the advantages of NVMe and SATA dual protocols. SSD is a solid-state drive. When the hard disk box is inserted into the SSD, the interface can be converted into USB so that it can be inserted into computers, mobile phones, tablets and other devices for use; the hard disk protection circuit includes a step-down circuit, a supercapacitor circuit, a boost circuit, a power display circuit and a control circuit. When the hard disk box is inserted into the host, the host supplies power to the hard disk protection circuit and the SSD. The host reduces the 5V voltage to 3V through the step-down circuit to charge the supercapacitor. The power display circuit displays the power of the supercapacitor. When the hard disk box is unplugged from the host, the supercapacitor boosts the 3V voltage to 5V through the boost circuit to supply power to the hard disk protection circuit and the SSD. Since the rated voltage of the SSD is 3.3V, the 5V voltage needs to be reduced to 3.3V before it can supply power to the SSD.

[0063] Through the hard disk protection circuit provided by the embodiment of the present application, when the user inserts the hard disk box of the SSD to read and write data, but the user unplugs the wire of the hard disk box before copying or cutting the data, the power supply will be switched to the super capacitor, delaying the system power supply for 1-10 seconds. This can prevent the loss of these new mapping relationships due to abnormal power failure. The firmware of the SSD not only refreshes these mapping relationships into the flash memory before the normal power failure, but also writes the mapping table into the flash memory according to a certain strategy during the operation of the SSD. The hard disk protection circuit provided by the embodiment of the present application can ensure that the FTL mapping table updates the cache data and protects the data box hard disk security.

[0064] In the several embodiments provided in the present application, it should be understood that the disclosed systems and devices can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0065] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0066] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A hard disk protection circuit, characterized in that: Applied to a hard disk box, the hard disk protection circuit includes: a super capacitor circuit and a control circuit, the super capacitor circuit is connected to the control circuit, wherein: The supercapacitor circuit comprises a supercapacitor and a discharge switch circuit; The control circuit is used to send a first signal to the discharge switch circuit when it detects that the hard disk box is disconnected from the host, triggering the discharge switch circuit to turn on, and the super capacitor supplies power to the first hard disk; the first hard disk is the hard disk inserted into the hard disk box.

2. The hard disk protection circuit according to claim 1, characterized in that: The supercapacitor circuit is connected to the host; the supercapacitor also includes a charging switch circuit; The control circuit is also used to send a second signal to the charging switch circuit when it is detected that the hard disk is connected to the host, triggering the charging switch to turn on, so that the host charges the super capacitor.

3. The hard disk protection circuit according to claim 2, characterized in that: The hard disk protection circuit further includes: a step-down circuit; The supercapacitor circuit is connected to the host through the step-down circuit.

4. The hard disk protection circuit according to claim 3, further comprising: Boost circuit; The supercapacitor circuit is connected to the first hard disk through the boost circuit; The boost circuit is also connected to the buck circuit and the control circuit respectively.

5. The hard disk protection circuit according to claim 4, characterized in that: The hard disk protection circuit also includes: a charging detection circuit; The charging detection circuit is connected to the step-down circuit and the control circuit respectively; The charging detection circuit is used to detect whether the supercapacitor circuit is in a charging state; if it is in a charging state, a third signal is sent to the control circuit; if it is not in a charging state, a fourth signal is sent to the control circuit.

6. The hard disk protection circuit according to claim 5, characterized in that: The hard disk protection circuit further includes: a comparator circuit; The comparator circuit is connected to the supercapacitor circuit and the control circuit respectively; The comparator circuit is used to compare the voltage of the super capacitor with a reference voltage; when the voltage of the super capacitor is greater than the reference voltage, a fifth signal is sent to the control circuit; when the voltage of the super capacitor is less than the reference voltage, a sixth signal is sent to the control circuit.

7. The hard disk protection circuit according to claim 6, characterized in that: The hard disk protection circuit also includes: a power display circuit; The power display circuit is connected to the supercapacitor circuit and the control circuit respectively; The power display circuit is used to display the power of the supercapacitor; the power display circuit includes indicator lights of N colors; wherein N is a positive integer, and indicator lights of different colors are used to indicate different power intervals.

8. The hard disk protection circuit according to claim 7, characterized in that: The hard disk protection circuit also includes: a battery management circuit; The battery management circuit is connected to the supercapacitor circuit and the control circuit respectively; The battery management circuit is used to provide overcharge protection, over-discharge protection and / or overheat protection for the supercapacitor.

9. The hard disk protection circuit according to claim 8, characterized in that: The hard disk protection circuit also includes: a voltage stabilizing circuit; The voltage stabilizing circuit is connected to the comparator circuit and is used to provide the reference voltage to the comparator circuit.

10. A hard disk enclosure, characterized in that: The hard disk box comprises: a hard disk protection circuit according to any one of claims 1 to 9.