JPS5963992A - Positioning controller for dc motor - Google Patents

Positioning controller for dc motor

Info

Publication number
JPS5963992A
JPS5963992A JP57174199A JP17419982A JPS5963992A JP S5963992 A JPS5963992 A JP S5963992A JP 57174199 A JP57174199 A JP 57174199A JP 17419982 A JP17419982 A JP 17419982A JP S5963992 A JPS5963992 A JP S5963992A
Authority
JP
Japan
Prior art keywords
output
counter
motor
error
outputs
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
JP57174199A
Other languages
Japanese (ja)
Inventor
Yukikazu Kogai
小飼 幸和
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP57174199A priority Critical patent/JPS5963992A/en
Publication of JPS5963992A publication Critical patent/JPS5963992A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P7/00Arrangements for regulating or controlling the speed or torque of electric DC motors
    • H02P7/06Arrangements for regulating or controlling the speed or torque of electric DC motors for regulating or controlling an individual dc dynamo-electric motor by varying field or armature current
    • H02P7/18Arrangements for regulating or controlling the speed or torque of electric DC motors for regulating or controlling an individual dc dynamo-electric motor by varying field or armature current by master control with auxiliary power
    • H02P7/24Arrangements for regulating or controlling the speed or torque of electric DC motors for regulating or controlling an individual dc dynamo-electric motor by varying field or armature current by master control with auxiliary power using discharge tubes or semiconductor devices
    • H02P7/28Arrangements for regulating or controlling the speed or torque of electric DC motors for regulating or controlling an individual dc dynamo-electric motor by varying field or armature current by master control with auxiliary power using discharge tubes or semiconductor devices using semiconductor devices
    • H02P7/285Arrangements for regulating or controlling the speed or torque of electric DC motors for regulating or controlling an individual dc dynamo-electric motor by varying field or armature current by master control with auxiliary power using discharge tubes or semiconductor devices using semiconductor devices controlling armature supply only
    • H02P7/29Arrangements for regulating or controlling the speed or torque of electric DC motors for regulating or controlling an individual dc dynamo-electric motor by varying field or armature current by master control with auxiliary power using discharge tubes or semiconductor devices using semiconductor devices controlling armature supply only using pulse modulation
    • H02P7/2913Arrangements for regulating or controlling the speed or torque of electric DC motors for regulating or controlling an individual dc dynamo-electric motor by varying field or armature current by master control with auxiliary power using discharge tubes or semiconductor devices using semiconductor devices controlling armature supply only using pulse modulation whereby the speed is regulated by measuring the motor speed and comparing it with a given physical value

Abstract

PURPOSE:To improve the resolution of a DC motor control circuit of a pulse width modulation type by composing the control circuit of a digital circuit, thereby eliminating a D/A converter. CONSTITUTION:An error counter 2 outputs an error pulse number N and rotating direction information RD in response to the instruction pulse from a controller 1 and moving amount of a target from an encoder 8. A counter 12 counts the outputs of an oscillator 11, repeats zero - the maximum value, and a digital counter 10 compares the output of the counter 2 with the output of the counter 12. FF14 is set by the output of a 0 detector 13 for detecting that the output of the counter 12 is 0, and reset by the coincidence output of the comparator 10. A power circuit 6 controls the polarity and the time of a current flowed through a DC motor 7 in response to the output pulse width and the rotating direction information RD of the FF14.

Description

【発明の詳細な説明】 発明の技術51野 本発明は、パルス幅変調方式の直流モータ位置決め制御
装置に関する。
DETAILED DESCRIPTION OF THE INVENTION Field 51 of the Invention The present invention relates to a pulse width modulation DC motor positioning control device.

