Hey andre, Why not just PWM at 60 Hz? (Did you hear of PWM?) Invert every other pulse. Mike. andre abelian wrote: > Main idea for counting from 0-360 is that there are 4 > Pulses top 2 and bottom 2 they run at 60hz no matter what > And they move right and left. > Their normal startup looks like this: > Top2 starts at 180degree and bottom 2 starts at 28degree now > That's when x register=28 default. When x register changes becomes > 29 top 2 pulses moves 1 degree left which is 179 degree and > bottom 2 moves 1 degree right becomes 29 degree. 60 hz never gets > changed. Top2 and bottom2 they are inverted from each other this > is how inverters generate sinusoid. It looks like 47,25 us > is ok to use but your calculation is better. I didn't want to talk > about > > it in detail because people do not want to read long e-mail. > After all final output looks like this. > > <== moves left > B1 T1 > |------| |------| > | | | | > ------ |-----| |-----| |----- > | | > |------| > B2 T2 > ==> moves right > > B1 = rising edge of bottom pulse > B2 = falling edge of bottom pilse > Same thing for T1 and T2. > based on battery voltage and current load x register will > be updated in order to keep stable 110v 60 hz 40amp sinusoid. > -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics