Hardware-in-the-Loop (HIL) Testing of an Electric Motor Controller


This webinar will demonstrate Hardware-in-the-Loop (HIL) testing of a controller for a 3-phase inverter and permanent magnetic synchronous motor (PMSM). A MathWorks engineer will show you how to run a motor and inverter model in real-time using Simulink Real-Time and a Speedgoat Real-Time Target Machine. You will learn how to configure your model for real-time testing, control your HIL application from within Simulink, create and manage test scenarios, verify and validate functional requirements, generate test reports, and automate your regression tests in the context of Continuous Integration.


In this webinar, you will learn how to:

  • Prepare a PMSM and inverter model developed using Simscape Electrical for HIL testing
  • Control a HIL application from Simulink
  • Test a microcontroller executing field-oriented control (FOC) algorithms developed with Motor Control Blockset
  • Create and run test cases including execution instructions and assessments for the system under test using Simulink Test
  • Manage your requirements and track their implementation and verification with your model using Simulink Requirements
  • Automate your testing and reporting, and integrate it to your Continuous Integration platform

Please allow approximately 45 minutes to attend the presentation and Q&A session. We will be recording this webinar, so if you can't make it for the live broadcast, register and we will send you a link to watch it on-demand. 

About the Presenter

Pablo Romero Cumbreras is an Application Engineer at MathWorks specializing in real-time systems, verification, validation, and physical modelling. He previously worked at BMW Group modelling vehicle dynamics, and at Airbus Defence and Space validating flight control laws. He received his M.Sc. in aeronautical engineering from the Universidad Politécnica de Madrid and carried out his final project at the TU München.

Product Focus

This live webinar has ended. You can now view the on-demand webinar.

See on-demand webinars