Hello everyone. And mostly Californiajoe the most eager participant in the posts and the closest location. ;-)
After a long time going back to this project and I see a development on the subject. Scheme I 've tried almost two years ago, but did not work steadily. Now I see improvements, but some things have deteriorated. For example, hex file sine_pwm_voltage-regulator_32_int_05.02.2009 no good voltage regulation. With RT1 can only increase, but the reduction must be pressed reset, to be updated. Moreover, the inclusion of a load of about 20% of power leads to a voltage drop of approximately 15V! It is imperative that the binding of 1k resistor from terminal 2 of the PIC to the table, otherwise the inverter is not working. The first versions of the program was not so. Why, I do not know.
Sample file sine-wave_inverter_without_a-b_voltage_check, which turned out better. Setting in real time and no need for reset. Fall is about 3-5V.
There is no need to supply 10V. Can connect to 5V without any change in the work of the inverter.
Since not understand programming, can anyone extend the capabilities of the inverter with detection of line voltage, switching network and sync-ups? I can do these things with external elements, but anyway in the processor space for additions to the program. Will be saved items.
The charger can be as wrote in previous posts, switching coil 220V, using protective diodes of Q1-Q8. But then setting the charging current will be difficult. I think a separate scheme will be better. I have ideas, swap against code.