JPH08149882A - Motor controller - Google Patents

Motor controller

Info

Publication number
JPH08149882A
JPH08149882A JP6289756A JP28975694A JPH08149882A JP H08149882 A JPH08149882 A JP H08149882A JP 6289756 A JP6289756 A JP 6289756A JP 28975694 A JP28975694 A JP 28975694A JP H08149882 A JPH08149882 A JP H08149882A
Authority
JP
Japan
Prior art keywords
signal
motor
circuit
current
current 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
JP6289756A
Other languages
Japanese (ja)
Inventor
Hitoshi Ishimine
均 石嶺
Shigeki Haruyama
茂樹 晴山
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.)
Shibaura Mechatronics Corp
Original Assignee
Shibaura Engineering Works 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 Shibaura Engineering Works Co Ltd filed Critical Shibaura Engineering Works Co Ltd
Priority to JP6289756A priority Critical patent/JPH08149882A/en
Publication of JPH08149882A publication Critical patent/JPH08149882A/en
Pending legal-status Critical Current

Links

Landscapes

  • Inverter Devices (AREA)
  • Measurement Of Current Or Voltage (AREA)
  • Control Of Ac Motors In General (AREA)

Abstract

PURPOSE: To provide a motor controller capable of performing highly accurate rotation control with a simple configuration. CONSTITUTION: A current detector 26 is provided for a power supply line 23 from a three-phase inverter circuit 24, a current value signal Au of analog quantity of a drive current Iu is detected, and is converted to a current value signal Du of digital quantity by A/D circuit 29. In a control signal 30, an offset value Vos is corrected from a current value signal Du based on a speed command signal Sv corresponding to a predetermined rotating speed of a motor 22 and an offset value Vos stored in a memory 35, and a gate signal Sg is prepared and output to a logic circuit 31. The logic circuit 31 determines the duty ratios for turning ON/OF each transistor of each phase of U, V and W of an inverter circuit 24 and outputs them to the inverter circuit 24.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、モータの位置決め動作
及び回転速度を制御するモータの制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a motor control device for controlling motor positioning operation and rotation speed.

【0002】[0002]

【従来の技術】従来から、ACサーボモータの回転状態
を制御するに際して、モータに印加されている駆動電流
の電流値を電流検出器で検出し、検出されたアナログ量
の電流値をアナログ/デジタル変換回路でデジタル量に
変換し、得られたデジタル量の信号と、モータの所定の
回転速度を示す基準速度信号とに基づいて、モータが所
定の回転速度となるようにモータに印加される駆動電流
のデューティー比などを制御している。
2. Description of the Related Art Conventionally, when controlling the rotation state of an AC servo motor, a current value of a drive current applied to the motor is detected by a current detector, and the detected analog amount of current value is analog / digital. The drive that is applied to the motor so that it becomes a predetermined rotation speed based on the signal of the digital quantity obtained by the conversion circuit and the obtained digital quantity signal and the reference speed signal indicating the predetermined rotation speed of the motor. It controls the duty ratio of the current.

【0003】図4はモータの回転速度の制御動作を説明
する波形図であり、図5は従来技術のモータの制御装置
1の電気的構成を示すブロック図である。図4の波形図
は以下の従来技術の説明と実施例の説明とで共通に参照
される。また、図4には、例として駆動電流Iuの検出
値Auを示す。以下、図4および図5を参照して、制御
装置1の構成とモータの回転速度の制御動作について説
明する。図5に示されるように、制御装置1で回転状態
が制御されるモータ2は、例として三相ACサーボモー
タであり、制御装置1はモータ2に電源線3を介して三
相の駆動電流Iu、Iv、Iwをそれぞれ出力する上下
2段のトランジスタなどを含んで構成される周知のイン
バータ回路4を備えている。インバータ回路4には、交
流電源5が接続されている。電源線3には、電流検出器
6が備えられ、インバータ回路4から出力される駆動電
流Iuの図4に示されるアナログ量の電流値信号Auが
出力される。
FIG. 4 is a waveform diagram for explaining the control operation of the rotation speed of the motor, and FIG. 5 is a block diagram showing the electrical construction of a conventional motor control device 1. The waveform diagram of FIG. 4 is commonly referred to in the following description of the prior art and the description of the embodiments. Further, FIG. 4 shows the detected value Au of the drive current Iu as an example. Hereinafter, the configuration of the control device 1 and the control operation of the rotation speed of the motor will be described with reference to FIGS. 4 and 5. As shown in FIG. 5, the motor 2 whose rotation state is controlled by the control device 1 is, for example, a three-phase AC servomotor, and the control device 1 supplies three-phase drive current to the motor 2 via the power supply line 3. A well-known inverter circuit 4 including upper and lower two-stage transistors for outputting Iu, Iv, and Iw, respectively, is provided. An AC power supply 5 is connected to the inverter circuit 4. A current detector 6 is provided on the power supply line 3, and a current value signal Au of the analog amount of the drive current Iu output from the inverter circuit 4 shown in FIG. 4 is output.

