IP Library Granted Patent US 12,002,494
Granted Patent B2
US 12,002,494 · App. 17/534,713 · Granted Jun 4, 2024

Method and device for detecting hard disk connection and disconnection during a computer session

Inventor: Hong-Shuang Wu (Tianjin, CN)
Assignee: Fulian Precision Electronics (Tianjin) Co., LTD.
G11B33/128G06F13/4081G11B33/027G11B2220/2516
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,002,494
App. No.
17/534,713
Granted
Jun 4, 2024
Kind
B2
Abstract

A device to detect hot-plugging and hot-unplugging of hard disk and the hard disk type includes a connector and a control circuit. When hot-plugged, the hard disk is coupled to the connector, the control circuit comprises delay circuit and latch circuit. The delay circuit delays a falling edge of the third signal and outputs a delay signal, the latch circuit processes the first and second signals and outputs a logical result as a latch signal. The control circuit determines the connected or disconnected status and type of the hard disk according to the respective levels of the first and second signals, the delay signal, and the latch signal. The delay signal and the latch signal work to correct error of the control circuit in determining connectivity and non-connectivity during a session due to asynchronous changes in signal levels of the first and second signals.

Claims (41)

1. A hard disk detecting device comprising:

a connector electrically coupled to the hard disk; and;

a control circuit electrically coupled to the connector; wherein:

when a first type of the hard disk is connected to the connector, the connector outputs a first signal at low-level, a second signal at the low-level and, a third signal at the low-level,

when a second type of the hard disk is connected to the connector, the connector outputs the first signal at the low-level, the second signal at high-level, and the third signal at the low-level,

when no hard disk is connected to the connector, the connector outputs the first signal at the high-level, the second signal at the high-level, and the third signal at the high-level,

the first signal, the second signal and the third signal are used to represent position status and type of the hard disk,

the control circuit comprises a delay circuit and a latch circuit, the delay circuit is used to delay a falling edge of the third signal and outputs a delay signal, and the latch circuit is used to perform latch logic operation on the first signal and the second signal, and outputs an operation result as a latch signal,

the control circuit is used to determine the position status and the type of the hard disk according to the level states of the first signal, the second signal, the delay signal, and the latch signal, and

the delay signal and the latch signal are used to correct error of the control circuit in determining the position status and the type of the hard disk due to asynchronous change of the first signal and the second signal.

2. The hard disk detecting device of claim 1 , wherein if the level state of the first signal is the same as the level state of the second signal, the level state of the latch signal is the same as the level state of the first signal.

3. The hard disk detecting device of claim 1 , wherein if the level state of the first signal is different from the level state of the second signal, the level state of the latch signal remains unchanged.

4. The hard disk detecting device of claim 1 , wherein:

the control circuit determines the first type of the hard disk according to the first signal at the low-level and the second signal at the low-level; and

the control circuit determines the second type of the hard disk according to the first signal at the low-level, the second signal at the high-level, the delay signal at the low-level and the latch signal at the high-level.

5. The hard disk detecting device of claim 4 , wherein if the control circuit determines the first type of the hard disk is in position status, the control circuit outputs a first position signal at the high-level.

6. The hard disk detecting device of claim 5 , wherein if the control circuit determines the second type of the hard disk is in position status, the control circuit outputs a second position signal at the high-level.

7. The hard disk detecting device of claim 4 , wherein:

the connector is used to output a fourth signal;

when a third type of the hard disk is connected to the connector, the connector outputs a fourth signal at the low level; and

when a fourth type of the hard disk is connected to the connector, the connector outputs the fourth signal at the high-level.

8. The hard disk detecting device of claim 7 , wherein the control circuit is used to determine the position status and the third type of the hard disk or the fourth type of the hard disk according to the level state of the first signal, the second signal, and the fourth signal.

9. A hard disk detecting method comprising:

outputting from a connector a first signal at low-level, a second signal at the low-level and, a third signal at the low-level when a first type of the hard disk is connected to the connector;

outputting from the connector the first signal at the low-level, the second signal at high-level, and the third signal at the low-level when a second type of the hard disk is connected to the connector;

outputting from the connector the first signal at the high-level, the second signal at the high-level, and the third signal at the high-level when no hard disk is connected to the connector, wherein the first signal, the second signal and the third signal are used to represent position status and type of the hard disk;

delaying by a control circuit a falling edge of the third signal and outputting a delay signal, and performing latch logic operation on the first signal and the second signal, and outputting an operation result as a latch signal; and

determining by the control circuit the position status and the type of the hard disk according to level states of the first signal, the second signal, the delay signal, and the latch signal, wherein the delay signal and the latch signal are used to correct error of the control circuit in determining the position status and the type of the hard disk due to asynchronous change of the first signal and the second signal.

10. The hard disk detecting method of claim 9 , wherein if the level state of the first signal is the same as the level state of the second signal, the level state of the latch signal is the same as the level state of the first signal.

11. The hard disk detecting method of claim 9 , wherein if the level state of the first signal is different from the level state of the second signal, the level state of the latch signal remains unchanged.

12. The hard disk detecting method of claim 9 , further comprising:

determining the first type of the hard disk according to the first signal at the low-level and the second signal at the low-level; and

determining the second type of the hard disk according to the first signal at the low-level, the second signal at the high-level, the delay signal at the low-level, and the latch signal at the high-level.

13. The hard disk detecting method of claim 12 , further comprising:

outputting a first position signal at the high-level if the control circuit determines the first type of the hard disk is in position status.

14. The hard disk detecting method of claim 13 , further comprising:

outputting a second position signal at the high-level if the control circuit determines the second type of the hard disk is in position status.

15. The hard disk detecting method of claim 14 , wherein when a third type of the hard disk is connected to the connector, the connector outputs a fourth signal at the low level.

16. The hard disk detecting method of claim 15 , wherein when a fourth type of the hard disk is connected to the connector, the connector outputs the fourth signal at the high-level.

17. The hard disk detecting method of claim 16 , further comprising:

determining the position status and the third type of the hard disk or the fourth type of the hard disk according to the level state of the first signal, the second signal, and the fourth signal.

Assignments (2)
CHANGE OF NAME Recorded Mar 10, 2022
From: HONGFUJIN PRECISION ELECTRONICS(TIANJIN)CO.,LTD.
To: FULIAN PRECISION ELECTRONICS (TIANJIN) CO., LTD.
Reel/Frame 059620/0142 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 24, 2021
From: WU, HONG-SHUANG
To: HONGFUJIN PRECISION ELECTRONICS(TIANJIN)CO.,LTD.
Reel/Frame 058238/0890 →
Priority Claims (1)
CN 202110902398.8 · Aug 6, 2021 · national
Continuity (1)
Related Publication 20230050294A1 · Feb 16, 2023