CN107835001A - Processing method, system, signal processing apparatus and the medium of pulse width modulation wave - Google Patents
Processing method, system, signal processing apparatus and the medium of pulse width modulation wave Download PDFInfo
- Publication number
- CN107835001A CN107835001A CN201711027701.4A CN201711027701A CN107835001A CN 107835001 A CN107835001 A CN 107835001A CN 201711027701 A CN201711027701 A CN 201711027701A CN 107835001 A CN107835001 A CN 107835001A
- Authority
- CN
- China
- Prior art keywords
- pwm signal
- pwm
- cycle
- pulse width
- signal
- 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.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 22
- 238000012545 processing Methods 0.000 title claims abstract description 21
- 238000004590 computer program Methods 0.000 claims description 7
- 238000012423 maintenance Methods 0.000 claims description 6
- 230000005055 memory storage Effects 0.000 claims description 3
- 230000015572 biosynthetic process Effects 0.000 claims description 2
- 238000003786 synthesis reaction Methods 0.000 claims description 2
- 230000004044 response Effects 0.000 abstract description 12
- 238000000034 method Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 6
- 230000000694 effects Effects 0.000 description 5
- 238000004364 calculation method Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000009885 systemic effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- -1 periodO Chemical class 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000012797 qualification Methods 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K7/00—Modulating pulses with a continuously-variable modulating signal
- H03K7/08—Duration or width modulation ; Duty cycle modulation
Landscapes
- Dc-Dc Converters (AREA)
- Inverter Devices (AREA)
Abstract
The processing method of pulse width modulation wave provided by the invention,System,Signal processing apparatus and medium,The dominant frequency that worked according to needed for the microprocessor system of generation pwm signal and signal resolution calculate the cycle of theoretical pwm signal,And the dutycycle of pwm signal is calculated according to the full amplitude voltage of required output voltage and pwm signal,And then calculate the pulse width time of theoretical pwm signal and calculate corresponding count,Then the cycle is divided into multiple minor cycles,Adjust the pulse width time of pwm signal after each minor cycle correspondence adjusts,Respectively less than the pulse width time summation of pwm signal is identical with the pulsewidth of theoretical pwm signal after the maximum exportable high level time of timer or PWM controller and each adjustment,So as to make count and it is also identical with all recovered normal,Pwm signal after the adjustment of the minor cycle of continuous output respective numbers,To substitute the theoretical pwm signal,Both the resolution ratio for having improved system also improves the response time.
Description
Technical field
The present invention relates to signal processing technology field, more particularly to the processing method, system, letter of pulse width modulation wave
Number processing unit and medium.
Background technology
Pulse width modulation (PWM) is a kind of to the digitally coded method of analog signal level progress, usually using micro-
The timer of processor (MPU) or PWM controller produce stable low and high level pulse, pass through the dutycycle of modulated square wave
To be encoded to the level of a physical simulation signal.Pwm signal is still numeral, because at given any moment,
Or the direct current supply of full amplitude has (ON) completely, or entirely without (OFF).
Equivalent output voltage V in one PWM wave periodOFor:
Wherein, tHFor the pulse width time of PWM ripples, T is the cycle of PWM ripples, and V is the full amplitude voltage of PWM ripples, and α is PWM ripples
Dutycycle.
And have:
tH=NH·tLSB
Wherein, NHFor the timer count value or PWM controller count value required in a pulsewidth, tLSBFor a meter
The cycle of numerical value (LSB).
By hardware filtering circuit, the pwm signal of numeral can be converted to analog signal.Whole transfer process, that is, filter
Ripple device receives PWM ripples and is input to the final stabilization of wave filter output, it is necessary to continue the regular hour, when this time is referred to as to respond
Between.Response time TRespAccording to hardware filter species or the difference of pulse width time, usually the 30~50 of a PWM cycle T times left side
The right side, i.e.,:
TResp=nT, (n ≈ 30~50)
PWM resolution ratio refers to the adjustable series of the dutycycle of PWM ripples, is by single-chip microcomputer timer or PWM controller
Digit determines.For example timer or PWM controller are 8, then maximum adjustable series is 256, i.e., resolution ratio is 256.
Part MCU timer or the digit of PWM controller can reach 16.But in some systems, probably due to MCU in itself
Limitation so that resolution ratio can not reach the demand of system, and in accurate digital control system, resolution requirement reaches 18, and MCU is only
16 can be provided.
The cycle T of PWM ripples is directly proportional to PWM resolution ratio R, and with MPU dominant frequency fMPUIt is inversely proportional, there is one between three
Fixed proportionality coefficient λ, then have:
(λ is constant)
For example, in C51 SCM system, proportionality coefficient λ is 12, MPU dominant frequency fMPUFor 5MHz, it is desirable to point
Resolution R is 10000, then PWM cycle is:
The then output response time T of the PWMRespAt least:
TResp=nT=30 × 24=720ms
In some industrial applications, there are many situations to be related to accurate output control, and quick response, this is required
PWM cycle is short, and high resolution, the most frequently used method, is to improve MCU dominant frequency, but high primary frequency is intended to solve circuit
Cost increase, Radio frequency interference is serious, many difficult points such as MCU power consumptions increase, and this is difficult to accomplish to balance in commercial Application.
The content of the invention
In view of the above the shortcomings that prior art, it is an object of the invention to provide the processing side of pulse width modulation wave
Method, system, signal processing apparatus and medium, solve the problems of the prior art.
In order to achieve the above objects and other related objects, the present invention provides a kind of processing method of pulse width modulation wave,
Including:According to for the dominant frequency f that works needed for generating the microprocessor system of pwm signalMPUAnd signal resolution R, computational theory
The cycle T of pwm signal;According to the duty cycle alpha of required output voltage and the full amplitude voltage calculating pwm signal of pwm signal, and according to
Duty cycle alpha and the cycle T calculate pulse width time tH=α T;According to the pulse width time tHCalculate and maintain needed for high level
The timer count or PWM controller for the microprocessor system wanted count NH=tH/tLSB, wherein, tLSBFor the week of a count value
Phase;Default PWM signal period T is adjusted to T/k minor cycle, the minor cycle be less than microprocessor system timer or
The maximum exportable high level time of PWM controller, wherein k are >=2 integer;The k minor cycle of adjustment need to export each respectively
The pulse width time of pwm signal after individual adjustment, with make k adjustment after pwm signal pulse width time and equal to tHEven k adjustment
The dutycycle sum of pwm signal is α afterwards1+α2+…+αk=k α, the counting of timer or PWM controller is also made to need to meetWherein, αkThe dutycycle of pwm signal after being adjusted for k-th,After k-th of adjustment
The timer count or PWM controller of microprocessor system required for the maintenance high level of pwm signal count;Continuous output k
Pwm signal is to substitute the theoretical pwm signal after the adjustment of individual minor cycle.
In one embodiment of the invention, the fMPUIt is a kind of factor in performance, cost and circuit module power consumption
Or many factors synthesis determination.
In one embodiment of the invention, the work dominant frequency f of microprocessor system needed for the basisMPUAnd required PWM points
Resolution R, calculating the cycle of theoretical pwm signal includes:According to formulaCalculate, λ is constant.
In one embodiment of the invention, output voltage needed for the basis and the full amplitude voltage of pwm signal calculate PWM letters
Number duty cycle alpha, including:α=VO/V;VOFor output voltage, V is the full amplitude voltage of pwm signal.
In one embodiment of the invention, k is even number.
In order to achieve the above objects and other related objects, the present invention provides a kind of processing system of pulse width modulation wave,
Including:Computation of Period module, for according to for generating the dominant frequency f that worked needed for the microprocessor system of pwm signalMPUAnd signal
Resolution ratio R, calculate the cycle T of theoretical pwm signal;Pulsewidth computing module, for the output voltage needed for and the full width of pwm signal
Threshold voltage calculates the duty cycle alpha of pwm signal, and calculates pulse width time t according to duty cycle alpha and the cycle TH=α T;Count
Computing module, for according to the pulse width time tHCalculate maintain high level required for microprocessor system timer meter
Number or PWM controller count NH=tH/tLSB, wherein, tLSBFor the cycle of a count value;Period modulation module, for that will preset
PWM signal period T is adjusted to T/k minor cycle, and the minor cycle is less than the timer or PWM controller of microprocessor system
Maximum exportable high level time, wherein k are >=2 integer;Pulse-width adjustment module, needed for adjusting k minor cycle respectively
Output each adjustment after pwm signal pulse width time, with make k adjust after pwm signal pulse width time and equal to tHEven
The dutycycle sum of pwm signal is α after k adjustment1+α2+…+αk=k α, the counting of timer or PWM controller is also made to need
MeetWherein, αkThe dutycycle of pwm signal after being adjusted for k-th,For k-th of tune
The timer count or PWM controller of microprocessor system after whole required for the maintenance high level of pwm signal count;Signal is defeated
Go out module, pwm signal is to substitute the theoretical pwm signal after the adjustment for continuously exporting k minor cycle.
In one embodiment of the invention, output voltage needed for the basis and the full amplitude voltage of pwm signal calculate PWM letters
Number duty cycle alpha, including:α=VO/V;VOFor output voltage, V is the full amplitude voltage of pwm signal.
In one embodiment of the invention, k is even number.
In order to achieve the above objects and other related objects, the present invention provides a kind of signal processing apparatus, including:Processor,
And memory;The memory, for storing computer program;The processor, based on performing the memory storage
Calculation machine program, so that the signal processing apparatus performs the processing method of described pulse width modulation wave.
In order to achieve the above objects and other related objects, the present invention provides a kind of computer-readable recording medium, deposits thereon
Computer program is contained, the processing method of described pulse width modulation wave is realized when the program is executed by processor.
As described above, the processing method of pulse width modulation wave provided by the invention, system, signal processing apparatus and Jie
Matter, the dominant frequency that worked according to needed for the microprocessor system of generation pwm signal and signal resolution calculate the week of theoretical pwm signal
Phase, and the dutycycle of pwm signal is calculated according to the full amplitude voltage of required output voltage and pwm signal, and then calculate theoretical PWM
The pulse width time of signal simultaneously calculates corresponding counting, is then divided into multiple minor cycles the cycle, adjusts each minor cycle
The pulse width time of pwm signal after corresponding adjustment, the respectively less than maximum exportable high level time of timer or PWM controller and each
The pulse width time summation of pwm signal is identical with the pulsewidth of theoretical pwm signal after adjustment, so as to make count and also with all recovered normal phase
Together, pwm signal after the adjustment of the minor cycle of continuous output respective numbers, to substitute the theoretical pwm signal, both improves system
Resolution ratio also improve the response time.
Brief description of the drawings
Fig. 1 is shown as the schematic flow sheet of the processing method of pulse width modulation wave in one embodiment of the invention.
Fig. 2 is shown as the time diagram in processing method adjustment pwm signal cycle in one embodiment of the invention.
Fig. 3 is shown as the improved pwm signal waveform of processing method in one embodiment of the invention and former pwm signal waveform comparison
Time diagram.
Fig. 4 is shown as the module diagram of the processing system of pulse width modulation wave in one embodiment of the invention.
Component label instructions
41 computation of Period modules
42 pulsewidth computing modules
43 count computing module
44 period modulation modules
45 pulse-width adjustment modules
46 signal output modules
S1~S6 method and steps
Embodiment
Embodiments of the present invention are illustrated by particular specific embodiment below, those skilled in the art can be by this explanation
Content disclosed by book understands other advantages and effect of the present invention easily.
Fig. 1 is referred to Fig. 4.It should be clear that structure, ratio, size depicted in this specification institute accompanying drawings etc., only to
Coordinate the content disclosed in specification, so that those skilled in the art understands and reads, being not limited to the present invention can be real
The qualifications applied, therefore do not have technical essential meaning, the tune of the modification of any structure, the change of proportionate relationship or size
It is whole, in the case where not influenceing the effect of present invention can be generated and the purpose that can reach, all should still fall in disclosed skill
Art content is obtained in the range of covering.Meanwhile in this specification it is cited as " on ", " under ", "left", "right", " centre " and
The term of " one " etc., understanding for narration is merely convenient to, and is not used to limit the enforceable scope of the present invention, its relativeness
It is altered or modified, in the case where changing technology contents without essence, when being also considered as the enforceable category of the present invention.
Referring to Fig. 1, the processing method of the pulse width modulation wave provided in the displaying embodiment of the present invention, it includes:
Step S1:According to for the dominant frequency f that works needed for generating the microprocessor system of pwm signalMPUAnd signal resolution R,
Calculate the cycle T of theoretical pwm signal.
In the present embodiment, pwm signal is generated using microprocessor system, wherein, fMPUI.e. described microprocessor system
In Micro-processor MCV work dominant frequency, the calculation formula of the cycle T is:
λ is constant.
Should be noted makes, the fMPUIt can be a kind of factor or a variety of in performance, cost and circuit module power consumption
What combined factors determined
Step S2:According to the duty cycle alpha of required output voltage and the full amplitude voltage calculating pwm signal of pwm signal, and according to
Duty cycle alpha and the cycle T calculate pulse width time tH=α T.
In the present embodiment, the calculation formula of the dutycycle is α=VO/ V, wherein, VOFor required output voltage, V is
The full amplitude voltage of pwm signal.
And then according to formula tH=α T=VO/ VT, pulse width time t can be calculatedH。
Step S3:According to the pulse width time tHCalculate maintain high level required for microprocessor system timer
Count or PWM controller counts NH=tH/tLSB, wherein, tLSBFor the cycle of a count value.
Step S4:Default PWM signal period T is adjusted to T/k minor cycle, the minor cycle is less than microprocessor system
The maximum exportable high level time of the timer or PWM controller of system, wherein k are >=2 integer.
Specifically, a cycle of original pwm signal being namely cut into multiple minor cycles, it is preferred that k is even number,
But even number is not limited to, more intuitively, may be referred to the comparison timing diagram shown in Fig. 2.
Step S5:The pulse width time of pwm signal after each adjustment that the k minor cycle of adjustment need to export respectively, to make k tune
It is whole after pwm signal pulse width time and equal to tHEven the dutycycle sum of pwm signal is α after k adjustment1+α2+…+αk=
K α, the counting of timer or PWM controller is also made to need to meetWherein, αkFor k-th
The dutycycle of pwm signal after adjustment,For the microprocessor system required for the maintenance high level of pwm signal after k-th of adjustment
Timer count or PWM controller count.
That is, adjust pwm signal after the adjustment in k minor cycle so that:
As can be seen that the duty cycle sequence in k minor cycle needs to meet:
α1+α2+…+αk=k α
Namely the counting of timer or PWM controller needs to meet:
So, by the PWM high level count values of each separately adjustable minor cycle, PWM resolution ratio can be improved to k
Times, realize higher PWM resolution ratio.
In order to ensure the quality of analog signal output,It need to ensure as far as possible averagely, therefore it is distributed
Principle can be, but not limited to be to divide equally.
Step S6:Continuously after the adjustment of k minor cycle of output pwm signal to substitute the theoretical pwm signal.
In one embodiment of the invention, the hardware filter that the pwm signal cycle is T/k can be applied to by designing,
Pwm signal after continuous k adjustment of circulation output;By reasonably distributing the PWM high level count values in k minor cycle, pass through
The effect of wave filter, the response time of wave filter are still approximately equal to nT/k, that is to say, that in the case of an increasing resolution can also
Maintain or reduce the response time.
According to the principle of Fig. 1 embodiment, as one example to illustrate the present invention the effect of:
Assuming that it is R=10000 that a system, which needs systemic resolution, output duty cycle is α=5001/10000, and system is selected
MPU may be, for example, C51 single-chip microcomputers, and the digit of timer is 13.It is hereby achieved that according to conventional scheme, the single-chip microcomputer
Resolution ratio be R=213=8192, it is impossible to meet 10000 resolution ratio of system requirements.
Method according to the present invention is improved:
It is T=24ms, N that can calculate former PWM cycle according to step S1~S3H=5001;
New PWM cycle is calculated according to step S4, takes k=4 here, then new PWM cycle is 6ms;
According to step S5:Design adjustment timer count valueThe present embodiment uses average mark
With method, i.e. N=5001 ÷ 4=1250 more than 1, then have:
The hardware filter that PWM cycle is 6ms is applied to according to step S6 designs, continuous circulation exports above-mentioned 4 PWM ripples
Shape.Response time is about 180ms.
Fig. 3 is specifically referred to, more intuitively understands difference of the Curve guide impeller of the present invention with former design on timing diagram.
Beneficial effect after improving in the method has:(1) resolution ratio of system is improved:By systemic resolution by original
The resolution ratio 8192 that MCU is supported is improved to 10000;(2) response time is improved:By the response time 720ms of former method, carry
The up to 180ms of new method, response time improve 4 times.
As shown in figure 4, the module diagram of the processing system of the pulse width modulation wave in the embodiment of the present invention is shown, by
Technical characteristic in Fig. 1 embodiments of the method can apply in the present embodiment, thus identical ins and outs be not repeated it is superfluous
State.The system includes:Computation of Period module 41, for being worked according to for generating needed for the microprocessor system of pwm signal
Dominant frequency fMPUAnd signal resolution R, calculate the cycle T of theoretical pwm signal;Pulsewidth computing module 42, for exporting electricity needed for
When pressing and the full amplitude voltage of pwm signal calculate the duty cycle alpha of pwm signal, and pulsewidth is calculated according to duty cycle alpha and the cycle T
Between tH=α T;Computing module 43 is counted, for according to the pulse width time tHCalculate the microprocessor required for maintenance high level
The timer count or PWM controller of device system count NH=tH/tLSB, wherein, tLSBFor the cycle of a count value;Cycle adjusts
Mould preparation block 44, for default PWM signal period T to be adjusted to T/k minor cycle, the minor cycle is less than microprocessor system
Timer or the maximum exportable high level time of PWM controller, wherein k be >=2 integer;Pulse-width adjustment module 45, use
The pulse width time of pwm signal after each adjustment that need to export of k minor cycle is adjusted respectively, to make pwm signal after k adjusts
Pulse width time and equal to tHEven the dutycycle sum of pwm signal is α after k adjustment1+α2+…+αk=k α, also order timing
The counting of device or PWM controller needs to meetWherein, αkFor pwm signal after k-th of adjustment
Dutycycle,For k-th adjustment after pwm signal maintain high level required for microprocessor system timer count or
PWM controller counts;Signal output module 46, pwm signal is to substitute the reason after the adjustment for continuously exporting k minor cycle
By pwm signal.
In one embodiment of the invention, output voltage needed for the basis and the full amplitude voltage of pwm signal calculate PWM letters
Number duty cycle alpha, including:α=VO/V;VOFor output voltage, V is the full amplitude voltage of pwm signal.
In one embodiment of the invention, k is even number.
In addition, the present invention may also provide signal processing apparatus in one embodiment, including:Processor (can be MCU) and
Memory (can be ROM, RAM or other storage medium);The memory, for storing computer program;The processor,
For performing the computer program of the memory storage, so that the signal processing apparatus performs described pulse width modulation
The processing method of ripple.
In addition, the present invention can also provide computer-readable recording medium in one embodiment, computer is stored thereon with
Program, the processing method of described pulse width modulation wave is realized when the program is executed by processor.It is described computer-readable to deposit
Storage media is, for example, hard disk, flash memory etc..
In summary, the processing method of pulse width modulation wave provided by the invention, system, signal processing apparatus and Jie
Matter, the dominant frequency that worked according to needed for the microprocessor system of generation pwm signal and signal resolution calculate the week of theoretical pwm signal
Phase, and the dutycycle of pwm signal is calculated according to the full amplitude voltage of required output voltage and pwm signal, and then calculate theoretical PWM
The pulse width time of signal simultaneously calculates corresponding counting, is then divided into multiple minor cycles the cycle, adjusts each minor cycle
The pulse width time of pwm signal after corresponding adjustment, the respectively less than maximum exportable high level time of timer or PWM controller and each
The pulse width time summation of pwm signal is identical with the pulsewidth of theoretical pwm signal after adjustment, so as to make count and also with all recovered normal phase
Together, pwm signal after the adjustment of the minor cycle of continuous output respective numbers, to substitute the theoretical pwm signal, both improves system
Resolution ratio also improve the response time.
The present invention effectively overcomes various shortcoming of the prior art and has high industrial utilization.
The default reason and its effect of above-described embodiment only illustrative present invention, not for the limitation present invention.It is any
Those skilled in the art all can carry out modifications and changes under the spirit and scope without prejudice to the present invention to above-described embodiment.
Therefore, such as those of ordinary skill in the art without departing from disclosed spirit and institute under technological thought
All equivalent modifications completed or change, it should be covered by the claim of the present invention.
Claims (10)
- A kind of 1. processing method of pulse width modulation wave, it is characterised in that including:According to for the dominant frequency f that works needed for generating the microprocessor system of pwm signalMPUAnd signal resolution R, calculate theoretical PWM The cycle T of signal;The duty cycle alpha of pwm signal is calculated according to required output voltage and the full amplitude voltage of pwm signal, and according to duty cycle alpha and institute State cycle T and calculate pulse width time tH=α T;According to the pulse width time tHCalculate maintain high level required for microprocessor system timer count or PWM control Device processed counts NH=tH/tLSB, wherein, tLSBFor the cycle of a count value;Default PWM signal period T is adjusted to T/k minor cycle, the minor cycle is less than the timer of microprocessor system Or the maximum exportable high level time of PWM controller, wherein k are >=2 integer;The pulse width time of pwm signal after each adjustment that the k minor cycle of adjustment need to export respectively, to make pwm signal after k adjustment Pulse width time and equal to tHEven the dutycycle sum of pwm signal is α after k adjustment1+α2+…+αk=k α, also order is fixed When device or the counting of PWM controller need to meetWherein, αkBelieve for PWM after k-th of adjustment Number dutycycle,For the timer meter of the microprocessor system required for the maintenance high level of pwm signal after k-th of adjustment Number or PWM controller count;Continuously after the adjustment of k minor cycle of output pwm signal to substitute the theoretical pwm signal.
- 2. processing method according to claim 1, it is characterised in that the fMPUIt is according to performance, cost and circuit module What a kind of factor or many factors synthesis in power consumption determined.
- 3. processing method according to claim 1, it is characterised in that according to the work dominant frequency of required microprocessor system fMPUAnd required PWM resolution ratio R, calculating the cycle of theoretical pwm signal includes:According to formulaCalculate, λ is constant.
- 4. processing method according to claim 1, it is characterised in that output voltage and pwm signal are expired needed for the basis Amplitude voltage calculates the duty cycle alpha of pwm signal, including:α=VO/V;VOFor output voltage, V is the full amplitude voltage of pwm signal.
- 5. processing method according to claim 1, it is characterised in that k is even number.
- A kind of 6. processing system of pulse width modulation wave, it is characterised in that including:Computation of Period module, for according to for generating the dominant frequency f that worked needed for the microprocessor system of pwm signalMPUAnd signal point Resolution R, calculate the cycle T of theoretical pwm signal;Pulsewidth computing module, the duty cycle alpha of pwm signal is calculated for the output voltage needed for and the full amplitude voltage of pwm signal, And pulse width time t is calculated according to duty cycle alpha and the cycle TH=α T;Computing module is counted, for according to the pulse width time tHCalculate and maintain microprocessor system required for high level Timer count or PWM controller count NH=tH/tLSB, wherein, tLSBFor the cycle of a count value;Period modulation module, for default PWM signal period T to be adjusted to T/k minor cycle, the minor cycle is less than micro- place The timer or the maximum exportable high level time of PWM controller, wherein k for managing device system are >=2 integer;Pulse-width adjustment module, for adjusting the pulse width time of pwm signal after each adjustment that k minor cycle need to export respectively, with Make k adjustment after pwm signal pulse width time and equal to tHEven the dutycycle sum of pwm signal is α after k adjustment1+α2 +…+αk=k α, the counting of timer or PWM controller is also made to need to meet Wherein, αk The dutycycle of pwm signal after being adjusted for k-th,For micro- place required for the maintenance high level of pwm signal after k-th of adjustment The timer count or PWM controller for managing device system count;Signal output module, pwm signal is to substitute the theoretical pwm signal after the adjustment for continuously exporting k minor cycle.
- 7. processing system according to claim 6, it is characterised in that output voltage and pwm signal are expired needed for the basis Amplitude voltage calculates the duty cycle alpha of pwm signal, including:α=VO/V;VOFor output voltage, V is the full amplitude voltage of pwm signal.
- 8. processing system according to claim 6, it is characterised in that k is even number.
- A kind of 9. signal processing apparatus, it is characterised in that including:Processor and memory;The memory, for storing computer program;The processor, for performing the computer program of the memory storage, so that the signal processing apparatus performs such as The processing method of pulse width modulation wave any one of claim 1 to 5.
- 10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is by processor The processing method of the pulse width modulation wave as any one of claim 1 to 5 is realized during execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711027701.4A CN107835001A (en) | 2017-10-27 | 2017-10-27 | Processing method, system, signal processing apparatus and the medium of pulse width modulation wave |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711027701.4A CN107835001A (en) | 2017-10-27 | 2017-10-27 | Processing method, system, signal processing apparatus and the medium of pulse width modulation wave |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107835001A true CN107835001A (en) | 2018-03-23 |
Family
ID=61650891
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711027701.4A Pending CN107835001A (en) | 2017-10-27 | 2017-10-27 | Processing method, system, signal processing apparatus and the medium of pulse width modulation wave |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107835001A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110572141A (en) * | 2019-08-16 | 2019-12-13 | 赛特威尔电子股份有限公司 | method and device for improving precision of PWM controller |
CN111090319A (en) * | 2019-11-21 | 2020-05-01 | 苏州浪潮智能科技有限公司 | Method, device and medium for controlling server fan based on thermistor |
CN111475366A (en) * | 2020-03-03 | 2020-07-31 | 福州瑞芯微电子股份有限公司 | Method, device, equipment and medium for I2S analog PWM output |
CN111750912A (en) * | 2020-06-23 | 2020-10-09 | 武汉烽理光电技术有限公司 | High-spatial-resolution high-capacity grating array OTDR differential demodulation method and system |
CN113162589A (en) * | 2021-02-23 | 2021-07-23 | 潍坊歌尔微电子有限公司 | Timing adjustment method, terminal device and storage medium |
CN113206656A (en) * | 2021-05-20 | 2021-08-03 | 成都业贤科技有限公司 | Method for improving temperature control output voltage resolution of digital semiconductor refrigerating sheet |
CN113709934A (en) * | 2021-08-26 | 2021-11-26 | 广州彩熠灯光股份有限公司 | Lamp control method and device, lamp and storage medium |
WO2023036090A1 (en) * | 2021-09-13 | 2023-03-16 | 北京车和家信息技术有限公司 | Pulse width modulation signal acquisition method and apparatus, computer device, and storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5936564A (en) * | 1996-07-09 | 1999-08-10 | Samsung Electronics Co., Ltd. | Digital to analog converter using pulse width modulation and the controlling method thereof |
JP2003249854A (en) * | 2002-02-22 | 2003-09-05 | Seiko Epson Corp | Digital/analog converter |
EP1653618A2 (en) * | 2004-10-29 | 2006-05-03 | STMicroelectronics Pvt. Ltd | A PWM generator providing improved duty cycle resolution |
US7113541B1 (en) * | 1997-08-26 | 2006-09-26 | Color Kinetics Incorporated | Method for software driven generation of multiple simultaneous high speed pulse width modulated signals |
CN102282765A (en) * | 2008-11-21 | 2011-12-14 | L&L建筑公司 | Method and systems for digital pulse width modulator |
CN103874270A (en) * | 2012-12-17 | 2014-06-18 | 普诚科技股份有限公司 | Light-emitting diode driving method and device |
CN105375907A (en) * | 2015-10-21 | 2016-03-02 | 华南师范大学 | Waveform encoding method and system for increasing PWM signal resolution |
CN105680866A (en) * | 2016-01-08 | 2016-06-15 | 泉州市桑川电气设备有限公司 | PWM converted analog quantity low ripple output method |
CN205647498U (en) * | 2016-05-27 | 2016-10-12 | 福州福光百特自动化设备有限公司 | High accuracy PWM rotary die volume of planning output circuit |
CN106102252A (en) * | 2016-07-29 | 2016-11-09 | 杭州芯讯科技有限公司 | LED light-dimming method and light modulating device |
-
2017
- 2017-10-27 CN CN201711027701.4A patent/CN107835001A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5936564A (en) * | 1996-07-09 | 1999-08-10 | Samsung Electronics Co., Ltd. | Digital to analog converter using pulse width modulation and the controlling method thereof |
US7113541B1 (en) * | 1997-08-26 | 2006-09-26 | Color Kinetics Incorporated | Method for software driven generation of multiple simultaneous high speed pulse width modulated signals |
JP2003249854A (en) * | 2002-02-22 | 2003-09-05 | Seiko Epson Corp | Digital/analog converter |
EP1653618A2 (en) * | 2004-10-29 | 2006-05-03 | STMicroelectronics Pvt. Ltd | A PWM generator providing improved duty cycle resolution |
CN102282765A (en) * | 2008-11-21 | 2011-12-14 | L&L建筑公司 | Method and systems for digital pulse width modulator |
CN103874270A (en) * | 2012-12-17 | 2014-06-18 | 普诚科技股份有限公司 | Light-emitting diode driving method and device |
CN105375907A (en) * | 2015-10-21 | 2016-03-02 | 华南师范大学 | Waveform encoding method and system for increasing PWM signal resolution |
CN105680866A (en) * | 2016-01-08 | 2016-06-15 | 泉州市桑川电气设备有限公司 | PWM converted analog quantity low ripple output method |
CN205647498U (en) * | 2016-05-27 | 2016-10-12 | 福州福光百特自动化设备有限公司 | High accuracy PWM rotary die volume of planning output circuit |
CN106102252A (en) * | 2016-07-29 | 2016-11-09 | 杭州芯讯科技有限公司 | LED light-dimming method and light modulating device |
Non-Patent Citations (2)
Title |
---|
COREXIAN: "一个PWM波的周期分成单片机可以控制的N个小的周期,这就话", 《HTTPS://ZHIDAO.BAIDU.COM/QUESTION/340755520.HTML》 * |
ROBERT KEIM: "Low-Pass Filter a PWM Signal into an Analog Voltage", 《HTTPS://WWW.ALLABOUTCIRCUITS.COM/TECHNICAL-ARTICLES/LOW-PASS-FILTER-A-PWM-SIGNAL-INTO-AN-ANALOG-VOLTAGE/》 * |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110572141B (en) * | 2019-08-16 | 2024-02-13 | 赛特威尔电子股份有限公司 | Method and device for improving precision of PWM controller |
CN110572141A (en) * | 2019-08-16 | 2019-12-13 | 赛特威尔电子股份有限公司 | method and device for improving precision of PWM controller |
CN111090319A (en) * | 2019-11-21 | 2020-05-01 | 苏州浪潮智能科技有限公司 | Method, device and medium for controlling server fan based on thermistor |
CN111090319B (en) * | 2019-11-21 | 2021-07-30 | 苏州浪潮智能科技有限公司 | Method, device and medium for controlling server fan based on thermistor |
CN111475366B (en) * | 2020-03-03 | 2022-05-24 | 瑞芯微电子股份有限公司 | Method, device, equipment and medium for I2S analog PWM output |
CN111475366A (en) * | 2020-03-03 | 2020-07-31 | 福州瑞芯微电子股份有限公司 | Method, device, equipment and medium for I2S analog PWM output |
CN111750912A (en) * | 2020-06-23 | 2020-10-09 | 武汉烽理光电技术有限公司 | High-spatial-resolution high-capacity grating array OTDR differential demodulation method and system |
WO2022179298A1 (en) * | 2021-02-23 | 2022-09-01 | 潍坊歌尔微电子有限公司 | Timing adjustment method, terminal device and storage medium |
CN113162589A (en) * | 2021-02-23 | 2021-07-23 | 潍坊歌尔微电子有限公司 | Timing adjustment method, terminal device and storage medium |
CN113206656A (en) * | 2021-05-20 | 2021-08-03 | 成都业贤科技有限公司 | Method for improving temperature control output voltage resolution of digital semiconductor refrigerating sheet |
CN113206656B (en) * | 2021-05-20 | 2024-02-02 | 成都业贤科技有限公司 | Method for improving temperature control output voltage resolution of digital semiconductor refrigeration sheet |
CN113709934A (en) * | 2021-08-26 | 2021-11-26 | 广州彩熠灯光股份有限公司 | Lamp control method and device, lamp and storage medium |
CN113709934B (en) * | 2021-08-26 | 2023-09-15 | 广州彩熠灯光股份有限公司 | Lamp control method, device, lamp and storage medium |
WO2023036090A1 (en) * | 2021-09-13 | 2023-03-16 | 北京车和家信息技术有限公司 | Pulse width modulation signal acquisition method and apparatus, computer device, and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107835001A (en) | Processing method, system, signal processing apparatus and the medium of pulse width modulation wave | |
CN101268603B (en) | Digital power factor correction controller and AC-to-DC power supply including same | |
CN103178809B (en) | A kind of DDS porch control method, module and pulse signal generator | |
DE112015005814B4 (en) | POWER CONVERSION DEVICE | |
CN104734494B (en) | Method and system for controlling charge pump | |
Fermeiro et al. | A new controller for DC-DC converters based on particle swarm optimization | |
CN103138577A (en) | System and method of maintaining gain linearity of variable frequency modulator | |
DE102015113705A1 (en) | Mixed-mode power factor correction | |
US11063577B2 (en) | Pulse width modulation technique with time-ratio duty cycle computation | |
CN105205242B (en) | A kind of space vector PWM harmonic analysis method | |
CN104953814B (en) | A kind of method and apparatus for controlling pfc circuit | |
CN103109459A (en) | Method and system based on glue logic for minimizing losses in oversampled digitally controlled DC-DC converters | |
CN106688181A (en) | Device and method for providing a signal having an adjustable pulse duty factor | |
CN110504716B (en) | Photovoltaic inverter reactive mode optimization selection method, terminal equipment and storage medium | |
EP2930834B1 (en) | Method and apparatus for determining resistance values of dynamic voltage-adjusting circuit | |
CN104702136B (en) | Correct the controlling circuit of voltage regulation and control method of ripple vehicle-mounted inverter output voltage | |
CN102946189B (en) | A kind of control method of digital power control system | |
CN110943605A (en) | Control method and device of totem-pole power factor correction circuit | |
US7327300B1 (en) | System and method for generating a pulse width modulated signal having variable duty cycle resolution | |
JP2018085827A (en) | Voltage controller | |
CN109768724B (en) | Method for selecting control object of switching power supply control circuit | |
JP6776203B2 (en) | DC / DC converter controller | |
CN112838592B (en) | Load-source coordinated day-ahead scheduling method, device and system | |
CN111400981B (en) | Simulation circuit control system, method, electronic device, and storage medium | |
CN114915171A (en) | Phase optimization circuit for critical interleaved PFC and control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180323 |