Patent GB-1259371-A (GB)
IPC: G06G7/28
Filed: 1969-04-25
Abstract: 1,259,371. Function generators. JUNGNER INSTRUMENT A.B. 25 April, 1969 [25 April, 1968], No. 21151/69. Heading G4G. A method of generating the voltage analogue of a value f(x 1 ) of a function f(x) comprises the steps of generating a signal with a period representing the derivative df(x)/dx of the function within an interval x a #x#x b  including x 1 , deriving from said signal a pulse-duration modulated signal consisting of pulses with a duration of (x 1 -x a )/(x b -x a )ÀT and a frequency of 1/T representing variations in the derivative within the interval x a #x#x 1 , deriving from the modulated signal a D.C. voltage proportional to the mean value thereof, and adding to this voltage a further voltage representing any constant term in an appropriate expression of the function f(x). The voltage representing the derivative may be synthesized from voltages representing the values of Legendre polynomials or the derivatives of such polynomials. The function f(x) may be expressed by the equation: f(x)=a 0 P 0 (x)+a 1 P 1 (x)+ . . a n P n (x) . . where the P n (x) represent Legendre polynomials of ascending order n. Since the series converges rapidly, the first few terms yield a good approximation to f(x). It can be shown that the polynomials and their derivatives are related (inter alia) by the following expressions in which first derivatives are indicated by primes: P 0 <SP>1</SP>(x)=0 P 1 1(x) = P 0 (x) P 2 <SP>1</SP>(x) = 3P 1 (x) P 3 <SP>1</SP>(x)=5P 2 (x)+P 0 (x) P 4 <SP>1</SP>(x) = 7P 3 (x) + P 2 <SP>1</SP>(x) The circuit shown uses the above expressions to generate periodically varying voltages corresponding to a 1 P 1 <SP>1</SP> ... a 4 P 4 <SP>1</SP> and these are added to form a voltage representing df(x)/dx. The circuit is supplied from generator 1 with a D.C. voltage U 0  representing P 0 (x) = P 1 1(x) which is fed to a polarity-reversing electronic switch 2 operated from a source 22 of square-wave voltage U s  of frequency f s . The output of the switch 2 is a square wave in synchronism with U s  representing P 1 <SP>1</SP>(x) with alternately positive and negative sign. This signal is fed to an integrator 3, the output of which represents P 1 (x), again with alternating sign. By means of a further polarity-reversing switch 4, the analogue of P 1 (x) is generated with correct sign during both positive and negative half-cycles of the control voltage U s . The rest of the circuit 2...13 consists of switches 7, 11, integrators 6, 10, multipliers (amplifiers) 5, 8, 12 and adders 9, 13 which generate, in obvious manner, the voltage analogues of P 1 <SP>1</SP>(x), P 2 <SP>1</SP>(x), P 3 <SP>1</SP>(x), P 4 <SP>1</SP>(x). These voltages are fed to potentiometers 15, 16, 17, 18 where they are weighted proportionally to the constants a 1  . . . a 4  occurring in the expression for f(x). The terms are added in the adder 20, the periodic output U<SP>1</SP> of which represents df(x)/dx. A gate 24 is fed with the signal U<SP>1</SP> from the adder 24 and with a pulse-modulated control signal U t  from modulator 23. The signal U t  has a frequency 2f s  (twice that of the signal U s ) and a pulse duration corresponding to x 1  expressible as: t p =(x 1 -x a )/(x b -x a )ÀT where T=1/2f s  (the period of voltages U t  and U<SP>1</SP>). The output of gate 24 is a signal consisting of samples of U<SP>1</SP> of duration t p  which corresponds to the interval x a #x#x 1 . This signal is averaged in the circuit 25, the output of which is a D.C. voltage U m  representing f(x)-a 0 P 0 (x). The second term in this expression is generated in a potentiometer 14 for suitably weighting the D.C. voltage U 0  analogue of P 0 . Finally, addition of k 0 U 0  and U m  in circuit 21 produces the analogue voltage kf(x 1 ). A further form of apparatus (Fig. 3, not shown) is described in which the voltage U<SP>1</SP> is generated as a stepped voltage by a cyclically operating counter arranged to supply a number, e.g. ten, of weighted pulse trains which are subsequently added together. The possibility of using circular functions to synthesis the required function is also mentioned.