CN106708429B - Detection circuit - Google Patents

Detection circuit Download PDF

Info

Publication number
CN106708429B
CN106708429B CN201611041203.0A CN201611041203A CN106708429B CN 106708429 B CN106708429 B CN 106708429B CN 201611041203 A CN201611041203 A CN 201611041203A CN 106708429 B CN106708429 B CN 106708429B
Authority
CN
China
Prior art keywords
signal
resistor
hard disk
potential
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.)
Active
Application number
CN201611041203.0A
Other languages
Chinese (zh)
Other versions
CN106708429A (en
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.)
YINGDA TECHNOLOGY Co Ltd
Inventec Corp
Original Assignee
YINGDA TECHNOLOGY Co Ltd
Inventec Corp
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 YINGDA TECHNOLOGY Co Ltd, Inventec Corp filed Critical YINGDA TECHNOLOGY Co Ltd
Priority to CN201611041203.0A priority Critical patent/CN106708429B/en
Publication of CN106708429A publication Critical patent/CN106708429A/en
Application granted granted Critical
Publication of CN106708429B publication Critical patent/CN106708429B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
    • G06F3/0658Controller construction arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0683Plurality of storage devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F2003/0697Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers device management, e.g. handlers, drivers, I/O schedulers

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)
  • Measurement Of Current Or Voltage (AREA)

Abstract

The invention provides a detection circuit which comprises a first backboard, a mainboard and a processor. The first backboard is used for enabling the plurality of hard disks to be inserted in the first backboard in a pluggable mode, wherein each hard disk provides an input signal. The main board is electrically connected with the first back board. The main board is used for generating a group of judgment signals according to the input signals and a plurality of reference voltages. The processor is electrically connected with the mainboard, and the processor searches the preset information table according to the group of judgment signals so as to judge the hard disk type corresponding to one of the hard disks.

Description

Detection circuit
Technical Field
The present invention relates to a detection circuit, and more particularly, to a detection circuit for hard disk types. .
Background
With the coming of science and technology life, computers have become indispensable tools in life for a long time, and the market demand for computer equipment is higher and higher. One item of importance in computer equipment is the server system. Generally, to meet the market demand, the server system must have a large data processing capacity and a large storage capacity. In order to meet the market demand, a plurality of hard disks are usually required to be arranged in the server. However, the types that these hard disks may have may be different. Therefore, when a plurality of different types of hard disks are combined, it becomes a great challenge and test to distinguish the hard disk type corresponding to each hard disk.
Disclosure of Invention
The detection circuit provided by the invention can be used for searching in a preset information table through a group of judgment signals so as to judge the type of the hard disk.
According to an embodiment of the present invention, a detection circuit includes a first backplane, a motherboard, and a processor. The first backboard is used for enabling the plurality of hard disks to be inserted in the first backboard in a pluggable mode, wherein each hard disk provides an input signal. The main board is electrically connected with the first back board. The main board is used for generating a group of judgment signals according to the input signals and a plurality of reference voltages. The processor is electrically connected with the mainboard, and the processor searches the preset information table according to the group of judgment signals so as to judge the hard disk type corresponding to one of the hard disks.
The reference voltages include a first reference voltage, a second reference voltage and a third reference voltage, and the set of judgment signals include a first signal, a second signal and a third signal. The main board comprises a judgment circuit which is electrically connected with the first back board, and the judgment circuit comprises a first comparison circuit, a second comparison circuit and a third comparison circuit. The first comparison circuit is used for comparing the input signal with a first reference voltage to generate a first signal. The second comparison circuit is used for comparing the input signal with a second reference voltage to generate a second signal. The third comparison circuit is used for comparing the input signal with a third reference voltage to generate a third signal.
The processor searches a preset information table and judges the type of the hard disk corresponding to one of the hard disks according to the potential of the first signal, the potential of the second signal and the potential of the third signal.
The processor identifies one of the hard disk types from the preset information table according to the potential of the first signal, the potential of the second signal and the potential of the third signal, wherein the identified hard disk type is a hard disk type corresponding to one of the hard disks.
The processor determines that the hard disk type corresponding to one of the hard disks is the first hard disk type when the potential of the input signal is greater than the potential of the first reference voltage and less than or equal to the potential of the second reference voltage, determines that the hard disk type corresponding to one of the hard disks is the second hard disk type when the potential of the input signal is greater than the potential of the second reference voltage and less than or equal to the potential of the third reference voltage, and determines that the hard disk type corresponding to one of the hard disks is the third hard disk type when the potential of the input signal is greater than the potential of the third reference voltage.
The processor determines the potential of the third signal, further determines the potential of the second signal if the processor determines that the potential of the third signal is a low potential, and further determines the potential of the first signal if the processor determines that the potentials of the second signal and the third signal are both low potentials, so as to determine the type of the hard disk corresponding to one of the hard disks.
When the processor judges that the electric potential of the second signal is a high electric potential, the processor further judges the electric potential of the third signal, and when the processor judges that the electric potential of the second signal is a low electric potential, the processor further judges the electric potential of the first signal for judging the hard disk type corresponding to one of the hard disks.
The first comparison circuit comprises a first comparator, a first resistor, a second resistor, a third resistor, a first capacitor and a second capacitor. The first comparator has a first input terminal, a second input terminal and a first output terminal, wherein the first input terminal receives an input signal. The first resistor has a first end and a second end, the first end of the first resistor is electrically connected to the second input end, and the second end of the first resistor receives the standby voltage. The second resistor has a first end and a second end, the first end of the second resistor is electrically connected to the second input end, and the second end of the second resistor receives the ground voltage. The third resistor has a first end and a second end, the first end of the third resistor is electrically connected to the first input end, and the second end of the third resistor is electrically connected to the first output end. The first capacitor has a first end and a second end, the first end of the first capacitor receives the first working voltage, and the second end of the first capacitor receives the ground voltage. The second capacitor has a first end and a second end, the first end of the second capacitor is electrically connected to the second input end, and the second end of the second capacitor receives the ground voltage.
The second comparison circuit and the third comparison circuit respectively comprise a second comparator, a fourth resistor, a fifth resistor, a sixth resistor, a third capacitor and a fourth capacitor. The second comparator has a first input terminal, a second input terminal and a first output terminal, and the first input terminal receives an input signal. The fourth resistor has a first end and a second end, the first end of the fourth resistor is electrically connected to the second input end, and the second end of the fourth resistor receives the standby voltage. The fifth resistor has a first end and a second end, the first end of the fifth resistor is electrically connected to the second input end, and the second end of the fifth resistor receives a ground voltage. The sixth resistor has a first end and a second end, the first end of the sixth resistor is electrically connected to the first input end, and the second end of the sixth resistor is electrically connected to the first output end. The third capacitor has a first end and a second end, the first end of the third capacitor is electrically connected to the first output end, and the second end of the third capacitor receives a ground voltage. The fourth capacitor has a first end and a second end, the first end of the fourth capacitor is electrically connected to the second input end, and the second end of the fourth capacitor receives the ground voltage.
The mainboard comprises a pull-up resistor, a first end and a second end, wherein the first end of the pull-up resistor receives the standby voltage, the second end of the pull-up resistor is electrically connected with the first backboard and the judgment circuit, and the resistance value of the pull-up resistor is substantially 5.1 kilo ohms.
In summary, in the operation of the detection circuit provided by the present invention, a set of determination signals is generated according to the input signal and the reference signal provided by the hard disk, and the set of determination signals and the predetermined information table are used to determine the type of the hard disk corresponding to the hard disk.
The foregoing description of the present disclosure and the following detailed description are presented to illustrate and explain the principles and spirit of the invention and to provide further explanation of the invention as claimed.
Drawings
Fig. 1 is a functional block diagram of a detection circuit according to an embodiment of the invention.
Fig. 2 is a circuit architecture diagram of a determining circuit according to an embodiment of the invention.
Fig. 3 is a circuit architecture diagram of a first hard disk according to an embodiment of the invention.
Fig. 4 is a circuit architecture diagram of a second hard disk according to an embodiment of the invention.
Fig. 5 is a circuit architecture diagram of a third hard disk according to an embodiment of the invention.
Description of the symbols:
1: detection circuit
10: first backboard
12: main board
14: processor with a memory having a plurality of memory cells
102: first hard disk
104: second hard disk
106: third hard disk
120: judgment circuit
1201: first comparison circuit
1203: second comparator circuit
1205: third comparator circuit
Vin: input signal
Vdet: judging signal
Va: first signal
Vb: second signal
Vc: third signal
Vf 1: a first reference voltage
Vf 2: second reference voltage
Vf 3: third reference voltage
VST: standby voltage
GND: ground voltage
RP: pull-up resistor
R1-R9: resistance (RC)
R10, R11, R12: pull-up resistor
C1-C6: capacitor with a capacitor element
Detailed Description
The detailed features and advantages of the present invention are described in detail in the following embodiments, which are sufficient for anyone skilled in the art to understand the technical content of the present invention and to implement the present invention, and the related objects and advantages of the present invention can be easily understood by anyone skilled in the art according to the disclosure, claims and drawings of the present specification. The following examples further illustrate aspects of the present invention in detail, but are not intended to limit the scope of the present invention in any way.
Referring to fig. 1, fig. 1 is a functional block diagram of a detection circuit according to an embodiment of the invention. As shown in fig. 1, the detection circuit 1 includes a first backplane 10, a main board 12 and a processor 14. The first backplane 10 is used for the first hard disk 102, the second hard disk 104 and the third hard disk 106 to be inserted into and removed from the first backplane 10. The first hard disk 102, the second hard disk 104 and the third hard disk 106 respectively provide an input signal Vin. In this embodiment, the first hard disk 102, the second hard disk 104 and the third hard disk 106 are different types of hard disks. The main board 12 is electrically connected to the first backplane 10 and receives an input signal Vin. The main board 12 generates a set of determination signals Vdet according to the input signal Vin and a plurality of reference signals. The processor 14 is electrically connected to the motherboard 12, and searches a preset information table according to the set of determination signals Vdet, so as to determine a hard disk type of one of the first hard disk 102, the second hard disk 104, and the third hard disk 106.
In one embodiment, as shown in fig. 1, the main board 12 includes a determining circuit 120 electrically connected to the first backplane 10. The plurality of reference voltages include a first reference voltage Vf1, a second reference voltage Vf2 and a third reference voltage Vf 3. The determining circuit 120 includes a first comparing circuit 1201, a second comparing circuit 1203 and a third comparing circuit 1205. The first comparing circuit 1201 is used for comparing the input signal Vin with a first reference voltage Vf1 to generate a first signal Va. The second comparing circuit 1203 is used for comparing the input signal Vin with the second reference voltage Vf2 to generate a second signal Vb. The third comparing circuit 1205 is used for comparing the input signal Vin with a third reference voltage Vf3 to generate a third signal Vf 3. In practice, the comparator circuit is a common comparator, and can compare an input voltage with a reference voltage and generate a high-level or low-level signal according to the comparison result for use in subsequent circuits.
In an embodiment, the third reference voltage Vf3 is greater than the second reference voltage Vf2, the second reference voltage Vf2 is greater than the first reference voltage Vf1, and the processor 14 searches the preset information table and determines the type of the hard disk corresponding to one of the hard disks according to the potential of the first signal Va, the potential of the second signal Vb, and the potential of the third signal Vc. In one embodiment, the first voltage Vf1 is 0.5V, the second voltage Vf2 is 1.5V, and the third voltage Vf3 is 2.5V.
Please refer to table one, which is a preset information table according to an embodiment of the present invention. As shown in table one, when the potential of the input signal Vin is less than the first reference voltage Vf1 and less than or equal to the second reference voltage Vf2, the processor 14 determines that the hard disk type is the first hard disk type. When the potential of the input signal Vin is greater than the first reference voltage Vf1 and less than or equal to the second reference voltage Vf2, the processor 14 determines that the hard disk type corresponding to the hard disk providing the input signal Vin is the first hard disk type. When the potential of the input signal Vin is greater than the second reference voltage Vf2 and less than or equal to the potential of the third reference voltage Vf3, the processor 14 determines that the hard disk type corresponding to the hard disk providing the input signal Vin is the second hard disk type. When the potential of the input signal Vin is greater than the third reference voltage Vf3, the processor 14 determines that the hard disk type corresponding to the hard disk providing the input signal Vin is the third hard disk type. It is noted that the potential of the input signal Vin shown in table one is only for illustration, and the invention is not limited thereto.
Watch 1
In one embodiment, the processor 14 determines the hard disk type by determining the levels of the first signal Va, the second signal Vb and the third signal Vc and looking up the levels in a predetermined information table. For example, in one embodiment, the processor 14 first determines the level of the third signal Vc, and if the processor 14 determines that the level of the third signal Vc is low, the processor 14 further determines the level of the second signal Vb. If the processor 14 determines that the potentials of the second signal Vb and the third signal Vc are both low, the processor further determines the potential of the first signal Va for determining the type of the hard disk corresponding to one of the hard disks. The low and high potentials of the present invention are represented by 0 and 1, respectively. For a specific example, it is assumed that the first hard disk 102 provides the input signal Vin to the determining circuit 120, and the first comparing circuit 1201, the second comparing circuit 1203 and the third comparing circuit 1205 respectively output the first signal Va, the second signal Vb and the third signal Vc to the processor 14.
First, the processor 14 determines the potential of the third signal Vc, and if the potential of the third signal Vc is low (i.e., 0), the processor 14 further determines the potential of the second signal Vb. If the potential of the second signal Vb is also low (i.e. 0), the processor 14 further determines the potential of the first signal Va. Assuming that the first signal Va is at a high potential (i.e. 1) in this example, the processor 14 can obtain the potentials of the first signal Va, the second signal Vb and the third signal Vc as 1, 0 and 0, respectively. In this way, the processor 14 can find the first hard disk type in the first table, thereby determining that the first hard disk 102 corresponds to the first hard disk type.
In the above example, the processor 14 starts the determination from the potential of the third signal Vc. In another embodiment, the processor 14 starts to determine from the potential of the second signal Vb. When the processor 14 determines that the potential of the second signal Vb is high, the processor 14 further determines the potential of the third signal Vc. When the processor 14 determines that the potential of the second signal Vb is low, the processor 14 further determines the potential of the first signal Va to determine the type of the hard disk corresponding to one of the hard disks. For practical example, it is assumed that the second hard disk 104 provides the input signal Vin to the determining circuit 120 to generate the corresponding first signal Va, second signal Vb and third signal Vc. The processor 14 first determines the potential of the second signal Vb. Assuming that the potential of the second signal Vb is a high potential, the processor 14 further determines the potential of the third signal Vc at this time. If the potential of the third signal Vc is low, the processor 14 can find out in the table one that the second hard disk 104 corresponds to the second hard disk type. It is noted that, in the embodiment of table one, when the first signal Va, the second signal Vb and the third signal Vc are all low, the corresponding hard disk type cannot be found.
Referring to fig. 2, fig. 2 is a circuit architecture diagram of a determining circuit according to an embodiment of the invention. In this embodiment, as shown in fig. 2, the first comparison circuit 1201 includes a comparator OP1, resistors R1-R3, and capacitors C1-C2. The comparator OP1 has a first input terminal, a second input terminal and a first output terminal. The first input terminal receives an input signal Vin. The resistor R1 has a first end electrically connected to the second input end of the comparator OP1 and a second end receiving the standby voltage VST. The second resistor R2 has a first end electrically connected to the second input terminal of the comparator OP1 and a second end receiving the ground voltage GND. The resistor R3 has a first end electrically connected to the first input end of the comparator OP1 and a second end electrically connected to the first output end of the comparator OP 1. The capacitor C1 has a first terminal receiving the operating voltage VD and a second terminal receiving the ground voltage GND. The capacitor C2 has a first end and a second end, the first end is electrically connected to the second input end of the comparator OP1, and the second end receives the ground voltage GND.
Specifically, in this embodiment, the first comparing circuit 1201 receives an input signal Vin from the hard disk from a first input terminal, and compares the first reference voltage Vf1 with the input signal Vin to generate a corresponding first signal Va. In one example, the resistance value of the resistor R1 is 5.62 kohms. The resistance value of the resistor R2 is 1 kilo-ohm. The resistance of the resistor R3 was 10 megohms. The capacitance values of the capacitor C1 and the capacitor C2 are both 0.1 microfarad. In this example, the first comparing circuit 1201 includes a resistor R10 having a first end receiving the standby voltage VST and a second end electrically connected to the first output end of the comparator OP 1. In this example, the resistor R10 is 4.7 kohms. The resistance and capacitance values in the above embodiments are only examples, and the invention is not limited thereto.
In one embodiment, as shown in fig. 2, the second comparing circuit 1203 includes a comparator OP2, resistors R4-R6, and capacitors C3-C4. The comparator OP2 has a first input terminal, a second input terminal and a first output terminal, wherein the first input terminal receives the input signal Vin. The resistor R4 has a first end electrically connected to the second input end and a second end receiving the standby voltage VST. The resistor R5 has a first end and a second end, the first end is electrically connected to the second input end of the comparator OP2, and the second end receives the ground voltage GND. The resistor R6 has a first end electrically connected to the first input end of the comparator OP2 and a second end electrically connected to the first output end of the comparator OP 2. The capacitor C3 has a first end electrically connected to the first output end of the comparator OP2 and a second end receiving the ground voltage GND. The capacitor C4 has a first end electrically connected to the second input end and a second end receiving the ground voltage GND.
Specifically, the second comparing circuit 1203 receives the input signal Vin from the hard disk from the first input terminal, and compares the second reference voltage Vf2 with the input signal Vin to generate a corresponding second signal Vb. In one example, the resistor R4 has a resistance of 1.21 kilo-ohms, the resistor R5 has a resistance of 1 kilo-ohms, and the resistor R6 has a resistance of 10 mega-ohms. The capacitance values of the capacitor C3 and the capacitor C4 are both 0.1 microfarad. In this embodiment, the third comparator 1205 includes a comparator OP3, resistors R7-R9, and capacitors C5-C6. As can be seen from fig. 2, the circuit structure of the third comparing circuit 1205 is the same as that of the second comparing circuit 1203, and therefore, the description thereof is omitted. Specifically, the third comparing circuit 1205 receives the input signal Vin from the hard disk from the first input terminal, and compares the third reference voltage Vf3 with the input signal Vin to generate the corresponding third signal Vc. In one example, the resistor R7 has a resistance of 374 ohms, the resistor R8 has a resistance of 1 kilo-ohm, and the resistor R9 has a resistance of 10 mega-ohms. The capacitance values of the capacitor C5 and the capacitor C6 are both 0.1 microfarad. In this embodiment, as shown in fig. 2, the second comparing circuit 1203 includes a resistor R11 having a first end receiving the standby voltage VST and a second end electrically connected to the first output end of the comparator OP 2. In this embodiment, the resistance value of the resistor R11 is 4.7 kohm. The third comparator 1205 includes a resistor R12 having a first end receiving the standby voltage VST and a second end electrically connected to the first output end of the comparator OP 3. In this embodiment, the resistance value of the resistor R12 is 4.7 kohm. The resistance and capacitance values in the above embodiments are only examples, and the invention is not limited thereto.
In an embodiment, as shown in fig. 2, in the determination circuit 120, the pull-up resistor RP has a first end and a second end, the first end of the pull-up resistor RP receives the standby voltage VST, and the second end of the pull-up resistor RP is electrically connected to the first backplane 10 and the determination circuit 120. In one example, the pull-up resistor RP is disposed on the motherboard 14, and the pull-up resistor RP is electrically connected to the first hard disk 102, the second hard disk 104 and the third hard disk 106 of the first backplane 10 for outputting an appropriate input signal Vin to the determining circuit 120, so as to generate a set of corresponding determining signals for searching the hard disk type. In one embodiment, the pull-up resistor has a resistance of substantially 5.1 kilo-ohms. However, the resistance values in the above embodiments are only for illustration, and the invention is not limited thereto.
Referring to fig. 3, fig. 3 is a circuit architecture diagram of a first hard disk according to an embodiment of the invention. As shown in FIG. 3, the first hard disk 102 has resistors R13-R15, a transistor T1 and a transistor T2. The resistor R13 has a first terminal receiving the operating voltage VD and a second terminal electrically connected to the first terminal of the transistor T1. The resistor R15 has a first end receiving the operating voltage VD and a second end electrically connected to the main control end of the transistor T1. The main control terminal of the transistor T2 is electrically connected to the second terminal of the resistor R15, and the first terminal of the transistor T2 is electrically connected to the first terminal of the resistor R14 and the second terminal of the transistor T1. The second terminal of the resistor R14 receives the ground voltage GND. In this embodiment, the resistance value of the resistor R13 is 2.61 kohm. The resistance value of the resistor R14 is 2 kilo-ohms. The resistance value of the resistor R15 is 100 ohms. Referring to fig. 4, fig. 4 is a circuit architecture diagram of a second hard disk according to an embodiment of the invention. As shown in FIG. 4, the second hard disk 104 has resistors R16-R18, and transistors T3 and T4. The circuit architecture of the second hard disk 104 in fig. 4 is similar to the circuit architecture of the first hard disk 102 in fig. 3, and thus, the description thereof is omitted. The difference between them is the magnitude of the resistance. In this embodiment, the resistors R16 and R17 both have a resistance of 1 kilo-ohm, and the resistor R18 has a resistance of 100 ohms.
Referring to fig. 5, fig. 5 is a circuit architecture diagram of a third hard disk according to an embodiment of the invention. As shown in FIG. 5, the third hard disk 106 has resistors R19-R20, a transistor T5 and a transistor T6. The resistor R20 has a first terminal receiving the operating voltage VD and a second terminal electrically connected to the main control terminal of the transistor T5 and the main control terminal of the transistor T6. The resistor R19 has a first terminal electrically connected to the first terminal of the transistor T5, and a second terminal receiving the ground voltage GND. The second terminal of the transistor T5 is electrically connected to the first terminal of the transistor T6. In this embodiment, the resistances of the resistors R19 and R20 are 2 kilo-ohms and 100 ohms, respectively. The resistance values in the above embodiments are only for illustration, and the invention is not limited thereto.
In summary, the detection circuit provided by the present invention enables the judgment circuit to generate the first signal, the second signal and the third signal through the input signal and the three reference voltages, and finds out the corresponding hard disk type in the preset information table according to the level of the electric potential, so that when different types of hard disks are assembled in a mixed manner, the hard disk type of the hard disk can be distinguished, and the data can be loaded correctly.
Although the present invention has been described with reference to the above embodiments, it is not intended to limit the invention. All changes and modifications that come within the spirit and scope of the invention are desired to be protected by the following claims. For the protection defined by the present invention, reference should be made to the appended claims.

