JPS633514A - Frequency divider - Google Patents

Frequency divider

Info

Publication number
JPS633514A
JPS633514A JP14779886A JP14779886A JPS633514A JP S633514 A JPS633514 A JP S633514A JP 14779886 A JP14779886 A JP 14779886A JP 14779886 A JP14779886 A JP 14779886A JP S633514 A JPS633514 A JP S633514A
Authority
JP
Japan
Prior art keywords
output
counter
frequency
clock
frequency division
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP14779886A
Other languages
Japanese (ja)
Inventor
Toshihiko Akeboshi
俊彦 明星
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP14779886A priority Critical patent/JPS633514A/en
Publication of JPS633514A publication Critical patent/JPS633514A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K23/00Pulse counters comprising counting chains; Frequency dividers comprising counting chains
    • H03K23/64Pulse counters comprising counting chains; Frequency dividers comprising counting chains with a base or radix other than a power of two
    • H03K23/70Pulse counters comprising counting chains; Frequency dividers comprising counting chains with a base or radix other than a power of two with a base which is an odd number

Landscapes

  • Manipulation Of Pulses (AREA)

Abstract

PURPOSE:To obtain an odd number frequency division waveform whose duty ratio is 50% by combining outputs of two counters counting clocks whose phases are shifted by 180 deg. to each other. CONSTITUTION:In putting '1' to a NAND 11 and '0' to ORs 4, 5 and a NAND 13 from the output of a decoder 12, counters 1, 2 count '2' then load '0'. The counters 1, 2 are simultaneously cleared then keep counting clocks whose phases are deviated by 180 deg. each other, respectively. Thus, an output QB of the counter 1 counting the advancing clock and an output QA of the counter 2 counting the retarded clock are ORed by the OR 5 and the result is extracted by a selector 9, resulting that a 1/3 frequency division output waveform whose duty ratio is 50% is obtained. Inputting '0' to the NAND 11 and '1' to the NAND 13 and the OR 5 from the decoder 12, and selecting the output of an OR 7, a 1/5 frequency division output is obtained.

Description

【発明の詳細な説明】 [技術分野〕 本発明は、クロックの分周器に関するものである。[Detailed description of the invention] [Technical field〕 The present invention relates to a clock frequency divider.

〔従来例] 従来この種の装着は、ワンチップ化が進んでおり、プロ
グラマブルに分周率を可変出来るものが多く出ているが
、現在多く出ている分周器(プログラマブルインタ゛パ
ル・タイマ等)は全ての奇数分周を行う時にはデユーテ
ィ比が50%にならない。ここで50%デユーティの波
形を得る為には、2倍の周波数を奇数分周行った後に2
分周を行うなどの構成を取らねばらなず、発振器等旧別
に回路を構成しなければならなかった。また、外部から
人力されるクロックを分周して使用する場合には、奇数
分周を行うと正確なデユーティ50%のクロックを得る
事が出来ないなどの難点があった。
[Conventional example] Conventionally, this type of installation has progressed to one-chip, and there are many products that can programmably change the frequency division ratio. ), the duty ratio does not reach 50% when all odd number divisions are performed. Here, in order to obtain a waveform with 50% duty, divide the frequency twice by an odd number, and then
A configuration such as frequency division had to be adopted, and a separate circuit such as an oscillator had to be configured. Furthermore, when using a frequency-divided clock manually inputted from the outside, there is a problem in that if the frequency is divided by an odd number, it is impossible to obtain a clock with an accurate duty of 50%.

[目 的] 本発明の目的は上記従来例の欠点を除去するとともに、
デユーティ50%の分周波形を供給する事が出来る分周
器を提倶することにある。
[Objective] The object of the present invention is to eliminate the drawbacks of the above conventional example, and
The object of the present invention is to provide a frequency divider that can supply a frequency-divided waveform with a duty of 50%.

