A medical instrument having a distal tip through which a lumen extends can employ an electromagnetic sensor including a coil that is in the distal tip and winds around the lumen or a coil that is in the distal tip and defines an area having a normal direction that is perpendicular to an instrument axis that extends along the lumen. Three coils can be oriented so that normal directions of the areas defined by the coils are along three orthogonal axes.