JP2001153899A - Method of operating digital sine wave for power converter - Google Patents

Method of operating digital sine wave for power converter

Info

Publication number
JP2001153899A
JP2001153899A JP33563599A JP33563599A JP2001153899A JP 2001153899 A JP2001153899 A JP 2001153899A JP 33563599 A JP33563599 A JP 33563599A JP 33563599 A JP33563599 A JP 33563599A JP 2001153899 A JP2001153899 A JP 2001153899A
Authority
JP
Japan
Prior art keywords
angle
sine
value data
degrees
sine value
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
JP33563599A
Other languages
Japanese (ja)
Inventor
Satoshi Kusumoto
敏 楠本
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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric Co 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 Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP33563599A priority Critical patent/JP2001153899A/en
Publication of JP2001153899A publication Critical patent/JP2001153899A/en
Pending legal-status Critical Current

Links

Landscapes

  • Inverter Devices (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce a required data volume without lowering angular resolution when a digital sine wave is generated. SOLUTION: A relation between angles A, B and a prescribed number g is expressed as A=g.B, where A>B and cos A≈1 are satisfied. When a sine of the sum of an angle nA and an angle mB is found by an addition theorem using an optional number n and an optional number m selected from 0 to g, cos(mB)≈1 is satisfied becuase of mB<=A, and an expression sin(nA+mB)≈sin(nA)+cos(nA).sin(mB) is provided thereby. For example, the data volume of values of sin(mB) is 250 words in m=250, the respective data volumes of values of sin(nA) and cos(nA) are 360 words in n=360, and sine values from 0 degree up to 360 degree are computed at 0.004 degree of pitch.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、電力変換装置の
波形基準となる正弦波をディジタル演算により求める電
力変換装置のディジタル正弦波演算方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital sine wave calculation method for a power conversion device for obtaining a sine wave as a waveform reference of the power conversion device by digital calculation.

【0002】[0002]

【従来の技術】電力変換装置として、パルス幅変調制御
により直流電力を交流電力に変換するディジタル制御の
PWMインバータを例にして、本発明の詳細を以下に説
明することにする。ディジタル制御のPWMインバータ
が、入力する直流電力を交流電力に変換するにあたっ
て、電圧・電流制御をするために、ディジタル正弦波指
令を生成する必要がある。
2. Description of the Related Art As an example of a power converter, a digitally controlled PWM inverter for converting DC power into AC power by pulse width modulation control will be described in detail as an example. When a digitally controlled PWM inverter converts input DC power into AC power, it is necessary to generate a digital sine wave command in order to control voltage and current.

【0003】図4はディジタル正弦波指令を生成させる
第1従来例を示した回路図であって、電源1が出力する
正弦波形の電圧信号を、コンパレータ2,PLL(フェ
イズ・ロックド・ループ)回路3およびカウンタ4を介
してコンピュータ5へ取り込む。角周波数ωと時間tと
が定まれば、正弦値は数式y=sin ωtにより演算でき
る。時間信号tをカウンタ4からコンピュータ5へ与え
れば、角周波数ωは既知であることから、正弦値を演算
できる。またはカウンタ4の出力をアドレスとしてコン
ピュータ5へ与えれば、予めメモリーに記憶させている
正弦値データを読み出すことで、所望の正弦値が得られ
るが、後者の方法でディジタル正弦波指令を生成させる
のが一般的である。
FIG. 4 is a circuit diagram showing a first conventional example for generating a digital sine wave command. A voltage signal having a sine waveform output from a power supply 1 is supplied to a comparator 2 and a PLL (phase locked loop) circuit. The data is taken into the computer 5 via the counter 3 and the counter 4. When the angular frequency ω and the time t are determined, the sine value can be calculated by the equation y = sin ωt. When the time signal t is supplied from the counter 4 to the computer 5, the sine value can be calculated because the angular frequency ω is known. Alternatively, if the output of the counter 4 is given to the computer 5 as an address, the desired sine value can be obtained by reading the sine value data stored in the memory in advance. However, the digital sine wave command is generated by the latter method. Is common.

【0004】[0004]

【発明が解決しようとする課題】ところで前述した後者
の方法でディジタル正弦波指令を生成させるには、1周
期分,すなわち360度分のデータを正弦波テーブルに
記憶させなければならないが、360度分のデータがど
の程度の量になるかは、生成する正弦波形の精度によっ
て異なる。正弦波形の精度を良好にさせるには、角度の
分解能を可能なかぎり向上させれば良いのであるが、角
度分解能を向上させること,すなわち角度を細分化させ
ることは、メモリー領域をより一層大きくしなければな
らない欠点を生じることになる。
In order to generate a digital sine wave command by the latter method, data for one cycle, that is, 360 degrees, must be stored in the sine wave table. The amount of minute data depends on the accuracy of the generated sine waveform. To improve the accuracy of the sinusoidal waveform, it is necessary to improve the angular resolution as much as possible. However, improving the angular resolution, that is, subdividing the angle, makes the memory area even larger. This has the disadvantage of having to be done.

【0005】図5は従来の正弦値データを格納するテー
ブルのテーブルマップ図であって、例えば正弦波の角度
分解能が0.004度であるとすると、1周期は360
度であるから、360÷0.004=90000(ワー
ド)という大きなデータ量が必要になる。従って、サイ
ン・テーブル6には90000ワードのデータを格納で
きる能力を必要とする。
FIG. 5 is a table map diagram of a conventional table for storing sine value data. For example, if the angular resolution of a sine wave is 0.004 degrees, one cycle is 360.
Therefore, a large data amount of 360 / 0.004 = 90000 (words) is required. Therefore, the sign table 6 needs the ability to store 90000 words of data.

【0006】そこでこの発明の目的は、ディジタル正弦
波を生成する際に、角度分解能を低下させずに必要なデ
ータ量を削減することにある。
SUMMARY OF THE INVENTION It is an object of the present invention to reduce the amount of data required for generating a digital sine wave without lowering the angular resolution.

【0007】[0007]

【課題を解決するための手段】前記の目的を達成するた
めに、この発明の電力変換装置のディジタル正弦波演算
方法は、第1の発明では、角度Aと角度Bと所定数gと
があり、これらをA=g・Bなる関係にすれば、A>B
である。ここで cosA≒1となるように角度Aを定め
る。nを任意の数とし、mを0から所定数gまでの間の
任意の数とするならば、角度nAと角度mBの和の正弦
を加法定理により求めることができるが、mB≦Aであ
ることから、 cos(mB)≒1となる。よって角度nA
と角度mBの和の正弦は下記の数式1で表すことができ
る。
According to a first aspect of the present invention, there is provided a method for calculating a digital sine wave of a power converter, comprising an angle A, an angle B, and a predetermined number g. , If they are in a relationship of A = g · B, then A> B
It is. Here, the angle A is determined so that cosA ≒ 1. If n is an arbitrary number and m is an arbitrary number between 0 and a predetermined number g, the sine of the sum of the angle nA and the angle mB can be obtained by the addition theorem, but mB ≦ A. Therefore, cos (mB) ≒ 1. Therefore, the angle nA
And the sine of the sum of the angle mB can be expressed by the following equation 1.

【0008】[0008]

【数1】sin(nA+mB)= sin(nA)・ cos(mB)+ co
s(nA)・ sin(mB)≒ sin(nA)+ cos(nA)・ sin(mB) 数式1に示す sin(mB)の値を第1正弦テーブルに第
1正弦値データとして格納し、数式1に示す sin(n
A)の値を第2正弦テーブルに第2正弦値データとして
格納し、数式1に示す cos(nA)の値を余弦テーブル
に第1余弦値データとして格納し、これら第1余弦値デ
ータと第1正弦値データとの積に第2正弦値データを加
算して所望角度の正弦値を演算する。
## EQU1 ## sin (nA + mB) = sin (nA) .cos (mB) + co
s (nA) · sin (mB) ≒ sin (nA) + cos (nA) · sin (mB) The value of sin (mB) shown in Equation 1 is stored in the first sine table as first sine value data, and Sin (n)
The value of A) is stored as second sine value data in the second sine table, and the value of cos (nA) shown in Expression 1 is stored as first cosine value data in the cosine table. The second sine value data is added to the product of the one sine value data and the sine value at the desired angle is calculated.

