Claims
- 1. A low distortion compression amplifier, comprising:
an amplifier circuit having an input and an output, wherein an input signal is received at the input and amplified in accordance with a gain to form an output signal at the output; a comparator circuit operable to receive the output signal and generate a first control signal in response thereto; and a digital gain control circuit coupled to the amplifier circuit, and operable to generate a digital gain control signal based at least in part on the first control signal, and wherein the gain control signal is operable to modulate the gain of the amplifier circuit in a digital fashion.
- 2. The amplifier of claim 1, wherein the comparator circuit is operable to compare the output signal to a predetermined threshold and wherein a state of the first control signal is a function of the comparison.
- 3. The amplifier of claim 1, wherein the gain control circuit comprises:
a first digital gain modulation circuit operable to generate a first gain control signal for modulating the gain at a first rate or a second rate; a second digital gain modulation circuit operable to generate a second gain control signal for modulating the gate at a third rate or a fourth rate; and a selection circuit operable to select one of the first and second gain control signals as the gain control signal based on a predetermined criteria.
- 4. The amplifier of claim 3, wherein the first digital gain modulation circuit comprises:
a first multiplexer operable to pass a first frequency signal or a second frequency signal to an output thereof based on the first control signal of the comparator circuit; and a first shift register operable to shift digital data of a first state in a first direction at the first frequency when the first control signal indicates the gain of the amplifier circuit is too high, and shift digital data of a second state in a second direction at the second frequency when the first control signal indicates the gain is not too high.
- 5. The amplifier of claim 4, wherein the first register comprises a multi-bit parallel output, and wherein a state of the multi-bit parallel output comprises a first digital word having a value indicative of a modulated gain of the amplifier circuit.
- 6. The amplifier of claim 5, wherein the second digital gain modulation circuit comprises:
a second multiplexer operable to pass a third frequency signal or a fourth frequency signal to an output thereof based on a second control signal, wherein the second control signal is a function of the first digital word value; and a second shift register operable to shift digital data of a first state in a first direction at the third frequency when the second control signal indicates the gain of the amplifier circuit is too high, and shift digital data of a second state in a second direction at the fourth frequency when the second control signal indicates the gain is not too high.
- 7. The amplifier of claim 6, wherein the digital gain control circuit further comprises a first logic circuit operable to receive the first digital word from the first shift register and output the second control signal having a state which is a function of the first digital word value.
- 8. The amplifier of claim 7, wherein the first logic circuit outputs the second control signal at a state to shift digital data of the first state in the first direction when the first digital word value is greater than a fixed value.
- 9. The amplifier of claim 7, wherein the digital gain control circuit further comprises a second logic circuit operable to compare the first digital word from the first shift register to a second digital word comprising a multi-bit parallel output from the second shift register, and output the digital gain control signal in response thereto.
- 10. The amplifier of claim 3, wherein the comparator circuit comprises:
an upper threshold comparator circuit operable to alter an output state thereof when the input signal or the output signal of the amplifier circuit exceed an upper threshold value; and a lower threshold comparator circuit operable to alter an output state thereof when the input signal or output signal of the amplifier circuit falls below a lower threshold value.
- 11. The amplifier circuit of claim 10, further comprising a fourth logic circuit operable to enable the first digital gain modulation circuit when the upper threshold comparator circuit indicates the upper threshold value was exceeded or when the input signal or the output signal falls below the lower threshold value.
- 12. The amplifier circuit of claim 11, further comprising a delay circuit coupled between the lower threshold comparator and the fourth logic circuit, and operable to delay a signal transmitted therebetween.
- 13. The amplifier circuit of claim 11, wherein the first digital gain modulation circuit comprises:
a first multiplexer operable to pass a first frequency signal or a second frequency signal to an output thereof based on the first control signal of the comparator circuit; and a first shift register operable to be enabled or disabled based on an enable control signal from the fourth logic circuit, and further operable to shift digital data of a first state in a first direction at the first frequency when the first control signal indicates the upper threshold value has been exceeded, and shift digital data of a second state in a second direction at the second frequency when the first control signal indicates the output signal of the amplifier has fallen below the lower threshold value.
- 14. The amplifier of claim 13, wherein the first register comprises a multi-bit parallel output, and wherein a state of the multi-bit parallel output comprises a first digital word having a value indicative of a modulated gain of the amplifier circuit.
- 15. The amplifier of claim 14, wherein the second digital gain modulation circuit comprises:
a second multiplexer operable to pass a third frequency signal or a fourth frequency signal to an output thereof based on a second control signal, wherein the second control signal is a function of the first digital word value; and a second shift register operable to shift digital data of a first state in the first direction at the third frequency when the second control signal indicates the gain of the amplifier circuit is too high, and shift digital data of a second state in the second direction at the fourth frequency when the second control signal indicates the gain is not too high.
- 16. The amplifier of claim 15, wherein the digital gain control circuit further comprises a third logic circuit operable to compare the first digital word from the first shift register to a second digital word comprising a multi-bit parallel output from the second shift register, and output the second control signal having a state which is a function of the comparison.
- 17. The amplifier of claim 16, wherein the third logic circuit is further operable to disable the second shift register when a value of the first and second digital words are equal.
- 18. The amplifier of claim 17, wherein the third logic circuit is further operable to generate the second control signal having a state which is a function of a comparison between the first and second digital word values.
- 19. A method of digitally controlling a gain associated with an amplifier circuit, comprising:
comparing an output signal to a threshold; and modulating the gain in a digital fashion, wherein the gain is modulated up in a plurality of rates or down in a plurality of rates in response to the comparison.
- 20. The method of claim 19, wherein modulating the gain comprises:
shifting digital data of a first state in to the right of a first shift register at a first rate when the output signal exceeds the threshold, wherein the gain modulation rate is a function of the first shift rate; and shifting digital data of a second state in to the left of the first shift register at a second rate when the output signal falls below the threshold, wherein the gain modulation rate is a function of the second shift rate.
- 21. The method of claim 20, wherein modulating the gain further comprises:
shifting digital data of the first state in to the right of a second shift register at a third rate when a multi-bit digital word output of the first register exceeds a fixed value; and otherwise shifting digital data of the second state in to the left of the second shift register at a fourth rate.
- 22. The method of claim 21, wherein modulating the gain further comprises:
comparing a multi-bit digital word output of the second shift register with the multi-bit digital word of the first shift register; and selecting one of the multi-bit digital word outputs as a digital gain control signal for modulating the gain based on the comparison.
- 23. The method of claim 20, wherein modulating the gain further comprises:
shifting digital data of the first state in to the right of a second shift register at a third rate when a multi-bit digital word output of the first register exceeds a multi-bit digital word output of the second shift register; and otherwise shifting digital data of the second state in to the left of the second shift register at a fourth rate.
- 24. The method of claim 20, wherein modulating the gain further comprises:
disabling a second shift register if a multi-bit digital word output of the first shift register and a second shift register are equal; shifting digital data of the first state in to the right of the second shift register at a third rate when the multi-bit digital word output of the first register exceeds the multi-bit digital word output of the second shift register; and otherwise shifting digital data of the second state in to the left of the second shift register at a fourth rate.
- 25. The method of claim 19, wherein comparing the output signal to a threshold comprises:
comparing the output signal to an upper threshold; and comparing the output signal to a lower threshold which is less than the upper threshold.
- 26. The method of claim 20, wherein shifting digital data of the second state in the second direction is delayed a predetermined period of time after the output signal falls below the threshold.
- 27. The amplifier of claim 1, wherein a minimum value of the digital gain control signal is selected from one of a plurality of values.
- 28. The amplifier of claim 1, wherein a maximum value of the digital gain control signal is selected from one of a plurality of values.
REFERENCE TO RELATED APPLICATIONS
[0001] This application is related to application Ser. No. 09/808,099, filed Mar. 13, 2001, the entire teachings of which are incorporated herein by reference. In addition, this application claims priority to Provisional Application No. 60/299,608, filed Jun. 20, 2001, the entire teachings of which are incorporated herein by reference.