【0004】出力されたアナログ量の電流値信号Auは
調整回路7によって信号レベルが後述するように調整さ
れ、バッファ8を介して、アナログ/デジタル変換回路
(以下、A/D回路)9によってデジタル量の電流値信
号Duに変換され、マイクロコンピュータなどで構成さ
れる制御回路10に入力される。調整回路7は、前記電
流値Auが入力される加算回路12と、該加算回路12
に更に直流レベルのオフセット電圧を供給する例として
スライド抵抗などの等価回路で構成されるオフセット電
圧供給部13とを含んで構成される。オフセット電圧供
給部13は、例として±VDDの間で連続的に変化する
電圧値の一つのレベルの電圧を前記加算回路12に供給
する。
The output current value signal Au of the analog amount is adjusted by the adjusting circuit 7 so that the signal level will be described later, and is passed through the buffer 8 to be digitalized by the analog / digital converting circuit (hereinafter, A / D circuit) 9. The converted current value signal Du is input to the control circuit 10 including a microcomputer. The adjusting circuit 7 includes an adding circuit 12 to which the current value Au is input, and the adding circuit 12
In addition, as an example of supplying a DC level offset voltage, an offset voltage supply unit 13 composed of an equivalent circuit such as a slide resistor is further included. The offset voltage supply unit 13 supplies the voltage of one level having a voltage value that continuously changes between ± VDD to the adding circuit 12, for example.

【0005】制御回路10では、別途入力されるモータ
2の所定の回転速度に対応する速度指令信号Svと、前
記入力された電流値信号Duとから、両者の偏差に相当
する直流レベルの制御信号を作成する。制御回路10
は、PWM回路などを用いて、別途発生される所定周期
の三角波信号と前記制御信号とに基づいてゲート信号S
gを作成し、論理回路11に出力する。論理回路11
は、前記インバータ回路4におけるU相、V相、および
W相に対応する各トランジスタをオン/オフするデュー
ティー比を定める制御信号を発生し、インバータ回路4
に出力する。
In the control circuit 10, a DC level control signal corresponding to a deviation between the speed command signal Sv corresponding to a predetermined rotation speed of the motor 2 and the input current value signal Du, which are separately input. To create. Control circuit 10
Is a gate signal S based on a triangular wave signal of a predetermined cycle and a control signal separately generated by using a PWM circuit or the like.
g is created and output to the logic circuit 11. Logic circuit 11
Generates a control signal that determines a duty ratio for turning on / off each transistor corresponding to the U-phase, V-phase, and W-phase in the inverter circuit 4, and the inverter circuit 4
Output to.

【0006】これにより、インバータ回路4の各トラン
ジスタは、前記制御信号に対応するデューティー比でオ
ン/オフされる。インバータ回路4の各トランジスタに
は交流電源5から電源電流が供給されており、各トラン
ジスタのオン/オフにより電源電流がこのデューティー
比でモータ2に出力される。このようにして、制御装置
1は、モータ2を前記所定の回転速度で回転駆動する。
As a result, each transistor of the inverter circuit 4 is turned on / off at a duty ratio corresponding to the control signal. A power supply current is supplied to each transistor of the inverter circuit 4 from an AC power supply 5, and the power supply current is output to the motor 2 with this duty ratio by turning on / off each transistor. In this way, the control device 1 rotationally drives the motor 2 at the predetermined rotation speed.

