JPH0374176A - Pwm waveform outputting method - Google Patents

Pwm waveform outputting method

Info

Publication number
JPH0374176A
JPH0374176A JP1209371A JP20937189A JPH0374176A JP H0374176 A JPH0374176 A JP H0374176A JP 1209371 A JP1209371 A JP 1209371A JP 20937189 A JP20937189 A JP 20937189A JP H0374176 A JPH0374176 A JP H0374176A
Authority
JP
Japan
Prior art keywords
data
degrees
memory
fundamental wave
time
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
JP1209371A
Other languages
Japanese (ja)
Inventor
Takaaki Oka
岡 孝昭
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.)
Fujitsu General Ltd
Original Assignee
Fujitsu General Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu General Ltd filed Critical Fujitsu General Ltd
Priority to JP1209371A priority Critical patent/JPH0374176A/en
Publication of JPH0374176A publication Critical patent/JPH0374176A/en
Pending legal-status Critical Current

Links

Landscapes

  • Inverter Devices (AREA)
  • Control Of Ac Motors In General (AREA)

Abstract

PURPOSE:To reduce memory capacity by reading out basic data with interval corresponding to the target frequency of load, setting the time data in the real timer in a microcomputer every half period of carrier wave, then inverting the output and producing a PWM waveform necessary for inverter control of the load. CONSTITUTION:An inverter comprises a control section (microcomputer) 10, a first memory 12a for storing basic data concerning to the amplitude of a sinusoidal wave at equally divided positions, a second memory 12b for storing time data, a third memory 12c for storing step data, and a fourth memory 12d for storing voltage data. A timer is reset and started with rising or falling timing of a PWM timer and the output from a real time I/O port is inverted by means of a real timer. By such arrangement, memory capacity can be reduced.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は負荷(例えば空気調和機等の圧縮機)のイン
バータ制御に用いられるpH!H(pluse wid
thmodulaition)波形出力方法に係り、更
に詳しくは負荷に対する相間電圧波形のパルス幅を小さ
くし、負荷の騒音を抑えるPvM波形出力方法に関する
ものである。
[Detailed Description of the Invention] [Industrial Application Field] This invention is a pH control system used for inverter control of a load (for example, a compressor such as an air conditioner). H (plus width)
The present invention relates to a waveform output method (thmodulation), and more specifically to a PvM waveform output method that reduces the pulse width of a phase-to-phase voltage waveform with respect to a load and suppresses load noise.

[従 来 例] 近年、インバータ制御装置は空気調和機だけでなく種々
家電機器に利用されるようになった。
[Conventional example] In recent years, inverter control devices have come to be used not only in air conditioners but also in various home appliances.

ここで、空気調和機を例にして説明すると、第13図に
示されるように、そのインバータ制御装置には、圧縮機
(負荷)1を駆動する複数のスイッチング素子(トラン
ジスタ)からなるパワー・トランジスタ部2と、その圧
縮機1の運転周波数に応じた波形データ、例えば電気角
60度分(あるいは30度分)のタイムデータおよびス
イッチデータを種々記憶するメモリ部3と、その運転周
波数の指令に応じてメモリから所定波形データを読み出
し、この波形データに基づいて前記複数のスイッチング
素子を所定時間ON、OFF制御する制御部(cpu 
;マイクロコンピュータ)4と、その制御信号により上
記複数のトランジスタを駆動するベース駆動部5とが備
えられている。
Here, to explain an air conditioner as an example, as shown in FIG. part 2, a memory part 3 that stores various waveform data corresponding to the operating frequency of the compressor 1, such as time data and switch data for 60 electrical degrees (or 30 degrees), and a memory part 3 that stores various waveform data corresponding to the operating frequency of the compressor 1, and A control unit (cpu
; a microcomputer) 4, and a base drive unit 5 that drives the plurality of transistors according to control signals thereof.

そして、リモコンやパネル等の操作に応じた所定運転周
波数の指令が出力されると、その運転周波数指令に対応
する電気角60度分の波形データがメモリ部3から読み
出され、これら波形データに基づいて圧縮機1のPWM
波形(パルス信号)が得られる。このとき、第14図に
示されるように、その波形データは、時間データ記憶制
御方式である場合、U相、V相、V相の正弦波6,7.
8とキャリア波形9の交点から次の交点までの間隔のデ
ータ(タイムデータ)と、その間のキャリア波形9と正
弦波6との大小のデータ(スイッチデータ)とにより得
られる。この場合、例えば第15図に示されるように、
例えば区間Aにおいては50μsのタイムデータと“0
011/O”のスイッチデータとが得られ、区間Bにお
いては64μsのタイムデータと“/O/O/O”のス
イッチデータとが得られる。なお、スイッチデータの“
X+y*Z”は“u、v、w”を反転したものである。
Then, when a command for a predetermined operating frequency is output in accordance with the operation of a remote control, panel, etc., waveform data for 60 electrical degrees corresponding to the operating frequency command is read out from the memory section 3, and these waveform data are PWM of compressor 1 based on
A waveform (pulse signal) is obtained. At this time, as shown in FIG. 14, in the case of the time data storage control method, the waveform data is U-phase, V-phase, V-phase sine waves 6, 7, .
8 and the carrier waveform 9 to the next intersection (time data), and data on the magnitude of the carrier waveform 9 and the sine wave 6 during that time (switch data). In this case, for example, as shown in FIG.
For example, in section A, 50 μs time data and “0
The switch data of "011/O" is obtained, and in section B, the time data of 64 μs and the switch data of "/O/O/O" are obtained.
“X+y*Z” is the inversion of “u, v, w”.

