123 Main Street, New York, NY 10001

FOC Controller / Motion MCU Selection Guide

← Back to: Motor & Motion Control

This page distills how to choose and size a Motion MCU for FOC drives, from loop frequencies, PWM/ADC resources and feedback interfaces to multi-axis partitioning, safety hooks and vendor families, so engineering teams can quickly map each drive application to a realistic MCU class instead of guessing from MHz and Flash alone.

Why Motion MCU choice matters for FOC drives

In a modern servo or multi-axis drive, the FOC controller or Motion MCU acts as the real-time core that closes current and speed loops while coordinating PWM generation, ADC sampling and feedback processing. A single device may control one axis or several axes and can also host part of the motion planning stack, while a higher-level host CPU or PLC provides trajectories, configuration and system supervision.

Many motion projects underestimate this role during MCU selection. Clock speed and Flash size look sufficient on a selector table, but PWM units, ADC trigger schemes, timer resources and encoder interfaces turn out to be the real bottlenecks. Some encoder modes are mutually exclusive, loop update slots are narrower than expected and multi-axis loads trigger jitter once fieldbus, HMI and diagnostics are added on top of the FOC task set.

This page turns those issues into a practical Motion MCU checklist: loop frequencies and number of axes, PWM and ADC pairings, feedback interface options, safety hooks and communications partitioning, so FOC controllers can be sized with deterministic margins instead of relying on headline MHz and Flash alone.

FOC Motion MCU selection checklist and constraints Diagram with a Motion MCU in the center and surrounding blocks for real-time resources, feedback interfaces, multi-axis load and MHz or Flash, highlighting what really matters when selecting a controller. FOC / Motion MCU Selection Motion MCU / DSC PWM · ADC triggers · loops Encoders · safety hooks MHz & Flash focus under-sized real-time PWM · ADC · timers loop update budget Feedback interfaces current · encoder · Hall Multi-axis load loops · comms · safety

Motion MCU inside the servo drive stack

A typical servo or motion drive places the FOC controller or Motion MCU between the host control layer and the power stage. The host CPU, PLC or robot controller issues torque, speed or position commands, while the Motion MCU converts these into PWM patterns, precisely timed ADC triggers and closed-loop updates using current, voltage and position feedback.

On the power side, PWM outputs feed gate drivers and the inverter bridge that drives the motor phases. On the sensing side, phase or shunt currents, DC bus voltage, encoder or resolver positions and Hall signals are routed into the MCU through feedback front-ends and encoder interfaces. Fieldbus links and local HMI panels supervise operating modes and diagnostics on a slower time scale than the inner control loops.

Safety monitors and STO chains observe both the Motion MCU and the power stage. Dedicated trip inputs and status outputs allow fast torque shutdown or controlled deceleration when a fault is detected, while preserving the strict timing boundaries of the current and speed loops.

Motion MCU inside a servo drive stack Block diagram showing a host controller, Motion MCU, gate drivers and power stage, motor, feedback sensors, fieldbus and safety monitor, with signals flowing through the Motion MCU. Host CPU / PLC commands & trajectories FOC / Motion MCU PWM · ADC triggers · loops encoder / Hall interfaces Gate drivers & power stage Motor Feedback sensors current · voltage · position Fieldbus & HMI EtherCAT · panels · tools Safety monitor / STO trip inputs · status outputs

Real-time loop budget: PWM, control cycles and scheduling

The FOC controller or Motion MCU carries three core real-time duties in a motor drive: generating PWM patterns for the inverter, executing current, speed and position control loops, and scheduling all interrupts and background tasks so that deadlines are respected. PWM units define the available time window within each period, control dead-time and center-aligned or edge-aligned modes, and provide the timing reference for ADC triggers and updates.

Control loops sit on top of this timing base. Current loops are typically the fastest and run at several kilohertz, speed loops run at a lower rate and position loops are slower again. Fan and pump drives may use current loop frequencies in the 2–5 kHz range with modest speed loop updates, while general industrial servos often target 8–16 kHz current loops and 1–2 kHz speed loops. Robot joints and high-performance multi-axis systems push these numbers higher and reduce tolerance to jitter on every cycle.

