CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Please help me on 3-phaseAC voltage Regulator withpic16f877a

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
khongyeuem



Joined: 16 Jul 2013
Posts: 3
Location: vietnam

View user's profile Send private message

Please help me on 3-phaseAC voltage Regulator withpic16f877a
PostPosted: Thu Mar 06, 2014 8:19 pm     Reply with quote

I use Zero crossing detect circuit to detect zero point of source voltage. If single phase then I can do it, I have used interrupt timer to create time delay to trigger triac. But with three phase then I can't do it. I have a idea with using three timers to create time delay and one timer to create width square pulse. Just a pity that there are only 3 pic16f877a timer. Can you help me!!! I use RB interrupt to delect rising edge of fulse when detect point of zero.
_________________
anhyeuem


Last edited by khongyeuem on Fri Mar 07, 2014 4:25 am; edited 2 times in total
Mike Walne



Joined: 19 Feb 2004
Posts: 1785
Location: Boston Spa UK

View user's profile Send private message

Re: Please help me on 3-phaseAC voltage Regulator withpic16f
PostPosted: Fri Mar 07, 2014 2:39 am     Reply with quote

Start by showing us a schematic of what you are proposing.

Mike
notbad



Joined: 10 Jan 2013
Posts: 68

View user's profile Send private message

PostPosted: Fri Mar 07, 2014 12:59 pm     Reply with quote

What is the load? Is it a motor or something else?
temtronic



Joined: 01 Jul 2010
Posts: 9174
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Fri Mar 07, 2014 6:17 pm     Reply with quote

We need a lot more details.
some are...
AC ? voltage and frequency are very important to know.
Regulator ? are you trying to control/maintain a specific voltage? if so what Tolerance? 1%, 5%, +-3 volts?
What else does the PIC have to do?

You say you've done the task with single phase power, so either a simple hardware or software solution might work for you. In software, you could have 2 other I/O pins 'follow' the '1st phase' I/O pin, simply by having a function like...

if 1st pin set....delay x..set 2nd pin ..delay x... set 3rd pin delay x.
delay x is the time difference between the phases, something you know, we don't.

Typical frequencies for power are 50Hz, 60Hz, 400Hz, 1000Hz, 20KHz.

hth
jay
khongyeuem



Joined: 16 Jul 2013
Posts: 3
Location: vietnam

View user's profile Send private message

PostPosted: Sat Mar 08, 2014 7:28 am     Reply with quote

I thank you for your interest. I use 220/380v AC voltage with 50HZ Frequency. I use to adjust the brightness of the street lamps (halogen lamps). I use RB interupts of pic16f877a (RB5,RB6,RB7) for detect point of zero of 3 phase. Iwant adjust independently from 0 to 180 degree for each phase. I use ADC value from a potentiometer. When I screwed up potentiometer, the lights each phase brightup and When I screwed down potentiometer, the lights each phase brightdown. I'm sorry because my writting enlish skill is not good!!!!!
_________________
anhyeuem
Ttelmah



Joined: 11 Mar 2010
Posts: 19368

View user's profile Send private message

PostPosted: Sat Mar 08, 2014 8:34 am     Reply with quote

The lamps are only going to be single phase. Just use three of your single phase designs.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group