【0009】第2の発明では、前記の角度nAの最大値
が360度となるように角度Aと数nを定める。第3の
発明では、角度Aと角度Bと所定数gとがあり、これら
をA=g・Bなる関係にすれば、A>Bである。ここで
cosA≒1となるように角度Aを定める。pは任意の数
とし、mを0から所定数gまでの間の任意の数とするな
らば、角度pAと角度mBの和の正弦を加法定理により
求めることができるが、mB≦Aであることから、第1
の発明と同様に cos(mB)≒1となる。よって角度p
Aと角度mBの和の正弦は下記の数式2で表すことがで
きる。
In the second aspect, the angle A and the number n are determined so that the maximum value of the angle nA becomes 360 degrees. In the third invention, there are an angle A, an angle B, and a predetermined number g. If these are set to A = g · B, then A> B. here
The angle A is determined so that cosA ≒ 1. If p is an arbitrary number and m is an arbitrary number between 0 and a predetermined number g, the sine of the sum of the angle pA and the angle mB can be obtained by the addition theorem, but mB ≦ A. From the first
Cos (mB) ≒ 1 as in the case of the invention of FIG. Therefore the angle p
The sine of the sum of A and the angle mB can be expressed by Equation 2 below.

【0010】[0010]

【数2】sin(pA+mB)≒ sin(pA)+ cos(p
A)・ sin(mB) そこで、 sin(mB)の値を第1正弦テーブルに第1正
弦値データとして格納し、0度≦pA≦360度の範囲
の sin(pA)の値を第3正弦テーブルに第3正弦値デ
ータとして格納する。また cos(pA)= sin(pA+
90度)なる関係があることから、前記第3正弦テーブ
ルから読み出した sin(pA+90度)の値を cos(p
A)の第2余弦値データとする。但し、pA+90度の
角度演算値が360度を越えるときは、pA+90度−
360度なる角度演算値を使用して第2余弦値データを
得る。これら第2余弦値データと第1正弦値データとの
積に第3正弦値データを加算して0度〜360度の正弦
値を演算する。
## EQU2 ## sin (pA + mB) ≒ sin (pA) + cos (p
A) · sin (mB) Then, the value of sin (mB) is stored as first sine value data in the first sine table, and the value of sin (pA) in the range of 0 degrees ≦ pA ≦ 360 degrees is set to the third sine value. It is stored as third sine value data in the table. Cos (pA) = sin (pA +
90 degrees), the value of sin (pA + 90 degrees) read from the third sine table is expressed as cos (p
The second cosine value data of A) is used. However, when the angle calculation value of pA + 90 degrees exceeds 360 degrees, pA + 90 degrees−
The second cosine value data is obtained by using the calculated angle value of 360 degrees. The third sine value data is added to the product of the second cosine value data and the first sine value data to calculate a sine value of 0 to 360 degrees.