【0007】一方、前記電流検出器6から出力される検
出信号である電流値信号Auに直流レベル電圧であるオ
フセット成分が含まれる場合がある。具体的には、図4
に実線L1で示されるように、例として接地電圧に対し
て正負の各領域で対称な波形となるべき電流値信号Au
に対して、実際には破線L2で示されるように正負の各
領域で非対称な波形の電流値信号Auが得られる場合が
ある。このような実際の波形は、実線L1の波形に対し
て直流成分であるオフセット成分Vosを含んでいる。
このようなオフセット成分Vosを含んだままの電流値
信号Auなどを用いて上述したようなモータ2の速度制
御を行うと、前記三相の駆動電流Iu、Iv、Iwがア
ンバランスにモータ2に印加されることになり、モータ
2が大きい振動を発生するなどの不具合を生じることに
なる。このために、前記電流検出器6の前記オフセット
成分Vosを予め測定しておき、前記調整回路7で、オ
フセット成分Vosを相殺する直流電圧を印加するよう
にする。これにより、A/D回路9に入力される電流値
信号Auなどに前記オフセット成分Vosが含まれる事
態が防止される。
On the other hand, the current value signal Au which is a detection signal output from the current detector 6 may include an offset component which is a DC level voltage. Specifically, FIG.
As indicated by the solid line L1, the current value signal Au which should have a symmetrical waveform in each of the positive and negative regions with respect to the ground voltage, as an example.
On the other hand, actually, as shown by the broken line L2, the current value signal Au having an asymmetric waveform may be obtained in each of the positive and negative regions. Such an actual waveform includes an offset component Vos which is a DC component with respect to the waveform of the solid line L1.
When the speed control of the motor 2 as described above is performed using the current value signal Au or the like while including the offset component Vos, the three-phase drive currents Iu, Iv, and Iw are unbalanced to the motor 2. As a result, the motor 2 is applied, which causes a problem such as large vibration of the motor 2. To this end, the offset component Vos of the current detector 6 is measured in advance, and the adjustment circuit 7 applies a DC voltage that cancels the offset component Vos. This prevents the current value signal Au or the like input to the A / D circuit 9 from including the offset component Vos.

【0008】[0008]

【発明が解決しようとする課題】上述した従来技術の制
御装置1において、調整回路7を用いて上述したように
電流検出器6からのオフセット成分Vosを除去するよ
うにしている。この従来技術には、以下の問題点があ
る。まず、制御装置1に調整回路7が必要となり、制御
装置1の回路構成が大型化し複雑になる。また、調整回
路7を構成する各回路素子の特性の温度などの周囲の環
境の変化に速やかに対応することが困難になり、モータ
の回転制御の精度が低下する。
In the above-described conventional control device 1, the adjusting circuit 7 is used to remove the offset component Vos from the current detector 6 as described above. This conventional technique has the following problems. First, the controller 1 requires the adjusting circuit 7, and the circuit configuration of the controller 1 becomes large and complicated. In addition, it becomes difficult to promptly respond to changes in the surrounding environment such as the temperature of the characteristic of each circuit element forming the adjustment circuit 7, and the accuracy of rotation control of the motor decreases.

【0009】請求項1の発明は、上述の技術的課題を解
決するためになされたものであり、その目的は構成が簡
略化され、かつ高精度の回転制御が可能となるモータの
制御装置を提供することである。
The invention of claim 1 is to solve the above-mentioned technical problem, and its object is to provide a motor control device having a simplified structure and capable of highly accurate rotation control. Is to provide.

【0010】[0010]

【課題を解決するための手段】請求項1の発明のモータ
の制御装置は、モータに印加される駆動電流の電流値を
検出し、該電流値に基づいて駆動電流を制御して該モー
タに印加するモータの制御装置であって、入力される駆
動制御信号に基づいて該駆動電流を制御して出力するイ
ンバータ部と、該モータに印加される駆動電流の電流値
を検出して検出信号を出力する電流値検出手段と、該モ
ータに該駆動電流が印加されていない状態で該検出信号
から該検出信号の直流レベルのオフセット値を検出する
オフセット値判別手段と、該検出信号が入力され、該検
出信号から該オフセット値を除外した制御信号を作成し
て、該制御信号に基づいて該駆動制御信号を作成する信
号処理部とを備えており、そのことによって上記目的を
達成することができる。
According to a first aspect of the present invention, there is provided a motor control device which detects a current value of a drive current applied to the motor, controls the drive current based on the current value, and controls the motor. A control device for a motor to be applied, which controls an output of the drive current based on an input drive control signal and outputs the same, and a detection signal by detecting a current value of the drive current applied to the motor. An output current value detecting unit, an offset value determining unit that detects an offset value of a DC level of the detection signal from the detection signal in a state where the drive current is not applied to the motor, and the detection signal are input, A signal processing unit that creates a control signal that excludes the offset value from the detection signal and creates the drive control signal based on the control signal, thereby achieving the above object. That.

【0011】[0011]

【作用】請求項1の発明に従えば、モータに印加される
駆動電流の電流値は、電流値検出手段によって検出さ
れ、該電流値に対応する検出信号が出力される。また、
モータに駆動電流が印加されていない状態で、オフセッ
ト値判別手段によって前記検出信号からこの検出信号の
直流レベルのオフセット値が検出される。信号処理部に
は、前記検出信号と前記オフセット値とが入力され、検
出信号からオフセット値を除外した制御信号が作成さ
れ、この制御信号に基づいて駆動制御信号が作成され
る。作成された駆動制御信号はインバータ部に入力さ
れ、入力された駆動制御信号に基づいて駆動電流を制御
してモータに出力する。
According to the first aspect of the invention, the current value of the drive current applied to the motor is detected by the current value detecting means, and the detection signal corresponding to the current value is output. Also,
In the state where the drive current is not applied to the motor, the offset value determining means detects the DC level offset value of the detection signal from the detection signal. The detection signal and the offset value are input to the signal processing unit, a control signal in which the offset value is excluded from the detection signal is created, and a drive control signal is created based on this control signal. The created drive control signal is input to the inverter unit, which controls the drive current based on the input drive control signal and outputs it to the motor.

