JPS6035981A - Controller of motor - Google Patents

Controller of motor

Info

Publication number
JPS6035981A
JPS6035981A JP58141824A JP14182483A JPS6035981A JP S6035981 A JPS6035981 A JP S6035981A JP 58141824 A JP58141824 A JP 58141824A JP 14182483 A JP14182483 A JP 14182483A JP S6035981 A JPS6035981 A JP S6035981A
Authority
JP
Japan
Prior art keywords
signal
motor
counter
reference frequency
microcomputer
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
JP58141824A
Other languages
Japanese (ja)
Inventor
Hideki Adachi
安達 秀喜
Masahiro Tomosada
友定 昌弘
Masahito Ishida
石田 雅人
Yutaka Komiya
小宮 豊
Shinichi Nakamura
真一 中村
Masanori Miyata
宮田 正徳
Masayuki Hirose
正幸 広瀬
Kazuki Miyamoto
一樹 宮本
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP58141824A priority Critical patent/JPS6035981A/en
Priority to GB08419711A priority patent/GB2147123B/en
Priority to DE19843428719 priority patent/DE3428719A1/en
Publication of JPS6035981A publication Critical patent/JPS6035981A/en
Priority to US07/172,933 priority patent/US4897778A/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/292Arrangements 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 static converters, e.g. AC to DC
    • H02P7/293Arrangements 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 static converters, e.g. AC to DC using phase control

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Control Of Direct Current Motors (AREA)

Abstract

PURPOSE:To perform a PLL control by a simple configuration by utilizing a counter in a microcomputer. CONSTITUTION:The first counter 3A generates a reference frequency signal FS in accordance with a motor speed command from ten keys 1, and the second counter 3B generates a speed control signal FV of the prescribed width pulse in accordance with the motor speed command synchronously with the signal FG from an encoder 12. A phase comparator 5 outputs a phase comparison signal PC from the signal FG outputted from the output line 6 of the microcomputer 3 and the signal FG. The signal PC and FV are added by an adder 8, and converted by a comparator 9 into a pulse width modulation signal, and supplied to a driver 10.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、複写機等に用いられるモータの制御装置に
係り、特に駆動用のモータの速度の連続変倍を行うため
に光学系の速度を連続的に制御するに好適なPLL速度
制御装置に関するものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a motor control device used in a copying machine, etc., and in particular, the invention relates to a control device for a motor used in a copying machine, etc. The present invention relates to a PLL speed control device suitable for continuously controlling a PLL speed control device.

〔従来技術とその問題点〕[Prior art and its problems]

従来、この種の装置はハードウェアで構成され、連続的
にモータの速度を変化させるために分周器を使って基準
周波数や駆動用のモータのエンコーダからの帰還周波数
を分周したり基準周波数を切り換えることによって行わ
れており、そのため装置が大きくなるという欠点があっ
た。
Conventionally, this type of device consists of hardware, and in order to continuously change the speed of the motor, a frequency divider is used to divide the reference frequency or the feedback frequency from the encoder of the drive motor. This is done by switching between the two, which has the disadvantage of increasing the size of the device.

〔発明の目的〕[Purpose of the invention]

この発明は、上記欠点を除去するためになされたもので
、ブイクロコンピユータを用いることにより、装置の小
型化をはかること、ならびにマイクロコンピュータによ
る高精度、広範囲のPLL速度制御を実行することを目
的とする。
This invention was made in order to eliminate the above-mentioned drawbacks, and aims to reduce the size of the device by using a microcomputer, and to perform high-precision, wide-range PLL speed control using a microcomputer. shall be.

〔実施例〕〔Example〕

第1図はこの発明の一実施例の回路図である。 FIG. 1 is a circuit diagram of an embodiment of the present invention.

