Programmable longitudinal time code generator utilizing a synchronous programmable parallel-to-serial data converter.

Abstract: A programmable time code generator comprises a prog­ rammable control (14) which stores two integral counts, a first counter (10) which in response to a synchronizing signal receives the first count and provides therefrom a first count­ ing interval, a second counter (20) responsive at the end of the first interval to receive the second count and provide a count­ ing interval which bears an integral ratio to the first interval, and a parallel-to-serial converter (28) which receives data words synchronized with control signals occurring at the ends of the first counting intervals and provides output data sync­ hronized with control signals occurring at the ends of the second intervals.

Description: The invention relates to a programmable longitudinal time code generator utilizing a synchronous programmable parallel-to-serial data converter having a programmable frequency ratio between a parallel input data and serial output data which can be programmed for use in various magnetic recording systems and at selected tape speeds. As well known in the art of magnetic recording and reproduction, a time code is generally recorded on the magnetic medium, for example tape, along with the information signal. The recorded time code is utilized to locate a portion of the recorded information if necessary for example for editing, video program production or other purposes. For example when providing broadcast quality video tape recording, generation and recording of a time code must conform to specific well defined standards. As it is well known these standards vary with different recording systems, such as NTSSC, PAL, PAL-M, SECAM, etc. It is well known to utilize for example a microprocessor to generate a time code in parallel form which then must be converted into serial data for recording on tape as a longitudinal time code. In video tape recording, such as utilizing a longitudinal, transverse or helical recording/reproducing format time code is known to be recorded as a longitudinal signal on an audio track by an audio transducer. As well known and in accordance with the above-indicated standards, the time code is measured as an arbritrary time of the day and it consists for all the above-indicated recording systems of 80 bits of which each group of 8-bits or a byte indicates among other values a particular value as follows: tens of hours; units of hours; tens of minutes; units of minutes; tens of seconds; units of seconds; tens of frames and units of frames, respectively. Consequently, when it is necessary to change the recording format or, alternatively, when it is desired to record the time code at slower or faster tape speed than normal playback speed, the parameters of the time code generation must be changed accordingly, to obtain synchronous recording thereof with the recorded information. Prior art time code generators utilize relatively complex timing and pulse generating circuitry which cannot be readily modified to provide respective time codes adapted to the above-indicated changes of the recording parameters. One aspect of the present invention is a relatively simple device and method for generating a time code which can be readily modified to conform to changes in the recording parameters. It is a particular object of the present invention to provide a time code generator which can be readily modified to obtain longitudinal time code for synchronous magnetic recording with an information signal recorded in NTSC, PAL, PAL-M, SECAM or other recording formats and at various speeds of magnetic media with respect to normal playback speed. It is known to provide an integrated circuit, Type Z8536, which comprises: a programmable control means operable to provide a first and second count; a first programmable counter means coupled to said control means to receive said first count, to count an input clock signal to obtain a first time interval repeatedly and to apply a first control signal to said programmable control means after each such first time interval; and a second programmable counter means, coupled to said programmable control means to receive said second count, to count the input clock signal to obtain a second time interval repeatedly and to provide a second control signal after each such second time interval. It is also known to employ a shift register generally for parallel-to-serial data conversion and in particular, as described in US-A-3681524, to convert time code information from a parallel format to a serial format. The latter document also discloses the use of a plurality of time codes to extend the range of recording speeds at which a recorded time code will be intelligible during playback. According to the invention there is provided a programmable time code generator for providing a longitudinal time code in serial data form synchronously with a composite video signal having a vertical frame synchronizing signal and a video information signal, said video information signal being provided in consecutive frames, each frame having a known delay with respect to said vertical frame synchronising signal, comprising: means for providing the time code signal in the form of parallel data words; means for providing the vertical frame synchronizing signal; a programmable control means arranged to receive said vertical frame synchronizing signal and to store an initial, a first and a second integral count, respectively; a first programmable counter means coupled to said control means to receive said stored initial integral count in response to said vertical frame synchronizing signal, said first counter means being coupled to count a clock signal at a given frequency to obtain said known delay in accordance with said initial integral count and to apply an initial control signal to said control means when said known delay is obtained; said programmable control means being further coupled to apply to said first programmable counter means said stored first integral count in response to said initial control signal, the first counter means providing thereafter a first time interval repeatedly in accordance with said first integral count and the count of said clock signal and a first control signal to said programmable control means after each said first time interval; a second programmable counter means coupled to said control means to receive, in response to said initial count, said stored second integral count and thereafter to count the clock signal so as to provide in accordance with said second count a multiplicity of second time intervals within each of the first intervals and also to provide a second control signal after each said second time interval; and a parallel-to-serial data converter means coupled to receive said parallel data words each synchronous with said first control signal and to provide the longitudinal time code signal in the form of serial data synchronously with the second control signals. FIGURE 1 is a simplified block diagram of a synchronous programmable parallel-to-serial data converter circuit. FIGURE 2 is a detailed diagram of a preferred embodiment of a programmable longitudinal time code generator in accordance with the present invention utilizing the converter of FIGURE 1. FIGURE 3 shows timing diagrams illustrating operation of the circuit of FIGURE 1; FIGURE 4 shows timing diagrams illustrating operation of the circuit of FIGURE 2; and FIGURES 5A to 5C show simplified flow diagrams depicting the flow of operation of the circuit of FIGURE 2. The synchronous programmable parallel-to-serial data converter shown in the block diagram of FIGURE 1 will first be described, followed by a description of the operation thereof with reference to the timing diagrams of FIGURE 3. FIGURE 1 shows a first programmable counter 10 which is connected by a parallel data line 12 to a programmable logic circuit 14. Circuit 14 has an input control line 16 for receiving a synchronization signal A from an outside source (not shown). A second programmable counter 20 is connected to circuit 14 by a parallel data line 22. The programmable counters 10, 20, are also connected to the programmable control logic circuit 14 by the respective control lines 23, 24; 25, 26; respectively, of which lines 23; 25 represent respective load control signals of counters 10; 20, while lines 26; 26 are respective output control signals from these counters as it will be described in more detail later. The control circuit 14 receives a parallel data in the form of parallel data words via a data line 15 from an outside source (not shown). A parallel-to-serial data converter 28, implemented for example by a parallel-to-serial shift register receives that parallel data from the control circuit 14 via a parallel data line 31 and the resulting serial data is obtained therefrom on an output data line 32. The shift register 28 also receives a parallel data input or load control signal E from the logic circuit 14 via a control line 29 and a serial data shift control signal F via a control line 30. Now the operation of the circuit of FIGURE 1 will be described with reference to the timing diagrams of FIGURE 3. The programmable control logic circuit 14 receives the synchronization pulse A via line 16 for example from an outside source (not shown), such as a microprocessor as it is well known in the art. Pulse A has a period T1 as depicted in FIGURE 3. Circuit 14 provides in response thereto a load and reset control pulse B via lines 23 and 25 to reset the programmable counters 10, 20 to zero, respectively. Subsequently a binary number P representing a first integral count is loaded in parallel via data line 12 into counter 10 and a binary number S representing a second integral count is loaded in parallel via data line 22 into counter 20 to preset these respective counters. In the preferred embodiment numbers P, S are selected such that P is an integral multiple of S and both counters have the same clock signal frequency which is applied thereto from an external reference clock generator 27 in a well known manner. Counter 10 is preferably implemented as a retriggerable down counter which counts down from number P until it reaches zero and then it provides an output signal C on line 24 which re-starts counting by counter 10 from number P again. The second counter 20 is preferably a free running retriggerable counter which counts continuously at a frequency given by number S and the counter clock rate. The output signal on line 26 from counter 20 is shown at D in FIGURE 4. Thus a time interval T2 of output signal C on line 24 from counter 10 is determined by the number P loaded therein and the particular clock frequency utilized. Similarly, a time interval T3 of the output signal D of counter 20 is determined by the number S and the counter 20 clock frequency. The programmable control circuit 14 of FIGURE 1 receives a parallel data on line 15 from an external source, for example a microprocessor (not shown) as is well known in the art. Each parallel word which in the preferred embodiment is for example 8 bits long, is loaded in the shift register 28 synchronously with the load control signal E, also referred to as parallel clock signal which is derived from signal C by the control logic circuit 14 to obtain correct synchronization. Subsequently, shift register 28 receives the signal F on line 30 as a serial data output clock signal which determines the frequency at which the serial output data is shifted out from the shift register 28 on line 32. Similarly, the signal F, also referred to `as a serial data shift signal is synchronously derived from the above-described output signal D on line 26 from the second programmable counter 20 by the programmable control logic circuit 14. It is noted that inherent delays occurring between the various signals due to system operation delays are not shown in the attached timing diagrams to simplify the description. In addition to counter 20 being periodically retriggered by signal B, it is also periodically retriggered in response to signal C via lines 24 and 25 by the programmable control logic circuit 14 to obtain additional synchronization. It is seen from the foregoing description that by selecting the numbers P and S such that at a known clock signal frequency provided by clock signal generator 27 respective desired time intervals T2, T3 may be obtained which have respective desired integral ratios with reference to the time interval T1 of the synchronization signal. It also follows from the foregoing disclosure that when the frequency of the serial data shift signal F is selected as an integral number multiple of the parallel clock signal E frequency, which number in turn corresponds to the number of bits in a parallel data word on line 31, then a synchronous parallel-to-serial data transfer will be obtained. As it will follow from a more detailed description below, the aforementioned synchronous data conversion in accordance with the present invention is controlled by a programmable control logic circuit which provides accurate synchronization of data transfer throughout the device in a relatively simple manner. It is a particular advantage of the synchronous converter of FIGURE 1 that when it is necessary to change the respective frequency or phase relationship of any of the signals, such change can be easily obtained without modification of the circuit elements. As an example, the programmable counter 10, 20 and the programmable control circuit may be implemented by a programmable counter/timer input/output integrated circuit device, such as type Z8536, manufactured by Zilog Corporation, and the shift register 28 by an integrated circuit device, type 74LS165, manufactured by Texas Instruments among others. The above-indicated device is indicated in FIGURE 1 by interrupted line and designated by reference numeral 37. Now the preferred embodiment of a time code generator utilizing a programmable parallel-to-serial converter as previously described with reference to FIGURE 1 will be described in detail with reference to the schematic circuit diagram of FIGURE 2 and the timing diagrams of FIGURE 4. In the embodiment of FIGURE 2 a programmable counter/timer input/output device, further referred to as CTI0 device 37 is utilized, preferably implemented by type Z8536 manufactured by Zilog Corporations The above-indicated device 37 has three 16-bit programmable counter/ timer circuits two of which are utilized as a first and a second counter 10, 20, respectively, similar to those previously described with respect to FIGURE 1. The device 37 also includes a programmable control logic circuit such as circuit 14 of FIGURE 1, a bidirectional data bus, two sets of 8-bit programmable input/output ports, and one 4-bit port shortly I/O ports, The time code is received on data bus 15 as a sequence of parallel bytes, for example from a well known time code generator, such as a microprocessor (not shown). One set 31 of 8-bit ports is programmed to apply the latter parallel input data to the previously described shift register 28 of FIGURE 1. It is noted that to facilitate comparison between the drawing FIGURES like elements are designated by like reference numerals. Shift register 28 is preferably implemented in FIGURE 2 as type 74LS165 manufactured among others by Texas Instruments. As an example, the operation of the programmable time code generator of the preferred embodiment of FIGURE 2 will be now described where an 80-bit time code is received by data bus 15 as a sequence of ten parallel bytes and it is applied as an 80-bit longitudinal time code on line 32 therefrom for recording on a magnetic tape synchronously with a video information signal, recorded for example by a rotary helical type recording device in a manner well known in the art. As it is well known the video frame rate in the NTSC and PAL-M systems approximately 60 frames/per second, while in PAL and SECAM systems it is 50 frame/per second. Consequently, the frequency at which the longitudinal time code is to be recorded in these various systems must change accordingly to obtain accurate timing and synchronization with the recorded information signal. The programmable time code generator of the invention has the advantage that it can be readily adapted to provide the necessary changes in frequency and in a predetermined delay of the time code without changing any circuit elements as it will follow. As it is well known, in professional broadcast quality video recording the time code recorded on tape must satisfy well defined standard requirements. One requirement is a given predetermined delay, further referred to as t1, which is a time interval between a specified edge of the vertical sync pulse and the time when actual recording of a video information signal pertaining to the current frame starts. Consequently recording of the time code must be likewise delayed following each vertical sync pulse by a different value of t1 as specified for each recording system. A further example of a change in recording parameters requiring a corresponding change of the frequency at which the time code is recorded on tape occurs when the recording takes place at a tape speed different from a normal playback speed. For example, when recording at twice the normal tape speed, the time code must be recorded at double frequency. Analogously, when for example the recording takes place at one-half of the normal playback speed, the longitudinal time code frequency must be reduced to one-half to obtain synchronization with the recorded information. It is an important advantage of the time code generator of the present invention that the above indicated changes in the delay and freuency of the longitudinal time code can be readily made without the need of providing relatively complicated timing and logic circuity as it has been the case in prior art time code generators. The operation of the programmable time code generator of FIGURE 2 will be described now with reference to flow diagrams of FIGURES 5A to 5C and the timing diagram of FIGURE 4. It is noted that various signals which are comparable to those previously described with reference to FIGURE 3 are indicated in FIGURE 4 by like letter designations with a prime attached thereto while like signals and circuit elements are designated by like characters in all the drawing figures to facilitate comparison. First an initialization or power-up of the programmable CTIO device 37 is provided as depicted in FIGURE 5A. A first counter, selected as counter 2 of the device 37 and which is similar to the previously described counter 10 of FIGURE 1 is programmed to be retriggerable. A second counter, selected as counter 3 of the device 37, which is similar to counter 20 of FIGURE 1 is programmed to be continuous, retriggerable and having its output available through port C of the device 37, indicated as line 30 in FIGURE 2. Both counters 10, 20 synchronously receive a 2 MHz clock signal obtained from a 4 MHz system clock generator and a frequency divide-by-two (not shown). The system clock generator corresponding to clock signal generator 27 of FIGURE 1. Thereafter a time constant corresponding to a previously described binary number S is programmed for the second counter 20 as it will be specified later. Thereafter the counters 10, 20, and the ports and interrupts of the CTIO device 37 are enabled. The following operation will be now described with reference to FIGURE 5B. Next, the CTIO device 37 is programmed to provide a start delay t1 every time after a vertical video frame synchronizing pulse A' is received. In the embodiment of FIGURE 2 the signal A' is received as a parallel data byte via data bus 15 in a time shared manner with the parallel time code data. Signal A' and the start delay t1 are shown in the timing diagram of FIGURE 4. Then counter 10 is triggered by a pulse I' and interrupts are enabled to interrupt the operation when counter 10 reaches zero. It will be understood from the foregoing description that the start delay t1 is obtained by loading into counter 10 for example a number M' whose value is selected to obtain the necessary delay t1 at the known clock frequency of counter 10. Thus when counter 10 counts down to zero a first interrupt signal B' is provided on line 24 by that counter as shown in FIGURE 3. The following operation is described with reference to FIGURE 5C. In response to signal B' the CTIO device triggers the second programmable counter 20 and simultaneously the parallel data byte received at input ports 15 is applied via output ports 31 to a parallel input of the parallel-to-serial converter 28. Simultaneously the previously described binary number P' is programmed by the CTIO device 37 for the first counter 10, where P is a 16-th multiple of the number S as previously described, that is P = 16 x S. Thereafter counter 10 is triggered by the previously described pulse B'. Counter 10 interrupt is enabled to allow retriggering counter 20 every time when a zero count is obtained by counter 10. The latter interrupt or control signal is shown in FIGURE 4 at E'. The CTIO device is programmed to repeat the above-described operations of FIGURES 5A to 5C following the reception of each vertical sync signal A' on line 16. In the preferred embodiment of FIGURE 2 sixteen pulses D' are provided by counter 20 for reach pulse C' for the following reasons. The serial pulses of the longitudinal time code obtained on line 32 are in the return-to-zero or shortly RZ form. As well known in the art the latter type of signal cannot be easily recovered from tape because of its non-self-clocking format. Consequently, it is necessary to convert these pulses from RZ to NRZ or non-return-to-zero format by obtaining an additional transition from high to low or low to high value in the middle of each bit cell corresponding to binary one as well known. To obtain the foregoing, the above-described respective signals D' and F' are provided by the circuit of FIGURE 2 at twice the rate at which the serial output signal, that is the longitudinal time code on line 32 is applied from the shift register 28. The RZ to NRZ conversion is provided by flip-flops 40, 41 and NAND gate 42. Flip-flop 40 receives on line 30 from the CTIO device 37 signal F' at a frequency 16 times that of signal C'. Flip-flop 40 receives the latter signal and divides its frequency by two. The resulting signal is applied therefrom via line 30a to the parallel-to-serial shift register 28 as the serial clock signal. The above-mentioned signal F' on line 30 is also applied to the second flip-flop 41. The shift register 28 provides a serial output signal on line 32 at its serial clock frequency on line 30a which output signal corresponds to the longitudinal time code which however is in the form of an RZ signal. The signal on line 32 is then applied through a NAND gate 42 whose other input receives the serial clock signal on line 30a to the second flip-flop 41. Flip-flop 41 in turn provides a midcell transition for each serial pulse received on line 32a which has a binary value of one, the timing of that transition being determined by the signal F' on line 30. As a result a serial time code signal in the desired NRZ from is obtained on output line 32b from flip-flop 41 which output signal is synchronous with signal F' on line 30 and has one half of its frequency. It will be understood from the foreging disclosure that if it is desired to utilize the embodiment of FIGURES 1 or 2 to obtain serial output data at various selected frequency ratios with respect to a synchronizing signal or, alternatively, when it is necessary to change the frequency of the synchronizing signal received by these embodiments, or the delay t1, a plurality of parameters P; S or P'; S' and/or M' may be stored by the programmable control circuit. Selected ones of these parameters are then retrived by the control circuit to obtain the particular selected frequency ratios and/or delay.

Claims: A programmable time code generator for providing a longitudinal time code in serial data form (32, 32b) synchronously with a composite video signal having a vertical frame synchronizing signal (A') and a video information signal (15), said video information signal being provided in consecutive frames, each frame having a known delay (t1) with respect to said vertical frame synchronising signal, comprising: means (15) for providing the time code signal in the form of parallel data words; means (16) for providing the vertical frame synchronizing signal (A'); a programmable control means (14) arranged to receive said vertical frame synchronizing signal (A') and to store an initial (M'), a first (P') and a second (S') integral count, respectively; a first programmable counter means (10) coupled to said control means (14) to receive said stored initial integral count (M') in response (I') to said vertical frame synchronizing signal (A'), said first counter means (10) being coupled to count a clock signal (33) at a given frequency to obtain said known delay (t1) in accordance with said initial integral count (M') and to apply an initial control signal (B', C') to said control means (14) when said known delay (t1) is obtained; said programmable control means (14) being further coupled to apply to said first programmable counter means (10) said stored first integral count (P' in response (B') to said initial control signal (B', C'), the first counter means (10) providing thereafter a first time interval (T2) repeatedly in accordance with said first integral count (P') and the count of said clock signal (33) and a first control signal (C') to said programmable control means (14) after each said first time interval (T2); a second programmable counter means (20) coupled to said control means (14) to receive, in response (B') to said initial count (B', C'), said stored second integral count (S') and thereafter to count the clock signal (34) so as to provide in accordance with said second count (S') a multiplicity of second time intervals (T3) within each of the first intervals (T2) and also to provide a second control signal (D') after each said second time interval (T3); and a parallel-to-serial data converter (28) means coupled to receive said parallel data words (15, 31) each synchronous with said first control signal (C', E') to provide the longitudinal time code signal (32) in the form of serial data synchronously with the second control signals (D', F'). A generator according to claim 1 and arranged to provide the longitudinal time code signal (32b) in a non-return-to-zero format.

Inventors: LARKINS, DAVID N.
Applicants: AMPEX CORPORATION
Application year: 1984
Main classification: H03M9
IPC codes: G11B20, H03M9, G06F13, G11B27