Movatterモバイル変換


[0]ホーム

URL:


CN102799565A - Method and device for improving coordinate rotation digital computation - Google Patents

Method and device for improving coordinate rotation digital computation
Download PDF

Info

Publication number
CN102799565A
CN102799565ACN2011101395194ACN201110139519ACN102799565ACN 102799565 ACN102799565 ACN 102799565ACN 2011101395194 ACN2011101395194 ACN 2011101395194ACN 201110139519 ACN201110139519 ACN 201110139519ACN 102799565 ACN102799565 ACN 102799565A
Authority
CN
China
Prior art keywords
iteration
rotation
phase angle
initial phase
digital computation
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
CN2011101395194A
Other languages
Chinese (zh)
Inventor
章勇
刘庆伟
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.)
Leadcore Technology Co Ltd
Original Assignee
Leadcore Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Leadcore Technology Co LtdfiledCriticalLeadcore Technology Co Ltd
Priority to CN2011101395194ApriorityCriticalpatent/CN102799565A/en
Publication of CN102799565ApublicationCriticalpatent/CN102799565A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Landscapes

Abstract

The invention relates to the field of computers, and discloses a method and a device for improving coordinate rotation digital computation. According to the method, an iterative initial phase angle which is smaller than the absolute value |theta| of a rotation angle is selected to perform coordinate rotation digital computer (CORDIC) iterative computation according to the rotation angle theta. For a small rotation angle, if the |theta| is smaller than the angle of pi/4, the phase angle greater than the |theta| can be prevented from being used for iterating, namely the iteration of i=0 is not performed, so that the number of iterations is reduced without influencing an approximation effect; and therefore, the resources overhead and the time overhead of hardware are reduced.

Description

The improving one's methods and installing of rotation of coordinate digital computation
Technical field
The present invention relates to computer realm, particularly the computing technique of vector rotation.
Background technology
Calculate for phase place rotation and sine and cosine value, when hardware is realized, generally can select to use cordic algorithm, replace numerous and diverse (plural number) multiplication.CORDIC is called the rotation of coordinate numerical calculation method again, is a kind of alternative manner that is used to calculate the generalized vector rotation.This basic idea through a series of fixing, relevant continuous beats of angle with the computing radix to approach the required anglec of rotation.
Cordic algorithm has only been used addition and shifting function in the realization of hardware circuit, practiced thrift hardware resource greatly, thereby can satisfy deviser's requirement.
Introduce the basic thought of cordic algorithm below briefly.As shown in Figure 1, vector
Figure BDA0000064023190000011
is rotated counterclockwise θ degree angle to vector, and this relational expression can be following with matrix representation:
xqyq=cosθ-sinθsinθcosθxpyp=cosθ1-tanθtanθ1xpyp---(1)
If angle θ can have N θiAngle superposes and obtains, and it is following to draw the overlap-add operation in each step according to formula (1) so:
xi+1yi+1=cosθi1-tanθitanθi1xiyi---(2)
Using equation (2) can be expressed through the N-step superimposed by the vector
Figure BDA0000064023190000015
Rotate to the vector
Figure BDA0000064023190000016
expressed as follows:
xNyN=cosθ0·cosθ1...cosθN-11-tanθ0tanθ01...1-tanθN-1tanθN-11x0y0---(3)
Because COMPUTER CALCULATION adopts binary mode, so choose θiiArctan (2-i), choose θ like thisiMade things convenient for tan θiCalculating, i.e. tan θii2-ii=1,1}), i=0 wherein, 1 ..., N-1.The cos θ of formula (3) frontiCan get the tired limit of taking advantage of:
K′=Πi=0∞cosθi=Πi=0∞cos[arctan(12i)]=Πi=0∞11+2-2i≈0.607253---(4)
If in designed system in advance calculating K ', when casting aside K ' and do not include, formula (3) just can become so:
xi+1yi+1=1-λi2-iλi2-i1xiyi---(5)
θ=Σi=0N-1λiθi,(λi={-1,1})---(6)
The precision of calculating is by the size decision of N, the λ in formula (5) and the formula (6)iConcrete condition by each step is decided.
Utilize cordic algorithm to ask for the phase angle of plural number and ask the principle of sine and cosine of phase angle as shown in Figure 2, establish initial vector Z0:x0+ jy0, after N angle rotation, obtain vector Z N:xN+ jyN, the angle of the i+1 time rotation is θi, make θi=arctan (2-i), vector is x before the rotationi+ jyi, corresponding phasing degree is Zi, anglec of rotation θiAfter become xI+1+ jyI+1, corresponding phase angle is ZI+1λ whereini∈ 1,1}, λiThe representation vector sense of rotation according to the derivation of J.S.Walter, has the iterative equation group:
xi+1=xi-λi·yi·2-iyi+1=yi+λi·xi·2-izi+1=zi-λi·arctan(2-i)---(7)
Write as matrix form:
xi+1yi+1=1-λi2-iλi2-i1xiyi---(8)
zi+1=zii·arctan(2-i) (9)
Because
Figure BDA0000064023190000031
utilizes CORDIC to ask the phase angular region should be controlled in; In like manner, the phase angle that carries out phase alignment also should be controlled in.
Cordic algorithm is applied to ask the phase angle and the mould of plural number, and the method when asking sine and the cosine of plural number is following:
(1) ask plural phase angle and mould: the difference with start vector Z0 phase angle after the i time angle rotation is Zi, when
Figure BDA0000064023190000034
The time, the result of calculation of N iteration is:
xN=Kx02+y02yN=0zN=arctan(y0/x0)---(10)
Can be by formula (10) in the hope of the mould and the phase angle of plural number.
(2) ask plural sine and cosine: the difference with angle on target after the i time angle rotation is ZiZ0 is own selected reference vector,
Figure BDA0000064023190000036
Be known phase.
During as
Figure BDA0000064023190000037
, the result of calculation of N iteration is:
K=Πi=0N-11+2-2i≈1.6467
xN=K(x0cosz^0-y0sinz^0)yN=K(y0cosz^0+x0sinz^0)zN=0---(11)
Get x0=1/K, y0=0, then can try to achieve the sine and cosine value of phase angle.
Yet inventor of the present invention finds, because by N θiWhen the angle stack obtains anglec of rotation θ, be to begin stack from i=0 all the time, promptly the initial phase angle of iteration is always
Figure BDA0000064023190000041
But in actual conditions, anglec of rotation θ maybe be less than π/4.And when carrying out phase place rotation less than the angle of π/4 and asking trigonometric function to calculate, still need use ratio | and θ | big phase angle (like arctan (1)) carries out iteration, is unfavorable for the minimizing on hardware resource and the time overhead.
And when carrying out phase place rotation calculating, existing cordic algorithm is after iterative computation is accomplished; The size of anglec of rotation θ no matter; All need carry out amplitude calibration one time to the real part and the imaginary part of data, promptly multiplication by constants K ' has also caused certain expense to hardware resource with on the time.
Summary of the invention
The object of the present invention is to provide improving one's methods and installing of a kind of rotation of coordinate digital computation, to reduce hardware resource and time overhead.
For solving the problems of the technologies described above, embodiment of the present invention provides improving one's methods of a kind of rotation of coordinate digital computation, comprises following steps:
According to the size of anglec of rotation θ, select the initial phase angle of iteration; Wherein, the initial phase angle of the iteration of selection is less than said θ;
With the initial phase angle of the initial phase angle of the iteration of said selection, carry out the rotation of coordinate digital computation as iteration in the rotation of coordinate digital computation.
Embodiment of the present invention also provides a kind of modifying device of rotation of coordinate digital computation, comprises:
The initial phase angle of iteration is selected module, is used for the size according to anglec of rotation θ, selects the initial phase angle of iteration; Wherein, the initial phase angle of the iteration of selection is less than said θ;
Rotation of coordinate digital computation module is used for the initial phase angle of the initial phase angle of the iteration of said selection as rotation of coordinate digital computation iteration carried out the rotation of coordinate digital computation.
Embodiment of the present invention according to the size of anglec of rotation θ, is selected the absolute value than the anglec of rotation in terms of existing technologies | θ | the initial phase angle of littler iteration, carry out the CORDIC interative computation.Owing to be size according to anglec of rotation θ; The initial phase angle of iteration during decision CORDIC calculates, therefore as far as the small rotation angle, as | θ | the angle of<π/4; Can avoid the use of ratio | θ | big phase angle (like arctan (1)) carries out iteration; Promptly do not do that time iteration of i=0, thereby reduced iterations not influencing under the prerequisite of approaching effect, and then reduced hardware in resource and temporal expense.
In addition, at the initial phase angle of candidate's iteration
Figure BDA0000064023190000051
I=0,1,2......, NIter(N in-1IterBe maximum iteration time), search less than | θ | and approach most | θ |
Figure BDA0000064023190000052
With what find
Figure BDA0000064023190000053
As the initial phase angle of selecting of iteration, guaranteed to calculate the accuracy of effect.
In addition, before carrying out amplitude calibration, judging whether earlier to carry out amplitude calibration, is in the time of need carrying out amplitude calibration, again the data behind the interative computation to be carried out amplitude calibration in result of determination; Otherwise, directly with the data behind the interative computation as final result.Because when phase angle theta is very little, be used to carry out the constant K of amplitude calibration 'nQuite approaching with 1; Do not carry out amplitude calibration this moment, make that the CORDIC calculating after improving need not to use multiplication, and only use addition and shifting function; Can obtain phase place rotation result; Thereby the minimizing operand, the loss of precision is also very little, has further reduced hardware in resource and temporal expense.
Description of drawings
Fig. 1 is the process flow diagram of improving one's methods according to the rotation of coordinate digital computation of first embodiment of the invention;
Fig. 2 is the process flow diagram of improving one's methods according to the rotation of coordinate digital computation of second embodiment of the invention;
Fig. 3 is that the phase place that existing C ORDIC algorithm obtains is rotated result's fixed point error synoptic diagram;
Fig. 4 is to use the phase place rotation result's that improved cordic algorithm obtains among the present invention fixed point error synoptic diagram;
Fig. 5 is the modifying device structural representation according to the rotation of coordinate digital computation of third embodiment of the invention.
Embodiment
First embodiment of the present invention relates to improving one's methods of a kind of rotation of coordinate digital computation.Idiographic flow is as shown in Figure 1.
Instep 110; It is identical with prior art anglec of rotation θ to be transformed into
Figure BDA0000064023190000061
this step, repeats no more at this.
Then, instep 120, according to the size of anglec of rotation θ, select the initial phase angle of iteration, wherein, the initial phase angle of the iteration of selection is less than the absolute value of the anglec of rotation | θ |.
Specifically, because COMPUTER CALCULATION adopts binary mode, for making things convenient for tan θiCalculating, the initial phase angle of candidate's iteration does
Figure BDA0000064023190000062
I=0,1,2......, NIter-1, wherein, NIterBe maximum iteration time.When selecting the initial phase angle of iteration,
Figure BDA0000064023190000063
(i=0,1,2......, NIter-1) in, search less than | θ | and approach most | θ |With what find
Figure BDA0000064023190000065
As the initial phase angle of selecting of iteration.
Such as; During as
Figure BDA0000064023190000066
; Find less than | θ | and approach most | θ |
Figure BDA0000064023190000067
Figure BDA0000064023190000068
when being i=1 that is to say; The initial phase angle of iteration selects for use that
Figure BDA0000064023190000069
littler than θ to begin to carry out iteration; The phase angle iteration of i.e. use
Figure BDA00000640231900000610
beginning, (i.e.
Figure BDA00000640231900000612
) begins to carry out iteration and do not use
Figure BDA00000640231900000611
.During as
Figure BDA00000640231900000613
; Find less than | θ | and approach most | θ |
Figure BDA0000064023190000071
when being i=2 that is to say; The initial phase angle of iteration selects for use that
Figure BDA0000064023190000073
littler than θ to begin to carry out iteration; The phase angle iteration of i.e. use
Figure BDA0000064023190000074
beginning, (i.e.
Figure BDA0000064023190000076
) and begins to carry out iteration and do not use
Figure BDA0000064023190000075
.The rest may be inferred; As | θ | more hour, always select for use that
Figure BDA0000064023190000078
littler than θ to begin to carry out iteration.
Then, instep 130,, carry out the interative computation in the rotation of coordinate digital computation with the initial phase angle of the initial phase angle of selecting of iteration as iteration in the CORDIC calculating.Such as, if when the initial phase angle of selecting of iteration is i=1Begin to carry out iteration during promptly from i=1, iteration initial value i=1, iterative manner is i=1,2......NIter-1, time iteration of that when not being i=0.When if the initial phase angle of selecting of iteration is i=2
Figure BDA00000640231900000710
Begin to carry out iteration during promptly from i=2, iteration initial value i=2, iterative manner is i=2,3......NIter-1, be not i=0, twice iteration of that of 1 o'clock.Wherein, the account form in the iterative process is identical with existing C ORDIC account form each time, repeats no more at this.
Then, instep 140, the data behind the interative computation are carried out amplitude calibration, this step is identical with prior art, repeats no more at this.
Be not difficult to find, in this embodiment, owing to be size according to anglec of rotation θ; The initial phase angle of iteration during decision CORDIC calculates, for some angle θ ± m* π,
Figure BDA00000640231900000711
m=0; 1,2 ... (for example | θ | the angle of<arctan (1)); When carrying out phase place rotation and trigonometric function calculating; Can not use ratio | θ | big phase angle (like arctan (1)) carries out iteration, and only uses less than | θ | phase angle carry out iterative approach, thereby can accelerate speed of convergence; Reduce iterations, and then reduce operand.That is to say; As far as the small rotation angle; As | θ | the angle of<π/4 can avoid the use of ratio | θ | big phase angle (like arctan (1)) carries out iteration, does not promptly do that time iteration of i=0; Thereby reduced iterations not influencing under the prerequisite of approaching effect, and then reduced hardware in resource and temporal expense.And; With find less than | θ | and approach most | θ |
Figure BDA0000064023190000081
as the initial phase angle of selecting of iteration, effectively guaranteed to calculate the accuracy of effect.
Second embodiment of the present invention relates to improving one's methods of a kind of rotation of coordinate digital computation.Second embodiment has been done further improvement on the basis of first embodiment, main improvements are:
In the first embodiment, after accomplishing the CORDIC interative computation, directly get into the step that the amplitude after the iteration is calibrated.And in second embodiment of the invention, before carrying out amplitude calibration, need judge whether to carry out amplitude calibration earlier, if judgement need be carried out amplitude calibration, then carry out amplitude calibration again; If judge and need not carry out amplitude calibration, then directly with the data behind the interative computation as final result, as shown in Figure 2.
Specifically, because angle is more little, iterations is few more, be used to carry out the constant K of amplitude calibration 'nAlso more near 1, K 'nComputing method following:
Kn′=1K=1Πi=nNiter1+2-2i0=0,1,...,Niter---(12)
Therefore, can calculate under the different n values corresponding K ' in advancenSuch as, work as NIter=11 o'clock, through the K ' under the different n values that calculatenAs follows:
K′n=[0.60725,0.858785,0.96015,0.9897,0.9974,0.999349,0.9998373,1.0,1.0,1.0,1.0,1.0]
Because according to the initial phase angle of selecting of iteration
Figure BDA0000064023190000083
Iteration initial value i can be obtained,, K ' corresponding under the different iteration initial values can be obtained the value of iteration initial value as nnAs working as
Figure BDA0000064023190000084
The time, iteration initial value i=n=1, K ' at this momentnBe 0.858785; When
Figure BDA0000064023190000085
The time, iteration initial value i=n=2, K ' at this momentnBe 0.96015.Be not difficult to find,
When θ is very little, make n=7,8,9,10 one of them the time, K 'n≈ 1.Therefore, can be with K ' corresponding under the iteration initial valuenDifference with 1 compares with preset thresholding, if the K ' of correspondence under the iteration initial valuenWith 1 difference less than preset thresholding, then the explanation constant that is used to carry out amplitude calibration has been equivalent to 1, judges and need not carry out amplitude calibration; If the K ' of correspondence under the iteration initial valuenBe not less than preset thresholding with 1 difference, then get into the step of amplitude calibration again.
To above-mentioned case, work as n=0,1 ...,, choose K ' corresponding under the iteration initial value at 6 o'clocknAmplitude to after the iteration is calibrated; When n greater than 6 the time, the amplitude after the iteration is not calibrated, directly with the data behind the interative computation as final result.CORDIC computing method after feasible the improvement; Can omit last multiply operation for some angles, owing to need not to use multiplication, and only use addition and shifting function; Can obtain phase place rotation result; Thereby the minimizing operand, the loss of precision is also very little, has further reduced hardware in resource and temporal expense.
In addition, it will be understood by those skilled in the art that each method embodiment of the present invention can be applicable to phase place rotation and calculates, asks trigonometric function to calculate, ask during the modulus of complex number etc. calculates.Promptly calculate the phase place rotation, asking trigonometric function value (just, cosine) and ask under the situation of modulus of complex number value, can reduce iterations to a certain extent; Under some less angle; Can operate by contraction in multiplication, thereby reduce operand, reduce hardware resource and time overhead.Use respectively in existing C ORDIC and the embodiment of the present invention improved cordic algorithm to phase place rotation carry out iterative approach, result such as Fig. 3, shown in Figure 4.Wherein, " Cordic " curve representation of Fig. 3 uses the fixed point error that existing C ORDIC algorithm carries out the phase place rotation; " Cordic-new " curve representation of Fig. 4 uses the fixed point error that improved cordic algorithm carries out the phase place rotation in the embodiment of the present invention.The relative MSE
Figure BDA0000064023190000091
that two kinds of methods are carried out the phase place rotation is as follows:
Cordic:5.170246804540731e-003
Cordic-new:5.172967852134145e-003
What deserves to be mentioned is, above the step of the whole bag of tricks divide, just clear in order to describe; Can merge into a step during realization perhaps splits some step; Be decomposed into a plurality of steps, as long as comprise identical logical relation, all in the protection domain of this patent; To adding inessential modification in the algorithm or in the flow process or introduce inessential design, but the core design that does not change its algorithm and flow process is all in the protection domain of this patent.
Third embodiment of the invention relates to a kind of modifying device of rotation of coordinate digital computation, and is as shown in Figure 5, comprises:
The initial phase angle of iteration is selected module, is used for the size according to anglec of rotation θ, selects the initial phase angle of iteration; Wherein, the initial phase angle of the iteration of selection is less than the absolute value of the anglec of rotation | θ |;
Rotation of coordinate digital computation module is used for the initial phase angle of the initial phase angle of selecting of iteration as rotation of coordinate digital computation iteration carried out the rotation of coordinate digital computation.It will be understood by those skilled in the art that in rotation of coordinate digital computation module, include the amplitude calibration submodule, be used for the data behind the interative computation are carried out amplitude calibration.
Wherein, the initial phase angle of iteration selects module to include the submodule that is used for anglec of rotation θ is transformed into
Figure BDA0000064023190000101
.The initial phase angle of candidate's iteration does
Figure BDA0000064023190000102
I=0,1,2......, NIter-1, wherein, NIterBe maximum iteration time.The initial phase angle of iteration selects module when selecting the initial phase angle of iteration; In the initial phase angle of candidate's iteration, search less than | θ | and approach most | θ |
Figure BDA0000064023190000103
Figure BDA0000064023190000104
that will find as the initial phase angle of selecting of iteration.
Be not difficult to find that this embodiment is and the corresponding system embodiment of first embodiment, this embodiment can with the enforcement of working in coordination of first embodiment.The correlation technique details of mentioning in first embodiment is still effective in this embodiment, in order to reduce repetition, repeats no more here.Correspondingly, the correlation technique details of mentioning in this embodiment also can be applicable in first embodiment.
Four embodiment of the invention relates to a kind of modifying device of rotation of coordinate digital computation.The 4th embodiment and the 3rd embodiment are roughly the same, and key distinction part is:
In the 3rd embodiment, the amplitude calibration submodule in the rotation of coordinate digital computation module need carry out amplitude calibration to the data behind the interative computation all the time.And in four embodiment of the invention; Also comprise amplitude calibration decision-making submodule in the rotation of coordinate digital computation module, be used for after rotation of coordinate digital computation module is accomplished the interative computation of rotation of coordinate digital computation, judging whether to carry out amplitude calibration; And when judgement need be carried out amplitude calibration; Trigger this amplitude calibration module, judging when need not carry out amplitude calibration, directly with the data behind the interative computation as final result.
Wherein, this amplitude calibration decision-making submodule comprises following subelement:
The calibration constants computation subunit is used for calculating in advance under the different n values, be used to carry out the constant K of amplitude calibration 'n, wherein,
Figure BDA0000064023190000111
N=0,1,2......, NIter
Relatively subelement is used for according to the initial phase angle of selecting of iteration
Figure BDA0000064023190000112
Obtain the iteration initial value, and with the value of iteration initial value as n, with K ' corresponding under the iteration initial valuenCompare with 1 difference and preset thresholding, during less than preset thresholding, judge and need not carry out amplitude calibration in difference; During more than or equal to preset thresholding, judgement need be carried out amplitude calibration in difference.
The modifying device that it will be understood by those skilled in the art that above-mentioned rotation of coordinate digital computation can be applicable to phase place rotation calculating, asks trigonometric function to calculate, ask in the modulus of complex number.
Be not difficult to find that this embodiment is and the corresponding system embodiment of second embodiment, this embodiment can with the enforcement of working in coordination of second embodiment.The correlation technique details of mentioning in second embodiment is still effective in this embodiment, in order to reduce repetition, repeats no more here.Correspondingly, the correlation technique details of mentioning in this embodiment also can be applicable in second embodiment.
What deserves to be mentioned is that each involved in this embodiment module is logic module, in practical application, a logical block can be a physical location, also can be the part of a physical location, can also realize with the combination of a plurality of physical locations.In addition, for outstanding innovation part of the present invention, will not introduce in this embodiment, but this does not show the unit that does not have other in this embodiment with solving the not too close unit of technical matters relation proposed by the invention.
Above-mentioned each embodiment is to realize specific embodiment of the present invention, and in practical application, can be in form with on the details it is done various changes, and without departing from the spirit and scope of the present invention.

