JPH0884069A - Variable frequency divider - Google Patents

Variable frequency divider

Info

Publication number
JPH0884069A
JPH0884069A JP21685894A JP21685894A JPH0884069A JP H0884069 A JPH0884069 A JP H0884069A JP 21685894 A JP21685894 A JP 21685894A JP 21685894 A JP21685894 A JP 21685894A JP H0884069 A JPH0884069 A JP H0884069A
Authority
JP
Japan
Prior art keywords
signal
frequency division
output
division number
frequency
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
JP21685894A
Other languages
Japanese (ja)
Inventor
Nagisa Sasaki
なぎさ 佐々木
Hisayasu Sato
久恭 佐藤
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 JP21685894A priority Critical patent/JPH0884069A/en
Publication of JPH0884069A publication Critical patent/JPH0884069A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)
  • Pulse Circuits (AREA)

Abstract

PURPOSE: To provide frequency division output whose duty factor is approximately 50% and level is stable regardless of a set frequency division number. CONSTITUTION: A first down counter part 89 counts the pulse number of internal frequency division signals Q' for a number P set in frequency division number setting terminals 55 to 58. A second down counter part 1 counts the pulse number of the internal frequency division signals Q' for the number P/2 set in the frequency division number setting teminals 56 to 58. A reset/output generation circuit 42 outputs an 'L' level corresponding to that the second down counter part 1 ends counting and outputs an 'H' level corresponding to that the first down counter part 89 ends the counting. Thus, the duty factor of the frequency division output OUT becomes approximately 50%.

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 divider, and more particularly to a variable frequency divider capable of arbitrarily setting a frequency division number.

【0002】[0002]

【従来の技術】図8は従来の可変分周器の構成を示すブ
ロック図である。図8を参照して、この可変分周器は、
入力端子51、出力端子52および複数(図では6つ)
の分周数設定端子53〜58を備える。入力端子51に
は、分周されるべきクロック信号CLKが入力される。
出力端子52からは、分周された信号OUTが出力され
る。分周数設定端子53〜58は、それぞれ分周数Kの
第1から第6の桁の数S1′,S2′,P1〜P4を
「1」または「0」に設定するための端子である。分周
数KはK=S1′+2×S2′+22 ×P1+23 ×P
2+24 ×P3+2 5 ×P4で表わされる。以下、可変
分周器の動作を説明するときは、特に断らない限りS
1′=1,S2′=1,P1=1,P2=0,P3=
0,P4=0、すなわち分周数Kが(100111)2
=39に設定されたものとする。
2. Description of the Related Art FIG. 8 shows a block diagram of a conventional variable frequency divider.
It is a lock figure. With reference to FIG. 8, this variable frequency divider is
Input terminal 51, output terminal 52 and a plurality (six in the figure)
The frequency division number setting terminals 53 to 58 are provided. To the input terminal 51
A clock signal CLK to be divided is input to the.
The divided signal OUT is output from the output terminal 52.
It The frequency division number setting terminals 53 to 58 have the frequency division number K of
First to sixth digit numbers S1 ', S2', P1 to P4
This is a terminal for setting to "1" or "0". Division
The number K is K = S1 ′ + 2 × S2 ′ + 22× P1 + 23× P
2 + 2Four× P3 + 2 FiveIt is represented by × P4. Below, variable
When explaining the operation of the frequency divider, unless otherwise specified, S
1 '= 1, S2' = 1, P1 = 1, P2 = 0, P3 =
0, P4 = 0, that is, the frequency division number K is (100111)2
= 39 is set.

【0003】また、この可変分周器は、2モジュラスプ
リスケーラ(4/5分周器)61、2ビットのスワロカ
ウンタ62、4ビットのパルスカウンタ63およびリセ
ット/出力発生回路64を備える。
The variable frequency divider further comprises a 2-modulus prescaler (4/5 frequency divider) 61, a 2-bit swallow counter 62, a 4-bit pulse counter 63 and a reset / output generation circuit 64.

【0004】2モジュラスプリスケーラ61は、図9に
示すように、NORゲート71,74およびデータフリ
ップフロップ回路(以下、DF−Fと略記する)72,
73,75を含む。DF−F72,73,75のクロッ
ク端子Cはクロック信号CLKを受ける。DF−F72
の出力はDF−F73の入力端子Dに入力される。OR
ゲート74は、DF−F73の反転出力と、セレクト信
号SELとを受け、信号φ74をDF−F75の入力端
子Dに出力する。ORゲート71は、DF−F73,7
5の出力Q73,Q75を受け、信号φ71をDF−F
72の入力端子Dに出力する。DF−F73の反転出力
は内部分周信号Q′となる。
As shown in FIG. 9, the 2-modulus prescaler 61 includes NOR gates 71 and 74 and a data flip-flop circuit (hereinafter abbreviated as DF-F) 72 ,.
73,75 are included. The clock terminals C of the DF-Fs 72, 73 and 75 receive the clock signal CLK. DF-F72
Is output to the input terminal D of the DF-F73. OR
The gate 74 receives the inverted output of the DF-F 73 and the select signal SEL, and outputs the signal φ74 to the input terminal D of the DF-F 75. The OR gate 71 is a DF-F 73,7.
5 outputs Q73 and Q75 and outputs signal φ71 to DF-F
It outputs to the input terminal D of 72. The inverted output of the DF-F73 becomes the inner partial frequency signal Q '.

【0005】図10は2モジュラスプリスケーラ61の
動作を示すタイムチャートである。図9および図10を
参照して、スワロカウンタ62がカウントを終了すると
同時にセレクト信号SELが「H」レベルになると、N
ORゲート74の出力φ74が「L」レベルに固定さ
れ、1クロック後にDF−F75の出力Q75も「L」
レベルに固定される。これにより、ORゲート71およ
びDF−F72,73がORゲート74およびDF−F
75と無関係に4分周器を構成する。したがって、内部
分周信号Q′は、セレクト信号SELが「H」レベルで
ある期間は、「H」期間が2クロックで「L」期間が2
クロックの4分周信号となる。
FIG. 10 is a time chart showing the operation of the 2-modulus prescaler 61. Referring to FIGS. 9 and 10, when the swallow counter 62 finishes counting and the select signal SEL becomes “H” level at the same time, N
The output φ74 of the OR gate 74 is fixed to the “L” level, and the output Q75 of the DF-F75 is also “L” one clock later.
Fixed to the level. As a result, the OR gate 71 and the DF-Fs 72, 73 become the OR gate 74 and the DF-F.
Configure a divide-by-4 divider independent of 75. Therefore, the internal partial frequency signal Q ′ has two clocks in the “H” period and two in the “L” period while the select signal SEL is at the “H” level.
It is a clock divided by four signal.

【0006】スワロカウンタ62がカウントを開始する
と同時にセレクト信号SELが「L」レベルになると、
NORゲート74の出力φ74はDF−F73の出力Q
73と等しくなり、DF−F75の出力Q75は信号φ
74を1クロック遅延させたものとなる。このときNO
Rゲート71の出力φ71は、信号Q73の立上がりに
より立下がり、信号Q73よりも1クロック遅れた信号
Q75の立下がりにより立上がるので、信号φ71は
「L」期間が1クロック延びた5分周信号となる。DF
−F73の出力Q73は、信号φ71を2クロック遅延
させたものとなる。DF−F73の反転出力である内部
分周信号Q′は、セレクト信号SELが「L」レベルで
ある期間は、「H」期間が3クロックで「L」期間が2
クロックの5分周信号となる。
If the select signal SEL becomes "L" level at the same time when the swallow counter 62 starts counting,
The output φ74 of the NOR gate 74 is the output Q of the DF-F73.
73, and the output Q75 of DF-F75 is signal φ
74 is delayed by one clock. NO at this time
The output φ71 of the R gate 71 falls due to the rise of the signal Q73 and rises due to the fall of the signal Q75 which is delayed by one clock from the signal Q73. Becomes DF
The output Q73 of -F73 is the signal φ71 delayed by two clocks. The internal partial frequency signal Q ′, which is the inverted output of the DF-F73, has an “H” period of 3 clocks and an “L” period of 2 while the select signal SEL is at the “L” level.
It becomes a clock divided by 5 signal.

【0007】スワロカウンタ62は、図11に示すよう
に、ゲート素子76,77、インバータ78、NORゲ
ート79〜82,87、ORゲート83,84およびセ
ット・リセット付トグルフリップフロップ回路(以下、
TF−Fと略記する)85,86を含む。ゲート素子7
6,77は、入力端子から入力された信号をそのまま出
力する端子と、入力端子から入力された信号を反転させ
て出力する端子とを含む。
As shown in FIG. 11, the swallow counter 62 includes gate elements 76 and 77, an inverter 78, NOR gates 79 to 82 and 87, OR gates 83 and 84, and a toggle flip-flop circuit with set / reset (hereinafter, referred to as "toggle flip-flop circuit").
(Abbreviated as TF-F) 85 and 86. Gate element 7
Reference numerals 6 and 77 each include a terminal for directly outputting the signal input from the input terminal and a terminal for inverting and outputting the signal input from the input terminal.

【0008】ゲート素子76,77の入力端子は、それ
ぞれ分周数設定端子53,54に接続される。ゲート素
子76,77の出力は、NORゲート79,81の一方
入力端子に入力される。ゲート素子76,77の反転出
力は、NORゲート80,82の一方入力端子に入力さ
れる。NORゲート79〜82の他方入力端子は、イン
バータ78で反転されたリセット信号SCRSTを受け
る。リセット信号SCRSTはリセット/出力発生回路
64から出力される。
The input terminals of the gate elements 76 and 77 are connected to the frequency division number setting terminals 53 and 54, respectively. The outputs of the gate elements 76 and 77 are input to one input terminals of NOR gates 79 and 81. The inverted outputs of the gate elements 76 and 77 are input to one input terminals of the NOR gates 80 and 82. The other input terminals of the NOR gates 79 to 82 receive the reset signal SCRST inverted by the inverter 78. The reset signal SCRST is output from the reset / output generation circuit 64.

【0009】NORゲート79,81の出力は、それぞ
れTF−F85,86のリセット端子Rに入力される。
NORゲート80,82の出力は、それぞれTF−F8
5,86のセット端子Sに入力される。
The outputs of the NOR gates 79 and 81 are input to the reset terminals R of the TF-Fs 85 and 86, respectively.
The outputs of the NOR gates 80 and 82 are TF-F8, respectively.
It is input to the set terminals S of 5,86.

【0010】TF−F85の出力はTF−F86のクロ
ック端子Cに入力される。NORゲート87は、TF−
F85,86の出力を受け、カウンタ出力信号SCOを
出力する。ORゲート83は、リセット信号SCRST
およびカウンタ出力信号SCOを受け、セレクト信号S
ELを出力する。ORゲート84は、リセット信号SC
RST、カウンタ出力信号SCOおよび内部分周信号
Q′を受ける。ORゲート84の出力φ84はTF−F
85のクロック端子Cに入力される。
The output of TF-F85 is input to the clock terminal C of TF-F86. The NOR gate 87 is TF-
Upon receiving the outputs of F85 and F86, it outputs the counter output signal SCO. The OR gate 83 has a reset signal SCRST.
And a counter output signal SCO to receive a select signal S
Output EL. The OR gate 84 uses the reset signal SC
Receives RST, counter output signal SCO and inner partial frequency signal Q '. The output φ84 of the OR gate 84 is TF-F
It is input to the clock terminal C 85.

【0011】図12はスワロカウンタ62の動作を示す
タイムチャートである。図11および図12を参照し
て、リセット信号SCRSTが「L」レベルであるとき
は、NORゲート79〜82の出力は「L」レベルに固
定される。パルスカウンタ63によるカウントが終了し
てリセット信号SCRSTが「H」レベルになると、N
ORゲート79,81の出力は「L」レベルとなり、N
ORゲート80,82の出力が「H」レベルとなる。し
たがって、TF−F85,86はともに「H」レベル
(「1」)にプリセットされ、カウント出力SCOは
「L」レベルとなる。
FIG. 12 is a time chart showing the operation of the swallow counter 62. 11 and 12, when reset signal SCRST is at "L" level, the outputs of NOR gates 79 to 82 are fixed to "L" level. When the count by the pulse counter 63 is completed and the reset signal SCRST becomes “H” level, N
The outputs of the OR gates 79 and 81 are at "L" level, and N
The outputs of the OR gates 80 and 82 become the "H" level. Therefore, both TF-F85 and 86 are preset to "H" level ("1"), and the count output SCO becomes "L" level.

【0012】リセット信号SCRSTが「L」レベルに
なると、ORゲート84の出力φ84が内部分周信号
Q′と等しくなり、TF−F85,86がカウントを開
始し、セレクト信号SELが「L」レベルになる。TF
−F85の出力は内部分周信号Q′が「L」レベルから
「H」レベルに立上がるごとに反転する。TF−F86
の出力はTF−F85の出力が「L」レベルから「H」
レベルに立上がるごとに反転する。
When the reset signal SCRST goes to "L" level, the output φ84 of the OR gate 84 becomes equal to the internal partial frequency signal Q ', the TF-Fs 85 and 86 start counting, and the select signal SEL goes to "L" level. become. TF
The output of -F85 is inverted every time the internal frequency-divided signal Q'rises from "L" level to "H" level. TF-F86
The output of TF-F85 is "H" from "L" level.
Inverts every time you rise to a level.

【0013】カウントが終了しTF−F85,86の出
力がともに「L」レベルになると、カウント出力信号S
COが「H」レベルになり、信号SEL,φ84が
「H」レベルとなる。したがって、セレクト信号SEL
は、リセット信号SCRSTの立下がりから、カウント
出力信号SCOの立上がりまでの期間に「L」レベルに
なる。
When the count is completed and the outputs of TF-F85 and 86 are both at the "L" level, the count output signal S
CO becomes "H" level, and signals SEL and φ84 become "H" level. Therefore, the select signal SEL
Becomes "L" level during the period from the falling of the reset signal SCRST to the rising of the count output signal SCO.

【0014】図13はパルスカウンタ63およびリセッ
ト/出力発生回路64の構成を示す回路ブロック図であ
る。図13を参照して、パルスカウンタ63は入力部8
8およびダウンカウンタ部89を含む。入力部88はゲ
ート素子91〜94およびNORゲート95〜102を
含み、ダウンカウンタ部89はTF−F103〜106
およびORゲート107を含む。
FIG. 13 is a circuit block diagram showing configurations of the pulse counter 63 and the reset / output generation circuit 64. Referring to FIG. 13, the pulse counter 63 has an input unit 8
8 and a down counter unit 89. The input section 88 includes gate elements 91 to 94 and NOR gates 95 to 102, and the down counter section 89 includes TF-F103 to 106.
And an OR gate 107.

【0015】ゲート素子91〜94の入力端子は、それ
ぞれ設定端子55〜58に接続される。ゲート素子91
〜94の出力は、NORゲート95,97,99,10
1の一方入力端子に入力される。ゲート素子91〜94
の反転出力は、NORゲート96,98,100,10
2の一方入力端子に入力される。NORゲート95〜1
02の他方入力端子は出力部90からのプリセット信号
R′を受ける。NORゲート95,97,99,101
の出力は、それぞれTF−F103〜106のリセット
端子Rに入力される。NORゲート96,98,10
0,102の出力は、それぞれTF−F103〜106
のセット端子Sに入力される。
The input terminals of the gate elements 91 to 94 are connected to the setting terminals 55 to 58, respectively. Gate element 91
The outputs of ~ 94 are NOR gates 95, 97, 99, 10
1 is input to one input terminal. Gate elements 91-94
The inverted output of the NOR gates 96, 98, 100, 10
2 is input to one input terminal. NOR gates 95-1
The other input terminal of 02 receives the preset signal R ′ from the output section 90. NOR gates 95, 97, 99, 101
The outputs of the above are input to the reset terminals R of the TF-Fs 103 to 106, respectively. NOR gates 96, 98, 10
The outputs of 0 and 102 are TF-F 103 to 106, respectively.
Is input to the set terminal S of.

【0016】TF−F103のクロック端子Cは内部分
周信号Q′を受ける。TF−F103〜105の出力
は、それぞれ次段のTF−F104〜106のクロック
端子Cに入力される。ORゲート107は、TF−F1
03の出力Q1と、TF−F104の反転出力/Q2
と、TF−F105の出力Q3と、TF−F106の出
力Q4とを受ける。
The clock terminal C of the TF-F 103 receives the internal partial frequency signal Q '. The outputs of the TF-Fs 103 to 105 are input to the clock terminals C of the TF-Fs 104 to 106 of the next stage, respectively. The OR gate 107 is TF-F1.
03 output Q1 and TF-F104 inverted output / Q2
And the output Q3 of the TF-F105 and the output Q4 of the TF-F106.

【0017】また、リセット/出力発生回路64は出力
部90およびインバータ108を含み、出力部90はO
Rゲート109,112およびDF−F110,111
を含む。ORゲート109は、ORゲート107の出力
D′と、DF−F110の反転出力とを受ける。ORゲ
ート109の出力はDF−F110の入力端子Dに入力
される。DF−F110の出力はDF−F111の入力
端子Dに入力される。DF−F111の出力がプリセッ
ト信号R′となり、DF−F111の反転出力がリセッ
ト信号SCRSTとなる。ORゲート112は、DF−
F110,111の反転出力を受ける。ORゲート11
2の出力は可変分周器の出力OUTとなる。
The reset / output generation circuit 64 also includes an output section 90 and an inverter 108, and the output section 90 has an O level.
R gates 109 and 112 and DF-F110 and 111
including. The OR gate 109 receives the output D ′ of the OR gate 107 and the inverted output of the DF-F 110. The output of the OR gate 109 is input to the input terminal D of the DF-F110. The output of the DF-F110 is input to the input terminal D of the DF-F111. The output of the DF-F111 becomes the preset signal R ', and the inverted output of the DF-F111 becomes the reset signal SCRST. The OR gate 112 is DF-
Receives the inverted output of F110 and 111. OR gate 11
The output of 2 becomes the output OUT of the variable frequency divider.

【0018】図14および図15は、リセット/出力発
生回路64の動作を示すタイムチャートである。図1
3、図14および図15を参照して、プリセット信号
R′が「L」レベルになると、分周数設定端子55〜5
8に与えられた設定レベルに応じてNORゲート95,
98,100,101の出力が「L」レベルとなり、N
ORゲート96,97,99,102の出力が「H」レ
ベルとなる。したがって、TF−F103〜106は、
それぞれ「H」レベル(「1」),「L」レベル
(「0」),「L」レベル(「0」),「H」レベル
(「1」)にプリセットされる。
14 and 15 are time charts showing the operation of the reset / output generation circuit 64. FIG.
3, FIG. 14 and FIG. 15, when preset signal R ′ attains “L” level, frequency division number setting terminals 55-5
NOR gate 95, depending on the set level given to
The output of 98, 100, 101 becomes "L" level, and N
The outputs of the OR gates 96, 97, 99 and 102 are at "H" level. Therefore, TF-F103 ~ 106,
The preset values are “H” level (“1”), “L” level (“0”), “L” level (“0”), and “H” level (“1”), respectively.

【0019】プリセット信号R′が「H」レベルになる
と、ダウンカウンタ部89がカウントを開始する。TF
−F103〜106の出力は、それぞれのクロック端子
Cへの入力が「L」レベルから「H」レベルに立上がる
ごとに反転する。ORゲート107の出力すなわちカウ
ント出力信号D′は、TF−F103,105,106
の出力Q1,Q3,Q4とTF−F104の反転出力/
Q2がともに「L」レベルになった期間、すなわちダウ
ンカウンタ部89のカウントが終了する2カウント前の
期間に「L」レベルとなる。DF−F110の反転出力
POUTは、信号D′が「L」レベルになった後、信号
Q′の1回目の立下がりに応じて「H」レベルとなり、
信号Q′の2回目の立下がりに応じて「L」レベルとな
る。
When the preset signal R'becomes "H" level, the down counter section 89 starts counting. TF
The outputs of -F103 to 106 are inverted each time the input to each clock terminal C rises from the "L" level to the "H" level. The output of the OR gate 107, that is, the count output signal D ′ is TF-F 103, 105, 106.
Output Q1, Q3, Q4 and inverted output of TF-F104
It becomes the "L" level during the period when both Q2 are at the "L" level, that is, the period two counts before the count of the down counter unit 89 ends. The inverted output POUT of the DF-F110 becomes “H” level in response to the first falling of the signal Q ′ after the signal D ′ becomes “L” level,
It goes to "L" level in response to the second fall of signal Q '.

【0020】DF−F111の反転出力SCRSTは、
信号D′が「L」レベルになった後、信号Q′の2回目
の立下がりに応じて「H」レベルとなり、信号Q′の3
回目の立下がりに応じて「L」レベルとなる。
The inverted output SCRST of the DF-F111 is
After the signal D ′ becomes the “L” level, it becomes the “H” level in response to the second falling of the signal Q ′, and the signal Q ′ becomes 3
It goes to the “L” level in response to the falling of the third time.

【0021】ORゲート112の出力OUTは、信号
D′が「L」レベルになった後、信号Q′の2回目の立
下がりに応じて「H」レベルとなり、信号Q′の3回目
の立下がりに応じて「L」レベルとなる。
The output OUT of the OR gate 112 becomes "H" level in response to the second fall of the signal Q'after the signal D'becomes "L" level, and the third rise of the signal Q '. The level becomes “L” in accordance with the decrease.

【0022】すなわち、出力OUTは、ダウンカウンタ
部89がプリセット値(1001) 2 =9をカウントす
る期間のうち2カウント分だけ「H」レベルになる。
That is, the output OUT is a down counter.
Part 89 is preset value (1001) 2Count = 9
The "H" level for only 2 counts during the period.

【0023】上述のとおり、信号Q′の最初の(11)
2 =3カウント分はクロック信号CLKを5分周した5
分周信号であり、信号Q′の残りの6カウント分はクロ
ック信号CLKを4分周した4分周信号である。したが
って、出力OUTは、3×5+6×4=39クロックの
うち2×4=8クロック分だけ「H」レベルとなり、ク
ロック信号CLKを(100111)2 =39分周した
ものとなる。
As mentioned above, the first (11) of the signal Q '
2 = 3 counts are obtained by dividing the clock signal CLK by 5
It is a frequency-divided signal, and the remaining 6 counts of the signal Q ′ are a frequency-divided 4 signal obtained by dividing the clock signal CLK by 4. Therefore, the output OUT becomes the “H” level for 2 × 4 = 8 clocks out of 3 × 5 + 6 × 4 = 39 clocks, which is the clock signal CLK divided by (100111) 2 = 39.

