JPH0630438B2 - Pulse generator - Google Patents

Pulse generator

Info

Publication number
JPH0630438B2
JPH0630438B2 JP62168099A JP16809987A JPH0630438B2 JP H0630438 B2 JPH0630438 B2 JP H0630438B2 JP 62168099 A JP62168099 A JP 62168099A JP 16809987 A JP16809987 A JP 16809987A JP H0630438 B2 JPH0630438 B2 JP H0630438B2
Authority
JP
Japan
Prior art keywords
signal
pulse
flop
flip
output
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 - Lifetime
Application number
JP62168099A
Other languages
Japanese (ja)
Other versions
JPS6412617A (en
Inventor
秀夫 萬歳
裕 小野
慎治 小林
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa 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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP62168099A priority Critical patent/JPH0630438B2/en
Publication of JPS6412617A publication Critical patent/JPS6412617A/en
Publication of JPH0630438B2 publication Critical patent/JPH0630438B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Pulse Circuits (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は所定のパルス数のシリアルパルス信号を出力す
るパルス発生回路の改善に関するものである。
The present invention relates to an improvement of a pulse generation circuit that outputs a serial pulse signal having a predetermined number of pulses.

[従来の技術] 従来のパルス発生器としては、マイクロプロセツサで出
力パルス数を設定すると、一定周波数で設定パルス数の
シリアルパルス信号を出力するものがあった。
[Prior Art] As a conventional pulse generator, there is a pulse generator which outputs a set number of serial pulse signals at a constant frequency when the number of output pulses is set by a microprocessor.

[発明が解決しようとする問題点] しかし、このようなパルス発生器では、出力パルス信号
の周波数が一定であるため、出力信号は第7図に示すよ
うに、バースト状のパルス信号になる。このため、出力
パルスの受側が例えばパルスモータの駆動回路であった
りすると、パルスモータの回転が円滑でなくなるという
問題点が生じる。
[Problems to be Solved by the Invention] However, in such a pulse generator, since the frequency of the output pulse signal is constant, the output signal becomes a burst pulse signal as shown in FIG. Therefore, if the receiving side of the output pulse is, for example, a drive circuit of the pulse motor, there arises a problem that the rotation of the pulse motor is not smooth.

また、パルス発生が終了する時間は、発生するパルス数
により決まってしまう。このため、パルスの発生が終了
する時間を変えられない。これにより、パルスの発生周
期の変化に対応できいないという問題点があった。
Also, the time when the pulse generation ends is determined by the number of generated pulses. Therefore, the time when the pulse generation ends cannot be changed. As a result, there is a problem in that it cannot cope with changes in the pulse generation period.

本発明はこのような問題点を解決するためになされたも
のであり、周期全体にわたってパルスが均等に配列され
た滑らかなシリアルパルス信号を出力でき、しかもパル
ス発生の終了時間を容易に変えられるパルス発生回路を
実現することを目的とする。
The present invention has been made to solve such a problem, and it is possible to output a smooth serial pulse signal in which pulses are evenly arranged over the entire period, and moreover, the pulse generation end time can be easily changed. The purpose is to realize a generator circuit.

[問題点を解決するための手段] 本発明は、 1周期中に発生するパルス数がセットされ、入力パルス
信号が与えられる毎にカウントを行い、セット値だけカ
ウントしたところでカウントアップ信号を出力するカウ
ンタと、 1周期中に発生するパルス数と、パルス数に応じたパル
ス周期とが対応して格納されていて、パルス数がROM
のアドレスになっていて、カウンタにセット値が与えら
れると、与えられたセット値で定められるアドレスが与
えられ、このアドレスに格納されたパルス周期のデータ
が読み出される外付けのROMと、 このROMから読出されたデータをラッチし出力する第
1のフリップ・フロップと、この第1のフリップ・フロ
ップの出力を導入する全加算器と、この全加算器の加算
値を所定のブロック信号によりラッチする第2のフリッ
プ・フロップを備え、この第2のフリップ・フロップの
出力を前記全加算器に帰還し、全加算器で前記第1のフ
リップ・フロップと第2のフリップ・フロップの出力を
加算し、加算値を第2のフリップ・フロップでラッチ
し、ラッチした加算値が所定の値を越えたときに第2の
フリップ・フロップが桁上がり信号を発生するDDA回
路と、 前記カウンタがカウントアップ信号を発生する前は桁上
がり信号を通過させ、通過させた桁上がり信号によりシ
リアルパルス信号の出力を行うとともに前記カウンタに
入力パルス信号を与え、前記カウンタがカウントアップ
信号を発生したときは、桁上がり信号の通過を禁止して
シリアルパルス信号の出力を終了させるパルス禁止回路
と、 を具備したことを特徴とするパルス発生回路である。
[Means for Solving Problems] According to the present invention, the number of pulses generated in one cycle is set, counting is performed every time an input pulse signal is given, and a count-up signal is output when a set value is counted. The counter, the number of pulses generated in one cycle, and the pulse cycle corresponding to the number of pulses are stored in association with each other, and the number of pulses is stored in the ROM.
When the set value is given to the counter, the address determined by the given set value is given, and the data of the pulse cycle stored at this address is read out, and this ROM A first flip-flop for latching and outputting the data read from, a full adder for introducing the output of the first flip-flop, and an addition value of the full adder are latched by a predetermined block signal. A second flip-flop is provided, the output of the second flip-flop is fed back to the full adder, and the full adder adds the outputs of the first flip-flop and the second flip-flop. , The added value is latched by the second flip-flop, and when the latched added value exceeds a predetermined value, the second flip-flop outputs a carry signal. And a DDA circuit for generating a count-up signal. The carry signal is passed before the counter generates a count-up signal, the serial pulse signal is output by the carry signal passed, and the input pulse signal is applied to the counter. When a count-up signal is generated, the pulse generation circuit includes: a pulse prohibition circuit that prohibits passage of a carry signal and terminates the output of the serial pulse signal.

[実施例] 以下、図面を用いて本発明を説明する。[Examples] The present invention will be described below with reference to the drawings.

第1図は本発明にかかるパルス発生回路の一実施例の構
成ブロック図である。
FIG. 1 is a configuration block diagram of an embodiment of a pulse generating circuit according to the present invention.

第1図で、1はカウンタ例えばダウンカウンタであり、
1周期中に発生するパルス数がセットされ、入力パルス
信号が与えられる毎にダウンカウントし、カウントが0
になったところでカウントアップ信号CUを発生する。
このカウンタは例えば11ビットカウンタである。セッ
ト値は出力パルス数設定用データバスD0〜D7により
与えらえる。このバスは8ビットデータを伝送するもの
である。
In FIG. 1, 1 is a counter, for example, a down counter,
The number of pulses generated in one cycle is set, and it counts down every time an input pulse signal is given, and the count is 0.
Then, the count-up signal CU is generated.
This counter is, for example, an 11-bit counter. The set value is given by the output pulse number setting data buses D0 to D7. This bus carries 8-bit data.

PLOADLとPLOADHは下位バイトロード信号と
上位バイトロード信号であり、データバスD0〜D
伝送データが8ビットデータでカウンタ1が11ビット
カウンタであるため、セット値の下位バイトと上位バイ
トのデータを時分割でダウンカウンタ1に読み込ませる
ために用いる信号である。セット値とPLOADL信号
及びPLOADH信号はマイクロプロセッサ(図示せ
ず)から与えられる。
PLOADL and PLOADH are lower byte load signal and the upper byte load signal, since the counter 1 transmission data is 8-bit data of the data bus D0~D 7 is 11-bit counter, the lower byte and upper byte of the set value data Is a signal used for causing the down counter 1 to read in a time division manner. The set value and the PLODL and PLOADH signals are provided from a microprocessor (not shown).

2は1ビットデータがセットされるフリップフロップを
用いたセレクタであり、PLOADH信号の最上位ビッ
トがバスD7によりセットされる。セレクタ2は、セッ
トされたビットの内容によりアップパルスまたはダウン
パルスを発生する。パルスの受側がパルスモータ駆動回
路である場合は、アップパルスとダウンパルスに応じて
パルスモータの回転方向が決まる。
Reference numeral 2 is a selector using a flip-flop in which 1-bit data is set, and the most significant bit of the PLOADH signal is set by the bus D7. The selector 2 generates an up pulse or a down pulse depending on the content of the set bit. When the pulse receiving side is the pulse motor drive circuit, the rotation direction of the pulse motor is determined according to the up pulse and the down pulse.

3はメモリであり、ダウンカウンタのセット値で定めら
れるアドレスにセット値に対応したデータが格納されて
いる。メモリ3としては外付けのROM等が用いられ
る。
A memory 3 stores data corresponding to the set value at an address determined by the set value of the down counter. An external ROM or the like is used as the memory 3.

4はシーケンサであり、クロック入力CLOCK1で与
えられるタイミングで動作し、PLOADH信号のレベ
ルをもとに、セット値がダウンカウンタ1にセットされ
たことろで、イネーブル信号ROMOEによりメモリ3
をアクセス可能にし、アドレスバスRA0〜RA12を
用いてセット値で定められるアドレスをメモリ3に送
る。
A sequencer 4 operates at the timing given by the clock input CLOCK1, and the set value is set in the down counter 1 based on the level of the PLOADH signal.
Is made accessible and the address determined by the set value is sent to the memory 3 using the address buses RA0 to RA12.

5は第1のフリップ・フロップ、6は全加算器7は第2
のフリップ・フロップで、これらによりDDA(Dig
ital Differential Adder)回
路を構成している。
5 is the first flip-flop, 6 is the full adder 7 is the second
Flip-flop of DDA (Dig
It constitutes an iterative differential adder circuit.

第1のフリップ・フロップ5は、メモリ3から読み出さ
れたデータをラッチし出力する。このフリップ・フロッ
プは12ビットデータをラッチするものである。
The first flip-flop 5 latches and outputs the data read from the memory 3. This flip-flop latches 12-bit data.

メモリ3から読み出されたデータの伝送にはデータバス
RD0〜RD7を用いる。このバスは8ビットデータを
伝送するものである。
The data buses RD0 to RD7 are used to transmit the data read from the memory 3. This bus carries 8-bit data.

メモリ3に接続されたアドレスバスのうち、RA1〜R
A11の伝送信号でダウンカウンタ1のセット値が伝送
される。バスRA0の伝送信号で、読み出すデータが、
第1のフリップ・フロップ5にラッチするデータの上位
バイトであるか下位バイトであるかが指定される。バス
RA12の伝送信号で、読み出すデータが、アップパル
スに相当するものであるかダウンパルスに相当するもの
であるかが指定される。
RA1 to R of the address buses connected to the memory 3
The set value of the down counter 1 is transmitted by the transmission signal of A11. The data to be read is the transmission signal of the bus RA0
It is designated whether the data to be latched in the first flip-flop 5 is the upper byte or the lower byte. The transmission signal of the bus RA12 specifies whether the read data corresponds to an up pulse or a down pulse.

DLATCHとULATCHは加算器初期値下位バイト
ロード信号と加算器初期値上位バイトロード信号であ
り、第1のフリップ・フロップ5は12ビットデータを
ラッチするもので、データバスRD0〜RD7は8ビッ
トデータを伝送するものであることから、初期値の下位
バイトと上位バイトを時分割で第1のフリップ・フロッ
プ5にラッチするために用いるものである。ULATC
H信号とDLATCH信号はシーケンサ4が発生する。
DLATCH and ULATCH are an adder initial value lower byte load signal and an adder initial value upper byte load signal, the first flip-flop 5 latches 12-bit data, and the data buses RD0 to RD7 are 8-bit data. Is used to latch the lower byte and the upper byte of the initial value in the first flip-flop 5 in a time division manner. ULATC
The sequencer 4 generates the H signal and the DLATCH signal.

全加算器6は、第1のフリップ・フロップ5の出力を受
けとるとともに、加算値を第2のフリップ・フロップ7
に与える。
The full adder 6 receives the output of the first flip-flop 5 and outputs the added value to the second flip-flop 7
Give to.

第2のフリップ・フロップ7には、全加算器6の加算値
と後述するパルス禁止回路を通過したクロック信号CL
OCK1が入力されている。第2のフリップ・フロップ
7は、CLOCK1のタイミングで全加算器6の加算値
をラッチしこの加算値を全加算器6の入力部に帰還す
る。第2のフリップ・フロップは12ビットデータをラ
ッチするものである。
In the second flip-flop 7, the added value of the full adder 6 and the clock signal CL that has passed through a pulse inhibition circuit described later
OCK1 is input. The second flip-flop 7 latches the added value of the full adder 6 at the timing of CLOCK1 and feeds back the added value to the input section of the full adder 6. The second flip-flop latches 12-bit data.

全加算器6は第1のフリップ・フロップ5と第2のフリ
ップ・フロップ7の出力を加算し、加算値を第2のフリ
ップ・フロップ7に与える。第2のフリップ・フロップ
7は、ラッチしたデータの最上位ビットが変わる毎に桁
上がり信号(パルス信号)Fを発生する。この桁上がり
信号FがDDA回路の出力信号になる。
The full adder 6 adds the outputs of the first flip-flop 5 and the second flip-flop 7, and gives the added value to the second flip-flop 7. The second flip-flop 7 generates a carry signal (pulse signal) F every time the most significant bit of the latched data changes. This carry signal F becomes the output signal of the DDA circuit.

CLOCK1のパルス周波数は、第1のフリップ・フロ
ップ5にデータがラッチされる周波数よりも大きく設定
されている。
The pulse frequency of CLOCK1 is set higher than the frequency at which data is latched in the first flip-flop 5.

8はパルス禁止回路であり、ダウンカウンタ1がカウン
タアップ信号を発生する前は桁上がり信号Fを通過させ
てダウンカウンタ1とセレクタ2に与え、カウントアッ
プ信号が発生すると桁上がり信号Fの通過を禁止してシ
リアルパルス信号の出力を終了させる。
Reference numeral 8 denotes a pulse prohibiting circuit, which passes the carry signal F to the down counter 1 and the selector 2 before the down counter 1 generates the counter up signal, and passes the carry signal F when the count up signal is generated. Disable and end the output of the serial pulse signal.

9はエラー検出回路であり、PLOADL信号とパルス
禁止回路8から状態応対の有無に応じた信号Sが与えら
れ、これらの信号をもとにシリアルパルスの発生中にダ
ウンカウンタ1に新たなパルス数がセットされるとエラ
ー信号ERRORを発生する。
An error detection circuit 9 is provided with a signal PLOADL and a signal S depending on the presence / absence of a state response from the pulse inhibition circuit 8, and based on these signals, a new pulse number is added to the down counter 1 during the generation of the serial pulse. When is set, an error signal ERROR is generated.

次に、このようなパルス発生回路の動作を説明する。Next, the operation of such a pulse generating circuit will be described.

第2図は第1図の回路の各信号のタイムチャートであ
る。
FIG. 2 is a time chart of each signal of the circuit of FIG.

図で、PLOADH,PLOADL,ROMOE,UL
ATCH,DLATCHの信号はロー・アクティブ信号
である。
In the figure, PLOADH, PLODL, ROMOE, UL
The signals ATCH and DLATCH are low active signals.

すなわち、PLOADH,PLOADL,ULATC
H,DLATCHの信号は、ローレベルからハイレベル
へ立上がるタイミングで読み込みが行なわれ、ROMO
E信号はローレベルになったときにメモリ3をイネーブ
ル状態にする。
That is, PLOADH, PLOADL, ULATC
The H and DLATCH signals are read at the timing of rising from the low level to the high level, and the ROMO
When the E signal becomes low level, the memory 3 is enabled.

1周期中に発生するパルス数は、マイクロプロセッサか
らのPLOADH信号とPLOADL信号でダウンカウ
ンタ1にセットされ、セット値の最上位ビットであるパ
ルス方向判別ビット(アップパルスとダウンパルスの判
別ビット)の内容は、データバスD7によりセレクタ2
にセットされる。これにより、セレクタ2はアップパル
スまたはダウンパルスに応じた信号をアドレスバスRD
12によりメモリ3に送る。
The number of pulses generated in one cycle is set in the down counter 1 by the PLOADH signal and the PLOADL signal from the microprocessor, and is the most significant bit of the set value of the pulse direction determination bit (up pulse and down pulse determination bit). The contents are selector 2 by data bus D7.
Is set to. As a result, the selector 2 outputs a signal corresponding to the up pulse or the down pulse to the address bus RD.
12 to the memory 3.

PLOADH信号による設定が終わると、シーケンス4
が動き出し、ダウンカウンタ1のセット値をアドレスと
して全加算器6の初期値をメモリ3から読み出し、第1
のフリップ・フロップ5にセットする。セットが終わる
と、パルス禁止回路8はCLOCK1を通過させて第2
のフリップ・フロップ7に与える。これによって、全加
算器6が動き出す。
After setting the PLOADH signal, sequence 4
Starts to read, the initial value of the full adder 6 is read from the memory 3 using the set value of the down counter 1 as an address,
Set it in flip-flop 5 of. When the setting is completed, the pulse prohibiting circuit 8 allows CLOCK1 to pass and the second
To flip flop 7. As a result, the full adder 6 starts to move.

第2のフリップ・フロップ7は、全加算器6の出力すな
わち第1のフリップ・フロップ5と第2のフリップ・フ
ロップ7の加算値をCLOCK1の周期でラッチする。
ラッチした出力の最上位ビットが変わる毎に第2のフリ
ップ・フロップ7は桁上がり信号Fを発生する。この桁
上がり信号Fがアップパルスまたはダウンパルス信号に
なるとともに、ダウンカウンタ1でカウントされる信号
になる。
The second flip-flop 7 latches the output of the full adder 6, that is, the added value of the first flip-flop 5 and the second flip-flop 7 in the cycle of CLOCK1.
The second flip-flop 7 generates a carry signal F each time the most significant bit of the latched output changes. The carry signal F becomes an up pulse signal or a down pulse signal and becomes a signal counted by the down counter 1.

ダウンカウンタ1がカウントアップ信号を発生すると、
パルス禁止回路8がCLOCK1の通過を禁止して第2
のフリップ・フロップ7に与えなくなる。これによっ
て、第2のフリップ・フロップ7は桁上がり信号を発生
しなくなり、シリアルパルス信号の発生が終了する。
When the down counter 1 generates a count up signal,
The pulse prohibiting circuit 8 prohibits the passage of CLOCK1 and outputs the second pulse.
No more to give to flip flop 7. As a result, the second flip-flop 7 does not generate the carry signal, and the generation of the serial pulse signal ends.

エラー検出回路9により、シリアルパルスの発生中にダ
ウンカウンタ1に新たなパルス数が設定されると、エラ
ー信号ERRORが発生する。
When the error detection circuit 9 sets a new pulse number in the down counter 1 during generation of a serial pulse, an error signal ERROR is generated.

なお、実施例ではダウンカウンタ1に出力パルス数がセ
ットされると、次回のセット時まで第1のフリップ・フ
ロップ5のセット値が一定であるが、これに限らず第1
のフリップ・フロップ5の設定値はダウンカウンタ1の
カウントに応じて変えてもよい。
In the embodiment, when the number of output pulses is set in the down counter 1, the set value of the first flip-flop 5 is constant until the next setting, but the present invention is not limited to this.
The set value of the flip-flop 5 may be changed according to the count of the down counter 1.

すなわち、実施例では、ダウンカウンタ1に出力パルス
数がセットされると、次回のセット時まで第1のフリッ
プ・フロップ5のセット値が一定であるため、全加算器
6の加算値の増加率は一定である。このため、桁上がり
信号の発生頻度も一定になり、第3図に示すように、セ
ット時とセット時の間ではシリアルパルス出力のパルス
レートが一定になる。第3図で、t,t,t,t
が出力パルス数をセットするタイミングである。
That is, in the embodiment, when the number of output pulses is set in the down counter 1, the set value of the first flip-flop 5 is constant until the next setting, so the increase rate of the added value of the full adder 6 Is constant. Therefore, the frequency of generation of the carry signal is also constant, and as shown in FIG. 3, the pulse rate of the serial pulse output is constant between the set times. In FIG. 3, t 0 , t 1 , t 2 , t
3 is the timing for setting the number of output pulses.

そこで、第1のフリップ・フロップ5へのデータのセッ
トを、ダウンカウンタ1へのパルス数のセット時に限ら
ず、ダウンカウンタ1のカウントをパラメータとして適
宜行うようにしてもよい。これによって、第4図に示す
ように、シリアルパルス出力のパルスレートは曲線的に
変化する。これによって、よりきめ細かくパルスを均等
配分できる。
Therefore, the setting of the data in the first flip-flop 5 is not limited to the setting of the number of pulses in the down counter 1, but the count of the down counter 1 may be appropriately performed as a parameter. As a result, as shown in FIG. 4, the pulse rate of the serial pulse output changes in a curve. This makes it possible to distribute the pulses more finely and evenly.

また、第5図に示すように全加算器6と第2のフリップ
・フロップ7からなる回路を複数段直列接続してもよ
い。n段直列に接続すると、加算器の加算値はn次の関
数で変化する。
Further, as shown in FIG. 5, a circuit including the full adder 6 and the second flip-flop 7 may be connected in series in plural stages. When connected in series with n stages, the added value of the adder changes with an nth-order function.

また、カウンタ1にはダウンカウンタのかわりにアップ
カウンタを用いてもよい。
Further, as the counter 1, an up counter may be used instead of the down counter.

また、ダウンカウンタ1、第1のフリップ・フロップ
5、全加算器6、第2のフリップ・フロップ7及び各バ
スが扱う信号のビット数は実施例で示す数以外であって
もよい。
Further, the number of bits of signals handled by the down counter 1, the first flip-flop 5, the full adder 6, the second flip-flop 7, and each bus may be other than the numbers shown in the embodiments.

本発明にかかるパルス発生回路の使用例を第6図に示
す。
An example of using the pulse generating circuit according to the present invention is shown in FIG.

第6図で、Dは駆動対象を減速器を介さないで直接駆動
するダイレクト・ドライブモータ、Cはダイレクト・ド
ライブモータCの駆動と制御を行う駆動・制御回路、P
はモータの回転速度や回転位置の指令値信号を駆動・制
御回路Cに与えるポジョナである。
In FIG. 6, D is a direct drive motor that directly drives a drive target without passing through a speed reducer, C is a drive / control circuit that drives and controls the direct drive motor C, and P is a drive circuit.
Is a positioner that gives a command value signal of the rotation speed and the rotation position of the motor to the drive / control circuit C.

駆動・制御回路Cに設けられた本発明にかかるパルス発
生回路Cは、マイクロプロセッサCから与えられた
ダイレクト・ドライブモータDの回転位置や回転速度の
存在値のパルス信号を滑かにしてポジショナPのカウン
タPに与える。
The pulse generation circuit C 1 according to the present invention provided in the drive / control circuit C slips the pulse signal of the existing value of the rotational position or the rotational speed of the direct drive motor D provided from the microprocessor C 2. It is given to the counter P 1 of the positioner P.

ポジショナPに設けられた本発明にかかるパルス発生回
路Pは、マイクロプロセッサPが演算した指令パル
ス信号を滑かにしてコントローラCのカウンタCに与
える。
The pulse generating circuit P 2 according to the present invention provided in the positioner P slips the command pulse signal calculated by the microprocessor P 3 and supplies it to the counter C 3 of the controller C.

このような構成にすると、現在値パルス信号と指令パル
ス信号の両方とも連続性を保つことができるため、マイ
クロプロセッサCとPの間で同期処理をする必要が
なくなる。
With such a configuration, both the current value pulse signal and the command pulse signal can maintain continuity, so that it is not necessary to perform the synchronization processing between the microprocessors C 2 and P 3 .

[効果] 本発明によれば、1周期中に発生するパルス数をパラメ
ータとしてメモリからDDA回路の最適な初期設定値が
読み出され、この最初設定値をもとにDDA回路シリア
ルパルスを出力するため、周期全体にわたって均等にパ
ルスが配列された滑かなシリアルパルスを出力できる。
[Effect] According to the present invention, the optimum initial setting value of the DDA circuit is read from the memory with the number of pulses generated in one cycle as a parameter, and the DDA circuit serial pulse is output based on this initial setting value. Therefore, it is possible to output a smooth serial pulse in which the pulses are evenly arranged over the entire period.

また、出力パルス数と出力パルスの設定周期が1対1で
対応している場合は、異なった対応関係を記憶した複数
種類のメモリを使いわけることによってパルス発生終了
時間をソフトウェアで設定できる。
Further, when the number of output pulses and the set period of the output pulse are in one-to-one correspondence, the pulse generation end time can be set by software by properly using a plurality of types of memories that store different correspondences.

また、ROMには、1周期中に発生するパルス数と、パ
ルス数に応じたパルス周期とが対応して格納されてい
る。そして、パルス数がROMのアドレスとなってい
る。
Further, the ROM stores the number of pulses generated in one cycle and the pulse cycle corresponding to the number of pulses in association with each other. The number of pulses is the ROM address.

カウンタにセット値が与えられると、与えられたセット
値で定められるアドレスがROMに与えられ、このアド
レスに格納されたパルス周期のデータが読み出される。
従って、カウンタに出力パルス数がセットされると出力
パルスの周期も定められる。
When the set value is given to the counter, the address determined by the given set value is given to the ROM, and the pulse cycle data stored at this address is read.
Therefore, when the number of output pulses is set in the counter, the cycle of output pulses is also determined.

このようにROMに格納されたデータにより出力パルス
のパルス数と周期が関連して定められる。ROMはパル
ス発生回路に対して外付けされたものであるため、更換
可能である。
As described above, the data stored in the ROM determines the number of output pulses and the period in association with each other. Since the ROM is external to the pulse generation circuit, it can be replaced.

このことから、出力パルス数と出力パルス周期の対応関
係が異なる複数種類のメモリを使い分けることによって
パルス発生終了時間をソフトウェアにより変えることが
できる。これにより、パルス発生周期を変えたときに、
これに応じてパルス発生終了時間も容易に変えられる。
Therefore, the pulse generation end time can be changed by software by properly using a plurality of types of memories having different correspondences between the output pulse number and the output pulse period. As a result, when the pulse generation cycle is changed,
Accordingly, the pulse generation end time can be easily changed.

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

第1図は本発明にかかるパルス発生回路の一実施例の構
成図、第2図は第1図の回路の動作説明用のタイムチャ
ート、第3図及び第4図は本発明にかかるパルス発生回
路の出力パルスレートの経時的変化を示した図、第5図
は本発明にかかる回路のたの構成例を示した図、第6図
は本発明にかかるパルス発生回路の使用例を示した図、
第7図は従来のパルス発生回路の出力信号のタイムチャ
ートである。 1……カウンタ、3……メモリ、5……第1のフリップ
・フロップ、6……全加算器、7……第2のフリップ・
フロップ。
FIG. 1 is a block diagram of an embodiment of a pulse generation circuit according to the present invention, FIG. 2 is a time chart for explaining the operation of the circuit of FIG. 1, and FIGS. 3 and 4 are pulse generation according to the present invention. FIG. 5 is a diagram showing a change over time in the output pulse rate of the circuit, FIG. 5 is a diagram showing another configuration example of the circuit according to the present invention, and FIG. 6 is a use example of the pulse generation circuit according to the present invention. Figure,
FIG. 7 is a time chart of the output signal of the conventional pulse generation circuit. 1 ... Counter, 3 ... Memory, 5 ... First flip-flop, 6 ... Full adder, 7 ... Second flip-flop
The flop.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】1周期中に発生するパルス数がセットさ
れ、入力パルス信号が与えられる毎にカウントを行い、
セット値だけカウントしたところでカウントアップ信号
を出力するカウンタと、 1周期中に発生するパルス数と、パルス数に応じたパル
ス周期とが対応して格納されていて、パルス数がROM
のアドレスになっていて、カウンタにセット値が与えら
れると、与えられたセット値で定められるアドレスが与
えられ、このアドレスに格納されたパルス周期のデータ
が読み出される外付けのROMと、 このROMから読出されたデータをラッチし出力する第
1のフリップ・フロップと、この第1のフリップ・フロ
ップの出力を導入する全加算器と、この全加算器の加算
値を所定のクロック信号によりラッチする第2のフリッ
プ・フロップを備え、この第2のフリップ・フロップの
出力を前記全加算器に帰還し、全加算器で前記第1のフ
リップ・フロップと第2のフリップ・フロップの出力を
加算し、加算値を第2のフリップ・フロップでラッチ
し、ラッチした加算値が所定の値を越えたときに第2の
フリップ・フロップが桁上がり信号を発生するDDA回
路と、 前記カウンタがカウントアップ信号を発生する前は桁上
がり信号を通過させ、通過させた桁上がり信号によりシ
リアルパルス信号の出力を行うとともに前記カウンタに
入力パルス信号を与え、前記カウンタがカウントアップ
信号を発生したときに、桁上がり信号の通過を禁止して
シリアルパルス信号の出力を終了させるパルス禁止回路
と、 を具備したことを特徴とするパルス発生回路。
1. The number of pulses generated in one cycle is set, and counting is performed every time an input pulse signal is given,
The counter that outputs a count-up signal when counting only the set value, the number of pulses generated in one cycle, and the pulse cycle corresponding to the number of pulses are stored in association with each other.
When the set value is given to the counter, the address determined by the given set value is given, and the data of the pulse cycle stored at this address is read out, and this ROM A first flip-flop for latching and outputting the data read from, a full adder for introducing the output of the first flip-flop, and an addition value of the full adder is latched by a predetermined clock signal. A second flip-flop is provided, the output of the second flip-flop is fed back to the full adder, and the full adder adds the outputs of the first flip-flop and the second flip-flop. , The added value is latched by the second flip-flop, and when the latched added value exceeds a predetermined value, the second flip-flop outputs a carry signal. And a DDA circuit for generating a count-up signal. The carry signal is passed before the counter generates a count-up signal, the serial pulse signal is output by the carry signal passed, and the input pulse signal is applied to the counter. A pulse generation circuit comprising: a pulse prohibition circuit that, when a count-up signal is generated, prohibits passage of a carry signal and terminates output of a serial pulse signal.
JP62168099A 1987-07-06 1987-07-06 Pulse generator Expired - Lifetime JPH0630438B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62168099A JPH0630438B2 (en) 1987-07-06 1987-07-06 Pulse generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62168099A JPH0630438B2 (en) 1987-07-06 1987-07-06 Pulse generator

Publications (2)

Publication Number Publication Date
JPS6412617A JPS6412617A (en) 1989-01-17
JPH0630438B2 true JPH0630438B2 (en) 1994-04-20

Family

ID=15861819

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62168099A Expired - Lifetime JPH0630438B2 (en) 1987-07-06 1987-07-06 Pulse generator

Country Status (1)

Country Link
JP (1) JPH0630438B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5492967A (en) * 1993-11-03 1996-02-20 Shell Oil Company Impact modification of polypropylene with styrene/isoprene tetrablock copolymers
US6003053A (en) * 1996-11-29 1999-12-14 Matsushita Electric Works, Ltd. Pulse signal generation circuit and pulse signal generation method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53143155A (en) * 1977-05-20 1978-12-13 Ando Electric Frequency divider
JPS5668292A (en) * 1979-11-07 1981-06-08 Akai Electric Co Ltd Digital pitch conrolling system for rotary machine

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53143155A (en) * 1977-05-20 1978-12-13 Ando Electric Frequency divider
JPS5668292A (en) * 1979-11-07 1981-06-08 Akai Electric Co Ltd Digital pitch conrolling system for rotary machine

Also Published As

Publication number Publication date
JPS6412617A (en) 1989-01-17

Similar Documents

Publication Publication Date Title
CA1148263A (en) Memory readback check method and apparatus
US4984190A (en) Serial data transfer system
JPH0624356B2 (en) Data transfer method
GB2129984A (en) Data processor
EP0543296B1 (en) Programmable pulse-width-modulation signal generator
US5270696A (en) LCD driver circuit
JPH0630438B2 (en) Pulse generator
US4602325A (en) Programmable controller
US4646324A (en) Digital information transfer system (DITS) transmitter
CA1274002A (en) Event distribution and combination system
JPS6086631A (en) Scan-in system
JPS648384B2 (en)
JP2534487B2 (en) Pulse generation circuit
JPH01292415A (en) Clock generation system
US4747106A (en) Parity checker circuit
GB2187578A (en) Parallel-to-serial converter
JPH0636489B2 (en) Pulse generator
JPS59143422A (en) Circuit for controlling conversion of pulse width
JPS594920B2 (en) Control signal transmission method
KR890006187Y1 (en) Data recording circuits of video ram
SU993260A1 (en) Logic control device
JPH01135225A (en) Pulse generating circuit
JPS6271084A (en) Semiconductor integrated circuit
JPS6043701A (en) Digital error detector
JPH06188635A (en) Optional waveform generator