Field of the Invention
This invention relates to clipping circuits. More particulary, it relates to such circuits for clipping signals substantially symmetrically.
Background of the Invention
Clipping is the limiting of the amplitude of an output signal when an input signal is above a given amplitude. Typically clipping occurs when the amplitude of the output signal reaches one of the supply rails, or an output stage driving transistor reaches its maximum output current by going into saturation or reaching maximum drive current.
For many applications, especially audio applications, it is desirable that clipping be performed symmetrically. Asymmetrical clipping introduces even harmonics to the output signal. Even harmonics do not naturally occur in audio signals and their presence can produce noticeable distortion for a listener.
Where clipping occurs as a result of the output signal amplitude reaching a supply rail at a different amplitude, with respect to the normal bias point of the output stage, from the amplitude at which the driving transistor reaches its maximum output current asymmetrical clipping will occur.
As a result, most output stages for applications where symmetrical clipping is desirable set the output stage bias point to be midway between one supply rail and the output voltage when the driving amplifier reaches its maximum output current. Typically, an output stage will consist of a bipolar junction transistor (BJT) amplifier whose emitter is connected to one supply rail and whose collector is connected through a resistor to the other supply rail. The input to the output stage is a current at the base of the transistor, while the output of the output stage is at the collector of the transistor. The only factor limiting upward signal excursion, assuming the other supply rail is a positive supply rail, is the difference between the bias point at the output and the positive supply rail. This difference is easily controlled. On the other hand the factors limiting downward signal excursion are the current gain of the amplifier, the driving current at the base of the amplifier and the saturation point of the amplifier. These factors are processing sensitive and interdependent. In order to obtain substantially symmetrical clipping each factor is set up at the time of processing and cannot be adjusted thereafter. In order to change the amount of clipping it is necessary to have separately processed circuits with each of the factors set for each desired clipping level.
Summary of the Invention
The invention provides a clipping circuit, comprising:
a) a voltage reference outputting a reference voltage;
b) a transconductance having a first current source of maximum drive current and outputting an output current; and
c) an input between the voltage reference and the transconductance for receiving an incoming signal; wherein, a change in the source of limited drive current is adapted to be matched with a change in the reference voltage such that a steady-state output current is substantially one-half of a maximum output current.
Brief Description of the Drawings
For a better understanding of the present invention, and to show more clearly how it may be carried into effect, reference will now be made, by way of example, to the accompanying drawings, which show a preferred embodiment of the present invention, and in which:
FIG. 1 is a block diagram of a clipping circuit according to the preferred embodiment of the present invention;
FIG. 2 is a circuit diagram of the clipping circuit of FIG. 1; and
FIG. 3 is a detailed circuit diagram of the clipping circuit of FIG. 1.
FIG. 4 is a circuit diagram of the voltage reference stage with added input impedance;
Detailed Description of the Preferred Embodiment
Referring to FIG. 1, the clipping circuit 1 has a voltage reference 3 and a transconductance 5. The voltage reference stage 3 and transconductance stage 5 are connected together and through a coupling capacitor C.sub.in to a voltage input v.sub.in. The output of the transconductance 5 is connected through a resistor R.sub.out to a first supply rail V.sub.s.
An output voltage, V.sub.o, is between R.sub.out and the output of the transconductance 5. The transconductance 5 outputs a current I.sub.o as a function of the voltage input V.sub.in and includes a source of limited drive current I.sub.D. I.sub.D is limited in the sense that it has a given maximum current. The voltage reference 3 outputs a reference voltage V.sub.R.
V.sub.R and I.sub.D are matched so that a change in V.sub.R is matched by a change in I.sub.Dmax such that a bias output current I.sub.obias is substantially one-half of a maximum output current I.sub.omax. The reference voltage R.sub.R sets the bias output current I.sub.obias of the circuit 1. It will be seen that a change in V.sub.in changes the input voltage to the transconductance stage 5, which will cause a change in the drive current I.sub.D. As discussed, to ensure symmetrical clipping the circuit 1 modifies the output bias current I.sub.obias so that it remains substantially one-half of the maximum output current I.sub.omax. The output voltage V.sub.o is equal to V.sub.s -R.sub.out I.sub.o. During steady-operation, the output current I.sub.o equals the output bias current I.sub.obias, and V.sub.obias is V.sub.s -I.sub.obias R.sub.out. The maximum upward signal swing from V.sub.obias, assuming V.sub.s is positive with respect to the output of the transconductance 5 and I.sub.o is negative, occurs when I.sub.obias is zero and is therefore I.sub.obias R.sub.out. The maximum downward signal swing from V.sub.obias is I.sub.omax R.sub.out -I.sub.obias R.sub.out. As I.sub.max =2 I.sub.obias the maximum downward signal swing from V.sub.obias is I.sub.obias R.sub.out. Thus the upward and downward signal swings are matched.
R.sub.out acts as a linear current controlled voltage source.
Referring to FIG. 2, the transconductance 5 may be implemented using a gain controlled block A between I.sub.D and V.sub.o. The gain block A is driven by I.sub.D. The gain of block A is controlled in that the gain is known and can be implemented using a substantially processing insensitive component.
As the gain of block A is controlled the relationship between the proportion of I.sub.D and the output current I.sub.o is not affected by processing.
Connected between the source of drive current I.sub.D and the voltage reference is a voltage to current converter 7 outlined in dashed lines. The voltage to current converter 7 determines the amount of drive current I.sub.D to be supplied to the controlled gain block A. The amount of drive current I.sub.D is one-half of the difference between maximum and minimum drive current when there is a steady-state signal at the input to the transconductance. Otherwise, the amount of drive current I.sub.D is proportional to the input to the transconductance unless the maximum or minimum drive current is reached.
For the simplest implementation the minimum drive current should be set to zero (i.e. the source of drive current is shut off) and the maximum output current I.sub.omax is twice the steady-state output current I.sub.obias. When this happens V.sub.o swings between V.sub.s when the drive current is zero and 2R.sub.out I.sub.obias from V.sub.s. This guarantees symmetrical clipping.
In order to communicate when the steady-state has been reached and what proportion of the maximum drive current is flowing, the controlled gain block A is connected back to the voltage to current converter 7. This connection provides a feedback loop 10.
The voltage reference 3 has a current controlled first voltage source V.sub.1 connected between a second supply rail, in this case ground GND, and the output of the voltage reference V.sub.R. The first voltage source V.sub.1 is controlled by a second current source I.sub.2.
The voltage to current converter 7 has a current controlled second voltage source V.sub.2 and a voltage controlled current sink I.sub.s. The current control input of the second voltage source V.sub.2 is connected to the current sink I.sub.s to and the gain block A via the feedback loop 10. The voltage control of the current sink I.sub.s is connected between the second voltage source V.sub.2 and the input to the transconductance 5. The current sink is connected to the source of driving current I.sub.D.
In operation, based on the voltage input V.sub.in the voltage to current converter 7 determines the proportion of maximum drive current I.sub.D presently flowing from the gain block A and represented in part as the voltage drop across the second voltage source V.sub.2. An increase in the second voltage source will decrease the voltage at the control input to the current sink I.sub.s, thereby decreasing the current being sunk. This decreases the output of the voltage to current converter 7 and decreases the amount of drive current I.sub.D. Additionally it decreases the sunk current flowing into the current control input of the second voltage source V.sub.2. Accordingly, when the voltage input V.sub.in reaches a steady-state value the transconductance 5 will also reach a steady-state and drive current I.sub.D will also reach a steady-state.
Referring now to FIG. 3, the current controlled first voltage source V.sub.1 has been implemented using a diode connected first BJT Q.sub.1 fed by a third current source I.sub.3 and connected through a first passive element to the second supply rail GND. The first passive element is a resistor R.sub.1. The second current source I.sub.2 is connected to Q.sub.1 and R.sub.1. The reference voltage V.sub.R is output at port 30, which also constitutes the input port for the transconductance stage 5. The signal input port for the circuit, for receiving V.sub.in, is indicated at 32.
The voltage controlled current sink I.sub.s is a second BJT Q.sub.2 whose base is connected via port 30 to the base of Q.sub.1, the input voltage V.sub.in via the capacitor C.sub.in, and emitter is connected to the controlled gain block A implemented by Q.sub.4 and Q.sub.5 as will be later described.
The current controlled second voltage source V.sub.2 is a passive element, in this case a resistor R.sub.2, connected between the emitter of Q.sub.2 and ground.
The source of driving current I.sub.D has a first current source I.sub.1, fourth current source I.sub.4, and a third BJT Q.sub.3. I.sub.4 is connected to the collector of Q.sub.2 and the base of Q.sub.3. I.sub.1 is connected to the collector of Q.sub.3. The emitter of Q.sub.3 is connected to ground.
The controlled gain block A has current mirror connected fourth and fifth BJTs Q.sub.4, Q.sub.5. The collector of Q.sub.4 is connected to I.sub.1 and the collector of Q.sub.5 is connected to the output voltage V.sub.o. The emitters of Q.sub.4, Q.sub.5 are connected to the emitter of Q.sub.2.
In operation, the collector current of Q.sub.5 is the output current I.sub.o. As previously discussed the condition of operation for symmetry is I.sub.obias = 1/2I.sub.omax. To show how the circuit of FIG. 3 achieves this condition it is assumed for simplicity that the gain block A has a gain of 1. A current mirror was used to implement the gain block A as the gain of a current mirror is easily controlled during processing by fixing the ratio of the physical areas of the BJTs. It is further assumed that I.sub.4 is approximately equal to I.sub.3, Q.sub.1 and Q.sub.2 having substantially the same gain and R.sub.1 has substantially the same resistance as R.sub.2.
I.sub.3 will flow through Q.sub.1 and I.sub.3 and I.sub.2 will flow through R.sub.1. It will be evident that the voltage drop across the resistor R.sub.1 and the emitter junction of Q.sub.1 creates the reference voltage at the base of Q.sub.1.
Looking at the transconductance 5, as the gain of the current mirror comprising the gain block A is unity, the current flowing in the collectors of Q.sub.4 and Q.sub.5 will be substantially the same. The maximum drive current flowing into the gain block A will be I.sub.1, i.e. when Q.sub.3 shuts off. Therefore I.sub.omax is substantially equal to I.sub.1.
It will be seen that by applying an input voltage V.sub.in, the circuit 1 is biased and the resultant current flowing in the feedback loop 10 from the gain block A is 2I.sub.1 or 2I.sub.obias. Symmetrical clipping, i.e. I.sub.obias =1/2I.sub.omax, is achieved by making the current source I.sub.1 substantially equal to the current source I.sub.2. Applying the well-known Kirchhoff's Voltage Law around the emitter-base loop of transistors Q.sub.1 and Q.sub.2, the following expression is obtained:
Since I.sub.3 is substantially the same as I.sub.4, and Q.sub.1 and Q.sub.2 are matched, the V.sub.be 's of Q.sub.1 and Q.sub.2 will be substantially the same and drop out the above expression. Then, V.sub.R1 is equal to VR2, and applying the well-known Ohm's Law, the following expression is obtained:
(I.sub.2 +R.sub.3)R.sub.1 =(I.sub.4 +2I.sub.1)R.sub.2
(I.sub.2 +I.sub.3)R.sub.1 =(I.sub.4 +2I.sub.obias)R.sub.2
Since, R.sub.1 is substantially the same as R.sub.2, and I.sub.3 is substantially the same as I.sub.4, the above expression reduces to 2I.sub.obias =I.sub.2. Therefore, if I.sub.1 is substantially equal to I.sub.2, then I.sub.obias is equal to 1/2I.sub.1 or 1/2I.sub.Dmax.
Should I.sub.obias not substantially equal twice I.sub.2 then the voltage across R.sub.2 will be too high to too low. Should it be too low Q.sub.2 will turn on harder, drawing current away from the base of Q.sub.3. Less current will flow from I.sub.1 into Q.sub.3 and more into the gain block A. More current will flow out of the gain block A into R.sub.2 to raise the voltage across R.sub.2 until I.sub.obias reaches 1/2I.sub.2. The opposite effect will occur when the voltage across R.sub.2 is too high. Thus if I.sub.1 is substantially the same as I.sub.2 then I.sub.obias will be one-half of I.sub.omax.
The gain of Q.sub.3 must be sufficiently high to not draw away significant current from Q.sub.2 affecting the mirroring process. Q.sub.3 acts as a current controlled current sink sinking current away from I.sub.1. It will be seen that Q.sub.2 and Q.sub.3 act together as a steering circuit, controlling how current I.sub.1 is divided between current sink Q.sub.3 and gain stage A. It will also be seen that Q.sub.4 and Q.sub.5 are a current-controlled current amplifier with predictable gain, i.e. Q.sub.4 receives a controlled current (all or part of I.sub.1) and Q.sub.4 Q.sub.5 each output a current which is proportional to the current received by Q.sub.4.
It is possible to make devices where I.sub.obias is substantially one-half of I.sub.omax without having I.sub.1 and I.sub.2, I.sub.3 and I.sub.4, R.sub.1 and R.sub.2, Q.sub.1 and Q.sub.2, and Q.sub.4 and Q.sub.5 substantially the same. It is important though to match these components to ensure the ultimate circuit 1 does meet the I.sub.obias is substantially one-half I.sub.omax criterion.
For example, where Q.sub.5 has twice the gain of Q.sub.4 the gain of the gain block A will be approximately 2. I.sub.omax will be twice I.sub.1. As discussed, to achieve symmetrical clipping I.sub.obias must be 1/2I.sub.omax and therefore I.sub.obias must be equal to I.sub.1. At equilibrium I.sub.2 must be set to 1.5 I.sub.1. In these circumstances I.sub.2 should equal one-half the gain of the gain block A plus one-half, multiplied by I.sub.1.
Other matching of the components will be evident to those skilled in the art.
Another advantage of the circuit 1 is that the small signal voltage gain is independent of the clipping level. For a change in V.sub.in, the V.sub.be of Q.sub.2 will lag behind the change causing the voltage across R.sub.2 to change. The change in the voltage across R.sub.2 will draw a proportionally different current through the gain block A into R.sub.2. This changes I.sub.o by one-half the change in the current in the gain block A. V.sub.o will change by a factor of R.sub.out times the change in I.sub.o. Thus the small signal gain of the circuit is approximately ##EQU1## where oc is the gain of the gain block A.
Referring now to FIG. 4, resistor R.sub.3 between the base and collector of Q.sub.1, and resistor R.sub.4 between the collector of Q.sub.1 and the connection of the coupling capacitor C.sub.in and the base of Q.sub.2, may be added to increase the input impedance seen by V.sub.in. R.sub.3 and R.sub.4 should be matched, and for simplest implementation be substantially the same, to keep the mirroring effect of Q.sub.1 and Q.sub.2.
Other embodiments of the present invention will be evident to those skilled in the art and fall within its spirit and scope, as defined by the following claims.