Embedded ip soft core based on plb bus for calculation of rotation angle and calculation method of rotation angle

A rotational angle, embedded technology, applied in computing, instrumentation, electrical digital data processing and other directions, can solve the problems of not being directly connected to the bus, occupying FPGA logic resources, lack of FPGA logic resources, etc., to improve portability, The effect of improving calculation accuracy and calculation accuracy

Active Publication Date: 2018-04-20
NO 771 INST OF NO 9 RES INST CHINA AEROSPACE SCI & TECH
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The main defect of this scheme is: the introduction of FPU will occupy a large amount of logic resources of FPGA, resulting in the lack of logic resources of FPGA
[0004] In the prior art disclosed above: the CORDIC algorithm structure mainly adopts a feedback structure or a pipeline structure, and there is also an improved "pseudo" pipeline structure that feeds back after pipeline; but in the application of embedded systems, the interface encapsulation form and processing The local PLB bus interface of the device is inconsistent and cannot be directly connected to the bus. The IP core for calculating the rotation angle based on the package form of the PLB bus peripheral interface is not yet available.

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
  • Embedded ip soft core based on plb bus for calculation of rotation angle and calculation method of rotation angle

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The content of the present invention will be described in detail below in conjunction with the drawings:

[0030] The invention uses the PLB bus-based embedded IP soft core for rotation angle calculation: the rotation angle calculation adopts a feedback pipeline structure, that is, a "true" pipeline structure that feedbacks first and then pipelines, and combines single-precision floating-point sine and cosine values. The value is converted into a single-precision floating-point angle value, and is connected to the on-chip processor through the on-chip bus PLB.

[0031] The specific functions of the PLB bus-based embedded IP soft core used for rotation angle calculation include: PLB bus access function, configurable number of iterations, rotation angle calculation function, and calculation result cache readback function.

[0032] The present invention is an embedded IP soft core based on PLB bus used for rotation angle calculation, mainly composed of 21 basic modules, specifica...

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 an embedded IP soft core based on a PLB bus and a calculation method for calculating a rotation angle. The calculation IP soft core includes a main control module, a PLB bus timing conversion module, a configuration register module, and a lookup table RAM module. , FIFO module, quadrant conversion module and several iterative modules; multiple iterative modules form a multi-stage pipeline structure, and the iterative module feeds back the output to the input to realize multiple iteration functions. The calculation of the rotation angle adopts a feedback pipeline structure, that is, feedback first and then pipeline The "true" pipeline structure converts the sine and cosine values ​​of single-precision floating-point type into single-precision floating-point angle values, and connects with the on-chip processor through the on-chip bus PLB bus, which is superior to " The "pure" feedback iterative structure and the "pseudo" pipeline structure with pipeline first and then feedback are superior to the "pure" pipeline structure in occupying resources, and are superior to traditional designs in terms of portability in embedded systems.

Description

Technical field [0001] The invention belongs to the field of accurate calculation of complex functions in embedded systems, relates to PLB bus and CORDIC algorithms, and specifically relates to a PLB bus-based embedded IP soft core and a rotation angle calculation method for rotation angle calculation. Background technique [0002] The CORDIC algorithm is a classic method to realize the calculation of complex functions. Its basic idea is to use look-up tables, shifts, addition / subtraction, and continuous approximation to achieve the calculation of trigonometric, hyperbolic, exponential, and logarithmic functions. At present, the rotation angle calculation (arctangent calculation) generally adopts a feedback structure or a pipeline structure to implement the CORDIC algorithm, and uses a fixed-point arithmetic unit to perform the addition / subtraction function in the algorithm. The main defect of this scheme is: insufficient accuracy of fixed-point operations. In order to solve the...

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 Patents(China)
IPC IPC(8): G06F7/548
Inventor 唐雷雷刘露唐金锋
Owner NO 771 INST OF NO 9 RES INST CHINA AEROSPACE SCI & TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products