JPH0522121A - Frequency divider - Google Patents

Frequency divider

Info

Publication number
JPH0522121A
JPH0522121A JP16797891A JP16797891A JPH0522121A JP H0522121 A JPH0522121 A JP H0522121A JP 16797891 A JP16797891 A JP 16797891A JP 16797891 A JP16797891 A JP 16797891A JP H0522121 A JPH0522121 A JP H0522121A
Authority
JP
Japan
Prior art keywords
flip
output
flops
exclusive
shift register
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.)
Pending
Application number
JP16797891A
Other languages
Japanese (ja)
Inventor
Masashi Yamashita
雅士 山下
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP16797891A priority Critical patent/JPH0522121A/en
Publication of JPH0522121A publication Critical patent/JPH0522121A/en
Pending legal-status Critical Current

Links

Landscapes

  • Manipulation Of Pulses (AREA)

Abstract

PURPOSE:To obtain the frequency divider without being affected by the frequency and duty factor of a signal to be frequency divided. CONSTITUTION:A shift register 14 is composed by connecting D flip-flops 1a-5a (only the output of the D flip-flop 5a is non true value side data) to be operated synchronously with the rise of a clock CP in the shape of a loop, and a shift register 15 is composed by connecting D flip-flops 1b-5b (only the output of the D flip-flop 5b is non true value side data) to be operated synchronously with the fall of the clock in the shape of a loop. The exclusive OR of outputs from the D flip-flops la and 2a in the shift register 14 is connected to a set signal input terminal S of an R-S latch 19, and the exclusive OR of outputs from the D flip-flops 3b and 4b in the shift register 15 is connected to a reset signal input terminal R of the R-S latch. The out put of this R-S latch 19 is outputted from a frequency dividing signal output terminal 13. Therefore, the frequency divider is not affected by the frequency or duty factor of the signal to be frequency divided.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は原信号の周波数を分周
する分周器に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a frequency divider for dividing the frequency of an original signal.

【0002】[0002]

【従来の技術】図3は従来の分周器を示す回路図であ
る。同図に示すように、クロック入力端子11がDフリ
ップフロップ1〜3,6のトリガ信号入力端子Tに接続
されている。また、クロック入力端子11がインバータ
回路7の入力端子に接続されており、インバータ回路7
の出力端子がDフリップフロップ4,5のトリガ信号入
力端子Tに接続されている。さらに、Dフリップフロッ
プ1の真値側データ出力端子QがDフリップフロップ2
のデータ入力端子Dに、Dフリップフロップ2の真値側
データ出力端子QがDフリップフロップ3のデータ入力
端子Dに、Dフリップフロップ3の真値側データ出力端
子QがDフリップフロップ4のデータ入力端子Dに、D
フリップフロップ4の真値側データ出力端子QがDフリ
ップフロップ5のデータ入力端子Dに、Dフリップフロ
ップ5の真値側データ出力端子QがDフリップフロップ
6のデータ入力端子Dに、Dフリップフロップ6の非真
値側データ出力端子QCがDフリップフロップ1のデー
タ入力端子Dにそれぞれ接続されている。
2. Description of the Related Art FIG. 3 is a circuit diagram showing a conventional frequency divider. As shown in the figure, the clock input terminal 11 is connected to the trigger signal input terminals T of the D flip-flops 1 to 3 and 6. Further, the clock input terminal 11 is connected to the input terminal of the inverter circuit 7,
Is connected to the trigger signal input terminal T of the D flip-flops 4 and 5. Further, the true value side data output terminal Q of the D flip-flop 1 is
To the data input terminal D of the D flip-flop 2, the true value side data output terminal Q of the D flip-flop 2 to the data input terminal D of the D flip-flop 3, and the true value side data output terminal Q of the D flip-flop 3 to the data of D flip-flop 4. Input terminal D, D
The true value side data output terminal Q of the flip-flop 4 is connected to the data input terminal D of the D flip-flop 5, and the true value side data output terminal Q of the D flip-flop 5 is connected to the data input terminal D of the D flip-flop 6. The non-true value side data output terminals QC of 6 are connected to the data input terminal D of the D flip-flop 1, respectively.

【0003】また、リセット信号入力端子17がDフリ
ップフロップ1〜6のリセット信号入力端子*R(*は
バーを示す。なお、図中ではバーはバー記号により示
す。)に接続されている。さらに、Dフリップフロップ
1,2の真値側データ出力端子Qが排他的論理和回路8
の入力端子に接続されており、Dフリップフロップ4,
5の真値側出力端子Qが排他的論理和回路9の入力端子
に接続されている。また、排他的論理和回路8,9の出
力端子がそれぞれR−Sラッチ10のセット信号入力端
子S,リセット信号入力端子Rに接続されている。
Further, the reset signal input terminal 17 is connected to the reset signal input terminals * R (* indicates a bar. In the figure, the bar is indicated by a bar symbol) of the D flip-flops 1 to 6. Further, the true value side data output terminals Q of the D flip-flops 1 and 2 are connected to the exclusive OR circuit 8
Connected to the input terminal of the D flip-flop 4,
The output terminal Q on the true value side of 5 is connected to the input terminal of the exclusive OR circuit 9. The output terminals of the exclusive OR circuits 8 and 9 are connected to the set signal input terminal S and the reset signal input terminal R of the RS latch 10, respectively.

【0004】また、R−Sラッチ10の出力端子Qが分
周信号出力端子13に接続されている。
The output terminal Q of the RS latch 10 is connected to the divided signal output terminal 13.

