CN115862696A - Hard disk protection circuit - Google Patents

Hard disk protection circuit Download PDF

Info

Publication number
CN115862696A
CN115862696A CN202211614613.5A CN202211614613A CN115862696A CN 115862696 A CN115862696 A CN 115862696A CN 202211614613 A CN202211614613 A CN 202211614613A CN 115862696 A CN115862696 A CN 115862696A
Authority
CN
China
Prior art keywords
hard disk
voltage
branch
connector
electrically connected
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211614613.5A
Other languages
Chinese (zh)
Inventor
郇伟伟
孙辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202211614613.5A priority Critical patent/CN115862696A/en
Publication of CN115862696A publication Critical patent/CN115862696A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Emergency Protection Circuit Devices (AREA)

Abstract

The invention discloses a hard disk protection circuit, and relates to the technical field of computer hardware equipment. The circuit comprises: the device comprises a switch branch, a voltage comparison module, a capacitor module, a hard disk connector and a control module; the capacitor module is electrically connected with the hard disk connector, the junction of the capacitor module and the hard disk connector is electrically connected with the switch branch, the switch branch is also electrically connected with the voltage comparison module, and the control module is respectively electrically connected with the switch branch and the hard disk connector. When the capacitor module is electrically connected with the voltage output end of the external power supply and the hard disk connector is not connected with the hard disk, the voltage comparison module sends out corresponding prompts according to the numerical relation between the branch voltage signal and the reference voltage. By implementing the hard disk protection circuit disclosed by the embodiment of the invention, the hard disk is prevented from being irreversibly damaged due to excessive overshoot voltage when being connected into the circuit.

Description

Hard disk protection circuit
Technical Field
The invention relates to the technical field of computer hardware equipment, in particular to a hard disk protection circuit.
Background
Servers are hardware bases of technologies such as digitalization, cloud computing, internet and the like, and with the increasing demands for memory computing and data storage, the industry is shifting from computing-centric architectures to data-centric architectures, and the demands for storage servers are increasing. The hard disk is used as a data warehouse of the server, stores software and user data, and the reliability of the hard disk is very important. Usually, a server motherboard supplies power to a hard disk backplane through a power connector, and currents of different voltage levels are input to the hard disk connector through elements such as an electronic fuse chip and a filter capacitor, so as to meet the power supply requirement of a hard disk connected with the hard disk connector.
In order to ensure the stability of the input voltage of the hard disk and reduce noise interference, a capacitor module is generally disposed at the output end of the electronic fuse and the front end of the hard disk connector. When the hard disk works normally, the capacitor in the capacitor module is charged; when the hard disk is abnormally powered off or is artificially pulled out, the capacitor is disconnected with an external loop, and charges are kept on two polar plates of the capacitor. When the hard disk is reconnected and powered on, the instant capacitor with the closed power supply loop discharges to the hard disk to form a voltage pulse, and if the voltage pulse exceeds the bearing capacity of the hard disk, the hard disk is irreversibly damaged. Therefore, there is a need for a hard disk protection circuit, which discharges the charges of the capacitor plates in the capacitor module in time after the power failure of the hard disk, so as to achieve the safe electric quantity. After the hard disk is accessed again, the overshoot voltage caused by the discharge of the capacitor module is in a safe range, so that the reliability of the working performance of the hard disk is maintained.
Disclosure of Invention
In order to solve the problems that in the prior art, voltage overshoot is caused to a hard disk connected to a hard disk connector due to capacitance discharge at the front end of the hard disk connector, and irreversible damage is easily caused to the hard disk, the embodiment of the invention provides a hard disk protection circuit, which can discharge charges of capacitor plates in a capacitance module in time after the power failure of the hard disk, so as to achieve safe electric quantity; after the hard disk is accessed again, the overshoot voltage caused by the discharge of the capacitor module is in a safe range, so that the reliability of the working performance of the hard disk is maintained.
In order to solve one or more of the above technical problems, the technical solution adopted by the present invention is as follows:
in a first aspect, a hard disk protection circuit is provided, the circuit comprising: the device comprises a switch branch, a voltage comparison module, a capacitor module, a hard disk connector and a control module;
the capacitor module is electrically connected with the input end of the hard disk connector, the switch branch is also electrically connected with the voltage comparison module, and the control module is respectively electrically connected with the switch branch and the hard disk connector;
when the capacitor module is electrically connected with the voltage output end of the external power supply and the hard disk connector is connected with the hard disk, the control module outputs a low level to the switch branch circuit, and the switch branch circuit is disconnected;
when the capacitor module is electrically connected with the voltage output end of the external power supply and the hard disk connector is not connected with the hard disk, the control module outputs a high level to the switch branch, the switch branch is conducted, the voltage comparison module obtains a branch voltage signal through the switch branch, compares the branch voltage signal with a reference voltage, and sends out a corresponding prompt according to the numerical relation between the branch voltage signal and the reference voltage.
Further, the switch branch circuit is used for generating a branch circuit voltage signal according to the output voltage of the capacitor module when the switch branch circuit is conducted;
the voltage comparison module is used for acquiring a branch voltage signal, comparing the branch voltage signal with a reference voltage and sending out a corresponding prompt according to the numerical relationship between the branch voltage signal and the reference voltage;
the capacitor module is electrically connected with a voltage output end of an external power supply and supplies power to the hard disk connected with the hard disk connector;
the hard disk connector is used for connecting a hard disk;
and the control module is used for generating a hard disk in-place signal according to the connection state of the hard disk and the hard disk connector and controlling the on-off of the switch branch by using the hard disk in-place signal.
Further, the switching branch comprises: the circuit comprises a first resistor, a second resistor, a relay and a first MOS (metal oxide semiconductor) tube;
one end of the first resistor is electrically connected with one end of the relay, the other end of the relay is electrically connected with the drain electrode of the first MOS tube, the source electrode of the first MOS tube is electrically connected with one end of the second resistor, and the other end of the second resistor is grounded;
the grid electrode of the first MOS tube is used for receiving a hard disk in-place signal generated by the control module;
the other end of the first resistor is electrically connected with the input end of the hard disk connector;
the branch voltage signal is represented as:
Figure BDA0003996709400000021
wherein, U + Representing the value of the branch voltage signal, V C Representing the value of the output voltage of the capacitor module, R 1 、R 2 Respectively representing the resistance values of the first resistor and the second resistor.
Further, the voltage comparison module comprises an operational amplifier;
the operational amplifier includes: the operational amplifier comprises an operational amplifier first port, an operational amplifier second port, an operational amplifier third port, an operational amplifier fourth port and an operational amplifier fifth port;
the first port of the operational amplifier is electrically connected with the switch branch, the second port of the operational amplifier is connected with a reference voltage, the third port of the operational amplifier is connected with an operational discharge source voltage, and the fourth port of the operational amplifier is grounded;
when the branch voltage signal is greater than the reference voltage, the operational amplifier fifth port outputs a first prompt signal;
and when the branch voltage signal is less than the reference voltage, the operational amplifier fifth port outputs a second prompt signal.
Furthermore, the first port of the operational amplifier is electrically connected with the source electrode of the first MOS tube.
Further, the capacitance module includes: a first capacitor, a second capacitor;
one end of the first capacitor is electrically connected with the input end of the connector of the hard disk connector, and the other end of the first capacitor is grounded;
one end of the second capacitor is electrically connected with the input end of the connector of the hard disk connector, and the other end of the second capacitor is grounded.
Further, the hard disk connector includes: a connector input, a connector output;
the input end of the connector is connected with the voltage output end of an external power supply;
the output end of the connector is used for connecting the hard disk and supplying power to the connected hard disk.
Furthermore, the circuit also comprises a lighting module;
the lighting module is electrically connected with the voltage comparison module through the operational amplifier fifth port;
when the operational amplifier fifth port outputs a first prompt signal, the lighting module lights a first lamp bead;
when the fifth port outputs the second prompt signal, the lighting module lights the second lamp bead.
Further, the lighting module includes: the LED lamp comprises an AND gate, a second MOS tube, a third MOS tube, a fourth MOS tube, a first lamp bead, a second lamp bead, a third resistor and a fourth resistor;
the AND gate includes: the first input end of the AND gate, the second input end of the AND gate and the output end of the AND gate; the first input end of the gate is connected with a logic power supply, the second input end of the gate is electrically connected with the grid electrode of the first MOS tube, the output end of the gate is electrically connected with the grid electrode of the second MOS tube, the drain electrode of the second MOS tube is connected with the logic power supply, and the source electrode of the second MOS tube is electrically connected with the drain electrode of the fourth MOS tube;
the grid electrode of the third MOS tube is electrically connected with the operational amplifier fifth port, the source electrode of the third MOS tube is grounded, the drain electrode of the third MOS tube is electrically connected with the drain electrode of the fourth MOS tube after being connected with a branch circuit formed by connecting the first lamp bead and the third resistor in series, the drain electrode of the third MOS tube is also electrically connected with the grid electrode of the fourth MOS tube, and the source electrode of the fourth MOS tube is grounded after being connected with the branch circuit formed by connecting the second lamp bead and the fourth resistor in series.
In a second aspect, a hard disk protection system is provided, the system comprising: an external power supply and the hard disk protection circuit according to the first aspect;
the external power supply is electrically connected with the hard disk protection circuit and supplies power to the hard disk protection circuit;
when a hard disk connector of the hard disk protection circuit is connected with a hard disk, the control module outputs a low level to the switch branch, and the switch branch is disconnected;
when a hard disk connector of the hard disk protection circuit is not connected with a hard disk, the control module outputs a high level to the switch branch, the switch branch is conducted, the voltage comparison module obtains a branch voltage signal through the switch branch, compares the branch voltage signal with a reference voltage, and sends out a corresponding prompt according to the numerical relationship between the branch voltage signal and the reference voltage.
In a third aspect, a method for controlling a hard disk protection circuit is provided, which is applied to the hard disk protection circuit described in the first aspect, and the method includes:
connecting an external power supply with a hard disk protection circuit, and acquiring an in-place signal of a hard disk;
when the hard disk is prompted to be connected with the hard disk connector by the on-position signal of the hard disk, the control module outputs low level to the switch branch, and the switch branch is disconnected;
when the hard disk is prompted by the on-position signal that the hard disk is not connected with the hard disk connector, the control module outputs a high level to the switch branch, the switch branch is conducted, the voltage comparison module obtains a branch voltage signal through the switch branch, compares the branch voltage signal with a reference voltage, and sends out a corresponding prompt according to the numerical relationship between the branch voltage signal and the reference voltage.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
1. by implementing the hard disk protection circuit disclosed by the embodiment of the invention, after the hard disk is powered off, in the process of accessing the hard disk connector to power on, the voltage overshoot caused by the discharge of the capacitor module at the front end of the connector to the hard disk is within a safe voltage range, so that the hard disk is prevented from being irreversibly damaged due to the excessive overshoot voltage when being powered on;
2. and visually prompting the safe time when the hard disk is inserted again and powered on.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of a hard disk protection circuit according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a switching branch according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a voltage comparison module according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a capacitor module according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of another capacitor module provided by an embodiment of the present invention;
fig. 6 is a schematic diagram of a hard disk protection circuit module including a lighting module according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a hard disk protection circuit including a lighting module according to an embodiment of the present invention;
FIG. 8 is a diagram illustrating a system for protecting a hard disk according to an embodiment of the present invention;
fig. 9 is a schematic diagram of a control method of a hard disk protection circuit according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only a part of examples of the present invention, and not all examples. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Unless defined otherwise, technical or scientific terms used herein shall have the ordinary meaning as understood by one of ordinary skill in the art to which this disclosure belongs. The use of "first," "second," and similar terms in this disclosure is not intended to indicate any order, quantity, or importance, but rather is used to distinguish one element from another. Also, the use of the terms "a," "an," or "the" and similar referents do not denote a limitation of quantity, but rather denote the presence of at least one. The reference numerals in the drawings in the specification only indicate the distinction between the respective functional components or blocks, and do not indicate the logical relationship between the components or blocks. The word "comprising" or "comprises", and the like, means that the element or item preceding the word comprises the element or item listed after the word and its equivalent, but does not exclude other elements or items. The terms "connected" or "coupled" and the like are not restricted to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "upper", "lower", "left", "right", and the like are used merely to indicate relative positional relationships, and when the absolute position of the object being described is changed, the relative positional relationships may also be changed accordingly.
For the component symbols referred to in the present specification, the types of components are designated in the circuit diagram, and the components are distinguished, for example: r 1 ,R 2 C, etc.; the magnitudes of the corresponding physical quantities of the components are represented in the corresponding formulas and are distinguished in italics, for example: resistance R 1 Corresponding resistance value of R 1
Hereinafter, various embodiments according to the present disclosure will be described in detail with reference to the accompanying drawings. It is to be noted that, in the drawings, the same reference numerals are given to constituent parts having substantially the same or similar structures and functions, and repeated description thereof will be omitted.
Aiming at the problems that in the prior art, voltage overshoot is caused to a hard disk connected into a hard disk connector due to the discharge of a front-end capacitor of the hard disk connector, and the hard disk is extremely easy to damage irreversibly, the embodiment of the invention provides a hard disk protection circuit, which can discharge the charges of capacitor plates in a capacitor module in time after the power failure of the hard disk, so as to achieve safe electric quantity; after the hard disk is accessed again, the overshoot voltage caused by the discharge of the capacitor module is in a safe range, so that the reliability of the working performance of the hard disk is maintained.
In one embodiment, a hard disk protection circuit, as shown in fig. 1, includes: the circuit comprises a switch branch 100, a voltage comparison module 200, a capacitor module 300, a hard disk connector 400 and a control module CPLD;
the capacitor module 300 is electrically connected with the input end of the hard disk connector 400, the switch branch 100 is also electrically connected with the voltage comparison module 200, and the control module CPLD is respectively electrically connected with the switch branch 100 and the hard disk connector 400;
when the capacitor module 300 is electrically connected to the voltage output terminal of the external power supply and the hard disk connector 400 is connected to the hard disk, the control module CPLD outputs a low level to the switch branch 100, and the switch branch 100 is disconnected;
when the capacitor module 300 is electrically connected to the voltage output terminal of the external power supply and the hard disk connector 400 is not connected to the hard disk, the control module CPLD outputs a high level to the switch branch 100, the switch branch 100 is turned on, the voltage comparison module 200 obtains a branch voltage signal from the switch branch, compares the branch voltage signal with a reference voltage, and sends a corresponding prompt according to a numerical relationship between the branch voltage signal and the reference voltage.
The switching branch circuit 100 is configured to generate a branch circuit voltage signal according to an output voltage of the capacitor module 300 when the switching branch circuit is turned on;
the voltage comparison module 200 is configured to obtain a branch voltage signal, compare the branch voltage signal with a reference voltage, and send a corresponding prompt according to a numerical relationship between the branch voltage signal and the reference voltage; the prompt prompts the time when the hard disk is not suitable for hot insertion into the hard disk and the time when the hard disk is suitable for hot insertion into the hard disk after the hard disk is separated from the hard disk connector. The hard disk is hot-plugged into the hard disk connector at a time suitable for hot-plugging of the hard disk, so that the hard disk can be prevented from being impacted by overshoot voltage, and the use safety of the hard disk is protected.
A capacitor module 300 for electrically connecting with a voltage output terminal of an external power supply and supplying power to a hard disk connected with the hard disk connector 400;
a hard disk connector 400 for connecting a hard disk;
the control module CPLD is used for generating a hard disk in-place signal according to the connection state of the hard disk and the hard disk connector 400 and controlling the on-off of the switch branch 100 by using the hard disk in-place signal; usually, a Complex Programmable Logic Device (Complex Programmable Logic Device) is selected as a control module.
In another embodiment, as shown in fig. 2, the switching leg comprises: the circuit comprises a first resistor R1, a second resistor R2, a relay K and a first MOS (metal oxide semiconductor) transistor T1; the relay K is a normally open type relay, also called a movable type relay, two contacts are in an open state when the relay is not electrified, and the two contacts are closed after the relay is electrified.
One end of the first resistor R1 is electrically connected with one end of the relay K, the other end of the relay K is electrically connected with the drain d1 of the first MOS tube T1, the source s1 of the first MOS tube T1 is electrically connected with one end of the second resistor R2, and the other end of the second resistor R2 is grounded;
the grid g1 of the first MOS tube T1 is used for receiving a hard disk on-site signal generated by the control module CPLD;
the other end of the first resistor R1 is electrically connected to the input end of the hard disk connector 400;
the branch voltage signal is represented as:
Figure BDA0003996709400000071
wherein, U + Representing the value of the branch voltage signal, V C Represents the value of the output voltage, R, of the capacitive module 300 1 、R 2 Respectively represent first resistances R 1 A second resistor R 2 The resistance value of (c).
In another embodiment, as shown in fig. 3, the voltage comparison module 200 includes an operational amplifier OP;
the operational amplifier OP includes: the operational amplifier comprises an operational amplifier first port OP1, an operational amplifier second port OP2, an operational amplifier third port OP3, an operational amplifier fourth port OP4 and an operational amplifier fifth port OP5; the operational amplifier has a first port OP1 as a non-inverting input terminal, a second port OP2 as an inverting input terminal, and a fifth port OP5 as an output terminal.
The operational amplifier first port OP1 is electrically connected with the switching branch 100, the operational amplifier second port OP2 is connected with a reference voltage, the operational amplifier third port OP3 is connected with an operational discharge source voltage VDD1, and the operational amplifier fourth port OP4 is grounded;
after the switching branch 100 is turned on, when the branch voltage signal is greater than the reference voltage, the operational amplifier fifth port OP5 outputs a first prompt signal;
when the branch voltage signal is smaller than the reference voltage, the operational amplifier fifth port OP5 outputs a second prompt signal.
The operational amplifier first port OP1 is electrically connected to the source s1 of the first MOS transistor T1.
In another embodiment, as shown in fig. 4, the capacitor module 300 performs a function of filtering and voltage-stabilizing, including: a first capacitor C1 and a second capacitor C2.
One end of the first capacitor C1 is electrically connected to the connector input 401 of the hard disk connector 400, and the other end of the first capacitor C1 is grounded. Typically, the capacitance value of the first capacitor C1 is chosen to be 0.1 μ F.
One end of the second capacitor C2 is electrically connected to the connector input 401 of the hard disk connector 400, and the other end of the second capacitor C2 is grounded.
The second capacitor C2 is a plurality of parallel capacitors C21, C22, \ 8230 \ 8230and C2n with the same capacitance value.
In one embodiment, the second capacitor C2 is in the form of three parallel capacitors C having equal capacitance 21 、C 22 、C 23 And the capacitance value is selected from C 21 =C 22 =C 23 =22 μ F, as shown in fig. 5.
The hard disk connector 400 includes: connector input 401, connector output 402;
the connector input end 401 is connected with the voltage output end of an external power supply;
the connector output 402 is used to connect to a hard disk and supply power to the connected hard disk.
In another embodiment, as shown in fig. 6, the hard disk protection circuit further includes a lighting module 500;
the lighting module 500 is electrically connected to the voltage comparison module 200 through the operational amplifier fifth port OP5, and is electrically connected to the switch branch 100 through the gate g1 of the first MOS transistor T1.
When the operational amplifier fifth port OP5 outputs a first prompt signal, the lighting module lights the first lamp bead L1;
when the operational amplifier fifth port OP5 outputs the second prompt signal, the lighting module lights the second lamp bead L2.
In another embodiment, as shown in fig. 7, the lighting module 500 includes: the LED lamp comprises an AND gate AND, a second MOS tube T2, a third MOS tube T3, a fourth MOS tube T4, a first lamp bead L1, a second lamp bead L2, a third resistor R3 AND a fourth resistor R4;
AND gate AND includes: the first input end A1 of the AND gate, the second input end A2 of the AND gate and the output end A3 of the AND gate; the first input end A1 of the gate is connected with a logic power supply VDD2, the second input end A2 of the gate is electrically connected with a grid g1 of a first MOS tube T1, the output end A3 of the gate is electrically connected with a grid g2 of a second MOS tube T2, a drain d2 of the second MOS tube T2 is connected with the logic power supply VDD2, and a source s2 of the second MOS tube T2 is electrically connected with a drain d4 of a fourth MOS tube T4;
grid g3 and the fortune of third MOS pipe T3 put fifth port OP5 electric connection, source s3 ground connection of third MOS pipe T3, after drain d3 and the branch road that first lamp pearl L1 and third resistance R3 establish ties and form of third MOS pipe T3 establish ties, with drain d4 electric connection of fourth MOS pipe T4, drain d3 of third MOS pipe T3 still with grid g4 electric connection of fourth MOS pipe T4, source s4 and the branch road that second lamp pearl L2 and fourth resistance R4 establish ties and form of fourth MOS pipe T4 establish ties after ground connection.
Preferably, the first lamp bead L1 and the second lamp bead L2 are LEDs.
Preferably, the colors of the first lamp bead L1 and the second lamp bead L2 are different so as to distinguish the first prompt signal from the second prompt signal.
According to the difference of the output signals of the operational amplifier fifth port OP5, the lighting module displays the output signals of the operational amplifier fifth port OP5 by lighting lamps with different colors, whether the capacitor module 300 discharges to a safe region is reflected, and when the second lamp bead L2 lights, the capacitor module 300 discharges to the safe region, so that the hard disk is suitable for being inserted into the hard disk connector 400.
When the hard disk connector 400 is connected with a hard disk, the control module CPLD recognizes the connection between the hard disk connector 400 and the hard disk, and sends a low level signal to the gate g1 of the first MOS transistor T1, the relay K is turned off, and the switch branch 100 is turned off.
When the capacitor module 300 is electrically connected to the voltage output end of the external power supply and the hard disk connector 400 is not connected to the hard disk, the control module CPLD monitors that the hard disk is separated from the hard disk connector 400, the control module CPLD outputs a high level to the switch branch 100, the gate g1 of the first MOS transistor T1 receives a high level signal, the relay K is closed, the switch branch 100 is turned on, and the charge contained in the capacitor module 300 is released to the ground through the first resistor R1 and the second resistor R2. The voltage comparison module 200 obtains the branch voltage signal from the switch branch, compares the branch voltage signal with the reference voltage, and sends out a corresponding prompt according to the numerical relationship between the branch voltage signal and the reference voltage.
In another embodiment, the reference voltage V REF =0.1V,R 2 =100 Ω. Along with the discharging of the capacitor module 300, when the discharging current is greater than 1mA and the voltage at the two ends of the second resistor R2 is greater than 0.1V, the operational amplifier fifth port OP5 outputs a first prompt signal to inform a worker that the hard disk cannot be inserted at the moment; when the discharge current is lower than 1mA and the voltage across the second resistor R2 is less than 0.1V, it is considered that the discharge is complete, and the fifth port OP5 of the operational amplifier outputs a second prompt signal.
In another embodiment, as shown in fig. 8, a hard disk protection system includes: an external power supply and the hard disk protection circuit according to the first aspect;
the external power supply is electrically connected with the hard disk protection circuit and supplies power to the hard disk protection circuit and the hard disk back plate.
The external power supply typically includes: mainboard, power connector, electronic fuse. The mainboard supplies power to the hard disk backboard through the power supply connector; the electronic fuse is located at the rear end of the power connector and used for achieving power supply short circuit protection and improving design reliability. The control module CPLD can also be connected with the electronic fuse to acquire Power Good signals, alarm signals and the like.
When the hard disk connector 400 of the hard disk protection circuit is connected with a hard disk, the control module CPLD outputs a low level to the switch branch 100, and the switch branch 100 is disconnected;
when the hard disk connector 400 of the hard disk protection circuit is not connected with a hard disk, the control module CPLD outputs a high level to the switch branch 100, the switch branch 100 is turned on, the voltage comparison module 200 obtains a branch voltage signal from the switch branch, compares the branch voltage signal with a reference voltage, and sends a corresponding prompt according to a numerical relationship between the branch voltage signal and the reference voltage.
In another embodiment, as shown in fig. 9, a control method of a hard disk protection circuit is applied to the hard disk protection circuit described in the first aspect, and the method includes:
s100: connecting an external power supply with a hard disk protection circuit, and acquiring an in-place signal of a hard disk;
s200: when the hard disk is prompted to be connected with the hard disk connector by the on-position signal of the hard disk, the control module outputs low level to the switch branch, and the switch branch is disconnected;
s200': when the hard disk is prompted by the on-position signal that the hard disk is not connected with the hard disk connector, the control module outputs a high level to the switch branch, the switch branch is conducted, the voltage comparison module obtains a branch voltage signal through the switch branch, compares the branch voltage signal with a reference voltage, and sends out a corresponding prompt according to the numerical relationship between the branch voltage signal and the reference voltage.
By implementing the hard disk protection circuit disclosed by the embodiment of the invention, after the hard disk is powered off, in the process of accessing the hard disk connector to be powered on, the voltage overshoot caused by the discharge of the front-end capacitance module of the connector to the hard disk is within a safe voltage range, so that the hard disk is prevented from being irreversibly damaged by the excessive overshoot voltage when being powered on; and visually prompting the safe time when the hard disk is inserted again and powered on.
All the above-mentioned optional technical solutions can be combined arbitrarily to form the optional embodiments of the present invention, and are not described herein again.
Example one
A hard disk protection circuit, as shown in fig. 1, the circuit comprising: the circuit comprises a switch branch 100, a voltage comparison module 200, a capacitor module 300, a hard disk connector 400 and a control module CPLD;
the capacitor module 300 is electrically connected with the input end of the hard disk connector 400, the switch branch 100 is also electrically connected with the voltage comparison module 200, and the control module CPLD is respectively electrically connected with the switch branch 100 and the hard disk connector 400;
when the capacitor module 300 is electrically connected to the voltage output terminal of the external power supply and the hard disk connector 400 is connected to the hard disk, the control module CPLD outputs a low level to the switch branch 100, and the switch branch 100 is disconnected;
when the capacitor module 300 is electrically connected to the voltage output end of the external power source and the hard disk connector 400 is not connected to the hard disk, the control module CPLD outputs a high level to the switch branch 100, the switch branch 100 is turned on, the voltage comparison module 200 obtains a branch voltage signal from the switch branch, compares the branch voltage signal with a reference voltage, and sends a corresponding prompt according to a numerical relationship between the branch voltage signal and the reference voltage.
Example two
A hard disk protection circuit, as shown in fig. 7, the circuit comprising: the circuit comprises a switch branch 100, a voltage comparison module 200, a capacitor module 300, a hard disk connector 400 and a control module CPLD;
the capacitor module 300 is electrically connected with the input end of the hard disk connector 400, the switch branch 100 is also electrically connected with the voltage comparison module 200, and the control module CPLD is respectively electrically connected with the switch branch 100 and the hard disk connector 400;
when the capacitor module 300 is electrically connected to the voltage output terminal of the external power supply and the hard disk connector 400 is connected to the hard disk, the control module CPLD outputs a low level to the switch branch 100, and the switch branch 100 is disconnected;
when the capacitor module 300 is electrically connected to the voltage output terminal of the external power supply and the hard disk connector 400 is not connected to the hard disk, the control module CPLD outputs a high level to the switch branch 100, the switch branch 100 is turned on, the voltage comparison module 200 obtains a branch voltage signal from the switch branch, compares the branch voltage signal with a reference voltage, and sends a corresponding prompt according to a numerical relationship between the branch voltage signal and the reference voltage.
The switching branch circuit 100 is configured to generate a branch circuit voltage signal according to an output voltage of the capacitor module 300 when the switching branch circuit is turned on;
the voltage comparison module 200 is configured to obtain a branch voltage signal, compare the branch voltage signal with a reference voltage, and send a corresponding prompt according to a numerical relationship between the branch voltage signal and the reference voltage;
a capacitor module 300 for electrically connecting with a voltage output terminal of an external power supply and supplying power to a hard disk connected with the hard disk connector 400;
a hard disk connector 400 for connecting a hard disk;
and the control module CPLD is used for generating a hard disk on-site signal according to the connection state of the hard disk and the hard disk connector 400, and controlling the on-off of the switch branch 100 by using the hard disk on-site signal.
The switching branch includes: the circuit comprises a first resistor R1, a second resistor R2, a relay K and a first MOS tube T1; the relay K is a normally open relay, also called a movable type, two contacts are in an open state when not electrified, and the two contacts are closed after the electrification.
One end of the first resistor R1 is electrically connected with one end of the relay K, the other end of the relay K is electrically connected with the drain d1 of the first MOS tube T1, the source s1 of the first MOS tube T1 is electrically connected with one end of the second resistor R2, and the other end of the second resistor R2 is grounded;
the grid g1 of the first MOS tube T1 is used for receiving a hard disk in-place signal generated by the control module CPLD;
the other end of the first resistor R1 is electrically connected to the input end of the hard disk connector 400;
the branch voltage signal is represented as:
Figure BDA0003996709400000111
wherein, U + Representing the value of the branch voltage signal, V C Represents the value of the output voltage, R, of the capacitor module 300 1 、R 2 Respectively represent first resistances R 1 A second resistor R 2 The resistance value of (c).
The voltage comparison module 200 includes an operational amplifier OP;
the operational amplifier OP includes: the operational amplifier comprises an operational amplifier first port OP1, an operational amplifier second port OP2, an operational amplifier third port OP3, an operational amplifier fourth port OP4 and an operational amplifier fifth port OP5;
the operational amplifier first port OP1 is electrically connected with the switching branch 100, the operational amplifier second port OP2 is connected with a reference voltage, the operational amplifier third port OP3 is connected with an operational discharge source voltage VDD1, and the operational amplifier fourth port OP4 is grounded;
when the branch voltage signal is greater than the reference voltage, the operational amplifier fifth port OP5 outputs a first prompt signal;
when the branch voltage signal is smaller than the reference voltage, the operational amplifier fifth port OP5 outputs a second prompt signal.
The operational amplifier first port OP1 is electrically connected to the source s1 of the first MOS transistor T1.
The capacitor module 300 plays a role in filtering and voltage stabilization, and includes: a first capacitor C1 and a second capacitor C2.
One end of the first capacitor C1 is electrically connected to the connector input 401 of the hard disk connector 400, and the other end of the first capacitor C1 is grounded. Typically, the capacitance value of the first capacitor C1 is chosen to be 0.1 μ F.
The second capacitor C2 is in the form of three parallel capacitors C with equal capacitance values 21 、C 22 、C 23 And the capacitance value is selected from C 21 =C 22 =C 23 =22μF。
The hard disk connector 400 includes: connector input 401, connector output 402;
the connector input end 401 is connected with the voltage output end of an external power supply;
the connector output 402 is used to connect to a hard disk and supply power to the connected hard disk.
The hard disk protection circuit further comprises a lighting module 500;
the lighting module 500 is electrically connected with the voltage comparison module 200 through the operational amplifier fifth port OP5;
when the operational amplifier fifth port OP5 outputs a first prompt signal, the lighting module lights the first lamp bead L1;
when the operational amplifier fifth port OP5 outputs the second prompt signal, the lighting module lights the second lamp bead L2.
The lighting module 500 includes: the LED lamp comprises an AND gate AND, a second MOS tube T2, a third MOS tube T3, a fourth MOS tube T4, a first lamp bead L1, a second lamp bead L2, a third resistor R3 AND a fourth resistor R4;
AND gate AND includes: the first input end A1 of the AND gate, the second input end A2 of the AND gate and the output end A3 of the AND gate; the first input end A1 of the gate is connected with a logic power supply VDD2, the second input end A2 of the gate is electrically connected with a grid g1 of a first MOS tube T1, the output end A3 of the gate is electrically connected with a grid g2 of a second MOS tube T2, a drain d2 of the second MOS tube T2 is connected with the logic power supply VDD2, and a source s2 of the second MOS tube T2 is electrically connected with a drain d4 of a fourth MOS tube T4;
grid g3 and the fortune of third MOS pipe T3 put fifth port OP5 electric connection, source s3 ground connection of third MOS pipe T3, after drain d3 and the branch road that first lamp pearl L1 and third resistance R3 establish ties and form of third MOS pipe T3 establish ties, with drain d4 electric connection of fourth MOS pipe T4, drain d3 of third MOS pipe T3 still with grid g4 electric connection of fourth MOS pipe T4, source s4 and the branch road that second lamp pearl L2 and fourth resistance R4 establish ties and form of fourth MOS pipe T4 establish ties after ground connection.
The first lamp bead L1 is a red LED, and the second lamp bead L2 is a green LED.
When the hard disk connector 400 is connected with a hard disk, the control module CPLD recognizes the connection between the hard disk connector 400 and the hard disk, and sends a low level signal to the gate g1 of the first MOS transistor T1, the relay K is turned off, and the switch branch 100 is turned off.
When the capacitor module 300 is electrically connected to the voltage output end of the external power supply and the hard disk connector 400 is not connected to the hard disk, the control module CPLD monitors that the hard disk is separated from the hard disk connector 400, the control module CPLD outputs a high level to the switch branch 100, the gate g1 of the first MOS transistor T1 receives a high level signal, the relay K is closed, the switch branch 100 is turned on, and the charge contained in the capacitor module 300 is released to the ground through the first resistor R1 and the second resistor R2. The voltage comparison module 200 obtains the branch voltage signal from the switch branch, compares the branch voltage signal with the reference voltage, and sends out a corresponding prompt according to the numerical relationship between the branch voltage signal and the reference voltage.
Reference voltage V REF =0.1V,R 2 =100 Ω. Along with the discharging of the capacitor module 300, when the discharging current is greater than 1mA and the voltage at the two ends of the second resistor R2 is greater than 0.1V, the operational amplifier fifth port OP5 outputs a first prompt signal to inform a worker that the hard disk cannot be inserted at the moment; when the discharge current is lower than 1mA, and the voltage at the two ends of the second resistor R2 is smallAt 0.1V, the discharge is considered to be complete, and the fifth port OP5 of the operational amplifier outputs a second prompt signal.
EXAMPLE III
A hard disk protection system, as shown in fig. 8, comprising: an external power supply and the hard disk protection circuit according to the first aspect;
the external power supply is electrically connected with the hard disk protection circuit and supplies power to the hard disk protection circuit;
when the hard disk connector 400 of the hard disk protection circuit is connected with a hard disk, the control module CPLD outputs a low level to the switch branch 100, and the switch branch 100 is disconnected;
when the hard disk connector 400 of the hard disk protection circuit is not connected with a hard disk, the control module CPLD outputs a high level to the switch branch 100, the switch branch 100 is turned on, the voltage comparison module 200 obtains a branch voltage signal from the switch branch, compares the branch voltage signal with a reference voltage, and sends out a corresponding prompt according to the numerical relationship between the branch voltage signal and the reference voltage.
The hard disk protection circuit specifically includes: the circuit comprises a switch branch 100, a voltage comparison module 200, a capacitor module 300, a hard disk connector 400 and a control module CPLD;
the capacitor module 300 is electrically connected with the input end of the hard disk connector 400, the switch branch 100 is also electrically connected with the voltage comparison module 200, and the control module CPLD is respectively electrically connected with the switch branch 100 and the hard disk connector 400;
when the capacitor module 300 is electrically connected to the voltage output terminal of the external power supply and the hard disk connector 400 is connected to the hard disk, the control module CPLD outputs a low level to the switch branch 100, and the switch branch 100 is disconnected;
when the capacitor module 300 is electrically connected to the voltage output terminal of the external power supply and the hard disk connector 400 is not connected to the hard disk, the control module CPLD outputs a high level to the switch branch 100, the switch branch 100 is turned on, the voltage comparison module 200 obtains a branch voltage signal from the switch branch, compares the branch voltage signal with a reference voltage, and sends a corresponding prompt according to a numerical relationship between the branch voltage signal and the reference voltage.
The switching branch circuit 100 is configured to generate a branch circuit voltage signal according to an output voltage of the capacitor module 300 when the switching branch circuit is turned on;
the voltage comparison module 200 is configured to obtain a branch voltage signal, compare the branch voltage signal with a reference voltage, and send a corresponding prompt according to a numerical relationship between the branch voltage signal and the reference voltage;
a capacitor module 300 for electrically connecting with a voltage output terminal of an external power supply and supplying power to a hard disk connected with the hard disk connector 400;
a hard disk connector 400 for connecting a hard disk;
and the control module CPLD is used for generating a hard disk on-site signal according to the connection state of the hard disk and the hard disk connector 400, and controlling the on-off of the switch branch 100 by using the hard disk on-site signal.
The switching branch includes: the circuit comprises a first resistor R1, a second resistor R2, a relay K and a first MOS tube T1; the relay K is a normally open type relay, also called a movable type relay, two contacts are in an open state when the relay is not electrified, and the two contacts are closed after the relay is electrified.
One end of the first resistor R1 is electrically connected with one end of the relay K, the other end of the relay K is electrically connected with the drain d1 of the first MOS tube T1, the source s1 of the first MOS tube T1 is electrically connected with one end of the second resistor R2, and the other end of the second resistor R2 is grounded;
the grid g1 of the first MOS tube T1 is used for receiving a hard disk in-place signal generated by the control module CPLD;
the other end of the first resistor R1 is electrically connected to the input end of the hard disk connector 400;
the branch voltage signal is represented as:
Figure BDA0003996709400000141
/>
wherein, U + Representing the value of the branch voltage signal, V C Represents the value of the output voltage, R, of the capacitive module 300 1 、R 2 Respectively represent first resistances R 1 A second resistor R 2 The resistance value of (c).
The voltage comparison module 200 includes an operational amplifier OP;
the operational amplifier OP includes: the operational amplifier comprises an operational amplifier first port OP1, an operational amplifier second port OP2, an operational amplifier third port OP3, an operational amplifier fourth port OP4 and an operational amplifier fifth port OP5;
the operational amplifier first port OP1 is electrically connected with the switching branch 100, the operational amplifier second port OP2 is connected with a reference voltage, the operational amplifier third port OP3 is connected with an operational discharge source voltage VDD1, and the operational amplifier fourth port OP4 is grounded;
when the branch voltage signal is greater than the reference voltage, the operational amplifier fifth port OP5 outputs a first prompt signal;
when the branch voltage signal is smaller than the reference voltage, the operational amplifier fifth port OP5 outputs a second prompt signal.
The operational amplifier first port OP1 is electrically connected to the source s1 of the first MOS transistor T1.
The capacitor module 300 plays a role in filtering and voltage stabilization, and includes: a first capacitor C1 and a second capacitor C2.
One end of the first capacitor C1 is electrically connected to the connector input 401 of the hard disk connector 400, and the other end of the first capacitor C1 is grounded. Typically, the capacitance value of the first capacitor C1 is chosen to be 0.1 μ F.
The second capacitor C2 is in the form of three parallel capacitors C with equal capacitance values 21 、C 22 、C 23 And the capacitance value is selected from C 21 =C 22 =C 23 =22μF。
The hard disk connector 400 includes: connector input 401, connector output 402;
the connector input 401 is connected to the voltage output of the external power supply;
the connector output 402 is used to connect to a hard disk and supply power to the connected hard disk.
The hard disk protection circuit further comprises a lighting module 500;
the lighting module 500 is electrically connected to the voltage comparison module 200 through the operational amplifier fifth port OP5;
when the operational amplifier fifth port OP5 outputs a first prompt signal, the lighting module lights the first lamp bead L1;
when the operational amplifier fifth port OP5 outputs the second prompt signal, the lighting module lights the second lamp bead L2.
The lighting module 500 includes: the LED lamp comprises an AND gate AND, a second MOS tube T2, a third MOS tube T3, a fourth MOS tube T4, a first lamp bead L1, a second lamp bead L2, a third resistor R3 AND a fourth resistor R4;
AND gate AND includes: the first input end A1 of the AND gate, the second input end A2 of the AND gate and the output end A3 of the AND gate; the first input end A1 of the gate is connected with a logic power supply VDD2, the second input end A2 of the gate is electrically connected with a grid g1 of the first MOS tube T1, the output end A3 of the gate is electrically connected with a grid g2 of the second MOS tube T2, a drain d2 of the second MOS tube T2 is connected with the logic power supply VDD2, and a source s2 of the second MOS tube T2 is electrically connected with a drain d4 of the fourth MOS tube T4;
grid g3 and the fortune of third MOS pipe T3 put fifth port OP5 electric connection, source s3 ground connection of third MOS pipe T3, after drain d3 and the branch road that first lamp pearl L1 and third resistance R3 establish ties and form of third MOS pipe T3 establish ties, with drain d4 electric connection of fourth MOS pipe T4, drain d3 of third MOS pipe T3 still with grid g4 electric connection of fourth MOS pipe T4, source s4 and the branch road that second lamp pearl L2 and fourth resistance R4 establish ties and form of fourth MOS pipe T4 establish ties after ground connection.
The first lamp bead L1 is a red LED, and the second lamp bead L2 is a green LED.
When the hard disk connector 400 is connected with a hard disk, the control module CPLD recognizes the connection between the hard disk connector 400 and the hard disk, and sends a low level signal to the gate g1 of the first MOS transistor T1, the relay K is turned off, and the switch branch 100 is turned off.
When the capacitor module 300 is electrically connected to the voltage output end of the external power supply and the hard disk connector 400 is not connected to the hard disk, the control module CPLD monitors that the hard disk is separated from the hard disk connector 400, the control module CPLD outputs a high level to the switch branch 100, the gate g1 of the first MOS transistor T1 receives a high level signal, the relay K is closed, the switch branch 100 is turned on, and the charge contained in the capacitor module 300 is released to the ground through the first resistor R1 and the second resistor R2. The voltage comparison module 200 obtains the branch voltage signal from the switch branch, compares the branch voltage signal with the reference voltage, and sends out a corresponding prompt according to the numerical relationship between the branch voltage signal and the reference voltage.
Reference voltage V REF =0.1V,R 2 =100 Ω. Along with the discharging of the capacitor module 300, when the discharging current is greater than 1mA and the voltage at the two ends of the second resistor R2 is greater than 0.1V, the operational amplifier fifth port OP5 outputs a first prompt signal to inform a worker that the hard disk cannot be inserted at the moment; when the discharge current is lower than 1mA and the voltage across the second resistor R2 is less than 0.1V, it is considered that the discharge is complete, and the fifth port OP5 of the operational amplifier outputs a second prompt signal.
Example four
As shown in fig. 9, a method for controlling a hard disk protection circuit, which is applied to the hard disk protection circuit according to the first aspect, includes:
s100: connecting an external power supply with a hard disk protection circuit, and acquiring an in-place signal of a hard disk;
s200: when the hard disk is prompted to be connected with the hard disk connector by the on-position signal of the hard disk, the control module outputs low level to the switch branch, and the switch branch is disconnected;
s200': when the hard disk is prompted by the on-position signal that the hard disk is not connected with the hard disk connector, the control module outputs a high level to the switch branch, the switch branch is conducted, the voltage comparison module obtains a branch voltage signal through the switch branch, compares the branch voltage signal with a reference voltage, and sends out a corresponding prompt according to the numerical relationship between the branch voltage signal and the reference voltage.
In particular, according to embodiments of the present application, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program loaded on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means, or installed from the memory, or installed from the ROM. The computer program, when executed by an external processor, performs the above-described functions defined in the methods of embodiments of the present application.
It should be noted that the computer readable medium of the embodiments of the present application may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In embodiments of the application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In embodiments of the present application, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the server; or may exist separately and not be assembled into the server. The computer readable medium carries one or more programs which, when executed by the server, cause the server to: when the peripheral mode of the terminal is detected to be not activated, acquiring a frame rate of an application on the terminal; when the frame rate meets the screen-off condition, judging whether a user is acquiring screen information of the terminal; and controlling the screen to enter an immediate dimming mode in response to the judgment result that the user does not acquire the screen information of the terminal.
Computer program code for carrying out operations for embodiments of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
All the embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, the system or system embodiments are substantially similar to the method embodiments and therefore are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described system and system embodiments are only illustrative, wherein the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The technical solutions provided by the present application are introduced in detail, and specific examples are applied in the description to explain the principles and embodiments of the present application, and the descriptions of the above examples are only used to help understanding the method and the core ideas of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, the specific embodiments and the application range may be changed. In view of the above, the description should not be taken as limiting the application.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (10)

1. A hard disk protection circuit, the circuit comprising: the device comprises a switch branch, a voltage comparison module, a capacitor module, a hard disk connector and a control module;
the capacitor module is electrically connected with the input end of the hard disk connector, the switch branch is also electrically connected with the voltage comparison module, and the control module is respectively electrically connected with the switch branch and the hard disk connector;
the switch branch circuit is used for generating a branch circuit voltage signal according to the output voltage of the capacitor module when the switch branch circuit is conducted;
the voltage comparison module is used for acquiring the branch voltage signal, comparing the branch voltage signal with a reference voltage and sending out a corresponding prompt according to the numerical relationship between the branch voltage signal and the reference voltage;
the capacitor module is electrically connected with a voltage output end of an external power supply and supplies power to the hard disk connected with the hard disk connector;
the hard disk connector is used for connecting a hard disk;
the control module is used for generating a hard disk in-place signal according to the connection state of the hard disk and the hard disk connector and controlling the on-off of the switch branch by using the hard disk in-place signal.
2. The hard disk protection circuit of claim 1, wherein the switch branch comprises: the circuit comprises a first resistor, a second resistor, a relay and a first MOS (metal oxide semiconductor) tube;
one end of the first resistor is electrically connected with one end of the relay, the other end of the relay is electrically connected with the drain electrode of the first MOS tube, the source electrode of the first MOS tube is electrically connected with one end of the second resistor, and the other end of the second resistor is grounded;
the grid electrode of the first MOS tube is used for receiving the hard disk in-place signal generated by the control module;
the other end of the first resistor is electrically connected with the input end of the hard disk connector.
3. The hard disk protection circuit according to claim 1, wherein the voltage comparison module comprises an operational amplifier;
the operational amplifier includes: the operational amplifier comprises an operational amplifier first port, an operational amplifier second port, an operational amplifier third port, an operational amplifier fourth port and an operational amplifier fifth port;
the first port of the operational amplifier is electrically connected with the switch branch, the second port of the operational amplifier is connected with a reference voltage, the third port of the operational amplifier is connected with an operational discharge source voltage, and the fourth port of the operational amplifier is grounded;
when the branch voltage signal is greater than the reference voltage, the operational amplifier fifth port outputs a first prompt signal;
and when the branch voltage signal is smaller than the reference voltage, the operational amplifier fifth port outputs a second prompt signal.
4. The hard disk protection circuit of claim 3, wherein the operational amplifier first port is electrically connected to a source of the first MOS transistor.
5. The hard disk protection circuit of claim 1, wherein the capacitor module comprises: a first capacitor, a second capacitor;
one end of the first capacitor is electrically connected with the input end of the connector of the hard disk connector, and the other end of the first capacitor is grounded;
one end of the second capacitor is electrically connected with the input end of the connector of the hard disk connector, and the other end of the second capacitor is grounded.
6. The hard disk protection circuit of claim 1, wherein the hard disk connector comprises: a connector input, a connector output;
the input end of the connector is connected with the voltage output end of an external power supply;
the output end of the connector is used for connecting the hard disk and supplying power to the connected hard disk.
7. The hard disk protection circuit of claim 1, wherein the circuit further comprises a lighting module;
the lighting module is electrically connected with the voltage comparison module through an operational amplifier fifth port;
when the operational amplifier fifth port outputs a first prompt signal, the lighting module lights a first lamp bead;
when the fifth port is put to fortune output second cue signal, the module of lighting a lamp lightens second lamp pearl.
8. The hard disk protection circuit of claim 7, wherein the lighting module comprises: the LED lamp comprises an AND gate, a second MOS tube, a third MOS tube, a fourth MOS tube, a first lamp bead, a second lamp bead, a third resistor and a fourth resistor;
the AND gate includes: the first input end of the AND gate, the second input end of the AND gate and the output end of the AND gate; the first input end of the AND gate is connected with a logic power supply, the second input end of the AND gate is electrically connected with the grid electrode of the first MOS tube, the output end of the AND gate is electrically connected with the grid electrode of the second MOS tube, the drain electrode of the second MOS tube is connected with the logic power supply, and the source electrode of the second MOS tube is electrically connected with the drain electrode of the fourth MOS tube;
the grid and the fortune of third MOS pipe are put fifth port electric connection, the source electrode ground connection of third MOS pipe, the drain electrode of third MOS pipe and the branch road series connection back that first lamp pearl and third resistance series connection formed, with the drain electrode electric connection of fourth MOS pipe, the drain electrode of third MOS pipe still with the grid electric connection of fourth MOS pipe, the source electrode of fourth MOS pipe and the branch road series connection back ground connection that second lamp pearl and fourth resistance series connection formed.
9. A method for controlling a hard disk protection circuit, the method being applied to the hard disk protection circuit of any one of claims 1 to 8, the method comprising:
connecting an external power supply with the hard disk protection circuit, and acquiring an in-place signal of the hard disk;
when the hard disk is prompted by the on-position signal that the hard disk is not connected with the hard disk connector, the control module outputs a high level to the switch branch circuit, the switch branch circuit is conducted, the voltage comparison module obtains a branch circuit voltage signal through the switch branch circuit, compares the branch circuit voltage signal with a reference voltage, and sends out a corresponding prompt according to the numerical relationship between the branch circuit voltage signal and the reference voltage.
10. The method of claim 9, further comprising:
when the hard disk is prompted to be connected with the hard disk connector by the on-position signal of the hard disk, the control module outputs low level to the switch branch circuit and disconnects the switch branch circuit.
CN202211614613.5A 2022-12-13 2022-12-13 Hard disk protection circuit Pending CN115862696A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211614613.5A CN115862696A (en) 2022-12-13 2022-12-13 Hard disk protection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211614613.5A CN115862696A (en) 2022-12-13 2022-12-13 Hard disk protection circuit

