CIRCUIT, METHOD AND SYSTEM FOR GENERATING A NON-LINEAR TRANSFER CHARACTERISTIC

Abstract: A circuit, method and system for generating a non-linear transfer characteristic, including, a plurality of current mirror circuits in parallel, each current mirror circuit having an offset current applied to an ouptut terminal of an output-side transistor of the current mirror circuit for controlling an output current thereof, wherein the offset current of each current mirror circuit is set to a respective predetermined level, whereby the transfer characteristic is generated by summing the respective output currents of the current mirror circuits in a piece-wise manner.

Description: CIRCUIT, METHOD AND SYSTEM FOR GENERATING A NON-LINEAR TRANSFER CHARACTERISTIC FIELD OF THE INVENTION The present invention relates to a circuit, method and system in which a transfer characteristic can be generated according to the specific requirements of an application. The transfer characteristic can be in the form of a power (Ax n ), quadratic (Ax ' +Bx" '1 ...), logarithmic (log B) etc, or any other non-linear form which is approximated by a sum of piece-wise-linear (P WL) functions. BACKGROUND OF THE INVENTION For analog scanning processors in a cathode ray tube (CRT), a transfer characteristic of power r (where r can be any real number, for instance from 1.5 to 4.5) is desirable for the horizontal dynamic focus (HDF) section of the scanning processor. This could previously only be realised by cascading several multipliers together and the power of this transfer characteristic is limited by r being an integer. Moreover, the complexity of using the multiplier configuration will increase if a higher power transfer characteristic is to be realised. In this section, two different approaches to generating the same transfer characteristics are discussed. Although the discussion touches on the multiplier configuration and the logarithmic-exponential configuration, it can be extended to other configurations or circuits in which any form of transfer characteristics is to be implemented. The first configuration uses multipliers and switches and is shown in Figure 1. Switch SI is used to select the input to the second multiplier block such that the overall transfer characteristic can either have a power of 3 or 4. Switch S2 selects the output signal either from the first or second multiplier block so as to obtain the correct transfer characteristic. In figure 1, the system comprises basic multiplier cells which are only able to produce a transfer characteristic in the form of (Inpuf), where the power, r, is limited to an integer number. If a system needs a power that is a real number (ie 2.6), a designer will tend to implement the multiplier to provide a power of 2 or 3 as an approximation. If a power of higher order, for example 7 or 8, is to be designed, then the circuit geometry will increase in size and/or complexity. Furthermore, if the system is required to be able to select from a range of power terms, numerous switches have to be implemented to select the inputs for each multiplier, and also to select the desired signal at the output. This will further increase the size of the system. The second configuration consists of logarithmic-exponential transforms and an amplifier. The transfer characteristic in the form of Input! ' , can be expressed in another form as shown below. / (Input) = Inpuf = e r{!nUnp, " )) In: natural log With this new representation, it shows that this system can be implemented using another approach. This approach mainly consists of 3 sections and the block diagram for each section is shown in Figure 2a. First, a logarithmic transform has to be supplied to the input, where the result of the transform is (ln(Input)). Next, it is necessary to amplify the product with a constant value (r). Finally, an exponential transform is done. With this approach, a system with a different power term can be generated by controlling the amplification factor in the amplification block. However, there are drawbacks to this approach. A basic logarithmic amplifier is shown in Figure 2b. This basic logarithmic amplifier consists of an operational amplifier, an input resistor, R ιn , that is used to convert the voltage input, V mput , to a current input, I s , and an NPN transistor which is used to convert the current input to a logarithmic voltage output, V o putl . From the transfer function of this logarithmic block as shown in Figure 2b, it can be seen that the output is dependent on the process parameter, I s . Moreover, this logarithmic amplifier employs negative feedback, which means that the issue of control stability should be considered. Furthermore, this circuit exhibits a strong temperature dependence due to the thermal voltage, Nr as well as V ιn /Rj n or I s . This dependence can be significantly reduced by using various compensation techniques. These compensation techniques may require extra components to be added, which would increase the circuit geometry. SUMMARY OF THE INVENTION The present invention provides a circuit for generating a non-linear transfer characteristic, including: a plurality of current mirror sub-circuits operating in parallel within the circuit, each current mirror sub-circuit having an offset current applied to an output terminal of an output-side transistor of the current mirror sub-circuit for deterrmning an output current of the current mirror sub-circuit, whereby the transfer characteristic is generated by setting the offset current of each current mirror sub-circuit at respective predetermined levels and summing the respective output currents of the current mirror sub-circuits. The present invention also provides a method for generating a non-linear transfer characteristic, including the steps of: providing a circuit having a plurality of current mirror sub-circuits operating in parallel within the circuit, each current mirror sub-circuit having an offset current applied to an output terminal of an output-side transistor of the current mirror sub-circuit for determining an output current of the current mirror sub-circuit; generating the transfer characteristic by setting the offset current of each current mirror sub-circuit at respective predetermined levels and summing the respective output currents of the current mirror sub-circuits. Preferably, the offset current of each current mirror sub-circuit is adjustable to modify the transfer characteristic. Preferably, the transistors of each current mirror sub-circuit are NPN bipolar junction transistors (BJTs). Alternatively, the transistors are PNP BJTs. Alternatively, the circuit is made up of a combination of NPN and PNP current mirror sub- circuits. Alternatively, the transistors are NMOS or PMOS. Preferably, positive slope components of the transfer characteristic are provided by NPN current mirror sub-circuits and negative slope components of the transfer characteristic are provided by PNP current mirror sub-circuits. Alternatively, positive slope components of the transfer characteristic are provided by PNP current mirror sub-circuits and negative slope components of the transfer characteristic are provided by NPN current mirror sub- circuits. The present invention also provides a system for generating a non-linear transfer characteristic, including: a plurality of current mirror circuits in parallel, each current mirror circuit having an offset current applied to an output terminal of an output-side transistor of the current mirror circuit for controlling an output current thereof, wherein the offset current of each current mirror circuit is set to a respective predetermined level, whereby the transfer characteristic is generated by summing the respective output currents of the current mirror circuits. The present invention also provides a current mirror circuit for use in conjunction with a plurality of other current mirror circuits for generating a transfer characteristic, the circuit including: matched input and output transistors connected in current mirror configuration, the output transistor having an offset current applied to an emitter terminal thereof for adjusting an output current of the current mirror circuit, whereby the output current can be summed with output currents of the other current mirror circuits to generate a piece-wise linear transfer characteristic. Preferably, the system is a horizontal dynamic focus adjustment system for use in a cathode ray tube. Preferably, the non-linear transfer characteristic is in the form of a characteristic of the form y=x ' , where x is the input, y is the output and r is a real number adjustable between range limits rι and r 2 . These range limits can be set as necessary, for example for a EW Pincushion curve with a W-shape form (East-West geometry correction), r t may be 1.5 and r 2 may be 2.5. In an alternative example, for horizontal dynamic focus adjustment, ry may be 2.0 and r 2 may be 4.5. Advantageously, embodiments of the present invention can provide a transfer characteristic having real values of r, where it is desired to have a characteristic of the form y = x r , and in fact r is adjustable through adjustment of the offset currents of the current mirror sub-circuits. Also, there is no need for switching of the signal at the input and output and the circuit geometry remains the same for a system having 1 power term or, for example, 10 power terms. Advantageously, the invention does not employ negative feedback, and therefore the stability issue does not come into play. Fewer components are needed to realise the same transfer characteristic and it does not depend on the process parameter, I s . Advantageously, the invention allows an end user of a CRT system to adjust the transfer characteristic, and hence the image displayed by the CRT, by adjusting an external offset current control. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a block diagram of a prior art system for generating a non-linear transfer characteristic; Figure 2a is a block diagram of a prior art logarithmic exponential configuration for generating a transfer characteristic; Figure 2b is a schematic circuit diagram of the configuration shown in Figure 2a; Figure 3 is an example transfer characteristic of non-linear function; Figure 4 are four examples of non-linear transfer characteristics formed in a piece-wise linear manner; Figure 5 is a diagram of a current mirror circuit in accordance with an embodiment of the invention; Figure 6 is a diagram of an example transfer characteristic of the current mirror circuit of Figure 5; , Figure 7 is a block diagram of a system in accordance with an embodiment of the invention; Figure 8 illustrates example transfer characteristics generated in accordance with an embodiment of the invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A basic idea of the invention is to sum several piece-wise linear functions to obtain the desired transfer characteristics. Any function, for example, logarithmic, quadratic etc, can be approximated in the following form: ( r ) = ∑ A » = B(t - t 0 )u(t - t 0 ) + C(t - t l )u(t - t,) + D(t -t 2 )u(t -t 2 ) + .... wheret 0 < t { < t 2 < t„_, for n > 4andt 0 > 0 and where u(t-to) is a unit step function of magnitude 1 when t > to and zero otherwise. For example, the transfer characteristic shown in Figure 3 can be expressed in following form: f(t) = \(t - \)u(t - 1) - l(t - 2)u(t - 2) + 2(t - 3)u(t - 3) - 2(t - 4)w(t - 4) By forming such piece-wise linear (PWL) functions, any kind of transfer characteristic can be approximated. It is desirable to control two parameters of each of these PWL functions: the time of the conduction corners, (ie, to, t s , t 2 , etc) as shown in Figure 3, and also the slope at each corner. In Figure 4, the branch outputs indicate the components of the PWL function and bold lines indicate the total output by summing the individual branches. From the plots shown in Figure 4, it can be seen that by controlling the conduction comer and slope of each branch, any kind of transfer characteristic can be implemented. More branches are needed for a system with a more complicated transfer characteristic. For a more complex transfer characteristic, for example, /(Input) =Inpur , increasing the number of branches for a specific input range and output magnitude will make the output curve more accurate. The circuit configuration of a current mirror, which forms the basic cell of the invention, is shown in Figure 5. The input stage consists of an NPN transistor, Ql and an emitter resistor (R, n ). The output stage consists of an NPN transistor, Q2, an emitter resistor (Rout) and a current source (I 0ffset ) that is applied to the emitter of Q2. The ratio of both the transistors and resistors set the amplification factor or slope, and the I 0 ff set current is used to set the conduction corner. The output of the basic cell can be connected easily to other cells because of the open configuration of the circuit. NPN transistor cells as well as PNP transistor cells can be used to build a larger circuit having the desired transfer characteristic. With NPN and PNP basic cells, transfer characteristics as shown in Figure 4c and 4d can be implemented with the PNP cell realising the negative branch of the PWL function. The input of the basic cell is considered to be a current signal. The input current drives a current output of a positive or negative slope according to the cell characteristics and is generated by an input system such as a voltage-to-current converter or a transconductance system. In the basic cell, instead of NPN and PNP BJTs, N-type and P-type MOS transistors can be used with equal effect. The equation governing the NPN basic cell is shown below: l ιn R,n ~ (Out + 'o ff et ^ = Vτln[(l out /l ,„ ) (A £1 /A ε2 )) (1) where: V τ is the thermal voltage of the transistors; I ιn . are the current mirror input and output currents, respectively; AE I , AE 2 are the emitter areas of Q l and Q2, respectively. If MOS type devices are used instead of BJTs, the above equation will follow the model of the relevant MOS device used. As can be seen from Figure 6, the transfer characteristic is governed by a linear part and a non-linear part, given respectively by: Output = —^x Input -I 0(rscl (linear) (2) out Input =^Lχ I offse[ (non - linear) (3) By observing equation (1), and making certain assumptions, the formula for the conduction corner (equation(3) above) can be derived. Equation (3) models the conduction corner as the output transistor starts to conduct, at which point the output current is small relative to the input current. Assumption 1 : Taking the emitter area of both the input and output transistors to be the same. Hence AE I will be equal to AE 2 . Assumption 2: At the point where the output transistor starts to conduct, I out is small compared to -o ff set- Assumption 3 : If R o utI of . s et>Rι n I m , the output transistor cannot conduct, hence Iιn < RoutIoffset/Rιn- It is important for the circuit designer to choose appropriate characteristics of the conduction corner in order to achieve the desired accuracy of the output curve. This is a matter of choosing the values of R, n and ou t, taking into account the temperature effect on the output current of the V τ term from equation (1). When an input current is present, the potential at the base and emitter of Ql will increase. A voltage comparison at the base and emitter of Q2 determines whether 02 conducts. The potential at the emitter is set by I 0ff - e. R out. and this setpoint can be changed easily through the loffset current. Q2 will start to conduct when I m R ιn is greater than I 0ffs e t R out - The output current of this basic cell will be summed together with other cells to form the output current of the system. The number of branches in the PWL function, and hence the number of basic cells required, will depend on the complexity of the desired transfer characteristic. The transfer characteristic of a basic current mirror cell is shown in Figure 6. Bold lines indicate the theoretical PWL branch while dotted lines show the actual transfer characteristic of the basic cell. By modulating the offset current l offset , it is possible to change the transfer characteristic, thereby providing a controllable adjustment. By increasing I 0ffSet , the output branch will shift to the right. Similarly by decreasing I 0 ffset, the output branch can be shifted to the left. In Figure 6, the dotted line gives the actual transfer characteristic of the basic cell. The transfer characteristic of the basic cell is the same as the theoretical PWL branch except at the conduction comer. The non-linearity of the transistor effectively allows the curve to be smoothed at the conduction comer. This does not represent a problem for the system, but instead advantageously smooths the output. In this way, so-called W-, S- and C-corrections can be implemented in the horizontal or vertical directions (as appropriate) for controlling the display on a CRT screen. A block diagram of a system of an embodiment of the invention is shown in Figure 7. In this system, we define the input as a voltage source, Vj n , and hence a transconductance circuit is needed to convert the voltage input to a current input, I . Ij n then acts as the input to a circuit comprising basic PNP or NPN cells, or both, depending on the transfer desired characteristic. The output is then fed into an amplitude control circuit to obtain the same magnitude at the maximum input signal for each different transfer characteristic. The necessity of the amplitude control circuit can be seen from Figure 6. By adjusting l o f set, the output current amplitude is altered. In the exemplary system shown in Figure 7, three adjustment signals are used, namely loffseti, loffse and I 0 ffset3 - By modulating loffseti the power (Vj n r , r is the power) of the proposed invention can be changed from ri to r where r / and r 2 can be any arbitary positive real numbers. Next, with lo ffset i set a particularly interesting aspect is that l offset i, l offs eϋ can be a combination of the first lo ffs e i - hi this way, it is possible to generate a complete transfer characteristic which is easily adjustable by way of a single or multiple current controls. As shown in Figure 8, it is possible to convert a curve of the form output=A / inpur to a curve of the form output=Aιinput 4 , where Aι and A 2 are constants, by adjusting the offset currents in order to move the conduction comers, PI , P2 and P3. This dynamic adjustability advantageously allows dynamic adjustment of the transfer characteristic.

Claims: CLAIMS: 1. A circuit for generating a non-linear transfer characteristic, including: . a plurality of current mirror sub-circuits operating in parallel within the circuit, each current mirror sub-circuit having an offset current applied to an output terminal of an output-side transistor of the current mirror sub-circuit for determining an output current of the current mirror sub-circuit, whereby the transfer characteristic is generated by setting the offset current of each current mirror sub-circuit at respective predetermined levels and summing the respective output currents of the current mirror sub-circuits. 2. The circuit of claim 1, wherein the offset current of each current mirror sub-circuit is adjustable to modify the transfer characteristic. 3. The circuit of claim 1 or 2, wherein the transistors of each current mirror sub- circuit are NPN bipolar junction transistors (BJTs). 4. The circuit of claim 1 or 2, wherein the transistors of each current mirror sub- circuit are PNP BJTs. 5. The circuit of claim 1 or 2, wherein the circuit comprises a combination of NPN and PNP current mirror sub-circuits. 6. The circuit of claim 1 or 2, wherein the transistors of each current mirror sub- circuit are N-type or P-type MOS transistors. 7. The circuit of claim 5, wherein positive slope components of the transfer characteristic are provided by NPN current mirror sub-circuits and negative slope components of the transfer characteristic are provided by PNP current mirror sub-circuits. 8. The circuit of claim 5, wherein positive slope components of the transfer characteristic are provided by PNP current mirror sub-circuits and negative slope components of the transfer characteristic are provided by NPN current mirror sub-circuits. 9. The circuit of claim 1, wherein the non-linear transfer characteristic is a piece-wise approximation of a characteristic of the form y=x r , where x is an input signal, y is an output signal and r is a real number adjustable between range limits ri and r 2 by adjustment of the offset current of one or more of the current mirror sub-circuits. 10. A method for generating a non-linear transfer characteristic, including the steps of: providing a circuit having a plurality of current mirror sub-circuits operating in parallel within the circuit, each current mirror sub-circuit having an offset current applied to an output terminal of an output-side transistor of the current mirror sub-circuit for determining an output current of the current mirror sub-circuit; generating the transfer characteristic by setting the offset current of each current mirror sub-circuit at respective predetermined levels and summing the respective output currents of the current mirror sub-circuits. 11. The method of claim 10, further including the step of adjusting the offset current of each current mirror sub-circuit to modify the transfer characteristic. 12. The method of claim 10 or 11, wherein the transistors of each current mirror sub- circuit are NPN bipolar junction transistors (BJTs). 13. The method of claim 10 or 1 1, wherein the transistors of each current mirror sub- circuit are PNP BJTs. 14. The method of claim 10 or 1 1 , wherein the circuit comprises a combination of NPN and PNP current mirror sub-circuits. 15. The method of claim 10 or 1 1, wherein the transistors of each current mirror sub- circuit are N-type or P-type MOS transistors. 16. The method of claim 14, wherein positive slope components of the transfer characteristic are provided by NPN current mirror sub-circuits and negative slope components of the transfer characteristic are provided by PNP current mirror sub-circuits. 5 17. The method of claim 14, wherein positive slope components of the transfer characteristic are provided by PNP current mirror sub-circuits and negative slope components of the transfer characteristic are provided by NPN current mirror sub-circuits. 18. The method of claim 10, wherein the non-linear transfer characteristic is a piece- 10 wise approximation of a characteristic of the form y=x r , where x is an input signal, y is an output signal and r is a real number adjustable between range limits rj and r by adjustment of the offset current of one or more of the current mirror sub-circuits. 19. A system for generating a non-linear transfer characteristic, including: 15 a plurality of current mirror circuits in parallel, each current mirror circuit having an offset current applied to an output terminal of an output-side transistor of the current mirror circuit for controlling an output current thereof, wherein the offset current of each current mirror circuit is set to a respective predetermined level, whereby the transfer characteristic is generated by summing the respective output currents of the current mirror 0 circuits. 20. The system of claim 19, wherein the offset current of each current mirror circuit is adjustable to modify the transfer characteristic. 25 21. The system of claim 19 or 20, wherein the transistors of each current mirror circuit are NPN bipolar junction transistors (BJTs). 22. The system of claim 19 or 20, wherein the transistors of each current mirror circuit are PNP BJTs. J 0 23. The system of claim 19 or 20, wherein the circuit comprises a combination of NPN and PNP current mirror circuits. 24. The system of claim 19 or 20, wherein the transistors of each current mirror circuit are N-type or P-type MOS transistors. 25. The system of claim 23, wherein positive slope components of the transfer characteristic are provided by NPN current mirror circuits and negative slope components of the transfer characteristic are provided by PNP current mirror circuits. 26. The system of claim 23, wherein positive slope components of the transfer characteristic are provided by PNP current mirror circuits and negative slope components of the transfer characteristic are provided by NPN current mirror circuits. 27. The system of claim 19, wherein the non-linear transfer characteristic is a piece- wise approximation of a characteristic of the form y=x r , where x is an input signal, y is an output signal and r is a real number adjustable between range limits rj and r 2 by adjustment of the offset current of one or more of the current mirror circuits. 28. The system of any one of claims 19 to 27, wherein the system is a horizontal dynamic focus adjustment system for use in a cathode ray tube. 29. A current mirror circuit for use in conjunction with a plurality of other current mirror circuits for generating a transfer characteristic, the circuit including: matched input and output transistors connected in current mirror configuration, the output transistor having an offset current applied to an emitter terminal thereof for controlling an output current of the current mirror circuit, whereby the output current can be summed with output currents of the other current mirror circuits to generate a piece- wise linear transfer characteristic. 30. The current mirror circuit of claim 29, wherein the offset current of the current mirror circuit is adjustable to modify the transfer characteristic. 31. The current mirror circuit of claim 29 or 30, wherein the transistors of the current mirror circuit are NPN bipolar junction transistors (BJTs) or PNP BJTs. 32. The current mirror circuit of claim 29 or 30, wherein the transistors of the current mirror circuit are N-type or P-type MOS transistors.

Inventors: CIROT ERIC YVES SERGE, PADALA MALLIKARJUNA RAO, TAN SZE KWANG, CIROT, ERIC, YVES, SERGE, PADALA, MALLIKARJUNA, RAO, TAN, SZE, KWANG
Applicants: CIROT ERIC YVES SERGE, PADALA MALLIKARJUNA RAO, ST MICROELECTRONICS ASIA, TAN SZE KWANG, CIROT, ERIC, YVES, SERGE, PADALA, MALLIKARJUNA, RAO, STMICROELECTRONICS ASIA PACIFIC PTE LTD, TAN, SZE, KWANG
Application year: 2001
Main classification: G06G7
IPC codes: G06G7