In the high-stakes world of industrial automation and CNC machining, sudden machine downtime can cost facilities thousands of dollars per hour. Among the most frustrating and misunderstood faults that operators and maintenance engineers encounter are the Current Detection Errors A.b31 and A.b32. Most commonly associated with Yaskawa Sigma series servo drives and similarly architected CNC controllers, these alarms immediately halt machine operation to protect critical electronic and mechanical components from catastrophic failure.

Unlike standard overcurrent or overload alarms, which might simply indicate that a machine is pushing a tool too hard or that a physical axis is binding, the A.b31 and A.b32 alarms point to a much deeper electrical or electronic anomaly. They indicate that the servo drive’s internal circuitry has detected a critical anomaly in the phase currents being delivered to the motor. Troubleshooting these specific errors requires a logical, step-by-step approach to isolate whether the fault lies in the servo drive itself, the power cables, or the servo motor.

This comprehensive guide will demystify the A.b31 and A.b32 current detection errors, explore their root causes, and provide an actionable, highly detailed troubleshooting workflow to get your CNC machinery back into production as quickly and safely as possible.

What is a Current Detection Error (A.b31 / A.b32)?

What is a Current Detection Error (A.b31 / A.b32)?

To diagnose and troubleshoot CNC servo amplifier alarms accurately, it is essential to understand how modern servo drives monitor power. A servo drive converts AC line voltage into DC, and then uses an inverter section (typically utilizing IGBTs) to pulse that DC voltage into a three-phase AC output (phases U, V, and W) to control the servo motor.

To ensure precise control and to protect the hardware, the drive continuously monitors the electrical current flowing through each of these three phases. It does this using precision current sensors—often Hall-effect sensors or highly calibrated shunt resistors located directly on the drive’s power board.

  • Alarm A.b31: Phase-U Current Detection Alarm. This signifies that the current sensor monitoring the “U” phase of the motor output has detected an abnormal reading, a hardware fault within the sensor circuit, or an instantaneous current spike that defies standard operational logic.
  • Alarm A.b32: Phase-V Current Detection Alarm. Similar to A.b31, but the fault is isolated to the “V” phase current monitoring circuit.
  • Note: You may also occasionally see A.b33, which corresponds to the Phase-W Current Detection Alarm.

Crucially, a current detection error is different from a standard overcurrent alarm. An overcurrent alarm implies that the current was measured accurately, but the value was simply too high. A current detection error (A.b3x series) often implies that the measuring circuit itself is failing, or that there is a massive ground fault causing a reading so erratic that the drive’s microprocessor registers it as a sensor failure.

Common Causes of A.b31 and A.b32 Alarms

When the CNC control screen flashes an A.b31 or A.b32 code, the root cause generally falls into one of three primary categories: internal drive failure, cable degradation, or motor winding faults. Let’s break these down in detail.

1. Internal Servo Amplifier Failure (Most Common)

In the vast majority of cases involving A.b31 and A.b32, the fault originates inside the servo amplifier itself. The electronic components responsible for reading the phase currents are subjected to heat, vibration, and electrical noise over years of operation. Common internal failures include:

  • Failed Hall-Effect Sensors: The actual physical sensors on the power PCB that measure the U and V phase currents can degrade and fail. When they output a voltage outside the expected parameters, the A.b31/A.b32 alarm is triggered.
  • Control Board Logic Failure: The analog-to-digital (A/D) converters on the control board that interpret the sensor signals may fail, misreading a normal current as a catastrophic error.
  • IGBT Module Leakage: If the Insulated-Gate Bipolar Transistor (IGBT) module begins to fail, it can allow erratic leakage currents that confuse the current sensors. It is highly recommended to test and replace IGBT modules if you suspect internal power component degradation.

2. Faulty Power Cables and Connections