【0005】次に動作について説明する。図4は図3の
回路の動作を示すタイミングチャートである。リセット
信号入力端子12上のリセット信号RSTが“L”レベ
ルの間は、各Dフリップフロップ1〜6はリセット状態
で、Dフリップフロップ1〜5の真値側データ出力端子
Qから出力されるデータQ1〜Q5は“H”レベル,D
フリップフロップ6の非真値側データ出力端子QCから
出力されるデータ*Q6は“L”レベルとなる。このた
め、排他的論理和回路8,9の2つの入力端子にはとも
に“L”レベルが与えられ、排他的論理和回路8,9の
出力端子からそれぞれ出力される信号G8,G9のレベ
ルは“L”レベルとなる。
Next, the operation will be described. FIG. 4 is a timing chart showing the operation of the circuit of FIG. While the reset signal RST on the reset signal input terminal 12 is at the “L” level, the D flip-flops 1 to 6 are in the reset state, and the data output from the true value side data output terminal Q of the D flip-flops 1 to 5 is output. Q1 to Q5 are "H" level, D
The data * Q6 output from the non-true value side data output terminal QC of the flip-flop 6 becomes "L" level. Therefore, the "L" level is given to both of the two input terminals of the exclusive OR circuits 8 and 9, and the levels of the signals G8 and G9 output from the output terminals of the exclusive OR circuits 8 and 9 are It becomes the "L" level.

【0006】次に、リセット信号入力端子11上のリセ
ット信号RSTが“H”レベルになると、Dフリップフ
ロップ1〜6のリセット状態は解除されるが、クロック
入力端子11上にクロックCPが入力されるまでは、各
Dフリップフロップ1〜6の状態は変化しない。
Next, when the reset signal RST on the reset signal input terminal 11 becomes "H" level, the reset state of the D flip-flops 1 to 6 is released, but the clock CP is input on the clock input terminal 11. Until then, the states of the D flip-flops 1 to 6 do not change.

【0007】クロック入力端子11からクロックCPが
入力されると、Dフリップフロップ1〜3及び6はそれ
ぞれ、クロックCPの立ち上がりに同期して、Dフリッ
プフロップ6の非真値側データ出力端子QCから出力さ
れるデータ*Q6,Dフリップフロップ1,2,5の真
値側データ出力端子Qから出力されるデータQ1,Q2
を記憶する。また、Dフリップフロップ4,5はそれぞ
れ、クロックCPの立ち下がりに同期して、Dフリップ
フロップ3,4の真値側データ出力端子Qから出力され
るデータQ3,Q4を記憶する。
When the clock CP is input from the clock input terminal 11, the D flip-flops 1 to 3 and 6 are respectively synchronized with the rising edge of the clock CP from the non-true value side data output terminal QC of the D flip-flop 6. Output data * Q6, data Q1, Q2 output from the true value side data output terminals Q of the D flip-flops 1, 2, 5
Memorize The D flip-flops 4 and 5 store the data Q3 and Q4 output from the true value side data output terminals Q of the D flip-flops 3 and 4 in synchronization with the falling of the clock CP.

【0008】したがって、Dフリップフロップ1〜3,
6はクロックCPの立ち上がりに同期して、Dフリップ
フロップ4,5はクロックCPの立ち下がりに同期し
て、Dフリップフロップ1,2,3,4,5,6,1・
・・の順にデータがループ上にシフトされる。
Therefore, the D flip-flops 1-3,
6 is in synchronization with the rising edge of the clock CP, and D flip-flops 4 and 5 are in synchronization with the falling edge of the clock CP. D flip-flops 1, 2, 3, 4, 5, 6, 1.
The data is shifted onto the loop in the order of.

【0009】ここで、Dフリップフロップ1,2それぞ
れの真値側データ出力端子Qから出力されるデータQ
1,Q2に着目すると、Q1=“H”レベル,Q2=
“L”レベルの第1の状態が作り出される。また、Dフ
リップフロップ4,5それぞれの真値側データ出力端子
Qから出力されるデータQ4,Q5に着目すると、Q4
=“H”レベル,Q5=“L”レベルの第2の状態が作
り出される。同様に、Dフリップフロップ1,2のそれ
ぞれについて、Q1=“L”レベル,Q2=“H”レベ
ルの第3の状態が作り出され、Dフリップフロップ4,
5のそれぞれについてQ4=“L”レベル,Q5=
“H”レベルの第4の状態が作り出される。
Here, the data Q output from the true value side data output terminal Q of each of the D flip-flops 1 and 2
Focusing on 1, Q2, Q1 = “H” level, Q2 =
A first state of "L" level is created. Further, focusing attention on the data Q4 and Q5 output from the true value side data output terminals Q of the D flip-flops 4 and 5, respectively,
The second state of "H" level and Q5 = "L" level is created. Similarly, for each of the D flip-flops 1 and 2, a third state of Q1 = "L" level and Q2 = "H" level is created, and the D flip-flops 4,
Q4 = “L” level, Q5 =
A fourth state of "H" level is created.

【0010】Dフリップフロップ1,2それぞれの真値
側データ出力端子Qから出力されるデータQ1,Q2の
データが第1の状態及び第3の状態のときは、排他的論
理和回路8の出力G8は“H”レベルとなり、これ以外
の状態のときは排他的論理和回路8の出力G8は“L”
レベルとなる。同じように、Dフリップフロップ4,5
それぞれの真値側データ出力端子Qから出力されるデー
タQ4,Q5のデータが第2の状態及び第4の状態のと
きは、排他的論理和回路9の出力G9は“H”レベルと
なり、これ以外の状態のときは排他的論理和回路9の出
力G9は“L”レベルとなる。
When the data Q1 and Q2 output from the true value side data output terminals Q of the D flip-flops 1 and 2 are in the first state and the third state, respectively, the output of the exclusive OR circuit 8 G8 becomes "H" level, and in other states, the output G8 of the exclusive OR circuit 8 is "L".
It becomes a level. Similarly, D flip-flops 4, 5
When the data Q4 and Q5 output from the respective true value side data output terminals Q are in the second state and the fourth state, the output G9 of the exclusive OR circuit 9 becomes "H" level, In other states, the output G9 of the exclusive OR circuit 9 is at "L" level.