【0011】第4の発明では、角度Aと角度Bと所定数
gとがあり、これらをA=g・Bなる関係にすれば、A
>Bである。ここで cosA≒1となるように角度Aを定
める。qは任意の数とし、mを0から所定数gまでの間
の任意の数とするならば、角度qAと角度mBの和の正
弦を加法定理により求めることができるが、mB≦Aで
あることから、第1の発明と同様に cos(mB)≒1と
なる。よって角度qAと角度mBの和の正弦は下記の数
式3で表すことができる。
In the fourth invention, there are an angle A, an angle B, and a predetermined number g. If these relations are A = gB, A
> B. Here, the angle A is determined so that cosA ≒ 1. If q is an arbitrary number and m is an arbitrary number between 0 and a predetermined number g, the sine of the sum of the angle qA and the angle mB can be obtained by the addition theorem, but mB ≦ A Therefore, cos (mB) ≒ 1 as in the first invention. Therefore, the sine of the sum of the angle qA and the angle mB can be expressed by the following Equation 3.

【0012】[0012]

【数3】sin(qA+mB)≒ sin(qA)+ cos(q
A)・ sin(mB) そこで、 sin(mB)の値を第1正弦テーブルに第1正
弦値データとして格納する。0度≦qA≦180度の範
囲の sin(qA)の値は第4正弦テーブルに格納した第
4正弦値データを使用するが、180度≦qA≦360
度の範囲の sin(qA)の値は前記第4正弦値データに
負号を付して使用する。
[Equation 3] sin (qA + mB) ≒ sin (qA) + cos (q
A) · sin (mB) Then, the value of sin (mB) is stored in the first sine table as the first sine value data. Although the fourth sine value data stored in the fourth sine table is used for the value of sin (qA) in the range of 0 degrees ≦ qA ≦ 180 degrees, 180 degrees ≦ qA ≦ 360
The value of sin (qA) in the range of degrees is used by adding a minus sign to the fourth sine value data.

