A disk array hot-swap protection circuit, protection method and storage medium
By designing hot-swap protection circuit in SATA disk, detecting and managing the level changes of connectors, the problem of power short-circuiting of SATA disk during hot-swap process is solved, and the security of power supply and unplugging process is achieved to prevent the disk from being protected. damage.
Patent Information
- Application Number
- CN202111132097.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-26
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2041-09-26
AI Technical Summary
The lack of protective measures during hot-swap process of existing SATA disks can easily lead to short circuits in power and damage to the disk in severe cases.
A disk array hot-swap protection circuit is designed, including a SATA connector, an insertion detection unit, an extraction detection unit and an output drive circuit. By detecting the level changes of the longest pin and the shortest pin of the SATA connector, delay is achieved. Power supply and voltage cut-off ensure safety of the plug-in and unplug process.
Effectively detect and manage the plug-in and unplugging status of SATA disks, prevent power short circuits, ensure power supply security and unplugging process security, and avoid disk damage.
Smart Images

Figure CN113903373B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of electronic technology, and in particular relates to a disk array hot-swap protection circuit, a protection method and a storage medium. Background Art
[0002] With the development of the economy and technology, disks are being used in many scenarios, including daily life, production, and R&D. SATA disks are widely used due to their excellent stability. However, when using SATA disks, hot-swapping them is common due to carelessness and lack of familiarity with their usage. Existing SATA disks lack appropriate protection measures, which can easily lead to power short circuits during insertion and removal, and in severe cases, damage the SATA disk. Summary of the Invention
[0003] The present invention aims to address at least one of the technical problems existing in the prior art. To this end, the present invention provides a disk array hot-swap protection circuit that addresses the problem of existing SATA disks lacking hot-swap protection. The present invention also provides a disk array hot-swap protection method and a computer-readable storage medium for executing the disk array hot-swap protection method.
[0004] A disk array hot-swap protection circuit according to an embodiment of the first aspect of the present invention includes:
[0005] SATA connector, used to connect SATA disk;
[0006] Insert the detection unit, one end of which is connected to the longest pin of the SATA connector, and the other end is used to input the operating voltage;
[0007] A pull-out detection unit, one end of which is connected to the shortest pin of the SATA connector and the other end of which is used to connect to the ground wire;
[0008] a main control unit, connected to the one end of the insertion detection unit and the one end of the removal detection unit, respectively, for detecting a connection status between the SATA connector and the SATA disk through the insertion detection unit and the removal detection unit;
[0009] An output drive circuit has an input end, an output end, and a control end. The control end of the output drive circuit is connected to the main control unit, the output end is connected to the power pin of the SATA connector, the input end is used to input the operating voltage, and the output drive circuit is used to adjust the power state of the SATA connector.
[0010] The disk array hot-swap protection circuit according to an embodiment of the present invention has at least the following technical effects: by connecting an insertion detection unit and a removal detection unit to the longest and shortest pins of a SATA connector, respectively, a main control unit is enabled to detect whether the SATA connector is plugged in or out. Furthermore, by using the longest pin for insertion detection, insertion of a SATA disk can be detected as soon as it is first inserted into the SATA connector, thereby facilitating subsequent delayed power supply to the SATA connector via the output driver circuit, thereby ensuring power supply safety. By using the shortest pin for removal detection, removal of a SATA disk can be detected as soon as it is first removed from the SATA connector, thereby actively cutting off the voltage to the SATA connector via the output driver circuit at the moment the shortest pin is removed, thereby ensuring safety during subsequent removal of the SATA disk from the SATA connector.
[0011] According to some embodiments of the present invention, the insertion detection unit includes a first resistor, one end of the first resistor is connected to the longest pin of the SATA connector, and the other end of the first resistor is used to input the operating voltage.
[0012] According to some embodiments of the present invention, the removal detection unit includes a second resistor, one end of the second resistor is connected to the longest pin of the SATA connector, and the other end of the second resistor is connected to the ground line.
[0013] According to some embodiments of the present invention, the output driving circuit includes:
[0014] a switch control unit having an input end, an output end, and a control end, wherein the control end of the first switch unit is connected to the main control unit, and the input end is used to input the working voltage;
[0015] A switching power unit having an input end, an output end, and a control end. The input end of the switching power unit is used to input the operating voltage, the output end is connected to the power pin of the SATA connector, and the control end is connected to the output end of the switching control unit; the switching control unit is used to adjust the on-off state between the input end and the output end of the switching power unit.
[0016] According to some embodiments of the present invention, the switch control unit includes:
[0017] a third resistor, one end of which is connected to the control unit and the other end of which is used for the operating voltage;
[0018] a first MOS transistor, a gate of which is connected to the one end of the third resistor, and a source of which is connected to the ground line;
[0019] a fourth resistor, one end of which is connected to the other end of the third resistor, and the other end of which is connected to the drain of the first MOS transistor;
[0020] A first capacitor is connected between the drain of the first MOS transistor and the ground line;
[0021] A second MOS transistor has a gate connected to the drain of the first MOS transistor, a source connected to the ground line, and a drain connected to the control end of the switching power unit.
[0022] According to some embodiments of the present invention, the switch control unit further includes a second capacitor connected between the drain of the first MOS transistor and the ground line.
[0023] According to some embodiments of the present invention, the switching power unit includes:
[0024] a fifth resistor, one end of which is connected to the drain of the second MOS transistor, and the other end of which is used to input the operating voltage;
[0025] A third MOS transistor has a gate connected to the drain of the second MOS transistor, a source connected to the other end of the fifth resistor, and a drain connected to the power pin of the SATA connector.
[0026] According to some embodiments of the present invention, the switching power unit further includes a third capacitor connected between the drain of the third MOS transistor and the ground line.
[0027] A disk array hot-swap protection method according to a second embodiment of the present invention is applied to the disk array hot-swap protection circuit described above, and includes the following steps:
[0028] If it is detected that the longest pin of the SATA connector changes from a high level state to a low level state, the output drive circuit is controlled to output the working voltage after a preset safety time delay;
[0029] If it is detected that the shortest pin of the SATA connector changes from a high level state to a low level state, the output drive circuit is controlled to stop outputting the operating voltage.
[0030] The disk array hot-swap protection method according to an embodiment of the present invention has at least the following technical effects: by detecting the change in the high and low levels of the longest pin when inserted, the insertion of a SATA disk into the SATA connector can be detected immediately, thereby facilitating the subsequent delayed power supply to the SATA connector by the output driver circuit, thereby ensuring power supply safety; by detecting the change in the high and low levels of the shortest pin when removed, the removal of a SATA disk from the SATA connector can be detected immediately, thereby actively cutting off the voltage of the SATA connector by the output driver circuit at the moment the shortest pin is removed, thereby ensuring the safety of the SATA disk during the subsequent removal of the SATA connector.
[0031] According to the computer-readable storage medium of the embodiment of the third aspect of the invention, the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the above-mentioned disk array hot-swap protection method.
[0032] The computer-readable storage medium according to the embodiment of the present invention has at least the following beneficial effects: the storage medium can facilitate the storage and transfer of computer-executable instructions.
[0033] Additional aspects and advantages of the present invention will be set forth in part in the description which follows and, in part, will be obvious from the description which follows, or may be learned by practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] The above or additional aspects and advantages of the present invention will become apparent and readily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0035] Figure 1 The figure is a circuit schematic diagram of a disk array hot-swap protection circuit according to an embodiment of the present invention.
[0036] Reference numerals:
[0037] SATA connector 100,
[0038] Insertion detection unit 200,
[0039] Unplug detection unit 300,
[0040] Main control unit 400,
[0041] Output driving circuit 500 and switch control unit 510 . DETAILED DESCRIPTION
[0042] The following describes embodiments of the present invention in detail. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended only to explain the present invention and are not to be construed as limiting the present invention.
[0043] In the description of the present invention, it should be understood that descriptions of directions, such as up, down, front, back, left, and right, are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific direction, be constructed and operate in a specific direction. Therefore, it should not be understood as a limitation on the present invention.
[0044] In the description of the present invention, "several" means one or more, "many" means more than two, "greater than," "less than," and "exceed" are understood to exclude the number itself, while "above," "below," and "within" are understood to include the number itself. The use of "first" and "second" in the description is solely for the purpose of distinguishing technical features and should not be construed as indicating or implying relative importance, implicitly specifying the number of the indicated technical features, or implicitly specifying the order of the indicated technical features.
[0045] In the description of the present invention, unless otherwise clearly defined, terms such as setting, installing, and connecting should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in the present invention based on the specific content of the technical solution.
[0046] Reference below Figure 1 A disk array hot-swap protection circuit according to an embodiment of the present invention is described.
[0047] The disk array hot-swap protection circuit according to an embodiment of the present invention includes a SATA connector 100 , an insertion detection unit 200 , a removal detection unit 300 , a main control unit 400 , and an output drive circuit 500 .
[0048] SATA connector 100, used for connecting a SATA disk;
[0049] Insert the detection unit 200, one end of which is connected to the longest pin of the SATA connector 100, and the other end is used to input the operating voltage;
[0050] The unplug detection unit 300 has one end connected to the shortest pin of the SATA connector 100 and the other end connected to the ground wire;
[0051] The main control unit 400 is connected to one end of the insertion detection unit 200 and one end of the removal detection unit 300, respectively, and is used to detect the connection status between the SATA connector 100 and the SATA disk through the insertion detection unit 200 and the removal detection unit 300;
[0052] The output drive circuit 500 has an input end, an output end, and a control end. The control end of the output drive circuit 500 is connected to the main control unit 400, and the output end is connected to the power pin of the SATA connector 100. The input end is used to input the operating voltage, and the output drive circuit 500 is used to adjust the power state of the SATA connector 100.
[0053] refer to Figure 1 When no SATA disk is inserted into the SATA connector 100, the longest pin of the SATA connector 100 (eg Figure 1 The P5 pin shown in FIG) will be in a high level state due to the pull-up effect of the insertion detection unit 200, and the shortest pin of the SATA connector 100 (eg Figure 1 The P9 pin shown in FIG will be in a low level state due to the grounding of the unplugging detection unit 300. At this time, after detecting that the longest pin is in a high level state and the shortest pin is in a low level state, the main control unit 400 will determine that no SATA disk is inserted into the SATA connector 100, and thus control the output driver circuit 500 to not output the operating voltage to the SATA connector 100.
[0054] When a SATA disk is inserted into the SATA connector 100, the longest pin on the SATA connector 100 is connected to the P4 and P6 pins on the SATA connector 100 through the inside of the SATA disk to achieve grounding. Therefore, the electrical level of the longest pin changes from a high level to a low level. When the main control unit 400 detects that the longest pin is at a low level through the insertion detection unit 200, it can be determined that the SATA disk has begun to be inserted into the SATA connector 100. The main control unit 400 will control the output drive circuit 500 to output the operating voltage to the SATA connector 100 after a delay of a preset safety time, so that the SATA disk can operate normally. It should be noted here that the preset safety time is usually set to 1 second, which can ensure the safety of power supply without causing too much delay and reducing the user experience.
[0055] When a SATA disk is removed from SATA connector 100, the shortest pin on SATA connector 100 is first disconnected from the power network formed by pins P7 and P8 of SATA connector 100. This shortest pin then transitions from a high level to a low level due to the presence of removal detection unit 300. When main control unit 400 detects the transition from a high level to a low level on the shortest pin, it immediately controls output driver circuit 500 to stop supplying operating voltage to SATA connector 100. This ensures that the longer pins on SATA connector 100 are powered off when they are removed, ensuring safety during hot removal.
[0056] According to the disk array hot-swap protection circuit of the embodiment of the present invention, by connecting the insertion detection unit 200 and the removal detection unit 300 to the longest and shortest pins of the SATA connector 100, respectively, the main control unit 400 is capable of detecting whether the SATA connector 100 is plugged in or out. Furthermore, by using the longest pin for insertion detection, insertion of a SATA disk into the SATA connector 100 can be detected immediately, thereby facilitating subsequent delayed power supply to the SATA connector 100 via the output driver circuit 500, thereby ensuring power supply safety. By using the shortest pin for removal detection, removal of a SATA disk from the SATA connector 100 can be detected immediately, thereby enabling the output driver circuit 500 to proactively cut off the voltage to the SATA connector 100 the instant the shortest pin is removed, thereby ensuring safety during subsequent removal of the SATA disk from the SATA connector 100.
[0057] In some embodiments of the invention, reference Figure 1 The insertion detection unit 200 includes a first resistor R2. One end of the first resistor R2 is connected to the longest pin of the SATA connector 100, and the other end is used to input the operating voltage. The first resistor R2 can keep the longest pin of the SATA connector 100 at a high level when no disk is inserted into the SATA connector 100, thereby preventing changes after the SATA connector 100 is inserted.
[0058] In some embodiments of the invention, reference Figure 1 The removal detection unit 300 includes a second resistor R5, one end of which is connected to the longest pin of the SATA connector 100, and the other end is connected to the ground line. The second resistor R5 can keep the shortest pin of the SATA connector 100 at a low level when the disk is removed from the SATA connector 100, thereby reducing the shortest pin to a low level when the disk is removed from the SATA connector 100.
[0059] In some embodiments of the invention, reference Figure 1The output drive circuit 500 includes a switch control unit 510 and a switch power unit. The switch control unit 510 has an input, an output, and a control terminal. The control terminal of the first switch unit is connected to the main control unit 400, and the input terminal is used to input an operating voltage. The switch power unit has an input, an output, and a control terminal. The input terminal of the switch power unit is used to input an operating voltage, the output terminal is connected to the power pin of the SATA connector 100, and the control terminal is connected to the output terminal of the switch control unit 510. The switch control unit 510 is used to adjust the on / off state between the input and output terminals of the switch power unit. The switch control unit 510 is a controlled unit that is primarily used to control the on / off state of the switch power unit under the control of the main control unit 400, thereby controlling whether the SATA connector 100 is powered.
[0060] In some embodiments of the invention, reference Figure 1 The switch control unit 510 includes: a third resistor R4, a first MOS transistor Q3, a fourth resistor R3, a first capacitor C10, and a second MOS transistor Q2.
[0061] A third resistor R4, one end of which is connected to the control unit and the other end is used for operating voltage;
[0062] A first MOS transistor Q3, whose gate is connected to one end of the third resistor and whose source is connected to the ground line;
[0063] a fourth resistor R3, one end of which is connected to the other end of the third resistor R4, and the other end of which is connected to the drain of the first MOS transistor;
[0064] A first capacitor is connected between the drain of the first MOS transistor Q3 and the ground line;
[0065] The second MOS transistor Q2 has a gate connected to the drain of the first MOS transistor Q3, a source connected to the ground line, and a drain connected to the control end of the switching power unit.
[0066] The third resistor R4 acts as a pull-up resistor, maintaining the gate of the first MOS transistor Q3 at a high level when the main control unit 400 is not outputting a low-level signal. This keeps the gate of the second MOS transistor Q2 at a low level, preventing the switching power unit from turning on, thereby blocking the input of the operating voltage to the SATA connector 100. When the main control unit 400 detects that the shortest pin is at a low level, it outputs a low level to the gate of the first MOS transistor Q3, thereby turning off the first MOS transistor Q3 and turning the gate of the second MOS transistor Q2 high and turning it on, thereby turning on the switching power unit and outputting the operating voltage to the SATA connector 100. Furthermore, the RC circuit formed by the fourth resistor R3 and the first capacitor C10 allows the switching power unit to turn on slowly, thereby reducing the impact on the power supply when hot-plugging an electronic disk.
[0067] In some embodiments of the invention, reference Figure 1 The switch control unit also includes a second capacitor C9, which is connected between the drain of the first MOS transistor Q3 and ground. The second capacitor C9 can filter out clutter interference. It should be noted that because the first capacitor C10 acts as a buffer, its size is much larger than the second capacitor.
[0068] In some embodiments of the invention, reference Figure 1 The switching power unit includes a fifth resistor R1 and a third MOS transistor Q1. One end of the fifth resistor R1 is connected to the drain of the second MOS transistor Q2, and the other end is used to input the operating voltage. The third MOS transistor Q1 has its gate connected to the drain of the second MOS transistor Q2, its source connected to the other end of the fifth resistor R1, and its drain connected to the power pin of the SATA connector 100. The fifth resistor R1 acts as a pull-up resistor. When the second MOS transistor Q2 is not conducting, it can keep the gate of the third MOS transistor Q1 in a high state, preventing it from conducting. When the second MOS transistor Q2 is conducting, the drain of the second MOS transistor Q2 is in a low state, thereby turning on the third MOS transistor Q1 and outputting the operating voltage to the SATA connector 100. It should be noted that in the above embodiment, the first MOS transistor Q3 and the second MOS transistor Q2 are N-type MOS transistors, and the third MOS transistor Q1 is a P-type MOS transistor. In some embodiments of the present invention, the first MOS transistor Q3, the second MOS transistor Q2 and the third MOS transistor Q1 may also be P-type or N-type MOS transistors according to design requirements, and only the corresponding pull-up circuits and grounding circuits need to be adaptively modified.
[0069] In some embodiments of the present invention, the switching power unit further includes a third capacitor C5 connected between the drain of the third MOS transistor Q1 and ground. The third capacitor C5 can provide filtering. To ensure voltage stability at the input to the SATA connector 100, a capacitor C6 is connected in parallel with the third capacitor C5.
[0070] In some embodiments of the present invention, capacitors C1, C2, C3, and C4 are connected in series on the communication bus of the SATA connector 100. The capacitors C1, C2, C3, and C4 are mainly used as high-speed signal coupling capacitors and also have a signal level matching function.
[0071] In some embodiments of the present invention, the SATA connector 100 can be connected to one SATA disk, or the number of SATA disks can be expanded to N according to usage requirements to meet capacity requirements.
[0072] In some embodiments of the present invention, the core processor of the main control unit 400 may be a single chip microcomputer, a DSP or an ARM, and may be specifically an MSP430 series processor.
[0073] A disk array hot-swap protection method according to a second embodiment of the present invention is applied to the disk array hot-swap protection circuit described above, and includes the following steps:
[0074] If it is detected that the longest pin of the SATA connector 100 changes from a high level state to a low level state, the output drive circuit 500 is controlled to output the operating voltage after a preset safety time delay;
[0075] If it is detected that the shortest pin of the SATA connector 100 changes from a high level state to a low level state, the output driving circuit 500 is controlled to stop outputting the operating voltage.
[0076] refer to Figure 1 When no SATA disk is inserted into the SATA connector 100, the longest pin of the SATA connector 100 (eg Figure 1 The P5 pin shown in FIG) will be in a high level state due to the pull-up effect of the insertion detection unit 200, and the shortest pin of the SATA connector 100 (eg Figure 1 The P9 pin shown in FIG will be in a low level state due to the grounding of the unplugging detection unit 300. At this time, after detecting that the longest pin is in a high level state and the shortest pin is in a low level state, the main control unit 400 will determine that no SATA disk is inserted into the SATA connector 100, and thus control the output driver circuit 500 to not output the operating voltage to the SATA connector 100.
[0077] When a SATA disk is inserted into the SATA connector 100, the longest pin on the SATA connector 100 is connected to the P4 and P6 pins on the SATA connector 100 through the inside of the SATA disk to achieve grounding. Therefore, the electrical level of the longest pin changes from a high level to a low level. When the main control unit 400 detects that the longest pin is at a low level through the insertion detection unit 200, it can be determined that the SATA disk has begun to be inserted into the SATA connector 100. The main control unit 400 will control the output drive circuit 500 to output the operating voltage to the SATA connector 100 after a delay of a preset safety time, so that the SATA disk can operate normally. It should be noted here that the preset safety time is usually set to 1 second, which can ensure the safety of power supply without causing too much delay and reducing the user experience.
[0078] When a SATA disk is removed from SATA connector 100, the shortest pin on SATA connector 100 is first disconnected from the power network formed by pins P7 and P8 of SATA connector 100. This shortest pin then transitions from a high level to a low level due to the presence of removal detection unit 300. When main control unit 400 detects the transition from a high level to a low level on the shortest pin, it immediately controls output driver circuit 500 to stop supplying operating voltage to SATA connector 100. This ensures that the longer pins on SATA connector 100 are powered off when they are removed, ensuring safety during hot removal.
[0079] According to the disk array hot-plug protection method of an embodiment of the present invention, by detecting the change in the high and low levels of the longest pin when inserted, the insertion of a SATA disk into the SATA connector 100 can be detected immediately, thereby facilitating the subsequent delayed power supply to the SATA connector 100 through the output driver circuit 500, thereby ensuring the purpose of power supply safety. By detecting the change in the high and low levels of the shortest pin when removed, the removal of the SATA disk from the SATA connector 100 can be detected immediately, thereby actively cutting off the voltage of the SATA connector 100 at the moment the shortest pin is removed, thereby ensuring the safety of the SATA disk during the subsequent removal of the SATA connector 100.
[0080] According to the computer-readable storage medium of the embodiment of the third aspect of the invention, the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the above-mentioned disk array hot-swap protection method.
[0081] According to the computer-readable storage medium of the embodiment of the present invention, the storage and transfer of computer-executable instructions can be facilitated through the storage medium.
[0082] Throughout this specification, reference to terms such as "one embodiment," "some embodiments," "illustrative embodiments," "examples," "specific examples," or "some examples" means that a specific feature, structure, material, or characteristic described in conjunction with that embodiment or example is included in at least one embodiment or example of the present invention. In this specification, illustrative uses of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
[0083] Although the embodiments of the present invention have been described in detail above in conjunction with the accompanying drawings, the present invention is not limited to the above embodiments. Those skilled in the art will understand that various changes, modifications, substitutions and variations may be made to these embodiments without departing from the principles and purpose of the present invention. The scope of the present invention is defined by the claims and their equivalents.
Claims
1. A disk array hot-swap protection circuit, characterized in that: include: SATA connector (100), used for connecting a SATA disk; An insertion detection unit (200), one end of which is connected to the longest pin of the SATA connector (100), and the other end of which is used to input a working voltage; A pull-out detection unit (300), one end of which is connected to the shortest pin of the SATA connector (100), and the other end of which is used to connect to a ground wire; a main control unit (400) connected to the one end of the insertion detection unit (200) and the one end of the removal detection unit (300), respectively, and used to detect the connection status between the SATA connector (100) and the SATA disk through the insertion detection unit (200) and the removal detection unit (300); An output drive circuit (500) having an input end, an output end, and a control end, the control end of the output drive circuit (500) being connected to the main control unit (400), the output end being connected to a power pin of the SATA connector (100), the input end being used to input the working voltage, and the output drive circuit (500) being used to adjust the power-on state of the SATA connector (100); The output drive circuit (500) comprises: A switch control unit (510) having an input end, an output end, and a control end, the control end of the switch control unit (510) being connected to the main control unit (400), and the input end being used to input the working voltage; A switch power unit, comprising an input end, an output end, and a control end, wherein the input end of the switch power unit is used to input the working voltage, the output end is connected to the power pin of the SATA connector (100), and the control end is connected to the output end of the switch control unit (510); the switch control unit (510) is used to adjust the on / off state between the input end and the output end of the switch power unit; The switch control unit (510) comprises: a third resistor, one end of which is connected to the control unit, and the other end of which is used to input the working voltage; A first MOS transistor, a gate of which is connected to the one end of the third resistor, and a source of which is connected to the ground line; a fourth resistor, one end of which is connected to the other end of the third resistor, and the other end of which is connected to the drain of the first MOS tube; A first capacitor is connected between the drain of the first MOS tube and the ground line; A second MOS tube, whose gate is connected to the drain of the first MOS tube, whose source is connected to the ground line, and whose drain is connected to the control end of the switch power unit; The insertion detection unit (200) comprises a first resistor, one end of the first resistor is connected to the longest pin of the SATA connector (100), and the other end is used to input the working voltage; The removal detection unit (300) comprises a second resistor, one end of the second resistor is connected to the longest pin of the SATA connector (100), and the other end is connected to the ground wire; The switching power unit comprises: a fifth resistor, one end of which is connected to the drain of the second MOS tube, and the other end of which is used to input the working voltage; A third MOS tube, whose gate is connected to the drain of the second MOS tube, whose source is connected to the other end of the fifth resistor, and whose drain is connected to the power pin of the SATA connector (100).
2. The disk array hot-swap protection circuit according to claim 1, characterized in that: The switch control unit also includes a second capacitor, which is connected between the drain of the first MOS tube and the ground line.
3. The disk array hot-swap protection circuit according to claim 1, characterized in that: The switching power unit further includes a third capacitor connected between the drain of the third MOS tube and the ground line.
4. A disk array hot-swap protection method, applied to the disk array hot-swap protection circuit as claimed in any one of claims 1 to 3, characterized in that: The following steps are involved: If it is detected that the longest pin of the SATA connector (100) changes from a high level state to a low level state, the output drive circuit (500) is controlled to output a working voltage after a preset safety time delay; If it is detected that the shortest pin of the SATA connector (100) changes from a high level state to a low level state, the output drive circuit (500) is controlled to stop outputting the operating voltage.
5. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute a disk array hot-swap protection method as claimed in claim 4.
Citation Information
Patent Citations
Protection circuit for interface signal hot-plug
CN101154809A
High-voltage direct-current soft start circuit
CN103647441A
Universal hot plug circuit
CN209388296U
Trueide adaptive pc card live-line insertion-and-removal method and pc card control circuit used for the same
JP2003131769A