したがって、メモリ部3には予め上記圧縮機1の運転周
波数に対応したタイムデータおよびスイッチデータ“u
、v、w”が記憶される。また、上記タイムデータおよ
びスイッチデータがメモリより繰り返して読み出され、
それら波形データによる60度分の基本波形パターン(
PWM波形)が繰り返され、1周期のパターン(近似正
弦波)が得られる。
Therefore, the memory section 3 stores time data and switch data "u" corresponding to the operating frequency of the compressor 1 in advance.
, v, w" are stored. Also, the time data and switch data are repeatedly read out from the memory,
Basic waveform pattern for 60 degrees based on those waveform data (
PWM waveform) is repeated to obtain a one-period pattern (approximate sine wave).

更に詳しく説明すると、スイッチデータによりパワー・
トランジスタ部2の各トランジスタをON。
To explain in more detail, the power and
Turn on each transistor in transistor section 2.

OFFする信号が制御部4にて所定時間出力されるが、
最初にその制御部4のI/Oポー1’ (UpVpLX
pY*2)からは時間50μsの間“0011/O”の
信号が出力される。さらに1次にI/Oポート(UpV
*I’tXtY*Z)からは時間64μsの間“/O/
O/O”の信号が出力される。以下同様に、そのI/O
ポート(UyVy’yX+yyZ)からはタイムデータ
の時間の間1”00”を組合せた信号が出力される。す
なわち、 I/Oポートからはそれら′″l It%a
 Q Itの信号のパルス列が出力され、これらパルス