【0013】0度≦qA≦90度の範囲の cos(qA)
の値は、qAに90度を加算した角度に対応する第4正
弦値データを第3余弦値データとして使用し、90度≦
qA≦270度の範囲の cos(qA)の値は、qAから
90度を減算した角度に対応する第4正弦値データに負
号を付した値を第3余弦値データとして使用し、270
度≦qA≦360度の範囲の cos(qA)の値は、qA
から270度を減算した角度に対応する第4正弦値デー
タを第3余弦値データとして使用する。
Cos (qA) in the range of 0 degrees ≦ qA ≦ 90 degrees
Is used as third cosine value data using fourth sine value data corresponding to an angle obtained by adding 90 degrees to qA, and 90 degrees ≦
The value of cos (qA) in the range of qA ≦ 270 degrees is obtained by using a value obtained by adding a negative sign to the fourth sine value data corresponding to the angle obtained by subtracting 90 degrees from qA as the third cosine value data.
The value of cos (qA) in the range of degrees ≦ qA ≦ 360 degrees is qA
The fourth sine value data corresponding to the angle obtained by subtracting 270 degrees from is used as the third cosine value data.

【0014】この第3余弦値データと前記第1正弦値デ
ータとの積に前記正弦値データを加算して所望角度の正
弦値を演算する。
The sine value data is added to the product of the third cosine value data and the first sine value data to calculate a sine value at a desired angle.

【0015】[0015]

【発明の実施の形態】角度Aとして1度を採用すると、
cosA= cos1O =0.9998477≒1である。所
定数g=250とすると、角度B=0.004Aとな
る。したがって数mを0から359の間の任意の整数と
し、数mを0から249の間の任意の整数とすれば、n
A+mBを演算することで、0度から360度までの角
度を0.004度刻みで得られる。従ってこれの正弦値
は、前述の数式1にA,B,m,nを代入すればよい。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS When 1 degree is adopted as the angle A,
cosA = cos1 O = 0.9998477 ≒ 1. If the predetermined number g = 250, the angle B becomes 0.004A. Therefore, if the number m is any integer between 0 and 359 and the number m is any integer between 0 and 249, then n
By calculating A + mB, an angle from 0 degrees to 360 degrees can be obtained in 0.004 degree steps. Therefore, the sine value of this can be obtained by substituting A, B, m, and n into the above-described equation (1).

【0016】図1は本発明の第1実施例を表した第1テ
ーブルマップ図である。前述した数式1により所望の角
度の正弦値を演算する際に、 sin(mB)の値として第
1正弦値データを使用するが、前述したように数mは0
から249までの間の整数であることから、第1正弦テ
ーブル11に格納するデータ量は、図1(a)に図示のよ
うに250ワードである。また、 sin(nA)の値とし
て第2正弦値データを使用するが、数nは0から359
までの間の整数であるから、第2正弦テーブル12に格
納するデータ量は、図1(b)に図示のように360ワー
ドである。更にcos(nA)の値として第1余弦値デー
タを使用するが、余弦値テーブル13に格納するデータ
量も図1(c)に図示のように360ワードである。従っ
て3つのテーブル格納するデータの合計量は970ワー
ドであって、従来例の90000ワードに比べて、デー
タ量は大幅に削減できているにもかかわらず、分解能は
従来例と同様に0.004度刻みを確保することができ
る。図2は本発明の第2実施例を表した第2テーブルマ
ップ図である。前述した数式2により所望の角度の正弦
値を演算する際に、 sin(mB)の値として第1正弦値
データを使用するが、第1実施例と同様に数mは0から
249までの間の整数であって、第1正弦テーブル11
に格納するデータ量は、図2(a)に図示のように250
ワードである。また、 sin(pA)の値として第2正弦
値データを使用するが、数nは0から359までの間の
整数であるから、第3正弦テーブル21に格納するデー
タ量は、図2(b)に図示のように360ワードである。
またcos(pA)= sin(pA+90度)なる関係があ
ることから、前記第3正弦テーブルから読み出した sin
(pA+90度)の値を cos(pA)の第2余弦値デー
タとする。但し、pA+90度の角度演算値が360度
を越えるときは、pA+90度−360度なる角度演算
値を使用して第2余弦値データを得る。すなわち第2余
弦値データは第3正弦テーブル21から得られるので余
弦テーブルは不要である。従って2つのテーブルに格納
するデータの合計量は610ワードであって、従来例の
90000ワードからデータ量は大幅に削減できている
にもかかわらず、分解能は従来例と同様に0.004度
刻みを確保することができる。図3は本発明の第3実施
例を表した第3テーブルマップ図である。前述した数式
3により所望の角度の正弦値を演算する際に、 sin(m
B)の値として第1正弦値データを使用するが、第1実
施例と同様に数mは0から249までの間の整数であっ
て、第1正弦テーブル11に格納するデータ量は、図3
(a)に図示のように250ワードである。0度≦qA≦
180度の範囲の sin(qA)の値として第4正弦値デ
ータを使用するが、180度≦qA≦360度の範囲の
sin(qA)の値は前記第4正弦値データに負号を付し
て使用する。従って数qは0から179までの間の整数
で酔いことから、第4正弦テーブル31に格納するデー
タ量は、図3(b)に図示のように180ワードである。
また、 cos(qA)= sin(qA+90度)なる関係が
あることから、0度≦qA≦90度の範囲の cos(q
A)の値は、qAに90度を加算した角度に対応する第
4正弦値データを第3余弦値データとして使用し、90
度≦qA≦270度の範囲の cos(qA)の値は、qA
から90度を減算した角度に対応する第4正弦値データ
に負号を付した値を第3余弦値データとして使用し、2
70度≦qA≦360度の範囲の cos(qA)の値は、
qAから270度を減算した角度に対応する第4正弦値
データを第3余弦値データとして使用する。すなわち第
3余弦値データは第4正弦テーブル31から得られるの
で余弦テーブルは不要である。従って2つのテーブル格
納するデータの合計量は430ワードであって、従来例
の90000ワードからデータ量は大幅に削減できてい
るにもかかわらず、分解能は従来例と同様に0.004
度刻みを確保することができる。なお、加法定理を使っ
て三角関数の値を演算する提案が、特開平10−234
135号公報に記載されているが、該公報は交流正弦波
形を得るために加法定理を利用しているものであって、
本発明が指向するデータ量の低減とは無関係である。
FIG. 1 is a first table map diagram showing a first embodiment of the present invention. When calculating the sine value of the desired angle by the above-described formula 1, the first sine value data is used as the value of sin (mB).
1 to 249, the amount of data stored in the first sine table 11 is 250 words as shown in FIG. The second sine value data is used as the value of sin (nA).
Since the values are integers up to, the amount of data stored in the second sine table 12 is 360 words as shown in FIG. 1B. Further, the first cosine value data is used as the value of cos (nA). The amount of data stored in the cosine value table 13 is 360 words as shown in FIG. 1C. Therefore, the total amount of data stored in the three tables is 970 words, and the resolution is 0.004 as in the conventional example although the data amount can be significantly reduced as compared with 90000 words in the conventional example. The degree can be secured. FIG. 2 is a second table map diagram showing a second embodiment of the present invention. When calculating the sine value of the desired angle by the above-described formula 2, the first sine value data is used as the value of sin (mB). The number m is between 0 and 249 as in the first embodiment. And the first sine table 11
The amount of data to be stored in the storage area is, as shown in FIG.
Is a word. The second sine value data is used as the value of sin (pA). Since the number n is an integer between 0 and 359, the amount of data stored in the third sine table 21 is as shown in FIG. ) Is 360 words as shown in FIG.
In addition, since there is a relationship of cos (pA) = sin (pA + 90 degrees), sin read from the third sine table is used.
The value of (pA + 90 degrees) is set as the second cosine value data of cos (pA). However, when the angle calculation value of pA + 90 degrees exceeds 360 degrees, the second cosine value data is obtained using the angle calculation value of pA + 90 degrees-360 degrees. That is, since the second cosine value data is obtained from the third sine table 21, the cosine table is unnecessary. Therefore, the total amount of data stored in the two tables is 610 words, and although the data amount can be greatly reduced from 90000 words in the conventional example, the resolution is 0.004 degrees in the same manner as in the conventional example. Can be secured. FIG. 3 is a third table map diagram showing a third embodiment of the present invention. When calculating a sine value of a desired angle by the above-described Expression 3, sin (m
Although the first sine value data is used as the value of B), the number m is an integer between 0 and 249 as in the first embodiment, and the amount of data stored in the first sine table 11 is shown in FIG. 3
There are 250 words as shown in FIG. 0 degrees ≤ qA ≤
The fourth sine value data is used as the value of sin (qA) in the range of 180 degrees, but in the range of 180 degrees ≦ qA ≦ 360 degrees.
The value of sin (qA) is used by adding a negative sign to the fourth sine value data. Therefore, since the number q is an integer between 0 and 179, the amount of data stored in the fourth sine table 31 is 180 words as shown in FIG. 3B.
Further, since there is a relationship of cos (qA) = sin (qA + 90 degrees), cos (qA) in the range of 0 degrees ≦ qA ≦ 90 degrees
The value of A) is obtained by using the fourth sine value data corresponding to the angle obtained by adding 90 degrees to qA as the third cosine value data,
The value of cos (qA) in the range of degrees ≦ qA ≦ 270 degrees is qA
The value obtained by adding a minus sign to the fourth sine value data corresponding to the angle obtained by subtracting 90 degrees from the second sine value data is used as the third cosine value data.
The value of cos (qA) in the range of 70 degrees ≦ qA ≦ 360 degrees is
The fourth sine value data corresponding to the angle obtained by subtracting 270 degrees from qA is used as the third cosine value data. That is, since the third cosine value data is obtained from the fourth sine table 31, the cosine table is unnecessary. Therefore, the total amount of data stored in the two tables is 430 words, and the resolution is 0.004 as in the conventional example although the data amount can be significantly reduced from 90000 words in the conventional example.
The degree can be secured. A proposal for calculating the value of a trigonometric function using the addition theorem is disclosed in Japanese Patent Laid-Open No.
No. 135, which uses the additive theorem to obtain an AC sine waveform,
It has nothing to do with the reduction in the amount of data that the present invention is directed to.

