Hard disk automatic detection circuit and automatic detection system
Through the automatic detection circuit of the hard disk, the problem of SATA interface being live and surged when the hard disk is plugged in and unplugged is solved, and intelligent control of power supply to the hard disk is realized, protecting the hard disk and motherboard.
Patent Information
- Application Number
- CN202421494246.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2025-04-18
- Estimated Expiration
- 2034-06-26
AI Technical Summary
During the hard disk plug-in process, the SATA interface in the empty slot may be continuously charged or a large surge may occur at the moment the hard disk is inserted, which will harm the hard disk and the motherboard.
Design a hard disk automatic detection circuit, including a detection module, a delay module and a power control module. The detection module detects whether the hard disk is connected to the SATA interface. If so, the delay signal will be transmitted to the delay module. After the delay module is delayed, the drive signal will be output to the power control module. The power control module supplies power to the hard disk according to the driving signal.
The motherboard actively cuts off the power supply that is not connected to the hard disk, and supplies power after the hard disk is completely plugged in, avoiding the instant surge during the hard disk plug-in and unplugging, and protecting the motherboard and hard disk.
Smart Images

Figure CN222774830U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of electronic circuits, and in particular to a hard disk automatic detection circuit and an automatic detection system. Background Art
[0002] Currently, most of the network attached storage devices on the market support multiple hard disk access and hot plugging. In many cases, users do not shut down the computer or plug and unplug the hard disk before turning it on, but directly plug and unplug the hard disk while it is powered on. This will cause the SATA (Serial Advanced Technology Attachmen) interface in the empty slot without a hard disk in the machine to be continuously powered, or there will be a large surge at the moment the hard disk is inserted, which is harmful to the hard disk and the motherboard. In view of this situation, an automatic detection circuit is designed on the motherboard to automatically control the power on and off of the hard disk, so that the motherboard and the hard disk can be well protected when the hard disk is not connected or the hard disk is directly hot plugged. Utility Model Content
[0003] The utility model aims to provide a hard disk automatic detection circuit, aiming to solve the technical problem that a SATA interface in an empty slot is charged, resulting in a large surge at the moment a hard disk is inserted.
[0004] To achieve the above object, the utility model provides a hard disk automatic detection circuit, the hard disk automatic detection circuit comprising: a detection module, a delay module and a power control module;
[0005] The first end of the detection module is connected to the SATA connector, the second end of the detection module is connected to the first end of the delay module; the second end of the delay module is connected to the first end of the power control module; the second end of the power control module is connected to the SATA connector;
[0006] The detection module is used to detect whether a hard disk is connected to the SATA connector, and if so, transmit a delay signal to the delay module;
[0007] The delay module is used to receive the delay signal and output a driving signal to the power control module after delaying for a first preset time;
[0008] The power control module is used to supply power to the hard disk through the SATA connector after receiving the driving signal.
[0009] In one embodiment, the detection module includes: an electrostatic protection diode, a first resistor and a first capacitor;
[0010] The first end of the electrostatic protection diode is connected to the SATA connector, the first end of the first resistor, the first end of the first capacitor and the first end of the delay module, and the second end of the electrostatic protection diode is grounded;
[0011] The second end of the first resistor is connected to a third external power source;
[0012] The second terminal of the first capacitor is grounded.
[0013] In one embodiment, the delay module includes: a delay unit and a switch unit;
[0014] The first end of the delay unit is connected to the second end of the detection module, the second end of the delay unit is connected to the first end of the switch unit; the second end of the switch unit is connected to the first end of the power control module;
[0015] The delay unit is used to receive the delay signal and output a shut-down signal to the switch unit after delaying for a first preset time period;
[0016] The switch unit is used to generate and output the driving signal to the power control module after receiving the shutdown signal.
[0017] In one embodiment, the delay unit includes: a second resistor and a second capacitor;
[0018] A first end of the second resistor is connected to a second end of the detection module, and a second end of the second resistor is connected to a first end of the second capacitor and a first end of the switch unit;
[0019] The second terminal of the second capacitor is grounded.
[0020] In one embodiment, the switch unit includes: a MOS tube and a third resistor;
[0021] The gate of the MOS tube is connected to the second end of the second resistor and the first end of the second capacitor, the drain of the MOS tube is connected to the first end of the third resistor and the first end of the power control module, and the source of the MOS tube is grounded;
[0022] The second end of the third resistor is connected to the third external power source.
[0023] In one embodiment, the power control module includes: a first power supply control unit and a second power supply control unit;
[0024] A first end of the first power supply control unit is connected to a second end of the delay module, a second end of the first power supply control unit is connected to a first external power supply, and a third end of the first power supply control unit is connected to the SATA connector;
[0025] A first end of the second power supply control unit is connected to a second end of the delay module, a second end of the second power supply control unit is connected to a second external power supply, and a third end of the second power supply control unit is connected to the SATA connector;
[0026] The first power supply control unit is used to output a first voltage through the SATA connector to power the hard disk after receiving the driving signal;
[0027] The second power supply control unit is used to output a second voltage through the SATA connector to power the hard disk after receiving the driving signal.
[0028] In one embodiment, the first power supply control unit includes: a first power switch, a fourth resistor, a fifth resistor, a third capacitor, a fourth capacitor, a fifth capacitor, a sixth capacitor and a seventh capacitor;
[0029] The first end of the first power switch is connected to the SATA connector and the first end of the third capacitor; the second end of the third capacitor is grounded;
[0030] The second terminal of the first power switch is grounded;
[0031] The third end of the first power switch is connected to the first end of the fourth resistor and the first end of the fourth capacitor; the second end of the fourth capacitor is grounded; the second end of the fourth resistor is connected to the second end of the delay module;
[0032] The fourth end of the first power switch is connected to the first end of the fifth capacitor; the second end of the fifth capacitor is grounded;
[0033] The fifth end of the first power switch is connected to the first end of the fifth resistor; the second end of the fifth resistor is grounded;
[0034] The sixth end of the first power switch is connected to the first end of the sixth capacitor, the first end of the seventh capacitor and the first external power supply; the second end of the sixth capacitor is grounded; and the second end of the seventh capacitor is grounded.
[0035] In one embodiment, the second power supply control unit includes: a second power switch, a sixth resistor, a seventh resistor, an eighth resistor, an eighth capacitor, a ninth capacitor, a tenth capacitor and an eleventh capacitor;
[0036] The first end of the second power switch is connected to the SATA connector and the first end of the eighth capacitor; the second end of the eighth capacitor is grounded;
[0037] The second terminal of the second power switch is grounded;
[0038] The third end of the second power switch is connected to the first end of the sixth resistor; the second end of the sixth resistor is grounded;
[0039] The fourth end of the second power switch is connected to the first end of the ninth capacitor and the first end of the seventh resistor; the second end of the ninth capacitor is grounded; the second end of the seventh resistor is connected to the second end of the delay module and the first end of the eighth resistor; the second end of the eighth resistor is grounded;
[0040] The fifth end of the second power switch is connected to the second external power supply, the first end of the tenth capacitor and the first end of the eleventh capacitor; the second end of the tenth capacitor is grounded; and the second end of the eleventh capacitor is grounded.
[0041] In one embodiment, the detection module is further used to generate a shutdown signal to transmit to the delay module when detecting that the SATA connector is disconnected from the hard disk;
[0042] The delay module is further used to receive the shutdown signal and transmit the shutdown signal to the power control module;
[0043] The power control module is further used to stop supplying power to the hard disk after receiving the shutdown signal.
[0044] In addition, to achieve the above-mentioned purpose, the present invention also provides an automatic detection system, which includes the hard disk automatic detection circuit as described above.
[0045] The utility model proposes a hard disk automatic detection circuit, which includes: a detection module, a delay module and a power control module; the first end of the detection module is connected to a SATA connector, and the second end of the detection module is connected to the first end of the delay module; the second end of the delay module is connected to the first end of the power control module; the second end of the power control module is connected to the SATA connector; the detection module is used to detect whether a hard disk is connected to the SATA connector, and if so, transmit a delay signal to the delay module; the delay module is used to receive the delay signal and output a drive signal to the power control module after delaying for a first preset time; the power control module is used to power the hard disk through the SATA connector after receiving the drive signal. Compared with the existing problems that in many cases users directly plug and unplug hard disks with power on, resulting in the SATA interface in the empty slot without hard disk in the machine being continuously powered or a large surge at the moment the hard disk is inserted, the utility model actively cuts off the power supply to the hard disk when the hard disk is not connected, and supplies power to the hard disk after the hard disk is connected and is completely connected. This can avoid instantaneous surges, and can well protect the motherboard and hard disk regardless of whether the slot is not connected to a hard disk or the hard disk is directly hot-plugged. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 It is a structural schematic diagram of a first embodiment of a hard disk automatic detection circuit proposed in one embodiment of the utility model;
[0047] Figure 2 A schematic diagram of the structure of a second embodiment of a hard disk automatic detection circuit proposed in one embodiment of the utility model;
[0048] Figure 3 This is a circuit schematic diagram of a third embodiment of a hard disk automatic detection circuit according to an embodiment of the present utility model.
[0049] Description of Figure Numbers:
[0050] Label illustrate Label illustrate 100 SATA Connectors 420 Second power supply control unit 200 Detection module U1-U2 First to second power switch 300 Delay Module Q1 ESD protection diode 400 Power Control Module Q2 MOS tube 310 Delay Unit R1-R8 The first to eighth resistors 320 Switching unit C1-C11 Capacitors 1 to 11 410 First power supply control unit DETAILED DESCRIPTION
[0051] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present invention and are not used to limit the present invention.
[0052] The following will be combined with the drawings in the embodiments of the utility model to clearly and completely describe the technical solutions in the embodiments of the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, not all of the embodiments. Based on the embodiments of the utility model, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the utility model.
[0053] It should be noted that all directional indications in the embodiments of the present invention (such as up, down, left, right, front, back...) are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0054] In addition, the descriptions of "first", "second", etc. in the present utility model are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in this field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present utility model.
[0055] Embodiment 1
[0056] Reference Figure 1 , Figure 1 It is a structural schematic diagram of a first embodiment of a hard disk automatic detection circuit proposed in one embodiment of the utility model.
[0057] Reference Figure 1 , the hard disk automatic detection circuit includes: a detection module 200, a delay module 300 and a power control module 400;
[0058] The first end of the detection module 200 is connected to the SATA connector 100, and the second end of the detection module 200 is connected to the first end of the delay module 300; the second end of the delay module 300 is connected to the first end of the power control module 400; and the second end of the power control module 400 is connected to the SATA connector 100.
[0059] It should be noted that the SATA connector 100 is an interface for data transmission inside a computer, and is mainly used to connect storage devices such as hard disk drives (HDDs), solid-state drives (SSDs), and optical drives to the SATA interface on the motherboard. The SATA connector 100 replaces the old parallel ATA (PATA) interface, providing higher-speed data transmission capabilities and better cable management. There are two main types of SATA connectors 100, one is an L-shaped SATA data connector for data transmission, and the other is a SATA power connector for providing power to the device. The utility model uses a SATA power connector for providing power to the device, and mainly uses the 11, 14, 15, 16, 20, 21, and 22 pin interfaces of the SATA connector 100.
[0060] It should be understood that the detection module 200 is a system component for identifying, monitoring and reporting specific events, objects or conditions, and is commonly used in electronic circuits, network security, the Internet of Things, self-driving cars and medical equipment. In different application fields, the specific functions and implementation methods of the detection module may be different. In the present utility model, the detection module 200 is applied to the field of electronic circuit technology and is used to detect whether a hard disk is connected to the SATA connector 100. If so, a delay signal is transmitted to the delay module 300.
[0061] It should be noted that the delay module 300 is a component used to introduce a specific time delay in an electronic circuit, software programming or automation system; the delay module 300 can be a hardware circuit or a function or library in software; in hardware, the delay module is usually composed of a resistor, a capacitor (RC circuit), a crystal oscillator or other electronic components, and is used to generate a precise time delay in the circuit; for example, in a digital circuit, a delay phase-locked loop (DLL) or a delay line (Delay Line) can be used to adjust the phase or time of a signal. In software, the delay module is usually implemented by programming, such as using a function or method in a programming language to pause the execution of a program for a specific period of time. For example, in C language, the delay() function can be used to introduce delay; in Python, the time.sleep() function can be used to implement delay; in the present invention, the delay module 300 uses an RC circuit for delay. After the detection module 200 detects that the hard disk is connected, the delay module 300 delays for about 700ms and then turns off the MOS to ensure that the hard disk is powered only after it is fully inserted, thereby avoiding instantaneous surges that cause damage to the motherboard and hard disk.
[0062] It should be understood that the power control module 400 is used to manage and control the distribution, conversion and protection of power. It is usually integrated into a larger electronic system or device, such as an automobile, a computer, an industrial control system, etc. The main functions of the power control module 400 include: power distribution, power conversion, power protection and power management, etc.; in the present utility model, the control module 400 is used for power management, and stops supplying power when the detection module 200 does not detect that the hard disk is connected, and supplies power to the hard disk when the detection module 200 detects that the hard disk is connected.
[0063] The detection module 200 is used to detect whether a hard disk is connected to the SATA connector 100, and if so, transmit a delay signal to the delay module 300;
[0064] The delay module 300 is used to receive the delay signal and output a driving signal to the power control module 400 after delaying for a first preset time;
[0065] The power control module 400 is used to supply power to the hard disk through the SATA connector 100 after receiving the driving signal.
[0066] It should be understood that the first preset duration can be set by the staff according to actual conditions, and is 700ms in the embodiment.
[0067] It should be noted that, when the detection module 200 detects that a hard disk is connected to the SATA connector 100, the delay signal is a low-level signal, and when the detection module 200 detects that no hard disk is connected to the SATA connector 100, the delay signal is a high-level signal; when the drive signal is a high-level signal, the power control module 400 supplies power to the hard disk, and when the drive signal is a low-level signal, the power control module 400 does not supply power to the hard disk.
[0068] The detection module is further used to generate a shutdown signal and transmit it to the delay module when detecting that the SATA connector is disconnected from the hard disk;
[0069] The delay module is further used to receive the shutdown signal and transmit the shutdown signal to the power control module;
[0070] The power control module is further used to stop supplying power to the hard disk after receiving the shutdown signal.
[0071] In this embodiment, the detection module 200 detects whether a hard disk is connected to the SATA connector 100. If so, a delay signal is transmitted to the delay module 300. The delay module 300 receives the delay signal and outputs a drive signal to the power control module 400 after a delay of 700ms. After receiving the drive signal, the power control module 400 supplies power to the hard disk through the SATA connector 100. Compared with the existing machine, in which the SATA interface in the empty slot without a hard disk connected is continuously powered or there is a large surge at the moment the hard disk is inserted, the utility model actively cuts off the power supply to the hard disk when the hard disk is not connected, and supplies power to the hard disk after the hard disk is connected and is completely connected. This can avoid instantaneous surges, and can well protect the motherboard and hard disk regardless of whether the slot is not connected to a hard disk or the operation of directly hot-plugging the hard disk is performed.
[0072] Embodiment 2
[0073] Reference Figure 2 , Figure 2 It is a structural schematic diagram of a second embodiment of a hard disk automatic detection circuit proposed in one embodiment of the utility model.
[0074] Reference Figure 2 , the delay module 300 includes: a delay unit 310 and a switch unit 320;
[0075] The first end of the delay unit 310 is connected to the second end of the detection module 200 , the second end of the delay unit 310 is connected to the first end of the switch unit 320 ; the second end of the switch unit 320 is connected to the first end of the power control module 400 .
[0076] It should be noted that the delay unit 310 is a component in an electronic circuit used to generate a specific time delay, and they play a key role in various electronic systems, such as signal processing, communication protocols, timing control, etc.; the design of the delay unit 310 can be based on a variety of technologies, including digital circuits, analog circuits, and mixed signal circuits; in the utility model, the delay unit 310 is an RC delay circuit composed of resistors and capacitors; the switch unit 320 is a device for controlling the on and off of a circuit, which can be mechanical or electronic; in electronic equipment, the switch unit 320 is usually composed of a switching device (such as MOSFET, magnetic switch, etc.) and other supporting circuits, and a control signal is used to establish or cut off the connection between the input and the output; in the utility model, the switch unit 320 uses a MOSFET and a pull-up resistor to form a switch unit.
[0077] The delay unit 310 is used to receive the delay signal and output a shutdown signal to the switch unit 320 after delaying for a first preset time period;
[0078] The switch unit 320 is used to generate and output the driving signal to the power control module 400 after receiving the shutdown signal.
[0079] It should be understood that the shut-off signal is used to shut down the MOSFET. When the detection module 200 detects that no hard disk is connected to the SATA connector 100, the shut-off signal becomes an on signal, and the MOSFET is in the on state.
[0080] The power supply control module 400 includes: a first power supply control unit 410 and a second power supply control unit 420;
[0081] A first end of the first power supply control unit 410 is connected to a second end of the delay module, a second end of the first power supply control unit 410 is connected to a first external power source, and a third end of the first power supply control unit 410 is connected to the SATA connector;
[0082] A first end of the second power supply control unit 420 is connected to a second end of the delay module, a second end of the second power supply control unit 420 is connected to a second external power source, and a third end of the second power supply control unit 420 is connected to the SATA connector.
[0083] It should be noted that the first power supply control unit 410 and the second power supply control unit 420 correspond to two types of hard disks requiring a 12V power supply voltage and a 5V power supply voltage.
[0084] The first power supply control unit 410 is used to output a first voltage to power the hard disk through the SATA connector 100 after receiving the driving signal;
[0085] The second power supply control unit 410 is used to output a second voltage to power the hard disk through the SATA connector 100 after receiving the driving signal.
[0086] In this embodiment, the delay unit 310 receives the delay signal, and outputs a shut-off signal to the switch unit 320 after delaying for a first preset time; after receiving the shut-off signal, the switch unit 320 generates and outputs the drive signal to the power control module 400. After receiving the drive signal, the first power supply control unit 410 outputs a first voltage to power the hard disk through the SATA connector 100; after receiving the drive signal, the second power supply control unit 410 outputs a second voltage to power the hard disk through the SATA connector 100; compared with the existing machine, in which the SATA interface in the empty slot without a hard disk connected is continuously charged or there is a large surge at the moment of inserting the hard disk, the utility model actively cuts off the power supply to the hard disk when the hard disk is not connected, and supplies power to the hard disk when the hard disk is connected and fully connected, so as to avoid instantaneous surges and protect the motherboard and hard disk well.
[0087] Embodiment 3
[0088] Reference Figure 3 , Figure 3 It is a circuit principle diagram of a third embodiment of a hard disk automatic detection circuit proposed in one embodiment of the utility model.
[0089] Reference Figure 3 , the detection module 200 includes: an electrostatic protection diode Q1, a first resistor R1 and a first capacitor C1;
[0090] The first end of the electrostatic protection diode Q1 is connected to the SATA connector 100, the first end of the first resistor R1, the first end of the first capacitor C1 and the first end of the delay module 300, and the second end of the electrostatic protection diode Q1 is grounded;
[0091] The second end of the first resistor R1 is connected to a third external power source;
[0092] A second terminal of the first capacitor C1 is grounded.
[0093] It should be understood that the RC circuit composed of the first resistor R1 and the first capacitor C1 can effectively filter out noise and eliminate signal jitter, and the electrostatic protection diode Q1 can effectively prevent static electricity from damaging the device and avoid false triggering of the signal; the first end of the electrostatic protection diode Q1 is connected to the SATA connector 100, which is connected to the 11-pin interface of the SATA connector 100.
[0094] The delay unit 310 includes: a second resistor R2 and a second capacitor C2;
[0095] A first end of the second resistor R2 is connected to a second end of the detection module 200, and a second end of the second resistor R2 is connected to a first end of the second capacitor C2 and a first end of the switch unit 320;
[0096] A second terminal of the second capacitor C2 is grounded.
[0097] It should be noted that the delay unit 310 composed of the second resistor R2 and the second capacitor C2 transmits the shutdown signal to the switch unit 320 after a delay of 700 ms.
[0098] The switch unit 320 includes: a MOS tube Q2 and a third resistor R3;
[0099] The gate of the MOS transistor Q2 is connected to the second end of the second resistor R2 and the first end of the second capacitor C2, the drain of the MOS transistor Q2 is connected to the first end of the third resistor R3 and the first end of the power control module 400, and the source of the MOS transistor Q2 is grounded;
[0100] The second end of the third resistor R3 is connected to the third external power source.
[0101] It should be understood that the MOS transistor Q2 is an NMOS transistor; the third resistor R3 serves as a pull-up resistor to cooperate with the MOS transistor Q2 to output a driving signal to the power control module 400 .
[0102] The first power supply control unit 410 includes: a first power switch U1, a fourth resistor R4, a fifth resistor R5, a third capacitor C3, a fourth capacitor C4, a fifth capacitor C5, a sixth capacitor C6 and a seventh capacitor C7;
[0103] The first end of the first power switch U1 is connected to the SATA connector 100 and the first end of the third capacitor C3; the second end of the third capacitor C3 is grounded;
[0104] The second end of the first power switch U1 is grounded;
[0105] The third end of the first power switch U1 is connected to the first end of the fourth resistor R4 and the first end of the fourth capacitor C4; the second end of the fourth capacitor C4 is grounded; the second end of the fourth resistor R4 is connected to the second end of the delay module 300;
[0106] The fourth end of the first power switch U1 is connected to the first end of the fifth capacitor C5; the second end of the fifth capacitor C5 is grounded;
[0107] The fifth end of the first power switch U1 is connected to the first end of the fifth resistor R5; the second end of the fifth resistor R5 is grounded;
[0108] The sixth end of the first power switch U1 is connected to the first end of the sixth capacitor C6, the first end of the seventh capacitor C7 and the first external power supply; the second end of the sixth capacitor C6 is grounded; and the second end of the seventh capacitor C7 is grounded.
[0109] It should be understood that when the first power switch U1 receives the driving signal, it will turn on its internal circuit so that the first external power source and the 14th, 15th and 16th pins of the SATA connector 100 are connected to supply power to the hard disk.
[0110] The second power supply control unit 420 includes: a second power switch U2, a sixth resistor R6, a seventh resistor R7, an eighth resistor R8, an eighth capacitor C8, a ninth capacitor C9, a tenth capacitor C10 and an eleventh capacitor C11;
[0111] A first end of the second power switch U2 is connected to the SATA connector 100 and a first end of the eighth capacitor C8; a second end of the eighth capacitor C8 is grounded;
[0112] A second terminal of the second power switch U2 is grounded;
[0113] The third end of the second power switch U2 is connected to the first end of the sixth resistor R6; the second end of the sixth resistor R6 is grounded;
[0114] The fourth end of the second power switch U2 is connected to the first end of the ninth capacitor C9 and the first end of the seventh resistor R7; the second end of the ninth capacitor C9 is grounded; the second end of the seventh resistor R7 is connected to the second end of the delay module 300 and the first end of the eighth resistor R8; the second end of the eighth resistor R8 is grounded;
[0115] The fifth end of the second power switch U2 is connected to the second external power supply, the first end of the tenth capacitor C10 and the first end of the eleventh capacitor C11; the second end of the tenth capacitor C10 is grounded; and the second end of the eleventh capacitor C11 is grounded.
[0116] It should be understood that when receiving the driving signal, the second power switch U2 will turn on its internal circuit so that the second external power source and pins 20, 21, and 22 of the SATA connector 100 are connected to supply power to the hard disk.
[0117] In this embodiment, when the detection module 200 composed of the electrostatic protection diode Q1, the first resistor R1 and the first capacitor C1 detects that a hard disk is connected from the 11-pin interface of the SATA connector 100, the detection module 200 generates a delay signal (low-level signal) to the delay unit 310 composed of the second resistor R2 and the second capacitor C2, and then transmits the shutdown signal to the switch unit 320 after a delay of 700ms. The third resistor R3 of the switch unit 320 acts as a pull-up resistor to cooperate with the MOS tube Q2 to output a driving signal (high-level signal) to the power control module 400. When the first power switch U1 receives the driving signal, it will turn on its own internal circuit so that the first external power supply and the 14, 15, and 16 pins of the SATA connector 100 are connected to supply power to the hard disk. When the second power switch U2 receives the driving signal, it will turn on its own internal circuit so that the second external power supply and the 20, 21, and 22 pins of the SATA connector 100 are connected to supply power to the hard disk.
[0118] When the detection module 200 composed of the electrostatic protection diode Q1, the first resistor R1 and the first capacitor C1 does not detect that a hard disk is connected from the 11-pin interface of the SATA connector 100, the delay signal becomes a high-level signal, and the MOS tube Q2 is turned on, causing the drive signal to become a low-level signal, so that the first power switch U1 will not turn on its own internal circuit when receiving the low-level drive signal, so that the first external power supply and the 14, 15, and 16 pins of the SATA connector 100 are disconnected and stop supplying power to the hard disk. When the second power switch U2 receives the low-level drive signal, it will not turn on its own internal circuit, so that the second external power supply and the 20, 21, and 22 pins of the SATA connector 100 are disconnected and stop supplying power to the hard disk.
[0119] To achieve the above-mentioned purpose, the utility model also proposes an automatic detection system, which includes the hard disk automatic detection circuit as mentioned above. The specific structure of the hard disk automatic detection circuit refers to the above-mentioned embodiment. Since the automatic detection system adopts all the technical solutions of all the above-mentioned embodiments, it has at least all the beneficial effects brought by the technical solutions of the above-mentioned embodiments, which will not be repeated here.
[0120] The above are only some embodiments of the present invention, and the scope of implementation of the present invention is not limited thereto. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the protection scope of the present invention.
Claims
1. A hard disk automatic detection circuit, characterized in that: The hard disk automatic detection circuit includes: a detection module, a delay module and a power control module; The first end of the detection module is connected to the SATA connector, the second end of the detection module is connected to the first end of the delay module; the second end of the delay module is connected to the first end of the power control module; the second end of the power control module is connected to the SATA connector; The detection module is used to detect whether a hard disk is connected to the SATA connector, and if so, transmit a delay signal to the delay module; The delay module is used to receive the delay signal and output a driving signal to the power control module after delaying for a first preset time; The power control module is used to supply power to the hard disk through the SATA connector after receiving the driving signal.
2. The hard disk automatic detection circuit according to claim 1, characterized in that: The detection module includes: an electrostatic protection diode, a first resistor and a first capacitor; The first end of the electrostatic protection diode is connected to the SATA connector, the first end of the first resistor, the first end of the first capacitor and the first end of the delay module, and the second end of the electrostatic protection diode is grounded; The second end of the first resistor is connected to a third external power source; The second terminal of the first capacitor is grounded.
3. The hard disk automatic detection circuit according to claim 2, characterized in that: The delay module includes: a delay unit and a switch unit; The first end of the delay unit is connected to the second end of the detection module, the second end of the delay unit is connected to the first end of the switch unit; the second end of the switch unit is connected to the first end of the power control module; The delay unit is used to receive the delay signal and output a shut-down signal to the switch unit after delaying for a first preset time period; The switch unit is used to generate and output the driving signal to the power control module after receiving the shutdown signal.
4. The hard disk automatic detection circuit according to claim 3, characterized in that: The delay unit includes: a second resistor and a second capacitor; A first end of the second resistor is connected to a second end of the detection module, and a second end of the second resistor is connected to a first end of the second capacitor and a first end of the switch unit; The second terminal of the second capacitor is grounded.
5. The hard disk automatic detection circuit according to claim 4, characterized in that: The switch unit comprises: a MOS tube and a third resistor; The gate of the MOS tube is connected to the second end of the second resistor and the first end of the second capacitor, the drain of the MOS tube is connected to the first end of the third resistor and the first end of the power control module, and the source of the MOS tube is grounded; The second end of the third resistor is connected to the third external power source.
6. The hard disk automatic detection circuit according to claim 1, characterized in that: The power supply control module includes: a first power supply control unit and a second power supply control unit; A first end of the first power supply control unit is connected to a second end of the delay module, a second end of the first power supply control unit is connected to a first external power supply, and a third end of the first power supply control unit is connected to the SATA connector; A first end of the second power supply control unit is connected to a second end of the delay module, a second end of the second power supply control unit is connected to a second external power supply, and a third end of the second power supply control unit is connected to the SATA connector; The first power supply control unit is used to output a first voltage through the SATA connector to power the hard disk after receiving the driving signal; The second power supply control unit is used to output a second voltage through the SATA connector to power the hard disk after receiving the driving signal.
7. The hard disk automatic detection circuit according to claim 6, characterized in that: The first power supply control unit includes: a first power switch, a fourth resistor, a fifth resistor, a third capacitor, a fourth capacitor, a fifth capacitor, a sixth capacitor and a seventh capacitor; The first end of the first power switch is connected to the SATA connector and the first end of the third capacitor; the second end of the third capacitor is grounded; The second terminal of the first power switch is grounded; The third end of the first power switch is connected to the first end of the fourth resistor and the first end of the fourth capacitor; the second end of the fourth capacitor is grounded; the second end of the fourth resistor is connected to the second end of the delay module; The fourth end of the first power switch is connected to the first end of the fifth capacitor; the second end of the fifth capacitor is grounded; The fifth end of the first power switch is connected to the first end of the fifth resistor; the second end of the fifth resistor is grounded; The sixth end of the first power switch is connected to the first end of the sixth capacitor, the first end of the seventh capacitor and the first external power supply; the second end of the sixth capacitor is grounded; and the second end of the seventh capacitor is grounded.
8. The hard disk automatic detection circuit according to claim 7, characterized in that: The second power supply control unit includes: a second power switch, a sixth resistor, a seventh resistor, an eighth resistor, an eighth capacitor, a ninth capacitor, a tenth capacitor and an eleventh capacitor; The first end of the second power switch is connected to the SATA connector and the first end of the eighth capacitor; the second end of the eighth capacitor is grounded; The second terminal of the second power switch is grounded; The third end of the second power switch is connected to the first end of the sixth resistor; the second end of the sixth resistor is grounded; The fourth end of the second power switch is connected to the first end of the ninth capacitor and the first end of the seventh resistor; the second end of the ninth capacitor is grounded; the second end of the seventh resistor is connected to the second end of the delay module and the first end of the eighth resistor; the second end of the eighth resistor is grounded; The fifth end of the second power switch is connected to the second external power supply, the first end of the tenth capacitor and the first end of the eleventh capacitor; the second end of the tenth capacitor is grounded; and the second end of the eleventh capacitor is grounded.
9. The hard disk automatic detection circuit according to claim 1, characterized in that: The detection module is further used to generate a shutdown signal and transmit it to the delay module when detecting that the SATA connector is disconnected from the hard disk; The delay module is further used to receive the shutdown signal and transmit the shutdown signal to the power control module; The power control module is further used to stop supplying power to the hard disk after receiving the shutdown signal.
10. An automatic detection system, characterized in that: The automatic detection system comprises the hard disk automatic detection circuit according to any one of claims 1 to 9.