JP2006319446A - Frequency-dividing circuit - Google Patents

Frequency-dividing circuit Download PDF

Info

Publication number
JP2006319446A
JP2006319446A JP2005137556A JP2005137556A JP2006319446A JP 2006319446 A JP2006319446 A JP 2006319446A JP 2005137556 A JP2005137556 A JP 2005137556A JP 2005137556 A JP2005137556 A JP 2005137556A JP 2006319446 A JP2006319446 A JP 2006319446A
Authority
JP
Japan
Prior art keywords
signal
flip
flop
output
circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2005137556A
Other languages
Japanese (ja)
Inventor
Shingo Ogawa
慎悟 小川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toyota Industries Corp
Original Assignee
Toyota Industries Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toyota Industries Corp filed Critical Toyota Industries Corp
Priority to JP2005137556A priority Critical patent/JP2006319446A/en
Publication of JP2006319446A publication Critical patent/JP2006319446A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a frequency-dividing circuit for stably generating a pulse signal for generating a sawtooth wave signal having a frequency of one third of the frequency of an input signal. <P>SOLUTION: A T-flip-flop 21 inverts an output state in synchronization with the rising edge of a pulse signal B generated by an oscillator 10. A T-flip-flop 22 inverts an output state in synchronization with the rising edge of a logical signal C outputted from a Q_terminal of the T-flip-flop 21. An OR circuit 26 outputs the OR of the logical signal C and the logical signal D outputted from the Q_terminal of the T-flip-flop 22. A delay circuit 27 generates a delay signal E by delaying the rising edge of an output signal of the OR circuit 26. An AND circuit 28 resets the T-flip-flop 21 by utilizing the delay signal E. The pulse signal obtained by inverting the logic of the delay signal E is given to a sawtooth wave generation circuit 30. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、入力信号を1/3分周する分周回路に係わり、特に、入力信号の1/3の周波数の鋸波信号を生成するための分周回路に係わる。   The present invention relates to a frequency dividing circuit that divides an input signal by 1/3, and more particularly to a frequency dividing circuit for generating a sawtooth signal having a frequency that is 1/3 of the input signal.

従来より、各種電気回路において鋸波信号が利用されている。そして、様々な周波数の鋸波信号が必要となる場合がある。
図3は、所望の周波数の鋸波信号を生成する従来の信号生成回路の構成を示す図である。図3に示す信号生成回路100は、入力矩形波信号の1/3の周波数の鋸波信号を生成するものとする。
Conventionally, sawtooth signals have been used in various electric circuits. In some cases, sawtooth signals of various frequencies are required.
FIG. 3 is a diagram showing a configuration of a conventional signal generation circuit that generates a sawtooth signal having a desired frequency. Assume that the signal generation circuit 100 shown in FIG. 3 generates a sawtooth signal having a frequency that is 1/3 of the input rectangular wave signal.

分周回路101は、入力信号aを1/3分周する分周回路であり、例えば、特許文献1に記載されている。なお、特許文献1に記載の1/3分周回路は、排他的論理和ゲートおよび2個のフリップフロップから構成され、入力矩形波信号を1/3分周して50パーセントデューティの矩形波信号を生成する。   The frequency dividing circuit 101 is a frequency dividing circuit that divides the input signal a by 1/3, and is described in Patent Document 1, for example. The 1/3 frequency divider circuit described in Patent Document 1 is composed of an exclusive OR gate and two flip-flops, and divides the input rectangular wave signal by 1/3 to obtain a 50% duty rectangular wave signal. Is generated.

分周回路101から出力される分周信号bは、排他的論理和回路102の入力端子Aに与えられる。また、遅延回路103は、分周信号bを遅延させることにより遅延信号cを生成し、排他的論理和回路102の入力端子Bに与える。なお、遅延回路103は、分周信号bの立上りエッジのみを遅延させる。そして、鋸波信号生成回路110は、排他的論理和回路102から出力されるパルス信号dを利用して鋸波信号eを生成する。なお、鋸波信号生成回路110は、電流源111、電流源111が生成する電流を充電するコンデンサC、パルス信号dに従ってコンデンサCを放電するnMOSトランジスタから構成される。   The frequency-divided signal b output from the frequency dividing circuit 101 is given to the input terminal A of the exclusive OR circuit 102. Further, the delay circuit 103 generates a delay signal c by delaying the frequency-divided signal b, and supplies the delayed signal c to the input terminal B of the exclusive OR circuit 102. Note that the delay circuit 103 delays only the rising edge of the divided signal b. Then, the sawtooth signal generation circuit 110 generates the sawtooth signal e using the pulse signal d output from the exclusive OR circuit 102. The sawtooth signal generation circuit 110 includes a current source 111, a capacitor C that charges a current generated by the current source 111, and an nMOS transistor that discharges the capacitor C according to a pulse signal d.

図4は、図3に示す信号生成回路100の動作を説明するタイミングチャートである。図4において、分周信号bは、入力信号aの周波数の1/3であり、そのデューティは50パーセントである。なお、特許文献1に記載の1/3分周回路は、50パーセントデューティの分周信号を生成する。   FIG. 4 is a timing chart for explaining the operation of the signal generation circuit 100 shown in FIG. In FIG. 4, the frequency-divided signal b is 1/3 of the frequency of the input signal a, and its duty is 50%. Note that the 1/3 frequency dividing circuit described in Patent Document 1 generates a 50% duty frequency divided signal.

遅延信号cは、分周信号bの立上りエッジのみを遅延させた矩形波信号である。したがって、排他的論理和回路102により生成されるパルス信号dは、分周信号bの立上りエッジから遅延信号cの立上りエッジまでの期間のみHレベルとなる。これにより、幅の狭いパルスが所定周期で繰り返されるパルス信号dが得られる。そして、このパルス信号dは、鋸波信号生成回路110が備えるnMOSトランジスタのゲートに与えられる。   The delay signal c is a rectangular wave signal obtained by delaying only the rising edge of the divided signal b. Therefore, the pulse signal d generated by the exclusive OR circuit 102 becomes H level only during the period from the rising edge of the divided signal b to the rising edge of the delay signal c. Thereby, a pulse signal d in which a narrow pulse is repeated at a predetermined period is obtained. The pulse signal d is applied to the gate of the nMOS transistor included in the sawtooth signal generation circuit 110.