The overall CPU budget scales roughly with loop frequency, per-loop computational cost and number of axes. A single-axis servo with a 10 kHz current loop and a 2 kHz speed loop on a mid-range Cortex-M4F around 100 MHz can consume a significant fraction of available cycles, leaving limited headroom for diagnostics, fieldbus stacks and local HMI. Adding extra axes or observers quickly increases the load, so loop frequencies, axis count and algorithm complexity must be balanced against the real-time resources of the chosen Motion MCU.

  • Higher loop frequencies increase CPU load and reduce slack for communications and diagnostics.
  • Additional axes scale load approximately with axis count, especially when each axis has its own current and speed loop set.
  • Advanced observers and filters improve performance but increase per-loop cost and sensitivity to jitter.
  • Scheduling must protect current and speed loops from interference by slower fieldbus or HMI tasks.
Application type Current loop Speed loop Position loop Typical MCU class
Fan / pump drive 2–5 kHz 100–500 Hz None or low rate Entry M0+/M3 or basic M4
Single-axis servo 8–16 kHz 1–2 kHz 0.5–1 kHz Mid-range Cortex-M4F / M7
High-end multi-axis / robot 10–20 kHz 2–4 kHz 1–2 kHz High-end M7 or dedicated DSC
Current, speed and position loop timing on a Motion MCU Diagram with three horizontal lanes showing fast current loops, mid-rate speed loops and slower position loops on a shared time axis, plus a CPU budget bar for different drive types. Loop timing on the Motion MCU Time base (PWM periods and loop updates) Current loop example: 10 kHz Speed loop example: 2 kHz Position loop example: 1 kHz Faster loops consume more budget and tolerate less jitter. Approximate CPU budget per drive type Fan / pump lower load Single-axis servo medium load Multi-axis / robot high load

On-chip resources that limit FOC and motion performance

Several on-chip resources in a FOC controller or Motion MCU directly limit the achievable performance of a drive: PWM and advanced timer units, ADC converters and their trigger schemes, the CPU or DSP core, and the memory and bus architecture. These blocks define how many axes can be supported, how fast the current and speed loops may run and how deterministic the control timing can be when fieldbus, diagnostics and HMI software are added.

PWM and timer subsystems should provide enough complementary channels and independent dead-time control for each three-phase bridge, along with center-aligned modes and synchronous update of all phases. ADC resources and trigger logic determine whether phase currents can be sampled at clean, repeatable instants in every PWM period, using single or multiple ADCs with interleaving where needed. The CPU or DSP core must execute the FOC and motion loops with consistent latency, and the memory system should minimise cache-induced jitter by using tightly coupled memory or carefully managed SRAM regions for critical code and data.

Different application classes push these resources to very different levels. A small fan or pump controller can work with simpler PWM units, a basic ADC and an entry-level Cortex-M0+/M3, while a general single-axis servo drive benefits from advanced timers, synchronised ADC triggers and a mid-range Cortex-M4F or M7. High-end multi-axis and robot drives typically require several advanced PWM blocks, multiple ADCs, a high-performance core or dedicated DSC and deterministic memory paths to keep multiple loops and axes inside strict timing margins.

