JPH0139119Y2 - - Google Patents

Info

Publication number
JPH0139119Y2
JPH0139119Y2 JP109982U JP109982U JPH0139119Y2 JP H0139119 Y2 JPH0139119 Y2 JP H0139119Y2 JP 109982 U JP109982 U JP 109982U JP 109982 U JP109982 U JP 109982U JP H0139119 Y2 JPH0139119 Y2 JP H0139119Y2
Authority
JP
Japan
Prior art keywords
counter
timer
inverter
interrupt
phase 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.)
Expired
Application number
JP109982U
Other languages
Japanese (ja)
Other versions
JPS58103592U (en
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 filed Critical
Priority to JP109982U priority Critical patent/JPS58103592U/en
Publication of JPS58103592U publication Critical patent/JPS58103592U/en
Application granted granted Critical
Publication of JPH0139119Y2 publication Critical patent/JPH0139119Y2/ja
Granted legal-status Critical Current

Links

Description

【考案の詳細な説明】 本考案はPWMインバータの位相制御装置に関
し、特にマイクロコンピユータ等によりパルス幅
を演算制御して例えば正弦波出力を得るPWMイ
ンバータの位相制御装置に関する。
[Detailed Description of the Invention] The present invention relates to a phase control device for a PWM inverter, and more particularly to a phase control device for a PWM inverter that calculates and controls pulse width using a microcomputer or the like to obtain, for example, a sine wave output.

従来、第1図に示されるようにインバータのパ
ルス幅制御にマイクロコンピユータ(以下マイコ
ンと略記する)を使つた制御方式のものがある。
同図において、20は交流電源、22はこの交流
電源20からの交流を直流に変換する整流素子か
らなる順変換部、24はこの順変換部22の出力
側に並列接続されたコンデンサ、26は逆変換部
(インバータ部)で、相数に応じたスイツチング
素子からなり、実施例では3相のトランジスタブ
リツジ26U,26X,26V,26Y,26W,2
Zから構成されている。また、このインバータ
部26の位相制御回路として、マイコンが利用さ
れており衆知の如く中央演算処理部(MPU)1
にバスライン10を介してROM7,RAM8,
I/Oインターフエース9が接続されている。ま
た、MPU1に割込みIPをかけるたのタイマ2が
設けられていると共に、カウンタトリが信号4に
同期してパルス幅演算データセツトして所要のゲ
ートパルスを発生するカウンタ5及びこのカウン
タ5の出力段に接続されたゲートパルス出力制御
回路6がバスライン10を介して接続されてい
る。このゲートパルス出力制御回路6では極性制
御及び送出制御のための制御信号3に同期してゲ
ートパルスの極性制御及び増幅をを行う。
Conventionally, as shown in FIG. 1, there is a control system that uses a microcomputer (hereinafter abbreviated as microcomputer) to control the pulse width of an inverter.
In the figure, 20 is an AC power supply, 22 is a forward conversion section consisting of a rectifying element that converts AC from this AC power supply 20 into DC, 24 is a capacitor connected in parallel to the output side of this forward conversion section 22, and 26 is a The inverse conversion section (inverter section) consists of switching elements according to the number of phases, and in the embodiment, three-phase transistor bridges 26 U , 26 X , 26 V , 26 Y , 26 W , 2
It is composed of 6 Z. In addition, a microcomputer is used as the phase control circuit of this inverter section 26, and as is well known, a central processing unit (MPU) 1
ROM7, RAM8,
An I/O interface 9 is connected. Further, a timer 2 is provided to apply an interrupt IP to the MPU 1, and a counter 5 whose counter sets pulse width calculation data in synchronization with the signal 4 to generate a required gate pulse; A gate pulse output control circuit 6 connected to the output stage is connected via a bus line 10. This gate pulse output control circuit 6 performs polarity control and amplification of gate pulses in synchronization with the control signal 3 for polarity control and transmission control.

上記構成において、ゲートパルスの生成をリア
ルタイム処理で実行する必要のため、外部タイマ
2から周期T毎に割り込みIPをMPU1にかけて
割込み処理によりゲートパルス生成の演算処理を
行つている。この割込みIPによつて従来方式では
第2図のフローに示されるようなプログラムが起
動される。このフローから理解されるようにカウ
ンタトリガ信号の処理が最初のステツプ11で行
われ、続いてステツプ12でパルス幅の演算を行
つてステツプ13でカウンタ5に演算データをセ
ツトして、ゲートパルス出力制御回路6を介して
インバータ部26のトランジスタ26U〜26Zを駆
動して位相制御を行つている。
In the above configuration, since it is necessary to generate gate pulses in real-time processing, an interrupt I P is sent from the external timer 2 to the MPU 1 every cycle T, and the arithmetic processing for generating gate pulses is performed by interrupt processing. In the conventional system, a program as shown in the flowchart of FIG. 2 is activated by this interrupt IP . As can be understood from this flow, the counter trigger signal is processed in the first step 11, then the pulse width is calculated in step 12, the calculated data is set in the counter 5 in step 13, and the gate pulse is output. The transistors 26 U to 26 Z of the inverter section 26 are driven through the control circuit 6 to perform phase control.

このような従来方式の場合、タイマ2は正確に
周期T毎にMPU1に対して割込み要求を出すが、
この要求が受付けられて第2図のような処理を開
始するには、0〜1インストラクシヨン実行時間
がかかる。即ちインストラクシヨンの実行後に割
込み処理を行うことができる。従つて、第3図に
示されるように、a点で一度トリガ信号が出てか
ら次の割込み要求が出されトリガ信号が出るまで
b点から更にoまたはtの時間がかかる。tは1
インストラクシヨン実行時間なので、実施例では
1.35〜5.42μS程度の間でバラツキ、このバラツキ
はインバータのゲート電流のように速い応答を示
すものを制御する場合には比較的大きな外乱とな
つて制御系に入つてくることになり、制御精度の
低下や誤動作の原因となる。
In the case of such a conventional method, timer 2 issues an interrupt request to MPU 1 exactly every cycle T, but
It takes 0 to 1 instruction execution time to accept this request and start the process shown in FIG. 2. That is, interrupt processing can be performed after the instruction is executed. Therefore, as shown in FIG. 3, once the trigger signal is issued at point a, it takes an additional time o or t from point b until the next interrupt request is issued and the trigger signal is issued. t is 1
Since it is the instruction execution time, in the example
The variation ranges from about 1.35 to 5.42 μS. When controlling something with a fast response like the gate current of an inverter, this variation becomes a relatively large disturbance that enters the control system, and the control accuracy is affected. This may cause a drop in performance or malfunction.

本考案は上記の点に鑑みてなされたもので、マ
イコン等を利用してパルス幅を演算してインバー
タの制御を行う際、外部タイマからの割込み要求
に基くインストラクシヨン実行時間のバラツキに
より影響をなくすことにより制御系の外乱を低減
すると共にハードウエアとソフトウエアの制御分
担の適正化を計つたPWMインバータの位相制御
装置を提供することを目的とする。
This invention was developed in view of the above points.When controlling the inverter by calculating the pulse width using a microcomputer, etc., it is affected by variations in instruction execution time based on interrupt requests from an external timer. The purpose of the present invention is to provide a phase control device for a PWM inverter that reduces disturbances in the control system by eliminating the noise and optimizes the division of control between hardware and software.

以下本考案の一実施例を添附された図面と共に
説明する。
An embodiment of the present invention will be described below with reference to the accompanying drawings.

第4図は本考案の一実施例を示すブロツク図で
第1図と同一符号は同一物を示しその説明は省略
する。
FIG. 4 is a block diagram showing an embodiment of the present invention, and the same reference numerals as in FIG. 1 indicate the same parts, and the explanation thereof will be omitted.

本考案の一実施例では、カウンタ5のトリガ信
号16をタイマ2の割込みIPと同期してタイマ2
から直接与えると共に、ゲートパルス出力制御回
路6の制御信号15もこのトリガ信号16と同期
して与えるように構成している。このように構成
されているため第5図のフローに示されるよう
に、カウンタ5のトリガ信号を処理するステツプ
は省略され、直接ステツプ12のパルス幅演算、
ステツプ13のカウンタへのこの演算データのセ
ツトを行うことになる。従つて、第6図a,b,
cに示すようにタイマ2からの割込信号とカウン
タのトリガ信号が完全に一致すると共に、1イン
ストラクシヨン実行時間tの後に前述した第5図
の割込み処理が行われる。
In one embodiment of the present invention, the trigger signal 16 of the counter 5 is synchronized with the interrupt I P of the timer 2 so that the trigger signal 16 of the counter 5 is
The control signal 15 of the gate pulse output control circuit 6 is also provided in synchronization with this trigger signal 16. Because of this configuration, as shown in the flowchart of FIG. 5, the step of processing the trigger signal of the counter 5 is omitted, and the pulse width calculation and pulse width calculation of step 12 are directly performed.
This calculation data is set in the counter in step 13. Therefore, Fig. 6 a, b,
As shown in c, the interrupt signal from timer 2 and the trigger signal of the counter completely match, and the interrupt processing shown in FIG. 5 described above is performed after one instruction execution time t.

本考案の一実施例は上記の様であり、カウンタ
5のトリガ信号をタイマ2からハード的に直接得
ることによつて、正確で安定したスイツチング周
期を保つことができるため、制御系の外乱は低減
する。更に、マイコンを利用してPWMインバー
タの位相制御を行う場合、ソフトウエアに制御分
担が偏つていた従来方式に比して、ハードウエア
とソフトウエアの制御分担の適正化を計ることが
できる。
One embodiment of the present invention is as described above, and by directly obtaining the trigger signal of the counter 5 from the timer 2 by hardware, it is possible to maintain an accurate and stable switching cycle, so that disturbances in the control system are reduced. reduce Furthermore, when using a microcomputer to control the phase of a PWM inverter, it is possible to optimize the division of control between hardware and software, compared to conventional methods where control is heavily distributed to software.

本考案は以上のようであり、マイコン等を利用
してパルス幅を演算してインバータの位相制御を
行う際、外部タイマからの割込み要求に基づくイ
ンストラクシヨン実行時間のバラツキによる影響
をなくすことができるため制御系の外乱は低減
し、ハードウエアとソフトウエアの制御分担を最
適化できる等の効果を有する。
As described above, the present invention is capable of eliminating the influence of variations in instruction execution time based on interrupt requests from an external timer when controlling the phase of an inverter by calculating the pulse width using a microcomputer or the like. This has the effect of reducing disturbances in the control system and optimizing the division of control between hardware and software.

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

第1図は従来のPWMインバータの位相制御装
置の概略の回路構成を示すブロツク図、第2図は
第1図においてタイマからの割込みによつて起動
されるプログラムのフロー、第3図は第1図にお
けるトリガ信号とインストラクシヨン実行時間の
関係を説明する波形図、第4図は本考案に係る
PWMインバータの位相制御装置の要部の回路構
成を示すブロツク図、第5図は第4図においてタ
イマからの割込みによつて起動されるプログラム
のフロー、第6図a,b,cは第4図におけるタ
イマ割込、カウンタトリガの各信号及び割込み処
理を夫々示す波形図である。 1……MPU、2……タイマ、5……カウンタ、
6……ゲートパルス出力制御回路、7……
ROM、8……RAM、9……I/Oインターフ
エース、10……バス、15……ゲートパルス出
力制御回路の制御信号、16……カウンタトリガ
信号、26……インバータ部、26U,26V,2
W,26X,26Y,26Z…スイツチング素子。
Figure 1 is a block diagram showing the general circuit configuration of a conventional PWM inverter phase control device, Figure 2 is the flow of a program started by an interrupt from the timer in Figure 1, and Figure 3 is a block diagram showing the schematic circuit configuration of a conventional PWM inverter phase control device. A waveform diagram illustrating the relationship between the trigger signal and instruction execution time in the figure, Figure 4 is related to the present invention.
A block diagram showing the circuit configuration of the main part of the phase control device of the PWM inverter. Figure 5 is the flow of the program started by an interrupt from the timer in Figure 4. FIG. 3 is a waveform diagram showing each signal of a timer interrupt and a counter trigger in the figure, and interrupt processing. 1...MPU, 2...Timer, 5...Counter,
6... Gate pulse output control circuit, 7...
ROM, 8... RAM, 9... I/O interface, 10... Bus, 15... Control signal of gate pulse output control circuit, 16... Counter trigger signal, 26... Inverter section, 26 U , 26 V ,2
6 W , 26 X , 26 Y , 26 Z ...Switching elements.

Claims (1)

【実用新案登録請求の範囲】 (1) 外部タイマからの割込みに応じて記憶演算処
理部で所要のパルス幅演算を行い、この演算デ
ータをカウンタにセツトしてインバータを構成
するスイツチング素子にゲートパルスを供給し
て位相制御を行うPWMインバータの位相制御
装置において、前記カウンタのトリガ信号を前
記タイマの割込みに同期して該タイマから直接
与えるように構成したことを特徴とするPWM
インバータの位相制御装置。 (2) 前記タイマから直接与えられるカウンタのト
リガ信号は、前記カウンタの出力段に接続され
たゲートパルス出力制御回路の制御信号を兼ね
ることを特徴とする実用新案登録請求の範囲第
1項記載のPWMインバータの位相制御装置。
[Claims for Utility Model Registration] (1) In response to an interrupt from an external timer, the memory calculation processing section calculates the required pulse width, sets this calculation data in a counter, and sends a gate pulse to the switching element that constitutes the inverter. A phase control device for a PWM inverter that performs phase control by supplying a PWM inverter, characterized in that the trigger signal of the counter is directly provided from the timer in synchronization with an interrupt of the timer.
Inverter phase control device. (2) The utility model according to claim 1, characterized in that the counter trigger signal directly applied from the timer also serves as a control signal for a gate pulse output control circuit connected to the output stage of the counter. PWM inverter phase control device.
JP109982U 1982-01-08 1982-01-08 PWM inverter phase control device Granted JPS58103592U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP109982U JPS58103592U (en) 1982-01-08 1982-01-08 PWM inverter phase control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP109982U JPS58103592U (en) 1982-01-08 1982-01-08 PWM inverter phase control device

Publications (2)

Publication Number Publication Date
JPS58103592U JPS58103592U (en) 1983-07-14
JPH0139119Y2 true JPH0139119Y2 (en) 1989-11-22

Family

ID=30014138

Family Applications (1)

Application Number Title Priority Date Filing Date
JP109982U Granted JPS58103592U (en) 1982-01-08 1982-01-08 PWM inverter phase control device

Country Status (1)

Country Link
JP (1) JPS58103592U (en)

Also Published As

Publication number Publication date
JPS58103592U (en) 1983-07-14

Similar Documents

Publication Publication Date Title
US4870556A (en) Method and apparatus for controlling power converter
JPH07108095B2 (en) Inverter device and control method thereof
JPH0139119Y2 (en)
JP2001112262A (en) Power source with power converter and method for controlling the same
JPS63224698A (en) Speed controller for motor
JP3161139B2 (en) Inverter control method
JPS5858893A (en) Controller for chopper
JP2001228903A (en) Programmable controller
JPH05122940A (en) Pwm control method of current type converter
JPH025676Y2 (en)
JPH0421363A (en) Inverter
JP2708779B2 (en) AC load power control device
JP2870047B2 (en) Inverter current controller
JPH0328912B2 (en)
JP2001169592A (en) Position detection method of brushless dc motor
JPH0412798Y2 (en)
JPH0324158B2 (en)
JP3505293B2 (en) Calculation method of average value of output during feedback control in seam welding
JP2023119319A (en) Motor control device
JP2710661B2 (en) PWM inverter control device
JPH1056775A (en) Power supply for image forming system
JPH01202167A (en) Phase controller for thyristor rectifier
JPH0748952B2 (en) Power converter controller
JP2000050640A (en) Method for generating sine wave pwm control signal of inverter
JPH01144365A (en) Controlling circuit of inverter device