JPH01144396A - Drive controller for pulse motor - Google Patents

Drive controller for pulse motor

Info

Publication number
JPH01144396A
JPH01144396A JP30355887A JP30355887A JPH01144396A JP H01144396 A JPH01144396 A JP H01144396A JP 30355887 A JP30355887 A JP 30355887A JP 30355887 A JP30355887 A JP 30355887A JP H01144396 A JPH01144396 A JP H01144396A
Authority
JP
Japan
Prior art keywords
pulse
pulses
pulse motor
change pattern
rom
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
JP30355887A
Other languages
Japanese (ja)
Inventor
Naoki Wada
直樹 和田
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.)
Shimadzu Corp
Original Assignee
Shimadzu 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 Shimadzu Corp filed Critical Shimadzu Corp
Priority to JP30355887A priority Critical patent/JPH01144396A/en
Publication of JPH01144396A publication Critical patent/JPH01144396A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of Stepping Motors (AREA)

Abstract

PURPOSE:To reduce the burden of a CPU, and to drive a pulse motor at high speed by previously storing the change pattern of the number of driving pulses to a storage means such as a ROM. CONSTITUTION:The change pattern of the number of the drive of a pulse motor 8 is stored previously into a ROM 3. A CPU 1 inputs a head address selecting the change pattern of pulse number in time series driving the pulse motor 8 to a latch section of a latch and counter 2. The head address is stored in a counter section of the latch and counter 2, and a head address in the relationship of the corresponding time series of the ROM 3 and a pulse number value is assigned first. The pulse number of the head address is output at a digital value from the ROM 3, and the digital value is input to a D/A converter 4, converted into an analog value, and input to a voltage/frequency conversion circuit 5. The CPU 1 is phase-changed in response to pulses from the voltage/ frequency conversion circuit 5.

Description

【発明の詳細な説明】 (イ)産業上の利用分野 この発明は、例えば高速性能を必要とする機械部分を駆
動するパルスモータの駆動制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (A) Field of Industrial Application The present invention relates to a drive control device for a pulse motor that drives, for example, a mechanical part that requires high-speed performance.

(ロ)従来の技術 一般に、高速高トルクで機械を駆動する場合に、パルス
モータを定電流駆動すると共に、加えるパルス数を時間
系列に対して台形制御させる必要がある。すなわちモー
タのトルクと回転数は互いに相反する関係にあり、回転
数を増加させると、トルクが落ちる。そのため、モータ
回転を高連制トルクへ駆動する場合に、いきなり速度を
上げず低速から徐々にパルスを増やし、つまり回転数を
増やし、やがて一定の高速駆動し、停止する場合も同様
に、徐りにパルス数を落としていく、このような台形制
御を行うのに、従来はCPtJで台形信号を演算し、出
力する場合と、CPUを用いないで台形制御波形を演算
回路系で構成する回路を用いて出力する)3S合がある
(b) Prior Art Generally, when driving a machine at high speed and high torque, it is necessary to drive a pulse motor with a constant current and to control the number of applied pulses in a trapezoidal manner over time. In other words, the torque and rotational speed of the motor are in a contradictory relationship with each other, and as the rotational speed increases, the torque decreases. Therefore, when driving the motor rotation to a high continuous torque, the pulses are gradually increased from a low speed without suddenly increasing the speed. Conventionally, to perform trapezoidal control such as reducing the number of pulses to There is a 3S combination.

(ハ)発明が解決しようとする問題点 上記CP Uを用いて台形制御を行う場合に、パルスの
入力毎にCPUへの割り込みが入り、パルス変更のため
の演1γを施すとなると、割り込み処理時間を要するた
めに、他の処理への時間割当が困難となり、従ってCP
Uを用いた場合の制御には、高速とする最高周波数に限
界があり、最高周波数が小さなものとなり、高速化に問
題がある。
(c) Problems to be Solved by the Invention When performing trapezoidal control using the CPU described above, an interrupt is generated to the CPU every time a pulse is input, and if operation 1γ is to be performed to change the pulse, the interrupt processing Because it takes time, it becomes difficult to allocate time to other processes, and therefore the CP
In the case of control using U, there is a limit to the maximum frequency at which high speed can be achieved, and the maximum frequency becomes small, which poses a problem in increasing speed.