Claims (12)

1. improving one's methods of a rotation of coordinate digital computation is characterized in that, comprises following steps:
According to the size of anglec of rotation θ, select the initial phase angle of iteration; Wherein, the initial phase angle of the iteration of selection is less than the absolute value of the said anglec of rotation | θ |;
With the initial phase angle of the initial phase angle of the iteration of said selection, carry out the rotation of coordinate digital computation as iteration in the rotation of coordinate digital computation.
2. improving one's methods of rotation of coordinate digital computation according to claim 1 is characterized in that, the initial phase angle of candidate's iteration does
Figure FDA0000064023180000011
I=0,1,2......., NIter-1, wherein, NIterBe maximum iteration time;
Said size according to anglec of rotation θ, select to comprise following substep in the step of the initial phase angle of iteration:
In the initial phase angle of said candidate's iteration, search less than said | θ | and approach said most | θ |
Figure FDA0000064023180000012
that will find as the initial phase angle of the iteration of said selection.
3. improving one's methods of rotation of coordinate digital computation according to claim 2 is characterized in that, in the said step of carrying out the rotation of coordinate digital computation, comprises following substep:
Carry out the interative computation in the rotation of coordinate digital computation, after accomplishing said interative computation, judge whether to carry out amplitude calibration;
If judgement need be carried out amplitude calibration, then again the data after said rotation of coordinate digital computation are carried out amplitude calibration; If judge and need not carry out amplitude calibration, then directly with the data behind the said interative computation as final result.
4. improving one's methods of rotation of coordinate digital computation according to claim 3 is characterized in that, need carry out comprising following substep in the step of amplitude calibration judging whether:
Calculate in advance under the different n values, be used to carry out the constant K of amplitude calibration 'n, wherein,
Figure FDA0000064023180000021
N=0,1,2......, NIter
The initial phase angle of iteration
Figure FDA0000064023180000022
according to selecting obtains the iteration initial value;
With the value of said iteration initial value, if the K ' of correspondence under the said iteration initial value as said nnWith 1 difference less than preset thresholding, then judge and need not carry out amplitude calibration; If said difference is more than or equal to said preset thresholding, then judgement need be carried out amplitude calibration.
5. improving one's methods of rotation of coordinate digital computation according to claim 1 is characterized in that, said size according to anglec of rotation θ is selected to comprise following substep in the step of the initial phase angle of iteration:
Said θ is transformed into
Figure FDA0000064023180000023
According to the θ that is transformed into
Figure FDA0000064023180000024
, select the initial phase angle of iteration.
6. according to the improving one's methods of each described rotation of coordinate digital computation in the claim 1 to 5, it is characterized in that,
Improving one's methods of said rotation of coordinate digital computation is applied to the phase place rotation and calculates, asks trigonometric function to calculate, ask in the modulus of complex number.
7. the modifying device of a rotation of coordinate digital computation is characterized in that, comprises:
The initial phase angle of iteration is selected module, is used for the size according to anglec of rotation θ, selects the initial phase angle of iteration; Wherein, the initial phase angle of the iteration of selection is less than the absolute value of the said anglec of rotation | θ |;
Rotation of coordinate digital computation module is used for the initial phase angle of the initial phase angle of the iteration of said selection as rotation of coordinate digital computation iteration carried out the rotation of coordinate digital computation.
8. the modifying device of rotation of coordinate digital computation according to claim 7 is characterized in that, the initial phase angle of candidate's iteration does
Figure FDA0000064023180000031
I=0,1,2......, NIter-1, wherein, NIterBe maximum iteration time;
The initial phase angle of said iteration selects module when selecting the initial phase angle of iteration; In the initial phase angle of said candidate's iteration, search less than said | θ | and approach said most | θ |
Figure FDA0000064023180000033
that will find as the initial phase angle of the iteration of said selection.
9. the modifying device of rotation of coordinate digital computation according to claim 8 is characterized in that, in the said rotation of coordinate digital computation module, comprises amplitude calibration decision-making submodule and amplitude calibration submodule;
Said amplitude calibration decision-making submodule is used for after said rotation of coordinate digital computation module is accomplished the interative computation of rotation of coordinate digital computation; Judge whether to carry out amplitude calibration; And when judgement need be carried out amplitude calibration; Trigger said amplitude calibration module, judging when need not carry out amplitude calibration, directly with the data behind the said interative computation as final result;
Said amplitude calibration submodule is used for the data behind the said interative computation are carried out amplitude calibration.
10. the modifying device of rotation of coordinate digital computation according to claim 9 is characterized in that, said amplitude calibration decision-making submodule comprises following subelement:
The calibration constants computation subunit is used for calculating in advance under the different n values, be used to carry out the constant K of amplitude calibration 'n, wherein,
Figure FDA0000064023180000034
N=0,1,2......, NIter
Relatively subelement is used for according to the initial phase angle of selecting of iteration
Figure FDA0000064023180000035
Obtain the iteration initial value, and with the value of said iteration initial value as said n, with K ' corresponding under the said iteration initial valuenCompare with 1 difference and preset thresholding, during less than preset thresholding, judge and need not carry out amplitude calibration in said difference; During more than or equal to preset thresholding, judgement need be carried out amplitude calibration in said difference.
11. the modifying device of rotation of coordinate digital computation according to claim 7 is characterized in that, the initial phase angle of said iteration selects module to comprise following submodule:
The submodule that is used for said θ is transformed into
Figure FDA0000064023180000041
.
12. the modifying device according to each described rotation of coordinate digital computation in the claim 7 to 11 is characterized in that,
The modifying device of said rotation of coordinate digital computation is applied to the phase place rotation and calculates, asks trigonometric function to calculate, ask in the modulus of complex number.
CN2011101395194A2011-05-262011-05-26Method and device for improving coordinate rotation digital computationPendingCN102799565A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN2011101395194ACN102799565A (en)2011-05-262011-05-26Method and device for improving coordinate rotation digital computation

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN2011101395194ACN102799565A (en)2011-05-262011-05-26Method and device for improving coordinate rotation digital computation

