For the engineers who specify the monitoring layer inside a plant, the real change in predictive maintenance is not the algorithm — it is where that algorithm now executes. Modern microcontrollers and digital-signal controllers carry the sensing front end, the deterministic control loop, and the inference engine on one die, so anomaly detection no longer has to travel to a control room. This article takes a component-level look at two embedded edge AI reference implementations that Electronicseng readers can benchmark against their own designs: Microchip's dsPIC33A digital-signal controller applied to DC arc fault detection, and Texas Instruments Inc.'s MSPM0G5187 MCU applied to gearbox fault detection. A typical embedded monitoring node still combines sensors, DC/DC converters, and signal-conditioning circuitry with an MCU or processor plus a communication interface; what has changed is the intelligence packed into that MCU.
Reading the benefits as a procurement argument rather than a slogan makes the trade-off clearer:
Once fault detection and inference are built on AI models, robustness improves materially, because training can target high-accuracy inference across many fault conditions. The same models can be served from cloud servers or from edge devices.
Historically the cloud was the default: larger models demand computing capability that effectively confines them to servers. Edge AI became practical as smaller, more efficient models appeared and embedded MCUs and processors gained performance.
The hardware picture differs sharply from a server rack. Edge AI silicon runs continuously in harsh settings that include vibration and high temperatures. Selection therefore becomes a balance of speed, low-power capability, size, memory capacity, and computational performance. MCUs with AI support also provide deterministic real-time operation, which is what makes sampling and control-loop timing predictable.
A third architecture option is the smart sensor with an embedded AI chip: such a device watches its own sensor data, runs embedded AI algorithms, diagnoses issues, and raises fault alerts without an intermediate controller.
Embedded AI is generally built on machine learning (ML). These models learn patterns and produce inferences that support accurate anomaly detection; decision trees, support-vector machines, and random forests are the common model families. Deep learning (DL) is the subset of machine learning that relies on artificial neural networks: it addresses complex patterns but asks for more computational and memory resources.
Arc faults originate from power spikes, insulation degradation along the power transmission path, degradation in semiconductor devices or passive components used for power conversion, and load failures. They create safety hazards for both personnel and equipment, and the arc signature is application-specific: an arc from an electric-vehicle battery disconnect does not look like an arc from a solar inverter.
DC power transmission has expanded notably in recent years, with solar energy generation representing DC generation and EV charging stations representing DC load. Unlike AC systems, DC arc faults have no zero-crossing, so they can be self-sustaining. Series DC arcs in solar panels, formed along a single conductor wire, are especially hard to catch because the total current falls only slightly amid normal load fluctuations.
The bottleneck for a usable ML model is data scarcity. Customer arc datasets are proprietary and are not normally shared by embedded controller manufacturers. The practical workaround for validating the ML toolchain is the publicly available IEEE low-voltage DC arc datasets, which Microchip Technology Inc. uses in its arc fault-detection reference design.
Microchip's dsPIC33 digital-signal controllers (DSCs) pair a digital-signal processing (DSP) engine with integrated high-performance peripherals such as analog-to-digital controllers (ADCs), targeting precision motor control, digital power conversion, and advanced sensing. Inside that family, the dsPIC33A is Microchip's most advanced series: a 32-bit CPU running at 200-MHz, a high-speed DSP engine executing single-cycle multiply-accumulate instructions for numerical processing, and a double-precision floating-point unit for math operations.
The analog and mixed-signal budget is what distinguishes this part for arc detection: a 12-bit ADC capable of up to 40 mega samples per second (MS/s), 100-MHz gain-bandwidth op amps, 5-ns comparators, and 1-MS/s digital-to-analog converters. Where a general-purpose MCU handles events with multistep interrupt service routines (ISRs), the dsPIC33 uses a single-step ISR with context register switching to save critical context, compressing a typical 20-instruction ISR to four to six instructions.
The measured consequence: fast ISR response combined with 200-MHz operation pulls interrupt latency to less than 0.18 µs, versus 0.4 µs for a general-purpose MCU running at 120 MHz. That headroom is what allows time-critical work such as real-time arc fault detection and system shutdown.
Software support decides whether such hardware can actually be deployed in real-time applications. Microchip's MPLAB ML development suite converts raw sensor data in both time and frequency domains into statistically meaningful features, then trains and evaluates multiple algorithms to identify the best-performing model, covering model training, validation, and optimization and generating a C API that runs on the MCU.
Against the IEEE DC arc datasets, MPLAB ML completed training in just 13 minutes. The decision-tree-based model generated for the dsPIC33A DSC was extremely compact: a size of only 1,142 bytes, utilizing 1,336 bytes of SRAM and 4,522 bytes of flash, with a latency of 0.6584 ms and 100% accuracy on the DC arc dataset. A rules-based series fault-inference approach under the same conditions reached only 57% accuracy. A reference design built on the dsPIC33AK128MC102 DSC is available.

