SGC has made an automatic antenna tuner that has several smart ideas implemented. It uses a phase detector to be able to know if the load is capacitive or inductive. The design uses a RF mixer and several clever multifilar transformers. SGC also included several practical antenna antenna ideas in their manuals. I have uploaded the information here. Credit: SGC

Manual 1 PDF1
Manual 2 PDF2
Manual 3 PDF3