Resource Fan / pump drive Single-axis servo Multi-axis / robot
PWM / timers Basic PWM, limited complementary outputs Advanced timer with 3 complementary pairs per axis Multiple advanced timers for several bridges or axes
ADC & triggers Single ADC, simple trigger scheme Synchronous triggers tied to PWM, dual or fast ADC Multiple ADCs with interleaving and flexible triggering
CPU / DSP core Entry-level Cortex-M0+/M3 Cortex-M4F or M7 with DSP and FPU High-end M7 or dedicated DSC for control
Memory & bus Single SRAM and Flash region Use of TCM or well-placed SRAM for control code Deterministic memory paths and controlled cache usage
Interfaces & safety hooks Basic comms and simple fault inputs Fieldbus, encoder I/F and trip inputs for torque shutdown Real-time fieldbus, multi-encoder I/F and rich safety I/O
On-chip resources that bound FOC and motion control Block diagram with a Motion MCU in the center and surrounding blocks for PWM and timers, ADC and triggers, CPU or DSP core, and memory and bus, showing how application classes demand higher levels in each block. FOC / Motion MCU on-chip resources for FOC and motion PWM / timers complementary pairs · dead-time ADC & triggers sampling window · sync to PWM CPU / DSP core M0+/M3 · M4F/M7 · DSC Memory & bus TCM · SRAM · cache control Resource demand by application class Fan / pump Single-axis servo Multi-axis / robot

Position and speed feedback on the Motion MCU

Position and speed feedback signals reach the Motion MCU through a small set of interface blocks: incremental encoder inputs, Sin/Cos channels sampled by ADCs, Hall sensor inputs and serial absolute encoder links. The encoder or resolver hardware, line drivers, isolation and resolver-to-digital front-ends sit outside this page; the focus here is on how the MCU consumes these signals and how well the on-chip peripherals support closed-loop FOC and motion control.

Quadrature encoder interfaces (QEI) handle ABZ inputs, index pulses, digital filtering and position counting, often with capture and velocity calculation modes. Sin/Cos encoders can be processed directly on the MCU by synchronised ADC sampling and CORDIC or trig libraries, or converted externally by resolver-to-digital or encoder interface ICs that feed the MCU with digital angle values. Hall sensor inputs use simple edge capture and debounce logic to support low-cost BLDC drives and coarse position or speed estimates, while serial absolute encoders rely on dedicated position interfaces or time-coherent SPI style links.

Typical combinations map naturally to MCU capabilities. A low-cost drive may combine Hall sensors with sensorless FOC observers and simple digital inputs. A mid-range servo often uses a TTL incremental encoder with an on-chip QEI block for position and speed. High-end systems tend to pair Sin/Cos or serial absolute encoders with dedicated MCU encoder interfaces or external resolver-to-digital devices, trading off MCU ADC and CPU load against interface IC cost and latency.

Feedback combination MCU-side interface Typical use case
Hall + sensorless FOC observer GPIO or timer capture for Hall edges, ADC for current sensing Low-cost BLDC fans, pumps and tools
TTL incremental encoder (ABZ + index) On-chip QEI / encoder interface with filtering and capture General industrial servo axes
Sin/Cos or serial absolute encoder ADC with synchronised sampling or dedicated serial encoder interface / SPI Robot joints, high-end multi-axis and direct-drive stages
Position and speed feedback interfaces on the Motion MCU Block diagram showing Hall sensors, incremental encoders, Sin/Cos encoders, resolver and serial absolute encoders feeding a Motion MCU through digital inputs, QEI, ADC and serial encoder interfaces. Motor Position / speed sensors Hall sensors Incremental encoder ABZ + index Sin / Cos encoder analog sine and cosine Resolver + R/D IC digital angle out Serial absolute EnDat / BiSS / SSI Motion MCU QEI · ADC · serial encoder I/F feeds FOC and motion loops QEI / encoder ADC sampling digital inputs / capture QEI / encoder interface ADC channels + CORDIC digital angle via SPI / interface serial absolute encoder link

Safety hooks and diagnostics in the Motion MCU

A Motion MCU contributes to drive safety by providing the hooks and diagnostic features that system-level safety concepts rely on. Watchdog timers, startup and runtime self-tests, trip inputs connected to PWM units and integrity mechanisms for CPU and memory enable the drive designer to detect faults, force the inverter into a safe output state and coordinate with external safety elements such as STO chains or safety PLCs.

