1. Field of the Invention
The present invention relates to a complex divider, and more particularly, to a complex divider that does not comprise a multiplier.
2. Description of the Prior Art
Conventionally, steps for dividing a complex number Y by a complex number D are as follows:
where Y=Yi+jYq, D=Di+jDq, and j=√{square root over (−1)}. A conventional complex divider needs six real multipliers and two real dividers, which increases the complexity of the design.
It is therefore an objective of the present invention to provide a complex divider that does not comprise a multiplier, such that the design complexity is lower than a prior art divider, to solve the above-mentioned problems.
According to one embodiment of the present invention, a complex divider utilized for dividing a first complex number by a second complex number to generate a computing result includes a computing unit and a dividing unit. The computing unit is utilized for receiving the first complex value and the second complex value, generating a third complex value according to the first complex value and the second complex value, and generating a real number according to the second complex value. The dividing unit is coupled to the computing unit, and is utilized for receiving the third complex value and the real number and dividing the third complex value by the real number to obtain the computing result.
According to another embodiment of the present invention, a method for dividing a first complex number by a second complex number to generate a computing result comprises: providing a computing unit which receives the first complex value and the second complex value, generates a third complex value according to the first complex value and the second complex value, and generates a real number according to the second complex value; and dividing the third complex value by the real number to obtain the computing result.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
Besides the calculating steps described in the prior art, steps for dividing the complex number Y by the complex number D can also be as follows:
where Y=Yi+jYq, D=Di+jDq, j=√{square root over (−1)}, and θD is a phase angle of the complex number D. The above calculating steps mainly indicate that the calculating result of (Y/D) is equal to:
Please refer to
Please refer to
In the operations of the computing unit 110, the second phase adjusting unit 210_1 and the decision unit 220_1 receive the second complex number D, and the decision unit 220_1 determines the phase adjusting value of the second phase adjusting unit 210_1 to be (+90°) or (−90°) according to a phase of the second complex number D. In detail, the purpose of the second phase adjusting unit 210_1 is to adjust the phase of the second complex number D to be on the first quadrant or the fourth quadrant of a complex coordinate system as shown in
The first phase adjusting unit 230_1 receives the first complex number Y, and the phase adjusting value of the first phase adjusting unit 210_1 is determined to be (+90°) or (−90°) by the decision unit 220_1 according to the phase of the second complex number D, i.e. the first phase adjusting unit 230_1 and the corresponding second phase adjusting unit 210_1 have the same phase adjusting values. Similarly, the phase adjusting values of the first phase adjusting units 230_1-230_M are the same as the phase adjusting values of the second phase adjusting units 210_1-210_M, respectively. After being adjusted by the first phase adjusting units 230_1-230_M—that is the first complex number Y is multiplied by (±j)*(1±j)*(1±j/2)* . . . *(1±j(½M+2))—the first complex number Y becomes A(Yi+jYq)e−jθ
In light of the above, the computing unit 110 can output the third complex number A(Yi+jYq)e−θ
Please refer to
In light of the above, because the complex divider 100 only requires the adders and bit shifters, the complexity of the complex divider 100 can be lowered. In addition, although the complex divider 100 needs two real dividers which may appear to be the same as the prior art, the numbers processed by the dividing unit 120 are smaller than in the prior art (i.e. the bit numbers of the divisor and the dividend are smaller), and therefore the complexity of the complex divider 100 can be further lowered.
Please refer to
Step 500: start;
Step 502: provide a computing unit to receive the first complex value and the second complex value, generate a third complex value according to the first complex value and the second complex value, and generate a real number according to the second complex value, where a phase difference between the third complex number and the first complex number is substantially the same as a phase angle of the second complex number, and the real number is substantially proportional to an absolute value of the second complex number; and
Step 504: divide the third complex value by the real number to obtain the computing result.
Briefly summarized, in the complex divider of the present invention, the complex dividing calculation can be completed without using a multiplier, and the range of numbers processed by two real dividers within the complex divider is smaller than in the prior art. Therefore, the complexity of the complex divider is lower than in the conventional art.
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention.
Number | Date | Country | Kind |
---|---|---|---|
100111370 A | Mar 2011 | TW | national |
Number | Name | Date | Kind |
---|---|---|---|
5844943 | Kazecki et al. | Dec 1998 | A |
6691144 | Becker | Feb 2004 | B2 |
7051061 | Becker | May 2006 | B2 |
8352534 | Chan | Jan 2013 | B2 |
20030225809 | Becker | Dec 2003 | A1 |
20040139140 | Becker | Jul 2004 | A1 |
20120254276 | Li | Oct 2012 | A1 |
Number | Date | Country |
---|---|---|
201011637 | Mar 2010 | TW |
Entry |
---|
Wang Jingcun et al., “Complex Divider FPGA Implementation Based on CORDIC Algorithm”, 2008, p. 27-30, vol. 24, No. 287, Modern Electronics Technique, China Academic Journal Electronic Publishing House. |
Li Quan et al., “The implementation of high-precision floating transcendental functions on FPGA based on the CORDIC algorithm”, 2009, p. 166-170, No. 5, Application of Electronic Technique, China Academic Journal Electronic Publishing House. |
Number | Date | Country | |
---|---|---|---|
20120254276 A1 | Oct 2012 | US |