Precision current source with programmable slew rate control

09727073 · 2017-08-08

Assignee

Inventors

Cpc classification

International classification

Abstract

New devices and methods for producing a precision current source or sink with programmable slew rate are disclosed. For example, an electronic circuit capable of providing precision current control including a programmable slew rate is disclosed. For example, the electronic circuit can include a constant current circuit configured to provide a constant current, and a transient current circuit coupled to the constant current circuit at a common electrical node, the transient current circuit configured to sample the constant current of the constant current circuit during a sampling phase, then provide a turn-on programmable slew rate based on the sampled constant current during an active phase.

Claims

1. An electronic circuit capable of providing precision current control including a linear slew rate, the electronic circuit comprising: a constant current circuit to provide a constant current; a transient current circuit coupled to the constant current circuit at a common electrical node, the transient current circuit to sample the constant current of the constant current circuit during a sampling phase, then provide a turn-on linear slew rate based on the sampled constant current during an active phase, the transient circuit including first switches, second switches, and a current-limited amplifier having an output coupled to a control input of a transistor and a first capacitor, the current-limited amplifier being configured in a voltage-follower configuration with a second capacitor coupled to a positive input of the current-limited amplifier, so that the current-limited amplifier and the transistor form a voltage-to-current converter that converts a voltage across the first capacitor to a current; and control circuitry to switch the transient current circuit between the sampling and active phases by closing the first switches and opening the second switches during the sampling phase, and opening the first switches and closing the second switches during the active phase, the second switches including at least an output switch arranged between the common electrical node and an output node that, while open, prevents current from exiting an output of the electronic circuit and a sampling switch arranged between the constant current circuit and the transistor that controls the transient current circuit to switch from the sampling phase to the active phase.

2. The electronic circuit of claim 1, wherein the first switches of the transient current circuit further includes at least two switches coupling the positive input of the current-limited amplifier to the constant current source.

3. The electronic circuit of claim 1, wherein the constant current circuit includes at least one transistor acting as a current mirror of another transistor.

4. The electronic circuit of claim 1, wherein the transient current circuit includes compensation circuitry to compensate for sampling current consumed during the sampling phase.

5. The electronic circuit of claim 1, wherein the transient current circuit includes a transient waveform circuit that defines a shape of the turn-on programmable slew rate coupled to a variable current controller.

6. The electronic circuit of claim 5, wherein the transient waveform circuit includes a capacitor in parallel with a resistor.

7. The electronic circuit of claim 5, wherein the transient current circuit directly samples the constant current of the constant current circuit during the sampling phase.

8. The electronic circuit of claim 5, wherein the transient waveform circuit includes a capacitor electrically in parallel with a constant current device.

9. The electronic circuit of claim 5, wherein the transient waveform circuit includes a capacitor electrically in parallel with a resistor.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) Various embodiments of this disclosure that are proposed as examples will be described in detail with reference to the following figures, wherein like numerals reference like elements, and wherein:

(2) FIG. 1 is a generalize example of a current source with programmable slew rate.

(3) FIG. 2 is an example of a realizable transient current circuit usable for the current source of FIG. 1 and capable of producing a linear slew.

(4) FIG. 3 depicts various waveforms generated by the circuitry of FIGS. 1 and 2.

(5) FIG. 4 is an example of a second type of transient current circuit usable for the current source of FIG. 1 and capable of producing an exponential slew.

(6) FIG. 5 is an example of a current source with programmable slew rate.

(7) FIG. 6 is a second example of a precision current source with programmable slew rate having improved linearity as compared to the circuit examples of FIGS. 1 and 5.

(8) FIG. 7 is a flowchart outlining a set of example operations useful for producing a precision current device with programmable slew rate.

DETAILED DESCRIPTION OF EMBODIMENTS

(9) The disclosed methods and systems below may be described generally, as well as in terms of specific examples and/or specific embodiments. For instances where references are made to detailed examples and/or embodiments, it is noted that any of the underlying principles described are not to be limited to a single embodiment, but may be expanded for use with any of the other methods and systems described herein as will be understood by one of ordinary skill in the art unless otherwise stated specifically.

(10) FIG. 1 is a generalize example of a precision current source 100 with programmable slew rate. The current source 100 includes a control circuit 110, a constant current circuit 120, a transient current circuit 130, and an open/closed output switch SW1.

(11) The control circuit 110 of FIG. 1 includes an assortment of electronic components, including timing components, delays and drivers, capable of manipulating any number of switches. The precise makeup of the control circuit 110 can vary from embodiment to embodiment to encompass different types of functional components as well as different types of technologies, such as analog and digital electronics, optical components and/or any other viable technology capable of controlling a plurality of switches.

