JPS6310914A - N-bit frequency division counter - Google Patents

N-bit frequency division counter

Info

Publication number
JPS6310914A
JPS6310914A JP15538586A JP15538586A JPS6310914A JP S6310914 A JPS6310914 A JP S6310914A JP 15538586 A JP15538586 A JP 15538586A JP 15538586 A JP15538586 A JP 15538586A JP S6310914 A JPS6310914 A JP S6310914A
Authority
JP
Japan
Prior art keywords
counter
synchronous
bit
frequency
asynchronous
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
JP15538586A
Other languages
Japanese (ja)
Inventor
Tadanori Nakayama
中山 忠則
Masaru Hashirano
柱野 勝
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP15538586A priority Critical patent/JPS6310914A/en
Publication of JPS6310914A publication Critical patent/JPS6310914A/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/58Gating or clocking signals not applied to all stages, i.e. asynchronous counters
    • H03K23/588Combination of a synchronous and an asynchronous counter

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PURPOSE:To fetch an output of a counter and to decode a data without any problem and with less power consumption by constituting the titled counter by an m-bit asynchronous counter and an (n-m)-bit synchronous counter using the most significant digit output of the asynchronous counter as a clock input. CONSTITUTION:The titled counter consists of the m-bit asynchronous counter 4 and the (n-m)-bit synchronous counter 5 using the most significant digit output of the asynchronous counter 4 as the clock input. In an IC comprising a CMOS, the power consumption is increased proportional to the frequency of an input signal. Then the pre-stage counter operated by a signal having a high frequency is constituted by the asynchronous counter 4 with less power consumption and a signal subject to frequency division in the counter 4 to decrease the frequency is processed by the synchronous counter 5 of the post- stage having much power consumption. Thus, the entire power consumption is reduced, and since the frequency is divided by the synchronous counter 5 at the post-stage, the delay in the frequency division output is almost constant at the post-stage and the no sequential delay toward the number of stages is caused. Thus, even with many number of stages of the counters, there is no problem in decoding and fetching the count.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、CMOSロジック回路に使用して有用なnビ
ット分周カウンタに関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to an n-bit divider counter useful for use in CMOS logic circuits.

従来の技術 従来、高周波数を持つクロックをカウンタで分周し、カ
ウンタの出力をデコードして任意のクロック信号を得た
り、ある時点でのカウンタの値をランチに取り込んで得
ることがしばしばある。
2. Description of the Related Art Conventionally, it is often the case that a high-frequency clock is divided by a counter and the output of the counter is decoded to obtain an arbitrary clock signal, or the value of the counter at a certain point in time is taken into the launch.

この分周カウンタとして、非同期カウンタや同期カウン
タが使われている。
As this frequency division counter, an asynchronous counter or a synchronous counter is used.

第1に4ビツトの非同期カウンタの一例を第4図に示し
説明する。第4図に示す様に非同期カウンタは4ケのD
FFをシリアルに接続して構成されている。ひとつのD
FFは、そのひとつ前に接続されているDFFの出力が
、CK入力端子に入力されて動作するので、第6図に示
す如く、後の段の出力はど、入力クロック信号の変化に
対して遅れを生ずる。園内の矢印は、矢印の始点が表す
変化で矢印の終点で表す変化が起こることを示している
First, an example of a 4-bit asynchronous counter is shown and explained in FIG. As shown in Figure 4, the asynchronous counter has four D
It consists of FFs connected serially. one D
The FF operates by inputting the output of the DFF connected before it to the CK input terminal, so as shown in Figure 6, the output of the subsequent stage is sensitive to changes in the input clock signal. causing delays. The arrows in the garden indicate that the change represented by the start point of the arrow will lead to the change represented by the end point of the arrow.

第2に4ピツトの同期カウンタの一例を第6図に示し説
明する。第6図に示す様に同期カウンタは4ケのDFF
と複数のゲート回路で構成されている。4ケのDFFの
出力がデコードされて、各DFFのD入力端子に供給さ
れ、CK入力端子には4ケのDFF共同しクロック信号
が供給されムクロック信号にクロックパルスが得られる
と、各DFFのD入力端子の状態により、4ケのDFF
共、同時に変化するので、第7図に示す如くカウンタの
出力はほぼ同タイミングで変化する。
Second, an example of a 4-pit synchronous counter is shown in FIG. 6 and will be described. As shown in Figure 6, the synchronous counter consists of 4 DFFs.
It consists of multiple gate circuits. The outputs of the four DFFs are decoded and supplied to the D input terminal of each DFF, and the clock signal of the four DFFs is supplied to the CK input terminal.When a clock pulse is obtained from the clock signal, the output of each DFF is Depending on the state of the D input terminal, 4 DFFs
Since both change at the same time, the outputs of the counters change at almost the same timing as shown in FIG.

