The present invention relates to a detecting scheme for detecting the plug/unplug status of phone-jacks, and specifically, to a structure of detecting the status by using single bit generated by a resistor network.
Currently, most of the visual and audio equipments exhibit a plurality of terminals or plugs for receiving external device to input or output signal. The popular application is the micron phone-jacks, especially for the usage for the computer system. Such terminal not only has small size but also occupied a small space. In order to detect whether the plug is set on the jack or not, a typical phone-jack with spring switch is used. Please referring to
If the detecting circuits are integrated in a single chip, a plurality of the “Readback” node must be formed in such single chip. The situation raises the cost of the manufacture. The present invention discloses a structure of detecting the status by using single bit generated by a resistor network.
The present invention is suitable for the computer system, it also can be used in other system.
The object of the present invention is to provide a structure of detecting the status by using single bit generated by a resistor network.
The scheme for detecting the plug-in status by using single bit generated by a network with serial resistors, comprising:
Wherein the first reference voltage is VDD or ground. The second reference voltage is ground or VDD. 4. The scheme of claim 1, wherein each one of the plurality of jack includes a first and a second connecting terminals to form the spring switch, a third and a forth connecting terminals for the signal contacts and a fifth connecting terminal act as a common reference contact for the signal contacts.
The further scheme for detecting the plug-in status by using single bit generated by a network with serial resistors, comprising:
The yet further scheme for detecting the plug-in status by using single bit generated by an active network with serial resistors, comprising:
Wherein the first reference voltage is VDC (voltage of direct current) or ground. The second reference voltage is ground or VDC.
The fourth scheme for detecting the plug-in status by using single bit generated by an active network with parallel resistors, comprising:
The foregoing aspects and many of the attendant advantages of this invention will become more readily appreciated as the same becomes better understood by reference to the following detailed description, when taken in conjunction with the accompanying drawings, wherein:
a and 1b are schemes of the structure for detecting the status in accordance with the prior art.
a is a true table according to the scheme of
b is a scheme of the structure for detecting the status by using single bit generated by a network with serial resistors in accordance present invention.
a is active network with paralleled connecting resistor. The four resistors are connected in serial.
b is active network with paralleled connecting resistor. The four resistors are connected in parallel.
Turning to
The each jack includes connecting terminals 1 and 2 that are referred to the spring switch. Connecting terminals 3 and 4 are the signal contacts and the connecting terminal 5 are the common reference contact for the signal contacts 3 and 4. Each spring switch of the jack is parallelly connected to the resistor R1, R2, R3, R4. The jacks and the resistors construct the multi-jack network. The first terminal N1 of the multi-jack network refers to the common node between the first connecting terminals 1 of the spring switch of the jack and the resistor R1. The first terminal N1 is coupled to the first reference voltage, such s VDD. The second terminal N2 of the multi-jack network refers to the common node between the second connecting terminals 2 of the forth jack and the resistor R4. A further second reference voltage is ground voltage. A fifth resistor R5 is coupled between the second terminal N2 and the fifth resistor R5. By detecting the voltage of the node “Readback” via the fifth resistor R5, the jack plug-in status can be determined.
The aforementioned case uses four jacks as the example. The user may select any number of the jack to meet one's requirement. In one embodiment, the five resistors R1, R2, R3, R4, R5 approximately have the similar resistance. It has to be note, the above embodiment can be accurately work by switching the reference voltage VDD and ground voltage. It still covers by the scope of the present invention. If all of the four jacks are plugged by external devices, the “Readback” node is coupled to the VDD via the four serially connected spring switches. According to the circuit theorem, the voltage of the “Readback” node is VDD (or ground by inverse connection). If only one jack is connected to the external device, the “Readback” node is coupled to the VDD via one of the four resistors R1, R2, R3, R4. If the four resistors have the approximately resistance, the “Readback” node voltage is about VDD/2 by coupling to the fifth resistor R5.
If more than one jack is connected to the external devices, according to the circuit theorem, the “Readback” node voltage is lower than VDD/2. Only a comparator is needed, the status of the plugged jack can be determined.
The present invention only needs one “Readback” node, the connecting status of the multi-jack can be detected. In order to distinguish which jack is connected, the resistance of each resistor can be adjustment, thereby generating difference predetermined “Readback” node voltage according to the design. The information provided by the one “Readback” node is similar to the one provided by multi-“Readback” node. However, the present invention may reduce the cost and the space occupied by the multi-“Readback” node.
a is a true table for the case in
From the true table provided by the
b uses serially connecting resistors to tell from the status, the paralleled resistance scheme can also be used.
The value of the output signal on the true table is not change linearly, a four jacks system has at most 16 combinations. 8-bit resolution ADC is required. An active network introduced into the further embodiment,
In the embodiment, each jack includes connecting terminals 1 and 2 that are referred to the spring switch. Connecting terminals 3 and 4 are the signal contacts and the connecting terminal 5 are the common reference contact for the signal contacts 3 and 4 (only the terminals 1 and 2 are shown, others are omitted). It is similar to the
The direct current voltage “VDC” is used for the OPA to generate an output voltage different from the “ground”. The total resistance between the IN and OP ends is determined by the combination of the plug-in jack. The plug-in jack combination is changed lineally, therefore, the output signal of the “Readback” is also changed lineally. Finally, a 4-Bit ADC can be used to determine the status of the four-jack system.
b is active network with paralleled connecting resistor. The four resistors are connected in parallel. The common node N3 of the resistors R1, R2, R3, R4 is coupled to the first end o the fifth resistor R5. The OP end of the OPA is connected to the second end of the resistor R5. The common node N4 of the spring switch of the jacks connects to the VDC. The inverse amplifier (OPA) has a first end IN connecting to the common node N3, a second end IP connecting to the “ground”, and a third end OP connecting to the node “Readback”. The node “Readback” connects to the node N2. The output-generating resistor (fifth resistor) R5 is connected between the N3 and the node “Readback”. The direct current voltage “VDC” is used for the OPA to generate an output voltage different from the “ground”. The total resistance between the IN and OP ends is determined by the combination of the plug-in jack. The plug-in jack combination is changed lineally, therefore, the output signal of the “Readback” is also changed lineally. Finally, a 4-Bit ADC can be used to determine the status of the four-jack system.
Number | Date | Country | Kind |
---|---|---|---|
91135222 A | Dec 2002 | TW | national |
Number | Name | Date | Kind |
---|---|---|---|
4445047 | Cannon | Apr 1984 | A |
4493951 | Sanderson et al. | Jan 1985 | A |
5532675 | White | Jul 1996 | A |
5886530 | Fasnacht et al. | Mar 1999 | A |
6201383 | Lo et al. | Mar 2001 | B1 |
6590374 | Har-Lev | Jul 2003 | B1 |
6750643 | Hwang et al. | Jun 2004 | B1 |
20030025516 | Chao et al. | Feb 2003 | A1 |
Number | Date | Country | |
---|---|---|---|
20040108845 A1 | Jun 2004 | US |