The present invention relates to square function generator circuits, and, in particular, to a square function generator circuit that is temperature compensated by adjusting a tail current of the square function generator. The square function generator circuits may be arranged to provide cubic functions, as well as others.
In a cathode ray tube (CRT) display, a phosphor screen is located opposite an electron gun. The electron beam emits electrons. The electrons are accelerated and focused on the phosphor screen by a high voltage grid. The phosphor screen is periodically refreshed.
An image is displayed on a phosphor screen. The phosphor screen is divided up into a number of horizontal scan lines. The electron beam is directed to the upper left corner of the phosphor screen at the first scan line when a new image is displayed. The electron beam is steered horizontally across each scan line at a fixed frequency. The electron beam returns to the left side of the phosphor screen after the electron beam reaches the right edge of the phosphor screen, a process called horizontal retrace.
During horizontal retrace, the electron beam is steered (right to left) to the left edge of the next scan line, which is immediately beneath the previous scan line. The beam is steered back to the top left corner of the phosphor screen during the vertical retrace interval after all of the scan-lines are traced by the electron beam. A horizontal deflection circuit steers the beam horizontally. A vertical deflection circuit steers the beam vertically. The horizontal and vertical deflection circuits produce high voltage signals that activate deflection coils.
Typical vertical deflection circuits include a vertical oscillator circuit and vertical deflection coils. A vertical pulse signal is coupled into the vertical deflection circuits. The vertical oscillator circuit is triggered by the sync pulse so that the vertical oscillator locks to the refresh frequency. The vertical oscillator generates a saw tooth waveform. The saw tooth waveform is used to generate a current ramp. The current ramp drives the vertical deflection coils such that the electron beam is steered from the top of the phosphor screen to the bottom of the phosphor screen at a uniform rate. At the end of the current ramp, the electron beam is steered to the top of the screen.
A distortion occurs in the image as the electron beam is steered from the image area at the side of the phosphor screen in a vertical direction. The top and bottom of the phosphor screen have a higher deflection angle with respect to the middle of the phosphor screen. Typically, an S-correction is performed on the image data to correct the resulting image distortion on the display. The deflection current is used to generate the vertical scan via the deflection coils. The deflection current is arranged as a saw tooth waveform. The slanted portions of the saw tooth waveform are modified by S-correction in an “S” shape. The top and bottom section of the sawtooth each have a small slope which results in a smaller deflection area.
Non-limiting and non-exhaustive embodiments of the present invention are described with reference to the following drawings.
Throughout the specification and claims, the following terms take 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. Referring to the drawings, like numbers indicate like parts throughout the views.
Overview
Briefly stated, temperature compensation may be provided to a square function generator by adjusting a tail current of the temperature compensated square function generator circuit (TCSFGC). Temperature compensation of the TCSFGC may be provided, for example, by a second TCSFGC and an error amplifier. The second TCSFGC may be substantially similar to the first TCSFGC. The error amplifier is arranged in cooperation with the first and second TCSFGCs such that the output of the error amplifier adjusts the tail current of the TCSFGCs. A plurality of TCSFGCs may be configured to provide a temperature-compensated cubic function. The temperature compensated cubic function may be used for S-correction in a display system such as a cathode ray tube.
An example embodiment of a temperature compensated cubic function generator circuit may include a ramp generator circuit that is configured to produce a ramp signal (VR). The example temperature-compensated cubic function generator circuit is configured to provide an output signal having a voltage of VR3. The temperature-compensated cubic function generator circuit can be expanded to generate an nth order power function by cascading one or more temperature-compensated cubic function generator circuits.
Example System
Ramp generator circuit 106 has an output that is coupled to node N140. Voltage reference generator circuit 108 has an output that is coupled to node N142. DC level shift circuit 134 has an input that is coupled to node N142 and an output that is coupled to node N150. TCSFGC 130 has a non-inverting input (VP) that is coupled to node N150, an inverting input (VN) that is coupled to node N142, a control input (CLT) that is coupled to node N146, and an output (OUT) that is coupled to node N154.
TCSFGC 132 has a non-inverting input (VP) that is coupled to node N142, an inverting input (VN) that is coupled to node N142, a control input (CTL) that is coupled to node N146, and an output (OUT) that is coupled to node N156. DC level shift circuit 136 has an input that is coupled to node N156 and an output that is coupled to node N158. Error amplifier circuit A1 has a non-inverting input (+) that is coupled to node N154, an inverting input (−) that is coupled to node N158, and an output that is coupled to node N146.
TCSFGC 128 has a non-inverting input (VP) that is coupled to node N140, an inverting input (VN) that is coupled to node N142, a control input (CTL) that is coupled to node N146, and an output (OUT) that is coupled to node N160. Inverting amplifier circuit 120 has an inverting input that is coupled to node N140, a non-inverting input that is coupled to node N142, and an output that is coupled to node N168. TCSFGC 124 has a non-inverting input (VP) that is coupled to node N160, an inverting input (VN) that is coupled to node N168, a control input (CTL) that is coupled to node N146, and an output (OUT) that is coupled to node N162.
TCSFGC 126 has a non-inverting input (VP) that is coupled to node N160, an inverting input (VN) that is coupled to node N140, a control input (CTL) that is coupled to node N146, and an output (OUT) that is coupled to node N164. Difference circuit 122 has a first input that is coupled to node N162, a second input that is coupled to node N164, and an output that is coupled to node N144. The second cubic function generator circuit (102) has an input that is coupled to node N144 and an output that is coupled to node N166.
Producing 4VR3 from VR
The example embodiment of circuit 100 illustrated in
Each of the TCSFGCs (124, 126, 128, 130, 132) is configured to produce an output signal having a voltage equal to (VP−VN)2, where VP corresponds to the voltage of the signal at the non-inverting input, and VN corresponds to the voltage of the signal at the inverting input.
TCSFGC 128 is configured to provide a signal at node N160 in response to signal VR and signal VREF1. The signal at node N160 has a voltage of VR2 (ignoring the DC level for VREF1). Signal VREF1 corresponds to a center reference voltage that is selected to optimize the operating range of TCSFGC 128. According to one example, the operating range is 500 mV peak to peak (e.g. 2.25V–2.75V), and therefore signal VREF1 has a voltage of 2.5V. Inverting amplifier circuit 120 is configured to provide a signal at node N168 in response to signal VR and signal VREF1. According to one example, inverting amplifier circuit 120 has a gain of approximately −1. Therefore the signal at node N168 has a voltage of approximately −VR (ignoring the DC level for VREF1). Square generator circuit 124 is configured to provide a signal at node N162 in response to the signals at node N160 and node N168. The signal at node N162 has a voltage of approximately (VR2+VR)2. Square generator circuit 126 is configured to provide a signal at node N164 in response to signals at node N160 and node N140. The signal at node N164 has a voltage of approximately (VR2−VR)2. Difference circuit 122 is configured to provide a signal at node N144 with a voltage that is the difference of the voltage of the signals at the inputs of difference circuit 122 at nodes N162 and N164. Therefore, the voltage at node N144 is equal to approximately (VR2+VR)2−(VR2−VR)2, or 4VR3. The output voltage can be scaled by selection of various gain-setting components in circuit 100 such that the signal at node N144 has a voltage of X*VR3.
Producing 16VR5
The second cubic generator circuit (102) is an optional component of circuit 100. The second cubic generator circuit (102) is substantially similar to the first cubic generator circuit (102). The second cubic generator circuit (102) is configured to provide a signal at node N166 in response to the signal at node N144, the signal at node N160, and a signal (CNTL) at node N146. The signal at node N166 has a voltage of 16VR5. The output voltage can be scaled by selection of various gain-setting components in circuit 100 such that the signal at node N166 has a voltage of Y*VR5.
Temperature Compensation
Temperature compensation each of the TCSFGCs (124, 126, 128, 130, 132) is provided by signal CNTL, which adjusts a tail current in each of the TCSFGCs (124, 126, 128, 130, 132).
Signal CNTL is produced as follows below. DC level shift circuit 134 is configured to provide signal VREF2 at node N150 in response to signal VREF1. According to one example, the operating range of TCSFGC 128 is 500 mV peak to peak. In this example, signal VREF2 has a voltage of 250 mV+VREF1, since (500 mV)2 is equal to 250 mV. TCSFGC 130 is configured to provide a signal at node N154 in response to signal VREF2 and signal VREF1. Error amplifier circuit A2 is configured to provide signal CNTL at node N146 in response to the signal at node N154 and signal VREF3. Signal VREF3 is related to an offset error for the TCSFGCs. Signal CNTL drives a tail current in each of the TCSFGCs.
Since the reference voltages (VREF1, VREF2, and VREF3) are DC levels, signal CNTL is a DC level that is servoed to a value using feedback. Error amplifier A1 is arranged in cooperation with TCSFGC 130 and TCSFGC 132 to adjust signal CNTL such that the voltages at node N154 and node N158 to match each other. The tail current in the TCSFGCs is adjusted when signal CNTL is adjusted. The gain that is associated with the TCSFGCs and the offset error that is associated with the TCSFGCs is adjusted when the tail current in the TCSFGCs is adjusted. Therefore, the TCSFGCs are compensated for offset error and other sources of error when signal CNTL is servoed to a value using feedback.
According to one example embodiment, signal VREF3 is produced as follows below. TCSFGC 132 is configured to provide a signal at node N156 in response to signal VREF1. Signal VREF1 is provided at both the inverting and non-inverting inputs of TCSFGC 132. The signal at node N156 corresponds to an offset error of TCSFGC 132. DC level shift circuit 136 is configured to provide signal VREF3 at node N158 in response to the signal at node N156.
Circuit 100 may be used to provide temperature-compensated S-correction of a CRT. Alternatively, circuit 100 may be used for other applications. An example equation for vertical S-correction is: y=DC+a*x+b*x3, where “a” and “b” are constants, “x” is a linear ramp waveform, “DC” is an offset voltage, and “y” is the S corrected ramp function. A temperature-compensated cubic function generator circuit can be used to provide temperature-compensated S-correction.
Alternative embodiments are within the scope of the present invention. Although the example of circuit 100 shown in
Example Temperature Compensated Parabola Generator Circuit
Transistor M1 has a gate that is coupled to node N222, a source that is coupled to node N156, and a drain that is coupled to node N226. Transistor M2 has a gate that is coupled to node N142, a source that is coupled to node N220, and a drain that is coupled to node N224. Transistor M3 has a gate that is coupled to node N142, a source that is coupled to node N220, and a drain that is coupled to node N222. Transistor M4 has a gate that is coupled to node N226, a source that is coupled to node N222, and a drain that is coupled to node N226. Transistor M5 has a gate that is coupled to node N226, a source that is coupled to node N224, and a drain that is coupled to node N226. Transistor M6 has a gate that is coupled to node N146, a source that is coupled to node N228, and a drain that is coupled to node N220. Transistor M7 has a gate that is coupled to node N224, a source that is coupled to node N156, and a drain that is coupled to node N226. Transistor M8 has a gate that is coupled to node N146, a source that is coupled to node N228, and a drain that is coupled to node N156.
The example embodiment of parabola generator circuit 104 illustrated in
TCSFGC 132 includes a differential input stage. The inverting input (VN) of the differential input stage corresponds to the gate of M2, and the non-inverting input (VP) of the differential input stage corresponds to the gate of M3. Transistors M6 is configured as a current source that provides the tail current (IT). Transistor M8 is configured as another current source that provides another current. Transistors M4 and M5 are configured as resistive loads.
Transistors M4 and M5 are further configured to perform a trans-impedance squaring function. The drain current of a MOSFET in the saturation region of operation is approximately given by: ID α(VGS−VT)2. The voltages at nodes N222 and N224 are determined by: I1*RM4 and I2*RM5 respectively, where RM4 corresponds to the on resistance of transistor M4, and RM5 corresponds to the on resistance of transistor M5.
Transistors M1 and M7 are configured as source followers. The voltage at node N222 is buffered by transistor M1. The voltage at node N224 is buffered by transistor M7. The voltages from transistor M1 and transistor M7 are combined at node N156. Combining the two voltages eliminates common terms such as VT, so that the voltage of the output signal at node N156 is the square of the voltage of the differential input signal.
The gates of transistors M6 and M8 correspond to the control input for TCSFGC 132. Error amplifier circuit A1 is configured to adjust the tail current of TCSFGC 132 by driving transistors M6 and M8. Since the reference voltages (VREF1, VREF2, and VREF3) are DC levels, signal CNTL also a DC level that is servoed by feedback. The offset in the TCSFGCs is adjusted by adjusting the tail current of the TCSFGCs.
The above specification, examples and data provide a complete 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 resides in the claims hereinafter appended.
Number | Name | Date | Kind |
---|---|---|---|
3942074 | Graham | Mar 1976 | A |
5412290 | Helfrich | May 1995 | A |