[実施例] 以下図面を参照して本発明の一実施例を詳細に説明する
。第1図°は木実施例の回路図である。ここで1.2は
バイナリカウンタてあり、カウンタ2にはインバータ3
により反転されたクロックか人力され、カウンタ1より
半クロツク分遅れてカウントを行う。このカウンタ1と
2は、同朋して動作しなくてはならない為に、リセット
信号を入力すると、互いにクリアされその後にカウント
をしはじめる。4及び5のCR及びAND13゜NAN
DI 1は、本実施例中で示す奇数分周率を決める為の
スイッチとして用いられ、これらの出力のANDIOに
よりカウンタをロードしている。ここでNANDIIを
ハイにしOR4,5及びAND13をローにすると、1
.2の両カウンタは2までカウントすると°゛O”にロ
ードされる。この時のカウンタ1のQa比出力カウンタ
2のQA比出力0R15をとるとデユーティ50%の3
分周クロックが得られる。またNANDIIをロー、A
ND13及びOR5をハイにしオンにし、両カウンタ1
.2のQc比出力OR7をとると、デユーティ50%の
5分周クロックが得られ、又、NANDI 1をロー、
OR4,5共にロー、AND13をハイにし、Qc比出
力ANDをとると、デユーティ50%の7分周クロック
が得られる。次にOR4,5をハイ、AND13、NA
NDIIをローにすると、NAND6及び11はハイを
出力し続ける為にカウンタ1.2のQ0出力がハイにな
り、そのインバータ14出力がローになるまでロードが
行われないので、両カウンタ1,2はO〜8までカウン
トし続ける。この時のカウンタ1のQl)出力とカウン
タ2のQc比出力ORを取るとデユーティ50%の9分
周クロックが得られる。以上述べた出力はデコーダー1
2により2 Bitの入力データでコントロールされ得
られる。次に実際の動作について説明する。
[Example] An example of the present invention will be described in detail below with reference to the drawings. FIG. 1° is a circuit diagram of a wooden embodiment. Here, 1.2 is a binary counter, and counter 2 has an inverter 3.
The inverted clock is manually inputted, and the count is performed with a delay of half a clock from the counter 1. Since these counters 1 and 2 must operate in unison, when a reset signal is input, they are mutually cleared and then begin counting. CR of 4 and 5 and AND13°NAN
DI 1 is used as a switch for determining the odd frequency division ratio shown in this embodiment, and a counter is loaded by ANDIO of these outputs. Here, if NAND II is set high and OR4, 5 and AND13 are set low, 1
.. When both counters 2 count up to 2, they are loaded to °゛O''.At this time, if we take the Qa ratio output of counter 1 and the QA ratio output 0R15 of counter 2, the duty is 3 which is 50%.
A divided clock is obtained. Also, set NAND II to low, A
Turn on ND13 and OR5 high and turn on both counters 1
.. By taking the Qc ratio output OR7 of 2, a 5-divided clock with a duty of 50% is obtained, and when NANDI 1 is set low,
When OR4 and OR5 are set low, AND13 is set high, and the Qc ratio output is ANDed, a 7-frequency divided clock with a duty of 50% is obtained. Next, OR4 and 5 are high, AND13, NA
When NDII is set low, NAND6 and 11 continue to output high, so the Q0 output of counter 1.2 becomes high, and loading is not performed until the inverter 14 output becomes low, so both counters 1 and 2 continues counting from 0 to 8. By ORing the Ql) output of counter 1 and the Qc ratio output of counter 2 at this time, a 9-frequency divided clock with a duty of 50% is obtained. The output mentioned above is decoder 1
2, it is controlled and obtained by 2-bit input data. Next, the actual operation will be explained.

第2図、第3図に実際のタイムチャートを示す。16は
基準となるクロックで17.18゜19.25はカウン
タ1の出力、20はCLK16の反転入力、21,22
,23.26はカウンタ2の出力であり、24はセレク
タ11から出される出力である。1−aは5分周にセッ
トした時のQ。ut27の8力を示す。ここで、カウン
タ1.2は5までカウントすると1をロードする。
Actual time charts are shown in FIGS. 2 and 3. 16 is the reference clock, 17.18° 19.25 is the output of counter 1, 20 is the inverted input of CLK16, 21, 22
, 23 and 26 are the outputs of the counter 2, and 24 is the output from the selector 11. 1-a is Q when set to 5 division. Showing the 8 power of ut27. Here, when the counter 1.2 counts up to 5, it is loaded with 1.

