sine wave inverter

guyz the circuit started working something better but there is one confusion the sine wave comes from the circuit but the problem is when i connect the microcontroller for pwm input and if i dont connect the ground of microcontroller to h bridge output is a good sine wave but when i connect the ground of both h bridge and controller the sine wave gets totally distorted how this can happen.........actually i was thinking the inverse of this that if ground will not be common the ckt wont work but its vice versa whats the concept behind that?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…