Claims (8)

1. A detection circuit, comprising:
the first backboard is used for enabling a plurality of hard disks to be inserted in the first backboard in a pluggable manner, wherein each hard disk provides an input signal;
the main board is electrically connected with the first back board and used for generating a group of judgment signals according to the input signals and a plurality of reference voltages; and
the processor is electrically connected with the mainboard and searches a preset information table according to the group of judgment signals so as to judge a hard disk type corresponding to one of the hard disks;
the reference voltages include a first reference voltage, a second reference voltage and a third reference voltage, the set of judgment signals include a first signal, a second signal and a third signal, the main board includes a judgment circuit electrically connected to the first backplane, and the judgment circuit includes:
a first comparison circuit for comparing the input signal with the first reference voltage to generate the first signal;
a second comparator circuit for comparing the input signal with the second reference voltage to generate the second signal; and
a third comparator circuit for comparing the input signal with the third reference voltage to generate the third signal;
the processor searches the preset information table and judges the type of the hard disk corresponding to one of the hard disks according to the potential of the first signal, the potential of the second signal and the potential of the third signal.
2. The detection circuit of claim 1, wherein the predetermined information table comprises a plurality of hard disk types, and the processor identifies one of the hard disk types from the predetermined information table according to the potential of the first signal, the potential of the second signal and the potential of the third signal, wherein the identified hard disk type is the hard disk type corresponding to the one of the hard disks.
3. The detection circuit of claim 2, wherein the hard disk types comprise a first hard disk type, a second hard disk type and a third hard disk type, when the potential of the input signal is greater than the potential of the first reference voltage and less than or equal to the potential of the second reference voltage, the processor determines that the hard disk type corresponding to one of the hard disks is the first hard disk type, when the potential of the input signal is greater than the second reference voltage and less than or equal to the potential of the third reference voltage, the processor determines that the hard disk type corresponding to one of the hard disks is the second hard disk type, when the potential of the input signal is greater than the potential of the third reference voltage, the processor determines that the hard disk type corresponding to one of the hard disks is the third hard disk type.
4. The detection circuit as claimed in claim 1, wherein the processor determines the potential of the third signal, if the processor determines that the potential of the third signal is low, the processor further determines the potential of the second signal, and if the processor determines that the potentials of the second signal and the third signal are both low, the processor further determines the potential of the first signal for determining the type of the hard disk corresponding to one of the hard disks.
5. The detection circuit as claimed in claim 1, wherein the processor further determines the potential of the third signal when the processor determines that the potential of the second signal is high, and further determines the potential of the first signal when the processor determines that the potential of the second signal is low, for determining the type of the hard disk corresponding to one of the hard disks.
6. A detection circuit as claimed in claim 1 wherein said first comparison circuit comprises:
a first comparator having a first input terminal, a second input terminal and a first output terminal, the first input terminal receiving the input signal;
the first end of the first resistor is electrically connected with the second input end, and the second end of the first resistor receives a standby voltage;
the second resistor is provided with a first end and a second end, the first end of the second resistor is electrically connected with the second input end, and the second end of the second resistor receives a grounding voltage;
a third resistor having a first end and a second end, the first end of the third resistor being electrically connected to the first input end, the second end of the third resistor being electrically connected to the first output end;
the first capacitor is provided with a first end and a second end, the first end of the first capacitor receives a first working voltage, and the second end of the first capacitor receives the grounding voltage; and
the second capacitor is provided with a first end and a second end, the first end of the second capacitor is electrically connected with the second input end, and the second end of the second capacitor receives the grounding voltage.
7. A detection circuit as claimed in claim 1 wherein said second comparison circuit and said third comparison circuit respectively comprise:
a second comparator having a first input terminal, a second input terminal and a first output terminal, the first input terminal receiving the input signal;
a fourth resistor having a first end and a second end, the first end of the fourth resistor being electrically connected to the second input end, the second end of the fourth resistor receiving a standby voltage;
a fifth resistor having a first end and a second end, the first end of the fifth resistor being electrically connected to the second input end, the second end of the fifth resistor receiving a ground voltage;
a sixth resistor having a first end and a second end, the first end of the sixth resistor being electrically connected to the first input end, the second end of the sixth resistor being electrically connected to the first output end;
the first end of the third capacitor is electrically connected with the first output end, and the second end of the third capacitor receives the grounding voltage; and
and the fourth capacitor is provided with a first end and a second end, the first end of the fourth capacitor is electrically connected with the second input end, and the second end of the fourth capacitor receives the grounding voltage.
8. The detection circuit of claim 1, wherein the main board comprises a pull-up resistor having a first end and a second end, the first end of the pull-up resistor receives a standby voltage, the second end of the pull-up resistor is electrically connected to the first backplane and the determination circuit, and the resistance of the pull-up resistor is 5.1 kohm.
CN201611041203.0A 2016-11-24 2016-11-24 Detection circuit Active CN106708429B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611041203.0A CN106708429B (en) 2016-11-24 2016-11-24 Detection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611041203.0A CN106708429B (en) 2016-11-24 2016-11-24 Detection circuit

