JPH0297296A - Motor controller - Google Patents

Motor controller

Info

Publication number
JPH0297296A
JPH0297296A JP63246470A JP24647088A JPH0297296A JP H0297296 A JPH0297296 A JP H0297296A JP 63246470 A JP63246470 A JP 63246470A JP 24647088 A JP24647088 A JP 24647088A JP H0297296 A JPH0297296 A JP H0297296A
Authority
JP
Japan
Prior art keywords
speed
data
signal
output
control
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
JP63246470A
Other languages
Japanese (ja)
Inventor
Sokichi Uehara
壮吉 上原
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP63246470A priority Critical patent/JPH0297296A/en
Publication of JPH0297296A publication Critical patent/JPH0297296A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of Ac Motors In General (AREA)

Abstract

PURPOSE:To transmit and receive the data of low-speed and high-speed processing easily by installing a buffer between both principal arithmetic operation by a host microprocessor and high-speed processing arithmetic operation by a high-speed clock and synchronizing data access from the host microprocessor by the high-speed clock. CONSTITUTION:Buffers 4, 5 for data interfaces are mounted between both principal arithmetic operation by a host microprocessor 1 and high-speed processing arithmetic operation operated by a high-speed clock 10. A signal is acquired by synchronizing data access from the processor 1 by the clock 10, thus easily transmitting and receiving data over and from the digital processing system of low-speed and high-speed processing.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は電動機のディジタル速度制御を行う電動機制御
装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Field of Industrial Application) The present invention relates to a motor control device that performs digital speed control of an electric motor.

(従来の技術) 複雑で高度な制御か行えることから、マイクロコンピュ
ータの普及とともに、制御の分野にもマイクロコンピュ
ータが広がり、最早、欠かすことのできない存在となっ
た。このようなマイクロコンピュータを利用した、電動
機のディジタル速度制御における従来技術について、エ
レベータの電動機制御を例に説明する。
(Prior Art) With the spread of microcomputers, microcomputers have spread to the field of control, and have become indispensable because they can perform complex and advanced controls. A conventional technique for digital speed control of an electric motor using such a microcomputer will be explained using elevator electric motor control as an example.

第5図にエレベータにおける速度制御系のブロック図を
示す。図において、31は三相交流電源、32はコンバ
ータ、33は直流平滑コンデンサ、34はインバータで
あり、三相交流電源31出力をコンバタ32により直流
に変換した後、更にインバータ34によりにより可変電
圧・可変周波数の交流に変換し、誘導電動機37に供給
する。38は電動機軸に設置された回転角検出器であり
、パルスジエネレタまたは、レゾルバで構成される。3
9は綱車であり、この綱車39に掛は渡されたロープに
付けられた釣合いおもり40とエレベータ乗りかご41
は綱車39を電動機により回転駆動させることにより、
走行される。エレベータ乗りかご41に設置された荷重
検出器41aは荷重検出信号を出力する。
FIG. 5 shows a block diagram of the speed control system in the elevator. In the figure, 31 is a three-phase AC power supply, 32 is a converter, 33 is a DC smoothing capacitor, and 34 is an inverter. It is converted into variable frequency alternating current and supplied to the induction motor 37. 38 is a rotation angle detector installed on the motor shaft, and is composed of a pulse generator or a resolver. 3
9 is a sheave, and on this sheave 39 are a counterweight 40 attached to a rope passed over, and an elevator car 41.
By rotating the sheave 39 with an electric motor,
It will be run. A load detector 41a installed in the elevator car 41 outputs a load detection signal.

エレベータの速度制御はインバータ34にJ 切なベー
ス駆動信号を与えることにより行われるが、この制御に
ついて、次に説明する。
The speed of the elevator is controlled by applying a constant base drive signal to the inverter 34, and this control will be explained next.

50の速度指令値発生ブロックにより出力される速度指
令値と48の回転角検出器から出力された回転角情報を
回転角・速度変換フロックに入力し、これにより得られ
る速度速度検出値との偏差を速度制御ブロック49に人
力し、その出力と荷重検出47号を加算ブロック47に
入力し、トルク指令信号を46のベクトル制御演算ブロ
ックに入力する。
The speed command value output by the speed command value generation block 50 and the rotation angle information output from the rotation angle detector 48 are input to the rotation angle/speed conversion block, and the deviation from the speed detected value obtained thereby. is manually inputted to the speed control block 49, its output and load detection number 47 are inputted to the addition block 47, and the torque command signal is inputted to the vector control calculation block 46.

