JPH05347555A - Variable frequency divider circuit - Google Patents

Variable frequency divider circuit

Info

Publication number
JPH05347555A
JPH05347555A JP15530792A JP15530792A JPH05347555A JP H05347555 A JPH05347555 A JP H05347555A JP 15530792 A JP15530792 A JP 15530792A JP 15530792 A JP15530792 A JP 15530792A JP H05347555 A JPH05347555 A JP H05347555A
Authority
JP
Japan
Prior art keywords
pulse
circuit
counter
dividing
outputs
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
JP15530792A
Other languages
Japanese (ja)
Inventor
Masahiro Yokoo
正裕 横尾
Yasuhiro Ono
恭裕 大野
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP15530792A priority Critical patent/JPH05347555A/en
Publication of JPH05347555A publication Critical patent/JPH05347555A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To always obtain a dividing signal of the 50% duty despite the change of the dividing ratio. CONSTITUTION:A counter 22 counts the master clocks and outputs the dividing pulses every time the count value is equal to the dividing ratio and also is reset. A comparator 25 compares the count value of the counter 22 with the integer value equal to 1/2 dividing ratio and outputs a coincidence pulse when the coincidence is secured between both values. Each of selection circuits 27-30 selects a coincidence pulse with each shift equal to the half cycle of the master clock when the dividing ratio is odd and then selects the coincidence pulse out of the comparator 25. Then the output circuits 31 and 33 apply the 1/2 division to the OR secured between the dividing pulse of the counter 22 and the coincidence pulse of the selection circuit and then outputs the dividing signals.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は可変分周回路に関し、分
周比を可変してクロックを分周する可変分周回路に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a variable frequency dividing circuit, and more particularly to a variable frequency dividing circuit for varying a frequency dividing ratio to divide a clock.

【0002】[0002]

【従来の技術】図4は従来の可変分周回路の一例の回路
図を示す。同図中、11はダウンカウンタであり、端子
12より図5(A)に示すマスタクロックMCKを供給
され、端子13より図5(B)に示す分周比のデータN
−1を供給されている。ダウンカウンタ11はマスタク
ロックMCKをダウンカウントして図5(C)に示すカ
ウント値が0のときにのみHレベルとなる図5(D)に
示す分周信号を端子14より出力する。また、この分周
信号の立下り時に端子13よりのデータをロードしてダ
ウンカウントを行なう。これによってマスタクロックM
CKをN分周した分周信号を得る。
2. Description of the Related Art FIG. 4 shows a circuit diagram of an example of a conventional variable frequency dividing circuit. In the figure, 11 is a down counter, which is supplied with the master clock MCK shown in FIG. 5A from the terminal 12 and from the terminal 13 with the data N of the division ratio shown in FIG. 5B.
-1 is supplied. The down counter 11 counts down the master clock MCK, and outputs from the terminal 14 the frequency-divided signal shown in FIG. 5 (D) which becomes H level only when the count value shown in FIG. 5 (C) is 0. Further, at the falling edge of this divided signal, data from the terminal 13 is loaded and down counting is performed. This allows the master clock M
A divided signal obtained by dividing CK by N is obtained.

【0003】[0003]

【発明が解決しようとする課題】従来回路では得られる
分周信号のデューティ比が分周比によって変化してしま
い常時デューティ比50%の分周信号を得ることができ
ないという問題があった。
The conventional circuit has a problem that the duty ratio of the frequency-divided signal obtained varies depending on the frequency-division ratio, so that it is not possible to always obtain a frequency-divided signal with a duty ratio of 50%.

【0004】本発明は上記の点に鑑みなされたもので、
分周比が変化しても常に50%デューティの分周信号を
得ることのできる可変分周回路を提供することを目的と
する。
The present invention has been made in view of the above points,
An object of the present invention is to provide a variable frequency dividing circuit that can always obtain a frequency division signal with a 50% duty even if the frequency division ratio changes.

【0005】[0005]

