hi sir
I made this model to generate 3 PWM I compile without errors
This now I ask the following:
how can there be a delay between these 3 signals?
ELMAY
delay between PWM
delay between PWM
- Attachments
-
- commande_IGBT.mdl
- (34.75 KiB) Downloaded 849 times
-
- Site Admin - Expert
- Posts: 616
- Joined: Wed Mar 07, 2007 11:23 pm
- Location: Bayonne- France
- Contact:
Re: delay between PWM
Here is your model:
Anyway, you may try the Output Compare Hardware (OC (HW)) (instead of the Output Compare (OC)) block which I used for picooz motor control or this other example .
With OC (HW) block, mode 16 makes you able to set for each channel the instant at which you want a rising edge and at which instant you want a falling edge. However, due to the way it works, a PWM duty cycle may be false for one period when you are modifying values.
Lubin
I do not think there is a robust way to do it.ELMAY wrote: how can there be a delay between these 3 signals?
Anyway, you may try the Output Compare Hardware (OC (HW)) (instead of the Output Compare (OC)) block which I used for picooz motor control or this other example .
With OC (HW) block, mode 16 makes you able to set for each channel the instant at which you want a rising edge and at which instant you want a falling edge. However, due to the way it works, a PWM duty cycle may be false for one period when you are modifying values.
Lubin
Who is online
Users browsing this forum: No registered users and 9 guests