JPH08237976A - Drive circuit - Google Patents

Drive circuit

Info

Publication number
JPH08237976A
JPH08237976A JP7040760A JP4076095A JPH08237976A JP H08237976 A JPH08237976 A JP H08237976A JP 7040760 A JP7040760 A JP 7040760A JP 4076095 A JP4076095 A JP 4076095A JP H08237976 A JPH08237976 A JP H08237976A
Authority
JP
Japan
Prior art keywords
servo motor
data
speed
circuit
drive
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.)
Granted
Application number
JP7040760A
Other languages
Japanese (ja)
Other versions
JP3263556B2 (en
Inventor
Ryoichi Takahashi
良一 高橋
Atsushi Kato
敦史 加藤
Masatoshi Komada
雅俊 駒田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP04076095A priority Critical patent/JP3263556B2/en
Publication of JPH08237976A publication Critical patent/JPH08237976A/en
Application granted granted Critical
Publication of JP3263556B2 publication Critical patent/JP3263556B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE: To improve the drive circuit for servo motor. CONSTITUTION: The drive circuit comprises a section 21 for detecting the actual rotational speed of a servo motor M to produce a digital data indicating the detection results, i.e., a speed detection data KD, and a section 20 for comparing a digital data indicating a target rotational speed of the servo motor M, i.e., a target speed data, with the speed detection data, to control the servo motor M such that the actual rotational speed follows up the target rotational speed. The drive control section 20 varies the starting time, i.e., the time being elapsed before the servo motor M reaches the target rotational speed, based on a digital starting time set data T0, T1.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は駆動回路に関し、更に詳
しく言えば、プリンタや複写機などに用いられるサーボ
モーターをディジタル制御する駆動回路の改善を目的と
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a drive circuit, and more specifically, it is an object of the present invention to improve a drive circuit for digitally controlling a servo motor used in a printer or a copying machine.

【0002】[0002]

【従来の技術】以下で、従来例に係る駆動回路について
図面を参照しながら説明する。この回路は、図4に示す
ようにCPU[Central Processing Unit :中央演算処
理装置](1),偏差カウンタ(2),アップダウンカ
ウンタ[以下U/Dカウンタと称する](3),ディジ
タル/アナログ変換器[以下D/A変換器と称する]
(4),バッファアンプ(BU),モータ制御部
(5),波形逓倍回路(6)及びエンコーダ(E)を有
し、プリンタや複写機などに用いられるDCサーボモー
タ(M)を駆動する回路であって、DCサーボモータ
(M)の実際の回転速度が予め設定された目標速度に追
従するようにDCサーボモータ(M)を制御する回路で
ある。
2. Description of the Related Art A drive circuit according to a conventional example will be described below with reference to the drawings. As shown in FIG. 4, this circuit includes a CPU [Central Processing Unit] (1), a deviation counter (2), an up / down counter [hereinafter referred to as U / D counter] (3), a digital / analog. Converter [hereinafter referred to as D / A converter]
(4), buffer amplifier (BU), motor control unit (5), waveform multiplication circuit (6) and encoder (E), and a circuit for driving a DC servo motor (M) used in a printer, a copier or the like A circuit for controlling the DC servo motor (M) so that the actual rotation speed of the DC servo motor (M) follows a preset target speed.

【0003】当該回路によれば、まずCPU(1)に動
作命令が入力され、この動作命令に基づいてCPU
(1)から、駆動クロック(fpps )が偏差カウンタ
(2)に入力される。この駆動クロック(fpps )の周
波数は、駆動対象であるDCサーボモータ(M)の目標
速度を示しており、目標速度が高速な場合には駆動クロ
ック(fpps )の周波数が高くなる。
According to this circuit, an operation command is first input to the CPU (1), and the CPU is based on this operation command.
From (1), the drive clock (fpps) is input to the deviation counter (2). The frequency of the drive clock (fpps) indicates the target speed of the DC servo motor (M) to be driven, and when the target speed is high, the frequency of the drive clock (fpps) becomes high.

【0004】すると、偏差カウンタ(2)によって駆動
クロック(fpps )と波形逓倍回路(6)の出力である
状態信号(JS)とが比較され、駆動クロック(fpps
)が状態信号(JS)よりも大きい場合にはサーボモ
ータの加速を指示する加速信号(+)がU/Dカウンタ
(3)に出力され、逆に駆動クロック(fpps )が状態
信号(JS)よりも小さい場合にはサーボモータの減速
を指示する減速信号(−)がU/Dカウンタ(3)に出
力される。当該回路の起動直後はDCサーボモータ
(M)の回転数は0なので、偏差カウンタ(2)の出力
信号は加速信号(+)である。
Then, the deviation counter (2) compares the drive clock (fpps) with the status signal (JS) which is the output of the waveform multiplication circuit (6), and the drive clock (fpps).
) Is larger than the status signal (JS), the acceleration signal (+) that instructs the acceleration of the servo motor is output to the U / D counter (3), and conversely the drive clock (fpps) is the status signal (JS). If it is smaller than the above, a deceleration signal (-) instructing deceleration of the servo motor is output to the U / D counter (3). The output signal of the deviation counter (2) is the acceleration signal (+) because the number of revolutions of the DC servo motor (M) is 0 immediately after the activation of the circuit.

【0005】次いで、U/Dカウンタ(3)によって偏
差カウンタ(2)の出力信号がアップカウントされてそ
のカウント結果がD/A変換器(4)に入力され、この
カウント結果がD/A変換され、アナログ信号(AD)
が生成されてバッファアンプ(BU)に出力される。バ
ッファアンプ(BU)の入力には抵抗(R)と、接地さ
れた電解コンデンサ(C)が接続されており、これらの
時定数によって決定される一定時間だけ遅延されてバッ
ファアンプ(BU)に入力され、アナログ信号(AD)
がモータ制御部(5)の駆動レベルまで増幅されたのち
にモータ制御部(5)に出力される。
Next, the output signal of the deviation counter (2) is up-counted by the U / D counter (3), the count result is input to the D / A converter (4), and this count result is D / A converted. And analog signal (AD)
Is generated and output to the buffer amplifier (BU). A resistor (R) and an electrolytic capacitor (C) that are grounded are connected to the input of the buffer amplifier (BU), and input to the buffer amplifier (BU) after being delayed by a fixed time determined by these time constants. And analog signal (AD)
Is amplified to the drive level of the motor control unit (5) and then output to the motor control unit (5).

【0006】このアナログ信号(AD)に応じてモータ
制御部(5)から所定の電流がDCサーボモータ(M)
に供給されてDCサーボモータ(M)が回転を開始し、
加速する。このDCサーボモータ(M)の回転速度は随
時ロータリエンコーダ(E)によって検出されており、
その検出結果が検出クロック(KC)として波形逓倍回
路(6)に入力され、波形逓倍回路(6)によって検出
クロック(KC)が整数倍されて駆動クロック(fpps
)と同じ形式のシリアル信号である状態信号(JS)
が生成され、偏差カウンタ(2)に入力される。
According to the analog signal (AD), a predetermined current is supplied from the motor controller (5) to the DC servo motor (M).
Is supplied to the DC servo motor (M) to start rotation,
To accelerate. The rotation speed of the DC servo motor (M) is detected by the rotary encoder (E) at any time,
The detection result is input to the waveform multiplication circuit (6) as a detection clock (KC), and the detection clock (KC) is multiplied by an integer by the waveform multiplication circuit (6) to drive the clock (fpps).
Status signal (JS) which is a serial signal of the same format as
Is generated and input to the deviation counter (2).