このベクトル制御演算ブロック46には回転角検出器4
8から出力された回転角情報も入力される。
This vector control calculation block 46 includes a rotation angle detector 4
The rotation angle information output from 8 is also input.

その結果、ベクトル制御演算ブロック46からは誘導電
動機37への電流指令値か出力され、これと電流検出器
より出力された電流検出信号との偏差か、電流制御ブロ
ック45に入力され、この出力である電圧指令信号とキ
ャリア三角波発生ブロック44から出力されるキャリア
三角波とを比較器43に入力し、その出力であるベース
信号をベース駆動回路に人力してベース駆動信号を?4
7、これをインハタに供給することによりエレベータの
速度制御を行う。
As a result, the vector control calculation block 46 outputs the current command value to the induction motor 37, and the deviation between this and the current detection signal output from the current detector is input to the current control block 45, and this output A certain voltage command signal and the carrier triangular wave output from the carrier triangular wave generation block 44 are input to the comparator 43, and the output of the base signal is inputted to the base drive circuit to generate the base drive signal. 4
7. By supplying this to the inverter, the speed of the elevator is controlled.

このように構成されたエレヘータティジタル速度制御シ
ステムにおいて、従来は第5図に点線で囲む部分を汎用
のマイクロプロセツサ(以下、マイコンと称する)と、
IC素子により構成したディジタル回路により運転シー
ケンス、保護シケンスとともにディジタル処理していた
。そして、マイコンより出力されるディジタルの電流指
令値信号をD/A変換器によりアナログ信号に変換し、
以後の電流制御フロック、キャリア玉角波発生フロック
、比較器はアナログ回路により処理されていた。
In an electric digital speed control system configured as described above, conventionally, the part surrounded by the dotted line in FIG. 5 is a general-purpose microprocessor (hereinafter referred to as a microcomputer),
The operating sequence and protection sequence were digitally processed using a digital circuit made up of IC elements. Then, the digital current command value signal output from the microcomputer is converted into an analog signal by a D/A converter,
The subsequent current control block, carrier ball square wave generation block, and comparator were processed by analog circuits.

しかし、アナログによる電流制御においては、演算増幅
器のオフセントや回路定数等力冑、μ度や湿度への環境
により変化したり、外部からのノイズの影響にをアナロ
グ信号か受は易い宿の間h℃点かあった。更に電流制御
の追従性を上げようとしてループケインを増加すると、
電圧波形が乱れるのて、電流制御の追従性にも限界があ
った。
However, in analog current control, the analog signal is easily susceptible to changes due to the environment, such as the offset of the operational amplifier, the circuit constant, the μ degree and humidity, and the influence of external noise. There was a point. If you increase the loop cane to further improve the followability of current control,
Since the voltage waveform is disturbed, there is a limit to the followability of current control.

(発明が解決しようとする課題) このように、1m ’Afな制御やきめの細かい制御を
行うために、マイコンを利用したエレベータ速度制御シ
ステムか出現しているが、マイコンにより運転シーケン
ス、保護シーケンスを行う他、デインタル処理して得た
電流値指令を速度指令として電動機の制御に使用する。
(Problem to be Solved by the Invention) As described above, elevator speed control systems using microcomputers have appeared in order to perform 1m'Af control and fine-grained control. In addition to performing digital processing, the current value command obtained through digital processing is used as a speed command to control the electric motor.

そのため、マイコンより出力されるディジタルの電流指
令値信号をD/A変換器によりアナログ信号に変換し、
以後の電流制御ブロック、キャリア三角波発生ブロック
、比較器はアナログ回路により処理して制御に供してい
る。これは、従来のマイコンやICにより電流制御やギ
ヤリア三角波発生、比較器等の処理を行うと、処理速度
に問題があるためで、それ故、電流制御以後の処理はア
ナログ回路により構成していた。
Therefore, the digital current command value signal output from the microcontroller is converted into an analog signal by a D/A converter.
The subsequent current control block, carrier triangular wave generation block, and comparator are processed and controlled by analog circuits. This is because there is a problem with processing speed when current control, gear triangular wave generation, comparator processing, etc. are performed using conventional microcomputers and ICs, so the processing after current control has been configured using analog circuits. .

しかし、アナログによる電流制御においては、演算増幅
器のオフセントや回路定数等が温度や湿度文9の環境に
より変化したり、外部からのノイズの影響Xをアナログ
信号か受は易い等の問題点があった。更に電流制御の追
従性を」二げようとしてループゲインを増加すると、電
圧波形か乱れるので、電流制御の追従性にも限界かあっ
た。
However, analog current control has problems such as the off-cent and circuit constants of operational amplifiers changing depending on the temperature and humidity environment, and analog signals being easily susceptible to the influence of external noise. Ta. Furthermore, if the loop gain was increased in an attempt to improve the followability of current control, the voltage waveform would be disturbed, so there was a limit to the followability of current control.

一方、近年においてはディジタル・シグナル・プロセッ
サ(以下、DSPと称する)やカスタムIC(以下、A
SICと称する)の出現により、高速なディジタル信号
処理か可能にとなり、電流制御をディジタル回路で行う
ことが可能になった。
On the other hand, in recent years, digital signal processors (hereinafter referred to as DSPs) and custom ICs (hereinafter referred to as A
With the advent of SIC (hereinafter referred to as SIC), high-speed digital signal processing became possible, and current control became possible with digital circuits.

これにより、先に述べた環境やノイズの影響を避け、し
かも電流制御の追従性を−にげることが可能になった。
This makes it possible to avoid the effects of the environment and noise mentioned above, and to improve the followability of current control.

しかし、電流制御部を含め、ニレベタの速度制御を全て
ディジタル信号により行う場合、電流制御、速度検出等
の処理速度はマイコンより早いことか要求される。この
ため、この部分はマイコンと非同期の高速クロックによ
り駆動されるか、マイコンとこの部分のインターフェー
スは両方のタイミング信号を互いに出力し合い、同期を
とって行う必要かあるために、複雑となり、このため、
データ転送に制約か生したり、マイコンの負荷か増大す
ると言う問題が生じる。
However, if all speed control of the Nirebeta, including the current control section, is performed using digital signals, the processing speed of current control, speed detection, etc. is required to be faster than that of a microcomputer. For this reason, either this part is driven by a high-speed clock that is asynchronous to the microcontroller, or the interface between the microcontroller and this part must output both timing signals to each other and be synchronized, which makes this part complicated. For,
Problems arise in that data transfer is restricted and the load on the microcomputer increases.

そこで、この発明の目的とするところは、制御かし易く
、データ転送の制約も生じない、しかも、マイコンの負
荷を重くすることのないディジタル制御方式の電動機制
御装置を提供することにある。
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a digital control type motor control device that is easy to control, does not impose restrictions on data transfer, and does not increase the load on the microcomputer.

[発明の構成] (課題を解決するだめの手段) 1−2目的を達成するため、本発明は次のように構成す
る。すなわち、電動機制御主要演算を行う1″7位マイ
クロプロセッサと、この」−位マイクロブロセソサの動
作クロックより高速のクロックにて動作l、て高速処理
演算を行い、電動機制御値を発生ずるディジタル処理系
により構成される全ディジタル電動機制御システムにお
いて、両者間のデータインターフェース用のバッファを
設け、上位マイクロプロセッサからのデータアクセスを
前記高速クロフクにより同期化した信号により当該バッ
ファへのデータアクセスしてデータ授受を行う構成とす
る。
[Configuration of the Invention] (Means for Solving the Problems) In order to achieve the objects 1-2, the present invention is configured as follows. In other words, there is a microprocessor at the 1"7 position that performs the main calculations for motor control, and a digital processor that performs high-speed processing calculations and generates motor control values by operating at a clock faster than the operating clock of this microprocessor. In an all-digital motor control system consisting of a processing system, a buffer is provided for a data interface between the two, and data access from the host microprocessor is accessed to the buffer using a signal synchronized by the high-speed clock. It is configured to give and receive.

(作用) このような構成において、上位マイクロプロセッサによ
り主要な制御を実施し、これより制御情報を得て、ディ
ジタル処理系は電動機の直接の制御をデータを発生し、
電動機をil;II御する。ディジタル処理系の動作ク
ロックは高速であるので、ディジタル処理系と上位のマ
イクロコンピュータとの間には速度差がある。従って、
両者間のブタインターフェース用のバッファを設け、上
位マイクロプロセッサからのデータアクセスを前記高速
クロックにより同期化した信号により当該バッファへの
データアクセスしてデータ授受を行う。
(Function) In such a configuration, the host microprocessor performs the main control, obtains control information from it, and the digital processing system generates data for direct control of the motor.
Control the electric motor. Since the operating clock of the digital processing system is high speed, there is a speed difference between the digital processing system and the host microcomputer. Therefore,
A buffer is provided for a pig interface between the two, and data access from the host microprocessor is accessed to the buffer using a signal synchronized by the high-speed clock to exchange data.

すなわち、上位マイクロコンピュータによりシステムの
ンーケンスを制御するとともに、システムの駆動源の速
度検出や電流制御系の制御を行う高速のディジタル処理
系とを有するエレベータ制御装置等において、データバ
ッファを設けて、マイクロコンピュータとディジタル処
理系とのブタ授受はこのバッファを用いて行うようにし
たものであるから、これにより、速度検出部、電流制御
部を上位マイコンのアドレス空間に割イτjけられたペ
リフェラルの1つとして扱うことが可能なり、この間の
データ転送が簡略化されて汎用化されることになる。そ
のため、」1位マイコンと速度検出部、電流制御部では
データ授受に際してこのデータバッファをアクセスすれ
は、このように動作速度の違う上位マイコンと速度検出
部、電流制御部の間でも支障なくしかも、容易にデータ
授受か行える。
In other words, in an elevator control device, etc., which has a high-speed digital processing system that controls the system sequence using a host microcomputer and also detects the speed of the system's drive source and controls the current control system, a data buffer is provided to Since data transfer between the computer and the digital processing system is performed using this buffer, the speed detection section and current control section can be allocated to the address space of the host microcontroller, one of the peripherals τj. This makes it possible to handle the data as one, simplifying the data transfer during this time and making it more general-purpose. Therefore, the first microcontroller, speed detection section, and current control section can access this data buffer when exchanging data without any problem even between the host microcontroller, speed detection section, and current control section, which have different operating speeds. You can easily send and receive data.

電流制御部を含め、エレベータの速度制御を全てディジ
タル信号により行う場合、f!電流制御、速度検出等の
処理速度はマイコンより早いことが要求される。このた
め、この部分はマイコンと非同期の高速クロックにより
駆動されるか、このため、マイコンとこの部分のインタ
ーフェースは両方のタイミング信号を互いに出力し合い
、同期をとって行う必要かあるために、複雑となり、こ
のため、データ転送に制約か生じたり、マイコンの負4
ifか増大すると言う問題か生じるか、以」二の本発明
によれは、低速処理のデインタル処理系と高速処理のデ
ィジタル処理系とのデータ授受を容易に且つ、負担な〈
実施でき、しかもデータ転送の制約も生じないディジタ
ル制御方式の電動機制御装置を提供できる。
If all elevator speed control, including the current control section, is performed using digital signals, f! Processing speeds such as current control and speed detection are required to be faster than microcontrollers. For this reason, this part must be driven by a high-speed clock that is asynchronous to the microcontroller, or the interface between the microcontroller and this part must output both timing signals to each other and be synchronized, making it complicated. As a result, data transfer may be restricted or the microcontroller's negative 4
According to the second aspect of the present invention, data can be exchanged between a low-speed digital processing system and a high-speed digital processing system easily and without any burden.
It is possible to provide a digital control type electric motor control device that can be implemented easily and that does not impose restrictions on data transfer.

(実施例) 以下、本発明の一実施例を図面を参照して説明する。(Example) Hereinafter, one embodiment of the present invention will be described with reference to the drawings.

第1図は本発明の実施例におけるエレベータ全ディジタ
ル速度制御装置の構成図である。図における1はマイコ
ンであり、2はデータバスである。
FIG. 1 is a block diagram of an elevator all-digital speed control system according to an embodiment of the present invention. In the figure, 1 is a microcomputer, and 2 is a data bus.

3はデータバス制御信号であり、リード信号、ライト信
号、チップセレクト信号、アドレスバスより構成される
。9はパルスジェネレータ出力である2相パルス信号で
あり、この2相パルス信号9は回転角検出、ヘクトル制
御演算を行う速度検出用のA S I C(Appli
cation 5pecific +ntegrate
dCircuit ;特定用途向けIC) 4に人力さ
れる。5はDSP6とともに電流制御以後の処理を行う
ASICであり、ベース駆動信号11を出力する。
3 is a data bus control signal, which is composed of a read signal, a write signal, a chip select signal, and an address bus. Reference numeral 9 indicates a two-phase pulse signal which is the output of the pulse generator, and this two-phase pulse signal 9 is a speed detection ASIC (Appli
cation 5specific +integrate
dCircuit; IC for specific applications) Manually powered by 4. 5 is an ASIC that performs processing after current control together with the DSP 6, and outputs a base drive signal 11.

]0 8はアナログの電流検出信号であり、7のA/D変換器
によりディジタル信号に変換され、前記ASIC5に与
えられる。10は4〜7を駆動する高速クロック発生器
であり、4〜7における処理はこのクロックに同期して
行イつれる。
]0 8 is an analog current detection signal, which is converted into a digital signal by an A/D converter 7 and is applied to the ASIC 5. Reference numeral 10 is a high-speed clock generator for driving 4 to 7, and processing in 4 to 7 is performed in synchronization with this clock.

