Back to search

Chalmers University of Technology

Field-Oriented Control of PMSMs within CPU-Constrained Applications - Firmware implementation of an FOC-based control strategy, focusing on robust CPU interrupt handling

Abstract

dc:description.abstract

Abstract Efficient control of Permanent Magnet Synchronous Motors (PMSMs) is central for a wide range of applications, where Field-Oriented Control (FOC) is a commonly used control method. In embedded systems where computational resources are constrained, implementing reliable and efficient FOC can be challenging. Particularly when higher-priority tasks occupy the CPU, thereby interfering with the motor control. Ensuring smooth rotation and constant torque production is crucial regardless if the CPU is available for computing new motor control signals or not. This thesis proposes and explores an FOC-based strategy to ensure efficient control of PMSMs within CPU-constrained applications, focusing on robust interrupt handling to maintain motor performance during various operating conditions. The strategy involves pre-computing future control signals and storing them in memory so that, if closed-loop control is interrupted, the CPU peripherals can switch to open-loop control and output the pre-computed signals. The implemented strategy proved successful at maintaining the angular velocity during interrupts using openloop control, regardless of when they occur and their longevity. During interrupts, the produced torque fluctuates and the power consumption increases, but stability is maintained as long as the operating conditions remain unchanged.

Degree

thesis:*
Level thesis:degree_level
H
Department dc:contributor.department
Chalmers tekniska högskola / Institutionen för elektroteknik
Year dc:date.issued
2024

Author and committee

dc:creator, dc:contributor.*
Authors dc:creator
  • Logren, Anders
  • Johansson, Linus
Committee member dc:contributor.committeemember
  • Fredriksson, Jonas

Subjects

dc:subject × 1

Rights

Language dc:language.iso
eng

Identifiers

dc:identifier.*
Dc Identifier Coursecode
EENX30

Chain of custody

source
Harvested from
Chalmers University of Technology
Base URL
odr.chalmers.se/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Logren, Anders; Johansson, Linus. Field-Oriented Control of PMSMs within CPU-Constrained Applications - Firmware implementation of an FOC-based control strategy, focusing on robust CPU interrupt handling. H thesis, 2024. https://hdl.handle.net/20.500.12380/308007