i have five different PWM waveform generated using matlab software
i want to generate them using any PIC chip.here are the waveform
anyone have a clue for the programming??
You should look around for tutorials on using the CCP module in PWM mode. If you need a sample code, I can provide one if needed, but you can find many online.
For PWM duty cycle does not need to be constant, and you can change frequency as well. But in SPWM, you can see from the picture that the frequency is constant. The carrier frequency usually is. It's the reference frequency that can change depending on your need. But the carrier frequency is the same. You can easily do this with CCP.
actually, all spwm waveforms are generated for 1 cycle 0.02, but with different widths. they are applied for five switches. each waveform for 1 switch
i want clue in how to do programming in pic because i am new in microcontroller and what are the instructions or variables that can be used for generating PWM.If anyone has an idea please reply.
I would say that you firstly learn the basics of PIC and then move on to PWM. You can refer to this thread which has a lot of information: https://www.edaboard.com/threads/215581/
I would recommend you use C or BASIC for programming instead of assembly, but it's really upto you. Check out these tutorials as well: **broken link removed**