Window and independent watchdogs monitor software execution, ideally with their own clock source. Comparator inputs routed into trip or break zones can shut down PWM outputs in hardware when overcurrent or overvoltage conditions are detected, with minimal latency. Dual-core lockstep arrangements and ECC-protected Flash and RAM help reveal random hardware faults, while clock, voltage and temperature monitors protect against out-of-range operating conditions that might compromise control behaviour or safety margins.

At the system boundary, the Motion MCU exchanges status and request signals with STO modules and safety PLCs, typically over redundant pins or encoded outputs. These hooks do not define a complete ISO 13849 or IEC 61508 architecture on their own, but they provide the building blocks needed to integrate the MCU into functionally safe motor drives, with external safety components implementing the overall safety function and target SIL or PL.

MCU feature Basic protection drive Enhanced diagnostic drive Safety-ready drive
Watchdog timers Standard watchdog Window watchdog with independent clock Window watchdog plus external supervisor
Comparator trips / PWM kill Basic fault input to PWM Configurable trip zones per bridge Dedicated trip paths with defined latency
ECC on Flash / RAM Optional error detection ECC with error reporting ECC with systematic handling in safety software
Dual-core lockstep Not required Useful for higher availability Often preferred in safety-focused designs
Monitors (clock / voltage / temperature) Basic brown-out and reset Configurable monitors with status flags Monitors tied into safety reaction paths
Safety-related I/O to STO / safety PLC Simple fault output pin Dedicated status and request pins Redundant or encoded outputs and inputs
Safety hooks and diagnostics around the Motion MCU Block diagram showing a Motion MCU with watchdogs and self-tests, comparator trips to PWM, ECC memory and handshake pins to STO or a safety PLC, illustrating how the MCU participates in motor-drive safety. Motion MCU control core + safety and diagnostics Safety logic Diagnostics and status Watchdogs & BIST window watchdog, startup tests Comparators & trips hardware PWM turn-off ECC memory Flash / RAM with error checks STO / safety PLC safety function supervisor Power stage faults (OC / OV) reset / fault lines trip inputs error flags status and request pins

Scaling Motion MCUs from single- to multi-axis systems

A Motion MCU can act as a compact single-axis drive controller, a shared multi-axis engine or an axis-level node inside a larger distributed motion system. The practical axis count for one device depends on the real-time loop budget, the number of PWM / ADC / encoder peripherals and the impact of industrial communication traffic on interrupt latency. Many medium-speed drives use one Motion MCU per axis for simplicity, while more integrated designs place two or three axes on a single device and reserve a higher-level controller for trajectory planning and coordination.

Connectivity to fieldbus and Ethernet-based networks adds another constraint. Integrated EtherCAT, PROFINET or TSN peripherals shorten the path between network frames and control loops, and often provide synchronisation pins or time-stamped events to align setpoint updates with PWM periods. External slave controllers connected over SPI or local buses decouple protocol handling but introduce additional buffering and propagation delay between network data and the Motion MCU, which must be considered when defining loop bandwidth and phase margin.

As axis count and system complexity increase, partitioning becomes essential. One common pattern keeps FOC, current limiting and basic protections on axis-level MCUs, and delegates trajectory generation, safety logic and multi-axis coordination to a domain controller or safety PLC. In very high-performance systems, FPGA fabric may share work with the MCU by handling encoder capture, PWM timing and ultra-fast trips, leaving the Motion MCU to focus on control algorithms, diagnostics and communication with the rest of the machine.

Architecture pattern Typical role of Motion MCU Axis count and use cases
Single-axis all-in-one drive FOC, motion loops, fieldbus and diagnostics on one MCU One axis per MCU, suited to compact drives and modules
Few-axis integrated drive Runs FOC and loops for two or three axes plus local comms Two to three axes per MCU in shared power stages
Axis-level node plus domain controller Axis-level FOC, protection and feedback; receives references from a higher-level controller Many axes coordinated over EtherCAT, TSN or other fieldbus
Scaling from single-axis Motion MCU drives to multi-axis systems Diagram showing a single-axis drive with one Motion MCU, a small multi-axis module with a shared MCU, and a multi-axis system with multiple axis-level MCUs connected to a domain controller over fieldbus or TSN. Single-axis drive Few-axis drive module Multi-axis motion system Axis 1 Motion MCU FOC + loops Fieldbus / TSN Axis 1 Axis 2 Shared Motion MCU 2–3 axes, FOC and loops Module fieldbus Domain controller trajectory + safety Axis A Axis MCU Axis B Axis MCU Axis C Axis MCU EtherCAT / TSN backbone

Mapping MCU and DSC families to motion-control roles

Several MCU and DSC families are widely used as FOC and motion controllers, each with different strengths in PWM resources, ADC capability, CPU or DSP performance, communication interfaces and safety documentation. Dedicated motor-control DSC lines focus on high-efficiency FOC at high switching frequencies. General-purpose MCU families provide flexible options for integrating motion control with communication stacks, HMI and system management, while crossover devices and MPU-class controllers often coordinate multiple axes and manage industrial networks.

TI C2000 and Microchip dsPIC families represent classic motor-control oriented DSC devices, combining strong PWM and ADC subsystems with DSP-style math units and mature software libraries. Families such as ST STM32G4/F3 and selected STM32F4/F7/H7 parts, Infineon XMC, Renesas RA/RX and NXP Kinetis provide ARM-based MCUs with advanced timers and analog front ends that fit a wide range of industrial drives. NXP i.MX RT, TI Sitara and similar crossover or MPU-class controllers are often used as motion or domain controllers on top of axis-level FOC MCUs.

Many of these families also offer safety-focused variants with lockstep cores, ECC-protected memories and safety manuals, which suit projects targeting functional safety standards. The table below keeps the view at the family and role level, leaving detailed device selection, lifecycle and supply-chain decisions for a dedicated sourcing and application support discussion.

Family / brand Architecture flavour Typical motion role Example application band
TI C2000 Motor-control oriented DSC Axis-level FOC and high-bandwidth servo control Medium to high-performance single-axis and small multi-axis drives
Microchip dsPIC Hybrid MCU / DSP for control Cost-sensitive FOC and discrete motor drives Fans, pumps, compressors and light industrial servos
ST STM32G4 / F3 ARM MCU with motor-control peripherals Compact drives with integrated FOC and basic comms Small servos, HVAC drives and variable-speed pumps
ST STM32F4 / F7 / H7 (selected) High-performance ARM MCU Axis-level drive with richer comms and HMI, or small motion controller Industrial servos, robotics joints and integrated drive controllers
Infineon XMC Industrial MCU with motor-control focus Drives with integrated industrial comms and FOC Industrial fans, pumps, compressors and drives with fieldbus
Renesas RA / RX ARM and proprietary MCU families FOC plus system management in long-lifecycle drives General industrial drives and motion modules with extended lifetime
NXP Kinetis (selected) ARM MCU with motor-control options Legacy and incremental motion designs Existing platforms and moderate-performance drives
NXP i.MX RT Crossover MCU with very high performance Motion or domain controller above axis-level FOC MCUs Multi-axis robotics, machine controllers and advanced HMIs
TI Sitara (selected) MPU-class controller with industrial Ethernet Central motion controller or PLC with real-time networks Robotics controllers, drive cabinets and coordinated motion systems
Safety-focused variants across families MCUs with lockstep cores and safety docs Axis or motion controllers in functional safety projects Drives targeting ISO 13849, IEC 61508 or ISO 26262 compliance
MCU and DSC family landscape for FOC and motion control Diagram mapping classic motor-control DSC families, general MCU families and crossover or MPU-class devices to axis-level FOC, integrated drives and motion or domain controllers. Axis-level FOC and drive Integrated multi-function drive Motion or domain controller Motor-control DSC families General MCU families with FOC support Crossover and MPU-class controllers TI C2000 FOC DSC dsPIC hybrid control Axis-focused FOC engines STM32G4 / F3 motor-control MCU STM32F4 / F7 / H7 high-performance MCU Infineon XMC industrial drives RA / RX long-lifecycle Drives combining FOC with comms and HMI i.MX RT crossover MCU Sitara motion / PLC Safety variants lockstep, ECC, manuals Motion and domain controllers for multi-axis systems From axis-level FOC to coordinated motion control

Design checklist and Motion MCU sizing examples

This section turns the previous topics into a practical checklist that supports early Motion MCU selection. It walks through motor type and axis count, loop frequency planning, PWM and ADC resources, feedback interfaces, communication requirements and safety hooks, then applies the same thinking to three typical drive projects: a single-axis 750 W servo, a three-axis collaborative robot joint board and a simple fan or pump drive.

Motion MCU selection checklist

  • Application and axis count – define motor type (PMSM / BLDC / ACIM / stepper / linear), DC bus voltage range and how many axes a single board or MCU is expected to control.
  • Loop frequencies and control partitioning – set target current, speed and position loop frequencies per axis, and decide which loops close on the Motion MCU and which sit in a higher-level controller.
  • PWM and ADC resources – count required complementary PWM pairs per phase, dead-time groups, brake chopper outputs, phase- and bus-current channels, temperature sensing and the number of synchronised ADC triggers each axis needs.
  • Position and speed feedback interfaces – choose between Hall, incremental encoders, Sin/Cos + ADC, resolver-to-digital devices and serial absolute encoders, then map them to QEI blocks, ADC channels and serial encoder interfaces on the MCU.
  • Communication and timing – list required interfaces such as CANopen, EtherCAT, PROFINET, POWERLINK or TSN, their cyclic update times and whether integrated industrial Ethernet peripherals or external slave controllers are preferred.
  • Safety hooks and diagnostics – decide the protection level from basic trips to safety-ready designs, and record needs for watchdogs, comparator trips, ECC memories, lockstep cores and safety I/O to STO or safety PLC modules.
  • Local HMI, logging and I/O – reserve CPU and peripherals for displays, touch or encoder inputs, local buttons, condition-monitoring ADC channels and non-volatile storage used for logging and predictive maintenance.

Example 1 – Single-axis 750 W servo drive

A 750 W class PMSM servo on a rectified mains DC bus typically closes current loops at 10–20 kHz, speed loops around 1–2 kHz and position loops at up to 1 kHz. Position feedback often comes from a TTL incremental encoder or a serial absolute encoder. The drive speaks CANopen or EtherCAT and needs fast hardware trips for overcurrent and overvoltage events. A medium- to high-performance Motion MCU or DSC with strong PWM and ADC subsystems and one encoder interface is usually a good fit.

Category Sizing result MCU-level implication
Loops and CPU 10–20 kHz current loop, 1–2 kHz speed loop, up to 1 kHz position loop ~100–200 MHz M4F/M7 or DSC, with loops using about half the CPU budget
PWM and timers Three complementary PWM pairs for the inverter, plus one brake-chopper output At least one advanced timer with three half-bridge pairs and per-leg dead-time and trip inputs
ADC and triggers Two or three phase-current channels, DC bus voltage and one or two temperature channels Synchronous sampling with PWM, fast conversion time and at least one dedicated trigger per current loop
Feedback interfaces One incremental encoder or one serial absolute encoder link One QEI block or one high-speed serial encoder interface or SPI port with time-coherent sampling
Communications CANopen or EtherCAT process data at 1 ms or below Integrated fieldbus or industrial Ethernet peripheral preferred; otherwise one fast SPI or parallel bus to a slave IC
Safety and diagnostics Hardware trips for overcurrent and overvoltage, watchdog and basic monitors Comparator inputs wired into PWM kill logic, independent watchdog and voltage or temperature monitors

Example 2 – Three-axis collaborative robot joint controller

