BLDC Motor Field Flux Direction
They use the encoder to determine the rotor angle (flux) with respect to stator frame. The stator flux is measured with current probes, then transformed to alpha/beta and further to d/q coordinate system by use of Park and Clarke transforms.