この図で、1はモータの速度を指定するテンキー、2は
マイクロコンピュータの内部のカウンタを駆動する発振
器、3は速度制御を行うマイクロコンピュータ(以下マ
イコンという)で、第1カウンタ3Aと第2カウンタ3
Bとを有しており、この第1カウンタ3Aは発振器2の
クロックをカウントしてテンキー1からのモータ速度指
定に従って位相比較のための基準周波数信号FSを発生
する。第2カウンタ3Bは後述するエンコーダからの帰
還信号FGに同期し、モータ速度指定に従って一定幅の
パルスの速度制御信号FVを発生する。4は出力線、5
は位相比較器で、マイコン3の出力線6から出力される
基準周波数信号FSと前記帰還信号FGとから位相比較
信号PCを作成し出力線7に出力する。8は前記位相比
較信号PCと速度制御信号FVの加算回路、9はパルス
幅変調(PWM)を行うコンパレータ、10はモータを
駆動するドライバ、11はモータ、12は前記モータ1
1の回転を検出するエンコーダで、帰還信号FGを発生
し、マイコン3と位相比較器5へ入力する。13〜16
は電子ボリューム、17はコンデンサである。
In this figure, 1 is a numeric keypad that specifies the speed of the motor, 2 is an oscillator that drives the counter inside the microcomputer, and 3 is a microcomputer (hereinafter referred to as microcomputer) that controls the speed. 3
This first counter 3A counts the clock of the oscillator 2 and generates a reference frequency signal FS for phase comparison in accordance with the motor speed designation from the numeric keypad 1. The second counter 3B is synchronized with a feedback signal FG from an encoder, which will be described later, and generates a speed control signal FV of constant width pulses in accordance with motor speed designation. 4 is the output line, 5
A phase comparator generates a phase comparison signal PC from the reference frequency signal FS outputted from the output line 6 of the microcomputer 3 and the feedback signal FG, and outputs it to the output line 7. 8 is an addition circuit for the phase comparison signal PC and the speed control signal FV, 9 is a comparator that performs pulse width modulation (PWM), 10 is a driver that drives the motor, 11 is a motor, and 12 is the motor 1
A feedback signal FG is generated by an encoder that detects the rotation of 1, and is input to the microcomputer 3 and the phase comparator 5. 13-16
is an electronic volume, and 17 is a capacitor.

ところで、モータ11の連続変倍はドラム速度一定のと
き光学系のスキャンニング速度を連続的に変化させるこ
とによって実現できる。等倍コピーのとき光学系駆動用
のモータ11のエンコーダ12の帰還信号FGの周波数
をIKHz (周期T=1ms)とし、倍率1%刻みで
変化させた場合1周期TはO,01m5ごとに変化する
。第1カウンタ3Aがカウントアツプを繰り返すごとに
周期Tで一定発振を繰り返すため、発振器2をT(10
0KH2)で発振させ、第1カウンタ3Aに倍率に対応
したカウント値をセットすることによって基準周波数信
号FSを作り出している。
Incidentally, continuous magnification change of the motor 11 can be realized by continuously changing the scanning speed of the optical system when the drum speed is constant. When copying at the same size, the frequency of the feedback signal FG of the encoder 12 of the motor 11 for driving the optical system is IKHz (period T = 1 ms), and when the magnification is changed in steps of 1%, one period T changes every 0,01 m5. do. Each time the first counter 3A counts up, it repeats constant oscillation with a period T, so the oscillator 2 is
The reference frequency signal FS is generated by oscillating at a frequency of 0KH2) and setting a count value corresponding to the magnification in the first counter 3A.

次に、第1図の実施例の動作の概略を説明する。Next, an outline of the operation of the embodiment shown in FIG. 1 will be explained.

加算回路8はマイコン3から出力された速度制御信号F
Vと位相比較器5からの位相比較信号PCを加算し、そ
の出力は、電子ボリューム15とコンデンサ17からな
るフィルタで積分された後に、コンパレータ9の電子ボ
リューム16で定まるスレッショルドレベルによってP
WMされ、ドライバ10によってモータ11を駆動し、
テンキー1からのモータ速度指令に従った基準周波数信
号FSと一定の位相差となるように制御される。
The adder circuit 8 receives the speed control signal F output from the microcomputer 3.
V and the phase comparison signal PC from the phase comparator 5 are added, and the output is integrated by a filter consisting of an electronic volume 15 and a capacitor 17, and then P is determined by the threshold level determined by the electronic volume 16 of the comparator 9.
WM, the motor 11 is driven by the driver 10,
It is controlled to have a constant phase difference from the reference frequency signal FS according to the motor speed command from the numeric keypad 1.

位相比較および速度の制御方法を第2図のフローチャー
トおよび第3図の波形図に従って説明する。なお、第2
図で(1)、(2)、・・団・はステップを表わす。
The phase comparison and speed control method will be explained with reference to the flowchart of FIG. 2 and the waveform diagram of FIG. 3. In addition, the second
In the figure, (1), (2), etc. represent steps.

テンキー1よりモータ11の速度設定(倍率)を入力す
る(1)。設定値に変化があった場合(2)、第1カウ
ンタ3Aに設定値(データ)をセットしく3)、カウン
トダウンをスタートさせる。
Input the speed setting (magnification) of the motor 11 using the numeric keypad 1 (1). If there is a change in the set value (2), the set value (data) is set in the first counter 3A (3) and a countdown is started.

ここで第1カウンタ3Aのカウントダウンが終了後割込
信号が発生し、自動的に設定値を再セットし、カウント
ダウンすることを繰り返す。これにより基準周波数信号
FSが発生する。そして、位相比較器5にこの基準周波
数信号FSが加えられる。
Here, after the countdown of the first counter 3A is completed, an interrupt signal is generated, the set value is automatically reset, and the countdown is repeated. This generates the reference frequency signal FS. This reference frequency signal FS is then applied to the phase comparator 5.

次に速度制御信号FVについて述べる。モータ11のエ
ンコーダ12からの帰還信号FGの立下りでFG割込み
に入り、レジスタを退避した後(11)、速度制御信号
FVをリセットしく12)、倍率に対応した基準周波数
信号FSの1/2FSとなるタイマ値を第2カウンタ3
Bにセットしてスタートさせ(13)、レジスタ復帰後
(14)、リターンさせる。第2カウンタ3Bのカウン
トダウン終了後、FV割込みが発生し、レジスタを退避
した後(21)、速度制御信号FVをセットすることに
よって(22)、第3図の速度制御信号FVを発生させ
た後、レジスタ復帰させる(23)。
Next, the speed control signal FV will be described. An FG interrupt is entered at the fall of the feedback signal FG from the encoder 12 of the motor 11, and after saving the register (11), the speed control signal FV is reset (12), and 1/2 FS of the reference frequency signal FS corresponding to the multiplication factor is generated. The timer value becomes 2nd counter 3
Set it to B to start (13), and after the register is restored (14), return. After the countdown of the second counter 3B is completed, an FV interrupt occurs, and after saving the register (21), the speed control signal FV is set (22), and the speed control signal FV shown in FIG. 3 is generated. , the register is restored (23).

位相比較信号PCは、第3図に示すように位相差θ〜2
πのときは基準周波数信号FS、帰還信号FGの立下り
で位相比較信号PCのセクト、リセットを繰り返し、帰
還信号FGの位相が2π以上遅れた場合は、位相比較信
号PCはセット状態を維持し、基準周波数信号FSの一
周期の間に帰還信号FGの立下りが2回来たことを検知
した後に、前述の位相差0〜2πの動作を繰り返す。ま
た逆に帰還信号FGの位相が進んだ場合、すなわち位相
差がO以下となった場合は、位相比較信号PCはりセラ
)・状態を維持し帰還信号FGの一周期の間に基準周波
数信号FSの立下りが2回来たことを検知した後に、前
述の位相差O〜2πの動作を繰り返すものである。
The phase comparison signal PC has a phase difference θ~2 as shown in FIG.
When π, the phase comparison signal PC is sectored and reset repeatedly at the falling edge of the reference frequency signal FS and feedback signal FG, and if the phase of the feedback signal FG is delayed by 2π or more, the phase comparison signal PC remains set. After detecting that the feedback signal FG has fallen twice during one period of the reference frequency signal FS, the above-described operation with a phase difference of 0 to 2π is repeated. Conversely, if the phase of the feedback signal FG advances, that is, if the phase difference becomes less than O, the phase comparison signal After detecting that the falling edge has occurred twice, the above-mentioned operation with a phase difference of O to 2π is repeated.

さらに、位相比較器5は、位相差がO〜2πのときは、
” o o ’″を出力し、帰還信号FGが位相差2π
以上の遅れのときはパO1”°、帰還信号FGが位相差
がO以下のときは’10”の2ビットのロック信号を出
力しており、マイコン3でこれを読みとり、FG割込み
ルーチンの中の制御をしている。
Furthermore, when the phase difference is O to 2π, the phase comparator 5
"o o '" is output, and the feedback signal FG has a phase difference of 2π
When the delay is more than 0, a 2-bit lock signal is output, and when the phase difference of the feedback signal FG is less than 0, a 2-bit lock signal of '10' is output. is under control.

なお、上記実施例では外部の発振器2によって第1カウ
ンタ3Aの基準クロックを作っているが、マイコン3内
の発振器を内部でタイマ基準クロックとして使うことも
可能であり、また、モータ11のドライブをPWMで行
っているが、これは直流レベルで行ってもよい。
In the above embodiment, the reference clock for the first counter 3A is generated by the external oscillator 2, but it is also possible to use the oscillator in the microcomputer 3 internally as the timer reference clock, and the drive for the motor 11 can also be Although this is done using PWM, it may also be done at a DC level.

〔発明の効果〕〔Effect of the invention〕

以上詳細に説明したように、この発明はマイクロコンピ
ュータ内部のカウンタを利用することによって簡易な構
成でPLL速度制御を行うことができる。また、マイコ
ンを導入したことにより外部周辺機器の小型化がはかれ
装置全体を小型化できる利点を有する。
As described above in detail, the present invention can perform PLL speed control with a simple configuration by using a counter inside a microcomputer. Furthermore, by introducing a microcomputer, external peripheral equipment can be made smaller, which has the advantage that the entire device can be made smaller.

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

第1図はこの発明の一実施例を示す回路図、第2図は第
1図の動作説明のフローチャー1・、第3図は同じく要
部の波形図である。 図中、1はテンキー、2は発振器、3はマイコン、3A
は第1カウンタ、4.6は出力線、5は位相比較器、7
は1−11力線、8は加算回路、9はコンパレータ、1
0はドライバ、11はモータ、12はエンコーダ、13
〜16は電子ボリューム、17はコンデンサでアル。 第2図
FIG. 1 is a circuit diagram showing an embodiment of the present invention, FIG. 2 is a flowchart 1 for explaining the operation of FIG. 1, and FIG. 3 is a waveform diagram of the main part. In the figure, 1 is a numeric keypad, 2 is an oscillator, 3 is a microcomputer, 3A
is the first counter, 4.6 is the output line, 5 is the phase comparator, 7
is the 1-11 force line, 8 is the adder circuit, 9 is the comparator, 1
0 is a driver, 11 is a motor, 12 is an encoder, 13
~16 is an electronic volume, and 17 is a capacitor. Figure 2

Claims (1)

【特許請求の範囲】[Claims] モータの所望回転数を入力する入力手段と、この入力手
段からの入力に応じてカウント値が設定される第1カウ
ンタにより内部割込信号を発生させ基準周波数信号を作
成する手段と前記入力手段からの入力に応じて一定のパ
ルス幅の速度制御信号を発生する第2カウンタとを有す
るマイクロコンピュータと、前記基準周波数信号と前記
モータの回転数を検知するエンコーダからの帰還信号に
よる外部割込信号によって位相差を検知し位相比較信号
を出力する手段と、前記位相比較信号と前記速度制御信
号とを用い前記モータを前記所望回転数に制御する手段
とを備えたことを特徴とするモータの制御装置。
an input means for inputting a desired rotational speed of the motor; a means for generating a reference frequency signal by generating an internal interrupt signal by a first counter whose count value is set in accordance with the input from the input means; and a means for generating a reference frequency signal from the input means. a second counter that generates a speed control signal with a constant pulse width in response to the input of the motor; and an external interrupt signal based on a feedback signal from an encoder that detects the reference frequency signal and the rotation speed of the motor. A motor control device comprising: means for detecting a phase difference and outputting a phase comparison signal; and means for controlling the motor to the desired rotation speed using the phase comparison signal and the speed control signal. .
JP58141824A 1983-08-04 1983-08-04 Controller of motor Pending JPS6035981A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP58141824A JPS6035981A (en) 1983-08-04 1983-08-04 Controller of motor
GB08419711A GB2147123B (en) 1983-08-04 1984-08-02 Motor control device
DE19843428719 DE3428719A1 (en) 1983-08-04 1984-08-03 ENGINE CONTROL DEVICE
US07/172,933 US4897778A (en) 1983-08-04 1988-03-25 Motor control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58141824A JPS6035981A (en) 1983-08-04 1983-08-04 Controller of motor

Publications (1)

Publication Number Publication Date
JPS6035981A true JPS6035981A (en) 1985-02-23

Family

ID=15300977

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58141824A Pending JPS6035981A (en) 1983-08-04 1983-08-04 Controller of motor

Country Status (1)

Country Link
JP (1) JPS6035981A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63126683A (en) * 1986-11-14 1988-05-30 Nippon Steel Corp Welding method for steel having excellent toughness of weld metal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63126683A (en) * 1986-11-14 1988-05-30 Nippon Steel Corp Welding method for steel having excellent toughness of weld metal

Similar Documents

Publication Publication Date Title
US4644232A (en) Method of and an apparatus for controlling a plurality of DC motors
JPH036745B2 (en)
US4680516A (en) Motor speed control system
JPS6035981A (en) Controller of motor
JPS6035982A (en) Controller of motor
JPH11178380A (en) Motor speed controller
JPS6035987A (en) Controller of motor
JPS6035988A (en) Controller of motor
JPS6035983A (en) Controller of motor
JPS6035984A (en) Controller of motor
JPS6035980A (en) Controller of motor
JPS6035986A (en) Controller of motor
JPS6035985A (en) Controller of motor
JPS62281784A (en) Control unit for copying machine
JPS62171477A (en) Motor controller
JPS62203586A (en) Controller for motor
JPS63154087A (en) Controller for motor
JP2676058B2 (en) Motor drive circuit
JP4067616B2 (en) Motor speed control device
JPS62171478A (en) Motor controller
JPS62281783A (en) Speed control unit for motor
JPH05303444A (en) Clock signal feeder
JPH09294384A (en) Driving controller of vibration wave driving equipment
JPS6310668B2 (en)
JPH02179292A (en) Speed controller of motor