【0011】R−Sラッチ10は第1,第3の状態のと
きセットされ、第2,第4の状態のときリセットされ
る。ここで、第1,第3の状態はクロックCPの立ち上
がりに同期して動作するDフリップフロップ1,2によ
り作り出され、第2,第4の状態はインバータ回路7を
用いてクロックCPの立ち下がりに同期して動作するD
フリップフロップ4,5により作り出されている。この
ため、第1の状態が作り出されるタイミングからクロッ
クの2.5周期後に第2の状態が作り出され、第2の状
態が作り出されるタイミングからクロックの2.5周期
後に第3の状態が作り出されるので、第2の状態は時間
的に第1,第3の状態の中央に作り出されることにな
る。同様に、第3の状態が作り出されるタイミングから
クロックの2.5周期後に第4の状態が作り出され、第
4の状態が作り出されるタイミングからクロックの2.
5周期後に第1の状態が作り出されるので、第4の状態
は時間的に第3,第1の状態の中間に作り出されること
になる。
The RS latch 10 is set in the first and third states and reset in the second and fourth states. Here, the first and third states are created by the D flip-flops 1 and 2 which operate in synchronization with the rising edge of the clock CP, and the second and fourth states use the inverter circuit 7 to cause the falling edge of the clock CP. D that operates in synchronization with
It is created by flip-flops 4 and 5. Therefore, the second state is created 2.5 cycles after the clock when the first state is created, and the third state is created 2.5 cycles after the clock when the second state is created. Therefore, the second state is temporally created in the center of the first and third states. Similarly, after 2.5 cycles of the clock from the timing when the third state is generated, the fourth state is generated, and from the timing when the fourth state is generated, the clock 2.
Since the first state is created after 5 cycles, the fourth state is created temporally in the middle of the third and first states.

【0012】したがって、R−Sラッチ10の出力端子
QからはクロックCPを1/5の分周比で分周した、デ
ューティファクタ50%の信号Q19が出力される。
Therefore, the output terminal Q of the RS latch 10 outputs a signal Q19 having a duty factor of 50% obtained by dividing the clock CP by a division ratio of 1/5.

【0013】[0013]

【発明が解決しようとする課題】従来の分周器は以上の
ように構成されていたので、図3に示すDフリップフロ
ップ3,4間及び5,6間のデータシフトは被分周信号
であるクロックCPの半周期幅で行われなければならな
い。クロックCPが高周波になるとこの半周期幅はさら
に短くなる。したがって、Dフリップフロップ3,4間
及び5,6間のデータシフト時の遅延時間が無視できな
くなり、この分周器を高速動作させることが困難になる
という問題点があった。
Since the conventional frequency divider is constructed as described above, the data shift between the D flip-flops 3, 4 and 5 and 6 shown in FIG. It must be performed with a half cycle width of a certain clock CP. When the clock CP has a high frequency, this half cycle width becomes shorter. Therefore, there is a problem that the delay time during data shift between the D flip-flops 3, 4 and between 5, 6 cannot be ignored, and it becomes difficult to operate this frequency divider at high speed.

【0014】また、クロックCPのデューティファクタ
によっても、半周期幅が短くなる場合が発生し、同様の
問題点があった。
Further, the half cycle width may be shortened depending on the duty factor of the clock CP, and there is a similar problem.

【0015】この発明は上記のような問題点を解決する
ためになされたもので、被分周信号であるクロックの周
波数及びデューティファクタに影響を受けない分周器を
得ることを目的としている。
The present invention has been made to solve the above problems, and an object thereof is to obtain a frequency divider which is not affected by the frequency and duty factor of the clock which is the frequency-divided signal.

【0016】[0016]

【課題を解決するための手段】この発明にかかる分周器
は、被分周信号をnを2以上の自然数としたときの1/
(2n−1)の分周比によって分周し、分周出力を生成
する分周器であって、被分周信号の立ち上がりエッジに
同期してデータをシフトする2n−1段のフリップフロ
ップからなる第1のシフトレジスタと、被分周信号の立
ち下がりエッジに同期してデータをシフトする2n−1
段のフリップフロップからなる第2のシフトレジスタ
と、第1のシフトレジスタの第1段,第2段のフリップ
フロップの出力信号値の排他的論理和を生成する第1の
排他的論理和回路と、第2のシフトレジスタの第2n−
3段、第2n−2段のフリップフロップの出力信号値の
排他的論理和を生成する第2の排他的論理回路と、第1
の排他的論理和回路の出力の第1レベルから第2レベル
へのエッジに同期して、分周出力の前縁を生成し、第2
の排他的論理和回路の出力の第1レベルから第2レベル
へのエッジに同期して、分周出力の後縁を生成する分周
出力エッジ生成回路とを備えて構成されている。
According to the frequency divider of the present invention, the frequency-divided signal is 1 / n when n is a natural number of 2 or more.
A frequency divider that divides by a division ratio of (2n-1) to generate a divided output from a 2n-1 stage flip-flop that shifts data in synchronization with a rising edge of a divided signal. 2n-1 that shifts data in synchronization with the falling edge of the divided signal
A second shift register including flip-flops of two stages, and a first exclusive OR circuit that generates an exclusive OR of output signal values of the first and second flip-flops of the first shift register , The second n− of the second shift register
A second exclusive logic circuit for generating an exclusive OR of output signal values of the 3rd and 2n-2nd flip-flops;
The leading edge of the divided output is generated in synchronization with the edge from the first level to the second level of the output of the exclusive OR circuit of
And an output edge generation circuit for generating a trailing edge of the frequency-divided output in synchronization with the edge from the first level to the second level of the output of the exclusive OR circuit.

【0017】[0017]