【0007】すると、再び偏差カウンタ(2)によって
駆動クロック(fpps )と状態信号(JS)とが比較さ
れ、駆動クロック(fpps )が状態信号(JS)よりも
大きい場合には加速信号(+)がU/Dカウンタ(3)
に出力され、サーボモータ(M)は加速される。このよ
うにして、サーボモータ(M)の実際の回転速度が目標
速度に達するまで、言い換えると状態信号(JS)が駆
動クロック(fpps )に達するまでサーボモータ(M)
は加速される。
Then, the deviation counter (2) again compares the driving clock (fpps) with the status signal (JS), and if the driving clock (fpps) is larger than the status signal (JS), the acceleration signal (+). Is a U / D counter (3)
The servo motor (M) is accelerated. In this way, until the actual rotation speed of the servo motor (M) reaches the target speed, in other words, the status signal (JS) reaches the drive clock (fpps), the servo motor (M)
Is accelerated.

【0008】やがて状態信号(JS)が駆動クロック
(fpps )に達すると、偏差カウンタ(2)からは加速
信号(+)も減速信号(−)も全く出力されない状態に
なるのでU/Dカウンタ(3)の出力は0になり、サー
ボモータ(M)への電流供給が停止して加速動作は停止
し、サーボモータ(M)は惰性で回転を続け、一定時間
目標速度で定速回転する。
When the status signal (JS) reaches the driving clock (fpps), the deviation counter (2) outputs neither the acceleration signal (+) nor the deceleration signal (-) at all, so that the U / D counter ( The output of 3) becomes 0, the current supply to the servo motor (M) is stopped, the acceleration operation is stopped, the servo motor (M) continues to rotate by inertia, and rotates at a constant speed at a target speed for a certain period of time.

【0009】その後、惰性で回転していたサーボモータ
(M)は摩擦などによって回転速度が低下するので、再
び目標速度を下回り、状態信号(JS)が駆動クロック
(fpps )を下回る。すると再び偏差カウンタ(2)か
ら加速信号(+)が出力されるので、再びサーボモータ
(M)は目標速度に達成するまで加速される。上記の動
作を繰り返すことで、このサーボモータ(M)は、駆動
クロック(fpps )によって予め設定された目標速度に
追従するように動作する。
After that, since the rotation speed of the servo motor (M) which has been rotating by inertia decreases due to friction or the like, it falls below the target speed again, and the status signal (JS) falls below the drive clock (fpps). Then, since the acceleration signal (+) is output again from the deviation counter (2), the servo motor (M) is accelerated again until the target speed is reached. By repeating the above operation, the servo motor (M) operates so as to follow the target speed preset by the drive clock (fpps).

【0010】以上の動作を経て、サーボモータ(M)は
目標速度に達するが、図5のグラフに示すような当該駆
動回路が起動してから目標速度(n0)に達するまでの
時間(以下でこれを起動時間と称する)Δtは、当該回
路によって予め設定されている。この設定をするには、
バッファアンプ(BU)の入力に接続された抵抗(R)
と電解コンデンサ(C)との時定数を調整している。こ
の時定数を調整することによって、アナログ信号(A
D)がバッファアンプ(BU)に入力する際に遅延され
る時間(以下でこれを遅延時間と称する)が変化する。
すなわち遅延時間が短ければ起動時間も短くなり、遅延
時間が長くなれば起動時間も長くなるので、電解コンデ
ンサ(C)の容量を変化させて遅延時間を調整すること
により、起動時間(Δt)を調整していた。
After the above operation, the servo motor (M) reaches the target speed, but the time from the start of the drive circuit as shown in the graph of FIG. 5 until the target speed (n0) is reached (hereinafter This is referred to as the startup time) Δt is preset by the circuit. To make this setting,
A resistor (R) connected to the input of the buffer amplifier (BU)
And the time constants of the electrolytic capacitor (C) are adjusted. By adjusting this time constant, the analog signal (A
The time delayed when D) is input to the buffer amplifier (BU) (hereinafter referred to as delay time) changes.
That is, if the delay time is short, the startup time is short, and if the delay time is long, the startup time is long. Therefore, by changing the capacitance of the electrolytic capacitor (C) to adjust the delay time, the startup time (Δt) can be reduced. I was adjusting.

【0011】[0011]

【発明が解決しようとする課題】しかしながら上記従来
の駆動回路によると、起動時間はバッファアンプ(B
U)の入力に接続されている抵抗(R)と電解コンデン
サ(C)との時定数で設定されているが、この電解コン
デンサ(C)は経時変化によって劣化しやすく、また特
性のばらつきが大きいという信頼性の低い素子であるた
め、起動時間を精密に設定することが極めて困難である
という問題が生じていた。
However, according to the above-mentioned conventional drive circuit, the start-up time depends on the buffer amplifier (B
Although it is set by the time constant of the resistance (R) connected to the input of U) and the electrolytic capacitor (C), this electrolytic capacitor (C) is prone to deterioration with the passage of time and has a large variation in characteristics. Since it is a low-reliability element, there has been a problem that it is extremely difficult to precisely set the startup time.

【0012】また、何らかの原因で当該回路の起動時間
を変更したい場合に、電解コンデンサを付け替えないと
起動時間が変更できないため、容易に起動時間の変更が
できないという問題も生じていた。
Further, if it is desired to change the start-up time of the circuit for some reason, the start-up time cannot be changed unless the electrolytic capacitor is replaced, so that the start-up time cannot be changed easily.

【0013】[0013]

【課題を解決するための手段】本発明は上記従来の欠点
に鑑みて成されたもので、図1に示すように、サーボモ
ータの実際の回転速度を検出して、その検出結果を示す
ディジタルデータである速度検出データを生成する速度
検出部と、前記サーボモータの目標回転速度を示すディ
ジタルデータである目標速度データと、前記速度検出デ
ータとを比較し、該比較結果に基づいて前記サーボモー
タの実際の回転速度が前記目標回転速度に追従するよう
に前記サーボモータをディジタル制御する駆動制御部と
を有し、前記駆動制御部は、ディジタルデータである起
動時間設定データに基づいて前記サーボモータが目標回
転速度に達するまでの時間である起動時間を変化させる
ことにより、信頼性の低い電解コンデンサを用いること
なく起動時間を設定し、かつ容易に起動時間の変更をす
ることが可能になる駆動回路の提供を目的とするもので
ある。
The present invention has been made in view of the above-mentioned drawbacks of the prior art. As shown in FIG. 1, a digital signal indicating the detection result of the actual rotation speed of the servomotor is detected. The speed detection unit that generates speed detection data that is data, the target speed data that is digital data indicating the target rotation speed of the servo motor, and the speed detection data are compared, and the servo motor is based on the comparison result. And a drive control unit for digitally controlling the servomotor so that the actual rotation speed of the servomotor follows the target rotation speed, and the drive control unit controls the servomotor based on start time setting data which is digital data. By changing the start-up time, which is the time it takes for the motor to reach the target rotation speed, the start-up time can be set without using an unreliable electrolytic capacitor. And, and it is an object to provide a drive circuit which makes it possible to easily start the time change.

【0014】[0014]

【作 用】本発明によれば、図1に示すように、サーボ
モータの実際の回転速度を検出して、その検出結果を示
すディジタルデータである速度検出データを生成する速
度検出部と、サーボモータの目標回転速度を示すディジ
タルデータである目標速度データと、速度検出データと
を比較し、該比較結果に基づいてサーボモータの実際の
回転速度が目標回転速度に追従するようにサーボモータ
をディジタル制御する駆動制御部とを有し、かつ駆動制
御部は、ディジタルデータである起動時間設定データに
基づいてサーボモータが目標回転速度に達するまでの時
間である起動時間を変化させている。
[Operation] According to the present invention, as shown in FIG. 1, a speed detection unit that detects the actual rotation speed of the servo motor and generates speed detection data that is digital data indicating the detection result; The target speed data, which is digital data indicating the target rotation speed of the motor, is compared with the speed detection data, and the servo motor is digitalized so that the actual rotation speed of the servo motor follows the target rotation speed based on the comparison result. And a drive control unit that controls the drive control unit, and the drive control unit changes the activation time, which is the time until the servomotor reaches the target rotation speed, based on the activation time setting data that is digital data.