発明が解決しようとする問題点 入力クロックが高周波数で、分周カウンタの段数が多く
、その分周カウンタに非同期カウンタを用いる場合、以
下のような問題を生ずる。
Problems to be Solved by the Invention When the input clock has a high frequency and the number of stages of a frequency division counter is large, and an asynchronous counter is used as the frequency division counter, the following problems occur.

第8図に示す如く、8ピツトの非同期カウンタの出力が
得られたとすると前述した様に後段のビットにいくほど
人力クロックに対して変化が遅れてしまう。今、イ点で
カウンタ値をラッチに取りこもうとすると、第8図で明
らかな様に“1oQ0000o”が得られず誤った値を
ラッチしてしまう。
As shown in FIG. 8, if the output of an 8-pit asynchronous counter is obtained, as described above, the later the bits are, the later the change is with respect to the human clock. If an attempt is made to capture the counter value into the latch at point A, "1oQ0000o" will not be obtained and an incorrect value will be latched, as is clear from FIG.

◇6.◇6.◇7.Q8の論理演算をしてご10000
0oO”で”H”になる信号を得ようとしても第8図工
の如き信号となって、得ることができない。
◇6. ◇6. ◇7. Do the logical operation of Q8 and get 10,000.
Even if an attempt is made to obtain a signal that becomes "H" at "0oO", the signal shown in Figure 8 will be obtained and cannot be obtained.

同期カウンタで分周カウンタを構成すれば、この問題は
解決するが、同期カウンタはすべてのDFFのCK端子
に高周波数のクロック信号が供給されており、非同期カ
ウンタに比べ消費電力が多く、たいへん不経済である。
This problem can be solved by configuring a frequency division counter with a synchronous counter, but a synchronous counter requires a high-frequency clock signal to be supplied to the CK terminal of all DFFs, consumes more power than an asynchronous counter, and is very inefficient. It's the economy.

本発明はかかる点に鑑み、消費電力が少なく、カウンタ
値の取シこみゃデコードが問題なくできるnビット分周
カウンタを提供することを目的とする。
SUMMARY OF THE INVENTION In view of these points, it is an object of the present invention to provide an n-bit frequency division counter that consumes less power and can read and decode a counter value without any problem.

問題点を解決するための手段 本発明はmビットの非同期カウンタと、前記非同期カウ
ンタの最上位出力をクロック入力とする(n−m)ビッ
トの同期カウンタとで構成したことを特徴とするnビッ
ト分周カウンタである。
Means for Solving the Problems The present invention is an n-bit counter comprising an m-bit asynchronous counter and a (n-m)-bit synchronous counter whose clock input is the most significant output of the asynchronous counter. It is a frequency division counter.

また本発明は、複数の同期カウンタで構成し、前段の同
期カウンタの最上位出力を、後段の同期カウンタのクロ
ック入力としたnビット分周カウンタである。
Further, the present invention is an n-bit frequency dividing counter that is composed of a plurality of synchronous counters, and uses the most significant output of the synchronous counter in the previous stage as a clock input of the synchronous counter in the subsequent stage.

作  用 0MO3で構成されるICでは、入力信号の周波数に比
例して消費電力が増加することが知られている。そこで
周波数の高い信号で動作する前段のカウンタを消費電力
の少ない非同期カウンタで構成し、この非同期カウンタ
で分周した周波数の低くなった信号で、後段の消費電力
が多い同期カウンタを動作させることにより、全体の消
費電力を少なくすることができ、また後段は、同期カウ
ンタで分周をおこなっているので分周出力の遅れは、後
段ではほぼ一定となり、段数に従い順次遅れることはな
く、カウンタの段数が多くとも、デコードやカウンタ値
の取り込みが問題なくできる。
It is known that in an IC configured with 0 MO3, power consumption increases in proportion to the frequency of an input signal. Therefore, by configuring the front-stage counter that operates on high-frequency signals as an asynchronous counter with low power consumption, and using the lower-frequency signal divided by this asynchronous counter to operate the subsequent stage synchronous counter that consumes more power. , the overall power consumption can be reduced, and since frequency division is performed by a synchronous counter in the subsequent stage, the delay in the divided output is almost constant in the subsequent stage, and there is no sequential delay according to the number of stages, and the delay is not delayed according to the number of stages of the counter. Even if there are many numbers, decoding and counter value import can be done without problems.

実施例 以下に図面を参照して本発明の詳細な説明する。Example The present invention will be described in detail below with reference to the drawings.

第1図に本発明のnビット分周カウンタを適用したモー
タ速度制御回路を示す。1は入力されるFG倍信号波形
整形してFGの周期毎に発生するFGパルスを得る波形
整形回路、2はFGパルスを遅延してカウンタのロード
信号、ラッチのラッチ信号を作るタイミング信号発生回
路、3は本発  ・明の8ピツト分周カウンタ、4は8
ピツト分周カウンタ3の前段を構成する2ビット非同期
カウンタ、6は8ピツト分周カウンタの後段を構成する
6ビソト同期カウンタ、6はカウンタ値をラッチするラ
ッチ、7はD/A変換器、8はアンプ、9は制御ループ
を安定にする補償フィルタ、10は供給される電圧に従
ってモータをドライブするドライバ、11はモータ、1
2はモータの回転数に比例した周波数をもつFG倍信号
発生するFG(周波数ジェネレータ)である。
FIG. 1 shows a motor speed control circuit to which the n-bit frequency division counter of the present invention is applied. 1 is a waveform shaping circuit that shapes the waveform of the input FG multiplied signal to obtain an FG pulse generated every FG cycle; 2 is a timing signal generation circuit that delays the FG pulse to generate a counter load signal and a latch latch signal. , 3 is an 8-pit frequency division counter of the present invention, 4 is 8
A 2-bit asynchronous counter that forms the front stage of the pit frequency division counter 3, 6 a 6-bit synchronous counter that forms the rear stage of the 8 pit frequency division counter, 6 a latch that latches the counter value, 7 a D/A converter, 8 is an amplifier, 9 is a compensation filter that stabilizes the control loop, 10 is a driver that drives the motor according to the supplied voltage, 11 is a motor, 1
Reference numeral 2 denotes an FG (frequency generator) that generates an FG multiplied signal having a frequency proportional to the number of rotations of the motor.

以上の様に構成されたモータ速度制御装置の動作を以下
説明する。モータ11の回転数に比例して、FGl 2
から、第2図Aの如<FG倍信号発生され、波形整形回
路1に供給され、波形整形回路1から第2図Bの如<F
Gパルス列が発生される。FGパルス列は、タイミング
信号発生器2に供給され、タイミング信号発生器2ば、
FGパルスの直後にラッチがカウンタ値をとりこんで、
次にカウンタがロードされるように、第2図C,Dの如
くラッチパルス、ロードパルスを発生する。
The operation of the motor speed control device configured as above will be explained below. In proportion to the rotation speed of the motor 11, FGl 2
, a <FG times signal as shown in FIG. 2A is generated and supplied to the waveform shaping circuit 1, and from the waveform shaping circuit 1 as shown in FIG.
A G pulse train is generated. The FG pulse train is supplied to the timing signal generator 2, and the timing signal generator 2,
Immediately after the FG pulse, the latch takes in the counter value,
Next, in order to load the counter, a latch pulse and a load pulse are generated as shown in FIG. 2C and D.

そして分周カウンタ3がクロック信号で第2図Eの如く
カウントしていき、FGパルスの間隔すなわちFG同周
期ラッチ6に得る。ラッチ6で得たFG同周期D/A変
換器7とアンプ8で電圧として得て、フィルタ9を介し
て、ドライバ1oに供給され、負荷が一定なら、モータ
11が定速で駆動される。
Then, the frequency division counter 3 counts using the clock signal as shown in FIG. The FG obtained by the latch 6 is obtained as a voltage by the same period D/A converter 7 and the amplifier 8, and is supplied to the driver 1o via the filter 9. If the load is constant, the motor 11 is driven at a constant speed.

モータ11の負荷が増加して、モータ11の回転数が下
がるとFG倍信号周波数が低くなり、ラッチ6に得るF
G同周期値が増える。FG同周期値が電圧に変換され、
モータ11を駆動しているので、FG同周期増えれば、
モータ11を駆動する電圧が増え、モータ11の速度が
上げられる。
When the load on the motor 11 increases and the rotation speed of the motor 11 decreases, the FG multiplication signal frequency decreases, and the F obtained at the latch 6 decreases.
G same period value increases. The FG same period value is converted to voltage,
Since the motor 11 is being driven, if the same period of FG increases,
The voltage driving motor 11 is increased and the speed of motor 11 is increased.

モータ11の回転数が上がると、逆の動作がおこなわれ
モータ11の速度を下げ、速度を一定とする制御がなさ
れる。
When the rotational speed of the motor 11 increases, a reverse operation is performed to reduce the speed of the motor 11 and control the speed to be constant.

次に、本発明の分周カウンタ3の動作を第3図のタイム
チャートを参照して説明する。分周カウンタ3はロード
パルスでロードし、そしてクロック信号をカウントし、
第3図B〜工の如く出力Q1−Q8を得る。出力Q4.
Q2,03は11次遅れていく力ζQ3以降は同期カウ
ンタ6で分周している為遅れはほぼ一定となるので、分
局カラ/り3の出力の遅れは少なくなる。そして、分局
カウンタ3の出力をラッチするタイミングをクロック信
号より、第3図1の如く、td=t4.遅らせたタイミ
ングでラッチすれば、誤)なく分周カウンタ3の出力を
ラッチすることができる。
Next, the operation of the frequency division counter 3 of the present invention will be explained with reference to the time chart of FIG. The frequency division counter 3 loads with the load pulse and counts the clock signal,
Outputs Q1-Q8 are obtained as shown in FIG. Output Q4.
Since Q2 and Q03 are the 11th-order delayed power ζQ3, the delay is almost constant because the frequency is divided by the synchronization counter 6, so the delay in the output of the branch station color/re3 is reduced. Then, the timing at which the output of the branch counter 3 is latched is determined by the clock signal, as shown in FIG. 3, td=t4. By latching at a delayed timing, the output of the frequency division counter 3 can be latched without error.

従ってFGパルスの周期を誤シなく得ることができ、モ
ータの速度制御が安定にできる。
Therefore, the period of the FG pulse can be obtained without error, and the speed of the motor can be controlled stably.

本実施例では、n=8.m=2として分周カウンタを構
成したが、mは正の整数であれば良く、また( n −
m )ビットの同期カウンタを、2ブロック以上に分割
し、前段ブロックの出力を後段ブロックのクロックとし
て用いて、複数の同期カウンタを非同期接続する構成と
しても構わない。さらに、消費電力が少々増えても構わ
ない場合は初段のmビットをも同期カウンタとする構成
にし、全体として複数の同期カウンタを非同期接続した
構成としてもよい。
In this example, n=8. Although the frequency dividing counter was configured with m=2, m may be any positive integer, and (n −
It is also possible to divide the m)-bit synchronous counter into two or more blocks, use the output of the previous block as a clock for the subsequent block, and connect a plurality of synchronous counters asynchronously. Furthermore, if a slight increase in power consumption is acceptable, the m bits in the first stage may also be configured as synchronous counters, and the overall configuration may be such that a plurality of synchronous counters are connected asynchronously.

発明の詳細 な説明した様に本発明によれば、消費電力が少なく、カ
ウンタの出力の取りこみやデコードが問題がなくでき、
その実用的効果は大きい。
As described in detail, according to the present invention, the power consumption is low, and the output of the counter can be taken in and decoded without any problem.
Its practical effects are great.

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

第1図は本発明を適用した一実施例のモータ速度制御回
路のブロック図、第2図は同実施例の動作タイムチャー
ト、第3図は同実施例の本発明を説明するタイムチャー
ト、第4図は非同期カウンタの回路図、第5図は非同期
カウンタの動作タイムチャート、第6図は同期カウンタ
の回路図、第7図は同期カウンタの動作タイムチャート
、第8図は非同期カウンタの問題点を説明するタイムチ
ャートである。 3・・・・・・分周カウンタ、4・・・・・・非同期カ
ウンタ、5・・・・・・同期カウンタ。 代理人の氏名 弁理士 中 尾 敏 男 ほか1名第2
図 第 3 図 シ L 第 4 図 第 5 図 第6図
Fig. 1 is a block diagram of a motor speed control circuit according to an embodiment of the present invention, Fig. 2 is an operation time chart of the embodiment, and Fig. 3 is a time chart explaining the present invention of the embodiment. Figure 4 is a circuit diagram of an asynchronous counter, Figure 5 is an operation time chart of an asynchronous counter, Figure 6 is a circuit diagram of a synchronous counter, Figure 7 is an operation time chart of a synchronous counter, and Figure 8 is a problem with an asynchronous counter. It is a time chart explaining. 3... Frequency division counter, 4... Asynchronous counter, 5... Synchronous counter. Name of agent: Patent attorney Toshio Nakao and 1 other person 2nd
Figure 3 Figure 4 Figure 5 Figure 6

Claims (3)

【特許請求の範囲】[Claims] (1)mビットの非同期カウンタと、前記非同期カウン
タの最上位出力をクロック入力とする(n−m)ビット
の同期カウンタとで構成したことを特徴とするnビット
分周カウンタ。
(1) An n-bit frequency division counter comprising an m-bit asynchronous counter and an (n-m)-bit synchronous counter whose clock input is the most significant output of the asynchronous counter.
(2)(n−m)ビットの同期カウンタを複数の同期カ
ウンタで構成し、前段の同期カウンタの最上位出力を、
後段の同期カウンタのクロック入力とした特許請求の範
囲第1項記載のnビット分周カウンタ。
(2) The (n-m) bit synchronous counter is composed of multiple synchronous counters, and the highest output of the previous stage synchronous counter is
2. The n-bit frequency dividing counter according to claim 1, which is used as a clock input of a subsequent stage synchronous counter.
(3)複数の同期カウンタで構成し、前段の同期カウン
タの最上位出力を、後段の同期カウンタのクロック入力
としたことを特徴とするnビット分周カウンタ。
(3) An n-bit frequency division counter comprising a plurality of synchronous counters, and characterized in that the most significant output of the synchronous counter in the previous stage is used as the clock input of the synchronous counter in the subsequent stage.
JP15538586A 1986-07-02 1986-07-02 N-bit frequency division counter Pending JPS6310914A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15538586A JPS6310914A (en) 1986-07-02 1986-07-02 N-bit frequency division counter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15538586A JPS6310914A (en) 1986-07-02 1986-07-02 N-bit frequency division counter

Publications (1)

Publication Number Publication Date
JPS6310914A true JPS6310914A (en) 1988-01-18

Family

ID=15604792

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15538586A Pending JPS6310914A (en) 1986-07-02 1986-07-02 N-bit frequency division counter

Country Status (1)

Country Link
JP (1) JPS6310914A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0396014A (en) * 1989-09-07 1991-04-22 Nec Corp Synchronizing counter

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0396014A (en) * 1989-09-07 1991-04-22 Nec Corp Synchronizing counter

Similar Documents

Publication Publication Date Title
JPS6310914A (en) N-bit frequency division counter
JPH0219021A (en) Digital pulse width modulation circuit
JP2555978B2 (en) Divider circuit
KR200164990Y1 (en) 50% duty odd frequency demultiplier
JPS62126717A (en) Serial parallel conversion circuit
JPS60189330A (en) Parallel-series converter
JP2690516B2 (en) Ring counter
JPH0783257B2 (en) Variable frequency divider
JP2984429B2 (en) Semiconductor integrated circuit
JP2841360B2 (en) Timing generator
JP3155026B2 (en) Accumulator
JPH0879029A (en) Four-phase clock pulse generating circuit
JPH03171820A (en) 2n-1 frequency dividing circuit
JPH0429248B2 (en)
JPH01319321A (en) Digital frequency multiplier circuit
JPH0561648A (en) Partial multiplier selecting circuit
JP2754005B2 (en) Polyphase pulse generation circuit
SU1172004A1 (en) Controlled frequency divider
JP2689539B2 (en) Divider
JPH0514186A (en) Pulse width modulation circuit
JPH0691425B2 (en) Frequency divider using D-type flip-flop
JPH02305022A (en) Frequency dividing circuit
JP3514020B2 (en) Rate generator
JPH03812B2 (en)
JPH04281615A (en) Pulse extension latch circuit