ClassA Motor

Motor-control Firmware: What Buyers of Chinese BLDC Motors and Drives Should Know

Every BLDC drive and integrated-driver motor runs firmware. Learn what it does, who writes it in China, how it is tuned and flashed, and what to agree about versions, updates and source code.

Updated 2026-10-22

What the firmware does

A brushless motor cannot run without electronics that switch its phases at the right moment. The firmware in the drive's microcontroller reads the rotor position (Hall sensors, an encoder, or the back-EMF in sensorless designs), runs the commutation and current control, closes the speed or position loop, enforces protections (over-current, over-voltage, stall, over-temperature) and talks to your controller over PWM, analog, RS485, CAN or EtherCAT.

Six-step, sine and FOC

  • Six-step (trapezoidal): simple and cheap, some torque ripple and noise — common in fans, pumps and low-cost tools.
  • Sine (SVPWM) without full current control: quieter at moderate cost.
  • Field-oriented control (FOC): controls current in the rotor's frame for smooth torque, low noise and high efficiency; standard in servos, appliances, e-bikes and drones. Sensorless FOC uses an observer to estimate rotor position and needs a start-up routine.

Who writes it in China

Three groups: motor and drive makers who develop firmware for their own drivers; drive solution houses (方案公司), concentrated in Shenzhen, that develop firmware and driver boards for appliance and tool brands; and motor-control chip makers that publish free FOC libraries and tuning tools for their microcontrollers. Most solution houses deliver programmed boards or encrypted binaries; buying the source code is a separate negotiation.

Tuning and configuration tools

Industrial drives come with PC software for parameters, auto-tuning, oscilloscope traces and firmware updates; drone ESCs use phone apps or data-link boxes. Some makers publish these tools for download, others provide them on request. Our driver and maker pages list the tools each maker offers.

What to put in your RFQ and contract

  • Control method and feedback (six-step / FOC; Hall, sensorless or encoder) and the command interface and protocol (e.g. Modbus RTU, CANopen CiA 402, EtherCAT).
  • A versioned default parameter file per part number, and which parameters are locked.
  • Firmware version control: version marked on the label or readable over the bus, and written notice before any change.
  • Programming in production with read-out protection, and an end-of-line record per serial number (firmware version, checksum, calibration such as Hall offset or encoder alignment).
  • Update path (bootloader, service tool, OTA) and who may perform updates in the field.
  • IP: binary only, licensed source, or source in escrow if the supplier stops supporting the product; check that no copyleft (GPL) code is embedded if you need closed firmware.
  • Safety and security where relevant: IEC 60730-1 Annex H Class B software for household appliances, IEC 61800-5-2 safety functions such as safe torque off for drives, ISO 26262 for automotive parts, and signed firmware with secure boot for connected products.

Connected products in the EU

Wireless products sold in the EU must meet the cybersecurity requirements of the Radio Equipment Directive from 1 August 2025 (harmonised standards EN 18031). The Cyber Resilience Act adds obligations for products with digital elements: vulnerability reporting from 11 September 2026 and full requirements from 11 December 2027. A motor drive with Wi-Fi, Bluetooth or app control falls in scope — ask the supplier how firmware is signed, updated and supported.

Sourcing a motor or production equipment from China? We can find and contact the right factories for you in Chinese. Ask on WhatsApp →