(12) The constant current circuit 120 of FIG. 1 includes an idealized current source 122. The idealized current source 122 can take any number of forms, such as one or more transistors acting as a current mirror, as is readily known to those of ordinary skill in the art in light of this disclosure. The constant current circuit 120 produces a constant current I.sub.1.

(13) The transient current circuit 130 of FIG. 1 includes an idealized variable current source 132 controlled by a transient waveform circuit 134, and two open/closed sampling switches SW2 and SW2B. The constant current circuit 120 produces a transient current I.sub.2.

(14) In operation, there are two operational phases: a sampling phase followed by an active phase.

(15) During the sampling phase, the control circuit 100 opens the output switch SW1, closes the sampling switch SW2 and opens switch SW2B. This causes the output current IouT to equal zero, and current I.sub.1 to equal current I.sub.2, thus allowing the transient current circuit 130 to accurately measure/sample the current I.sub.1 provided by the constant current circuit 120. Once the transient current circuit 130 has measured the current I.sub.1 provided by the constant current circuit 120, the control circuit 100 closes the output switch SW1, opens sampling switch SW2 and closes switch SW2B such that the output current I.sub.OUT equal current I.sub.1 minus current I.sub.2, i.e., I.sub.OUT=I.sub.1−I.sub.2.

(16) FIG. 2 is an example of a realizable transient current circuit 130 usable for the current source 100 of FIG. 1 capable of producing a linear slew as will be further described in FIG. 3. As shown in FIG. 2, the realizable transient current circuit 130 includes a transistor Q.sub.1 acting as a variable/controllable current source, and a capacitor C.sub.1 in parallel with constant current source I.sub.C, which as known to those skilled in the relevant arts in view of this disclosure can be a current mirror or any number of known or later developed electronic circuits.

(17) During the sampling phase when I.sub.1=I.sub.2, the voltage across capacitor C.sub.1 is charged so as to bias the gate of transistor Q.sub.1 until a steady state condition is reached, i.e., the voltage across the capacitor C.sub.1 and the current though the transistor Q.sub.1 are unchanging. Upon start of the active phase when the sampling switch SW2 is opened and SW2B is closed, the voltage across the capacitor C.sub.1 will drop as a linear function of time. Accordingly, the current through the transistor Q.sub.1 will linearly decline as a function of the declining voltage across capacitor C.sub.1 until I.sub.2=0.

(18) Often, a circuit may have a settling requirement. This means that a current must settle to a certain accuracy. For the devices in this disclosure, however, current I.sub.1 is settled long before needed such that as the circuit switches modes, current I.sub.1 will settle 100% once the transient operation is completed

(19) FIG. 3 depicts various waveforms of the circuitry of FIGS. 1 and 2. As is shown in FIG. 3, there is sampling phase that transitions to an active phase at time T.sub.1. Control lines CL1 and CL2 (generated by control circuit 110), which control the output switch SW1 and the sampling switch SW2 of FIG. 1, cause current I.sub.2 to equal current I.sub.1, and output current I.sub.OUT to equal zero prior to time T.sub.1. While control lines CL1 and CL2 appear inverted to one another, this is depicted so as to give an idea that some switches will be opened while others are closed. A single control line for all switches may be sufficient assuming that such switches are appropriately active high or low.

(20) After time T.sub.1, however, current I.sub.2 transitions linearly to zero according to a predetermined slope based on the value of the capacitor C.sub.1 and the current source I.sub.C of FIG. 2. As current I.sub.2 transitions to zero, the output current I.sub.OUT transitions to current I.sub.1 according to the equation: I.sub.OUT=I.sub.1−I.sub.2.

(21) FIG. 4 is a second example of transient current circuit 120B usable for the current source of FIG. 1 capable of producing an exponential slew. The circuitry is identical to that of FIG. 2 except that current source I.sub.C is replaced by resistor R.sub.C. Upon transition to an active phase, the waveform of current I.sub.2 will decline according to the equation: I.sub.2=I.sub.1×e.sup.(−t/RC). FIG. 4 demonstrates that an onset slew rate for the current source 100 of FIG. 1 can be manipulated to nearly any type of waveform based by used of any combination of linear components, e.g., resistors and capacitors, and non-linear components, such as diodes. Accordingly, a wide variety of slew waveforms may be provided as may be found necessary, useful or otherwise desirable.

(22) FIG. 5 is an example of a precision current sink 500 with programmable slew rate that can acts as a complement to the current source 100 of FIG. 1. The current sink 500 includes a control circuit 510, a constant current circuit 520, a transient current circuit 530, and an output switch SW51.