技術の背景 直流(IJ C)モータはパルスモータと比較して高速
度、高効率、低振動である等の理由からリーボモータな
どにも広く用いられ、これを用いた位置決め装置も多い
。この場合、I) Cモータの回転角制御にパルスl1
vii変#J1(PWM)方式を用いることがある。
Background of the Technology Direct current (IJC) motors are widely used in rivet motors and the like because of their higher speed, higher efficiency, and lower vibration than pulse motors, and there are many positioning devices using them. In this case, I) Pulse l1 is used to control the rotation angle of the C motor.
vii modified #J1 (PWM) method may be used.

従来技術と問題点 第1図はその従来例で、lば本9・−ボ系に対し移動量
指令(アップパルスUPまたはダウンパルスDPの数)
を出力するコントローラ、2は二1ントローラlからの
移動量指令つまりパルス数をセットされ方向判別回路9
からのアップ/ダウンパルスUP/DPをダウンカウン
トする一呉差カウンタ、3はその出力をアナログ値に変
換するl) A ::lンバ ′−タ、4は基準三角波
を発生ずる回路、5は基準三角波発生器4の図示の如き
出力波形を1〕八二1ンバータ3の゛rナログ出力レベ
ルでスライスし整形した形のパルス幅変調出力を生ずる
アナログ比較器、6は該パルス幅と誤差カウンタ2から
の回転方向1η報RI)を受&JてDCモータ7の回転
角を制御するPWM式(メンオフ式)パワーp t/3
.7は対象物の位置決めを行うD C,モータ、8はそ
のモータ軸に直結したエンコーダ、9は該エンコーダか
らの2相出力パルスを受けて回転方向を検知し、回転方
向別のアップ/ダウンパルスUP/DI’を出力する方
向判別回路である。
Conventional technology and problems Figure 1 shows a conventional example of this, in which a movement amount command (number of up pulses UP or down pulses DP) is given to the l, 9, and -bo systems.
The controller 2 outputs the movement amount command, that is, the number of pulses, from the 21 controller l, and the direction determination circuit 9
3 is a differential counter that counts down the up/down pulses UP/DP from UP/DP, 3 is a converter that converts its output into an analog value, 4 is a circuit that generates a reference triangular wave, 5 is a An analog comparator that generates a pulse width modulated output in the form of slicing and shaping the output waveform of the reference triangular wave generator 4 at the analog output level of the 821 inverter 3; 6 is the pulse width and error counter; PWM type (Menoff type) power p t/3 that receives the rotation direction 1η information RI) from 2 and controls the rotation angle of the DC motor 7.
.. 7 is a DC motor that positions the object, 8 is an encoder directly connected to the motor shaft, and 9 receives two-phase output pulses from the encoder to detect the rotation direction, and generates up/down pulses for each rotation direction. This is a direction determining circuit that outputs UP/DI'.

木す′−ボ系では」ントtI−ラlからアップtrI令
パルス数UPまたはダウン指定パルス数DPが出力され
ると、方向判別回路9がそれと同じ個数のパルスUPま
たはDPを出力するまで誤差カウンタ2は出力を生じ、
DCモータ7は回転を続りる。
In the wooden board system, when the number of up-trI command pulses UP or the number of down-specified pulses DP is output from the main unit, the error continues until the direction discrimination circuit 9 outputs the same number of pulses UP or DP. Counter 2 produces an output,
The DC motor 7 continues to rotate.