次にこのような構成の装置の作用を説明する。Next, the operation of the device having such a configuration will be explained.

マイコン1では運転シーケンス処理、保護シーケンス処
理とともに第5図に示したと同様に速度指令値の発生(
50)、回転角・速度変換(48)、速度制御(49)
、荷重検出信号との加算(47)を行い、トルク指令等
をデータバス2を介して4,5のASICに転送する。
The microcomputer 1 generates the speed command value (as shown in Fig. 5) along with the operation sequence processing and protection sequence processing.
50), rotation angle/speed conversion (48), speed control (49)
, and the load detection signal (47), and transmits the torque command and the like to ASICs 4 and 5 via the data bus 2.

ASIC4ではパルスジェネレータ出力である2相パル
ス信号9を得てこれを回転角情報に変換し、マイコン1
に転送する。また、この回転角情報とマイコン1から転
送されるすべり周波数により第5図におけるベクトル制
御演算46の一部を行い、電流指令値位相基準信号をA
SIo5に転送する。DSP6ではASIo5を介して
得られる電流検出信号と電流指令値位相基準信号とトル
ク指令により、第5図におけるベクトル制御演算46と
電流制御45を行い、この結果得られる電圧指令信号を
ASIC5に転送する。ASIC5では先に述べたDS
Pへのデータのインターフェースと、第5図におけるキ
ャリア三角波の発生(44)と電圧指令信号とキャリア
三角波の比較(43)とを行°い。ベース駆動回路(4
2)へ出力するためのベース信号を発生する。
The ASIC 4 obtains a two-phase pulse signal 9 which is the pulse generator output, converts it into rotation angle information, and sends it to the microcomputer 1.
Transfer to. In addition, part of the vector control calculation 46 in FIG. 5 is performed using this rotation angle information and the slip frequency transferred from the microcomputer 1, and the current command value phase reference signal is
Transfer to SIo5. The DSP 6 performs vector control calculation 46 and current control 45 in FIG. 5 using the current detection signal, current command value phase reference signal, and torque command obtained via the ASIo 5, and transfers the voltage command signal obtained as a result to the ASIC 5. . In ASIC5, the DS mentioned earlier
Interfacing data to P, generating a carrier triangular wave (44) and comparing the voltage command signal and the carrier triangular wave (43) in FIG. 5 are performed. Base drive circuit (4
2) Generates a base signal to be output to.

このように構成されたエレベータの全ディジタル速度制
御装置におけるマイコン1とASIo 5とのデータイ
ンターフェースについて第2図を参照して説明する。第
2図はASIo内のデータバス入出力部分のブロック図
である。
The data interface between the microcomputer 1 and the ASIo 5 in the all-digital elevator speed control system constructed as described above will be explained with reference to FIG. FIG. 2 is a block diagram of the data bus input/output portion within ASIo.

第2図において、1〜4は第1図におけるブタバス制御
信号であり、12はリード信号、13はチップセレクト
信号、14はアドレスバス、】5はライト信号であり、
マイコン]よりASICに与えられる。16は第1図に
も示したデータバスである。17はデータバス制御信号
1〜4をデコーI・するデコダであり、この出力である
データアクセス信号によりASIo内のレジスタからデ
ータバス16へ回転角やすべり周波数等のデータか入出
力される。19は第1図における高速クロック発生器I
Oより出力される高速クロックをカウンタにより分周し
、更にデコートやシフトレジスタを通して得られるタイ
ミングクロックである。18はデコーダ17の出力であ
るデータアクセス信号をタイミングクロック19に同期
させる同期化回路である。
In FIG. 2, 1 to 4 are the pig bus control signals in FIG. 1, 12 is a read signal, 13 is a chip select signal, 14 is an address bus, ]5 is a write signal,
microcontroller] to the ASIC. 16 is a data bus also shown in FIG. A decoder 17 decodes the data bus control signals 1 to 4, and data such as rotation angles and slip frequencies are input/output from the register in the ASIo to the data bus 16 in response to the data access signal output from this decoder. 19 is the high-speed clock generator I in FIG.
This timing clock is obtained by frequency-dividing the high-speed clock output from O by a counter, and then passing it through decoding and a shift register. A synchronization circuit 18 synchronizes the data access signal output from the decoder 17 with the timing clock 19.