この時のカウンタ1のQc出力19とカウンタ2のQc
出力23、ORを取るとデユーティ50%の5分周出力
Q。ut27の波形が得られる。1−bは7分周にセッ
トした時のQ。ut27の出力を示す。ここで、カウン
タ1.2は7までカウントするとロードがかが91をセ
ットし再びカウントをはじめる。この時のカウンタ1の
Qc出力19とカウンタ2のQ、出力23のANDを取
ると、デユーティ50%の7分周出力Q。ut27の波
形が得られる。この5分周及び゛7分周は、ロードの時
には1がロードされている。第3図では3分周及び9分
周をアクセスした時の出力波形を示す。
At this time, Qc output 19 of counter 1 and Qc of counter 2
When output 23 is ORed, it is a 5-divided output Q with a duty of 50%. A waveform of ut27 is obtained. 1-b is Q when set to frequency division by 7. The output of ut27 is shown. Here, when the counter 1.2 counts up to 7, the load sets 91 and starts counting again. At this time, if you AND the Qc output 19 of counter 1, the Q of counter 2, and the output 23, you will get an output Q divided by 7 with a duty of 50%. A waveform of ut27 is obtained. For the frequency division by 5 and the frequency division by 7, 1 is loaded at the time of loading. FIG. 3 shows output waveforms when frequency division by 3 and frequency division by 9 are accessed.

この時のロード時の設定値は0になっている。まず1−
cは3分周時のQ。u、27の出力で、カウンタ1,2
は2までカウントするとロードする。
At this time, the set value at the time of loading is 0. First 1-
c is Q when frequency is divided by 3. At the output of u, 27, counters 1 and 2
will load when it counts up to 2.

この時のカウンタ1のQB +8出力とカウンタ2のQ
A21出力のORI 5を取るとデユーティ50%の3
分周圧力Q。ut27の波形が得られる。また1−Dで
は9分周時のQ。ut27の出力を示す。ここてはカウ
ンタ1,2は8まてカウントしロードする。この時のカ
ウンタ1のQo出力25とカウンタ2のQc出力23の
ANDを取る事によりデユーティ50%の9分周出力Q
。ut27の波形を得ている。
At this time, QB +8 output of counter 1 and Q of counter 2
If you take ORI 5 of A21 output, the duty is 50%, which is 3.
Frequency division pressure Q. A waveform of ut27 is obtained. Also, in 1-D, Q when frequency is divided by 9. The output of ut27 is shown. Here, counters 1 and 2 count and load up to 8. At this time, by ANDing the Qo output 25 of counter 1 and the Qc output 23 of counter 2, a 9-frequency divided output Q with a duty of 50% is obtained.
. The waveform of ut27 is obtained.

尚、本実施例においては、3分周、5分周、7分周、9
分周回路を一つにまとめているが、この回路を分離構成
する事により15分周、21分周、27分周等の分周率
の高い奇数分周が可能となる。また、本実施例では、分
周器にかぎっているが、この2つのカウンタに逆のクロ
ックを与える事により、認意の波形を作り出す事も可能
となる。
In this example, frequency division by 3, frequency division by 5, frequency division by 7, frequency division by 9
Although the frequency dividing circuits are integrated into one, by configuring this circuit separately, it is possible to perform odd number division with a high frequency division ratio such as division by 15, division by 21, division by 27, etc. Further, in this embodiment, only the frequency divider is used, but by applying opposite clocks to these two counters, it is also possible to create a desired waveform.

以上実施例ではカウンタを用いているが、これはフリッ
プフロップなどを用いる事によって可能である。
In the above embodiments, a counter is used, but this can also be done by using a flip-flop or the like.

次に本発明の他の実施例について第4図、第5図、第6
図に基づいて説明する。第4図は他の実施例の回路図で
ある。ここで51.52及び60はバイナリカウンタで
あり、カウンタ52にはインバータ53により反転され
たクロックが人力され、カウンタ51より半クロツク分
遅れてカウントを行う。このカウンタ51と52は、同
期して動作しなくてはならない為に、リセット信号を入
力すると互いにクリアされその後にカウントをしはじめ
る。54及び55のORは、他の実施例中で示す奇数分
周率を決める為のスイッチとして用いられ、この出力の
NAND56によりカウンタをロードしている。0R5
5をハイにしオンにし、両カウンタ51.52のQ。出
力の0R57をとると、デユーティ50%の5分周クロ
ックが得られ、又、0R54,55共にローにし、Qc
比出力ANDをとると、デユーティ50%の7分周クロ
ックが得られる。0R54をハイにすると6分周出力が
得られる。ここで、この6分周出力は1つのカウンタ5
1のみで得られるが、前述の通り2つのカウンタの同期
を取る為に、カウンタ52にも同様に0R54を入れて
いる。以上述べた分周されたクロック及び基準のクロッ
クはセレクタ59に人力され、その中で選ばれたりψツ
クのみか出力される。このセレクタ59の出力は非同期
カウンタ60及び出力セレクタ61に入力される。ここ
でセレクタ61に人力されたクロックはデコーダ62で
選ばれ、セレクタ59からの出力をそのままQ。ut6
3より出力出来る。またカウンタ60に入力されたクロ
ックは、カウンタ60内で分周されてデコーダ62に従
ってその分周率のクロックをQ。ut63から出力する
。デコーダ62は8Bitデータバスに接続され、バス
上でクロックの分周率を決める事が出来る。
Next, other embodiments of the present invention are shown in FIGS. 4, 5, and 6.
This will be explained based on the diagram. FIG. 4 is a circuit diagram of another embodiment. Here, 51, 52, and 60 are binary counters, and a clock inverted by an inverter 53 is inputted to the counter 52, and the counter 52 performs counting with a delay of half a clock from the counter 51. Since these counters 51 and 52 must operate synchronously, when a reset signal is input, they are mutually cleared and then begin counting. The OR of 54 and 55 is used as a switch for determining the odd frequency division ratio shown in other embodiments, and the counter is loaded by the NAND 56 of this output. 0R5
5 high and on, Q of both counters 51.52. By taking the output 0R57, a 5-divided clock with a duty of 50% is obtained, and by setting both 0R54 and 55 low, Qc
When the specific output is ANDed, a 7-frequency divided clock with a duty of 50% is obtained. When 0R54 is set high, a frequency divided by 6 output is obtained. Here, this 6-divided output is one counter 5
Although it can be obtained with only 1, 0R54 is similarly placed in the counter 52 in order to synchronize the two counters as described above. The above-mentioned frequency-divided clock and reference clock are input to the selector 59, and only one selected or ψ is output. The output of this selector 59 is input to an asynchronous counter 60 and an output selector 61. Here, the clock manually input to the selector 61 is selected by the decoder 62, and the output from the selector 59 is directly inputted to the Q. ut6
You can output from 3. Further, the clock input to the counter 60 is frequency-divided within the counter 60, and the clock of that frequency division ratio is Q-divided according to the decoder 62. Output from ut63. The decoder 62 is connected to an 8-bit data bus, and can determine the frequency division ratio of the clock on the bus.