【0015】このため、従来のように信頼性の低い素子
である電解コンデンサを用いて起動時間を設定するので
はなく、駆動制御部がディジタルデータである起動時間
設定データに基づいて起動時間を設定しているので、電
解コンデンサを用いて起動時間を設定していた従来に比
して起動時間を精密に設定することが可能となる。また
経時変化による起動時間の変動も殆どないという利点も
有る。
For this reason, the drive control unit sets the starting time based on the starting time setting data which is digital data, instead of setting the starting time using the electrolytic capacitor which is a low reliability element as in the prior art. Therefore, it becomes possible to set the starting time more precisely than in the conventional case where the starting time is set using the electrolytic capacitor. There is also an advantage that the startup time hardly changes with time.

【0016】これにより、起動時間を精度良く設定する
ことができ、また、仮にこれを変更するような場合に
も、従来のように部品を付け替えて対応することなく、
起動時間設定データを変更するだけで容易に対応するこ
とが可能になる。特に当該駆動回路をハイブリッドIC
に搭載して供給するような場合、様々なユーザの要求に
応じて異なる起動時間の要望があったときにも、異なる
要望に応じて電解コンデンサなどを付け替える作業をし
なくとも、起動時間設定データを変更するだけでそれぞ
れの要望に容易に対応できるので、有効である。
As a result, the start-up time can be set with high accuracy, and even if the start-up time is to be changed, it is not necessary to replace the parts as in the conventional case.
It is possible to easily deal with this by simply changing the startup time setting data. In particular, the drive circuit is a hybrid IC
In the case of mounting and supplying the data to the startup time setting data, even if there is a request for different startup times in response to various user requests, even without the work of replacing electrolytic capacitors etc. according to different requests This is effective because it can be easily adapted to each request simply by changing.

【0017】なお、本発明に係る駆動回路において、駆
動制御部は、コンパレータと、パルス発生回路と、アッ
プダウンカウンタと、PWM回路と、プリドライバと、
スイッチングトランジスタを有し、パルス発生回路は、
起動時間設定データに基づいてパルス信号の周波数を決
定している。すなわち、目標速度データと速度検出デー
タがコンパレータによって比較され、U/Dパルス発生
回路からコンパレータの出力に応じたパルス信号が生成
され、アップダウンカウンタによってパルス信号がカウ
ントされ、PWM回路でアップダウンカウンタのカウン
ト結果に基づいてデューティ比が決まる駆動パルスが生
成され、プリドライバによって、駆動パルスに基づくス
イッチングトランジスタのスイッチング駆動がなされ、
スイッチングトランジスタによってサーボモータに電流
が供給/非供給されてサーボモータが駆動制御され、か
つパルス発生回路の生成するパルス信号は、パルス発生
回路に入力される起動時間設定データに基づいてその周
波数が決定する。
In the drive circuit according to the present invention, the drive control section includes a comparator, a pulse generation circuit, an up / down counter, a PWM circuit, a pre-driver,
It has a switching transistor and the pulse generation circuit
The frequency of the pulse signal is determined based on the start time setting data. That is, the target speed data and the speed detection data are compared by the comparator, the U / D pulse generating circuit generates a pulse signal according to the output of the comparator, the up / down counter counts the pulse signal, and the PWM circuit up / down counter. A drive pulse whose duty ratio is determined based on the count result of is generated, and the pre-driver performs switching drive of the switching transistor based on the drive pulse.
Current is supplied / non-supplied to the servo motor by the switching transistor to control the drive of the servo motor, and the frequency of the pulse signal generated by the pulse generation circuit is determined based on the start time setting data input to the pulse generation circuit. To do.

【0018】このため、起動時間設定データによってパ
ルス信号の周波数が変化し、これに基づいてサーボモー
タが目標回転速度に達するまでの回転速度(以下起動回
転速度と称する)が決定される。例えばパルス信号の周
波数が高くなれば、アップダウンカウンタのカウント数
が増大し、PWM回路によって設定される駆動パルスの
デューティ比が増大するのでサーボモータの起動回転速
度は速くなり、逆にパルス信号のパルス周波数が低下す
るとサーボモータの起動回転速度は低下する。
Therefore, the frequency of the pulse signal changes according to the start time setting data, and the rotation speed until the servo motor reaches the target rotation speed (hereinafter referred to as the start rotation speed) is determined based on this. For example, when the frequency of the pulse signal increases, the count number of the up / down counter increases and the duty ratio of the drive pulse set by the PWM circuit increases, so that the startup rotation speed of the servo motor increases, and conversely the pulse signal When the pulse frequency decreases, the starting rotation speed of the servo motor decreases.

【0019】起動回転速度が速ければ目標速度に達する
までの時間である起動時間は短くなり、回転速度が遅け
れば起動時間は長くなるというように起動時間が変化す
るので、起動時間設定データを変化させることで起動時
間を調整することができる。
The start-up time, which is the time until the target speed is reached, is shortened when the start-up rotation speed is high, and the start-up time is increased when the start-up rotation speed is slow, so that the start-up time setting data is changed. By doing so, the startup time can be adjusted.

【0020】[0020]

【実施例】以下で本発明の実施例に係る駆動回路につい
て図面を参照しながら説明する。本実施例に係る駆動回
路は、プリンタや複写機などのOA機器に用いられるD
Cサーボモータを駆動制御するための駆動回路である。
この駆動回路は、図1に示すように、駆動制御部(2
0),速度検出部(21),異常回転保護回路(22)
及び過電流保護回路(30)を有し、予め設定された回
転目標状態に追従するようにサーボモータ(M)を駆動
する回路である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A drive circuit according to an embodiment of the present invention will be described below with reference to the drawings. The drive circuit according to the present embodiment is used in an OA device such as a printer or a copying machine.
It is a drive circuit for driving and controlling the C servo motor.
This drive circuit, as shown in FIG.
0), speed detector (21), abnormal rotation protection circuit (22)
And a circuit for driving the servo motor (M) so as to follow a preset target rotation state, which has an overcurrent protection circuit (30).

【0021】駆動制御部(20)はラッチ回路(11
A,11B),コンパレータ(12),アップダウンパ
ルス発生回路(13),アップダウンカウンタ(1
4),PWM(Pulse Width Modulation:パルス幅変
調)回路(15),プリドライバ(16)及びスイッチ
ングトランジスタ(S11〜S14)を有し、目標速度
データ(DD)と検出速度データ(KD)を比較して検
出速度データ(KD)が目標速度データ(DD)に追従
するようにサーボモータ(M)を制御する回路であり、
また起動時間設定データ(T0,T1)に基づいて、目
標速度に達するまでの時間である起動時間を調整する回
路でもある。
The drive control section (20) includes a latch circuit (11
A, 11B), comparator (12), up-down pulse generation circuit (13), up-down counter (1
4), having a PWM (Pulse Width Modulation) circuit (15), a pre-driver (16) and switching transistors (S11-S14), comparing target speed data (DD) and detected speed data (KD) A circuit for controlling the servo motor (M) so that the detected speed data (KD) follows the target speed data (DD).
It is also a circuit that adjusts the starting time, which is the time until the target speed is reached, based on the starting time setting data (T0, T1).

