Hard disk insertion detection circuit and network attached storage device
By designing a hard disk insertion detection circuit in a network additional storage device, using the coordinated control of the SATA interface, signal processing module and power control module, power supply is only supplied when the hard disk is inserted, solving the problem of energy-saving and low security in the prior art. Achieve more efficient and secure hard disk power management.
Patent Information
- Application Number
- CN202421143515.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-23
- Publication Date
- 2025-01-14
- Estimated Expiration
- 2034-05-23
AI Technical Summary
The hard disk insertion detection circuit of existing network additional storage devices is not energy-saving and has low security, so it cannot effectively manage the power supply status of the hard disk.
Design a hard disk insertion detection circuit including a main control unit and a detection unit. The detection unit includes a SATA interface, a signal processing module and a power control module. The hard disk insertion detection signal and the control signal of the main control unit are powered by the control power supply. Only on the hard disk Power is supplied when plugged in and needs to be charged.
It realizes the energy saving and security improvement of the hard disk insertion detection circuit, ensuring that power is only supplied when the hard disk is inserted and needs to be charged, improving the energy efficiency and security of the system.
Smart Images

Figure CN222354423U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of mobile hard disks, in particular to a hard disk insertion detection circuit and a network attached storage device. Background Art
[0002] Network attached storage is also known as NAS. NAS is a device specially designed for storing and sharing files. It is connected to multiple computers and other devices in the network through a local area network or the Internet. NAS devices usually contain one or more hard disk drives, provide large-capacity storage, and enable users to easily access and share storage space through network protocols.
[0003] In order to meet the requirements of energy saving efficiency and system safety, it is very necessary to set a simple and stable hard disk insertion detection circuit in the power supply system of the network attached storage device. Utility Model Content
[0004] The embodiment of the utility model provides a simple and stable hard disk insertion detection circuit to solve the problems of low energy consumption and low safety in the prior art.
[0005] The utility model discloses a hard disk insertion detection circuit, which comprises: a main control unit and at least one detection unit, wherein the detection unit comprises a SATA interface, a signal processing module and a power control module, wherein a voltage input end of the power control module is connected to an external power supply, a voltage output end of the power control module is connected to a first voltage input end of the SATA interface, a signal output end of the SATA interface is connected to a signal input end of the signal processing module, a signal output end of the signal processing module is respectively connected to a first control end of the power control module and an input / output end of the main control unit, and the input / output end of the main control unit is connected to a second control end of the power control module.
[0006] Among them, a preferred solution is that the signal processing module includes a pull-up resistor and a current limiting resistor, one end of the current limiting resistor is connected to the signal output end of the SATA interface, and the other end of the current limiting resistor is respectively connected to the first control end of the power control module and the input and output ends of the main control unit, and the pull-up resistor is arranged on the current limiting resistor for connecting one end of the SATA interface.
[0007] Among them, a preferred solution is that the power control module includes a first MOS tube, a second MOS tube, a third MOS tube and a switch tube, the gate of the first MOS tube is connected to the signal output end of the signal processing module, the drain of the first MOS tube is connected to the gate of the second MOS tube, the sources of the first MOS tube and the second MOS tube are both grounded, the drain of the second MOS tube is connected to the source of the third MOS tube, the gate of the third MOS tube is connected to the main control unit, the gate of the switch tube is respectively connected to the drain of the third MOS tube and the external power supply, and the drain of the switch tube is connected to the first voltage input end of the SATA interface.
[0008] Among them, a preferred solution is that the detection unit also includes a step-down module, the control end of the step-down module is connected to the voltage output end of the power control module, the voltage input end of the step-down module is connected to the main control unit, and the voltage output end of the step-down module is connected to the second voltage input end of the SATA interface.
[0009] Among them, a preferred solution is that the step-down module includes an integrated switch, the voltage input pin of the integrated switch is connected to the main control unit, the voltage output pin of the integrated switch is connected to the second voltage input terminal of the SATA interface, and the enable pin of the integrated switch is connected to the voltage output terminal of the power control module.
[0010] Among them, a preferred solution is that the detection unit also includes an electrostatic protection module, and the electrostatic protection module is connected to the input and output ends of the SATA interface.
[0011] Among them, a preferred solution is that a first filtering module is arranged between the voltage output terminal of the power control module and the first voltage input terminal of the SATA interface.
[0012] Among them, a preferred solution is that a second filtering module is arranged between the voltage output end of the step-down module and the second voltage input end of the SATA interface.
[0013] Among them, a preferred solution is to include a main control unit, a first detection unit and a second detection unit, and the first detection unit and the second detection unit are both connected to the main control unit.
[0014] In order to solve the problems existing in the prior art, the utility model further provides a network attached storage device, which is configured with at least one hard disk insertion port, and the solution thereof is that it includes the hard disk insertion detection circuit as described above.
[0015] Compared with the prior art, the beneficial effect of the hard disk insertion detection circuit provided by the embodiment of the utility model is that: by designing a hard disk insertion detection circuit, including a main control unit and at least one detection unit, the detection unit includes a SATA interface, a signal processing module and a power control module, the power control module includes a first control end connected to the signal processing module and a second control end connected to the main control unit, and the power control module is coordinated and controlled simultaneously by the hard disk insertion detection signal and the control signal of the main control unit, so that power is supplied to the hard disk only when it is inserted and needs to be charged, making the system more energy-saving and safer. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The technical solution of the utility model will be further described in detail below with reference to the accompanying drawings and embodiments, in which:
[0017] Figure 1 This is a schematic diagram of a module of a hard disk insertion detection circuit provided by an embodiment of the utility model. Figure 1 ;
[0018] Figure 2 is a circuit diagram of a signal processing module provided by an embodiment of the utility model;
[0019] Figure 3 is a circuit diagram of a power control module provided by an embodiment of the utility model;
[0020] Figure 4 It is a circuit diagram of a step-down module provided in an embodiment of the utility model;
[0021] Figure 5 This is a schematic diagram of a module of a hard disk insertion detection circuit provided by an embodiment of the utility model. Figure 2 ;
[0022] Figure 6 This is a schematic diagram of a module of a hard disk insertion detection circuit provided by an embodiment of the utility model. Figure 3 ;
[0023] Figure 7 It is a module schematic diagram of a first filtering module and a second filtering module provided in an embodiment of the utility model;
[0024] Figure 8 This is a schematic diagram of a module of a hard disk insertion detection circuit provided by an embodiment of the utility model. Figure 4 . DETAILED DESCRIPTION
[0025] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. Now, in conjunction with the accompanying drawings, a preferred embodiment of the present utility model is described in detail.
[0026] like Figures 1 to 8As shown, the utility model provides a specific embodiment of a hard disk insertion detection circuit.
[0027] A hard disk insertion detection circuit, reference Figure 1 The hard disk insertion detection circuit includes a main control unit 1 and at least one detection unit 2. The detection unit 2 includes a SATA interface 21, a signal processing module 22 and a power control module 23.
[0028] Among them, reference Figure 1 The voltage input end of the power control module 23 is connected to the external power supply 10, the voltage output end of the power control module 23 is connected to the first voltage input end of the SATA interface 21, the signal output end of the SATA interface 21 is connected to the signal input end of the signal processing module 22, the signal output end of the signal processing module 22 is respectively connected to the first control end of the power control module 23 and the input and output ends of the main control unit 1, and the input and output ends of the main control unit 1 are connected to the second control end of the power control module 23.
[0029] Specifically, refer to Figure 1 The hard disk insertion detection circuit is used in a network attached storage device. The SATA interface 21 is used to plug in the hard disk. The SATA interface 21 has a detection pin. The detection pin of the SATA interface 21 serves as its signal output end and is connected to the signal input end of the signal processing module 22. When a hard disk is inserted into the SATA interface 21, the detection pin on the SATA interface 21 can generate a corresponding detection signal SATA_DET. The detection signal SATA_DET is transmitted to the signal processing module 22 through the signal input end of the signal processing module 22. The signal output end of the signal processing module 22 is respectively connected to the first control end of the power control module 23 and the input and output ends of the main control unit 1. The signal processing module 22 is used to convert the detection signal SATA_DET generated by the detection pin of the SATA interface 21 into a stable and pure detection level signal HD_DET, and transmit it to the power control module 23 and the main control unit 1 respectively.
[0030] Further, refer to Figure 1 The voltage input end of the power control module 23 is connected to the external power supply 10 to obtain electrical energy, and the voltage output end of the power control module 23 is connected to the voltage input end of the SATA interface 21 and provides 12V power for the hard disk on the SATA interface 21.
[0031] Among them, reference Figure 1 , the first control end of the power control module 23 and the signal output end of the signal processing module 22. When the hard disk is inserted, the signal processing module 22 can receive the detection signal of the SATA interface 21 and output the corresponding detection level signal to the first control end of the power control module 23 to control the power control module 23 to turn on the power supply circuit, thereby facilitating power supply to the hard disk.
[0032] refer to Figure 1 The second control end of the power control module 23 is connected to the input and output ends of the main control unit 1. After receiving the detection level signal output by the signal processing module 22, the main control unit 1 can generate a corresponding control level signal to the second control end of the power control module 23. The second control end of the power control module 23 is usually in a normally open state, that is, under normal circumstances, the second control end is in a high level state, thereby allowing the current in the power control module 23 to flow to the SATA interface 21, thereby powering the hard disk.
[0033] In this embodiment, a hard disk insertion detection circuit is designed, including a main control unit and at least one detection unit. The detection unit includes a SATA interface, a signal processing module and a power control module. The power control module includes a first control end connected to the signal processing module and a second control end connected to the main control unit. The power control module is coordinated and controlled simultaneously through the hard disk insertion detection signal and the control signal of the main control unit, so that power is supplied to the hard disk only when it is inserted and needs to be charged, making the system more energy-saving and safer.
[0034] In one embodiment, reference Figure 1 and Figure 2 The signal processing module 22 includes a pull-up resistor R6 and a current limiting resistor R8, one end of the current limiting resistor R8 is connected to the signal output end of the SATA interface 21, and the other end of the current limiting resistor R8 is respectively connected to the first control end of the power control module 23 and the input and output ends of the main control unit 1, and the pull-up resistor R6 is set at one end of the current limiting resistor R8 for connecting to the SATA interface 21.
[0035] Specifically, refer to Figure 1 and Figure 2 One end of the current limiting resistor R8 serves as the signal input end of the signal processing module 22, and is connected to the signal output end of the SATA interface 21, so as to obtain the hard disk insertion detection signal SATA_DET; the other end of the current limiting resistor R8 serves as the signal output end of the signal processing module 22, and is respectively connected to the input and output ends of the main control unit 1 and the first control end of the power control module 23, so as to output the corresponding level signal HD_DET to the main control unit 1 and the power control module 23 according to the hard disk insertion detection signal SATA_DET; one end of the pull-up resistor R6 is connected to the signal input end of the signal processing module 22, and the other end of the pull-up resistor R6 is connected to a 3V power supply to provide a pull-up voltage.
[0036] Further, refer to Figure 1 and Figure 2The signal processing module 22 also includes a capacitor C11 and an electrostatic protection diode D8 for filtering, one end of the capacitor C11 is connected to the signal input end of the signal processing module 22, and the other end of the capacitor C11 is grounded, one end of the electrostatic protection diode D8 is connected to the signal input end of the signal processing module 22, and the other end of the electrostatic protection diode D8 is grounded.
[0037] In one embodiment, reference Figure 1 and Figure 3 The power control module 23 includes a first MOS tube Q1, a second MOS tube Q2, a third MOS tube Q3 and a switch tube MP1. The gate of the first MOS tube Q1 is connected to the signal output end of the signal processing module 22, the drain of the first MOS tube Q1 is connected to the gate of the second MOS tube Q2, the sources of the first MOS tube Q1 and the second MOS tube Q2 are both grounded, the drain of the second MOS tube Q2 is connected to the source of the third MOS tube Q3, the gate of the third MOS tube Q3 is connected to the main control unit 1, the gate of the switch tube MP1 is respectively connected to the drain of the third MOS tube Q3 and the external power supply 10, and the drain of the switch tube MP1 is connected to the first voltage input end of the SATA interface 21.
[0038] Specifically, refer to Figure 1 and Figure 3 The gate of the first MOS tube Q1 serves as the first control end of the power control module 23, and is connected to the signal output end of the signal processing module 22, so as to receive the hard disk insertion level signal; the gate of the third MOS tube Q3 serves as the second control end of the power control module 23, and is connected to the input and output ends of the main control unit 1, so as to receive the control signal of the main control unit 1; wherein the hard disk insertion level signal can not only be sent to the main control unit 1 to notify the main control unit 1 that the hard disk has been inserted, but also can be used as a switching voltage to drive the first MOS tube Q1.
[0039] Further, refer to Figure 1 and Figure 3 The first MOS tube Q1 is a P-channel MOSFET. When the hard disk is inserted, the main control unit 1 outputs a high level to the gate of the third MOS tube Q3, and the third MOS tube Q3 is turned on. When the signal output end of the signal processing module 22 outputs a high level to the first MOS tube Q1, since the source of the second MOS tube Q2 is grounded, the gate of the second MOS tube Q2 is connected to the drain of the first MOS tube Q1, and the drain of the second MOS tube Q2 is connected to the source of the third MOS tube Q3. When the first MOS tube Q1 and the third MOS tube Q3 are turned on, the second MOS tube Q2 is also turned on, and the current of the power control module 23 flows into the SATA interface 21, and supplies power to the inserted hard disk.
[0040] Among them, reference Figure 1 and Figure 3 It should be noted that the conduction state of the third MOS tube Q3 is directly controlled by the main control unit 1, and the control pin of the main control unit 1 to which the gate of the third MOS tube Q3 is connected is a normally open control pin. The gate of the third MOS tube Q3 is maintained in a high level state to allow the current of the power control module 23 to flow to the hard disk.
[0041] In one embodiment, reference Figure 1 , Figure 4 and Figure 5 The detection unit 2 also includes a step-down module 24, a control end of the step-down module 24 is connected to the voltage output end of the power control module 23, a voltage input end of the step-down module 24 is connected to the main control unit 1, and a voltage output end of the step-down module 24 is connected to the second voltage input end of the SATA interface 21.
[0042] Specifically, refer to Figure 1 , Figure 4 and Figure 5 The step-down module 24 is used to output a 5V voltage to the SATA interface 21 when the power control module 23 is enabled, so as to provide 5V power to the hard disk. The step-down module 24 includes an integrated switch U1. The voltage input pin VIN of the integrated switch U1 serves as the voltage input end of the step-down module 24 and is connected to the main control unit 1 to obtain the 5V input voltage. The voltage output pin OUT of the integrated switch U1 serves as the voltage output end of the step-down module 24 and is connected to the second voltage input end of the SATA interface 21 to output a 5V voltage. The enable pin EN of the integrated switch U1 serves as the control end of the step-down module 24 and is connected to the voltage output end of the power control module 23 to receive the 12V voltage and enable.
[0043] Among them, reference Figure 1 , Figure 4 and Figure 5 A protection resistor R4 is provided between the enable pin of the integrated switch U1 and the voltage output terminal of the power control module 23 , and a pull-down resistor R3 is provided between the enable pin of the integrated switch U1 and the ground line.
[0044] In one embodiment, reference Figure 6 The detection unit 2 further includes an electrostatic protection module 25 , which is connected to the input and output ends of the SATA interface 21 .
[0045] Specifically, refer to Figure 6One end of the electrostatic protection module 25 is connected to the input and output ends of the SATA interface 21, and the other end of the electrostatic protection module 25 is connected to the input and output ends of the main control unit 1. The electrostatic protection module 25 is used to protect the SATA interface 21 and the main control unit 1 from damage caused by electrostatic discharge. The circuit is prone to electrostatic discharge, that is, a sudden discharge phenomenon occurring between two different electrical potentials, which may cause serious damage to electronic equipment. The electrostatic protection module 25 can effectively protect the SATA interface 21 and the main control unit 1 to improve the safety and stability of the circuit.
[0046] In one embodiment, a first filter module is disposed between the voltage output terminal of the power control module 23 and the first voltage input terminal of the SATA interface 21 .
[0047] Specifically, refer to Figure 7 The first filtering module includes a filtering diode D2, a filtering capacitor EC2 and a filtering capacitor C6, one end of the filtering diode D2, the filtering capacitor EC2 and the filtering capacitor C6 are all connected between the voltage output end of the power control module 23 and the first voltage input end of the SATA interface 21, and the other ends of the filtering diode D2, the filtering capacitor EC2 and the filtering capacitor C6 are all grounded.
[0048] In one embodiment, a second filtering module is disposed between the voltage output terminal of the voltage reduction module 24 and the second voltage input terminal of the SATA interface 21 .
[0049] Specifically, refer to Figure 7 The second filtering module includes a filtering diode D1, a filtering capacitor EC1 and a filtering capacitor C5, one end of the filtering diode D1, the filtering capacitor EC1 and the filtering capacitor C5 are all connected between the voltage output end of the power control module 23 and the second voltage input end of the SATA interface 21, and the other ends of the filtering diode D1, the filtering capacitor EC1 and the filtering capacitor C5 are all grounded.
[0050] In one embodiment, reference Figure 8 The hard disk insertion detection circuit includes a main control unit 1, a first detection unit 201 and a first detection unit 202, and the first detection unit 201 and the first detection unit 202 are both connected to the main control unit 1.
[0051] Specifically, refer to Figure 8 The first detection unit 201 and the first detection unit 202 have the same circuit, both including a SATA interface 21, a signal processing module 22 and a power control module 23; the voltage input terminals of the power control modules 23 of the first detection unit 201 and the first detection unit 202 are both connected to the external power supply 10.
[0052] Among them, the voltage output end of the power control module 23 of the first detection unit 201 is connected to the first voltage input end of the SATA interface 21 of the first detection unit 201, the signal output end of the SATA interface 21 of the first detection unit 201 is connected to the signal input end of the signal processing module 22 of the first detection unit 201, the signal output end of the signal processing module 22 of the first detection unit 201 is respectively connected to the first control end of the power control module 23 of the first detection unit 201 and the first input and output end of the main control unit 1, and the second input and output end of the main control unit 1 is connected to the second control end of the power control module 23 of the first detection unit 201.
[0053] The voltage output end of the power control module 23 of the first detection unit 202 is connected to the second voltage input end of the SATA interface 21 of the first detection unit 202, the signal output end of the SATA interface 21 of the first detection unit 202 is connected to the signal input end of the signal processing module 22 of the first detection unit 202, the signal output end of the signal processing module 22 of the first detection unit 202 is respectively connected to the first control end of the power control module 23 of the first detection unit 202 and the third input and output end of the main control unit 1, and the third input and output end of the main control unit 1 is connected to the second control end of the power control module 23 of the first detection unit 202.
[0054] It should be understood that the above embodiments are only used to illustrate the technical solutions of the present utility model rather than to limit it. For those skilled in the art, the technical solutions described in the above embodiments can be modified, or some of the technical features therein can be replaced by equivalents; and all these modifications and replacements should fall within the scope of protection of the claims attached to the present utility model.
Claims
1. A hard disk insertion detection circuit, characterized in that: include: A main control unit and at least one detection unit, the detection unit includes a SATA interface, a signal processing module and a power control module, the voltage input end of the power control module is connected to an external power supply, the voltage output end of the power control module is connected to a first voltage input end of the SATA interface, the signal output end of the SATA interface is connected to a signal input end of the signal processing module, the signal output end of the signal processing module is respectively connected to a first control end of the power control module and an input / output end of the main control unit, and the input / output end of the main control unit is connected to a second control end of the power control module.
2. The hard disk insertion detection circuit according to claim 1, characterized in that: The signal processing module includes a pull-up resistor and a current limiting resistor, one end of the current limiting resistor is connected to the signal output end of the SATA interface, and the other end of the current limiting resistor is respectively connected to the first control end of the power control module and the input and output ends of the main control unit, and the pull-up resistor is arranged at one end of the current limiting resistor for connecting to the SATA interface.
3. The hard disk insertion detection circuit according to claim 1, characterized in that: The power control module includes a first MOS tube, a second MOS tube, a third MOS tube and a switch tube, the gate of the first MOS tube is connected to the signal output end of the signal processing module, the drain of the first MOS tube is connected to the gate of the second MOS tube, the sources of the first MOS tube and the second MOS tube are both grounded, the drain of the second MOS tube is connected to the source of the third MOS tube, the gate of the third MOS tube is connected to the main control unit, the gate of the switch tube is respectively connected to the drain of the third MOS tube and an external power supply, and the drain of the switch tube is connected to the first voltage input end of the SATA interface.
4. The hard disk insertion detection circuit according to claim 1, characterized in that: The detection unit also includes a step-down module, a control end of the step-down module is connected to the voltage output end of the power control module, a voltage input end of the step-down module is connected to the main control unit, and a voltage output end of the step-down module is connected to the second voltage input end of the SATA interface.
5. The hard disk insertion detection circuit according to claim 4, characterized in that: The step-down module includes an integrated switch, a voltage input pin of the integrated switch is connected to the main control unit, a voltage output pin of the integrated switch is connected to the second voltage input terminal of the SATA interface, and an enable pin of the integrated switch is connected to the voltage output terminal of the power control module.
6. The hard disk insertion detection circuit according to claim 1, characterized in that: The detection unit further comprises an electrostatic protection module, and the electrostatic protection module is connected to the input and output ends of the SATA interface.
7. The hard disk insertion detection circuit according to claim 1, characterized in that: A first filtering module is arranged between the voltage output terminal of the power control module and the first voltage input terminal of the SATA interface.
8. The hard disk insertion detection circuit according to claim 4, characterized in that: A second filtering module is arranged between the voltage output terminal of the voltage reduction module and the second voltage input terminal of the SATA interface.
9. The hard disk insertion detection circuit according to any one of claims 1 to 8, characterized in that: The system comprises a main control unit, a first detection unit and a second detection unit, wherein both the first detection unit and the second detection unit are connected to the main control unit.
10. A network attached storage device, the network attached storage device is equipped with at least one hard disk insertion port, characterized in that: It comprises a hard disk insertion detection circuit as described in any one of claims 1-9.