Publications (1)

Publication NumberPublication Date
CN102799565Atrue CN102799565A (en)2012-11-28

Family

ID=47198678

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN2011101395194APendingCN102799565A (en)2011-05-262011-05-26Method and device for improving coordinate rotation digital computation

Country Status (1)

CountryLink
CN (1)CN102799565A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109345463A (en)*2018-12-062019-02-15深圳市中科汉天下电子有限公司A kind of optimization method and system of Coordinate Rotation Digital calculation method
CN115167814A (en)*2022-07-052022-10-11Oppo广东移动通信有限公司 Coordinate rotation digital operation circuit and method thereof, signal processing circuit and chip

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US4896287A (en)*1988-05-311990-01-23General Electric CompanyCordic complex multiplier
CN101930351A (en)*2009-06-262010-12-29深圳迈瑞生物医疗电子股份有限公司Transform operation method, transform operation device, coordinate rotation digital computation method and coordinate rotation digital computation device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US4896287A (en)*1988-05-311990-01-23General Electric CompanyCordic complex multiplier
CN101930351A (en)*2009-06-262010-12-29深圳迈瑞生物医疗电子股份有限公司Transform operation method, transform operation device, coordinate rotation digital computation method and coordinate rotation digital computation device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
孙宇峰等: "一种高精度正余弦函数的FPGA实现方法", 《信息工程大学学报》, vol. 8, no. 3, 15 September 2007 (2007-09-15)*
岳鸿鹏等: "一种基于CORDIC算法的复乘模块设计及其FFT应用", 《微电子学》, vol. 40, no. 4, 20 August 2010 (2010-08-20)*
杨青等: "基于CORDIC改进算法的DDS实现方法", 《空军雷达学院学报》, vol. 24, no. 5, 15 October 2010 (2010-10-15)*

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109345463A (en)*2018-12-062019-02-15深圳市中科汉天下电子有限公司A kind of optimization method and system of Coordinate Rotation Digital calculation method
CN109345463B (en)*2018-12-062023-07-21深圳昂瑞微电子技术有限公司 An optimization method and system for a coordinate rotation digital calculation method
CN115167814A (en)*2022-07-052022-10-11Oppo广东移动通信有限公司 Coordinate rotation digital operation circuit and method thereof, signal processing circuit and chip

Similar Documents

PublicationPublication DateTitle
Li et al.Liouville-type theorems and Harnack-type inequalities for semilinear elliptic equations
Chelkak et al.Conformal invariance of spin correlations in the planar Ising model
KR101735677B1 (en)Apparatus for multiply add fused unit of floating point number, and method thereof
Lakshmi et al.CORDIC architectures: A survey
Deng et al.Stable, fast computation of high-order Zernike moments using a recursive method
CN100511125C (en)Device for realizing CORDIC algorithm
PetkovićPoint estimation of root finding methods
US10833868B2 (en)Direct anonymous attestation-based apparatus and method
CN102799565A (en)Method and device for improving coordinate rotation digital computation
US12047514B2 (en)Digital signature verification engine for reconfigurable circuit devices
CN106027045A (en)Direct digital frequency synthesizer based on improved CORDIC algorithm
CN107102841A (en)A kind of coordinate transform parallel calculating method and device
KR101346768B1 (en)Apparatus and method for cordic processing
CN104536720A (en)Method and system for measuring and calculating trigonometric function value of to-be-measured angle based on FPGA
CN104012029A (en)Determination of a division remainder and detection of prime number candidates for a cryptographic application
TWI376633B (en)Method of cordic computing vector angle and electronic apparatus using the same
CN107657078B (en)Ultrasonic phased array floating point focusing transmission implementation method based on FPGA
Thiruvengadam et al.Low power approximate adder based repetitive iteration cord (LP-ARICO) algorithm for high-speed applications
Zheng et al.Superlinearly convergent methods for solving a class of implicit complementarity problems based on sign analysis
Mi et al.Behavioral Implementation of SVD on FPGA
CN100518058C (en) A Method and Architecture for Accelerating Public Key Cryptography
CN104181533B (en)A kind of SAR echo simulation methods based on time delay discretization
Shimizu et al.Construction of low-dimensional system reproducing low-Reynolds-number turbulence by machine learning
CN112285641A (en) A method and device for estimating direction of arrival DOA based on ICA
Poczekajlo et al.Modified CORDIC Algorithm for Givens Rotator

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C12Rejection of a patent application after its publication
RJ01Rejection of invention patent application after publication

Application publication date:20121128


[8]ページ先頭

©2009-2025 Movatter.jp