列がベース駆動部5に入力される。すると。
A signal to turn off is output for a predetermined period of time by the control unit 4, but
First, the I/O port 1' (UpVpLX
pY*2) outputs a signal of "0011/O" for a period of 50 μs. Furthermore, the primary I/O port (UpV
*I'tXtY*Z) for a time of 64 μs "/O/
O/O" signal is output. Similarly, the I/O" signal is output.
A signal combining 1"00" is output from the port (UyVy'yX+yyZ) during the time data period. That is, from the I/O port,
A pulse train of the Q It signal is output, and these pulse trains are input to the base drive unit 5. Then.

このベース駆動部5にてパワー・トランジスタ部2の各
トランジスタが駆動され、そのI/Oポートの出力(U
、V、W)に対応するパルス状の電圧波形が圧縮機工に
印加される。それらパルス状電圧により、圧縮機■には
υ−v、v−w、w−u相間電圧波形が印加されるため
、その圧縮機1には近似的な正弦波電流が流れ、圧縮機
1のモータが駆動される。
Each transistor of the power transistor section 2 is driven by this base drive section 5, and the output (U
, V, W) is applied to the compressor. Due to these pulsed voltages, υ-v, v-w, w-u interphase voltage waveforms are applied to the compressor ■, so an approximate sine wave current flows through the compressor 1. The motor is driven.

[発明が解決しようとする課題] しかし、上記インバータ制御装置のPwM波形出力にお
いては、負荷の電圧/運転周波数(V/F)を一定制御
するようになっているため、上記PWM波形を得るデー
タは電気角30度若しくは60度分必要であり、負荷の
運転周波数を極め細かくするにはデータ量が膨大となり
、さらにキャリア周波数も制約され、さらにまたメモリ
部3に記憶するタイムデータをそのマイクロコンピュー
タの処理速度より小さい値(数μs)にできないという
問題点があった。すなわち、上記I/Oボートから出力
される信号(UyVJyXy3’tZ)を圧縮機lに印
加する相間電圧波形で数μs程度にすることができず、
例えば圧縮機1の電流波形の歪が大きくなり、その圧縮
機1の駆動時における運転周波数の可変により段階音が
発生することになる。
[Problems to be Solved by the Invention] However, in the PwM waveform output of the inverter control device, since the voltage/operating frequency (V/F) of the load is controlled constant, the data for obtaining the PWM waveform is requires an electrical angle of 30 or 60 degrees, and the amount of data required to make the load operating frequency extremely fine is enormous. Furthermore, the carrier frequency is also restricted, and the time data stored in the memory section 3 cannot be stored in the microcomputer. There was a problem that the processing speed could not be set to a value smaller than the processing speed (several μs). In other words, the signal (UyVJyXy3'tZ) output from the I/O boat cannot be applied to the compressor 1 in a phase-to-phase voltage waveform of about several μs;
For example, the distortion of the current waveform of the compressor 1 becomes large, and the variation of the operating frequency when the compressor 1 is driven causes a step sound to be generated.

そこで、制御部4として、高速処理のマイクロコンピュ
ータやゲートアレイ回路を用いることが考えられるが、
今のところ高コストになってしまうという問題点がある
Therefore, it is conceivable to use a high-speed processing microcomputer or gate array circuit as the control unit 4.
At present, the problem is that the cost is high.

この発明は上記課題に鑑みなされたものであり。This invention was made in view of the above problems.

その目的はpws波形を得るためのデータを記憶するメ
モリ容量を小さくすることができ、しかも運転運転周波
数の可変をより極め細かくするとともに、負荷による段
階音を抑えることができるようにしたPWM波形出力方
法を提供することにある。
The purpose of this is to reduce the memory capacity required to store the data used to obtain the PWS waveform, and also to provide PWM waveform output that allows for finer variation of the operating frequency and suppresses the gradual noise caused by the load. The purpose is to provide a method.

[課題を解決するための手段] 上記目的を達成するために、この発明のインバータ制御
装置は、所定正弦波を等分割し、該等分割位置における
基本波の高さの値を基本波データとし、かつ、前記正弦
波の0度から60度、60度から120度および120
度から180度における基本波データを記憶する第1の
メモリと、上記正弦波に一定周波数のキャリア波を重畳
し、該キャリア波の山あるいは谷から上記基本波データ
である高さの値に対応するキャリア波の所定位置までの
間隔をタイムデータして記憶する第2のメモリと、負荷
の目標周波数に応じて上記第1のメモリの基本波データ
を読み出す間隔のデータを記憶する第3のメモリと、上
記目標周波数に対応する出力電圧のデータを記憶する第
4のメモリとを有し、上記負荷の目標周波数に応じた読
み込み間隔データに基づいて上記0度から60度、60
度から120度および120度から180度における基
本波データを読み出し。
[Means for Solving the Problems] In order to achieve the above object, the inverter control device of the present invention divides a predetermined sine wave into equal parts, and uses the height value of the fundamental wave at the positions of the equal division as fundamental wave data. , and 0 degrees to 60 degrees, 60 degrees to 120 degrees, and 120 degrees of the sine wave.
a first memory that stores fundamental wave data from 180 degrees to 180 degrees; and a carrier wave of a constant frequency is superimposed on the sine wave, and corresponds to the height value of the fundamental wave data from the peak or trough of the carrier wave. a second memory that stores time data of the interval to a predetermined position of the carrier wave to be read, and a third memory that stores data of the interval for reading the fundamental wave data of the first memory according to the target frequency of the load. and a fourth memory for storing data of the output voltage corresponding to the target frequency, and the frequency range is from 0 degrees to 60 degrees and 60 degrees based on the reading interval data corresponding to the target frequency of the load.
Read fundamental wave data from 120 degrees and from 120 degrees to 180 degrees.

該基本波データと上記電圧データとにより上記第2のメ
モリのタイムデータを得、かつ、これらタイムデータを
上記キャリア波の半周期毎にマイクロコンピュータのリ
アルタイマに設定し、上記マイクロコンピュータのリア
ルタイマI/Oポートの出力を上記タイムデータにより
反転制御し、上記負荷をインバータ制御するU相、V相
およびす相のPVM波形を得るようにしたことを要旨と
する。
The time data of the second memory is obtained from the fundamental wave data and the voltage data, and these time data are set in the real timer of the microcomputer every half period of the carrier wave, and the real timer of the microcomputer is set to the time data of the second memory. The gist is that the output of the I/O port is inverted controlled using the above time data to obtain U-phase, V-phase and S-phase PVM waveforms for inverter control of the load.

[作  用] 上記構成としたので、負荷の運転周波数指令に応じて第
1のメモリの所定基本波データが読み出されるとともに
、これら基本波データにより第2のメモリの所定タイム
データが読み出され、かつ、上記キャリア波の半周期毎
にそのタイムデータがマイクロコンピュータのリアルタ
イマにセットされる。また、負荷の運転周波数によって
、第3のメモリの読み込み間隔データ(ステップデータ
)が変えられ、上記第1のメモリから読み出される基本
波データが変えられるため、第2のメモリから読み出さ
れるタイムデータが異なり、このタイムデータがリアル
タイマにセットされる。しかも、U相、V相およびり相
についてタイムデータがそれぞれリアルタイマにセット
され、しかも上記第3のメモリの読み込み間隔データと
この間隔データによる基本波データにより、幾つかのタ
イムデータが順次読み出され、かつ、キャリア波の半周
期毎にリアルタイマにセットされる。
[Function] With the above configuration, the predetermined fundamental wave data of the first memory is read out in accordance with the operating frequency command of the load, and the predetermined time data of the second memory is read out based on these fundamental wave data. Moreover, the time data is set in the real timer of the microcomputer every half period of the carrier wave. Furthermore, the reading interval data (step data) of the third memory is changed depending on the operating frequency of the load, and the fundamental wave data read from the first memory is changed, so the time data read from the second memory is changed. Differently, this time data is set in a real timer. Moreover, the time data for the U phase, V phase, and the other phase are each set in the real timer, and several pieces of time data are sequentially read out using the reading interval data of the third memory and the fundamental wave data based on this interval data. and is set in the real timer every half period of the carrier wave.

すると、リアルタイムI/Oポートの出力がセットタイ
ムデータに対応する時間に反転制御されるため、そのI
/Oポートからは負荷を上記運転周波数で駆動するため
のPIIM波形が出力され、しかも上記0度から60度
、60度から120度および120度から180度の基
本波データによりU相、V相およびV相についてのPW
M波形が出力される。このように、所定正弦波と一定周
波数のキャリア波とにより得たデータに基づいて、PG
M波形を得ることができ、しかもそのPIIIN波形に
より負荷に印加する相間電圧波形で数μsのものが得ら
れる。
Then, the output of the real-time I/O port is inverted controlled at the time corresponding to the set time data, so the I/O
The PIIM waveform for driving the load at the above operating frequency is output from the /O port, and the U-phase and V-phase are and PW for V phase
M waveform is output. In this way, the PG
An M waveform can be obtained, and the PIIIN waveform allows an interphase voltage waveform of several μs to be applied to the load.

[実 施 例] 以下、この発明の実施例を図面に基づいて説明する。な
お、第1図中、第13図と同一部分には同一符号を付し
重複説明を省略する。
[Example] Hereinafter, an example of the present invention will be described based on the drawings. Note that in FIG. 1, the same parts as in FIG. 13 are given the same reference numerals, and redundant explanation will be omitted.

第1図乃至第8図において、インバータ制御装置には、
リアルタイムおよびそのI/Oポートを備えた制御部(
cpu;マイクロコンピュータ)/Oと、所定正弦波1
1を等分割としく例えばその正弦波60度を256等分
割とし)、この等分割位置にて得られる正弦波11の高
さの値を基本波データとし、かつ、同様にして60度か
ら120度および120度から180度の等分割位置に
て得られる正弦波11の高さの値を基本波として記憶す
る第1のメモリ12aと、その正弦波11に一定周波数
のキャリア波13を重畳し、このキャリア波13の山あ
るいは谷の点から上記等分割による正弦波11の高さの
値の位置までの間隔をタイムデータ1.IIとして記憶
する第2の一メモリ12bと、目標運転周波数に応じて
上記基本波データを読み出すステップデータを記憶する
第3のメモリ12cおよびその目標運転周波数に応じた
タイムデータを得るために、そのステップデータにより
読み出された基本波データに乗算する電圧データを記憶
する第4のメモリ12dとを有するメモリ部12とが備
えられている。なお、第2図において、上記基本波デー
タが等分割における平均値になっているが、その等分割
の一端部における値であってもよい。また、第2図乃至
第4図は正弦波11の波高値Hを256とし、キャリア
周波数fcを3゜3kl(zとし、制御率の最大値を2
とした場合のデータになっている。
In FIGS. 1 to 8, the inverter control device includes:
Control unit with real-time and its I/O ports (
cpu (microcomputer)/O and a predetermined sine wave 1
1 is divided into equal parts (for example, the 60 degree sine wave is divided into 256 equal parts), the height value of the sine wave 11 obtained at this equal division position is taken as the fundamental wave data, and in the same way from 60 degrees to 120 degrees. A first memory 12a stores the height values of the sine wave 11 obtained at equal division positions from 120 degrees to 180 degrees as a fundamental wave, and a carrier wave 13 of a constant frequency is superimposed on the sine wave 11. , the interval from the peak or valley point of this carrier wave 13 to the position of the height value of the sine wave 11 resulting from the above-mentioned equal division is defined as time data 1. A second memory 12b that stores step data as II, a third memory 12c that stores step data for reading out the fundamental wave data according to the target operating frequency, and a third memory 12c that stores step data for reading out the fundamental wave data according to the target operating frequency, and The memory unit 12 includes a fourth memory 12d that stores voltage data to be multiplied by the fundamental wave data read by the step data. In FIG. 2, the fundamental wave data is an average value in equal division, but it may be a value at one end of the equal division. In addition, in FIGS. 2 to 4, the peak value H of the sine wave 11 is 256, the carrier frequency fc is 3°3 kl (z, and the maximum value of the control rate is 256.
The data is for the case.

ここで、第2図乃至第8図を参照して、上記第1乃至第
4のメモリに記憶されるデータおよびこのデータによる
タイムデータI、■の算出方法について説明する。
Here, with reference to FIGS. 2 to 8, the data stored in the first to fourth memories and the method of calculating time data I and (2) using this data will be explained.

まず、例えば第2図に示されるように、波高値(H=2
56)の正弦波11の60度を256等分割し、この等
分割における正弦波11の高さ(Ha)をHa = 2
55sin(Jにより算出し、この算出した値を基本波
データとする。さらに、上記同様にして正弦波11の6
0度〜120度および120度〜180度おいても、そ
れぞれを256に等分割し、この等分割における正弦波
11の高さを算出し、この算出した値を基本波データと
する(第5図に示す)。また、第3図および第4図に示
されるように、傾き負のキャリア波2の山からそのキャ
リア波13と基本波データとの交差点までの間隔(時間
)をタイムデータIとし、傾き正のキャリア波13の谷
からそのキャリア波13と基本波データとの交差点まで
の間隔(時間)をタイムデータ■とする(第6図に示す
)。さらに、運転周波数に応じて第1のメモリ12aの
基本波データを繰り返し読み出すために、読み出す間隔
データを算出し、例えば15七である場合、最初から三
つ目の基本波データ(3,222あるいは220)、こ
の三つ目から四つ目の基本波データ(7,224あるい
は217)、この四つ目から三つ目の基本波データ、こ
の三つ目から四つ目の基本波データおよびこの四つ目か
ら三つ目の基本波データを繰り返し読み出すための間隔
データ“3,4,3,4.3”を算出する(第7図に示
す)。その読み出された基本波データにより上記タイム
デーIあるいは■を得るため、上記基本波データに所定
電圧データを乗算し、この結果得られた算出値によりタ
イムデータIあるいは■を得るための電圧データが算出
される(第8図に示す)。なお、上記第2のメモリ12
bには上記算出値がタイムデータ1.IIに対応して記
憶されている(第6図に示す)。
First, as shown in FIG. 2, for example, the peak value (H=2
56) 60 degrees of the sine wave 11 is divided into 256 equal parts, and the height (Ha) of the sine wave 11 in this equal division is Ha = 2
55 sin (calculated by J, and this calculated value is used as fundamental wave data.Furthermore, in the same manner as above, 6 of sine wave 11
0 degrees to 120 degrees and 120 degrees to 180 degrees are also divided into 256 equal parts, the height of the sine wave 11 in these equal divisions is calculated, and this calculated value is used as the fundamental wave data (5th (shown in figure). In addition, as shown in FIGS. 3 and 4, the interval (time) from the peak of carrier wave 2 with a negative slope to the intersection of the carrier wave 13 and the fundamental wave data is defined as time data I, and the interval (time) with a positive slope The interval (time) from the trough of the carrier wave 13 to the intersection of the carrier wave 13 and the fundamental wave data is defined as time data ■ (shown in FIG. 6). Furthermore, in order to repeatedly read the fundamental wave data of the first memory 12a according to the operating frequency, read interval data is calculated. For example, if it is 157, the third fundamental wave data from the beginning (3, 222 or 220), this third to fourth fundamental wave data (7, 224 or 217), this fourth to third fundamental wave data, this third to fourth fundamental wave data, and this Interval data "3, 4, 3, 4.3" for repeatedly reading out the fourth to third fundamental wave data is calculated (as shown in FIG. 7). In order to obtain the time data I or ■ using the read fundamental wave data, the fundamental wave data is multiplied by predetermined voltage data, and the voltage data for obtaining the time data I or ■ from the calculated value obtained as a result. is calculated (shown in FIG. 8). Note that the second memory 12
b, the above calculated value is time data 1. II (shown in FIG. 6).

次に、上記インバータ制御装置の動作を第9図乃至第1
1図のフローチャート図および第12図゛のタイムチャ
ート図に基づいて説明する。
Next, the operation of the above-mentioned inverter control device is shown in FIGS. 9 to 1.
This will be explained based on the flowchart shown in FIG. 1 and the time chart shown in FIG. 12.

まず、圧縮機1の運転周波数指令が例えば15Hzで出
されているものとすると、制御部/O内のPVMタイマ
が所定時間1例えば2 / f c(41501Js)
に設定されているため(ステップ5TI)、そのPII
Mタイマは150μsで繰り返し動作する(第12図(
a)に示す)。すると、そのPVMタイマのタイマ時間
経過、つまりPIIIMタイマの立上りあるいは立ち下
がりのタイミングであるか否かが判断され(ステップ5
T2)、そのタイマ時間が経過していない場合には上記
運転周波数の変更であるか否かの判断が行われる(ステ
ップ5T3)、その運転周波数に変更がない場合にはス
テップST2に戻り、上記ステップが繰り返される。
First, assuming that the operating frequency command of the compressor 1 is issued at, for example, 15 Hz, the PVM timer in the control unit/O is set for a predetermined period of time 1, for example, 2/f c (41501 Js).
(Step 5TI), its PII
The M timer operates repeatedly at 150 μs (see Figure 12 (
(shown in a)). Then, it is determined whether the timer time of the PVM timer has elapsed, that is, it is the rising or falling timing of the PIIIM timer (step 5).
T2), if the timer time has not elapsed, it is determined whether or not the operating frequency is changed (step 5T3); if there is no change in the operating frequency, the process returns to step ST2, and the above-mentioned Steps are repeated.

上記運転周波数が変更している場合、例えば前の運転周
波数が16Hzから15胞に変えられた場合、周波数デ
ータのセット処理が行われ(ステップ5T4)、この場
合運転周波数が15胞であるため、読み込み間隔データ
5n(Sl乃至SS)は“3.4.4 。
When the above operating frequency has changed, for example, when the previous operating frequency was changed from 16 Hz to 15 Hz, frequency data setting processing is performed (step 5T4), and in this case, since the operating frequency is 15 Hz, The reading interval data 5n (Sl to SS) is "3.4.4."

3.4”から“3,4,3,4.3”に変えられ、この
”3,4,3,4.3”が読み出されてセットされる(
ステップ5TIO)、さらに、その15止の運転周波数
に対応する電圧データ(V)の“17″が読み出されて
セットされ(ステップ5TII)、再びステップST2
に戻り、上記ステップが繰り返される。
3.4” is changed to “3, 4, 3, 4.3”, and this “3, 4, 3, 4.3” is read and set (
Step 5TIO), furthermore, "17" of the voltage data (V) corresponding to the 15th operating frequency is read out and set (Step 5TII), and again in Step ST2.
Return to and repeat the above steps.

続いて、ステップST2において、Pli1Mタイマの
タイマ時間の経過、つまり1wMタイマの立上りあるい
は立ち下がりのタイミングになると、波形データをセッ
トするための割込みが発生し、タイマlのリセット、ス
タートが行われ(ステップ3T20)、また既に得られ
ているタイムデータがリアルタイマにセットされる(ス
テップ5T21)、なお、そのリアルタイムのセットは
それぞれU相、V相およびV相について行われる。
Subsequently, in step ST2, when the timer time of the Pli1M timer elapses, that is, when the 1wM timer rises or falls, an interrupt is generated to set the waveform data, and the timer 1 is reset and started ( Step 3T20), and the already obtained time data is set in the real timer (step 5T21). Note that the real-time setting is performed for the U phase, V phase, and V phase, respectively.

続いて、次回のタイムデータ、例えばU相について説明
すると、既に得られているタイムデータがIである場合
にはタイムデータ■を得る処理が行われる。上記リアル
タイマにセットされたタイムデータIが読み込み間隔デ
ータS1”3”によるものである場合、次の間隔データ
S 、 IJ 4 #jによりNo=No+S、=3+
4=7が算出され(ステップ5T22)、このNo=7
に対応する基本波データが読み出されてセットされる(
ステップ5T23)、さらに。
Next, the next time data, for example, the U phase, will be explained. When the already obtained time data is I, a process is performed to obtain time data ■. If the time data I set in the real timer is based on the read interval data S1 "3", then No=No+S, =3+ due to the next interval data S, IJ4 #j
4=7 is calculated (step 5T22), and this No=7
The fundamental wave data corresponding to is read out and set (
Step 5T23), and further.

その基本波データと電圧データ゛’17”との乗算処理
が行われるが、圧縮機1の最大制御率が2の場合、0.
01の精度の制御率を得るため/O0倍、つまり制御率
2は電圧データ“200 ”となり、電圧データがit
 17 uが制御率0.17を示すため、基本波データ
×177200の演算が行われ、第6図に示す所定算出
値が得られる(ステップ5T24)、すると、その算出
値に対応するタイムデータが得られるが1例えば前回の
タイムデータが!である場合には■より今回の算出値に
対応するタイムデータが第1のメモリ12bからRAM
(内部メモリ)にセットされる。さらに、U相について
説明したが、第5図に示す0度から60度、60度から
120度および120度から180度の基本波データに
基づいて、U相、V相およびす相の三相に対応するタイ
ムデータが第2のメモリ12bからRAMのV、Vにセ
ットされると、ステップST3に戻り上記ステップが繰
り返される。一方、上記タイマ1のタイム時間がリアル
タイマにセットした値になると、リアルタイマにてリア
ルタイムI/Oポートの出力が反転制御され(第12図
(b)に示す)。なお、その反転制御はそれぞれU相、
V相およびす相について行われる。
The fundamental wave data is multiplied by the voltage data "'17", but when the maximum control rate of the compressor 1 is 2, 0.
In order to obtain a control rate with an accuracy of 01, /O0 times, that is, the control rate 2 becomes voltage data "200", and the voltage data is
Since 17 u indicates a control rate of 0.17, the calculation of fundamental wave data x 177200 is performed, and the predetermined calculated value shown in FIG. 6 is obtained (step 5T24). Then, the time data corresponding to the calculated value is For example, you can get the previous time data! In this case, the time data corresponding to the current calculated value is transferred from the first memory 12b to the RAM.
(internal memory). Furthermore, although we have explained the U phase, based on the fundamental wave data from 0 degrees to 60 degrees, 60 degrees to 120 degrees, and 120 degrees to 180 degrees shown in Fig. When the time data corresponding to is set from the second memory 12b to V, V of the RAM, the process returns to step ST3 and the above steps are repeated. On the other hand, when the time of timer 1 reaches the value set in the real timer, the real timer inverts the output of the real time I/O port (as shown in FIG. 12(b)). In addition, the reversal control is performed for the U phase and
This is done for the V phase and the S phase.

続いて、上記ステップST2において、PIi1Mタイ
マのタイマ時間が経過すると、再び波形データをセット
するための割込みが発生し、タイマ1のリセット、スタ
ーが行われ、上記ステップ5T25にてRAMのυ、V
、Wにセットされた値がそれぞれリアルタイマにセット
される。さらに、上述同様に次回のタイムデータを得る
ための処理が行われ、ステップST3に戻される。一方
、上記タイマ1のタイム時間が上記U相についてリアル
タイマにセットした値になると、リアルタイマにてリア
ルタイムI/Oボートの出力が反転制御され(第12図
(b)に示す)。なお、その反転制御は上述同様にそれ
ぞれυ相、V相およびV相について行われる。
Subsequently, in the above step ST2, when the timer time of the PIi1M timer elapses, an interrupt is generated to set the waveform data again, the timer 1 is reset and started, and in the above step 5T25, υ, V of the RAM are
, W are respectively set in the real timer. Furthermore, processing for obtaining the next time data is performed in the same manner as described above, and the process returns to step ST3. On the other hand, when the time of the timer 1 reaches the value set in the real timer for the U phase, the real timer inverts the output of the real time I/O boat (as shown in FIG. 12(b)). Note that the inversion control is performed for the υ phase, the V phase, and the V phase, respectively, as described above.

また、リアルタイムI/Oボートの出力(U相、V相お
よびす相PWM波形出力)の反転をX相、y相および2
相PVM波形として得ることにより、′1”80”のU
相、■相、l11相、X相、y相および2相PVM波形
が得られ、これらパルス列がベース駆動部5に入力され
る。すると、そのベース駆動部5にてパワー・トランジ
スタ部2の各トランジスタが駆動され、上記PWM波形
に対応するパルス状の電圧波形が圧縮機1に印加される
ため、圧縮機lにはU−V。
In addition, the inversion of the real-time I/O boat output (U-phase, V-phase, and S-phase PWM waveform output) is
By obtaining the phase PVM waveform, the U of '1"80"
Phase, ■ phase, l11 phase, X phase, y phase, and two-phase PVM waveforms are obtained, and these pulse trains are input to the base drive unit 5. Then, each transistor of the power transistor section 2 is driven by the base drive section 5, and a pulse-like voltage waveform corresponding to the above-mentioned PWM waveform is applied to the compressor 1. .

v−xi 、 w−υ相間電圧波形が印加され、その圧
縮機1には近似的な正弦波電流が流れ、圧縮機1のモー
タが駆動される。
V-xi, w-v interphase voltage waveforms are applied, an approximate sinusoidal current flows through the compressor 1, and the motor of the compressor 1 is driven.

このように、メモリ部12には、所定正弦波11による
一つの基本波データと、一定周波数としたキャリア波1
3とその基本波データによるタイムデータIおよび■と
、運転周波数に対応してそのタイムデータを得るため、
上記基本波データの読み込むステップデータ(読み込み
間隔データ)と運転周波数に対応する電圧データとが設
けられ、それらデータにより圧縮機1の運転周波数対応
してタイムデータを得ることができるので、メモリ部1
2の容量が少なくてよく、しかもキャリア周波数が運転
周波数の可変に対して一定のままである。そのため、圧
縮機1をインバータ制御するに際し、圧縮機1に印加す
る相間電圧波形が数μsのパルスにすることができ、圧
縮機1の電流波形がより正弦波に近くなり(つまりその
電流波形の歪が小さくなり)、その電流波形に含まれる
高調波成分が低減され、その圧縮機1の騒音が抑えられ
る。
In this way, the memory unit 12 stores one fundamental wave data based on the predetermined sine wave 11 and a carrier wave 1 with a constant frequency.
3 and the time data I and ■ based on the fundamental wave data, and to obtain the time data corresponding to the operating frequency,
Step data (reading interval data) for reading the fundamental wave data and voltage data corresponding to the operating frequency are provided, and time data corresponding to the operating frequency of the compressor 1 can be obtained using these data.
2, and the carrier frequency remains constant as the operating frequency changes. Therefore, when controlling the compressor 1 with an inverter, the interphase voltage waveform applied to the compressor 1 can be made into a pulse of several microseconds, and the current waveform of the compressor 1 becomes closer to a sine wave (that is, the current waveform of the compressor 1 becomes more similar to a sine wave). distortion is reduced), harmonic components included in the current waveform are reduced, and noise from the compressor 1 is suppressed.

[発明の効果] 以上説明したように、この発明のPvM波形出力方法に
よれば、所定正弦波を等分割し、この等分割位置におけ
る基本波データと、その正弦波に−定周波数のキャリア
波を重畳し、このキャリア波の山あるいは谷から上記基
本波データに対応する位置までの間隔データ(スイッチ
ングデータ;タイムデータ)と、負荷(圧縮機)の運転
周波数に応じて上記基本波データを読み込む間隔データ
と、上記運転周波数に対する出力電圧データと備え、圧
縮機の運転周波数に応じた読み込み間隔データに応じた
基本波データと出力電圧データより演算処理を行なうと
ともに、この演算処理にて得られたタイムデータをリア
ルタイムに設定し、リアルタイムI/Oポートの出力波
形をPVM波形としたので。
[Effects of the Invention] As explained above, according to the PvM waveform output method of the present invention, a predetermined sine wave is equally divided, and fundamental wave data at the equally divided positions and a constant frequency carrier wave are added to the sine wave. and reads the fundamental wave data according to the interval data (switching data; time data) from the peak or trough of this carrier wave to the position corresponding to the fundamental wave data and the operating frequency of the load (compressor). Interval data and output voltage data for the above operating frequency are provided, and calculation processing is performed using the fundamental wave data and output voltage data corresponding to the reading interval data corresponding to the operating frequency of the compressor, and the The time data was set to real time, and the output waveform of the real-time I/O port was set to PVM waveform.

PVM波形を得るデータが少なく、メモリ容量が小さく
てよく、しかも運転周波数の可変に対してキャリア周波
数を一定のままにすることができ、また圧縮機に印加す
る相間電圧波形において数μsのパルス幅のものを得る
ことができるため、圧縮機の電流波形の歪を小さくし、
かつ、その電流波形に含まれる高調波成分を低減し、そ
の圧縮機の騒音を抑えることができる。
The amount of data required to obtain the PVM waveform is small, the memory capacity is small, the carrier frequency can be kept constant even when the operating frequency is varied, and the pulse width of several μs can be achieved in the phase-to-phase voltage waveform applied to the compressor. This reduces the distortion of the compressor current waveform, and
Moreover, it is possible to reduce harmonic components included in the current waveform and suppress the noise of the compressor.

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

第工図はこの発明の一実施例を示し、PGM波形が適用
されるインバータ制御装置の概略的ブロック図、第2図
乃至第4図は上記PWM波形出力方法に用いられるデー
タ算出を説明するための図、第5図乃至第8図は上記P
WM波形出力方法に用いられるメモリの内容を説明する
ための図、第9図乃至第11図および第12図は上記P
VM波形出力方法をを説明するためのフローチャート図
およびタイムチャート図、第13図は従来のインバータ
制御装置の概略的ブロック図、第14図は従来のインバ
ータ制御装置のPVM波形出力方法に用いられるデータ
を得る方法を説明するための図、第15図は従来のイン
バータ制御装置のPVM波形出力方法に用いられるメモ
リの内容を説明するための図である。 図中、1は圧縮機(負荷)、2はパワー・トランジスタ
部(複数のスイッチング素子)、5はベース駆動部、/
Oは制御部(cpu :マイクロコンピュータ)。 11は正弦、波、12はメモリ部、12aは第Iのメモ
リ(基本波データ)、12bは第2のメモリ(タイムデ
ータ) 、12cは第3のメモリ(読み込み間隔データ
)、12dは第4のメモリ(出力電圧データ)、13は
キャリア波形である。 第1図
Fig. 4 shows one embodiment of the present invention, and is a schematic block diagram of an inverter control device to which a PGM waveform is applied, and Figs. 2 to 4 are for explaining data calculation used in the above-mentioned PWM waveform output method. Figures 5 to 8 are from P above.
Figures 9 to 11 and 12, which are diagrams for explaining the contents of the memory used in the WM waveform output method, are shown in the above P.
A flowchart and a time chart for explaining the VM waveform output method, FIG. 13 is a schematic block diagram of a conventional inverter control device, and FIG. 14 is data used in the PVM waveform output method of the conventional inverter control device. FIG. 15 is a diagram for explaining the contents of a memory used in a conventional PVM waveform output method of an inverter control device. In the figure, 1 is a compressor (load), 2 is a power transistor section (several switching elements), 5 is a base drive section, /
O is a control unit (CPU: microcomputer). 11 is a sine wave, 12 is a memory section, 12a is the I-th memory (fundamental wave data), 12b is the second memory (time data), 12c is the third memory (reading interval data), 12d is the fourth memory memory (output voltage data), 13 is a carrier waveform. Figure 1

Claims (1)

【特許請求の範囲】[Claims] (1)所定正弦波を等分割し、該等分割位置における基
本波の高さの値を基本波データとし、かつ、前記正弦波
の0度から60度、60度から120度および120度
から180度における基本波データを記憶する第1のメ
モリと、 前記正弦波に一定周波数のキャリア波を重畳し、該キャ
リア波の山あるいは谷から前記基本波データである高さ
の値に対応するキャリア波の所定位置までの間隔をタイ
ムデータして記憶する第2のメモリと、 負荷の目標周波数に応じて前記第1のメモリの基本波デ
ータを読み出す間隔のデータを記憶する第3のメモリと
、 前記目標周波数に対応する出力電圧のデータを記憶する
第4のメモリとを有し、 前記負荷の目標周波数に応じた読み込み間隔データに基
づいて前記0度から60度、60度から120度および
120度から180度における基本波データを読み出し
、該基本波データと前記電圧データとにより前記第2の
メモリのタイムデータを得、かつ、これらタイムデータ
を前記キャリア波の半周期毎にマイクロコンピュータの
リアルタイマに設定し、前記マイクロコンピュータのリ
アルタイマI/Oポートの出力を前記タイムデータによ
り反転制御し、前記負荷をインバータ制御するU相、V
相およびW相のPWM波形を得るようにしたことを特徴
とするPWM波形出力方法。
(1) A predetermined sine wave is equally divided, the height value of the fundamental wave at the equally divided position is used as fundamental wave data, and from 0 degrees to 60 degrees, from 60 degrees to 120 degrees, and from 120 degrees a first memory that stores fundamental wave data at 180 degrees; and a carrier wave that superimposes a carrier wave of a constant frequency on the sine wave and that corresponds to the height value of the fundamental wave data from the peak or trough of the carrier wave. a second memory that stores time data of an interval to a predetermined position of the wave; a third memory that stores data of an interval for reading the fundamental wave data of the first memory according to a target frequency of the load; and a fourth memory that stores output voltage data corresponding to the target frequency, and the output voltage is adjusted from 0 degrees to 60 degrees, from 60 degrees to 120 degrees, and from 120 degrees based on reading interval data corresponding to the target frequency of the load. read out fundamental wave data at 180 degrees from 180 degrees, obtain time data in the second memory using the fundamental wave data and the voltage data, and transfer these time data to the microcomputer real time every half period of the carrier wave. A U-phase and V
A PWM waveform output method characterized in that PWM waveforms of phase and W phase are obtained.
JP1209371A 1989-08-11 1989-08-11 Pwm waveform outputting method Pending JPH0374176A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1209371A JPH0374176A (en) 1989-08-11 1989-08-11 Pwm waveform outputting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1209371A JPH0374176A (en) 1989-08-11 1989-08-11 Pwm waveform outputting method

Publications (1)

Publication Number Publication Date
JPH0374176A true JPH0374176A (en) 1991-03-28

Family

ID=16571824

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1209371A Pending JPH0374176A (en) 1989-08-11 1989-08-11 Pwm waveform outputting method

Country Status (1)

Country Link
JP (1) JPH0374176A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06222806A (en) * 1992-04-02 1994-08-12 Deutsche Aerospace Ag Method and apparatus for digital modulation

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6096179A (en) * 1983-10-28 1985-05-29 Hitachi Ltd Controller of pulse width modulation inverter

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6096179A (en) * 1983-10-28 1985-05-29 Hitachi Ltd Controller of pulse width modulation inverter

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06222806A (en) * 1992-04-02 1994-08-12 Deutsche Aerospace Ag Method and apparatus for digital modulation

Similar Documents

Publication Publication Date Title
JP4054000B2 (en) Control device and control method for inverter for driving three-phase motor
WO2006129706A1 (en) Motor drive driving circuit
JPH0374176A (en) Pwm waveform outputting method
JP2637564B2 (en) Microcomputer with built-in motor controller circuit
KR900000769B1 (en) Devices for generating three - phase pwm waveforms for control of induction motor
JPH0219021A (en) Digital pulse width modulation circuit
JP2762628B2 (en) Inverter control device
JP3289921B2 (en) Programmable controller
JPH033696A (en) Control device for inverter
JP3266675B2 (en) controller
JPH03118793A (en) Inverter controller
JPH03112367A (en) Inverter controller
JPH0426244B2 (en)
JPS6130980A (en) Motor controller
JP4653692B2 (en) Micro-step drive device for stepping motor
JPH03277192A (en) Ac servo motor control circuit
JPH02188194A (en) Controlling method for inverter
SU1124418A1 (en) Variable-frequency electric drive
JPS62104480A (en) Pulse width modulation signal generator for inverter
SU1144088A1 (en) Setting device for digital servodrive
JPH09163759A (en) Digital pwm controller
JPS603679Y2 (en) 4-phase pulse motor drive control circuit
JPS59153494A (en) Controller for motor
JPS5836175A (en) Controller for pulse width modulation inverter
JPH06253546A (en) Pwm inverter controller