【課題を解決するための手段】本発明の可変分周回路
は、マスタクロックをカウントしてカウント値が分周比
の値となる毎に分周パルスを出力し、かつリセットする
カウンタと、上記カウント値を上記分周比の1/2の整
数値と比較して一致したとき一致パルスを出力する比較
回路と、上記分周比が奇数のときマスタクロックの半周
期分ずらした一致パルスを選択し、偶数のとき上記比較
回路よりの一致パルスを選択して取り出す選択回路と、
上記カウンタよりの分周パルスと選択回路よりの一致パ
ルスの論理和を1/2分周して分周信号を出力する出力
回路とを有する。
A variable frequency dividing circuit according to the present invention includes a counter for counting a master clock, outputting a frequency dividing pulse each time the count value reaches a value of a frequency dividing ratio, and resetting the divided pulse. Selects a comparison circuit that outputs a match pulse when the count value is compared with an integer value of 1/2 of the division ratio and matches, and a match pulse that is shifted by a half cycle of the master clock when the division ratio is odd. Then, when it is an even number, a selection circuit for selecting and extracting the matching pulse from the comparison circuit,
It has an output circuit which divides the logical sum of the frequency-divided pulse from the counter and the coincidence pulse from the selection circuit into 1/2 and outputs a frequency-divided signal.

【0006】[0006]

【作用】本発明においては、比較回路と選択回路とによ
り分周パルス間隔の中間位置を指示する一致パルスを生
成し、分周パルスと一致パルスの論理和を1/2分周す
ることにより、分周比が任意に変化しても確実に50%
デューティの分周信号を得る。
In the present invention, the comparison circuit and the selection circuit generate the coincidence pulse indicating the intermediate position of the division pulse interval, and divide the logical sum of the division pulse and the coincidence pulse by 1/2. 50% surely even if the division ratio changes arbitrarily
Obtain the duty divided signal.

【0007】[0007]

【実施例】図1は本発明回路の一実施例の回路図を示
す。
1 shows a circuit diagram of an embodiment of the circuit of the present invention.

【0008】同図中、端子20より分周比のデータNが
入来し2の補数回路21に供給される。2の補数回路2
1は上記データNの各ビットを反転した後、最下位ビッ
トに1を加算して2つの補数データを生成し、この2の
補数をカウンタ2及びシフト回路23に供給する。
In the figure, the data N of the frequency division ratio is input from the terminal 20 and supplied to the 2's complement circuit 21. 2's complement circuit 2
1 inverts each bit of the data N, adds 1 to the least significant bit to generate two's complement data, and supplies the two's complement data to the counter 2 and the shift circuit 23.

【0009】カウンタ22は端子24よりマスタクロッ
クを供給されてカウントアップを行ない、そのカウント
値を比較回路25に供給すると共に、キャリーをフリッ
プフロップ26及び自回路のデータロード端子LDに供
給している。カウンタ22はデータロード端子LDにキ
ャリーが供給されたとき2の補数回路21よりの2の補
数データをロードする。これによってマスタクロックM
CKのNパルス毎にカウンタ22はキャリーを出力し、
マスタクロックMCKを1/N分周する。フリップフロ
ップ26は上記キャリーをマスタクロックMCKでラッ
チしてマスタクロックの1周期分遅延し分周パルスとし
てオア回路31に供給する。
The counter 22 is supplied with the master clock from the terminal 24 to count up, supplies the count value to the comparison circuit 25, and supplies the carry to the flip-flop 26 and the data load terminal LD of its own circuit. . The counter 22 loads the 2's complement data from the 2's complement circuit 21 when a carry is supplied to the data load terminal LD. This allows the master clock M
The counter 22 outputs a carry every N pulses of CK,
The master clock MCK is divided by 1 / N. The flip-flop 26 latches the carry with the master clock MCK, delays it by one cycle of the master clock, and supplies it to the OR circuit 31 as a divided pulse.

【0010】シフト回路23は2の補数データを右に1
ビットシフトつまり1/2して比較回路25に供給す
る。比較回路25はシフトされた2の補数データとカウ
ンタ22のカウント値とを最上位ビットを除いて比較
し、一致したときに“1”となる一致パルスを生成して
フリップフロップ27,28夫々に供給する。
The shift circuit 23 shifts the 2's complement data to the right by 1
Bit shift, that is, ½, is supplied to the comparison circuit 25. The comparison circuit 25 compares the shifted 2's complement data with the count value of the counter 22 except for the most significant bit, and generates a coincidence pulse that becomes “1” when they coincide with each other and outputs the coincidence pulse to the flip-flops 27 and 28, respectively. Supply.

【0011】フリップフロップ27はインバータ29で
反転したマスタクロックMCKの立上り時、つまりマス
タクロックを半周期遅延したタイミングで一致パルスを
ラッチしてセレクタ30に供給する。フリップフロップ
28はマスタクロックMCKの立上り時に一致パルスを
ラッチする。なお、カウンタ22、シフト回路23、比
較回路25の遅延があるためにフリップフロップ28は
マスタクロックMCKを略1周期遅延したタイミングで
一致パルスをラッチしセレクタ30に供給する。
The flip-flop 27 latches the coincidence pulse at the rising edge of the master clock MCK inverted by the inverter 29, that is, at a timing delayed by a half cycle of the master clock, and supplies it to the selector 30. The flip-flop 28 latches the coincidence pulse when the master clock MCK rises. Since there is a delay in the counter 22, the shift circuit 23, and the comparison circuit 25, the flip-flop 28 latches the match pulse at a timing delayed by about one cycle of the master clock MCK and supplies it to the selector 30.

【0012】セレクタ30は端子32より分周比のデー
タNの最下位ビットを供給されており、この最下位ビッ
トが“1”つまり分周比が奇数の場合はフリップフロッ
プ27よりの半周期遅延された一致パルスを選択し、最
下位ビットが“0”つまり分周比が偶数の場合はフリッ
プフロップ28よりの1周期遅延された一致パルスを選
択し、選択した一致パルスをオア回路31に供給する。
The selector 30 is supplied with the least significant bit of the frequency division ratio data N from the terminal 32. If the least significant bit is "1", that is, the frequency division ratio is an odd number, a half cycle delay from the flip-flop 27 is performed. The selected match pulse is selected, and when the least significant bit is “0”, that is, the division ratio is even, the match pulse delayed by one cycle from the flip-flop 28 is selected and the selected match pulse is supplied to the OR circuit 31. To do.

【0013】オア回路31はフリップフロップ26より
の分周パルスとセレクタ30よりの一致パルスとの論理
和をとってフリップフロップ33にクロックとして供給
する。フリップフロップ33は自回路の反転出力をデー
タ端子に供給されて1/2分周器を構成しており、アン
ド回路31よりのパルスが1/2分周されて端子34よ
り分周信号として出力される。
The OR circuit 31 takes the logical sum of the divided pulse from the flip-flop 26 and the coincidence pulse from the selector 30 and supplies it as a clock to the flip-flop 33. The flip-flop 33 is supplied with the inverted output of its own circuit to the data terminal to form a 1/2 frequency divider, and the pulse from the AND circuit 31 is frequency divided by 1/2 and output from the terminal 34 as a divided signal. To be done.

【0014】ここで、4ビットのカウンタ22を用い、
分周比Nを7とした場合について説明する。図2
(A),(B)に示すマスタクロックMCK、分周比の
データN(=7)に対して、カウンタ22のカウント値
は図2(C)に16進表示で示す如く変化する。これに
よって、フリップフロップ26は図2(D)に示す一致
パルスを出力し、比較回路25は図2(E)に示す一致
パルスを生成する。分周比が奇数のためセレクタ30は
図2(F)に示すマスタクロックの半周期遅延された一
致パルスを出力し、端子34からは図2(D)のパルス
及び図2(F)のパルスの論理和を1/2分周した図2
(G)に示す50%デューティの分周信号が出力され
る。
Here, using a 4-bit counter 22,
A case where the frequency division ratio N is 7 will be described. Figure 2
With respect to the master clock MCK and the frequency division ratio data N (= 7) shown in (A) and (B), the count value of the counter 22 changes as shown in hexadecimal notation in FIG. As a result, the flip-flop 26 outputs the coincidence pulse shown in FIG. 2 (D), and the comparison circuit 25 generates the coincidence pulse shown in FIG. 2 (E). Since the frequency division ratio is odd, the selector 30 outputs the coincidence pulse delayed by a half cycle of the master clock shown in FIG. 2F, and the terminal 34 outputs the pulse shown in FIG. 2D and the pulse shown in FIG. 2F. Figure 2 that divides the logical sum of
The frequency division signal of 50% duty shown in (G) is output.

