I got a sample of program to generate 3 phase SPWM from this Controlling output frequency of 3 Phase SPWM Inverter. As far as I understood, the frequency generated is constant. My question is how can I make it a variable frequency generated? I am using Arduino mega right now.


I've edited the code in that post to my latest code! I suggest you take a look at the signal on proteus scope, but first try to filter all signals with 1K ohm resistor and 0.37uF capacitor connected in series. Put your scope probe at the end of resistor. Hope that will help!

  • can i know what is the max fequency you used in the code? because i'm still trying simulate the code and cant capture the frequency generated. Hope you can clarify me a bit. – MR.SYAUQI 96 May 14 at 6:21
  • It's around 0 - 200Hz. I've checked using my inverter circuit and Oscilloscope. – Fitrah Hidayat May 15 at 7:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.