Figure 1: Microchip's arc-fault reference design combines IEEE low-voltage DC arc datasets with MPLAB ML to produce a compact decision-tree model that reaches 100% accuracy. Source: Microchip Technology Inc.
A neural processing unit (NPU) is a specialized hardware accelerator tuned for neural-network computation. Although less flexible than a DSP engine, an NPU delivers better speed/performance/power trade-offs for DL models that need extensive matrix-multiplication work, such as convolutional neural network (CNN)-based AI inference. Integrating the NPU inside the MCU offloads computationally intensive tasks from the main CPU, raising inference speed while cutting power consumption.
Texas Instruments Inc.'s (TI's) MSPM0G5187 MCU embeds a TinyEngine NPU inside a CPU based on a 32-bit Arm Cortex M0+ core. That NPU can perform 640–2,560 mega operations per second on pretrained CNN models, and it has been shown to use 120× less energy per inference and have 90× lower latency than software-based AI on the Arm core.
The toolchain side is TI's CCStudio Edge AI Studio, a graphical environment for model development, training, and compilation. Besides the pretrained models in the TI Model Zoo, developers can bring their own models or train models with custom data; the neural-network compiler converts trained ML models into optimized C code for the specific hardware and enables seamless deployment to either the NPU or the CPU.
TI demonstrated edge AI analytics on the MSPM0G5187 MCU for gearbox fault detection: sensors monitor vibration patterns and ML algorithms flag anomalies, moving industrial systems such as gearboxes and motors from reactive toward predictive maintenance. 1D CNNs are highly effective for time-domain analysis of sensor data such as vibration patterns.
The vibration dataset behind the model was generated with SpectraQuest's Gearbox Fault Diagnostics Simulator. It holds recordings from four sensors placed in four different directions, with the load varying from 0% to 90%, and this open-source dataset covers both healthy and broken-tooth gearboxes. Eight trained models were created to run on the MCU using the vibration dataset. As Figure 2 illustrates, the optimized AI-based model reaches 99.9% accuracy versus traditional rules-based detection.

Figure 2: TI's gearbox fault detection example pairs CCStudio Edge AI Studio with vibration-based ML, reaching 99.9% accuracy on an optimized model versus rules-based detection. Source: Texas Instruments Inc.
| Selection criterion | Microchip dsPIC33A DSC | TI MSPM0G5187 MCU |
|---|---|---|
| Compute structure | 32-bit CPU at 200-MHz plus DSP engine and double-precision FPU | 32-bit Arm Cortex M0+ CPU with integrated TinyEngine NPU |
| Accelerated workload | Single-cycle multiply-accumulate, numerical processing, small tree/ML models | Matrix multiplication for CNN inference (1D CNN time-domain analysis) |
| Analog front end | 12-bit ADC up to 40 mega samples per second (MS/s), 100-MHz op amps, 5-ns comparators, 1-MS/s DAC | Vibration sensing through external sensors feeding the MCU |
| Timing behaviour | Interrupt latency less than 0.18 µs versus 0.4 µs at 120 MHz | 90× lower latency than software-based AI; 120× less energy per inference |
| Toolchain | MPLAB ML, training in 13 minutes, C API generation | CCStudio Edge AI Studio, TI Model Zoo, neural-network compiler to C |
| Reported model result | 1,142 bytes model, 1,336 bytes SRAM, 4,522 bytes flash, 0.6584 ms, 100% (vs. 57% rules-based) | Eight models, 99.9% accuracy on optimized model (vs. rules-based) |
| Typical fault domain | DC arc faults in solar and EV charging paths | Gearbox and motor degradation in rotating machinery |
Work through these items before committing a part to a maintenance-analytics bill of materials:
The arc-fault example is the counter-argument: a decision-tree model of 1,142 bytes reached 100% accuracy on the same dataset. Model size and model value are not the same variable, and smaller, more efficient models are exactly what unlocked embedded deployment.
Series DC arcs in solar panels produce only a small drop in overall current amid load fluctuations, and DC arcs lack the AC zero-crossing, so they can be self-sustaining. Signature-based inference, not a threshold, is what makes detection workable.
It is the opposite on flexibility: an NPU is less flexible than a DSP engine, in exchange for better speed/performance/power trade-offs on matrix-multiplication-heavy CNN workloads.
Traditional rules-based detection is the baseline both examples beat — 57% versus 100% in arc inference, and an optimized model at 99.9% in the gearbox demonstration.
Large plants with hundreds of machines accumulate communications overhead; high-frequency vibration, current, and temperature streams overload bandwidth and add latency before any model runs.
Start from the fault physics rather than the AI label: decide whether your signal is a sub-microsecond shutdown problem (favoring the dsPIC33 family's single-step ISR and high-speed peripherals) or a vibration-pattern classification problem (favoring an NPU-based MCU such as the MSPM0G5187). Where an evaluation path exists, use the published reference design based on the dsPIC33AK128MC102, and reproduce the training run through MPLAB ML and CCStudio Edge AI Studio on the open datasets before committing custom data. Keep the smart-sensor architecture in the comparison when board area or the signal-conditioning chain is the constraint. Finally, put the accuracy delta and the memory footprint of the compiled model into the same review document as the supply-agreement terms: detection performance only matters if the part stays available for the maintenance cycle it protects.
The inference step. Fault detection and the response decision run close to the machine, so only high-level information is sent to the central network, cutting bandwidth, storage, and dependence on connectivity.
DC arc faults lack zero-crossing, which lets them sustain themselves, and series arcs along a single conductor produce only a slight current reduction against a background of load fluctuation.
In Microchip's figures, compressing a typical 20-instruction ISR to four to six instructions with single-step ISR context switching yields interrupt latency of less than 0.18 µs at 200-MHz, versus 0.4 µs for a general-purpose MCU at 120 MHz.
Yes, when open data is available. MPLAB ML trained on the IEEE DC arc datasets in 13 minutes, and TI's demonstration used SpectraQuest's open-source Gearbox Fault Diagnostics Simulator recordings; CCStudio Edge AI Studio also accepts models brought in by developers.
Choose by workload. Multiply-accumulate numeric control and compact ML models fit a DSP engine; CNN-style time-domain vibration classification fits an NPU, where TI reports 120× less energy per inference and 90× lower latency than software-based AI.
Anchoring analytics in the die changes the buying conversation: latency budgets, memory footprint, and dataset availability now sit beside price and lead time on the same scorecard. Teams that evaluate edge AI silicon against the fault physics they actually face — arc initiation in a DC path or tooth degradation in a gearbox — will ship monitoring that acts locally, reports conservatively, and keeps the control loop deterministic.