【0015】次に、4ビットのカウンタ22を用い、分
周比Nを6とした場合について説明する。図3(A),
(B)に示すマスタクロックMCK、分周比のデータN
(=6)に対して、カウンタ22のカウント値は図3
(C)に16進表示で示す如く変化する。これによっ
て、フリップフロップ26は図3(D)に示す一致パル
スを出力し、比較回路25は図3(E)に示す一致パル
スを生成する。分周比が偶数のためセレクタ30は図3
(F)に示すマスタクロックの1周期遅延された一致パ
ルスを出力し、端子34からは図2(D)のパルス及び
図2(F)のパルスの論理和を1/2分周した図2
(G)に示す50%デューティの分周信号が出力され
る。
Next, a case where the 4-bit counter 22 is used and the frequency division ratio N is 6 will be described. FIG. 3 (A),
Master clock MCK shown in (B), data N of frequency division ratio
In contrast to (= 6), the count value of the counter 22 is as shown in FIG.
It changes as shown in hexadecimal notation in (C). As a result, the flip-flop 26 outputs the match pulse shown in FIG. 3 (D), and the comparison circuit 25 generates the match pulse shown in FIG. 3 (E). Since the division ratio is even, the selector 30 is shown in FIG.
A match pulse delayed by one cycle of the master clock shown in (F) is output, and the logical sum of the pulse shown in FIG. 2D and the pulse shown in FIG.
The frequency division signal of 50% duty shown in (G) is output.

【0016】このように、分周パルスを生成する共に、
分周パルス間隔の中間位置を指示する一致パルスを生成
し、分周パルスと一致パルスの論理和を1/2分周する
ことにより、分周比が任意に変化しても確実に50%デ
ューティの分周信号を得ることができる。
As described above, the divided pulse is generated and
By generating a coincidence pulse that indicates the intermediate position of the division pulse interval and dividing the logical sum of the division pulse and the coincidence pulse by 1/2, a 50% duty cycle is ensured even if the division ratio changes arbitrarily. Can be obtained.

【0017】[0017]

【発明の効果】上述の如く、本発明の可変分周回路によ
れば、分周比が変化しても常に50%デューティの分周
信号を得ることができ、実用上きわめて有用である。
As described above, according to the variable frequency dividing circuit of the present invention, it is possible to obtain a frequency-divided signal having a duty of 50% at all times even if the frequency dividing ratio changes, which is extremely useful in practice.

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

【図1】本発明回路の回路図である。FIG. 1 is a circuit diagram of a circuit of the present invention.

【図2】本発明回路の信号タイミングチャートである。FIG. 2 is a signal timing chart of the circuit of the present invention.

【図3】本発明回路の信号タイミングチャートである。FIG. 3 is a signal timing chart of the circuit of the present invention.

【図4】従来回路の回路図である。FIG. 4 is a circuit diagram of a conventional circuit.

【図5】従来回路の信号タイミングチャートである。FIG. 5 is a signal timing chart of a conventional circuit.

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

