Generate PWM freq. step 50ns

Status
Not open for further replies.

Max.Otto11

Newbie level 6
Joined
Oct 13, 2014
Messages
13
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
180
Hi all,
i want to generate PWM step with 50ns. For this i have input signal.

PWM clock freq. = 24MHz.

if input is 3,25v then PWM freq = 1 µs (microsec)
if input is 0,5v then PWM freq = 250ns (nanosec).


pls share ur ideas for doing this task.

Regards
Max
 
Last edited:

PWM with dedtime

Hi all, sorry for wrong Task Explanation.
Here i try again to explain my Task.

i have PWM step with 50ns. PWM clock freq. = 25MHz

I have deadtime as input in Volts From 0,5v to 3,25v.

if input = 3,25v then PWM freq = 1 µs (microsec) = 24 (deadtime)
if input = 0,5v then PWM freq = 250ns (nanosec) = 2 (deadtime).


pls share ur ideas for doing this task.

Regards
Max
 

To makeup a meaningful question, you should mention the used hardware (e.g. microcontroller). At first sight 25 MHz clock won't give 50 ns rather than 40 ns delay/pwm step size.
 

Hellp FvM,
i type wrong it's 40ns for 25 MHz.

I have Input Signal from 0,5v to 3,25v. But this Input is for Deadtime. i use ADC for convert. Now the main question is

1. In which form i Need this value in program?
2. How can i calculate period & Duty cycle(47%) from this Input.
 

One point clarified, the other (which processor?) still open. Programming depends on the answer.

I don't see how period or duty cycle should be related to dead time. The effective duty cycle may be varied, depending on how the pwm generator is programmed (-> open question).
 

Hello FvM,
I am working with PSoC. Period is fixed 300. Effective Duty cycle should 47% of period.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…