A system is operable to detect the orientation of an implant component.
The system comprises an implantable component, an external component, and
a logic component. The implantable component comprises a first coil
operable to transmit a first signal having a phase. The external
component comprises a second coil operable to transmit a second signal
having a phase. The logic component is operable to compare the phase of
the first signal with the phase of the second signal. The logic component
is further configured to determine an orientation of the first coil
relative to the second coil based on a comparison of the phase of the
first signal with the phase of the second signal. The system may be used
to determine the orientation of an injection port in an implanted gastric
band system. The system may alternatively be used in a variety of other
types of systems.