同期化回路18は例えば、第3図に示すようにD−Qフ
リップフロップにより構成できる。
The synchronization circuit 18 can be constructed of a DQ flip-flop, for example, as shown in FIG.

第3図における29はデータアクセス信号、28は同期
化回路出力であり、19はタイミングクロックである。
In FIG. 3, 29 is a data access signal, 28 is a synchronization circuit output, and 19 is a timing clock.

第2図において、20はデータバスへASIC内部の入
力データバス22、出力データバス23のデータを入出
力するために出力容量の大きなトライステートバッファ
と、入力バッファにより構成されるデータバス入出力バ
ッファ回路であり、この出力ドライステートバッファは
リード信号とチップセレクト信号の論理積によりゲート
を開き、内部出力データバス12のデータをデータバス
15に出力する。ASIo内の信号でマイコンに転送さ
れるべきデータ、例えば、回転角等は第2図中の] 3 26で示される。これらの信号は同期化回路出力により
レジスタ25に取込まれ、更に同期化回路出力に対する
同期化回路入力であるデータアクセス信号によりレジス
タ出力に接続されたトライステートバッファ13のゲー
トを開き、内部の出力データバス12に出力される。そ
して、データバス入出力バッファ回路のトライステート
バッファを通りブタバスに出力され、マイコンへ転送さ
れる。マイコンからASIoへ転送されるデータはデー
タバス16よりデータバス入出力バッファ回路20の人
力バッファを介して内部の入力データバス22に出力さ
れる。
In FIG. 2, 20 is a data bus input/output buffer composed of a tri-state buffer with a large output capacity and an input buffer for inputting and outputting data from an input data bus 22 and an output data bus 23 inside the ASIC to the data bus. This output dry state buffer opens its gate by ANDing the read signal and the chip select signal, and outputs the data on the internal output data bus 12 to the data bus 15. Data to be transferred to the microcomputer as a signal within the ASIo, such as the rotation angle, is indicated by ] 3 26 in FIG. These signals are taken into the register 25 by the synchronization circuit output, and the gate of the tri-state buffer 13 connected to the register output is opened by the data access signal which is the synchronization circuit input to the synchronization circuit output, and the internal output It is output to the data bus 12. Then, it passes through the tri-state buffer of the data bus input/output buffer circuit, is output to the pig bus, and is transferred to the microcomputer. Data transferred from the microcomputer to the ASIo is output from the data bus 16 to the internal input data bus 22 via the manual buffer of the data bus input/output buffer circuit 20.

そして、マイコンからのライト信号15をレジスタ25
に与えることにより、内部入力データバスより2段目の
内部入力バス25aに取込まれる。更に同期化回路出力
によりデータ別にそれぞれのレジスタ25bに取込まれ
る。
Then, the write signal 15 from the microcomputer is sent to the register 25.
By supplying the data to the internal input data bus, the data is taken into the second stage internal input bus 25a from the internal input data bus. Furthermore, each data is taken into each register 25b by the synchronization circuit output.

このようにASIC内部の入力データノ<スを2段構成
とし、ライ]・信号のみで1段目のレジスタにデータを
取込むことは、デコーダや同期化回路の遅延によりデー
タバス上のデータと同期化回路出力である同期化された
データアクセス信号とのタイミングか崩れ、データバス
I−のデータかレジスタに取込まれなくなるのを防くた
めである。
In this way, if the input data bus inside the ASIC is configured in two stages and the data is loaded into the first stage register using only the RAID signal, it is difficult to synchronize with the data on the data bus due to the delay of the decoder and synchronization circuit. This is to prevent the timing with the synchronized data access signal, which is the output of the synchronization circuit, from being disrupted and the data on the data bus I- not being taken into the register.

