Claims
- 1. A device for processing an input value to provide at least one inverse trigonometric function value of the input value, comprising:
- A) modification means responsive to the input value for determining an approximation value of the input value;
- B) error generating means responsive to the modification means and the input value for generating an error value;
- C) a read-only memory (ROM) responsive to the modification means for generating at least a first scaling factor, the first scaling factor being substantially equal to ##EQU8## where a is the approximation value; D) function generating means responsive to the modification means for determining an intermediate value;
- E) correction factor generating means responsive to the error generating means, the modification means, and the read-only memory for determining at least one correction value; and
- F) first combining means responsive to the function generating means and correction factor generating means for determining at least one output inverse trigonometric function value of the input value.
- 2. The device of claim 1, wherein the approximation value is selected from a predetermined set of values.
- 3. The device of claim 2, wherein the predetermined set of values is a group of values predetermined by selected rounding algorithms.
- 4. The device of claim 1, wherein the error generating means includes first subtraction means for determining a first difference of the input value minus the approximation value, the first difference substantially being an error value.
- 5. The device of claim 1, wherein the function generating means utilizes at least one second memory device to substantially determine at least one inverse trigonometric function value of the approximation value.
- 6. The device of claim 5, wherein the at least one inverse trigonometric function value is at least one of: an inverse sine value of the approximation value and an inverse cosine value of the approximation value.
- 7. The device of claim 5, wherein the at least one second memory device is a second ROM.
- 8. The device of claim 1, wherein the correction factor generating means includes at least two of:
- A) second multiplication means, responsive to the error generating means and the read-only memory (ROM) for substantially determining a second product of the error value and the first scaling factor;
- B) second scaling factor generating means for substantially determining at least one of a set of scaled factors;
- C) power and factorial determining means for determining at least one of a set of power values of the error value and at least one reciprocal of a factorial value of n where n is a number of correction factor terms, and for determining an intermediate product, c.sup.n /n!, thereof;
- D) secondary factor determining means for determining, where desired, at least one secondary factor D.sub.col,row, where D.sub.col,row is substantially an inverse trigonometric function derivative for a selected inverse trigonometric function value such that a numerical position number of a correction factor equals the number of the derivative;
- E) third multiplication means, responsive to the power and factorial determining means and the second scaling factor generating means for substantially determining, if desired, at least a third product of at least one intermediate product (c.sup.n /n!), a scaled factor (SF), and, where desired, a secondary factor being a set summed terms of D.sub.col,row scaling factors in accordance with the concept of the following table:
- __________________________________________________________________________D.sub.1 D.sub.2 D.sub.3 D.sub.4 . . .n f a b a c a d a . . . . . .__________________________________________________________________________1 1 a.sup.02 1 a.sup.13 3 a.sup.2 1 a.sup.04 15 a.sup.3 9 a.sup.15 105 a.sup.4 90 a.sup.2 9 a.sup.06 945 a.sup.5 1050 a.sup.3 225 a.sup.17 10395 a.sup.6 14175 a.sup.4 4725 a.sup.2 225 a.sup.08 135135 a.sup.7 218295 a.sup.5 99225 a.sup.3 11025 a.sup.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .n f.sub.n a.sup.n-1 b.sub.n a.sup.n- 3 c.sub.n a.sup.n-5 d.sub.n a.sup.n-7 . . . . . .__________________________________________________________________________
- where, beginning as shown in the table, and progressing, each coefficient.sub.row is as follows: ##EQU9## where table entry of a coefficient together with its a term is identified by D.sub.col,row, a power of each a term of a D.sub.col,row is determined as follows: a.sup.{n+1-2(D col #)}, where the D.sub.col,row set of terms follows the following form:
- For odd table rows:
- f.sub.n a.sup.n-1, b.sub.n a.sup.n-3, c.sub.n a.sup.n-5, d.sub.n a.sup.n-7, . . . , m.sub.n a.sup.0
- For even table rows:
- f.sub.n a.sup.n-1, b.sub.n a.sup.n-3, c.sub.n a.sup.n-5, d.sub.n a.sup.n-7, . . . , (m+1).sub.n a.sup.1
- where m and m+1 represent desired selected odd and even columns for D.sub.col,row scaling factors, n being a number of an nth correction value, and further, where each successive composite table term D.sub.col,row is divided respectively by denominators for odd and even numbered correction value terms as set forth below, thereby providing D.sub.col,row scaling factor terms, the terms being summed to provide a summed set of D.sub.col,row terms, and such that each D.sub.col,row scaling factor term of the summed set of D.sub.col, row terms utilized in correction factor determination is of a general form: a numerator as provided by the table and scheme set forth above, and successive denominators for each numerator term of the general form:
- For odd numbered correction value terms, the following denominators:
- (1-a.sup.2).sup.n-1, (1-a.sup.2).sup.n-2, (1-a.sup.2).sup.n-3, . . . , (1-a.sup.2).sup.(n-1)/2
- For even number correction value terms, the following denominators:
- (1-a.sup.2).sup.n-1, (1-a.sup.2).sup.n-2, (1-a.sup.2).sup.n-3, . . . , (1-a.sup.2).sup.n/2,
- such that the set of summed D.sub.col,row terms is substantially: ##EQU10## and F) second combining means responsive to the second multiplication means and the third multiplication means for substantially determining a third sum of at least one of: the second product, the third product and any product determined by the third multiplication means and for assigning that third sum a sign of: positive for a selected inverse sine value determination, and negative for a selected inverse cosine value determination, thereby substantially obtaining a signed third sum.
- 9. The device of claim 8 further including that the first combining means includes at least fourth addition means for determining a fourth sum of at least one intermediate value and the signed third sum, that fourth sum being substantially at least one inverse trigonometric function value of the input value.
- 10. The device of claim 9, wherein the fourth sum is substantially at least one of: an inverse sine value of the input value, an inverse cosine value of the input value, and where an adjusting factor determiner is further included operably coupled between the input and the modification means, an inverse tangent value of the input value.
- 11. The device of claim 1, wherein, when an output inverse tangent value of the input value is desired, an adjusting factor means responsive to the input means is further included for determining a fourth product such that the fourth product is substantially the input value multiplied by a factor determined by obtaining a reciprocal of a square root value of a sum of one and a square of the input value, the fourth product substantially being ##EQU11## where x is the input value, and such that the fourth product is substantially an adjusted input value for the modification means and the error generating means in place of the input value.
- 12. A device for carrying out a prescribed digital signal processing operation on at least one input signal, a respective value of which is provided in digitally encoded format as a first at least one bit digital signal code, to provide at least one desired function value of the respective value of the at least one input signal in a digitally encoded format as a second at least one bit digital signal code, comprising:
- first means, coupled to receive said first at least one bit digital signal code, for generating an approximation value of the input value in a digitally encoded format as a third at least one bit digital signal code and providing the approximation value over respective bit lines of a multibit approximation value output link;
- second means, coupled to receive said first at least one bit digital signal code and coupled to the multibit approximation output link, for generating an error value in a digitally encoded format as a fourth at least one bit digital signal code and providing the error value over respective bit lines of a multibit error generator value output link;
- a read-only memory (ROM), coupled to the multibit approximation output link lines, wherein the read-only memory (ROM) obtains at least a first scaling factor, the first scaling factor being substantially equal to ##EQU12## where a is the approximation value, for determining at least a first scaling factor output value in a digitally encoded format as a fifth at least one bit digital signal code and providing the at least first scaling factor output value over multibit scaling factor output link lines;
- third means, coupled to the multibit approximation output link lines, for determining at least a first function output value in a digitally encoded format as a sixth at least one bit digital signal code and providing the at least first function output value over multibit function value output link lines;
- fourth means, coupled to the multibit error generator output link lines, the multibit scaling factor output link lines, and the multibit approximation output link lines, for determining at least a first correction factor in a digitally encoded format as a seventh at least one bit digital signal code and providing the at least first correction factor over multibit correction value output link lines;
- fifth means, coupled to the multibit correction value output link lines, for combining at least the at least first function output and the at least first correction factor to determine at least one output inverse trigonometric function value of the respective value of the at least one input signal in a digitally encoded format.
- 13. The device of claim 12, wherein the approximation value is selected from a predetermined set of values.
- 14. The device of claim 13, wherein the predetermined set of values is a group of values predetermined by selected rounding algorithms.
- 15. The device of claim 12, wherein the second means includes at least first subtraction means for determining a first difference of the respective value of the at least one input signal minus the approximation value, the first difference substantially being an error value.
- 16. The device of claim 12, wherein the third means utilizes at least one second memory device to substantially determine at least one inverse trigonometric function value of the approximation value.
- 17. The device of claim 16, wherein the at least one inverse trigonometric function value is at least one of: an inverse sine value of the approximation value and an inverse cosine value of the approximation value.
- 18. The device of claim 16, wherein the at least one second memory device is a second ROM.
- 19. The device of claim 12, wherein the fourth means includes at least two of:
- A) second multiplication means, responsive to the error generating means and the read-only memory (ROM) for substantially determining a second product of the error value and the first scaling factor;
- B) second scaling factor generating means for substantially determining at least one of a set of scaled factors;
- C) power and factorial determining means for determining at least one of a set of power values of the error value and at least one reciprocal of a factorial value of n where n is a number of correction factor terms, and for determining an intermediate product, c.sup.n /n!, thereof;
- D) secondary factor determining means for determining at least one secondary factor D.sub.col,row, where D.sub.col,row is substantially an inverse trigonometric function derivative for a selected inverse trigonometric function value such that a numerical position number of a correction factor equals the number of the derivative;
- E) third multiplication means, responsive to the power and factorial determining means and the second scaling factor generating means for substantially determining, if desired, at least a third product of at least one intermediate product (c.sup.n /n!), a scaled factor (SF), and, where desired, a secondary factor being a set summed terms of D.sub.col,row scaling factors in accordance with the concept of the following table:
- __________________________________________________________________________D.sub.1 D.sub.2 D.sub.3 D.sub.4 . . .n f a b a c a d a . . . . . .__________________________________________________________________________1 1 a.sup.02 1 a.sup.13 3 a.sup.2 1 a.sup.04 15 a.sup.3 9 a.sup.15 105 a.sup.4 90 a.sup.2 9 a.sup.06 945 a.sup.5 1050 a.sup.3 225 a.sup.17 10395 a.sup.6 14175 a.sup.4 4725 a.sup.2 225 a.sup.08 135135 a.sup.7 218295 a.sup.5 99225 a.sup.3 11025 a.sup.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .n f.sub.n a.sup.n-1 b.sub.n a.sup.n- 3 c.sub.n a.sup.n-5 d.sub.n a.sup.n-7 . . . . . .__________________________________________________________________________
- where, beginning as shown in the table, and progressing, each coefficient.sub.row is as follows: ##EQU13## where table entry of a coefficient together with its a term is identified by D.sub.col,row, a power of each a term of a D.sub.col,row is determined as follows: a.sup.{n+1-2(D col #)}, where the D.sub.col,row set of terms follows the following form:
- For odd table rows:
- f.sub.n a.sup.n-1, b.sub.n a.sup.n-3, c.sub.n a.sup.n-5, d.sub.n a.sup.n-7, . . . , m.sub.n a.sup.0
- For even table rows:
- f.sub.n a.sup.n-1, b.sub.n a.sup.n-3, c.sub.n a.sup.n-5, d.sub.n a.sup.n-7, . . . , (m+1).sub.n a.sup.1
- where m and m+1 represent desired selected odd and even columns for D.sub.col,row scaling factors, n being a number of an nth correction value, and further, where each successive composite table term D.sub.col,row is divided respectively by denominators for odd and even numbered correction value terms as set forth below, thereby providing D.sub.col,row scaling factor terms, the terms being summed to provide a summed set of D.sub.col,row terms, and such that each D.sub.col,row scaling factor term of the summed set of D.sub.col, row terms utilized in correction factor determination is of a general form: a numerator as provided by the table and scheme set forth above, and successive denominators for each numerator term of the general form:
- For odd numbered correction value terms, the following denominators:
- (1-a.sup.2).sup.n-1, (1-a.sup.2).sup.n-2, (1-a.sup.2).sup.n-3, . . . , (1-a.sup.2).sup.(n-1)/2
- For even number correction value terms, the following denominators:
- (1-a.sup.2).sup.n-1, (1-a.sup.2).sup.n-2, (1-a.sup.2).sup.n-3, . . . , (1-a.sup.2).sup.n/2 ;
- such that the set of summed D.sub.col,row terms is substantially: ##EQU14## F) second combining means responsive to the second multiplication means and the third multiplication means for substantially determining a third sum of at least one of: the second product, the third product and any product determined by the third multiplication means and for assigning that third sum a sign of: positive for a selected inverse sine value determination, and negative for a selected inverse cosine value determination, thereby substantially obtaining a signed third sum.
- 20. The device of claim 19, further including that the fifth means includes at least fourth addition means for determining a fourth sum of at least one intermediate value and the signed third sum, that fourth sum being substantially at least one inverse trigonometric function value of the input value.
- 21. The device of claim 20, wherein the fourth sum is substantially at least one of: an inverse sine value of the input value, an inverse cosine value of the input value, and, where an adjusting factor determiner is further included operably coupled between the input and the modification means, an inverse tangent value of the input value.
- 22. The device of claim 12, wherein, when an output inverse tangent value of the input value is desired, an adjusting factor means responsive to the input means is further included for determining a fourth product such that the fourth product is substantially the input value multiplied by a factor determined by obtaining a reciprocal of a square root value of a sum of one and a square of the input value, the fourth product substantially being ##EQU15## where x is the input value, and such that the fourth product is substantially an adjusted input value for the modification means and the error generating means in place of the input value.
- 23. A device for converting an input value into at least one output value which is at least one inverse trigonometric function value of the input value, and which is a combination of an intermediate approximation value and at least one selected correction value, comprising:
- A) modification means responsive to the input value for determining an approximation value of the input value;
- B) at least one read-only memory (ROM) responsive to the modification means for determining an intermediate value, being at least one inverse trigonometric function value of the approximation value such that the at least one inverse trigonometric function value is at least one of: an inverse sine value of the approximation value and an inverse cosine value of the approximation value;
- C) correction factor generating means responsive to the input value and the modification means for determining at least one correction value; and
- D) first combining means responsive to at least the read-only memory (ROM) and the correction factor generating means for combining the intermediate approximation value and the at least one correction value such that at least one inverse trigonometric function value of the input value is obtained.
- 24. The device of claim 23, wherein the approximation value is selected from a predetermined set of values.
- 25. The device of claim 24, wherein the predetermined set of values is a group of values predetermined by selected rounding algorithms.
- 26. The device of claim 23, wherein the correction generating means includes first subtraction means for determining a first difference of the input value minus the approximation value, the first difference substantially being an error value.
- 27. The device of claim 26, wherein the correction factor generating means includes at least two of:
- A) second multiplication means, responsive to the first subtraction means and the read-only memory (ROM) for substantially determining a second product of the error value and the first scaling factor;
- B) second scaling factor generating means for substantially determining at least one of a set of scaled factors;
- C) power and factorial determining means for determining at least one of a set of power values of the error value and at least one reciprocal of a factorial value of n where n is a number of correction factor terms, and for determining an intermediate product, c.sup.n /n!, thereof;
- D) secondary factor determining means for determining, where desired, at least one secondary factor D.sub.col,row, where D.sub.col,row is substantially an inverse trigonometric function derivative for a selected inverse trigonometric function value such that a numerical position number of a correction factor equals the number of the derivative;
- E) third multiplication means, responsive to the power and factorial determining means and the second scaling factor generating means for substantially determining, if desired, at least a third product of at least one intermediate product (c.sup.n /n!), a scaled factor (SF), and a secondary factor being a set summed terms of D.sub.col,row scaling factors in accordance with the concept of the following table:
- __________________________________________________________________________D.sub.1 D.sub.2 D.sub.3 D.sub.4 . . .n f a b a c a d a . . . . . .__________________________________________________________________________1 1 a.sup.02 1 a.sup.13 3 a.sup.2 1 a.sup.04 15 a.sup.3 9 a.sup.15 105 a.sup.4 90 a.sup.2 9 a.sup.06 945 a.sup.5 1050 a.sup.3 225 a.sup.17 10395 a.sup.6 14175 a.sup.4 4725 a.sup.2 225 a.sup.08 135135 a.sup.7 218295 a.sup.5 99225 a.sup.3 11025 a.sup.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .n f.sub.n a.sup.n-1 b.sub.n a.sup.n- 3 c.sub.n a.sup.n-5 d.sub.n a.sup.n-7 . . . . . .__________________________________________________________________________
- where, beginning as shown in the table, and progressing, each coefficient.sub.row is as follows: ##EQU16## where table entry of a coefficient together with its a term is identified by D.sub.col,row, a power of each a term of a D.sub.col,row is determined as follows: a.sup.{n+1-2(D col #)}, where the D.sub.col,row set of terms follows the following form:
- For odd table rows:
- f.sub.n a.sup.n-1, b.sub.n a.sup.n-3, c.sub.n a.sup.n-5, d.sub.n a.sup.n-7, . . . , m.sub.n a.sup.0
- For even table rows:
- f.sub.n a.sup.n-1, b.sub.n a.sup.n-3, c.sub.n a.sup.n-5, d.sub.n a.sup.n-7, . . . , (m+1).sub.n a.sup.1
- where m and m+1 represent desired selected odd and even columns for D.sub.col,row scaling factors, n being a number of an nth correction value, and further, where each successive composite table term D.sub.col,row is divided respectively by denominators for odd and even numbered correction value terms as set forth below, thereby providing D.sub.col,row scaling factor terms, the terms being summed to provide a summed set of D.sub.col,row terms, and such that each D.sub.col,row scaling factor term of the summed set of D.sub.col,row terms utilized in correction factor determination is of a general form: a numerator as provided by the table and scheme set forth above, and successive denominators for each numerator term of the general form:
- For odd numbered correction value terms, the following denominators:
- (1-a.sup.2).sup.n-1, (1-a.sup.2).sup.n-2, (1-a.sup.2).sup.n-3, . . . , (1-a.sup.2).sup.(n-1)/2
- For even number correction value terms, the following denominators:
- (1-a.sup.2).sup.n-1, (1-a.sup.2).sup.n-2, (1-a.sup.2).sup.n-3, . . . , (1-a.sup.2).sup.n/2 ;
- such that the set of summed D.sub.col,row terms is substantially: ##EQU17## F) second combining means responsive to the second multiplication means and the third multiplication means for substantially determining a third sum of at least one of: the second product, the third product and any product determined by the third multiplication means and for assigning that third sum a sign of: positive for a selected inverse sine value determination, and negative for a selected inverse cosine value determination, thereby substantially obtaining a signed third sum.
- 28. The device of claim 27, further including that the first combining means includes at least fourth addition means for determining a fourth sum of the at least one intermediate approximation value and the signed third sum, that fourth sum being substantially at least one inverse trigonometric function value of the input value.
- 29. The device of claim 28, wherein the fourth sum is substantially at least one of: an inverse sine value of the input value, an inverse cosine value of the input value, and, where an adjusting factor determiner is further included operably coupled between the input and the modification means, an inverse tangent value of the input value.
- 30. The device of claim 23, wherein the correction generating means further includes at least a first scaling factor determining means to determine at least one first scaling factor.
- 31. The device of claim 30, wherein the first scaling factor determining means utilizes at least one second memory device to substantially obtain at least a first scaling factor, the first scaling factor being substantially equal to ##EQU18## where a is the approximation value.
- 32. The device of claim 31, wherein the at least one second memory device is a second ROM.
- 33. The device of claim 23, wherein, when an output inverse tangent value of the input value is desired, an adjusting factor means responsive to the input means is further included for determining a fourth product such that the fourth product is substantially the input value multiplied by a factor determined by obtaining a reciprocal of a square root value of a sum of one and a square of the input value, the fourth product substantially being ##EQU19## where x is the input value, and such that the fourth product is substantially an adjusted input value for the modification means and the error generating means in place of the input value.
Parent Case Info
This is a continuation of application Ser. No. 07/924,354, filed Jul. 31, 1992 and now abandoned which in turn is a continuation of application Ser. No. 07/555,324, filed Jul. 19, 1990 and now abandoned.
US Referenced Citations (3)
Continuations (2)
|
Number |
Date |
Country |
Parent |
924354 |
Jul 1992 |
|
Parent |
555324 |
Jul 1990 |
|