A Dual-Core dsPIC 20 kHz Current Loop for a DC Servomechanism: Floating-Point Versus Q15 Fixed-Point Implementation

This work presents a dual-core embedded architecture for inner–outer loop control of a brushed DC servomechanism based on a dsPIC33CH128MP202 digital signal controller. The secondary core executes the PWM-synchronized current loop at 20 kHz and computes online performance and timing statistics, while the main core handles the incremental encoder, host communication, and inter-core data exchange. Three control schemes are evaluated on the same plant over five runs: direct PWM, a floating-point proportional-integral (PI) current controller, and the same discrete PI law in Q15 fixed-point arithmetic. The maximum observed loop execution times were 9.17 µs, 31.74 µs, and 10.50 µs, respectively, within the 50 µs sampling period. Independent oscilloscope measurements produced 9.19, 30.45, and 10.50 µs. Q15 reduced the maximum execution time by 66.9% and increased the timing margin from 18.26 to 39.50 µs. The two PI implementations showed no observable difference in position response and nearly identical steady-state current-loop RMSE values. The measurements show that Q15 implementation recovers substantial current-loop timing margin without measurable degradation in closed-loop performance, while also confirming the expected reduction in computational cost of fixed-point arithmetic. Current-reference tests from ±0.25 to ±1.00 A and emulated additional inertias were added for both PI implementations to examine current-loop accuracy and load sensitivity.

Authors

Institutions

Publication Details

Journal
Electronics
Published
2026-09-09
DOI
https://doi.org/10.3390/electronics15184073
Primary Topic
Sensorless Control of Electric Motors
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Dual-Core dsPIC 20 kHz Current Loop for a DC Servomechanism: Floating-Point Versus Q15 Fixed-Point Implementation

A. Soria
Electronics
Sensorless Control of Electric Motors
article

A Dual-Core dsPIC 20 kHz Current Loop for a DC Servomechanism: Floating-Point Versus Q15 Fixed-Point Implementation

A. Soria
article en

Abstract

This work presents a dual-core embedded architecture for inner–outer loop control of a brushed DC servomechanism based on a dsPIC33CH128MP202 digital signal controller. The secondary core executes the PWM-synchronized current loop at 20 kHz and computes online performance and timing statistics, while the main core handles the incremental encoder, host communication, and inter-core data exchange. Three control schemes are evaluated on the same plant over five runs: direct PWM, a floating-point proportional-integral (PI) current controller, and the same discrete PI law in Q15 fixed-point arithmetic. The maximum observed loop execution times were 9.17 µs, 31.74 µs, and 10.50 µs, respectively, within the 50 µs sampling period. Independent oscilloscope measurements produced 9.19, 30.45, and 10.50 µs. Q15 reduced the maximum execution time by 66.9% and increased the timing margin from 18.26 to 39.50 µs. The two PI implementations showed no observable difference in position response and nearly identical steady-state current-loop RMSE values. The measurements show that Q15 implementation recovers substantial current-loop timing margin without measurable degradation in closed-loop performance, while also confirming the expected reduction in computational cost of fixed-point arithmetic. Current-reference tests from ±0.25 to ±1.00 A and emulated additional inertias were added for both PI implementations to examine current-loop accuracy and load sensitivity.

ElectronicsVol. 15(18)
Instituto Politécnico Nacional (MX), Centro de Investigación y de Estudios Avanzados del Instituto Politécnico Nacional (MX)
Openalex Percentile: Top 20%
Sensorless Control of Electric Motors
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.