【0022】速度検出部(21)はロータリエンコーダ
(E),逓倍回路(17)及びシリアル/パラレル変換
回路(18)を有し、ロータリエンコーダ(E)が検出
するサーボモータ(M)の回転速度を検出して、検出速
度データ(KD)を生成する回路である。異常回転保護
回路(22)は、ロック検出回路(23),遅延回路
(24),保護回路(25),クロック生成回路(2
6)及び時定数回路(27)を有する回路であって、目
標速度データ(DD)と検出速度データ(KD)との差
を算出し、この差が一定値を超えた異常回転が生じたと
きにサーボモータ(M)の駆動を強制的に停止させる保
護回路である。
The speed detecting section (21) has a rotary encoder (E), a multiplication circuit (17) and a serial / parallel conversion circuit (18), and the rotational speed of the servomotor (M) detected by the rotary encoder (E). Is a circuit for detecting detected speed data and generating detected speed data (KD). The abnormal rotation protection circuit (22) includes a lock detection circuit (23), a delay circuit (24), a protection circuit (25), and a clock generation circuit (2).
6) and a circuit including a time constant circuit (27), when a difference between the target speed data (DD) and the detected speed data (KD) is calculated, and an abnormal rotation occurs when this difference exceeds a certain value. Is a protection circuit for forcibly stopping the drive of the servo motor (M).

【0023】過電流保護回路(30)は、コンパレータ
(29A),遅延回路(29B)を有し、サーボモータ
(M)に過電流が流れたときに、サーボモータ(M)の
回転を強制的に停止させる保護回路である。駆動制御部
(20)においてラッチ回路(11A)は、不図示のC
PUから出力される目標速度データ(DD)をラッチし
てコンパレータ(12)に出力するものであって、ラッ
チ回路(11B)は、検出速度データ(KD)をラッチ
してコンパレータ(12)に出力するものである。
The overcurrent protection circuit (30) has a comparator (29A) and a delay circuit (29B) and forcibly rotates the servomotor (M) when an overcurrent flows through the servomotor (M). It is a protection circuit to stop. In the drive control unit (20), the latch circuit (11A) has a C (not shown).
The target speed data (DD) output from PU is latched and output to the comparator (12), and the latch circuit (11B) latches the detected speed data (KD) and outputs to the comparator (12). To do.

【0024】また、コンパレータ(12)は目標速度デ
ータ(DD)と、後述の6ビットの速度検出データ(K
D)とを比較して、その比較結果をアップダウンパルス
発生回路[以下U/Dパルス発生回路と称する](1
3)に出力する回路である。具体的には、目標速度デー
タ(DD)が速度検出データ(KD)よりも大きいとき
にはハイレベル(以下“H”と称する)の信号を出力
し、逆に目標速度データ(DD)が速度検出データ(K
D)よりも小さいときにはローレベル(以下“L”と称
する)の信号を出力する。
Further, the comparator (12) has a target speed data (DD) and 6-bit speed detection data (K) which will be described later.
D), and the comparison result is an up / down pulse generation circuit [hereinafter referred to as U / D pulse generation circuit] (1
It is a circuit for outputting to 3). Specifically, when the target speed data (DD) is larger than the speed detection data (KD), a high level (hereinafter referred to as “H”) signal is output, and conversely, the target speed data (DD) is the speed detection data. (K
When it is smaller than D), a low level (hereinafter referred to as "L") signal is output.

【0025】U/Dパルス発生回路(13)はパルス信
号発生回路の一例であって、コンパレータ(12)の出
力信号に基づいて所定のU/Dパルス信号(UP)を生
成してアップダウンカウンタ[以下U/Dカウンタと称
する](14)に出力する回路である。具体的には、コ
ンパレータ(12)の出力信号が“H”のときに、時間
単位あたり最大2の6乗=63個のシリアルなパルス信
号であるU/Dパルス信号(UP)を出力している。
The U / D pulse generation circuit (13) is an example of a pulse signal generation circuit, and generates a predetermined U / D pulse signal (UP) based on the output signal of the comparator (12) to generate an up / down counter. [Hereinafter, referred to as U / D counter] It is a circuit for outputting to (14). Specifically, when the output signal of the comparator (12) is “H”, a maximum of 2 6 = 63 serial U / D pulse signals (UP) that are serial pulse signals are output per unit of time. There is.

【0026】このU/Dパルス信号(UP)は、U/D
パルス発生回路(13)に入力される起動時間設定デー
タ(T0,T1)に基づいて、その周波数が変化する。
この設定の詳細については後述する。U/Dカウンタ
(14)は、U/Dパルス発生回路(13)から入力さ
れるU/Dパルス信号(UP)のパルス数をカウント
し、このカウント数に応じて6ビットのパラレルデータ
に変換してPWM回路(15)に出力する。
This U / D pulse signal (UP) is the U / D
The frequency changes based on the start time setting data (T0, T1) input to the pulse generation circuit (13).
Details of this setting will be described later. The U / D counter (14) counts the pulse number of the U / D pulse signal (UP) input from the U / D pulse generation circuit (13) and converts it into 6-bit parallel data according to the counted number. And outputs it to the PWM circuit (15).

【0027】PWM回路(15)は、U/Dカウンタ
(14)から出力される6ビットのパラレルデータを順
次取り込み、PWM変調することによりサーボモータ
(M)を駆動するための駆動パルス(PP)のデューテ
ィ比を設定するPWMパルス(PW)を出力するもので
ある。例えばU/Dカウンタからのデータが3Fつまり
63であれば、デューティ比100%、0であればデュ
ーティ比0%のPWMパルス(PW)を生成して出力す
る。
The PWM circuit (15) sequentially takes in the 6-bit parallel data output from the U / D counter (14) and performs PWM modulation to drive the servo motor (M), and a drive pulse (PP). The PWM pulse (PW) for setting the duty ratio of is output. For example, if the data from the U / D counter is 3F, that is, 63, a PWM pulse (PW) with a duty ratio of 100% and 0 is generated and output if it is 0.

【0028】プリドライバ(16)は、後述の保護回路
(25)を介して出力されるPWMパルス(PW)に基
づいてスイッチングトランジスタであるMOSトランジ
スタ(S11〜S14)に駆動パルス(PP)を供給す
る回路である。これら4つのMOSトランジスタ(S1
1〜S14)はブリッジ回路を構成しており、これらが
ON/OFF動作をしてサーボモータ(M)に電流が供
給/非供給されることでサーボモータ(M)が回転し、
所望の正転動作,逆転動作,停止動作ができるようにサ
ーボモータ(M)を駆動制御される。
The pre-driver (16) supplies a drive pulse (PP) to the MOS transistors (S11 to S14), which are switching transistors, based on a PWM pulse (PW) output via a protection circuit (25) described later. It is a circuit to do. These four MOS transistors (S1
1 to S14) form a bridge circuit, and these perform ON / OFF operations to supply / non-supply current to the servo motor (M), whereby the servo motor (M) rotates,
The servo motor (M) is drive-controlled so that desired forward rotation operation, reverse rotation operation, and stop operation can be performed.

【0029】速度検出部(21)において、エンコーダ
(E)はサーボモータ(M)の回転速度や、位置などを
随時検出し、それらの検出結果をディジタルデータにし
て逓倍回路(18)に出力するロータリエンコーダであ
る。本実施例では分解能が100パルス/rev のロータ
リエンコーダを用いている。逓倍回路(17)はエンコ
ーダ(E)の出力である検出結果を整数倍してシリアル
/パラレル変換回路(18)に出力する回路である。
In the speed detecting section (21), the encoder (E) detects the rotational speed, the position, etc. of the servo motor (M) at any time, and outputs the detection results as digital data to the multiplication circuit (18). It is a rotary encoder. In this embodiment, a rotary encoder having a resolution of 100 pulses / rev is used. The multiplication circuit (17) is a circuit for multiplying the detection result output from the encoder (E) by an integer and outputting the result to the serial / parallel conversion circuit (18).

【0030】シリアル/パラレル変換回路(18)は逓
倍回路(17)の出力をシリアル/パラレル変換して、
速度検出データ(KD)を生成する回路である。以下
で、上記回路の動作について説明する。まずCPU(1
1)に動作指令が入力されると、その動作指令に応じた
目標速度データ(DD)がCPU(11)から出力され
る。
The serial / parallel conversion circuit (18) performs serial / parallel conversion on the output of the multiplication circuit (17),
It is a circuit that generates speed detection data (KD). The operation of the above circuit will be described below. First, CPU (1
When the operation command is input to 1), the target speed data (DD) corresponding to the operation command is output from the CPU (11).

