Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH07117951B2 - Micro computer - Google Patents
[go: Go Back, main page]

JPH07117951B2 - Micro computer - Google Patents

Micro computer

Info

Publication number
JPH07117951B2
JPH07117951B2 JP62038315A JP3831587A JPH07117951B2 JP H07117951 B2 JPH07117951 B2 JP H07117951B2 JP 62038315 A JP62038315 A JP 62038315A JP 3831587 A JP3831587 A JP 3831587A JP H07117951 B2 JPH07117951 B2 JP H07117951B2
Authority
JP
Japan
Prior art keywords
address
register
data
waveform data
pulse signal
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
JP62038315A
Other languages
Japanese (ja)
Other versions
JPS63204454A (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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP62038315A priority Critical patent/JPH07117951B2/en
Publication of JPS63204454A publication Critical patent/JPS63204454A/en
Publication of JPH07117951B2 publication Critical patent/JPH07117951B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Microcomputers (AREA)
  • Control Of Stepping Motors (AREA)
  • Manipulation Of Pulses (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はマイクロコンピュータに関し、更に詳述すれ
ば、たとえばパルスモータの駆動用パルス等のパルス信
号の発生機能を有するマイクロコンピュータに関する。
The present invention relates to a microcomputer, and more specifically to a microcomputer having a function of generating a pulse signal such as a pulse for driving a pulse motor.

〔従来技術〕[Prior art]

従来、マイクロコンピュータによりたとえばパルスモー
タを駆動するため等の目的でパルス信号を発生する場合
には、CPUのソフトウェア的処理によりパルス信号の処
理、具体的にはパルス信号を構成する各素パルスの波形
合成及びその発生間隔の制御を行っている。
Conventionally, when a pulse signal is generated by a microcomputer for the purpose of driving a pulse motor, for example, processing of the pulse signal by software processing of the CPU, specifically, the waveform of each elementary pulse forming the pulse signal The composition and the generation interval are controlled.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

しかし、たとえばパルスモータを高速回転させるような
場合等には非常な高頻度で素パルスの波形合成を行うと
共に発生タイミングを制御して出力する処理が必要にな
る。このため、CPUには他のソフトウェア的処理を行う
余裕が乏しくなる。従って、非常に緊急度が高い割込み
要求等があった場合にもそれに即応することが出来なく
なり、所謂リアルタイム応答性が低下する。
However, for example, when the pulse motor is rotated at a high speed, it is necessary to synthesize the waveforms of the elementary pulses at an extremely high frequency and to control the generation timing and output. For this reason, the CPU has little room to perform other software-like processing. Therefore, even if there is an interrupt request or the like with a very high degree of urgency, it cannot be responded immediately, and so-called real-time responsiveness deteriorates.

本発明はこのような事情に鑑みてなされたものであり、
CPUによるソフトウェア的処理をほとんど行わずとも、
任意の時間間隔にて任意の波形の素パルスを合成出力す
ることによりパルス信号を発生可能なマイクロコンピュ
ータの提案を目的とする。
The present invention has been made in view of such circumstances,
Even if you do almost no software processing by the CPU,
An object of the present invention is to propose a microcomputer capable of generating a pulse signal by combining and outputting elementary pulses of arbitrary waveforms at arbitrary time intervals.

〔問題点を解決するための手段〕[Means for solving problems]

本発明のマイクロコンピュータは、パルス信号を構成す
る各素パルスの発生間隔の種々のパターンのデータ列と
波形の種々のパターンデータ列とを予めメモリに記憶さ
せておき、設定されたスタートアドレスから順次タイマ
に発生間隔のデータを与えてそれぞれ経時を行い、その
経時が終了する都度、設定されたスタートアドレスから
順次波形のデータを読出して素パルスを合成出力する構
成としている。
The microcomputer of the present invention stores in advance a data sequence of various patterns and various pattern data sequences of waveforms at the generation intervals of the elementary pulses forming the pulse signal in the memory, and sequentially from the set start address. Data of the generation interval is given to the timer, and each time is elapsed, and each time the time is completed, waveform data is sequentially read from the set start address and the elementary pulse is synthesized and output.

本発明は、パルス信号を出力するマイクロコンピュータ
において、前記パルス信号を構成する素パルスの波形デ
ータ及びその発生間隔を定めた一連の発生間隔データを
記憶したメモリと、前記一連の発生間隔データの前記メ
モリでの任意のスタートアドレスが設定される第1のレ
ジスタと、該第1のレジスタに設定されたスタートアド
レスから順次アドレスを発生する第1のアドレスカウン
タと、前記波形データの前記メモリでの任意のスタート
アドレスが設定される第2のレジスタと、該第2のレジ
スタに設定されたスタートアドレスから順次アドレスを
発生する第2のアドレスカウンタと、前記第1のアドレ
スカウンタが発生するアドレスの発生間隔データが設定
されるタイマレジスタを含み、該タイマレジスタの設定
値の計時終了により前記第1のアドレスカウンタ及び前
記第2のアドレスカウンタに次順のアドレスを発生させ
るタイマと、与えられた波形データからパルス信号を発
生出力するパルス信号発生回路と、前記第2のアドレス
カウンタが発生するアドレスの波形データを前記メモリ
から前記パルス信号発生回路へ転送する専用バスとを備
えたことを特徴とする。
The present invention, in a microcomputer for outputting a pulse signal, a memory storing a series of generation interval data defining the waveform data of elementary pulses constituting the pulse signal and the generation interval thereof, and the series of generation interval data described above. A first register in which an arbitrary start address in the memory is set, a first address counter which sequentially generates addresses from the start address set in the first register, and an arbitrary in the memory of the waveform data Second register in which the start address of the first address counter is set, a second address counter that sequentially generates addresses from the start address set in the second register, and an address generation interval of the first address counter It includes a timer register to which data is set, and A timer for generating next-order addresses in the first address counter and the second address counter, a pulse signal generation circuit for generating and outputting a pulse signal from given waveform data, and a second address counter for generating A dedicated bus for transferring waveform data of an address from the memory to the pulse signal generating circuit.

〔作用〕[Action]

本発明のマイクロコンピュータでは、パルス信号を構成
する各素パルスの発生間隔のデータのスタートアドレス
と波形データのスタートアドレスとを設定することによ
り、任意の時間間隔にて任意の波形の素パルスを合成出
力してパルス信号を発生することが可能である。
In the microcomputer of the present invention, by setting the start address of the data of the generation interval of each elementary pulse forming the pulse signal and the start address of the waveform data, the elementary pulse of any waveform is synthesized at any time interval. It is possible to output and generate a pulse signal.

〔実施例〕〔Example〕

以下、本発明をその実施例を示す図にの基づいて詳述す
る。
Hereinafter, the present invention will be described in detail with reference to the drawings showing its embodiments.

図は本発明に係るマイクロコンピュータの要部の構成を
示すブロック図である。
The figure is a block diagram showing a configuration of a main part of a microcomputer according to the present invention.

図中1はたとえばパルスモータを駆動するための素パル
スの波形データ列及びその発生間隔データ列を記憶する
ためのメモリ、具体的にはRAMである。
In the figure, reference numeral 1 is a memory, specifically a RAM, for storing a waveform data sequence of elementary pulses for driving a pulse motor and its generation interval data sequence.

波形データ列及び発生間隔データ列はたとえば、パルス
モータの起動時,停止時,定速運転時,速度変更時等の
種々の状況に対応した一連のパルス信号のパターンの各
素パルスの波形及び発生間隔のデータ列である。従っ
て、パルスモータの運転状況に応じて両者を適宜組み合
わせることにより、種々のパターンの駆動制御が可能で
ある。
The waveform data sequence and the generation interval data sequence are, for example, waveforms and generations of each elementary pulse of a series of pulse signal patterns corresponding to various situations such as starting, stopping, constant speed operation, and speed change of the pulse motor. This is a data string of intervals. Therefore, various patterns of drive control can be performed by appropriately combining the two according to the operating status of the pulse motor.

なお、RAM1は図示しない内部バス等によりたとえばCPU
等に接続されていてデータの書換えが必要に応じて可能
である他、パルス信号発生の機能専用のリアルタイムバ
ス2に接続されており、波形データ及び発生間隔データ
はこのリアルタイムバス2に送出される。
RAM1 is, for example, a CPU via an internal bus not shown.
Etc., the data can be rewritten as necessary, and the real-time bus 2 dedicated to the function of generating pulse signals is connected. The waveform data and the generation interval data are sent to the real-time bus 2. .

またRAM1にはアドレスレジスタ3が付属している。この
RAMアドレスレジスタ3にはリアルタイムバス2を介し
て後述する発生間隔データアドレスカウンタ6及び波形
データアドレスカウンタ8から与えられるRAMアドレス
が格納され、このRAMアドレスレジスタ3に格納されて
いるRAM1のアドレスがアクセスされることにより、RAM1
から対応するアドレスのデータがリアルタイムバス2へ
送出される。
In addition, the address register 3 is attached to the RAM1. this
The RAM address register 3 stores the RAM address given from the generation interval data address counter 6 and the waveform data address counter 8 to be described later via the real-time bus 2, and the RAM 1 address stored in the RAM address register 3 is accessed. RAM1
The data of the corresponding address is transmitted from the to the real time bus 2.

図中4はリロードタイマであり、システムクロック発生
回路41,アップカウンタ42,タイマレジスタ43等にて構成
されている。このリロードタイマ4は、システムクロッ
ク発生回路41にて発生されるシステムクロックをアップ
カウンタ42にて計数し、この計数値がタイマレジスタ43
に設定されている値と一致するとアップカウンタ42から
計時終了信号ECが出力される。この計時終了信号ECは後
述する発生間隔データアドレスカウンタ6及びタイマレ
ジスタ43とアップカウンタ42との間に介装されたゲート
44に与えられている。
Reference numeral 4 in the figure is a reload timer, which is composed of a system clock generation circuit 41, an up counter 42, a timer register 43, and the like. The reload timer 4 counts the system clock generated by the system clock generation circuit 41 by the up counter 42, and the count value is counted by the timer register 43.
When the value matches the value set in, the up counter 42 outputs the time counting end signal EC. The clock end signal EC is a gate provided between the up-counter 42 and the generation interval data address counter 6 and the timer register 43 which will be described later.
Is given to 44.

なお、ゲート44は計時終了信号ECにより開かれてタイマ
レジスタ43の設定値をアップカウンタ42へ設定する。
The gate 44 is opened by the timing end signal EC to set the set value of the timer register 43 in the up counter 42.

図中5は第1のレジスタである発生間隔データスタート
アドレスレジスタであり、RAM1に記憶されている発生間
隔データ列のいずれかのアドレスをスタートアドレスと
してCPUにて設定するためのレジスタである。また、こ
の発生間隔データスタートアドレスレジスタ5に設定さ
れている発生間隔データのスタートアドレスはゲート51
を介して第1のアドレスカウンタである発生間隔データ
アドレスカウンタ6に与えられる。
In the figure, reference numeral 5 is a generation interval data start address register which is a first register, and is a register for the CPU to set any address of the generation interval data string stored in the RAM 1 as a start address. Further, the start address of the occurrence interval data set in the occurrence interval data start address register 5 is the gate 51.
Is given to the generation interval data address counter 6 which is the first address counter.

発生間隔データアドレスカウンタ6は、上述の如く発生
間隔データスタートアドレスレジスタ5から与えられる
発生間隔データのスタートアドレスから順次発生間隔デ
ータのアドレスを発生する。この発生間隔データアドレ
スカウンタ6によるアドレス発生は、前述のアップカウ
ンタ42から信号が与えられる都度行われ、リアルタイム
バス2へ送出される。そして、この発生間隔データアド
レスカウンタ6からリアルタイムバス2へ送出された発
生間隔データのアドレスはRAMアドレスレジスタ3に一
旦保持される。
The occurrence interval data address counter 6 sequentially generates the addresses of the occurrence interval data from the start address of the occurrence interval data given from the occurrence interval data start address register 5 as described above. The address generation by the generation interval data address counter 6 is performed each time a signal is given from the up counter 42, and is transmitted to the real-time bus 2. Then, the address of the occurrence interval data sent from the occurrence interval data address counter 6 to the real-time bus 2 is temporarily held in the RAM address register 3.

従って、まず最初に発生間隔データスタートアドレスレ
ジスタ5に設定されている発生間隔データのスタートア
ドレスが発生間隔データアドレスカウンタ6からリアル
タイムバス2を介してRAMアドレスレジスタ3に保持さ
れ、このアドレスに対応するRAM1に記憶されている発生
間隔データが読出されてタイマレジスタ43に保持され
る。そして、このタイマレジスタ43に保持されている発
生間隔データに対応する時間がリロードタイマ4により
計時され、この計時が終了した時点で、発生間隔データ
アドレスカウンタ6にアップカウンタ42から信号が与え
られて発生間隔データアドレスカウンタ6は次順の発生
間隔データのアドレスを発生する。
Therefore, first, the start address of the occurrence interval data set in the occurrence interval data start address register 5 is held in the RAM address register 3 from the occurrence interval data address counter 6 via the real-time bus 2 and corresponds to this address. The occurrence interval data stored in RAM1 is read and held in the timer register 43. Then, the time corresponding to the occurrence interval data held in the timer register 43 is measured by the reload timer 4, and at the time when this time measurement is finished, a signal is given from the up counter 42 to the occurrence interval data address counter 6. The generation interval data address counter 6 generates an address of the next generation interval data.

このような処理が反復されることにより、発生間隔デー
タスタートアドレスレジスタ5に設定されたスタートア
ドレスに対応する発生間隔データから始まってそれぞれ
の発生間隔データにて定められた時間間隔が経過する都
度、順次発生間隔データがRAM1から読出される。
By repeating such processing, each time the time interval defined by each generation interval data elapses starting from the generation interval data corresponding to the start address set in the generation interval data start address register 5, Sequential occurrence interval data is read from RAM1.

図中7は第2のレジスタである波形データスタートアド
レスレジスタであり、波形データのスタートアドレスが
CPUにより設定される。この波形データスタートアドレ
スレジスタ7に設定された波形データのスタートアドレ
スはゲート81を介して第2のアドレスカウンタである波
形データアドレスカウンタ8に与えられている。
In the figure, 7 is a waveform data start address register which is a second register, and the start address of the waveform data is
Set by CPU. The start address of the waveform data set in the waveform data start address register 7 is given to the waveform data address counter 8 which is the second address counter through the gate 81.

波形データアドレスカウンタ8は、上述の波形データス
タートアドレスレジスタ7に設定されている波形データ
のスタートアドレスから順次波形データのアドレスを発
生し、リアルタイムバス2に送出する。このリアルタイ
ムバス2に送出された波形データのアドレスはRAMアド
レスレジスタ3に一時的に保持され、これに対応するRA
M1のアドレスの波形データがリアルタイムバス2に送出
される。
The waveform data address counter 8 sequentially generates the waveform data address from the waveform data start address set in the above-mentioned waveform data start address register 7 and sends it to the real-time bus 2. The address of the waveform data sent to the real-time bus 2 is temporarily held in the RAM address register 3 and the RA address corresponding to this is held.
The waveform data of the address M1 is sent to the real-time bus 2.

9は波形データ出力バッファであり、リアルムタイムバ
ス2を介してRAM1から送出された波形データを一時記憶
するバッファメモリである。この波形データ出力バッフ
ァ9に記憶された波形データはゲート91を介して波形デ
ータ出力レジスタ10に与えられる。なお、ゲート91はア
ップカウンタ42が出力する計時終了信号ECにより開閉制
御されている。
Reference numeral 9 denotes a waveform data output buffer, which is a buffer memory for temporarily storing the waveform data sent from the RAM 1 via the realm time bus 2. The waveform data stored in the waveform data output buffer 9 is given to the waveform data output register 10 via the gate 91. The gate 91 is controlled to be opened / closed by the time counting end signal EC output from the up counter 42.

波形データ出力レジスタ10は波形データ出力バッファ9
に記憶されている波形データを、アップカウンタ42が計
時終了信号ECを出力したタイミングゲート91を介して与
えられ、これを更にパルス信号発生回路11に与える。
The waveform data output register 10 is the waveform data output buffer 9
The up counter 42 supplies the waveform data stored in 1 to the timing gate 91 which has output the timing end signal EC, and further supplies this to the pulse signal generation circuit 11.

パルス信号発生回路11は波形データ出力レジスタ10から
与えられたデジタルの波形データをアナログの素パルス
信号に合成し、外部へ、たとえばパルスモータの制御回
路等へ出力する。
The pulse signal generation circuit 11 synthesizes the digital waveform data given from the waveform data output register 10 into an analog elementary pulse signal and outputs it to the outside, for example, to the control circuit of the pulse motor.

従って、リロードタイマ4による一つの発生間隔データ
に対応する時間の経時が終了すると、波形データアドレ
スカウンタ8にアップカウンタ42から計時終了信号ECが
与えられ、これにより波形データアドレスカウンタ8は
次順の波形データのアドレスを発生する。この波形デー
タアドレスカウンタ8により発生された波形データのア
ドレスはリアルムタイムバス2を介してRAMアドレスレ
ジスタ3に一時記憶され、これに対応するRAM1のアドレ
スの波形データがリアルタイムバス2に送出される。そ
して、このリアルタイムバス2に送出された波形データ
は波形データ出力バッファ9に記憶され、次にアップカ
ウンタ42から計時終了信号ECが出力された時点でゲート
91が開くことにより波形データ出力レジスタ10に与えら
れて記憶される。これにより、波形データ出力レジスタ
10に記憶されたデジタルデータとしての波形データはパ
ルス信号発生回路11に与えられ、アナログの素パルス信
号として外部へ出力される。
Therefore, when the reload timer 4 finishes elapse of the time corresponding to one generation interval data, the waveform data address counter 8 is provided with the time counting end signal EC from the up counter 42, which causes the waveform data address counter 8 to move to the next order. Generate waveform data address. The address of the waveform data generated by the waveform data address counter 8 is temporarily stored in the RAM address register 3 via the real-time bus 2, and the waveform data of the corresponding address of the RAM 1 is sent to the real-time bus 2. Then, the waveform data sent to the real-time bus 2 is stored in the waveform data output buffer 9, and when the up-counter 42 outputs the timing end signal EC, the gate data is output.
When 91 is opened, it is given to and stored in the waveform data output register 10. This allows the waveform data output register
The waveform data as digital data stored in 10 is given to the pulse signal generation circuit 11 and output to the outside as an analog elementary pulse signal.

なお、図中12はリアルタイムバスコントロール回路であ
り、リアルタイムバス2による各種信号の転送の制御を
行う。
In the figure, 12 is a real-time bus control circuit, which controls transfer of various signals by the real-time bus 2.

以上のように構成された本発明のマイクロコンピュータ
の動作について以下に説明する。
The operation of the microcomputer of the present invention configured as above will be described below.

まず、CPUにより発生間隔データスタートアドレスレジ
スタ5を波形データスタートアドレスレジスタ7にそれ
ぞれスタートアドレスが設定される。この両スタートア
ドレスは、制御対象のパルスモータのその時点での運転
状態(停止状態,加速中,減速中,定速運転中等),目
的とする状態及びその状態を達成するための時間等に応
じてそれぞれ設定される。
First, the CPU sets the generation interval data start address register 5 and the waveform data start address register 7, respectively. Both start addresses depend on the current operating state of the pulse motor to be controlled (stopped state, accelerating, decelerating, constant speed operation, etc.), the target state, and the time to achieve that state. Are set respectively.

そして、発生間隔データスタートアドレスレジスタ5に
設定された発生間隔データのスタートアドレスに対応す
るRAM1の発生間隔データがタイマレジスタ43に保持さ
れ、この発生間隔データにて定められる時間がリロード
タイマ4により計時される。この計時終了により発生間
隔データアドレスカウンタ6からは次順のアドレスが発
生されてそれに対応するRAM1の発生間隔データが再度タ
イマレジスタ43に送られて保持される。
Then, the generation interval data of the RAM 1 corresponding to the start address of the generation interval data set in the generation interval data start address register 5 is held in the timer register 43, and the time defined by the generation interval data is counted by the reload timer 4. To be done. Upon completion of this time counting, the next interval address is generated from the generation interval data address counter 6, and the corresponding generation interval data of the RAM 1 is sent to the timer register 43 again and held therein.

一方、リロードタイマ4による各計時終了の都度、波形
データアドレスカウンタ8は波形データスタートアドレ
スレジスタ7に設定されている波形データのスタートア
ドレスから始まって順次波形データのアドレスを発生す
る。これにより、各波形データの対応するRAM1の波形デ
ータが読出され、波形データ出力バッファ9及び波形デ
ータ出力レジスタ10を介してパルス信号発生回路11に与
えられ、アナログの素パルス信号として出力される。
On the other hand, each time the reload timer 4 finishes counting the time, the waveform data address counter 8 sequentially generates the waveform data addresses starting from the waveform data start address set in the waveform data start address register 7. As a result, the waveform data in the RAM 1 corresponding to each waveform data is read out, applied to the pulse signal generation circuit 11 via the waveform data output buffer 9 and the waveform data output register 10, and output as an analog elementary pulse signal.

このように本発明のマイクロコンピュータでは、発生間
隔データにて定められる時間間隔をリロードタイマ4に
て計時し、このそれぞれの計時終了の都度、波形データ
を順次RAM1から読出して素パルスを合成出力するように
しているので、RAM1に種々のパターンの発生間隔データ
及び波形データを記憶させておき、また発生間隔データ
スタートアドレスレジスタ5及び波形データスタートア
ドレスレジスタ7に設定されるそれぞれのスタートアド
レスを適宜に選択設定することにより、種々の状況に対
応してパルスモータ制御のためのパルス信号を発生する
ことが出来る。
As described above, in the microcomputer of the present invention, the time interval determined by the generation interval data is measured by the reload timer 4, and the waveform data is sequentially read from the RAM 1 and the elementary pulse is synthesized and output each time the time measurement ends. Therefore, the generation interval data and the waveform data of various patterns are stored in the RAM 1, and the respective start addresses set in the generation interval data start address register 5 and the waveform data start address register 7 are appropriately set. By selectively setting, a pulse signal for controlling the pulse motor can be generated in response to various situations.

なお上記実施例では、パルスモータを駆動するためのパ
ルス信号を発生出力する例について詳述したが、これは
一例であって、パルス信号によりパルス的に駆動制御さ
れる種々の制御対象に本発明のマイクロコンピュータは
適用可能である。
In the above embodiment, the example of generating and outputting the pulse signal for driving the pulse motor has been described in detail, but this is an example, and the present invention can be applied to various control objects that are pulse-driven by the pulse signal. Microcomputer is applicable.

〔効果〕〔effect〕

以上のように本発明のマイクロコンピュータによれば、
CPUによるソフトウェア的処理はほとんど必要無しにパ
ルスモータ等を駆動するための任意の波形,任意の発生
間隔のパルス信号を発生することが可能になるので、CP
Uのソフトウェア面での負担が軽減し、また緊急度が高
い割込み要求にも即応することが可能になる。
As described above, according to the microcomputer of the present invention,
Since it is possible to generate a pulse signal with an arbitrary waveform and an arbitrary interval for driving a pulse motor etc. with almost no software processing by the CPU, CP
The load on the software side of U is reduced, and it becomes possible to immediately respond to interrupt requests with high urgency.

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

図は本発明に係るマイクロコンピュータの要部の構成を
示すブロック図である。 1……RAM、2……リアルタイマバス、4……リロード
タイマ、5……発生間隔データスタートアドレスレジス
タ、6……発生間隔データアドレスカウンタ、7……波
形データスタートアドレスレジスタ、8……波形データ
アドレスカウンタ、11……パルス信号発生回路
The figure is a block diagram showing a configuration of a main part of a microcomputer according to the present invention. 1 ... RAM, 2 ... Real timer bus, 4 ... Reload timer, 5 ... Generation interval data start address register, 6 ... Generation interval data address counter, 7 ... Waveform data start address register, 8 ... Waveform Data address counter, 11 ... Pulse signal generation circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】パルス信号を出力するマイクロコンピュー
タにおいて、 前記パルス信号を構成する素パルスの波形データ及びそ
の発生期間を定めた一連の発生間隔データを記憶したメ
モリと、 前記一連の発生間隔データの前記メモリでの任意のスタ
ートアドレスが設定される第1のレジスタと、 該第1のレジスタに設定されたスタートアドレスから順
次アドレスを発生する第1のアドレスカウンタと、 前記波形データの前記メモリでの任意のスタートアドレ
スが設定される第2のレジスタと、 該第2のレジスタに設定されたスタートアドレスから順
次アドレスを発生する第2のアドレスカウンタと、 前記第1のアドレスカウンタが発生するアドレスの発生
間隔データが設定されるタイマレジスタを含み、該タイ
マレジスタの設定値の計時終了により前記第1のアドレ
スカウンタ及び前記第2のアドレスカウンタに次順のア
ドレスを発生させるタイマと、 与えられた波形データからパルス信号を発生出力するパ
ルス信号発生回路と、 前記第1及び第2のアドレスカウンタの出力を保持し前
記メモリをアクセスするメモリアドレスレジスタと、 前記第1及び第2のアドレスカウンタの出力を前記メモ
リアドレスレジスタに転送すると共に、前記第2のアド
レスカウンタが発生するアドレスの波形データを前記メ
モリから前記パルス信号発生回路へ転送する、パルス信
号発生の為の専用機能を有するバスと、 を備えたことを特徴とするマイクロコンピュータ。
1. A microcomputer for outputting a pulse signal, comprising: a memory storing waveform data of elementary pulses constituting the pulse signal and a series of occurrence interval data defining an occurrence period thereof; and a memory of the series of occurrence interval data. A first register in which an arbitrary start address in the memory is set, a first address counter which sequentially generates addresses from the start address set in the first register, and the waveform data in the memory A second register in which an arbitrary start address is set, a second address counter which sequentially generates addresses from the start address set in the second register, and an address which is generated by the first address counter Includes a timer register to which interval data is set, A timer for generating next-order addresses in the first address counter and the second address counter, a pulse signal generation circuit for generating and outputting a pulse signal from given waveform data, and the first and second A memory address register for holding the output of the address counter and accessing the memory; and a waveform of the address generated by the second address counter while transferring the outputs of the first and second address counters to the memory address register. A bus having a dedicated function for generating a pulse signal, which transfers data from the memory to the pulse signal generating circuit, and a microcomputer.
JP62038315A 1987-02-20 1987-02-20 Micro computer Expired - Lifetime JPH07117951B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62038315A JPH07117951B2 (en) 1987-02-20 1987-02-20 Micro computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62038315A JPH07117951B2 (en) 1987-02-20 1987-02-20 Micro computer

Publications (2)

Publication Number Publication Date
JPS63204454A JPS63204454A (en) 1988-08-24
JPH07117951B2 true JPH07117951B2 (en) 1995-12-18

Family

ID=12521852

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62038315A Expired - Lifetime JPH07117951B2 (en) 1987-02-20 1987-02-20 Micro computer

Country Status (1)

Country Link
JP (1) JPH07117951B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59116829A (en) * 1982-12-23 1984-07-05 Fujitsu Ltd Microcomputer
JPS6220061A (en) * 1985-07-19 1987-01-28 Sanyo Electric Co Ltd Microcomputer containing tone generator

Also Published As

Publication number Publication date
JPS63204454A (en) 1988-08-24

Similar Documents

Publication Publication Date Title
US5583410A (en) Method and apparatus for multiplex control of a plurality of stepper motors
JPH07117951B2 (en) Micro computer
JP2790273B2 (en) Drive
JPS5853762B2 (en) Delay time control circuit
JP2773546B2 (en) Pulse generation circuit
JPH04323755A (en) Dma device
JP2634893B2 (en) Single chip microcomputer
JPH0326556A (en) Heat controller for thermal head
JP2730275B2 (en) High-speed thermal waveform recorder
SU1656548A1 (en) Data output device
JP2561308B2 (en) Data stacking device
JP3224554B2 (en) Schedule control device
JPH06290586A (en) Semiconductor memory
JP2754654B2 (en) Microcomputer output control circuit
SU1285435A2 (en) Programmed control device
JP2709201B2 (en) Microcomputer
JPS6385841A (en) memory system
JPS63311553A (en) Synchronization control system microprocessor peripheral circuit
JPH0782379B2 (en) Robot controller
JP2778066B2 (en) Microprocessor with capture mechanism
JPH01280918A (en) Interval timer
JPS61241859A (en) Data transfering equipment
JPH03211653A (en) Synchronous signal generator
JPH03139707A (en) Position command device
JPH05242272A (en) Microprocessor