The present invention relates to a detecting device, and more particularly to a detecting device for detecting the connecting status between a SATA jack and an external device.
Conventionally, an ATA (Advanced Technology Attachment) interface is used for data transmission between a storage device (e.g. a hard disk or an optic disk drives) and a motherboard. Since the ATA interface transfers data in a parallel mode, the ATA interface is also referred as a PATA interface. Recently, a SATA (Serial Advanced Technology Attachment) interface has gradually replaced the PATA interface to transfer data between the motherboard and the storage device.
In addition, there are seven electrical wires in the insertion slot of the SATA jack 100. The first, fourth and seventh electrical wires are relatively longer and defined as ground wires. The second and third electrical wires, which are arranged between the first and fourth electrical wires, are defined as transmitting wires (Tx). The fifth and sixth electrical wires, which are arranged between the fourth and seventh electrical wires, are defined as receiving wires (Rx). Similarly, the SATA plug 120 has seven electrical wires mating with the seven electrical wires of the SATA jack 100. When the SATA plug 120 is inserted into an insertion slot of the SATA jack 100, the seven pairs of electrical wires are contacted and electrically connected with each other. Furthermore, the SATA plug 120 has two electromagnetic shielding metals 124 and 126. The two transmitting wires (Tx) are enclosed by the electromagnetic shielding metal 124. The two receiving wires (Rx) are enclosed by the electromagnetic shielding metal 126. These two electromagnetic shielding metals 124 and 126 are connected to the first, fourth and seventh electrical wires (i.e. the ground wires). By means of the two electromagnetic shielding metals 124 and 126, the adverse influence resulting from electro-magnetic interference (EMI) is avoided and thus the speed of transmitting and receiving data is enhanced.
As previously described, the current SATA interface standard defines four signal wires (i.e. two transmitting wires (Tx) and two receiving wires (Rx)) and three ground wires. Except for these seven electrical wires, no additional electrical wire is available. Since no detecting pin is defined by the SATA interface standard, the computer system fails to detect whether the storage device 140 has been installed in the computer system even if the SATA plug 120 of the storage device 140 is inserted into an insertion slot of the SATA jack 100 mounted on the motherboard 150.
Generally, the computer system may realize whether the storage device 140 is connected to computer system during the BIOS (basic input output system) is running. When the computer system is booted and the BIOS is running, the BIOS will initialize the control chip 130. After the control chip 130 is successfully initiated, the control chip 130 will issue an inquire command through the SATA jack 100. If the storage device 140 is connected to the SATA jack 100, a response signal is sent back to the control chip 130 to indicate that the storage device 140 is connected to computer system. Whereas, if no response signal is sent back to the control chip 130 after a predetermined time period, it is meant that no storage device is inserted to the SATA jack 100.
The process of detecting whether any storage device is inserted to the SATA jack is time-consuming. In addition, this detecting process is only implemented during the computer system is booted. After the booting procedure of the computer system has been finished, the computer system fails to realize whether the storage device 140 is connected to computer system even if the storage device 140 is inserted to the SATA jack 100. In other words, only when the computer system is re-started, the computer system is able to detect whether the storage device 140 is connected to computer system.
The present invention relates to a detecting device for detecting the connecting status between a SATA jack and an external device.
In accordance with an aspect of the present invention, there is provided a detecting device of a motherboard for detecting a connecting status of an external device. The detecting device includes a control chip, a pull-up element, a jack and a detecting chip. The jack includes one or more first-type electrical wires, one or more second-type electrical wires and a third-type electrical wire. The first-type electrical wires are connected to the control chip for receiving and transmitting data. The second-type electrical wires are connected to a first voltage. The third-type electrical wire is connected to a second voltage through the pull-up element. The detecting chip has an I/O pin connected to the third-type electrical wire of the jack. When the external device is not connected to the jack, the third-type electrical wire is maintained at the second voltage. When the external device is connected to the jack, third-type electrical wire is not maintained at the second voltage.
In accordance with another aspect of the present invention, there is provided a detecting device of a motherboard for detecting a connecting status of an external device. The detecting device includes a control chip, a pull-up element, a jack, an electronic switch and a detecting chip. The electronic switch is arranged between the third-type electrical wire and the first voltage. The detecting chip includes an I/O pin connected to the third-type electrical wire of the jack. When the external device is not connected to the jack, the third-type electrical wire is disconnected from the first voltage by the electronic switch such that the third-type electrical wire is maintained at the second voltage. When the external device is connected to the jack, the third-type electrical wire is connected to the first voltage by the electronic switch such that the third-type electrical wire is maintained at the first voltage.
The above contents of the present invention will become more readily apparent to those ordinarily skilled in the art after reviewing the following detailed description and accompanying drawings, in which:
The present invention will now be described more specifically with reference to the following embodiments. It is to be noted that the following descriptions of preferred embodiments of this invention are presented herein for purpose of illustration and description only. It is not intended to be exhaustive or to be limited to the precise form disclosed.
Except for the first electrical wire serving as the detecting pin, the other electrical wires of the SATA jack 200 are kept unchanged. In other words, the two transmitting pins (Tx) of the control chip 230 are connected to the second and third electrical wires of the SATA jack 200; and the two transmitting pins (Tx) are connected to the fifth and sixth electrical wires of the SATA jack 200. In addition, the fourth and seventh electrical wires of the SATA jack 200 are directly connected to a ground layer of the motherboard.
Furthermore, an I/O pin of the detecting chip 260 is connected to the detecting pin DET of the SATA jack 200. According to the signal transmitted from the detecting pin DET, the detecting chip 260 can realize whether the SATA plug 220 of an external device 240 is inserted into the SATA jack 200. In this embodiment of the external device 240 is a storage device. An example of the detecting chip 260 includes but is not limited to a super I/O device, a general purpose I/O (GPIO) device or a south bridge chip.
The operations of the detecting chip 260 will be illustrated as follows. In a case that the external device 240 is detached from the SATA jack 200, the voltage level at the detecting pin DET of the SATA jack 200 is pulled up to a high-level state. Whereas, if the SATA plug 220 of the external device 240 is inserted into the SATA jack 200, the voltage level at the detecting pin DET of the SATA jack 200 is pulled down to a low-level state because the first electrical wire (e.g. a ground wire) of the SATA plug 220 is connected to the ground voltage. At the time when the detecting chip 260 detects the low-level state of the detecting pin DET, the detecting chip 260 may realize that the SATA plug 220 of the external device 240 is inserted into the SATA jack 200. In addition, the current generated by the supply voltage (Vcc) will flow to the ground layer through the pull up resistor R and the external device 240.
Since the first electrical wire of the SATA plug 220 is connected to the ground voltage when the SATA plug 220 of the external device 240 is inserted into the SATA jack 200, the SATA plug 220 and the SATA jack 200 still conform to the definition of SATA interfaces. Although the SATA jack 200 does not conform to the definition of a SATA interface when no external device is inserted into the SATA jack 200, no adverse influence occurs.
If the SATA plug 220 of the external device 240 is inserted into the SATA jack 200, the voltage level at the detecting pin DET of the SATA jack 200 is pulled down to a low-level state because the first electrical wire of the SATA plug 220 is connected to the ground voltage. Under this circumstance, the electronic switch 235 is switched to the close state such that the detecting pin DET is connected to the ground layer. Meanwhile, the current generated by the supply voltage (Vcc) will flow to the ground layer through the pull up resistor R and the electronic switch 235. Likewise, since the first electrical wire of the SATA plug 220 is connected to the ground voltage when the SATA plug 220 of the external device 240 is inserted into the SATA jack 200, the SATA plug 220 and the SATA jack 200 still conform to the definition of SATA interfaces.
From the above description, the detecting device of the present invention is capable of detecting the connecting status between a SATA jack and an external device without impairing the speeds of transmitting and receiving data. Moreover, the detecting device of the present invention can detect the presence of an external device as soon as the external device is inserted into the SATA jack. Since the detecting procedure is no longer implement during the BIOS is running, the method of detecting the presence of an external device is more time-saving and convenient.
While the invention has been described in terms of what is presently considered to be the most practical and preferred embodiments, it is to be understood that the invention needs not to be limited to the disclosed embodiment. On the contrary, it is intended to cover various modifications and similar arrangements included within the spirit and scope of the appended claims which are to be accorded with the broadest interpretation so as to encompass all such modifications and similar structures.
Number | Date | Country | Kind |
---|---|---|---|
097117889 | May 2008 | TW | national |