IDEAS home Printed from https://ideas.repec.org/a/gam/jeners/v14y2021i12p3491-d573843.html
   My bibliography  Save this article

Implementation of Extended Kalman Filter with Optimized Execution Time for Sensorless Control of a PMSM Using ARM Cortex-M3 Microcontroller

Author

Listed:
  • Justas Dilys

    (State Research Institute Center for Physical Sciences and Technology, Sauletekio Ave. 3, LT-10257 Vilnius, Lithuania
    Vilnius Gediminas Technical University, Naugarduko 41, LT-03227 Vilnius, Lithuania)

  • Voitech Stankevič

    (State Research Institute Center for Physical Sciences and Technology, Sauletekio Ave. 3, LT-10257 Vilnius, Lithuania
    Vilnius Gediminas Technical University, Naugarduko 41, LT-03227 Vilnius, Lithuania)

  • Krzysztof Łuksza

    (Department of Power Electronics and Electrical Machines, Gdansk University of Technology, ul. Sobieskiego 7, 80-216 Gdansk, Poland)

Abstract

This paper addresses the implementation and optimization of an Extended Kalman Filter (EKF) for the Permanent Magnet Synchronous Motor (PMSM) sensorless control using an ARM Cortex-M3 microcontroller. A various optimization levels based on arithmetic calculation reduction was implemented in ARM Cortex-M3 microcontroller. The execution time of EKF estimator was reduced from 260.4 μs to 37.7 μs without loss of accuracy. To further reduce EKF execution time, the separation of a Kalman gain and covariance matrices calculation from prediction and measurement state update, a novel method was proposed, and the performance of it an EKF estimator with separation of a Kalman gain and covariance matrices calculation from prediction and measurement state update was analyzed. Simulation and experiments results validate that the proposed technique could provide the same accuracy with less computation time. A tendency of minimum Kalman gain and covariance matrices calculation frequency from rotor electrical frequency was analyzed and are presented in the paper.

