JPS6345547B2 - - Google Patents

Info

Publication number
JPS6345547B2
JPS6345547B2 JP9972182A JP9972182A JPS6345547B2 JP S6345547 B2 JPS6345547 B2 JP S6345547B2 JP 9972182 A JP9972182 A JP 9972182A JP 9972182 A JP9972182 A JP 9972182A JP S6345547 B2 JPS6345547 B2 JP S6345547B2
Authority
JP
Japan
Prior art keywords
output
counter
timing
input
pulse
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.)
Expired
Application number
JP9972182A
Other languages
Japanese (ja)
Other versions
JPS58215567A (en
Inventor
Shigetatsu Katori
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.)
NEC Corp
Original Assignee
Nippon Electric 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP9972182A priority Critical patent/JPS58215567A/en
Publication of JPS58215567A publication Critical patent/JPS58215567A/en
Publication of JPS6345547B2 publication Critical patent/JPS6345547B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R23/00Arrangements for measuring frequencies; Arrangements for analysing frequency spectra
    • G01R23/02Arrangements for measuring frequency, e.g. pulse repetition rate; Arrangements for measuring period of current or voltage
    • G01R23/06Arrangements for measuring frequency, e.g. pulse repetition rate; Arrangements for measuring period of current or voltage by converting frequency into an amplitude of current or voltage
    • G01R23/09Arrangements for measuring frequency, e.g. pulse repetition rate; Arrangements for measuring period of current or voltage by converting frequency into an amplitude of current or voltage using analogue integrators, e.g. capacitors establishing a mean value by balance of input signals and defined discharge signals or leakage

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Measurement Of Unknown Time Intervals (AREA)
  • Measuring Frequencies, Analyzing Spectra (AREA)
  • Manipulation Of Pulses (AREA)

Description

【発明の詳細な説明】 本発明は、プログラムで設定された値に基づい
てパルスの出力タイミングを作り、さらに、外部
から入力するパルスの入力タイミングを測定する
矩形波制御回路に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a rectangular wave control circuit that creates pulse output timing based on values set in a program and further measures the input timing of externally input pulses.

パルス信号で制御されるシステムでは、通常パ
ルス信号の入・出力のタイミングやパルスの幅あ
るいは個数がシステム制御のために用いられる。
例えば、自動車を制御する場合、車速、モータ、
燃料等の自動制御が要求される。車速はタイヤの
回転数をセンサによつて検出し、このセンサから
のパルス出力に基いて回転速度が計算される。一
方、燃料やモータの制御は、計数値に基いて発生
されるパルスのアクテイブレベルの期間で燃料の
供給(流量制御)やモータへの駆動電流の制御が
行なわれる。従つて、外部から入力されるパルス
信号(回転数を示す信号)や外部へ出力されるパ
ルス信号を正確に計測制御しなければならない。
このようなパルス信号の制御は、基準クロツクと
なる特別の基本クロツクを計数して、入力パルス
信号の周期の測定や出力パルス信号のアクテイブ
レベル期間の制御が行なわれる。
In systems controlled by pulse signals, the input/output timing of pulse signals, the width or number of pulses are usually used for system control.
For example, when controlling a car, the vehicle speed, motor,
Automatic control of fuel, etc. is required. The vehicle speed is determined by detecting the rotational speed of the tires by a sensor, and the rotational speed is calculated based on the pulse output from this sensor. On the other hand, in controlling the fuel and motor, fuel supply (flow rate control) and drive current to the motor are controlled during the active level period of pulses generated based on count values. Therefore, it is necessary to accurately measure and control pulse signals input from the outside (signals indicating the rotational speed) and pulse signals output to the outside.
In controlling such a pulse signal, a special basic clock serving as a reference clock is counted to measure the cycle of the input pulse signal and control the active level period of the output pulse signal.

従来使用されている基準クロツク数計回路を第
1図のブロツク図及び第2図から第4図のタイミ
ングチヤートを参照して説明する。
A conventionally used reference clock counting circuit will be explained with reference to the block diagram of FIG. 1 and the timing charts of FIGS. 2 to 4.

第1図のブロツク図においてインクリメンタ1
−0は基準クロツクが入力する毎にカウンタラツ
チ1−1の内容を+1だけ増加させる。比較レジ
スタ1−2には内部データバス1−3を介してパ
ルス信号の出力タイミングに相当する比較データ
が格納される。比較器1−4はアツプカウンタ1
−1内のアウント値と比較レジスタ1−2内の比
較データを常時比較し、両者が一致するとパルス
回路1−5に一致信号を出力する。パルス出力回
路1−5は一致信号が入力する毎に出力端子1−
6の出力状態を変化させると同時にカウンタラツ
チ1−1のクリアの制御を行なう。転送ゲート1
−8へ入力端子1−9に外部パルス信号が入力す
るとカウンタラツチ1−1の内容を入力レジスタ
1−7に転送し、入力レジスタ1−7はこの外部
パルス信号が入力したタイミングを保持する。入
力レジスタ1−7のデータは内部データバス1−
3を介して読み出す事ができる。
In the block diagram of Figure 1, incrementer 1
-0 increments the contents of counter 1-1 by +1 each time the reference clock is input. Comparison data corresponding to the output timing of the pulse signal is stored in the comparison register 1-2 via the internal data bus 1-3. Comparators 1-4 are up counters 1
The out value within -1 is constantly compared with the comparison data in the comparison register 1-2, and when the two match, a match signal is output to the pulse circuit 1-5. The pulse output circuit 1-5 outputs the output terminal 1- every time a coincidence signal is input.
At the same time as changing the output state of counter 6, clearing of counter 1-1 is controlled. Transfer gate 1
When an external pulse signal is input to input terminal 1-9 of -8, the contents of counter 1-1 are transferred to input register 1-7, and input register 1-7 holds the timing at which this external pulse signal is input. Data in input registers 1-7 is transferred to internal data bus 1-
It can be read out via 3.

第2図、第3図、第4図はそれぞれ入力端子1
−9より入力する矩形波の周期を計測する場合、
出力端子1−6から制御用のパルスを出力する場
合、両処理を同時に行なう場合のタイミングチヤ
ートである。
Figures 2, 3, and 4 each show input terminal 1.
When measuring the period of the rectangular wave input from −9,
This is a timing chart when both processes are performed simultaneously when a control pulse is output from the output terminal 1-6.

周期計測では第2図のタイミングチヤートにお
いて、入力端子1−9にt1のタイミングで矩形波
の第1の立ち上がりエツジが入力すると、転送ゲ
ート1−8が開き、カウンタラツチ1−1のt1
おける第1のカウント値が入力レジスタ1−7に
転送される。同様に、次のt2のタイミングで第2
の立ち上がりエツジが入力すると、カウンタラツ
チ1−1のt2における第2のカウント値が入力レ
ジスタ1−7に転送される。矩形波の周期T1は、
この第1、第2のカウント値の差を計算して得ら
れる。パルス出力では第1図のブロツク図と、第
3図のタイミングチヤートにおいて、周期T2
1/2に相当する比較データが比較レジスタ1−2
に格納されている。カウンタラツチ1−1と比較
レジスタ1−2の内容が比較器1−4で比較さ
れ、t3のタイミングで第1の一致を検出すると一
致信号をパルス出力回路1−5と出力する。パル
ス出力回路1−5はこの一致信号に同期して出力
端子1−6への出力レベルを変化させると同期に
カウンタラツチ1−1をクリアする。カウンタラ
ツチ1−1は再び0から基準クロツクの入力毎に
増加する。次に、比較器1−4がt4のタイミング
で第2の一致を検出すると、パルス出力回路1−
5は出力端子1−6への出力レベルを変化させ、
同時にカウンタラツチ1−1をクリアする。上記
動作を繰り返し出力端子1−6からは一致検出毎
にレベルが変化する矩形波が出力される。
In the period measurement, in the timing chart shown in Fig. 2, when the first rising edge of the rectangular wave is input to the input terminal 1-9 at the timing t1 , the transfer gate 1-8 opens and the counter 1-1 starts at the timing t1. The first count value at is transferred to input register 1-7. Similarly, at the next timing t 2 , the second
When the rising edge of is input, the second count value at t2 of counter 1-1 is transferred to input register 1-7. The period T 1 of the square wave is
It is obtained by calculating the difference between the first and second count values. In the pulse output, in the block diagram of FIG. 1 and the timing chart of FIG .
is stored in. The contents of the counter latch 1-1 and the comparison register 1-2 are compared by the comparator 1-4, and when a first match is detected at timing t3 , a match signal is outputted to the pulse output circuit 1-5. When the pulse output circuit 1-5 changes the output level to the output terminal 1-6 in synchronization with this coincidence signal, it also clears the counter latch 1-1. Counter 1-1 again increases from 0 each time the reference clock is input. Next, when the comparator 1-4 detects the second match at timing t4 , the pulse output circuit 1-4 detects the second match at timing t4.
5 changes the output level to output terminals 1-6,
At the same time, clear counter 1-1. The above operation is repeated and a rectangular wave whose level changes every time a match is detected is output from the output terminal 1-6.

一般に、上述した入力パルス信号の周期計測と
出力パルス信号のパルス幅の制御は、例えばそれ
が前述した自動車の制御である場合には、常に、
同時に制御されうるものでなければならない。即
ち、入力パルス信号の周期計測の間、出力パルス
信号の制御を中断することはできない。
Generally, the above-mentioned period measurement of the input pulse signal and control of the pulse width of the output pulse signal are always carried out, for example, when controlling the above-mentioned automobile.
It must be able to be controlled at the same time. That is, the control of the output pulse signal cannot be interrupted while the cycle of the input pulse signal is being measured.

従来の基準クロツク計数回路を使用して前述の
周期計測とパルス出力を同時に行なう時の動作を
第4図のタイミングチヤートを参照して説明す
る。
The operation of simultaneously performing the above-mentioned period measurement and pulse output using a conventional reference clock counting circuit will be described with reference to the timing chart shown in FIG.

周期の測定の方法は第2図のタイミングチヤー
トで説明した方法とまつたく同様である。パルス
の出力方法はカウンタラツチ1−1が基準クロツ
クをカウントアツプして周期計測を行なつている
為に比較器1−4から出力する一致信号に同期し
てカウンタラツチ1−1をクリアする事ができ
ず、以下の様に別の方法でパルス出力を行なつて
いる。比較器1−4がカウンタラツチ1−1と比
較レジスタ1−2との第1の一致をt6のタイミン
グで検出すると、パルス出力回路1−5はこのタ
イミングで出力端子1−6の出力レベルを変化さ
せる。但しカウンタラツチ1−1のクリアは行な
わない。この時、t6に同期して発生する割込みを
利用して第2の一致が発生するべきt7のタイミン
グに対応する比較データを得る為に比較レジスタ
1−2内に格納されているタイミングt6に対応す
るデータと、同期T2の1/2に相当するデータとを
加算し、この加算結果を第2の一致に対する比較
データとして新たに比較レジスタ1−2に設定す
る。次のt7のタイミングに同期して第2の一致信
号を検出すると、今度はt8のタイミングに相当す
る比較データを計算して再び比較レジスタ1−2
に格納し、以下同じ動作を繰り返す。
The method of measuring the period is exactly the same as the method explained in the timing chart of FIG. The pulse output method is to clear the counter 1-1 in synchronization with the coincidence signal output from the comparator 1-4, since the counter 1-1 counts up the reference clock and measures the period. Since this is not possible, pulse output is performed using a different method as shown below. When the comparator 1-4 detects the first match between the counter touch 1-1 and the comparison register 1-2 at timing t6 , the pulse output circuit 1-5 changes the output level of the output terminal 1-6 at this timing. change. However, counter 1-1 is not cleared. At this time, the timing t stored in the comparison register 1-2 is used to obtain comparison data corresponding to the timing t7 at which the second match should occur, using an interrupt that occurs in synchronization with t6 . 6 and data corresponding to 1/2 of the synchronization T 2 are added, and the result of this addition is newly set in the comparison register 1-2 as comparison data for the second coincidence. When the second match signal is detected in synchronization with the next timing t7 , comparison data corresponding to the timing t8 is calculated and the comparison registers 1-2 are loaded again.
, and then repeat the same operation.

また測定として周期測定を例にして説明した
が、パルス幅の測定、パルス入力タイミングの測
定の場合も同様に入力レジスタ1−7に保持され
たデータを処理して得られる。
Although period measurement has been described as an example of measurement, pulse width measurement and pulse input timing measurement are similarly obtained by processing data held in the input registers 1-7.

以上説明した様に従来の基準クロツク計数回路
で外部パルスに対する各種の計測と制御パルス信
号の出力を同時に行なう場合には矩形波出力の変
化タイミングを示す一致信号が発生する毎に次の
一致の準備として、新しく比較データを設定し直
さなければならないという第1の欠点と、矩形波
出力タイミングの発生方法がフリーランニングの
アツプカウンタのカウント値を基本とした制御で
ある為、比較レジスタに設定する比較データに単
純に矩形波の周期と対応するデータではなく、常
に、以前の比較データを加算した値を設定し、ア
ツプカウンタのカウント値に対する重みづけをし
なければならないという第2の欠点と、アツプカ
ウンタと比較レジスタの他に、両者の一致を検出
する為に比較器を必要とし、ハードウエアを増大
させるという第3の欠点があつた。
As explained above, when a conventional reference clock counting circuit simultaneously performs various measurements on external pulses and outputs control pulse signals, preparations for the next coincidence are made every time a coincidence signal indicating the change timing of the rectangular wave output is generated. The first disadvantage is that new comparison data must be set, and the method of generating square wave output timing is control based on the count value of a free-running up counter, so the comparison data set in the comparison register is The second drawback is that the data does not simply correspond to the period of the rectangular wave, but a value that is added to the previous comparison data must be set, and weighting is applied to the count value of the up counter. In addition to the counter and the comparison register, a comparator is required to detect a match between the two, resulting in an increase in hardware, which is a third drawback.

本発明の目的は少ないハードウエア量で複数の
矩形波信号を制御できる矩形波制御回路を提供す
ることである。
An object of the present invention is to provide a rectangular wave control circuit that can control a plurality of rectangular wave signals with a small amount of hardware.

本発明は第1の矩形波の周期計測と第2の矩形
波の変化タイミングとを制御する矩形波制御回路
において、第1および第2のカウンタラツチと、
前記第1および第2のカウンタラツチに共通に接
続され、基準クロツクに基いて前記第1および第
2のカウンタラツチの内容を時分割に変化する単
一の増減器とを有し、前記第1の矩形波の変化点
毎に前記第1のカウンタラツチの内容を周期計測
部に読み出し、前記第2のカウンタラツチのオー
バーフローまたはアンダーフロー毎に前記第2の
矩形波を変化せしめるとともに前記第2のカウン
タラツチに所定の値を設定することを特徴とする
ものである。
The present invention provides a rectangular wave control circuit that controls period measurement of a first rectangular wave and change timing of a second rectangular wave, including first and second counters;
a single increment/decrement unit commonly connected to the first and second counters for time-divisionally varying the contents of the first and second counters based on a reference clock; The contents of the first counter touch are read out to the period measuring section at every change point of the square wave, and the second square wave is changed every time the second counter touch overflows or underflows. This method is characterized by setting a predetermined value in the counter.

本発明の一実施例を第5〜7図を用いて詳しく
説明する。
An embodiment of the present invention will be described in detail using FIGS. 5 to 7.

第5図のブロツク図において、第1のカウンタ
ラツチ1−1、内部バス1−3、パルス出力回路
1−5、出力端子1−6、入力レジスタ1−7、
第1の転送ゲート1−8、入力端子1−9は第1
図のブロツク図で説明したものと同様である。増
減器2−0は制御回路2−1の制御で時分割で動
作し基準クロツクが入力した時に第1のカウンタ
ラツチ1−1の内容を1だけ増し、さらに第2の
カウンタラツチ2−2の内容を1だけ減少させ
る。カウンタレジスタ2−3には内部データバス
1−3を介して、パルス信号の幅に相当するデー
タが格納される。パルス出力回路は第2のカウン
タラツチ2−2の内容のデイクリメントで、ボロ
ーが出力された時に、出力端子1−6の出力状態
を変化させると同時に、出力端子1−6の出力状
態を変化させると同時に、第2の転送ゲート2−
4を開き、カウントレジスタ2−3の内容を第2
のカウンタクラツチに転送する。
In the block diagram of FIG. 5, a first counter latch 1-1, an internal bus 1-3, a pulse output circuit 1-5, an output terminal 1-6, an input register 1-7,
The first transfer gate 1-8, the input terminal 1-9 is the first
This is the same as that explained in the block diagram of the figure. The increase/decrease device 2-0 operates in a time-division manner under the control of the control circuit 2-1, and when the reference clock is input, it increments the contents of the first counter 1-1 by 1 and further increases the contents of the second counter 2-2. Decrement the content by 1. Data corresponding to the width of the pulse signal is stored in the counter register 2-3 via the internal data bus 1-3. The pulse output circuit changes the output state of the output terminal 1-6 by decrementing the contents of the second counter 2-2, and simultaneously changes the output state of the output terminal 1-6 when a borrow is output. At the same time, the second transfer gate 2-
4 and read the contents of count registers 2-3 to the second
transfer to the counter clutch.

つぎに第6図のタイミングチヤートを参照して
本発明に基づく基準クロツク計数回路の動作を説
明する。増減器2−0は制御回路2−1から出力
される制御信号により時分割で使用され、t6のタ
イミングで基準クロツクが入力した場合、制御信
号がハイレベルの期間で第1のカウンタラツチ1
−1の内容を1だけ増加させ、続くロウレベルの
期間で第2のカウンタラツチ2−2の内容を1だ
け減少させる。次のt7のタイミングで再び基準ク
ロツクが入力すると再び上述の動作を繰り返す。
Next, the operation of the reference clock counting circuit according to the present invention will be explained with reference to the timing chart of FIG. The increase/decrease device 2-0 is used in a time-division manner according to the control signal output from the control circuit 2-1, and when the reference clock is input at timing t6 , the first counter 1 is activated during the period when the control signal is at a high level.
-1 is incremented by 1, and the content of the second counter 2-2 is decreased by 1 during the subsequent low level period. When the reference clock is input again at the next timing t7 , the above operation is repeated again.

本発明に基づく基準クロツク計数回路を使つ
て、周期計測とパルス出力を同時に行う時の動作
を第7図のタイミングチヤートを参照して説明す
る。周期の測定の方法は第2図のタイミングチヤ
ートで説明した方法とまつたく同様であり、t1
タイミングで入力レジスタ1−7に保持される第
1のカウンタラツチ1−1内に第1のカウント値
と、t2のタイミングで保持される第2のカウント
値の差を計算する事により得られる。パルス出力
では次の動作が行なわれる。カウントレジスタ2
−3には出力パルス周期T2の1/2に相当するデー
タが格納されている。増減器2−0は基準クロツ
クが入力する毎に第2のカウンタラツチ2−2の
内容を1づつ減少させる。減少の結果t6のタイミ
ングで第1のボローが出力されるとこのボロー信
号をパルス出力回路1−5に出力する。パルス出
力回路1−5はこのボロー信号に同期して出力端
子1−6の出力レベルを変化させると同時に、第
2の転送ゲート2−4を開きカウントレジスタ2
−3の内容が第2のカウンタラツチ2−2に転送
される。再び、第2のカウンタラツチは基準クロ
ツク毎に1つづ減少される。増減器2−0が次の
t7のタイミングで第2のボローを出力すると、再
び上記と同じ動作の繰り返し出力端子1−6から
はボロー信号毎にレベルが変化する矩形波が出力
される。
The operation of simultaneously performing period measurement and pulse output using the reference clock counting circuit according to the present invention will be described with reference to the timing chart shown in FIG. The method of measuring the period is exactly the same as the method explained in the timing chart of FIG . It is obtained by calculating the difference between the count value and the second count value held at timing t2 . The following operations are performed during pulse output. Count register 2
-3 stores data corresponding to 1/2 of the output pulse period T2 . The incrementer/decrementer 2-0 decrements the content of the second counter 2-2 by one each time the reference clock is input. As a result of the decrease, when a first borrow is output at timing t6 , this borrow signal is output to the pulse output circuit 1-5. The pulse output circuit 1-5 changes the output level of the output terminal 1-6 in synchronization with this borrow signal, and at the same time opens the second transfer gate 2-4 and outputs the count register 2.
-3 is transferred to the second counter 2-2. Again, the second counter is decremented by one every reference clock. Increase/decrease 2-0 is next
When the second borrow is output at timing t7 , the same operation as above is repeated again, and a rectangular wave whose level changes for each borrow signal is output from the output terminal 1-6.

以上説明した様に本発明に基づく基準クロツク
計数回路は外部パルスに対する種々の計測と、制
御パルス信号の出力を同時しかも簡単に処理でき
る。特に、制御用パルス信号の出力においてはカ
ウントレジスタに設定するデータは、基準クロツ
クのダウンカウントを基本とする為、従来のよう
なアツプカウントに対する重みづけの必要がな
い。また出力レベルが変化する毎に設定個を更新
する必要もなく、ソフトウエアの手間の大幅な軽
減が可能である。また、ハードウエア量において
も、カウンタと比較レジスタの一致を検出する比
較器が不要となり、従来に比較して、ハードウエ
アも大幅に減少させる事が可能であり、複雑なパ
ルス信号処理機能を持つ1チツプマイクロコンピ
ユータに対しては実用効果が非常に大きい。
As described above, the reference clock counting circuit according to the present invention can simultaneously and easily process various measurements for external pulses and the output of control pulse signals. In particular, in the output of the control pulse signal, the data set in the count register is based on down-counting of the reference clock, so there is no need to weight up-counting as in the prior art. Furthermore, there is no need to update the settings each time the output level changes, and the software effort can be significantly reduced. In addition, in terms of hardware, there is no need for a comparator to detect the match between the counter and the comparison register, making it possible to significantly reduce the amount of hardware compared to conventional products, allowing for complex pulse signal processing functions. The practical effect is very large for a 1-chip microcomputer.

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

第1図は従来の矩形波制御回路を示すブロツク
図、第2図、第3図、第4図は第1図の動作を示
すタイミング図、第5図は本発明の実施例を示す
ブロツク図、第6図、第7図は第5図の動作を示
すタイミング図である。 1−0……インクリメンタ、1−1……第1の
カウンタラツチ、1−2……比較レジスタ、1−
3……データバス、1−4……比較器、1−5…
…パルス出力回路、1−6……出力端子、1−7
……入力レジスタ、1−8……第1の転送ゲー
ト、1−9……入力端子、2−0……増減器、2
−1……制御回路、2−2……第2のカウンタラ
ツチ、2−3……カウントレジスタ、2−4……
第2の転送ゲート。
FIG. 1 is a block diagram showing a conventional rectangular wave control circuit, FIGS. 2, 3, and 4 are timing diagrams showing the operation of FIG. 1, and FIG. 5 is a block diagram showing an embodiment of the present invention. , FIG. 6, and FIG. 7 are timing diagrams showing the operation of FIG. 5. 1-0...Incrementer, 1-1...First counter launch, 1-2...Comparison register, 1-
3...Data bus, 1-4...Comparator, 1-5...
...Pulse output circuit, 1-6...Output terminal, 1-7
...Input register, 1-8...First transfer gate, 1-9...Input terminal, 2-0...Increase/decrease, 2
-1...Control circuit, 2-2...Second counter touch, 2-3...Count register, 2-4...
Second transfer gate.

