Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for generating cosine differential signal

A technology of signal generation and cosine difference, applied in electric pulse generator circuits, instruments, computer control, etc., can solve problems such as complex hardware circuits, low precision, and influence of output waveforms, and achieve high precision, convenient operation, and reliability high effect

Inactive Publication Date: 2013-05-01
ZHEJIANG LINIX MOTOR
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] At present, the existing method to generate cosine signal is built by analog circuit, the hardware circuit is complex, and the hardware circuit needs to be changed when changing the output waveform parameters, the output waveform is affected by the parameters of components, and the accuracy is not high

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
  • Method for generating cosine differential signal
  • Method for generating cosine differential signal
  • Method for generating cosine differential signal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0011] Below in conjunction with accompanying drawing, the present invention will be further described:

[0012] A cosine differential signal generation method, using a DSP digital signal processor to calculate the arccosine through C language programming; divide the domain value [-1, 1] into 10000 equal parts, that is, 10000 control pulses can be output in one cycle, Each equalization is converted into an IQ value, and the arccosine value is calculated according to the divided equalization value. The arccosine actually corresponds to the angle; the calculated IQ value is converted into a floating point number, and then the angle difference corresponding to each equalization is calculated, and each The equal angle difference is multiplied by a coefficient, and then converted into an integer value. The calculated value is stored as an array DATA[10000], and the array value is used as the basis for CPU timer calculation. In the program, the array value is stored in FLASH, waiting...

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 relates to a method for generating a cosine differential signal. The method comprises the steps of: calculating anticosine by using a DSP (digital signal processor), equally dividing a domain of definition [-1,1] into 10000 parts, namely, 10000 control pulses can be output within a period, converting each part into an IQ value, calculating an anticosine value according to the values of the equally divided values, wherein the anticosine value corresponds to an angle; converting the IQ values into a floating-point number, figuring out the angle difference of each part, multiplying the angle difference of each part by a coefficient, converting into an integer, storing the calculated value as an array DATA [10000], wherein the array value is used as the reference calculated by a CPU (Central Processing Unit) timer; enabling each value of the array to correspond to an actual pulse width, and interrupting the output through timing of a DSP timer to form a difference pulse signal capable of controlling the position of the motor. According to the method, the anticosine basic value is stored by adopting an array mode, and thus the operation time of the DSP is greatly reduced, and the output waveform is high in precision, stable, and high in reliability.

Description

technical field [0001] The invention relates to a method for generating a cosine differential signal. Background technique [0002] At present, the existing method to generate cosine signal is built by analog circuit, the hardware circuit is complicated, and the hardware circuit needs to be changed when changing the output waveform parameters, the output waveform is affected by the parameters of components, and the accuracy is not high. Contents of the invention [0003] In view of the problems existing in the prior art, the purpose of the present invention is to provide a technical solution for a method for generating a cosine differential signal. [0004] A kind of cosine differential signal generation method is characterized in that: Utilize DSP digital signal processor to calculate arccosine by C language programming; It can output 10,000 control pulses, each equal portion is converted into an IQ value, and the arccosine value is calculated according to the divided eq...

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
IPC IPC(8): H03K3/02G05B19/042
Inventor 李晓军
Owner ZHEJIANG LINIX MOTOR
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More