CN100449516C - Peripheral device detecting system and its method - Google Patents
Peripheral device detecting system and its method 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
- lead
- voltage signal
- wire
- electronic installation
- peripheral unit
- 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
Images
Landscapes
- Debugging And Monitoring (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
A detection system of peripheral device is prepared for arranging M numbers of the second lead wires on connection port as each second lead wire being separately corresponded to one of the first lead wires of cable, forming M numbers of the second load wires by grounded second detection load wires, generating voltage signal by responding the first detection lead wire with the second one, using delay circuit to receive voltage signal and outputting delayed voltage signal to electronic unit being used to start up detection on peripheral device.
Description
Technical field
The present invention relates to a kind of peripheral device detecting system and method thereof, and be particularly related to when each peripheral unit is connected in the extended base of electronic installation, electronic installation all can normally detect the peripheral device detecting system and the method thereof of peripheral unit.
Background technology
See also Figure 1A, Figure 1A is the external view that illustrates extended base 1 with the notebook computer (Notebook) 2 of prior art.For now, though notebook computer 2 has portable convenience, its function is less than desktop PC (Desktop).Therefore, extended base (Docking station) 1 just is developed, the peripheral connectivity port (Port) that provides notebook computer 2 to enrich is to install other peripheral unit (Peripheral device) additional, as printer (Printer), scanner (Scanner) etc.
See also Figure 1B, Figure 1B illustrates the circuit diagram that the extended base 1 among Figure 1A is connected with notebook computer 2.For example, when the user desires by notebook computer use printer, it must connect the cable (Cable) of printer the printing connectivity port (Printport) of extended base, treat that notebook computer detects printer, can operate printing function by notebook computer.Shown in Figure 1B, the printing connectivity port 10 of existing extended base 1 has 25 lead-in wires (Pin) P
1-P
25, wherein, the 18th to 25 lead-in wire P
18-P
25Be to be interconnected to ground, and the 19th lead-in wire P
19Be whether to insert in order to detect printer.The cable of existing printer (showing in the drawings) also has 25 lead-in wires, each lead-in wire of cable respectively with 25 lead-in wire P that print connectivity port 10
1-P
25One of them is corresponding.The 19th lead-in wire and the 19th lead-in wire P that prints connectivity port 10 when the printer cable line
19When contacting, print connectivity port 10 and just can send detection signal, detect printer with notice notebook computer 2.
Yet, as the 19th lead-in wire and the 19th lead-in wire P that prints connectivity port 10 of printer cable line
19When contacting, other lead-in wire of printer cable line might not contact as yet fully with other lead-in wire of printing connectivity port 10, causes printer to be detected by notebook computer 2, causes the identification mistake.
Therefore, the object of the present invention is to provide a kind of peripheral device detecting system and method thereof, to address the above problem.
Summary of the invention
One of purpose of the present invention is to provide a kind of peripheral device detecting system and method thereof, this peripheral device detection system is to utilize delay circuit, to begin to detect the voltage signal of peripheral unit in order to the notice electronic installation, export electronic installation after the delayed time again to.By this, when electronic installation receive delay voltage signal and when beginning to detect peripheral unit, the cable of peripheral unit leadedly contact fully with the institute of corresponding connectivity port is leaded, cause electronic installation all can normally detect peripheral unit.
According to a preferred embodiment, peripheral device detecting system of the present invention is the peripheral unit (Peripheral device) that is installed in electronic installation (Electronic apparatus) in order to detection.Peripheral unit comprises cable (Cable), and cable has M first lead-in wire (Pin), wherein, first detect lead-in wire be selected from M first lead-in wire one of them, M is a natural number.Peripheral device detecting system comprises connectivity port (Port) and delay circuit (Delay circuit).Delay circuit is to couple mutually with the connectivity port.
In the above-described embodiment, the connectivity port has M second lead-in wire, and each M second lead-in wire goes between with the M individual first of cable respectively, and one of them is corresponding, wherein, N in M second lead-in wire second lead-in wire is interconnected to ground, second detect lead-in wire be selected from N second lead-in wire one of them, and second to detect lead-in wire be to detect and go between in order to respond first, to produce voltage signal, N is a natural number.Delay circuit is in order to the reception voltage signal, and behind scheduled delay, the output delay voltage signal is to electronic installation, and by this, electronic installation promptly begins to detect peripheral unit behind the receive delay voltage signal.
Therefore, according to peripheral device detecting system of the present invention, because delay circuit can will begin to detect the voltage signal of peripheral unit in order to the notice electronic installation, export this electronic installation after the delayed time again to, when electronic installation receive delay voltage signal and when beginning to detect peripheral unit, the cable of peripheral unit leadedly leadedly contact fully with the institute of corresponding connectivity port, cause electronic installation all can normally detect peripheral unit.
According to another preferred embodiment, peripheral unit detection method of the present invention is a peripheral unit that is installed in an electronic installation in order to detection, this method comprises the following step: when this peripheral unit is connected in this electronic installation by a connectivity port, produce a voltage signal on a lead-in wire of this connectivity port; Receive this voltage signal by a delay circuit, and behind a scheduled delay, export a delay voltage signal; And receive this delay voltage signal, and begin to detect this peripheral unit by described electronic installation.
Can be further understood by the following detailed description and accompanying drawings about the advantages and spirit of the present invention.
Description of drawings
Figure 1A is the external view that illustrates the extended base and the notebook computer of prior art;
Figure 1B illustrates the circuit diagram that the extended base among Figure 1A is connected with notebook computer;
Fig. 2 illustrates the circuit diagram that the peripheral device detecting system according to a preferred embodiment of the present invention is connected with electronic installation; And
Fig. 3 is the process flow diagram according to the peripheral unit detection method of a preferred embodiment of the present invention.
The reference numeral explanation
1: extended base; 10,30: the connectivity port
2: notebook computer; 3: peripheral device detecting system
32: delay circuit; 4: electronic installation
S100-S104: process step
Embodiment
See also Fig. 2, Fig. 2 illustrates the circuit diagram that the peripheral device detecting system 3 according to a preferred embodiment of the present invention is connected with electronic installation 4.Peripheral device detecting system 3 of the present invention is the peripheral units (Peripheral device) (not showing in the drawings) that are installed in electronic installation (Electronic apparatus) 4 in order to detection, as printer (Printer), scanner (Scanner) etc.In this embodiment, peripheral device detecting system 3 is arranged in the extended base (not showing in the drawings), and extended base is in order to the peripheral connectivity port (Port) of electronic installation 4 to be provided, to install other peripheral unit additional.In this embodiment, electronic installation 4 is notebook computer (Notebook), and peripheral unit is a printer.Printer comprises cable (Cable), and cable has 25 first lead-in wires (Pin), wherein, first detect lead-in wire be selected from 25 first lead-in wires one of them.
As shown in Figure 2, peripheral device detecting system 3 comprises connectivity port (Port) 30 and delay circuit (Delay circuit) 32, and delay circuit 32 couples mutually with connectivity port 30.Connectivity port 30 has 25 second lead-in wire P
1-P
25, and each second lead-in wire P
1-P
25One of them is corresponding with 25 first of printer cable line lead-in wires respectively.25 second lead-in wire P of connectivity port 30
1-P
25In 8 second the lead-in wire P
18-P
25Be interconnected to ground, second detects lead-in wire P
19Be to detect lead-in wire (that is the 19th lead-in wire of printer cable line) in order to first of response printer cable line, to produce voltage signal, wherein, this voltage signal is a low-voltage.Delay circuit 32 is in order to the reception voltage signal, and behind scheduled delay, meeting output delay voltage signal is to electronic installation 4.By this, electronic installation 4 promptly begins to detect printer after receiving the delay voltage signal.
Preferable, scheduled delay can be set at 0.82 second.Electronic installation 4 needs 0.226 second (operating system processing time) just can begin to detect printer after receiving the delay voltage signal approximately.Therefore, when detecting lead-in wire, first of printer cable line detects lead-in wire P with second of connectivity port 30
19When contacting, electronic installation 4 can just begin to detect printer after (0.82 second+0.226 second=1.046 seconds) at about 1 second.
In addition, when actual experiment, detect lead-in wire at first of printer cable line and detect lead-in wire P with second of connectivity port 30
19After contacting, general user needs the 0.3-0.8 time of second approximately, with the institute of printer cable line leaded with connectivity port 30 leadedly contact fully.In other words, first of the printer cable line detect the second detection lead-in wire P that goes between with connectivity port 30
19After contacting, the time of having an appointment 1 second allow the user can with the printer cable line the institute of leaded and connectivity port 30 is leaded contacts fully.By this, when each printer was connected in the extended base of electronic installation 4, electronic installation 4 all can normally detect printer.
Be noted that the circuit of delay circuit 32 can have different designs according to practical application, and then produce different scheduled delays.
See also Fig. 3, Fig. 3 is the process flow diagram according to the peripheral unit detection method of a preferred embodiment of the present invention.See also Fig. 2, peripheral unit detection method of the present invention is the peripheral unit that is installed in electronic installation 4 in order to detection.According to this preferred embodiment, peripheral unit detection method of the present invention comprises the following step:
Step S100: when peripheral unit is connected in electronic installation, produce voltage signal;
Step S102: receive voltage signal, and behind scheduled delay, the output delay voltage signal;
Step S104: the receive delay voltage signal, and begin to detect peripheral unit.
Compared to prior art, according to peripheral device detecting system of the present invention and method thereof, because delay circuit can will begin to detect the voltage signal of peripheral unit in order to the notice electronic installation, export this electronic installation after the delayed time again to, when electronic installation receive delay voltage signal and when beginning to detect peripheral unit, the cable of peripheral unit leadedly leadedly contact fully with the institute of corresponding connectivity port, cause electronic installation all can normally detect peripheral unit.
By the above detailed description of preferred embodiments, be to wish to know more to describe feature of the present invention and spirit, and be not to come category of the present invention is limited with above-mentioned disclosed preferred embodiment.On the contrary, its objective is that hope can contain in the category of claim of being arranged in of various changes and tool equality institute of the present invention desire application.Therefore, the category of the claim that the present invention applied for should be done the broadest explanation according to above-mentioned explanation, contains the arrangement of all possible change and tool equality to cause it.
Claims (10)
1. peripheral device detecting system, be installed in a peripheral unit of an electronic installation in order to detection, this peripheral unit comprises a cable, this cable has M first lead-in wire, one first detection lead-in wire is to be selected from this M first one of them that goes between, M is a natural number, and this peripheral device detecting system comprises:
One connectivity port, have M second lead-in wire, each this M second lead-in wire goes between with this M individual first respectively, and one of them is corresponding, N second lead-in wire in individual second lead-in wire of this M is interconnected to ground, one second detection lead-in wire is to be selected from this N individual second to go between one of them, this second detection lead-in wire is to go between in order to respond this first detection, and to produce a voltage signal, N is a natural number; And
One delay circuit couples mutually with this connectivity port, in order to receive this voltage signal, and behind a scheduled delay, export a delay voltage signal to this electronic installation, by this, this electronic installation promptly begins to detect this peripheral unit after receiving this delay voltage signal.
2. peripheral device detecting system as claimed in claim 1, wherein, this voltage signal is a low-voltage.
3. peripheral device detecting system as claimed in claim 1, wherein, this scheduled delay is 0.82 second.
4. peripheral device detecting system as claimed in claim 1, wherein, this electronic installation is a notebook computer.
5. peripheral device detecting system as claimed in claim 1, wherein, this peripheral unit is a printer.
6. peripheral unit detection method is installed in a peripheral unit of an electronic installation in order to detection, and this method comprises the following step:
When this peripheral unit is connected in this electronic installation by a connectivity port, on a lead-in wire of this connectivity port, produce a voltage signal;
Receive this voltage signal by a delay circuit, and behind a scheduled delay, export a delay voltage signal; And
Receive this delay voltage signal by described electronic installation, and begin to detect this peripheral unit.
7. method as claimed in claim 6, wherein, this voltage signal is a low-voltage.
8. method as claimed in claim 6, wherein, this scheduled delay is 0.82 second.
9. method as claimed in claim 6, wherein, this electronic installation is a notebook computer.
10. method as claimed in claim 6, wherein, this peripheral unit is a printer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB200610071941XA CN100449516C (en) | 2006-04-03 | 2006-04-03 | Peripheral device detecting system and its method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB200610071941XA CN100449516C (en) | 2006-04-03 | 2006-04-03 | Peripheral device detecting system and its method |
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 detecting system and its method |
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 | |
CN101426038B (en) | Portable electronic device and accessory identification method | |
US6701401B1 (en) | Method for testing a USB port and the device for the same | |
US20100174835A1 (en) | Signal Converter for an All-In-One USB Connector | |
US20070212145A1 (en) | System and method for detecting peripheral device | |
US6650549B1 (en) | Hub having a bluetooth system | |
US20090132730A1 (en) | Appparatus and method for controlling power to usb device | |
US5572525A (en) | GPIB extender with find listener protocol capabilities | |
US20020024523A1 (en) | Method and apparatus for maintaining load balance on a graphics bus when an upgrade device is installed | |
CN100458725C (en) | Link detecting device and its method for general serial bus port | |
CN102455965A (en) | Electronic device test system and method | |
US8607101B2 (en) | RS-485 port test apparatus | |
US7107380B1 (en) | Configuration for dockable portable computers using a single ethernet physical layer chip and transformer | |
CN100449516C (en) | Peripheral device detecting system and its method | |
CN102467212A (en) | Power supply of computer | |
US20020084988A1 (en) | Apparatus and method for automatically detecting USB mode and PS/2 mode computer keyboard | |
US20090108956A1 (en) | Circuit topology for multiple loads | |
US11334506B2 (en) | Interface connection device, system and method thereof | |
CN110096002A (en) | A kind of automatization test system and test method based on CANFD bus | |
US20040249991A1 (en) | Cable detection using cable capacitance | |
CN210400834U (en) | Device for detecting rotation of mechanical part | |
CN212229622U (en) | Navigation module testing device and system | |
US9360524B2 (en) | Testing system for serial interface | |
CN109254937B (en) | USB hub, USB device enumeration exception detection method and computer storage medium | |
CN105068952A (en) | SD interface multiplexing apparatus and method and electronic device |
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 |