1、4 、 I 5 、1.7のレジスタは第4図に示
すようにDQフリップフロップにより構成出来る。
The registers 1, 4, I 5 and 1.7 can be constructed by DQ flip-flops as shown in FIG.

この第4図において、]はレジスタ入力信号、2はレジ
スタ出力信号、28はクロック人力信号であり、第2図
における同期化回路出力にあたる。
In FIG. 4, ] is a register input signal, 2 is a register output signal, and 28 is a clock input signal, which corresponds to the synchronization circuit output in FIG. 2.

以1〕のようにASIC内のデータバス入力部分を構成
すると、マイコンからASICへ転送されるブタは同期
化回路出力により、適切なタイミングてΔSIC内部の
レジスタ25.25bに取込まれ、また、ASICから
マイコンへ転送されるデータは同期化回路出力により適
切なタイミンクでASIC内部のレジスタ25に取込ま
れる。このため、マイコンはアドレス空間の一つの番地
へデータをアクセスする場合と同様に、ASICにデー
タをアクセスすることが出来る。
When the data bus input part in the ASIC is configured as described in [1] above, the data transferred from the microcontroller to the ASIC is captured into the registers 25 and 25b in the ΔSIC at an appropriate timing by the synchronization circuit output, and Data transferred from the ASIC to the microcomputer is taken into the register 25 inside the ASIC at appropriate timing by the synchronization circuit output. Therefore, the microcomputer can access data to the ASIC in the same way as accessing data to one address in the address space.

このように動作速度の違う」1位マイコンと速]5 度検出部、電流制御部の間に書き込みデータバッファ(
レジスタ)、読み込みデータバッファ(レジスタ)を設
けて、ASIC内部の入力データハスを2段構成とし、
このバッファを用いてデータの授受を行うようにしたこ
とにより、速度検出部、電流制御部を」1位マイコンの
アドレス空間に割付けられたペリフェラルの1つとして
扱うことか可能なり、この間のデータ転送が簡略化され
て汎用化されることになる。そのため、」1位マイコン
と速度検出部、電流制御部ではデータ授受に際してこれ
ら書き込みデータバッファ、読み込みデータバッファを
アクセスすれば良く、上位マイコンと速度検出部、電流
制御部間で動作クロックの大きな差かあっても支障なく
データ授受か行え、インタフェースも簡単で済む。
In this way, there is a write data buffer between the detection section and current control section.
A register) and a read data buffer (register) are provided, and the input data hash inside the ASIC is configured in two stages.
By using this buffer to exchange data, it is possible to treat the speed detection section and current control section as one of the peripherals assigned to the address space of the first microcontroller, and data transfer during this time. will be simplified and made more general. Therefore, the first microcontroller, speed detection section, and current control section only need to access these write data buffers and read data buffers when exchanging data. Even if you have one, you can send and receive data without any problems, and the interface is simple.

従って、本発明においては、電流制御等のように、高速
処理を必要とされる回路部分へのマイコンからのデータ
アクセス信号を高速処理部分の高速クロックにより同期
化し、汎用性を持たせたエレベータの全ティシタル速度
制御を実施することか出来るようになる。
Therefore, in the present invention, a data access signal from a microcomputer to a circuit part that requires high-speed processing, such as current control, is synchronized with a high-speed clock of a high-speed processing part, thereby providing a versatile elevator. It becomes possible to implement total speed control.

[発明の効果] 以−」ユ、述べたように、本発明によれば、低速処理の
ディジタル処理系と高速処理のディジタル処理系とのデ
ータ授受を容易に且つ、負担な〈実施でき、しかもデー
タ転送の制約も生じないディジタル制御方式の電動機制
御装置を提供できる。
[Effects of the Invention] As stated above, according to the present invention, data exchange between a low-speed processing digital processing system and a high-speed processing digital processing system can be carried out easily and without burden. It is possible to provide a digital control type electric motor control device that does not have restrictions on data transfer.

【図面の簡単な説明】 第1図は本発明の一実施例を示すエレベータ全ディジタ
ル速度制御装置の構成図、第2図は第1回路の構成例を
示す図、第4図は第2図におけるレジスタ回路を示す図
、第5図は従来のニレベタ速度制御装置を説明するだめ
の図である。 ]・・・マイクロコンピュータ、2・・データバス、4
.5・・ASIC,6・・DSP、7・・・A/D変換
器、10・・・高速クロック発生器、16・・データバ
ス、17・・デコータ、18・・同期化回路、25・・
レジスタ。 出願人代理人 弁理士 鈴圧武彦 部3図 第 図
[BRIEF DESCRIPTION OF THE DRAWINGS] FIG. 1 is a block diagram of an elevator all-digital speed control device showing an embodiment of the present invention, FIG. 2 is a diagram showing an example of the structure of the first circuit, and FIG. 4 is a block diagram of a second circuit. FIG. 5 is a diagram showing the register circuit in FIG. ]...Microcomputer, 2...Data bus, 4
.. 5...ASIC, 6...DSP, 7...A/D converter, 10...High speed clock generator, 16...Data bus, 17...Decoder, 18...Synchronization circuit, 25...
register. Applicant's agent Patent attorney Takehiko Suzuobe Figure 3

Claims (1)

【特許請求の範囲】[Claims] 電動機制御主要演算を行う上位マイクロプロセッサと、
この上位マイクロプロセッサの動作クロックより高速の
クロックにて動作して高速処理演算を行い、電動機制御
値を発生するディジタル処理系により構成される全ディ
ジタル電動機制御システムにおいて、両者間のデータイ
ンターフェース用のバッファを設け、上位マイクロプロ
セッサからのデータアクセスを前記高速クロックにより
同期化した信号により当該バッファへのデータアクセス
してデータ授受を行うことを特徴とする電動機制御装置
A host microprocessor that performs the main motor control calculations,
In an all-digital motor control system consisting of a digital processing system that operates at a clock faster than the operating clock of this host microprocessor, performs high-speed processing calculations, and generates motor control values, a buffer is used as a data interface between the two. A motor control device characterized in that a data access from a host microprocessor is synchronized with a signal synchronized by the high speed clock to access the buffer and exchange data.
JP63246470A 1988-09-30 1988-09-30 Motor controller Pending JPH0297296A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63246470A JPH0297296A (en) 1988-09-30 1988-09-30 Motor controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63246470A JPH0297296A (en) 1988-09-30 1988-09-30 Motor controller

Publications (1)

Publication Number Publication Date
JPH0297296A true JPH0297296A (en) 1990-04-09

Family

ID=17148885

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63246470A Pending JPH0297296A (en) 1988-09-30 1988-09-30 Motor controller

Country Status (1)

Country Link
JP (1) JPH0297296A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0446582A (en) * 1990-06-11 1992-02-17 Hitachi Ltd Controller for ac servomotor
JP2008092799A (en) * 2007-12-26 2008-04-17 Hitachi Ltd Excitation controller and excitation method of control

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0446582A (en) * 1990-06-11 1992-02-17 Hitachi Ltd Controller for ac servomotor
JP2008092799A (en) * 2007-12-26 2008-04-17 Hitachi Ltd Excitation controller and excitation method of control

Similar Documents

Publication Publication Date Title
JPH0297296A (en) Motor controller
JPH03243193A (en) Motor controller
US5198750A (en) Extremely wide range frequency measurement method
US6594162B2 (en) Inverter device
US5287045A (en) Fully digital apparatus for controlling operation of electric motor
JPH0962621A (en) Computer system and command cycle switching method
JPH04304186A (en) Motor speed controller
US4814967A (en) Digitally-controlled cycloconverter
JP2000353027A (en) Clock control method and electronic circuit device using the method
JP3624415B2 (en) Phase synchronization method for inverter device
JPH1153301A (en) Bus arbitration interface
JPH0268644A (en) Data transfer control circuit
JPS60174070A (en) Carrier control system in ac converter circuit
JPH0410318B2 (en)
JPS60187279A (en) Digital control system of induction motor
Pfitscher A microprocessor control scheme for naturally commutated thyristor converter with variable frequency supply
JPH0463019A (en) Counter circuit
JP2936762B2 (en) Offset compensation method for current control system
JPH05145409A (en) All digital power source synchronizing phase fixing device
JPS594343Y2 (en) Multiprocessor control circuit
Morinaga et al. Microprocessor control system with I/O processing unit LSI for motor drive pwm inverter
JPS57211990A (en) Torque detecting circuit for induction motor
JPH0134525Y2 (en)
Wenjin et al. Study of direct torque control (DTC) system of permanent magnet synchronous motor based on DSP
JPH0434169B2 (en)