- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I am currently trying to generate a PWM waveform using the PWM block. The block generates two waveforms out of phase and must have a deadtime between them. I am also generating a 60 Hz sine wave and need both the sine wave and the PWM waves to be exactly the same frequency. Any recommendations about how to go about this?
Solved! Go to Solution.
- Labels:
-
PSoC 5 Device Programming
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
You can make the following settings to generate two PWM waves that are inverted and have a dead time between them:
The PWM Mode is set to: two modes (in order to generate two waveforms)
The Compare value has been set to half the period value, so that the duty cycle is 50 percent.
The CMP Type value for the two waveforms is set to: less than and greater than or equal two so that the two waveforms are inverted.
The Dead band is used to set the dead time the waveforms between them.
Best Regards
Ekta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I made that post a few months back. For this case, I need to generate a 60 Hz 50% duty cycle PWM wave, however, I need to have two of them (The original and the inverted one). Both the original and the inverted will have a dead time in between transitions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Molinac5,
It would be helpful to have a timing diagram or chart explaining project specifications.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
You can make the following settings to generate two PWM waves that are inverted and have a dead time between them:
The PWM Mode is set to: two modes (in order to generate two waveforms)
The Compare value has been set to half the period value, so that the duty cycle is 50 percent.
The CMP Type value for the two waveforms is set to: less than and greater than or equal two so that the two waveforms are inverted.
The Dead band is used to set the dead time the waveforms between them.
Best Regards
Ekta