【作用】この発明においては、2n−1段のフリップフ
ロップからなる第1のシフトレジスタによって、被分周
信号の立ち上がりエッジに同期してデータをシフトし、
2n−1段のフリップフロップからなる第2のシフトレ
ジスタによって、被分周信号の立ち下がりエッジに同期
してデータをシフトし、第1の排他的論理和回路によっ
て、第1のシフトレジスタの第1段,第2段のフリップ
フロップの出力信号値の排他的論理和を生成し、第2の
排他的論理回路によって、第2のシフトレジスタの第2
n−3段、第2n−2段のフリップフロップの出力信号
値の排他的論理和を生成し、分周出力エッジ生成回路に
よって、第1の排他的論理和回路の出力の第1レベルか
ら第2レベルへのエッジに同期して、分周出力の前縁を
生成し、第2の排他的論理和回路の出力の第1レベルか
ら第2レベルへのエッジに同期して、分周出力の後縁を
生成しているので、第1のシフトレジスタ及び第2のシ
フトレジスタ内で被分周信号の半周期幅でのシフトが行
われない。
In the present invention, the first shift register consisting of 2n-1 stages of flip-flops shifts data in synchronization with the rising edge of the divided signal,
The second shift register composed of 2n-1 stages of flip-flops shifts the data in synchronization with the falling edge of the divided signal, and the first exclusive OR circuit shifts the data of the first shift register to the first shift register. The exclusive OR of the output signal values of the first-stage and second-stage flip-flops is generated, and the second exclusive-logic circuit outputs the second OR of the second shift register.
An exclusive OR of the output signal values of the flip-flops of the (n-3) th stage and the 2n-2nd stage is generated, and the frequency division output edge generation circuit generates the first level from the first level of the output of the first exclusive OR circuit. The leading edge of the divided output is generated in synchronization with the edge to the two levels, and the divided output of the divided output is synchronized with the edge from the first level to the second level of the output of the second exclusive OR circuit. Since the trailing edge is generated, the half-cycle width of the divided signal is not shifted in the first shift register and the second shift register.

【0018】[0018]

【実施例】図1はこの発明の一実施例を示す分周器の回
路図である。同図に示すように、クロック入力端子11
がシフトレジスタ14を構成するDフリップフロップ1
a〜5aのトリガ信号入力端子に接続されている。ま
た、クロック入力端子11がインバータ回路16の入力
端子に接続されており、インバータ回路16の出力端子
がシフトレジスタ15を構成するDフリップフロップ1
b〜5bのトリガ信号入力端子に接続されている。さら
に、シフトレジスタ14内のDフリップフロップ1aの
真値側データ出力端子QがDフリップフロップ2aのデ
ータ入力端子Dに、Dフリップフロップ2aの真値側デ
ータ出力端子QがDフリップフロップ3aのデータ入力
端子Dに、Dフリップフロップ3aの真値側データ出力
端子QがDフリップフロップ4aのデータ入力端子D
に、Dフリップフロップ4aの真値側データ出力端子Q
がDフリップフロップ5aのデータ入力端子Dに、Dフ
リップフロップ5aの非真値側データ出力端子QCがD
フリップフロップ1aのデータ入力端子Dにそれぞれ接
続されている。
FIG. 1 is a circuit diagram of a frequency divider showing an embodiment of the present invention. As shown in the figure, the clock input terminal 11
Is a D flip-flop 1 that constitutes the shift register 14.
a to 5a are connected to the trigger signal input terminals. Further, the clock input terminal 11 is connected to the input terminal of the inverter circuit 16, and the output terminal of the inverter circuit 16 constitutes the shift register 15 of the D flip-flop 1.
It is connected to the trigger signal input terminals b to 5b. Further, the true value side data output terminal Q of the D flip-flop 1a in the shift register 14 is the data input terminal D of the D flip-flop 2a, and the true value side data output terminal Q of the D flip-flop 2a is the data of the D flip-flop 3a. The true value side data output terminal Q of the D flip-flop 3a is connected to the input terminal D of the data input terminal D of the D flip-flop 4a.
To the true value side data output terminal Q of the D flip-flop 4a.
Is the data input terminal D of the D flip-flop 5a, and the non-true value side data output terminal QC of the D flip-flop 5a is D
Each of them is connected to the data input terminal D of the flip-flop 1a.

【0019】同じように、シフトレジスタ15内のDフ
リップフロップ1bの真値側データ出力端子QがDフリ
ップフロップ2bのデータ入力端子Dに、Dフリップフ
ロップ2bの真値側データ出力端子QがDフリップフロ
ップ3bのデータ入力端子Dに、Dフリップフロップ3
bの真値側データ出力端子QがDフリップフロップ4b
のデータ入力端子Dに、Dフリップフロップ4bの真値
側データ出力端子QがDフリップフロップ5bのデータ
入力端子Dに、Dフリップフロップ5bの真値側データ
出力端子QCがDフリップフロップ1bのデータ入力端
子Dにそれぞれ接続されている。
Similarly, the true value side data output terminal Q of the D flip-flop 1b in the shift register 15 is connected to the data input terminal D of the D flip-flop 2b, and the true value side data output terminal Q of the D flip-flop 2b is D. The D flip-flop 3 is connected to the data input terminal D of the flip-flop 3b.
The true value side data output terminal Q of b is the D flip-flop 4b.
To the data input terminal D of the D flip-flop 4b, the true value side data output terminal Q of the D flip-flop 4b to the data input terminal D of the D flip-flop 5b, and the true value side data output terminal QC of the D flip-flop 5b to the data of the D flip-flop 1b. Each is connected to the input terminal D.

【0020】また、リセット信号入力端子12がシフト
レジスタ14内のDフリップフロップ1a〜5aとシフ
トレジスタ15内のDフリップフロップ1b〜5bのリ
セット信号入力端子*Rに接続されている。さらに、シ
フトレジスタ14内のDフリップフロップ1a,2aの
真値側データ出力端子Qが排他的論理和回路17の入力
端子に接続されており、シフトレジスタ15内のDフリ
ップフロップ3b,4bの真値側データ出力端子Qが排
他的論理和回路18の出力端子に接続されている。ま
た、排他的論理和回路17,18の出力端子がそれぞれ
R−Sラッチ19のセット信号入力端子S,リセット信
号入力端子Rに接続されている。
Further, the reset signal input terminal 12 is connected to the reset signal input terminals * R of the D flip-flops 1a-5a in the shift register 14 and the D flip-flops 1b-5b in the shift register 15. Further, the true value side data output terminals Q of the D flip-flops 1a and 2a in the shift register 14 are connected to the input terminals of the exclusive OR circuit 17, and the true values of the D flip-flops 3b and 4b in the shift register 15 are true. The value side data output terminal Q is connected to the output terminal of the exclusive OR circuit 18. The output terminals of the exclusive OR circuits 17 and 18 are connected to the set signal input terminal S and the reset signal input terminal R of the RS latch 19, respectively.

【0021】また、R−Sラッチ19の出力端子Qが分
周信号出力端子13に接続されている。
The output terminal Q of the RS latch 19 is connected to the divided signal output terminal 13.

【0022】次に動作について説明する。図2は図1の
回路の動作を示すタイミングチャートである。リセット
信号入力端子12上のリセット信号RSTが“L”レベ
ルの間は、シフトレジスタ14内の各Dフリップフロッ
プ1a〜5a及びシフトレジスタ15内の各Dフリップ
フロップ1b〜5bはリセット状態で、Dフリップフロ
ップ1a〜4a,1b〜4bの真値側データ出力端子Q
からそれぞれ出力されるデータQ1a〜Q4a及びQ1
b〜Q4bは“H”レベル,Dフリップフロップ5a,
5bの非真値側データ出力端子QCからそれぞれ出力さ
れるデータ*Q5a,*Q5bは“L”レベルとなる。
このため、排他的論理和回路17,18の2つの入力端
子にはともに“L”レベルが与えられ、排他的論理和回
路17,18の出力端子からそれぞれ出力される信号G
17,G18のレベルは“L”レベルとなる。
Next, the operation will be described. FIG. 2 is a timing chart showing the operation of the circuit of FIG. While the reset signal RST on the reset signal input terminal 12 is at the "L" level, the D flip-flops 1a to 5a in the shift register 14 and the D flip-flops 1b to 5b in the shift register 15 are in the reset state and D True value side data output terminal Q of the flip-flops 1a to 4a and 1b to 4b
Q1a to Q4a and Q1 respectively output from the
b to Q4b are "H" level, D flip-flops 5a,
The data * Q5a and * Q5b respectively output from the non-true value side data output terminal QC of 5b becomes "L" level.
Therefore, the "L" level is given to both of the two input terminals of the exclusive OR circuits 17 and 18, and the signal G output from the output terminals of the exclusive OR circuits 17 and 18 respectively.
The levels of 17 and G18 are "L" level.

【0023】次に、リセット信号入力端子12上のリセ
ット信号RSTが“H”レベルになると、シフトレジス
タ14内のDフリップフロップ1a〜5a,シフトレジ
スタ15内のDフリップフロップ1b〜5bのリセット
状態は解除されるが、クロック入力端子11上にクロッ
クCPが入力されるまでは、各Dフリップフロップ1〜
6の状態は変化しない。
Next, when the reset signal RST on the reset signal input terminal 12 becomes "H" level, the reset states of the D flip-flops 1a-5a in the shift register 14 and the D flip-flops 1b-5b in the shift register 15 are reset. However, until the clock CP is input to the clock input terminal 11, each of the D flip-flops 1 to
The state of 6 does not change.

【0024】クロック入力端子11からクロックCPが
入力されると、シフトレジスタ14内のDフリップフロ
ップ1a及び2a〜5aはそれぞれ、クロックCPの立
ち上がりに同期して、Dフリップフロップ5aの非真値
側データ出力端子QCから出力されるデータ*Q5a及
びDフリップフロップ1a〜4aの真値側データ出力端
子Qから出力されるデータQ1a〜Q4aを記憶する。
また、シフトレジスタ15内のDフリップフロップ1b
及び2b〜5bはそれぞれ、クロックCPの立ち下がり
に同期して、Dフリップフロップ5bの非真値側データ
出力端子QCから出力されるデータ*Q5b及びDフリ
ップフロップ1b〜4bの真値側データ出力端子Qから
出力されるデータQ1b〜Q4bを記憶する。
When the clock CP is input from the clock input terminal 11, the D flip-flops 1a and 2a to 5a in the shift register 14 are synchronized with the rising edge of the clock CP and the non-true side of the D flip-flop 5a. The data * Q5a output from the data output terminal QC and the data Q1a to Q4a output from the true value side data output terminals Q of the D flip-flops 1a to 4a are stored.
In addition, the D flip-flop 1b in the shift register 15
And 2b to 5b are data * Q5b output from the non-true value side data output terminal QC of the D flip-flop 5b and true value side data output of the D flip-flops 1b to 4b, respectively, in synchronization with the fall of the clock CP. The data Q1b to Q4b output from the terminal Q are stored.

【0025】したがって、シフトレジスタ14内のDフ
リップフロップ1a〜5aはクロックCPの立ち上がり
に同期してDフリップフロップ1a,2a,3a,4
a,5a,1a・・・の順にデータがループ上にシフト
される。同じように、シフトレジスタ15内のDフリッ
プフロップ1b〜5bはクロックCPの立ち下がりに同
期してDフリップフロップ1b,2b,3b,4b,5
b,1b・・・の順にデータがループ上にシフトされ
る。
Therefore, the D flip-flops 1a to 5a in the shift register 14 are synchronized with the rising of the clock CP, and the D flip-flops 1a, 2a, 3a and 4 are synchronized.
The data is shifted onto the loop in the order of a, 5a, 1a .... Similarly, the D flip-flops 1b to 5b in the shift register 15 are synchronized with the falling edge of the clock CP, and the D flip-flops 1b, 2b, 3b, 4b and 5 are synchronized.
The data is shifted onto the loop in the order of b, 1b ....

【0026】ここで、シフトレジスタ14内のDフリッ
プフロップ1a,2aそれぞれの真値側データ出力端子
Qから出力されるデータQ1a,Q2aに着目すると、
Q1a=“H”レベル,Q2a=“L”レベルの第1の
状態が作り出される。また、シフトレジスタ15内のD
フリップフロップ3b,4bそれぞれの真値側データ出
力端子Qから出力されるデータQ3b,Q4bに着目す
ると、Q3b=“H”レベル,Q4b=“L”レベルの
第2の状態が作り出される。同様に、シフトレジスタ1
4内のDフリップフロップ1a,2aのそれぞれについ
て、Q1a=“L”レベル,Q2a=“H”レベルの第
3の状態が作り出され、シフトレジスタ15内のDフリ
ップフロップ3b,4bのそれぞれについてQ3b=
“L”レベル,Q4b=“H”レベルの第4の状態が作
り出される。
Here, focusing on the data Q1a and Q2a output from the true value side data output terminals Q of the D flip-flops 1a and 2a in the shift register 14,
A first state of Q1a = "H" level and Q2a = "L" level is created. In addition, D in the shift register 15
Focusing on the data Q3b and Q4b output from the true value side data output terminals Q of the flip-flops 3b and 4b, respectively, a second state of Q3b = "H" level and Q4b = "L" level is created. Similarly, shift register 1
A third state of Q1a = "L" level and Q2a = "H" level is created for each of the D flip-flops 1a and 2a in the register 4, and Q3b for each of the D flip-flops 3b and 4b in the shift register 15. =
A fourth state of "L" level and Q4b = "H" level is created.

【0027】シフトレジスタ14内のDフリップフロッ
プ1a,2aそれぞれの真値側データ出力端子Qから出
力されるデータQ1a,Q2aのデータが第1の状態及
び第3の状態のときは、排他的論理和回路17の出力G
17は“H”レベルとなり、これ以外の状態のときは排
他的論理和回路17の出力G17は“L”レベルとな
る。同じように、シフトレジスタ15内のDフリップフ
ロップ3b,4bそれぞれの真値側データ出力端子Qか
ら出力されるデータQ3b,Q4bのデータが第2の状
態及び第4の状態のときは、排他的論理和回路18の出
力G18は“H”レベルとなり、これ以外の状態のとき
は排他的論理和回路18の出力G18は“L”レベルと
なる。
When the data Q1a and Q2a output from the true value side data output terminals Q of the D flip-flops 1a and 2a in the shift register 14 are in the first state and the third state, the exclusive logic is applied. Output G of sum circuit 17
17 becomes "H" level, and in other states, the output G17 of the exclusive OR circuit 17 becomes "L" level. Similarly, when the data Q3b and Q4b output from the true value side data output terminals Q of the D flip-flops 3b and 4b in the shift register 15 are in the second state and the fourth state, respectively, they are exclusive. The output G18 of the OR circuit 18 is at the "H" level, and in other states, the output G18 of the exclusive OR circuit 18 is at the "L" level.

【0028】R−Sラッチ10は第1,第3の状態のと
きセットされ、第2,第4の状態のときリセットされ
る。ここで、第1,第3の状態はクロックCPの立ち上
がりに同期して動作するシフトレジスタ14内のDフリ
ップフロップ1a,2aにより作り出され、第2,第4
の状態はインバータ回路7を用いてクロックCPの立ち
下がりに同期して動作するシフトレジスタ15内のDフ
リップフロップ3a,4aにより作り出されている。こ
のため、第1の状態が作り出されるタイミングからクロ
ックの2.5周期後に第2の状態が作り出され、第2の
状態が作り出されるタイミングからクロックの2.5周
期後に第3の状態が作り出されるので、第2の状態は時
間的に第1,第3の状態の中央に作り出されることにな
る。同様に、第3の状態が作り出されるタイミングから
クロックの2.5周期後に第4の状態が作り出され、第
4の状態が作り出されるタイミングからクロックの2.
5周期後に第1の状態が作り出されるので、第4の状態
は時間的に第3,第1の状態の中間に作り出されること
になる。
The RS latch 10 is set in the first and third states and reset in the second and fourth states. Here, the first and third states are created by the D flip-flops 1a and 2a in the shift register 14 which operate in synchronization with the rising of the clock CP, and the second and fourth states are generated.
The state is created by the D flip-flops 3a and 4a in the shift register 15 which operates in synchronization with the fall of the clock CP using the inverter circuit 7. Therefore, the second state is created 2.5 cycles after the clock when the first state is created, and the third state is created 2.5 cycles after the clock when the second state is created. Therefore, the second state is temporally created in the center of the first and third states. Similarly, after 2.5 cycles of the clock from the timing when the third state is generated, the fourth state is generated, and from the timing when the fourth state is generated, the clock 2.
Since the first state is created after 5 cycles, the fourth state is created temporally in the middle of the third and first states.

【0029】したがって、R−Sラッチ10の出力端子
QからはクロックCPを1/5の分周比で分周した、デ
ューティファクタ50%の信号Q19が出力され、これ
が分周信号出力端子13から出力される。
Therefore, the output terminal Q of the RS latch 10 outputs a signal Q19 having a duty factor of 50%, which is obtained by dividing the clock CP by a division ratio of ⅕, which is output from the divided signal output terminal 13. Is output.

【0030】以上のように、この発明によれば、クロッ
クの立ち上がりに同期して動作するDフリップフロップ
1a〜5a(Dフリップフロップ5aの出力のみ非真値
側データ)がループ状に接続されて構成されたシフトレ
ジスタ14と、クロックの立ち下がりに同期して動作す
るDフリップフロップ1b〜5b(Dフリップフロップ
5bの出力のみ非真値側データ)がループ状に接続され
て構成されたシフトレジスタ15において、シフトレジ
スタ14内のDフリップフロップ1a,2aの出力の排
他的論理和回路17による排他的論理和をR−Sラッチ
19のセット信号入力端子Sに、シフトレジスタ15内
のDフリップフロップ3b,4bの出力の排他的論理和
回路18による排他的論理和をR−Sラッチのリセット
信号入力端子Rに与え、R−Sラッチ19の出力を分周
器の出力信号として分周信号出力端子13から出力して
いるので、高周波のクロックCP(被分周信号)を与え
ることができる分周器を得ることができる。
As described above, according to the present invention, the D flip-flops 1a to 5a (only the output of the D flip-flop 5a is the non-true value side data) operating in synchronization with the rising edge of the clock are connected in a loop. A shift register configured by connecting the configured shift register 14 and D flip-flops 1b to 5b (only the output of the D flip-flop 5b is the non-true value side data) that operate in synchronization with the falling edge of the clock in a loop shape. 15, the exclusive OR of the outputs of the D flip-flops 1a and 2a in the shift register 14 by the exclusive OR circuit 17 is applied to the set signal input terminal S of the RS latch 19 in the D flip-flop in the shift register 15. The exclusive OR of the outputs of 3b and 4b by the exclusive OR circuit 18 is applied to the reset signal input terminal R of the RS latch. Since the output of the RS latch 19 is output from the frequency division signal output terminal 13 as the output signal of the frequency divider, a frequency divider capable of giving a high frequency clock CP (divided signal) is obtained. be able to.

【0031】なお、図1では分周比が1/5の分周器を
示したが、nを2以上の自然数としたとき、分周比が1
/(2n−1)の分周器も、クロックCPの立ち上がり
に同期して動作する2n−1個のDフリップフロップ1
a〜(2n−1)aからなるシフトレジスタとクロック
CPの立ち下がりに同期して動作する2n−1個のDフ
リップフロップ1b〜(2n−1)bからなるシフトレ
ジスタによって容易に実現できる。この場合、Dフリッ
プフロップ1a,2aの出力の排他的論理和をR−Sラ
ッチのセット信号入力端子Sに、Dフリップフロップ
(2n−3)b,(2n−2)bの出力の排他的論理和
をR−Sラッチのリセット信号入力端子Rに与えること
によって、R−Sラッチの出力端子から分周器の出力信
号を出力することができる。
Although FIG. 1 shows a frequency divider having a division ratio of 1/5, when n is a natural number of 2 or more, the division ratio is 1.
The (/ 2n-1) frequency divider also has 2n-1 D flip-flops 1 that operate in synchronization with the rising edge of the clock CP.
This can be easily realized by a shift register composed of a to (2n-1) a and a shift register composed of 2n-1 D flip-flops 1b to (2n-1) b which operate in synchronization with the falling of the clock CP. In this case, the exclusive OR of the outputs of the D flip-flops 1a and 2a is applied to the set signal input terminal S of the RS latch by the exclusive OR of the outputs of the D flip-flops (2n-3) b and (2n-2) b. By giving a logical sum to the reset signal input terminal R of the RS latch, the output signal of the frequency divider can be output from the output terminal of the RS latch.

【0032】また、図1では、排他的論理和回路17,
18の出力端子をそれぞれR−Sラッチ19のセット信
号入力端子S,リセット信号入力端子Rに接続し、分周
器の出力信号が、排他的論理和回路17の出力G17の
立ち上がりに同期して立ち上がり、排他的論理和回路1
8の出力G18の立ち上がりに同期して立ち下がる例を
示したが、排他的論理和回路17,18の出力端子をそ
れぞれR−Sラッチ19のリセット信号入力端子R,リ
セット信号入力端子Sに接続し、分周器の出力信号が、
排他的論理和回路17の出力G17の立ち上がりに同期
して立ち下がり、排他的論理和回路18の出力G18の
立ち上がりに同期して立ち上がるようにしても良い。
In FIG. 1, the exclusive OR circuit 17,
18 output terminals are respectively connected to the set signal input terminal S and the reset signal input terminal R of the RS latch 19, and the output signal of the frequency divider is synchronized with the rising edge of the output G17 of the exclusive OR circuit 17. Rising, exclusive OR circuit 1
Although the example in which the output G18 of FIG. 8 falls in synchronization with the rise of the output G18 is shown, the output terminals of the exclusive OR circuits 17 and 18 are connected to the reset signal input terminal R and the reset signal input terminal S of the RS latch 19, respectively. The output signal of the frequency divider is
The exclusive OR circuit 17 may fall in synchronization with the rising edge of the output G17 and may rise in synchronization with the rising edge of the output G18 of the exclusive OR circuit 18.

【0033】さらに、R−Sラッチの代わりにエッジ動
作を行うラッチを用い、分周器の出力信号が、排他的論
理和回路17の出力G17の立ち下がりに同期して立ち
上がり、排他的論理和回路18の出力G18の立ち下が
りに同期して立ち下がる、或いは排他的論理和回路17
の出力G17の立ち下がりに同期して立ち下がり、排他
的論理和回路18の出力G18の立ち下がりに同期して
立ち上がるようにしても良い。
Further, instead of the RS latch, a latch that performs an edge operation is used, and the output signal of the frequency divider rises in synchronization with the fall of the output G17 of the exclusive OR circuit 17, and the exclusive OR is obtained. It falls in synchronization with the fall of the output G18 of the circuit 18, or the exclusive OR circuit 17
The output G17 may fall in synchronization with the fall of the output G17, and the output G18 of the exclusive OR circuit 18 may rise in synchronization with the fall of the output G18.

【0034】[0034]

【発明の効果】以上のように、この発明によれば、被分
周信号をnを2以上の自然数としたときの1/(2n−
1)の分周比によって分周し、分周出力を生成する分周
器であって、被分周信号の立ち上がりエッジに同期して
データをシフトする2n−1段のフリップフロップから
なる第1のシフトレジスタと、被分周信号の立ち下がり
エッジに同期してデータをシフトする2n−1段のフリ
ップフロップからなる第2のシフトレジスタと、第1の
シフトレジスタの第1段,第2段のフリップフロップの
出力信号値の排他的論理和を生成する第1の排他的論理
和回路と、第2のシフトレジスタの第2n−3段、第2
n−2段のフリップフロップの出力信号値の排他的論理
和を生成する第2の排他的論理回路と、第1の排他的論
理和回路の出力の第1レベルから第2レベルへのエッジ
に同期して、分周出力の前縁を生成し、第2の排他的論
理和回路の出力の第1レベルから第2レベルへのエッジ
に同期して、分周出力の後縁を生成する分周出力エッジ
生成回路とを設けたので、第1のシフトレジスタ及び第
2のシフトレジスタ内で被分周信号の半周期幅でのシフ
トが行われず、被分周信号の周波数やデューティファク
タに影響を受けにくい分周器を提供することができると
いう効果がある。
As described above, according to the present invention, when the frequency-divided signal is a natural number of 2 or more, 1 / (2n-
A frequency divider that generates a frequency-divided output by performing frequency division according to the frequency division ratio of 1), and includes a first 2n-1 stage flip-flop that shifts data in synchronization with the rising edge of the frequency-divided signal. Shift register, a second shift register including 2n-1 stages of flip-flops that shift data in synchronization with the falling edge of the divided signal, and first and second stages of the first shift register. First exclusive OR circuit for generating an exclusive OR of the output signal values of the flip-flops, and the 2n-3rd stage of the second shift register, the second
A second exclusive logic circuit that generates an exclusive OR of the output signal values of the n−2 stage flip-flops and an edge from the first level to the second level of the output of the first exclusive OR circuit. In synchronization, the leading edge of the divided output is generated, and the trailing edge of the divided output is generated in synchronization with the edge from the first level to the second level of the output of the second exclusive OR circuit. Since the divided output edge generation circuit is provided, the divided signal is not shifted by the half cycle width in the first shift register and the second shift register, which affects the frequency and duty factor of the divided signal. There is an effect that it is possible to provide a frequency divider that is hard to receive.

【図面の簡単な説明】[Brief description of drawings]

【図1】この発明の一実施例を示す分周器の回路図であ
る。
FIG. 1 is a circuit diagram of a frequency divider showing an embodiment of the present invention.

【図2】図1の回路の動作を示すタイミングチャートで
ある。
FIG. 2 is a timing chart showing the operation of the circuit of FIG.

【図3】従来の分周器を示す回路図である。FIG. 3 is a circuit diagram showing a conventional frequency divider.

【図4】図4の回路の動作を示すタイミングチャートで
ある。
FIG. 4 is a timing chart showing the operation of the circuit of FIG.

【符号の説明】[Explanation of symbols]

11 クロック入力端子 13 分周信号出力端子 14,15 シフトレジスタ 11 clock input terminal 13 frequency division signal output terminal 14 and 15 shift register

Claims (1)

【特許請求の範囲】 【請求項1】 被分周信号をnを2以上の自然数とした
ときの1/(2n−1)の分周比によって分周し、分周
出力を生成する分周器であって、 前記被分周信号の立ち上がりエッジに同期してデータを
シフトする2n−1段のフリップフロップからなる第1
のシフトレジスタと、 前記被分周信号の立ち下がりエッジに同期してデータを
シフトする2n−1段のフリップフロップからなる第2
のシフトレジスタと、 前記第1のシフトレジスタの第1段,第2段のフリップ
フロップの出力信号値の排他的論理和を生成する第1の
排他的論理和回路と、 前記第2のシフトレジスタの第2n−3段、第2n−2
段のフリップフロップの出力信号値の排他的論理和を生
成する第2の排他的論理回路と、 前記第1の排他的論理和回路の出力の第1レベルから第
2レベルへのエッジに同期して、前記分周出力の前縁を
生成し、前記第2の排他的論理和回路の出力の第1レベ
ルから第2レベルへのエッジに同期して、前記分周出力
の後縁を生成する分周出力エッジ生成回路とを備えた分
周器。
Claim: What is claimed is: 1. A frequency division for dividing a divided signal by a dividing ratio of 1 / (2n-1) when n is a natural number of 2 or more, and generating a divided output. A first n-stage flip-flop that shifts data in synchronization with a rising edge of the divided signal.
Second shift register and a 2n-1 stage flip-flop that shifts data in synchronization with the falling edge of the divided signal.
Shift register, a first exclusive OR circuit that generates an exclusive OR of the output signal values of the first-stage and second-stage flip-flops of the first shift register, and the second shift register 2n-3 stage, 2n-2
A second exclusive logic circuit for generating an exclusive OR of the output signal values of the flip-flops of the stages, and the output of the first exclusive OR circuit is synchronized with the edge from the first level to the second level. To generate a leading edge of the divided output and generate a trailing edge of the divided output in synchronization with an edge of the output of the second exclusive OR circuit from the first level to the second level. A frequency divider having a frequency division output edge generation circuit.
JP16797891A 1991-07-09 1991-07-09 Frequency divider Pending JPH0522121A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16797891A JPH0522121A (en) 1991-07-09 1991-07-09 Frequency divider

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16797891A JPH0522121A (en) 1991-07-09 1991-07-09 Frequency divider

Publications (1)

Publication Number Publication Date
JPH0522121A true JPH0522121A (en) 1993-01-29

Family

ID=15859546

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16797891A Pending JPH0522121A (en) 1991-07-09 1991-07-09 Frequency divider

Country Status (1)

Country Link
JP (1) JPH0522121A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101841324A (en) * 2010-06-02 2010-09-22 四川和芯微电子股份有限公司 Shift frequency divider with automatic reset function

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101841324A (en) * 2010-06-02 2010-09-22 四川和芯微电子股份有限公司 Shift frequency divider with automatic reset function

Similar Documents

Publication Publication Date Title
JPS6243568B2 (en)
JP2002344308A (en) Odd number frequency divider and 90 degree phaser shifter using the same
US4786823A (en) Noise pulse suppressing circuit in digital system
JP3077276B2 (en) Fractional frequency divider for obtaining symmetric output signals
US6329861B1 (en) Clock generator circuit
JPH0522121A (en) Frequency divider
JPH0879029A (en) Four-phase clock pulse generating circuit
JPH07162294A (en) Pulse counting circuit and pulse switching circuit
JP3382329B2 (en) Odd counter circuit
JP2689539B2 (en) Divider
JP2547723B2 (en) Divider circuit
JPH05259895A (en) Frequency divider of odd number frequency division ratio
JPH0691425B2 (en) Frequency divider using D-type flip-flop
JPH0783257B2 (en) Variable frequency divider
JPH03204251A (en) Clock synchronizing circuit
CN114095015A (en) Deburring clock frequency division circuit, method and terminal
JPS62260418A (en) Flip-flop circuit
JPH11150479A (en) Pulse width signal conversion circuit
JP3514020B2 (en) Rate generator
JPH05347555A (en) Variable frequency divider circuit
JPS5814644A (en) Clock generating circuit
JPH10268965A (en) Clock signal generating circuit
JPH0613892A (en) Frequency divider circuit
JPH0529924A (en) 1/9 frequency divider circuit
JPH0645891A (en) Pulse shaping circuit and variable frequency divider system using the same