【0017】[0017]

【発明の効果】従来は所望の分解能(例えば0.004
度刻み)で360度分の正弦値データを得るには、例え
ば90000ワードのデータ量が必要であったが、本発
明では、これと同じ分解能を得るために、1度刻みの角
度Aと0.004度刻みの角度Bを組み合わせて0度か
ら360度の範囲の正弦値を加法定理を使って演算す
る。このとき角度Aの余弦値はほぼ1であることから、
正弦テーブルと余弦テーブルに格納する合計データ量を
従来に比べて大幅に低減することができる。
Conventionally, a desired resolution (for example, 0.004
In order to obtain 360-degree sine value data (in increments of degrees), a data amount of, for example, 90000 words was required. However, in the present invention, in order to obtain the same resolution, the angles A and 0 in increments of 1 degree are required. A sine value in the range of 0 to 360 degrees is calculated using the addition theorem by combining the angles B in increments of .004 degrees. At this time, since the cosine value of the angle A is almost 1,
The total amount of data stored in the sine table and the cosine table can be significantly reduced as compared with the related art.

【0018】更に cosα= sin(α+90度)なる関係
を利用することにより、正弦テーブルに格納した所定角
度範囲の正弦値データを同じ角度範囲の余弦値データと
して利用することにより、余弦テーブルを省略すること
がでるのでデータ量をより一層削減できる効果が得られ
る。
Further, by utilizing the relationship of cos α = sin (α + 90 degrees), the sine value data of the predetermined angle range stored in the sine table is used as the cosine value data of the same angle range, thereby omitting the cosine table. Therefore, the effect of further reducing the data amount can be obtained.

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

【図1】本発明の第1実施例を表した第1テーブルマッ
プ図
FIG. 1 is a first table map diagram showing a first embodiment of the present invention.

【図2】本発明の第2実施例を表した第2テーブルマッ
プ図
FIG. 2 is a second table map diagram showing a second embodiment of the present invention.

【図3】本発明の第3実施例を表した第3テーブルマッ
プ図
FIG. 3 is a third table map diagram showing a third embodiment of the present invention.

【図4】ディジタル正弦波指令を生成させる第1従来例
を示した回路図
FIG. 4 is a circuit diagram showing a first conventional example for generating a digital sine wave command;

【図5】従来の正弦値データを格納するデーブルのテー
ブルマップ図
FIG. 5 is a table map table of a table storing conventional sine value data.

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

1 電源 2 コンパレータ 3 PLL回路 4 カウンタ 5 コンピュータ 6 サインテーブル 11 第1正弦テーブル 12 第2正弦テーブル 13 余弦テーブル 21 第3正弦テーブル 31 第4正弦テーブル Reference Signs List 1 power supply 2 comparator 3 PLL circuit 4 counter 5 computer 6 sine table 11 first sine table 12 second sine table 13 cosine table 21 third sine table 31 fourth sine table

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】余弦値が1に極めて近い値を呈する角度A
と、 この角度Aを所定数で除算して得られる角度Bと、 任意の数mと角度Bを乗算して得られる角度に対応する
第1正弦値データを第1正弦テーブルに格納し、 任意の数nと角度Aを乗算して得られる角度に対応する
第2正弦値データを第2正弦テーブルに格納し、 任意の数nと角度Aを乗算して得られる角度に対応する
第1余弦値データを余弦テーブルに格納し、 前記第1余弦値データと前記第1正弦値データとの積に
前記第2正弦値データを加算して所望角度の正弦値を演
算し、 この正弦値演算値を、電力変換装置の波形基準にするこ
とを特徴とする電力変換装置のディジタル正弦波演算方
法。
1. An angle A whose cosine value exhibits a value very close to 1.
An angle B obtained by dividing the angle A by a predetermined number, and first sine value data corresponding to an angle obtained by multiplying the angle B by an arbitrary number m are stored in a first sine table. The second sine value data corresponding to the angle obtained by multiplying the number n by the angle A is stored in the second sine table, and the first cosine corresponding to the angle obtained by multiplying the arbitrary number n by the angle A Storing the value data in a cosine table; adding the second sine value data to a product of the first cosine value data and the first sine value data to calculate a sine value at a desired angle; Is used as a waveform reference of the power conversion device.
【請求項2】請求項1に記載の電力変換装置のディジタ
ル正弦波演算方法において、 前記の角度Aと数nとの積が最大で360度となるよう
に角度Aと数nを定めることを特徴とする電力変換装置
のディジタル正弦波演算方法。
2. The method according to claim 1, wherein the angle A and the number n are determined so that the product of the angle A and the number n becomes 360 degrees at the maximum. A digital sine wave calculation method for a power converter.
【請求項3】余弦値が1に極めて近い値を呈する角度A
と、 この角度Aを所定数で除算して得られる角度Bと、 任意の数mと角度Bを乗算して得られる角度に対応する
第1正弦値データを第1正弦テーブルに格納し、 任意の数pと角度Aを乗算して得られる角度(但し最大
で360度)に対応する第3正弦値データを第3正弦テ
ーブルに格納し、 任意の数pと角度Aを乗算して得られる角度に90度を
加算した角度(但し加算結果が360度を越えるときは
加算結果から360度を減算した角度)を演算し、 この加算演算後の角度に対応する第3正弦値データを加
算前角度の第2余弦値データとし、 この第2余弦値データと前記第1正弦値データとの積に
前記第3正弦値データを加算して所望角度の正弦値を演
算し、 この正弦値演算値を、電力変換装置の波形基準にするこ
とを特徴とする電力変換装置のディジタル正弦波演算方
法。
3. An angle A at which the cosine value exhibits a value very close to 1.
An angle B obtained by dividing the angle A by a predetermined number, and first sine value data corresponding to an angle obtained by multiplying the angle B by an arbitrary number m are stored in a first sine table. The third sine value data corresponding to the angle (360 degrees at the maximum) obtained by multiplying the number p by the angle A is stored in the third sine table, and is obtained by multiplying the arbitrary number p by the angle A. Calculates an angle obtained by adding 90 degrees to the angle (however, if the addition result exceeds 360 degrees, an angle obtained by subtracting 360 degrees from the addition result), and adds the third sine value data corresponding to the angle after the addition operation before the addition Calculating the sine value of the desired angle by adding the third sine value data to the product of the second cosine value data and the first sine value data; Is used as a waveform reference of the power converter. Digital sine wave calculation method for converter.
【請求項4】余弦値が1に極めて近い値を呈する角度A
と、 この角度Aを所定数で除算して得られる角度Bと、 任意の数mと角度Bを乗算して得られる角度に対応する
第1正弦値データを第1正弦テーブルに格納し、 任意の数qと角度Aを乗算して得られる角度(但し最大
で180度)に対応する第4正弦値データを第4正弦テ
ーブルに格納し、 任意の数qと角度Aとの積の角度が0度≦qA≦180
度の範囲ならば、この角度に対応する第4正弦値データ
を正弦値データとして使用し、または任意の数qと角度
Aとの積の角度が180度≦qA≦360度の範囲なら
ば、qAから180度を減算した角度に対応する第4正
弦値データに負号を付して正弦値データとして使用し、 任意の数qと角度Aとの積の角度が0度≦qA≦90度
の範囲ならば、qAに90度を加算した角度に対応する
第4正弦値データを余弦値データとして使用し、または
任意の数qと角度Aとの積の角度が90度≦qA≦27
0度の範囲ならば、qAから90度を減算した角度に対
応する第4正弦値データに負号を付して余弦値データと
して使用し、または任意の数qと角度Aとの積の角度が
270度≦qA≦360度ならば、qAから270度を
減算した角度に対応する第4正弦値データを余弦値デー
タとして使用し、 この余弦値データと前記第1正弦値データとの積に前記
正弦値データを加算して所望角度の正弦値を演算し、 この正弦値演算値を、電力変換装置の波形基準にするこ
とを特徴とする電力変換装置のディジタル正弦波演算方
法。
4. An angle A whose cosine value exhibits a value very close to 1.
An angle B obtained by dividing the angle A by a predetermined number, and first sine value data corresponding to an angle obtained by multiplying the angle B by an arbitrary number m are stored in a first sine table. The fourth sine value data corresponding to the angle obtained by multiplying the number q by the angle A and the angle A (up to 180 degrees) is stored in the fourth sine table, and the angle of the product of the arbitrary number q and the angle A is 0 degrees ≦ qA ≦ 180
If it is in the range of degrees, the fourth sine value data corresponding to this angle is used as sine value data, or if the angle of the product of the arbitrary number q and the angle A is in the range of 180 degrees ≦ qA ≦ 360 degrees, The fourth sine value data corresponding to the angle obtained by subtracting 180 degrees from qA is used as a sine value data with a minus sign, and the angle of the product of the arbitrary number q and the angle A is 0 degree ≦ qA ≦ 90 degrees , The fourth sine value data corresponding to the angle obtained by adding 90 degrees to qA is used as the cosine value data, or the angle of the product of the arbitrary number q and the angle A is 90 degrees ≦ qA ≦ 27.
If it is in the range of 0 degrees, the fourth sine value data corresponding to the angle obtained by subtracting 90 degrees from qA is used as a cosine value data by adding a minus sign, or the angle of the product of arbitrary number q and angle A If 270 degrees ≦ qA ≦ 360 degrees, the fourth sine value data corresponding to the angle obtained by subtracting 270 degrees from qA is used as the cosine value data, and the product of the cosine value data and the first sine value data is A digital sine wave operation method for a power converter, wherein the sine value data is added to calculate a sine value at a desired angle, and the calculated sine value is used as a waveform reference for the power converter.
JP33563599A 1999-11-26 1999-11-26 Method of operating digital sine wave for power converter Pending JP2001153899A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33563599A JP2001153899A (en) 1999-11-26 1999-11-26 Method of operating digital sine wave for power converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33563599A JP2001153899A (en) 1999-11-26 1999-11-26 Method of operating digital sine wave for power converter

Publications (1)

Publication Number Publication Date
JP2001153899A true JP2001153899A (en) 2001-06-08

Family

ID=18290812

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33563599A Pending JP2001153899A (en) 1999-11-26 1999-11-26 Method of operating digital sine wave for power converter

Country Status (1)

Country Link
JP (1) JP2001153899A (en)

Similar Documents

Publication Publication Date Title
JP2004274899A (en) Converter arrangement
US7456600B1 (en) Pulse code width modulation motor drive system
JPS62101104A (en) Multi-phase digital synthesized sine-wave forming circuit
JPS63234877A (en) Inverter controller
JPS6037711B2 (en) phase detector
JPH10243658A (en) Method and device for generating pwm signal
JP2001153899A (en) Method of operating digital sine wave for power converter
US7880428B2 (en) Controller for induction motor
JPH05206732A (en) Frequency synthesizer
US7804927B2 (en) Method for locking a synthesised output signal of a synthesised waveform synthesiser in a phase relationship with an input signal, and a digital waveform synthesiser for producing a synthesised output signal in a phase relationship with an input signal
WO2019230422A1 (en) Control device of power conversion apparatus
JPH04368429A (en) Controller for inverter
JP3171505B2 (en) PWM inverter control device
Baker et al. Phase-locked loop for microprocessor with reduced complexity voltage controlled oscillator suitable for inverters
JPH03294916A (en) Periodic function generating circuit
JP3474126B2 (en) Function Generator
Öztürk et al. A generalized control approach for photovoltaic grid-tie microinverters
JPS6158475A (en) Pwm waveform operational device
JP3444761B2 (en) Direct digital synthesizer
JPS63293474A (en) Fundamental wave effective current calculating circuit
JP2004254405A (en) Inverter device
JP2005033588A (en) Numerical control oscillator
JPH06291623A (en) Pulse generator
JPS62100611A (en) Digital converter for resolver
JPH0561871B2 (en)