JP2004172794A - Composite trigonometric function computing element and phase rotation computing element - Google Patents

Composite trigonometric function computing element and phase rotation computing element Download PDF

Info

Publication number
JP2004172794A
JP2004172794A JP2002334618A JP2002334618A JP2004172794A JP 2004172794 A JP2004172794 A JP 2004172794A JP 2002334618 A JP2002334618 A JP 2002334618A JP 2002334618 A JP2002334618 A JP 2002334618A JP 2004172794 A JP2004172794 A JP 2004172794A
Authority
JP
Japan
Prior art keywords
atan
data
sin
cos
trigonometric function
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
JP2002334618A
Other languages
Japanese (ja)
Inventor
Kazumasa Kioi
一雅 鬼追
Takao Hasegawa
隆生 長谷川
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP2002334618A priority Critical patent/JP2004172794A/en
Publication of JP2004172794A publication Critical patent/JP2004172794A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Digital Transmission Methods That Use Modulated Carrier Waves (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a phase rotation computing element the scale of which is reduced without deteriorating the computing accuracy. <P>SOLUTION: The phase rotation computing element is provided with: composite trigonometric function computing elements 10, 11 for generating cos(atan(B<SB>Q</SB>/B<SB>I</SB>)) and sin(atan(B<SB>Q</SB>/B<SB>I</SB>)) on the basis of a second complex signal comprising an in-phase component BI and a quadrature component BQ; and a phase rotation unit 30 for rotating a phase of a first complex signal on the basis of the cos(atan(B<SB>Q</SB>/B<SB>I</SB>)) and sin(atan(B<SB>Q</SB>/B<SB>I</SB>)), and each of the composite trigonometric function computing elements 10, 11 includes: an input conversion processing section 110 for generating any of intermediate data corresponding to each of computing results stepped at an equal interval in advance; and an output conversion processing section 111 for generating the computing result on the basis of the intermediate data. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、複合三角関数演算器及び位相回転演算装置に係り、さらに詳しくは、同相成分及び直交成分からなる複素信号に基づいて、その逆正接の余弦データ、正弦データを求める複合三角関数演算器、並びに、これを用いた位相回転演算装置等に関する。
【0002】
【従来の技術】
まず初めに、複素数を表す信号(複素信号)に対する位相回転操作について説明する。複素数は、一般に振幅及び位相により特定されるため、複素信号Aの振幅をr1、位相(実軸となす角度)をθ1とし、純虚数をjとすれば、この複素信号Aは式(1)のように表わされる。
A=r1・ejθ1 (1)
【0003】
複素信号Aの位相θ1をθ2だけ回転させて、位相θ3=θ1+θ2、振幅r3=r1・r2の出力信号Cを得るためには、位相θ2、振幅r2の複素信号Bとの乗算を行えばよい。すなわち、複素信号B及びCは、式(2)〜(4)のように表わされる。

Figure 2004172794
【0004】
複素数を直接演算できる集積回路は実現できないため、デジタル信号としての複素信号は、通常、同相成分(実部)及び直交成分(虚部)からなる2次元データとして表される。すなわち、複素信号A,B,Cは、それぞれの同相成分をA,B,Cとし、それぞれの直交成分をA,B,Cとすれば、式(5)〜(7)のように表される。
A≡A+jA (5)
B≡B+jB (6)
C≡C+jC (7)
【0005】
式(4)のAとBの項に式(5)及び(6)を代入して展開し、同相成分と直交成分を整理すれば式(8)となる。この式(8)及び(7)の右辺同士を比較すれば、複素信号Cの同相成分Cと直交成分Cは、それぞれ式(9)及び(10)のように表すことができる。
Figure 2004172794
【0006】
図24は、従来の位相回転演算装置として第1の構成例を示したブロック図である(例えば、特許文献1参照)。この位相回転演算装置30は、4個の乗算器301〜304、減算器305及び加算器306により構成され、入力信号A及び位相回転信号Bが入力され、入力信号Aの位相を位相回転信号Bの位相分だけ回転させた出力信号Cが出力される。
【0007】
この位相回転演算装置30では、式(9)及び(10)の数式通りに4回の乗算と2回の加減算を行って出力信号Cを生成している。すなわち、乗算器301〜304において、入力信号A及び位相回転信号Bの同相成分及び直交成分の各組合せA・B,A・B,A・B,A・Bを求め、減算器305において出力信号Cの同相成分A・B−A・Bを求め、加算器306において出力信号Cの直交成分A・B+A・Bを求めている。
【0008】
復調器において周波数ずれや位相ずれを補正する場合であれば、入力信号Aの振幅r1を変化させることなく位相回転を行うことが望ましい。このため、位相回転信号Bは予め正規化された複素信号(すなわち振幅r2=1)にしておく必要がある。その一方で、図24の位相回転演算装置は、入力信号Aに対し、任意の振幅r2を持った位相回転信号Bを乗算する能力を有しており、位相回転演算装置というよりは複素乗算器と呼ぶ方がより相応しい回路である。
【0009】
つまり、入力信号Aの位相回転操作を目的として用いる場合、この位相回転演算装置30は、位相回転信号Bを正規化するための付加的な回路を必要とする一方、乗算器としての過剰な能力を備えており、回路規模を削減するための改良の余地がある。
【0010】
さらに、乗算器をデジタル回路で実現する場合、一般に、その回路規模が大きなものとなり、その消費電力も大きなものとなる。従って、この様なデジタル位相回転演算装置を復調器に組み込んだ場合、当該復調器の回路規模と消費電力も大きなものとなる。このため、できるだけ乗算器の少ない回路構成とすることが、回路規模の小型化と消費電力の低減化の点で重要である。
【0011】
例えば、回転させる角度(位相回転量)がある程度限定されている場合であれば、4つの乗算器301〜304はデータテーブルによって実現することができる。この場合、乗算器301〜304をROM化することにより、位相回転演算装置の回路規模と消費電力も小さくすることができる。
【0012】
図25は、従来の位相回転演算装置として第2の構成例を示したブロック図である(例えば、特許文献2参照)。この位相回転演算装置31は、図24の位相回転演算装置30にcos発生器310と、sin発生器311を追加し、位相回転量として角度θ2が入力される。この角度θ2は、cos発生器310及びsin発生器311においてcosθ2及びsinθ2へ変換され、乗算器301〜304へ入力される。
【0013】
位相回転量が位相角データとして与えられるということは、図24の位相回転演算装置30における位相回転信号Bに振幅情報が含まれず、位相回転信号Bの振幅r2が定数であることを意味する。
【0014】
正規化された複素数の同相成分及び直交成分は、それぞれ三角関数を用いて表すことができ、振幅r2=1、位相θ2の位相回転信号Bの場合、同相成分Bはcosθ2、直交成分Bはsinθ2となる。従って、正規化された位相回転信号Bは式(6’)のように表される。
Figure 2004172794
【0015】
入力信号A及び出力信号Cは、図24の位相回転演算装置30の場合と同様の複素信号であるから、それぞれ式(5)及び(7)を用いることができる。式(4)のA及びBの項に式(5)及び(6’)を代入して展開し、同相成分と直交成分を整理すると、式(8)に対応する式(8’)が得られる。
C=(Acosθ2−Asinθ2)+j(Acosθ2+Asinθ2) (8’)
【0016】
式(8’)及び(7)の右辺同士を比較すると、式(9)及び(10)に対応する式(9’)及び(10’)が得られる。すなわち、出力信号Cの同相成分Cと直交成分Cはそれぞれ式(9’)及び(10’)のように表される。
=Acosθ2−Asinθ2 (9’)
=Acosθ2+Asinθ2 (10’)
【0017】
図25の位相回転演算装置31は、式(9’)及び(10’)を数式通りに実現した例である。この位相回転演算装置31では、位相回転量が角度θ2で与えられるため、θ2からsinθ2及びcosθ2を生成するcos発生器310及びsin発生器311が必要となる。必要とされている精度が限定されていれば、これらの三角関数発生器310,311は、ROMなどに記憶させたデータテーブルによって実現することができる。
【0018】
sinθ2,cosθ2は、それぞれ図24におけるB,Bに相当することから、図25は、位相回転信号Bとして、振幅r2=1、位相θ2の規格化された信号が入力された場合と考えることができる。従って、出力信号Cの振幅r3は入力信号Aの振幅r1に等しくなり、位相回転演算装置31における処理は、入力信号Aを複素平面上で回転させる操作に相当する。
【0019】
乗算器301〜304は、位相回転演算装置30と同様、任意の振幅を持った位相回転信号を乗じる能力を有しており、乗算器としての過剰な能力を備えており、回路規模を削減するための改良の余地がある。また、位相回転量として、角度θ2ではなく位相回転信号Bが与えられる場合であれば、位相回転信号Bを予め角度θ2に変換しておく必要があり、付加的な回路を必要としている。
【0020】
図26は、従来の位相回転演算装置として第3の構成例を示したブロック図である(例えば、特許文献2参照)。この位相回転演算装置32は、三角関数乗算部321〜324、減算器305及び加算器306により構成され、位相回転量として角度θ2が入力される。
【0021】
三角関数乗算部321は、図25の位相回転装置31におけるcos発生器310及び乗算器301を一体化したものとして構成される。同様にして、三角関数乗算部322はcos発生器310及び乗算器302を、三角関数乗算部323はsin発生器311及び乗算器303を、三角関数乗算部324はsin発生器311及び乗算器304を一体化したものとして構成される。従って、三角関数乗算部321はAcosθ2を、三角関数乗算部322はAcosθ2を、三角関数乗算部323はAsinθ2を、三角関数乗算部324はAsinθ2を出力する。
【0022】
復調器における位相回転信号の精度は、通常、ある程度限定されている。位相回転演算装置32では、位相回転量を示す角度θ2の値が限定的であることを利用して、実質的に乗算器をなくし、乗算をROMにより実現することができる。この場合も、図25の位相回転演算装置31の場合と同様、出力信号の振幅r3は入力信号の振幅r1に等しくなり、位相回転演算装置32における処理は、入力信号Aを複素平面上で回転させる操作に相当する。
【0023】
図27は、従来の位相回転演算装置として第4の構成例を示したブロック図である(例えば、特許文献1参照)。この位相回転演算装置33は、atan発生器331と332、加算器333、cos発生器334及びsin発生器335により構成され、入力信号A及び位相回転信号Bをそれぞれ位相角θ1とθ2に変換した後、位相角θ3=θ1+θ2を求めて出力信号Cを生成している。
【0024】
入力信号Aを三角関数を用いて表せば、式(5’)となる。すなわち、式(11)及び(12)に示す通り、r1cosθ1がAの同相成分Aであり、r1sinθ1がAの直交成分Aである。
Figure 2004172794
【0025】
同相成分と直交成分の比A/Aは位相角の正接tanθ1であるから、入力信号Aが同相成分A及び直交成分Aで与えられた場合、その位相θ1は逆正接(atan)関数を用いた式(13)により求めることができる。全く同様にして、位相回転信号Bの位相θ2は式(14)により求めることができる。
θ1=atan(A/A) (13)
θ2=atan(B/B) (14)
【0026】
式(13)及び(14)から出力信号Cの位相θ3は式(15)により求めることができる。
Figure 2004172794
【0027】
一方、出力信号Cを三角関数を用いて表すと式(7’)となる。すなわち、r3cosθ3がCの同相成分Cであり、r3sinθ3がCの直交成分Cであるから、出力信号Cは、式(16)及び(17)によって求めることができる。
Figure 2004172794
【0028】
式(13)及び(14)により、入力信号A及び位相回転信号Bをそれぞれθ1,θ2へ変換した時点において、これらの信号の振幅情報r1,r2は失われている。このため、出力信号Cの振幅r3=r2にしたい場合には、別途、入力信号Aのr2を求めて、同相成分C及び直交成分Cに対し乗算しなければならない。
【0029】
図27の位相回転演算装置33は、r3=1として式(15)〜(17)を実現した例である。atan発生器331は、逆正接関数のデータテーブルを記憶したROMからなり、入力信号Aの同相成分A及び直交成分Aがアドレス入力され、これらの組合せに予め対応づけられた逆正接データatan(A/A)を出力する。また、atan発生器332も逆正接関数のデータテーブルを記憶したROMからなり、位相回転信号Bの同相成分B及び直交成分Bがアドレス入力され、これらの組合せに予め対応づけられた逆正接データatan(B/B)を出力する。
【0030】
加算器333は、atan発生器331からのatan(A/A)及びatan発生器332からのatan(B/B)を加算している。すなわち、入力信号Aの位相θ1と、位相回転信号Bの位相θ2とを加算して、出力信号Cの位相θ3を生成している。
【0031】
cos発生器334は、余弦関数のデータテーブルを記憶したROMからなり、加算器333の出力位相θ3がアドレス入力され、その余弦データcosθ3を出力する。また、sin発生器335は、正弦関数のデータテーブルを記憶したROMからなり、加算器333の出力位相θ3がアドレス入力され、その正弦関数sinθ3を出力する。この様にして、正規化された出力信号Cの同相成分C及び直交成分Cがcos発生器334及びsin発生器335で生成される。
【0032】
位相回転演算装置33の場合、入力信号Aの振幅r1と位相回転信号Bの振幅r2は、出力信号Cへは反映されないため、入力信号Aも位相回転信号Bも正規化されている必要はない。図24の位相回転演算装置30と比較すれば、入力信号A及び位相回転信号Bがともに複素信号として与えられる点で共通するが、位相回転演算装置30では出力信号Cとして任意の振幅の信号を出力できるのに対し、位相回転演算装置33では、出力信号Cの振幅が必然的に一定となる点で異なる。
【0033】
なお、atan発生器331および332は任意角を生成できるような、いわゆるCORDIC(coordinate rotation digital computer algorithm)回路で構成してもよい。
【0034】
図27の位相回転演算装置33は、位相回転信号Bの位相に基づいて入力信号Aの位相を回転させるというよりは、むしろ入力信号Aの位相角θ1と位相回転信号Bの位相角θ2を合成し、新たな位相角θ3=θ1+θ2を持った正規化信号C=cosθ3+jsinθ3を生成する回路であると捉えた方がよく、位相回転演算装置というよりは位相合成器と呼ぶ方がより適切である。
【0035】
ここで、デジタルデータ伝送システムの受信装置における周波数ずれや位相ずれを補正するためのデジタル2次元信号の位相回転演算装置について検討する。この種の位相回転演算装置では、入力信号A及び位相回転信号Bが、ともに2次元データ(同相成分及び直交成分からなる複素信号)として入力され、入力信号Aの振幅r1は必ずしも規格化されていない。また、出力信号Cの振幅r3は入力信号Aの振幅r1と同じでなければならない。
【0036】
従って、図24の位相回転演算装置30を用いる場合には、複素信号としての位相回転信号Bをあらかじめ規格化しておく必要があり、atan変換器を用いて一旦、θ2に変換する必要がある。また、図25及び図26の位相回転演算装置31、32では、位相角θ2を入力としているため、やはりatan発生器を用いて、複素信号として位相回転信号Bを位相角θ2に変換する必要がある。
【0037】
図28は、この様なデジタルデータ伝送システムの受信装置に適用可能な従来の位相回転演算装置の構成を示したブロック図である。この位相回転演算装置は、図25の位相回転演算装置31に図28のatan発生器332を加えて構成される。atan発生器332は、同相成分B及び直交成分Bからなる位相回転信号Bをその位相角θ2に変換し、cos発生器310及びsin発生器311に入力している。なお、cos発生器310と乗算器301,302をそれぞれ一体化し、sin発生器311と乗算器303,304をそれぞれ一体化すれば、三角関数乗算器321〜324とすることができることは上述した通りである。
【0038】
【特許文献1】
特開平5−129893号公報(段落0002〜0003、段落0019〜0028、図2、図10)
【特許文献2】
特開平11−17756号公報(段落0002、段落0016〜0021、図2、図7)
【0039】
【発明が解決しようとする課題】
上述した通り、デジタルデータ伝送システムの受信装置等において使用される位相回転装置の場合、入力信号Aの振幅r1を変化させることなく、周波数ずれや位相ずれを補正する必要があり、入力信号Aに正規化された位相回転信号Bを乗じる必要がある。このため、図28の位相回転演算装置34では、正規化されていない位相回転信号Bをatan発生器332に入力し、一旦、位相角情報θ2に変換して正規化された位相回転信号を生成している。
【0040】
しかしながらatan発生器は一般に回路構成が複雑であり、回路規模が大きい。このため、回路規模の大きな乗算器301〜304に加えて、atan発生器332を用いる位相回転演算装置34は、回路規模が大きくなってしまうという難点があった。
【0041】
本発明は、この様な事情に鑑みてなされたものであり、演算精度を低下させることなく回路規模を縮小させた複合三角関数演算器を提供することを目的とする。また、演算精度を低下させることなく回路規模を縮小させた位相回転演算装置を提供することを目的とする。
【0042】
【課題を解決するための手段】
【0043】
本発明による複合三角関数演算器は、同相成分B及び直交成分Bからなる複素信号が入力され、その逆正接の余弦データcos(atan(B/B))を出力する複合三角関数演算器であって、等間隔でステップ化された出力データに予め対応づけられた中間データを複素信号に基づいて生成する入力変換処理部と、中間データに基づいて、逆正接の余弦データを生成する出力変換処理部とを備えて構成される。
【0044】
複合三角関数演算器から出力される各データは、ステップ間隔が等しくなるように予めステップ化され、中間データは、これらのいずれかの出力データに予め対応づけられている。出力変換処理部は、この中間データを出力データ、すなわち、逆正接の余弦データcos(atan(B/B))に変換している。
【0045】
この様にして、cos(atan(B/B))を等間隔でステップ化することにより、出力精度を低下させることなく、出力変換処理部の回路規模を縮小し、複合三角関数演算器の回路規模を縮小させることができる。例えば、出力変換処理部をROMにより実現する場合、等間隔でステップ化されたcos(atan(B/B))を中間データに対応づけてROMに記憶させることにより、出力データの精度を低下させることなく、ROM容量を低減することができる。
【0046】
また、本発明による複合三角関数演算器は、同相成分B及び直交成分Bからなる複素信号が入力され、その逆正接の正弦データsin(atan(B/B))を出力する複合三角関数演算器であって、等間隔でステップ化された出力データに予め対応づけられた中間データを複素信号に基づいて生成する入力変換処理部と、中間データに基づいて、逆正接の余弦データを生成する出力変換処理部とを備えて構成される。
【0047】
この様な構成により、cos(atan(B/B))の場合と同様、sin(atan(B/B))を等間隔でステップ化することにより、出力精度を低下させることなく、出力変換処理部の回路規模を縮小し、複合三角関数演算器の回路規模を縮小させることができる。
【0048】
また、本発明による複合三角関数演算器は、同相成分B及び直交成分Bからなる複素信号が入力され、その逆正接の余弦データcos(atan(B/B))及び逆正接の正弦データsin(atan(B/B))を出力する複合三角関数演算器であって、それぞれが等間隔でステップ化されたcos(atan(B/B))及びsin(atan(B/B))に関し、同一の複素信号から求められる各組合せに予め対応づけられた中間データのいずれかを、入力された複素信号に基づいて生成する入力変換処理部と、中間データに基づいて、cos(atan(B/B))及びsin(atan(B/B))を生成する出力変換処理部とを備えて構成される。
【0049】
入力変換処理部が、cos(atan(B/B))及びsin(atan(B/B))の各組合せに対応する中間データを生成することにより、1つの入力変換処理部により、cos(atan(B/B))及びsin(atan(B/B))を生成することができ、回路規模を縮小することができる。
【0050】
また、本発明による位相回転演算装置は、同相成分B及び直交成分Bからなる第2の複素信号に基づいて、同相成分A及び直交成分Aからなる第1の複素信号の位相回転を行う位相回転演算装置であって、cos(atan(B/B))を生成する上記複合三角関数演算器と、sin(atan(B/B))を生成する上記複合三角関数演算器と、cos(atan(B/B))及びsin(atan(B/B))に基づいて、第1の複素信号の位相を回転させる位相回転器とを備えて構成される。
【0051】
この様な構成により、演算精度を低下させることなく、複合三角関数演算器の回路規模を縮小し、位相回転演算装置の回路規模を縮小させることができる。
【0052】
【発明の実施の形態】
実施の形態1.
図1は、本発明の実施の形態1による位相回転演算装置の一構成例を示したブロック図である。この位相回転演算装置1は、乗算器301〜304と、減算器305と、加算器306と、複合三角関数演算器10及び11により構成される。また、複素信号の入力端子21〜24と、複素信号の出力端子25及び26を有している。
【0053】
この位相回転演算装置1は、任意の振幅r1を有する位相θ1の入力信号Aと、正規化されていない振幅r2を有する位相θ2の位相回転信号Bが入力され、入力信号Aの位相を複素平面上でθ2だけ回転させた出力信号Cを出力する。すなわち、出力信号Cは、振幅r3がr1に等しく、位相θ3がθ1+θ2に等しい複素信号である。
【0054】
入力信号Aの同相成分A及び直交成分Aは、それぞれ入力端子21及び22から入力され、位相回転信号Bの同相成分B及び直交成分Bは、それぞれ入力端子23及び24から入力され、出力信号Cの同相成分C及び直交成分Cは、それぞれ出力端子25及び26から出力される。
【0055】
複合三角関数演算器10は、位相回転信号Bに基づいて、その逆正接の余弦データcos(atan(B/B))を生成する演算器であり、従来の位相回転演算装置34(図28)と比較すれば、atan発生器332及びcos発生器310が一体化されたものである。この複合三角関数演算器10は、演算結果cos(atan(B/B))を予めステップ化して得られた各データを記憶する記憶手段を備え、同相成分B及び直交成分Bに基づいて、いずれかのデータを出力する。
【0056】
また、複合三角関数演算器11は、位相回転信号Bに基づいて、その逆正接の正弦データsin(atan(B/B))を生成する演算器であり、従来の位相回転演算装置34(図28)と比較すれば、atan発生器332及びsin発生器311が一体化されたものである。この複合三角関数演算器11は、演算結果sin(atan(B/B))を予めステップ化して得られた各データを記憶する記憶手段を備え、同相成分B及び直交成分Bに基づいて、いずれかのデータを出力する。
【0057】
入力端子23及び24から入力された位相回転信号Bは、これらの複合三角関数演算器10及び11において、cos(atan(B/B))及びsin(atan(B/B))に変換される。このとき、一旦、位相θ2に変換されることなくcos(atan(B/B))及びsin(atan(B/B))に変換され、乗算器301〜304へ供給される。cos(atan(B/B))及びsin(atan(B/B))は、それぞれcosθ2及びsinθ2に相当するため、乗算器301〜304、減算器305及び加算器306における動作は、従来の位相回転演算装置31の場合と全く同様である。
【0058】
すなわち、乗算器301〜304において、入力信号A及び正規化された位相回転信号Bについて、互いの同相成分及び直交成分の各組合せAcosθ2,Acosθ2,Asinθ2,Asinθ2が求められる。そして、減算器305において出力信号Cの同相成分C=Acosθ2−Asinθ2が求められ、加算器306において出力信号Cの直交成分C=Acosθ2+Asinθ2が求められる。
【0059】
図2は、図1の複合三角関数演算器10の一構成例を示した図である。この複合三角関数演算器10は、入力変換処理部100及び出力変換処理部101により構成される。入力された同相成分B及び直交成分Bは、入力変換処理部100において、一旦、中間データに変換された後、出力変換処理部101において中間データからcos(atan(B/B))に変換される。
【0060】
中間データは、ステップ化された各出力データに対応づけられたデータである。入力変換処理部100は、同相成分B及び直交成分Bに基づいて、中間データを生成している。例えば、B/Bを求める除算器と、除算結果を複数の閾値と比較するコンパレータ、あるいは、同相成分B及び直交成分Bをそれぞれ複数の閾値と比較するコンパレータによって構成することができる。
【0061】
出力変換処理部101は、これらの中間データを各出力データに対応づけたデータテーブルを記憶する記憶手段、例えばROMからなる。すなわち、演算結果cos(atan(B/B))の全範囲を等間隔にステップ化して得られた各データを記憶し、中間データがアドレスとして入力されると、当該中間データに予め対応づけられたcos(atan(B/B))を出力する。
【0062】
図3は、図1の複合三角関数演算器11の一構成例を示した図である。この複合三角関数演算器11は、入力変換処理部110及び出力変換処理部111により構成される。入力された同相成分B及び直交成分Bは、入力変換処理部110において、一旦、中間データに変換された後、出力変換処理部111において中間データからsin(atan(B/B))に変換される。
【0063】
中間データは、ステップ化された各出力データに対応づけられたデータである。入力変換処理部110は、同相成分B及び直交成分Bに基づいて、中間データを生成している。出力変換処理部111は、これらの中間データを各出力データに対応づけたデータテーブルを保持するROMからなる。すなわち、演算結果のsin(atan(B/B))の全範囲を等間隔にステップ化して得られた各データを記憶し、中間データがアドレスとして入力されると、当該中間データに予め対応づけられたsin(atan(B/B))を出力する。
【0064】
図4は、複合三角関数cos(atanx)及びsin(atanx)についての説明図である。図中の(a)には、横軸にx、縦軸にθ2をとって、逆正接関数θ2=atanxのグラフが示されている。この図に示す通り、全てのxの値に対してθ2=atanxは−π/2≦θ2≦π/2の範囲で変化する。
【0065】
図中の(b)には、横軸にx、縦軸にyをとって、y=sinx及びy=sin(atanx)のグラフが示されている。同様にして、図中の(c)には、y=cosx及びy=cos(atanx)のグラフが示されている。−π/2≦atanx≦π/2であるから、y=sin(atanx)及びy=cos(atanx)は、全てのxに対して、いずれも−1≦y≦+1の範囲を変化する。
【0066】
このため、最終的に必要な値の精度が決まっているならば、y=cosx及びy=cos(atanx)について、値yをステップ化した場合における値yの個数(ステップ数)は同じになる。同様にして、y=sinx及びy=sin(atanx)についても、値yをステップ化した場合における値yの個数(ステップ数)は同じになる。
【0067】
つまり、値yをステップ化してROMに格納する場合、三角関数y=cosx及び複合三角関数y=cos(atanx)のいずれであっても必要とされるワード数は同じである。また、必要とされるワード長も同じであるから、両者で必要とされる回路規模は等しくなる。y=sinx及びy=sin(atanx)についても全く同様である。結局、従来の位相回転演算装置34(図28)の様に、位相回転信号Bの位相θ2を一旦導出する必要はないことがわかる。
【0068】
図5は、複合三角関数演算器10及び11におけるステップ化されたcos(atanx)及びsin(atanx)の一例を示した説明図である。図中の51はy=cos(atanx)、52はステップ化されたy=cos(atanx)、53はy=sin(atanx)、54はステップ化されたy=sin(atanx)を示している。
【0069】
説明の都合上、ここでは、cos(atanx)が等間隔となるように4つの値にステップ化され、cos(atanx)は、近似値としてy=0,y=0.25,y=0.5,y=0.75のいずれかが用いられるものとする。また、sin(atanx) が等間隔となるように7つの値にステップ化され、sin(atanx)は、近似値としてy=0,y=0.25,y=0.5,y=0.75,y=−0.25,y=−0.5,y=−0.75のいずれかが用いられるものとする。
【0070】
上記の各値yは2の補数表示された符号付きの固定小数点数として、ROMに格納されているものとする。符号付きの2の補数は、一般に、最上位ビットが符号を表し、その他のビットが絶対値を表している。従って、符号付きの2の補数で表示されたnビットデータの値yは、最上位ビットから数えてj番目のビットをB[j]とすると、式(18)で表される。
【数1】
Figure 2004172794
【0071】
図6は、本明細書で用いる数値表現について説明した説明図であり、上記2の補数表示と、10進数表示と、本明細書における代表表示との関係を示した図である。符号付きの2の補数表示000,001,010,011,100,101,110,111を、それぞれN,N,N,N,−N,−N,−N,−Nと表すことにする。
【0072】
図7は、複合三角関数演算器10及び11内のROMに保持されているデータテーブルの一例を示した図である。図中の(a)には、cos(atanx)を記憶する複合三角関数演算器10の場合が示されている。出力変換処理部101のROMには、0.25間隔でステップ化された4つの値N,N,N,Nが出力変換処理部101内のROMに記憶されている。
【0073】
図中の(b)には、sin(atanx)を記憶する複合三角関数演算器11の場合が示されている。0.25間隔でステップ化された7つの値N,N,N,N,−N,−N,−Nが出力変換処理部111内のROMデータとして記憶されている。
【0074】
すなわち、複合三角関数演算器10は、演算結果が等間隔となるように予めステップ化されたcos(atanx)をROMに格納している。同様にして、複合三角関数演算器11は、演算結果が等間隔となるように予めステップ化されたsin(atanx)をROMに格納している。このため、複合三角関数演算器10及び11において必要とされるROMのワード数は、それぞれの出力データのステップ数に等しくなる。
【0075】
なお、出力データのステップ数は、要求される出力精度によって決まり、ROMのワード数もこの出力精度に応じて決定される。また、複合三角関数演算器10において、ステップ化された各値に中間データを1対1に対応づけることは、y=cos(atanx)のy軸に関する対称形を利用して、第1象限のデータのみを保持することに相当する。
【0076】
図8は、比較例として、複合三角関数cos(atanx)及びsin(atanx)について、xが等間隔となるようにステップ化した場合を示した説明図である。図中の51はcos(atanx)、52はステップ化されたy=cos(atanx)、53はy=sin(atanx)、54はステップ化されたy=sin(atanx)を示している。
【0077】
xが等間隔となるようにステップ化した場合、必要とされる出力精度を満足させるようにステップ間隔を決定する必要があり、y=cos(atanx)及びy=sin(atanx)が収束するまで、各ステップごとにデータが必要となる。このため、出力精度が決まっている場合、値xを等間隔にステップ化すると、値yを等間隔にステップ化する場合に比べて、必要となるROMのワード数が増大する。その一方で、必要となるワード長は同じである。
【0078】
従って、値yを等間隔にステップ化すれば、値xを等間隔にステップ化する場合に比べて、ROM容量が削減できることがわかる。なお、この場合、各ステップのxは不等間隔となるが、コンパレータなどにより構成される入力変換処理部100及び110における回路規模に顕著な影響を与えることはない。
【0079】
本実施の形態によれば、複合三角関数演算器10が、等間隔でステップ化された各演算結果を中間データに対応づけて記憶する出力変換処理部101と、入力された複素信号Bに基づいて中間データを生成する入力変換処理部100とを備え、一旦、複素信号Bの位相を求めることなく、その逆正接の余弦データcos(atan(B/B))を求めている。従って、複素信号から正規化された余弦データを求める演算器において、演算結果を予め記憶するROM容量を削減し、回路規模を縮小することができる。
【0080】
また、本実施の形態によれば、複合三角関数演算器11が、等間隔でステップ化された各演算結果を中間データに対応づけて記憶する出力変換処理部111と、入力された複素信号Bに基づいて中間データを生成する入力変換処理部110とを備え、一旦、複素信号Bの位相を求めることなく、その逆正接の正弦データsin(atan(B/B))を求めている。従って、複素信号から正規化された正弦データを求める演算器において、演算結果を予め記憶するROM容量を削減し、回路規模を縮小することができる。
【0081】
また、本実施の形態によれば、位相回転演算装置1が、複合三角関数演算器10及び11と、これらの演算結果に基づいて入力信号Aの位相を回転させる位相回転器とを備え、複素信号Aの振幅を変化させることなく位相回転を行っている。従って、複素信号としての位相回転信号Bに基づいて、入力信号Aを回転させる位相回転演算装置の回路規模を縮小することができる。
【0082】
なお、本実施の形態では、複合三角関数演算器10及び11におけるステップ間隔をともに0.25とし、cos(atan(B/B))を4ステップ、sin(atan(B/B))を7ステップで記憶する場合の例について説明したが、本発明はこのような場合に限定されない。すなわち、上述した通り、ステップ数は、求められる出力精度に応じて任意に決定することができる。
【0083】
実施の形態2.
実施の形態1では、位相回転演算装置1に用いられる複合三角関数演算器11として、等間隔にステップ化された演算結果を記憶し、その逆正接の正弦データsin(atan(B/B))を求める複合三角関数演算器11の一例について説明した。本実施の形態では、sin(atan(B/B))の対称性を利用して、更に、複合三角関数演算器11の回路規模を縮小させる場合について説明する。
【0084】
図9は、本発明の実施の形態2による位相回転演算装置の要部の一構成例を示したブロック図であり、図1の複合三角関数演算器11の他の構成例が示されている。この複合三角関数演算器11は、入力変換処理部110及び出力変換処理部111により構成され、出力変換処理部111は、更に、ROM112及び符号処理部113により構成される。
【0085】
ROM112は、中間データに対応づけたデータテーブルとして、等間隔にステップ化された演算結果の絶対値|sin(atan(B/B))|を記憶している。ROM112から読み出された絶対値は、符号処理部113において符号が付され、演算結果sin(atan(B/B))に変換される。
【0086】
入力変換処理部110は、中間データとして、絶対値に対応するROMアドレスと、符号データを生成している。ROM112は、このROMアドレスに基づいて絶対値を読み出し、符号処理部113は、符号データに基づいて符号処理が行われる。
【0087】
図10は、図1の複合三角関数演算器10及び11内のROMに記憶されているデータテーブルの一例を示した図である。図中の(a)には、cos(atanx)を記憶する複合三角関数演算器10の場合が示され、(b)には、sin(atanx)を記憶する複合三角関数演算器11の場合が示されている。
【0088】
図4の(b)に示したとおり、sin(atan(B/B))は、原点に関して対称形である。すなわち、y軸の両側で符号が異なり、絶対値がy軸に関して対称形となる。このため、符号処理を行う場合には、ROM112は、第1象限のデータのみを保持すればよく、絶対値情報として4つの値N,N,N,Nを記憶している。
【0089】
本実施の形態によれば、複合三角関数演算器11の出力変換処理部111が、中間データ及びsin(atan(B/B))の絶対値を対応づけたデータテーブルを記憶するROM112と、ROM112から読み出されたsin(atan(B/B))の絶対値をsin(atan(B/B))に変換する符号処理部とを備えている。このため、演算結果を予め記憶するROM容量を削減し、回路規模を縮小することができる。
【0090】
実施の形態3.
実施の形態1,2では、位相回転演算装置1が、2つの複合三角関数演算器10及び11を備える場合の例について説明した。本実施の形態では、1つの複合三角関数演算器により、cos(atan(B/B))及びsin(atan(B/B))をともに生成する場合について説明する。
【0091】
図11は、本発明の実施の形態3による位相回転演算装置の一構成例を示したブロック図である。この位相回転演算装置2は、図1の位相回転演算装置1(実施の形態1)における2つの複合三角関数演算器10及び11に代えて、1つの複合三角関数演算器12を備えている。その他の構成は、位相回転演算装置1の場合と同様である。
【0092】
複合三角関数演算器12は、位相回転信号Bに基づいて、その逆正接の余弦データcos(atan(B/B))及び逆正接の正弦データsin(atan(B/B))を生成する演算器である。従来の位相回転演算装置34(図28)と比較すれば、atan発生器332、cos発生器310及びsin発生器311が一体化されたものである。
【0093】
この複合三角関数演算器12は、演算結果cos(atan(B/B))及びsin(atan(B/B))を予めステップ化して得られた各データをペアーにして記憶する記憶手段を備え、同一の複素信号Bから求められるcos(atan(B/B))及びsin(atan(B/B))の組合せのいずれかを、同相成分B及び直交成分Bに基づいて出力する。
【0094】
入力端子23及び24から入力された位相回転信号Bは、複合三角関数演算器12において、cos(atan(B/B))及びsin(atan(B/B))に変換される。このとき、一旦、位相θ2に変換されることなく、cos(atan(B/B))及びsin(atan(B/B))に変換され、乗算器301〜304へ供給される。乗算器301〜304、減算器305及び加算器306における動作は、実施の形態1の場合と全く同様である。
【0095】
図12は、図11の複合三角関数演算器12の一構成例を示した図である。この複合三角関数演算器12は、入力変換処理部120及び出力変換処理部121により構成される。入力された同相成分B及び直交成分Bは、入力変換処理部120において、一旦、アドレス及び符号データからなる中間データに変換された後、出力変換処理部121において中間データからcos(atan(B/B))及びsin(atan(B/B))に変換される。
【0096】
出力変換処理部121は、更に、2つのROM122及び123と、符号処理部124により構成される。ROM122及び123は、同一アドレスが入力され、ペアーとして関連づけられたcos(atan(B/B))及び|sin(atan(B/B))|をそれぞれ出力する記憶手段であり、1つのROMとして構成することもできる。
【0097】
ROM122には、等間隔にステップ化された演算結果cos(atan(B/B))が記憶され、ROM123には、等間隔にステップ化された演算結果の絶対値|sin(atan(B/B))|が記憶されている。そして、ROM122,123間で互いにペアーとなる演算結果が、同一のアドレスに対応づけらるように、データテーブル化され記憶保持されている。
【0098】
入力変換処理部120は、中間データとして、アドレス及び符号データを生成している。このアドレスは、ステップ化されたcos(atan(B/B))及び|sin(atan(B/B))|の各ペアーに対応づけられ、複素信号Bに基づいて生成される。このアドレスに基づき、ROM122から読み出された演算結果cos(atan(B/B))は、そのまま出力され、ROM123から読み出された演算結果の絶対値|sin(atan(B/B))|は、符号処理部124において符号データに基づき符号が付され、sin(atan(B/B))へ変換される。
【0099】
図13は、図12のROM122及び123に保持されているデータテーブルの一例を示した図である。図5から明らかなように、ペアーで出力させる必要のあるcos(atanx)及び|sin(atanx)|の組み合わせは、(0.75,0.00),(0.75,0.25),(0.75,0.50),(0.50,0.50),(0.50,0.75),(0.25,0.75),(0.00,0.75)の7通りである。図13は、これらのペアーを代表表示N〜Nを用いて表したもでのあり、ROM122及び123は、それぞれ7ワードの演算結果を保持している。
【0100】
本実施の形態によれば、複合三角関数演算器12が、等間隔でステップ化されたcos(atan(B/B))及びsin(atan(B/B))に関し、同一の複素信号から求められる各組合せに予め対応づけられた中間データのいずれかを複素信号に基づいて生成する入力変換処理部120と、中間データに基づいて、cos(atan(B/B))及びsin(atan(B/B))を生成する出力変換処理部121とを備えている。このため、cos(atan(B/B))及びsin(atan(B/B))のそれぞれについて入力変換処理部を設ける必要がなく、複合三角関数演算器の回路規模を縮小することができる。
【0101】
実施の形態4.
実施の形態3では、1つの複合三角関数演算器12により、cos(atan(B/B))及びsin(atan(B/B))の組合せを生成する場合について説明した。本実施の形態では、このような複合三角関数演算器12において、sin(atan(B/B))及びcos(atan(B/B))の交点に関する対称性を利用して記憶データを削減する場合について説明する。
【0102】
図13に示されたROM122,123の各データテーブル(実施の形態3)は、一方のデータテーブルについて、アドレス「011」を中心にして上下でデータを入れ替えると、他方のデータテーブルになる。このことは、図5(実施の形態1)において、ステップ化されたy=cos(atanx)を示すグラフ52の変化と、ステップ化されたy=sin(atanx)を示すグラフ54の変化が、両者の交点に関して対称になっていることに起因する。
【0103】
このようなステップ化されたcos(atanx)と、ステップ化された|sin(atanx)|との対称性を利用すれば、図13のデータテーブルの一部を省略して、ROM容量を削減することができる。すなわち、以下のような構成により、cos(atanx)のデータを|sin(atanx)|として、|sin(atanx)|のデータをcos(atanx)として用いることにより、回路規模を更に縮小することができる。
【0104】
図14は、本発明の実施の形態4による位相回転演算装置の要部の一構成例を示した図であり、図11の複合三角関数演算器12(実施の形態3)の他の構成例を示した図である。この複合三角関数演算器12を、図12の場合と比較すれば、セレクタ部125および126が新たに設けられるとともに、ROM122’及び123’の記憶データが異なっている。
【0105】
この複合三角関数演算器12は、入力変換処理部120及び出力変換処理部121により構成される。入力された同相成分B及び直交成分Bは、入力変換処理部120において、一旦、アドレス、切替データ及び符号データからなる中間データに変換された後、出力変換処理部121において中間データからcos(atan(B/B))及びsin(atan(B/B))に変換される。
【0106】
出力変換処理部121は、更に、2つのROM122’及び123’と、2つのセレクタ部125及び126と、符号処理部124により構成される。ROM122’及び123’は、同一アドレスが入力される記憶手段であり、1つのROMとして構成することもできる。
【0107】
cos(atan(B/B))は、ROM122’及び123’のいずれかに格納されている。同様にして、|sin(atan(B/B))|もROM122’及び123’のいずれかに格納されている。ROM122’及び123’と、cos(atan(B/B))及び|sin(atan(B/B))|との対応関係は、複素信号Bごとに異なり、切替データによって指定される。
【0108】
セレクタ部125及び126は、ともにROM122’及び123’からの出力データが入力され、切替データに基づいて、いずれか一方を選択的に出力する切替手段である。セレクタ部125の出力はcos(atan(B/B))となる。一方、セレクタ部126の出力は|sin(atan(B/B))|となり、符号処理部124へ入力され、符号データに基づき符号処理されて、sin(atan(B/B))へ変換される。
【0109】
図15は、図14のROM122’及び123’に保持されているデータテーブルの一例を示した図である。図13のデータテーブル(実施の形態3)と比較すれば、アドレス「100」〜「110」のデータを省略して、ワード数が7から4に減少し、ROM容量が削減されている。
【0110】
また、図10のデータテーブル(実施の形態2)と比較すれば、ともにワード数4で同一であるが、本実施の形態では、入力変換処理部120が共通化されているため、実施の形態2と比較しても回路規模はより削減されている。
【0111】
本実施の形態によれば、複合三角関数演算器12が、ROM122’及びROM123’の出力データを切り替えるセレクタ部125及び126を備え、ROMアドレスにsin(atan(B/B))の絶対値及びcos(atan(B/B))の組合せを対応づける際、両者の交点に関する対称性を利用してROMデータを削減している。このため、ROM容量を削減し、回路規模を縮小させることができる。
【0112】
実施の形態5.
実施の形態3では、1つの複合三角関数演算器12によりcos(atan(B/B))及びsin(atan(B/B))を生成する場合について説明した。また、実施の形態4では、これらの交点に関する対称性を利用して記憶データを削減する場合について説明した。本実施の形態では、このような複合三角関数演算器12において、ビット反転操作により、記憶データを更に削減する場合について説明する。
【0113】
図16は、図15のデータテーブル(実施の形態4)をビット反転表示を用いて表したものである。図中の/N,/Nは、それぞれN,Nの全ビットを反転させたデータを示している。Nは2の補数表示で「000」であるから、/Nは「111」となり、−N1に相当する。同様にして、Nは2の補数表示で「001」であるから、/Nは「110」となり、−N2に相当する。
【0114】
従って、アドレスの上位ビットa=0の場合にNを、アドレスの上位ビットa=1の場合にNを、アドレスの下位ビットa=0の場合にNを、アドレスの下位ビットa=1の場合にNをそれぞれ出力可能なROMと、cos(atanx)についてビット反転を行う回路があれば、実施の形態4と同様に動作させることができる。
【0115】
図17は、本発明の実施の形態5による位相回転演算装置の要部の一構成例を示したブロック図であり、図11の複合三角関数演算器12(実施の形態3)の他の構成例を示した図である。この複合三角関数演算器12を、図14(実施の形態4)の場合と比較すれば、ビット反転部127が新たに設けられるとともに、ROM128及び129の記憶データが異なっている。
【0116】
この複合三角関数演算器12は、入力変換処理部120及び出力変換処理部121により構成される。入力された同相成分B及び直交成分Bは、入力変換処理部120において、一旦、アドレス、切替データ、符号データ及び反転データからなる中間データに変換された後、出力変換処理部121において中間データからcos(atan(B/B))及びsin(atan(B/B))に変換される。
【0117】
出力変換処理部121は、更に、2つのROM128及び129と、2つのセレクタ部125及び126と、ビット反転部127と、符号処理部124により構成される。ROM128には、アドレスの上位ビットaが入力され、ROM129には、アドレスの下位ビットaが入力され、それぞれ2ワードのデータのみを記憶している。ビット反転部127は、入力変換処理部120からの反転データに基づいてセレクタ部125の出力データの全ビットを反転させ、cos(atanx)を生成する。
【0118】
図18は、図17のROM128及び129に保持されているデータテーブルの一例を示した図である。図15のデータテーブル(実施の形態4)と比較すれば、2つのROMの合計で、ワード数が8から4に半減し、ROM容量が削減されている。
【0119】
本実施の形態によれば、複合三角関数演算器12が、全ビットの反転を行うビット反転部127を備え、ROM128及び129に記憶するデータを削減している。このため、ROM容量を削減し、回路規模を縮小させることができる。
【0120】
実施の形態6.
上記の各実施の形態では、複合三角関数演算器10〜12により、一旦、cos(atan(B/B))及びsin(atan(B/B))求めた後、乗算器301〜304により同相成分A及び直交成分Aとの積を求める場合の例について説明した。本実施の形態では、4つの複合三角関数乗算器を用いて、これらの積を求める場合について説明する。
【0121】
図19は、本発明の実施の形態6による位相回転演算装置の一構成例を示したブロック図である。この位相回転演算装置3は、4つの複合三角関数乗算器13〜16と、減算器305と、加算器306により構成される。
【0122】
複合三角関数乗算器13は、位相回転信号Bの同相成分B及び直交成分Bと、入力信号のAの同相成分Aに基づいて、Acos(atan(B/B))を求める演算器であり、図1の位相回転演算装置1(実施の形態1)における複合三角関数演算器10と、乗算器301を一体化したものとして構成される。
【0123】
複合三角関数乗算器14は、位相回転信号Bの同相成分B及び直交成分Bと、入力信号のAの直交成分Aに基づいて、Acos(atan(B/B))を求める演算器であり、図1の位相回転演算装置1(実施の形態1)における複合三角関数演算器10と、乗算器302を一体化したものとして構成される。
【0124】
複合三角関数乗算器15は、位相回転信号Bの同相成分B及び直交成分Bと、入力信号のAの同相成分Aに基づいて、Asin(atan(B/B))を求める演算器であり、図1の位相回転演算装置1(実施の形態1)における複合三角関数演算器11と、乗算器303を一体化したものとして構成される。
【0125】
複合三角関数乗算器16は、位相回転信号Bの同相成分B及び直交成分Bと、入力信号のAの直交成分Aに基づいて、Asin(atan(B/B))を求める演算器であり、図1の位相回転演算装置1(実施の形態1)における複合三角関数演算器11と、乗算器304を一体化したものとして構成される。
【0126】
減算器305及び加算器306における動作は、位相回転演算装置1の場合と全く同様である。すなわち、減算器305において出力信号Cの同相成分C=Acos(atan(B/B))−Asin(atan(B/B))が求められ、加算器306において出力信号Cの直交成分C=Acos(atan(B/B))+Asin(atan(B/B))が求められる。
【0127】
図20は、図19の複合三角関数乗算器13の一構成例を示したブロック図である。この複合三角関数乗算器13は、入力変換処理部100と、出力変換処理部131により構成される。入力された同相成分B及び直交成分Bは、入力変換処理部100において、一旦、中間データに変換された後、出力変換処理部131において中間データからAcos(atan(B/B))に変換される。
【0128】
入力変換処理部100は、図1の入力変換処理部100(実施の形態1)と同一である。すなわち、同相成分B及び直交成分Bに基づいて、等間隔にステップ化されたcos(atanx)に対応づけられた中間データを生成している。出力変換処理部131は、複素信号Aの同相成分A及び中間データの組合せを各出力データに対応づけたデータテーブルを記憶する記憶手段、例えばROMからなる。すなわち、複素信号Aの同相成分A及び中間データの組合せがアドレス入力されると、これらに予め対応づけられたAcos(atan(B/B))を出力する。
【0129】
説明の都合上、入力変換処理部100は、4つの値にステップ化されたcos(atanx)に対応づけられた中間データを生成するものとすれば、中間データは4通りのパターンとなる。一方、入力信号Aの同相成分Aのビット長がMビットであるとすると、2通りの入力信号Aに対して4通りの中間データの組合せがあるため、出力変換処理部131は、2M+2ワードのROMにより構成することができる。
【0130】
実施の形態1と比較すれば、図1の乗算器301(実施の形態1)は、任意の2つの数について乗算を行っている。これに対し、出力変換処理部131において乗算される中間データは4通りであり、それぞれのcos(atanx)の値は予め定められている。このため、図1の乗算器301をROMにより実現する場合に比べて、ROM容量を削減することができる。また、別途、複合三角関数演算器10が必要ないため、更に回路規模を削減できる。
【0131】
複合三角関数乗算器14は、出力変換処理部131が、直交成分A及び中間データの組合せをAcos(atan(B/B))に対応づけたデータテーブルを記憶する点を除き、複合三角関数乗算器13の場合と全く同様にして構成される。
【0132】
図21は、図19の複合三角関数乗算器15の一構成例を示したブロック図である。この複合三角関数乗算器15は、入力変換処理部110と、出力変換処理部151により構成される。入力変換処理部110は、図1の入力変換処理部110と同一である。すなわち、同相成分B及び直交成分Bに基づいて、等間隔にステップ化されたsin(atanx)に対応づけられた中間データを生成している。
【0133】
出力変換処理部151は、複素信号Aの同相成分A及び中間データの組合せを各出力データに対応づけたデータテーブルを記憶する記憶手段、例えばROMからなる。すなわち、複素信号Aの同相成分A及び中間データの組合せがアドレス入力されると、これらに予め対応づけられたAsin(atan(B/B))を出力する。
【0134】
複合三角関数乗算器16は、出力変換処理部151が、直交成分A及び中間データの組合せをAsin(atan(B/B))に対応づけたデータテーブルを記憶する点を除き、複合三角関数乗算器15の場合と全く同様にして構成される。
【0135】
本実施の形態によれば、位相回転演算装置3が、4つの複合三角関数乗算器13〜16を備え、cos(atan(B/B))及びsin(atan(B/B))を求めることなく、また、任意の2つの数の乗算を行うことなく、Acos(atan(B/B))、Acos(atan(B/B))、Asin(atan(B/B))及びAsin(atan(B/B))を生成している。このため、位相回転演算装置の回路規模を縮小することができる。
【0136】
なお、入力端子21から同相成分Aの各桁をシリアルデータとして順次に入力する場合であれば、複合三角関数乗算器13及び15は、予め与えられた4種類の値のいずれか一つを出力するだけでよく、4ワードのROMで構成することができる。この場合、減算器305の出力側で演算結果を順次にシフト加算する回路が必要になる。
【0137】
また、入力端子22から同相成分Aの各桁をシリアルデータとして順次に入力する場合であれば、複合三角関数乗算器14及び16は、予め与えられた4種類の値のいずれか一つを出力するだけでよく、4ワードのROMで構成することができる。この場合、加算器306の出力側で演算結果を順次にシフト加算する回路が必要になる。
【0138】
実施の形態7.
実施の形態6では、4つの複合三角関数乗算器を用いる場合について説明した。本実施の形態では、2つの複合三角関数乗算器を用い、一方によりAcos(atan(B/B))及びAsin(atan(B/B))を求め、他方によりAcos(atan(B/B))及びAsin(atan(B/B))を求める場合について説明する。
【0139】
図22は、本発明の実施の形態7による位相回転演算装置の一構成例を示したブロック図である。この位相回転演算装置4は、2つの複合三角関数乗算器17及び18と、減算器305と、加算器306により構成される。
【0140】
複合三角関数乗算器17は、位相回転信号Bの同相成分B及び直交成分Bと、入力信号のAの同相成分Aに基づいて、Acos(atan(B/B))及びAsin(atan(B/B))を求める演算器であり、図11の位相回転演算装置2(実施の形態3)における複合三角関数演算器12と、乗算器301及び302とを一体化したものとして構成される。
【0141】
複合三角関数乗算器18は、位相回転信号Bの同相成分B及び直交成分Bと、入力信号のAの直交成分Aに基づいて、Acos(atan(B/B))及びAsin(atan(B/B))を求める演算器であり、図11の位相回転演算装置2(実施の形態3)における複合三角関数演算器12と、乗算器303及び304を一体化したものとして構成される。
【0142】
減算器305及び加算器306における動作は、位相回転演算装置1〜3の場合と全く同様である。すなわち、減算器305において出力信号Cの同相成分C=Acos(atan(B/B))−Asin(atan(B/B))が求められ、加算器306において出力信号Cの直交成分C=Acos(atan(B/B))+Asin(atan(B/B))が求められる。
【0143】
図23は、図22の複合三角関数演算器17の一構成例を示した図である。この複合三角関数演算器17は、入力変換処理部120及び出力変換処理部171により構成される。入力された同相成分B及び直交成分Bは、入力変換処理部120において、一旦、アドレス及び符号データからなる中間データに変換された後、出力変換処理部171において中間データからAcos(atan(B/B))及びAsin(atan(B/B))に変換される。
【0144】
入力変換処理部120は、図12の入力変換処理部120(実施の形態3)と同一である。すなわち、同相成分B及び直交成分Bに基づいて、等間隔にステップ化されたcos(atan(B/B))及び|sin(atan(B/B))|の各ペアーに対応づけられたアドレスと、sin(atan(B/B))の符号データを中間データとして生成している。
【0145】
出力変換処理部171は、更に、2つのROM172及び173と、符号処理部174により構成される。ROM172及び173は、同一のアドレス、すなわち、入力信号Aの同相成分Aと中間データの組合せが入力され、ペアーとして関連づけられたAcos(atan(B/B))及びA|sin(atan(B/B))|をそれぞれ出力する記憶手段であり、1つのROMとして構成することもできる。符号処理部174は、sin(atanx)の符号データに応じて、ROM173の出力データの符号の反転を行っている。
【0146】
複合三角関数演算器18は、出力変換処理部171が、直交成分A及び中間データの組合せをAcos(atan(B/B))及びA|sin(atan(B/B))|に対応づけたデータテーブルを記憶する点を除き、複合三角関数乗算器17の場合と全く同様にして構成される。
【0147】
本実施の形態によれば、位相回転演算装置4が、2つの複合三角関数乗算器17及び18を備え、Acos(atan(B/B))、Acos(atan(B/B))、Asin(atan(B/B))及びAsin(atan(B/B))を生成している。このため、実施の形態6と比較すれば、入力変換処理部が半減し、複合三角関数演算器の回路規模を縮小することができる。
【0148】
【発明の効果】
本発明によれば、演算精度を低下させることなく回路規模を縮小させ、低消費電力で安価な複合三角関数演算器を提供することができる。また、演算精度を低下させることなく回路規模を縮小させ、低消費電力で安価な位相回転演算装置を提供することができる。
【図面の簡単な説明】
【図1】本発明の実施の形態1による位相回転演算装置の一構成例を示したブロック図である。
【図2】図1の複合三角関数演算器10の一構成例を示した図である。
【図3】図1の複合三角関数演算器11の一構成例を示した図である。
【図4】複合三角関数cos(atanx)及びsin(atanx)についての説明図である。
【図5】複合三角関数演算器10及び11におけるステップ化されたcos(atanx)及びsin(atanx)の一例を示した説明図である。
【図6】本明細書で用いる数値表現について説明した説明図である。
【図7】複合三角関数演算器10及び11内のROMに保持されているデータテーブルの一例を示した図である。
【図8】比較例として、複合三角関数cos(atanx)及びsin(atanx)について、xが等間隔となるようにステップ化した場合を示した説明図である。
【図9】本発明の実施の形態2による位相回転演算装置の要部の一構成例を示したブロック図である。
【図10】図1の複合三角関数演算器10及び11内のROMに記憶されているデータテーブルの一例を示した図である。
【図11】本発明の実施の形態3による位相回転演算装置の一構成例を示したブロック図である。
【図12】図11の複合三角関数演算器12の一構成例を示した図である。
【図13】図12のROM122及び123に保持されているデータテーブルの一例を示した図である。
【図14】本発明の実施の形態4による位相回転演算装置の要部の一構成例を示した図である。
【図15】図14のROM122’及び123’に保持されているデータテーブルの一例を示した図である。
【図16】図15のデータテーブル(実施の形態4)をビット反転表示を用いて表したものである。
【図17】本発明の実施の形態5による位相回転演算装置の要部の一構成例を示したブロック図である。
【図18】図17のROM128及び129に保持されているデータテーブルの一例を示した図である。
【図19】本発明の実施の形態6による位相回転演算装置の一構成例を示したブロック図である。
【図20】図19の複合三角関数乗算器13の一構成例を示したブロック図である。
【図21】図19の複合三角関数乗算器15の一構成例を示したブロック図である。
【図22】本発明の実施の形態7による位相回転演算装置の一構成例を示したブロック図である。
【図23】図22の複合三角関数演算器17の一構成例を示した図である。
【図24】従来の位相回転演算装置として第1の構成例を示したブロック図である。
【図25】従来の位相回転演算装置として第2の構成例を示したブロック図である。
【図26】従来の位相回転演算装置として第3の構成例を示したブロック図である。
【図27】従来の位相回転演算装置として第4の構成例を示したブロック図である。
【図28】デジタルデータ伝送システムの受信装置に適用可能な従来の位相回転演算装置の構成を示したブロック図である。
【符号の説明】
1〜4 位相回転演算装置
10〜18 複合三角関数演算器
100,110,120 入力変換処理部
101,111、121,131,141,151,171 出力変換処理部
113,124,174 符号処理部
125,126 セレクタ部
127 ビット反転部
301〜304 乗算器
305 減算器
306 加算器
A 入力信号
B 位相回転信号
C 出力信号
,B,C 同相成分
,B,C 直交成分
r1,r2,r3 振幅
θ1,θ2,θ3 位相[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a compound trigonometric function calculator and a phase rotation calculator, and more particularly, to a compound trigonometric function calculator for obtaining cosine data and sine data of an arctangent based on a complex signal composed of an in-phase component and a quadrature component. , And a phase rotation calculation device using the same.
[0002]
[Prior art]
First, a phase rotation operation for a signal representing a complex number (a complex signal) will be described. Since a complex number is generally specified by an amplitude and a phase, if the amplitude of the complex signal A is r1, the phase (the angle formed with the real axis) is θ1, and the pure imaginary number is j, the complex signal A is expressed by the following equation (1). It is represented as
A = r1 · e jθ1 (1)
[0003]
To obtain an output signal C having a phase θ3 = θ1 + θ2 and an amplitude r3 = r1 · r2 by rotating the phase θ1 of the complex signal A by θ2, a multiplication of the complex signal B having the phase θ2 and the amplitude r2 may be performed. . That is, the complex signals B and C are represented as in equations (2) to (4).
Figure 2004172794
[0004]
Since an integrated circuit capable of directly operating a complex number cannot be realized, a complex signal as a digital signal is usually represented as two-dimensional data including an in-phase component (real part) and a quadrature component (imaginary part). That is, the complex signals A, B, and C have their in-phase components represented by A I , B I , C I And each orthogonal component is A Q , B Q , C Q Then, they are expressed as Expressions (5) to (7).
A≡A I + JA Q (5)
B≡B I + JB Q (6)
C≡C I + JC Q (7)
[0005]
Expressions (5) and (6) are substituted for the terms A and B in Expression (4) to expand the expression, and the in-phase and quadrature components are arranged to obtain Expression (8). Comparing the right sides of Expressions (8) and (7), the in-phase component C of the complex signal C is obtained. I And the orthogonal component C Q Can be expressed as in equations (9) and (10), respectively.
Figure 2004172794
[0006]
FIG. 24 is a block diagram showing a first configuration example as a conventional phase rotation operation device (for example, see Patent Document 1). The phase rotation operation device 30 includes four multipliers 301 to 304, a subtractor 305, and an adder 306. The input signal A and the phase rotation signal B are input, and the phase of the input signal A is changed to the phase rotation signal B. An output signal C rotated by the amount of the phase is output.
[0007]
The phase rotation operation device 30 generates an output signal C by performing four multiplications and two additions and subtractions according to the equations (9) and (10). That is, in the multipliers 301 to 304, each combination A of the in-phase component and the quadrature component of the input signal A and the phase rotation signal B I ・ B I , A Q ・ B I , A I ・ B Q , A Q ・ B Q And the in-phase component A of the output signal C in the subtractor 305. I ・ B I -A Q ・ B Q And the adder 306 calculates the orthogonal component A of the output signal C. I ・ B I + A Q ・ B Q Seeking.
[0008]
When correcting a frequency shift or a phase shift in the demodulator, it is desirable to perform the phase rotation without changing the amplitude r1 of the input signal A. Therefore, the phase rotation signal B needs to be a complex signal normalized in advance (that is, the amplitude r2 = 1). On the other hand, the phase rotation operation device of FIG. 24 has a capability of multiplying the input signal A by a phase rotation signal B having an arbitrary amplitude r2, and is a complex multiplier rather than a phase rotation operation device. It is a more appropriate circuit to call.
[0009]
That is, when the phase rotation operation device 30 is used for the purpose of performing the phase rotation operation of the input signal A, the phase rotation operation device 30 requires an additional circuit for normalizing the phase rotation signal B, while having an excessive capacity as a multiplier. And there is room for improvement to reduce the circuit scale.
[0010]
Further, when the multiplier is realized by a digital circuit, the circuit scale is generally large and the power consumption is also large. Therefore, when such a digital phase rotation operation device is incorporated in a demodulator, the circuit scale and power consumption of the demodulator also become large. Therefore, it is important to make the circuit configuration with as few multipliers as possible in terms of miniaturization of the circuit scale and reduction of power consumption.
[0011]
For example, if the angle to rotate (the amount of phase rotation) is limited to some extent, the four multipliers 301 to 304 can be realized by a data table. In this case, by converting the multipliers 301 to 304 into a ROM, the circuit size and power consumption of the phase rotation operation device can be reduced.
[0012]
FIG. 25 is a block diagram showing a second configuration example as a conventional phase rotation operation device (for example, see Patent Document 2). This phase rotation calculation device 31 adds a cos generator 310 and a sin generator 311 to the phase rotation calculation device 30 in FIG. 24, and inputs the angle θ2 as the phase rotation amount. The angle θ2 is converted into cos θ2 and sin θ2 in the cos generator 310 and the sin generator 311 and input to the multipliers 301 to 304.
[0013]
The fact that the phase rotation amount is given as phase angle data means that the phase rotation signal B in the phase rotation calculation device 30 in FIG. 24 does not include amplitude information, and that the amplitude r2 of the phase rotation signal B is a constant.
[0014]
The in-phase component and the quadrature component of the normalized complex number can be respectively expressed using trigonometric functions. In the case of the phase rotation signal B having the amplitude r2 = 1 and the phase θ2, the in-phase component B I Is cos θ2, orthogonal component B Q Becomes sin θ2. Therefore, the normalized phase rotation signal B is expressed as in equation (6 ′).
Figure 2004172794
[0015]
Since the input signal A and the output signal C are the same complex signals as in the case of the phase rotation operation device 30 in FIG. 24, equations (5) and (7) can be used, respectively. By substituting equations (5) and (6 ′) for the terms A and B in equation (4) and developing the in-phase and quadrature components, equation (8 ′) corresponding to equation (8) is obtained. Can be
C = (A I cos θ2-A Q sin θ2) + j (A Q cos θ2 + A I sin θ2) (8 ')
[0016]
Comparing the right sides of Expressions (8 ′) and (7) yields Expressions (9 ′) and (10 ′) corresponding to Expressions (9) and (10). That is, the in-phase component C of the output signal C I And the orthogonal component C Q Are represented as in equations (9 ′) and (10 ′), respectively.
C I = A I cos θ2-A Q sin θ2 (9 ')
C Q = A Q cos θ2 + A I sin θ2 (10 ')
[0017]
The phase rotation calculation device 31 in FIG. 25 is an example in which the equations (9 ′) and (10 ′) are realized as mathematical expressions. In the phase rotation calculating device 31, since the phase rotation amount is given by the angle θ2, a cos generator 310 and a sin generator 311 that generate sin θ2 and cos θ2 from θ2 are required. If the required precision is limited, these trigonometric function generators 310 and 311 can be realized by a data table stored in a ROM or the like.
[0018]
sin θ2 and cos θ2 are B in FIG. Q , B I FIG. 25 can be considered as a case where a normalized signal having an amplitude r2 = 1 and a phase θ2 is input as the phase rotation signal B. Accordingly, the amplitude r3 of the output signal C becomes equal to the amplitude r1 of the input signal A, and the processing in the phase rotation operation device 31 corresponds to an operation of rotating the input signal A on a complex plane.
[0019]
The multipliers 301 to 304 have a capability of multiplying a phase rotation signal having an arbitrary amplitude, similarly to the phase rotation operation device 30, and have an excessive capability as a multiplier to reduce the circuit scale. There is room for improvement. If the phase rotation signal B is given instead of the angle θ2 as the phase rotation amount, it is necessary to convert the phase rotation signal B into the angle θ2 in advance, which requires an additional circuit.
[0020]
FIG. 26 is a block diagram showing a third configuration example as a conventional phase rotation operation device (for example, see Patent Document 2). The phase rotation operation device 32 includes trigonometric function multipliers 321 to 324, a subtractor 305, and an adder 306, and receives an angle θ2 as a phase rotation amount.
[0021]
The trigonometric function multiplication unit 321 is configured as an integrated unit of the cos generator 310 and the multiplier 301 in the phase rotation device 31 of FIG. Similarly, the trigonometric function multiplier 322 includes the cos generator 310 and the multiplier 302, the trigonometric function multiplier 323 includes the sine generator 311 and the multiplier 303, and the trigonometric function multiplier 324 includes the sin generator 311 and the multiplier 304. Are integrated. Therefore, the trigonometric function multiplier 321 calculates A I cos θ2 and the trigonometric function multiplication unit 322 Q cos θ2 and the trigonometric function multiplication unit 323 I sin θ2 and the trigonometric function multiplier 324 Q and outputs sin θ2.
[0022]
The accuracy of the phase rotation signal in a demodulator is usually somewhat limited. In the phase rotation calculating device 32, by utilizing the fact that the value of the angle θ2 indicating the amount of phase rotation is limited, the multiplier can be substantially eliminated and the multiplication can be realized by the ROM. Also in this case, the amplitude r3 of the output signal becomes equal to the amplitude r1 of the input signal as in the case of the phase rotation operation device 31 in FIG. Operation.
[0023]
FIG. 27 is a block diagram showing a fourth configuration example as a conventional phase rotation operation device (for example, see Patent Document 1). The phase rotation operation device 33 includes an atan generator 331 and 332, an adder 333, a cos generator 334, and a sin generator 335, and converts the input signal A and the phase rotation signal B into phase angles θ1 and θ2, respectively. Thereafter, the output signal C is generated by obtaining the phase angle θ3 = θ1 + θ2.
[0024]
If the input signal A is represented using a trigonometric function, the expression (5 ′) is obtained. That is, as shown in equations (11) and (12), r1 cos θ1 is the in-phase component A of A. I And r1 sin θ1 is the orthogonal component A of A Q It is.
Figure 2004172794
[0025]
Ratio A of in-phase component and quadrature component Q / A I Is the tangent tan θ1 of the phase angle, so that the input signal A I And orthogonal component A Q , The phase θ1 can be obtained by Expression (13) using an arc tangent (atan) function. In exactly the same manner, the phase θ2 of the phase rotation signal B can be obtained by Expression (14).
θ1 = atan (A Q / A I ) (13)
θ2 = atan (B Q / B I ) (14)
[0026]
From Expressions (13) and (14), the phase θ3 of the output signal C can be obtained by Expression (15).
Figure 2004172794
[0027]
On the other hand, when the output signal C is represented by using a trigonometric function, the equation (7 ′) is obtained. That is, r3cosθ3 is the in-phase component C of C I And r3 sin θ3 is the orthogonal component C of C Q Therefore, the output signal C can be obtained by Expressions (16) and (17).
Figure 2004172794
[0028]
According to equations (13) and (14), when the input signal A and the phase rotation signal B are converted into θ1 and θ2, respectively, the amplitude information r1 and r2 of these signals are lost. For this reason, when it is desired to set the amplitude r3 of the output signal C to r2, r2 of the input signal A is separately obtained and the in-phase component C I And orthogonal component C Q Must be multiplied.
[0029]
27 is an example in which the equations (15) to (17) are realized with r3 = 1. The atan generator 331 is composed of a ROM in which a data table of an arctangent function is stored. I And orthogonal component A Q Is input as an address, and arctangent data atan (A Q / A I ) Is output. The atan generator 332 also includes a ROM storing a data table of the arctangent function, and the in-phase component B of the phase rotation signal B I And orthogonal component B Q Is input as an address, and arctangent data atan (B Q / B I ) Is output.
[0030]
The adder 333 outputs atan (A) from the atan generator 331. Q / A I ) And atan (B) from atan generator 332 Q / B I ) Is added. That is, the phase θ1 of the output signal C is generated by adding the phase θ1 of the input signal A and the phase θ2 of the phase rotation signal B.
[0031]
The cos generator 334 is composed of a ROM in which a data table of the cosine function is stored. The output phase θ3 of the adder 333 is input as an address, and the cosine data cos θ3 is output. The sin generator 335 is composed of a ROM storing a data table of a sine function, receives the address of the output phase θ3 of the adder 333, and outputs the sine function sinθ3. In this way, the in-phase component C of the normalized output signal C I And orthogonal component C Q Is generated by the cos generator 334 and the sin generator 335.
[0032]
In the case of the phase rotation operation device 33, the amplitude r1 of the input signal A and the amplitude r2 of the phase rotation signal B are not reflected on the output signal C, so that neither the input signal A nor the phase rotation signal B need be normalized. . Compared with the phase rotation operation device 30 of FIG. 24, the input signal A and the phase rotation signal B are both common in that they are given as complex signals. While the output can be output, the phase rotation operation device 33 is different in that the amplitude of the output signal C is necessarily constant.
[0033]
The atan generators 331 and 332 may be constituted by a so-called CORDIC (coordinate rotate digital computer algorithm) circuit capable of generating an arbitrary angle.
[0034]
The phase rotation calculation device 33 in FIG. 27 synthesizes the phase angle θ1 of the input signal A and the phase angle θ2 of the phase rotation signal B, rather than rotating the phase of the input signal A based on the phase of the phase rotation signal B. However, it is better to regard the circuit as generating a normalized signal C = cos θ3 + jsin θ3 having a new phase angle θ3 = θ1 + θ2, and it is more appropriate to call it a phase synthesizer rather than a phase rotation operation device.
[0035]
Here, a phase rotation operation device of a digital two-dimensional signal for correcting a frequency shift and a phase shift in a receiving device of a digital data transmission system will be examined. In this type of phase rotation operation device, the input signal A and the phase rotation signal B are both input as two-dimensional data (a complex signal composed of an in-phase component and a quadrature component), and the amplitude r1 of the input signal A is always standardized. Absent. Further, the amplitude r3 of the output signal C must be the same as the amplitude r1 of the input signal A.
[0036]
Therefore, when the phase rotation operation device 30 of FIG. 24 is used, it is necessary to standardize the phase rotation signal B as a complex signal in advance, and it is necessary to temporarily convert it to θ2 using an atan converter. Further, in the phase rotation operation devices 31 and 32 of FIGS. 25 and 26, since the phase angle θ2 is input, it is necessary to convert the phase rotation signal B as a complex signal into the phase angle θ2 again using an atan generator. is there.
[0037]
FIG. 28 is a block diagram showing a configuration of a conventional phase rotation operation device applicable to a receiving device of such a digital data transmission system. This phase rotation calculation device is configured by adding the atan generator 332 of FIG. 28 to the phase rotation calculation device 31 of FIG. The atan generator 332 has an in-phase component B I And orthogonal component B Q Is converted into its phase angle θ2 and input to the cos generator 310 and the sin generator 311. As described above, the trigonometric function multipliers 321 to 324 can be obtained by integrating the cos generator 310 and the multipliers 301 and 302 and integrating the sin generator 311 and the multipliers 303 and 304. It is.
[0038]
[Patent Document 1]
JP-A-5-129893 (paragraphs 0002 to 0003, paragraphs 0019 to 0028, FIG. 2, FIG. 10)
[Patent Document 2]
JP-A-11-17756 (paragraph 0002, paragraphs 0016 to 0021, FIGS. 2 and 7)
[0039]
[Problems to be solved by the invention]
As described above, in the case of a phase rotation device used in a receiving device or the like of a digital data transmission system, it is necessary to correct a frequency shift or a phase shift without changing the amplitude r1 of the input signal A. It is necessary to multiply by the normalized phase rotation signal B. For this reason, in the phase rotation calculating device 34 in FIG. 28, the unnormalized phase rotation signal B is input to the atan generator 332, and is once converted into phase angle information θ2 to generate a normalized phase rotation signal. are doing.
[0040]
However, the atan generator generally has a complicated circuit configuration and a large circuit scale. Therefore, the phase rotation operation device 34 using the atan generator 332 in addition to the multipliers 301 to 304 having a large circuit scale has a problem that the circuit scale becomes large.
[0041]
The present invention has been made in view of such circumstances, and an object of the present invention is to provide a composite trigonometric function operation unit in which the circuit scale is reduced without lowering the operation accuracy. It is another object of the present invention to provide a phase rotation calculation device in which the circuit scale is reduced without lowering the calculation accuracy.
[0042]
[Means for Solving the Problems]
[0043]
The complex trigonometric function operation unit according to the present invention has an in-phase component B I And orthogonal component B Q Is input, and the cosine data cos (atan (B Q / B I )), An input conversion processing unit for generating, based on the complex signal, intermediate data previously associated with the output data stepped at equal intervals, based on the complex data. , And an output conversion processing unit that generates cosine data of arctangent.
[0044]
Each data output from the complex trigonometric function operation unit is previously formed into steps so that the step intervals become equal, and the intermediate data is associated in advance with any of these output data. The output conversion processing unit converts the intermediate data into output data, that is, the cosine data cos (atan (B Q / B I )).
[0045]
In this way, cos (atan (B Q / B I By making steps)) at equal intervals, the circuit scale of the output conversion processing unit and the circuit scale of the composite trigonometric function operation unit can be reduced without lowering the output accuracy. For example, when the output conversion processing unit is realized by a ROM, cos (atan (B Q / B I By storing)) in the ROM in association with the intermediate data, the ROM capacity can be reduced without lowering the accuracy of the output data.
[0046]
Further, the composite trigonometric function computing unit according to the present invention has an in-phase component B I And orthogonal component B Q Is input, and the sine data sin (atan (B Q / B I )), An input conversion processing unit for generating, based on the complex signal, intermediate data previously associated with the output data stepped at equal intervals, based on the complex data. , And an output conversion processing unit that generates cosine data of arctangent.
[0047]
With such a configuration, cos (atan (B Q / B I )), Sin (atan (B Q / B I By making steps)) at equal intervals, the circuit scale of the output conversion processing unit and the circuit scale of the composite trigonometric function operation unit can be reduced without lowering the output accuracy.
[0048]
Further, the composite trigonometric function computing unit according to the present invention has an in-phase component B I And orthogonal component B Q Is input, and the cosine data cos (atan (B Q / B I )) And the arc tangent sine data sin (atan (B Q / B I )), And outputs cos (atan (B Q / B I )) And sin (atan (B Q / B I )), An input conversion processing unit that generates one of the intermediate data previously associated with each combination obtained from the same complex signal based on the input complex signal, and cos ( atan (B Q / B I )) And sin (atan (B Q / B I )) And an output conversion processing unit that generates the output data.
[0049]
The input conversion processing unit determines that cos (atan (B Q / B I )) And sin (atan (B Q / B I )), The intermediate data corresponding to each combination is generated so that one input conversion processing unit cos (atan (B Q / B I )) And sin (atan (B Q / B I )) Can be generated, and the circuit scale can be reduced.
[0050]
In addition, the phase rotation calculation device according to the present invention provides an in-phase component B I And orthogonal component B Q Based on the second complex signal consisting of I And orthogonal component A Q A phase rotation operation device for performing phase rotation of a first complex signal consisting of: cos (atan (B Q / B I )) To generate the compound trigonometric function calculator, and sin (atan (B Q / B I )) To generate the complex trigonometric function calculator, and cos (atan (B Q / B I )) And sin (atan (B Q / B I )) And a phase rotator for rotating the phase of the first complex signal.
[0051]
With such a configuration, it is possible to reduce the circuit scale of the complex trigonometric function calculator and the circuit scale of the phase rotation calculation device without lowering the calculation accuracy.
[0052]
BEST MODE FOR CARRYING OUT THE INVENTION
Embodiment 1 FIG.
FIG. 1 is a block diagram showing one configuration example of the phase rotation calculation device according to the first embodiment of the present invention. The phase rotation operation device 1 includes multipliers 301 to 304, a subtractor 305, an adder 306, and composite trigonometric function operation units 10 and 11. It also has input terminals 21 to 24 for complex signals and output terminals 25 and 26 for complex signals.
[0053]
The phase rotation operation device 1 receives an input signal A having a phase θ1 having an arbitrary amplitude r1 and a phase rotation signal B having a phase θ2 having an unnormalized amplitude r2, and converts the phase of the input signal A into a complex plane. The output signal C rotated by θ2 is output. That is, the output signal C is a complex signal whose amplitude r3 is equal to r1 and whose phase θ3 is equal to θ1 + θ2.
[0054]
In-phase component A of input signal A I And orthogonal component A Q Are input from input terminals 21 and 22, respectively, and the in-phase component B of the phase rotation signal B is I And orthogonal component B Q Are input from input terminals 23 and 24, respectively, and the in-phase component C of the output signal C I And orthogonal component C Q Are output from output terminals 25 and 26, respectively.
[0055]
Based on the phase rotation signal B, the composite trigonometric function calculator 10 calculates the cosine data cos (atan (B Q / B I )), The atan generator 332 and the cos generator 310 are integrated as compared with the conventional phase rotation calculating device 34 (FIG. 28). The composite trigonometric function operation unit 10 calculates the operation result cos (atan (B Q / B I )) Is provided with a storage means for storing each data obtained by stepping the I And orthogonal component B Q And outputs any data based on
[0056]
Further, based on the phase rotation signal B, the complex trigonometric function calculator 11 calculates the sine data sin (atan (B Q / B I )), The atan generator 332 and the sine generator 311 are integrated as compared with the conventional phase rotation calculating device 34 (FIG. 28). The composite trigonometric function calculator 11 calculates the calculation result sin (atan (B Q / B I )) Is provided with a storage means for storing each data obtained by stepping the I And orthogonal component B Q And outputs any data based on
[0057]
The phase rotation signals B input from the input terminals 23 and 24 are subjected to cos (atan (B Q / B I )) And sin (atan (B Q / B I )). At this time, cos (atan (B Q / B I )) And sin (atan (B Q / B I )) And supplied to the multipliers 301 to 304. cos (atan (B Q / B I )) And sin (atan (B Q / B I )) Correspond to cos θ2 and sin θ2, respectively, so that the operations of the multipliers 301 to 304, the subtractor 305, and the adder 306 are exactly the same as those of the conventional phase rotation operation device 31.
[0058]
That is, in the multipliers 301 to 304, each combination A of the in-phase component and the quadrature component with respect to the input signal A and the normalized phase rotation signal B. I cosθ2, A Q cosθ2, A I sin θ2, A Q sin θ2 is determined. Then, the in-phase component C of the output signal C I = A I cos θ2-A Q sin θ2 is obtained, and the adder 306 calculates the quadrature component C of the output signal C. Q = A I cos θ2 + A Q sin θ2 is determined.
[0059]
FIG. 2 is a diagram showing an example of the configuration of the composite trigonometric function calculator 10 of FIG. The composite trigonometric function operation unit 10 includes an input conversion processing unit 100 and an output conversion processing unit 101. Input common-mode component B I And orthogonal component B Q Is temporarily converted to intermediate data in the input conversion processing unit 100, and then cos (atan (B Q / B I )).
[0060]
The intermediate data is data associated with each stepped output data. The input conversion processing unit 100 I And orthogonal component B Q , The intermediate data is generated. For example, B I / B Q Or a comparator that compares the division result with a plurality of thresholds, or an in-phase component B I And orthogonal component B Q Can be configured by a comparator that compares each with a plurality of threshold values.
[0061]
The output conversion processing unit 101 is configured by a storage unit that stores a data table in which the intermediate data is associated with each output data, for example, a ROM. That is, the operation result cos (atan (B Q / B I )) Are stored at regular intervals, and when the intermediate data is input as an address, cos (atan (B Q / B I )) Is output.
[0062]
FIG. 3 is a diagram showing an example of the configuration of the composite trigonometric function calculator 11 of FIG. The complex trigonometric function operation unit 11 includes an input conversion processing unit 110 and an output conversion processing unit 111. Input common-mode component B I And orthogonal component B Q Is temporarily converted into intermediate data in the input conversion processing unit 110, and then sin (atan (B Q / B I )).
[0063]
The intermediate data is data associated with each stepped output data. The input conversion processing unit 110 I And orthogonal component B Q , The intermediate data is generated. The output conversion processing unit 111 is composed of a ROM that holds a data table in which the intermediate data is associated with each output data. That is, sin (atan (B Q / B I )) Are stored at regular intervals, and each piece of data obtained is stored. When the intermediate data is input as an address, sin (atan (B Q / B I )) Is output.
[0064]
FIG. 4 is an explanatory diagram of the composite trigonometric functions cos (atanx) and sin (atanx). (A) in the figure shows a graph of the arctangent function θ2 = atanx, where x is the horizontal axis and θ2 is the vertical axis. As shown in this figure, θ2 = atanx changes in the range of −π / 2 ≦ θ2 ≦ π / 2 for all values of x.
[0065]
(B) in the figure shows a graph in which x is on the horizontal axis and y is on the vertical axis, and y = sinx and y = sin (atanx). Similarly, (c) in the figure shows a graph of y = cosx and y = cos (atanx). Since −π / 2 ≦ atan ≦ π / 2, y = sin (atanx) and y = cos (atanx) change the range of −1 ≦ y ≦ + 1 for all x.
[0066]
Therefore, if the accuracy of the finally required value is determined, the number (the number of steps) of the value y in the case where the value y is stepped becomes the same for y = cosx and y = cos (atanx). . Similarly, for y = sinx and y = sin (atanx), the number of values y (the number of steps) in the case where the value y is stepped is the same.
[0067]
That is, in the case where the value y is stored in the ROM in steps, the required number of words is the same regardless of whether the trigonometric function y = cosx or the composite trigonometric function y = cos (atanx). Also, since the required word lengths are the same, the required circuit scales are the same for both. The same applies to y = sinx and y = sin (atanx). As a result, it is understood that there is no need to once derive the phase θ2 of the phase rotation signal B unlike the conventional phase rotation operation device 34 (FIG. 28).
[0068]
FIG. 5 is an explanatory diagram showing an example of stepped cos (atanx) and sin (atanx) in the composite trigonometric function operation units 10 and 11. In the figure, 51 indicates y = cos (atanx), 52 indicates y = cos (atanx) stepped, 53 indicates y = sin (atanx), and 54 indicates y = sin (atanx) converted into a step. .
[0069]
For convenience of explanation, here, cos (atanx) is stepped into four values so as to be equally spaced, and cos (atanx) is an approximate value of y = 0, y = 0.25, y = 0. 5, y = 0.75 is used. In addition, sin (atanx) is stepped into seven values so as to be equally spaced, and sin (atanx) is an approximate value of y = 0, y = 0.25, y = 0.5, y = 0. 75, y = −0.25, y = −0.5, y = −0.75.
[0070]
Each of the above values y is assumed to be stored in the ROM as a signed fixed-point number represented by a two's complement. In signed two's complement, the most significant bit generally represents the sign and the other bits represent the absolute value. Therefore, the value y of n-bit data represented by a signed two's complement is represented by Expression (18), where the j-th bit counted from the most significant bit is B [j].
(Equation 1)
Figure 2004172794
[0071]
FIG. 6 is an explanatory diagram explaining the numerical expression used in the present specification, and is a diagram showing a relationship between the two's complement display, the decimal display, and the representative display in the present specification. Signed two's complement notation 000,001,010,011,100,101,110,111 0 , N 1 , N 2 , N 3 , -N 4 , -N 3 , -N 2 , -N 1 Will be expressed as
[0072]
FIG. 7 is a diagram showing an example of a data table held in the ROMs in the complex trigonometric function operation units 10 and 11. (A) in the figure shows the case of the complex trigonometric function operation unit 10 that stores cos (atanx). The ROM of the output conversion processing unit 101 stores four values N stepped at intervals of 0.25. 0 , N 1 , N 2 , N 3 Are stored in the ROM in the output conversion processing unit 101.
[0073]
(B) in the figure shows the case of the complex trigonometric function operation unit 11 that stores sin (atanx). 7 values N stepped at 0.25 intervals 0 , N 1 , N 2 , N 3 , -N 3 , -N 2 , -N 1 Are stored as ROM data in the output conversion processing unit 111.
[0074]
That is, the composite trigonometric function operation unit 10 stores, in the ROM, cos (atanx) which has been stepped in advance so that the operation results are equally spaced. Similarly, the compound trigonometric function operation unit 11 stores sin (atanx), which has been stepped in advance so that the operation results are equally spaced, in the ROM. Therefore, the number of words of the ROM required in the complex trigonometric function calculators 10 and 11 is equal to the number of steps of each output data.
[0075]
Note that the number of steps of the output data is determined by the required output accuracy, and the number of words in the ROM is also determined by the output accuracy. Also, in the composite trigonometric function operation unit 10, associating the intermediate data one-to-one with each of the stepped values is performed by using a symmetrical shape with respect to the y-axis of y = cos (atanx) in the first quadrant. This is equivalent to retaining only data.
[0076]
FIG. 8 is an explanatory diagram showing, as a comparative example, a case where the composite trigonometric functions cos (atanx) and sin (atanx) are stepped so that x has an equal interval. In the figure, reference numeral 51 denotes cos (atanx), 52 denotes y = cos (atanx) which is stepped, 53 denotes y = sin (atanx), and 54 denotes y = sin (atanx) which is stepped.
[0077]
When stepping is performed so that x has an equal interval, it is necessary to determine the step interval so as to satisfy the required output accuracy, and until y = cos (atanx) and y = sin (atanx) converge. Data is required for each step. For this reason, when the output precision is determined, if the value x is stepped at regular intervals, the number of words of the ROM required is increased as compared with the case where the value y is stepped at regular intervals. On the other hand, the required word length is the same.
[0078]
Accordingly, it can be seen that the ROM capacity can be reduced by stepping the value y at regular intervals, as compared with the case of stepping the value x at regular intervals. In this case, x in each step is unequally spaced, but does not significantly affect the circuit scale in the input conversion processing units 100 and 110 including a comparator and the like.
[0079]
According to the present embodiment, the compound trigonometric function operation unit 10 is configured to output, based on an input complex signal B, an output conversion processing unit 101 that stores each operation result stepped at equal intervals in association with intermediate data. And an input conversion processing unit 100 for generating intermediate data by using the cosine data cos (atan (B Q / B I )). Therefore, in an arithmetic unit that obtains normalized cosine data from a complex signal, it is possible to reduce the ROM capacity for storing operation results in advance, and to reduce the circuit scale.
[0080]
Further, according to the present embodiment, the complex trigonometric function calculator 11 stores the output conversion processing unit 111 that stores each stepped calculation result at regular intervals in association with the intermediate data, and the input complex signal B And an input conversion processing unit 110 for generating intermediate data based on the sine data sin (atan (B Q / B I )). Therefore, in an arithmetic unit that obtains normalized sine data from a complex signal, it is possible to reduce the ROM capacity for storing operation results in advance, and to reduce the circuit scale.
[0081]
Further, according to the present embodiment, the phase rotation operation device 1 includes the complex trigonometric function operation units 10 and 11, and the phase rotator that rotates the phase of the input signal A based on the operation results thereof, and The phase rotation is performed without changing the amplitude of the signal A. Accordingly, it is possible to reduce the circuit scale of the phase rotation operation device that rotates the input signal A based on the phase rotation signal B as a complex signal.
[0082]
In the present embodiment, the step intervals of the composite trigonometric function calculators 10 and 11 are both set to 0.25, and cos (atan (B Q / B I )) For 4 steps, sin (atan (B Q / B I Although the example in which the)) is stored in seven steps has been described, the present invention is not limited to such a case. That is, as described above, the number of steps can be arbitrarily determined according to the required output accuracy.
[0083]
Embodiment 2 FIG.
In the first embodiment, as the compound trigonometric function operation unit 11 used in the phase rotation operation device 1, an operation result which is stepped at equal intervals is stored, and the sine data sin (atan (B Q / B I )) Has been described above. In this embodiment, sin (atan (B Q / B I A case will be described in which the circuit scale of the composite trigonometric function operation unit 11 is further reduced by utilizing the symmetry of ()).
[0084]
FIG. 9 is a block diagram showing one configuration example of a main part of the phase rotation calculation device according to the second embodiment of the present invention, and shows another configuration example of the composite trigonometric function calculator 11 of FIG. . The composite trigonometric function operation unit 11 includes an input conversion processing unit 110 and an output conversion processing unit 111, and the output conversion processing unit 111 further includes a ROM 112 and a sign processing unit 113.
[0085]
The ROM 112 stores, as a data table associated with the intermediate data, the absolute value | sin (atan (B Q / B I )) |. The sign value is assigned to the absolute value read from the ROM 112 by the sign processing unit 113, and the operation result sin (atan (B Q / B I )).
[0086]
The input conversion processing unit 110 generates a ROM address corresponding to an absolute value and code data as intermediate data. The ROM 112 reads an absolute value based on the ROM address, and the sign processing unit 113 performs sign processing based on the sign data.
[0087]
FIG. 10 is a diagram showing an example of a data table stored in the ROM in the complex trigonometric function calculators 10 and 11 of FIG. In the figure, (a) shows the case of the composite trigonometric function calculator 10 that stores cos (atanx), and (b) shows the case of the composite trigonometric function calculator 11 that stores sin (atanx). It is shown.
[0088]
As shown in FIG. 4B, sin (atan (B Q / B I )) Are symmetric with respect to the origin. That is, the signs are different on both sides of the y-axis, and the absolute values are symmetric with respect to the y-axis. For this reason, when performing the encoding process, the ROM 112 only needs to hold the data in the first quadrant, and the four values N as the absolute value information. 0 , N 1 , N 2 , N 3 I remember.
[0089]
According to the present embodiment, the output conversion processing unit 111 of the composite trigonometric function operation unit 11 executes the intermediate data and sin (atan (B Q / B I )) And a ROM 112 storing a data table in which the absolute values of the data are associated with each other, and sin (atan (B Q / B I )) Is calculated as sin (atan (B Q / B I )). Therefore, the capacity of the ROM for storing the operation results in advance can be reduced, and the circuit scale can be reduced.
[0090]
Embodiment 3 FIG.
In the first and second embodiments, examples in which the phase rotation operation device 1 includes the two complex trigonometric function operation units 10 and 11 have been described. In the present embodiment, cos (atan (B Q / B I )) And sin (atan (B Q / B I )) Will be described.
[0091]
FIG. 11 is a block diagram showing one configuration example of the phase rotation calculation device according to the third embodiment of the present invention. The phase rotation operation device 2 includes one composite trigonometric function operation device 12 instead of the two composite trigonometric function operation devices 10 and 11 in the phase rotation operation device 1 (the first embodiment) of FIG. Other configurations are the same as those of the phase rotation operation device 1.
[0092]
Based on the phase rotation signal B, the composite trigonometric function calculator 12 calculates the cosine data cos (atan (B Q / B I )) And the arc tangent sine data sin (atan (B Q / B I )). Compared with the conventional phase rotation operation device 34 (FIG. 28), the atan generator 332, the cos generator 310 and the sine generator 311 are integrated.
[0093]
The complex trigonometric function calculator 12 calculates the calculation result cos (atan (B Q / B I )) And sin (atan (B Q / B I )) Is stored in a pair, and each data obtained by stepping the data is stored in pairs, and cos (atan (B Q / B I )) And sin (atan (B Q / B I )) Is replaced with in-phase component B I And orthogonal component B Q Output based on
[0094]
The phase rotation signal B input from the input terminals 23 and 24 is converted into cos (atan (B Q / B I )) And sin (atan (B Q / B I )). At this time, cos (atan (B Q / B I )) And sin (atan (B Q / B I )) And supplied to the multipliers 301 to 304. The operations of the multipliers 301 to 304, the subtractor 305, and the adder 306 are exactly the same as those in the first embodiment.
[0095]
FIG. 12 is a diagram showing an example of the configuration of the composite trigonometric function calculator 12 of FIG. The composite trigonometric function operation unit 12 includes an input conversion processing unit 120 and an output conversion processing unit 121. Input common-mode component B I And orthogonal component B Q Is temporarily converted into intermediate data consisting of address and code data in the input conversion processing unit 120, and then cos (atan (B Q / B I )) And sin (atan (B Q / B I )).
[0096]
The output conversion processing unit 121 further includes two ROMs 122 and 123 and a code processing unit 124. In the ROMs 122 and 123, the same address is input and cos (atan (B Q / B I )) And | sin (atan (B Q / B I )) |, And can be configured as one ROM.
[0097]
In the ROM 122, the operation result cos (atan (B Q / B I )) Is stored in the ROM 123, and the absolute value | sin (atan (B Q / B I )) | Is stored. The calculation results that are paired with each other between the ROMs 122 and 123 are stored in a data table so as to be associated with the same address.
[0098]
The input conversion processing unit 120 generates address and code data as intermediate data. This address is represented by the stepped cos (atan (B Q / B I )) And | sin (atan (B Q / B I )) | Is associated with each pair and is generated based on the complex signal B. Based on this address, the operation result cos (atan (B Q / B I )) Is output as it is, and the absolute value | sin (atan (B Q / B I )) | Is assigned a code based on the code data in the code processing unit 124, and sin (atan (B Q / B I )).
[0099]
FIG. 13 is a diagram showing an example of a data table held in the ROMs 122 and 123 of FIG. As is clear from FIG. 5, the combinations of cos (atanx) and | sin (atanx) | which need to be output in pairs are (0.75, 0.00), (0.75, 0.25), (0.75, 0.50), (0.50, 0.50), (0.50, 0.75), (0.25, 0.75), (0.00, 0.75) There are seven ways. FIG. 13 shows these pairs as a representative display N 0 ~ N 3 , And the ROMs 122 and 123 each hold a 7-word operation result.
[0100]
According to the present embodiment, the compound trigonometric function operation unit 12 performs the cos (atan (B Q / B I )) And sin (atan (B Q / B I )), The input conversion processing unit 120 that generates any of the intermediate data previously associated with each combination obtained from the same complex signal based on the complex signal, and cos (atan (B Q / B I )) And sin (atan (B Q / B I )) Is provided. Therefore, cos (atan (B Q / B I )) And sin (atan (B Q / B I It is not necessary to provide an input conversion processing unit for each of the above cases, and the circuit scale of the composite trigonometric function operation unit can be reduced.
[0101]
Embodiment 4 FIG.
In the third embodiment, cos (atan (B Q / B I )) And sin (atan (B Q / B I )) Has been described. In the present embodiment, in such a composite trigonometric function calculator 12, sin (atan (B Q / B I )) And cos (atan (B Q / B I The case where the stored data is reduced by utilizing the symmetry about the intersection of ()) will be described.
[0102]
Each data table of the ROMs 122 and 123 (Embodiment 3) shown in FIG. 13 becomes the other data table when one of the data tables is replaced up and down around the address “011”. This means that in FIG. 5 (Embodiment 1), the change in the graph 52 indicating y = cos (atanx) stepped and the change in the graph 54 indicating y = sin (atanx) in step This is due to being symmetrical with respect to the intersection of both.
[0103]
If the symmetry between the stepped cos (atanx) and the stepped | sin (atanx) | is used, a part of the data table in FIG. 13 is omitted and the ROM capacity is reduced. be able to. That is, by using the data of cos (atanx) as | sin (atanx) | and the data of | sin (atanx) | as cos (atanx) with the following configuration, the circuit scale can be further reduced it can.
[0104]
FIG. 14 is a diagram showing a configuration example of a main part of a phase rotation calculation device according to a fourth embodiment of the present invention, and another configuration example of the composite trigonometric function calculator 12 (third embodiment) of FIG. FIG. Compared to the case of FIG. 12, the composite trigonometric function operation unit 12 is different from the case of FIG.
[0105]
The composite trigonometric function operation unit 12 includes an input conversion processing unit 120 and an output conversion processing unit 121. Input common-mode component B I And orthogonal component B Q Is temporarily converted to intermediate data including an address, switching data, and code data in an input conversion processing unit 120, and then cos (atan (B Q / B I )) And sin (atan (B Q / B I )).
[0106]
The output conversion processing section 121 further includes two ROMs 122 ′ and 123 ′, two selector sections 125 and 126, and a code processing section. The ROMs 122 'and 123' are storage means to which the same address is input, and can be configured as one ROM.
[0107]
cos (atan (B Q / B I )) Is stored in one of the ROMs 122 'and 123'. Similarly, | sin (atan (B Q / B I )) | Is also stored in one of the ROMs 122 'and 123'. ROMs 122 ′ and 123 ′ and cos (atan (B Q / B I )) And | sin (atan (B Q / B I )) | Differs for each complex signal B and is specified by the switching data.
[0108]
The selectors 125 and 126 are switching means to which output data from both the ROMs 122 'and 123' are input, and selectively output either one based on the switching data. The output of the selector unit 125 is cos (atan (B Q / B I )). On the other hand, the output of the selector 126 is | sin (atan (B Q / B I )) |, And is input to the code processing unit 124, where the code processing is performed based on the code data, and sin (atan (B Q / B I )).
[0109]
FIG. 15 is a diagram showing an example of a data table held in the ROMs 122 ′ and 123 ′ of FIG. As compared with the data table of FIG. 13 (Embodiment 3), the data at addresses “100” to “110” is omitted, the number of words is reduced from 7 to 4, and the ROM capacity is reduced.
[0110]
In addition, when compared with the data table of FIG. 10 (Embodiment 2), both have the same number of words of four, but in the present embodiment, the input conversion processing unit 120 is shared, so that 2, the circuit scale is further reduced.
[0111]
According to the present embodiment, the compound trigonometric function operation unit 12 includes the selector units 125 and 126 for switching the output data of the ROM 122 ′ and the ROM 123 ′, and stores the sin (atan (B Q / B I )) And the absolute value of cos (atan (B Q / B I When associating the combinations of (1) and (2), the ROM data is reduced by utilizing the symmetry of the intersection between the two. Therefore, the ROM capacity can be reduced, and the circuit scale can be reduced.
[0112]
Embodiment 5 FIG.
In the third embodiment, the cos (atan (B Q / B I )) And sin (atan (B Q / B I )) Has been described. In the fourth embodiment, the case where the stored data is reduced by using the symmetry of these intersections has been described. In the present embodiment, a case will be described in which the stored data is further reduced by the bit inversion operation in the composite trigonometric function calculator 12.
[0113]
FIG. 16 shows the data table (Embodiment 4) of FIG. 15 using bit-reversed display. / N in the figure 0 , / N 1 Is N 0 , N 1 2 shows the inverted data of all the bits. N 0 Is "000" in two's complement notation, so / N 0 Becomes "111", which corresponds to -N1. Similarly, N 1 Is "001" in two's complement notation, so / N 0 Becomes "110", which corresponds to -N2.
[0114]
Therefore, the upper bits a of the address 1 N if = 0 3 With the upper bits a of the address 1 N if = 1 2 With the lower bits a of the address 0 N if = 0 0 With the lower bits a of the address 0 N if = 1 1 Can be operated in the same manner as in the fourth embodiment, if there is a ROM capable of outputting the same, and a circuit for performing bit inversion for cos (atanx).
[0115]
FIG. 17 is a block diagram showing a configuration example of a main part of a phase rotation calculation device according to a fifth embodiment of the present invention. Another configuration of composite trigonometric function calculator 12 (third embodiment) in FIG. It is a figure showing an example. Comparing this composite trigonometric function calculator 12 with the case of FIG. 14 (Embodiment 4), the bit inversion section 127 is newly provided and the data stored in the ROMs 128 and 129 are different.
[0116]
The composite trigonometric function operation unit 12 includes an input conversion processing unit 120 and an output conversion processing unit 121. Input common-mode component B I And orthogonal component B Q Is temporarily converted into intermediate data including an address, switching data, code data, and inverted data in an input conversion processing unit 120, and then cos (atan (B Q / B I )) And sin (atan (B Q / B I )).
[0117]
The output conversion processing unit 121 further includes two ROMs 128 and 129, two selector units 125 and 126, a bit inversion unit 127, and a sign processing unit 124. The upper bit a of the address is stored in the ROM 128. 1 Is input to the ROM 129, and the lower bit a of the address is 0 , And each stores only two words of data. The bit inverting unit 127 inverts all bits of the output data of the selector unit 125 based on the inverted data from the input conversion processing unit 120, and generates cos (atanx).
[0118]
FIG. 18 is a diagram showing an example of a data table held in the ROMs 128 and 129 of FIG. Compared with the data table of FIG. 15 (Embodiment 4), the total number of words in the two ROMs is reduced by half from eight to four, and the ROM capacity is reduced.
[0119]
According to the present embodiment, the composite trigonometric function operation unit 12 includes the bit inverting unit 127 that inverts all bits, and reduces the data stored in the ROMs 128 and 129. Therefore, the ROM capacity can be reduced, and the circuit scale can be reduced.
[0120]
Embodiment 6 FIG.
In each of the above embodiments, cos (atan (B Q / B I )) And sin (atan (B Q / B I )) After the calculation, the multipliers 301 to 304 calculate the in-phase component A. I And orthogonal component A Q The example in which the product with is calculated has been described. In the present embodiment, a case will be described in which four composite trigonometric function multipliers are used to obtain the product of these.
[0121]
FIG. 19 is a block diagram showing one configuration example of the phase rotation calculation device according to the sixth embodiment of the present invention. The phase rotation operation device 3 includes four compound trigonometric function multipliers 13 to 16, a subtractor 305, and an adder 306.
[0122]
The composite trigonometric function multiplier 13 calculates the in-phase component B of the phase rotation signal B. I And orthogonal component B Q And the in-phase component A of the input signal A I Based on A I cos (atan (B Q / B I )), And is configured as an integrated unit of the composite trigonometric function operation unit 10 and the multiplier 301 in the phase rotation operation device 1 (Embodiment 1) of FIG.
[0123]
The composite trigonometric function multiplier 14 calculates the in-phase component B of the phase rotation signal B. I And orthogonal component B Q And the orthogonal component A of A of the input signal Q Based on A Q cos (atan (B Q / B I )), And is configured as an integrated unit of the composite trigonometric function operation unit 10 and the multiplier 302 in the phase rotation operation device 1 (Embodiment 1) of FIG.
[0124]
The composite trigonometric function multiplier 15 calculates the in-phase component B of the phase rotation signal B. I And orthogonal component B Q And the in-phase component A of the input signal A I Based on A I sin (atan (B Q / B I )), And is configured as an integrated unit of the composite trigonometric function operation unit 11 and the multiplier 303 in the phase rotation operation device 1 (Embodiment 1) of FIG.
[0125]
The composite trigonometric function multiplier 16 calculates the in-phase component B of the phase rotation signal B. I And orthogonal component B Q And the orthogonal component A of A of the input signal Q Based on A Q sin (atan (B Q / B I )), And is configured as an integrated unit of the composite trigonometric function operation unit 11 and the multiplier 304 in the phase rotation operation device 1 (Embodiment 1) of FIG.
[0126]
The operations in the subtractor 305 and the adder 306 are exactly the same as in the case of the phase rotation operation device 1. That is, the in-phase component C of the output signal C in the subtractor 305 I = A I cos (atan (B Q / B I ))-A Q sin (atan (B Q / B I )) Is calculated, and the adder 306 calculates the orthogonal component C of the output signal C. Q = A I cos (atan (B Q / B I )) + A Q sin (atan (B Q / B I )) Is required.
[0127]
FIG. 20 is a block diagram showing one configuration example of the composite trigonometric function multiplier 13 of FIG. The composite trigonometric function multiplier 13 includes an input conversion processing unit 100 and an output conversion processing unit 131. Input common-mode component B I And orthogonal component B Q Is temporarily converted into intermediate data in the input conversion processing unit 100, I cos (atan (B Q / B I )).
[0128]
Input conversion processing section 100 is the same as input conversion processing section 100 (Embodiment 1) of FIG. That is, the in-phase component B I And orthogonal component B Q , The intermediate data associated with the cos (atanx) stepped at equal intervals is generated. The output conversion processing unit 131 outputs the in-phase component A of the complex signal A. I And storage means for storing a data table in which a combination of the intermediate data is associated with each output data, for example, a ROM. That is, the in-phase component A of the complex signal A I When the combination of the data and the intermediate data is input as an address, A I cos (atan (B Q / B I )) Is output.
[0129]
For convenience of explanation, if the input conversion processing unit 100 generates intermediate data associated with cos (atanx) stepped into four values, the intermediate data has four patterns. On the other hand, the in-phase component A of the input signal A I Is M bits, 2 M Since there are four combinations of intermediate data for each input signal A, the output conversion processing unit 131 M + 2 It can be constituted by a word ROM.
[0130]
Compared with Embodiment 1, the multiplier 301 (Embodiment 1) of FIG. 1 performs multiplication on any two numbers. On the other hand, there are four types of intermediate data to be multiplied by the output conversion processing unit 131, and the value of each cos (atanx) is predetermined. Therefore, the ROM capacity can be reduced as compared with the case where the multiplier 301 in FIG. 1 is realized by a ROM. Further, since the compound trigonometric function operation unit 10 is not separately required, the circuit scale can be further reduced.
[0131]
In the composite trigonometric function multiplier 14, the output conversion processing unit 131 Q And the combination of intermediate data Q cos (atan (B Q / B I The configuration is exactly the same as that of the composite trigonometric function multiplier 13 except that a data table associated with the above (3) is stored.
[0132]
FIG. 21 is a block diagram showing one configuration example of the composite trigonometric function multiplier 15 of FIG. The composite trigonometric function multiplier 15 includes an input conversion processing unit 110 and an output conversion processing unit 151. The input conversion processing unit 110 is the same as the input conversion processing unit 110 in FIG. That is, the in-phase component B I And orthogonal component B Q , The intermediate data associated with the sin (atanx) stepped at equal intervals is generated.
[0133]
The output conversion processing unit 151 outputs the in-phase component A of the complex signal A. I And storage means for storing a data table in which a combination of the intermediate data is associated with each output data, for example, a ROM. That is, the in-phase component A of the complex signal A I When the combination of the data and the intermediate data is input as an address, A I sin (atan (B Q / B I )) Is output.
[0134]
In the complex trigonometric function multiplier 16, the output conversion processing unit 151 Q And the combination of intermediate data Q sin (atan (B Q / B I The configuration is exactly the same as that of the composite trigonometric function multiplier 15 except that the data table associated with the above ()) is stored.
[0135]
According to the present embodiment, the phase rotation operation device 3 includes the four complex trigonometric function multipliers 13 to 16 and cos (atan (B Q / B I )) And sin (atan (B Q / B I )) And without multiplying any two numbers, I cos (atan (B Q / B I )), A Q cos (atan (B Q / B I )), A I sin (atan (B Q / B I )) And A Q sin (atan (B Q / B I )). For this reason, the circuit scale of the phase rotation operation device can be reduced.
[0136]
In addition, the in-phase component A I Are sequentially input as serial data, the compound trigonometric function multipliers 13 and 15 need only output one of four types of values given in advance, and a four-word ROM Can be configured. In this case, a circuit for sequentially shifting and adding the operation results on the output side of the subtractor 305 is required.
[0137]
Also, the in-phase component A Q Are sequentially input as serial data, the composite trigonometric function multipliers 14 and 16 need only output one of the four types of values given in advance, and a four-word ROM Can be configured. In this case, a circuit for sequentially shifting and adding the operation results on the output side of the adder 306 is required.
[0138]
Embodiment 7 FIG.
In the sixth embodiment, the case where four compound trigonometric function multipliers are used has been described. In the present embodiment, two compound trigonometric function multipliers are used, I cos (atan (B Q / B I )) And A I sin (atan (B Q / B I )) And A Q cos (atan (B Q / B I )) And A Q sin (atan (B Q / B I )) Will be described.
[0139]
FIG. 22 is a block diagram showing one configuration example of the phase rotation calculation device according to the seventh embodiment of the present invention. The phase rotation operation device 4 includes two compound trigonometric function multipliers 17 and 18, a subtractor 305, and an adder 306.
[0140]
The composite trigonometric function multiplier 17 calculates the in-phase component B of the phase rotation signal B. I And orthogonal component B Q And the in-phase component A of the input signal A I Based on A I cos (atan (B Q / B I )) And A I sin (atan (B Q / B I )), And is configured as an integrated unit of the composite trigonometric function operation unit 12 and the multipliers 301 and 302 in the phase rotation operation device 2 (Embodiment 3) of FIG.
[0141]
The composite trigonometric function multiplier 18 calculates the in-phase component B of the phase rotation signal B. I And orthogonal component B Q And the orthogonal component A of A of the input signal Q Based on A Q cos (atan (B Q / B I )) And A Q sin (atan (B Q / B I )), And is configured as an integrated unit of the composite trigonometric function operation unit 12 and the multipliers 303 and 304 in the phase rotation operation device 2 (Embodiment 3) of FIG.
[0142]
The operations in the subtractor 305 and the adder 306 are exactly the same as those in the case of the phase rotation operation devices 1 to 3. That is, the in-phase component C of the output signal C in the subtractor 305 I = A I cos (atan (B Q / B I ))-A Q sin (atan (B Q / B I )) Is calculated, and the adder 306 calculates the orthogonal component C of the output signal C. Q = A I cos (atan (B Q / B I )) + A Q sin (atan (B Q / B I )) Is required.
[0143]
FIG. 23 is a diagram showing a configuration example of the composite trigonometric function calculator 17 of FIG. The composite trigonometric function operation unit 17 includes an input conversion processing unit 120 and an output conversion processing unit 171. Input common-mode component B I And orthogonal component B Q Is temporarily converted into intermediate data consisting of address and code data by the input conversion processing unit 120, I cos (atan (B Q / B I )) And A I sin (atan (B Q / B I )).
[0144]
Input conversion processing section 120 is the same as input conversion processing section 120 (Embodiment 3) of FIG. That is, the in-phase component B I And orthogonal component B Q Cos (atan (B Q / B I )) And | sin (atan (B Q / B I )) | And the address associated with each pair, sin (atan (B Q / B I )) Is generated as intermediate data.
[0145]
The output conversion processing unit 171 further includes two ROMs 172 and 173 and a code processing unit 174. The ROMs 172 and 173 store the same address, that is, the in-phase component A of the input signal A. I And the combination of intermediate data is input and A I cos (atan (B Q / B I )) And A I | Sin (atan (B Q / B I )) |, And can be configured as one ROM. The sign processing unit 174 inverts the sign of the output data of the ROM 173 according to the sign data of sin (atanx).
[0146]
In the complex trigonometric function calculator 18, the output conversion processing unit 171 Q And the combination of intermediate data Q cos (atan (B Q / B I )) And A Q | Sin (atan (B Q / B I )) Except for storing a data table associated with |, the configuration is exactly the same as that of the composite trigonometric function multiplier 17.
[0147]
According to the present embodiment, the phase rotation operation device 4 includes the two compound trigonometric function multipliers 17 and 18, I cos (atan (B Q / B I )), A Q cos (atan (B Q / B I )), A I sin (atan (B Q / B I )) And A Q sin (atan (B Q / B I )). Therefore, as compared with the sixth embodiment, the number of input conversion processing units is halved, and the circuit scale of the complex trigonometric function operation unit can be reduced.
[0148]
【The invention's effect】
According to the present invention, it is possible to provide an inexpensive composite trigonometric function operation unit with low power consumption and reduced circuit scale without lowering the operation accuracy. Further, it is possible to provide a low-power-consumption and inexpensive phase rotation operation device in which the circuit scale is reduced without lowering the operation accuracy.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration example of a phase rotation calculation device according to a first embodiment of the present invention.
FIG. 2 is a diagram showing an example of a configuration of a composite trigonometric function calculator 10 of FIG.
FIG. 3 is a diagram showing a configuration example of a composite trigonometric function calculator 11 of FIG. 1;
FIG. 4 is an explanatory diagram of composite trigonometric functions cos (atanx) and sin (atanx).
FIG. 5 is an explanatory diagram showing an example of stepped cos (atanx) and sin (atanx) in the composite trigonometric function operation units 10 and 11;
FIG. 6 is an explanatory diagram illustrating a numerical expression used in this specification.
FIG. 7 is a diagram showing an example of a data table held in a ROM in the complex trigonometric function calculators 10 and 11;
FIG. 8 is an explanatory diagram showing, as a comparative example, a case in which the compound trigonometric functions cos (atanx) and sin (atanx) are stepped so that x has an equal interval.
FIG. 9 is a block diagram showing a configuration example of a main part of a phase rotation calculation device according to a second embodiment of the present invention.
FIG. 10 is a diagram showing an example of a data table stored in a ROM in the complex trigonometric function calculators 10 and 11 of FIG. 1;
FIG. 11 is a block diagram showing a configuration example of a phase rotation calculation device according to a third embodiment of the present invention.
FIG. 12 is a diagram showing a configuration example of a composite trigonometric function calculator 12 of FIG. 11;
FIG. 13 is a diagram showing an example of a data table held in ROMs 122 and 123 of FIG.
FIG. 14 is a diagram illustrating a configuration example of a main part of a phase rotation calculation device according to a fourth embodiment of the present invention.
FIG. 15 is a diagram showing an example of a data table held in ROMs 122 ′ and 123 ′ of FIG. 14;
FIG. 16 illustrates the data table of FIG. 15 (Embodiment 4) using bit-reversed display.
FIG. 17 is a block diagram showing a configuration example of a main part of a phase rotation calculation device according to a fifth embodiment of the present invention.
FIG. 18 is a diagram showing an example of a data table held in ROMs 128 and 129 of FIG. 17;
FIG. 19 is a block diagram illustrating a configuration example of a phase rotation calculation device according to a sixth embodiment of the present invention.
20 is a block diagram showing one configuration example of the composite trigonometric function multiplier 13 of FIG.
21 is a block diagram showing an example of a configuration of the composite trigonometric function multiplier 15 of FIG.
FIG. 22 is a block diagram showing a configuration example of a phase rotation calculation device according to a seventh embodiment of the present invention.
FIG. 23 is a diagram showing a configuration example of a complex trigonometric function calculator 17 of FIG. 22;
FIG. 24 is a block diagram showing a first configuration example as a conventional phase rotation operation device.
FIG. 25 is a block diagram showing a second configuration example as a conventional phase rotation operation device.
FIG. 26 is a block diagram showing a third configuration example as a conventional phase rotation operation device.
FIG. 27 is a block diagram showing a fourth configuration example as a conventional phase rotation operation device.
FIG. 28 is a block diagram showing a configuration of a conventional phase rotation operation device applicable to a receiving device of a digital data transmission system.
[Explanation of symbols]
1-4 phase rotation arithmetic unit
10-18 complex trigonometric function calculator
100, 110, 120 input conversion processing unit
101, 111, 121, 131, 141, 151, 171 Output conversion processing unit
113, 124, 174 Code processing unit
125, 126 Selector section
127 bit inversion unit
301-304 multiplier
305 Subtractor
306 adder
A Input signal
B phase rotation signal
C output signal
A I , B I , C I In-phase component
A Q , B Q , C Q Orthogonal component
r1, r2, r3 amplitude
θ1, θ2, θ3 phase

Claims (21)

同相成分B及び直交成分Bからなる複素信号が入力され、その逆正接の余弦データcos(atan(B/B))を出力する複合三角関数演算器において、
等間隔でステップ化された各出力データに予め対応づけられた中間データのいずれかを複素信号に基づいて生成する入力変換処理部と、
中間データに基づいてcos(atan(B/B))を生成する出力変換処理部とを備えたことを特徴する複合三角関数演算器。
A complex trigonometric function calculator that receives a complex signal composed of an in-phase component B I and a quadrature component B Q and outputs cosine data cos (atan (B Q / B I )) of its inverse tangent
An input conversion processing unit that generates any one of the intermediate data previously associated with each output data that is stepped at equal intervals based on the complex signal,
Composite trigonometric function calculator that; and an output conversion processing unit that generates based on the intermediate data cos (atan (B Q / B I)).
上記出力変換処理部は、中間データ及びcos(atan(B/B))を対応づけたデータテーブルを記憶するデータ記憶手段からなることを特徴とする請求項1に記載の複合三角関数演算器。The output conversion processing unit, a composite trigonometric function operation according to claim 1, characterized in that it consists of a data storage means for storing a data table that associates the intermediate data and cos (atan (B Q / B I)) vessel. 上記データ記憶手段は、cos(atan(B/B))の対称性を利用してデータを削減し、中間データを削減後のcos(atan(B/B))に対応づけるデータテーブルを記憶することを特徴とする請求項2に記載の複合三角関数演算器。Said data storage means, cos reduces data by using the symmetry of (atan (B Q / B I )), the data to be associated with the after reducing the intermediate data cos (atan (B Q / B I)) 3. The compound trigonometric function operation unit according to claim 2, wherein a table is stored. 同相成分B及び直交成分Bからなる複素信号が入力され、その逆正接の正弦データsin(atan(B/B))を出力する複合三角関数演算器において、
等間隔でステップ化された各出力データに予め対応づけられた中間データのいずれかを複素信号に基づいて生成する入力変換処理部と、
中間データに基づいてsin(atan(B/B))を生成する出力変換処理部とを備えたことを特徴する複合三角関数演算器。
A complex trigonometric function calculator that receives a complex signal including an in-phase component B I and a quadrature component B Q and outputs sine data sin (atan (B Q / B I )) of the inverse tangent thereof
An input conversion processing unit that generates any one of the intermediate data previously associated with each output data that is stepped at equal intervals based on the complex signal,
Composite trigonometric function calculator that; and an output conversion processing unit that generates based on the intermediate data sin (atan (B Q / B I)).
上記出力変換処理部は、中間データ及びsin(atan(B/B))を対応づけたデータテーブルを記憶するデータ記憶手段からなることを特徴とする請求項4に記載の複合三角関数演算器。The output conversion processing unit, a composite trigonometric function operation according to claim 4, characterized in that it consists of a data storage means for storing a data table that associates the intermediate data and sin (atan (B Q / B I)) vessel. 上記データ記憶手段は、sin(atan(B/B))の対称性を利用してデータを削減し、中間データを削減後のsin(atan(B/B))に対応づけるデータテーブルを記憶することを特徴とする請求項5に記載の複合三角関数演算器。It said data storage means, sin reduce data using the symmetry of (atan (B Q / B I )), the data to be associated with the after reducing the intermediate data sin (atan (B Q / B I)) The compound trigonometric function operation unit according to claim 5, wherein a table is stored. 上記出力変換処理部は、中間データ及びsin(atan(B/B))の絶対値を対応づけたデータテーブルを記憶するデータ記憶手段と、
データ記憶手段から読み出されたsin(atan(B/B))の絶対値をsin(atan(B/B))に変換する符号処理部とを備え、
上記入力変換処理部が、sin(atan(B/B))の絶対値に対応づけられた中間データ及びsin(atan(B/B))の符号データを生成することを特徴とする請求項4に記載の複合三角関数演算器。
The output conversion processing unit includes a data storage means for storing the association data table the absolute value of the intermediate data and sin (atan (B Q / B I)),
And a code processing unit for converting the absolute value of sin read from the data storage means (atan (B Q / B I )) to sin (atan (B Q / B I)),
The input conversion unit, and characterized in that to generate the code data of sin (atan (B Q / B I )) of the intermediate data and the sin associated with the absolute value (atan (B Q / B I )) The composite trigonometric function calculator according to claim 4.
同相成分B及び直交成分Bからなる複素信号が入力され、その逆正接の余弦データcos(atan(B/B))及び逆正接の正弦データsin(atan(B/B))を出力する複合三角関数演算器において、
それぞれが等間隔でステップ化されたcos(atan(B/B))及びsin(atan(B/B))に関し、同一の複素信号から求められる各組合せに予め対応づけられた中間データのいずれかを、入力された複素信号に基づいて生成する入力変換処理部と、
中間データに基づいて、cos(atan(B/B))及びsin(atan(B/B))を生成する出力変換処理部とを備えたことを特徴する複合三角関数演算器。
Complex signal consisting of in-phase component B I and the quadrature component B Q are inputted, the cosine data cos for the arctangent (atan (B Q / B I )) and arctangent sine data sin (atan (B Q / B I) ), The compound trigonometric function calculator outputs
For each is stepped at regular intervals cos (atan (B Q / B I)) and sin (atan (B Q / B I)), an intermediate which is preliminarily correlated with each combination obtained from the same complex signal An input conversion processing unit that generates any of the data based on the input complex signal,
Based on the intermediate data, cos (atan (B Q / B I)) and sin (atan (B Q / B I)) composite trigonometric function calculator that; and an output conversion processing unit for generating a.
上記出力変換処理部は、中間データ及びcos(atan(B/B))を対応づけたデータテーブルを記憶する第1データ記憶手段と、
中間データ及びsin(atan(B/B))を対応づけたデータテーブルを記憶する第2データ記憶手段とを備えたことを特徴する請求項8に記載の複合三角関数演算器。
The output conversion processing unit includes a first data storage means for storing a data table that associates the intermediate data and cos (atan (B Q / B I)),
Composite trigonometric function calculator according to claim 8, characterized in that a second data storage means for storing correspondence and the data table intermediate data and sin (atan (B Q / B I)).
上記出力変換処理部は、cos(atan(B/B))の対称性を利用してデータを削減し、中間データ及び削減後のcos(atan(B/B))を対応づけたデータテーブルを記憶する第1データ記憶手段と、
中間データ及びsin(atan(B/B))の絶対値を対応づけたデータテーブルを記憶する第2データ記憶手段と、
第2データ記憶手段から読み出されたsin(atan(B/B))の絶対値をsin(atan(B/B))に変換する符号処理部とを備え、
上記入力変換処理部が、sin(atan(B/B))の絶対値及びcos(atan(B/B))の組合せに対応づけられた中間データ、並びに、sin(atan(B/B))の符号データを生成することを特徴とする請求項8に記載の複合三角関数演算器。
The output conversion processing unit, cos reduces data by using the symmetry of (atan (B Q / B I )), associating the intermediate data and after reduction cos (atan (B Q / B I)) First data storage means for storing the stored data table;
A second data storing means for storing the association data table the absolute value of the intermediate data and sin (atan (B Q / B I)),
And a code processing unit for converting the absolute value of sin read from the second data storage means (atan (B Q / B I )) to sin (atan (B Q / B I)),
The input conversion unit, sin (atan (B Q / B I)) of the absolute value and cos (atan (B Q / B I)) intermediate data associated with the combination of, as well as, sin (atan (B The complex trigonometric function calculator according to claim 8, wherein code data of Q / BI )) is generated.
上記第1データ記憶手段及び第2データ記憶手段が、中間データにsin(atan(B/B))の絶対値及びcos(atan(B/B))の組合せを対応づける際、両者の交点に関する対称性を利用してデータを削減したデータテーブルをそれぞれ記憶し、
上記出力変換処理部は、第1データ記憶手段及び第2データ記憶手段のいずれかの出力をcos(atan(B/B))として選択する第1切替手段と、
第1データ記憶手段及び第2データ記憶手段のいずれかの出力をsin(atan(B/B))の絶対値として選択する第2切替手段とを備えたことを特徴とする請求項10に記載の複合三角関数演算器。
The first data storage means and the second data storage means, when associating a combination of the absolute value and cos of the intermediate data sin (atan (B Q / B I)) (atan (B Q / B I)), Each of the data tables in which the data has been reduced using the symmetry about the intersection of both is stored,
The output conversion processing unit includes a first switching means for selecting either the output of the first data storage means and the second data storage means as cos (atan (B Q / B I)),
Claim, characterized in that a second switching means for selecting either the output of the first data storage means and the second data storage means as the absolute value of sin (atan (B Q / B I)) 10 3. The complex trigonometric function calculator according to item 1.
上記第1データ記憶手段及び第2データ記憶手段が、中間データにsin(atan(B/B))の絶対値及びcos(atan(B/B))の組合せを対応づける際、ビット反転により一致するデータを削減したデータテーブルをそれぞれ記憶し、
上記出力変換処理部は、cos(atan(B/B))の絶対値の全ビットを反転させる第1ビット反転手段と、
sin(atan(B/B))の絶対値の全ビットを反転させる第2ビット反転手段とを備えることを特徴とする請求項11に記載の複合三角関数演算器。
The first data storage means and the second data storage means, when associating a combination of the absolute value and cos of the intermediate data sin (atan (B Q / B I)) (atan (B Q / B I)), Data tables in which matching data is reduced by bit inversion are stored, respectively.
The output conversion processing unit includes a first bit inverting means for inverting all bits of the absolute value of cos (atan (B Q / B I)),
sin (atan (B Q / B I)) of the complex trigonometric function calculator according to claim 11, characterized in that it comprises a second bit inverting means for inverting all bits of the absolute value.
同相成分B及び直交成分Bからなる第2の複素信号に基づいて、同相成分A及び直交成分Aからなる第1の複素信号の位相回転を行う位相回転演算装置において、
第2の複素信号の逆正接の余弦データcos(atan(B/B))を生成する第1複合三角関数演算器と、
第2の複素信号の逆正接の正弦データsin(atan(B/B))を生成する第2複合三角関数演算器と、
cos(atan(B/B))及びsin(atan(B/B))に基づいて、第1の複素信号の位相を回転させる位相回転器とを備え、
第1複合三角関数演算器が、第2の複素信号に基づいて、等間隔でステップ化された各演算結果に予め対応づけられた中間データのいずれかを生成する入力変換処理部と、この中間データに基づいてcos(atan(B/B))を生成する出力変換処理部とを有し、
第2複合三角関数演算器が、第2の複素信号に基づいて、等間隔でステップ化された各演算結果に予め対応づけられた中間データのいずれかを生成する入力変換処理部と、この中間データに基づいてcos(atan(B/B))を生成する出力変換処理部とを有することを特徴とする位相回転演算装置。
In a phase rotation operation device for performing a phase rotation of a first complex signal composed of an in-phase component A I and a quadrature component A Q based on a second complex signal composed of an in-phase component B I and a quadrature component B Q ,
A first composite trigonometric function calculator that generates the cosine data cos arctangent of the second complex signal (atan (B Q / B I )),
The second composite trigonometric function calculator that generates sine data sin arctangent of the second complex signal (atan (B Q / B I )),
Based on cos (atan (B Q / B I)) and sin (atan (B Q / B I)), and a phase rotator for rotating the phase of the first complex signal,
A first compound trigonometric function operation unit, based on the second complex signal, an input conversion processing unit that generates one of intermediate data previously associated with each operation result stepped at equal intervals; an output conversion unit that generates a cos (atan (B Q / B I)) on the basis of the data,
A second complex trigonometric function operation unit, based on the second complex signal, an input conversion processing unit that generates one of intermediate data previously associated with each operation result stepped at equal intervals; phase rotation computation device and having an output conversion processing unit that generates a cos (atan (B Q / B I)) based on the data.
上記第1出力変換処理部は、中間データ及びcos(atan(B/B))を対応づけたデータテーブルを記憶するデータ記憶手段からなり、
上記第2出力変換処理部は、中間データ及びsin(atan(B/B))を対応づけたデータテーブルを記憶するデータ記憶手段からなることを特徴とする請求項13に記載の位相回転演算装置。
The first output conversion processing unit is made from the data storage means for storing a data table that associates the intermediate data and cos (atan (B Q / B I)),
The second output conversion processing unit, the phase rotation according to claim 13, characterized in that it consists of a data storage means for storing correspondence and the data table intermediate data and sin (atan (B Q / B I)) Arithmetic unit.
上記位相回転器は、第2の複素信号の同相成分A及び第1複合三角関数演算器の出力データcos(atan(B/B))の乗算を行う第1の乗算器と、
第2の複素信号の直交成分A及び第1複合三角関数演算器の出力データcos(atan(B/B))の乗算を行う第2の乗算器と、
第2の複素信号の同相成分A及び第2複合三角関数演算器の出力データsin(atan(B/B))の乗算を行う第3の乗算器と、
第2の複素信号の直交成分A及び第2複合三角関数演算器の出力データsin(atan(B/B))の乗算を行う第4の乗算器と、
第1の乗算器の出力データAcos(atan(B/B))及び第4の乗算器の出力データAsin(atan(B/B))の差を求める減算器と、
第2の乗算器の出力データAcos(atan(B/B))及び第3の乗算器の出力データAsin(atan(B/B))の和を求める加算器とを備えたことを特徴とする請求項13に記載の位相回転演算装置。
A first multiplier for multiplying the in-phase component A I of the second complex signal and output data cos (atan (B Q / B I )) of the first complex trigonometric function calculator;
A second multiplier for multiplying the quadrature component of the second complex signal A Q and the output data cos of the first composite trigonometric function calculator (atan (B Q / B I )),
A third multiplier for multiplying the in-phase component A I of the second complex signal and the output data sin (atan (B Q / B I )) of the second composite trigonometric function calculator;
A fourth multiplier for multiplying the orthogonal component A Q of the second complex signal and the output data sin (atan (B Q / B I )) of the second complex trigonometric function calculator;
A first multiplier output data A I cos (atan (B Q / B I)) and a subtractor for obtaining the difference between the output data A Q sin of the fourth multiplier (atan (B Q / B I )) ,
An adder for obtaining the sum of the output data A Q cos of the second multiplier (atan (B Q / B I )) and a third multiplier of the output data A I sin (atan (B Q / B I)) The phase rotation calculation device according to claim 13, further comprising:
同相成分B及び直交成分Bからなる第2の複素信号に基づいて、同相成分A及び直交成分Aからなる第1の複素信号の位相回転を行う位相回転演算装置において、
第2の複素信号の逆正接の余弦データcos(atan(B/B))及び逆正接の正弦データsin(atan(B/B))を生成する複合三角関数演算器と、
cos(atan(B/B))及びsin(atan(B/B))に基づいて、第1の複素信号の位相を回転させる位相回転器とを備え、
複合三角関数演算器は、それぞれが等間隔でステップ化されたcos(atan(B/B))及びsin(atan(B/B))に関し、同一の複素信号から求められる各組合せに予め対応づけられた中間データのいずれかを第2の複素信号に基づいて生成する入力変換処理部と、この中間データに基づいてcos(atan(B/B))及びsin(atan(B/B))を生成する出力変換処理部とを有することを特徴とする位相回転演算装置。
In a phase rotation operation device for performing a phase rotation of a first complex signal composed of an in-phase component A I and a quadrature component A Q based on a second complex signal composed of an in-phase component B I and a quadrature component B Q ,
And composite trigonometric function calculator that generates the cosine data cos arctangent of the second complex signal (atan (B Q / B I )) and arctangent sine data sin (atan (B Q / B I)),
Based on cos (atan (B Q / B I)) and sin (atan (B Q / B I)), and a phase rotator for rotating the phase of the first complex signal,
Composite trigonometric function calculator relates cos each of which is stepped at regular intervals (atan (B Q / B I )) and sin (atan (B Q / B I)), each combination obtained from the same complex signal advance an input conversion unit which generates, based on either a second complex signal correlated obtained intermediate data, cos based on the intermediate data (atan (B Q / B I )) and sin (atan (the An output conversion processing unit that generates BQ / B1 )).
上記出力変換処理部は、中間データ及びcos(atan(B/B))を対応づけたデータテーブルを記憶する第1データ記憶手段と、
中間データ及びsin(atan(B/B))を対応づけたデータテーブルを記憶する第2データ記憶手段とを備えたことを特徴する請求項16に記載の位相回転演算装置。
The output conversion processing unit includes a first data storage means for storing a data table that associates the intermediate data and cos (atan (B Q / B I)),
Intermediate data and sin (atan (B Q / B I)) phase rotation operation apparatus according to claim 16, characterized in that a second data storage means for storing the association data table.
同相成分B及び直交成分Bからなる第2の複素信号に基づいて、同相成分A及び直交成分Aからなる第1の複素信号の位相回転を行う位相回転演算装置において、
cos(atan(B/B))、Acos(atan(B/B))、Asin(atan(B/B))及びAsin(atan(B/B))をそれぞれ生成する第1乃至第4複合三角関数乗算器とを備え、
各複合三角関数乗算器が、第2の複素信号に基づいて、等間隔でステップ化された各cos(atan(B/B))又はAsin(atan(B/B))に予め対応づけられた中間データのいずれかを生成する入力変換処理部と、この中間データ及び第1の複素信号に基づいて演算結果を生成する出力変換処理部とをそれぞれ有することを特徴する位相回転演算装置。
In a phase rotation operation device for performing a phase rotation of a first complex signal composed of an in-phase component A I and a quadrature component A Q based on a second complex signal composed of an in-phase component B I and a quadrature component B Q ,
A I cos (atan (B Q / B I)), A Q cos (atan (B Q / B I)), A I sin (atan (B Q / B I)) and A Q sin (atan (B Q / B I )) to generate first to fourth composite trigonometric function multipliers, respectively.
Each composite trigonometric multiplier, on the basis of a second complex signal, each being stepped at regular intervals cos (atan (B Q / B I)) or A Q sin (atan (B Q / B I)) Characterized in that it has an input conversion processing unit for generating any of the intermediate data previously associated with the input data, and an output conversion processing unit for generating an operation result based on the intermediate data and the first complex signal. Rotation calculation device.
上記の各複合三角関数乗算器の出力変換処理部が、中間データ及び演算結果を対応づけたデータテーブルを記憶するデータ記憶手段からなることを特徴とする請求項18に記載の位相回転演算装置。19. The phase rotation operation device according to claim 18, wherein the output conversion processing unit of each of the composite trigonometric function multipliers comprises data storage means for storing a data table in which intermediate data and operation results are associated. 同相成分B及び直交成分Bからなる第2の複素信号に基づいて、同相成分A及び直交成分Aからなる第1の複素信号の位相回転を行う位相回転演算装置において、
cos(atan(B/B))及びAsin(atan(B/B))を生成する第1複合三角関数乗算器と、
cos(atan(B/B))及びAsin(atan(B/B))を生成する第2複合三角関数乗算器とを備え、
第1複合三角関数乗算器が、同一の複素信号から求められるステップ化されたcos(atan(B/B))及びsin(atan(B/B))の各組合せに予め対応づけられた中間データのいずれかを第2の複素信号に基づいて生成する入力変換処理部と、
この中間データ及び第1の複素信号の同相成分Aに基づいてAcos(atan(B/B))及びAsin(atan(B/B))を生成する出力変換処理部とを有し、
第2複合三角関数乗算器が、同一の複素信号から求められるステップ化されたcos(atan(B/B))及びsin(atan(B/B))の各組合せに予め対応づけられた中間データのいずれかを第2の複素信号に基づいて生成する入力変換処理部と、
この中間データ及び第1の複素信号に基づいてAcos(atan(B/B))及びAsin(atan(B/B))を生成する出力変換処理部とを有することを特徴する位相回転演算装置。
In a phase rotation operation device for performing a phase rotation of a first complex signal composed of an in-phase component A I and a quadrature component A Q based on a second complex signal composed of an in-phase component B I and a quadrature component B Q ,
A first composite trigonometric function multiplier for generating A I cos (atan (B Q / B I )) and A I sin (atan (B Q / B I ));
A second composite trigonometric function multiplier for generating A Q cos (atan (B Q / B I )) and A Q sin (atan (B Q / B I ))
First composite trigonometric multiplier, advance correspondence to each combination of the same is stepped determined from the complex signal cos (atan (B Q / B I)) and sin (atan (B Q / B I)) An input conversion processing unit for generating any of the obtained intermediate data based on the second complex signal;
Output conversion processing for generating the intermediate data and based on the phase component A I of the first complex signal A I cos (atan (B Q / B I)) and A I sin (atan (B Q / B I)) And a part,
Second composite trigonometric multiplier, advance correspondence to each combination of the same is stepped determined from the complex signal cos (atan (B Q / B I)) and sin (atan (B Q / B I)) An input conversion processing unit for generating any of the obtained intermediate data based on the second complex signal;
An output conversion processing unit for generating A Q cos (atan (B Q / B I )) and A Q sin (atan (B Q / B I )) based on the intermediate data and the first complex signal A phase rotation calculation device.
第1複合三角関数乗算器の出力変換処理部が、中間データ及び第1の複素信号の同相成分Aと演算結果とを対応づけたデータテーブルを記憶するデータ記憶手段からなり、
第2複合三角関数乗算器の出力変換処理部が、中間データ及び第1の複素信号の直交成分Aと演算結果とを対応づけたデータテーブルを記憶するデータ記憶手段からなることを特徴とする請求項20に記載の位相回転演算装置。
Output conversion processing unit of the first composite trigonometric multiplier, made from the data storage means for storing the intermediate data and the first correspondence data table and the calculation result phase component A I of the complex signal,
Output conversion processing unit of the second composite trigonometric multiplier, characterized in that it consists of a data storage means for storing a data table that associates and the quadrature component A Q of the intermediate data and the first complex signal and the operation result The phase rotation calculation device according to claim 20.
JP2002334618A 2002-11-19 2002-11-19 Composite trigonometric function computing element and phase rotation computing element Pending JP2004172794A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002334618A JP2004172794A (en) 2002-11-19 2002-11-19 Composite trigonometric function computing element and phase rotation computing element

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002334618A JP2004172794A (en) 2002-11-19 2002-11-19 Composite trigonometric function computing element and phase rotation computing element

Publications (1)

Publication Number Publication Date
JP2004172794A true JP2004172794A (en) 2004-06-17

Family

ID=32698953

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002334618A Pending JP2004172794A (en) 2002-11-19 2002-11-19 Composite trigonometric function computing element and phase rotation computing element

Country Status (1)

Country Link
JP (1) JP2004172794A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101471077B1 (en) 2009-04-02 2014-12-09 삼성전자주식회사 Apparatus and method for determining an optimal integer constellation vector of low complexity in a multiple antenna system
JP2015132559A (en) * 2014-01-14 2015-07-23 株式会社東芝 Muon track detector and muon track detection method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101471077B1 (en) 2009-04-02 2014-12-09 삼성전자주식회사 Apparatus and method for determining an optimal integer constellation vector of low complexity in a multiple antenna system
JP2015132559A (en) * 2014-01-14 2015-07-23 株式会社東芝 Muon track detector and muon track detection method
US9720113B2 (en) 2014-01-14 2017-08-01 Kabushiki Kaisha Toshiba Muon tracker and muon tracking method

Similar Documents

Publication Publication Date Title
US8200728B2 (en) Sine/cosine generator
JP3736741B2 (en) Data processing unit
JPS63184832A (en) Apparatus and method for approximating size of complex number
JP4757328B2 (en) Inverse tangent calculation device and inverse tangent calculation program
TWI420807B (en) An arbitrary frequency shifter in communication systems
JP3551113B2 (en) Divider
de Lassus Saint-Geniès et al. Exact lookup tables for the evaluation of trigonometric and hyperbolic functions
JP2502836B2 (en) Preprocessing device for division circuit
JP2004172794A (en) Composite trigonometric function computing element and phase rotation computing element
US6463081B1 (en) Method and apparatus for fast rotation
KR20140114042A (en) High accuracy sin-cos wave and frequency generators, and related systems and methods
CN110275693B (en) Multi-addend adder circuit for random calculation
JP3015011B1 (en) Sine / cosine operation circuit
JP3095348B2 (en) Discrete cosine transform and inverse discrete cosine transform device in data compression / decompression device
WO2004088586A1 (en) Lookup table device and image generation device
JPS633331B2 (en)
JP2004013811A (en) Twiddle factor table for fast fourier transform, and fast fourier transformation system using the same
JPH07210373A (en) Digital polar coordinate transformation circuit
TWI420325B (en) Sine/cosine value generation apparatus
JP2945003B1 (en) Arc tangent operation circuit
JP2508286B2 (en) Square root calculator
Ramana et al. Unified architectures for computing DCT/DST/MDCT and their inverses
Ashrafi Optimization of the quantized coefficients for DDFS utilizing polynomial interpolation methods
JP2000010763A (en) Division circuit
CN103578078A (en) Image rotation VLSI structure based on CORDIC algorithm