hi sougata
ya wot u tell is true....no1 gives the source code normally....
i ve got bits n pieces of codes wen i surfed....
now trying to write a code on my own....
hoping it turns out gud
me located in mangalore karnataka state
hi sougata
ya wot u tell is true....no1 gives the source code normally....
i ve got bits n pieces of codes wen i surfed....
now trying to write a code on my own....
hoping it turns out gud
me located in mangalore karnataka state
Hi,
One suggestion. Do not rely on PBP while doing multiplication inside your sine lookup code. It takes many MCU cycles. Google for fixed latency multiply on PIC16. It takes more code space but timing is within control.
Good Luck
Regards
Sougata
Dear Sougata,
I am beginning to work on Sine wave inverter generation, I am still a beginner in PIC I would like your guidance whether hardware pwm is better or software pwm, in terms of good working and reliablity also i am considering of using a 50hz type of transformer.
Thanks and Regards.
Hi,
Software PWM may result in a less BOM cost as all the steering is done in software. Also charging PWM controls become easier as you can steer your outputs. Software PWMs used in Sine generation still use the CCP unit in compare mode. @ 20MHz , you may be able to generate 4-6 KHz.
However I prefer hardware PWM as it relieves the MCU. Also much higher PWM frequency results in noiseless designs.
Where are you located anyway ? (Didn't get any info from your public profile)
Since you would be using single conversion, 50Hz transformer, I suggest you use a split bobbin design. I found they work better. However cannot say why as my magnetics knowledge is lower than nil. Somebody else may be able to shed some light on that.
Regards
Sougata
Sougata, Thanks for such a clear guidance.
I am in located in a village called "Sanjan" in GUJARAT, the registration didn't ask questions so may be the profile is not updated i will update it anyway.
Also how can we use the same transformer for charging, since the transformer is in full bridge the MOSFET's body diodes will pass the uncontrolled charging once mains supply is given to transformer.Mains voltage is not same every where then how is charging control achieved unless transformer voltage is quite samll ?
One of my friend told me that SMPS based design is not suitable for all types of load that's why i am doing with 50Hz type transformer
Also my magnetics knowledge is quite poor, I do some designing based on formulas but you can not get good results without practical knowledge, i agree. That's why i am requesting from forum If any body can help me in transformer I would be really thankful.
Hi,
The 2 lower side MOSFETs can boost up the voltage. And yes the body diodes are used for charging.
Regards
Sougata
HI,
I am reading for the first time this argument.
I am asking if there is a sample PICBASIC program and schematics to take as a reference for me to experiment a switch mode power supply using pic PWM.
Could you please give me some help on the matter ?
I do not need more than two amps of current and it will be a buck converter .
I hope to read from you.
Thanks in advance
Ambrogio
IW2FVO
North Italy
Bookmarks