Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/07/12 06:23
Read: 374 times


 
#187046 - Ya sure....
Responding to: Andy Neil's previous message

thyristor based AC-AC voltage regulator for inductive load....
its also called as a Hard firing technique for Thyristor..

i have spend almost a week for this.. there was a problem in synchronization between zero crossing and thyristor gate pulse(i.e G1&G2) & its resolved by this logic
at zero crosover i toggle a bit and take bit as a reference for G1&G2 generation
this is not a code.. i am sharing logic...


void interrupt Input_capture(void) { //Zero Crossover both edge rising&falling
Bit0 =~ Bit0; // toggle bit for each rising &falling edge trigger
sync_time=TCON; // for synchronization
OC1 = sync_time + alpha; // load value in Comapator1 register

}

void interrupt Output_Compare1(void) {
unsigned short pulse;
if(Bit0 ==1) { // check condition of toggle bit
PA1 = 0; // Thyristor Gate pulse G1
} else {
PA2 =0; // Thyristor Gate pulse G2
}

OC2 = sync_time + pulse; // load value in Comapator2 register
}

void interrupt Output_Compare2(void) {
if(Bit0 ==1) { // check condition of toggle bit
PA1 = 1; // Thyristor Gate pulse G1
OC1 = sync_time + 10000; // load value in Comapator1 register
} else { // Thyristor Gate pulse G2
PA2 = 1;
OC1 = sync_time + 10000; // load value in Comapator1 register
}

}


List of 18 messages in thread
TopicAuthorDate
Gate pulse for anti paraller Thyristor configuration      Yagnesh Mehta      03/29/12 01:03      
   Inductive VS resistive characteristics      Yagnesh Mehta      03/29/12 06:20      
    :( not even single person is interested in this post......      Yagnesh Mehta      04/04/12 04:58      
      what?      Stefan KAnev      04/04/12 14:43      
      Power Electronics      KONSTANTINOS L. ANGELIS      04/04/12 14:49      
   Thank for Replay and your interest      Yagnesh Mehta      04/05/12 00:07      
   Code      Yagnesh Mehta      04/05/12 01:11      
      Established Synchronization But.......      Yagnesh Mehta      04/05/12 01:41      
      ?      Stefan KAnev      04/05/12 10:29      
         Not function      Yagnesh Mehta      04/05/12 21:53      
      Code Does not make sense      Andy Neil      04/05/12 23:41      
         for understanding only....      Yagnesh Mehta      04/06/12 01:29      
            Confusion, more like      Andy Neil      04/06/12 05:29      
         Formating ....      Yagnesh Mehta      04/06/12 01:33      
            It is always, but especially when ....      Erik Malund      04/06/12 08:07      
         Problem Resolved      Yagnesh Mehta      04/06/12 22:23      
            Please share      Andy Neil      04/07/12 04:15      
               Ya sure....      Yagnesh Mehta      04/07/12 06:23      

Back to Subject List