Claims (1)

【特許請求の範囲】[Claims] 1 第1の矩形波の周期計測と第2の矩形波の変
化タイミングとを制御する矩形波制御回路におい
て、第1および第2のカウンタラツチと、前記第
1および第2のカウンタラツチに共通に接続さ
れ、基準クロツクに基いて前記第1および第2の
カウンタラツチの内容を時分割に変化する単一の
増減器とを有し、前記第1の矩形波の変化点毎に
前記第1のカウンタラツチの内容を周期計測部に
読み出し、前記第2のカウンタラツチのオーバー
フローまたはアンダーフロー毎に前記第2の矩形
波を変化せしめるとともに前記第2のカウンタラ
ツチに所定の値を設定することを特徴とする矩形
波制御回路。
1. In a rectangular wave control circuit that controls period measurement of the first rectangular wave and change timing of the second rectangular wave, the first and second counters and the first and second counters have a single increment/decrement device connected to the clock for changing the contents of the first and second counters in a time-division manner based on a reference clock; The contents of the counter touch are read to a period measuring section, and the second rectangular wave is changed every time the second counter touch overflows or underflows, and a predetermined value is set in the second counter touch. A square wave control circuit.
JP9972182A 1982-06-10 1982-06-10 Rectangular wave control circuit Granted JPS58215567A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9972182A JPS58215567A (en) 1982-06-10 1982-06-10 Rectangular wave control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9972182A JPS58215567A (en) 1982-06-10 1982-06-10 Rectangular wave control circuit

Publications (2)

Publication Number Publication Date
JPS58215567A JPS58215567A (en) 1983-12-15
JPS6345547B2 true JPS6345547B2 (en) 1988-09-09

Family

ID=14254933

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9972182A Granted JPS58215567A (en) 1982-06-10 1982-06-10 Rectangular wave control circuit

Country Status (1)

Country Link
JP (1) JPS58215567A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4510274B2 (en) * 2000-11-30 2010-07-21 パナソニック株式会社 Frequency detection method, frequency detection apparatus, and recording medium

Also Published As

Publication number Publication date
JPS58215567A (en) 1983-12-15

Similar Documents

Publication Publication Date Title
JPH04344466A (en) Detecting device for velocity of elevator
EP0374797B1 (en) Digital servo system for controlling rotational speed of rotary body
JPS6345547B2 (en)
US5357490A (en) Measuring timer system
JP2712045B2 (en) Rotational speed measuring device
JP2827446B2 (en) Motor speed detection method
JPS63187913A (en) Pulse duty detecting circuit
JPH0329749Y2 (en)
JP2998185B2 (en) Speed detector
JPH04233467A (en) Method and apparatus for measuring speed of motor
JP3049671B2 (en) DC motor speed control device
US5511047A (en) High resolution timer using low resolution counter
KR100233990B1 (en) Vehicle rotating speed measuring method for electric car
JPS6311662Y2 (en)
SU1364993A1 (en) Device for measuring and regulating speed ratios
JPH0714901Y2 (en) Engine rotation signal processor
JP2000059206A (en) Pulse count system for pulse input circuit
JPH0527065B2 (en)
JPH0120393B2 (en)
JP2725463B2 (en) Servo motor speed detector
SU1709524A1 (en) Phase shift-to-code converter
JPS63289457A (en) Vehicle speed detector
JPS62259101A (en) Speed arithmetic system
JPS6298265A (en) Speed detecting device
JPS5873872A (en) Digital method for detecting velocity