【0031】なお、この目標速度データ(DD)は、サ
ーボモータ(M)の目標速度を示す6ビットのディジタ
ルデータである。本実施例では目標速度データ(DD)
は6ビットのディジタルデータとしているので、“00
0000”すなわち0から、“111111”すなわち
63までの値を設定することができる。また本実施例で
はエンコーダ回路(E)の分解能が100パルス/rev
であるとしているため、この目標速度データ(DD)の
1ビットを100rpm と設定することで、100rpm き
ざみで0rpm から6300rpm までの目標速度の設定を
することが可能になる。この場合はCPU(11)から
“111111”が出力され、目標速度は6300rpm
に設定されたとする。
The target speed data (DD) is 6-bit digital data indicating the target speed of the servo motor (M). In this embodiment, target speed data (DD)
Is 6-bit digital data, so "00"
It is possible to set a value from "0000", that is, 0 to "111111", that is, 63. In this embodiment, the resolution of the encoder circuit (E) is 100 pulses / rev.
Therefore, by setting 1 bit of this target speed data (DD) to 100 rpm, it becomes possible to set the target speed from 0 rpm to 6300 rpm in steps of 100 rpm. In this case, the CPU (11) outputs "111111" and the target speed is 6300 rpm.
Is set to.

【0032】次に、コンパレータ(12)によって目標
速度データ(DD)と速度検出データ(KD)との比較
がなされる。回路の起動直後はサーボモータ(M)の回
転速度は0なので速度検出データ(KD)は“0000
00”となり、“111111”である目標速度データ
(DD)の方が大きいためコンパレータ(12)の出力
は“H”になる。
Next, the comparator (12) compares the target speed data (DD) with the speed detection data (KD). Immediately after starting the circuit, the rotation speed of the servo motor (M) is 0, so the speed detection data (KD) is "0000."
00 ", and the target speed data (DD)" 111111 "is larger, so the output of the comparator (12) becomes" H ".

【0033】コンパレータ(12)から“H”が出力さ
れると、U/Dパルス発生回路(13)が、時間単位
(本実施例では50ms)あたり最大2の6乗=63個の
パルス信号であるU/Dパルス信号(UP)を出力す
る。次いでU/Dカウンタ(14)によってU/Dパル
ス信号(UP)がカウントされ、カウント数に応じて6
ビットのパラレルデータに変換されてPWM回路(1
5)に出力される。
When "H" is output from the comparator (12), the U / D pulse generation circuit (13) outputs a maximum of 2 6 = 63 pulse signals per time unit (50 ms in this embodiment). It outputs a certain U / D pulse signal (UP). Next, the U / D pulse signal (UP) is counted by the U / D counter (14), and 6 is counted according to the count number.
Converted to bit parallel data, PWM circuit (1
It is output to 5).

【0034】次にU/Dカウンタ(14)のカウント結
果である6ビットのパラレルデータがPWM回路(1
5)によってPWM変調され、サーボモータを駆動する
ためのPWMパルス(PW)のデューティ比が設定され
る。このデューティ比は、U/Dカウンタ(14)から
出力される6ビットのパラレルデータの大小によって増
減し、例えばこのデータが3Fつまり63であれば、デ
ューティ比100%,0であればデューティ比0%のP
WMパルス(PW)を出力する。
Next, the 6-bit parallel data which is the count result of the U / D counter (14) is converted into the PWM circuit (1
PWM modulation is performed by 5), and the duty ratio of the PWM pulse (PW) for driving the servo motor is set. This duty ratio increases or decreases depending on the size of the 6-bit parallel data output from the U / D counter (14). For example, if this data is 3F, that is, 63, the duty ratio is 100%, and if 0, the duty ratio is 0. % P
The WM pulse (PW) is output.

【0035】その後、PWM回路(15)から出力され
るPWMパルスのデューティ比に従う駆動パルス(P
P)がプリドライバ(16)からMOS型のスイッチン
グトランジスタ(S11〜S14)に出力され、これら
のスイッチングトランジスタ(S11〜S14)がPW
M回路(15)によって設定されたデューティ比によっ
てON/OFF動作をし、サーボモータ(M)が所定の
回転をする。
After that, the drive pulse (P) according to the duty ratio of the PWM pulse output from the PWM circuit (15) is generated.
P) is output from the pre-driver (16) to the MOS type switching transistors (S11 to S14), and these switching transistors (S11 to S14) are PW.
The servo motor (M) performs a predetermined rotation by performing ON / OFF operation according to the duty ratio set by the M circuit (15).

【0036】例えば、サーボモータを正転するような場
合には、スイッチングトランジスタのうちスイッチング
トランジスタ(S12,S13)を常時OFFさせ、P
WM回路(15)によって設定されたデューティ比の駆
動パルス(PP)でスイッチングトランジスタ(S1
1,S14)を、ON/OFFさせてサーボモータ
(M)に電流を供給し、これを正転させている。
For example, when the servomotor is normally rotated, the switching transistors (S12, S13) among the switching transistors are always turned off, and P
The switching transistor (S1) is driven by the drive pulse (PP) having the duty ratio set by the WM circuit (15).
1, S14) are turned ON / OFF to supply a current to the servo motor (M), which is normally rotated.

【0037】このサーボモータ(M)の実際の回転速度
は、エンコーダ回路(E)によって随時検出されてお
り、この検出結果が逓倍回路(18)に出力される。逓
倍回路(18)によってこの検出結果が整数倍され、そ
の後シリアル/パラレル変換回路(19)によってシリ
アル/パラレル変換されることで、サーボモータ(M)
の実際の回転速度の検出結果を示し、パラレルな6ビッ
トのディジタルデータである速度検出データ(KD)が
生成されてコンパレータ(12)に出力される。
The actual rotation speed of the servo motor (M) is constantly detected by the encoder circuit (E), and the detection result is output to the multiplication circuit (18). The detection result is multiplied by an integer by the multiplication circuit (18), and then serial / parallel converted by the serial / parallel conversion circuit (19), so that the servo motor (M)
Shows the actual detection result of the rotation speed, and speed detection data (KD) which is parallel 6-bit digital data is generated and output to the comparator (12).

【0038】すると、再びコンパレータ(12)によっ
て目標速度データ(DD)と速度検出データ(KD)と
が比較される。サーボモータ(M)の加速回転につれ
て、回転速度は上昇し、速度検出データ(KD)も増加
するが、まだ目標速度データ(DD)が速度検出データ
(KD)よりも大きい場合には“H”が出力される。こ
のようにして、サーボモータ(M)の実際の回転速度が
6300rpm という目標速度に達するまで、言い換える
と速度検出データ(KD)が“111111”なる目標
速度データ(DD)に達するまでサーボモータ(M)は
加速される。
Then, the target speed data (DD) and the speed detection data (KD) are compared again by the comparator (12). The rotational speed increases and the speed detection data (KD) increases as the servo motor (M) accelerates, but if the target speed data (DD) is still larger than the speed detection data (KD), "H". Is output. In this way, until the actual rotation speed of the servo motor (M) reaches the target speed of 6300 rpm, in other words, the speed detection data (KD) reaches the target speed data (DD) of "111111". ) Is accelerated.

