A brushless motor can rotate while its controller still has the wrong relationship between winding phases and rotor position. The error may appear as unexpected direction, excessive current, weak torque or a difficult transition into closed-loop operation. Making the motor spin is therefore not sufficient commissioning evidence.
This guide focuses on verifying the coordinate relationship between the inverter, motor and position feedback. It extends the motor controller design guide, rather than comparing control algorithms or repeating current-sensing design. The proposed checks are engineering practices to adapt to the actual motor and mechanism, not reports of an Outer Reef project.
1. Define the coordinate contract before energizing
Record what positive motion means at the mechanism, which inverter outputs connect to the named motor phases, and how feedback position increases. Include the reference used for electrical zero. A connector pinout alone does not establish this relationship.
Microchip's BLDC commutation and control architecture guidance explains that electronic switching must follow rotor position and that sensored, timer-based and sensorless approaches are separate feedback choices. Commissioning must establish the conventions required by the chosen implementation.
Write the contract so another engineer can reproduce it without the original developer present. Specify whether an angle is mechanical or electrical, its units, wrap range, sign and sampling reference. For a geared actuator, distinguish motor-shaft position from output position. Backlash or compliance can make an output sensor unsuitable as a direct substitute for rotor feedback.
2. Separate mechanical position from electrical angle
For a permanent-magnet rotor, one mechanical revolution contains as many electrical revolutions as the motor has pole pairs. A useful commissioning relationship is theta_e = wrap(s × p × theta_m + theta_offset), where p is pole-pair count, s represents the chosen direction convention, and the offset establishes the controller's electrical reference.
This expression is a bookkeeping model, not a universal firmware implementation. A library may define phase order, rotation direction or its reference axis differently. Confirm those definitions before importing an offset from another drive.
Microchip's field-oriented control documentation explains that the synchronous reference frame for a PMSM must align with rotor flux. An incorrect angle changes how measured phase currents are resolved into direct and quadrature components. The current loops can appear active while regulating quantities that no longer have the intended relationship to torque.
3. Check feedback direction without commanded torque
Where the mechanism permits safe external movement, first observe feedback with the inverter disabled. Move through a known direction and check the reported sign, continuity and wrap behavior. Confirm the measured travel against the physical motion rather than relying only on a changing number.
Look for count scaling errors, discontinuities away from the defined wrap, stale samples and resets after a power cycle. A stationary signal needs separate investigation: the shaft may not have moved, the interface may have failed, or software may be presenting an old value.
Do not assume this test is mechanically harmless. Vertical loads may move when a brake releases, and externally rotating a permanent-magnet motor can generate voltage. Define restraint and power-source conditions before moving the shaft. Keep this test distinct from energizing the motor to establish electrical alignment.
4. Establish phase mapping with bounded energy
Before applying a test vector, define current limits, maximum energization time and an independent way to remove drive power. Use a fixture that restrains the assembly appropriately without creating a new pinch or release hazard. Do not begin on a patient-connected device or an unrestricted production mechanism.
Verify the implemented inverter state against the intended phase command. Then use a deliberately limited commissioning routine to investigate the rotor response. Log commanded state, measured phase currents, bus voltage and position. Current measurements must already be credible enough to enforce the test limits.
If direction is wrong, avoid changing phase wires, feedback sign and software direction simultaneously. Change one documented relationship, repeat the bounded test, and preserve the result. Several compensating errors can produce apparent rotation while leaving the electrical-angle model inconsistent.
A low bus voltage alone is not a complete safeguard. The available current, motor resistance, stored energy and mechanical leverage still determine consequences. Limits must come from the actual test setup.
5. Treat alignment as a measurement with uncertainty
An alignment routine applies a known stator excitation and associates the resulting rotor position with an electrical reference. Its usefulness depends on whether the rotor can reach that position predictably. Friction, gravity load, a holding brake or a hard stop can prevent the assumed alignment.
Microchip's PMSM startup procedure describes initial field alignment using applied winding current and distinguishes direct-axis and quadrature-axis methods. That distinction matters: the expected offset depends on the method and software conventions.
Repeat alignment from different permitted initial positions. Compare the resulting electrical offsets, including approaches from opposite directions where feasible. Variation may indicate load-dependent settling rather than sensor noise. Define acceptable repeatability from the torque and motion requirements; do not adopt a universal angle tolerance.
Also define whether the routine is allowed to move the mechanism at startup. An acceptable bench procedure may be unacceptable in the installed product.
6. Verify the angle dynamically, not only at standstill
A repeatable static offset does not establish dynamic accuracy. Position acquisition, communication and computation introduce delay. At approximately constant electrical speed, an uncompensated delay produces an angle error approximately equal to electrical angular velocity multiplied by delay. Use consistent units when calculating it.
Check both rotation directions and more than one speed. An offset that appears correct near standstill but produces increasing current or deteriorating torque as speed rises warrants investigation of timing and angle prediction. It does not automatically prove a phase-order fault.
Record when feedback was measured, not just when firmware received it. If the interface provides no measurement timestamp, document the timing assumption and verify its bounds. Test under representative processor and communications loading. Keep dynamic compensation separate from the stored static offset so one cannot silently conceal the other.
7. Define failure behavior before raising torque
Commissioning should include deliberate checks for missing feedback and invalid configuration. Decide what prevents torque enable when pole-pair count, direction or alignment data are unavailable. A plausible numeric position is not proof that the feedback chain is healthy.
Specify how the controller handles a feedback reset during operation and a mismatch between expected and observed movement. The appropriate response depends on the mechanism. Disabling the inverter can remove controlled torque without preventing gravity-driven motion.
Progress from limited tests to representative load only after the preceding relationships are established. For broader operating cases and acceptance planning, use the motor-controller requirements and verification framework. Passing an alignment test does not establish safe stopping, thermal margin or complete controller performance.
8. Preserve the relationship through production and service
Decide which parameters belong to the product design and which belong to an individual motor-controller assembly. A repeatable connector arrangement may support a fixed phase mapping, while a sensor mounted with assembly variation may require unit-specific calibration. Verify that assumption before eliminating a calibration step.
Store calibration with an identifiable schema and configuration association. A replacement motor, revised sensor mount or firmware convention change should trigger an explicit compatibility decision. Never assume an old offset remains valid simply because the new assembly uses the same connector.
Production checks should detect the errors the assembly process can introduce. These may include swapped phase conductors, reversed feedback direction or missing calibration. Preserve the tested hardware revision, firmware and acceptance result. The goal is a traceable coordinate relationship that survives assembly changes and service, not a parameter that happened to make one bench motor turn.