第5図、第6図に実際のタイムチャートを示す。64は
基準となるクロックで65.66゜67はカウンタ51
の出力、68はCLK64の反転入力、69,70.7
1はカウンタ52の出力であり、72はセレクタ61か
ら出される出力である。2−aは5分周にセットした時
のQ。、Jt72の出力を示す。ここで、カウンタ51
,52は5までカウントすると1をロードする。この時
のカウンタ51のQ。出力67とカウンタ52のQc出
カフ1のORを取るとデユーティ50%の5分周出力Q
。ut72の波形が得られる。2−bは7分周にセット
した時のQ。ut72の出力を示す。ここでカウンタ5
1.52は7までカウントするとロードがかかり1をセ
ットし再びカウントをはじめる。この時のカウンタ51
のQc出力67とカウンタ2のQc出カフ1のA N 
Dを取るとデユーティ50%の7分周出力Q。ut72
の波形が得られる。2−cはデユーティ50%の6分周
出力Q。ut720波形を示す。第6図はセレクタ59
がクロック64を選択した時のカウンタ60の出力波形
の一部である。73,74.75はデコーダ62を切換
えた時のポイントを示す。
Actual time charts are shown in FIGS. 5 and 6. 64 is the reference clock 65.66° 67 is the counter 51
output, 68 is the inverted input of CLK64, 69, 70.7
1 is the output of the counter 52, and 72 is the output from the selector 61. 2-a is Q when set to 5 division. , shows the output of Jt72. Here, the counter 51
, 52 loads 1 when it counts up to 5. Q of the counter 51 at this time. When the output 67 and the Qc output cuff 1 of the counter 52 are ORed, the output Q divided by 5 with a duty of 50% is obtained.
. A waveform of ut72 is obtained. 2-b is Q when set to 7 frequency division. The output of ut72 is shown. Here counter 5
When 1.52 counts up to 7, it is loaded, sets 1, and starts counting again. Counter 51 at this time
Qc output 67 of counter 2 and Qc output cuff 1 of counter 2
If you take D, you will get a 7-divided output Q with a duty of 50%. ut72
A waveform of 2-c is a 6-divided output Q with a duty of 50%. The ut720 waveform is shown. Figure 6 shows selector 59
is a part of the output waveform of the counter 60 when the clock 64 is selected. 73, 74, and 75 indicate points when the decoder 62 is switched.

ここで73は4分周出力から2分周出力に切換えたポイ
ントであり、74は2分周から8分周に切換えたポイン
ト75は8分周から16分周に切換えたポイントである
。ここでクロック64をすでに分周されたクロックを人
力すると、その人力クロックの52.54,58.66
分周の波形が取れる。この様にしてセレクタ59とセレ
クタ61の組合わせを変える事により、多数の分周クロ
ックが得られる。
Here, 73 is a point at which the frequency division output is switched from 4 frequency division to 2 frequency division output, 74 is a point at which frequency division is switched from 2 frequency division to 8 frequency division, and point 75 is a point at which frequency division is switched from 8 frequency division to 16 frequency division. Here, if the clock 64 is already frequency-divided by hand, it becomes 52.54, 58.66 of the human clock.
A divided waveform can be obtained. By changing the combination of selector 59 and selector 61 in this way, a large number of frequency-divided clocks can be obtained.

又、他の実施例も本実施例の場合と同様に、5分周、6
分周、7分周回路を一つにまとめているが、この回路を
分離して構成する事により35分周、42分周、70分
周等の分周クロックが得られる。また、今回はカウンタ
を基本に構成しているが、フリップフロップによりカウ
ンタを構成しても良い。
Also, in other embodiments, the frequency is divided by 5, and the frequency is divided by 6, as in the case of this embodiment.
The frequency divider and 7 frequency divider circuits are combined into one, but by configuring these circuits separately, frequency divided clocks such as 35 frequency dividers, 42 frequency dividers, 70 frequency dividers, etc. can be obtained. Further, although the counter is basically configured this time, the counter may also be configured using a flip-flop.

E効 果コ 以上説明した様に、2個のカウンタにそれぞれ反転した
クロックを入力し、その互いの出力を組合わせる事によ
り、正確なデユーティ50%の奇数分周波形を得られる
事になった。
E effect As explained above, by inputting inverted clocks to two counters and combining their outputs, it is possible to obtain an accurate odd-number divided waveform with a duty of 50%. .

【図面の簡単な説明】[Brief explanation of the drawing]