A joint module for a collaborative robot may integrate three PMSM drives on a 48–72 V DC bus, each with current loops around 16 kHz, speed loops near 2 kHz and position loops at about 1 kHz. Each axis uses a serial absolute encoder or a Sin/Cos encoder with a resolver-to-digital device, and the module connects upstream via EtherCAT or TSN. Safety functions such as safe limited speed or safe stop are handled at system level, so the joint board must expose suitable safety hooks and often runs in a safety-ready configuration.

Architecture option Resource picture When to favour this option
One high-performance Motion MCU for three axes Nine complementary PWM pairs, multi-ADC with several synchronised triggers, three encoder or SPI interfaces, integrated EtherCAT or TSN MAC and rich trip routing Useful when compact design and tight integration are critical and a single MCU can still meet the combined loop, communication and safety timing budget
One Motion MCU per axis plus a small domain or safety controller Each axis MCU resembles the 750 W servo example; a separate controller or safety MCU manages EtherCAT or TSN, trajectory coordination and safety state machines Preferred when safety requirements are demanding, software partitioning needs to be clear or future axis count and network bandwidth may grow beyond what a single MCU can sustain

Example 3 – Simple fan or pump BLDC drive

A low- to medium-power BLDC fan or pump on a 24–48 V bus often focuses on speed control, efficiency and robust protection rather than tight position control. Hall sensors combined with sensorless observers or even purely sensorless operation are common, with current loops around 8–10 kHz and speed loops in the low hundreds of hertz. Commands may arrive via PWM, analogue inputs, UART, LIN or a basic CAN interface, and functional safety requirements are usually modest.

Category Sizing result MCU-level implication
Loops and CPU 8–10 kHz current loop, speed loop in the few hundred hertz range 48–100 MHz MCU or small DSC with moderate DSP capability is usually adequate
PWM and ADC Three complementary PWM pairs, single or dual shunt current sensing, bus voltage and temperature channels One advanced timer, a modest ADC with synchronous sampling and a small number of channels
Feedback interfaces Hall-only or Hall plus sensorless estimator, no high-resolution encoder required A few timer capture or GPIO inputs for Hall sensors and enough CPU budget for a simple observer
Communications and safety UART, LIN, PWM or CAN commands; basic overcurrent, overtemperature and undervoltage protection One or two low-cost communication interfaces plus comparator-based trips and an internal watchdog
Comparing Motion MCU resource needs for three drive examples Column diagram comparing PWM, ADC, feedback, communication, safety and CPU resource levels for a 750 W servo, a three-axis collaborative robot joint controller and a simple fan or pump drive. Motion MCU resource levels for common drive types Higher bars indicate higher demand in that resource category PWM & timers ADC & sensing Feedback interfaces Comms, safety & CPU 750 W servo 3-axis cobot joint Fan / pump High demand Medium demand Lower demand

Request a Quote

Accepted Formats

pdf, csv, xls, xlsx, zip

Attachment

Drag & drop files here or use the button below.

FAQs – Motion MCU sizing and architecture

These twelve questions collect the most common decisions that arise when selecting and sizing a Motion MCU: loop frequencies, PWM and ADC resources, feedback choices, axis count, communication, safety features, memory requirements and migration paths. Each answer points back to the relevant sections of this page and to related encoder, resolver, safety and fieldbus topics.

How many PWM channels and ADC resources are really needed for a three-phase FOC drive with shunt current sensing?

For a three-phase FOC drive, most designs need three complementary PWM pairs with independent dead-time and trip inputs, plus two or three phase-current channels, a DC bus voltage channel and at least one temperature input. Each axis also benefits from one or two dedicated ADC trigger events aligned to the PWM carrier.

When is it time to move from a generic Cortex-M MCU to a dedicated DSC for motion control?

A migration to a DSC becomes attractive when current-loop bandwidth cannot be increased without overrunning CPU time, when PWM and ADC modules are already fully occupied, or when observers and advanced diagnostics consume too much headroom. A DSC usually adds stronger math capability, richer trip logic and motor-control libraries that shorten tuning and commissioning.

What loop frequencies are realistic for low-cost fan and pump drives versus high-end servo axes?

Low-cost BLDC fans and pumps often run current loops around 8–10 kHz with speed loops in the low hundreds of hertz, which fits modest MCUs. General industrial servos commonly target 10–20 kHz current loops and 1–2 kHz speed loops, while high-end servo or robot joints push both frequencies higher and need stronger control hardware to keep worst-case latency under control.

How can CPU load be budgeted for current, speed and position loops on a single Motion MCU?

A practical approach treats each loop as a recurring time slot. Current-loop code is costed per PWM period, speed and position loops per update interval, then ISR and communication overheads are added on top. The sum should remain well below the available CPU time, with at least 30–40 percent headroom reserved for diagnostics, fault handling and worst-case jitter.

When is it acceptable to rely on on-chip encoder interfaces instead of using an external R/D or encoder IC?

On-chip encoder interfaces work well for moderate-speed TTL ABZ encoders and for many Sin/Cos encoders when ADC resolution and sampling synchronisation are sufficient. External resolver-to-digital or serial encoder ICs become attractive at very high speeds, long cable lengths, demanding position accuracy or when isolation and safety requirements push the analogue front end beyond the MCU's capabilities.

How many axes can safely be run on one Motion MCU before real-time determinism starts to break down?

A single high-bandwidth servo axis per MCU is usually straightforward. Two or three axes can share one device when PWM, ADC and encoder peripherals are sufficient and interrupt timing remains under control. Once axis count, network traffic or safety processing create frequent near-overload conditions, a partitioned architecture with axis-level MCUs and a separate motion or safety controller becomes safer.

Which MCU-side safety features matter most for STO and safe motion functions?

For STO and safe motion, key MCU-side features include comparator or trip inputs that can immediately disable PWM outputs, robust window and independent watchdogs, ECC-protected Flash and RAM, optional lockstep cores and clearly defined safety I/O for status and handshake signals. Availability of safety manuals and FMEDA data also strongly influences device suitability in certified designs.

How should Hall sensors, incremental encoders and absolute encoders be chosen for a Motion MCU design?

Hall sensors often suit low-cost fans and pumps where precise position is not required. Incremental encoders with index pulses fit many industrial servo axes that need accurate relative position. Absolute encoders, in serial or Sin/Cos form, are preferred for robotics, machine tools and safety-related drives where homing time, absolute angle and diagnostics are critical.

When is it worth paying for a Motion MCU with integrated EtherCAT or TSN instead of using an external slave controller?

Integrated EtherCAT or TSN peripherals reduce latency between network sync events and control loops, simplify timing alignment and save board area and BOM cost. External slave controllers work well when one device must serve multiple axis-level MCUs or when platform reuse is more important than tight control-loop coupling, but they introduce extra buffering and interface delays.

How much Flash and RAM are typically needed for FOC, observers and basic fieldbus on one Motion MCU?

Compact FOC implementations with simple diagnostics and lightweight communication stacks can fit into low hundreds of kilobytes of Flash and a few tens of kilobytes of RAM. Adding observers, richer diagnostics, parameter management, logging and full-featured fieldbus stacks quickly pushes requirements upward, so a generous margin in both Flash and RAM is advisable for future growth.

Can motion control and high-level application code safely run on the same MCU without destroying real-time behaviour?

Sharing one MCU between real-time motion loops and high-level application code is feasible when strict task prioritisation, bounded execution times and careful use of interrupts are enforced. Motion-critical routines must run in deterministic slots with guaranteed CPU access. Once application logic grows to uncontrolled complexity, separating motion and application processing across devices becomes safer and easier to maintain.

What is a practical migration path when an existing Motion MCU is running out of real-time headroom?

A practical path starts with profiling the existing design, trimming bottlenecks and confirming whether loop frequencies and features are genuinely required. If limits remain, a step within the same MCU family to a higher-performance or larger device preserves software investment. Persistent headroom problems often justify a move to a DSC or crossover MCU with stronger control and communication capabilities.