Power Inverter with PIC


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2009
    Location
    Dhaka, Bangladesh
    Posts
    2

    Default Power Inverter with PIC

    Hi all,
    I want to develop a power inverter (50Hz linear) using only one PIC microcontroller. Earlier I had done so using discrete parts(SG3525, comparators, opamps, etc). Now I want to make my circuit smaller, ie, instead of using SO MANY discrete parts, I would like to use a PIC. I have in mind a 16F72, 16F873A, 18F252. I tried to use hardware PWM (with 16F684 - ECCP in half bridge mode). It worked fine at fixed duty cycle but I am having problems in adjusting output voltage (feedback): When I change the value in CCPR1L to control duty cycle, the output is no longer symmetrical: ie, if I choose 30% duty cycle, I would want ouput1 to be on for 3ms and off for 7ms and the same for output2. But what happens is during the 7ms period when output1 is low, output2 is high during that time.
    So can you please help in this?
    Should I use software PWM or hardware?
    After this part, I will also include different sensing parts, such as overload, battery discharge, battery charging current, switchover, mains detection, etc. But first I need to complete this part.
    Thanks for the help.

    P.S. I don't use PICBASIC PRO but mikroBASIC and MPLAB (Assembly).

  2. #2
    shajimb's Avatar
    shajimb Guest


    Did you find this post helpful? Yes | No

    Default Re: Power Inverter with PIC

    Hello tAhm1D,
    I am also in such trouble. It is possible to use PROGRAMMABLE DEAD BAND DELAY (My chip is 16F616 and frequecy selected is 16khz). But the resolution is low. check whether it can be used in your case.

Similar Threads

  1. Pic getting part power from Analog Port
    By ShaneMichael in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 22nd April 2009, 10:34
  2. Ideal backup power for PIC micro
    By emavil in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 22nd March 2007, 00:07
  3. PIC power backup with "super capacitor"
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 24th January 2007, 23:51
  4. problems on power up of PIC
    By dmairspotter in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 13th June 2006, 14:11
  5. Controlling power to a PIC with another PIC
    By jswayze in forum Off Topic
    Replies: 3
    Last Post: - 28th May 2005, 19:44

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts