JPH1042592A - Motor controller - Google Patents

Motor controller

Info

Publication number
JPH1042592A
JPH1042592A JP8190213A JP19021396A JPH1042592A JP H1042592 A JPH1042592 A JP H1042592A JP 8190213 A JP8190213 A JP 8190213A JP 19021396 A JP19021396 A JP 19021396A JP H1042592 A JPH1042592 A JP H1042592A
Authority
JP
Japan
Prior art keywords
data
converter
motor
motors
output
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.)
Withdrawn
Application number
JP8190213A
Other languages
Japanese (ja)
Inventor
Toyonori Yamashita
豊誠 山下
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.)
Shimadzu Corp
Original Assignee
Shimadzu Corp
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 Shimadzu Corp filed Critical Shimadzu Corp
Priority to JP8190213A priority Critical patent/JPH1042592A/en
Publication of JPH1042592A publication Critical patent/JPH1042592A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To control a plurality of motors with a single digital signal processor(DSP). SOLUTION: The data from a plurality of motors 1-1 ,..., 1-4 are taken in a multiplexer 2 with individual channels. One channel signal is addressed to be selected, converted into a digital signal with an A/D converter 3, and taken in DSP4 for a prescribed control processing operation. The prcessed result is inputted in a demultiplexer 8 through a D/A converter 7, to outputs signal to the corresponding motor from the output channel addressed by the DSP4.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、ヘリコプターの
アクチュエータや、NCマシンの軸制御等に用いられる
モータのコントローラに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a helicopter actuator and a motor controller used for axis control of an NC machine.

【0002】[0002]

【従来の技術】従来、ヘリコプターのアクチュエータ
(例えば、ブレード〔羽〕のピッチ〔傾き〕を調整する
ためのアクチュエータ)やNCマシンの自由制御用には
複数のモータが使用され、これら複数のモータはそれぞ
れ個別のコントローラが使用されていた。また、従来の
コントローラは、制御演算に固定小数点演算を採用して
いた。
2. Description of the Related Art Conventionally, a plurality of motors are used for helicopter actuators (for example, actuators for adjusting the pitch [tilt] of blades) and for free control of NC machines. Each used a separate controller. Further, the conventional controller employs fixed-point arithmetic for control arithmetic.

【0003】[0003]

【発明が解決しようとする課題】上記したように、従来
のヘリコプターのアクチュエータ等のモータコントロー
ラは、1つのモータに1つのコントローラ、すなわちD
SP(デジタルシグナルプロセッサ)またはCPUが必
要であり、そのために、複数のモータを総合的に制御す
ることは、困難であった。
As described above, a conventional motor controller such as an actuator of a helicopter has one controller for one motor, that is, a D controller.
An SP (Digital Signal Processor) or a CPU is required, which makes it difficult to comprehensively control a plurality of motors.

【0004】この発明は上記問題点に着目してなされた
ものであって、1つのDSPで複数のモータを制御し得
るモータコントローラを提供することを目的としてい
る。
The present invention has been made in view of the above problems, and has as its object to provide a motor controller capable of controlling a plurality of motors with one DSP.

【0005】[0005]

【課題を解決するための手段】この発明のモータコント
ローラは、上記課題を解決するために、複数個のモータ
と、これらのモータからのデータを受け、データの1つ
を順次に選択して出力するマルチプレクサと、このマル
チプレクサからのデータをデジタル信号に変換するA/
D変換器と、このA/D変換器よりのデジタルデータを
取込み、所定の演算を実行するデジタルシグナルプロセ
ッサと、このデジタルシグナルプロセッサから出力され
るデータをアナログ信号に変換するD/A変換器と、こ
のD/A変換器のアナログデータを受け、複数の出力チ
ャンネルのうち選択されたチャンネルより出力して対応
する前記モータに与えるデマルチプレクサと、を備えて
いる。
In order to solve the above-mentioned problems, a motor controller according to the present invention receives a plurality of motors, data from these motors, sequentially selects one of the data and outputs the data. And an A / A for converting data from the multiplexer into a digital signal.
A D converter, a digital signal processor that takes in digital data from the A / D converter and executes a predetermined operation, and a D / A converter that converts data output from the digital signal processor into an analog signal. And a demultiplexer that receives the analog data of the D / A converter, outputs the data from a selected channel among a plurality of output channels, and provides the output to the corresponding motor.

【0006】このモータコントローラでは、複数のモー
タよりのデータがマルチプレクサで時間順次に、時分割
的に選択され、A/D変換器でデジタル信号に変換され
て、DSP(デジタルシグナルプロセッサ)に取込ま
れ、DSPにて各モータに関する演算及び総合的な演算
がなされて、各モータあてのデータが時間順次に出力さ
れて、D/A変換器でアナログ信号に変換され、さらに
デマルチプレクサで、各モータあて個別のチャンネル選
択がなされ、その選択チャンネルに対応したモータに、
データが順次与えられる。
In this motor controller, data from a plurality of motors is selected in a time-division manner by a multiplexer in a time-sequential manner, is converted into a digital signal by an A / D converter, and is taken into a DSP (digital signal processor). In rare cases, the DSP performs calculations and comprehensive calculations on each motor, outputs data addressed to each motor in a time-sequential manner, converts the data into analog signals with a D / A converter, and further converts each motor with a demultiplexer. An individual channel selection is made, and the motor corresponding to the selected channel is
Data is provided sequentially.

【0007】[0007]

【発明の実施の形態】以下、実施の形態により、この発
明をさらに詳細に説明する。図1は、この発明の一実施
形態モータコントローラの回路構成を示すブロック図で
ある。このモータコントローラは、4個のモータ1-1
-2、1-3、1-4と、これらモータ1-1、…、1-4から
の個別データを時間順次に選択して、1つのデータを順
次に選択出力するマルチプレクサ2と、このマルチプレ
クサ2からのアナログデータをデジタル信号に変換する
A/D変換器3と、このデジタル信号を取込み、各デー
タ毎に、及び総合的に所定の制御演算を行い、演算結果
に応じた各モータへのデジタルデータを出力するDSP
4と、DSP4が実行する制御演算プログラムを予め記
憶するROM5と、制御演算のためのデータを記憶する
RAM6と、DSP4から出力されるデジタルデータを
アナログ信号に変換するD/A変換器7と、D/A変換
器7からのアナログデータを時間順次に、そのデータに
対応するモータへの出力チャンネルを選択して、各モー
タ1-1、1-2、…、1-4にアナログデータを与えるデマ
ルチプレクサ8を備えている。他に電源9、リセットス
イッチ10及び割込み部11を備えている。なお、図1
において、Dはデータを、Aはアドレスを示している。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be described in more detail with reference to embodiments. FIG. 1 is a block diagram showing a circuit configuration of a motor controller according to one embodiment of the present invention. This motor controller has four motors 1-1 ,
1 -2, 1 -3, 1 -4, the motors 1 -1, ..., select individual data from 1 -4 times successively, a multiplexer 2 which sequentially selects and outputs one data, the An A / D converter 3 for converting analog data from the multiplexer 2 into a digital signal; taking in the digital signal; performing a predetermined control operation for each data and comprehensively; DSP that outputs digital data
4, a ROM 5 for storing in advance a control calculation program executed by the DSP 4, a RAM 6 for storing data for control calculation, and a D / A converter 7 for converting digital data output from the DSP 4 into an analog signal. analog data time sequentially a from D / a converter 7, and selects the output channel to the motor corresponding to the data, the motors 1 -1, 1 -2, ..., provide analog data into 1 -4 A demultiplexer 8 is provided. In addition, a power supply 9, a reset switch 10, and an interrupt unit 11 are provided. FIG.
, D indicates data and A indicates an address.

【0008】次に、この実施形態モータコントローラの
動作を図2に示すフロー図を参照して説明する。先ず、
最初に初期化ルーチンでRAM6の初期化、A/D変換
器3及びD/A変換器7の初期化を行う。また、マルチ
プレクサ2、デマルチプレクサ8のチャンネル選択用の
アドレスを設定する(ステップST1)。次に、DSP
4よりのアドレス指定により、マルチプレクサ2におけ
る入力チャンネルを選択し、指定のモータ(例えばモー
タ1-1)から信号を受ける(ステップST2)。この信
号はA/D変換器3でデジタルデータに変換されて、D
SP4に入力される(ステップST4)。ここで各モー
タから取り出す信号は、モータの変位、アクチュエータ
の変位等である。入力信号に対し、所定の処理、つまり
制御演算を行い、各モータ毎に処理結果に応じたデータ
をデジタルで出力する(ステップST5)。また、DS
P4からはこの出力してゆくデータがどのモータに対す
るものであるかに応じて、デマルチプレクサ8の出力チ
ャンネルの1つを選択するアドレスを指定する(ステッ
プST6)。D/A変換器7よりデマルチプレクサ8に
与えられたアナログ信号は選択されたチャンネルを経
て、対応するモータに出力される(ステップST7)。
ここでモータに与えられる信号は、モータの移動量(変
化の変化量)、モータの位置(変位)等である。
Next, the operation of the motor controller according to this embodiment will be described with reference to a flowchart shown in FIG. First,
First, the initialization routine initializes the RAM 6 and the A / D converter 3 and the D / A converter 7. Also, an address for channel selection of the multiplexer 2 and the demultiplexer 8 is set (step ST1). Next, the DSP
By addressing than 4, and select the input channel in the multiplexer 2, receives a signal from a specified motor (for example, a motor 1 -1) (step ST2). This signal is converted into digital data by the A / D converter 3 and
It is input to SP4 (step ST4). Here, the signals extracted from each motor are the displacement of the motor, the displacement of the actuator, and the like. A predetermined process, that is, a control operation is performed on the input signal, and data corresponding to the process result is digitally output for each motor (step ST5). Also, DS
From P4, an address for selecting one of the output channels of the demultiplexer 8 is designated in accordance with which motor this output data is for (step ST6). The analog signal supplied from the D / A converter 7 to the demultiplexer 8 is output to the corresponding motor via the selected channel (step ST7).
Here, the signal given to the motor is a movement amount (change amount of change) of the motor, a position (displacement) of the motor, and the like.

【0009】以上のステップST3〜ステップST7の
処理は、常時的に繰り返されるが、DSPに割込みが入
った場合は、ステップST7におけるデータの出力後、
その割込み処理を実行することになる(ステップST
8)。ステップST5における制御処理は、種々のもの
があるが、その一例について説明する。ROM5に記憶
されるプログラム中の1つのコマンドが、出力を所定値
とするものあり、入力と出力とを比較することにより出
力の安定化を行うものである場合は、図3に示すよう
に、DSP4での今回の処理結果をモータ1-iに入力
し、そのモータ1-iの出力をフィードバックして、入力
と出力の偏差を求め、偏差が0となるように制御するも
のである。
The above steps ST3 to ST7 are constantly repeated. However, when an interrupt occurs in the DSP, after the data is output in step ST7,
The interrupt process is executed (step ST
8). There are various control processes in step ST5, and an example will be described. When one command in the program stored in the ROM 5 has a predetermined output value and stabilizes the output by comparing the input and the output, as shown in FIG. the present process results in DSP4 input to the motor 1 -i, by feeding back the output of the motor 1 -i, prompts and output deviation, and controls so that the difference becomes zero.

【0010】また、ステップST5の制御処理の他の例
として、図4に示すように、複数のモータ1-1、1-2
-3、…の出力をフィードバックして、図3の場合と同
様の制御を行うほか、さらに各モータ1-1、1-2
-3、…の出力を、故障診断部(プログラム上のルーチ
ン)13に取込み、各出力をそれぞれ比較することによ
り、故障診断を行うものである。
As another example of the control process in step ST5, as shown in FIG. 4, a plurality of motors 1-1 , 1-2 ,.
1 -3, by feeding back the ... output, in addition to performing the same control as in FIG. 3, and each motor 1 -1, 1 -2,
1 -3, ... The output of the fault diagnosis unit (routines in the program) 13 incorporated into, by the output compare respectively, and performs fault diagnosis.

【0011】また、制御演算には浮動小数点演算方式を
採用している。浮動小数点演算方式のCPU、DSPは
1ワードあたりのビット数が多いので、一命令で指定で
きるオペランドの数が増える。そのため処理量が増し、
また、数値自体のビット数も多いので、精度を上げた計
算ができる。なお、本発明は、例えば4軸NCマシンで
あって、x、y、z、r軸の4つのモータを同時に制御
する装置にも適用できる。また、1つの駆動機器を複数
のモータで駆動することにより、1つのモータが故障し
ても、それを検知して他のモータで補う装置にも適用で
きる。
The control operation employs a floating point operation method. Since the number of bits per word is large in the floating-point arithmetic CPU and DSP, the number of operands that can be specified by one instruction increases. Therefore, the processing amount increases,
Further, since the number of bits of the numerical value itself is large, it is possible to perform calculation with higher accuracy. Note that the present invention can be applied to, for example, a four-axis NC machine that simultaneously controls four motors of x, y, z, and r axes. In addition, by driving one driving device with a plurality of motors, even if one motor breaks down, it can be applied to a device that detects the failure and supplements it with another motor.

【0012】[0012]

【発明の効果】この発明によれば、複数のモータを制御
するのに1つのDSPを用いて処理しているので、総合
的なシステムの開発が容易となる。その上、複数のモー
タを比較しながら故障を診断、検知できるので、システ
ムの保安性を高めることができる。
According to the present invention, since a single DSP is used to control a plurality of motors, the development of a comprehensive system is facilitated. In addition, failures can be diagnosed and detected while comparing a plurality of motors, so that the security of the system can be improved.

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

【図1】この発明の一実施形態モータコントローラの回
路構成を示すブロック図である。
FIG. 1 is a block diagram showing a circuit configuration of a motor controller according to an embodiment of the present invention.

【図2】同実施形態モータコントローラの動作を説明す
るためのフロー図である。
FIG. 2 is a flowchart for explaining the operation of the motor controller of the embodiment.

【図3】同実施形態モータコントローラの制御処理の具
体例を説明する図である。
FIG. 3 is a diagram illustrating a specific example of control processing of the motor controller according to the embodiment.

【図4】同実施形態モータコントローラの制御処理の他
の具体例を説明する図である。
FIG. 4 is a diagram illustrating another specific example of the control processing of the motor controller according to the embodiment.

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

-1、…、1-4 モータ 2 マルチプレクサ 3 A/D変換器 4 DSP 7 D/A変換器 8 デマルチプレクサ1 -1, ..., 1 -4 motor 2 multiplexer 3 A / D converter 4 DSP 7 D / A converter 8 demultiplexer

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】複数個のモータと、 これらのモータからのデータを受け、データの1つを順
次に選択して出力するマルチプレクサと、 このマルチプレクサからのデータをデジタル信号に変換
するA/D変換器と、 このA/D変換器よりのデジタルデータを取込み、所定
の演算を実行するデジタルシグナルプロセッサと、 このデジタルシグナルプロセッサから出力されるデータ
をアナログ信号に変換するでD/A変換器と、 このD/A変換器のアナログデータを受け、複数の出力
チャンネルのうち選択されたチャンネルより出力して対
応する前記モータに与えるデマルチプレクサと、 を備えたことを特徴とするモータコントローラ。
1. A plurality of motors, a multiplexer that receives data from these motors, sequentially selects and outputs one of the data, and an A / D converter that converts data from the multiplexer into a digital signal. A digital signal processor that takes in digital data from the A / D converter and executes a predetermined operation; a D / A converter that converts data output from the digital signal processor into an analog signal; And a demultiplexer that receives the analog data of the D / A converter, outputs the data from a selected channel among a plurality of output channels, and provides the output to the corresponding motor.
JP8190213A 1996-07-19 1996-07-19 Motor controller Withdrawn JPH1042592A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8190213A JPH1042592A (en) 1996-07-19 1996-07-19 Motor controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8190213A JPH1042592A (en) 1996-07-19 1996-07-19 Motor controller

