Maker Pro
Maker Pro

PWM signal with 50ns freq. Step

Max.otto

Oct 27, 2014
11
Joined
Oct 27, 2014
Messages
11
@Kapp,
It's PWM so the Duty cycle is not fixed. I have to give Deadtime as input

I try to explain again the function of Deadtime. I am working with PSoC.
I will make Table of Deadtime Input Output n send u in 5 min.
 

Max.otto

Oct 27, 2014
11
Joined
Oct 27, 2014
Messages
11
@Kapp
here i try to explain perfect requirment. pls check all attached files.
 

Attachments

  • Project_Deadtime_Design.jpg
    Project_Deadtime_Design.jpg
    68 KB · Views: 133
  • Deadtime_Input_Tabelle.jpg
    Deadtime_Input_Tabelle.jpg
    27.2 KB · Views: 105
  • Deadband_Min.jpg
    Deadband_Min.jpg
    41.9 KB · Views: 102
  • Deadband_Max.jpg
    Deadband_Max.jpg
    44.6 KB · Views: 86

Harald Kapp

Moderator
Moderator
Nov 17, 2011
13,748
Joined
Nov 17, 2011
Messages
13,748
I give up. I can't get a clear idea what you try to do.
 

Max.otto

Oct 27, 2014
11
Joined
Oct 27, 2014
Messages
11
@Kapp,
pls don't give up. U r my only hope. Theoratically i understand Deadtime, but i m also confused how can i implement it.
I try again .

For deatime i have 0,5v = 205ns & 3,25v = 1μs. [This is Voltage to time]. I try to explain my whole Project. I have to implement H-Bridge for MOSFET with Deadtime.For this i have 2 PWM signals Forward & backward.

pls check the attached file.
In attached file Td1 & Td2 is my deadtime for both PWMs. T1 & T2 is Duty cycle of both PWMs.
This i have to implement.
 

Attachments

  • PWM Output.pdf
    186.9 KB · Views: 193
  • PWM Output.pdf
    186.9 KB · Views: 223

Harald Kapp

Moderator
Moderator
Nov 17, 2011
13,748
Joined
Nov 17, 2011
Messages
13,748
O.K., finally you reveal what your deadtime is.
According to figure 3 (Deadband_Min) from your post #21 the deadband can be adjusted from 2 to 256 clock cycles.
Your ADC will give you an output that is OUT=Vin/Vref where Vin is your input voltage (0.5V...3.25V) and Vref is your reference voltage (unknown to me). If I read the table in your post #21 correctly, this translates to values between 4 (fpr 0.5V) to 24 (at 3.25V) If not, you need tpo make a new table.
Anyway, working with the values from the table, and assuming a clock cycle time of 50ns (that is the number you have stated so far, albeit it contradicts the step size 40ns in the table from post #21), when you insert these values into the configuration (figure 3 Deadband_Min from your post #21) you will get:
4 -> 4*50ns = 200ns
24 -> 24*50ns = 1.2µs
This is close but not exactly what you requested. Check your requirements: do you need to be as exact as stated or can you work with this slight deviation?
You will never be able to be on the point because 205ns deadtime cannot be achieved from a 50ns period clock. 200ns is the best you will ever get.
As for the max value, you could either scale down the analog input or multiply the digital output from the ADC to get at the correct scale.

What I cannot tell you is how to input the aADC's output to the deadtime input of the PWM generator in your SOC design software.

It also totally escapes me why you would use a 16 bit ADC for digitizing an analog input signal to 24 steps. 5 bits are enough to encode 24 steps, the nearest meaningful ADC resolution is an 8 bit ADC.
 
Top