つまり、−lン)−1:J−ラlから指令パルス数が出
力された時点では方向判別回路9からの入力はなく、誤
差カウンタ2は指令値そのもの(大き過ぎる場合は飽和
さ−Uる)を出力し、該出力に対応する広幅のパルスが
モータ7に加えられてモータは大トルクで回転を始め、
この回転により方向判別回路9からアンプ又はダウンパ
ルスUPまたはD Pが入力すると誤差カウンタ2はそ
れを減算カウントし、出力を漸減し、1)Δコンバータ
3はこれをアナログ変換し、アナログ比較器5は誤差カ
ウンタ2の出力に応じた情のパルスを生じ、これがパワ
ー回路6を介してモータ7に加わる。これは誤差零にな
る進行なわれる。誤差カウンタ2はまた、コントローラ
Iからの指令パルス数及び誤差の正負により、l) C
モータ7をいずれの方向に回転さ・Uれば対象物を目標
位置へ正しく位置決めできるかを判別できるので、その
回転方向情報をパワー回路6に与える。この回転方向情
報RDおよび」1記のパルス幅を受けたパワー回路6は
、DCモータ7に通電する電流の極性と時間を制御して
該モータを回転させる。この結壓りまり対象物の移動量
はエンコーダ8により検出され、方向判別回路9の出力
パルスがコントローラlの出力パルス数と一致するまで
上述した制御が繰り返される。
In other words, at the time when the number of command pulses is output from J-L, there is no input from the direction discrimination circuit 9, and the error counter 2 receives the command value itself (if it is too large, it is saturated). ), a wide pulse corresponding to the output is applied to the motor 7, and the motor starts rotating with a large torque,
When an amplifier or down pulse UP or DP is input from the direction discrimination circuit 9 due to this rotation, the error counter 2 subtracts it and gradually decreases the output. 1) The Δ converter 3 converts it into analog, and the analog comparator 5 generates a pulse corresponding to the output of the error counter 2, which is applied to the motor 7 via the power circuit 6. This progresses to zero error. The error counter 2 also calculates l) C depending on the number of command pulses from the controller I and the sign of the error.
Since it is possible to determine in which direction the motor 7 should be rotated to correctly position the object to the target position, the rotation direction information is provided to the power circuit 6. The power circuit 6, which receives the rotational direction information RD and the pulse width of "1," controls the polarity and time of the current supplied to the DC motor 7 to rotate the motor. The amount of movement of this condensed object is detected by the encoder 8, and the above-mentioned control is repeated until the output pulses of the direction determining circuit 9 match the number of output pulses of the controller l.

上述した方式はパルス幅変調する部分がアナログ式であ
るために、(1)高価なり A :1ンバータを必要と
4′る、+211i度を−l二げようとしても16ビソ
ト以上のD A =rンバータは入手しにくい(市販さ
れていない)など制約がある、(3)アナログであると
零調整等調整個所が多い、(4)カストマIC化(ゲー
トプレイの採用)が難しい、等の欠点がある。
Since the pulse width modulation part of the above method is an analog type, (1) it is expensive; A:1 inverter is required; even if an attempt is made to reduce +211i degrees by -l, the D A = 16 bisoto or more; Disadvantages include: R converters are difficult to obtain (not commercially available), (3) Analog models require many adjustments such as zero adjustment, and (4) It is difficult to convert into customer ICs (adopting gate play). There is.

発明の目的 本発明は、純デジタル回路で構成することにより上述し
た欠点を除去したPWM式D Cモータ制御方式を提供
しようとするものである。
OBJECTS OF THE INVENTION The present invention seeks to provide a PWM type DC motor control system that eliminates the above-mentioned drawbacks by being configured with a purely digital circuit.

発明の構成 本発明は、直流モータの回転量検出回路の出力とコンI
・ローラからの移動量指令との誤差に応した言1数値お
よび回転方向情報を出力する誤差カウンタと、基準発振
器の出力パルスを引数して零、最大値間を繰り返すn1
数値を出力する第2のカウンタと、該第2のカウンタの
品1数値が零になるときセットされるフリップフロップ
と、該誤差カウンタの出力と第2のカウンタの出力が一
致したとき該フリップフロップをリセットする出力を生
じるデジタル比較器とを備え、該フリップフロップの出
力および前記の回転方向情報をパワー回路に加えてその
出力で前記直流モータの回転量を制御するよ・うにして
なることを特徴とするが、以[図示の実施例を参照しな
がらこれを詳細に説明する。
Structure of the Invention The present invention provides an output of a DC motor rotation amount detection circuit and a controller I.
・An error counter that outputs a numerical value and rotation direction information corresponding to the error with the movement amount command from the roller, and n1 that repeats between zero and maximum values using the output pulse of the reference oscillator as an argument.
a second counter that outputs a numerical value; a flip-flop that is set when the first value of the second counter becomes zero; and a flip-flop that is set when the output of the error counter and the output of the second counter match. and a digital comparator that produces an output for resetting the DC motor, the output of the flip-flop and the rotation direction information are added to a power circuit, and the output is used to control the rotation amount of the DC motor. This feature will be described in detail below with reference to the illustrated embodiment.

発明の実施例 第2図は本発明の一実施例で、第1図と同一部分には同
一符号がイリしである。本例が第1図と異なる点は、同
図のD八、1ンバーク3、基準三角波発生器4、アナロ
グ比較器5の部分を、デジタル比較器105発振器11
、カウンタ12.0検出器13、フリップフロップ14
に置き換えた点である。カウンタ12は発振器11の出
力を61数し1、零・〜最大値を繰り返すそのδ1数値
はデジタル比較器IOで誤差カウンタ2の出力Nと比較
される。
Embodiment of the Invention FIG. 2 shows an embodiment of the present invention, in which the same parts as in FIG. 1 are denoted by the same reference numerals. This example is different from FIG.
, counter 12.0 detector 13, flip-flop 14
The point is that it has been replaced with . The counter 12 counts the output of the oscillator 11 to 61, and its δ1 value which repeats 1, 0, to the maximum value is compared with the output N of the error counter 2 by the digital comparator IO.

0検出器13はカウンタ12の出力が()であることを
検出し゛ζフリソプフ頼ツブ14をセットする。
The 0 detector 13 detects that the output of the counter 12 is () and sets the ``ζ'' Fritsop filter 14.

このフリップフ1゛1ツブ14がリセットされるのは、
比較器10の一致出力であるから、フリップフロップ1
4の出力パルス幅W(セットされている期間)およびそ
の周期]゛は、発振器11の出力をf(TIZ)、カウ
ンタ12のビット数をM、誤差カウンタ2の出力をNと
したとき W=N/f T=2  /r となる。従って、フリップフロップ14の出力の平均パ
ルス幅(マーク率)Wは となり、第1図のアナログ比較器5の出力と同樺娯差に
比例したものとなる。また発振器11の出力周波数fに
関係−りす、従っ°ζζ先発振器精度の影響を受番Jな
い。
The flip 1 and 1 knobs 14 are reset by:
Since it is a coincidence output of comparator 10, flip-flop 1
4's output pulse width W (set period) and its period], where the output of oscillator 11 is f (TIZ), the number of bits of counter 12 is M, and the output of error counter 2 is N, W = N/f T=2/r. Therefore, the average pulse width (mark rate) W of the output of the flip-flop 14 is as follows, which is proportional to the difference between the output of the analog comparator 5 in FIG. Also, since it is related to the output frequency f of the oscillator 11, it is not affected by the accuracy of the starting oscillator.

第3図はM=4、N=IOとした場合の動作を説明する
タイムチャー1−である。Q o ” Q 3は4ビツ
トカウンタ12の各段の出力を示し、Sはも検出器13
の出力でカウンタ12の出力が15となる毎に生じる。
FIG. 3 is a time chart 1 for explaining the operation when M=4 and N=IO. Q o "Q 3 indicates the output of each stage of the 4-bit counter 12, and S indicates the output of the detector 13.
This occurs every time the output of the counter 12 becomes 15.

Rは比較′a10の一致出力で、カウンクFI+数値が
9となる毎に生じる。DVはフリソブフ「】ツブ14の
出力で、−に記S、Rによりセット、リセッI・されて
図示の如き矩形波となる。
R is the coincidence output of comparison 'a10, which occurs every time the count FI+number becomes 9. DV is the output of the Frisobuf knob 14, which is set and reset by S and R, and becomes a rectangular wave as shown in the figure.

Nは勿論−・定ではなくOに向けζ刻々減少し、従って
フリップフロップ14の出力DVのパルスll1lii
は漸減し、目標位置では零になる。こ・)シて位置決め
が行われる。
Of course, N is not constant, but decreases every moment towards O, so the pulse 11lii of the output DV of the flip-flop 14
gradually decreases and becomes zero at the target position. Positioning is performed using this.

尚、誤差カウンタ2の最上位ヒソ1−は極性(回転方向
)の指示に使用され、カウント値が0を越えると反転す
るので、これにより行き過ぎの戻し操作などが行なわれ
る。誤差カウンタ2、デジタル比較器lO、カウンタI
2のビット数Mは全て同じで、このビット数Mによりザ
ーボ系の分解能が決定される。つまり、分解能はl/2
” ごあり、M=8であれば1 / 256、M−16
であれば1/655313となる。これが従来のDへコ
ンバータ3の分解能に相当するが、従来と界なるのはM
を単に増加するだけで分解能を向上さ−U得る点である
The highest position 1- of the error counter 2 is used to indicate the polarity (direction of rotation), and is inverted when the count value exceeds 0, so that an over-travel return operation can be performed. Error counter 2, digital comparator lO, counter I
The bit number M of 2 is the same, and the resolution of the servo system is determined by this bit number M. In other words, the resolution is l/2
” Thank you, if M=8, it is 1/256, M-16
If so, it becomes 1/655313. This corresponds to the resolution of the conventional D converter 3, but the difference from the conventional one is M
The point is that the resolution can be improved simply by increasing -U.

カウンタ12のビット数Mが一定であれば、発1辰器1
1の周波数fがザー51母系の追(7C性を左右するう
つまり、fは高いほどよいが、その」1限はパワー回路
6のスイッチング速度で制限される。
If the number of bits M of the counter 12 is constant, the generator 1
The frequency f of 1 influences the frequency of the mother line (7C), that is, the higher the value of f, the better, but the limit is limited by the switching speed of the power circuit 6.

発明の効果 見、l述べたように本発明によれば、PWM方式の1)
 C′F:−タ制御回路をデジタル回路で構成したので
、(11晶価なりAJンバータを必要としない、(2)
分解能を充分に向−ヒさせ得る、(3)調整個所がない
、(1)デー1アL−・イに、1、るカストマIC化が
可能である、等の利点がある。
Effects of the Invention: As stated above, according to the present invention, 1) of the PWM method
Since the C'F: -ta control circuit is constructed with a digital circuit, (11 crystal value or AJ inverter is not required, (2)
It has the following advantages: resolution can be sufficiently increased, (3) there are no adjustment points, and (1) data can be integrated into customer ICs.

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

第1F!!lは従来のPWM式DCモータ制御装置のブ
し1ツク図、第21ン1は本発明の一実施例を示すブロ
ック図、第3図も」、その動作を示すタイムチャートで
ある。 図中、1はコントローラ、2は誤差カウンタ、6はPW
M式パワー回路、7はDCモータ、8はエンコーダ、9
は方向判別回路、10はデジタル比較器、11は発振器
、12は第2のカウンタ、13は0検出器、14ばフリ
ップフロップである。 出 願 人  富 士 通 株式会社 代理人弁理士  青  柳    稔
1st F! ! 1 is a block diagram of a conventional PWM type DC motor control device, 21st page 1 is a block diagram showing an embodiment of the present invention, and FIG. 3 is a time chart showing its operation. In the figure, 1 is the controller, 2 is the error counter, and 6 is the PW.
M type power circuit, 7 is DC motor, 8 is encoder, 9
10 is a direction discrimination circuit, 10 is a digital comparator, 11 is an oscillator, 12 is a second counter, 13 is a 0 detector, and 14 is a flip-flop. Applicant Fujitsu Co., Ltd. Representative Patent Attorney Minoru Aoyagi

Claims (1)

【特許請求の範囲】[Claims] 直流モータの回転量検出回路の出力とコントローラから
の移1IiIJ量指令との誤差に応じた計数値および回
転方向情報を出力する誤差カウンタと、晶準発振器の出
力パルスを計数して零、最大値間を繰り返すd1数値を
出力する第′2のカウンタと、該第2のカウンタのFi
l数値が零になるときセットされるフリップフ11ツブ
と、該誤差カウンタの出力と第2のカウンタの出力が一
致したとき該フリップフロップをリセットする出力を生
じるデジタル比較器とを備え、該フリップフロップの出
力および前記の回転方向情報をパワー回路に加えてその
出力で前記直流モータの回転量を制御するようにしてな
ることを特徴とする、パルス幅変調方式の直流モータ位
置決め制御装置。
An error counter that outputs a count value and rotation direction information according to the error between the output of the DC motor rotation amount detection circuit and the transfer 1IiIJ amount command from the controller, and an error counter that counts the output pulses of the crystal quasi oscillator to zero and maximum values. a '2nd counter that outputs the d1 value that repeats the interval, and the Fi of the second counter;
a flip-flop that is set when the l value becomes zero; and a digital comparator that produces an output that resets the flip-flop when the output of the error counter and the output of the second counter match; A DC motor positioning control device using a pulse width modulation method, characterized in that the output of the DC motor and the rotation direction information are added to a power circuit, and the rotation amount of the DC motor is controlled by the output.
JP57174199A 1982-10-04 1982-10-04 Positioning controller for dc motor Pending JPS5963992A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57174199A JPS5963992A (en) 1982-10-04 1982-10-04 Positioning controller for dc motor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57174199A JPS5963992A (en) 1982-10-04 1982-10-04 Positioning controller for dc motor

Publications (1)

Publication Number Publication Date
JPS5963992A true JPS5963992A (en) 1984-04-11

Family

ID=15974454

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57174199A Pending JPS5963992A (en) 1982-10-04 1982-10-04 Positioning controller for dc motor

Country Status (1)

Country Link
JP (1) JPS5963992A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61157287A (en) * 1984-12-26 1986-07-16 シビエ・プロジエクトール Method and device for controlling direct current motor for controlling positional follow-up value and displacement control system by said control method
JPS62272886A (en) * 1986-05-20 1987-11-27 Fujitsu Ltd Dc motor drive circuit

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56129588A (en) * 1980-03-11 1981-10-09 Olympus Optical Co Ltd Controlling device for motor

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56129588A (en) * 1980-03-11 1981-10-09 Olympus Optical Co Ltd Controlling device for motor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61157287A (en) * 1984-12-26 1986-07-16 シビエ・プロジエクトール Method and device for controlling direct current motor for controlling positional follow-up value and displacement control system by said control method
JPS62272886A (en) * 1986-05-20 1987-11-27 Fujitsu Ltd Dc motor drive circuit

Similar Documents

Publication Publication Date Title
JPS62162968A (en) Speed detecting device
JPH0627653B2 (en) Position and speed detection method and device
JPH036745B2 (en)
JPH0474671B2 (en)
JPS5963992A (en) Positioning controller for dc motor
US4558269A (en) Induction motor drive apparatus
JPH0565827B2 (en)
JPH06208756A (en) Spindle-motor control circuit of optical-disk system
US4357566A (en) Transducer system with velocity signal generation
JPS5923196B2 (en) Digital servo system
US5621711A (en) Velocity detection circuit
JPH0716555B2 (en) Sewing machine controller
JP3320454B2 (en) Motor position control device and motor position control method
JPS6232809B2 (en)
JPH08140383A (en) Controller for servo motor
JP3314793B2 (en) Positioning control device
JPS59225409A (en) Positioning control system of dc motor
JP2600975B2 (en) Speed control method for synchronous motor
JPS6227036Y2 (en)
JPS61182579A (en) Resolver speed detection system
JPS6315115A (en) Velocity detector
GB2122773A (en) Stepper motor control
JPS6117441Y2 (en)
JPH01103188A (en) Speed detector in servo system
JPH0434763B2 (en)