Publications (1)

Publication Number Publication Date
CN115862696A true CN115862696A (en) 2023-03-28

Family

ID=85673220

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211614613.5A Pending CN115862696A (en) 2022-12-13 2022-12-13 Hard disk protection circuit

Country Status (1)

Country Link
CN (1) CN115862696A (en)

Similar Documents

Publication Publication Date Title
US5881251A (en) Hot swap control circuit
RU2122773C1 (en) Method for plug-and-socket connection of ic board and back panel which is connected to power supply
EP0501654B1 (en) Apparatus for connecting a load to a power supply
US5384492A (en) Protective system for insertion/extraction of PC boards in a powered-up environment
US20060200688A1 (en) Power distribution system using solid state power controllers
JPH0756618B2 (en) Electrical circuit that can be connected while power is on
DK0469255T3 (en) Method and system for suppressing electrostatic discharge noise for electronic device
CA2151683C (en) Redundant power mixing element with fault detection for dc- to-dc converter
JPH02273818A (en) Bus structure of computer with module
US6473283B1 (en) Voltage protection circuit for multi-drop bus of an automated coin vending machine
CN115862696A (en) Hard disk protection circuit
CN112129990B (en) Potential difference early warning circuit and system
US5424673A (en) LCD display precharge regulator circuit
US6266220B1 (en) Internal surge protector device
JP3304716B2 (en) Electric connector, power supply device and electronic device with precharge function
CN115113711B (en) Method, system, equipment and medium for designing IO (input/output) board serving multiple mainboards
US20050157479A1 (en) Bus device insertion and removal system
CN116316504A (en) Protection circuit, device and liquid crystal display comprising ceramic discharge tube
CN110543225A (en) power supply hot plug module
CN110765054B (en) Switching circuit of conference tablet system, conference tablet and OPS (optical fiber switch) equipment
CN209045168U (en) Storage circuit
KR102121749B1 (en) USB terminal having a protecting portion from short circuit
EP0459633A2 (en) Methods for preventing disturbance of antifuses during programming
CN115967073A (en) Current sharing path structure
WO2024108514A1 (en) Protection circuit, display device, and detection method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination