To download NI software, including the products shown below, visit ni.com/downloads.
This example demonstrates how to take an angular position measurement from a resolver using the PXIe-4340.
A resolver is an analog device used for measuring degrees of rotation. A resolver contains a single primary winding which is energized with a sinusoidal voltage and two secondary windings positioned at a right angle from one another. The primary winding induces a signal on the secondary windings of a magnitude dependent on the primary windings angular position. The resulting output of the secondary windings is cosΘ and sinΘ where Θ is the angular position of the primary winding. So we can express or diagram the angle of the primary winding, Θ, and the measurements of the two secondary windings, cosΘ and sinΘ, as a unit circle.
With cosΘ and sinΘ being measured known values, the following trigonometric function can be used to find Θ.
In order to measure a resolver the NI PXIe-4340 needs to use a channel per secondary winding. Excitation to the primary winding is sourced from a single channels excitation terminals. Leave the excitation terminals of the other channel unconnected. In order to get an accurate measurement both channels will need to be set to use remote sense and connected to the primary winding. A connection diagram for resolvers is provided below.
In order to run this example:
Description-Separate-2
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.