JPH03173384A - Step-out preventive device in rotating speed controller for motor - Google Patents

Step-out preventive device in rotating speed controller for motor

Info

Publication number
JPH03173384A
JPH03173384A JP1311221A JP31122189A JPH03173384A JP H03173384 A JPH03173384 A JP H03173384A JP 1311221 A JP1311221 A JP 1311221A JP 31122189 A JP31122189 A JP 31122189A JP H03173384 A JPH03173384 A JP H03173384A
Authority
JP
Japan
Prior art keywords
speed
motor
phase difference
signal
value
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
JP1311221A
Other languages
Japanese (ja)
Inventor
Tetsuji Kajitani
梶谷 哲司
Hiroyuki Harada
博之 原田
Yasumasa Matsuura
松浦 康昌
Toshihiko Araki
荒木 俊彦
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.)
Kyocera Mita Industrial Co Ltd
Original Assignee
Mita Industrial 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 Mita Industrial Co Ltd filed Critical Mita Industrial Co Ltd
Priority to JP1311221A priority Critical patent/JPH03173384A/en
Publication of JPH03173384A publication Critical patent/JPH03173384A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of Direct Current Motors (AREA)
  • Control Of Electric Motors In General (AREA)

Abstract

PURPOSE:To prevent the step-out condition of a motor by a method wherein a step-out preventing device is provided with a judging means, judging whether a phase difference between a speed commanding signal and a speed detecting signal has exceeded a step-out judging range or not, a monitoring means and a motor stopping signal outputting means. CONSTITUTION:The rotation pulse of a rotary encoder 12 is given to an encoder signal inputting unit 13 while a detection output is given to a control unit 14. The control unit 14 controls a motor 10 based on a speed difference and a phase difference, obtained through the operating process of a speed difference between a commanding speed and an actual rotating speed and the operating process of a phase difference between a speed commanding signal and a speed detection signal, so that the rotating speed coincides with the commanding speed. The absolute value of the phase difference is judged whether it is smaller than a step-out judging value or not and the servomotor 10 is stopped forcibly when the absolute value of the phase difference is larger than the step-out judging value and the contents of a step-out judging counter has exceeded a step-out judging time.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 この発明は、モータ制御装置における脱調防止装置に関
し、特に、モータの回転速度をPWM信号によって制御
するモータの回転速度制御装置における脱調防止装置に
関するものである。
Detailed Description of the Invention <Industrial Application Field> The present invention relates to a step-out prevention device in a motor control device, and particularly to a step-out prevention device in a motor rotation speed control device that controls the rotation speed of a motor using a PWM signal. It is related to the device.

〈発明の背景〉 モータの回転速度制御装置として、PWM (パルス幅
変調)信号によって制御するようにしたものがある。
<Background of the Invention> Some motor rotational speed control devices are designed to control using a PWM (pulse width modulation) signal.

このような回転速度制御装置は、たとえば複写機等の原
稿読取装置における光学系駆動用のDCサーボモータ制
御装置に採用されている。
Such a rotational speed control device is employed, for example, in a DC servo motor control device for driving an optical system in a document reading device such as a copying machine.

光学系駆動用のサーボモータ制御装置においては、特に
・、光学系の移動に伴ない摩擦抵抗等が変化してモータ
負荷が変動しても、追従性よくサーボモータを一定速度
に保ち、光学系を一定速度で移動させ′る必要がある。
In a servo motor control device for driving an optical system, in particular, even if the motor load fluctuates due to changes in frictional resistance as the optical system moves, the servo motor can be kept at a constant speed with good followability, and the optical system must be moved at a constant speed.

従来は、サーボモータを一定速度に保?ために、目標速
度と実際の検出速度との速度差に比例した電圧によって
PWM信号を得る比例制御が行われていた。
Conventionally, the servo motor was kept at a constant speed? Therefore, proportional control has been performed in which a PWM signal is obtained using a voltage proportional to the speed difference between the target speed and the actual detected speed.

ところが、従来の比例制御では、実際の検出速度から目
標速度までモータ速度を増加させる場合の加速度が、目
標速度の大小によって変わり、目標速度が大きい程加速
度が小さく、目標速度に達するまでの時間が長くなり、
追従性が良くないという欠点があった。
However, in conventional proportional control, the acceleration when increasing the motor speed from the actual detected speed to the target speed changes depending on the size of the target speed, and the larger the target speed, the smaller the acceleration, and the longer it takes to reach the target speed. It gets longer,
There was a drawback that followability was not good.

より具体的に説明を−する。Let me explain more specifically.

モータに電圧Vを加えた時の運動方程式は、般に、次式
で表される。
The equation of motion when voltage V is applied to the motor is generally expressed by the following equation.

RaGD2.堕L+xEa。RaGD2. Fallen L+xEa.

375KT  dt −V−Ra(Io+TBt、/Kv)    −(1)
となる。
375KT dt -V-Ra(Io+TBt,/Kv) -(1)
becomes.

但し、 Ra:アマチュア抵抗〔Ω] KT二トルク定数[kgm/A ] KE:誘起電圧定数[V/rpm] lo:無負荷電流[A] GD2 :負荷とモータによる慣性モーメント[kgi
2] T、、:摺動負荷[kga ] n:回転速度[rpm] である。
However, Ra: amateur resistance [Ω] KT torque constant [kgm/A] KE: induced voltage constant [V/rpm] lo: no-load current [A] GD2: moment of inertia due to load and motor [kgi
2] T, , : sliding load [kga] n: rotational speed [rpm].

これをnについて解くと、t−0でn = N pなら
ば、 KE また、 d n   375 KT dt   RaGD” KE となる。
Solving this for n, if n = N p at t-0, then KE Also, d n 375 KT dt RaGD” KE.

この式より、サンプリングした速度がNの時に、電圧V
を加えた時間の加速度aは、 NP−N、t−0を代入することにより、RaGD2 ところで、目標速度をNOxサンプリングした速度をN
1その差をΔNとした場合、通常の比例制御によって、 V−にΔN−K (No −N) を印加した場合の加速度aは、 V = K ΔN 、 N −N o−ΔNを式(4)
に代入することにより求められ次式で表される。
From this formula, when the sampling speed is N, the voltage V
By substituting NP-N and t-0, the acceleration a during the time when the target speed is
1 If the difference is ΔN, the acceleration a when ΔN-K (No -N) is applied to V- by normal proportional control is expressed as V = K ΔN, N - No )
It is obtained by substituting into the following equation.

375KTKFニ ー −  (N−ΔN)1 375KTKE RaGD2 X  ( (K/KE +.1 )  ΔN−”Noで
与えられる。
375KTKF knee- (N-ΔN)1 375KTKE RaGD2 X ((K/KE +.1) ΔN-"No.

・・・ (4) Ra( 1 o ’+’Ts”t, / It ) )
・KE ・・・ (5) この弐″より、ΔNが同じ値であっても、目標速度N。
... (4) Ra(1 o'+'Ts"t, / It))
・KE... (5) From this 2'', even if ΔN is the same value, the target speed N.

が大きければ加速度iが小さく、N.が小さいとaが大
きくなってしまうことがわかる。
If N. is large, acceleration i is small, and N. It can be seen that if is small, a becomes large.

そこで、本出願人は、指令速度(目標速度)と実際の検
出速度との速度差を求めるとともに、指令速度と検出速
度との位相差を求め、速度差による速度制御を位相差に
よって補正することにより、追従性よくモータを制御で
きる装置を開発した。
Therefore, the applicant has proposed a method in which the speed difference between the commanded speed (target speed) and the actual detected speed is determined, the phase difference between the commanded speed and the detected speed is determined, and the speed control based on the speed difference is corrected using the phase difference. We have developed a device that can control motors with good followability.

〈発明が解決しようとする課題〉 ところで、たとえば、複写機の原稿読取装置における光
学系駆動用DCサーボモータは、原稿を読取るために照
明装置、ミラーなどを駆動する。
<Problems to be Solved by the Invention> By the way, for example, a DC servo motor for driving an optical system in a document reading device of a copying machine drives an illumination device, a mirror, etc. in order to read a document.

モータと照明装置およびモータとミラーとは、たとえば
、ロッド、ワイヤなどを含む動力伝達機構によって連結
されている。これらの動力伝達機構におけるロッドの表
面状態、ロッドへの潤滑油の供給状態、ワイヤの引っ張
り方向等の変化および温度や湿度変化などによって、モ
ータに負荷変動が生じる。
The motor and the lighting device and the motor and the mirror are connected by a power transmission mechanism including, for example, a rod, a wire, and the like. Load fluctuations occur in the motor due to changes in the surface condition of the rod in these power transmission mechanisms, the state of lubricating oil supplied to the rod, the direction in which the wire is pulled, and changes in temperature and humidity.

本願出願人が開発した上記モータの回転速度制御装置に
よれば、この種の負荷変動が生じると指令速度と検出速
度との位相差が検出され、位相差成分に基づいて速度制
御信号が修正され、モータ回転速度を速やかに指令速度
に追従させることができる。
According to the motor rotational speed control device developed by the applicant, when this kind of load fluctuation occurs, the phase difference between the command speed and the detected speed is detected, and the speed control signal is corrected based on the phase difference component. , the motor rotation speed can quickly follow the command speed.

ところが、検出された位相差成分に基づいて速度制御信
号を修正している状態においても、引続登指令速度と検
出速度との位相ずれ状態が継続している場合には、指令
速度に対して検出速度が徐々にずれていくいわゆる速度
ドリフト状態になる。
However, even when the speed control signal is corrected based on the detected phase difference component, if the phase difference between the subsequent climbing command speed and the detected speed continues, the detected speed will be lower than the command speed. This results in a so-called speed drift state in which the speed gradually deviates.

そして、この速度ドリフト状態が一定時間以上続くと脱
調が生じる。脱調が生じると、正常な複写ができず、た
とえば文字が間伸びしたり、縮んだりした状態でコピー
されてしまう。
If this speed drift state continues for a certain period of time or more, step-out occurs. If step-out occurs, normal copying will not be possible, and for example, characters will be copied in a state where they are stretched or compressed.

上述のような速度ドリフト状態が生じる場合は、通常、
光学系の動力伝達機構等になんらかの異常が生じている
ことが多い。
When speed drift conditions such as those described above occur, typically
There is often some kind of abnormality in the power transmission mechanism of the optical system.

そこで、この発明は、脱調が生じる前に異常を検出して
モータを停止させ、モータが脱調状態になるのを未然に
防止できるモータの回転速度制御装置における脱調防止
装置を提供することを目的とする。
SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to provide a step-out prevention device for a motor rotational speed control device that can detect an abnormality before a step-out occurs, stop the motor, and prevent the motor from falling out of step. With the goal.

く課題を解決するための手段〉 この発明は、速度指令信号と速度検出信号との速度差お
よび位相差に基づいて、モータの回転速度が指令速度に
等しくなるよう、モータをフィードバック制御するモー
タの回転速度制御装置における脱調防止装置であって、
所定タイミングごとに、速度指令信号と速度検出信号と
の位相差が、予め定められた脱調判別用範囲を越えたか
否かを判別する判別手段、判別手段によって位相差が脱
調判別用範囲を越えたと判別された場合に、位相差が脱
調判別用範囲を越えた状態が、予め定められた脱調判別
用時間継続するか否かを監視する監視手段、ならびに監
視手段によって、位相差が脱調判別用範囲を越えた状態
が、脱調判定用時間継続したと認められた時に、モータ
停止信号を出力する停止信号出力手段を備えていること
を特徴とするものである。
Means for Solving the Problems> The present invention provides feedback control of the motor so that the rotation speed of the motor is equal to the command speed based on the speed difference and phase difference between a speed command signal and a speed detection signal. A step-out prevention device in a rotational speed control device,
At each predetermined timing, a determining means determines whether the phase difference between the speed command signal and the speed detection signal exceeds a predetermined range for determining step-out; If it is determined that the phase difference has exceeded the step-out determination range, the monitoring means monitors whether the state in which the phase difference exceeds the step-out determination range continues for a predetermined step-out determination time; The present invention is characterized by comprising a stop signal output means for outputting a motor stop signal when it is recognized that the state exceeding the step-out determination range continues for the step-out determination period.

く作用〉 所定タイミングごとに、速度指令信号と速度検出信号と
の位相差が、予め定められた脱調判別用範囲を越えたか
否かが判別される。
Effect> At each predetermined timing, it is determined whether the phase difference between the speed command signal and the speed detection signal exceeds a predetermined step-out determination range.

位相差が脱調判別用範囲を越えたと判別された場合には
、位相差が脱調判別用範囲を越えた状態が、予め定めら
れた脱調判別用時間継続するか否かが監視される。
When it is determined that the phase difference exceeds the range for determining step-out, it is monitored whether the state in which the phase difference exceeds the range for determining step-out continues for a predetermined period of time for determining step-out. .

そして、位相差が脱調判別用範囲を越えた状態が、脱調
判定用時間継続したと認められたときに、モータ停止信
号が出力され、モータは停止される。
Then, when it is recognized that the state in which the phase difference exceeds the step-out determination range continues for the step-out determination time, a motor stop signal is output, and the motor is stopped.

〈実施例〉 以下には、この発明の一実施例として、複写機の光学系
(照明ユニットおよび反射ミラー)駆動用のDCサーボ
モータの駆動制御回路に適用する場合を例にとって説明
をする。
<Embodiment> An embodiment of the present invention will be described below, taking as an example a case where the present invention is applied to a drive control circuit of a DC servo motor for driving an optical system (illumination unit and reflection mirror) of a copying machine.

第1図は、複写機の光学系を駆動するためのDCサーボ
モータの駆動制御回路の構成例を示すブロック図である
。この制御回路は、DCサーボモータへの印加電圧とし
てP WM (pulse width IIIodu
latlon)信号を使用する回路になっている。
FIG. 1 is a block diagram showing a configuration example of a drive control circuit for a DC servo motor for driving an optical system of a copying machine. This control circuit uses PWM (pulse width III) as the applied voltage to the DC servo motor.
The circuit uses latlon) signals.

このDCサーボモータ10は永久磁石フィールド形であ
って、ドライバ部11によって回転駆動され、光学系1
7を移動させる。
This DC servo motor 10 is of a permanent magnet field type, and is rotationally driven by a driver section 11.
Move 7.

サーボモータ10の回転軸にはロータリエンコーダ12
が連結されている。ロータリエンコーダ12は、既に公
知の通り、サーボモータ10が予め定める微小角度回転
するごとに回転パルスを出力するものである。この実施
例のロータリエンコーダ12は、サーボモータ10が1
回転することによりたとえば200個の回転パルスを出
力する。
A rotary encoder 12 is attached to the rotating shaft of the servo motor 10.
are connected. As already known, the rotary encoder 12 outputs a rotation pulse every time the servo motor 10 rotates by a predetermined minute angle. The rotary encoder 12 of this embodiment has one servo motor 10.
By rotating, for example, 200 rotation pulses are output.

また、ロータリエンコーダ12の回転パルスには、少な
くともA相の回転パルスおよびB相の回転パルスが含ま
れていて、両回転パルスは等しい数(モータ1回転当た
りたとえば200個)で、かつ互いに位相が90度ずれ
たパルスになっている。
Further, the rotation pulses of the rotary encoder 12 include at least an A-phase rotation pulse and a B-phase rotation pulse, and both rotation pulses have an equal number (for example, 200 per rotation of the motor) and are out of phase with each other. The pulses are shifted by 90 degrees.

ロータリエンコーダ12から出力される回転パルスは、
エンコーダ信号入力部13へ与えられる。
The rotation pulse output from the rotary encoder 12 is
The signal is applied to the encoder signal input section 13.

エンコーダ信号入力部13は、後に詳述するように、ロ
ータリエンコーダ12から与えられる回転パルスに基づ
いて、サーボモータ10の回転を検出するための回路で
ある。エンコーダ信号入力部13の検出出力は制御部1
4へ与えられる。
The encoder signal input section 13 is a circuit for detecting the rotation of the servo motor 10 based on rotation pulses given from the rotary encoder 12, as will be described in detail later. The detection output of the encoder signal input section 13 is the control section 1.
given to 4.

制御部14は、この回路全体を制御する中枢であって、
指令速度と検出されたモータの実際の回転速度との差を
算出する速度差算出処理、速度指令信号と速度検出信号
との位相差を算出する位相差算出処理、速度差および位
相差に基づいてモータ回転速度が指令速度と等しくなる
ようにモータ10を制御するための制御処理、モータ負
荷変動によってモータが脱調となるのを防止するための
脱調防止処理等を行う。
The control unit 14 is the center that controls the entire circuit,
Speed difference calculation processing that calculates the difference between the command speed and the detected actual rotational speed of the motor; Phase difference calculation processing that calculates the phase difference between the speed command signal and the speed detection signal; and Control processing for controlling the motor 10 so that the motor rotation speed becomes equal to the command speed, step-out prevention processing for preventing the motor from stepping out due to motor load fluctuations, etc. are performed.

制御部14には、後述する制御動作の際に用いられるメ
モリやタイマが含まれている。
The control unit 14 includes a memory and a timer used for control operations to be described later.

制御部14には、また、動作指令信号および指令速度が
与えられる。指令速度は、複写機本体の制御部(図示せ
ず)からの速度指令クロックが速度指令信号人力部15
へ与えられて信号処理され、制御部14へ与えられるよ
うになっている。この詳細については後述する。
The control unit 14 is also given an operation command signal and a command speed. The command speed is determined by a speed command clock from a control section (not shown) of the main body of the copying machine.
The signal is applied to the control section 14, subjected to signal processing, and then sent to the control section 14. The details will be described later.

制御部14は、これら各入力信号に基づいて演算処理を
実行し、PWMデータを算出してPWMユニット16へ
与えると共に、前述したドライバ部11ヘドライバ部駆
動信号を与える。
The control section 14 executes arithmetic processing based on each of these input signals, calculates PWM data, and provides it to the PWM unit 16, and also provides a driver section drive signal to the driver section 11 described above.

PWMユニット16は、与えられるPWMデータに基づ
いてPWM信号のパルス幅(出力デユーティ)を変化さ
せるためのユニットである。PWMユニット16から出
力されるPWM信号によってサーボモータ10の回転速
度が制御される。また、ドライバ部駆動信号は、サーボ
モータ10の回転方向を決めたり、ブレーキングしたり
する。
The PWM unit 16 is a unit for changing the pulse width (output duty) of a PWM signal based on the applied PWM data. The rotational speed of the servo motor 10 is controlled by a PWM signal output from the PWM unit 16. Further, the driver unit drive signal determines the rotation direction of the servo motor 10 and performs braking.

ところで、サーボモータ10を所望の速度で正確に回転
させるためには、前提として、サーボモータ10の回転
速度を正確に検出する必要がある。
By the way, in order to accurately rotate the servo motor 10 at a desired speed, it is necessary to accurately detect the rotation speed of the servo motor 10.

そこで、この駆動制御回路では、エンコーダ信号入力部
13の構成を第2図のようにし、かつ制御部14による
信号読出しを工夫して、正確な速度検出が行えるように
されている。
Therefore, in this drive control circuit, the configuration of the encoder signal input section 13 is as shown in FIG. 2, and the signal reading by the control section 14 is devised so that accurate speed detection can be performed.

第2図を参照して説明すると、エンコーダ信号入力部1
3は、ロークリエンコーダ12から出力されるA相の回
転パルス(これが、速度検出パルスとなる。)が与えら
れるエツジ検出回路131を備えている。エツジ検出回
路131は、与えられる回転パルス、つまり速度検出パ
ルスの立ち上りエツジを検出して、その検出出力を導出
する。
To explain with reference to FIG. 2, encoder signal input section 1
3 includes an edge detection circuit 131 to which an A-phase rotation pulse (which serves as a speed detection pulse) outputted from the low reencoder 12 is applied. The edge detection circuit 131 detects the rising edge of the applied rotation pulse, that is, the speed detection pulse, and derives its detection output.

エンコーダ信号人力部13は、また、与えられる基準ク
ロックをアップカウントするたとえば16ビツト構成の
フリーランニングカウンタ133と、キャプチャレジス
タ134とを備えている。
The encoder signal input unit 13 also includes a free running counter 133 of, for example, 16 bits, which counts up the applied reference clock, and a capture register 134.

キャプチャレジスタ134は、エツジ検出回路131の
エツジ検出出力をキャプチャ信号とし、該キャプチャ信
号をトリガとしてフリーランニングカウンタ133のカ
ウント数を読取保持するものである。
The capture register 134 uses the edge detection output of the edge detection circuit 131 as a capture signal, and uses the capture signal as a trigger to read and hold the count number of the free running counter 133.

なお、基準クロックは、第1図に示す回路全体の動作タ
イミングの基準となる基準クロックであり、回路がマイ
クロコンピュータで構成されている場合はマシンクロッ
クが利用される。
The reference clock is a reference clock that serves as a reference for the operation timing of the entire circuit shown in FIG. 1, and if the circuit is composed of a microcomputer, a machine clock is used.

また、そのような基準クロックがない場合、基準クロッ
ク発生回路を設けてもよい。
Furthermore, if there is no such reference clock, a reference clock generation circuit may be provided.

エンコーダ信号入力部13は、さらに、アップダウン検
出部135およびアップダウンカウンタ136を備えて
いる。アップダウン検出部135は、A相のエツジ検出
出力が与えられた時にB相の回転パルスのレベルを判断
し、B相の回転パルスがハイレベルかローレベルかによ
って、サーボモータ10(第1図)が正転しているか逆
転しているかを判別するものである。アップダウンカウ
ンタ136は、アップダウン検出部135の判別出力に
基づいて、エツジ検出回路131の検出出力をアップカ
ウントまたはダウンカウントするものである。
The encoder signal input section 13 further includes an up/down detection section 135 and an up/down counter 136. The up-down detection unit 135 determines the level of the B-phase rotation pulse when the A-phase edge detection output is given, and depending on whether the B-phase rotation pulse is at a high level or a low level, the servo motor 10 (see FIG. ) is used to determine whether the rotation is normal or reverse. The up/down counter 136 counts up or down the detection output of the edge detection circuit 131 based on the determination output of the up/down detection section 135.

次に、第2図の回路の動作説明をする。Next, the operation of the circuit shown in FIG. 2 will be explained.

キャプチャレジスタ134の内容は、キャプチャ信号、
すなわち速度検出パルスによって更新されていく。また
、アップダウンカウンタ136は、エツジ検出信号数、
言い換えれば速度検出パルス数をカウントする。
The contents of the capture register 134 include the capture signal,
That is, it is updated by the speed detection pulse. In addition, the up/down counter 136 has the number of edge detection signals,
In other words, the number of speed detection pulses is counted.

それゆえ、所定のサンプル時間Δτ内において、アップ
ダウンカウンタ136で、回転パルスがn個カウントさ
れ、その間にフリーランニングカウンタ133でカウン
トされる基準パルスのカウント数を計測すれば、それに
基づいて回転数Nを算出することができる。つまり、回
転数Nは、・・・ (6) で算出することができる。
Therefore, within a predetermined sampling time Δτ, if the up/down counter 136 counts n rotation pulses, and during that time the free running counter 133 measures the number of reference pulses, the number of rotations will be calculated based on that. N can be calculated. In other words, the rotation speed N can be calculated as follows (6).

ここに、 基準クロックの周波数をf  [Hz]、サーボモータ
10が1回転することによりロータリエンコーダ12か
ら出力されるA相の回転パルス数をC[pprl、 今回のサンプルタイミング時のキャプチャレジスタ13
4の内容をCPT、。
Here, the frequency of the reference clock is f [Hz], the number of A-phase rotation pulses output from the rotary encoder 12 when the servo motor 10 rotates once is C [pprl, and the capture register 13 at the current sample timing.
CPT, the contents of 4.

前回のサンプルタイミング時のキャプチャレジスタ13
4の内容をCPT、、、 とする。
Capture register 13 at the previous sample timing
Let the contents of 4 be CPT, , .

ところで、式(6)は、基準クロック周波数fと回転パ
ルス数Cとが定数であるから、N−−1Δ  ・・・(
7) A CPT、−CPT、l   X 但し、A:LX60 X : CPT、−CPTfi−1 となる。
By the way, in equation (6), since the reference clock frequency f and the number of rotational pulses C are constants, N--1Δ...(
7) A CPT, -CPT, lX However, A:LX60X: CPT, -CPTfi-1.

第3図は、制御部14がキャプチャレジスタ134およ
びアップダウンカウンタ136の内容をサンプル時間Δ
tごとに読出して回転数Nを算出するための制御動作を
表わすフローチャートである。
FIG. 3 shows that the control unit 14 samples the contents of the capture register 134 and the up/down counter 136 at a sampling time Δ.
It is a flowchart showing the control operation for calculating the rotation speed N by reading every t.

なお、サンプル時間Δtは、 Δt≧CPTfi−CPTfi、     ・・・(8
)を満足する適当な時間が設定されている。
Note that the sampling time Δt is Δt≧CPTfi−CPTfi, (8
) is set at an appropriate time.

次に、第2図および第3図を参照して説明をする。Next, explanation will be given with reference to FIGS. 2 and 3.

制御部14は、内部タイマが一定のサンプル時間Δtに
達するごとに(ステップS1)、タイマをリセットしく
ステップS2)、キャプチャレジスタ134およびアッ
プダウンカウンタ136の内容を読出す(ステップS3
)。
Each time the internal timer reaches a certain sampling time Δt (step S1), the control unit 14 resets the timer (step S2), and reads the contents of the capture register 134 and the up/down counter 136 (step S3).
).

そして、読出したキャプチャレジスタ134のカウント
数CPT、からメモリにストアされている前回読出した
キャプチャレジスタ134のカウント数CPT、、を減
じて1サンプル時間Δを内の基準クロック数Xを求めた
後、CPT、をメモリにストアする(ステップS4)。
Then, after subtracting the count number CPT of the capture register 134 read last time stored in the memory from the read count number CPT of the capture register 134, the reference clock number X within one sample time Δ is obtained. CPT, is stored in memory (step S4).

また、読出したアップダウンカウンタ136のカウント
数UDC,からメモリにストアされている前回読出した
アップダウンカウンタ136のカウント数U D Ca
−1を減じて1サンプル時間Δを内の回転パルス数を求
めた後、UDC,をメモリにストアする(ステップS5
)。
Also, from the read count number UDC of the up/down counter 136, the count number UDC of the up/down counter 136 read last time stored in the memory
After subtracting -1 to find the number of rotational pulses within one sample time Δ, UDC is stored in the memory (step S5
).

その後、上述した式(6)に基づいて、サーボモータ1
0の回転数Nを求める(ステップS6)。
Then, based on the above equation (6), the servo motor 1
0 rotation speed N is determined (step S6).

次に、速度指令信号入力部15について詳しく説明をす
る。
Next, the speed command signal input section 15 will be explained in detail.

第4図は、速度指令信号入力部15の具体的な構成例を
示すブロック図である。速度指令信号人力部15には、
速度指令クロックのたとえば立ち上がりエツジを検出す
るためのエツジ検出回路151と、フリーランニングカ
ウンタ152と、キャプチャレジスタ153と、アップ
カウンタ154とが含まれている。
FIG. 4 is a block diagram showing a specific example of the configuration of the speed command signal input section 15. As shown in FIG. The speed command signal human power section 15 includes:
It includes an edge detection circuit 151 for detecting, for example, a rising edge of the speed command clock, a free running counter 152, a capture register 153, and an up counter 154.

フリーランニングカウンタ152は、与えられる基準ク
ロックをアップカウントするたとえば16ビツト構成の
カウンタである。このフリーランニングカウンタ152
は、前述したエンコーダ信号入力部13のフリーランニ
ングカウンタ133と共用してもよい。
The free running counter 152 is, for example, a 16-bit counter that counts up the applied reference clock. This free running counter 152
may be used in common with the free running counter 133 of the encoder signal input section 13 described above.

キャプチャレジスタ153は、エツジ検出回路151の
エツジ検出出力をキャプチャ信号とし、該キャプチャ信
号をトリガとしてフリーランニングカウンタ152のカ
ウント数を読取保持するものである。
The capture register 153 uses the edge detection output of the edge detection circuit 151 as a capture signal, and uses the capture signal as a trigger to read and hold the count number of the free running counter 152.

アップカウンタ154は、エツジ検出回路151の出力
パルスをアップカウントするためのものである。
The up counter 154 is for counting up the output pulses of the edge detection circuit 151.

この回路の動作は、次の通りである。The operation of this circuit is as follows.

装置本体側、たとえば複写機本体の制御側マイクロコン
ビ二一夕から出力される速度指令クロックはエツジ検出
回路151へ与えられ、立ち上がりエツジが検出される
。エツジ検出回路151の出力はキャプチャ信号として
フリーランニングカウンタ152へ与えられるので、キ
ャプチャレジスタ153の内容は、速度指令クロックの
立ち上がりエツジに応答して更新されて行く。よって、
あるエツジ検出信号に基づいてキャプチャレジスタ15
3の内容を読出し、次のエツジ検出信号に基づいてキャ
プチャレジスタ153の内容を読出して、その差を求め
れば、速度指令クロック1周期におけるフリーランニン
グカウンタ152のカウント数を計測することができる
。つまり、目標となる回転速度データ(指令速度データ
)を得ることができる。
A speed command clock outputted from the apparatus main body side, for example, a control side microcombiner of the copying machine main body, is applied to an edge detection circuit 151, and a rising edge is detected. Since the output of the edge detection circuit 151 is given to the free running counter 152 as a capture signal, the contents of the capture register 153 are updated in response to the rising edge of the speed command clock. Therefore,
Capture register 15 based on a certain edge detection signal
3, read the contents of the capture register 153 based on the next edge detection signal, and find the difference between them, thereby making it possible to measure the count number of the free running counter 152 in one cycle of the speed command clock. In other words, target rotation speed data (command speed data) can be obtained.

なおこの実施例では、キャプチャレジスタ153の内容
が更新されるごとに、更新後のカウント数と更新前のカ
ウント数との差のカウント数を求めるというやり方では
なく、より検出精度を向上させるために、エンコーダ信
号入力部13におけるキャプチャレジスタ153のカウ
ント数読出しと同様の読出方法がとられている。
Note that in this embodiment, each time the contents of the capture register 153 are updated, the difference between the count number after the update and the count number before the update is calculated. , the same reading method as the count number reading of the capture register 153 in the encoder signal input section 13 is used.

すなわち、制御部・14は、所定のサンプル時間Δtご
とにキャプチャレジスタ153の内容およびアップカウ
ンタ154の内容を読出し、キャプチャレジスタ153
における今回読出したカウント数と前回読出したカウン
ト数との差を求め、それを7ツプカウンタにおける今回
読出したカウント数から前回読出したカウント数との差
で割算することで、速度指令クロック1周期内における
より正確な基準クロック数を求めるようにしている。
That is, the control unit 14 reads the contents of the capture register 153 and the contents of the up counter 154 at every predetermined sampling time Δt, and reads the contents of the capture register 153 and the up counter 154.
Find the difference between the count number read this time and the count number read last time in , and divide it by the difference between the count number read this time and the count number read last time in the 7-step counter. We are trying to find a more accurate reference clock number.

そして、指令速度と、モータ10の検出回転数Nとによ
って、両者の速度差ΔNが求められる。
Then, the speed difference ΔN between the command speed and the detected rotation speed N of the motor 10 is determined.

第5図は、制御部14による速度指令クロックと速度検
出パルスとの位相差算出処理手順を示している。
FIG. 5 shows a procedure for calculating the phase difference between the speed command clock and the speed detection pulse by the control unit 14.

まず、エンコーダ信号入力部13のエツジ検出回路13
1によって速度検出パルスの立上りが検出される′と(
ステップ511)、フリーランニングカウンタ133の
カウント値が読込まれ、その値が位相比較値PDT、と
じて記憶される(ステップ512)。フリーランニング
カウンタ133は、モータ制御開始時から基準クロック
のカウントを開始しているので、位相比較値PDT、の
値は、モータ制御開始時から今回のパルス立上り検出時
点までの時間に応じた値となる。
First, the edge detection circuit 13 of the encoder signal input section 13
When the rising edge of the speed detection pulse is detected by 1, (
In step 511), the count value of the free running counter 133 is read, and the value is stored as the phase comparison value PDT (step 512). Since the free running counter 133 starts counting the reference clock from the start of motor control, the value of the phase comparison value PDT is a value corresponding to the time from the start of motor control to the current pulse rise detection point. Become.

次に、位相基準値PP1.が、次式により計算されかつ
記憶される(ステップ513)。
Next, phase reference value PP1. is calculated and stored according to the following equation (step 513).

PP 1. =PP I(II−1) +SPD   
・・・(9)ここで、 P P I (@−1)  :前回記憶された位相基準
値SPD   :速度指令クロック1周期間の基準クロ
ック数SPD (SPDは固定 値である。) である。
PP 1. =PP I(II-1) +SPD
(9) Here, P P I (@-1): Previously stored phase reference value SPD: Number of reference clocks SPD during one period of the speed command clock (SPD is a fixed value).

ただし、P P r(、−11の初期値は、零であるた
め、上記ステップS11で、モータ制御開始後第1回目
の速度検出パルスの立上りが検出されたときに対応する
位相基準値PP1.の値は、SPDとなる。
However, since the initial value of P P r(, -11 is zero, the corresponding phase reference value PP1. The value of is SPD.

この後、位相差PHDTが次式により算出されかつ記憶
される(ステップ514)。
Thereafter, the phase difference PHDT is calculated using the following equation and stored (step 514).

SPD そして、以上の処理が繰返される。すなわち、速度検出
信号の立上りが検出されるごとに(ステップ511)、
フリーランニングカウンタ133のカウント値の読込み
および位相比較値PDT。
SPD Then, the above processing is repeated. That is, each time the rising edge of the speed detection signal is detected (step 511),
Reading the count value of the free running counter 133 and the phase comparison value PDT.

の更新(ステップ512)、位相基準値PPI。(step 512), phase reference value PPI.

の計算および更新(ステップ813)ならびに位相差P
HDTの算出(ステップ514)が繰返し行われる。
(step 813) and the phase difference P
The HDT calculation (step 514) is repeated.

モータ制御開始後、ステップSllで、第2回目の速度
検出パルスの立上りが検出されたときには、ステップ3
13で算出される位相基準値PPl7の値は2SPDと
なり、第3回目の速度検出パルスの立上りが検出された
ときには3SPDとなる。つまり、ステップ313で算
出される位相基準値PP1.の値は、モータ制御開始時
から今回の速度検出パルス立上り時点までの間に出力さ
れた速度検出パルス総数とSPDとの積値になる。
After the start of motor control, when the second rising edge of the speed detection pulse is detected in step Sll, the process proceeds to step 3.
The value of the phase reference value PPl7 calculated in step 13 is 2SPD, and becomes 3SPD when the third rising edge of the speed detection pulse is detected. That is, the phase reference value PP1. calculated in step 313. The value is the product of SPD and the total number of speed detection pulses output from the start of motor control to the current rise of the speed detection pulse.

SPDは、速度指令クロックの周期に応じた固定値であ
るから、ステップS13で算出される位相基準値PPI
、の値は、モータ制御開始時から今回立上りが検出され
た速度検出パルスに対応する速度指令クロックの立上が
り時点までの時間に応じた値となる。
Since SPD is a fixed value depending on the period of the speed command clock, the phase reference value PPI calculated in step S13
The value of , is a value corresponding to the time from the start of motor control to the time of the rise of the speed command clock corresponding to the speed detection pulse whose rise was detected this time.

そして、モータ制御開始時から今回の速度検出パルスの
立上り検出時点までの時間に応じた値(位相比較値PD
T、)と、モータ制御開始時から今回立上りが検出され
た速度検出パルスに対応する速度指令クロックの立上が
り時点までの時間に応じた値(位相基準値PP1.)と
の差を、速度指令クロックの周期に応じた値(SPD)
で除することにより、位相差PHDTが求められている
。よって、速度指令クロックと速度検出パルスとの位相
差が、速度指令クロック1周期分以上である場合でも、
その位相差PHDTが正確に検出される。
Then, a value (phase comparison value PD
T, ) and the value (phase reference value PP1.) corresponding to the time from the start of motor control to the time of the rise of the speed command clock corresponding to the speed detection pulse whose rise was detected this time is calculated as the speed command clock. Value according to the period of (SPD)
The phase difference PHDT is obtained by dividing by . Therefore, even if the phase difference between the speed command clock and the speed detection pulse is one period or more of the speed command clock,
The phase difference PHDT is accurately detected.

次に、制御部14から出力されるPWMデータの算出方
法について説明する。
Next, a method for calculating PWM data output from the control unit 14 will be explained.

サーボモータ10の回転速度を指令速度に追従させるた
めにサーボモータ10に出力すべき電圧VOは、速度差
ΔNによる制御電圧を■1、位相差PHDTによる補正
電圧をV2とすると、次式%式% (11) 位相差PHDTによる補正電圧V2は、予め定められた
補正電圧V2の最大値をαとすると、次のようにして求
められる。
The voltage VO that should be output to the servo motor 10 in order to make the rotational speed of the servo motor 10 follow the command speed is calculated by the following formula, %, where the control voltage due to the speed difference ΔN is 1, and the correction voltage due to the phase difference PHDT is V2. % (11) The correction voltage V2 based on the phase difference PHDT is obtained as follows, assuming that the predetermined maximum value of the correction voltage V2 is α.

(a)位相差が1周期より小さい場合 (−1<PHDT<+1) V2−αφPHDT        ・・・(12)(
b)位相差が1周期以上でありかつ速度検出パルスが速
度指令クロックより進んでいる場合(PHDT≦−1) V2−−α           ・・・(13)(C
)位相差が1周期以上でありかつ速度検出パルスが速度
指令クロックより遅れている場合(PHDT≧+1) V2−+α             ・・・(14)
従って、位相差PHDTと、補正電圧v2との関係は、
第6図に示されるようになる。
(a) When the phase difference is smaller than one cycle (-1<PHDT<+1) V2-αφPHDT ... (12) (
b) When the phase difference is one cycle or more and the speed detection pulse is ahead of the speed command clock (PHDT≦-1) V2--α ... (13) (C
) When the phase difference is one cycle or more and the speed detection pulse is behind the speed command clock (PHDT≧+1) V2-+α ... (14)
Therefore, the relationship between the phase difference PHDT and the correction voltage v2 is as follows:
The result is as shown in FIG.

なお、速度差ΔNによる制御電圧V1は、次式%式% (15) Ra:アマチュア抵抗[Ωコ KT二トルク定数[kg 1m/^] KE:誘起電圧定数[V/rpm] IO=無負荷電“流[、A ] GD2 :負荷とモータによる慣性モーメント[kg 
m2] TsL:摺動負荷[kgm ] である。
The control voltage V1 due to the speed difference ΔN is calculated using the following formula (15) Ra: Amateur resistance [Ω KT torque constant [kg 1m/^] KE: Induced voltage constant [V/rpm] IO = No load Current [, A] GD2: Moment of inertia due to load and motor [kg
m2] TsL: sliding load [kgm].

制御部14は、サーボモータ10の回転速度を検出しく
第3図のステップS6)、指令速度との速度差ΔNを算
出するごとに、または位相差PHDTを算出(第5図の
ステップ514)するごとに、上記式(11) 〜(1
5) ニ基づイテ、VOを算出して、これに応じたPW
Mデータを出力する。このPWMデータは、PWMユニ
ット16に送られ、ドライバ部11を介して、サーボモ
ータ10が制御される。
The control unit 14 detects the rotational speed of the servo motor 10 (step S6 in FIG. 3), calculates the speed difference ΔN from the command speed, or calculates the phase difference PHDT (step 514 in FIG. 5). For each, the above formula (11) ~ (1
5) Calculate VO based on 2, and set PW accordingly.
Output M data. This PWM data is sent to the PWM unit 16, and the servo motor 10 is controlled via the driver section 11.

第7図は、PWMユニット16の具体的な構成例を示す
ブロック図であり、第8図はPWMユニット16の動作
を説明するためのタイミングチャートである。
FIG. 7 is a block diagram showing a specific example of the configuration of the PWM unit 16, and FIG. 8 is a timing chart for explaining the operation of the PWM unit 16.

PWMユニット16には、セット信号発生部161と、
PWMデータレジスタ162と、ダウンカウンタ163
とRSフリップフロップ164とが備えられている。
The PWM unit 16 includes a set signal generation section 161,
PWM data register 162 and down counter 163
and an RS flip-flop 164.

セット信号発生部161は、一定の周期ごとにセット信
号を発生するものである。このセット信号発生部161
はたとえばリングカウンタで構成されており、一定数の
基準クロックを計数するごとにセット信号を発生するよ
うにされている。
The set signal generator 161 generates a set signal at regular intervals. This set signal generating section 161
is composed of, for example, a ring counter, and is configured to generate a set signal every time a certain number of reference clocks are counted.

PWMデータレジスタ162は、制御部14から与えら
れるPWMデータを保持するためのものである。制御部
14から与えられるPWMデータとは、前述した式(1
1)によって求められた電圧データである。すなわち、
式(15)の電圧V1を位相差データPHDTによる補
正電圧v2で補正した電圧vOである。このPWMデー
タは、PWMユニット16から出力されるPWM出力信
号のデユーティを決めるのに用いられる。
The PWM data register 162 is for holding PWM data given from the control unit 14. The PWM data given from the control unit 14 is expressed by the above-mentioned formula (1
This is voltage data obtained by 1). That is,
This is the voltage vO obtained by correcting the voltage V1 in equation (15) with the correction voltage v2 based on the phase difference data PHDT. This PWM data is used to determine the duty of the PWM output signal output from the PWM unit 16.

ダウンカウンタ163は、PWM基準クロック(この実
施例では、PWM基準クロックは、エンコーダ信号入力
部13や速度指令信号人力部15で用いられる基準クロ
ックが共用されている。)が与えられごとにダウンカウ
ントをし、設定された数を計測するとリセット信号を出
力するものである。
The down counter 163 counts down each time a PWM reference clock (in this embodiment, the PWM reference clock is a reference clock used in the encoder signal input section 13 and the speed command signal input section 15) is provided. When the set number is counted, a reset signal is output.

PWMユニット16の動作は次のようになる。The operation of the PWM unit 16 is as follows.

セット信号発生部161からセット信号が出力されると
、PWMデータレジスタ162の内容、つまり制御部1
4から与えられたPWMデータが、ダウンカウンタ16
3にセットされ、また、セット信号によってフリップフ
ロップ164がセットされる。従って、フリップフロッ
プ164の出力、つまりPWM信号はハイレベルとなる
When the set signal is output from the set signal generating section 161, the contents of the PWM data register 162, that is, the control section 1
The PWM data given from 4 is sent to the down counter 16.
3, and the flip-flop 164 is also set by the set signal. Therefore, the output of the flip-flop 164, that is, the PWM signal becomes high level.

次に、ダウンカウンタ163はPWM基準クロックに基
づいてダウンカウントを行い、設定されたカウント値が
「0」になると、フリップフロップ164ヘリセツト信
号を与える。よって、フリップフロップ164の出力は
ローレベルに反転する。
Next, the down counter 163 counts down based on the PWM reference clock, and when the set count value reaches "0", a heliset signal is given to the flip-flop 164. Therefore, the output of flip-flop 164 is inverted to low level.

この結果、PWMユニット16からは、PWMデータレ
ジスタ162で保持された値、つまり式(11)で算出
された電圧データでデユーティが決められ、PWM信号
が導出される。
As a result, the duty is determined from the value held in the PWM data register 162, that is, the voltage data calculated by equation (11), and a PWM signal is derived from the PWM unit 16.

第9図は、制御部14による脱調防止処理手順を示して
いる。
FIG. 9 shows a step-out prevention processing procedure performed by the control section 14.

この処理は、位相差検出処理で速度指令クロックと速度
検出パルスとの位相差PHDTが検出されるごとに行わ
れる。すなわち、位相差PHDTの検出タイミングと同
じく、時間Δtごとに行われる。
This process is performed every time the phase difference PHDT between the speed command clock and the speed detection pulse is detected in the phase difference detection process. That is, the detection timing is the same as the detection timing of the phase difference PHDT, and is performed every time Δt.

位相差PHDTが検出されると、その位相差の絶対値I
 PHDT lが脱調判別値Yより小さいか否かが判別
される(ステップ521)。脱調判別値Yはあらかじめ
実験などにより定められ、この実施例では「1」に定め
られている。したがって、このステップS21では、位
相差の絶対値IPHDTIが「1」より小さいか否かが
判別される。
When the phase difference PHDT is detected, the absolute value I of the phase difference
It is determined whether PHDT l is smaller than the step-out determination value Y (step 521). The step-out determination value Y is determined in advance through experiments and the like, and is set to "1" in this embodiment. Therefore, in this step S21, it is determined whether the absolute value IPHDTI of the phase difference is smaller than "1".

位相差の絶対値I PHDT Iが脱調判別値Y(−1
)以上の場合には(ステップS21でNO)、脱調判別
用カウンタの内容Kが「1」インクリメントされ(ステ
ップ522)、脱調判別用カウンタの内容Kが、脱調判
別用時間Tに対応する値Zを越えたか否かが判別される
(ステラ・ブ523)脱調判別用時間Tに対応する値Z
はあらかじめ実験などにより定められ、この実施例では
「10」に定められている。したがって、このステップ
S23では、脱調判別用カウンタの内容Kが「10」を
越えたか否かが判別される。
The absolute value of phase difference I PHDT I is the step-out determination value Y (-1
) In the above case (NO in step S21), the contents K of the step-out determination counter are incremented by "1" (step 522), and the contents K of the step-out determination counter correspond to the step-out determination time T. It is determined whether or not the value Z exceeds the value Z (Stella 523).
is determined in advance through experiments and the like, and is determined to be "10" in this embodiment. Therefore, in step S23, it is determined whether the content K of the step-out determination counter exceeds "10".

脱調判別用カウンタの内容Kが脱調判別用時間Tに対応
する値Zを越えた場合には、異常信号が出力され(ステ
ップ524)、この処理は終了される。
If the content K of the step-out determination counter exceeds the value Z corresponding to the step-out determination time T, an abnormality signal is output (step 524) and this process is terminated.

この異常信号に基づいて、サーボモータ10などの複写
機の複写動作を行うための機器が強制的に停止させられ
るとともに、光学系に異常が発生したことを、たとえば
、異常表示灯など点灯させることによって操作者に知ら
せる。操作者は、この報知により、サービスマン等の専
門家を呼んで異常箇所の点検修理をしてもらうことにな
る。
Based on this abnormality signal, equipment for performing the copying operation of the copying machine, such as the servo motor 10, is forcibly stopped, and an abnormality indicator light, for example, is turned on to indicate that an abnormality has occurred in the optical system. to inform the operator. In response to this notification, the operator calls a specialist such as a service person to inspect and repair the abnormality.

脱調判別用カウンタの内容Kが脱調判別用時間Tに対応
する値Z以下の場合には、今回の処理は終了し、次に位
相差PHDTが算出されるまで待つ。
If the content K of the step-out determination counter is less than or equal to the value Z corresponding to the step-out determination time T, the current process ends and the process waits until the next phase difference PHDT is calculated.

また、上記ステップ21で、位相差の絶対値PHDT 
lが脱調判別値Yより小さい場合には、脱調判別用カウ
ンタの内容Kをリセット、すなわちに−0としくステッ
プ525)、今回の処理は終了される。
Further, in step 21 above, the absolute value of the phase difference PHDT
If l is smaller than the step-out determination value Y, the content K of the step-out determination counter is reset, that is, set to -0 (step 525), and the current process is terminated.

以上の処理が、位相差PHDTが算出されるごとに行わ
れるので、算出された位相差の絶対値PHDT lが脱
調判別値Y(ここでは「1」)以上であるとの判別が、
脱調判別用時間Tに対応するlaZ (ここではrlO
J)より大きな回数(つまり、ここでは「11」回忌上
)連続した場合に、ステップS13でYESとなり、異
常信号が出力される。
Since the above processing is performed every time the phase difference PHDT is calculated, it is determined that the absolute value PHDT l of the calculated phase difference is greater than or equal to the step-out determination value Y (here "1").
laZ (here rlO) corresponding to the time T for determining step-out
J) If a larger number of times (that is, on the "11th" anniversary in this case) continues, YES is determined in step S13, and an abnormality signal is output.

つまり、位相差の絶対値I PHDT lが脱調判別値
Y以上である状態が、脱調判別用時間Tよりも長い時間
にわたって継続した場合に、異常信号が出力される。
That is, when the state in which the absolute value I PHDT l of the phase difference is greater than or equal to the step-out determination value Y continues for a time longer than the step-out determination time T, an abnormal signal is output.

なお、サーボモータ10の回転速度がドリフト状態に至
った後、ドリフト状態を解消できずに脱調してしまう臨
界値が実験などにより予め求め、脱調判別値Yおよび脱
調判別用時間Tが決められている。
Note that after the rotational speed of the servo motor 10 reaches a drift state, the critical value at which the drift state cannot be resolved and the step-out occurs is determined in advance through experiments, and the step-out determination value Y and the step-out determination time T are determined in advance. It's decided.

従って、上記処理により、モータ10か脱調状態になる
前に、複写動作が停止されるので、複写すべき文字が量
体びしたり縮んだりしてコピーされることを未然に防止
できる。
Therefore, by the above processing, the copying operation is stopped before the motor 10 goes out of step, so that it is possible to prevent the characters to be copied from becoming larger or smaller when being copied.

この発明は、複写機の光学系制御用に限らず、ファクシ
ミリ装置の読取装置制御用モータや、その他の一般的な
モータ制御回路に採用できる。
The present invention is applicable not only to control of the optical system of a copying machine but also to a motor for controlling a reading device of a facsimile machine and other general motor control circuits.

また、この発明は、PWM信号以外で印加電圧を算出す
る場合にも適用できる。
Further, the present invention can be applied to the case where the applied voltage is calculated using other than PWM signals.

〈発明の効果〉 この発明は、以上のように構成されているので、脱調が
生じる前に異常を検出してモータを停止させることがで
き、従って、モータが脱調状態になるのを未然に防止で
きる。
<Effects of the Invention> Since the present invention is configured as described above, it is possible to detect an abnormality and stop the motor before a step-out occurs, thereby preventing the motor from falling out of step. can be prevented.

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

第1図は、この発明の実施例が適用された光学系駆動用
DCサーボモータの駆動制御回路の電気的構成を示すブ
ロック図である。 第2図は、この発明の実施例に係る光学系駆動用DCサ
ーボモータの回転速度検出装置の電気的構成を示す回路
ブロック図である。 第3図は、この発明の実施例における回転速度検出処理
手順を表わすフローチャートである。 第4図は、速度指令信号入力部の具体的な構成例を示す
ブロック図である。 第5図は、この発明の実施例における位相差検出処理理
手順を表わすフローチャートである。 第6図は、位相差PHDTと位相差に基づく補正電圧V
1との関係を表わすグラフである。 第7図は、PWMユニットの具体的な電気的t74成を
示すブロック図である。 第8図は、PWMユニットの動作を表わすタイミングチ
ャートである。 第9図は、この発明の実施例における脱調防11−処理
手順を表わすフローチャートである。 図において、10・・・DCサーボモータ、11・・ド
ライバ部、12・・・ロークリエンコーダ、13・・・
エンコーダ信号入力部、14・・・制御部、15・・・
速度指令信号人力部、16・・・PWMユニット、を示
す。 第 2 図 574− 第3 図 第 7 図 第 因 第 図 第 図
FIG. 1 is a block diagram showing the electrical configuration of a drive control circuit for an optical system drive DC servo motor to which an embodiment of the present invention is applied. FIG. 2 is a circuit block diagram showing the electrical configuration of a rotational speed detection device for a DC servo motor for driving an optical system according to an embodiment of the present invention. FIG. 3 is a flowchart showing the rotational speed detection processing procedure in the embodiment of the present invention. FIG. 4 is a block diagram showing a specific example of the configuration of the speed command signal input section. FIG. 5 is a flowchart showing the phase difference detection processing procedure in the embodiment of the present invention. FIG. 6 shows the phase difference PHDT and the correction voltage V based on the phase difference.
1 is a graph showing the relationship with 1. FIG. 7 is a block diagram showing a specific electrical configuration of the PWM unit. FIG. 8 is a timing chart showing the operation of the PWM unit. FIG. 9 is a flowchart showing the step-out prevention 11-processing procedure in the embodiment of the present invention. In the figure, 10...DC servo motor, 11...Driver section, 12...Low reencoder, 13...
Encoder signal input section, 14...control section, 15...
A speed command signal human power section, 16...PWM unit is shown. 2nd figure 574- 3rd figure7th figure cause figure figure figure

Claims (1)

【特許請求の範囲】 1、速度指令信号と速度検出信号との速度 差および位相差に基づいて、モータの回 転速度が指令速度に等しくなるよう、モ ータをフィードバック制御するモータの 回転速度制御装置における脱調防止装置 であって、 所定タイミングごとに、速度指令信号 と速度検出信号との位相差が、予め定め られた脱調判別用範囲を越えたか否かを 判別する判別手段、 判別手段によって位相差が脱調判別用 範囲を越えたと判別された場合に、位相 差が脱調判別用範囲を越えた状態が、予 め定められた脱調判別用時間継続するか 否かを監視する監視手段、 ならびに、監視手段によって、位相差 が脱調判別用範囲を越えた状態が、脱調 判別用時間継続したと認められた時に、 モータ停止信号を出力する停止信号出力 手段、を備えているモータの回転速度制 御装置における脱調防止装置。[Claims] 1. Speed of speed command signal and speed detection signal The motor rotation is based on the difference and phase difference. The motor is adjusted so that the rolling speed is equal to the command speed. of the motor that provides feedback control of the motor. Step-out prevention device in rotational speed control equipment And, Speed command signal at each predetermined timing The phase difference between the Check whether the specified range for detecting out of synchronization has been exceeded. Discrimination means for discriminating; The phase difference is used to detect out-of-step by the discrimination means. If it is determined that the range has been exceeded, the phase A condition in which the difference exceeds the range for detecting synchronization is a prediction. Does the specified period of time for detecting synchronization continue? monitoring means for monitoring whether or not the Also, by means of monitoring, the phase difference is out of step when it exceeds the range for determining out of step. When it is recognized that the test period has continued, Stop signal output to output motor stop signal The rotational speed control of the motor is equipped with means, A step-out prevention device for control equipment.
JP1311221A 1989-11-30 1989-11-30 Step-out preventive device in rotating speed controller for motor Pending JPH03173384A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1311221A JPH03173384A (en) 1989-11-30 1989-11-30 Step-out preventive device in rotating speed controller for motor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1311221A JPH03173384A (en) 1989-11-30 1989-11-30 Step-out preventive device in rotating speed controller for motor

Publications (1)

Publication Number Publication Date
JPH03173384A true JPH03173384A (en) 1991-07-26

Family

ID=18014558

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1311221A Pending JPH03173384A (en) 1989-11-30 1989-11-30 Step-out preventive device in rotating speed controller for motor

Country Status (1)

Country Link
JP (1) JPH03173384A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018161352A (en) * 2017-03-27 2018-10-18 株式会社平和 Game machine

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018161352A (en) * 2017-03-27 2018-10-18 株式会社平和 Game machine

Similar Documents

Publication Publication Date Title
US9356550B2 (en) Motor controller having abnormality detection function of power transmission unit between motor and main shaft
JP2005180924A (en) Gear damage detector and gear damage detection method
JPH03173384A (en) Step-out preventive device in rotating speed controller for motor
JPH07302121A (en) Positioning controller
JP3623943B2 (en) Abnormality detection device for stepping motor and stepping motor drive device
JPH10243693A (en) Stepping motor driving circuit
US10599136B2 (en) Motor controller and method for controlling motor
JP2820757B2 (en) Motor control device
JPH06153560A (en) Device for detecting abnormality in motor rotation speed
JP2781232B2 (en) Steady-state reach detection device in motor controller
JPH05119829A (en) Feedback controller
JP2735324B2 (en) Motor rotation speed control device
JP2903717B2 (en) Motor speed control device
JPH03173385A (en) Rotating speed controller for motor
JPH0884495A (en) Method for dealing with instantaneous power interruption of voltage inverter
JP2820755B2 (en) Motor control device
JP2003209990A (en) Motor speed controller
JP2957216B2 (en) Motor control device
JPH0947076A (en) Control method for brushless motor
JPH03173382A (en) Motor controller
JPH08185226A (en) Disturbance follow-up type positioning control method
JPS6055877A (en) Overload protecting device of dc motor
RU2222396C2 (en) Apparatus for automatic correction of mutual positions of rotating shafts for rolling and similar equipment
JPH0751976A (en) Stop control system at abnormal load of spindle
JPH0824409B2 (en) Motor control device