【0039】やがて速度検出データ(KD)が目標速度
データ(DD)に達すると、コンパレータ(12)から
は“L”が出力されるので、U/Dパルス発生回路(1
3)はU/Dパルス信号(UP)の生成を中止し、従っ
てU/Dカウンタ(14)の出力は0になる。よってP
WM回路(15)にはカウント結果が出力されず、デュ
ーティ比が0のPWMパルスが生成されるので、サーボ
モータ(M)への電流供給が停止して加速動作は停止
し、サーボモータ(M)は惰性で回転を続け、一定時間
目標速度で定速回転する。
When the speed detection data (KD) eventually reaches the target speed data (DD), "L" is output from the comparator (12), so the U / D pulse generation circuit (1
3) stops generation of the U / D pulse signal (UP), so that the output of the U / D counter (14) becomes zero. Therefore P
Since the count result is not output to the WM circuit (15) and a PWM pulse having a duty ratio of 0 is generated, the current supply to the servo motor (M) is stopped, the acceleration operation is stopped, and the servo motor (M) is stopped. ) Continues to rotate by inertia and rotates at a constant speed at the target speed for a certain period of time.

【0040】その後、惰性で回転していたサーボモータ
(M)は摩擦などによって回転速度が低下するので、再
び目標速度である6300rpm を下回り、速度検出デー
タ(KD)が目標速度データ(DD)を下回る。すると
再びコンパレータ(12)の出力が“H”になるので、
上述の動作を繰り返して再びサーボモータ(M)は目標
速度に達成するまで加速される。上記の動作を繰り返す
ことで、このサーボモータ(M)は、目標速度データ
(DD)によって予め設定された目標速度である630
0rpm に追従するように動作する。
After that, since the rotation speed of the servo motor (M) which was rotating by inertia decreases due to friction or the like, it falls below the target speed of 6300 rpm again, and the speed detection data (KD) becomes equal to the target speed data (DD). Fall below. Then, the output of the comparator (12) becomes "H" again.
By repeating the above operation, the servo motor (M) is accelerated again until the target speed is reached. By repeating the above operation, the servo motor (M) has a target speed 630 which is a target speed preset by the target speed data (DD).
Operates so as to follow 0 rpm.

【0041】以下で本発明の駆動回路の特徴的な動作で
ある起動時間の設定について説明する。本実施例の回路
において、上述のU/Dパルス信号(UP)のパルス周
波数は、2ビットのディジタルデータである起動時間設
定データ(T0,T1)によって設定される。起動時間
設定データ(T0,T1)は、2ビットのディジタルデ
ータなので2の2乗=4種類の値を取り得る。
The setting of the starting time, which is a characteristic operation of the drive circuit of the present invention, will be described below. In the circuit of this embodiment, the pulse frequency of the U / D pulse signal (UP) is set by the start time setting data (T0, T1) which is 2-bit digital data. Since the start-up time setting data (T0, T1) is 2-bit digital data, it can take 2 squares = 4 types of values.

【0042】従って、U/Dパルス信号(UP)は図2
のタイミングチャートに示すような4種類の周波数を有
するクロック(CK1〜CK4)のうちの何れかをと
る。例えば起動時間設定データ(T0,T1)が
“0”,“0”のときには4つのクロック(CK1〜C
K4)の中で最も高速なクロック(CK1)が生成さ
れ、起動時間設定データ(T0,T1)が“1”,
“1”のときには4つのクロック(CK1〜CK4)の
中で最も低速なクロック(CK4)が生成される。
Therefore, the U / D pulse signal (UP) is shown in FIG.
Any of the clocks (CK1 to CK4) having four kinds of frequencies as shown in the timing chart of FIG. For example, when the start time setting data (T0, T1) is "0", "0", four clocks (CK1 to C)
The fastest clock (CK1) in K4) is generated, and the start time setting data (T0, T1) is “1”,
When "1", the slowest clock (CK4) among the four clocks (CK1 to CK4) is generated.

【0043】駆動制御部(20)がサーボモータ(M)
の回転速度を決定するのはこのパルス周波数による。す
なわち、U/Dパルス信号(UP)のパルス周波数が高
くなると、U/Dカウンタ(14)によるU/Dパルス
信号(UP)のカウント数が増大し、PWM回路(1
5)によって設定される駆動パルス(PP)のデューテ
ィ比が増大し、プリドライバ(16)の駆動によるスイ
ッチングトランジスタ(S11〜S14)のスイッチン
グ速度が速くなり、サーボモータ(M)の回転速度が上
昇する。
The drive control unit (20) is a servo motor (M).
It is this pulse frequency that determines the rotational speed of the. That is, when the pulse frequency of the U / D pulse signal (UP) increases, the count number of the U / D pulse signal (UP) by the U / D counter (14) increases and the PWM circuit (1
The duty ratio of the drive pulse (PP) set by 5) increases, the switching speed of the switching transistors (S11 to S14) by driving the pre-driver (16) increases, and the rotation speed of the servo motor (M) increases. To do.

【0044】同様にして、U/Dパルス信号(UP)の
パルス周波数が減少すると、サーボモータ(M)の回転
速度が減少することになる。このような4種類の起動時
間設定データ(T0,T1)に対応するサーボモータ
(M)の回転速度の経時変化について図3のグラフを参
照しながら説明する。上述の4種類のクロック(CK1
〜CK4)に対応して、サーボモータ(M)の回転速度
は図3に示すように変化する。
Similarly, when the pulse frequency of the U / D pulse signal (UP) decreases, the rotation speed of the servo motor (M) decreases. The change with time of the rotation speed of the servo motor (M) corresponding to such four types of start time setting data (T0, T1) will be described with reference to the graph of FIG. The four types of clocks (CK1
~ CK4), the rotation speed of the servo motor (M) changes as shown in FIG.

【0045】サーボモータの回転速度が速くなれば当然
速く目標速度に達するので、起動時間は短くなり、図3
に示すように最も速いクロック(CK1)に対応する起
動時間は50msecと最も短い。またサーボモータの回転
速度が遅くなれば当然遅く目標速度に達するので、起動
時間は長くなり、最も遅いクロック(CK4)に対応す
る起動時間は400msecと最も遅くなっている。
As the rotation speed of the servo motor becomes faster, the target speed is naturally reached faster, so the starting time becomes shorter.
As shown in, the activation time corresponding to the fastest clock (CK1) is as short as 50 msec. Further, if the rotation speed of the servo motor becomes slower, the target speed is naturally reached later, so the starting time becomes longer, and the starting time corresponding to the slowest clock (CK4) is the slowest at 400 msec.

【0046】以上をまとめると、起動時間設定データ
(T0,T1)によって、以下の表1に示すような4種
類の起動時間を設定することができることがわかる。
Summarizing the above, it is understood that four kinds of starting times as shown in Table 1 below can be set by the starting time setting data (T0, T1).

【0047】[0047]

【表1】 [Table 1]

【0048】以上説明したように、本実施例に係る駆動
回路によれば、駆動制御部(20)は、コンパレータ
(12)と、U/Dパルス発生回路(13)と、U/D
カウンタ(14)と、PWM回路(15)と、プリドラ
イバ(16)と、スイッチングトランジスタ(S11〜
S14)を有し、かつU/Dパルス発生回路(13)
は、起動時間設定データ(T0,T1)に基づいてU/
Dパルス信号(UP)の周波数を決定している。
As described above, according to the drive circuit of this embodiment, the drive controller (20) includes the comparator (12), the U / D pulse generation circuit (13), and the U / D.
The counter (14), the PWM circuit (15), the pre-driver (16), and the switching transistors (S11-S11).
U / D pulse generation circuit (13) having S14)
Is U / based on the start time setting data (T0, T1)
The frequency of the D pulse signal (UP) is determined.