Publications (1)

Publication Number Publication Date
JPH1042592A true JPH1042592A (en) 1998-02-13

Family

ID=16254356

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8190213A Withdrawn JPH1042592A (en) 1996-07-19 1996-07-19 Motor controller

Country Status (1)

Country Link
JP (1) JPH1042592A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002071247A1 (en) * 2001-03-01 2002-09-12 Infineon Technologies Ag Method and system for conducting digital real-time data processing
CN100367141C (en) * 2005-03-04 2008-02-06 华中科技大学 Digital controller for direct current linear motor with high frequency response
JP2010259124A (en) * 2009-04-21 2010-11-11 Hitachi High-Technologies Corp Actuator drive device
JP2013509150A (en) * 2009-10-22 2013-03-07 コンティネンタル オートモーティブ システムズ ユーエス, インコーポレイティッド Stepper motor controller
WO2017222146A1 (en) * 2016-06-20 2017-12-28 주식회사 엘지화학 System for controlling operation of electric fan
JP2019129594A (en) * 2018-01-24 2019-08-01 ミネベアミツミ株式会社 Motor drive system, motor drive controller, control method of motor drive controller, and control program of motor drive controller

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002071247A1 (en) * 2001-03-01 2002-09-12 Infineon Technologies Ag Method and system for conducting digital real-time data processing
CN100367141C (en) * 2005-03-04 2008-02-06 华中科技大学 Digital controller for direct current linear motor with high frequency response
JP2010259124A (en) * 2009-04-21 2010-11-11 Hitachi High-Technologies Corp Actuator drive device
JP2013509150A (en) * 2009-10-22 2013-03-07 コンティネンタル オートモーティブ システムズ ユーエス, インコーポレイティッド Stepper motor controller
US8994316B2 (en) 2009-10-22 2015-03-31 Continental Automotive Systems, Inc. Stepper motor controller
WO2017222146A1 (en) * 2016-06-20 2017-12-28 주식회사 엘지화학 System for controlling operation of electric fan
KR20180050327A (en) * 2016-06-20 2018-05-14 주식회사 엘지화학 A system for controlling the operation of an electric fan
JP2019129594A (en) * 2018-01-24 2019-08-01 ミネベアミツミ株式会社 Motor drive system, motor drive controller, control method of motor drive controller, and control program of motor drive controller
US10749452B2 (en) 2018-01-24 2020-08-18 Minebea Mitsumi Inc. Motor driving system, motor driving control device, and non-transitory computer readable medium for motor driving control device

Similar Documents

Publication Publication Date Title
KR100591978B1 (en) Numerical control device
JPH04176539A (en) Interactive numerical control unit
EP0511395A1 (en) Conversational type numerical control equipment
JPH1042592A (en) Motor controller
US5298843A (en) Method for restarting punch press machine and numerical controller
EP0397886B1 (en) Cnc control system
EP0327285B1 (en) Numerical control apparatus
JPWO2002048811A1 (en) Numerical control device and axis control method of numerical control device
EP0115543A1 (en) Function diagnosis system
EP0639808B1 (en) Method for debugging sequence program
JP6125123B1 (en) Numerical controller
EP0425674A1 (en) Automatic tool selecting system
US5224031A (en) Signal transfer system of programmable controller
EP0466940B1 (en) Extended pmc
JPS58109905A (en) Robot controlling system
JPH11231915A (en) Method for defining axis of motion controller
JPH1145106A (en) Interactive numerical controller
CN106970652B (en) Motion controller
EP0481082B1 (en) Symbol definition method for programmable machine controller
US4569013A (en) Spindle speed control method and apparatus
US5162714A (en) Numerical control device for transfer machines
JP2687119B2 (en) Numerical control unit
KR100221491B1 (en) Method for controlling dual robot
JP2005339018A (en) Numerical control device
EP0538482A1 (en) Method for debugging sequential program

Legal Events

Date Code Title Description
A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20040310