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

A method of generating carrier type spwm waveform based on digital processor

A digital processor and waveform generation technology, applied in the direction of electrical digital data processing, digital data processing components, instruments, etc., can solve the problems of high processor processing difficulty, large temperature influence, difficult adjustment of SPWM waveform amplitude and frequency, etc. , to achieve the effect of large market promotion prospects, low cost and accurate waveform

Active Publication Date: 2021-07-23
NO 43 INST OF CHINA ELECTRONICS TECH GRP CETC
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Realized by hardware, the amplitude and frequency of SPWM waveform are difficult to adjust, and are greatly affected by temperature; realized by modulating waveform software, the accuracy of generating SPWM waveform is affected by the fineness of the discrete table, and requires the processor to have Floating-point number storage and computing capabilities are difficult for processors to process, and this method does not take full advantage of the advantages of software-generated SPWM waveforms

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 method of generating carrier type spwm waveform based on digital processor
  • A method of generating carrier type spwm waveform based on digital processor
  • A method of generating carrier type spwm waveform based on digital processor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The present invention will be further described below in conjunction with accompanying drawing:

[0026] Such as Figure 1-3 As shown, the carrier-type SPWM waveform generation method based on the digital processor of the present embodiment is realized based on the digital processor, and the digital processor has a central symmetric counter / timer / PWM generator with a continuous increase and decrease counting mode, and its operating frequency for f p >>f c , the counting period is T p =1 / f p , the output high level duration is T δ , the carrier period is T c =1 / f c , the timing time in the current carrier period is t p ,when When the specified port outputs a logic high, otherwise it outputs a logic low. Normalize the time latitude. When the count value starts from 0, the count value in the current carrier cycle is c p ,when When the specified port outputs a logic high, otherwise it outputs a logic low. in are integers. Specific steps are as follows:

...

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 present invention relates to a carrier-type SPWM waveform generation method based on a digital processor, comprising the following steps: (1) determining the modulation wave frequency and carrier ratio, and calculating the carrier frequency; (2) calculating the output pulse of each carrier cycle in the modulation cycle Width, establish a pulse width table; (3) At the beginning of each modulation cycle, update the duty cycle of the counter / timer / PWM generator according to the corresponding value of the pulse width table; (4) Output center-symmetrical high and low voltages according to the duty cycle Ping to get SPWM wave. The present invention can make full use of the hardware resources of the processor and the characteristics of the regular sampling method, pre-calculate the pulse width table, and update the comparison value of the counter / timer / PWM generator before each carrier period, and has the advantages of fast speed and accurate waveform Advantages: According to the difference of carrier frequency and carrier ratio, the pulse width table that meets the requirements can be easily calculated by using the formula.

Description

technical field [0001] The invention relates to the technical field of SPWM waveform generation, in particular to a digital processor-based carrier-type SPWM waveform generation method. Background technique [0002] Usually the SPWM waveform is generated by comparing the modulation wave (usually a sine wave) with the carrier. For hardware implementation, the waveforms generated by the sine wave generator and triangular wave generator are generally compared with a comparator to obtain the SPWM waveform; for the modulation waveform software implementation, generally the waveform amplitudes of the sine wave and triangle wave within a modulation wave cycle are respectively established. Discrete table, and then simulate hardware SPWM wave generation method. [0003] Realized by hardware, the amplitude and frequency of SPWM waveform are difficult to adjust, and are greatly affected by temperature; realized by modulating waveform software, the accuracy of generating SPWM waveform ...

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/025
CPCG06F1/025
Inventor 王子元高群邵兵王朝庆
Owner NO 43 INST OF CHINA ELECTRONICS TECH GRP CETC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products