I understand that solar panels generate low DC voltage, and public power lines require high AC voltage. I am also aware of the device called Power Inverter which converts DC power with low voltage to (ideally same) AC power with a higher voltage.
But I don't believe that just connecting input of the inverter to solar panels and output of it to the AC line would work. I think the phases of the inverter output and the public AC voltage must match each other.
I also feel that I would need a different power-meter for my house. Because the current one is designed for one-way transfer of electricity; it may not be detecting the direction of power transfer.
What hardware is used for this purpose? I want implement the circuits myself if I can. Please guide me on this. Is there any article explaining the electronic details and background of selling home-generated DC voltage to the electric company?