CN101266536B - Detection device - Google Patents
Detection device Download PDFInfo
- Publication number
- CN101266536B CN101266536B CN2008100995813A CN200810099581A CN101266536B CN 101266536 B CN101266536 B CN 101266536B CN 2008100995813 A CN2008100995813 A CN 2008100995813A CN 200810099581 A CN200810099581 A CN 200810099581A CN 101266536 B CN101266536 B CN 101266536B
- Authority
- CN
- China
- Prior art keywords
- mentioned
- voltage
- pick
- external device
- unit according
- 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
Links
Images
Landscapes
- Details Of Connecting Devices For Male And Female Coupling (AREA)
Abstract
Description
技术领域technical field
本发明涉及一种检测装置,且特别涉及一种具有检测串行高级技术附件(serial advanced technology attachment,简称SATA)接口插座与一外部装置连接的检测装置。The invention relates to a detection device, and in particular to a detection device capable of detecting a serial advanced technology attachment (serial advanced technology attachment, referred to as SATA) interface socket connected to an external device.
背景技术Background technique
早期的存储介质,例如硬盘或光驱,都是利用高级技术附件(Advanced Technology Attachment,简称ATA)接口与主机之间进行数据交换,此ATA接口的数据为并行的(parallel)传递,因此,又被称为PATA接口。最近,串行高级技术附件(Serial Advanced Technology Attachment,简称SATA)接口已逐渐取PATA接口成为存储媒介与主机之间的主要接口。Early storage media, such as hard disks or optical drives, used the Advanced Technology Attachment (ATA) interface to exchange data with the host. The data of the ATA interface was transmitted in parallel, so it was called Called the PATA interface. Recently, the Serial Advanced Technology Attachment (SATA) interface has gradually taken the PATA interface as the main interface between the storage medium and the host.
请参见图1A,其所示为SATA接口连接器(connector)立体图。SATA接口连接器包括SATA接口插头(plug)120以及一SATA接口插座(jack)100。其中,SATA接口插座(jack)100中有两个开口,SATA接口插头(plug)120可以插入任一个开口。Please refer to FIG. 1A , which is a perspective view of a SATA interface connector (connector). The SATA interface connector includes a SATA interface plug (plug) 120 and a SATA interface socket (jack) 100 . Wherein, there are two openings in the SATA interface socket (jack) 100, and a SATA interface plug (plug) 120 can be inserted into any opening.
再者,SATA接口插座(jack)100的开口中有七条电导线(electrical wires)。根据SATA接口插座(jack)100的规格,开口内第一、四、七条电导线较长且定义为接地电导线;再者,第一、四条电导线之间的第二、三条电导线定义为传输电导线(Tx);第四、七条电导线之间的第五、六条电导线定义为接收电导线(Rx)。而SATA接口插头120中也有7条电导线可与SATA接口插座(jack)100的开口中的七条电导线相互接触达成电性连接。Furthermore, there are seven electrical wires in the opening of the
再者,在SATA接口插头120的缆线122内部包含有两个电磁遮蔽金属(electromagnetic shielding metal)124、126,这两个电磁遮蔽金属124、126与SATA接口插头120中的第一、四、七条电导线连接,也就是说,这两个电磁遮蔽金属124、126即连接至接地电导线。再者,这两个电磁遮蔽金属124、126分别包含两个传输电导线(Tx)以及两个接收电导线(Rx),使得传输电导线(Tx)以及接收电导线(Rx)不受到电磁场的干扰,并且可提高数据传送与接收的速度。Furthermore, the cable 122 of the
请参照图1B,其所示为主机板上SATA接口插座与控制芯片的连接图。图1C,其所示为控制芯片与SATA接口连接器与存储装置之间的电路连接图。其中,控制芯片130,例如南桥芯片,上有两个传输端脚位(Tx)、两个接收端脚位(Rx)分别连接至SATA接口插座100的第二、三、五、六电导线。再者,SATA接口插座100的第一、四、七电导线则直接连接至主机板上的接地层(ground layer)。Please refer to FIG. 1B , which is a connection diagram of the SATA interface socket on the motherboard and the control chip. FIG. 1C shows the circuit connection diagram between the control chip, the SATA interface connector and the storage device. Wherein, the
再者,当计算机系统的电源(Vcc)经由电源连接线传递至存储装置140后,只要将连接至存储装置140的SATA接口插头120插入SATA接口插座100后,即达成存储装置140与控制芯片130的连接。Moreover, when the power supply (Vcc) of the computer system is transmitted to the
由上述可知,SATA接口规格仅定义四条信号线(两条传输电导线(Tx)以及两条接收电导线(Rx))以及三条接地电导线之外并没有多余的线路可供利用。因此,当使用者将存储装置140插入主机板150上的SATA接口插座100后,计算机系统无法立刻检测到存储装置140被安装至计算机系统。也就是说,就算存储装置140已插入SATA接口插座100,由于SATA接口规格没有另外提供一检测脚位,因此,计算机系统无法实时得知存储装置140已经安装于计算机系统上。It can be known from the above that the SATA interface specification only defines four signal lines (two transmission lines (Tx) and two reception lines (Rx)) and three ground lines, and there are no redundant lines available. Therefore, when the user inserts the
因此,为了要得知公知计算机系统是否有插入存储装置140,一般都是利用计算机系统中的基本输入输出系统(简称BIOS)来检测。也就是说,当计算机系统开机且BIOS动作后,BIOS必须先起始化(initialize)控制芯片130。当控制芯片130被成功起始化之后,控制芯片130会经由SATA接口发出一询问命令,当询问命令有回复(response)时,则代表存储装置140有连接至SATA接口。反之,当过一预定时间之后控制芯片130依旧未收到回复,则代表存储装置没有插入SATA接口。Therefore, in order to know whether the
由上述可知,计算机系统必须花费很长的时间来检测SATA接口上是否插入存储装置140。再者,上述的检测方式仅限在计算机系统开机的过程。当计算机系统开机完成之后,如果有存储装置140插入SATA接口插座100,计算机系统本无法得知,必须在计算机系统再次开机之后才有能力检测出来。It can be known from the above that the computer system must spend a long time to detect whether the
发明内容Contents of the invention
本发明提出一种检测装置,位于一主机板,检测与一外部装置的连接,包括:一控制芯片;一上拉元件;一插座,具有多个电导线,分为一第一部分、一第二部分以及一第三部分,第一部分连接至控制芯片,用以接收与传递数据,第二部分连接至一第一电压,且第三部分与一第二电压之间连接上拉元件;以及,一检测芯片,具有一输入脚位连接至第三部分;其中当外部装置未连接至插座时,第三部分维持在第二电压,当外部装置连接至插座时,第三部分不维持在第二电压。The present invention proposes a detection device, which is located on a main board and detects the connection with an external device, including: a control chip; a pull-up element; a socket with a plurality of electric wires, which are divided into a first part and a second part. part and a third part, the first part is connected to the control chip for receiving and transmitting data, the second part is connected to a first voltage, and a pull-up element is connected between the third part and a second voltage; and, a The detection chip has an input pin connected to the third part; wherein when the external device is not connected to the socket, the third part is maintained at the second voltage, and when the external device is connected to the socket, the third part is not maintained at the second voltage .
本发明提出一种检测装置,位于一主机板,检测与一外部装置的连接,包括:一控制芯片;一上拉元件;一插座,具有多个电导线,分为一第一部分、一第二部分以及一第三部分,第一部分连接至控制芯片,用以接收与传递数据,第二部分连接至一第一电压,且第三部分与一第二电压之间连接上拉元件;一电子开关,连接于第三部分与第一电压之间;以及,一检测芯片,具有一输入脚位连接至第三部分;其中当该外部装置未连接该插座时,该电子开关使该第三部分与该第一电压之间不连接,该第三部分维持在该第二电压,当该外部装置连接该插座时,该电子开关使该第三部分与该第一电压之间连接,该第三部分维持在该第一电压。The present invention proposes a detection device, which is located on a main board and detects the connection with an external device, including: a control chip; a pull-up element; a socket with a plurality of electric wires, which are divided into a first part and a second part. part and a third part, the first part is connected to the control chip for receiving and transmitting data, the second part is connected to a first voltage, and a pull-up element is connected between the third part and a second voltage; an electronic switch , connected between the third part and the first voltage; and, a detection chip with an input pin connected to the third part; wherein when the external device is not connected to the socket, the electronic switch makes the third part and The first voltage is not connected, and the third part is maintained at the second voltage. When the external device is connected to the socket, the electronic switch connects the third part to the first voltage, and the third part maintained at the first voltage.
本发明以既有SATA接口所定义的三条接地电导线中任选其一,就可实时检测出外部存储装置插入SATA接口插座,不用BIOS来检测外部存储装置插入。The present invention selects one of the three grounding wires defined by the existing SATA interface, and can detect in real time that the external storage device is inserted into the SATA interface socket, without using the BIOS to detect the insertion of the external storage device.
为了能更进一步了解本发明特征及技术内容,请参阅以下有关本发明的详细说明与附图,然而附图仅提供参考与说明,并非用来对本发明加以限制。In order to further understand the features and technical contents of the present invention, please refer to the following detailed description and drawings related to the present invention. However, the drawings are only for reference and illustration, and are not intended to limit the present invention.
附图说明Description of drawings
图1A所示为SATA接口连接器立体图。FIG. 1A is a perspective view of a SATA interface connector.
图1B所示为主机板上SATA接口插座与控制芯片的连接图。FIG. 1B is a connection diagram between the SATA interface socket and the control chip on the motherboard.
图1C所示为控制芯片与SATA接口连接器与存储装置之间的电路连接图。FIG. 1C is a circuit connection diagram between the control chip, the SATA interface connector and the storage device.
图2所示为本发明第二实施例具有检测功能的检测装置与外部装置。FIG. 2 shows a detection device and an external device with a detection function according to a second embodiment of the present invention.
图3所示为本发明第二实施例具有检测功能的检测装置与外部装置。FIG. 3 shows a detection device and an external device with a detection function according to a second embodiment of the present invention.
具体实施方式Detailed ways
请参照图2,其所示本发明第一实施例具有检测功能的检测装置与外部装置。检测装置包括一控制芯片230、一上拉元件(例如电阻R)、一插座200以及一检测芯片260。为了要能够实时检测出存储装置插入SATA接口插座200,本发明由SATA接口所定义的三条接地电导线中任选其一,例如第一条接地电导线。之后,将SATA接口插座200中第一条接地电导线经由一上拉元件(pull up device),例如一上拉电阻(pull up register,R),连接至一电源电压(Vcc),且此第一条接地电导线可视为一检测脚位(DET)。Please refer to FIG. 2 , which shows a detection device with a detection function and an external device according to a first embodiment of the present invention. The detection device includes a
再者,SATA接口插座200上的其它电导线的连接关系不改变。也就是说,控制芯片230,例如南桥芯片上的两个传输端脚位(Tx)、两个接收端脚位(Rx)分别连接至SATA接口插座200的第二、三、五、六电导线。再者,SATA接口插座100的第四、七电导线则直接连接至主机板上的接地层(ground layer)。Furthermore, the connection relationship of other electrical wires on the
根据本发明的第一实施例,在主机板上可利用一检测芯片260的输入输出脚位(I/O pin)连接至该检测脚位(DET),使得该检测芯片260可以根据检测脚位(DET)上的信号来得知存储装置240是否有插入SATA接口插座200。再者,该检测芯片260可为主机板上的一超级输入输出装置(Super I/O device)或者通用型输入输出装置(general purpose I/P,GPIO)或者南桥芯片。According to the first embodiment of the present invention, an input and output pin (I/O pin) of a
很明显地,当存储装置240没有插入SATA接口插座200时,SATA接口插座200的检测脚位(DET)会被拉高(pull up)至高电平;反之,当存储装置240插入SATA接口插座200时,由于SATA接口插头220的第一接接地电导线连接至接地电压,因此,SATA接口插座200的检测脚位(DET)会被拉低(pull down)至低电平。而检测芯片260即可根据检测脚位(DET)在低电平而确定该存储装置240已经插入SATA接口插座200,并通知计算机系统。Obviously, when the
由上述说明可知,当存储装置240插入SATA接口插座200时,由于SATA接口插头220与SATA接口插座200的第一接地电导线连接至接地电压,因此符合SATA接口的定义。虽然,存储装置240没有插入SATA接口插座200时,SATA接口插座200并不符合SATA接口的定义,但是由于没有任何的存储装置连接,因此并不会产生问题。It can be seen from the above description that when the
请参照图3,其所示为本发明第二实施例具有检测功能的检测装置与外部装置。相较于第一实例,第二实施例提供一电子式电子开关(switch)235连接于检测脚位(DET)与接地电压之间,而电子式电子开关235的一控制端也连接至检测脚位(DET)。该电子式电子开关235的动作原理类似一开关,而该开关可根据检测脚位(DET)上的电平来动作。当检测脚位(DET)为低电平时,该电子开关235为一关闭状态(close state),将检测脚位(DET)连接至接地电压;反之,当检测脚位(DET)为高电平时,该电子开关235为一打开状态(open state),不会将检测脚位(DET)连接至接地电压。Please refer to FIG. 3 , which shows a detection device with a detection function and an external device according to a second embodiment of the present invention. Compared with the first example, the second embodiment provides an electronic electronic switch (switch) 235 connected between the detection pin (DET) and the ground voltage, and a control terminal of the electronic
很明显地,当存储装置240插入SATA接口插座200时,检测脚位(DET)为低电平,因此,由电压源(Vcc)经上拉电阻(R)所产生的电流(I)不再经SATA接口插座200的第一接接地电导线传递至存储装置240,而是经由电子式电子开关235而传递至接地电压。因此,本发明的第二实施例除了符合SATA接口的规格之外,还不会影响SATA接口的数据传送与接收速度。Obviously, when the
综上所述,虽然本发明已以优选实施例揭示如上,然而其并非用以限定本发明,任何所属领域的技术人员,在不脱离本发明的精神和范围内,当可作各种更动与修改,因此本发明的保护范围当视权利要求所界定的范围为准。In summary, although the present invention has been disclosed above with preferred embodiments, it is not intended to limit the present invention. Any person skilled in the art may make various modifications without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope defined by the claims.
Claims (13)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008100995813A CN101266536B (en) | 2008-05-15 | 2008-05-15 | Detection device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008100995813A CN101266536B (en) | 2008-05-15 | 2008-05-15 | Detection device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101266536A CN101266536A (en) | 2008-09-17 |
CN101266536B true CN101266536B (en) | 2010-10-06 |
Family
ID=39988969
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2008100995813A Active CN101266536B (en) | 2008-05-15 | 2008-05-15 | Detection device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101266536B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103376868A (en) * | 2012-04-19 | 2013-10-30 | 鸿富锦精密工业(武汉)有限公司 | Power adapter identification system and method |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101770275B (en) * | 2008-12-27 | 2013-11-06 | 鸿富锦精密工业(深圳)有限公司 | Method for enhancing efficiency of memory power supply |
CN114384341A (en) * | 2020-10-20 | 2022-04-22 | 炬芯科技股份有限公司 | Self-testing circuit system, self-testing chip and circuit system self-testing method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1159624A (en) * | 1995-12-05 | 1997-09-17 | 国际商业机器公司 | Information processor |
US7072995B1 (en) * | 2003-12-19 | 2006-07-04 | Emc Corporation | Methods and apparatus for indicating whether a device is connected to a serial ATA communications cable |
CN101174195A (en) * | 2006-11-01 | 2008-05-07 | 鸿富锦精密工业(深圳)有限公司 | Mainboard supporting composite memory device |
-
2008
- 2008-05-15 CN CN2008100995813A patent/CN101266536B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1159624A (en) * | 1995-12-05 | 1997-09-17 | 国际商业机器公司 | Information processor |
US7072995B1 (en) * | 2003-12-19 | 2006-07-04 | Emc Corporation | Methods and apparatus for indicating whether a device is connected to a serial ATA communications cable |
CN101174195A (en) * | 2006-11-01 | 2008-05-07 | 鸿富锦精密工业(深圳)有限公司 | Mainboard supporting composite memory device |
Non-Patent Citations (1)
Title |
---|
US 2008/0001480 A1,全文. |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103376868A (en) * | 2012-04-19 | 2013-10-30 | 鸿富锦精密工业(武汉)有限公司 | Power adapter identification system and method |
Also Published As
Publication number | Publication date |
---|---|
CN101266536A (en) | 2008-09-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8239581B2 (en) | Data storage device compatible with multiple interconnect standards | |
US20050258243A1 (en) | Express card interface adapter for small storage media | |
US8533380B2 (en) | Apparatus for peer-to-peer communication over a universal serial bus link | |
US11232061B2 (en) | CompactFlash express (CFX) adapters | |
TWI754183B (en) | Hdd backplane management device | |
KR20040022276A (en) | USB system having card type USb interface connector | |
CN104882749B (en) | Sata Express Connector | |
JP3140192U (en) | Transmission cable for transmitting E-SATA signal and power | |
US8405513B2 (en) | Connection confirmation system and main body device | |
TWI501085B (en) | Usb interface detection device | |
CN101266536B (en) | Detection device | |
CN111881074B (en) | Electronic system, host device and control method | |
TWI410799B (en) | Detecting apparatus | |
CN101266642A (en) | Card reader control chip and method for detecting interference | |
TWI666826B (en) | Board edge connector | |
US7307456B2 (en) | Automatic status assignment logic circuit apparatus for bay devices | |
CN204302863U (en) | Mainboard | |
CN113934665B (en) | Universal serial bus interface detection module | |
CN113971146B (en) | USB hub device with automatic firmware update function and host system with the USB hub device | |
CN101201761A (en) | Serial attached small computer system interface back panel detection system | |
Shafiei et al. | Advanced Technology Attachment Connectors | |
CN101430637A (en) | Device capable of detecting setting of independent redundant array of independent disks | |
CN100465872C (en) | Double silicon disc storage device | |
JP2011197893A (en) | Electronic device, connection control circuit, and connection control method | |
KR100953268B1 (en) | Usb device for supports an automatic safety remove using capacitance |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |