USPatent applicationPatented

Low power tri-level decoder circuit

Granted 8 Aug 2006 · 2 office actions

Application· this page
10/750,375
filed 31 Dec 2003
Publication
Not published
not published
Patent
US 7,088,139
granted 8 Aug 2006

Life of the application

9 dated events
⤢ drag to zoom20042006200820102012201420162018202020222024ProsecutionOwnershipTerm & fees
ProsecutionOwnershipTerm & feeshover for detail · click to open

Abstract

A tri-level decoder circuit includes a first decoder circuit and a second decoder circuit. The first decoder circuit is configured to compare an input voltage to a first threshold, and the second decoder circuit is configured to compare the input voltage to a second threshold. The first decoder circuit is configured to provide substantially no current to a current mirror if the input voltage is less than the first threshold, and to provide a current to the current mirror otherwise. The current mirror is configured to reflect the current to provide a reflected current. A current source is configured to pull down a first output node to a first logic level if the reflected current is substantially zero. The current mirror is configured to drive the first output node to a second logic level otherwise. The second decoder circuit may operate similarly.

Description

7 parts
›FIELD OF THE INVENTION

The invention is related to decoding, and, in particular, to an apparatus for tri-level decoding that uses a current mirror in the determination of each digital output signal.

›BACKGROUND OF THE INVENTION

Tri-level decoders are typically used to detect conditions at the input pins of an integrated circuit. For example, tri-level decoders are used to detect if an integrated circuit pin has been shorted to the power supply, shorted to ground, or driven to an intermediate voltage level. This application of tri-level logic is useful to help minimize the number of die bonding pads and package pins required on an integrated circuit. If binary logic was used, two pins would be required to decode three states. Tri-level logic can detect three states using only one die pad and one package pin. Similarly, two tri-level logic signals can decode nine states using two pins, can while binary logic would require four pins.

›BRIEF DESCRIPTION OF THE DRAWINGS

Non-limiting and non-exhaustive embodiments of the present invention are described with reference to the following drawings, in which:

FIG. 1 illustrates a block diagram of a tri-level decoder circuit;

FIG. 2 schematically illustrates an exemplary embodiment of the tri-level decoder circuit of FIG. 1 ;

FIG. 3 illustrates a timing diagram of waveforms of the tri-level decoder circuit of FIG. 2 ;

FIG. 4 shows a block diagram of another tri-level decoder circuit;

FIG. 5 schematically illustrates an exemplary implementation of the tri-level decoder circuit of FIG. 4 that includes additional components; and

FIG. 6 shows a timing diagram of waveforms of the tri-level decoder circuit of FIG. 5 , in accordance with aspects of the present invention.

›DETAILED DESCRIPTION · 1 of 4

Various embodiments of the present invention will be described in detail with reference to the drawings, where like reference numerals represent like parts and assemblies throughout the several views. Reference to various embodiments does not limit the scope of the invention, which is limited only by the scope of the claims attached hereto. Additionally, any examples set forth in this specification are not intended to be limiting and merely set forth some of the many possible embodiments for the claimed invention.

Throughout the specification and claims, the following terms take at least the meanings explicitly associated herein, unless the context clearly dictates otherwise. The meanings identified below are not intended to limit the terms, but merely provide illustrative examples for the terms. The meaning of “a,” “an,” and “the” includes plural reference, the meaning of “in” includes “in” and “on.” The term “connected” means a direct electrical connection between the items connected, without any intermediate devices. The term “coupled” means either a direct electrical connection between the items connected, or an indirect connection through one or more passive or active intermediary devices. The term “circuit” means either a single component or a multiplicity of components, either active and/or passive, that are coupled together to provide a desired function. The term “signal” means at least one current, voltage, charge, temperature, data, or other signal.

Briefly stated, the invention is related to implementing a tri-level decoder circuit. The tri-level decoder circuit includes a first decoder circuit and a second decoder circuit. The first decoder circuit is configured to compare an input voltage to a first threshold associated with the lower rail of the power supply, and the second decoder circuit is configured to compare the input voltage to a second threshold associated with the upper rail of the power supply.

The first decoder circuit is configured to provide substantially no current to a current mirror if the input voltage is less than the first threshold, and to provide a current to the current mirror otherwise. Also, the current mirror is configured to reflect the current to provide a reflected current. A current source is configured to pull down a first output node to a first logic level if the reflected current is substantially zero. The current mirror is configured to drive the first output node to a second logic level otherwise. Additionally, the second decoder circuit operates in a substantially similar manner to the first decoder circuit, albeit different in some ways.

FIG. 1 illustrates a block diagram of a tri-level decoder circuit ( 100 ). Tri-level decoder circuit 100 includes a first decoder circuit ( 182 ), a second decoder circuit ( 184 ), a driver circuit ( 130 ), and low-pass filter circuit 150 . Decoder circuit 182 includes a first switch circuit ( 102 ), a first current source ( 112 ), a first current mirror circuit ( 122 ), and a second current source circuit ( 113 ). Decoder circuit 184 includes a second switch circuit ( 104 ), a third current source ( 114 ), a second current mirror circuit ( 124 ), and a fourth current source circuit ( 115 ). Current source circuits 112 – 115 may each include a transistor, a resistor, or the like.

First switch circuit 102 is coupled to a first switch node (N 3 ), a first mirror node (N 4 ), and a control node (N 2 ). Current source circuit 112 is coupled to node N 3 . Current mirror circuit 122 has a first port coupled to node N 4 and a second port coupled to a first output node (N 5 ). Current source circuit 113 is coupled to node N 5 .

Second switch circuit 104 is coupled to a second switch node (N 6 ), a second mirror node (N 7 ), and node N 2 . Current source circuit 114 is coupled to node N 6 . Current mirror circuit 124 has a first port that is coupled to node N 7 and a second port that is coupled to a second output node (N 8 ). Current source circuit 115 is coupled to node N 8 . Low-pass filter circuit 150 is coupled between nodes N 1 and N 2 . Low-pass filter circuit 150 is an optional element that need not be included in circuit 100 . Driver circuit 130 is coupled to node N 2 .

First switch circuit 102 is configured to receive a control signal (CTL) at node N 2 . The control signal has an associated voltage (VCTL). Switch circuit 102 is further configured to reduce a resistance between node N 4 and node N 3 if voltage VCTL exceeds a low threshold. Switch circuit 102 is further configured to isolate node N 4 from node N 3 otherwise.

Current mirror circuit 122 is configured to receive a first switch current (I 1 ) at node N 4 . Current mirror circuit 122 is further configured to reflect current 11 to provide a first reflected current (I 2 ) at node N 5 according to a pre-determined ratio (A). Preferably, the ratio (A) is greater than one-to-one. According to one example, the ratio (A) is three-to-one such that I 2 is approximately three times greater than I 1 .

Switch circuit 104 is configured to also receive voltage VCTL. Switch circuit 104 is further configured to isolate node N 7 from node N 6 if voltage VCTL exceeds a high threshold. Switch circuit 104 is further configured to reduce a resistance between node N 6 and node N 7 otherwise.

Current mirror circuit 124 is configured to receive a second switch current (I 3 ) at node N 7 . Current mirror circuit 124 is further configured to reflect current I 3 to provide a second reflected current (I 4 ) at node N 8 according to another pre-determined ratio (B). According to one example, B is the same as the pre-determined ratio (A). Alternatively, the ratio (A) may be different from the other ratio (B).

Driver circuit 130 is configured such that if node N 2 does not receive an input signal strong enough to drive node N 2 , driver circuit 130 actively drives node N 2 so that node N 2 is not floating. Driver circuit 130 is configured to drive node N 2 to a voltage between the low threshold and the high threshold if node N 2 does not receive a driving input signal. Node N 2 will receive a driving input signal from node N 1 if node N 1 is driven to an active high logic level or an active low logic level. Node N 2 will not receive a driving input signal if node N 1 is left floating.

›DETAILED DESCRIPTION · 2 of 4

Circuit 100 receives an input signal (IN) at node N 1 . Signal IN has an associated voltage (VIN). According to one implementation, circuit 100 is configured to detect whether node N 1 has been actively pulled high, actively pulled low, or left floating, and to produce a corresponding two-bit digital output, with one bit each at nodes N 5 and N 8 . According to an alternative implementation, circuit 100 is configured to detection with node N 1 is actively pulled high, actively pulled low, or driven to an intermediate voltage level. Circuit 100 is arranged to provide signal OUT 0 at node N 5 and signal OUT 1 at node N 8 . Signal OUT 0 has a corresponding voltage (VOUT 0 ), and signal OUT 1 has another corresponding voltage (VOUT 1 ). Signal OUT 0 corresponds to a logic low if node N 1 actively driven low. Signal OUT 0 corresponds to a logic high if node N 1 is either floating or actively driven high. Signal OUT 1 corresponds to a logic low if node N 1 is either floating or actively driven low. Signal OUT 1 corresponds to a logic high if node N 1 is actively driven high. Signal OUT 0 corresponds to one bit of the two-bit digital output, and signal OUT 1 corresponds to another bit of the two-bit digital output. These values are summarized in the truth table below. According to the alternative implementation, “floating” may be replaced with “intermediate voltage level.”

The decoded digital output bits at node N 5 and N 8 can be latched. If the decoded digital output bits are latched, driver circuit 130 , decoder circuit 182 , and decoder circuit 184 can then all be switched off to reduce power consumption.

In one example, circuit 100 is configured to operate over a wide power supply range, to operate with relatively little power, and can be implemented in a relatively small area for an integrated circuit.

According to one embodiment, driver circuit 130 is configured to drive node N 2 (and thus node N 1 also) such that circuit 100 requires no external passive or active circuit components. According to another embodiment, circuit 100 does not include driver circuit 130 .

In the embodiment where circuit 100 includes driver circuit 130 , driver circuit 130 is configured to generate an intermediate voltage level. In this embodiment, circuit 100 is configured to detect if node N 1 has been shorted to the power supply, shorted to ground, or externally left “floating”. If node N 1 is not actively driven, the internal driver maintains node N 1 at the intermediate voltage level and an external circuit to drive the pin to that level is not required.

Driver circuit 130 is not necessary for decoder functionality. In the embodiment where driver circuit 130 is not included in circuit 100 , circuit 100 is configured to detect whether node N 1 is tied to ground, tied to power, or driven to an intermediate voltage level. An external driver (not shown) may be used to drive the node to the intermediate voltage level if node N 1 is not tied to power or ground.

FIG. 2 schematically illustrates an exemplary embodiment ( 200 ) of circuit 100 . In this implementation, driver circuit 130 includes transistors (M 1 and M 5 ) and current sources ( 216 and 217 ). Transistors M 1 and M 5 are each configured to operate as a diode. Switch circuit 102 includes transistor M 6 . Switch circuit 104 includes transistor M 2 . Current mirror circuit 122 includes transistors M 7 and M 8 . Current mirror circuit 124 includes transistors M 3 and M 4 . Circuit 200 may optionally further include a resistor (Rin).

According to this implementation, the low threshold corresponds to: the threshold voltage of transistor M 6 , plus the saturation voltage of current source circuit 112 , minus the voltage drop across resistor Rin. The high threshold corresponds to: Vdd minus the threshold of transistor M 2 , plus the voltage drop across resistor Rin, where Vdd is the voltage associated with the power supply.

FIG. 3 illustrates a timing diagram ( 300 ) for circuit 200 . Timing diagram 300 includes a waveform for VCTL ( 320 ) and a waveform for VOUT 0 ( 330 ). Timing diagram 300 shows VCTL and VOUT 0 when voltage VCTL undergoes a relatively large negative glitch, coupled through an external capacitance. Timing diagram 300 shows a negative glitch in voltage VCTL before voltage VCTL recovers from the glitch. In one embodiment, if node N 1 is externally floated, then it is being driven only by the relatively weak, low power internal driver. It is then possible for noise or fast slewing signals to be capacitively coupled into node N 1 , for example, through parasitic capacitance between electronic circuit traces such those found in printed circuit boards, integrated circuits, and the like. If a relatively large negative glitch occurs in voltage VCTL, transistor M 6 conducts substantially no current. If that happens, digital output voltage VOUT 0 is pulled to a logical low by current source circuit 113 , as shown in timing diagram 300 . Accordingly, this negative glitch can result in a false reading in the digital output signal.

FIG. 4 shows a block diagram of another tri-level decoder circuit ( 400 ). Circuit 400 is substantially similar to circuit 100 in some ways, albeit different in other ways. Tri-level decoder circuit 100 includes a first decoder circuit ( 482 ), a second decoder circuit ( 484 ), a driver circuit ( 130 ), and a low-pass filter circuit ( 440 ). First decoder circuit 482 is similar to first decoder circuit 182 in some ways, albeit different in other ways. Decoder circuit 482 further includes a non-linear filter circuit ( 452 ) that is coupled between nodes N 4 and N 5 .

Second decoder circuit 484 is similar to second decoder circuit 184 in some ways, albeit different in other ways. Decoder circuit 484 further includes another non-linear filter circuit ( 454 ) that is coupled between nodes N 7 and N 8 . Low-pass filter circuit 150 is coupled between nodes N 1 and N 2 . Non-linear filter circuit 452 is configured for preventing negative glitches from giving a false reading for signal OUT 0 . Non-linear filter circuit 454 is configured for preventing positive glitches from giving a false reading for signal OUT 1 .

›DETAILED DESCRIPTION · 3 of 4

FIG. 5 schematically illustrates a tri-level decoder circuit ( 500 ) that is an exemplary implementation of circuit 400 . Circuit 500 is substantially similar to circuit 400 in some ways, albeit different in other ways.

Circuit 500 further includes a modified Wilson current mirror circuit ( 540 ), low-pass filter circuit 150 , transistor M 9 and current source 518 . Current source circuit 112 includes transistor M 15 . Current source circuit 113 includes transistor M 16 . Current source circuit 114 includes transistor M 11 . Current source circuit 115 includes transistor M 12 . Current source 216 includes transistor M 14 . Current source 217 includes transistor M 10 . Non-linear filter circuit 452 includes capacitor C 1 . Non-linear filter circuit 454 includes capacitor C 2 . Modified Wilson current mirror circuit 540 includes transistors M 13 and M 17 –M 20 . Low-pass filter circuit 150 includes two resistors (Rin 1 and Rin 2 ) and capacitor C 3 . Resistor Rin 1 is coupled between nodes N 1 and N 9 . Resistor Rin 2 is coupled between nodes N 2 and N 9 . Capacitor C 3 is coupled between nodes N 9 and N 10 . The gates of transistors M 14 –M 16 are all coupled to node N 10 . The gates of transistors M 9 –M 12 are all coupled to node N 11 .

Capacitor C 1 is configured to operate as a drooping sample-and-hold circuit if transistor M 6 is deactivated as a result of a capacitively coupled glitch. If a relatively large negative transient glitch is applied at node N 2 , transistor M 6 conducts substantially no current.

Transistors M 10 –M 12 are each configured to receive a p-type bias signal (pbias) at their respective gates. Transistors M 14 –M 16 are each configured to receive an n-type bias signal (nbias) at their respective gates.

When excited by extremely fast input edges, low-pass filter circuit 150 functions as a negative feedback loop. Capacitor C 3 is arranged such that the voltage at node N 10 is changed if the voltage at node N 9 changes. Driver circuit 130 is configured to pull the voltage in the opposite direction, providing negative feedback accordingly.

To maximize noise immunity, modified Wilson current mirror circuit 540 is configured to force the voltage at node N 2 to a voltage near the midpoint between the low threshold and the high threshold if node N 1 is floating. Transistor M 20 is not used in the mirroring of the current. Transistor M 20 is configured to function briefly as a current path from M 17 to M 13 to insure correct initial conditions when power is initially applied.

According to a low-power implementation of circuit 500 , relatively little current is used to drive node N 1 to the intermediate voltage level. If large amounts of drive current or large values of decoupling capacitance are not used, the intermediate voltage level may be susceptible to noise interference, typically in the form of signals capacitively coupled to node N 1 through parasitic capacitance from nearby printed circuit board traces. Such interfering signals could instantaneously corrupt signal IN enough such that the decoder, if evaluated at that instant, would decode an erroneous level at the input.

Large values of decoupling capacitance may not be economical within an integrated circuit and may be a cost and area disadvantage if required externally on the printed circuit board. The low-power implementation is configured to reject interfering signals without requiring the use of large drive currents or of large internal or external capacitors. A relatively small internal capacitor (less than 0.5 pF) can be used to set a low-pass-filtering maximum slew rate during normal mid-level decoding. The same small capacitor is configured to cause each decoder circuit to act as a drooping sample and hold when short-time interfering signals of large amplitude are present during decoding. As will be shown, the maximum slew rate for non-interfering signals is many times faster than the slow droop rate. Thus, in the low-power implementation of the circuit 500 , each of the decoder circuits is configured to attenuate both low level wideband interfering signals and short-time large level interfering signals, such as capacitively coupled voltage steps, by functioning as a non-linear low-pass filter. This interference rejection is equivalent to the rejection of circuits using much more drive current or to circuits using much larger capacitors.

FIG. 6 shows a timing diagram ( 600 ) for circuit 500 . Timing diagram 600 includes a waveform for VCTL ( 620 ) and a waveform for VOUT 0 ( 630 ). Timing diagram 600 shows voltages VCTL and VOUT 0 when voltage VCTL a negative glitch. Timing diagram 600 shows a negative glitch in voltage VCTL before voltage VCTL recovers from the glitch. As can be seen, voltage VOUT 0 is affected, but does not go low enough to result in a false reading.

Timing diagram 600 illustrates a relatively large negative transient glitch capacitively coupled into node N 1 . If a negative glitch occurs in voltage VCTL, transistor M 6 conducts substantially no current. If this event occurs, decoder circuit 482 functions as a drooping sample/hold amplifier with a known discharge rate at the output (OUT 0 ). Glitches that do not last long enough to slew down below the output digital logic threshold voltage do not cause a false digital output. The rate of drooping is approximately given by I 2 /[C 1 *(A+1)]. Positive transient glitches do not cause a false output at node N 5 .

In one embodiment, the slew rate at VOUT 0 is many times faster for positive edges passing through its switching transition level than for negative edges. This is because M 6 is turned on under these conditions and thus there exist two current paths, that through M 6 and that through M 8 , to supply charging current to the capacitor C 1 . If the capacitance seen at the gates of M 7 and M 8 were very small, the total instantaneous current available to charge C 1 would be given by Icharge=[I 1 *(A+1)]−I(M 16 ). However, for small values of C 1 , the gate capacitances at M 7 and M 8 sum to a number comparable to the value of C 1 , and the instantaneous current charging C 1 is limited to a smaller multiple due to current division which occurs when simultaneously charging C 1 and the gate capacitances. In one embodiment in a CMOS process, with A=3 and C 1 =0.25 pF, the positive transition slew rate is approximately five times faster than the negative transition slew rate.

›DETAILED DESCRIPTION · 4 of 4

As shown in FIG. 5 , capacitor C 2 is configured to operate in a substantially analogous manner to capacitor C 1 . Capacitor C 2 is configured to act as a drooping sample-and-hold circuit if large positive transient glitches are applied in voltage VCTL, where here the droop is a positive voltage change, toward the erroneous logic high state at VOUT 1 . The rate of drooping is approximately given by I 4 /[C 2 *(B+1)]. Negative transient glitches do not cause a false output at node N 8 . The output slew rate for negative edges passing through its transition level is similarly many times faster than the droop rate while holding.

Capacitors C 1 and C 2 are both configured to operate as non-linear slew rate-limiting filters. Capacitors C 1 and C 2 are configured to hold the old correct digital value and slowly slew towards an erroneous output level if large amplitude transient glitches, which would otherwise cause false digital outputs, are applied.

The filtering provided by capacitors C 1 and C 2 may be provided by relatively small capacitors. According to one example, the capacitance of capacitors C 1 and C 2 are each well below 0.5 pf.

The above specification, examples and data provide a description of the manufacture and use of the composition of the invention. Since many embodiments of the invention can be made without departing from the spirit and scope of the invention, the invention also resides in the claims hereinafter appended.

›Tables in the description — 1
VINOUT1OUT0
000
floating01
111

Claims as granted

23 claims

Log in to read the claims of this application.

Log in to unlock

Classifications

5 codes
IPC · International Patent Classification
Section H — Electricity
  • H03K19/094
  • H03K17/693
USPC · US Patent Classification
326/60327/416326/106

Claim changes

Soon
Coming soonHow the claims changed between publication and grant

See which claims were amended, added or cancelled during examination, with every added and removed word marked.

AmendedAddedCancelledUnchanged

The published claims of this application are not paired with the granted ones in what we hold.

File wrapper

⤢ drag to zoomJan 2004Apr 2004Jul 2004Oct 2004Jan 2005Apr 2005Jul 2005Oct 2005Jan 2006Apr 2006Jul 2006Oct 2006USPTOApplicantNon-final rejectionNon-final rejectionResponse after non-final
USPTOApplicanthover for detail · click to open
Pendency
2.6 y
951 days filing → grant
Office actions
2
non-final + final
Responses
2
no RCE
Examiner
Daniel Chang
art unit 2819 · TC 2800
Citations: 6 back · 3 forward

See the full prosecution history — every USPTO and applicant action on this file, in order.

Log in to unlock

Documents

Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.

Log in to unlock

Chain of title

⤢ drag to zoom20042006200820102012201420162018202020222024Owner 1
Titlehover for detail · click to open

See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.

Log in to unlock