An animal control system includes the capability of determining on which side of a containment structure the animal is located. Specifically, the system determines a polarity of a first half-cycle of an active portion of the signal transmitted on the enclosure wire. The determined polarity identifies if the animal is within or outside the enclosure.