【0012】これにより、前記オフセット値を除外した
状態で、モータの制御を行うことができる。従って、モ
ータの制御装置に前記オフセット値を調整するための特
段の調整回路が不必要となり、制御装置の構成を小型
化、簡略化することができる。更に、調整回路を不必要
とする点から、この調整回路を構成する各回路素子の特
性が温度などの周囲の環境の変化に対応して変化する不
安定要因を含まないので、モータの回転制御を高精度に
行うことができる。
Thus, the motor can be controlled with the offset value excluded. Therefore, a special adjustment circuit for adjusting the offset value is not required in the motor control device, and the configuration of the control device can be downsized and simplified. Further, since the adjustment circuit is unnecessary, the characteristics of each circuit element forming the adjustment circuit do not include an instability factor that changes in response to changes in the surrounding environment such as temperature. Can be performed with high precision.

【0013】[0013]

【実施例】図1は本発明の一実施例のモータの制御装置
21の電気的構成を示すブロック図であり、図2は制御
装置21の制御部の構成例を示すブロック図である。以
下、本実施例の制御装置21の構成例を図1および図2
を参照して説明する。図1に示されるように、制御装置
21によって回転状態が制御されるモータ22は、本実
施例において例として三相ACサーボモータであるが、
本発明は他の種類のモータに対しても容易に実施される
ものである。制御装置21は、モータ22に電源線23
を介して三相の駆動電流Iu、Iv、Iwをそれぞれ出
力し、各相毎の上下2段のトランジスタなどを含んで構
成される周知のインバータ回路24を備えている。イン
バータ回路24には、交流電源25が接続されている。
インバータ回路24からの電源線23には、電流検出器
26が備えられ、インバータ回路24から出力される例
として駆動電流Iuのアナログ量の電流値信号Auが検
出される。
1 is a block diagram showing the electrical construction of a motor control device 21 according to an embodiment of the present invention, and FIG. 2 is a block diagram showing a configuration example of a control unit of the control device 21. Hereinafter, a configuration example of the control device 21 of the present embodiment will be described with reference to FIGS.
Will be described with reference to. As shown in FIG. 1, the motor 22 whose rotation state is controlled by the control device 21 is a three-phase AC servo motor as an example in the present embodiment.
The present invention can be easily implemented for other types of motors. The controller 21 connects the motor 22 with the power supply line 23.
It includes a well-known inverter circuit 24 configured to output three-phase drive currents Iu, Iv, and Iw, respectively, via an input / output circuit, and to include upper and lower two-stage transistors for each phase. An AC power supply 25 is connected to the inverter circuit 24.
A current detector 26 is provided on the power supply line 23 from the inverter circuit 24, and as an example output from the inverter circuit 24, a current value signal Au of an analog amount of the drive current Iu is detected.

【0014】検出されたアナログ量の電流値信号信号A
uは、バッファ28を介してA/D回路29によってデ
ジタル量の電流値信号Duに変換される。電流値信号D
uは、マイクロコンピュータなどで構成される制御回路
30に入力される。制御回路30では、別途入力される
モータ22の所定の回転速度に対応する速度指令信号S
vと、前記入力された電流値信号Duとから、両者の偏
差に相当する直流レベルの制御信号を作成する。制御回
路30は、PWM回路などを用いて、別途発生される所
定周期の三角波信号と前記制御信号とに基づいてゲート
信号Sgを作成し、論理回路31に出力する。論理回路
31は、前記インバータ回路24におけるU相、V相、
およびW相に対応する各トランジスタをオン/オフする
デューティー比を定める制御信号を発生し、インバータ
回路24に出力する。
Current value signal signal A of the detected analog quantity
u is converted into a digital value current value signal Du by the A / D circuit 29 via the buffer 28. Current value signal D
u is input to the control circuit 30 including a microcomputer or the like. In the control circuit 30, the speed command signal S corresponding to a predetermined rotation speed of the motor 22 that is separately input is input.
From v and the input current value signal Du, a DC level control signal corresponding to the deviation between the two is generated. The control circuit 30 uses a PWM circuit or the like to generate a gate signal Sg based on the separately generated triangular wave signal of a predetermined cycle and the control signal, and outputs the gate signal Sg to the logic circuit 31. The logic circuit 31 includes a U phase, a V phase, and
And a control signal that determines the duty ratio for turning on / off each transistor corresponding to the W phase is generated and output to the inverter circuit 24.

【0015】これにより、インバータ回路24の各トラ
ンジスタは、前記制御信号に対応するデューティー比で
オン/オフされる。インバータ回路24の各トランジス
タには交流電源25から電源電流が供給されており、各
トランジスタのオン/オフにより電源電流がこのデュー
ティー比でモータ22に出力される。このようにして、
制御装置21は、モータ22を前記所定の回転速度で回
転駆動する。
As a result, each transistor of the inverter circuit 24 is turned on / off at the duty ratio corresponding to the control signal. A power supply current is supplied to each transistor of the inverter circuit 24 from an AC power supply 25, and the power supply current is output to the motor 22 with this duty ratio by turning on / off each transistor. In this way,
The control device 21 rotationally drives the motor 22 at the predetermined rotation speed.

【0016】一方、前記電流検出器26から出力される
検出信号である電流値信号Auに直流レベル電圧である
オフセット成分が含まれる場合がある。本実施例では、
このようなオフセット成分に対して、前記制御回路30
において後述する信号処理を行い、前記オフセット成分
を除外した状態でのモータ22の回転制御を行うように
する。
On the other hand, the current value signal Au which is a detection signal output from the current detector 26 may include an offset component which is a DC level voltage. In this embodiment,
For such an offset component, the control circuit 30
The signal processing described later is performed to control the rotation of the motor 22 in a state where the offset component is excluded.

【0017】制御回路30には、オフセット値検出回路
34とメモリ35とが備えられている。オフセット値検
出回路34は、後述するようにモータ22に駆動電流I
u、Iv、Iwが印加されていない状態で、電流検出器
26からの検出信号Auの信号レベルを検出し、この信
号レベルを電流検出器26のオフセット値Vosとして
メモリ35に記憶させる。
The control circuit 30 is provided with an offset value detection circuit 34 and a memory 35. The offset value detection circuit 34 supplies the drive current I to the motor 22 as described later.
The signal level of the detection signal Au from the current detector 26 is detected while u, Iv, and Iw are not applied, and this signal level is stored in the memory 35 as the offset value Vos of the current detector 26.

【0018】一方、制御回路30は図2に示されるよう
に、電流検出器26からの前記電流値信号Duが入力さ
れる電流値演算部32と、PWM回路33とを備えてい
る。電流値演算部32は、別途入力されるモータ22の
所定の回転速度に対応する速度指令信号Svと、電流検
出器26から入力された電流値信号Duと、前記メモリ
35に記憶されている電流検出器26のオフセット値V
osとに基づいて、後述するように電流値信号Duを補
正し、また補正された電流値信号Duと速度指令信号S
vとの偏差に相当する直流レベルの制御信号を、PWM
回路33に入力する。PWM回路33では、別途発生さ
れる所定周期の三角波と前記電流値演算部32からの制
御信号とに基づいて、ゲート信号Sgを作成し、前記論
理回路31に出力する。論理回路31は、前記インバー
タ回路24におけるU相、V相、およびW相に対応する
各トランジスタをオン/オフするデューティー比を定め
る制御信号を発生し、インバータ回路24に出力する。
これにより、インバータ回路24の各トランジスタは、
前記制御信号に対応するデューティー比でオン/オフさ
れる。インバータ回路24の各トランジスタには交流電
源25から電源電流が供給されており、各トランジスタ
のオン/オフにより電源電流がこのデューティー比でモ
ータ22に出力される。
On the other hand, as shown in FIG. 2, the control circuit 30 comprises a current value calculator 32 to which the current value signal Du from the current detector 26 is input, and a PWM circuit 33. The current value calculator 32 receives the speed command signal Sv corresponding to a predetermined rotation speed of the motor 22, which is separately input, the current value signal Du input from the current detector 26, and the current stored in the memory 35. Offset value V of detector 26
Based on os, the current value signal Du is corrected as described later, and the corrected current value signal Du and the speed command signal S are corrected.
The control signal of DC level corresponding to the deviation from v is PWM
Input to the circuit 33. The PWM circuit 33 creates a gate signal Sg based on a separately generated triangular wave of a predetermined cycle and a control signal from the current value calculator 32, and outputs the gate signal Sg to the logic circuit 31. The logic circuit 31 generates a control signal that determines a duty ratio for turning on / off each transistor corresponding to the U phase, the V phase, and the W phase in the inverter circuit 24, and outputs the control signal to the inverter circuit 24.
As a result, each transistor of the inverter circuit 24
It is turned on / off at a duty ratio corresponding to the control signal. A power supply current is supplied to each transistor of the inverter circuit 24 from an AC power supply 25, and the power supply current is output to the motor 22 with this duty ratio by turning on / off each transistor.