【0024】[0024]

【発明が解決しようとする課題】このような可変分周器
の分周出力OUTを通信用に使用する場合は、電力効率
の観点からいって分周出力OUTのデューティ比が50
%の一定であることが好ましい。
When the frequency-divided output OUT of the variable frequency divider is used for communication, the duty ratio of the frequency-divided output OUT is 50 from the viewpoint of power efficiency.
%, Preferably constant.

【0025】しかし、従来の可変分周器にあっては、分
周出力OUTが「H」レベルになる期間が設定分周数K
に関係なくダウンカウンタ部89が2カウントする期間
に固定されていたので、設定分周数Kが大きくなるに従
って分周出力OUTのデューティ比が小さくなり、電力
効率が悪くなるという問題があった。
However, in the conventional variable frequency divider, the set frequency division number K is the period during which the frequency division output OUT is at "H" level.
Since the down counter unit 89 is fixed to the period for counting 2 regardless of the above, there is a problem that the duty ratio of the frequency division output OUT becomes smaller as the set frequency division number K becomes larger and the power efficiency becomes worse.

【0026】すなわち、設定分周数Kが32〜63の範
囲では分周出力OUTの「H」期間は2カウント×4ク
ロック=8クロックであり、分周出力OUTの1周期は
Kクロックであるので、デューティ比は(8/K)×1
00(%)となる。たとえば設定分周数Kが(1000
00)2 =32のときはデューティ比が(8/32)×
100=25%であるが、設定分周数Kが(11110
1)2 =61のときはデューティ比が13%となる。設
定分周数Kが32〜63の範囲では、デューティ比は1
3〜25%の範囲で変化し、50%を基準とすると−3
7から−25%の範囲で変化する。
That is, when the set frequency division number K is in the range of 32 to 63, the “H” period of the frequency division output OUT is 2 counts × 4 clocks = 8 clocks, and one cycle of the frequency division output OUT is K clocks. Therefore, the duty ratio is (8 / K) x 1
It becomes 00 (%). For example, the set frequency division K is (1000
00) 2 = 32, the duty ratio is (8/32) ×
Although 100 = 25%, the set frequency division number K is (11110
1) When 2 = 61, the duty ratio is 13%. When the set frequency division number K is in the range of 32 to 63, the duty ratio is 1
It changes within the range of 3 to 25%, and if 50% is used as a reference, it is -3
It varies from 7 to -25%.

【0027】また、従来の可変分周器では、互いに重な
らない2つの信号POUT,SCRSTの論理和を分周
出力OUTとしているので、図15に示すように、分周
出力OUTにスパイクが生じ通信機器などの誤動作を招
いていた。
Further, in the conventional variable frequency divider, the logical sum of two signals POUT and SCRST that do not overlap each other is used as the frequency division output OUT, so that the frequency division output OUT is spiked as shown in FIG. It caused malfunction of the device.

【0028】それゆえに、この発明の主たる目的は、設
定分周数によらずデューティ比が約50%で、かつレベ
ルが安定した分周出力を得ることができる可変分周器を
提供することである。
Therefore, a main object of the present invention is to provide a variable frequency divider capable of obtaining a frequency division output having a duty ratio of about 50% and a stable level regardless of the set frequency division number. is there.

【0029】[0029]

【課題を解決するための手段】この発明の可変分周器
は、分周数を任意に設定できる可変分周器であって、前
記分周数を設定するための分周数設定手段、前記分周数
設定手段で設定された分周数の1/2の数だけ入力信号
のパルス数をカウントしたことに応じて第1のカウント
信号を出力する第1のカウンタ、前記分周数設定手段で
設定された分周数だけ入力信号のパルス数をカウントし
たことに応じて第2のカウント信号を出力する第2のカ
ウンタ、および前記第1のカウント信号が出力されるま
での期間は第1のレベルの信号を出力し、前記第1のカ
ウント信号が出力されてから前記第2のカウント信号が
出力されるまでの期間は第2のレベルの信号を出力する
出力回路を備えたことを特徴としている。
A variable frequency divider according to the present invention is a variable frequency divider capable of arbitrarily setting a frequency dividing number, and a frequency dividing number setting means for setting the frequency dividing number, A first counter that outputs a first count signal in response to counting the number of pulses of the input signal by half the frequency division number set by the frequency division number setting means, the frequency division number setting means The second counter that outputs the second count signal in response to counting the number of pulses of the input signal by the number of frequency divisions set in step 1, and the period until the first count signal is output is the first Is output, and an output circuit that outputs a signal of the second level is provided during a period from the output of the first count signal to the output of the second count signal. I am trying.

【0030】また、前記分周数設定手段は、それぞれ前
記分周数の第1から第Mの桁を第1または第2の論理に
設定するための第1から第Mの分周数設定端子を含み、
前記第1のカウンタは第2から第Mの分周数設定端子で
設定されたM−1桁の数だけ前記入力信号のパルス数を
カウントし、前記第2のカウンタは前記第1から第Mの
分周数設定端子で設定されたM桁の数だけ前記入力信号
のパルス数をカウントすることとしてもよい。
Further, the frequency division number setting means sets the first to Mth frequency division number setting terminals for setting the first to Mth digits of the frequency division number to the first or second logic, respectively. Including,
The first counter counts the number of pulses of the input signal by the number of M-1 digits set at the second to Mth frequency division number setting terminals, and the second counter counts the first to Mth. The number of pulses of the input signal may be counted by the number of M digits set by the frequency division number setting terminal.

【0031】また、前記第1の分周数設定端子で設定さ
れた前記分周数の第1の桁が第1の論理であることに応
じて、前記第1のカウント信号を前記入力信号の半周期
に相当する時間だけ遅延させて前記出力回路に出力する
遅延回路を備えてもよい。
Further, the first count signal is set to the input signal in response to the first digit of the frequency division number set at the first frequency division number setting terminal being the first logic. A delay circuit for delaying by a time corresponding to a half cycle and outputting to the output circuit may be provided.

【0032】また、前記分周数設定手段は、それぞれ前
記分周数の第1から第Mの桁を第1または第2の論理に
設定するための第1から第Mの分周数設定端子を含み、
第1から第N(ただし、N<Mである)の分周数設定端
子で設定されたN桁のパルス数だけ前記入力信号を2N
+1倍だけ分周した第1の分周信号を出力した後、前記
入力信号を2N 倍だけ分周した第2の分周信号を出力す
る信号発生手段を備え、前記第1のカウンタは第N+2
から第Mの分周数設定端子で設定されたM−N−1桁の
数だけ前記第1および第2の分周信号のパルス数をカウ
ントし、前記第2のカウンタは第N+1から第Mの分周
数設定端子で設定されたM−N桁の数だけ前記第1およ
び第2の分周信号のパルス数をカウントすることとして
もよい。
Further, the frequency division number setting means sets the first to Mth frequency division number setting terminals for setting the first to Mth digits of the frequency division number to the first or second logic, respectively. Including,
The number of the input signal is set to 2 N by the number of N-digit pulses set at the 1st to Nth (where N <M) frequency division number setting terminals.
The first counter is provided with a signal generating means for outputting a second divided signal obtained by dividing the input signal by 2 N times after outputting the first divided signal obtained by dividing by +1 times. N + 2
From the Mth frequency division number setting terminal, the number of pulses of the first and second frequency division signals is counted by the number of MN-1 digits set by the Mth frequency division number setting terminal, and the second counter counts from the (N + 1) th to the Mth. The number of pulses of the first and second frequency division signals may be counted by the number of MN digits set by the frequency division number setting terminal of.

【0033】また、前記第N+1の分周数設定端子で設
定された前記分周数の第N+1の桁が第1の論理である
ことに応じて、前記第1のカウント信号を前記第2の分
周信号の半周期に相当する時間だけ遅延させて前記出力
回路に出力する第1の遅延回路を備えてもよい。
Further, the first count signal is set to the second value in accordance with the fact that the N + 1th digit of the frequency division number set at the N + 1th frequency division number setting terminal is the first logic. A first delay circuit that delays by a time corresponding to a half cycle of the divided signal and outputs the delayed signal to the output circuit may be provided.

【0034】また、前記第Nの分周数設定端子で設定さ
れた前記分周数の第Nの桁が第1の論理であることに応
じて、前記第2のカウント信号を前記第2の分周信号の
半周期に相当する時間だけ遅延させて前記出力回路に出
力する第2の遅延回路を備えてもよい。
Further, when the Nth digit of the frequency division number set at the Nth frequency division number setting terminal is the first logic, the second count signal is changed to the second count signal. A second delay circuit that delays by a time corresponding to a half cycle of the divided signal and outputs the delayed signal to the output circuit may be provided.

【0035】[0035]

【作用】この発明の可変分周器にあっては、設定分周数
の1/2だけ入力信号のパルス数をカウントする第1の
カウンタと、設定分周数だけ入力信号のパルス数をカウ
ントする第2のカウンタとを設け、第1のカウンタのカ
ウント期間に第1のレベルの信号を出力し、第1のカウ
ンタのカウントが終了してから第2のカウンタのカウン
トが終了するまでの期間に第2のレベルの信号を出力す
る。したがって、設定分周数によらずデューティ比が5
0%で、かつレベルが安定した分周出力を得ることがで
きる。
In the variable frequency divider of the present invention, the first counter that counts the number of pulses of the input signal by 1/2 of the set frequency division number and the number of pulses of the input signal by the set frequency division number And a second counter for outputting a signal of the first level during the counting period of the first counter, and from the end of the counting of the first counter to the end of the counting of the second counter. The second level signal is output to. Therefore, the duty ratio is 5 regardless of the set frequency division number.
It is possible to obtain a frequency-divided output with 0% and a stable level.

【0036】また、分周数の第1から第Mの桁を設定す
るための第1から第Mの設定端子を設け、第1のカウン
タは第2から第Mの設定端子で設定されたM−1桁の数
だけカウントし、第2のカウンタは第1から第Mの設定
端子で設定されたM桁の数だけカウントすることとすれ
ば、設定分周数を1/2倍する演算器などを設けること
なく、設定分周数の1/2を容易にカウントすることが
できる。
Further, first to Mth setting terminals for setting the first to Mth digits of the frequency division number are provided, and the first counter is set to the Mth to Mth setting terminals by the second to Mth setting terminals. If it counts by -1 digit and the second counter counts by M digits set by the 1st to Mth setting terminals, an arithmetic unit for halving the set frequency division number It is possible to easily count 1/2 of the set frequency division number without providing such as.

【0037】また、設定分周数の第1の桁が第1の論理
であることに応じて、第1のカウント信号を入力信号の
半周期分の時間だけ遅延させる遅延回路を設ければ、設
定分周数が奇数である場合に第1のレベルの信号の出力
時間を入力信号の半周期分の時間だけ延ばすことがで
き、分周出力のデューティ比を50%にすることができ
る。
If the first digit of the set frequency division number is the first logic, a delay circuit for delaying the first count signal by a half cycle of the input signal is provided. When the set frequency division number is odd, the output time of the signal of the first level can be extended by the time corresponding to a half cycle of the input signal, and the duty ratio of the frequency division output can be set to 50%.

【0038】また、分周数の第1から第Mの桁を設定す
るための第1から第Mの設定端子と、第1から第Nの設
定端子で設定された第N桁のパルス数だけ入力信号を2
N +1倍だけ分周した第1の分周信号を出力した後、入
力信号を2N 倍だけ分周した第1の分周信号を出力する
信号発生手段とを備え、第1のカウンタは第N+2から
第Mの設定端子で設定されたM−N−1桁の数だけ第1
および第2の分周信号のパルス数をカウントし、第2の
カウンタが第N+1から第Mの設定端子で設定されたM
−N桁の数だけ第1および第2の分周信号のパルス数を
カウントすることとすれば、入力信号を2段階で分周す
ることができ、大きな分周数を設定できる。また、第1
および第2の分周信号のパルス数を1/2倍する演算器
などを設けることなく、第1および第2の分周信号のパ
ルス数の1/2を容易にカウントすることができる。
Further, only the first to Mth setting terminals for setting the first to Mth digits of the frequency division number and the Nth digit pulse number set by the first to Nth setting terminals are used. Input signal 2
A first frequency-divided signal that is frequency-divided by N + 1 times and then outputs a first frequency-divided signal that is frequency-divided by 2 N times the input signal. 1st as many as M-N-1 digits set from the N + 2 to Mth setting terminals
And the number of pulses of the second frequency-divided signal is counted, and the second counter is set to Mth setting terminals from the (N + 1) th to Mth setting terminals.
If the number of pulses of the first and second frequency-divided signals is counted by the number of -N digits, the input signal can be frequency-divided in two stages, and a large frequency division number can be set. Also, the first
Also, it is possible to easily count 1/2 of the number of pulses of the first and second frequency-divided signals without providing an arithmetic unit or the like that halves the number of pulses of the second frequency-divided signal.

【0039】また、設定分周数の第N+1桁が第1の論
理であることに応じて、第1のカウント信号を第2の分
周信号の半周期分の時間だけ遅延させる第1の遅延回路
を設ければ、第1および第2の分周信号のパルス数が奇
数である場合に第1のレベルの信号の出力時間を第2の
分周信号の半周期分の時間だけ延ばすことができ、分周
出力のデューティ比を50%に近づけることができる。
Further, according to the fact that the (N + 1) th digit of the set frequency division number is the first logic, the first delay for delaying the first count signal by a time corresponding to a half cycle of the second frequency division signal. By providing a circuit, when the number of pulses of the first and second frequency-divided signals is an odd number, the output time of the signal of the first level can be extended by the time corresponding to a half cycle of the second frequency-divided signal. Therefore, the duty ratio of the frequency division output can be brought close to 50%.

【0040】また、設定分周数の第N桁が第1の論理で
あることに応じて、第2のカウント信号を入力信号の半
周期分の時間だけ遅延させる第2の遅延回路を設けれ
ば、第1の分周信号のパルス数が多い場合に第2のレベ
ルの信号の出力時間を第2の分周信号の半周期分の時間
だけ延ばすことができ、分周出力のデューティ比を50
%に近づけることができる。
A second delay circuit for delaying the second count signal by a half cycle of the input signal is provided in accordance with the Nth digit of the set frequency division number being the first logic. For example, when the number of pulses of the first frequency-divided signal is large, the output time of the signal of the second level can be extended by the time corresponding to a half cycle of the second frequency-divided signal, and the duty ratio of the frequency-divided output can be reduced. Fifty
It can be close to%.

【0041】[0041]

【実施例】【Example】

〔実施例1〕図1はこの発明の第1実施例による可変分
周器の要部の構成を示す回路ブロック図である。
[Embodiment 1] FIG. 1 is a circuit block diagram showing a configuration of a main part of a variable frequency divider according to a first embodiment of the present invention.

【0042】図1を参照して、この可変分周器は4ビッ
トのパルスカウンタ41と、リセット/出力発生回路4
2とを含む。パルスカウンタ41およびリセット/出力
発生回路42は、図8のパルスカウンタ63およびリセ
ット/出力発生回路64に相当するものであり、可変分
周器の全体構成は図8〜図15で示した従来の可変分周
器と同じである。
Referring to FIG. 1, this variable frequency divider comprises a 4-bit pulse counter 41 and a reset / output generation circuit 4.
Including 2 and. The pulse counter 41 and the reset / output generation circuit 42 correspond to the pulse counter 63 and the reset / output generation circuit 64 of FIG. 8, and the overall configuration of the variable frequency divider is the same as that of the conventional one shown in FIGS. It is the same as the variable frequency divider.

【0043】パルスカウンタ41は、入力部88、第1
のダウンカウンタ部89および第2のダウンカウンタ部
1を含む。入力部88および第1のダウンカウンタ部8
9は、図13で示したものと同じであるので説明は省略
される。
The pulse counter 41 includes an input unit 88, a first
Down counter section 89 and second down counter section 1. Input unit 88 and first down counter unit 8
Since 9 is the same as that shown in FIG. 13, the description is omitted.

【0044】第2のダウンカウンタ部1は、TF−F5
〜7およびORゲート8を含む。TF−F5〜7のリセ
ット端子Rは、それぞれNORゲート97,99,10
1の出力を受ける。TF−F5〜7のセット端子Sは、
それぞれNORゲート98,100,102の出力を受
ける。TF−F5のクロック端子Cは内部分周信号Q′
を受ける。TF−F5,6の出力は、それぞれ後段のT
F−F6,7のクロック端子Cに入力される。ORゲー
ト8は、TF−F5の出力Q5と、TF−F66の反転
出力/Q6と、TF−F7の出力Q7とを受け、第2の
カウント出力信号D2′を出力する。
The second down counter section 1 has a TF-F5
.About.7 and OR gate 8. The reset terminals R of TF-F5 to 7 are NOR gates 97, 99 and 10, respectively.
Receives the output of 1. The set terminal S of TF-F5-7 is
The outputs of NOR gates 98, 100 and 102 are received, respectively. The clock terminal C of TF-F5 has an internal partial frequency signal Q '.
Receive. The outputs of TF-F5 and 6 are T of the latter stage, respectively.
It is input to the clock terminals C of F-F6 and 7. The OR gate 8 receives the output Q5 of TF-F5, the inverted output / Q6 of TF-F66, and the output Q7 of TF-F7, and outputs the second count output signal D2 '.

【0045】リセット/出力発生回路42は、インバー
タ108、第1の出力部2および第2の出力部3を含
む。第1の出力部2はORゲート9およびDF−F1
0,11を含み、第2の出力部3はORゲート12,1
5およびDF−F13,14,16を含む。
Reset / output generation circuit 42 includes an inverter 108, a first output section 2 and a second output section 3. The first output unit 2 includes an OR gate 9 and a DF-F1.
The second output section 3 includes OR gates 12, 1
5 and DF-F 13, 14, 16.

【0046】DF−F10,11,13,14のクロッ
ク端子Cは、内部分周信号Q′がインバータ108で反
転された信号/Q′を受ける。ORゲート9は、第2の
ダウンカウンタ部1から出力された第2のカウンタ出力
信号D2′と、DF−F10の反転出力とを受ける。O
RゲートQの出力はDF−F10の入力端子Dに入力さ
れる。DF−F10の出力はDF−F11の入力端子D
に入力される。DF−F11の反転出力が第1の出力部
2の出力POUT2となる。
The clock terminals C of the DF-Fs 10, 11, 13, and 14 receive the signal / Q 'obtained by inverting the internal partial frequency signal Q'in the inverter 108. The OR gate 9 receives the second counter output signal D2 ′ output from the second down counter unit 1 and the inverted output of the DF-F10. O
The output of the R gate Q is input to the input terminal D of the DF-F10. The output of DF-F10 is the input terminal D of DF-F11.
Is input to The inverted output of DF-F11 becomes the output POUT2 of the first output unit 2.

【0047】ORゲート12は、第1のダウンカウンタ
部89から出力された第1のカウント出力信号D′と、
DF−F13の反転出力とを受ける。ORゲート12の
出力はDF−F13の入力端子Dに入力される。DF−
F13の出力は次段のDF−F14の入力端子Dに入力
される。DF−F14の出力がプリセット信号R′とな
り、DF−F14の反転出力がリセット信号SCRST
となる。ORゲート15は、DF−F14の反転出力P
OUTと、第1の出力部2の出力POUT2とを受け
る。ORゲート15の出力はDF−F16のクロック端
子Cに入力される。DF−F16の入力端子Dと反転出
力端子/Qとは互いに接続される。DF−F16の出力
は可変分周器の出力OUTとなる。
The OR gate 12 receives the first count output signal D'output from the first down counter section 89,
It receives the inverted output of DF-F13. The output of the OR gate 12 is input to the input terminal D of the DF-F13. DF-
The output of F13 is input to the input terminal D of the DF-F14 at the next stage. The output of the DF-F14 becomes the preset signal R'and the inverted output of the DF-F14 is the reset signal SCRST.
Becomes The OR gate 15 has an inverted output P of the DF-F 14.
OUT and an output POUT2 of the first output unit 2 are received. The output of the OR gate 15 is input to the clock terminal C of the DF-F 16. The input terminal D and the inverting output terminal / Q of the DF-F16 are connected to each other. The output of the DF-F16 becomes the output OUT of the variable frequency divider.

【0048】図2は図1の可変分周器の動作を示すタイ
ムチャートである。図1および図2を参照して、プリセ
ット信号R′が「L」レベルになると、設定端子55〜
58のプリセット値(1001)2 が入力部88を介し
て第1のダウンカウンタ部89に入力され、設定端子5
6〜58のプリセット値(100)2 が第2のダウンカ
ウンタ部1に入力される。設定端子56〜58のプリセ
ット値(100)2 は設定端子55〜58のプリセット
値(1001)2 の1/2になっている。ただし、小数
点以下は切捨てられる。
FIG. 2 is a time chart showing the operation of the variable frequency divider of FIG. Referring to FIGS. 1 and 2, when preset signal R ′ attains to “L” level, setting terminals 55-
The preset value (1001) 2 of 58 is input to the first down counter unit 89 via the input unit 88, and the setting terminal 5
The preset value (100) 2 of 6 to 58 is input to the second down counter unit 1. The preset value (100) 2 of the setting terminals 56 to 58 is 1/2 of the preset value (1001) 2 of the setting terminals 55 to 58. However, the numbers after the decimal point are truncated.

【0049】プリセット信号R′が「H」レベルに立上
がると、第1および第2のダウンカウンタ部89,1が
カウントを開始する。TF−F103〜106,5〜7
の出力は、それぞれクロック端子Cの入力が「L」レベ
ルから「H」レベルに立上がるごとに反転する。
When the preset signal R'rises to the "H" level, the first and second down counter units 89, 1 start counting. TF-F103-106, 5-7
Output is inverted each time the input of the clock terminal C rises from the "L" level to the "H" level.

【0050】ORゲート8の出力すなわち第2のカウン
ト信号D2′は、第2のダウンカウンタ部1のカウント
が終了する2カウント前の期間に「L」レベルとなる。
DF−F11の出力POUT2は、信号D2′が「L」
レベルになった後、信号Q′の2回目の立上がりに応じ
て「H」レベルとなり、信号Q′の3回目の立上がりに
応じて「L」レベルとなる。
The output of the OR gate 8, that is, the second count signal D2 'becomes "L" level during the period two counts before the end of the counting by the second down counter section 1.
In the output POUT2 of the DF-F11, the signal D2 'is "L".
After reaching the level, it becomes "H" level in response to the second rise of the signal Q ', and becomes "L" level in response to the third rise of the signal Q'.

【0051】ORゲート107の出力すなわち第1のカ
ウント信号D′は、第1のダウンカウンタ部89のカウ
ントが終了する2カウント前の期間に「L」レベルとな
る。DF−F14の出力POUTは、信号D′が「L」
レベルになった後、信号Q′の2回目の立下がりに応じ
て「H」レベルとなり、信号Q′の3回目の立下がりに
応じて「L」レベルとなる。
The output of the OR gate 107, that is, the first count signal D'becomes "L" level during the period two counts before the count of the first down counter unit 89 is completed. In the output POUT of the DF-F14, the signal D'is "L".
After reaching the level, it becomes "H" level in response to the second fall of the signal Q ', and becomes "L" level in response to the third fall of the signal Q'.

【0052】DF−F16の出力すなわち可変分周器の
出力OUTは、信号POUT2の立上がりに応じて
「L」レベルとなり、信号POUTの立上がりに応じて
「H」レベルとなり、信号POUT2の立上がりに応じ
て「L」レベルとなる。
The output of DF-F16, that is, the output OUT of the variable frequency divider, goes to "L" level in response to the rise of signal POUT2, to "H" level in response to the rise of signal POUT, and to the rise of signal POUT2. Becomes "L" level.

【0053】すなわち、出力OUTは、第1のダウンカ
ウンタ部89が設定端子55〜58で設定されたプリセ
ット値(1001)2 =9をカウントする期間を1周期
とし、第2のダウンカウンタ部1が設定端子56〜58
で設定されたプリセット値(100)2 =4をカウント
する期間に「H」レベルとなる。
That is, the output OUT has a period in which the first down counter unit 89 counts the preset value (1001) 2 = 9 set by the setting terminals 55 to 58 as one cycle, and the second down counter unit 1 Are setting terminals 56-58
The "H" level is set during the period of counting the preset value (100) 2 = 4 set by.

【0054】上述のとおり、内部分周信号Q′の最初の
3カウント分はクロック信号CLKを5分周したもので
あり、内部分周信号Q′の残りの6カウント分はクロッ
ク信号CLKを4分周したものである。したがって、分
周出力OUTの1周期は3×5+4×6=39クロック
となり、39クロックのうち3×5+4×1=19クロ
ック分だけ「H」レベルとなる。よって、デューティ比
は100×19/39≒49%となる。
As described above, the first 3 counts of the internal partial frequency signal Q'is the clock signal CLK divided by 5, and the remaining 6 counts of the internal partial frequency signal Q'is 4 times the clock signal CLK. It is a divided one. Therefore, one cycle of the frequency-divided output OUT is 3 × 5 + 4 × 6 = 39 clocks, and 3 × 5 + 4 × 1 = 19 clocks out of 39 clocks are at the “H” level. Therefore, the duty ratio is 100 × 19 / 39≈49%.

【0055】次に、従来例と同様に、設定分周数Kを3
2〜63の範囲で変えた場合のデューティ比の変化を算
出する。この実施例では分周出力OUTの前段にDF−
F16を設けたので、リセット後の出力を「H」レベル
または「L」レベルと特定することはできないが、算出
の便宜上「H」レベルとする。分周数Kは、上述したと
おり、式K=S1′+2×S2′+22 ×P1+23 ×
P2+24 ×P3+2 5 ×P4で表わされる。また、こ
の実施例では分周出力OUTの「H」期間はS1′+2
×S2′+22 ×P2+23 ×P3+24 ×P4クロッ
クとなる。したがって、デューティ比は100×(S
1′+2×S2′+22 ×P2+23 ×P3+24 ×P
4)/K(%)となる。この式に基づいてデューティ比
を算出すると、設定分周数Kが32〜63の範囲では、
デューティ比は44〜54%の範囲で変化し、50%を
基準とすると−8〜+4%の範囲で変化する。
Next, as in the conventional example, the set frequency division number K is set to 3
Calculate the change in duty ratio when changing in the range of 2 to 63
Put out. In this embodiment, the DF-
Since F16 is provided, the output after reset is at "H" level.
Or it cannot be specified as "L" level, but it is calculated
For convenience of description, it is set to the “H” level. The frequency division number K is
And the formula K = S1 ′ + 2 × S2 ′ + 22× P1 + 23×
P2 + 2Four× P3 + 2 FiveIt is represented by × P4. Also, this
In the above embodiment, the period "H" of the divided output OUT is S1 '+ 2.
× S2 '+ 22× P2 + 23× P3 + 2Four× P4 clock
It becomes ku. Therefore, the duty ratio is 100 × (S
1 '+ 2 x S2' + 22× P2 + 23× P3 + 2Four× P
4) / K (%). Based on this formula, the duty ratio
When the set frequency division number K is in the range of 32 to 63,
The duty ratio changes in the range of 44-54% and 50%
As a reference, it changes in the range of -8 to + 4%.

【0056】なお、分周出力OUTのデューティ比が5
0%一定とならないのは、第1のダウンカウンタ部8
9のカウント値が奇数の場合、第2のダウンカウンタ部
1は第1のダウンカウンタ部89のカウント値の1/2
の数の小数点以下を切捨てた数をカウントすることと、
内部分周信号Q′が4分周または5分周信号に変化す
ることが原因である。
The duty ratio of the frequency division output OUT is 5
It is the first down counter unit 8 that does not become 0% constant.
When the count value of 9 is an odd number, the second down counter unit 1 has a half of the count value of the first down counter unit 89.
Counting the number after truncating the number after the decimal point,
The cause is that the internal partial frequency signal Q'changes into a frequency-divided by 4 or a frequency-divided by 5.

【0057】この実施例においては、プリセット値をカ
ウントする第1のダウンカウンタ部89と、プリセット
値の1/2をカウントする第2のダウンカウンタ部1と
を設け、第2のダウンカウンタ部1のカウントが終了し
たことを表わす第1のカウント出力信号D′に応じて
「L」レベルを出力し、第1のダウンカウンタ部89の
カウントが終了したことを表わす第2のカウント信号D
2′に応じて「H」レベルを出力する。したがって、設
定分周数Kによらずデューティ比が50%に近い分周出
力OUTが得られる。
In this embodiment, the first down counter section 89 for counting the preset value and the second down counter section 1 for counting 1/2 of the preset value are provided, and the second down counter section 1 is provided. The second count signal D which indicates that the counting of the first down counter unit 89 is finished by outputting the "L" level in response to the first count output signal D'which indicates that the counting of
An "H" level is output according to 2 '. Therefore, the frequency division output OUT whose duty ratio is close to 50% can be obtained regardless of the set frequency division number K.

【0058】また、分周出力OUTの前段に2分周器を
構成するDF−F16を設け、第1および第2のカウン
ト出力信号D′,D2′を信号/Q′の2周期分だけ遅
延させた信号POUT,POUT2をDF−F16のク
ロック入力としたので、従来例のように分周出力OUT
にスパイクなどが発生して通信機器などの誤動作を招こ
とがない。 〔実施例2〕実施例1では、第2のダウンカウンタ部1
が第1のダウンカウンタ部89のカウント値の1/2の
数の小数点以下を切捨てた数をカウントしていたため、
第1のダウンカウンタ部89のカウント値が奇数のとき
第2のダウンカウンタ部1のカウント値が第1のダウン
カウンタ部89のカウンタ値よりも小さくなり、デュー
ティ比が50%から外れるという問題があった。本実施
例は、この問題を解決することを目的とするものであ
る。
Further, a DF-F16 forming a frequency divider by 2 is provided in front of the frequency division output OUT, and the first and second count output signals D'and D2 'are delayed by two cycles of the signal / Q'. Since the generated signals POUT and POUT2 are used as the clock input of the DF-F16, the frequency division output OUT is generated as in the conventional example.
It does not cause a malfunction such as a communication device due to a spike. Second Embodiment In the first embodiment, the second down counter unit 1
Counts the number of half of the count value of the first down counter unit 89, which is rounded down after the decimal point,
When the count value of the first down counter unit 89 is an odd number, the count value of the second down counter unit 1 becomes smaller than the count value of the first down counter unit 89, and the duty ratio deviates from 50%. there were. The purpose of this embodiment is to solve this problem.

【0059】図3はこの発明の第2実施例による可変分
周器の要部の構成を示す回路ブロック図である。
FIG. 3 is a circuit block diagram showing the structure of the main part of a variable frequency divider according to the second embodiment of the present invention.

【0060】図3を参照して、この可変分周器はパルス
カウンタ41およびリセット/出力発生回路43を含
む。パルスカウンタ41は入力部88、第1のダウンカ
ウンタ部89および第2のダウンカウンタ部1を含み、
リセット/出力発生回路43はインバータ108、第1
の出力部20および第2の出力部3を含む。
Referring to FIG. 3, the variable frequency divider includes a pulse counter 41 and a reset / output generation circuit 43. The pulse counter 41 includes an input unit 88, a first down counter unit 89 and a second down counter unit 1,
The reset / output generation circuit 43 includes an inverter 108, a first
Output unit 20 and second output unit 3.

【0061】この可変分周器が図1の可変分周器と異な
る点は、第1の出力部20にマスタ型データフリップフ
ロップ回路(以下MF−Fと略記する)21および2:
1のセレクタ22が新たに設けられている点である。M
F−F21はデータを取込んでから0.5クロック後に
データを出力するものである。セレクタ22は2つの入
力端子A,Bと、出力端子Oと、制御端子Sとを含む。
制御端子Sが「L」レベル(「0」)のときは入力端子
Aと出力端子Oが導通し、制御端子Sが「H」レベル
(「1」)のときは入力端子Bと出力端子Oが導通す
る。
This variable frequency divider is different from the variable frequency divider shown in FIG. 1 in that the first output section 20 has a master type data flip-flop circuit (hereinafter abbreviated as MF-F) 21 and 2:
That is, the selector 22 of No. 1 is newly provided. M
F-F21 outputs data 0.5 clocks after the data is taken in. The selector 22 includes two input terminals A and B, an output terminal O, and a control terminal S.
When the control terminal S is "L" level ("0"), the input terminal A and the output terminal O are conductive, and when the control terminal S is "H" level ("1"), the input terminal B and the output terminal O. Conducts.

【0062】MF−F21の入力端子DはDF−F11
の出力を受け、そのクロック端子CはDF−F10,1
1,13,14と同様に内部分周信号Q′の反転信号/
Q′を受ける。セレクタ22の入力端子A,Bは、それ
ぞれDF−F11の反転出力、およびMF−F21の反
転出力を受ける。セレクタ22の制御端子Sは設定端子
55に接続される。セレクタ22の出力が第1の出力部
20の出力POUT2となる。第2の出力部3のORゲ
ート15は、信号POUTおよびPOUT2を受ける。
The input terminal D of the MF-F21 is DF-F11.
Of the DF-F10,1
Inversion signal of inner partial frequency signal Q '/
Receive Q '. The input terminals A and B of the selector 22 receive the inverted output of the DF-F11 and the inverted output of the MF-F21, respectively. The control terminal S of the selector 22 is connected to the setting terminal 55. The output of the selector 22 becomes the output POUT2 of the first output section 20. The OR gate 15 of the second output unit 3 receives the signals POUT and POUT2.

