DIGITAL FM SYNTHESIZER FOR RECORD CIRCUITRY

Abstract: A digital synthesizer for record circuitry of, e.g., a VCR, is supplied with digital samples representing a video signal. A calculator stage (16), responsive to the digital samples calculates a sequence of pulse periods defining a pulse duration modulated signal that represents FM modulation of a carrier by the video signal. An output sample generating stage (18) operates on the sequence of pulse periods for generating a sequence of digital output samples which is converted in a digital-to-analog converter (19) to the FM modulated video signal for subsequent recording on tape.

Description: DIGITAL FM SYNTHESIZER FOR RECORD CIRCUITRY This invention relates to digital FM recording of a signal, such as the digital recording of an FM video signal BACKGROUND Analog generation of an FM video signal for recording presents various problems, including aging of components, tolerances in the circuitry generating the carrier and the carrier deviation, and pre- emphasis circuitry which vary significantly from the nominal. Digital FM modulating techniques have, heretofore, been cumbersome requiring the use of a substantial amount of circuitry and excessive memory storage. A feature of the invention is a digital synthesizer technique and system which avoids the disadvantages of analog modulation, without introducing the complexity of typical digital signal processing. SUMMARY A digital synthesizer generates a sequence of digital output samples representing modulation of a carrier by an input signal. The synthesizer is supplied with digital input samples representing the input signal. A calculator stage, responsive to the digital input samples calculates a sequence of pulse periods defining a pulse duration modulated signal that represents the modulation of the carrier by the input signal. An output sample generating stage operates on the sequence of pulse periods for generating the sequence of digital output samples representing the carrier modulated output signal. BRIEF DESCRIPTION OF THE DRAWING FIGURES la and lb illustrate exemplary waveforms of a modulating input signal and a corresponding modulated output signal, respectively, including representative digital samples in both signals, derived in accordance with inventive aspects; FIGURE 2 illustrates a flowchart of an inventive method used to calculate the pulse periods of the FM modulated signal illustrated in FIGURE lb; FIGURE 3 illustrates a flowchart for calculating FM output samples from the calculated values of the FM signal pulse periods; and FIGURE 4 illustrates in block diagram form an FM record system which incorporates an inventive digital FM synthesizer technique. DESCRIPTION OF THE INVENTION In an FM modulated system, the FM modulated output signal, FM(t), may be defined as FM(t) = sin{2π*Freq(t)*t} Eq. (1) , where an instantaneous frequency, Freq(t), may be defined by Freq(t) = CAR + DEV*M(t) Eq. (2) , where M(t) is the modulating signal, CAR is the carrier frequency, and DEV is the deviation. The solid line waveform of FIGURE la illustrates the waveform of an exemplary video signal, V(t), such as a luminance signal, that is to be FM modulated onto a carrier prior to recording. The solid line waveform of FIGURE lb illustrates the resultant FM modulated signal, FM(t). A digital synthesizing technique according to the invention may be used to generate FM(t) from V(t). The synthesis method interprets the FM signal as a pulse duration modulated signal. That is to say, the FM output signal of FIGURE lb may be considered as a pulse sequence, 1,2,3, j..., each pulse having a period, T(j), that is determined by the modulating video signal V(t), and by the various FM system parameters such as carrier frequency, CAR, and deviation, DEV. Additionally, the signal may be considered a bipolar one, in the sense that the pulses alternate in polarity. To ascertain the value of each pulse period T(j) using a closed form equation is possible for only a few simple modulating signals. In general, the modulating video signal V(t) is much too complex for closed form expression. Advantageously according to an inventive arrangement of a digital synthesizing technique, one need consider only the average frequency, Freq A V > of FM(t) over an interval Δt. Taking Equation (2) into account, the average frequency, FreqA V , may be defined as FreqAV = CAR + DEV*VAV Eq. (3 ) , where VAV = lΥlΪL dt Eq. (4) Δt , i.e. VAV s the average value of the modulating video signal V(t) over the interval Δt. Because the amplitude of the FM modulated output signal, FM(t), of FIGURE lb is constant, only the frequency, i.e. the time T(j) between zero crossings, is the variable of importance. For this reason, the smallest time interval, Δt, to consider in evaluating Equations (3) and (4), for any given pulse j, is the corresponding pulse period T(j). In accordance with an inv ntive feature, the calculation of the intervals T(j) is greatly simplified by providing discrete time samples, s(i) = si, s2, s3, ..., of the modulating video signal V(t), having corresponding sampled values VI, V2, V3, ..., as illustrated in FIGURE la, The minimum rate, 1/Tg, is determined by the Nyquist criterion in accordance with the highest frequencies of the video signal V(t) that are to be recorded, e.g. 3 megahertz in a VHS system. Advantageously, this rate, which establishes the sampling speed requirements of the analog-to-digital converter, may be significantly lower than the output sample rate of the FM modulated signal that is applied to the digital-to-analog converter. Note that the number of samples, K(j), that occur within any given output pulse period T(j) varies as the frequency of the FM modulated signal FM(t) varies. Thus, as illustrated in FIGURES la and lb, the number of samples in the pulse period T(2) is K(2)=2, while the number of samples in the interval T(4) is K(4)=3. To calculate a given pulse period T(j) from the sampled values of the modulating video signal V(t), one may use Equations (3) and (4), to equate the reciprocal of the pulse period to twice the average frequency, Freq A V, when averaged over that pulse period, i.e. when averaged over the time Δt=T(j). Thus 1/T(j) = 2*Freq A v(Δt=T(j)) Eq. (5) By having available discrete samples of the modulating signal, the integral expression used in calculating the average modulating signal VAV of Equation (4) may be approximated by a piecewise summation over the interval T(j). When this done, the average modulating signal may be taken as, VAV∑CJ) > over t e interval T(j), resulting in 1 T(j) = 2*[CAR + DEV*V A v∑(J)] Eq. (6) where VAVΣG) Equation (7) , and τ∑φ = R G) + τ s *[K(j)-l] + τ L (j) Eq. (8) ; where, in accordance with the notations shown in FIGURES la and lb, V(j,n) = the n-th sampled value within a given pulse period T(j), of the baseband modulating video signal V(t), where n is a counter index, initially set equal to 1; K(j) •= the number of samples in the output pulse period T(j); TR(J) = the residual time from the first (left-most) zero crossing point of the continuous-time FM modulated output signal FM(t) of a given pulse period T(j) to the time of the first sampled value, V(j,n=l), of the modulating video signal within that period; τ L,(J) = the time from the last sampled value, V(j,K(j)), of the modulating video signal within the period T(j) to the N second (right-most) zero crossing point of FM(t) of that period; τs = the sampling period of the baseband modulating video signal V(t). As an example, take the 4th pulse period T(j=4) of FIGURES la and lb. Four sampled values of video signal V(t) are needed. Three of the sampled values, V(4,l), V(4,2), and V(4,3), are found in the 4th interval, (K equals 3), and the remaining sampled value is the last sampled value of the previous pulse period, sample V(3,2). The average value VAV∑ of the modulating video signal in the 4th pulse period is computed in accordance with Equation (7): V A V∑(4) = A difficulty arises when one attempts to use Equations (6), (7) and (8) to calculate a sequence of output pulse periods T(j) of FIGURE lb, given only the sequence of input samples s(i) of the modulating video signal V(t) in FIGURE la. To directly calculate a given pulse period T(j) using these equations requires a priori knowledge of the end point of the period itself and a knowledge of the total number of samples K(j) of V(t) falling within that period. To overcome this difficulty, an iterative process is used which maintains a running, average period, t av g(j,h), over the first h samples occurring in a given. pulse, j. Initially h is. set to 1 at the beginning of the calculation of a given pulse period T(j), and is then incremented by 1 to include another sample for use in another iteration when a new value of the running average period t aV g(j,h) is calculated. This procedure is repeated until the inclusion of another sampling interval τ~ results in the total time, t sum +Ts , exceeding the running average period t av g(j,h), where t sum is calculated from the beginning-point zero crossing of the pulse to the time of the current input sample. This indicates that by adding an additional sample interval, the end-point zero crossing of the current pulse period has been exceeded. From this fact, one may conclude that the current value of the running average period, t aγ σ (j,h), equals the pulse period T(j), and that the " total number of samples K(j) in the pulse period equals the current value of h. To calculate the running average period t aV g(j,h), consider the fact that Equations (6), (7) and (8), are valid expressions (once certain variables are suitably redefined) for any number of samples h. Thus one obtains 1 2t av g(j»h) Eq.(lO) + τ L (j,h)*VG,h) } , where τ R . (J) = the residual time, if any, that is present from the last zero crossing of the continuous-time output signal to the first output sample point in the current output interval; τ L(i»h) = the remaining time in the current output interval; h = a counter index number indicating the number of input samples of V(t) found in the current output interval; In order to simplify notation, introduce the running time variable τ S UMG,h-D = τ R (j)+(h-l)*τ s Eq.(ll) , used to determine if enough discrete-time has passed to complete a full pulse period T(j), and further introduce the variable h-1 τ R G)*V(j-l,K(j-l)) + τ s * ∑ V(j,n) V AV G α -D = τ SUM(j ,h-l) n=1 E <^ 12 > The variable VAVG * * * 1 "!) ma y be iewed as an average value of the modulating signal V(t), averaged in time from the beginning of the pulse period to a point that ends at sample h-1, i.e. averaged in time over the time TSUMG- 1 "!)- This is illustrated in FIGURE la, for the 4th pulse period that contains input samples s7, s8 and s89, preceded by the sample s6, the last sample of the previos pulse period. Assume that the iterative process has proceeded to the point where ~ S\M and VAVG nave been calculated using the samples through sample h-l=2, i.e., through the 2nd sample, sample s8. Based on Equation (11), the accumulated running time, TSTJM(4,2), from the beginning of of the 4th pulse interval to the 3rd sample s9, is equal to TR(4)+ 2τs- The discrete-time average value VAVG(4 > 2) of the modulating signal averaged over the accumulated running time is the total of the 3 areas shown in hatching in FIGURE la divide by TSUM- The sample values used in the calculation includes the last sample, s6, in the previous pulse period, as well as the first two samples, s7 and s8, in the current period. Once VAVG nas been calculated, the running average period t aV gG»b) may be obtained in the following manner. Equation (10) may be rewritten as 1 2t avg(j' h ) Eq.(13) CAR + ^su M G > h^ τ L G > h) * [ τ suMθ i ) * A voOM»-i> Ht Lα* ) * 4ι ) ] The discrete-time average value VAVG was calculated using a rectangular approximation of V(t) between two actual sample points. Other approximations, such as a straight line connection between two sample points, may be used, at the possible expense of having a more complicated calculation algorithm. It is important to note that a zero crossing of the output signal must occur when TguM > t a vg- The instantaneous frequency is not known exactly until this condition is met. It is possible however to determine if a zero crossing should occur between two sample times For example, in FIGURES l d lb i b amples s9 and slO. To determine that such a zero crossing has occurred, it is necessary to note that τ L (j,-h) = t avg G,h) - τ SUM (j,h-l) Eq.(14) , resulting in .5+DEV* { τsu M G,h-l)*[VG,h)-VAVGG,h-l)] } avgO^ - CAR+DEV*V(j,h) b q. ( 13 ) Thus at any value of h, the values of YAVG >h-l) and t aV g(j,h) can be calculated from the sampled input, given that CAR and DEV are known numeric constants. It should be noted that there are no input sample values which can cause t aV g(j,h) to be less than τ R (j) + τs. After t aV gG > b) is calculated, it is necessary to determine whether or not t aV g(j,h) > τ R (j) + (h-l)τs. If it is greater, then a new value of τsuM and VAVG i calculated and h is incremented by 1. If TsuMG»h-l) + ts > t aV gG»h), then it is necessary to store 3 values in an output memory queue. These are t av g(j,h)=T(j), h=KG) and the residual time τ R (j). These values are used in conjunction with a relatively small capacity sine ROM lookup table to calculate discrete-time values of the FM modulated output signal, as will be later described. To calculate the next pulse period T(j+1), it is necessary to calculate a new value of the residual time, τ G+l), for the next output pulse, pulse j+1. The new value is τ G+l)=τsuMG > h-- +τ*s-TG). After the new value of τ R G+l) is calculated, h is reset to 1. However, if τ is ever 0, for example, if τ R (j+l)=0 then h is set to 2. After these data updating steps have been performed, the process of evaluating the next running average period t aV g(j+l,h) is then initiated. A flowchart describing the above procedure is given in FIGURE 2. It should be noted that for initialization purposes the first output pulse, pulse j=l of FIGURE lb, is arbitrarily chosen as a positive pulse and phased relative to the first input sample si so as to set the first residual time τ R G=l) = 0. Any subsequent residual time can then be determined once its preceding pulse period has been calculated. N Discrete-time values, FM(j,n), of the FM modulated output signal, shown in FIGURE lb, may be calculated for each pulse j, based on the values of T(j), τ (j) and K(j) stored in the output memory queue. The equation for FM(j,n) is FM(j,n) = -SGNG)*sin{^*[τ R (j)+(n-l)*τ s ] } Eq.(16) for n=l,2,...,KG), and where SGNG) is the sign function, i.e. (-1) raised to the j-th power. The change in polarity of alternate output pulses introduced by the sign function is indicative of the quantization of the output signal. The values of FMG,n) are then supplied to . a digital-to-analog converter for generating the continuous-time FM modulated output signal FM(t) of FIGURE lb. It may be advantageous to operate the digital-to-analog converter in the modulator output stage at a faster rate, I DA , than the rate, τ s , for which input samples s(i) are being generated. Equation (16) is then modified to the following FM(j,p) = } Eq.( 17) for p=0,l,2,.... The time ~ ~Q) represents the residual time between the first zero crossing instant of the j-th output pulse and the occurrence of the first computed output sample FM(j,0) in that pulse period. For initialization purposes, the residual time τø(l) of the first pulse is set to 0. When the counter variable p has been incremented to the point where a new pulse period is being entered, a new value T(j+1) for the next output pulse period is fetched from memory. The counter variable p is reset to 0 before beginning the calculation of a new sequence of output samples in the pulse period j+1. Storing in memory of the calculated values τ (j) and KG) is unnecessary since they are not being used for the calculation of the output samples FM(j,p). A flowchart of the steps taken to calculate the sequence of output samples FM(j,p) is provided in FIGURE 3. The digital FM synthesizing technique just described, in accordance with various inventive aspects, may be used to record an input signal on a recording medium. For example, this technique may be used to record a luminance, chrominance, or composite video signal on video tape. The circuit is compatible with all FM record standards (NTSC, PAL and SECAM for VHS or SVHS), with the only restriction being the sampling rate of the A/D and the conversion rate of the D/A. This greatly reduces the parts count external to the IC's in, e.g., a multistandard recorder. A block diagram of a VCR record system 30, including a digital FM synthesizer 10 embodying the invention, is shown in FIGURE 4. The clock input to the digital part of the system, fck, is greater than 25 megahertz for PAL in the SVHS standard and is approximately 20 megahertz for PAL in the VHS standard. A low pass filter 11 may be used to eliminate frequencies in the input signal Vin above the Nyquist frequency of analog-to-digital converter, A/D 12 (10 megahertz). The A/D could actually operate at approximately 10 megahertz clock frequency, fl, for video applications without loss of signal fidelity. Input signal Vin may be, illustratively, an analog baseband luminance signal. A pre-emphasis filter 13 receives the digitized input signal. The filter may be constructed as a standard Infinite Impulse Response or Finite Impulse Response digital filter which approximates the pre-emphasis function for the recording system being used (1.3 microsecond for PAL VHS). The output of pre-emphasis filter 13 is applied to a clipping circuit 14, which is used to limit the minimum and maximum frequency of the output FM signal. This is easily implemented with a lookup table on the output data from the digital filter section. This assumes that video clamping and AGC are applied to the signal, by circuitry not shown, prior to filtering. Other conventional processing of the signal prior to entering the modulator stage are also omitted from the figure. A digital FM modulator 15, embodying the invention, receives the digital samples s(i) from the output of clipping circuit 14 and generates digital FM output samples, FM(j,n) or FM(j,p), calculated in accordance with the digital synthesizing techniques described above. The digital FM modulator stage is similar in concept to an IIR filter because it uses a group of time domain samples to calculate the output signal. This implies a fixed delay from the input to the output. Modulator 15 is arranged in three stages. The first stage 16 receives the digital input samples s(i) and calculates the sequence of output pulse periods T(j) and the associated sequences for the residual times τ G) and the sample counts K(j). The second stage 17, a memory stage, stores the values of TG), τ R (j) and K(j). These values are then fetched by the last stage 18, the FM modulator stage, to generate the sequence of digital FM modulated output samples FM(j,n). Memory stage 17 functions as a first-in-first-out, FIFO, queue The queue prevents the output calculator in FM modulator stage 18 from running out of values of T(j), τ R G) and K(j) when the current output frequency is higher than the next, i.e. during a maximum white to maximum black transition. If modulator stage 18 calculates the output samples as samples FMG,p), in accordance with the algorithm of the flowchart of FIGURE 3, then memory stage 17 need store only the values of T(j). A digital-to-analog converter, D/A 19, operating at an output clock rate f2, converts the FM output samples from modulator stage 18 into an analog signal FM(t). The FM signal is then sent to the VCR record electronics stage 20 for recording the signal on magnetic tape. If the modulator stage operates at an output rate that is higher than the input sampling rate fl, e.g. at the D/A conversion rate f2, then the output rate must exceed 2* (CAR + f max + DEV/2), where f max is the maximum frequency of the input modulating signal. There need be no direct relationship between the input sampling rate f2 and the FM output conversion rate. This permits the use of an existing clock that is available in the VCR, e.g. of a clock operating at 4Fsc = 17.734476 megahertz, when processing a PAL video signal. Because the input sampling rate and the oμtput conversion rate need not be directly related, the calculations of the pulse periods TG) may be performed at a comparatively low frequency (6-7 megahertz) while the output converter runs at a high frequency (4 times the input rate). This has two advantages. The more complex stage which calculates the pulse periods may be implemented with higher resolution in order to preserve signal accuracy and fidelity. The output sine table, adders and D/A's do not require as much accuracy due to the oversampling of the sine function. This reduces the complexity of the hardware required to implement the modulator. The arrangements described above advantageously minimi calculation time, minimize the required memory space, and minir;. Ϊ the required analog bandwidth. Close tolerances are maintained oir the carrier and deviation, to within the tolerances of the various clocks used by the system. Low input sampling rates and output D/A conversion rates are used, typically digital video rates. No external analog adjustments are required, resulting in minimal drift with aging, according to the clock drifts. Few unit-to-unit variations in pre-emphasis are found, and record format changes under software control is made possible.

Claims: WHAT IS CLAIMED: 1. A digital synthesizer for generating a sequence of digital output- samples representing modulation of a carrier by an input signal, comprising: means for supplying digital input samples of said input signal; means responsive to said digital input samples for calculating a sequence of pulse periods defining a pulse duration modulated signal that represents modulation of a carrier by said input signal; and output sample means operating on said sequence of pulse periods for generating said sequence of digital output samples representing a carrier modulated output signal corresponding to said pulse duration modulated signal. 2. The apparatus of Claim 1 further comprising means including record electronics, responsive to said digital output samples, for recording a signal on a recording medium representative of said output signal. 3. The apparatus of Claim 2 wherein said recording medium is video tape. 4. The apparatus of Claim 3 wherein said input signal comprises a luminance signal. 5. A synthesizer according to Claim 1 wherein said output sample means generates a sequence of digital output samples that defines a sequence of output pulses having pulse widths conesponding to said sequence of pulse periods. 6. A synthesizer according to Claim 5 wherein said sequence of output pulses is a sequence of pulses which alternate in polarity. 7. A synthesizer according to Claim 1 wherein said digital output samples represents an FM carrier modulated output signal. 8. A synthesizer according to Claim 7 wherein said sequence of output pulses is a sequence of pulses which alternate in polarity. 9. The synthesizer of Claim 1 and further including a digital-to-analog converter receiving said digital output samples for generating said carrier modulated output signal as an analog output signal. 10. The apparatus of Claim 9 further including record electronics for recording said analog output signal on a recording medium. 11. The apparatus of Claim 10 wherein said recording medium is video tape. 12. The apparatus of Claim 11 wherein said input signal comprises a luminance signal. 13 The apparatus of Claim 12 wherein the carrier modulation of said output signal is frequency modulation. 14 The apparatus of Claim 9 wherein said input signal is an analog signal and said supplying means comprises an analog-to-digital converter receiving said analog input signal for supplying said digital input samples at an output thereof. 15. The apparatus of Claim 14 wherein the sampling rate of said analog-to-digital converter is different than the sampling rate of said digital-to-analog converter. 16. The apparatus of Claim 14 wherein the sampling rate of said analog-to-digital converter is slower than the sampling rate of said digital-to-analog converter. 17. A synthesizer according to Claim 1 including means for storing said sequence of pulse periods in a memory, said output sample means fetching said stored sequence from said memory as needed, so as to calculate the values of said digital output samples. 18. A synthesizer according to Claim 1 wherein said calculating means calculates said sequence of pulse periods T(j), j=l,2,3,..., that defines a sequence of pulses of said pulse duration modulated signal representing FM modulation of a carrier by said input signal, in accordance with the equation: 1/T(j) = 2*[CAR + DEV*V AV ∑G)] , where 1/T(j) = 2*[CAR + DEV*V A v∑G)l where VAV∑G) , and τ∑G) = τ R G) + τ s *[KG)-l] + τ L (j) ; where, CAR = the FM carrier frequency; DEV = the FM deviation; VG,n) = the n-th one of said input samples within a given pulse period T(j), where n is a counter index, initially set equal to 1; K(j) = the number of said input samples in the pulse period T(j); τ G) = the residual time from the first zero crossing point of said pulse duration modulated signal of a given pulse period T(j) to the time of the first one, V(j,n=l), of said input samples within that period; TLG) = the time from the last one, VG,KG)), of said input samples within the period T(j) to the second zero crossing point of said pulse duration modulated signal within that period; and τs = the sampling period associated with said input samples. 19 A synthesizer according to Claim 18 wherein said output sample means generates said sequence of digital output samples, FMG,n), in accordance with the equation: FMG,n) = } 20. A synthesizer according to Claim 19 including means for storing in a memory said sequence of pulse periods TG), a sequence of corresponding values τ R G) and a sequence of corresponding values KG), said output sample means fetching the three stored sequences from said memory as needed, so as to calculate the values of said digital output samples. 21. A synthesizer according to Claim 1 wherein said output sampling means operates on said sequence of pulse periods T(j), j=l,2,3,..., that defines a sequence of pulses of said pulse duration modulated signal representing FM modulation of a carrier by said input signal, to generate said sequence of digital output samples, FM(j,p), in accordance with the equation: , p=0,l,2,..., where τ DA = the sample interval between successive ones of said digital output samples, and ^oG) = the residual time between the first zero crossing instant of the j-th pulse and the occurrence of the first computed output sample FM(j,0) in that pulse period. 22. A synthesizer according to Claim 21 wherein the interval τ DA s shorter than the sampling period associated with said input samples.

Inventors: O'DONNELL EUGENE MURPHY, O'DONNELL, EUGENE, MURPHY
Applicants: THOMSON CONSUMER ELECTRONICS, THOMSON CONSUMER ELECTRONICS, INC.
Application year: 1991
Main classification: H03C3
IPC codes: G11B20, H03C3, H04N5, H04N9