【0019】図3は本実施例の制御装置21の動作を説
明するフローチャートであり、図4は制御装置21の動
作を説明する波形図である。以下、本実施例の制御装置
21の動作を図1〜図4を参照して説明する。図3のス
テップa1では、モータ22への駆動電流Iu、Iv、
Iwの印加が遮断され、モータ22が停止される。ステ
ップa2では、前記オフセット値検出部34が電流検出
器26からの電流地信号Auを検出し、ステップa3で
はその信号レベルを電流検出器26のオフセット値Vo
sとしてメモリ35に記憶する。このオフセット値Vo
sは当然に例として接地電位である場合もある。
FIG. 3 is a flow chart for explaining the operation of the control device 21 of this embodiment, and FIG. 4 is a waveform diagram for explaining the operation of the control device 21. The operation of the control device 21 of this embodiment will be described below with reference to FIGS. In step a1 of FIG. 3, drive currents Iu, Iv to the motor 22
The application of Iw is cut off, and the motor 22 is stopped. In step a2, the offset value detection unit 34 detects the current ground signal Au from the current detector 26, and in step a3, the signal level is set to the offset value Vo of the current detector 26.
It is stored in the memory 35 as s. This offset value Vo
Of course, s may be the ground potential as an example.

【0020】ステップa4では、モータ22へ駆動電流
Iu、Iv、Iwが印加され、モータ22が起動され
る。このとき、電流検出器26は、インバータ回路26
からモータ22に印加される前記駆動電流Iu、Iv、
Iwの例として駆動電流Iuを検出し、電流値信号Au
を出力する。ステップa5では、電流値信号Auは制御
装置21の前記電流値演算部32に入力され検出され
る。ステップa6において、電流値演算部32では、外
部のコントローラなどから入力されるモータ22の所定
の回転速度に対応する速度指令信号Svと、前記A/D
回路29から入力された電流値信号Duと、前記メモリ
35に記憶されているオフセット値Vosとに基づい
て、電流値信号Duからオフセット値Vosを減算で補
正する。この減算によって、オフセット値Duの信号レ
ベルの正負に対応して電流値信号Duが増大する場合も
減少する場合もある。電流値演算部32は、この補正さ
れた電流値信号Duと速度指令信号Svとの偏差に相当
する直流レベルの制御信号を作成し、PWM回路33に
入力する。
At step a4, the drive currents Iu, Iv, Iw are applied to the motor 22, and the motor 22 is started. At this time, the current detector 26 operates in the inverter circuit 26.
Drive currents Iu, Iv applied to the motor 22 from
The drive current Iu is detected as an example of Iw, and the current value signal Au is detected.
Is output. In step a5, the current value signal Au is input to and detected by the current value calculator 32 of the control device 21. In step a6, the current value calculator 32 receives the speed command signal Sv corresponding to a predetermined rotation speed of the motor 22 input from an external controller and the A / D value.
The offset value Vos is corrected by subtraction from the current value signal Du based on the current value signal Du input from the circuit 29 and the offset value Vos stored in the memory 35. By this subtraction, the current value signal Du may increase or decrease depending on whether the signal level of the offset value Du is positive or negative. The current value calculator 32 creates a DC level control signal corresponding to the deviation between the corrected current value signal Du and the speed command signal Sv, and inputs it to the PWM circuit 33.

【0021】ステップa7では、PWM回路33では、
別途発生される所定周期の三角波と前記電流値演算部3
2からの制御信号とに基づいてゲート信号Sgを作成
し、前記論理回路31に出力する。論理回路31は、前
記インバータ回路24におけるU相、V相、およびW相
に対応する各トランジスタをオン/オフするデューティ
ー比を定める制御信号を発生し、インバータ回路24に
出力する。これにより、インバータ回路24の各トラン
ジスタは、前記制御信号に対応するデューティー比でオ
ン/オフされる。インバータ回路24の各トランジスタ
には交流電源25から電源電流が供給されており、ステ
ップa8では、各トランジスタのオン/オフにより電源
電流がこのデューティー比でモータ22に駆動電流I
u、Iv、Iwとして出力される。
In step a7, in the PWM circuit 33,
A triangular wave of a predetermined cycle generated separately and the current value calculation unit 3
The gate signal Sg is generated based on the control signal from the control circuit 2 and is output to the logic circuit 31. The logic circuit 31 generates a control signal that determines a duty ratio for turning on / off each transistor corresponding to the U phase, the V phase, and the W phase in the inverter circuit 24, and outputs the control signal to the inverter circuit 24. As a result, each transistor of the inverter circuit 24 is turned on / off at the duty ratio corresponding to the control signal. A power supply current is supplied to each transistor of the inverter circuit 24 from the AC power supply 25. In step a8, the power supply current is supplied to the motor 22 at this duty ratio by turning on / off each transistor.
It is output as u, Iv, and Iw.