【0063】図4は図3の可変分周器の動作を示すタイ
ムチャートである。入力部88、第1のダウンカウンタ
部89および第2のダウンカウンタ部1の動作は実施例
1と同様であり、プリセット信号R′、第1のカウンタ
出力信号D′、第2のカウンタ出力信号D2′およびス
ワロカウンタ62のためのリセット信号SCRSTのタ
イミングも同様である。
FIG. 4 is a time chart showing the operation of the variable frequency divider of FIG. The operations of the input unit 88, the first down counter unit 89, and the second down counter unit 1 are the same as those in the first embodiment, and the preset signal R ′, the first counter output signal D ′, and the second counter output signal. The timing of the reset signal SCRST for D2 'and the swallow counter 62 is also the same.

【0064】実施例1と異なる点は、設定端子55のプ
リセット値P1が「1」であるか「0」であるかによ
り、第2のカウント出力信号D2′の立下がりに対する
分周出力OUTの立下がりのタイミングが変化する点で
ある。
The difference from the first embodiment is that depending on whether the preset value P1 of the setting terminal 55 is "1" or "0", the frequency division output OUT for the falling edge of the second count output signal D2 'is generated. This is the point at which the fall timing changes.

【0065】すなわち上述の例のようにP1=1である
ときは、セレクタ22の入力端子Bと出力端子Oとが導
通するので、信号POUT2はMF−F21の反転出力
となる。したがって、信号POUT2の立上がりは、信
号D2′の立下がりから信号/Q′の2.5周期分だけ
遅延する。これにより、分周出力OUTの「H」期間が
0.5カウント分だけ長くなり、分周出力OUTの
「H」期間および「L」期間はともに4.5カウント分
となる。
That is, when P1 = 1 as in the above-mentioned example, the input terminal B and the output terminal O of the selector 22 become conductive, so that the signal POUT2 becomes an inverted output of the MF-F21. Therefore, the rising edge of signal POUT2 is delayed from the falling edge of signal D2 'by 2.5 cycles of signal / Q'. As a result, the "H" period of the frequency-divided output OUT is lengthened by 0.5 counts, and the "H" period and the "L" period of the frequency-divided output OUT are both 4.5 counts.

【0066】一方、P1=0であるとき、たとえば第1
のダウンカウンタ部89のプリセット値が(1000)
2 =8であるときは、セレクタ22の入力端子Aと出力
端子Oとが導通するので、信号POUT2はDF−F1
1の反転出力となる。したがって、信号POUT2の立
上がりは、実施例1と同様に信号D2′の立下がりから
信号/Q′の2.0周期分だけ遅延する。これにより、
分周出力OUTの「H」期間および「L」期間はともに
4.0カウント分となる。
On the other hand, when P1 = 0, for example, the first
The preset value of the down counter unit 89 is (1000)
When 2 = 8, the input terminal A and the output terminal O of the selector 22 become conductive, so that the signal POUT2 is DF-F1.
Inverted output of 1. Therefore, the rising edge of the signal POUT2 is delayed from the falling edge of the signal D2 'by 2.0 cycles of the signal / Q', as in the first embodiment. This allows
Both the “H” period and the “L” period of the divided output OUT are 4.0 counts.

【0067】次に、実施例1と同様に設定分周数Kを変
えた場合のデューティ比の変化を算出する。この実施例
では分周出力OUTの「H」期間はS1′+2×S2′
+2×P1+22 ×P2+23 ×P3+24 ×P4クロ
ックとなるので、デューティ比は100×(S1′+2
×S2′+2×P1+22 ×P2+23 ×P3+24×
P4)/K(%)となる。したがって、設定分周数Kが
32〜63の範囲では、デューティ比は50〜54%の
範囲で変化し、50%を基準とすると0〜+4%の範囲
で変化する。
Next, as in the first embodiment, the change in duty ratio when the set frequency division number K is changed is calculated. In this embodiment, the "H" period of the divided output OUT is S1 '+ 2 * S2'.
+ 2 × P1 + 2 2 × P2 + 2 3 × P3 + 2 4 × P4 clocks, so the duty ratio is 100 × (S1 ′ + 2
× S2 ′ + 2 × P1 + 2 2 × P2 + 2 3 × P3 + 2 4 ×
P4) / K (%). Therefore, when the set frequency division number K is in the range of 32 to 63, the duty ratio changes in the range of 50 to 54%, and when 50% is the reference, it changes in the range of 0 to + 4%.

【0068】この実施例においては、第1のダウンカウ
ンタ部89のカウント値が奇数のとき第2のダウンカウ
ンタ部1のカウントが終了したことを表わす第2のカウ
ント出力信号D2′の立下がりから分周出力OUTの立
下がりまでの時間を0.5カウント分だけ延ばすように
したので、分周出力OUTのデューティ比を50%に近
づけることができる。 〔実施例3〕実施例1,2では、内部分周信号Q′が4
分周信号であるか5分周信号であるかに関係なく内部分
周信号Q′のパルス数をカウントしていたため、5分周
信号のパルス数が多いとき分周出力のOUTのデューテ
ィ比が50%から外れるという問題があった。本実施例
は、この問題を解決することを目的とするものである。
In this embodiment, when the count value of the first down counter section 89 is an odd number, the second count output signal D2 ', which indicates that the counting of the second down counter section 1 has finished, is started. Since the time until the fall of the frequency-divided output OUT is extended by 0.5 count, the duty ratio of the frequency-divided output OUT can be brought close to 50%. [Third Embodiment] In the first and second embodiments, the inner partial frequency signal Q'is 4
Since the number of pulses of the internal partial frequency signal Q ′ is counted regardless of whether the signal is the frequency-divided signal or the frequency-divided 5 signal, the duty ratio of OUT of the frequency-divided output is increased when the number of pulses of the frequency-divided 5 signal is large. There was a problem that it was out of 50%. The purpose of this embodiment is to solve this problem.

【0069】図5はこの発明の第3実施例による可変分
周器の要部の構成を示す回路ブロック図である。
FIG. 5 is a circuit block diagram showing the structure of the main part of the variable frequency divider according to the third embodiment of the present invention.

【0070】図5を参照して、この可変分周器はパルス
カウンタ41およびリセット/出力発生回路44を含
む。パルスカウンタ41は入力部88、第1のダウンカ
ウンタ部89および第2のダウンカウンタ部1を含み、
リセット/出力発生回路44はインバータ108、第1
の出力部30および第2の出力部3を含む。
Referring to FIG. 5, the variable frequency divider includes a pulse counter 41 and a reset / output generation circuit 44. The pulse counter 41 includes an input unit 88, a first down counter unit 89 and a second down counter unit 1,
The reset / output generation circuit 44 includes an inverter 108, a first
Output unit 30 and second output unit 3.

【0071】この可変分周器が図3の可変分周器と異な
る点は、2:1のセレクタ22の代わりに3:1のセレ
クタ31が設けられる点と、DF−F11の中間反転出
力が用いられる点である。セレクタ31は、3つの入力
端子A,B,Cと、出力端子Oと、2つの制御端子S
1,S2とを含む。図6に示すように、制御端子S1,
S2がともに「L」レベル(「0」)のときは入力端子
Aと出力端子Oが導通し、制御端子S1,S2がそれぞ
れ「L」レベル(「0」),「H」レベル(「1」)の
ときは入力端子Cと出力端子Oが導通し、制御端子S
1,S2がそれぞれ「H」レベル(「1」),「L」レ
ベル(「0」)のときは入力端子Bと出力端子Oが導通
し、制御端子S1,S2がともに「H」レベル
(「1」)のときは入力端子Aと出力端子Oが導通す
る。また、DF−F11に取込まれたデータは、0.5
クロック後に中間出力端子Mおよび中間反転出力端子/
Mに出力され、1.0クロック後に出力端子Qおよび反
転出力/Qに出力される。
This variable frequency divider differs from the variable frequency divider shown in FIG. 3 in that a 3: 1 selector 31 is provided instead of the 2: 1 selector 22 and the intermediate inverted output of the DF-F11. This is the point used. The selector 31 has three input terminals A, B and C, an output terminal O, and two control terminals S.
1 and S2 are included. As shown in FIG. 6, the control terminals S1,
When both S2 are "L" level ("0"), the input terminal A and the output terminal O are conductive, and the control terminals S1 and S2 are "L" level ("0") and "H" level ("1", respectively). )), The input terminal C and the output terminal O become conductive, and the control terminal S
When the terminals 1 and S2 are at "H" level ("1") and "L" level ("0"), respectively, the input terminal B and the output terminal O are electrically connected, and the control terminals S1 and S2 are both at "H" level ( In the case of "1"), the input terminal A and the output terminal O are electrically connected. In addition, the data taken into DF-F11 is 0.5
Intermediate clock output terminal M and intermediate inverted output terminal /
It is output to M and, after 1.0 clock, is output to the output terminal Q and the inverted output / Q.

【0072】セレクタ31の入力端子A,B,Cは、そ
れぞれDF−F11の反転出力、MF−F21の反転出
力、およびDF−F11の反転出力を受ける。セレクタ
31の制御端子S1,S2は、それぞれ設定端子55,
54に接続される。セレクタ31の出力は第1の出力部
30の出力POUT2となる。第2の出力部3のORゲ
ート15は、信号POUTおよびPOUT2を受ける。
The input terminals A, B and C of the selector 31 receive the inverted output of the DF-F11, the inverted output of the MF-F21 and the inverted output of the DF-F11, respectively. The control terminals S1 and S2 of the selector 31 are set terminals 55 and
54 is connected. The output of the selector 31 becomes the output POUT2 of the first output section 30. The OR gate 15 of the second output unit 3 receives the signals POUT and POUT2.

【0073】図7は図5の可変分周器の動作を示すタイ
ムチャートである。入力部88、第1のダウンカウンタ
部89および第2のダウンカウンタ部1の動作は実施例
1,2と同様であり、プリセット信号R′、第1カウン
タ出力信号D′、第2のカウンタ出力信号D2′および
スワロカウンタ62のためのリセット信号SCRSTの
タイミングについても同様である。
FIG. 7 is a time chart showing the operation of the variable frequency divider of FIG. The operations of the input section 88, the first down counter section 89, and the second down counter section 1 are the same as those in the first and second embodiments, and the preset signal R ', the first counter output signal D', and the second counter output. The same applies to the timing of the signal D2 'and the reset signal SCRST for the swallow counter 62.

【0074】実施例2と異なる点は、設定端子54の設
定値S2′が「1」であるか「0」であるかにより、第
2のカウント出力信号D2′の立下がりに対する分周出
力OUTの立下がりのタイミングが変化する点である。
The difference from the second embodiment is that depending on whether the set value S2 'of the setting terminal 54 is "1" or "0", the frequency division output OUT for the falling edge of the second count output signal D2' is obtained. This is the point where the timing of the falling edge of changes.

【0075】すなわち、S2′=0(S2=0)のとき
は、実施例1と同様に動作する。5分周信号のパルス数
が少ない場合は5分周信号の影響を考慮する必要がない
からである。
That is, when S2 '= 0 (S2 = 0), the operation is the same as in the first embodiment. This is because when the number of pulses of the divided-by-5 signal is small, it is not necessary to consider the influence of the divided-by-5 signal.

【0076】また、上述の例のようにS2′=1,P1
=1(S1=S2=1)のときは、セレクタ31の入力
端子Aと出力端子Oとが導通するので、信号POUT2
はDF−F11の反転出力となる。したがって、信号P
OUT2の立下がりは、信号D2′の立下がりから信号
/Q′の2周期分だけ遅延する。これにより、分周出力
OUTの「H」期間が4カウント分となり、分周出力O
UTの「L」期間が5カウント分となる。つまり、P1
=1であってもS2′=1であり5分周信号のパルス数
が多いときは、信号D2′の立下がりに対する分周出力
OUTの立下がりのタイミングを遅延させないようにし
たものである。上述の例では、分周出力OUTのデュー
ティ比は100×(3×5+1×4)/(3×5+6×
4)=49%となる。
Further, as in the above example, S2 '= 1, P1
= 1 (S1 = S2 = 1), the input terminal A and the output terminal O of the selector 31 become conductive, and therefore the signal POUT2
Is the inverted output of DF-F11. Therefore, the signal P
The trailing edge of OUT2 is delayed from the trailing edge of signal D2 'by two cycles of signal / Q'. As a result, the "H" period of the divided output OUT becomes 4 counts, and the divided output O
The "L" period of the UT is 5 counts. That is, P1
= 1 even if S2 '= 1 and the number of pulses of the frequency-divided 5 signal is large, the timing of the fall of the divided output OUT with respect to the fall of the signal D2' is not delayed. In the above example, the duty ratio of the divided output OUT is 100 × (3 × 5 + 1 × 4) / (3 × 5 + 6 ×
4) = 49%.

【0077】また、S2′=1,P1=0(S2=1,
S1=0)のとき、たとえば分周数Kが(10001
1)2 =35であるときは、セレクタ31の入力端子C
と出力端子Oとが導通するので、信号POUT2はDF
−F11の中間反転出力となる。したがって、信号PO
UT2の立上がりは、信号D2′の立下がりから信号/
Q′の1.5周期分だけ遅延する。これにより、分周出
力OUTの「H」期間が3.5カウント分となり、分周
出力OUTの「L」期間が4.5カウント分となる。つ
まり、P1=0であってもS2′=1であり5分周信号
のパルス数が多いときは、信号D2′の立下がりに対す
る分周出力OUTの立下がりのタイミングを0.5カウ
ント分だけ早めるようにしたものである。上述の例で
は、分周出力OUTのデューティ比は100×(3×5
+0.5×4)/(3×5+5×4)≒49%となる。
次に、実施例1,2と同様に設定分周数Kを変えた場合
のデューティ比の変化を算出する。この実施例では分周
出力OUTの「H」期間はS1′+2×P1+22 ×P
2+23 ×P3+24 ×P4クロックとなるので、デュ
ーティ比は100×(S1′+2×P1+22 ×P2+
3 ×P3+24 ×P4)/K(%)となる。したがっ
て、設定分周数Kが32〜63の範囲では、デューティ
比は47〜52%の範囲で変化し、50%を基準とする
と−3〜+2%の範囲で変化する。
Further, S2 '= 1, P1 = 0 (S2 = 1,
When S1 = 0, for example, the frequency division number K is (10001).
1) When 2 = 35, the input terminal C of the selector 31
And the output terminal O are electrically connected, the signal POUT2 is DF
It becomes the intermediate inverted output of -F11. Therefore, the signal PO
UT2 rises from the falling edge of signal D2 '
It is delayed by 1.5 cycles of Q '. As a result, the “H” period of the divided output OUT is 3.5 counts, and the “L” period of the divided output OUT is 4.5 counts. That is, even if P1 = 0, if S2 ′ = 1 and the number of pulses of the divided-by-5 signal is large, the falling timing of the divided output OUT with respect to the falling of the signal D2 ′ is 0.5 counts. It was designed to be hastened. In the above example, the duty ratio of the frequency division output OUT is 100 × (3 × 5
+ 0.5 × 4) / (3 × 5 + 5 × 4) ≈49%.
Next, as in the first and second embodiments, the change in the duty ratio when the set frequency division number K is changed is calculated. In this embodiment, the "H" period of the divided output OUT is S1 '+ 2 × P1 + 2 2 × P.
2 + 2 3 × P3 + 2 4 × P4 clocks, so the duty ratio is 100 × (S1 ′ + 2 × P1 + 2 2 × P2 +
2 3 × P3 + 2 4 × P4) / K (%). Therefore, when the set frequency division number K is in the range of 32 to 63, the duty ratio changes in the range of 47 to 52%, and when 50% is the reference, it changes in the range of -3 to + 2%.

【0078】この実施例においては、5分周信号のパル
ス数が多いときは、第2のダウンカウンタ部1のカウン
トが終了したことを表わす第2のカウント出力信号D
2′の立下がりから分周出力OUTの立下がりまでの時
間を0.5カウント分だけ早めたので、分周出力OUT
のデューティ比を50%に近づけることができる。
In this embodiment, when the number of pulses of the divided-by-5 signal is large, the second count output signal D indicating that the counting of the second down counter unit 1 has been completed.
Since the time from the fall of 2'to the fall of the divided output OUT has been advanced by 0.5 counts, the divided output OUT
The duty ratio of can be close to 50%.

【0079】[0079]

【発明の効果】以上のように、この発明の可変分周器に
あっては、設定分周数の1/2だけ入力信号のパルス数
をカウントする第1のカウンタと、設定分周数だけ入力
信号のパルス数をカウントする第2のカウンタとを設
け、第1のカウンタのカウント期間に第1のレベルの信
号を出力し、第1のカウンタのカウントが終了してから
第2のカウンタのカウントが終了するまでの期間に第2
のレベルの信号を出力する。したがって、設定分周数に
よらずデューティ比が50%で、かつレベルが安定した
分周出力を得ることができる。
As described above, in the variable frequency divider of the present invention, the first counter for counting the number of pulses of the input signal by 1/2 of the set frequency division number and the set frequency division number A second counter that counts the number of pulses of the input signal is provided, the first level signal is output during the counting period of the first counter, and the second counter of the second counter is output after the counting of the first counter is completed. Second in the period until the count ends
The signal of the level of is output. Therefore, it is possible to obtain a frequency division output whose duty ratio is 50% and whose level is stable regardless of the set frequency division number.

【0080】また、分周数の第1から第Mの桁を設定す
るための第1から第Mの設定端子を設け、第1のカウン
タが第Mの設定端子で設定されたM−1桁の数だけカウ
ントし、第2のカウンタは第1から第Mの設定端子で設
定されたM桁の数だけカウントすることとすれば、設定
分周数を1/2倍する演算器などを設けることなく、設
定分周数の1/2を容易にカウントすることができる。
Further, there are provided first to Mth setting terminals for setting the first to Mth digits of the frequency division number, and the first counter is the M-1th digit set by the Mth setting terminal. If the second counter counts only the number of M digits set by the first to Mth setting terminals, an arithmetic unit or the like for halving the set frequency division number is provided. Without doing so, it is possible to easily count 1/2 of the set frequency division number.

【0081】また、設定分周数の第1の桁が第1の論理
であることに応じて、第1のカウント信号を入力信号の
半周期分の時間だけ遅延させる遅延回路を設ければ、設
定分周数が奇数である場合の第1のレベルの出力時間を
入力信号の半周期分の時間だ延ばすことができ、分周出
力のデューティ比を50%にすることができる。
Further, if the first digit of the set frequency division number is the first logic, a delay circuit for delaying the first count signal by a half cycle of the input signal is provided, When the set frequency division number is an odd number, the output time of the first level can be extended by the time corresponding to a half cycle of the input signal, and the duty ratio of the frequency division output can be 50%.

【0082】また、分周数の第1から第Mの桁を設定す
るための第1から第Mの設定端子と、第1から第Nの設
定端子で設定されたN桁のパルス数だけ入力信号を2N
+1倍だけ分周した第1の分周信号を出力した後、入力
を2N 倍だけ分周した第2の分周信号を出力する信号発
生手段とを備え、第1のカウンタは第N+2から第Mの
設定端子で設定されたM−N−1桁の数だけ第1および
第2の分周信号のパルスをカウントし、第2のカウンタ
は第N+1から第Mの設定端子で設定されたM−N桁の
数だけ第1および第2の分周信号のパルス数をカウント
することとすれば、入力信号を2段階で分周することが
でき、大きな分周数を設定できる。また、第1および第
2の分周信号のパルス数を1/2倍する演算器などを設
けることなく、第1および第2の分周信号のパルス数の
1/2を容易にカウントすることができる。
Further, the first to Mth setting terminals for setting the first to Mth digits of the frequency division number and the N number of pulses set by the first to Nth setting terminals are input. Signal 2 N
And a signal generating means for outputting a second divided signal obtained by dividing the input by 2 N times after outputting the first divided signal obtained by dividing by +1 times. The number of pulses of the first and second frequency-divided signals is counted by the number of MN−1 digits set at the Mth setting terminal, and the second counter is set at the N + 1th to Mth setting terminals. If the number of pulses of the first and second frequency-divided signals is counted by the number of MN digits, the input signal can be frequency-divided in two stages, and a large frequency division number can be set. Further, it is possible to easily count 1/2 of the number of pulses of the first and second frequency-divided signals without providing an arithmetic unit or the like for multiplying the number of pulses of the first and second frequency-divided signals by 1/2. You can

【0083】また、設定分周数の第N+1桁が第1の論
理であることに応じて、第1のカウント信号を第2の分
周信号の半周期分の時間だけ遅延させる第1の遅延回路
を設ければ、第1および第2の分周信号のパルス数が奇
数である場合に第1のレベルの信号の出力時間を第2の
分周信号の半周期分の時間だけ延ばすことができ、分周
出力のデューティ比を50%に近づけることができる。
Further, according to the fact that the (N + 1) th digit of the set frequency division number is the first logic, the first delay which delays the first count signal by a time corresponding to a half cycle of the second frequency division signal. By providing a circuit, when the number of pulses of the first and second frequency-divided signals is an odd number, the output time of the signal of the first level can be extended by the time corresponding to a half cycle of the second frequency-divided signal. Therefore, the duty ratio of the frequency division output can be brought close to 50%.

【0084】また、設定分周数の第N桁が第1の論理で
あることに応じて、第2のカウント信号を入力信号の半
周期分の時間だけ遅延させる第2の遅延回路を設けれ
ば、第1の分周信号のパルス数が多い場合に第2のレベ
ルの信号の出力時間を第2の分周信号の半周期分の時間
だけ延ばすことができ、分周出力のデューティ比を50
%に近づけることができる。
Further, a second delay circuit for delaying the second count signal by a half cycle of the input signal is provided in response to the Nth digit of the set frequency division number being the first logic. For example, when the number of pulses of the first frequency-divided signal is large, the output time of the signal of the second level can be extended by the time corresponding to a half cycle of the second frequency-divided signal, and the duty ratio of the frequency-divided output can be reduced. Fifty
It can be close to%.

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

【図1】 この発明の第1実施例による可変分周器の要
部の構成を示す回路ブロック図である。
FIG. 1 is a circuit block diagram showing a configuration of a main part of a variable frequency divider according to a first embodiment of the present invention.

【図2】 図1に示した可変分周器の動作を示すタイム
チャートである。
FIG. 2 is a time chart showing the operation of the variable frequency divider shown in FIG.

【図3】 この発明の第2実施例による可変分周器の要
部の構成を示す回路ブロック図である。
FIG. 3 is a circuit block diagram showing a configuration of a main part of a variable frequency divider according to a second embodiment of the present invention.

【図4】 図3に示した可変分周器の動作を示すタイム
チャートである。
FIG. 4 is a time chart showing the operation of the variable frequency divider shown in FIG.

【図5】 この発明の第3実施例による可変分周器の要
部の構成を示す回路ブロック図である。
FIG. 5 is a circuit block diagram showing a configuration of a main part of a variable frequency divider according to a third embodiment of the present invention.

【図6】 図5に示した可変分周器のセレクタ31の動
作を示す真理値表である。
6 is a truth table showing the operation of the selector 31 of the variable frequency divider shown in FIG.

【図7】 図5に示した可変分周器の動作を示すタイム
チャートである。
FIG. 7 is a time chart showing the operation of the variable frequency divider shown in FIG.

【図8】 従来の可変分周器の構成を示すブロック図で
ある。
FIG. 8 is a block diagram showing a configuration of a conventional variable frequency divider.

【図9】 図8に示した可変分周器の2モジュラスプリ
スケーラの構成を示す回路ブロック図である。
9 is a circuit block diagram showing a configuration of a 2-modulus prescaler of the variable frequency divider shown in FIG.

【図10】 図9に示した2モジュラスプリスケーラの
動作を示すタイムチャートである。
FIG. 10 is a time chart showing the operation of the 2-modulus prescaler shown in FIG.

【図11】 図8に示した可変分周器のスワロカウンタ
の構成を示す回路ブロック図である。
11 is a circuit block diagram showing a configuration of a swallow counter of the variable frequency divider shown in FIG.

【図12】 図11に示したスワロカウンタの動作を示
すタイムチャートである。
12 is a time chart showing the operation of the swallow counter shown in FIG.

【図13】 図8に示した可変分周器のパルスカウンタ
およびリセット/出力発生回路の構成を示す回路ブロッ
ク図である。
13 is a circuit block diagram showing configurations of a pulse counter and a reset / output generation circuit of the variable frequency divider shown in FIG.

【図14】 図13に示したパルスカウンタおよびリセ
ット/出力発生回路の動作を示すタイムチャートであ
る。
FIG. 14 is a time chart showing operations of the pulse counter and the reset / output generation circuit shown in FIG.

【図15】 図8に示した可変分周器の問題点を説明す
るためのタイムチャートである。
FIG. 15 is a time chart for explaining problems of the variable frequency divider shown in FIG.

【符号の説明】 1 第2のダウンカウンタ部、2,20,30 第1の
出力部、3 第2の出力部、41,63 パルスカウン
タ、42,43,44,64 リセット/出力発生回
路、53〜58 分周数設定端子、61 2モジュラス
プリスケーラ、62 スワロカウンタ、88 入力部、
89 第1のダウンカウンタ部、90 出力部。
[Description of Reference Signs] 1 second down counter section, 2, 20, 30 first output section, 3 second output section, 41, 63 pulse counter, 42, 43, 44, 64 reset / output generation circuit, 53 to 58 frequency division setting terminal, 61 2 modulus prescaler, 62 swallow counter, 88 input section,
89 First down counter section, 90 Output section.

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 分周数を任意に設定できる可変分周器で
あって、 前記分周数を設定するための分周数設定手段、 前記分周数設定手段で設定された分周数の1/2の数だ
け入力信号のパルス数をカウントしたことに応じて第1
のカウント信号を出力する第1のカウンタ、 前記分周数設定手段で設定された分周数だけ入力信号の
パルス数をカウントしたことに応じて第2のカウント信
号を出力する第2のカウンタ、および前記第1のカウン
ト信号が出力されるまでの期間は第1のレベルの信号を
出力し、前記第1のカウント信号が出力されてから前記
第2のカウント信号が出力されるまでの期間は第2のレ
ベルの信号を出力する出力回路を備えたことを特徴とす
る、可変分周器。
1. A variable frequency divider capable of arbitrarily setting a frequency division number, the frequency division number setting means for setting the frequency division number, and the frequency division number set by the frequency division number setting means. According to counting the number of pulses of the input signal by half, the first
A second counter for outputting a count signal of the input signal, a second counter for outputting a second count signal in response to counting the number of pulses of the input signal by the frequency division number set by the frequency division number setting means, And a period of time from the output of the first count signal to the output of the second count signal during the period until the output of the first count signal A variable frequency divider comprising an output circuit for outputting a second level signal.
【請求項2】 前記分周数設定手段は、それぞれ前記分
周数の第1から第Mの桁を第1または第2の論理に設定
するための第1から第Mの分周数設定端子を含み、 前記第1のカウンタは第2から第Mの分周数設定端子で
設定されたM−1桁の数だけ前記入力信号のパルス数を
カウントし、 前記第2のカウンタは前記第1から第Mの分周数設定端
子で設定されたM桁の数だけ前記入力信号のパルス数を
カウントすることを特徴とする、請求項1に記載の可変
分周器。
2. The frequency division number setting means sets the first to Mth frequency division number setting terminals for setting the first to Mth digits of the frequency division number to the first or second logic, respectively. Wherein the first counter counts the number of pulses of the input signal by the number of M-1 digits set at the second to Mth frequency division number setting terminals, and the second counter counts the number of pulses of the input signal. The variable frequency divider according to claim 1, wherein the number of pulses of the input signal is counted by the number of M digits set by the M to Mth frequency division number setting terminals.
【請求項3】 前記第1の分周数設定端子で設定された
前記分周数の第1の桁が第1の論理であることに応じ
て、前記第1のカウント信号を前記入力信号の半周期に
相当する時間だけ遅延させて前記出力回路に出力する遅
延回路を備えたことを特徴とする、請求項2に記載の可
変分周器。
3. When the first digit of the frequency division number set at the first frequency division number setting terminal is the first logic, the first count signal is changed to the input signal of the input signal. The variable frequency divider according to claim 2, further comprising a delay circuit that delays by a time corresponding to a half cycle and outputs the delayed signal to the output circuit.
【請求項4】 前記分周数設定手段は、それぞれ前記分
周数の第1から第Mの桁を第1または第2の論理に設定
するための第1から第Mの分周数設定端子を含み、 第1から第N(ただし、N<Mである)の分周数設定端
子で設定されたN桁のパルス数だけ前記入力信号を2N
+1倍だけ分周した第1の分周信号を出力した後、前記
入力信号を2N 倍だけ分周した第2の分周信号を出力す
る信号発生手段を備え、 前記第1のカウンタは第N+2から第Mの分周数設定端
子で設定されたM−N−1桁の数だけ前記第1および第
2の分周信号のパルス数をカウントし、 前記第2のカウンタは第N+1から第Mの分周数設定端
子で設定されたM−N桁の数だけ前記第1および第2の
分周信号のパルス数をカウントすることを特徴とする、
請求項1に記載の可変分周器。
4. The frequency division number setting means sets the first to Mth frequency division number setting terminals for setting the first to Mth digits of the frequency division number to the first or second logic, respectively. 2 N of the input signal for the number of N-digit pulses set by the first to Nth (where N <M) frequency division number setting terminals.
The first counter is provided with signal generating means for outputting a second divided signal obtained by dividing the input signal by 2 N times after outputting the first divided signal obtained by dividing by +1. The number of pulses of the first and second frequency-divided signals is counted by the number of M−N−1 digits set from the N + 2 to M-th frequency division number setting terminals, and the second counter is The number of pulses of the first and second frequency division signals is counted by the number of MN digits set at the frequency division number setting terminal of M.
The variable frequency divider according to claim 1.
【請求項5】 前記第N+1の分周数設定端子で設定さ
れた前記分周数の第N+1の桁が第1の論理であること
に応じて、前記第1のカウント信号を前記第2の分周信
号の半周期に相当する時間だけ遅延させて前記出力回路
に出力する第1の遅延回路を備えたことを特徴とする、
請求項4に記載の可変分周器。
5. The first count signal is set to the second count in response to the N + 1th digit of the frequency division number set at the N + 1th frequency division number setting terminal being the first logic. A delay circuit for delaying by a time corresponding to a half cycle of the divided signal and outputting the delayed signal to the output circuit.
The variable frequency divider according to claim 4.
【請求項6】 前記第Nの分周数設定端子で設定された
前記分周数の第Nの桁が第1の論理であることに応じ
て、前記第2のカウント信号を前記第2の分周信号の半
周期に相当する時間だけ遅延させて前記出力回路に出力
する第2の遅延回路を備えたことを特徴とする、請求項
4または5に記載の可変分周器。
6. The second count signal is set to the second value when the Nth digit of the frequency division number set at the Nth frequency division number setting terminal is the first logic. 6. The variable frequency divider according to claim 4, further comprising a second delay circuit that delays by a time corresponding to a half cycle of the divided signal and outputs the delayed signal to the output circuit.
JP21685894A 1994-09-12 1994-09-12 Variable frequency divider Withdrawn JPH0884069A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21685894A JPH0884069A (en) 1994-09-12 1994-09-12 Variable frequency divider

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21685894A JPH0884069A (en) 1994-09-12 1994-09-12 Variable frequency divider

Publications (1)

Publication Number Publication Date
JPH0884069A true JPH0884069A (en) 1996-03-26

Family

ID=16695017

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21685894A Withdrawn JPH0884069A (en) 1994-09-12 1994-09-12 Variable frequency divider

Country Status (1)

Country Link
JP (1) JPH0884069A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100333564B1 (en) * 1997-07-17 2002-06-20 사와무라 시코 Interface circuit
JP2006229957A (en) * 2005-02-16 2006-08-31 Agilent Technol Inc Automatic initialization type frequency divider

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100333564B1 (en) * 1997-07-17 2002-06-20 사와무라 시코 Interface circuit
JP2006229957A (en) * 2005-02-16 2006-08-31 Agilent Technol Inc Automatic initialization type frequency divider

Similar Documents

Publication Publication Date Title
US7005900B1 (en) Counter-based clock doubler circuits and methods with optional duty cycle correction and offset
US5532633A (en) Clock generating circuit generating a plurality of non-overlapping clock signals
KR940007543B1 (en) High speed programmable divider
US7139361B1 (en) Counter-based digital frequency synthesizer circuits and methods
US4443887A (en) Frequency-dividing circuit
JPS6243568B2 (en)
JP4780144B2 (en) Frequency divider circuit
US7236557B1 (en) Counter-based clock multiplier circuits and methods
US20050088210A1 (en) Frequency divider and related method of design
EP0954106A2 (en) Clock signal multiplier circuit for a clock signal generator circuit
US9590637B1 (en) High-speed programmable frequency divider with 50% output duty cycle
US6434588B1 (en) Binary counter with low power consumption
US6504407B2 (en) Programmable high speed frequency divider
US5854755A (en) Clock frequency multiplication device
JPH0884069A (en) Variable frequency divider
JP3372858B2 (en) counter
JP2530663B2 (en) Divider circuit
JPH0454726A (en) 1/n frequency dividing circuit
JPH03171820A (en) 2n-1 frequency dividing circuit
JP2689539B2 (en) Divider
JPS6333737B2 (en)
JP2841360B2 (en) Timing generator
JPH08316825A (en) Count system
US6839399B2 (en) Programmable counter with half-integral steps
JPS62176219A (en) Counter circuit

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: 20011120