CN103178851A - Novel sampling method for generating SPWM (sinusoidal pulse width modulation) control signals - Google Patents
Novel sampling method for generating SPWM (sinusoidal pulse width modulation) control signals Download PDFInfo
- Publication number
- CN103178851A CN103178851A CN2013100825654A CN201310082565A CN103178851A CN 103178851 A CN103178851 A CN 103178851A CN 2013100825654 A CN2013100825654 A CN 2013100825654A CN 201310082565 A CN201310082565 A CN 201310082565A CN 103178851 A CN103178851 A CN 103178851A
- Authority
- CN
- China
- Prior art keywords
- sampling
- spwm
- wave
- sin
- value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Abstract
The invention discloses a novel sampling method for generating SPWM (sinusoidal pulse width modulation) control signals. The method includes: constructing virtual sampling points according to the linear combination mode in mathematics to reduce the number of sampling points in reality; getting an appropriate value of a natural intersection time of a carrier wave and a modulated wave by the linear extrapolation operation method to obtain higher pulse width control accuracy; and completing control on opening and closing of each power tube in a rectifier (inverter). The number of the sampling points in the sampling method is consistent with that in conventional symmetric regular sampling methods, but pulse width accuracy of the sampling method is higher than that of conventional regular sampling methods, variable-polarity regular sampling, two-point-type regular sampling, four-point-type regular sampling, linear combination sampling, linear extrapolation sampling and the like which are commonly used, and harmonic content of output voltage in the sampling method is small; on the basis of a DSP (digital signal processor), hardware designing is easy to program and good in man-machine interactivity, a program can be flexibly modified to meet requirements under various occasions, and the novel sampling method is mainly applied to rectifiers and inverters.
Description
Technical field
The present invention relates to a kind of field of power electronics, be specifically related to a kind of novel sampling method of the SPWM of generation control signal.
Background technology
In recent years, development along with microprocessor technology, computer technology and power electronic technology, based on digital signal processor (Digital Signal Processor, abbreviation DSP) pulse-width modulation (Pulse Width Modulation is called for short PWM) technology is widely applied among the systems such as three phase electric machine control, frequency converter, rectifier and inverter.In various PWM control modes, sinusoidal pulse width modulation (Sinusoidal PWM, be called for short SPWM) technology is simple because of its algorithm, be easy to that hardware is realized, harmonic content is less and can dynamically revise the advantages such as amplitude and frequency is widely used.
The basic modulation principle of SPWM modulation technique is the principle according to " when the equal and variform burst pulse of momentum is added on the link with inertia; its effect is basic identical ", make frequency converter produce a square-wave pulse sequence and sinusoidal wave equivalence that constant amplitude is not wide, by the amplitude that changes modulating wave and amplitude and the frequency that the frequency size is regulated frequency converter output voltage.So far, existing many forefathers are studied the SPWM waveform generator based on DSP, its common sampling type production method has: the Natural Sampling method, the symmetric regular-sampled method, the nonsymmetrical rule sampling method, the sampling of improvement type nonsymmetrical rule, peak value type rule sampling, first kind tangent sampling, Equations of The Second Kind tangent sampling, the 3rd class tangent sampling, secant sampling, Variable Polarity rule sampling, two point form rule sampling, four-point rule sampling, linear combination sampling and linear extrapolation sampling method etc.The most traditional sampling method has:
Natural Sampling method: the switching instant of determining switch by the intersection point of high frequency triangular carrier and sinusoidal modulation wave, it is the method for sampling of the at present best a kind of SPWM of generation ripple, but its sampled point and switching over point overlap, sampled point can not pre-determine, need the method Real-time solution transcendental equation by the numerical value iteration, be not easy to Digital Realization.
The symmetric regular-sampled method: sample at the trough moment of each carrier cycle offset of sinusoidal modulating wave, the sine wave and the triangular carrier that utilize sampled value to generate a notch cuttype intersect, and are determined the switching instant of switching point by intersection point.This method of sampling sampled point number is few, equals the value N of carrier wave ratio on numerical value, and algorithm is simple, but accuracy is not high.
The nonsymmetrical rule sampling method: crest and the constantly equal offset of sinusoidal modulating wave of trough at each carrier cycle are sampled, and the sine wave and the triangular carrier that utilize sampled value to generate a notch cuttype intersect, and are determined the switching instant of switching point by intersection point.This method of sampling sampled point number is 2*N, and algorithm is simple, and accuracy is higher than traditional symmetric regular-sampled.
Afterwards, forefathers had also proposed a lot of improved method of samplings, and the various method of samplings are more as shown in table 1 with respect to the switching time grade of errors of Natural Sampling method and sampled point number, and in table, the switching time error is less, and number of degrees is larger, supposes that carrier wave ratio is N.
The method of sampling | Grade of errors | The sampled point number | The method of sampling | Grade of errors | The sampled point number |
Symmetric regular-sampled | 2 | N | Half complete period rule sampling | 5 | 2N |
The |
1 | 2N | The linear extrapolation sampling method | 7 | 2N |
The asymmetric sampling of improvement type | 5 | 2N | The secant sampling method | 9 | 2N |
Peak value type rule sampling | 3 | N | The Variable Polarity rule sampling | 4 | N |
First kind tangent sampling | 8 | N | The two point form rule sampling | 5 | 2N |
The Equations of The Second Kind tangent sampling | 9 | N | The four-point rule sampling | 6 | 3N |
The linear combination sampling | 1 | N | Combination linear extrapolation sampling | 10 | N |
。
Summary of the invention
The object of the invention is to overcome the above problem that prior art exists, a kind of novel sampling method of the SPWM of generation control signal is provided, the present invention is easy to Digital Realization, saves the DSP hardware resource, and the pulse-triggered time error is little.
For realizing above-mentioned technical purpose, reach above-mentioned technique effect, the present invention is achieved through the following technical solutions:
A kind of novel sampling method that produces the SPWM control signal comprises the following steps:
Step 1) detects input signal, inputs by the outside and obtains frequency of modulated wave f
s, modulation degree m
a, carrier wave ratio N and the time t that dies
sParameter, and accumulative total is preserved value sin (the ω t of adjacent two " carrier wave peak value sampling points "
a) and sin (ω t
b);
Step 2) according to adjacent two sampled value sin (ω t of step 1 gained
a) and sin (ω t
b), by the linear combination method of mathematics, construct value sin (the ω t of virtual " carrier wave valley sampled point "
c), sin (ω t
c)=Asin (ω t
a)+Bsin (ω t
b), t
b=t
c+ T
c/ 2=t
a+ T
c, T
cFor the carrier cycle time value, solve A=B=
, and use this three " sampled point " to calculate to send as an envoy to the register comparison value of DSP output SPWM waveform, and form the high-low level jumping moment table in one and half modulating wave cycles, be kept in the internal memory of DSP;
Step 3) produces three-phase symmetrical SPWM ripple, uses the high-low level jumping moment table in resulting half modulating wave cycle of step 2, according to the symmetry of sinusoidal modulation wave and the phase difference character of three-phase symmetrical sine wave, produces the SPWM control signal waveform of three-phase symmetrical.
Further, in described step 1), sample range is the positive half cycle in each modulating wave cycle.
Further, in described step 3) phase difference be 360 ° divided by the way of SPWM ripple.
The invention has the beneficial effects as follows:
1, take full advantage of the advantage of DSP fast operation, reduced the A/D sampling work of low speed, improved the real-time of system;
2, derive the formula of compute switch moment point, simplified writing of program, be easier to this new method Digital Realization;
3, to compare the output waveform harmonic wave little with other common method of samplings, and hree-phase symmetry is good, and precision is high, and frequency conversion is convenient.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, for can clearer understanding technological means of the present invention, and can be implemented according to the content of specification, below with preferred embodiment of the present invention and coordinate accompanying drawing to be described in detail as follows.The specific embodiment of the present invention is provided in detail by following examples and accompanying drawing thereof.
Description of drawings
Accompanying drawing described herein is used to provide a further understanding of the present invention, consists of the application's a part, and illustrative examples of the present invention and explanation thereof are used for explaining the present invention, do not consist of improper restriction of the present invention.In the accompanying drawings:
Fig. 1 is combination linear extrapolation sampling method schematic diagram of the present invention.
Embodiment
Below with reference to the accompanying drawings and in conjunction with the embodiments, describe the present invention in detail.
With reference to shown in Figure 1, a kind of novel sampling method that produces the SPWM control signal comprises the following steps:
Step 1) detects input signal, inputs by the outside and obtains frequency of modulated wave f
s, modulation degree m
a, carrier wave ratio N and the time t that dies
sParameter, and accumulative total is preserved value sin (the ω t of adjacent two " carrier wave peak value sampling points "
a) and sin (ω t
b);
Step 2) according to adjacent two sampled value sin (ω t of step 1 gained
a) and sin (ω t
b), by the linear combination method of mathematics, construct value sin (the ω t of virtual " carrier wave valley sampled point "
c), sin (ω t
c)=Asin (ω t
a)+Bsin (ω t
b), t
b=t
c+ T
c/ 2=t
a+ T
c, T
cFor the carrier cycle time value, solve A=B=
, and use this three " sampled point " to calculate to send as an envoy to the register comparison value of DSP output SPWM waveform, and form the high-low level jumping moment table in one and half modulating wave cycles, be kept in the internal memory of DSP;
Step 3) produces three-phase symmetrical SPWM ripple, uses the high-low level jumping moment table in resulting half modulating wave cycle of step 2, according to the symmetry of sinusoidal modulation wave and the phase difference character of three-phase symmetrical sine wave, produces the SPWM control signal waveform of three-phase symmetrical.
Further, in described step 1), sample range is the positive half cycle in each modulating wave cycle.
Further, in described step 3) phase difference be 360 ° divided by the way of SPWM ripple.
The operation principle of the present embodiment is as follows:
1) use the principle of mathematics Linear combination to utilize the sampling point value of crest (or trough) to construct the sampling point value of virtual trough (or crest): to be located at K that carrier cycle is Ts and K+1 triangular carrier in the cycle, the peak point of carrier wave Ta, Tb offset of sinusoidal modulating wave is constantly sampled, and sampled point is some A and some B; Algebraic relation formula between the virtual sampled point C of structure valley point moment Tc and some A, some B:
sin(ω·t
c)=A·sin(ω·t
a)+B·sin(ω·t
b) (1)
In following formula, A, B are coefficient undetermined, known T
S=
And T
b=T
c+ T
S/ 2=T
S+ T
a, N is the value of carrier wave ratio.Substitution (1) formula solves:
Generally, when carrier wave ratio N value is larger, π<<N, COS (therefore there is A=B=0.5 π/N) → 1, and substitution (1) formula gets:
sin(ω·T
c)=[sin(ω·T
a)+sin(ω·T
b)]/2 (3)
Equivalent error to this numerical value convergence is analyzed, when N 〉=12, | (
-
) |/
≤ 3.5276%, therefore, when carrier wave ratio N value is enough large, the virtual sampled value of valley point of being calculated gained by (3) formula just can be equivalent to the sampled value of actual valley point fully, saved the actual samples step to valley point, thereby made the number of times of sampling reduce fully half, save CPU operation time, improved the real-time of system.
2) as shown in Figure 1, adopt the operation method of linear extrapolation to ask for carrier wave and modulating wave nature intersection point approximation constantly: to be located at K-1, K that carrier cycle is Ts and K+1 triangular carrier in the cycle, the peak point of carrier wave moment T
K-1, T
KAnd T
K+1The offset of sinusoidal modulating wave is sampled, and sampled point is A
K-1, A
KAnd A
K+1(value of sampled point also correspondence is expressed as A
K-1, A
KAnd A
K+1), use the principles of construction of above-mentioned linear combination to go out T
K-1-BAnd T
K+1-BValley point sampled point B constantly
K-1And B
K(value of sampled point also correspondence is expressed as B
K-1And B
K, T wherein
K-1<T
K-1-B<T
K<T
K+1-B<T
K+1), B
K-1A
KExtended line must be with triangular carrier compared to point (T
K-on, SK-on), this point is just as the moment point of switching device conducting; And B
KA
KExtended line must be with triangular carrier compared to point (T
K-off, SK-off), the moment point that this point just turn-offs as switching device; So analogize, can determine that the rule that the switching device conducting turn-offs is as follows: the conducting that the reverse extending line of each crest sampled point and its previous " virtual trough sampled point " and the intersection point of triangular carrier are determined switching device is determined shutoff moment of switching device with the intersection point of the reverse extending line of thereafter " virtual trough sampled point " and triangular carrier constantly.Set up coordinate system, row write that math equation can separate:
(4) this equation formula need to make the front type into, can not be placed on this with the pattern of similar picture illustration, and revise in other places.
Utilize the overflow of DSP to interrupt, can determine and identify T
KAnd T
K+1Constantly, so the switch on and off of each carrier cycle moment T
K-onAnd T
K+1-offCan determine one by one and produce corresponding SPWM control waveform.
The above is only the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.
Claims (3)
1. novel sampling method that produces the SPWM control signal is characterized in that: comprise the following steps:
Step 1) detects input signal, inputs by the outside and obtains frequency of modulated wave f
s, modulation degree m
a, carrier wave ratio N and the time t that dies
sParameter, and accumulative total is preserved value sin (the ω t of adjacent two " carrier wave peak value sampling points "
a) and sin (ω t
b);
Step 2) according to adjacent two sampled value sin (ω t of step 1 gained
a) and sin (ω t
b), by the linear combination method of mathematics, construct value sin (the ω t of virtual " carrier wave valley sampled point "
c), sin (ω t
c)=Asin (ω t
a)+Bsin (ω t
b), t
b=t
c+ T
c/ 2=t
a+ T
c, T
cFor the carrier cycle time value, solve A=B=
, and use this three " sampled point " to calculate to send as an envoy to the register comparison value of DSP output SPWM waveform, and form the high-low level jumping moment table in one and half modulating wave cycles, be kept in the internal memory of DSP;
Step 3) produces three-phase symmetrical SPWM ripple, uses the high-low level jumping moment table in resulting half modulating wave cycle of step 2, according to the symmetry of sinusoidal modulation wave and the phase difference character of three-phase symmetrical sine wave, produces the SPWM control signal waveform of three-phase symmetrical.
2. a kind of novel sampling method that produces the SPWM control signal according to claim 1 is characterized in that: in described step 1), sample range is the positive half cycle in each modulating wave cycle.
3. a kind of novel sampling method that produces the SPWM control signal according to claim 1 is characterized in that: in described step 3) phase difference be 360 ° divided by the way of SPWM ripple.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310082565.4A CN103178851B (en) | 2013-03-15 | 2013-03-15 | A kind of novel sampling method producing SPWM control signal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310082565.4A CN103178851B (en) | 2013-03-15 | 2013-03-15 | A kind of novel sampling method producing SPWM control signal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103178851A true CN103178851A (en) | 2013-06-26 |
CN103178851B CN103178851B (en) | 2016-04-27 |
Family
ID=48638500
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310082565.4A Expired - Fee Related CN103178851B (en) | 2013-03-15 | 2013-03-15 | A kind of novel sampling method producing SPWM control signal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103178851B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104124858A (en) * | 2014-05-29 | 2014-10-29 | 浙江大学 | Sine pulse width modulation PWM (pulse-width modulator) logic competition inhibiting method |
CN104298107A (en) * | 2014-08-26 | 2015-01-21 | 苏州科技学院 | Combined local frequency multiplication sampling algorithm for generating SPWM waves |
CN104375003A (en) * | 2014-11-10 | 2015-02-25 | 千江(上海)信息科技有限公司 | Method for lifting sampling points in zero voltage reduction device |
CN106208784A (en) * | 2016-07-26 | 2016-12-07 | 中国科学院等离子体物理研究所 | A kind of converter controls the control method of operating lag |
CN108022421A (en) * | 2016-10-31 | 2018-05-11 | 三星电机株式会社 | Wireless power transmitter and the method for the sampling for controlling wireless power transmitter |
CN109818512A (en) * | 2019-03-08 | 2019-05-28 | 四川大学 | A kind of single-phase cascaded H-bridges Multilevel Inverters multiple sampling methods |
CN113258909A (en) * | 2021-05-25 | 2021-08-13 | 福州大学 | Sine pulse width modulation method based on average value of sampling values |
CN114257102A (en) * | 2020-09-24 | 2022-03-29 | 苏州爱科赛博电源技术有限责任公司 | Double-sampling single-refreshing method based on three-phase two-level topological structure |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1376877A1 (en) * | 2002-06-27 | 2004-01-02 | Pioneer Corporation | Pulse width modulator and pulse width modulation method |
CN101478254A (en) * | 2009-01-12 | 2009-07-08 | 广东易事特电源股份有限公司 | Three-level SPWM waveform generation method based on DSP |
-
2013
- 2013-03-15 CN CN201310082565.4A patent/CN103178851B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1376877A1 (en) * | 2002-06-27 | 2004-01-02 | Pioneer Corporation | Pulse width modulator and pulse width modulation method |
CN101478254A (en) * | 2009-01-12 | 2009-07-08 | 广东易事特电源股份有限公司 | Three-level SPWM waveform generation method based on DSP |
Non-Patent Citations (3)
Title |
---|
张志学,马皓,何湘宁: "新型正弦脉宽调制采样方法的研究", 《浙江大学学报》 * |
李扶中,熊蕊: "一种新型的不对称规则SPWM采样法", 《电力电子技术》 * |
陈明星,时斌,陈益果: "基于DSP的新型SPWM采样方法", 《电子自动化》 * |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104124858A (en) * | 2014-05-29 | 2014-10-29 | 浙江大学 | Sine pulse width modulation PWM (pulse-width modulator) logic competition inhibiting method |
CN104124858B (en) * | 2014-05-29 | 2017-01-04 | 浙江大学 | A kind of suppressing method of Sinusoidal Pulse Width Modulation PWM logic competition |
CN104298107A (en) * | 2014-08-26 | 2015-01-21 | 苏州科技学院 | Combined local frequency multiplication sampling algorithm for generating SPWM waves |
CN104298107B (en) * | 2014-08-26 | 2017-02-15 | 苏州科技学院 | Combined local frequency multiplication sampling algorithm for generating SPWM waves |
CN104375003B (en) * | 2014-11-10 | 2017-06-06 | 千江(上海)信息科技有限公司 | The method that sampled point is lifted in zero pressure drop equipment |
CN104375003A (en) * | 2014-11-10 | 2015-02-25 | 千江(上海)信息科技有限公司 | Method for lifting sampling points in zero voltage reduction device |
CN106208784A (en) * | 2016-07-26 | 2016-12-07 | 中国科学院等离子体物理研究所 | A kind of converter controls the control method of operating lag |
CN108022421A (en) * | 2016-10-31 | 2018-05-11 | 三星电机株式会社 | Wireless power transmitter and the method for the sampling for controlling wireless power transmitter |
CN109818512A (en) * | 2019-03-08 | 2019-05-28 | 四川大学 | A kind of single-phase cascaded H-bridges Multilevel Inverters multiple sampling methods |
CN109818512B (en) * | 2019-03-08 | 2020-10-30 | 四川大学 | Multi-sampling method for single-phase cascaded H-bridge multi-level converter |
CN114257102A (en) * | 2020-09-24 | 2022-03-29 | 苏州爱科赛博电源技术有限责任公司 | Double-sampling single-refreshing method based on three-phase two-level topological structure |
CN114257102B (en) * | 2020-09-24 | 2023-07-18 | 苏州爱科赛博电源技术有限责任公司 | Double-sampling single-refreshing method based on three-phase two-level topological structure |
CN113258909A (en) * | 2021-05-25 | 2021-08-13 | 福州大学 | Sine pulse width modulation method based on average value of sampling values |
Also Published As
Publication number | Publication date |
---|---|
CN103178851B (en) | 2016-04-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103178851B (en) | A kind of novel sampling method producing SPWM control signal | |
CN101174811B (en) | Electric motor control method and device adopting space vector pulse width modulation | |
Dinavahi et al. | Real-time digital simulation of power electronic apparatus interfaced with digital controllers | |
CN104052320B (en) | PWM method and device | |
CN103967794A (en) | Vibration compensation method for single-rotor compressor and controller | |
CN103401243B (en) | A kind of harmonic detecting and control method of specifying subharmonic compensation APF | |
CN101577422A (en) | Dynamic phasor modeling method for current converter of high-voltage direct-current transmission system | |
CN104283219B (en) | High frequency residual voltage injects chain type STATCOM voltage pulsation inhibition method | |
CN101509945A (en) | Real-time detection method for positive and negative sequence electricity quantity | |
CN102158167A (en) | Voltage space vector modulation method | |
CN101505112A (en) | A SPWM pulse rotation control method for cascade middle point clamping multi-level inverter | |
CN103490659A (en) | PWM overmodulation method based on optimized quasi sine flat modulating wave | |
CN103516279A (en) | Permanent magnet synchronous motor control chip based on FPGA | |
CN104298107A (en) | Combined local frequency multiplication sampling algorithm for generating SPWM waves | |
CN105006980B (en) | The three level NPC current transformer PWM control strategies overlapped based on carrier wave | |
CN104502674B (en) | A kind of three-phase voltage RMS to DC method and detection means | |
CN101599738B (en) | Method for determining duty ratio of universal pulse width controlled by three-phase AD motor PWM | |
CN103746677B (en) | A kind of SVPWM implementation method | |
CN109901382A (en) | A kind of rule sampling PWM optimization method of numerical control system | |
CN103713878B (en) | A kind of method that sine and cosine cordic algorithm applying complement method realizes at FPGA | |
CN106155177A (en) | The method realizing SPWM waveform based on digital processing unit | |
CN102255541B (en) | Single-phase inverter capable of performing instantaneous control under dq coordinate system and control method | |
CN106549592A (en) | A kind of asymmetric three-level inverter modulator approach of DC voltage | |
CN103746560B (en) | Control circuit of phase-shifted full-bridge DC/DC converter | |
CN104092394B (en) | Staircase waveform multi-level converter particular harmonic eliminates the method for solving of switch angle |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20160427 Termination date: 20170315 |