PWM Cycle

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

PWM Cycle

1,701件の閲覧回数
rapa
Contributor I
Hi All! I am working with MC9S08SH8 micro. In processor expert, i set period to 15 ms.Is it cycle time? I am asking,because i have measured PWM cycle by scope and i saw, that cycle is 7.5 ms Starting pulse width i set to be 100 Hz. Am i write?
ラベル(1)
0 件の賞賛
返信
2 返答(返信)

740件の閲覧回数
peg
Senior Contributor IV
Hi rapa,

There seems to be some mangling of terms here.
Period and cycle in this context should mean the same thing, The time to complete one cycle or until it repeats itself. e.g. the upward curved AND the downward curved parts of a sine wave.
For PWM it is the on time and the off time added together.
With PWM, the cycle time remains constant while the duty cycle changes. It can usually go from 0 to 100%. At 0 and 100 it is no longer a waveform but simply DC.
I don't know why you are talking of the pulse width in Hertz. Pulse width is a time or, in PWM as the frequency is fixed, a percentage.

Many people, both on these forums and elsewhere, seem to refer to any square wave as PWM which is wrong.
PWM stands for Pulse Width Modulation. That is, the only thing you are changing (or modulating) is the pulse width. The frequency (or cycle time or period) remains fixed.

0 件の賞賛
返信

740件の閲覧回数
ProcessorExpert
Senior Contributor III
Hello rapa,

I have not reproduced such behaviour. Could you please send us more detailed information how to reproduce this problem, including information about CPU and PWM beans setting. What hardware are you using (EVB board, value of external oscillator/crystal)? What version of CodeWarrior and Processor Expert are you using? The project reproducing the problem will be the best.

best regards
Vojtech Filip
Processor Expert Support Team
UNIS
0 件の賞賛
返信