Publications (2)

Publication Number Publication Date
CN106708429A CN106708429A (en) 2017-05-24
CN106708429B true CN106708429B (en) 2019-12-24

Family

ID=58933761

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611041203.0A Active CN106708429B (en) 2016-11-24 2016-11-24 Detection circuit

Country Status (1)

Country Link
CN (1) CN106708429B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110196678B (en) * 2018-02-23 2022-09-30 环达电脑(上海)有限公司 Data storage determining device
CN109147861B (en) * 2018-08-13 2021-06-11 郑州云海信息技术有限公司 Hard disk in-place detection device and method
CN109658977B (en) * 2018-12-26 2021-10-01 郑州云海信息技术有限公司 Hard disk detection device and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6366550B1 (en) * 1999-02-26 2002-04-02 Pioneer Corporation Disc changer
CN101196865A (en) * 2006-12-04 2008-06-11 英业达股份有限公司 Hard disk type detecting circuit
CN101398749A (en) * 2008-11-13 2009-04-01 成都市华为赛门铁克科技有限公司 Static state attrition balancing method, device and system
CN104516802A (en) * 2015-01-08 2015-04-15 浪潮(北京)电子信息产业有限公司 Method and system for indicating statuses of different types of hard disks

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7539784B2 (en) * 2007-02-08 2009-05-26 Inventec Corporation Hard disk type detecting circuit and hard disk connecting port having the hard disk type detecting circuit

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6366550B1 (en) * 1999-02-26 2002-04-02 Pioneer Corporation Disc changer
CN101196865A (en) * 2006-12-04 2008-06-11 英业达股份有限公司 Hard disk type detecting circuit
CN101398749A (en) * 2008-11-13 2009-04-01 成都市华为赛门铁克科技有限公司 Static state attrition balancing method, device and system
CN104516802A (en) * 2015-01-08 2015-04-15 浪潮(北京)电子信息产业有限公司 Method and system for indicating statuses of different types of hard disks

Also Published As

Publication number Publication date
CN106708429A (en) 2017-05-24

Similar Documents

Publication Publication Date Title
US10719402B2 (en) Power-loss protection
CN106708429B (en) Detection circuit
US8200852B2 (en) Multi-mode dongle for peripheral devices and associated methods
KR102356707B1 (en) Electronic device and method for detecting foreign object on connector
US8582388B1 (en) Serial advanced technology attachment dual in-line memory module (SATA DIMM) capable of preventing data loss
US5898844A (en) Data processing system including a hot-plug circuit for receiving high-power adaptor cards
US10534416B2 (en) Storage system and control method
US8935451B2 (en) Network card detecting circuit
US7996175B2 (en) PCI load card
US20130127447A1 (en) Electrical parameter detection device for peripheral component interconnect devices
TWI606346B (en) Detecting circuit
CN105183596A (en) Electronic device
US20080019357A1 (en) Apparatus and Method for Determining Device Presence and Type
US10785874B2 (en) Detecting card edge connector configuration states
US8291127B2 (en) Circuit for controlling peripheral device interface
CN108984447B (en) Control method of electronic equipment and electronic equipment
US7307456B2 (en) Automatic status assignment logic circuit apparatus for bay devices
CN215956040U (en) Display screen power supply system and display equipment
CN109739158B (en) Power supply control circuit of M.2 connector
CN111611191B (en) Peripheral element supporting universal serial bus C-type specification and manufacturing method thereof
US10146724B2 (en) Power adapter with switchable output voltage control
KR101609928B1 (en) Cassete detecting device
US8406067B2 (en) Semiconductor memory device
JP2017162021A (en) Terminal device
WO2017026997A1 (en) Processing device operation enablement

Legal Events

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