(23) The constant current circuit 520 includes transistor Q.sub.52 acting as a current mirror to transistor Q.sub.53.

(24) The transient current circuit 530 includes transistor Q.sub.51 acting as a variable current source, sampling switches SW52 and SW52B, and a capacitor C.sub.51 in parallel with current source I.sub.C5.

(25) As with the current source 100 of FIG. 1, there are two operational phases: a sampling phase followed by an active phase. One of ordinary skill in the art viewing this disclosure will readily see that the operation of the current sink 500 of FIG. 5 is analogous to that of the current source 100 of FIG. 1. As such, a detailed description of the operation of the current sink 500 is omitted here.

(26) FIG. 6 is another example of a current source 600 with programmable slew rate having improved linearity as compared to the devices of FIGS. 1 and 5. The current source 600 includes control circuitry (not shown so as to reduce clutter in FIG. 6), an output switch SW_B2, a constant current circuit 620, and a transient current circuit 630.

(27) The constant current circuit 620 includes an idealized current source 622 that produces current steady current I.sub.1.

(28) The transient current circuit 630 includes a number of switches {SW_A1, SW_A1, SW_A1, SW_B1, SW_B3}, a first capacitor C.sub.61 switchably in parallel with a first resistor R.sub.61 and a third resistor R.sub.63, an amplifier A fed by a current limiting source I.sub.C62, a second capacitor C.sub.62, a transistor Q.sub.61 and a second resistor R.sub.62.

(29) During the sampling phase, switches SW_B1, SW_B2 and SW_B3 are open and the remaining switches {SW_A1, SW_A2, SW_A3} are closed. In operation of the sampling phase, the voltage across the first capacitor C.sub.61 charges, while amplifier A, transistor Q61 and resistor R.sub.62 act as a voltage-to-current converter to the charge across capacitor C.sub.61. The current limiting source I.sub.C62 and second capacitor C.sub.62 provide stability to the voltage-to-current converter. A load (not shown) above switch SW_A3 provides a compensation current to counteract a measurement current consumed during sampling. Eventually, the transient current circuit 630 will reach a steady state whereby I.sub.2=I.sub.1.

(30) During the active phase, switches SW_B1, SW_B2 and SW_B3 are closed and the remaining switches {SW_A1, SW_A2, SW_A3} are opened. The RC constant of the first capacitor C.sub.63 and first resistor R.sub.61 provide an exponential decay, which in turn causes current I.sub.2 to decay proportionally. As with the previous examples, the first capacitor C.sub.61 and first resistor R.sub.61, which for this example constitute a transient waveform circuit, can be replaced with any combination of circuitry to provide a large variety of different onset slew waveforms. For example, by replacing the first resistor R.sub.61 with a constant current source, a linear slew rate is produced.

(31) FIG. 7 is a flowchart outlining a set of example operations useful for producing a precision current device with programmable slew rate. It is to be appreciated to those skilled in the art in light of this disclosure that, while the various functions of FIG. 7 are shown according to a particular order for ease of explanation, that certain functions may be performed in different orders or in parallel. The functions below are applicable to any number of current sources or current sinks having a desirable onset slew rate/waveform, including any of those devices described above for FIGS. 1-6.

(32) The process starts at S702 where a current level I.sub.1 for a constant current source is set/determined. At S704, a transfer function/waveform for an onset slew rate is determined. As discussed above, such a slew rate waveform can be linear, exponential or any of a large variety of designs as may be found necessary, useful or otherwise desirable. Control continues to S706.

(33) At S706, a number of switches, such as switches SW1 and SW2 of FIG. 1, (and possibly other sampling circuitry) is set so as to enable some form of transient current circuit to sample/mirror current level I.sub.1 until a transient current I.sub.2 settles to a constant state and I.sub.1=I.sub.2. Control continues to S708.

(34) At S708, the state of the switches and sampling circuitry is reconfigured so as to put the current source/sink into an active phase. Then, at S710 the transient current I.sub.2 is provided according to the predetermined transfer function/waveform of S704, thus causing the output current of the source/sink to transition from zero to current level I.sub.1 according to the equation: I.sub.OUT=I.sub.1−I.sub.2.

(35) While the invention has been described in conjunction with the specific embodiments thereof that are proposed as examples, it is evident that many alternatives, modifications, and variations will be apparent to those skilled in the art. Accordingly, embodiments of the invention as set forth herein are intended to be illustrative, not limiting. There are changes that may be made without departing from the scope of the invention.