nMOSトランジスタは、そのゲートにLレベルが与えられている期間は、オフ状態である。この期間は、コンデンサCが充電されてゆき、出力電圧は時間経過に対して直線的に上昇していく。続いて、ゲートにHレベルが与えられると、nMOSトランジスタがオン状態になり、コンデンサCは放電される。これにより、出力電圧は急速に低下する。そして、パルス信号dに従ってこの動作が繰り返されることによって、鋸波信号eが生成される。このように、鋸波信号を生成するためには、パルス幅の狭い所定周波数のパルス信号が必要である。   The nMOS transistor is in the off state during the period when the L level is applied to the gate. During this period, the capacitor C is charged and the output voltage rises linearly over time. Subsequently, when an H level is applied to the gate, the nMOS transistor is turned on and the capacitor C is discharged. As a result, the output voltage decreases rapidly. Then, the sawtooth signal e is generated by repeating this operation in accordance with the pulse signal d. As described above, in order to generate the sawtooth signal, a pulse signal having a narrow pulse width and a predetermined frequency is required.

ここで、図3に示す信号生成回路100においては、排他的論理和回路102に入力される分周信号bおよび遅延信号cからパルス信号dが生成されるが、分周信号bおよび遅延信号cの立下りエッジのタイミングを互いに完全に一致させることは困難である。そして、分周信号bおよび遅延信号cの立下りエッジのタイミングが互いに一致しないと、図4において破線で示すように、そのタイミングのずれに応じてパルスxが生成されてしまう。そうすると、このパルスxによりnMOSトランジスタがターンオンされ、コンデンサCが放電されて電圧が低下するので、鋸波信号の波形が変形してしまう。すなわち、安定した鋸波信号が得られなくなってしまう。   Here, in the signal generation circuit 100 shown in FIG. 3, the pulse signal d is generated from the frequency-divided signal b and the delayed signal c input to the exclusive OR circuit 102. The frequency-divided signal b and the delayed signal c It is difficult to make the timings of the falling edges completely coincide with each other. If the timings of the falling edges of the frequency-divided signal b and the delayed signal c do not coincide with each other, a pulse x is generated in accordance with the timing difference as shown by a broken line in FIG. Then, the nMOS transistor is turned on by this pulse x, the capacitor C is discharged, and the voltage drops, so that the waveform of the sawtooth signal is deformed. That is, a stable sawtooth signal cannot be obtained.

このように、従来の技術では、入力信号の1/3の周波数を持った鋸波信号を生成するためのパルス幅の狭いパルス信号を生成することは困難であった。このため、入力信号の1/3の周波数を持った安定した鋸波信号を得ることができなかった。
特開平5−48432号公報(図1、図2、明細書の段落0010〜0016)
As described above, in the conventional technique, it is difficult to generate a pulse signal having a narrow pulse width for generating a sawtooth signal having a frequency of 1/3 of the input signal. For this reason, a stable sawtooth signal having a frequency 1/3 of the input signal could not be obtained.
Japanese Patent Laid-Open No. 5-48432 (FIGS. 1 and 2, paragraphs 0010 to 0016 of the specification)

本発明の目的は、入力信号の1/3の周波数を持った安定した鋸波信号または入力信号の1/3の周波数を持った鋸波信号を生成するためのパルス信号を生成する分周回路を提供することである。   An object of the present invention is to provide a frequency dividing circuit for generating a stable sawtooth signal having a frequency 1/3 of an input signal or a pulse signal for generating a sawtooth signal having a frequency 1/3 of an input signal. Is to provide.

本発明の分周回路は、所定の周波数の入力信号の立上りエッジまたは立下りエッジの一方に同期して出力の状態が反転する第1のフリップフロップと、上記第1のフリップフロップから出力される信号の立上りエッジまたは立下りエッジの一方に同期して出力の状態が反転する第2のフリップフロップと、上記第1のフリップフロップの出力信号と上記第2のフリップフロップの出力信号が入力され、上記第1のフリップフロップのリセット時に出力される信号と反転された信号が第1のフリップフロップから出力されるとともに、第2のフリップフロップから反転信号と非反転信号のどちらか一方が出力された時に出力の状態を反転する論理信号を出力する論理回路と、上記論理信号に基づいて上記第1のフリップフロップをリセットするリセット回路、を有する。   The frequency dividing circuit of the present invention outputs a first flip-flop whose output state is inverted in synchronization with one of a rising edge and a falling edge of an input signal having a predetermined frequency, and the first flip-flop. A second flip-flop whose output state is inverted in synchronization with one of a rising edge and a falling edge of the signal, an output signal of the first flip-flop, and an output signal of the second flip-flop; The signal output when the first flip-flop is reset and the inverted signal are output from the first flip-flop, and either the inverted signal or the non-inverted signal is output from the second flip-flop. A logic circuit that outputs a logic signal that sometimes inverts the state of the output, and resets the first flip-flop based on the logic signal A set circuit, a.

上記分周回路において、第1および第2のフリップフロップが所定の初期状態にあるときに、入力信号の1つ目のエッジ(立上りエッジまたは立下りエッジの一方)が与えられると、第1のフリップフロップの出力が反転する。続いて、2つ目のエッジにより第1のフリップフロップの出力が反転すると、第2のフリップフロップの出力も反転する。さらに、3つ目のエッジにより第1のフリップフロップの出力が反転すると、論理回路の出力が変化し、第1のフリップフロップがリセットされる。そうすると、第1のフリップフロップの出力が反転して初期状態に戻り、第2のフリップフロップの出力も再び反転して初期状態に戻る。これにより、論理回路の出力も元の状態に戻る。このように、入力信号の3個のエッジに対して、論理回路の出力において1個のパルスが生成される。すなわち、1/3分周が実現される。   In the frequency dividing circuit, when the first edge (one of the rising edge and the falling edge) of the input signal is given when the first and second flip-flops are in a predetermined initial state, The output of the flip-flop is inverted. Subsequently, when the output of the first flip-flop is inverted by the second edge, the output of the second flip-flop is also inverted. Further, when the output of the first flip-flop is inverted by the third edge, the output of the logic circuit changes and the first flip-flop is reset. Then, the output of the first flip-flop is inverted to return to the initial state, and the output of the second flip-flop is also inverted again to return to the initial state. As a result, the output of the logic circuit also returns to the original state. In this way, one pulse is generated at the output of the logic circuit for three edges of the input signal. That is, 1/3 frequency division is realized.

論理回路から出力されるパルスの幅(時間)は、第1のフリップフロップをリセットするのに要する時間に相当するので、狭く(短く)なる。よって、必要に応じて遅延回路を併用することで、安定した鋸波信号を生成するために好適なパルス幅の狭いパルス信号が得られる。   Since the width (time) of the pulse output from the logic circuit corresponds to the time required to reset the first flip-flop, it becomes narrower (shorter). Therefore, a pulse signal having a narrow pulse width suitable for generating a stable sawtooth signal can be obtained by using a delay circuit in combination as necessary.

また、論理和回路への1組の入力は、第1および第2のフリップフロップの出力信号である。ここで、第2のフリップフロップは、第1のフリップフロップの出力信号に従って動作するので、第1および第2のフリップフロップの出力信号のタイミングが互いにずれることはない。このため、論理和回路の出力において不要なパルスが生成されることはない。したがって、この信号を利用して鋸波信号を生成すれば、安定した鋸波信号が得られる。   One set of inputs to the OR circuit is the output signals of the first and second flip-flops. Here, since the second flip-flop operates in accordance with the output signal of the first flip-flop, the timings of the output signals of the first and second flip-flops are not shifted from each other. For this reason, unnecessary pulses are not generated at the output of the OR circuit. Therefore, if a sawtooth signal is generated using this signal, a stable sawtooth signal can be obtained.

上記分周回路において、上記論理信号の立上りエッジまたは立下りエッジの一方を遅延させる遅延回路をさらに備え、上記リセット回路は上記遅延回路の出力に応じて上記第1のフリップフロップをリセットするようにしてもよい。この構成によれば、第1のフリップフロップを確実にリセットできる。   The frequency dividing circuit further includes a delay circuit that delays one of a rising edge and a falling edge of the logic signal, and the reset circuit resets the first flip-flop according to an output of the delay circuit. May be. According to this configuration, the first flip-flop can be reliably reset.

また、上記分周回路において、上記入力信号は、鋸波信号を生成する際に得られるパルス信号であるようにしてもよい。この場合、一例としては、一定の電流を生成する第1の電流源と、上記第1の電流源により充電される第1のコンデンサと、上記第1のコンデンサの電圧と参照電圧とを比較するコンパレータと、上記第1のコンデンサの電圧が上記参照電圧よりも大きくなったときに上記第1のコンデンサを放電させる第1のスイッチ、をさらに設ける。そして、上記コンパレータの出力を上記第1のフリップフロップへの入力信号とする。この構成によれば、鋸波信号の1/3の周波数の信号を生成できる。   In the frequency divider circuit, the input signal may be a pulse signal obtained when generating a sawtooth signal. In this case, as an example, a first current source that generates a constant current, a first capacitor that is charged by the first current source, a voltage of the first capacitor, and a reference voltage are compared. A comparator and a first switch for discharging the first capacitor when the voltage of the first capacitor becomes higher than the reference voltage are further provided. The output of the comparator is used as an input signal to the first flip-flop. According to this configuration, a signal having a frequency 1/3 of the sawtooth signal can be generated.

さらに、上記分周回路は、上記論理信号の立上りエッジまたは立下りエッジの一方を遅延させる遅延回路と、一定の電流を生成する第2の電流源と、上記第2の電流源により充電される第2のコンデンサと、上記遅延回路の出力に従って上記第2のコンデンサを放電させる第2のスイッチ、をさらに有するようにしてもよい。この構成によれば、入力信号の1/3の周波数の安定した鋸波信号が生成される。   Further, the frequency dividing circuit is charged by a delay circuit that delays one of the rising edge and the falling edge of the logic signal, a second current source that generates a constant current, and the second current source. You may make it further have a 2nd switch which discharges the said 2nd capacitor according to the output of the said 2nd capacitor | condenser and the said delay circuit. According to this configuration, a stable sawtooth signal having a frequency 1/3 of the input signal is generated.

本発明によれば、入力信号の1/3の周波数を持った鋸波信号または入力信号の1/3の周波数を持った鋸波信号を生成するためのパルス信号を安定的に生成できる。   According to the present invention, it is possible to stably generate a sawtooth signal having a frequency of 1/3 of an input signal or a pulse signal for generating a sawtooth signal having a frequency of 1/3 of an input signal.

図1は、本発明の実施形態の分周回路の構成を示す図である。図1に示す実施形態の分周回路1は、発振器10、分周器20、鋸波信号生成回路30を備える。
発振器10は、電流源(第1の電流源)11、コンデンサ(第1のコンデンサ)C1、コンパレータ12、nMOSトランジスタ(第1のスイッチ)M1を備え、所定の周波数の鋸波信号Aおよびパルス信号Bを生成する。電流源11は、一定の電流を生成する。コンデンサC1は、電流源11とグランド(接地)との間に設けられ、電流源11が生成する電流により充電される。したがって、nMOSトランジスタM1がオフ状態である期間は、コンデンサC1の両端電圧Vc1は、時間経過に対して直線的に上昇していく。コンパレータ12は、電圧Vc1と予め設定されている参照電圧Vref とを比較する。そして、電圧Vc1よりも参照電圧Vref の方が高ければ「L」を出力し、参照電圧Vref よりも電圧Vc1の方が高ければ「H」を出力する。
FIG. 1 is a diagram illustrating a configuration of a frequency divider circuit according to an embodiment of the present invention. The frequency divider 1 of the embodiment shown in FIG. 1 includes an oscillator 10, a frequency divider 20, and a sawtooth signal generation circuit 30.
The oscillator 10 includes a current source (first current source) 11, a capacitor (first capacitor) C1, a comparator 12, and an nMOS transistor (first switch) M1, and includes a sawtooth signal A and a pulse signal having a predetermined frequency. B is generated. The current source 11 generates a constant current. The capacitor C1 is provided between the current source 11 and the ground (ground), and is charged by the current generated by the current source 11. Therefore, during the period when the nMOS transistor M1 is in the OFF state, the voltage Vc1 across the capacitor C1 rises linearly with time. The comparator 12 compares the voltage Vc1 with a preset reference voltage Vref. If the reference voltage Vref is higher than the voltage Vc1, “L” is output, and if the voltage Vc1 is higher than the reference voltage Vref, “H” is output.

nMOSトランジスタM1のドレインは、コンデンサC1の正側端子に接続され、そのソースは接地されている。さらに、nMOSトランジスタM1のゲートには、コンパレータ12の出力信号が与えられる。そして、nMOSトランジスタM1がオン状態に制御されると、コンデンサC1に充電されている電荷がそのnMOSトランジスタM1を介して放電される。   The drain of the nMOS transistor M1 is connected to the positive terminal of the capacitor C1, and its source is grounded. Further, the output signal of the comparator 12 is given to the gate of the nMOS transistor M1. When the nMOS transistor M1 is controlled to be in an ON state, the charge charged in the capacitor C1 is discharged through the nMOS transistor M1.

上記構成の発振器10において、電圧Vc1は、鋸波信号Aとして出力される。また、コンパレータ12の出力は、鋸波信号Aに同期したパルス信号Bとして出力される。
分周器20は、Tフリップフロップ21、22、反転回路23、24、25、論理和回路26(論理回路)、遅延回路27、論理積回路28を備える。なお、Tフリップフロップは、入力エッジ(立上りエッジまたは立下りエッジ)により出力の状態(Hレベル/Lレベル)が反転する回路素子である。また、Tフリップフロップのリセット端子(R_)にLレベル信号が与えられると、Q出力およびQ_出力は、それぞれ強制的に「L」および「H」になる。すなわち、リセット時には、Q出力は「L」となり、Q_出力は「H」となる。
In the oscillator 10 configured as described above, the voltage Vc1 is output as the sawtooth signal A. The output of the comparator 12 is output as a pulse signal B synchronized with the sawtooth signal A.
The frequency divider 20 includes T flip-flops 21 and 22, inverting circuits 23, 24 and 25, an OR circuit 26 (logic circuit), a delay circuit 27, and an AND circuit 28. The T flip-flop is a circuit element whose output state (H level / L level) is inverted by an input edge (rising edge or falling edge). Further, when an L level signal is applied to the reset terminal (R_) of the T flip-flop, the Q output and the Q_ output are forcibly set to “L” and “H”, respectively. That is, at reset, the Q output becomes “L” and the Q_ output becomes “H”.

発振器10により生成されるパルス信号Bは、Tフリップフロップ21のT入力に与えられる。また、このパルス信号Bは、反転回路23により論理が反転させられた後、Tフリップフロップ21のT_入力に与えられる。そして、Tフリップフロップ21のQ_出力は、論理信号CとしてTフリップフロップ22のT入力に与えられる。また、この論理信号Cは、反転回路24により論理が反転させられた後、Tフリップフロップ22のT_入力に与えられる。   The pulse signal B generated by the oscillator 10 is given to the T input of the T flip-flop 21. The pulse signal B is applied to the T_ input of the T flip-flop 21 after the logic is inverted by the inverting circuit 23. Then, the Q_ output of the T flip-flop 21 is given to the T input of the T flip-flop 22 as the logic signal C. The logic signal C is applied to the T_ input of the T flip-flop 22 after the logic is inverted by the inverting circuit 24.

Tフリップフロップ22のQ_出力は、論理信号Dとして論理和回路26の一方の入力端子に与えられる。論理和回路26の他方の入力端子には、論理信号Cが与えられる。すなわち、論理和回路26は、Tフリップフロップ21のQ_出力である論理信号Cが、リセット時に出力される信号(Hレベル)が反転された信号(Lレベル)となるとともに、Tフリップフロップ22のQ_出力が反転信号と非反転信号の一方であるLレベルとなると、出力状態をHレベルからLレベルへ反転する論理信号を出力する。   The Q_ output of the T flip-flop 22 is given to one input terminal of the OR circuit 26 as a logic signal D. A logic signal C is supplied to the other input terminal of the OR circuit 26. That is, in the OR circuit 26, the logic signal C which is the Q_ output of the T flip-flop 21 becomes a signal (L level) obtained by inverting the signal (H level) output at the time of reset, and the T flip-flop 22 When the Q_ output becomes an L level that is one of an inverted signal and a non-inverted signal, a logic signal for inverting the output state from the H level to the L level is output.

そして、遅延回路27は、論理和回路26の出力を遅延させることにより遅延信号Eを生成する。ここで、遅延回路27は、論理和回路26の出力信号の立上りエッジのみを遅延させる。さらに、反転回路25は、遅延信号Eの論理を反転させることによりパルス信号Fを生成する。   The delay circuit 27 generates a delay signal E by delaying the output of the OR circuit 26. Here, the delay circuit 27 delays only the rising edge of the output signal of the OR circuit 26. Further, the inverting circuit 25 generates the pulse signal F by inverting the logic of the delay signal E.

論理積回路(リセット回路)28の一方の入力端子には固定的にHレベル信号が与えられ、他方の入力端子には遅延信号Eが与えられる。そして、論理積回路28の出力は、リセット信号としてTフリップフロップ21のリセット端子R_に与えられる。   An H level signal is fixedly given to one input terminal of the AND circuit (reset circuit) 28, and a delay signal E is given to the other input terminal. The output of the AND circuit 28 is given to the reset terminal R_ of the T flip-flop 21 as a reset signal.

鋸波信号生成回路30は、分周器20から出力されるパルス信号Fを利用して鋸波信号Gを生成する。ここで、電流源(第2の電流源)31は、一定の電流を生成する。コンデンサ(第2のコンデンサ)C2は、電流源31とグランド(接地)との間に設けられ、電流源31が生成する電流により充電される。nMOSトランジスタ(第2のスイッチ)M2のドレインは、コンデンサC2の正側端子に接続され、そのソースは接地されている。さらに、nMOSトランジスタM2のゲートには、パルス信号Fが与えられる。そして、パルス信号FによりnMOSトランジスタM2がオン状態に制御されると、コンデンサC2に充電されている電荷が放電される。   The sawtooth signal generation circuit 30 generates a sawtooth signal G using the pulse signal F output from the frequency divider 20. Here, the current source (second current source) 31 generates a constant current. The capacitor (second capacitor) C2 is provided between the current source 31 and the ground (ground), and is charged by the current generated by the current source 31. The drain of the nMOS transistor (second switch) M2 is connected to the positive terminal of the capacitor C2, and its source is grounded. Further, a pulse signal F is given to the gate of the nMOS transistor M2. When the nMOS transistor M2 is controlled to be turned on by the pulse signal F, the charge charged in the capacitor C2 is discharged.

次に、実施形態の分周回路1の動作を説明する。まず、発振器10の動作は以下の通りである。
電圧Vc1が参照電圧Vref よりも低いときは、コンパレータ12の出力がLレベルであり、nMOSトランジスタM1はオフ状態である。よって、電流源11によりコンデンサC1が充電されてゆき、電圧Vc1(すなわち、鋸波信号Aの電位)は、時間経過に対して直線的に上昇していく。そして、電圧Vc1が参照電圧Vref を超えると、コンパレータ12の出力がLレベルからHレベルに変化し、nMOSトランジスタM1はオン状態に制御される。そうすると、コンデンサC1が急速に放電され、電圧Vc1は瞬時に接地電位に下がる。この結果、電圧Vc1が参照電圧Vref よりも低くなるので、再びnMOSトランジスタM1がオフ状態になり、電圧Vc1が上昇していく。
Next, the operation of the frequency dividing circuit 1 of the embodiment will be described. First, the operation of the oscillator 10 is as follows.
When the voltage Vc1 is lower than the reference voltage Vref, the output of the comparator 12 is L level, and the nMOS transistor M1 is in the off state. Therefore, the capacitor C1 is charged by the current source 11, and the voltage Vc1 (that is, the potential of the sawtooth signal A) increases linearly with time. When the voltage Vc1 exceeds the reference voltage Vref, the output of the comparator 12 changes from the L level to the H level, and the nMOS transistor M1 is controlled to be on. Then, the capacitor C1 is rapidly discharged, and the voltage Vc1 is instantaneously lowered to the ground potential. As a result, since the voltage Vc1 becomes lower than the reference voltage Vref, the nMOS transistor M1 is turned off again, and the voltage Vc1 increases.

上記動作が繰り返されることにより、鋸波信号Aが生成される。ここで、鋸波信号Aの周波数は、電流源11が生成する電流、コンデンサC1の容量、参照電圧Vref により決まる。また、コンパレータ12の出力は、パルス信号Bとして出力される。すなわち、パルス信号Bは、鋸波信号Aを生成する際に得られるものであり、鋸波信号Aと同じ周波数である。   The sawtooth signal A is generated by repeating the above operation. Here, the frequency of the sawtooth signal A is determined by the current generated by the current source 11, the capacitance of the capacitor C1, and the reference voltage Vref. Further, the output of the comparator 12 is output as a pulse signal B. That is, the pulse signal B is obtained when generating the sawtooth signal A and has the same frequency as the sawtooth signal A.

続いて、図2に示すタイミングチャートを参照しながら、実施形態の分周回路1の動作を説明する。なお、時刻T1以前は、Tフリップフロップ21、22のQ_出力がいずれもHレベルであるものとする。   Next, the operation of the frequency divider circuit 1 of the embodiment will be described with reference to the timing chart shown in FIG. Prior to time T1, it is assumed that the Q_outputs of the T flip-flops 21 and 22 are both at the H level.

時刻T1においてパルス信号Bの立上りエッジがTフリップフロップ21のT入力に与えられる(パルス信号Bの立下りエッジがTフリップフロップ21のT_入力に与えられる)。そうすると、Tフリップフロップ21のQ_出力(論理信号C)は、HレベルからLレベルに変化する。この場合、Tフリップフロップ22のT入力には立下りエッジが与えられるので、そのQ_出力(論理信号D)は変化せずにHレベルを保つ。このときTフリップフロップ21のQ_出力がリセット時に出力される信号(Hレベル)が反転された信号(Lレベル)となるが、Tフリップフロップ22のQ_出力がHレベルであるので、論理和回路26の出力はHレベルを保つ。   At time T1, the rising edge of pulse signal B is applied to the T input of T flip-flop 21 (the falling edge of pulse signal B is applied to the T_ input of T flip-flop 21). Then, the Q_ output (logic signal C) of the T flip-flop 21 changes from the H level to the L level. In this case, since the falling edge is given to the T input of the T flip-flop 22, the Q_ output (logic signal D) is kept at the H level without changing. At this time, the Q_ output of the T flip-flop 21 becomes a signal (L level) obtained by inverting the signal (H level) output at the time of resetting, but the Q_ output of the T flip-flop 22 is at the H level. The output of 26 maintains the H level.

時刻T2においてパルス信号Bの次の立上りエッジがTフリップフロップ21のT入力に与えられると、Tフリップフロップ21のQ_出力(論理信号C)は、LレベルからHレベルに変化する。この場合、Tフリップフロップ22のT入力に立上りエッジが与えられるので、Q_出力(論理信号D)はHレベルからLレベルに変化する。   When the next rising edge of the pulse signal B is applied to the T input of the T flip-flop 21 at time T2, the Q_ output (logic signal C) of the T flip-flop 21 changes from the L level to the H level. In this case, since a rising edge is given to the T input of the T flip-flop 22, the Q_ output (logic signal D) changes from the H level to the L level.

時刻T3においてパルス信号Bのさらに次の立上りエッジがTフリップフロップ21のT入力に与えられると、Tフリップフロップ21のQ_出力(論理信号C)は、HレベルからLレベルに変化する。すなわち、Tフリップフロップ21のQ_出力がリセット時に出力される信号(Hレベル)が反転された信号(Lレベル)となる。このとき、Tフリップフロップ22のQ_出力(論理信号D)はLレベルである。よって、論理和回路26の出力がHレベルからLレベルに変化し、遅延回路27の出力(遅延信号E)もLレベルになる。そうすると、論理積回路28の出力がLレベルとなり、Tフリップフロップ21がリセットされる。   When the next rising edge of the pulse signal B is applied to the T input of the T flip-flop 21 at time T3, the Q_ output (logic signal C) of the T flip-flop 21 changes from the H level to the L level. That is, the Q_ output of the T flip-flop 21 becomes a signal (L level) obtained by inverting the signal (H level) output at reset. At this time, the Q_ output (logic signal D) of the T flip-flop 22 is at the L level. Therefore, the output of the OR circuit 26 changes from H level to L level, and the output of the delay circuit 27 (delay signal E) also becomes L level. Then, the output of the AND circuit 28 becomes L level, and the T flip-flop 21 is reset.

Tフリップフロップ21がリセットされると、そのQ_出力(論理信号C)が強制的にHレベルに固定される。そうすると、Tフリップフロップ22のT入力に立上りエッジが与えられることになるので、Tフリップフロップ22のQ_出力(論理信号D)はLレベルからHレベルに変化する。この結果、論理和回路26の出力がLレベルからHレベルに変化し、遅延回路27の出力(遅延信号E)もHレベルになる。すなわち、Tフリップフロップ21は、リセット状態から解放される。これにより、Tフリップフロップ21、22は、時刻T1以前の状態に戻る。   When the T flip-flop 21 is reset, its Q_ output (logic signal C) is forcibly fixed to the H level. Then, since a rising edge is given to the T input of the T flip-flop 22, the Q_output (logic signal D) of the T flip-flop 22 changes from the L level to the H level. As a result, the output of the OR circuit 26 changes from L level to H level, and the output of the delay circuit 27 (delay signal E) also becomes H level. That is, the T flip-flop 21 is released from the reset state. As a result, the T flip-flops 21 and 22 return to the state before time T1.

パルス信号Fは、遅延回路27の出力(遅延信号E)の論理を反転させることにより得られる。すなわち、パルス信号Fは、時刻T3においてパルスを有する。ここで、このパルスのパルス幅(パルス信号FがHレベルである時間)は、遅延回路27の遅延時間に相当し、鋸波信号生成回路30のコンデンサC2を十分に放電させることができる時間である。   The pulse signal F is obtained by inverting the logic of the output of the delay circuit 27 (delay signal E). That is, the pulse signal F has a pulse at time T3. Here, the pulse width of this pulse (the time during which the pulse signal F is at the H level) corresponds to the delay time of the delay circuit 27, and is the time that can sufficiently discharge the capacitor C2 of the sawtooth signal generation circuit 30. is there.

以降、上述の動作が繰り返される。この結果、パルス信号Bの3個のパルスに対して、パルス信号Fのパルスが1個だけ生成される。すなわち、分周器20において1/3分周が実現される。また、遅延回路27を介して論理積回路28へ信号を出力しているので、遅延回路27の遅延時間だけ論理積回路28の出力がLレベルに維持され、Tフリップフロップ21のリセット時間が長い場合でも確実にリセットすることができる。   Thereafter, the above-described operation is repeated. As a result, only one pulse of the pulse signal F is generated for the three pulses of the pulse signal B. In other words, 1/3 frequency division is realized in the frequency divider 20. Since the signal is output to the AND circuit 28 via the delay circuit 27, the output of the AND circuit 28 is maintained at the L level for the delay time of the delay circuit 27, and the reset time of the T flip-flop 21 is long. Even if it can be reset reliably.

鋸波信号生成回路30は、パルス信号Fを利用して鋸波信号Gを生成する。まず、パルス信号FがLレベルである期間は、nMOSトランジスタM2がオフ状態であり、コンデンサC2は電流源31により充電されていく。すなわち、コンデンサC2の電位は時間経過に対して直線的に上昇していく。そして、パルス信号Fのパルスが与えられると、nMOSトランジスタM2がターンオンし、コンデンサC2は急速に放電される。この結果、コンデンサC2の電位は瞬時に接地レベルに低下する。以降、この動作を繰り返すことにより、鋸波信号Gが生成される。つまり1/3分周されたPWM信号を生成することなく鋸歯信号Gが生成される。   The sawtooth signal generation circuit 30 generates a sawtooth signal G using the pulse signal F. First, during a period in which the pulse signal F is at the L level, the nMOS transistor M2 is in an off state, and the capacitor C2 is charged by the current source 31. That is, the potential of the capacitor C2 increases linearly with time. When a pulse of the pulse signal F is given, the nMOS transistor M2 is turned on and the capacitor C2 is rapidly discharged. As a result, the potential of the capacitor C2 instantaneously drops to the ground level. Thereafter, the sawtooth signal G is generated by repeating this operation. That is, the sawtooth signal G is generated without generating a PWM signal divided by 1/3.

このように、実施形態の分周回路1によれば、パルス信号Bの1/3の周波数を持った安定した鋸波信号Gが生成される。
また、Tフリップフロップ22のリセット端子R_はリセットされることがなく、Tフリップフロップ21の出力にのみ依存して動作する。したがって、回路構成が複雑にならず、Tフリップフロップ22のリセット状態での出力について考慮する必要がなく、設計が容易である。
As described above, according to the frequency dividing circuit 1 of the embodiment, a stable sawtooth signal G having a frequency of 1/3 of the pulse signal B is generated.
Further, the reset terminal R_ of the T flip-flop 22 is not reset and operates depending only on the output of the T flip-flop 21. Therefore, the circuit configuration does not become complicated, and it is not necessary to consider the output in the reset state of the T flip-flop 22, and the design is easy.

なお、分周器20は、上述したように、論理信号C、Dの論理和を求める論理和回路26を含んで構成される。このため、仮に、例えば時刻T2の近傍において、論理信号Cの立上りエッジよりも先に論理信号Dの立下りエッジが生じるものとすると、パルス信号Fが瞬間的にHレベルとなり、鋸波信号Gの波形が崩れてしまう。しかし、実際は、論理信号Dの立下りエッジは、論理信号Cの立上りエッジに起因して生じるので、論理信号Cの立上りエッジよりも先に論理信号Dの立下りエッジが生じることはあり得ない。したがって、パルス信号Fは、パルス信号Bを1/3分周することにより得られるパルス以外の不要なパルスを含むことはなく、鋸波信号Gの波形は安定する。   As described above, the frequency divider 20 includes the logical sum circuit 26 that calculates the logical sum of the logical signals C and D. For this reason, for example, if the falling edge of the logic signal D occurs before the rising edge of the logic signal C in the vicinity of the time T2, for example, the pulse signal F instantaneously becomes H level, and the sawtooth signal G The waveform will collapse. However, actually, since the falling edge of the logic signal D is caused by the rising edge of the logic signal C, the falling edge of the logic signal D cannot occur before the rising edge of the logic signal C. . Therefore, the pulse signal F does not include unnecessary pulses other than the pulse obtained by dividing the pulse signal B by 1/3, and the waveform of the sawtooth signal G is stabilized.

また、上述の実施例における鋸波信号A、Gは、nMOSトランジスタM1、M2がターンオンされると急激に接地レベルに下降する波形であるが、これに限定されるものではない。すなわち、鋸波信号A、Gは、例えば、時間経過に対して直線的に上昇する区間および直線的に下降する区間を交互に繰り返す波形であってもよい。このような波形は、nMOSトランジスタM1、M2と接地との間に抵抗を設けることにより実現される。   Further, the sawtooth signals A and G in the above-described embodiment are waveforms that rapidly drop to the ground level when the nMOS transistors M1 and M2 are turned on, but are not limited thereto. That is, the sawtooth signals A and G may be, for example, waveforms that alternately repeat a section that rises linearly and a section that falls linearly over time. Such a waveform is realized by providing a resistor between the nMOS transistors M1 and M2 and the ground.

また、上述の実施例ではTフリップフロップ21、22とも立上りエッジに同期して出力を反転させていたが、立下りエッジに同期させてもよく、Tフリップフロップ21、22それぞれで立上りエッジ、立下りエッジ別々に同期してもよい。   In the above-described embodiment, the outputs of both the T flip-flops 21 and 22 are inverted in synchronization with the rising edge. However, the outputs may be synchronized with the falling edge. The downlink edges may be synchronized separately.

また、上述の実施例では入力信号としてパルス信号Bが分周器20に入力されたが、任意のデューティのPWM信号でもよい。所定の周波数で第1のフリップフロップが立上りエッジまたは立下りエッジを認識できる信号であればよい。   In the above-described embodiment, the pulse signal B is input to the frequency divider 20 as an input signal. However, a PWM signal having an arbitrary duty may be used. Any signal can be used as long as the first flip-flop can recognize the rising edge or the falling edge at a predetermined frequency.

また、上述の実施例では、論理和回路26はTフリップフロップ21のQ_出力である論理信号Cが、リセット時に出力される信号(Hレベル)が反転された信号(Lレベル)となるとともに、Tフリップフロップ22のQ_出力が反転信号と非反転信号の一方であるLレベルとなると、出力状態をHレベルからLレベルへ反転する論理信号を出力する構成したが、この構成に限らない。例えば、Tフリップフロップ22のQ_出力が反転信号と非反転信号の他方であるHレベルとなるときに論理和回路26は出力状態をHレベルからLレベルへ反転する論理信号を出力してもよい。   Further, in the above-described embodiment, the logical sum circuit 26 is such that the logical signal C that is the Q_ output of the T flip-flop 21 becomes a signal (L level) obtained by inverting the signal (H level) output at the time of resetting. When the Q_ output of the T flip-flop 22 becomes an L level that is one of an inverted signal and a non-inverted signal, a logic signal that inverts the output state from the H level to the L level is output. For example, the OR circuit 26 may output a logic signal that inverts the output state from the H level to the L level when the Q_ output of the T flip-flop 22 becomes the H level that is the other of the inverted signal and the non-inverted signal. .

さらに、上述の実施例では、2個のTフリップフロップが設けられているが、同等の機能を他の回路(例えば、JKフリップフロップ)で実現してもよい。   Furthermore, in the above-described embodiment, two T flip-flops are provided, but an equivalent function may be realized by another circuit (for example, a JK flip-flop).

本発明の実施形態の分周回路の構成を示す図である。It is a figure which shows the structure of the frequency divider circuit of embodiment of this invention. 実施形態の分周回路の動作を説明するタイミングチャートである。It is a timing chart explaining operation | movement of the frequency divider circuit of embodiment. 所望の周波数の鋸波信号を生成する従来の信号生成回路の構成を示す図である。It is a figure which shows the structure of the conventional signal generation circuit which produces | generates the sawtooth signal of a desired frequency. 図3に示す信号生成回路の動作を説明するタイミングチャートである。4 is a timing chart for explaining the operation of the signal generation circuit shown in FIG. 3.

符号の説明Explanation of symbols

1 分周回路
10 発振器
11 電流源
12 コンパレータ
20 分周器
21、22 Tフリップフロップ
23〜25 反転回路
26 論理和回路
27 遅延回路
28 論理積回路
30 鋸波信号生成回路
31 電流源


DESCRIPTION OF SYMBOLS 1 Frequency dividing circuit 10 Oscillator 11 Current source 12 Comparator 20 Frequency divider 21, 22 T flip-flop 23-25 Inverting circuit 26 OR circuit 27 Delay circuit 28 AND circuit 30 Saw-wave signal generation circuit 31 Current source


Claims (5)

所定の周波数の入力信号の立上りエッジまたは立下りエッジの一方に同期して出力の状態が反転する第1のフリップフロップと、
上記第1のフリップフロップから出力される信号の立上りエッジまたは立下りエッジの一方に同期して出力の状態が反転する第2のフリップフロップと、
上記第1のフリップフロップの出力信号と上記第2のフリップフロップの出力信号が入力され、上記第1のフリップフロップのリセット時に出力される信号と反転された信号が第1のフリップフロップから出力されるとともに、第2のフリップフロップから反転信号と非反転信号のどちらか一方が出力された時に出力の状態を反転する論理信号を出力する論理回路と、
上記論理信号に基づいて上記第1のフリップフロップをリセットするリセット回路、
を有する分周回路。
A first flip-flop whose output state is inverted in synchronization with one of a rising edge and a falling edge of an input signal having a predetermined frequency;
A second flip-flop whose output state is inverted in synchronization with one of a rising edge and a falling edge of a signal output from the first flip-flop;
The output signal of the first flip-flop and the output signal of the second flip-flop are input, and the signal output when the first flip-flop is reset and the inverted signal are output from the first flip-flop. And a logic circuit that outputs a logic signal that inverts the output state when either the inverted signal or the non-inverted signal is output from the second flip-flop;
A reset circuit for resetting the first flip-flop based on the logic signal;
A frequency divider circuit.
上記論理信号の立上りエッジまたは立下りエッジの一方を遅延させる遅延回路を有し、上記リセット回路は上記遅延回路の出力に応じて上記第1のフリップフロップをリセットすることを特徴とする請求項1に記載の分周回路。   2. The delay circuit for delaying one of a rising edge and a falling edge of the logic signal, and the reset circuit resets the first flip-flop according to an output of the delay circuit. A frequency divider circuit according to 1. 上記入力信号は、鋸波信号を生成する際に得られるパルス信号である
ことを特徴とする請求項1に記載の分周回路。
The frequency dividing circuit according to claim 1, wherein the input signal is a pulse signal obtained when a sawtooth signal is generated.
一定の電流を生成する第1の電流源と、
上記第1の電流源により充電される第1のコンデンサと、
上記第1のコンデンサの電圧と参照電圧とを比較するコンパレータと、
上記第1のコンデンサの電圧が上記参照電圧よりも大きくなったときに、上記第1のコンデンサを放電させる第1のスイッチ、をさらに有し、
上記コンパレータの出力が上記第1のフリップフロップへの入力信号であることを特徴とする請求項1に記載の分周回路。
A first current source that generates a constant current;
A first capacitor charged by the first current source;
A comparator that compares the voltage of the first capacitor with a reference voltage;
A first switch for discharging the first capacitor when the voltage of the first capacitor becomes higher than the reference voltage;
The frequency dividing circuit according to claim 1, wherein an output of the comparator is an input signal to the first flip-flop.
上記論理信号の立上りエッジまたは立下りエッジの一方を遅延させる遅延回路と、
一定の電流を生成する第2の電流源と、
上記第2の電流源により充電される第2のコンデンサと、
上記遅延回路の出力に従って上記第2のコンデンサを放電させる第2のスイッチ、
をさらに有することを特徴とする請求項1に記載の分周回路。


A delay circuit for delaying one of the rising edge and the falling edge of the logic signal;
A second current source that generates a constant current;
A second capacitor charged by the second current source;
A second switch for discharging the second capacitor according to the output of the delay circuit;
The frequency dividing circuit according to claim 1, further comprising:


JP2005137556A 2005-05-10 2005-05-10 Frequency-dividing circuit Withdrawn JP2006319446A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005137556A JP2006319446A (en) 2005-05-10 2005-05-10 Frequency-dividing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005137556A JP2006319446A (en) 2005-05-10 2005-05-10 Frequency-dividing circuit

Publications (1)

Publication Number Publication Date
JP2006319446A true JP2006319446A (en) 2006-11-24

Family

ID=37539751

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005137556A Withdrawn JP2006319446A (en) 2005-05-10 2005-05-10 Frequency-dividing circuit

Country Status (1)

Country Link
JP (1) JP2006319446A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114217661A (en) * 2021-11-02 2022-03-22 深圳市创芯微微电子有限公司 Ultralow-power-consumption voltage reference circuit and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114217661A (en) * 2021-11-02 2022-03-22 深圳市创芯微微电子有限公司 Ultralow-power-consumption voltage reference circuit and electronic equipment

Similar Documents

Publication Publication Date Title
JP3822461B2 (en) Delay-locked loop circuit having duty cycle correction function and delay-locking method
US9083338B2 (en) Digital noise protection circuit and method
US8803569B1 (en) Ramp generator using operational amplifier based integration and switched capacitor techniques
JP2007243922A (en) Oscillation circuit
US20100289548A1 (en) Frequency Generator for Generating Signals with Variable Frequencies
JP4835009B2 (en) Oscillation circuit and oscillation control method
US7489174B2 (en) Dynamic flip-flop circuit
US6801062B2 (en) Output circuit
KR100724559B1 (en) Level shifter
CN111033274B (en) Low power low duty cycle switched capacitor voltage divider
US8094698B2 (en) Method for generating a spread spectrum clock and apparatus thereof
US11115035B2 (en) Semiconductor devices
US10700669B2 (en) Avoiding very low duty cycles in a divided clock generated by a frequency divider
JP6695378B2 (en) Generation of pulse width modulated signal frequency
JP2006319446A (en) Frequency-dividing circuit
JP2011166232A (en) Phase detection circuit and pll circuit
US9531355B1 (en) Clock phase shift circuit
US10756710B2 (en) Integrated ring oscillator clock generator
US20120306539A1 (en) Fractional-n clock generator and method thereof
CN107959487B (en) Phase interpolator and phase interpolation signal generating method
KR101208026B1 (en) Edge combiner, frequency multiplier and method of frequency multiplying using the edge combiner
CN210157159U (en) Clock frequency switching circuit
US8294496B2 (en) Sawtooth oscillator
JP2004252541A (en) Clock jitter generation circuit
JP3673037B2 (en) Wave shaping circuit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070628

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20090317