一方、CPUを用いないで、演1γ回路系で台形制御波
形を出力するとなると、モータによっては必ずしも、第
2図(a)に示すような完全台形ではなく、第2図0)
)のようなioB波形を出したほうが適切な場合もあり
、いわゆる制御系によって出力する波形が胃、なる場合
に微妙なフレキシビリティを持たし得ないという問題が
ある。
On the other hand, if a trapezoidal control waveform is output using the R1γ circuit system without using a CPU, depending on the motor, the waveform may not necessarily be a perfect trapezoid as shown in Figure 2(a).
), it may be more appropriate to output an ioB waveform such as ioB waveform, but there is a problem in that it is not possible to have delicate flexibility when the waveform output by the so-called control system becomes a stomach waveform.

この発明は、上記問題点に着目してなされたものであっ
て、高辻高トルクの制御が可能であると共に、出力台形
波形にフレキシビリティを持たし得るパルスモータ駆動
制御装置を提供することを目的としている。
The present invention has been made in view of the above-mentioned problems, and an object of the present invention is to provide a pulse motor drive control device that is capable of controlling Takatsuki high torque and having flexibility in the output trapezoidal waveform. It is said that

(ニ)問題点を解決するための手段及び作用この発明の
モータ駆動制御装置は、パルスモータに入力するパルス
の時間経過に対するパルス数の変化パターンをアドレス
順次に予め記tαする記憶手段と、この記憶手段のアド
レスを順次指定し、前記記憶手段に記憶されるパルス数
の変化パターンを111次出力させるアドレス指定手段
と、出力されたパルス数の変化パターンの各パルス数を
アナログ(/jに変換するD/A変換器と、このD/A
変換器のアナログ電圧を受け、その出力値に応じた周波
数のパルス信号を出力する電圧/周波数変換回路と、前
記パルス信号を受ける毎に、パルスモータを1歩進する
ための信号を出力するCPUとから構成されている。
(d) Means and operation for solving the problem The motor drive control device of the present invention includes a storage means for prerecording a change pattern of the number of pulses input to the pulse motor over time in address sequence tα; Addressing means for sequentially specifying addresses of the storage means and outputting the 111th change pattern of the number of pulses stored in the storage means, and converting each pulse number of the output change pattern of the number of pulses into an analog (/j) A D/A converter and this D/A
A voltage/frequency conversion circuit that receives the analog voltage of the converter and outputs a pulse signal with a frequency corresponding to the output value thereof, and a CPU that outputs a signal for advancing the pulse motor by one step each time the pulse signal is received. It is composed of.

このパルスータ駆動制御装置では、ROM等の記tα手
段に予めパルス数の変化パターンを記すへしている0例
えば第2図(a)の台形波形や第2図(blのlog波
形である。モーフ制御器によって、このパルス数の変化
パターンが選択され、CPU、つまりアドレス指定手段
から、そのパルス数の変化パターンの先頭アドレスが指
定される。以後順次記憶手段から、そのパルス数の変化
パターンが出力され、このパルス数値がD/A変ta 
23でアナログ(11’l’ 4こ変換され、変換され
たアナログ電圧がさらに電圧/周波数変換回路で電圧値
に応じたパルス数の13号に変換され、このパルス信号
がCPUに入力される。CPUは、この人力パルス信号
を受ける度に、パルスモータを1歩進し、入力周波数に
応じた速度制御を行うことになる。
In this pulse router drive control device, a change pattern of the number of pulses is recorded in advance in a recording means such as a ROM.For example, the trapezoidal waveform shown in FIG. This pulse number variation pattern is selected by the controller, and the CPU, that is, the addressing means, specifies the start address of the pulse number variation pattern.Then, the pulse number variation pattern is sequentially output from the storage means. and this pulse value is the D/A change ta
At 23, the analog voltage (11'l') is converted into 4 signals, and the converted analog voltage is further converted into 13 pulses according to the voltage value in a voltage/frequency conversion circuit, and this pulse signal is input to the CPU. Each time the CPU receives this human-powered pulse signal, it advances the pulse motor one step and performs speed control according to the input frequency.

(ボ)実施例 以下実施例により、この発明をさらに詳細に説明する。(B) Example The present invention will be explained in more detail with reference to Examples below.

第1図は、この発明の一実施例を示すパルスモータ駆動
装置の回路ブロック図である。同図において、CPUI
はパルスモータ8を駆動する時間系列のパルス数の変化
パターンを選択する先頭アドレスをラッチ&カウンク2
のラッチ部に入力し、ラッチ部はこれをラッチする。こ
の先頭アドレスがラッチ&カウンタ2のカウンタ部にス
トアされ、先ずROM 3の対応する時間系列とパルス
数4fの関係の先頭アドレスを指定する。ROM3から
は、先頭アドレスのパルス数がデジタル値で出力され、
これがD/A変換器4に入力され、アナログ値に変換さ
れて、電圧/J、’i1波数変換回路5に入ツノされる
。そして、入力された電圧レベルに応じたパルス数、つ
まり第2図(a)でいうと最初の立ち上がりに相当する
周波数のパルスが、CPUIの割り込み端子INTに入
力される。以後ラッチ及カウンタ2のカウンタには、ク
ロンク信号が人力される度にカウンタが1歩進され、二
〇カウンタの歩進に応じて、ROM3のアドレスが1l
li次インクリメントされ、対応するROM3のパルス
数がそれぞれデジタル値で出力され、D/A変換器4、
電圧/周波数変換回路5壱通して、ROM3より出力さ
れたパルス数値に対応した周波数のパルスが、CPUI
の割り込み端子rNTに入力される。つまり、CPUI
には、ROM3に記憶されるパルス数の変化パターンに
対応する周波数のパルスがそれぞれ割り込み端子INT
に人力される。CPU1は、このパルスが入力される度
にパルスモータ8を駆動するための相イ3号を1相ずつ
ルi((シながら、ラッチ回路6に入力し、このラッチ
回路のデジタル信号により、駆動回路7がバルスモータ
8を1歩進して回転を8け続する。第1図のD/A変f
’J 器4の出力を第3図の(a)のように、最初はあ
る低レベルの電圧であり、さらに所定の傾斜をもって上
昇し、今度はハイレベルで一定の電圧レベルとなる場合
を想定すると、電圧/周波数変換回路5の出力は、第3
図(b)に示すように、アナログ出力の低レベルの時に
は、パルス数が比較的小であり、さらにアナログレベル
の傾斜が直線的に上昇する場合には、パルスの周波数も
上昇し、アナログ出力が高く一定のレベルとなる時には
、その高いレベルに対応した高い周波数のパルスが出力
されることになる。このようなパルス信号、つまりD/
Ai換′2′44の出力されるアナログレベルに対応し
たパルス信号がCPUIに入力され、パルスモータ8を
制御することになる。ROM3には、単に第2図(a)
、第2図(b)に示す波形のみならず、1ift々のパ
ルス数変化パターンを記t12しておくことができるの
で、CPUIは、この何れの波形を35里択するか先頭
アドレスを指定する信号を出力すればよく、パルスモー
タを含む駆動系が種々相違する場合でも、これに対応す
ることができる。
FIG. 1 is a circuit block diagram of a pulse motor drive device showing one embodiment of the present invention. In the same figure, CPUI
Latch & Count 2 the start address that selects the change pattern of the number of pulses in the time series that drives the pulse motor 8.
The signal is input to the latch unit, and the latch unit latches it. This start address is stored in the counter section of the latch & counter 2, and first the start address of the relationship between the corresponding time series and the number of pulses 4f in the ROM 3 is specified. ROM3 outputs the number of pulses at the start address as a digital value,
This is input to the D/A converter 4, converted to an analog value, and input to the voltage /J,'i1 wave number conversion circuit 5. Then, the number of pulses corresponding to the input voltage level, that is, pulses with a frequency corresponding to the first rise in FIG. 2(a), are input to the interrupt terminal INT of the CPUI. From then on, the counter of latch and counter 2 is incremented by one step each time the clock signal is input manually, and the address of ROM3 is incremented by 1l according to the increment of 20 counter.
The number of pulses in the ROM 3 is incremented to the lith order, and the corresponding number of pulses in the ROM 3 is output as a digital value, and the D/A converter 4,
Through the voltage/frequency conversion circuit 5, a pulse with a frequency corresponding to the pulse value output from the ROM 3 is sent to the CPU
is input to the interrupt terminal rNT. In other words, CPUI
The pulses of the frequency corresponding to the change pattern of the number of pulses stored in ROM3 are respectively connected to the interrupt terminal INT.
is man-powered. Each time this pulse is input, the CPU 1 inputs it to the latch circuit 6 and drives it by the digital signal of this latch circuit. The circuit 7 advances the pulse motor 8 by one step and continues rotation for 8 consecutive times.D/A change f in Fig. 1
As shown in Figure 3 (a), it is assumed that the output of the J converter 4 is at a certain low level voltage at first, then increases at a predetermined slope, and then reaches a high level and a constant voltage level. Then, the output of the voltage/frequency conversion circuit 5 becomes
As shown in Figure (b), when the analog output is at a low level, the number of pulses is relatively small, and when the slope of the analog level increases linearly, the frequency of the pulses also increases, and the analog output When the signal is at a high and constant level, a pulse with a high frequency corresponding to the high level is output. Such a pulse signal, that is, D/
A pulse signal corresponding to the analog level output from the Ai converter 2' 44 is input to the CPUI, and the pulse motor 8 is controlled. ROM3 simply contains the data shown in Figure 2 (a).
, it is possible to record not only the waveform shown in FIG. 2(b) but also the pulse number change pattern for each 1ift, so the CPU selects which of the 35 waveforms to select and specifies the start address. It is only necessary to output a signal, and even if the drive system including the pulse motor is variously different, this can be handled.

(へ)発明の効果 この発明によれば、パルスモータを駆動するパルス数の
変化パターンを予めROM等°の記tα手段に記↑、α
しておき、CPUは、このROMの何れのパターンを選
択するか先頭アドレスを指定すれば、後はROM3から
読み出されたデジタル値がD/A変lfi器でアナログ
値に変換され、さらに電圧/周波数変換回路からパルス
数に応じた周波数のパルスが入力されるため、CP’ 
Uは、この入力されるパルスに応じて相変1i!1!l
すればよく、CI’Uの負1uが軽減されるので、その
分最高拮1波数を落とすことなく、つまり高速でパルス
モータを9区1・力でき、しかもROM等の記憶手段に
は、種々のパルス数の変化パターンを記憶できるので、
フレキシビリティを持たせることができるという利点が
ある。
(f) Effects of the Invention According to the present invention, the change pattern of the number of pulses for driving the pulse motor is recorded in advance in the ROM, etc. tα means ↑, α
Then, the CPU selects which pattern in this ROM and specifies the start address, and then the digital value read from ROM3 is converted to an analog value by the D/A converter LFI, and then the voltage is /Since pulses with a frequency corresponding to the number of pulses are input from the frequency conversion circuit, CP'
U changes phase 1i! according to this input pulse! 1! l
Since the negative 1u of CI'U is reduced, the pulse motor can be operated at high speed without reducing the maximum wave number. Since the change pattern of the number of pulses can be memorized,
It has the advantage of being flexible.

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

第1図は、この発明の一実施例を示すパルスモータ駆動
制御装置のブロック図、第2図(a)、第2図(t))
はパルスモータの高速制御におけるパルス数の変化パタ
ーンを示す波形り喝、第3図は第1図の実施例回路装置
におけるD/A変換器の出力と電圧/周波数変換回路か
ら出力されるパルス数の関係を説明するための波形タイ
ムチャートである。 1:cPU、   2:ラッチ&カウンタ、3:nOM
、  4 : D/A変換器、5:電圧/周波数変換回
路、8:パルスモータ。 特許用)9,1人     株式会社島津製作所代理人
  弁理士  中 村 茂 信 第1図 第 2図(a) 第2図(b)
FIG. 1 is a block diagram of a pulse motor drive control device showing one embodiment of the present invention, FIG. 2(a), FIG. 2(t))
3 shows a waveform diagram showing a change pattern of the number of pulses in high-speed control of a pulse motor, and FIG. 3 shows the output of the D/A converter and the number of pulses output from the voltage/frequency conversion circuit in the circuit device of the embodiment shown in FIG. 1. 3 is a waveform time chart for explaining the relationship between the two. 1: cPU, 2: latch & counter, 3: nOM
, 4: D/A converter, 5: voltage/frequency conversion circuit, 8: pulse motor. For patents) 9.1 Shimadzu Corporation Representative Patent Attorney Shigeru Nakamura Figure 1 Figure 2 (a) Figure 2 (b)

Claims (1)

【特許請求の範囲】[Claims] (1)パルスモータに入力するパルスの時間経過に対す
るパルス数の変化パターンをアドレス順次に予め記憶す
る記憶手段と、この記憶手段記のアドレスを順次指定し
、前記記憶手段に記tαされるパルス数の変化パターン
を順次出力させるアドレス指定手段と、出力されたパル
ス数の変化パターンの各パルス数をアナログ値に変換す
るD/A変換器と、このD/A変換器のアナログ出力を
受け、その出力値に応じた周波数のパルス信号を出力す
る電圧/周波数変換回路と、前記パルス信号を受ける毎
に、パルスモータを1歩進するための信号を出力するC
PUとからなるパルスモータ駆動制御装置。
(1) A storage means for storing in advance in address sequence a pattern of changes in the number of pulses input to the pulse motor over time, and the number of pulses tα recorded in the storage means by sequentially specifying the addresses of the storage means. address designation means for sequentially outputting the change pattern of the number of pulses; a D/A converter that converts each pulse number of the output change pattern of the number of pulses into an analog value; and a D/A converter that receives the analog output of the D/A converter and A voltage/frequency conversion circuit that outputs a pulse signal with a frequency corresponding to an output value, and a C that outputs a signal for advancing the pulse motor by one step each time the pulse signal is received.
A pulse motor drive control device consisting of a PU.
JP30355887A 1987-11-30 1987-11-30 Drive controller for pulse motor Pending JPH01144396A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30355887A JPH01144396A (en) 1987-11-30 1987-11-30 Drive controller for pulse motor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30355887A JPH01144396A (en) 1987-11-30 1987-11-30 Drive controller for pulse motor

Publications (1)

Publication Number Publication Date
JPH01144396A true JPH01144396A (en) 1989-06-06

Family

ID=17922461

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30355887A Pending JPH01144396A (en) 1987-11-30 1987-11-30 Drive controller for pulse motor

Country Status (1)

Country Link
JP (1) JPH01144396A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5435313A (en) * 1977-08-24 1979-03-15 Hitachi Ltd Control circuit for pulse motor
JPS59132796A (en) * 1983-01-20 1984-07-30 Tokyo Electric Co Ltd Method and device for driving step motor
JPS6016192A (en) * 1983-07-08 1985-01-26 Toshiba Corp Pulse generator
JPS62236388A (en) * 1986-04-07 1987-10-16 Nichiden Mach Ltd Controlling method for speed of motor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5435313A (en) * 1977-08-24 1979-03-15 Hitachi Ltd Control circuit for pulse motor
JPS59132796A (en) * 1983-01-20 1984-07-30 Tokyo Electric Co Ltd Method and device for driving step motor
JPS6016192A (en) * 1983-07-08 1985-01-26 Toshiba Corp Pulse generator
JPS62236388A (en) * 1986-04-07 1987-10-16 Nichiden Mach Ltd Controlling method for speed of motor

Similar Documents

Publication Publication Date Title
EP0800263B1 (en) Drive system for a brushless motor employing predefined profiles of driving currents stored in a nonvolatile memory
US5422557A (en) Method and apparatus for controlling the speed of a single phase induction motor using frequency variation
JPS59132796A (en) Method and device for driving step motor
JP2001352783A (en) Motor controller
JPH01144396A (en) Drive controller for pulse motor
JPS607478B2 (en) Sub-scanning step motor drive device
JPH0614798B2 (en) Drive unit for pulse motor
JPH06141582A (en) Pwm control circuit and servo system equipped with pwm control circuit
JPH0759398A (en) Method for driving stepping motor
JPH0775386A (en) Method for controlling pulse motor current value
KR100210373B1 (en) Real-time dc motor control device using pwm
JP2881059B2 (en) Driving method of stepping motor for disk drive
JP2853723B2 (en) Pulse width modulation circuit
JPH0965695A (en) Stepping motor driving controller
JP2692791B2 (en) DA converter
JPS61276154A (en) Reel driver
JP2929890B2 (en) Thermal recording device
JP2702276B2 (en) Linear pulse motor drive circuit for floppy disk drive
JP2000262094A (en) Pulse motor control method
JPS61121787A (en) Speed controller of motor
JPH10337096A (en) Stepping motor driver
JPS60241798A (en) Drive device for stepping motor
JPS63129876A (en) Torque fluctuation corrective device for motor
JPH07264894A (en) Control circuit for stepping motor
JP2000102292A (en) Stepping-motor drive device