Suggested Citation

  • Justas Dilys & Voitech Stankevič & Krzysztof Łuksza, 2021. "Implementation of Extended Kalman Filter with Optimized Execution Time for Sensorless Control of a PMSM Using ARM Cortex-M3 Microcontroller," Energies, MDPI, vol. 14(12), pages 1-16, June.
  • Handle: RePEc:gam:jeners:v:14:y:2021:i:12:p:3491-:d:573843
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1996-1073/14/12/3491/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1996-1073/14/12/3491/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Wei, Zhongbao & Zhao, Jiyun & Ji, Dongxu & Tseng, King Jet, 2017. "A multi-timescale estimator for battery state of charge and capacity dual estimation based on an online identified model," Applied Energy, Elsevier, vol. 204(C), pages 1264-1274.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Lorenzo Carbone & Simone Cosso & Mario Marchesoni & Massimiliano Passalacqua & Luis Vaccaro, 2021. "State-Space Approach for SPMSM Sensorless Passive Algorithm Tuning," Energies, MDPI, vol. 14(21), pages 1-11, November.
    2. Christian Aldrete-Maldonado & Ramon Ramirez-Villalobos & Luis N. Coria & Corina Plata-Ante, 2023. "Sensorless Scheme for Permanent-Magnet Synchronous Motors Susceptible to Time-Varying Load Torques," Mathematics, MDPI, vol. 11(14), pages 1-20, July.
    3. Alessandro Benevieri & Lorenzo Carbone & Simone Cosso & Krishneel Kumar & Mario Marchesoni & Massimiliano Passalacqua & Luis Vaccaro, 2022. "Surface Permanent Magnet Synchronous Motors’ Passive Sensorless Control: A Review," Energies, MDPI, vol. 15(20), pages 1-26, October.
    4. Karol Kyslan & Viktor Petro & Peter Bober & Viktor Šlapák & František Ďurovský & Mateusz Dybkowski & Matúš Hric, 2022. "A Comparative Study and Optimization of Switching Functions for Sliding-Mode Observer in Sensorless Control of PMSM," Energies, MDPI, vol. 15(7), pages 1-17, April.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Shujuan Meng & Binyu Xiong & Tuti Mariana Lim, 2019. "Model-Based Condition Monitoring of a Vanadium Redox Flow Battery," Energies, MDPI, vol. 12(15), pages 1-16, August.
    2. Hossam M. Hussein & Ahmed Aghmadi & Mahmoud S. Abdelrahman & S M Sajjad Hossain Rafin & Osama Mohammed, 2024. "A review of battery state of charge estimation and management systems: Models and future prospective," Wiley Interdisciplinary Reviews: Energy and Environment, Wiley Blackwell, vol. 13(1), January.
    3. Ma, Zeyu & Yang, Ruixin & Wang, Zhenpo, 2019. "A novel data-model fusion state-of-health estimation approach for lithium-ion batteries," Applied Energy, Elsevier, vol. 237(C), pages 836-847.
    4. Hu, Xiaosong & Feng, Fei & Liu, Kailong & Zhang, Lei & Xie, Jiale & Liu, Bo, 2019. "State estimation for advanced battery management: Key challenges and future trends," Renewable and Sustainable Energy Reviews, Elsevier, vol. 114(C), pages 1-1.
    5. Son, Donghee & Song, Youngbin & Park, Shina & Oh, Junseok & Kim, Sang Woo, 2025. "Online state-of-charge and capacity co-estimation for lithium-ion batteries under aging and varying temperatures," Energy, Elsevier, vol. 316(C).
    6. Jiang, Cong & Wang, Shunli & Wu, Bin & Fernandez, Carlos & Xiong, Xin & Coffie-Ken, James, 2021. "A state-of-charge estimation method of the power lithium-ion battery in complex conditions based on adaptive square root extended Kalman filter," Energy, Elsevier, vol. 219(C).
    7. Liu, Guoan & Xu, Cheng & Li, Haomiao & Jiang, Kai & Wang, Kangli, 2019. "State of charge and online model parameters co-estimation for liquid metal batteries," Applied Energy, Elsevier, vol. 250(C), pages 677-684.
    8. Zhongbao Wei & Feng Leng & Zhongjie He & Wenyu Zhang & Kaiyuan Li, 2018. "Online State of Charge and State of Health Estimation for a Lithium-Ion Battery Based on a Data–Model Fusion Method," Energies, MDPI, vol. 11(7), pages 1-16, July.
    9. Marcin Szott & Marcin Jarnut & Jacek Kaniewski & Łukasz Pilimon & Szymon Wermiński, 2021. "Fault-Tolerant Control in a Peak-Power Reduction System of a Traction Substation with Multi-String Battery Energy Storage System," Energies, MDPI, vol. 14(15), pages 1-23, July.
    10. Yang, Bowen & Wang, Dafang & Yu, Beike & Wang, Facheng & Chen, Shiqin & Sun, Xu & Dong, Haosong, 2024. "Research on online passive electrochemical impedance spectroscopy and its outlook in battery management," Applied Energy, Elsevier, vol. 363(C).
    11. Goh, Taedong & Park, Minjun & Seo, Minhwan & Kim, Jun Gu & Kim, Sang Woo, 2018. "Successive-approximation algorithm for estimating capacity of Li-ion batteries," Energy, Elsevier, vol. 159(C), pages 61-73.
    12. Zhu, Yunlong & Dong, Zhe & Cheng, Zhonghua & Huang, Xiaojin & Dong, Yujie & Zhang, Zuoyi, 2023. "Neural network extended state-observer for energy system monitoring," Energy, Elsevier, vol. 263(PA).
    13. Kiarash Movassagh & Arif Raihan & Balakumar Balasingam & Krishna Pattipati, 2021. "A Critical Look at Coulomb Counting Approach for State of Charge Estimation in Batteries," Energies, MDPI, vol. 14(14), pages 1-33, July.
    14. Shaofei Qu & Yongzhe Kang & Pingwei Gu & Chenghui Zhang & Bin Duan, 2019. "A Fast Online State of Health Estimation Method for Lithium-Ion Batteries Based on Incremental Capacity Analysis," Energies, MDPI, vol. 12(17), pages 1-11, August.
    15. Miaomiao Zeng & Peng Zhang & Yang Yang & Changjun Xie & Ying Shi, 2019. "SOC and SOH Joint Estimation of the Power Batteries Based on Fuzzy Unscented Kalman Filtering Algorithm," Energies, MDPI, vol. 12(16), pages 1-15, August.
    16. Dong, Zhe & Liu, Miao & Guo, Zhiwu & Huang, Xiaojin & Zhang, Yajun & Zhang, Zuoyi, 2019. "Adaptive state-observer for monitoring flexible nuclear reactors," Energy, Elsevier, vol. 171(C), pages 893-909.
    17. Liu, Chang & Wang, Yujie & Chen, Zonghai, 2019. "Degradation model and cycle life prediction for lithium-ion battery used in hybrid energy storage system," Energy, Elsevier, vol. 166(C), pages 796-806.
    18. Gu, Xin & Li, Jinglun & Zhu, Yuhao & Wang, Yue & Mao, Ziheng & Shang, Yunlong, 2023. "A quick and intelligent screening method for large-scale retired batteries based on cloud-edge collaborative architecture," Energy, Elsevier, vol. 285(C).
    19. Yu, Miao & Zhu, Yuhao & Gu, Xin & Li, Jinglun & Shang, Yunlong, 2024. "Co-estimation and definition for states of health and charge of lithium-ion batteries using expansion," Energy, Elsevier, vol. 308(C).
    20. Ali Saadon Al-Ogaili & Ishak Bin Aris & Renuga Verayiah & Agileswari Ramasamy & Marayati Marsadek & Nur Azzammudin Rahmat & Yap Hoon & Ahmed Aljanad & Ahmed N. Al-Masri, 2019. "A Three-Level Universal Electric Vehicle Charger Based on Voltage-Oriented Control and Pulse-Width Modulation," Energies, MDPI, vol. 12(12), pages 1-20, June.

    More about this item

    Keywords

    PMSM; sensorless; EKF; ARM; fast execution;
    All these keywords.

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jeners:v:14:y:2021:i:12:p:3491-:d:573843. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.