蔦1図は本実施例の可変奇数分周回路図、第2図、第3
図は第1図のタイムチャート図、第4図は他の実施例の
可変分周回路図、第5図、第6図は他の実施例のタイム
チャート図である。 1.2はバイナリ−カウンタ、3はインバータ、4,5
,6,10,11,13.14はカウンタ1,2をロー
トするタイミングを作る為のゲート、7,8,15.1
6はそれぞれの分周波形を取る為のゲート、9はセレク
タ、12はデコーグ、16は人力クロック、20は反転
クロック、17,18,19.25はカウンタ1の出力
、21.22,23.26はカウンタ2の出力、27は
外部に出力される波形を示す。
Figure 1 is a variable odd frequency divider circuit diagram of this embodiment, Figures 2 and 3.
1, FIG. 4 is a variable frequency dividing circuit diagram of another embodiment, and FIGS. 5 and 6 are time charts of other embodiments. 1.2 is a binary counter, 3 is an inverter, 4,5
, 6, 10, 11, 13.14 are gates for creating the timing to rot the counters 1 and 2, 7, 8, 15.1
6 is a gate for taking each divided waveform, 9 is a selector, 12 is a decoder, 16 is a manual clock, 20 is an inverted clock, 17, 18, 19.25 is the output of counter 1, 21.22, 23. 26 indicates the output of the counter 2, and 27 indicates a waveform output to the outside.

Claims (1)

【特許請求の範囲】 クロックをカウントする第1のカウンタと、上記第1の
カウンタに入力されるクロックに対し反転したクロック
を入力する第2のカウンタと、 上記第1カウンタと上記第2カウンタからの出力の基づ
いて所定数に分周する手段を有することを特徴とする分
周器。
[Scope of Claims] A first counter that counts clocks, a second counter that inputs a clock that is inverted with respect to the clock that is input to the first counter, and from the first counter and the second counter. A frequency divider comprising means for dividing the frequency into a predetermined number based on the output of the frequency divider.
JP14779886A 1986-06-23 1986-06-23 Frequency divider Pending JPS633514A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14779886A JPS633514A (en) 1986-06-23 1986-06-23 Frequency divider

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14779886A JPS633514A (en) 1986-06-23 1986-06-23 Frequency divider

Publications (1)

Publication Number Publication Date
JPS633514A true JPS633514A (en) 1988-01-08

Family

ID=15438450

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14779886A Pending JPS633514A (en) 1986-06-23 1986-06-23 Frequency divider

Country Status (1)

Country Link
JP (1) JPS633514A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7187217B2 (en) 2004-05-21 2007-03-06 Fujitsu Limited Clock frequency divider and trigger signal generation circuit for same
JP2010087544A (en) * 2008-09-29 2010-04-15 Fujitsu Microelectronics Ltd Solid-state imaging element

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7187217B2 (en) 2004-05-21 2007-03-06 Fujitsu Limited Clock frequency divider and trigger signal generation circuit for same
JP2010087544A (en) * 2008-09-29 2010-04-15 Fujitsu Microelectronics Ltd Solid-state imaging element

Similar Documents

Publication Publication Date Title
KR940007543B1 (en) High speed programmable divider
JP2572283B2 (en) Variable frequency divider
US5020082A (en) Asynchronous counter
US3873815A (en) Frequency division by an odd integer factor
US5189685A (en) Fast counter/divider and its use in a swallower counter
JPS633514A (en) Frequency divider
US4331926A (en) Programmable frequency divider
US4494243A (en) Frequency divider presettable to fractional divisors
JPS6111491B2 (en)
US3700916A (en) Logical frequency divider
KR200164990Y1 (en) 50% duty odd frequency demultiplier
JPH03171820A (en) 2n-1 frequency dividing circuit
US4081755A (en) Baud rate generator utilizing single clock source
SU766018A1 (en) Pulse repetition frequency divider
JPS5951784B2 (en) programmable divider
JP2530663B2 (en) Divider circuit
JPS645400Y2 (en)
SU621102A1 (en) Frequency divider with programme setting of fractional division coefficient
SU921097A1 (en) Frequency divider with variable countdown ratio
JP3850367B2 (en) Clock signal divider
JPS58171128A (en) Frequency dividing circuit
JPS6128422Y2 (en)
JPS6029245Y2 (en) pulse generator
JPS63269620A (en) Variable frequency divider
SU764135A1 (en) Pulse recurrence frequency divider