21 2の補数回路 22 カウンタ 23 シフト回路 25 比較回路 26〜28,33 フリップフロップ 29 インバータ 30 セレクタ 31 オア回路 21 2's complement circuit 22 counter 23 shift circuit 25 comparison circuit 26-28, 33 flip-flop 29 inverter 30 selector 31 OR circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 マスタクロックをカウントしてカウント
値が分周比の値となる毎に分周パルスを出力し、かつリ
セットするカウンタ(22)と、 上記カウント値を上記分周比の1/2の整数値と比較し
て一致したとき一致パルスを出力する比較回路(25)
と、 上記分周比が奇数のときマスタクロックの半周期分ずら
した一致パルスを選択し、偶数のとき上記比較回路より
の一致パルスを選択して取り出す選択回路(27〜3
0)と、 上記カウンタよりの分周パルスと選択回路よりの一致パ
ルスの論理和を1/2分周して分周信号を出力する出力
回路(31,33)とを有することを特徴とする可変分
周回路。
1. A counter (22) which counts a master clock and outputs and resets a frequency division pulse each time the count value reaches a frequency division ratio value, and a counter (22) which reduces the count value to 1 / Comparison circuit (25) that outputs a coincidence pulse when compared with the integer value of 2 and coincides
And a selecting circuit (27 to 3) that selects a matching pulse shifted by a half cycle of the master clock when the division ratio is odd, and selects and extracts a matching pulse from the comparison circuit when the dividing ratio is even.
0) and an output circuit (31, 33) for dividing the logical sum of the divided pulse from the counter and the coincidence pulse from the selection circuit by 1/2 and outputting the divided signal. Variable divider circuit.
JP15530792A 1992-06-15 1992-06-15 Variable frequency divider circuit Withdrawn JPH05347555A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15530792A JPH05347555A (en) 1992-06-15 1992-06-15 Variable frequency divider circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15530792A JPH05347555A (en) 1992-06-15 1992-06-15 Variable frequency divider circuit

Publications (1)

Publication Number Publication Date
JPH05347555A true JPH05347555A (en) 1993-12-27

Family

ID=15603042

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15530792A Withdrawn JPH05347555A (en) 1992-06-15 1992-06-15 Variable frequency divider circuit

Country Status (1)

Country Link
JP (1) JPH05347555A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07288467A (en) * 1994-04-20 1995-10-31 Nec Corp Dividing circuit
EP1605594A2 (en) * 2004-05-21 2005-12-14 Fujitsu Limited Clock frequency divider and trigger signal generation circuit for same

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07288467A (en) * 1994-04-20 1995-10-31 Nec Corp Dividing circuit
EP1605594A2 (en) * 2004-05-21 2005-12-14 Fujitsu Limited Clock frequency divider and trigger signal generation circuit for same
US7187217B2 (en) 2004-05-21 2007-03-06 Fujitsu Limited Clock frequency divider and trigger signal generation circuit for same
EP1605594A3 (en) * 2004-05-21 2008-12-10 Fujitsu Limited Clock frequency divider and trigger signal generation circuit for same

Similar Documents

Publication Publication Date Title
US6906562B1 (en) Counter-based clock multiplier circuits and methods
KR940007543B1 (en) High speed programmable divider
US5365119A (en) Circuit arrangement
US3911368A (en) Phase interpolating apparatus and method
US4339722A (en) Digital frequency multiplier
US4564953A (en) Programmable timing system
JPS6243568B2 (en)
FI88567C (en) A synchronous 2N + 1 divider is generated
US4555793A (en) Averaging non-integer frequency division apparatus
JPS61157022A (en) Frequency multiplier
US6798266B1 (en) Universal clock generator using delay lock loop
US6271702B1 (en) Clock circuit for generating a delay
US4651334A (en) Variable-ratio frequency divider
KR100236088B1 (en) Clock divider
US6108393A (en) Enhanced prescaler phase interface
US4494243A (en) Frequency divider presettable to fractional divisors
JP2005045507A (en) Non-integer frequency divider
JP2998650B2 (en) DC sorting circuit for frequency divider
JPH05347555A (en) Variable frequency divider circuit
US9590637B1 (en) High-speed programmable frequency divider with 50% output duty cycle
US5101419A (en) Fixed duty cycle clock generator
US5521952A (en) Pulse counter circuit and pulse signal changeover circuit therefor
JP2659186B2 (en) Digital variable frequency divider
KR100188079B1 (en) Divide circuit using ring counter
JP3147129B2 (en) Timing generator

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990831