JPH03243193A - Motor controller - Google Patents

Motor controller

Info

Publication number
JPH03243193A
JPH03243193A JP2037210A JP3721090A JPH03243193A JP H03243193 A JPH03243193 A JP H03243193A JP 2037210 A JP2037210 A JP 2037210A JP 3721090 A JP3721090 A JP 3721090A JP H03243193 A JPH03243193 A JP H03243193A
Authority
JP
Japan
Prior art keywords
data
signal
timing
output
microprocessor
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
JP2037210A
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 JP2037210A priority Critical patent/JPH03243193A/en
Priority to KR1019910002683A priority patent/KR940003006B1/en
Priority to GB9103529A priority patent/GB2242795B/en
Publication of JPH03243193A publication Critical patent/JPH03243193A/en
Priority to US07/921,984 priority patent/US5287045A/en
Priority to HK110995A priority patent/HK110995A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P5/00Arrangements specially adapted for regulating or controlling the speed or torque of two or more electric motors
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P23/00Arrangements or methods for the control of AC motors characterised by a control method other than vector control
    • H02P23/0077Characterised by the use of a particular software algorithm
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P23/00Arrangements or methods for the control of AC motors characterised by a control method other than vector control
    • H02P23/0004Control strategies in general, e.g. linear type, e.g. P, PI, PID, using robust control

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Control Of Ac Motors In General (AREA)
  • Control Of Electric Motors In General (AREA)
  • Elevator Control (AREA)

Abstract

PURPOSE:To facilitate the control of a motor and prevent the generation of restriction in the transmission of data by a method wherein a register is provided with an output signal of a timing circuit as a timing signal to give and take data with a proper timing. CONSTITUTION:An access signal 26, obtained by decoding the light signal 15, an address signal 14 and a tip select signal 13 of a higher rank microprocessor through a decoder 16, is inputted into a timing circuit 18 to convert it into a proper timing. Then, data are taken into the input register 31 of a second stage, which is connected to the input data path 29 of a second stage, by the output 30 of the timing circuit 18 while the data are given to the data path 32 under processing the data. According to this method, a timing between the data on the data path 2 and a data access signal 20 is collapsed to prevent the data on the data path 2 from being not taken into the register 31.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) この発明は、電動機のディジタル速度制御を行う電動機
制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Industrial Application Field) 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 been widely applied in the field of control because they are capable of performing complex and sophisticated control, and have become indispensable. A conventional technique for digital speed control of an electric motor using such a microcomputer will be explained using an elevator electric motor control device as an example.

第5図にエレベータにおける速度制御系のブロック図を
示す。第5図において、41は三相交流電源、42はコ
ンバータ、43は直流平滑コンデンサ、44はインバー
タであり、三相交流電源42をコンバータ42により直
流に変換した後、さらにインバータ44により可変電圧
・可変周波数の交流に変換して誘導電動機47に供給す
る。
FIG. 5 shows a block diagram of the speed control system in the elevator. In FIG. 5, 41 is a three-phase AC power supply, 42 is a converter, 43 is a DC smoothing capacitor, and 44 is an inverter. It is converted into alternating current with variable frequency and supplied to the induction motor 47.

48は電動機軸に設置された回転角検出器であり、パル
スジェネレータまたはレゾルバで横或される。49は綱
車てあり、この綱車49に巻き掛けられたロープに釣り
下げられた釣合重り50とエレベータ乗りかこ51は綱
車49を電動機47により回転駆動させることにより、
走行される。
Reference numeral 48 denotes a rotation angle detector installed on the motor shaft, which is horizontally connected to a pulse generator or resolver. 49 is a sheave, and a counterweight 50 suspended from a rope wound around this sheave 49 and an elevator car 51 are rotated by driving the sheave 49 by an electric motor 47.
It will be run.

エレベータ乗りかご51に設置された荷重検出器51a
は荷重検出信号を出力する。
Load detector 51a installed in elevator car 51
outputs a load detection signal.

エレベータの速度制御はインバータ44に適切なヘース
駆動信号をりえることにより行われるが、この制御につ
いて、次に説明する。
Elevator speed control is performed by applying an appropriate Heas drive signal to the inverter 44, and this control will be described below.

速度指令値発生ブロック60により出力される速度指令
値と、回転角検出器48から出力された回転角情報を回
転角・速度変換ブロック58に人力することにより得ら
れる速度検出値との偏差を速度制御ブロック5つに入力
し、その出力と荷重検出信号とを加算ブロック57に人
力し、トルク指令信号をヘクトル制御演算ブロック56
に人力する。
The deviation between the speed command value output by the speed command value generation block 60 and the speed detection value obtained by manually inputting the rotation angle information output from the rotation angle detector 48 to the rotation angle/speed conversion block 58 is defined as the speed. It is input to five control blocks, its output and the load detection signal are manually input to the addition block 57, and the torque command signal is input to the hector control calculation block 56.
to use human power.

このベクトル制御演算ブロック56には、回転角検出器
48から出力された回転角情報も人力される。その結果
、ヘクトル制御演算ブロック56からは誘導電動機47
に対する電流指令値か出力され、これと電流検出器45
より出力された電流検出信号との偏差か、電流制御プロ
・ンク55に入力され、この出力である電圧指令信号と
キャリア三角波発生ブロック54から出力されるキャリ
ア三角波とを比較器53に人力し、その出力であるベー
ス信号をベース駆動回路52に人力してベス駆動信号を
得、これをインバータ44に供給することによりエレベ
ータの速度制御を行う。
The rotation angle information output from the rotation angle detector 48 is also input manually to this vector control calculation block 56 . As a result, the induction motor 47 is output from the hector control calculation block 56.
The current command value for
The deviation from the current detection signal output from the current control block 55 is input to the current control block 55, and the output voltage command signal and the carrier triangular wave output from the carrier triangular wave generation block 54 are manually inputted to the comparator 53. The output of the base signal is manually input to the base drive circuit 52 to obtain a base drive signal, which is then supplied to the inverter 44 to control the speed of the elevator.

このように構成されたエレベータの電動機制御装置にお
いて、従来は、第5図に点線で囲む部分Aを汎用のマイ
クロプロセッサとIC素子とにより構威し、このディジ
タル回路Aにより運転シーケンス及び保護シーケンスを
ともにディジタル処理していた。そして、ディジタル回
路Aより出力されるディジタル電流指令値信号をD/A
変換器によりアナログ信号に変換し、以後の電流制御ブ
ロック55、キャリア三角波発生ブロック54及び比較
器53はアナログ信号により処理していた。
In the elevator motor control device configured as described above, conventionally, the part A surrounded by the dotted line in FIG. Both were processed digitally. Then, the digital current command value signal output from digital circuit A is converted to D/A.
The signal is converted into an analog signal by a converter, and the subsequent current control block 55, carrier triangular wave generation block 54, and comparator 53 process the analog signal.

(発明が解決しようとする課題) しかしながら、このような従来のアナログ信号により電
流制御を行う電動機制御装置では、演算増幅器のオフセ
ットや回路定数などが温度や温度などの環境により変化
したり、アナログ信号が外部からのノイズの影響を容易
に受けたりする問題点があった。さらに電流制御の追従
性を上げようとしてループケインを増加すると電圧波形
が乱れるので、電流制御の追従性に限界がある問題点も
あった。
(Problem to be Solved by the Invention) However, in conventional motor control devices that perform current control using analog signals, the offset and circuit constants of the operational amplifier may change depending on the temperature and other environments, and the analog signal There was a problem in that it was easily affected by external noise. Furthermore, if the loop cane is increased in an attempt to improve the followability of current control, the voltage waveform is disturbed, so there is a problem that there is a limit to the followability of current control.

一方、近年においては、ディジタルシグナルプロセンサ
(以下、DSPと称する)やカスタムIC(以下、AS
ICと称する)の出現により、高速なディジタル信号処
理が可能となり、電流制御をディジタル回路で行うこと
が可能になった。これにより、先に運べた環境やノイズ
の影響を避け、しかも電流制御の追従性を上げることが
可能になった。しかし、電流制御部を含め、エレベータ
の速度制御をすべてディジタル信号により行う場合、電
流制御、速度制御などの処理速度はマイクロプロセッサ
より速いことが要求される。このため、この部分はマイ
クロプロセッサと非同期の高速クロックにより駆動され
るが、マイクロプロセ、ツサとこの部分とのインタフェ
ースは両方のタイミング信号を互いに出力し合い、同期
をとって行う必要があるために複雑となり、これに起因
してデータ転送に制約が生したり、マイクロプロセッサ
の負荷が増大するという問題点が生じていた。
On the other hand, in recent years, digital signal processing sensors (hereinafter referred to as DSP) and custom ICs (hereinafter referred to as AS
With the advent of ICs, high-speed digital signal processing has become possible, and current control has become possible with digital circuits. This has made it possible to avoid the effects of the environment and noise that could have occurred earlier, and to improve the followability of current control. However, if all elevator speed control, including the current control section, is performed using digital signals, the processing speed of current control, speed control, etc. is required to be faster than that of a microprocessor. For this reason, this part is driven by a high-speed clock that is asynchronous to the microprocessor, but the interface between the microprocessor and this part requires that both timing signals be output to each other and performed in synchronization. This has led to problems such as restrictions on data transfer and an increase in the load on the microprocessor.

この発明は、このような従来の問題点に鑑みてなされた
もので、その目的とするところは、制御がしやすく、デ
ータ転送の制約も生じない、しかもマイクロプロセッサ
の負荷を重くすることのないディジタル制御方式の電動
機制御装置を提供することにある。
This invention was made in view of these conventional problems, and its purpose is to provide a system that is easy to control, does not impose restrictions on data transfer, and does not increase the load on the microprocessor. An object of the present invention is to provide a digital control type electric motor control device.

[発明の構成] (課題を解決するための手段) この発明は、電動機主要演算を行う上位マイクロプロセ
ッサと、この上位マイクロプロセッサの動作クロックよ
り高速のクロックにて動作して高速処理演算を行い、電
動機制御値を発生するディジタル処理系とにより構成さ
れる電動機制御装置において、前記上位マイクロプロセ
ッサとディジタル処理系との間のデータインタフェース
用レジスタと、前記上位マイクロプロセッサかラノアク
セス信号をディジタル処理系の動作クロックにより適当
なタイミングに変えるタイミング回路とを備え、前記タ
イミング回路の出力信号を前記Iノジスタにタイミング
信号として与えることにより適切なタイミングでデータ
の授受を行うようにしたものである。
[Structure of the Invention] (Means for Solving the Problems) The present invention includes a host microprocessor that performs main motor calculations, and a clock that operates at a higher speed than the operating clock of the host microprocessor to perform high-speed processing calculations. In a motor control device comprising a digital processing system that generates motor control values, a register for data interface between the upper microprocessor and the digital processing system, and a register for the data interface between the upper microprocessor and the digital processing system, and a register for the data interface between the upper microprocessor and the digital processing system, The device includes a timing circuit that changes the timing to an appropriate timing based on an operation clock, and sends and receives data at an appropriate timing by applying an output signal of the timing circuit to the I-no register as a timing signal.

(作用) この発明の電動機制御装置では、上位マイクロプロセッ
サにより主要な制御を実施し、これより制御情報を得て
、ディジタル処理系は上位マイクロプロセッサとは非同
期に動作し、電動機を制御する。そして、ディジタル処
理系の動作クロックは上位マイクロプロセッサとは非同
期であり、さらに高速であるため、ディジタル処理系と
上位マイクロプロセッサとの間には速度差がある。
(Function) In the motor control device of the present invention, the host microprocessor performs main control, obtains control information from the host microprocessor, and the digital processing system operates asynchronously with the host microprocessor to control the motor. Since the operating clock of the digital processing system is asynchronous with that of the host microprocessor and is also faster, there is a speed difference between the digital processing system and the host microprocessor.

そこで、両者間のデータインタフェース用のレジスタを
設け、上位マイクロプロセッサからのデータアクセス信
号を前記高速クロックを分周して得られるディジタル処
理系のタイミングクロックにより、タイミングを変えて
このレジスタに9えることによりデータの授受を行う。
Therefore, a register is provided for a data interface between the two, and the timing of the data access signal from the host microprocessor is changed using a timing clock of a digital processing system obtained by dividing the high-speed clock. Data is exchanged by.

すなわち、上位マイクロプロセッサによりシステムのシ
ーケンスを制御すると共に、システムの駆動源の速度検
出や電流制御系の制御を行う高速のディジタル処理系と
を有するエレベータ制御装置などにおいて、データレジ
スタを設けて、マイクロプロセッサとディジタル処理系
とのデータ授受はこのレジスタを用いて行うようにした
ものであるから、これにより、速度検出部、電流制御部
を上位マイクロプロセッサのアドレス空間に割り付けら
れたペリフェラルの一つとして扱うことが可能になり、
この間のデータ転送が簡略化されて汎用化されることに
なる。そのため、上位マイクロプロセッサと速度検出部
、電流制御部ではデータ授受に際してこのデータバッフ
ァをアクセスすれば、このように動作速度の違う上位マ
イクロプロセッサと速度検出部、電流制御部の間でも支
障なく、しかも容易にデータ授受が行える。
In other words, a data register is provided in an elevator control system that has a high-speed digital processing system that controls the system sequence using a host microprocessor and also detects the speed of the system's drive source and controls the current control system. Since this register is used to exchange data between the processor and the digital processing system, this allows the speed detection section and current control section to be used as one of the peripherals assigned to the address space of the host microprocessor. It becomes possible to handle
Data transfer during this time will be simplified and made more general. Therefore, if the host microprocessor, speed detection section, and current control section access this data buffer when exchanging data, there will be no problem between the host microprocessor, speed detection section, and current control section, which have different operating speeds. Data can be exchanged easily.

(実施例) 以下、この発明の実施例を図に基づいて詳説する。(Example) Hereinafter, embodiments of the present invention will be explained in detail based on the drawings.

第1図はこの発明の一実施例であるエレベータの全ディ
ジタル電動機制御装置の構成図である。
FIG. 1 is a block diagram of an all-digital motor control system for an elevator, which is an embodiment of the present invention.

第1図における1はマイクロプロセッサ(CP U)で
あり、2はデータバスである。3はデータバス制御信号
であり、リード信号、ライト信号、チップセレクト信号
、アドレスバスより構成される。
1 in FIG. 1 is a microprocessor (CPU), and 2 is a data bus. 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.

4はパルスジェネレータ出力である2相パルス信号てあ
り、この2相パルス信号4は回転角検出、ヘクトル制御
演算を行う速度検出用のカスタムIC(A S I C
−APPLICATION 5PECIFICINTE
GR^−TED CIRCUIT) 5に人力される。
4 is a two-phase pulse signal which is a pulse generator output, and this two-phase pulse signal 4 is a custom IC for speed detection (ASIC) that detects rotation angle and performs hector control calculation.
-APPLICATION 5PECIFICINTE
GR^-TED CIRCUIT) 5 will be manually operated.

6はディジタルシグナルプロセッサ(DSP)7と共に
電流制御以後の処理を行うASICであり、ベース駆動
信号8を出力する。
6 is an ASIC that performs processing after current control together with a digital signal processor (DSP) 7, and outputs a base drive signal 8.

9はアナログの電流検出信号であり、A/D変換器10
によりディジタル信号に変換されて前記AS I C6
に与えられる。
9 is an analog current detection signal, and A/D converter 10
is converted into a digital signal by the AS I C6.
given to.

11は高速クロック発生器(OS C)であり、AS 
I C5、AS I C6、DSP7及びA/D変換器
10における処理はこのクロックに同期して行われる。
11 is a high speed clock generator (OS C),
Processing in the IC 5, AS IC 6, DSP 7, and A/D converter 10 is performed in synchronization with this clock.

この電動機制御装置において、マイクロプロセッサ1て
は運転シーケンス処理と保護シーケンス処理とを共に、
第5図に示したと同様に速度指令値の発生(60) 、
回転角・速度変換(58)、速度制御(59)、荷重検
出信号との加算(57)を行い、トルク指令などをデー
タバス2を介してASIC5,6に転送する。
In this motor control device, the microprocessor 1 performs both operation sequence processing and protection sequence processing.
Generation of the speed command value (60) in the same way as shown in FIG.
Rotation angle/speed conversion (58), speed control (59), and addition (57) to the load detection signal are performed, and torque commands and the like are transferred to the ASICs 5 and 6 via the data bus 2.

AS I C5では、パルスジェネレータ出力である2
相パルス信号4を得て、これを回転角情報に変換し、マ
イクロプロセッサ】に転送する。また、この回転角情報
とマイクロプロセッサ1から転送されるすべり周波数に
より第5図におけるベクトル制御演算(56)の一部を
行い、電流指令値位相基準信号をASIC6に転送する
In AS I C5, 2 which is the pulse generator output
A phase pulse signal 4 is obtained, converted into rotation angle information, and transferred to the microprocessor. Further, a part of the vector control calculation (56) in FIG. 5 is performed using this rotation angle information and the slip frequency transferred from the microprocessor 1, and a current command value phase reference signal is transferred to the ASIC 6.

DSP7では、ASIC6を介して得られる電流検出信
号と電流指令値位相基準信号とトルク指令により、第5
図におけるヘクトル制御l演算(56)と電流制御(5
5)を行い、この結果得られる電圧指令信号をASIC
6に転送する。
The DSP 7 uses the current detection signal, current command value phase reference signal, and torque command obtained through the ASIC 6 to
Hector control l calculation (56) and current control (5
5), and the voltage command signal obtained as a result is sent to the ASIC.
Transfer to 6.

ASIC6ては、先に述べたDSP7へのブタのインタ
フェースと、第5図におけるキャリア:角波の発生(5
4)と電圧指令信号とキャリア三角波との比較(53)
とを行い、ベース駆動回路(52)へ出力するためのベ
ース信号を発生する。
The ASIC6 is the pig interface to the DSP7 mentioned earlier, and the generation of the carrier:angular wave (5) in Figure 5.
Comparison of 4) with voltage command signal and carrier triangular wave (53)
and generates a base signal to be output to the base drive circuit (52).

このように構成されたエレベータの全ディジタル電動機
制御装置におけるマイクロプロセッサ1とASIC6と
のデータインタフェースについて、第2図を参照して説
明する。
The data interface between the microprocessor 1 and the ASIC 6 in the all-digital elevator motor control system configured as described above will be explained with reference to FIG.

第2図はAsIc6内のデータバス人出力部分のブロッ
ク図である。この第2図において、12〜15は第1図
におけるデータバス制御信号3てあり、12はリート信
号(RD)、13はチップセレクト信号(C3)   
14はアドレスバス(ADDRESS  BUS) 、
15はライト信号(WR)であり、マイクロプロセッサ
1よりASIC6に与えられる。
FIG. 2 is a block diagram of the data bus output section within the AsIc6. In this FIG. 2, 12 to 15 are data bus control signals 3 in FIG. 1, 12 is a read signal (RD), and 13 is a chip select signal (C3).
14 is an address bus (ADDRESS BUS),
15 is a write signal (WR), which is given from the microprocessor 1 to the ASIC 6.

16はデータバス制御信号12〜15をデコードするデ
コーダであり、この出力である回転角やすべり周波数な
どのデータがデータバス2へ人出力される。
A decoder 16 decodes the data bus control signals 12 to 15, and outputs data such as rotation angle and slip frequency to the data bus 2.

17は第1図における高速クロック発生器11より出力
される高速クロックをカウンタにより分周して得られる
タイミングクロックである。18はデコーダの出力であ
る上位マイクロプロセッサ1から得られるアクセス信号
を適当なタイミングにするタイミング回路である。
17 is a timing clock obtained by frequency-dividing the high-speed clock output from the high-speed clock generator 11 in FIG. 1 by a counter. 18 is a timing circuit that adjusts the access signal obtained from the host microprocessor 1, which is the output of the decoder, to appropriate timing.

]9は、データバス2へAS I C6内部の人力デー
タバス20、出力データバス21のデータを入出力する
ために、出力容量の大きなトライステートバッファと入
力バッファとにより構成されるデータバス入出カバソフ
ァ回路であり、このデータバス入出カバソファ回路19
の出力ドライステートバッファはリード信号]−2とチ
ップセレクト信号13の論理積回路22による論理積に
よりゲルトを開き、内部出力データバス21のデータを
データバス2に出力する。
] 9 is a data bus input/output cover sofa composed of a tri-state buffer with a large output capacity and an input buffer, in order to input and output data from the human data bus 20 and output data bus 21 inside the ASIC 6 to the data bus 2. circuit, and this data bus input/output cover sofa circuit 19
The output dry state buffer opens a gate by ANDing the read signal]-2 and the chip select signal 13 by the AND circuit 22, and outputs the data on the internal output data bus 21 to the data bus 2.

ASIC6内の信号で上位マイクロプロセッサ1に転送
されるべきデータ、例えば回転角などは第2図中の23
で示される。これらのデータ23はタイミング回路18
の出力により、出力データレジスタ(R)25に取り込
まれ、さらにタイミング回路18の人力である上位マイ
クロプロセッサ1からのリード信号12、アドレス信号
14、チップセレクト信号13をデコーダ16によりデ
コードして得られるアクセス信号26により、このレジ
スタ25の出力側に接続されたトライステートバッファ
27のゲートを開き、出力データバス21へ出力される
。そしてデータバス入出カバソファ回路1つを通り、上
位マイクロプロセッサ1からのデータバス2に出力され
る。
Data to be transferred to the host microprocessor 1 as a signal within the ASIC 6, such as rotation angle, is indicated at 23 in Figure 2.
It is indicated by. These data 23 are sent to the timing circuit 18
The read signal 12, address signal 14, and chip select signal 13 from the host microprocessor 1, which is the manual input of the timing circuit 18, are decoded by the decoder 16. The access signal 26 opens the gate of a tri-state buffer 27 connected to the output side of this register 25 and outputs it to the output data bus 21. The signal then passes through one data bus input/output cover circuit and is output to the data bus 2 from the host microprocessor 1.

上位マイクロプロセッサ1からASIC6へ転送される
べきデータは、データバス2からデータバス入出カバソ
ファ回路19を通り、ASfC6内部の人力データバス
20に人力され、さらに上位マイクロプロセッサ1から
のライト信号15により1段目のレジスタ28を通し、
2段目の入力データパス2つに保持される。
Data to be transferred from the host microprocessor 1 to the ASIC 6 passes through the data bus input/output cover sofa circuit 19 from the data bus 2, is manually inputted to the manual data bus 20 inside the ASfC6, and is further transferred to the data bus 20 by the write signal 15 from the host microprocessor 1. Through the register 28 of the stage,
It is held in the two input data paths of the second stage.

上位マイクロプロセッサ1からのライト信号15、アド
レス信号14、チップセレクト信号13をデコーダ16
によりデコードして得られるアクセス信号26をタイミ
ング回路18に入力して適当なタイミングに変換する。
A decoder 16 receives the write signal 15, address signal 14, and chip select signal 13 from the host microprocessor 1.
The access signal 26 obtained by decoding is input to the timing circuit 18 and converted to an appropriate timing.

そしてこのタイミング回路18の出力30により、さら
に2段目の人力データバス29に接続されている2段目
の人力データレジスタ31にデータを取り込み、データ
処理中のデータバス32にそのデータを与える。
The output 30 of the timing circuit 18 is used to input data into a second-stage human-powered data register 31 connected to a second-stage human-powered data bus 29, and provide the data to the data bus 32 during data processing.

このように、ASIC6内部の入力データパス20.2
9を2段構成とし、ライト信号15のみで1段目のレジ
スタ28にデータを取り込む理由は、デコーダ16やタ
イミング回路18の遅延によりデータバス2上のデータ
とタイミング回路18の出力である同期化されたデータ
アクセス信号20とのタイミングが崩れ、データバス2
上のデータがレジスタ31に取り込まれなくなるのを防
ぐためである。
In this way, the input data path 20.2 inside the ASIC6
9 is configured in two stages, and the reason why the data is taken into the first stage register 28 only by the write signal 15 is that the data on the data bus 2 and the output of the timing circuit 18 are synchronized due to the delay of the decoder 16 and the timing circuit 18. The timing with the data access signal 20 that was received is disrupted, and the data bus 2
This is to prevent the above data from not being taken into the register 31.

第3図に上記のタイミング回路18の詳しい回路構成を
、また第4図にタイミング回路18と内部処理データ2
3.32のタイミングチャートを示している。第3図に
おいて、17aは内部処理データが更新する周期に同期
したタイミングクロック、またはそのクロックを倍周し
た高速クロック、1−7 bは17aと同じクロックか
、またさらに高速なりロックである。また33aはプリ
セント付きD−Qフリップフロップ、33bはD−Qフ
リップフロップ、33Cは論理積素子である。
FIG. 3 shows the detailed circuit configuration of the timing circuit 18, and FIG. 4 shows the timing circuit 18 and internal processing data 2.
3.32 timing chart is shown. In FIG. 3, 17a is a timing clock synchronized with the update cycle of internal processing data, or a high speed clock obtained by doubling the frequency of that clock, and 1-7b are the same clocks as 17a or even faster locks. Further, 33a is a D-Q flip-flop with precent, 33b is a D-Q flip-flop, and 33C is an AND element.

このように回路を構成することにより、プリセット付き
I)−Qフリップフロップ33aの出力26aは上位マ
イクロプロセッサ1からのアクセス信号26の立ち上が
り、または立ち下がりの後、次のタイミングクロック1
7aの立ち上がりに同期した信号°となり、さらにこの
信号26aを微分回路に入力し、この信号26aの立ち
上がり、立ち下がりに同期したタイミング信号24.3
0がこの回路18より出力される。
By configuring the circuit in this way, the output 26a of the preset I)-Q flip-flop 33a is output to the next timing clock 1 after the access signal 26 from the host microprocessor 1 rises or falls.
The signal 24.3 is synchronized with the rising edge of signal 26a, and this signal 26a is further inputted into a differentiating circuit to generate a timing signal 24.3 synchronized with the rising edge and falling edge of signal 26a.
0 is output from this circuit 18.

これらのタイミングの関係は第4図に示されている。第
4図において、23または32て示したデータ処理中の
データバスのタイミングとは、23の場合には、ディジ
タル処理系内部の処理によりこのデータが更新されるタ
イミングを示し、また32の場合には、ディジタル処理
系内部の処理のためデータが安定していなければならな
いタイミングを示す。つまり、このタイミングに重なっ
て上位マイクロプロセッサ1からのデータアクセスが行
われると、正常なデータの授受はてきない。
The relationship between these timings is shown in FIG. In FIG. 4, the timing of the data bus during data processing indicated by 23 or 32 means that in the case of 23, this data is updated by the processing inside the digital processing system, and in the case of 32, it indicates the timing at which this data is updated by the processing inside the digital processing system. indicates the timing at which data must be stable for processing within the digital processing system. In other words, if data access from the host microprocessor 1 is performed at the same time as this timing, normal data exchange will not occur.

なお、この第4図では、上位マイクロプロセッサ1から
のデータアクセス信号26が前記のタイミングになった
場合について示しである。
Note that FIG. 4 shows a case where the data access signal 26 from the host microprocessor 1 reaches the timing described above.

このタイミングチャートよりタイミング回路18の出力
であるタイミング信号24.30がデータ処理中のデー
タ23または32のタイミングと違ったタイミングでイ
ネーブルになっていることが分かる。さらに、このタイ
ミング回路18において、プリセット付きD−Qフリッ
プフロップ33aの出力と微分回路の間にタイミングク
ロックによるシフトレジスタを挿入することにより、第
4図に示した時間Δtを変えることができる。したがっ
て、データ処理中のデータ23または32のタイミング
のばらつきを考慮して、適当なシフトレジスタを挿入す
ることにより、当該タイミング回路18に人力するタイ
ミングクロックを変更せCに当該タイミング回路18の
出力であるタイミング信号24.30のタイミングを変
えることができるのである。
It can be seen from this timing chart that the timing signals 24 and 30, which are the outputs of the timing circuit 18, are enabled at a timing different from the timing of the data 23 or 32 during data processing. Further, in this timing circuit 18, by inserting a shift register using a timing clock between the output of the preset DQ flip-flop 33a and the differentiating circuit, the time Δt shown in FIG. 4 can be changed. Therefore, by inserting an appropriate shift register in consideration of timing variations of data 23 or 32 during data processing, the timing clock manually inputted to the timing circuit 18 can be changed to the output of the timing circuit 18. It is possible to change the timing of a certain timing signal 24.30.

以上述べてきたように、ASIC6内部のデータバス入
力部分を構成すれば、上位マイクロプロセッサ1はAS
IC5,6とのデータの授受を、特別なソフトウェア処
理を行ったり、複雑なインタフェース回路を設けること
なしに、アドレス空間のある領域に割り当てられたペリ
フェラルの一つとして行うことができる。
As described above, if the data bus input part inside the ASIC 6 is configured, the upper microprocessor 1 can
Data can be exchanged with the ICs 5 and 6 as one of the peripherals assigned to a certain area of the address space without performing special software processing or providing a complicated interface circuit.

したがって、この実施例においては、電流制御などのよ
うに高速処理を必要とされる回路部分へのマイクロプロ
セッサからのデータアクセス信号を、高速処理部分の高
速クロックにより適当なタイミングに変換したデータア
クセス信号に同期して上位マイクロプロセッサからのデ
ータを高速処理部分のレジスタに取り込むことにより、
汎用性を持たせたエレベータの全ディノタル速度制御を
実施することができるようになる。
Therefore, in this embodiment, a data access signal from a microprocessor to a circuit section that requires high-speed processing, such as current control, is converted to an appropriate timing by a high-speed clock of the high-speed processing section. By importing data from the host microprocessor into the registers of the high-speed processing part in synchronization with
It becomes possible to perform all-dinotal speed control of elevators with versatility.

なお、上記実施例においては、−4位マイクロプロセッ
サからのアクセス信号をデインタル処理系のタイミング
クロックに同期させる同期化回路を上記の構成の中のタ
イミング回路に置き換え、この同期化回路の出力をデー
タインタフェース用のレジスタに与える構成としても同
様の作用を得ることができる。しかしこの場合、特に上
位マイクロプロセッサからアクセスしようとするデータ
がディジタル処理系の中で高速処理されている場合には
、同期化回路内のD−Qフリツプフロツプの遅延時間の
ばらつきを考慮して同期化させるタイミングクロックを
選ぶことになる。このため、タイミングクロックを発生
させる分周カウンタの設計が困難となることがある。
In the above embodiment, the synchronization circuit that synchronizes the access signal from the -4th microprocessor with the timing clock of the digital processing system is replaced with the timing circuit in the above configuration, and the output of this synchronization circuit is used as the data. A similar effect can be obtained by a configuration provided to an interface register. However, in this case, especially if the data to be accessed from the host microprocessor is being processed at high speed in the digital processing system, synchronization must be performed by taking into account variations in the delay times of the D-Q flip-flops in the synchronization circuit. Select the timing clock to use. For this reason, it may be difficult to design a frequency division counter that generates a timing clock.

ところが、この発明のようにタイミング回路を同期化回
路の代わりに用いれば、タイミンク回路に与えられるタ
イミングクロックは、上位マイクロプロセッサかアクセ
スするデータに対してディジタル処理系の中で同期して
処理するタイミングクロックよりも高速のクロフクとな
り、タイミング回路の出力であるタイミング信号のタイ
ミング、すなわちデータインタフェース用のレジスタに
データを取り込むタイミングは、そのタイミング回路内
にシフトレジスタ回路を追加することで容易に変えるこ
とができようになり、このため、タイミングクロックを
変える必要がなくなり、分周カウンタの設計が容易とな
るのである。
However, if a timing circuit is used instead of a synchronization circuit as in the present invention, the timing clock given to the timing circuit will be used to synchronize the processing timing within the digital processing system with respect to the data accessed by the host microprocessor. The clock is faster than the clock, and the timing of the timing signal output from the timing circuit, that is, the timing at which data is taken into the data interface register, can be easily changed by adding a shift register circuit to the timing circuit. Therefore, there is no need to change the timing clock, and the design of the frequency division counter becomes easier.