The power cables carrying high-voltage AC from the drive to the motor operate in harsh environments. They are constantly flexed in cable tracks, exposed to coolant, and subjected to flying hot metal chips.

  • Short to Ground: If the insulation on the U or V phase cable rubs through and touches the machine casting, it creates a dead short to ground. This massive instantaneous current spike can trigger a current detection error before the standard overcurrent logic can react.
  • Phase-to-Phase Short: If two internal wires within the power cable melt together, the resulting short circuit will heavily skew the current detection readings.
  • Corroded Connectors: Coolant ingress at the motor-side military connector can cause tracking and arcing between pins, mimicking a sensor fault.

3. Servo Motor Winding Failure

While less common than drive failures for this specific alarm code, a severely damaged servo motor can trigger A.b31 or A.b32. If the internal copper windings of the motor break down due to thermal overload, the insulation fails. This results in the windings shorting to the motor housing (ground). When the drive attempts to send voltage to the motor, the current dumps straight to ground, potentially blowing the drive’s current sensors or triggering the A.b3x alarm.

Step-by-Step Troubleshooting Procedure

Step-by-Step Troubleshooting Procedure

Because the A.b31 and A.b32 alarms can be caused by the drive, the cable, or the motor, you must use a process of elimination. Warning: CNC servo drives store lethal amounts of DC voltage in their bus capacitors. Always power down the machine and wait at least 15 minutes for the capacitors to discharge before touching any terminals. Verify zero voltage with a high-quality multimeter before proceeding.

Step 1: The 5-Minute Drive Isolation Test

The absolute fastest way to determine if your servo drive is dead is to isolate it from the external hardware. This is known as the 5-minute drive isolation test.

  1. Safely power down the CNC machine and verify zero voltage at the drive terminals.
  2. Locate the U, V, and W motor output terminals on the bottom of the servo drive.
  3. Carefully disconnect the motor power cables from these terminals. Tape the bare cable ends with electrical tape to ensure they do not touch anything.
  4. Power the CNC machine back on and clear any emergency stops.
  5. Attempt to enable the servos (turn the servo power on).

The Result: If the A.b31 or A.b32 alarm immediately returns even with the motor disconnected, the fault is 100% internal to the servo drive. The current sensing circuit on the PCB has failed, and the drive must be repaired or replaced. If the alarm clears and the drive enters a ready state, the drive is likely functioning correctly, and the fault lies in the cables or the motor.

Step 2: Megger Testing the Servo Motor

If the drive passed the isolation test in Step 1, you must test the motor and cables. A standard multimeter is not sufficient for this; you need an insulation resistance tester (Megohmmeter or “Megger”).

  1. Keep the motor cables disconnected from the drive.
  2. Set your Megger to 500V or 1000V DC (refer to motor specs, 500V is standard for most CNC motors).
  3. Connect the negative Megger lead to a known good earth ground on the machine chassis.
  4. Test the U, V, and W cable wires one by one with the positive Megger lead.

The Result: A healthy motor and cable system should read in the hundreds of Mega-ohms (MΩ), ideally above 100 MΩ. If you read a low resistance (e.g., less than 5 MΩ, or a dead short of 0 Ω) on the U or V phase, you have found your short to ground. You must now disconnect the cable at the motor end and test the motor and cable separately to pinpoint which one has failed.

Step 3: Static Testing the Drive’s IGBT

If the alarm occurs intermittently, or if you want to be completely thorough before sending a drive out for repair, you can perform a static diode check on the drive’s internal IGBT.

  1. Ensure power is off and capacitors are drained.
  2. Set a digital multimeter to “Diode Test” mode.
  3. Place the positive (red) probe on the negative (-) DC bus terminal of the drive.
  4. Place the negative (black) probe sequentially on the U, V, and W motor terminals. You should see a standard diode drop (usually between 0.3V and 0.7V) for all three phases.
  5. Reverse the process: Place the black probe on the positive (+) DC bus terminal, and the red probe on the U, V, W terminals. Again, look for a consistent 0.3V to 0.7V drop.

If any reading is a dead short (0.0V) or “Open Line” (OL) when there should be a reading, the IGBT module is blown. An exploded IGBT will often destroy the nearby current sensors, leading directly to the A.b31/A.b32 alarm codes.

Technical Comparison: CNC Servo Drive Current Alarms

Understanding the subtle differences between various current-related alarms can save hours of diagnostic time. Below is a technical breakdown of common Yaskawa and general CNC current faults.

Alarm Code Description Primary Hardware Focus Likely Repair Action
A.b31 Current Detection Error (Phase U) Drive PCB / U-Phase Sensor Drive Replacement/PCB Repair
A.b32 Current Detection Error (Phase V) Drive PCB / V-Phase Sensor Drive Replacement/PCB Repair
A.b33 Current Detection Error (Phase W) Drive PCB / W-Phase Sensor Drive Replacement/PCB Repair
A.710 / A.720 Overcurrent / Overload Motor Binding / Heavy Cut Check Mechanics / Adjust Feeds

How to Prevent A.b3x Series Alarms

How to Prevent A.b3x Series Alarms

While electronic components inevitably age and fail over time, proactive maintenance can significantly extend the life of your servo drives and prevent unexpected A.b31 and A.b32 errors.

  • Maintain Cabinet Cooling: Heat is the ultimate enemy of the PCB components that monitor current. Ensure that electrical cabinet fans are functioning, air filters are clean, and the ambient temperature inside the panel remains within the manufacturer’s specifications.
  • Protect Motor Cables: Routinely inspect the heavy power cables running to your CNC axes. Look for cracked outer jackets, hardening from coolant exposure, or areas where the cable track is pinching the wires. Replace cables before they short out.
  • Ensure Proper Grounding: Poor machine grounding can cause high-frequency electrical noise to circulate through the system. This noise can interfere with the sensitive analog-to-digital converters on the servo drive, eventually damaging the logic circuits responsible for current detection.

Frequently Asked Questions (FAQ)

Can I reset an A.b31 or A.b32 alarm from the CNC controller?

No, cycling the power or pressing the reset button on the CNC control panel will rarely clear a genuine A.b31 or A.b32 alarm. Because these codes indicate a hardware-level sensor failure or a hard short circuit, the drive’s internal safety logic locks the system out until the physical issue is resolved. Continuing to reset the power in an attempt to force the machine to run can result in severe damage to the IGBT module or a fire hazard.

Is it possible to repair a drive with an A.b31 error, or do I need a new one?

Drives with A.b31 or A.b32 faults can often be repaired by professional CNC electronics technicians. The repair process usually involves disassembling the drive, desoldering the faulty Hall-effect current sensors or damaged A/D conversion chips, and replacing them with OEM equivalents. The unit is then load-tested on a dynamometer. However, depending on the age of the drive, purchasing a refurbished or new replacement might be more cost-effective regarding downtime.

Why does the alarm happen as soon as the control turns on, before the machine even moves?

Modern servo drives perform a self-diagnostic check the moment control power is applied. Before the main contactor even closes to supply high voltage to the motor, the drive checks the zero-state of its current sensors. If a sensor is dead and outputting a rogue voltage value at a standstill, the processor immediately flags an A.b31/A.b32 error to prevent the drive from enabling and potentially causing uncontrolled axis movement.

Conclusion: Resolving Current Detection Faults Effectively

Dealing with A.b31 and A.b32 current detection errors can be intimidating, but by following a logical isolation strategy, you can confidently locate the source of the failure. Remember that the golden rule of CNC electronics troubleshooting is to divide and conquer: separate the drive from the motor and cables first. By isolating the components, you prevent misdiagnosis, avoid replacing expensive parts unnecessarily, and ensure your industrial machinery returns to peak operational efficiency with minimal delay.

If your diagnostics point to a failed internal component, do not attempt to bypass the safety features of the drive. The current sensors are critical for both machine precision and facility safety. Always rely on certified replacement components and trusted repair methodologies.

Need Reliable CNC Parts to Fix Your A.b31/A.b32 Fault?

Don’t let a faulty servo drive keep your production line down. We stock a massive inventory of high-quality, tested CNC servo drives, amplifiers, motors, and OEM replacement cables.

Browse CNC Replacement Parts Today

Fast Shipping • Quality Guaranteed • Expert Technical Support