【0049】このため、起動時間設定データ(T0,T
1)によってU/Dパルス信号(UP)のパルス周波数
が変化し、これに基づいてサーボモータ(M)が目標回
転速度に達するまでの回転速度(以下起動回転速度と称
する)が決定される。例えばU/Dパルス信号(UP)
の周波数が高くなれば、U/Dカウンタ(14)のカウ
ント数が増大し、PWM回路(15)によって設定され
る駆動パルス(PP)のデューティ比が増大するのでサ
ーボモータ(M)の起動回転速度は速くなり、逆にU/
Dパルス信号(UP)のパルス周波数が低下するとサー
ボモータ(M)の起動回転速度は低下する。
Therefore, the start time setting data (T0, T
1) changes the pulse frequency of the U / D pulse signal (UP), and based on this, the rotation speed until the servomotor (M) reaches the target rotation speed (hereinafter referred to as the starting rotation speed) is determined. For example, U / D pulse signal (UP)
The higher the frequency of, the higher the count number of the U / D counter (14) and the higher the duty ratio of the drive pulse (PP) set by the PWM circuit (15). The speed becomes faster, and conversely U /
When the pulse frequency of the D pulse signal (UP) decreases, the starting rotation speed of the servo motor (M) decreases.

【0050】起動回転速度が速ければ目標速度に達する
までの時間である起動時間は短くなり、回転速度が遅け
れば起動時間は長くなる。このようにして起動時間設定
データ(T0,T1)を変化させることで起動時間を容
易に調整することができる。これにより、従来のように
信頼性の低い素子である電解コンデンサを用いて起動時
間を設定するのではなく、ディジタルデータである起動
時間設定データ(T0,T1)に基づいて起動時間を設
定しているので、クロックがくるわない限り起動時間が
変動することはまず有り得ないので、従来に比して起動
時間の設定の信頼性を向上させることが可能になる。
If the starting rotation speed is high, the starting time, which is the time until the target speed is reached, becomes short, and if the rotation speed is slow, the starting time becomes long. In this way, the start-up time can be easily adjusted by changing the start-up time setting data (T0, T1). As a result, the starting time is set based on the starting time setting data (T0, T1), which is digital data, instead of setting the starting time using the electrolytic capacitor, which is a low-reliability element as in the related art. Therefore, it is unlikely that the startup time will fluctuate unless the clock arrives. Therefore, it becomes possible to improve the reliability of setting the startup time as compared with the conventional case.

【0051】従って、起動時間を精度良く設定すること
ができ、また、仮にこれを変更するような場合にも、従
来のように部品を付け替えて対応することなく、起動時
間設定データ(T0,T1)を変更するだけで容易に対
応することが可能になる。特に当該駆動回路をハイブリ
ッドICに搭載して供給するような場合、様々なユーザ
の要求に応じて異なる起動時間の要望があったときに
も、異なる要望に応じて電解コンデンサなどを付け替え
る作業をしなくとも、起動時間設定データ(T0,T
1)を変更するだけでそれぞれの要望に容易に対応でき
るので、有効である。
Therefore, the start-up time can be set accurately, and even if the start-up time is to be changed, the start-up time setting data (T0, T1) can be set without replacing parts as in the conventional case. ), It becomes possible to deal with it easily. In particular, when the drive circuit is mounted on a hybrid IC and supplied, even when there is a request for different startup times in response to various user requests, work such as replacing electrolytic capacitors according to different requests is performed. Even if there is no start time setting data (T0, T
This is effective because it is possible to easily meet each request simply by changing 1).

【0052】さらに、本実施例に係る駆動回路には、サ
ーボモータが異常回転をしたときに強制的に回路動作を
停止させる異常回転保護回路(22)と、過電流を検出
したときに当該回路の動作を強制的に停止させる過電流
保護回路(30)との2つの保護回路が設けられている
が、これらの保護回路(22,30)が異常を検出して
から回路動作を停止させるまでの時間である遅延時間
は、2ビットのディジタルデータである遅延時間規定デ
ータ(t0,t1)によって設定されている。
Further, the drive circuit according to the present embodiment includes an abnormal rotation protection circuit (22) for forcibly stopping the circuit operation when the servo motor makes an abnormal rotation, and a circuit concerned when an overcurrent is detected. There are two protection circuits, an overcurrent protection circuit (30) for forcibly stopping the operation of the above, and until the protection circuit (22, 30) detects an abnormality until the circuit operation is stopped. The delay time which is the time of is set by the delay time defining data (t0, t1) which is 2-bit digital data.

【0053】本実施例に係る駆動回路では、この遅延時
間を設定する遅延時間規定データ(t0,t1)と、起
動時間設定データ(T0,T1)とを別にしているが、
両者は同じ2ビットのディジタルデータであるので、こ
れらを共用しても、同様の効果を奏する。なお、本実施
例では目標速度データ(DD)を6ビットのディジタル
データにしているが本発明はこれに限らず、例えば4ビ
ット、10ビットなど、サーボモータの用途に合わせて
どのように設定しても、同様の効果を奏する。
In the drive circuit according to this embodiment, the delay time defining data (t0, t1) for setting this delay time and the starting time setting data (T0, T1) are separately provided.
Since both are the same 2-bit digital data, even if they are shared, the same effect can be obtained. In the present embodiment, the target speed data (DD) is 6-bit digital data, but the present invention is not limited to this. For example, 4 bits or 10 bits may be set according to the application of the servo motor. However, the same effect is obtained.

【0054】また、起動時間は2ビットの起動時間設定
データ(T0,T1)で設定して50,100,20
0,400msecの4種類の時間を設定しているが、本発
明はこれに限らず、例えば3ビットのデータを用いて8
種類の時間を設定しても、同様の効果を奏する。更に、
本実施例ではサーボモータが停止状態から回転を開始し
て目標速度に達するまでの時間を起動時間として説明し
ているが、本発明でいう起動時間はこれに限らず、例え
ば所定の目標速度で駆動していたサーボモータをそれよ
りも低速の目標速度の駆動に切り替える場合に、最初の
目標速度から、次に移行する目標速度まで切り替わるよ
うな場合にもこれを起動時間と称し、またサーボモータ
を逆転させるような場合に逆転後の目標速度に達するま
での時間も本発明でいう起動時間に含めても同様の効果
を奏する。
The start time is set to 50, 100, 20 by setting the start time setting data (T0, T1) of 2 bits.
Although four kinds of times of 0,400 msec are set, the present invention is not limited to this, and, for example, 8 bits by using 3-bit data.
The same effect can be obtained even if the types of time are set. Furthermore,
In this embodiment, the time from when the servo motor starts rotating to when it reaches the target speed is described as the start time, but the start time in the present invention is not limited to this, and for example, at a predetermined target speed. This is also called the start-up time when the servo motor that was being driven is switched to a target speed that is slower than that, and when switching from the first target speed to the next target speed, this is also called the start time. In the case of reversing, the time required to reach the target speed after reversing is included in the starting time in the present invention, and the same effect is obtained.

【0055】[0055]

【発明の効果】以上説明したように本発明によれば、サ
ーボモータの実際の回転速度を検出して、その検出結果
を示すディジタルデータである速度検出データを生成す
る速度検出部と、サーボモータの目標回転速度を示すデ
ィジタルデータである目標速度データと、速度検出デー
タとを比較し、該比較結果に基づいてサーボモータの実
際の回転速度が目標回転速度に追従するようにサーボモ
ータをディジタル制御する駆動制御部とを有し、かつ駆
動制御部は、ディジタルデータである起動時間設定デー
タに基づいてサーボモータが目標回転速度に達するまで
の時間である起動時間を変化させている。
As described above, according to the present invention, a speed detecting section for detecting an actual rotation speed of a servo motor and generating speed detection data, which is digital data showing the detection result, and a servo motor. The target speed data, which is the digital data indicating the target rotation speed, is compared with the speed detection data, and the servo motor is digitally controlled so that the actual rotation speed of the servo motor follows the target rotation speed based on the comparison result. The drive control unit changes the start time which is the time until the servo motor reaches the target rotation speed based on the start time setting data which is digital data.

【0056】このため、従来のように信頼性の低い素子
である電解コンデンサを用いて起動時間を設定するので
はなく、ディジタルデータである起動時間設定データに
基づいて起動時間を設定しているので、起動時間を精度
良く設定することができ、また、仮にこれを変更するよ
うな場合にも、従来のように部品を付け替えて対応する
ことなく、起動時間設定データを変更するだけで容易に
対応することが可能になる。
Therefore, the starting time is set based on the starting time setting data, which is digital data, instead of setting the starting time using an electrolytic capacitor, which is a low-reliability element as in the prior art. The startup time can be set accurately, and even if it is changed, it is easy to change the startup time setting data without changing parts as in the past. It becomes possible to do.

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

【図1】本発明の実施例に係る駆動回路の回路図であ
る。
FIG. 1 is a circuit diagram of a drive circuit according to an embodiment of the present invention.

【図2】本発明の実施例に係るU/Dパルス発生回路の
動作を説明するタイミングチャートである。
FIG. 2 is a timing chart explaining the operation of the U / D pulse generation circuit according to the embodiment of the present invention.

【図3】本発明の実施例に係る駆動回路による起動時間
調整の動作を説明するグラフである。
FIG. 3 is a graph illustrating the operation of adjusting the startup time by the drive circuit according to the embodiment of the present invention.

【図4】従来例に係る駆動回路の回路図である。FIG. 4 is a circuit diagram of a drive circuit according to a conventional example.

【図5】サーボモータの駆動回路の起動時間を説明する
グラフである。
FIG. 5 is a graph illustrating a starting time of a drive circuit of a servo motor.

【符号の説明】[Explanation of symbols]

(11A) ラッチ回路 (11B) ラッチ回路 (12) コンパレータ (13) U/Dパルス発生回路 (14) U/Dカウンタ (15) PWM回路 (16) プリドライバ (17) 逓倍回路 (18) シリアル/パラレル変換回路 (20) 駆動制御部 (21) 速度検出部 (22) 異常回転検出回路 (23) 過電流検出回路 (M) サーボモータ (S11〜S14)スイッチングトランジスタ (DD) 目標速度データ (KD) 速度検出データ (T0,T1) 起動時間設定データ (11A) Latch circuit (11B) Latch circuit (12) Comparator (13) U / D pulse generation circuit (14) U / D counter (15) PWM circuit (16) Pre-driver (17) Multiplier circuit (18) Serial / Parallel conversion circuit (20) Drive control unit (21) Speed detection unit (22) Abnormal rotation detection circuit (23) Overcurrent detection circuit (M) Servo motor (S11 to S14) Switching transistor (DD) Target speed data (KD) Speed detection data (T0, T1) Startup time setting data

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 サーボモータの実際の回転速度を検出し
て、その検出結果を示すディジタルデータである速度検
出データを生成する速度検出部と、 前記サーボモータの目標回転速度を示すディジタルデー
タである目標速度データと、前記速度検出データとを比
較し、該比較結果に基づいて前記サーボモータの実際の
回転速度が前記目標回転速度に追従するように前記サー
ボモータをディジタル制御する駆動制御部とを有し、 前記駆動制御部は、ディジタルデータである起動時間設
定データに基づいて前記サーボモータが目標回転速度に
達するまでの時間である起動時間を変化させることを特
徴とする駆動回路。
1. A speed detection unit that detects an actual rotation speed of a servo motor and generates speed detection data that is digital data indicating the detection result, and digital data that indicates a target rotation speed of the servo motor. A drive control unit that compares the target speed data with the speed detection data and digitally controls the servo motor so that the actual rotation speed of the servo motor follows the target rotation speed based on the comparison result. The drive circuit is characterized in that the drive control unit changes a start time which is a time until the servomotor reaches a target rotation speed based on start time setting data which is digital data.
【請求項2】 前記駆動制御部は、前記目標速度データ
と前記速度検出データを比較するコンパレータと、前記
コンパレータの出力に応じてパルス信号を発生するU/
Dパルス発生回路と、前記パルス信号をカウントするア
ップダウンカウンタと、前記アップダウンカウンタのカ
ウント結果に基づいてデューティ比が定まる駆動パルス
を生成するPWM回路と、前記駆動パルスに基づいてス
イッチングトランジスタのスイッチング駆動をするプリ
ドライバと、前記サーボモータに電流を供給/非供給し
て前記サーボモータを駆動するスイッチングトランジス
タを有し、 前記速度検出部は、前記サーボモータの回転速度を検出
するエンコーダ回路を有し、 かつ前記パルス発生回路は、前記起動時間設定データに
基づいて前記パルス信号の周波数を決定することを特徴
とする請求項1記載の駆動回路。
2. The drive control unit includes a comparator that compares the target speed data with the speed detection data, and a U / U that generates a pulse signal according to the output of the comparator.
D pulse generation circuit, up-down counter that counts the pulse signal, PWM circuit that generates a drive pulse whose duty ratio is determined based on the count result of the up-down counter, and switching of a switching transistor based on the drive pulse It has a pre-driver for driving and a switching transistor for driving the servo motor by supplying / not supplying current to the servo motor, and the speed detecting unit has an encoder circuit for detecting the rotation speed of the servo motor. The drive circuit according to claim 1, wherein the pulse generation circuit determines the frequency of the pulse signal based on the start-up time setting data.
JP04076095A 1995-02-28 1995-02-28 Drive circuit Expired - Fee Related JP3263556B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP04076095A JP3263556B2 (en) 1995-02-28 1995-02-28 Drive circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04076095A JP3263556B2 (en) 1995-02-28 1995-02-28 Drive circuit

Publications (2)

Publication Number Publication Date
JPH08237976A true JPH08237976A (en) 1996-09-13
JP3263556B2 JP3263556B2 (en) 2002-03-04

Family

ID=12589586

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04076095A Expired - Fee Related JP3263556B2 (en) 1995-02-28 1995-02-28 Drive circuit

Country Status (1)

Country Link
JP (1) JP3263556B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8111476B2 (en) 2008-12-18 2012-02-07 Hitachi Global Storage Technologies, Netherlands B.V. Disk drive spin control

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7911168B2 (en) 2007-02-27 2011-03-22 Ricoh Company, Limited Method and device for controlling motor, and image forming apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8111476B2 (en) 2008-12-18 2012-02-07 Hitachi Global Storage Technologies, Netherlands B.V. Disk drive spin control

Also Published As

Publication number Publication date
JP3263556B2 (en) 2002-03-04

Similar Documents

Publication Publication Date Title
WO2005055410A1 (en) Dc motor drive device
US7141945B2 (en) Method and apparatus for controlling motor drive
US4720663A (en) Brushless motor speed control
JPS585600B2 (en) Step motor speed control method and device
JP2014042440A (en) Motor driving device and motor control method
JP3263556B2 (en) Drive circuit
EP1835615B1 (en) Motor speed control systems
JPH11178380A (en) Motor speed controller
JP3235742B2 (en) Motor control drive circuit
US7061193B2 (en) Motor drive apparatus
JPH08237984A (en) Drive circuit
JPH08237983A (en) Drive circuit
JP7311957B2 (en) DC motor drive circuit and electronic equipment using the same
JPH08214579A (en) Driving circuit
JP7012507B2 (en) DC motor drive circuit, drive method and electronic equipment using it
JP4067616B2 (en) Motor speed control device
JP3653929B2 (en) Step motor driving method and driving apparatus
JP6934394B2 (en) DC motor drive circuit, drive method and electronic equipment using it
JP2007336653A (en) Motor speed control circuit
JP2001045779A (en) Variable speed device
JP2002010689A (en) Pulse-motor control method
JP2003209990A (en) Motor speed controller
JPH0284092A (en) Speed controller for pulse width modulation type motor
WO2004077651A1 (en) Motor control device
JPS63154087A (en) Controller for motor

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081221

Year of fee payment: 7

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081221

Year of fee payment: 7

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091221

Year of fee payment: 8

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101221

Year of fee payment: 9

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101221

Year of fee payment: 9

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111221

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees