A realization method of generating sine wave signal with dsp controller

A realization method, sine wave technology, applied in general control system, program control, control/adjustment system, etc., can solve problems such as excessive time occupied by DSP controller, decreased accuracy, and long calculation time, so as to reduce calculation time, The effect of reducing cumulative error and high precision

Active Publication Date: 2018-07-03
万合(洛阳)光电技术有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The accuracy of Taylor series calculation depends on the number of expansion items and the angle value θ corresponding to the point: the more the number of expansion items, the higher the accuracy, but the longer the calculation time, the more time it takes for the DSP controller; the smaller the angle value θ corresponding to the point , the higher the accuracy is, but the accuracy will inevitably decrease as the angle value θ corresponding to the point increases.

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
  • A realization method of generating sine wave signal with dsp controller
  • A realization method of generating sine wave signal with dsp controller
  • A realization method of generating sine wave signal with dsp controller

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] For further elaborating the technical means and effect that the present invention takes for reaching the intended invention purpose, below in conjunction with accompanying drawing and preferred embodiment, a kind of implementation method that generates sine wave signal with DSP controller that proposes according to the present invention, its Specific embodiments, structures, features and effects thereof are described in detail below.

[0038] A kind of realization method that generates sine wave signal with DSP controller of the present invention, combines figure 1 As shown, the hardware circuit structure includes: keyboard input circuit, DSP controller, DAC conversion circuit and UA operational amplifier; the principle adopted is projection theorem and polynomial approximation. Among them: the main purpose of the keyboard input circuit is to set the frequency and amplitude of the sine wave signal, as well as the sampling frequency. The DSP controller calculates the d...

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 an implementation method for generating sine wave signals through a DSP controller. The implementation method includes the steps that firstly, parameters are set, the number N of sampling points in one sine wave signal cycle and the angle value theta of each sampling point are calculated, and a quintic polynomial approaching a sine function is worked out according to the projection theorem method in the optimization theory; then, the numerical value f0 of discrete points of the sine wave signals is calculated in real time according to different intervals where the sampling points n are located; then, the calculated numerical value f0 of the discrete points of the sine wave signals is sent into a DAC conversion circuit through the DSP controller, and continuous sine wave current signals are generated; finally, the continuous sine wave current signals are converted into continuous sine wave voltage signals through a UA operational amplifier, and thus output of the sine wave signals is achieved. By means of the implementation method, accumulative errors caused by continuous recursive calculation are reduced, the calculation procedure is simplified, the calculation time of the DSP controller is shortened, occupied storage space in the DSP controller is small, cost is lowered, waveform approximation is achieved, and precision is high.

Description

technical field [0001] The invention belongs to the realization field of wave signals, in particular to a realization method for generating sine wave signals with a DSP controller. Background technique [0002] Sine wave signal generators have been widely used in signal processing systems in the fields of communication, instrumentation, and industrial control. There are many digital implementation methods for generating sine wave signals based on DSP controller, the difference mainly lies in the difference of generation algorithm and software. There are three commonly used methods: look-up table method, Taylor series expansion method and iteration method. [0003] The look-up table method is the most direct digital implementation method. The designer can pre-calculate all possible sine function values ​​according to the needs of the operation, and arrange these results into a data table. The function value of . The look-up table method is characterized by fast speed and e...

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): G06F1/02
CPCG01R1/28G05B19/0426
Inventor 姬宣德高海涛白旭灿李春娟王新新
Owner 万合(洛阳)光电技术有限公司
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