This patent application is based on Taiwan, R.O.C. patent application No. 099129972 filed on Sep. 3, 2010.
The present invention relates to an indicator, and more particularly, to a multi-state indicator.
Generally, a multi-state indicator is used to represent a voltage of a voltage input end in the digital format. Please refer to
Please refer to
a) is a schematic diagram of a differential comparator 2. When an input voltage Vin2 at a positive input end of the differential comparator 2 is larger than an input voltage Vin1 at a negative input end, a digital indication signal “1” is generated at an output end Vout of the differential comparator 2. On the contrary, when the input voltage Vin2 at the positive input end of the differential comparator 2 is smaller than the input voltage Vin1 at the negative input end, a digital indication signal “0” is generated at the output end Vout of the differential comparator 2.
Please refer to
It can be seen that when the input voltage Vin is at the first level Vss, the indication signal (Vout2, Vout1) is (0, 0); when the input voltage Vin is at the second level VM, the indication signal (Vout2, Vout1) is (0, 1); when the input voltage Vin is at the third level Vdd, the indication signal (Vout2, Vout1) is (1, 1). As shown in
The approach of implementing the three-state indicator 100 with the differential comparator 2 in the prior art can also be applied to other multi-state indicators. Please refer to
As shown in
However, circuit design of the conventional differential comparator is rather complex. Once the number of to-be-identified states increase, accordingly, the circuit design complexity increases greatly, resulting in difficulties in the circuit design. An area of the differential comparator is excessively large, causing a significant increment in production cost. In addition, the circuit design of the differential comparator has a static current problem, causing additional power consumption.
In view of the above issues, one object of the present invention is to provide a multi-state detector realized by a level shifter circuit so as to solve the above problems of static currents and the over-large area prevalent in the prior art.
According to an embodiment of the present invention, a three-state indicator comprises a voltage generator, for generating a first voltage, a second voltage, and a third voltage; and a three-state detector, coupled to the voltage generator, for receiving the first voltage, the second voltage and the third voltage, with the three-state detector having a voltage input end for selectively receiving the first voltage, the second voltage or the third voltage to generate an indication signal whereby the indication signal is capable of indicating an input voltage at the voltage input end.
According to another embodiment of the represent invention, a multi-state indicator comprises a voltage generator, for generating M voltages, with M being an integer larger than 3; and a multi-state detector, coupled to the voltage generator, for receiving M voltages, having a voltage input end for receiving an input voltage to generate an indication signal whereby the indication signal is capable of indicating the input voltage with reference to the M voltages.
The following description and figures are disclosed to gain a better understanding of the advantages of the present invention.
a) and
a) is a schematic diagram of a conventional differential comparator.
b) is a schematic diagram of a conventional three-state indicator implemented by two differential comparators.
c) is a schematic diagram of operation segments of a conventional four-state indicator.
d) is a schematic diagram of a conventional four-state detector implemented by three differential comparators.
a) is a schematic diagram of a first type sub-detector module in accordance with an embodiment of the present invention.
b) is a schematic diagram of relationships of an input voltage of the first type sub-detector module corresponding to nodes and an output voltage with associated indication signal bits.
c) is a schematic diagram of a second type sub-detector module in accordance with an embodiment of the present invention.
d) is a schematic diagram of relationships of an output voltage of the second type sub-detector module corresponding to nodes and an output voltage with associated indication signal bits.
e) is a schematic diagram of a third type sub-detector module in accordance with an embodiment of the present invention.
f) is a schematic diagram of relationships of an output voltage of the third type sub-detector module corresponding to nodes and an output voltage with associated indication signal bits.
a) and
c) is a schematic diagram of detailed circuits of a three-state detector in accordance with an embodiment of the present invention.
d) is a schematic diagram of an output voltage of a three-state detector circuit corresponding to an indication signal in accordance with an embodiment of the present invention.
a) and
c) is a schematic diagram of detailed circuits of a four-state detector in accordance with an embodiment of the present invention.
d) is a schematic diagram of an output voltage of a four-state detector circuit corresponding to an indication signal in accordance with an embodiment of the present invention.
Each of the above multi-state indicators includes a reference voltage generator (the reference voltage generator 101 or the reference voltage generator 201) and a multi-state detector (e.g., the three-state detector 103 or the four-state detector 203) mainly having differential comparators. Since circuits of the differential comparators have problems of static currents and over-large area, a multi-state detector mainly having level shifters according to the present invention is thereby developed to solve the above problems. Since the multi-state detector in accordance with the embodiments of the present invention uses no differential comparators, the conventional reference voltages Vref1 and Vref2 need not be provided to the three-state detector 103 or the four-state detector 203 for comparison.
Three types of sub-detector modules and timings are described as follows.
Please refer to
The inverter I31 comprises a P-channel metal-oxide-semiconductor field effect transistor (MOSFET) P311, and an N-channel MOSFET N311. The P-channel MOSFET P311 has a source (i.e., a first end) coupled to VM, a gate (i.e., a control end) coupled to the voltage input end Vin, and a drain (i.e., a second end) coupled to a drain (i.e., a second end) of the N-channel MOSFET N311. The N-channel MOSFET N311 has a gate (i.e., a control end) coupled to the voltage input end Vin, and a source (i.e., a first end) coupled to Vss.
The inverter I32 comprises a P-channel MOSFET P312 and an N-channel MOSFET N312. The P-channel MOSFET P312 has a source coupled to VM, a gate coupled to an output end of the inverter I31, and a drain coupled to a drain of the N-channel MOSFET N312. The N-channel MOSFET N312 has a gate coupled to an output end of the inverter I31, and a source coupled to Vss. For brevity, the output ends of the inverters I31 and I32 are respectively defined as a node S311 and a node S312.
The first type level shifter M31 comprises two P-channel MOSFETs P313 and P314, and two N-channel MOSFETs N313 and N314. Sources of the two P-channel MOSFETs P313 and P314 are coupled to Vdd, and sources of the two N-channel MOSFETs N313 and N314 are coupled to Vss. A gate of the P-channel MOSFET P313, a drain of the N-channel MOSFET N314, and a drain of the P-channel MOSFET P314 are connected to a node S314. A gate of the P-channel MOSFET P314, a drain of the N-channel MOSFET N313 and a drain of the P-channel MOSFET P313 are connected to a node S313. A gate of the N-channel MOSFET N313 is connected to the node S312 (i.e., the output end of the inverter I32). A gate of the N-channel MOSFET N314 is connected to the node S311 (i.e., the output end of the inverter I31). The node S314 is connected to the output voltage Vout of the first type sub-detector module 310. The input voltage Vin is one of Vdd, VM, and Vss, wherein Vdd>VM>Vss.
b) is a table of the input voltage Vin of the first type sub-detector module 310 corresponding to voltages of the nodes S311, S312, S313, and S314 and the output voltage Vout. The nodes S311, S312, S313, and S314 in a row are defined as above. Each row in
As shown in
The inverters I31 and I32 in a steady state do not generate any static current. When the N-channel MOSFET N313 of the first type level shifter M31 receives VM at its gate, it is determined that the P-channel MOSFET P313 is completely turned off. When the N-channel MOSFET N314 receives Vss at its gate, it is determined that the N-channel MOSFET N314 is completely turned off. Therefore, the first type sub-detector module 310 in the steady state does not generate any static current.
c) is a schematic diagram of circuits of a second type sub-detector module 320, which has an input end coupled to a voltage input end for inputting an input voltage Vin, and an output end for outputting a digital output voltage Vout. Two inverters I33 and I34 and a second type level shifter M32 are circuits between the voltage input end for inputting the input voltage Vin and the output end for outputting the digital output voltage Vout. The second type sub-detector module 320 comprises four P-channel MOSFETs P321, P322, P323 and P324, and four N-channel MOSFETs N321, N322, N323 and N324. The detailed connections are illustrated in
d) is a table of the input voltage Vin of the second type sub-detector module 320 corresponding to voltages of nodes S321, S322, S323, and S324 and the output voltage Vout. The node S321 in
It can be seen from
The inverter I33 and I34 in the steady state do not generate any static current. When the P-channel MOSFET P323 of the second type level shifter M32 receives Vdd at its gate, the P-channel MOSFET P323 is completely turned off; when the P-channel MOSFET P324 receives VM at its gate, the N-channel MOSFET N324 is completely turned off. Therefore, the second type sub-detector module 320 in the steady state does not generate any static current.
e) illustrates a schematic diagram of circuits of a third type sub-detector module 330, which comprises two inverters I35, I36, a third type level shifter M33, and a fourth type level shifter M34. The third type sub-detector module 330 inputs an input voltage Vin to an input end of the inverter I35, and generates an output voltage Vout at an output end of the fourth type level shifter M34 as an indication signal.
The inverter I35 comprises a P-channel MOSFET P331 and an N-channel MOSFET N331, and an output end thereof is designated node S331. The inverter I36 comprises a P-channel MOSFET P332 and an N-channel MOSFET N332, and an output end thereof is designated node S332. Power of the inverters I35 and I36 is supplied by VML and VMH.
The third type level shifter M33 of the third type sub-detector module 330 comprises two P-channel MOSFETs P333 and P334, and two N-channel MOSFETs N333 and N334. The P-channel MOSFET P333 and the N-channel MOSFET N333 are connected at a node S333, and the P-channel MOSFET P334 and the N-channel MOSFET P334 are connected at a node S334. Power of the third type level shifter M33 is supplied by VMH and Vss.
The fourth type level shifter M34 of the third type sub-detector module 330 comprises two P-channel MOSFET P335 and P336, and two N-channel MOSFET N335 and N336. The P-channel MOSFET P335 and the N-channel MOSFET N335 are connected at a node S335, and the P-channel MOSFET P336 and the N-channel MOSFET N336 are connected at a node S336. Power of the fourth type level shifter M34 is supplied by Vdd and Vss. The input voltage Vin is one of Vdd, VMH, VML, and Vss, wherein Vdd>VMH>VmL>Vss.
Please refer to
Each row of the table in
The inverters I35 and I36 in a steady state do not generate any static current. Further, when the P-channel MOSFET P333 of the third type level shifter M33 receives VMH at its gate, the P-channel MOSFET P333 is completely turned off; when the P-channel MOSFET P334 receives VML at its gate, the N-channel MOSFET N334 is completely turned off.
When the N-channel MOSFET N335 of the fourth type level shifter M34 receives VMH at its gate, the P-channel MOSFET P335 is completely turned off; when the N-channel MOSFET N336 receives Vss at its gate, the N-channel MOSFET N336 is completely turned off. Therefore, the third type level shifter M33 and the fourth type level shifter M34 of the third type sub-detector module 330 in the steady state do not generate any static current.
a) and
Please refer to
Besides the inverters, the three-state detector 403 further comprises a first type level shifter M31 and a second type level shifter M32. Power of the inverters I31 and I32 is supplied by VM and Vss. Power of the inverters I33 and I34 is supplied by Vdd and VM, and power of the first type level shifter M31 and the second type level shifter M32 is supplied by Vdd and Vss.
Please refer to
Please refer to
c) is a schematic diagram of detailed circuits of the four-state detector 503 according to an embodiment of the present invention. The four-state detector 503 comprises the above first type sub-detector module 310, the second type sub-detector module 320 and the third type sub-detector module 330. The three voltages received by the first type sub-detector module 310 are Vdd, VML, and Vss, and three voltages received by the second type sub-detector module 320 are Vdd, VMH, and Vss.
For brevity, inverters I33, I34, I31, I32, I35, and I36 of the four-sate detector 503 are directly marked as basic units, and detailed narrations of circuits thereof are omitted herein. The four-state detector 503 further comprises a first type level shifter M31, a second type level shifter M32, a third type level shifter M33, and a fourth type level shifter M34. The above sub-detector modules are implemented by the inverters and the level shifters.
Please refer to
The present invention significantly eliminates the static current by implementing inner circuits of a multi-state indicator with level shifters, and has an advantage because a level shifter occupies less area than a differential comparator. Please note that formations of the level shifter are diversified, and the present invention is not limited to the above level shifters while implementing the detector, that is to say, other types of level shifters are also applicable.
Although the embodiments according to the present invention merely take three-state indicators and four-state indicators as examples, for illustrating a conception of implementing a multi-indicator with level shifters, similar approaches evolved from the conception are capable of implementing circuit modules of level shifters in circuit designs of other multi-state indicators.
In order to eliminate static currents and over-large circuit area of a multi-state indicator with a differential comparator, a level shifter is implemented to realize the multi-state indicator. A design adopting the level shifter is capable of avoiding penetration currents when an output end of an open circuit is connected to a high-voltage power supplier, so as to reduce power consumption and noises. On the other hand, since complexity of a level shifter circuit is lower than that of a differential comparator, the level shifter design also outruns while reduction of circuit area is considered.
While the invention has been described in terms of what is presently considered to be the most practical and preferred embodiments, it is to be understood that the invention needs not to be limited to the above embodiments. On the contrary, it is intended to cover various modifications and similar arrangements included within the spirit and scope of the appended claims which are to be accorded with the broadest interpretation so as to encompass all such modifications and similar structures.
Number | Date | Country | Kind |
---|---|---|---|
99129972 A | Sep 2010 | TW | national |
Number | Name | Date | Kind |
---|---|---|---|
20030122589 | Cowles | Jul 2003 | A1 |
Number | Date | Country |
---|---|---|
1618022 | May 2005 | CN |
200908545 | Feb 2009 | TW |
Entry |
---|
State Intellectual Property Office of the People's Republic of China, “Office Action”, Apr. 3, 2013, China. |
Taiwan Patent Office, “Office Action”, Aug. 30, 2013. |
Number | Date | Country | |
---|---|---|---|
20120056614 A1 | Mar 2012 | US |