Unlock instant, AI-driven research and patent intelligence for your innovation.

Sine, cosine and arc tangent function operation device and method based on CORDIC algorithm

A technology of arctangent function and sine cosine function, which is applied in complex mathematical operations, calculations, electrical digital data processing, etc., can solve problems such as increased hardware resource consumption and less 128-bit floating point, to reduce the number of iterations and improve the representation The effect of precision

Pending Publication Date: 2021-05-11
SHENZHEN INSTITUTE OF INFORMATION TECHNOLOGY
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Calculation of sine-cosine and arctangent functions are quite common transcendental function calculations in scientific computing. At present, the main hardware design schemes mainly include look-up table method, polynomial approximation method and CORDIC (COordinate RotationDIgital Computer, coordinate rotation digital computer) method; With the improvement of precision requirements, the hardware resource consumption of look-up table method and polynomial approximation method increases exponentially; the traditional CORDIC algorithm can calculate trigonometric functions by shifting and adding, but it will generate a huge calculation delay under high precision requirements
At present, the calculation accuracy of sine-cosine and arctangent functions mainly includes fixed-point, single-precision floating-point and double-precision floating-point, and there are few researches on the calculation hardware implementation of 128-bit floating-point

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Sine, cosine and arc tangent function operation device and method based on CORDIC algorithm
  • Sine, cosine and arc tangent function operation device and method based on CORDIC algorithm
  • Sine, cosine and arc tangent function operation device and method based on CORDIC algorithm

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] In order to further describe the technical solution of the present invention in detail, this embodiment is implemented on the premise of the technical solution of the present invention, and provides detailed implementation methods and specific steps.

[0039]The present invention proposes a new four-step parallel branch iterative CORDIC algorithm for sine-cosine and arctangent functions, which solves the problem of calculation delay of the traditional CORDIC algorithm. The basic idea of ​​the four-step parallel branch iterative CORDIC algorithm is to combine four single-step iterations into one Four-step iterations, in each four-step iteration, predict 4 symbolic factors at the same time.

[0040] Taking the X channel as an example, according to the CORDIC algorithm:

[0041]

[0042]

[0043] Derivation of (1) and (2) can get the i-th four-step iteration formula:

[0044]

[0045] where i represents the number of four-step parallel iterations, δ i ,δ i+1 ,δ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a sine and cosine and arc tangent function operation device and method based on a CORDIC algorithm, and the device comprises an exception processing module which detects whether an input radian value is abnormal, and outputs the input radian value to a preprocessing module if the input radian value is legal; a preprocessing module which is used for converting the radian value input by the exception processing module into a range which can be calculated by a CORDIC algorithm and inputting the radian value into the four-step parallel iteration module; a four-step parallel iteration module which is used for realizing four-step parallel iteration operation based on the CORDIC algorithm, specifically, carrying out X-channel, Y-channel and Z-channel iteration operation on the data obtained by the preprocessing module, and predicting symbol factors; and a standardized floating point normalization module which is used for carrying out leading zero detection on the data obtained by the four-step parallel iteration module, and then normalizing and combining the data into a standard floating point form for outputting. According to the method, the expressible precision of the sine and cosine and arc tangent function calculation results is improved, and meanwhile, the number of iterations needed by calculation is greatly reduced.

Description

technical field [0001] The invention relates to the technical field of sine-cosine and arctangent function calculations, in particular to a sine-cosine and arctangent function calculation device and method based on a CORDIC algorithm. Background technique [0002] Calculation of sine-cosine and arctangent functions are quite common transcendental function calculations in scientific computing. At present, the main hardware design schemes mainly include look-up table method, polynomial approximation method and CORDIC (COordinate RotationDIgital Computer, coordinate rotation digital computer) method; With the improvement of precision requirements, the hardware resource consumption of the look-up table method and the polynomial approximation method increases exponentially; the traditional CORDIC algorithm can calculate trigonometric functions by shifting and adding, but it will generate a huge calculation delay under high precision requirements. At present, the calculation preci...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F7/498G06F7/499G06F17/11
CPCG06F7/4981G06F7/4983G06F7/49905G06F17/11
Inventor 刘明周彦兵李永红王贝
Owner SHENZHEN INSTITUTE OF INFORMATION TECHNOLOGY