[発明の効果コ 以上のようにこの発明によれば、低速処理のディジタル
処理系と高速処理のディジタル処理系とのデータ授受を
容易に、かつ負担な〈実施でき、しかもデータ転送の制
約も生しないディジタル制御方式の電動機制御装置を提
供できるのである。
[Effects of the Invention] As described above, according to the present invention, data transfer between a low-speed processing digital processing system and a high-speed processing digital processing system can be easily and effortlessly carried out, and there are no restrictions on data transfer. Therefore, it is possible to provide a motor control device using a digital control method that does not require any additional control.

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

第1図はこの発明の一実施例の構成国、第2図は上記実
施例のASICのデータバス人出力部分の構成を示すブ
ロック図、第3図は上記実施例のASICにおけるタイ
ミング回路の構成を示すブロック図、第4図は上記実施
例におけるタイミング回路のデータアクセスのタイミン
グを示すタイミングチャート、第5図は従来例のブロッ
ク図である。 1・・・マイクロプロセッサ 2・・・データバス5.
6・・・カスタムIC(ASIC)7・・・ディジタル
シグナルプロセッサ(DSP)10・・・A/D変換器 11・・・高速クロック発生器 16・・・デコーダ 18・・・タイミング回路 25.28.31・・・レジスタ
FIG. 1 shows the constituent countries of an embodiment of the present invention, FIG. 2 is a block diagram showing the structure of the data bus output part of the ASIC of the above embodiment, and FIG. 3 shows the structure of the timing circuit in the ASIC of the above embodiment. FIG. 4 is a timing chart showing data access timing of the timing circuit in the above embodiment, and FIG. 5 is a block diagram of a conventional example. 1... Microprocessor 2... Data bus 5.
6... Custom IC (ASIC) 7... Digital signal processor (DSP) 10... A/D converter 11... High speed clock generator 16... Decoder 18... Timing circuit 25.28 .31...Register

Claims (1)

【特許請求の範囲】[Claims]  電動機主要演算を行う上位マイクロプロセッサと、こ
の上位マイクロプロセッサの動作クロックより高速のク
ロックにて動作して高速処理演算を行い、電動機制御値
を発生するディジタル処理系とにより構成される電動機
制御装置において、前記上位マイクロプロセッサとディ
ジタル処理系との間のデータインタフェース用レジスタ
と、前記上位マイクロプロセッサからのアクセス信号を
ディジタル処理系の動作クロックにより適当なタイミン
グに変えるタイミング回路とを備え、前記タイミング回
路の出力信号を前記レジスタにタイミング信号として与
えることにより適切なタイミングでデータの授受を行う
ようにして成る電動機制御装置。
In a motor control device consisting of a host microprocessor that performs main motor calculations, and 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 register for data interface between the upper microprocessor and the digital processing system, and a timing circuit that changes an access signal from the upper microprocessor to an appropriate timing using an operating clock of the digital processing system, A motor control device configured to send and receive data at appropriate timing by giving an output signal to the register as a timing signal.
JP2037210A 1990-02-20 1990-02-20 Motor controller Pending JPH03243193A (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP2037210A JPH03243193A (en) 1990-02-20 1990-02-20 Motor controller
KR1019910002683A KR940003006B1 (en) 1990-02-20 1991-02-20 Motor controller
GB9103529A GB2242795B (en) 1990-02-20 1991-02-20 Digital apparatus for controlling operation of electric motor
US07/921,984 US5287045A (en) 1990-02-20 1992-08-03 Fully digital apparatus for controlling operation of electric motor
HK110995A HK110995A (en) 1990-02-20 1995-07-06 Digital apparatus for controlling operation of electric motor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2037210A JPH03243193A (en) 1990-02-20 1990-02-20 Motor controller

Publications (1)

Publication Number Publication Date
JPH03243193A true JPH03243193A (en) 1991-10-30

Family

ID=12491230

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2037210A Pending JPH03243193A (en) 1990-02-20 1990-02-20 Motor controller

Country Status (4)

Country Link
JP (1) JPH03243193A (en)
KR (1) KR940003006B1 (en)
GB (1) GB2242795B (en)
HK (1) HK110995A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014140300A (en) * 2010-02-02 2014-07-31 Gm Global Technology Operations Inc Architecture for robust force and impedance control of series elastic actuators
US10003288B2 (en) 2016-02-03 2018-06-19 Rohm Co., Ltd. Motor control circuit and fan including the same
CN113173466A (en) * 2021-03-23 2021-07-27 上海新时达电气股份有限公司 Elevator interface board and elevator service equipment access method

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19535676C2 (en) * 1994-10-14 1997-10-23 Telefunken Microelectron Method for controlling the power of an induction motor
US5923145A (en) * 1997-08-15 1999-07-13 S-B Power Tool Company Controller for variable speed motor

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6043757B2 (en) * 1981-05-06 1985-09-30 株式会社日立製作所 Electric motor control method and its control device
JPS60183990A (en) * 1984-02-29 1985-09-19 Mitsubishi Electric Corp Speed controller of elevator

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014140300A (en) * 2010-02-02 2014-07-31 Gm Global Technology Operations Inc Architecture for robust force and impedance control of series elastic actuators
US10003288B2 (en) 2016-02-03 2018-06-19 Rohm Co., Ltd. Motor control circuit and fan including the same
CN113173466A (en) * 2021-03-23 2021-07-27 上海新时达电气股份有限公司 Elevator interface board and elevator service equipment access method

Also Published As

Publication number Publication date
KR940003006B1 (en) 1994-04-09
KR920000169A (en) 1992-01-10
GB9103529D0 (en) 1991-04-10
GB2242795A (en) 1991-10-09
HK110995A (en) 1995-07-14
GB2242795B (en) 1994-08-10

Similar Documents

Publication Publication Date Title
JPH04319753A (en) Microprocess and output buffer
JPS61157284A (en) Drive control system of servo motor
JPH06502264A (en) Dynamically switchable multi-frequency clock generator
JPH03243193A (en) Motor controller
JP3350010B2 (en) Three-phase pulse width modulation waveform generator
JP4135132B2 (en) PWM controller
JPH0297296A (en) Motor controller
US6594162B2 (en) Inverter device
JP2684806B2 (en) Integrated circuit
US5287045A (en) Fully digital apparatus for controlling operation of electric motor
JPH0219021A (en) Digital pulse width modulation circuit
JP3931590B2 (en) Electric motor drive control device
JP2000353027A (en) Clock control method and electronic circuit device using the method
JPH0962621A (en) Computer system and command cycle switching method
JPH1153301A (en) Bus arbitration interface
JPS60187279A (en) Digital control system of induction motor
JPH04304186A (en) Motor speed controller
WO2024027557A1 (en) Multi-motor control module and motor driving system
JPS63124773A (en) Controller for inverter
JPH0434169B2 (en)
JPS59108421A (en) Serial-parallel converting system
JPH1198850A (en) Inverter device for air conditioner
JPH05145409A (en) All digital power source synchronizing phase fixing device
JPH01129787A (en) Speed controller for motor
JPS594343Y2 (en) Multiprocessor control circuit