CN1779668A - USB/PS2 adapter and its peripheral equipment - Google Patents

USB/PS2 adapter and its peripheral equipment Download PDF

Info

Publication number
CN1779668A
CN1779668A CN 200410096020 CN200410096020A CN1779668A CN 1779668 A CN1779668 A CN 1779668A CN 200410096020 CN200410096020 CN 200410096020 CN 200410096020 A CN200410096020 A CN 200410096020A CN 1779668 A CN1779668 A CN 1779668A
Authority
CN
China
Prior art keywords
usb
connector
transmission mode
switching device
main frame
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.)
Granted
Application number
CN 200410096020
Other languages
Chinese (zh)
Other versions
CN100359501C (en
Inventor
李敬洲
杨金新
谢建兴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Pixart Imaging Inc
Original Assignee
Pixart Imaging Inc
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Pixart Imaging Inc filed Critical Pixart Imaging Inc
Priority to CNB200410096020XA priority Critical patent/CN100359501C/en
Publication of CN1779668A publication Critical patent/CN1779668A/en
Application granted granted Critical
Publication of CN100359501C publication Critical patent/CN100359501C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Systems (AREA)

Abstract

An USB / PS2 switching unit is featured as bridge-connecting USB / PS2 switching unit between a host and a peripheral device for changing signal transmission mode of peripheral device, setting the first connector connected to host on peripheral device and using the first transmission mode for carry out communication between host and the first connector, forming USB / PS2 switching unit by a connection component being connected to the first connector, the second connector being connected to host and a conversion component being bridge-connected between connection component and the second connector.

Description

USB/PS2 switching device and peripheral equipment thereof
Technical field
The present invention relates to a kind of USB/PS2 switching device, particularly relate to a kind of USB/PS2 switching device and peripheral equipment thereof that can be used for making peripheral device change transmission mode.
Background technology
General main frame (Host) is reserved with the PS2 interface more and pegs graft for computer peripheral apparatus such as mouse, keyboards, represent that described computer peripheral apparatus also must meet the communications protocol (Protocol) of this PS2 interface, the signal that both sides' (computer peripheral apparatus/main frame) transmit is just communicated with each other, in addition, the mouse, the keyboard that use USB interface are also arranged on the market, in like manner, described computer peripheral apparatus also must meet the communications protocol that the USB interface on the main frame is used.
Because the communication modes difference of PS2 interface and USB interface, its transmission mode and related hardware connected mode are also inequality, therefore need to use the USB/PS2 switching device that desired signal is produced, and need control chip to be set and go detection automatically and select to be at present which kind of communication mode, make computer peripheral apparatus to cooperate and be converted to PS2 or USB mode operating in computer peripheral apparatus inside.
In order to meet above-mentioned requirements, present way can be with reference to United States Patent (USP) case notification number the 6th, 691, " the Dual mode USB-PS/2 Device " that proposes for No. 201, yet, owing to this detection mode is to select different transmission modes in comparatively complicated mode, not only needs the detection step of complexity to be which kind of transmission mode at present, and may have the wrong situation generation of detection to judge.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of easy-to-use USB/PS2 switching device, in order to be connected corresponding grafting with main frame on the peripheral device, so that peripheral device changes transmission mode, and can easily not cause detecting wrong problem because of the detection step of complexity.
Another technical matters that the present invention will solve provides a kind of this USB/PS2 switching device that has, and the processor of peripheral device be provided with one detect the pin position judge at present for which kind of transmission mode to change the peripheral equipment of transmission mode.
So, USB/PS2 switching device of the present invention, bridge joint is between a peripheral device and a main frame, and in order to change the signal transfer mode of this peripheral device, this peripheral device has first connector of this main frame of electric connection, and the communication between this first connector and this main frame meets one first transmission mode.
This USB/PS2 switching device comprises a connection piece, one second connector and a transition components, this web member in order to the corresponding connection of first connector of this peripheral device; This second connector electrically connects this web member with corresponding grafting with this main frame; This transition components bridge joint is between this web member and this second connector; Whereby, when this peripheral device is connected to this main frame with this USB/PS2 switching device, this peripheral device gives this second connector to this main frame by the state that predicts this transition components and give a signal output that is different from second transmission mode of this first transmission mode.
Peripheral equipment of the present invention comprises a computer peripheral apparatus and a USB/PS2 switching device.This computer peripheral apparatus has a processor and one first connector, and this processor has a detection pin position and a plurality of signal is exported into the pin position, and this first connector couples the detection pin position of this processor; This USB/PS2 switching device has a connection piece, a transition components and one second connector, this web member in order to the corresponding connection of first connector of this peripheral device; This second connector electrically connects this web member with corresponding grafting with this main frame; This transition components bridge joint is between this web member and this second connector.Whereby, when this peripheral device is connected to this main frame with this USB/PS2 switching device, the processor of this peripheral device predicts the state of this transition components by this detection pin position, export into the pin position and give signal to a described signal that is different from second transmission mode of this first transmission mode, and be passed to this main frame via this second connector.
Description of drawings
Below in conjunction with accompanying drawing the specific embodiment of the present invention is described in further detail.
Fig. 1 is a synoptic diagram, being connected between the peripheral device that the USB interface that first preferred embodiment of peripheral equipment of the present invention has is described and the USB port of an existing main frame.
Fig. 2 is a synoptic diagram, being connected between the peripheral device that this first preferred embodiment is described and the USB/PS2 switching device.
Fig. 3 is a synoptic diagram, being connected between the peripheral device that the PS2 interface that second preferred embodiment of peripheral equipment of the present invention has is described and the PS2 port of an existing main frame.
Fig. 4 is a synoptic diagram, being connected between the peripheral device that this second preferred embodiment is described and the USB/PS2 switching device.
Embodiment
About aforementioned and other technology contents, characteristics and effect of the present invention, in the following detailed description that cooperates with reference to two graphic preferred embodiments, can clearly present.
Before the present invention is described in detail, be noted that in the following description content similarly assembly is to represent with identical numbering.
Mandatory declaration be, USB/PS2 switching device of the present invention is in order to change the original signal transmission mode of a peripheral device, if the original signal of peripheral device is transmitted as first transmission mode, then this peripheral device can give a signal output that is different from second transmission mode of this first transmission mode and give main frame by the switching of USB/PS2 switching device.In first preferred embodiment, be to illustrate that this first transport mode translations that how will meet the USB transmission mode is this second transmission mode that meets the PS2 transmission mode, and in second preferred embodiment, then be to illustrate that this first transport mode translations that how will meet the PS2 transmission mode is second transmission mode that meets the USB transmission mode.
As shown in Figure 1, first preferred embodiment of peripheral equipment 1 of the present invention is described, be to be connected with the USB port 301 of an existing main frame 300 with a peripheral device 100 that meets USB interface, this peripheral device 100 can be that for example mouse, keyboard or rocking bar etc. meet HID (Human Interface Device; The manual interface device) the basic I/O device of version specification.
Peripheral device 100 has first connector 12 that the processor 11, of a body 10, in body 10 meets USB interface, and a cable 13 that is coupled between processor 11, first connector 12.
In the present embodiment, the processor 11 of peripheral device 100 has a plurality of signals and exports into pin position (contact 1~4) and a detection pin position 111 (contacts 5), described signal is exported into the pin position can transmit Vcc, D-, D+ and GND signal in the USB transmission mode respectively, or at the transmission of PS2 transmission mode Vcc, DATA, CLOCK and GND signal (repeating after the appearance), and detect pin position 111 is that a GPIO (General Purpose Input Output) detects the pin position, generally is used for the purposes that external signal detects.
First connector 12 of peripheral device 100 has one first metal shell 120 and a plurality of contact 1 '~4 ', and contact 1 '~4 ' of first connector 12 is the corresponding contacts 1~4 that are connected to processor 11, each contact 1 '~4 ', in order to transmission Vcc, D-, D+ and GND signal, the detection pin position 111 of processor 11 then was to be connected with first metal shell 120 respectively.
Mandatory declaration be, detecting pin position 111 can be to be connected with metal shell 120 with a wire rod or a metal isolation scribes material that meets the USB standard, it also can be the metal dielectric layer that is connected in the cable 13, be low level (Low) because general GPIO detects default (Default) value of pin position 111, so no matter metal shell 120 has or not ground connection all not influence it to be the logic of low level.
As shown in Figure 2, how the peripheral device 100 that first preferred embodiment is described transfers USB originally to the PS2 transmission mode with USB/PS2 switching device 200, because the detailed construction of peripheral device 100 has been done detailed introduction at Fig. 1, do not repeat them here, below will do an explanation with regard to the assembly of USB/PS2 switching device 200 earlier, again peripheral device 100 and USB/PS2 switching device 200 be made up its effectiveness of back explanation.
USB/PS2 switching device 200 has a transition components 20, one second connector 21 and a connection piece 22.
Second connector 21 meets the specification of PS2 interface, has pin 1~6, pin 1 wherein is to transmit GND signal, pin 4 for transmitting the Vcc signal for transmission DATA signal, pin 3, and reaching pin 5 is to transmit the CLOCK signal, is respectively reservation (Reserved) pin position as for 2,6 of pins.
Web member 22 be in order to first connector, the 12 corresponding connections of peripheral device 100, and web member 22 also has the contact that is connected contact 1 '~4 ' 1 of corresponding and first connector 12 "~4 ".
Transition components 20 bridge joints have a resistor 201 and a capacitor 202 in parallel with resistor 201 between second connector 21 and web member 22.Mandatory declaration be that this transition components 20 also can be made up of at least one passive component or a short circuit wiring a kind of institute wherein, and this passive component also can be that wherein any is formed for a resistor, a capacitor or an inductor.
When peripheral device 100 is connected to a main frame when (figure does not show) with this USB/PS2 switching device 200, then this second connector 21 is connected to a voltage source with pin 4, and this voltage source is to take from the voltage that the main frame of connection is supplied, the just high levle of USB/PS2 transmission mode (High) voltage signal Vcc.
Web member 22 has one second metal shell 220, can electrically connect with first metal shell 120 of first connector 12, with so that the detection pin position 111 of processor 11 when first connector, 12 connectors 22, lend the high levle voltage signal Vcc of transition components 20 transmission, make and detect pin position 111 and predicted and make processor 11 be in the PS2 transmission mode through second metal shell 220, first metal shell 120 and cable 13.
Whereby, the transition components 20 output high levle voltage signal Vcc of USB/PS2 switching device 200 give the processor 11 of peripheral device 100, low level (Low) voltage (ground connection) when can not be connected with script first connector 12 and web member 22 is separated, and the detection pin position 111 of processor 11 is predicted, give described signal and export the pin 4,1,5,3 that is sent to second connector, 21 correspondences into the output of pin position (contact 1~4) respectively and will usb signal (Vcc, D-, D+ and GND) originally make PS2 signal (Vcc, DATA, CLOCK and GND) into.
As shown in Figure 3, second preferred embodiment of peripheral equipment 4 of the present invention is described, this preferred embodiment is to be connected with the PS2 port 302 of existing main frame 300 with a peripheral device 400 that meets the PS2 interface.
Peripheral device 400 has processor 41, one first connector 42 of a body 40, in body 40, and a cable 43 that is coupled between processor 41, first connector 42.
In the present embodiment, the processor 41 of peripheral device 400 is identical with the processor 11 of first preferred embodiment, having a plurality of signals exports into pin position (contact 1~4) and a detection pin position 411 (contacts 5), described signal is exported into the pin position can transmit Vcc, DATA, CLOCK and GND signal in the PS2 transmission mode respectively, or at the transmission of USB transmission mode Vcc, D-, D+ and GND signal (repeating after the appearance), and the detection principle of detection pin position 411 also can be with reference to first preferred embodiment.
First connector 42 of peripheral device 400 has one first metal shell 420 and a plurality of contact 1~6, and the contact 4 ', 1 ', 5 ', 3 ' of first connector 42 is the corresponding contacts 1~4 that are connected to processor 41, each contact 4 ', 1 ', 5 ', 3 ' is respectively in order to transmission Vcc, DATA, CLOCK and GND signal, the detection pin position 411 of processor 41 then is to be connected with first metal shell 420, then is respectively as for pin 2 ', 6 ' to keep the pin position.
As shown in Figure 4, illustrate that this preferred embodiment is to load onto USB/PS2 switching device 500 for the peripheral device 400 of PS2 interface originally with one afterwards not change into the USB transmission mode behind the corresponding grafting main frames 300 (scheming to show).
USB/PS2 switching device 500 comprises a transition components 50, a USB second connector 51 and a connection piece 52, web member 52 in order to first connector, the 42 corresponding connections of peripheral device 400; USB second connector 51 in order to the corresponding grafting of main frame (figure do not show); Transition components 50 bridge joints are between web member 52 and USB second connector 51, have a resistor 501 and a capacitor 502 in parallel with resistor 501, and be connected to a voltage source by the main frame supply, and this voltage source is to take from the high levle voltage signal Vcc that any pattern of USB/PS2 transmission mode is transmitted.
Whereby, when first connector, 42 corresponding connection USB/PS2 switching devices 500 are connected to main frame again, because web member 52 has one second metal shell 520, can electrically connect with first metal shell 420 of first connector 42, with so that the detection pin position 411 of processor 41 when first connector, 42 connectors 52, borrow the high levle voltage signal Vcc of transition components 50, make and detect pin position 411 and predicted and make processor 41 be in the USB transmission mode, low level voltage when can not be connected with first connector 42 and USB/PS2 switching device 500 is separated, and processor 41 is predicted and gives usb signal output (Vcc, D-, D+ and GND) give the pin 1~4 of second connector, 51 correspondences.
Mandatory declaration be, above-mentioned first, though second preferred embodiment is with USB/PS2 switching device 200,500 reach the transmission mode of USB conversion PS2 or PS2 conversion USB, and cooperate to capture the high levle voltage signal Vcc that has in the transmission mode and not connect USB/PS2 switching device 200,500 o'clock low level voltage signal, in order to separating as which kind of transmission mode of judgement, yet know this skill person and maybe can migrate notion of the present invention in PS2, the USB transmission mode is made conversion of signals to common interfaces such as for example RS232, or obtains or change accurate position mode to change voltage; And USB/PS2 switching device 200,500 also can be used for having the device of processor 11,41 identical functions except being used for the switching to the USB/PS2 signal of peripheral device 100,400, does not all break away from category of the present invention.
Conclude above-mentioned, peripheral equipment 1,4 of the present invention is in conjunction with peripheral device 100,400 and USB/PS2 switching device 200,500, be provided with at the processor 11,41 of peripheral device 100,400 and detect pin position 111,411 and judge and be which kind of transmission mode at present, USB/PS2 switching device 200,500 can make peripheral device 100,400 change transmission mode, because judgment mode and circuit design are all comparatively simple and easy, can not have the shortcoming that causes detecting mistake easily because of complicated in the past detection step.

Claims (11)

1. USB/PS2 switching device, bridge joint is between a peripheral device and a main frame, and in order to change the signal transfer mode of this peripheral device, this peripheral device has first connector of this main frame of electric connection, communication between this first connector and this main frame is to meet one first transmission mode, it is characterized in that: this USB/PS2 switching device comprises:
A connection piece, in order to the corresponding connection of first connector of this peripheral device;
One second connector electrically connects this web member with corresponding grafting with this main frame; And
One transition components, bridge joint is between this web member and this second connector;
Whereby, when this peripheral device is connected to this main frame with this USB/PS2 switching device, this peripheral device gives this second connector to this main frame by the state that predicts this transition components and give a signal output that is different from second transmission mode of this first transmission mode.
2. USB/PS2 switching device as claimed in claim 1 is characterized in that: this USB/PS2 switching device is that this first transport mode translations that will meet the USB transmission mode is this second transmission mode that meets the PS2 transmission mode.
3. USB/PS2 switching device as claimed in claim 1 is characterized in that: this USB/PS2 switching device is that this first transport mode translations that will meet the PS2 transmission mode is this second transmission mode that meets the USB transmission mode.
4. USB/PS2 switching device as claimed in claim 1, it is characterized in that: this transition components is connected to a voltage source by this main frame supply, when this peripheral device connects this USB/PS2 switching device, because this transition components output high levle voltage of this voltage source supplies gives this peripheral device, low level voltage when can not be connected with this first connector and this web member is separated, and this peripheral device is predicted and this second connector is given in the signal output that gives different transmission mode.
5. USB/PS2 switching device as claimed in claim 4 is characterized in that: this voltage source that this transition components connected is to take from USB or the PS2 transmission mode high levle voltage signal that wherein any pattern transmitted.
6. USB/PS2 switching device as claimed in claim 1 is characterized in that: this transition components is made up of at least one passive component and a short circuit wiring a kind of institute wherein.
7. USB/PS2 switching device as claimed in claim 6 is characterized in that: this passive component is that wherein any is formed for a resistor, a capacitor and an inductor.
8. peripheral equipment, in order to the correspondence main frame of pegging graft, it is characterized in that: this peripheral equipment comprises:
One peripheral device has: a processor, have one and detect the pin position and a plurality of signal is exported into the pin position, and one first connector, this first connector electrically connects this processor, and and this main frame between communication meet one first transmission mode; And
One USB/PS2 switching device has: a connection piece, in order to the corresponding connection of first connector of this peripheral device, one second connector, electrically connect this web member with corresponding grafting with this main frame, and a transition components, bridge joint is between this web member and this second connector;
Whereby, when this peripheral device is connected to this main frame with this USB/PS2 switching device, the processor of this peripheral device predicts the state of this transition components by this detection pin position, export into the pin position and give signal to a described signal that is different from second transmission mode of this first transmission mode, and be passed to this main frame via this second connector.
9. peripheral equipment as claimed in claim 8 is characterized in that: this detection pin position is that a GPIO detects the pin position.
10. peripheral equipment as claimed in claim 8, it is characterized in that: this first connector has one first metal shell, and this detection pin position and this first metal shell electrically connect mutually, with so that this detection pin position when this first connector is not pegged graft this web member, borrow the ground connection input to make to detect the pin position to be predicted and make this processor be this first transmission mode.
11. peripheral equipment as claimed in claim 10, it is characterized in that: this web member has one second metal shell, can electrically connect with first metal shell of this first connector, with so that this detection pin position when this first connector is pegged graft this web member, borrow the high levle voltage output of this transition components, make detect the pin position predicted and make this processor by this first transport mode translations to this second transmission mode.
CNB200410096020XA 2004-11-25 2004-11-25 USB/PS2 adapter and its peripheral equipment Expired - Fee Related CN100359501C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB200410096020XA CN100359501C (en) 2004-11-25 2004-11-25 USB/PS2 adapter and its peripheral equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB200410096020XA CN100359501C (en) 2004-11-25 2004-11-25 USB/PS2 adapter and its peripheral equipment

Publications (2)

Publication Number Publication Date
CN1779668A true CN1779668A (en) 2006-05-31
CN100359501C CN100359501C (en) 2008-01-02

Family

ID=36770002

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB200410096020XA Expired - Fee Related CN100359501C (en) 2004-11-25 2004-11-25 USB/PS2 adapter and its peripheral equipment

Country Status (1)

Country Link
CN (1) CN100359501C (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100395743C (en) * 2005-06-13 2008-06-18 宇东电浆科技有限公司 Peripheral for computer system
CN102156528A (en) * 2010-02-11 2011-08-17 联想(北京)有限公司 Data processing equipment and universal serial bus (USB) external connection driving method thereof
CN103425236A (en) * 2012-05-15 2013-12-04 联发科技股份有限公司 Device with multipurpose interfaces
CN111370889A (en) * 2018-12-26 2020-07-03 东莞宝德电子有限公司 Peripheral device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6691201B1 (en) * 2000-06-21 2004-02-10 Cypress Semiconductor Corp. Dual mode USB-PS/2 device
CN2533519Y (en) * 2001-10-29 2003-01-29 伦飞电脑实业股份有限公司 Output/input port module circuit for connecting computer peripheral
CN1462928A (en) * 2002-05-31 2003-12-24 广达电脑股份有限公司 External adapter for general serial bus interface
KR100490604B1 (en) * 2002-10-25 2005-05-19 주식회사 씨엔피테크 Monitor

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100395743C (en) * 2005-06-13 2008-06-18 宇东电浆科技有限公司 Peripheral for computer system
CN102156528A (en) * 2010-02-11 2011-08-17 联想(北京)有限公司 Data processing equipment and universal serial bus (USB) external connection driving method thereof
CN103425236A (en) * 2012-05-15 2013-12-04 联发科技股份有限公司 Device with multipurpose interfaces
CN103425236B (en) * 2012-05-15 2016-06-08 联发科技股份有限公司 Possesses the device of multifunctional ports
CN111370889A (en) * 2018-12-26 2020-07-03 东莞宝德电子有限公司 Peripheral device

Also Published As

Publication number Publication date
CN100359501C (en) 2008-01-02

Similar Documents

Publication Publication Date Title
US6957287B2 (en) Asynchronous/synchronous KVMP switch for console and peripheral devices
US6731514B2 (en) Stackable module
US8066515B2 (en) Multiple graphics adapter connection systems
CN1459731A (en) Method of operating mode for controlling general sequence bus device and related, instrument
CN1668932A (en) Method and test adapter for testing an appliance having a smart card reader
US20030081391A1 (en) Simplifying integrated circuits with a common communications bus
CN1214333C (en) Identification of a peripheral connection state with a universal serial bus
CN1779668A (en) USB/PS2 adapter and its peripheral equipment
US20090077294A1 (en) Communication system for a plurality of I/O cards by using the GPIO and a method thereof
JP2013069269A (en) Electric apparatus provided with a plurality of data connection ports
CN2335186Y (en) Computer input device with mode converting function
CN1097780C (en) High speed PCI utilizing TTL compatible signaling
CN200959120Y (en) Copy path selector
JPH11316633A (en) Connector for differential device and single ended device
US20040205283A1 (en) Interface module
US20040229514A1 (en) Integrated S-video and composite video port
CN2739698Y (en) Portable network type keyboard/screen/mouse adapting device
CN1458559A (en) Electronic peripheral card with multiple I/O interfaces
CN100517199C (en) Apparatus for screening cursor control function of mouse
CN101064612A (en) Configuration structure of electronic card interface and its control method
CN1384412A (en) Computer and its data communication control method
CN216647820U (en) Adapter plate and debugging equipment
US9819993B2 (en) Switch apparatus and electronic device
US6121777A (en) Apparatus for detecting at least one property of a cable
US20050097230A1 (en) Circuit and system for expandably connecting electronic devices

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: 20080102

Termination date: 20191125

CF01 Termination of patent right due to non-payment of annual fee