Claims
- 1. An improving envelope detection circuit using a peel cone approximation, comprising:an absolute value comparision mechanism including: an absolute value determining circuit for determining positive values for incoming values of x and y; and a maximum/minimum value determining circuit for determining a maximum value xm and a minimum value ym for the incoming values x and y after their positive values are determined; a read only memory for storing constant values a and b based on address signals; and a multiplier/adder mechanism for performing multiplication and addition operations on the constant values a and b from the read only memory together with values xm and ym outputted from the absolute value comparision mechanism and for outputting a square root of the sum of two squares of the values x and y; wherein the improvement comprises: a divider connected between said absolute value comparision mechanism and said read only memory to generate a quotient k with the dividend ym and the divisor xm for the address of said read only memory.
- 2. The circuit of claim 1, wherein said divider is implemented by the following steps:(a) if xm is equal to ym, the quotient k is “1111”; (b) if xm is not equal to ym, then repeats the following steps (b1) and (b2) for four times, and at each time a relative quotient bit is obtained; (b1) if 2 times the value ym is bigger than the value xm, then the relative quotient bit is 1 and the value ym is obtained by subtracting the value xm from the product of 2 and the value ym; (b2) if 2 times the value ym is smaller than the value xm, then the relative quotient bit is 0 and the value ym is obtained by adding the value xm to the product of 2 and the value ym.
- 3. The circuit of claim 1, wherein said divider is implemented by the following algorithm:if ym−xm =0 then q3q2q1q0 =″1111″else for (n=3 ; n ≧ 0 ; n=n−1) { if 2*ym−xm ≧ 0 then { qn=1 ; ym=2*ymxm } else { qn=0 ; ym=2*ym+xm }}wherein the binary representation of the quotient k is q3q2q1q0.
- 4. The circuit of claim 1, further comprising a delaying circuit connected between said absolute value comparision mechanism and said multiplier/adder mechanism.
CROSS REFERENCE RELATED TO APPLICATION
This is a continuation-in-part of application Ser. No. 09/049,605, filed Mar. 27, 1998, now U.S. Pat. No. 6,070,181, the disclosure of which is incorporated herein by reference.
US Referenced Citations (9)
Continuation in Parts (1)
|
Number |
Date |
Country |
Parent |
09/049605 |
Mar 1998 |
US |
Child |
09/481141 |
|
US |