【0022】このようにして、本実施例の制御装置21
では、前記電流検出器26からの電流値信号Au、Du
におけるオフセット値Vosを取り除いた状態で、モー
タ22の制御を行うことができる。従って、モータ22
の制御装置21に前記オフセット値Vosを調整するた
めの従来技術の項で説明した調整回路などの特段の調整
回路が不必要となり、制御装置21の構成を小型化、簡
略化することができる。更に、本実施例において前記調
整回路を不必要とする点から、本実施例の制御装置21
には、この調整回路を構成する各回路素子の特性が温度
などの周囲の環境の変化に対応して変化する不安定要因
が含まれないので、モータ22の回転制御を高精度に行
うことができる。
In this way, the control device 21 of this embodiment is
Then, the current value signals Au, Du from the current detector 26
The motor 22 can be controlled with the offset value Vos in FIG. Therefore, the motor 22
The control device 21 does not require a special adjustment circuit such as the adjustment circuit described in the section of the prior art for adjusting the offset value Vos, and the configuration of the control device 21 can be downsized and simplified. Further, in the present embodiment, since the adjusting circuit is unnecessary, the control device 21 of the present embodiment is provided.
Does not include an instability factor in which the characteristics of each circuit element forming the adjustment circuit changes in response to changes in the surrounding environment such as temperature, so that the rotation control of the motor 22 can be performed with high accuracy. it can.

【0023】[0023]

【発明の効果】以上のように請求項1の発明に従えば、
モータに駆動電流が印加されていない状態で、オフセッ
ト値判別手段によって前記検出信号の直流レベルのオフ
セット値が検出され、検出信号からオフセット値を除外
した制御信号が作成されるようにした。この制御信号に
基づいて駆動制御信号が作成され、入力された駆動制御
信号に基づいてインバータ部は駆動電流を制御してモー
タに出力する。これにより、前記オフセット値を除外し
た状態で、モータの制御を行うことができる。従って、
モータの制御装置に前記オフセット値を調整するための
特段の調整回路が不必要となり、制御装置の構成を小型
化、簡略化することができる。更に、調整回路を不必要
とする点から、この調整回路を構成する各回路素子の特
性が温度などの周囲の環境の変化に対応して変化する不
安定要因を含まないので、モータの回転制御を高精度に
行うことができる。
As described above, according to the invention of claim 1,
The offset value discriminating means detects the DC level offset value of the detection signal in a state in which the drive current is not applied to the motor, and a control signal in which the offset value is excluded from the detection signal is generated. A drive control signal is created based on this control signal, and the inverter unit controls the drive current based on the input drive control signal and outputs it to the motor. As a result, the motor can be controlled with the offset value excluded. Therefore,
A special adjustment circuit for adjusting the offset value is not required in the motor control device, and the configuration of the control device can be miniaturized and simplified. Further, since the adjustment circuit is unnecessary, the characteristics of each circuit element forming the adjustment circuit do not include an instability factor that changes in response to changes in the surrounding environment such as temperature. Can be performed with high precision.

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

【図1】本発明の一実施例のモータの制御装置21の電
気的構成を示すブロック図である。
FIG. 1 is a block diagram showing an electrical configuration of a motor control device 21 according to an embodiment of the present invention.

【図2】制御装置21の制御回路30のブロック図であ
る。
2 is a block diagram of a control circuit 30 of the control device 21. FIG.

【図3】本実施例の動作を説明するフローチャートであ
る。
FIG. 3 is a flowchart illustrating the operation of this embodiment.

【図4】モータの駆動状態を説明する波形図である。FIG. 4 is a waveform diagram illustrating a driving state of a motor.

【図5】従来技術のモータの制御装置1の電気的構成を
示すブロック図である。
FIG. 5 is a block diagram showing an electrical configuration of a conventional motor control device 1.

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

21 制御装置 22 モータ 23 電源線 24 インバータ回路 26 電流検出器 29 A/D回路 30 制御回路 32 電流値演算部 33 PWM回路 34 オフセット値検出部 35 メモリ Au、Aw アナログ量の電流値信号 Du、Dw デジタル量の電流値信号 Iu、Iv、Iw 駆動電流 21 Control Device 22 Motor 23 Power Supply Line 24 Inverter Circuit 26 Current Detector 29 A / D Circuit 30 Control Circuit 32 Current Value Calculation Unit 33 PWM Circuit 34 Offset Value Detection Unit 35 Memory Au, Aw Analog Value Current Value Signals Du, Dw Digital value current value signal Iu, Iv, Iw Drive current

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】モータに印加される駆動電流の電流値を検
出し、該電流値に基づいて駆動電流を制御して該モータ
に印加するモータの制御装置であって、 入力される駆動制御信号に基づいて該駆動電流を制御し
て出力するインバータ部と、 該モータに印加される駆動電流の電流値を検出して検出
信号を出力する電流値検出手段と、 該モータに該駆動電流が印加されていない状態で、該検
出信号から該検出信号の直流レベルのオフセット値を検
出するオフセット値判別手段と、 該検出信号が入力され、該検出信号から該オフセット値
を除外した制御信号を作成して、該制御信号に基づいて
該駆動制御信号を作成する信号処理部とを備えるモータ
の制御装置。
1. A motor control device for detecting a current value of a drive current applied to a motor, controlling the drive current based on the current value, and applying the drive current to the motor, the drive control signal being input. An inverter unit that controls and outputs the drive current based on the drive current, a current value detection unit that detects a current value of the drive current applied to the motor and outputs a detection signal, and the drive current is applied to the motor. An offset value discriminating means for detecting the offset value of the DC level of the detection signal from the detection signal, and a control signal to which the detection signal is input and the offset value is excluded from the detection signal. And a signal processing unit that creates the drive control signal based on the control signal.
JP6289756A 1994-11-24 1994-11-24 Motor controller Pending JPH08149882A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6289756A JPH08149882A (en) 1994-11-24 1994-11-24 Motor controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6289756A JPH08149882A (en) 1994-11-24 1994-11-24 Motor controller

Publications (1)

Publication Number Publication Date
JPH08149882A true JPH08149882A (en) 1996-06-07

Family

ID=17747355

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6289756A Pending JPH08149882A (en) 1994-11-24 1994-11-24 Motor controller

Country Status (1)

Country Link
JP (1) JPH08149882A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001080416A1 (en) 2000-04-18 2001-10-25 Toyota Jidosha Kabushiki Kaisha Motor controller
EP2579447A2 (en) 2011-10-07 2013-04-10 Aisin Seiki Kabushiki Kaisha Control device and control method of alternating current motor
JP2017046492A (en) * 2015-08-27 2017-03-02 ファナック株式会社 Motor drive device having function for detecting failure of shunt

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001080416A1 (en) 2000-04-18 2001-10-25 Toyota Jidosha Kabushiki Kaisha Motor controller
US7772797B2 (en) 2000-04-18 2010-08-10 Toyota Jidosha Kabushiki Kaisha Motor controller
EP2579447A2 (en) 2011-10-07 2013-04-10 Aisin Seiki Kabushiki Kaisha Control device and control method of alternating current motor
JP2013085372A (en) * 2011-10-07 2013-05-09 Aisin Seiki Co Ltd Control device and control method of ac motor
JP2017046492A (en) * 2015-08-27 2017-03-02 ファナック株式会社 Motor drive device having function for detecting failure of shunt
CN106487319A (en) * 2015-08-27 2017-03-08 发那科株式会社 Motor drive
US9899954B2 (en) 2015-08-27 2018-02-20 Fanuc Corporation Motor drive apparatus having function of detecting failure of electric shunt
CN106487319B (en) * 2015-08-27 2019-09-24 发那科株式会社 Motor drive

Similar Documents

Publication Publication Date Title
EP0538387B1 (en) Digital motor controller
JPH0746855A (en) Two phase pwm controller for inverter
JP3565236B2 (en) Motor control device and switching method thereof
JPH08149882A (en) Motor controller
JP3354633B2 (en) Stepping motor drive
JPH10132861A (en) Current detector of ac servo driver
JPH09261974A (en) Control equipment of inverter
JP2676058B2 (en) Motor drive circuit
JP3499666B2 (en) AC motor control device
JP2001008480A (en) Speed controller for motor
WO2022030167A1 (en) Control circuit for power converter
JPH06351264A (en) Current control system for ac motor
JP3322069B2 (en) PWM control circuit of neutral point clamp type inverter
JP3062900B2 (en) Inverter control device
JPH06296390A (en) Controlling method of 120-degree electrification type brushless motor
JPH0630593A (en) Torque control device of dc machine
JP2005204404A (en) Motor drive
JP3274903B2 (en) Current control method of brushless motor
JPH0340589B2 (en)
KR0132028B1 (en) Apparatus for controlling torque for dc machine
JPH0630573A (en) Motor controlling circuit and motor system using this circuit
JPS633679A (en) Inverter apparatus
JPH06225581A (en) Controlling method for ac motor
JPH08223988A (en) Motor controller
JPH01243865A (en) Pwm control inverter

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040226

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040309

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040713