CN100449516C - Peripheral device detection system and method thereof - Google Patents
Peripheral device detection system and method thereof Download PDFInfo
- Publication number
- CN100449516C CN100449516C CNB200610071941XA CN200610071941A CN100449516C CN 100449516 C CN100449516 C CN 100449516C CN B200610071941X A CNB200610071941X A CN B200610071941XA CN 200610071941 A CN200610071941 A CN 200610071941A CN 100449516 C CN100449516 C CN 100449516C
- Authority
- CN
- China
- Prior art keywords
- peripheral device
- voltage signal
- lead
- detection
- leads
- 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.)
- Expired - Fee Related
Links
- 230000002093 peripheral effect Effects 0.000 title claims abstract description 72
- 238000001514 detection method Methods 0.000 title claims abstract description 46
- 238000000034 method Methods 0.000 title claims description 14
- 238000009434 installation Methods 0.000 claims 8
- 230000003111 delayed effect Effects 0.000 description 12
- 238000003032 molecular docking Methods 0.000 description 7
- WABPQHHGFIMREM-UHFFFAOYSA-N lead(0) Chemical compound [Pb] WABPQHHGFIMREM-UHFFFAOYSA-N 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000002474 experimental method Methods 0.000 description 1
Images
Landscapes
- Debugging And Monitoring (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
Description
技术领域 technical field
本发明涉及一种外围装置检测系统及其方法,且特别涉及当每次外围装置连接于电子装置的扩充基座时,电子装置皆可正常地检测到外围装置的外围装置检测系统及其方法。The present invention relates to a peripheral device detection system and method thereof, and in particular to a peripheral device detection system and method thereof which allow the electronic device to normally detect the peripheral device each time the peripheral device is connected to the docking station of the electronic device.
背景技术 Background technique
请参阅图1A,图1A是绘示现有技术的扩充基座1与笔记本型计算机(Notebook)2的外观视图。就目前而言,虽然笔记本型计算机2具有可随身携带的便利性,其功能却比不上桌上型计算机(Desktop)。因此,扩充基座(Docking station)1便被发展出来,提供笔记本型计算机2丰富的外围连接端口(Port),以加装其它外围装置(Peripheral device),如打印机(Printer)、扫瞄器(Scanner)等。Please refer to FIG. 1A . FIG. 1A is an appearance view of a
请参阅图1B,图1B是绘示图1A中的扩充基座1与笔记本型计算机2相连接的电路示意图。举例而言,当使用者欲藉由笔记本型计算机使用打印机时,其必须将打印机的电缆线(Cable)接上扩充基座的打印连接端口(Printport),待笔记本型计算机检测到打印机,即可藉由笔记本型计算机操作打印功能。如图1B所示,现有扩充基座1的打印连接端口10具有25个引线(Pin)P1-P25,其中,第18至25引线P18-P25是相互连接到地,并且第19引线P19是用以检测打印机是否插入。现有打印机(未显示在图中)的电缆线亦具有25个引线,电缆线的每一引线分别与打印连接端口10的25个引线P1-P25其中之一相对应。当打印机电缆线的第19引线与打印连接端口10的第19引线P19相接触时,打印连接端口10便会发出检测信号,以通知笔记本型计算机2检测打印机。Please refer to FIG. 1B . FIG. 1B is a schematic circuit diagram illustrating the connection between the
然而,当打印机电缆线的第19引线与打印连接端口10的第19引线P19相接触时,打印机电缆线的其它引线与打印连接端口10的其它引线有可能尚未完全接触,致使打印机无法被笔记本型计算机2检测到,造成辨识错误。However, when the 19th lead wire of the printer cable is in contact with the 19th lead wire P19 of the
因此,本发明的目的在于提供一种外围装置检测系统及其方法,以解决上述问题。Therefore, the object of the present invention is to provide a peripheral device detection system and method thereof to solve the above problems.
发明内容 Contents of the invention
本发明的目的之一在于提供一种外围装置检测系统及其方法,此外围装置检测系统是利用延迟电路,将用以通知电子装置开始检测外围装置的电压信号,经延迟时间后再输出至电子装置。藉此,当电子装置接收延迟电压信号并且开始检测外围装置时,外围装置的电缆线的所有引线已与相对应的连接端口的所有引线完全接触,致使电子装置皆可正常地检测到外围装置。One of the objects of the present invention is to provide a peripheral device detection system and its method. The peripheral device detection system uses a delay circuit to output the voltage signal used to notify the electronic device to start detecting the peripheral device, and then output it to the electronic device after a delay time. device. Thereby, when the electronic device receives the delayed voltage signal and starts to detect the peripheral device, all leads of the cable of the peripheral device have completely contacted all leads of the corresponding connection port, so that the electronic device can normally detect the peripheral device.
根据一较佳具体实施例,本发明的外围装置检测系统是用以检测装设在电子装置(Electronic apparatus)的外围装置(Peripheral device)。外围装置包含电缆线(Cable),且电缆线具有M个第一引线(Pin),其中,第一检测引线是选自M个第一引线其中之一,M为自然数。外围装置检测系统包含连接端口(Port)以及延迟电路(Delay circuit)。延迟电路是与连接端口相耦接。According to a preferred embodiment, the peripheral device detection system of the present invention is used to detect peripheral devices installed in electronic devices (Electronic apparatus). The peripheral device includes a cable, and the cable has M first pins, wherein the first detection pin is one of the M first pins, and M is a natural number. The peripheral device detection system includes a connection port (Port) and a delay circuit (Delay circuit). The delay circuit is coupled to the connection port.
在上述的实施例中,连接端口具有M个第二引线,且每一M个第二引线分别与电缆线的M个第一引线其中之一相对应,其中,M个第二引线中的N个第二引线相互连接到地,第二检测引线是选自N个第二引线其中之一,且第二检测引线是用以回应第一检测引线,以产生电压信号,N为自然数。延迟电路是用以接收电压信号,并且经预定延迟时间后,输出延迟电压信号至电子装置,藉此,电子装置在接收延迟电压信号后,即开始检测外围装置。In the above-mentioned embodiment, the connection port has M second leads, and each of the M second leads corresponds to one of the M first leads of the cable, wherein, N of the M second leads The two second leads are connected to the ground, the second detection lead is selected from one of the N second leads, and the second detection lead is used to respond to the first detection lead to generate a voltage signal, and N is a natural number. The delay circuit is used to receive the voltage signal and output the delayed voltage signal to the electronic device after a predetermined delay time, so that the electronic device starts to detect the peripheral device after receiving the delayed voltage signal.
因此,根据本发明的外围装置检测系统,由于延迟电路会将用以通知电子装置开始检测外围装置的电压信号,经延迟时间后再输出至该电子装置,当电子装置接收延迟电压信号并且开始检测外围装置时,外围装置的电缆线的所有引线已与相对应的连接端口的所有引线完全接触,致使电子装置皆可正常地检测到外围装置。Therefore, according to the peripheral device detection system of the present invention, since the delay circuit will output the voltage signal used to notify the electronic device to start detecting the peripheral device to the electronic device after a delay time, when the electronic device receives the delayed voltage signal and starts to detect When the peripheral device is installed, all leads of the cable of the peripheral device have completely contacted all leads of the corresponding connection ports, so that the electronic device can normally detect the peripheral device.
根据的另一较佳具体实施例,本发明的外围装置检测方法是用以检测装设在一电子装置的一外围装置,该方法包含下列步骤:当该外围装置通过一连接端口连接于该电子装置时,在该连接端口的一引线上产生一电压信号;通过一延迟电路接收该电压信号,并且经一预定延迟时间后,输出一延迟电压信号;以及通过所述电子装置接收该延迟电压信号,并且开始检测该外围装置。According to another preferred embodiment, the peripheral device detection method of the present invention is used to detect a peripheral device installed in an electronic device, the method includes the following steps: when the peripheral device is connected to the electronic device through a connection port When the device is installed, a voltage signal is generated on a lead of the connection port; the voltage signal is received through a delay circuit, and after a predetermined delay time, a delayed voltage signal is output; and the delayed voltage signal is received through the electronic device , and begin detecting the peripheral.
关于本发明的优点与精神可以藉由以下的发明详述及附图得到进一步的了解。The advantages and spirit of the present invention can be further understood through the following detailed description of the invention and the accompanying drawings.
附图说明 Description of drawings
图1A是绘示现有技术的扩充基座与笔记本型计算机的外观视图;FIG. 1A is an external view illustrating a docking station and a notebook computer in the prior art;
图1B是绘示图1A中的扩充基座与笔记本型计算机相连接的电路示意图;FIG. 1B is a schematic circuit diagram illustrating the connection between the docking station in FIG. 1A and the notebook computer;
图2是绘示根据本发明的一较佳具体实施例的外围装置检测系统与电子装置相连接的电路示意图;以及FIG. 2 is a schematic circuit diagram illustrating the connection between the peripheral device detection system and the electronic device according to a preferred embodiment of the present invention; and
图3为根据本发明的一较佳具体实施例的外围装置检测方法的流程图。FIG. 3 is a flow chart of a peripheral device detection method according to a preferred embodiment of the present invention.
附图符号说明Description of reference symbols
1:扩充基座; 10、30:连接端口1: Expansion base; 10, 30: Connection ports
2:笔记本型计算机; 3:外围装置检测系统2: Notebook computer; 3: Peripheral device detection system
32:延迟电路; 4:电子装置32: Delay circuit; 4: Electronic device
S100-S104:流程步骤S100-S104: Process steps
具体实施方式 Detailed ways
请参阅图2,图2是绘示根据本发明的一较佳具体实施例的外围装置检测系统3与电子装置4相连接的电路示意图。本发明的外围装置检测系统3是用以检测装设在电子装置(Electronic apparatus)4的外围装置(Peripheral device)(未显示在图中),如打印机(Printer)、扫瞄器(Scanner)等。在此实施例中,外围装置检测系统3是设置在扩充基座(未显示在图中)中,且扩充基座是用以提供电子装置4的外围连接端口(Port),以加装其它外围装置。在此实施例中,电子装置4为笔记本型计算机(Notebook),且外围装置为打印机。打印机包含电缆线(Cable),且电缆线具有25个第一引线(Pin),其中,第一检测引线是选自25个第一引线其中之一。Please refer to FIG. 2 . FIG. 2 is a schematic circuit diagram illustrating the connection between the peripheral
如图2所示,外围装置检测系统3包含连接端口(Port)30以及延迟电路(Delay circuit)32,且延迟电路32与连接端口30相耦接。连接端口30具有25个第二引线P1-P25,且每一第二引线P1-P25分别与打印机电缆线的25个第一引线其中之一相对应。连接端口30的25个第二引线P1-P25中的8个第二引线P18-P25相互连接到地,第二检测引线P19是用以响应打印机电缆线的第一检测引线(亦即打印机电缆线的第19引线),以产生电压信号,其中,此电压信号为低电压。延迟电路32是用以接收电压信号,并且经预定延迟时间后,会输出延迟电压信号至电子装置4。藉此,电子装置4在接收到延迟电压信号后,即开始检测打印机。As shown in FIG. 2 , the peripheral
较佳而言,预定延迟时间可设定为0.82秒。电子装置4在收到延迟电压信号后,约需0.226秒(操作系统处理时间)才会开始检测打印机。因此,当打印机电缆线的第一检测引线与连接端口30的第二检测引线P19相接触时,电子装置4会在约1秒(0.82秒+0.226秒=1.046秒)后才开始检测打印机。Preferably, the predetermined delay time can be set to 0.82 seconds. After the electronic device 4 receives the delayed voltage signal, it takes about 0.226 seconds (the processing time of the operating system) to start detecting the printer. Therefore, when the first detection lead of the printer cable contacts the second detection lead P19 of the
此外,在实际实验时,在打印机电缆线的第一检测引线与连接端口30的第二检测引线P19相接触后,一般使用者约需0.3-0.8秒的时间,以将打印机电缆线的所有引线与连接端口30的所有引线完全接触。换言之,打印机电缆线的第一检测引线与连接端口30的第二检测引线P19相接触后,有约1秒的时间让使用者可以将打印机电缆线的所有引线与连接端口30的所有引线完全接触。藉此,当每次打印机连接于电子装置4的扩充基座时,电子装置4皆可正常地检测到打印机。In addition, in actual experiments, after the first detection lead wire of the printer cable contacts the second detection lead wire P19 of the
需注意的是,延迟电路32的电路可根据实际应用而有不同的设计,进而产生不同的预定延迟时间。It should be noted that the circuit of the
请参阅图3,图3为根据本发明的一较佳具体实施例的外围装置检测方法的流程图。请一并参阅图2,本发明的外围装置检测方法是用以检测装设在电子装置4的外围装置。根据此较佳具体实施例,本发明的外围装置检测方法包含下列步骤:Please refer to FIG. 3 . FIG. 3 is a flowchart of a peripheral device detection method according to a preferred embodiment of the present invention. Please also refer to FIG. 2 , the peripheral device detection method of the present invention is used to detect the peripheral devices installed in the electronic device 4 . According to this preferred embodiment, the peripheral device detection method of the present invention includes the following steps:
步骤S100:当外围装置连接于电子装置时,产生电压信号;Step S100: generating a voltage signal when the peripheral device is connected to the electronic device;
步骤S102:接收电压信号,并且经预定延迟时间后,输出延迟电压信号;Step S102: receiving a voltage signal, and outputting a delayed voltage signal after a predetermined delay time;
步骤S104:接收延迟电压信号,并且开始检测外围装置。Step S104: Receive the delayed voltage signal, and start to detect the peripheral device.
相较于现有技术,根据本发明的外围装置检测系统及其方法,由于延迟电路会将用以通知电子装置开始检测外围装置的电压信号,经延迟时间后再输出至该电子装置,当电子装置接收延迟电压信号并且开始检测外围装置时,外围装置的电缆线的所有引线已与相对应的连接端口的所有引线完全接触,致使电子装置皆可正常地检测到外围装置。Compared with the prior art, according to the peripheral device detection system and method thereof of the present invention, since the delay circuit will output the voltage signal used to notify the electronic device to start detecting the peripheral device to the electronic device after a delay time, when the electronic device When the device receives the delayed voltage signal and starts to detect the peripheral device, all leads of the cable of the peripheral device are in full contact with all leads of the corresponding connection ports, so that the electronic device can normally detect the peripheral device.
藉由以上较佳具体实施例的详述,是希望能更加清楚描述本发明的特征与精神,而并非以上述所揭露的较佳具体实施例来对本发明的范畴加以限制。相反地,其目的是希望能涵盖各种改变及具相等性的安排在本发明所欲申请的专利范围的范畴内。因此,本发明所申请的专利范围的范畴应该根据上述的说明作最宽广的解释,以致使其涵盖所有可能的改变以及具相等性的安排。Through the above detailed description of the preferred embodiments, it is hoped that the characteristics and spirit of the present invention can be described more clearly, and the scope of the present invention is not limited by the preferred embodiments disclosed above. On the contrary, the intention is to cover various changes and equivalent arrangements within the scope of the claimed invention. Therefore, the scope of the claimed scope of the present invention should be interpreted in the broadest way based on the above description, so as to cover all possible changes and equivalent arrangements.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB200610071941XA CN100449516C (en) | 2006-04-03 | 2006-04-03 | Peripheral device detection system and method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB200610071941XA CN100449516C (en) | 2006-04-03 | 2006-04-03 | Peripheral device detection system and method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101051299A CN101051299A (en) | 2007-10-10 |
CN100449516C true CN100449516C (en) | 2009-01-07 |
Family
ID=38782719
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB200610071941XA Expired - Fee Related CN100449516C (en) | 2006-04-03 | 2006-04-03 | Peripheral device detection system and method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100449516C (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1015756B (en) * | 1989-09-23 | 1992-03-04 | 山西省同力计算机联合公司 | Printer tester |
US5694586A (en) * | 1995-05-02 | 1997-12-02 | Apple Computer, Inc. | Controller using time-domain filter connected to a signal line to control a time at which signal line is sampled for receipt of information transfer signal |
CN2300950Y (en) * | 1997-07-26 | 1998-12-16 | 李亚光 | Parallel port tester for computer, printer |
JPH11273790A (en) * | 1998-03-24 | 1999-10-08 | Kokusai Electric Co Ltd | Connector cable and its distinguishing method |
CN1236194A (en) * | 1998-04-28 | 1999-11-24 | 精工电子有限公司 | Delay circuit |
-
2006
- 2006-04-03 CN CNB200610071941XA patent/CN100449516C/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1015756B (en) * | 1989-09-23 | 1992-03-04 | 山西省同力计算机联合公司 | Printer tester |
US5694586A (en) * | 1995-05-02 | 1997-12-02 | Apple Computer, Inc. | Controller using time-domain filter connected to a signal line to control a time at which signal line is sampled for receipt of information transfer signal |
CN2300950Y (en) * | 1997-07-26 | 1998-12-16 | 李亚光 | Parallel port tester for computer, printer |
JPH11273790A (en) * | 1998-03-24 | 1999-10-08 | Kokusai Electric Co Ltd | Connector cable and its distinguishing method |
CN1236194A (en) * | 1998-04-28 | 1999-11-24 | 精工电子有限公司 | Delay circuit |
Also Published As
Publication number | Publication date |
---|---|
CN101051299A (en) | 2007-10-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7293118B1 (en) | Apparatus and method for dynamically providing hub or host operations | |
US6701401B1 (en) | Method for testing a USB port and the device for the same | |
US7921233B2 (en) | Signal converter for an all-in-one USB connector that includes USB 2.0, USB 3.0 and eSATA | |
US20130179603A1 (en) | Apparatus and method of identifying a usb or an mhl device | |
CN101989246A (en) | Electronic device capable of automatically switching master and slave equipment modes of universal serial bus (USB) | |
US20070212145A1 (en) | System and method for detecting peripheral device | |
US7420819B2 (en) | Expanding high speed transport interface hardware method for motherboard | |
CN110825204A (en) | Mainboard of electronic equipment and power supply information management method | |
US20020084988A1 (en) | Apparatus and method for automatically detecting USB mode and PS/2 mode computer keyboard | |
US20070047537A1 (en) | Expandable structure for peripheral storage device | |
CN100449516C (en) | Peripheral device detection system and method thereof | |
CN102467430A (en) | Universal serial bus testing device and method | |
US11334506B2 (en) | Interface connection device, system and method thereof | |
JP2001230504A (en) | Flexible wiring board and its connection structure to circuit board | |
CN103927281A (en) | Transmission interface detection system and transmission interface detection method | |
CN101266536B (en) | Detection device | |
CN204129732U (en) | Based on the board self-adaptation equipment of satellite time transfer machine frame system | |
CN115166400A (en) | Detection device, method and system | |
CN102479129B (en) | Detection device for the state of peripheral components | |
CN209858611U (en) | Connector for electronic equipment and electronic equipment | |
CN101430637B (en) | Device capable of detecting setting of independent redundant array of independent disks | |
US20040210430A1 (en) | PS2 simulator | |
JP2003248796A (en) | Pc card detection device | |
CN101201759A (en) | Method and system for identifying type of vertical adapter card | |
CN110825591B (en) | System information reading method, reading device and electronic equipment |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20090107 Termination date: 20150403 |
|
EXPY | Termination of patent right or utility model |