Patent Document

RELATED APPLICATION DATA 
     The present application claims priority to Japanese Application(s) No(s). P2004-208477 filed Jul. 15, 2004, which application(s) is/are incorporated herein by reference to the extent permitted by law. 
     BACKGROUND OF THE INVENTION 
     The present invention relates to a timing signal generating circuit and a photographing device having the same circuit. 
     Digital still cameras and digital camcorders using a solid-state image pickup element including a CCD (Charge Coupled Device) and the like have a timing signal generating circuit for generating a plurality of kinds of timing signals for driving the solid-state image pickup element. 
     Recent cameras including this timing signal generating circuit have a plurality of kinds of photographing mode functions such as an auto focus mode, a high-speed shutter mode and the like in addition to an ordinary photographing mode. 
     The timing signal generating circuit therefore needs to generate a plurality of groups of the above-described plurality of kinds of timing signals for the respective photographing modes. 
     Known as a timing signal generating circuit for thus generating a plurality of kinds of timing signals is a timing signal generating circuit that has a memory therewithin, stores rising edge position data and falling edge position data of a plurality of kinds of timing signals to be generated in the memory in advance, and generates the plurality of kinds of timing signals using the rising edge position data and the falling edge position data stored in the memory (refer to, for example, Japanese Patent Laid-Open No. 2002-51270 (Patent Document 1)). 
     As shown in  FIG. 7 , this timing signal generating circuit  100  includes: a microcomputer interface  101  for receiving a control signal S 100  input from a microcomputer; a RAM  102  for storing rising edge position data SET 1  to SET 4  and falling edge position data RST 1  to RST 4  of a plurality of timing signals S 103  to be generated, on the basis of various setting signals S 101  input from the microcomputer interface  101 ; and a pulse generator  103  for generating desired timing signals S 103  using rising edge signals and falling edge signals S 102  generated on the basis of the position data SET 1  to SET 4  and RST 1  to RST 4  stored in the RAM  102  as well as a vertical synchronizing signal VR and a horizontal synchronizing signal HR input from the microcomputer. 
     The RAM  102  forming the timing signal generating circuit  100  includes a plurality of mode areas M 1  and M 2  divided for each photographing mode and further includes, in each of the mode areas M 1  and M 2 , a plurality of signal areas Va 1  to Va 8  divided for each of a plurality of timing signals S 103  necessary in the mode. 
     All the signal areas Va 1  to Va 8  have eight timing storing areas n for storing pieces of rising edge position data SET 1  to SET 4  and falling edge position data RST 1  to RST 4  which pieces are equal in number to the number of pulses of the timing signal S 103  having the largest number of pulses of all the timing signals S 103  to be generated. 
     When the plurality of desired timing signals S 103  are to be generated, the rising edge position data SET 1  to SET 4  and the falling edge position data RST 1  to RST 4  of the timing signals S 103  are input to all the timing storing areas n. The pulse generator  103  combines the rising edge position data SET 1  to SET 4  and the falling edge position data RST 1  to RST 4  read from each of the signal areas Va 1  to Va 8 , and thereby generates the plurality of desired timing signals S 103 . 
     SUMMARY OF THE INVENTION 
     Thus, in the conventional timing signal generating circuit  100 , all the signal areas Va 1  to Va 8  have eight timing storing areas n for storing pieces of rising edge position data SET 1  to SET 4  and falling edge position data RST 1  to RST 4  which pieces are equal in number to the number of pulses of the timing signal S 103  having the largest number of pulses (four pulses in this case) of all the timing signals S 103  to be generated, and the rising edge position data SET 1  to SET 4  and the falling edge position data RST 1  to RST 4  of the timing signals S 103  are input to all the timing storing areas n. 
     That is, even when of the plurality of timing signals S 103  to be generated, a timing signal S 103  having less than the maximum number of pulses is to be generated, rising edge position data SET 1  to SET 4  and falling edge position data RST 1  to RST 4  are stored in all the timing storing areas n at all times. 
     Therefore timing storing areas n unnecessary for the generation of the timing signal S 103  store dummy rising edge position data and falling edge position data DM that are not actually used. Because of the timing storing areas n for storing the dummy rising edge position data and falling edge position data DM, it is difficult to reduce the storage capacity of the RAM  102 . 
     In addition, since power is required even for the dummy rising edge position data and falling edge position data DM that are not actually used, it is difficult to reduce power consumption. 
     According to an embodiment of the present invention, there is provided a timing signal generating circuit including: a memory for storing rising edge position data and falling edge position data of pulses of a timing signal to be generated; and a pulse generator for generating the timing signal on a basis of the rising edge position data and the falling edge position data; wherein the memory stores pulse count data indicating a number of pulses of the timing signal, and the pulse generator includes rising edge signal generating circuits for generating rising edge signals on a basis of respective pieces of the rising edge position data, falling edge signal generating circuits for generating falling edge signals on a basis of respective pieces of the falling edge position data, an active control circuit for setting in an active state the rising edge signals and the falling edge signals generated by the rising edge signal generating circuits and the falling edge signal generating circuits that correspond in number to the pulse count data, and a pulse generating circuit for generating the timing signal on a basis of the rising edge signals and the falling edge signals set in the active state by the active control circuit. 
     Therefore, when a desired timing signal is to be generated, it is not necessary to store dummy rising edge position data and falling edge position data that are not actually used. The timing signal generating circuit can thus be formed using a relatively inexpensive memory with a low memory capacity to reduce manufacturing cost. 
     In addition, since power required for the dummy rising edge position data and falling edge position data is eliminated, it is possible to reduce power consumption. 
     According to another embodiment of the present invention, there is provided a photographing device including a timing signal generating circuit, wherein the timing signal generating circuit includes a memory for storing rising edge position data and falling edge position data of pulses of a timing signal to be generated, and a pulse generator for generating the timing signal on a basis of the rising edge position data and the falling edge position data, the memory stores pulse count data indicating a number of pulses of the timing signal, and the pulse generator includes rising edge signal generating circuits for generating rising edge signals on a basis of respective pieces of the rising edge position data, falling edge signal generating circuits for generating falling edge signals on a basis of respective pieces of the falling edge position data, an active control circuit for setting in an active state the rising edge signals and the falling edge signals generated by the rising edge signal generating circuits and the falling edge signal generating circuits that correspond in number to the pulse count data, and a pulse generating circuit for generating the timing signal on a basis of the rising edge signals and the falling edge signals set in the active state by the active control circuit. 
     Thus, since a relatively inexpensive memory with a low memory capacity can be used, manufacturing cost can be reduced, and a photographing device consuming less power can be provided. 
    
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         FIG. 1  is a block diagram showing a photographing device according to an embodiment of the present invention; 
         FIG. 2  is a block diagram showing a timing signal generating circuit included in the photographing device according to the embodiment of the present invention; 
         FIG. 3  is a circuit diagram showing a pulse generator included in the timing signal generating circuit according to the embodiment of the present invention; 
         FIG. 4  is a timing chart showing timing signals generated by the pulse generator; 
         FIG. 5  is a circuit diagram showing another embodiment of the pulse generator; 
         FIG. 6  is a timing chart showing timing signals generated by the pulse generator; and 
         FIG. 7  is a block diagram showing a conventional timing signal generating circuit. 
     
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS 
     A photographing device according to an embodiment of the present invention has a timing signal generating circuit for generating a timing signal for driving an image pickup element. 
     This timing signal generating circuit has a memory for storing rising edge position data and falling edge position data of each pulse of the timing signal to be generated, and a pulse generator for generating the timing signal on the basis of the rising edge position data and the falling edge position data. 
     In particular, the memory included in the timing signal generating circuit stores pulse count data indicating the number of pulses of each timing signal to be generated. 
     The pulse generator has rising edge signal generating circuits for generating a rising edge signal for determining a rising edge of each timing signal on the basis of each piece of rising edge position data stored in the memory, and falling edge signal generating circuits for similarly generating a falling edge signal for determining a falling edge of each timing signal on the basis of each piece of falling edge position data stored in the memory. 
     In particular, the pulse generator has an active control circuit for setting in an active state rising edge signals and falling edge signals generated by the rising edge signal generating circuits and the falling edge signal generating circuits that correspond in number to the above-mentioned pulse count data. 
     The memory of the timing signal generating circuit can thereby be formed by a relatively inexpensive memory having a low memory capacity capable of storing only the pulse count data and pieces of rising edge position data and pieces of falling edge position data equal in number to the number of pulses of the timing signals to be generated. 
     Therefore the cost of manufacturing the timing signal generating circuit can be reduced. 
     In addition, the data amount of the rising edge position data and the falling edge position data stored in the memory can be reduced. The power consumption of the timing signal generating circuit can therefore be reduced. 
     The pulse generator also has a repeat circuit for making a pulse generating circuit perform signal output repeatedly a preset number of times. 
     In generating a timing signal in which a predetermined pattern appears repeatedly a predetermined number of times, this repeat circuit presets the number of repetitions of the predetermined pattern therein, and counts the repetitions of the predetermined pattern by a counter. 
     The repeat circuit makes the active control circuit operate until the counter has counted the preset number of repetitions, whereby the pulse generating circuit is made to perform signal output for a predetermined time. 
     The pulse generator further includes an offset circuit for making the pulse generating circuit stop signal output for a preset time. 
     This offset circuit holds all the timing signals in an inactive state for a predetermined time when supplied with a leading edge offset signal before the generation of the plurality of timing signals, and holds all the timing signals in the inactive state again for a predetermined time when supplied with a trailing edge offset signal after the generation of the plurality of timing signals. 
     Thereby, a plurality of complex timing signals can be generated without increasing the memory capacity. A wide variety of photographing modes can thus be realized. 
     As shown in  FIG. 1 , a photographing device  1  according to an embodiment of the present invention includes: a photographing circuit  2  formed by a CCD (Charge Coupled Device), a driving circuit for driving the CCD, and the like; an analog/digital converter  3  for converting an analog image signal S 1  of an image taken by the photographing circuit  2  into a digital image signal S 3 ; a microcomputer  4  for generating a video signal S 4  by subjecting the digital image signal S 3  input from the analog/digital converter  3  to digital image processing such as luminance and color difference processing and the like; and a timing signal generating circuit  5  for generating timing signals S 6  for driving the CCD on the basis of various controls signals S 5 , a vertical synchronizing signal VR, a horizontal synchronizing signal HR and the like input from the microcomputer  4 , and supplying the timing signals S 6  to the photographing circuit  2 . 
     As shown in  FIG. 2 , the timing signal generating circuit  5  included in the photographing device  1  includes a microcomputer interface  6 , a RAM (Random Access Memory)  7 , and a pulse generator  8 . 
     The microcomputer interface  6  is an interface circuit for outputting the various controls signals S 5  input from the microcomputer  4  as a setting signal S 7 . 
     The RAM  7  is a storage circuit for storing rising edge position data SET indicating timing of a rising edge of each pulse of a plurality of kinds of timing signals S 6  and falling edge position data RST indicating timing of a falling edge of each pulse of the plurality of kinds of timing signals S 6 . 
     The RAM  7  includes a plurality of mode areas MA and MB divided for each photographing mode and further includes, in each of the mode areas MA and MB, eight signal areas V 1  to V 8  divided for each of a plurality of timing signals necessary in the mode. 
     In particular, the signal areas V 1  to V 8  have timing storing areas m for storing a predetermined number of pieces of rising edge position data SET and a predetermined number of pieces of falling edge position data RST according to the number of pulses of each timing signal S 6  used in each photographing mode. 
     That is, a signal area for generating a timing signal S 6  having four pulses (the signal areas V 1  and V 2  in the mode area MA) has a total of eight timing storing areas m for storing four pieces of rising edge position data SET 1  to SET 4  and four pieces of falling edge position data RST 1  to RST 4 . A signal area for generating a timing signal S 6  having one pulse (the signal areas V 1  to V 8  in the mode area MB) has a total of two timing storing areas m for storing one piece of rising edge position data SET 1  and one piece of falling edge position data RST 1 . 
     The RAM  7  further includes, in each of the signal areas V 1  to V 8 , pulse count memories Pm 1  to Pm 8  for storing pulse count data indicating the number of pulses of the timing signal S 6  to be generated. 
     The pulse generator  8  is a logic circuit that reads various parameters S 8  including the pulse count data P_CNT, the rising edge position data SET, the falling edge position data RST, and the like from the RAM  7 , and generates the timing signals S 6  for driving the CCD on the basis of the parameters S 8  and the vertical synchronizing signal VR and the horizontal synchronizing signal HR input from the microcomputer  4 . 
     As shown in  FIG. 3 , this pulse generator  8  includes: a plurality of rising edge signal generating circuits  10   a  for generating rising edge signals SET 1 ′ to SET 4 ′ on the basis of rising edge position data SET 1  to SET 4 ; a plurality of falling edge signal generating circuits  10   b  for generating falling edge signals RST 1 ′ to RST 4 ′ on the basis of falling edge position data RST 1  to RST 4 ; an active control circuit  18  for setting in an active state rising edge signals SET′ and falling edge signals RST′ generated by rising edge signal generating circuits  10   a  and falling edge signal generating circuits lob corresponding in number to the above-mentioned pulse count data P_CNT; and a pulse generating circuit  19  for generating the timing signals S 6  on the basis of the rising edge signals SET′ and the falling edge signals RST′ set in the active state by the active control circuit  18 . 
     The plurality of rising edge signal generating circuits  10   a  are comparators that compare the rising edge position data SET 1  to SET 4  input from the RAM  7  with the count data CNT of a clock signal CL which data is input from a count circuit  14 . 
     The rising edge signal generating circuits  10   a  then input the rising edge signals SET 1 ′ to SET 4 ′ rising in timing in which the values of the rising edge position data SET 1  to SET 4  become equal to the value of the count data CNT to rising edge AND logical circuits  11   a.    
     The plurality of falling edge signal generating circuits  10   b  are comparators that compare the falling edge position data RST 1  to RST 4  input from the RAM  7  with the count data CNT of the clock signal CL which data is input from the count circuit  14 . 
     The falling edge signal generating circuits  10   b  then input the falling edge signals RST 1 ′ to RST 4 ′ falling in timing in which the values of the falling edge position data RST 1  to RST 4  become equal to the value of the count data CNT to falling edge AND logical circuits  11   b.    
     The active control circuit  18  includes: a plurality of the rising edge AND logical circuits  11   a ; a plurality of the falling edge AND logical circuits  11   b ; a control circuit  15  for controlling the operation of the plurality of rising edge AND logical circuits  11   a  and the plurality of falling edge AND logical circuits  11   b ; and the counter circuit  14 . 
     The plurality of rising edge AND logical circuits  11   a  perform an AND operation on the rising edge signals SET 1 ′ to SET 4 ′ input respectively from the rising edge signal generating circuits  10   a  to the rising edge AND logical circuits  11   a  and respective control signals CR input from the control circuit  15 . Thereby all or a part of rising edge selection signals SET 1 ″ to SET 4 ″ are selectively output from only the rising edge AND logical circuits  11   a  necessary to generate the desired timing signals S 6  to a rising edge OR logical circuit  12   a.    
     The plurality of falling edge AND logical circuits  11   b  perform an AND operation on the falling edge signals RST 1 ′ to RST 4 ′ input respectively from the falling edge signal generating circuits  10   b  to the falling edge AND logical circuits  11   b  and respective control signals CR input from the control circuit  15 . Thereby all or a part of falling edge selection signals RST 1 ″ to RST 4 ″ are selectively output from only the falling edge AND logical circuits  11   b  necessary to generate the desired timing signals S 6  to a falling edge OR logical circuit  12   b.    
     The control circuit  15  inputs an enable signal EN for operating the counter circuit  14  and a clock signal CL to the counter circuit  14 . Also, the control circuit  15  generates the control signals CR on the basis of the pulse count data P_CNT stored in the RAM  7 , and then inputs the control signals CR to the rising edge AND logical circuits  11   a  and the falling edge AND logical circuits  11   b . The control circuit  15  thereby performs control so that rising edge selection signals SET″ and falling edge selection signals RST″ are output only from rising edge AND logical circuits  11   a  and falling edge AND logical circuits  11   b  equal in number to the number of pulses of the timing signal S 6  to be generated. 
     The counter circuit  14  is a counter that successively inputs count data CNT obtained by counting the clock signal CL input from the control circuit  15  to the rising edge signal generating circuits  10   a  and the falling edge signal generating circuits  10   b  while the enable signal EN input from the control circuit  15  is in an active state. 
     The pulse generating circuit  19  includes the rising edge OR logical circuit  12   a , the falling edge OR logical circuit  12   b , and a waveform synthesizing circuit  13 . 
     The rising edge OR logical circuit  12   a  generates a rising edge determining signal SET 12   a  for determining the rising edge positions of the timing signal S 6  by performing an OR operation on the rising edge selection signals SET″ input from the rising edge AND logical circuits  11   a . The rising edge OR logical circuit  12   a  inputs the rising edge determining signal SET 12   a  to the waveform synthesizing circuit  13 . 
     The falling edge OR logical circuit  12   b  generates a falling edge determining signal RST 12   b  for determining the falling edge positions of the timing signal S 6  by performing an OR operation on the falling edge selection signals RST″ input from the falling edge AND logical circuits  11   b . The falling edge OR logical circuit  12   b  inputs the falling edge determining signal RST 12   b  to the waveform synthesizing circuit  13 . 
     The waveform synthesizing circuit  13  is an SR type flip-flop for generating the timing signal S 6  that rises in timing of the rising edges of the rising edge determining signal SET 12   a  and falls in timing of the falling edges of the falling edge determining signal RST. 
     The thus formed timing signal generating circuit  5  generates different timing signals S 6  Vs 1  to Vs 8  as shown in  FIG. 4  as follows. 
     When a timing signal S 6  having four pulses as with the timing signals S 6  Vs 1  to Vs 6  is to be generated, the pulse count memories Pm 1  to Pm 6  provided in the RAM  7  shown in  FIG. 2  store pulse count data P_CNT indicating that the number of pulses of the timing signal S 6  to be generated is four, and the signal areas V 1  to V 6  within the mode area MA store the rising edge position data SET 1  to SET 4  and the falling edge position data RST 1  to RST 4  of the respective timing signals S 6 . 
     Then, the rising edge position data SET 1  to SET 4  and the falling edge position data RST 1  to RST 4  stored in the RAM  7  are input to the rising edge signal generating circuits  10   a  and the falling edge signal generating circuits  10   b , respectively. 
     When an enable signal EN and a clock signal CL are input from the control circuit  15  to the counter circuit  14 , the counter circuit  14  successively inputs count data CNT obtained by counting the clock signal CL to the rising edge signal generating circuits  10   a  and the falling edge signal generating circuits  10   b.    
     The rising edge signal generating circuits  10   a  and the falling edge signal generating circuits  10   b  compare the value of the count data CNT input from the counter circuit  14  with the values of the rising edge position data SET 1  to SET 4  and the falling edge position data RST 1  to RST 4  input from the RAM  7 . The rising edge signal generating circuits  10   a  and the falling edge signal generating circuits  10   b  input rising edge signals SET 1 ′ to SET 4 ′ rising in timing in which the values of the rising edge position data SET 1  to SET 4  become equal to the value of the count data CNT to the rising edge AND logical circuits  11   a , and input falling edge signals RST 1 ′ to RST 4 ′ falling in timing in which the values of the falling edge position data RST 1  to RST 4  become equal to the value of the count data CNT to the falling edge AND logical circuits  11   b.    
     At this time, the control circuit  15  generates control signals CR on the basis of the pulse count data P_CNT stored in the RAM  7  and indicating the number of four. The control circuit  15  inputs the control signals CR to the rising edge AND logical circuits  11   a  and the falling edge AND logical circuits  11   b.    
     As a result of the input of the control signals CR, rising edge selection signals SET 1 ″ to SET 4 ″ are input from all the rising edge AND logical circuits  11   a  to the rising edge OR logical circuit  12   a , and falling edge selection signals RST 1 ″ to RST 4 ″ are input from all the falling edge AND logical circuits  11   b  to the falling edge OR logical circuit  12   b.    
     The rising edge OR logical circuit  12   a  sequentially inputs rising edge determining signals SET 12   a  in order in which the rising edge selection signals SET 1 ″ to SET 4 ″ are input, to the waveform synthesizing circuit  13 . 
     The falling edge OR logical circuit  12   b  sequentially inputs falling edge determining signals RST 12   b  in order in which the falling edge selection signals RST 1 ″ to RST 4 ″ are input, to the waveform synthesizing circuit  13 . 
     The waveform synthesizing circuit  13  generates the timing signals S 6  Vs 1  to Vs 6  that rise in timing in which the rising edge determining signals SET 12   a  rise and falls in timing in which the falling edge determining signals RST 12   b  fall. 
     When a timing signal S 6  having two pulses as with the timing signals S 6  Vs 7  and Vs 8  is to be generated, the pulse count memories Pm 7  and Pm 8  store pulse count data indicating that the number of pulses of the timing signal S 6  to be generated is two, and the signal areas V 7  and V 8  within the mode area MA store the rising edge position data SET 1  and SET 2  and the falling edge position data RST 1  and RST 2  of the respective timing signals S 6 . 
     Then, the rising edge position data SET 1  and SET 2  and the falling edge position data RST 1  and RST 2  stored in the RAM  7  are input to the rising edge signal generating circuits  10   a  and the falling edge signal generating circuits  10   b  corresponding to the rising edge position data SET 1  and SET 2  and the falling edge position data RST 1  and RST 2 , respectively. 
     When an enable signal EN and a clock signal CL are input from the control circuit  15  to the counter circuit  14 , the counter circuit  14  successively inputs count data CNT obtained by counting the clock signal CL to the rising edge signal generating circuits  10   a  and the falling edge signal generating circuits  10   b.    
     The rising edge signal generating circuits  10   a  and the falling edge signal generating circuits  10   b  compare the value of the count data CNT input from the counter circuit  14  with the values of the rising edge position data SET 1  and SET 2  and the falling edge position data RST 1  and RST 2  input from the RAM  7 . The rising edge signal generating circuits  10   a  and the falling edge signal generating circuits  10   b  input rising edge signals SET 1 ′ and SET 2 ′ rising in timing in which the values of the rising edge position data SET 1  and SET 2  become equal to the value of the count data CNT to the rising edge AND logical circuits  11   a , and input falling edge signals RST 1 ′ and RST 2 ′ falling in timing in which the values of the falling edge position data RST 1  and RST 2  become equal to the value of the count data CNT to the falling edge AND logical circuits  11   b.    
     At this time, the control circuit  15  generates control signals CR on the basis of the pulse count data P_CNT stored in the RAM  7  and indicating the number of two. The control circuit  15  inputs the control signals CR to the rising edge AND logical circuits  11   a  and the falling edge AND logical circuits  11   b.    
     As a result of the input of the control signals CR, rising edge selection signals SET 1 ″ and SET 2 ″ are input from the rising edge AND logical circuits  11   a  corresponding to the rising edge signals SET 1 ′ and SET 2 ′ to the rising edge OR logical circuit  12   a , and falling edge selection signals RST 1 ″ and RST 2 ″ are input from the falling edge AND logical circuits  11   b  corresponding to the falling edge signals RST 1 ′ and RST 2 ′ to the falling edge OR logical circuit  12   b.    
     The rising edge OR logical circuit  12   a  sequentially inputs rising edge determining signals SET 12   a  in order in which the rising edge selection signals SET 1 ″ and SET 2 ″ are input, to the waveform synthesizing circuit  13 . 
     The falling edge OR logical circuit  12   b  sequentially inputs falling edge determining signals RST 12   b  in order in which the falling edge selection signals RST 1 ″ and RST 2 ″ are input, to the waveform synthesizing circuit  13 . 
     The waveform synthesizing circuit  13  generates the timing signals S 6  Vs 7  and Vs 8  that rise in timing in which the rising edge determining signals SET 12   a  rise and falls in timing in which the falling edge determining signals RST 12   b  fall. 
     Thus, by changing the values of the pulse count data P_CNT stored in the pulse count memories Pm 1  to Pm 8  according to the numbers of pulses of the timing signals S 6  to be generated, it is possible to reduce the number of pieces of rising edge position data SET and falling edge position data RST stored in the signal areas V 1  to V 8  to a minimum required number. 
     Therefore, the plurality of complex timing signals S 6  can be generated without increasing the storage capacity of the RAM  7 . 
     Another embodiment of the pulse generator  8  of the timing signal generating circuit  5  will next be described with reference to  FIG. 5  and  FIG. 6 . 
     A pulse generator  8 ′ according to this embodiment is formed by providing a repeat circuit  16  and an offset circuit  17  to the pulse generator  8  shown in  FIG. 3 . Incidentally, in description of the pulse generator  8 ′, the same components as in the pulse generator  8  shown in  FIG. 3  are identified by the same reference numerals. 
     This pulse generator  8 ′ includes the repeat circuit  16  for making a pulse generating circuit  19  perform signal output repeatedly a preset number of times, and the offset circuit  17  for making the pulse generating circuit  19  stop signal output for a preset time. The pulse generator  8 ′ can thereby generate timing signals S 6  Vr 1  to Vr 8  in which a predetermined pattern # 1  as shown in  FIG. 6  is repeated 50 times. 
     When such timing signals S 6  Vr 1  to Vr 8  are to be generated, a leading edge offset signal STARTOFF_SET is first input to the offset circuit  17 . 
     After the leading edge offset signal STARTOFF_SET is input, the offset circuit  17  counts a clock signal CL for a predetermined time T 1 . The offset circuit  17  then outputs an enable signal EN to a counter circuit  14 . 
     At the same time that the enable signal EN is input, the counter circuit  14  starts counting the clock signal CL, and inputs count data CNT to rising edge signal generating circuits  10   a  and falling edge signal generating circuits  10   b  to start the generation of the timing signals S 6 . 
     Thus, by inputting the leading edge offset signal STARTOFF_SET to the offset circuit  17 , signal output from the pulse generating circuit  19  is stopped for the predetermined time T 1  before the generation of the timing signals S 6 . 
     Next, the timing signals S 6  Vr 1  to Vr 8  forming the predetermined pattern # 1  are generated as in the case of generating the timing signals S 6  Vs 1  to Vs 8  shown in  FIG. 4 . 
     In this case, on the basis of control signals CR, rising edge selection signals SET 1 ″ and SET 2 ″ are input to a rising edge OR logical circuit  12   a , and falling edge selection signals RST 1 ″ and RST 2 ″ are input to a falling edge OR logical circuit  12   b.    
     The repeat circuit  16  is supplied in advance with a repetition count signal REP_CNT for setting the number of repetitions (50 times in this case) of the predetermined pattern # 1 . 
     Then, the repeat circuit  16  counts the number of times that an enable signal EN is input from the control circuit  15 , the enable signal EN being input each time one pattern of the timing signals S 6  in the same pattern as the predetermined pattern # 1  is output. When the number of times that the enable signal EN is input reaches 50, the repeat circuit  16  inputs an ending signal END for ending the generation of the timing signals S 6  to the control circuit  15 . 
     Thus, by inputting the repetition count signal REP_CNT to the repeat circuit  16  in advance, the predetermined pattern # 1  is repeated a preset number of times so that signal output from the pulse generating circuit  19  is performed for a predetermined time T 2 . 
     At the same time that the ending signal END is input to the control circuit  15 , the control circuit  15  changes the control signals CR, and clears the counter value of the counter circuit  14  by the ending signal END. 
     Thereafter, the control circuit  15  outputs an enable signal EN to the counter circuit  14  for a predetermined time T 3  set in advance. Incidentally, the predetermined time T 3  set in the control circuit  15  can be set and changed externally. 
     The counter circuit  14  counts the clock signal CL during the predetermined time T 3  during which the enable signal EN is input from the control circuit  15 . In response to the input of the control signals CR, a rising edge selection signal SET 3 ″ is input from a rising edge AND logical circuit  11   a  corresponding to a rising edge signal SET 3 ′ to the rising edge OR logical circuit  12   a , and a falling edge selection signal RST 3 ″ is input from a falling edge AND logical circuit  11   b  corresponding to a falling edge signal RST 3 ′ to the falling edge OR logical circuit  12   b.    
     Thus, after the timing signals S 6  are generated in the predetermined time T 2 , the timing signals S 6  for the predetermined time T 3  are generated. 
     Thus, by providing the repeat circuit  16  and the offset circuit  17  to the pulse generator  8 , it is possible to generate the plurality of more complex timing signals S 6  without increasing the storage capacity of the RAM  7 . 
     It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and alterations may occur depending on design requirements and other factors insofar as they are within the scope of the appended claims or the equivalents thereof.

Technology Category: h