Technical Articles and Newsletters

Third-Party Products: Control Design for Power Electronics: Batteries, Motors, and Power Conversion

The more-electrification trend in key industries has increased engineers’ need for cohesive tools to design, prototype, and deploy their power electronics control systems. With Simulink®, Simscape™, and third-party products, engineers can design control algorithms graphically and then simulate them together with accurate models of batteries, motors, and power converters. They can perform rapid control prototyping (RCP) and hardware-in-the-loop (HIL) testing to verify these algorithms. They can then generate production-ready C or HDL code from the algorithms to run on MCUs, DSPs, and FPGAs.

Batemo: Batemo Cells

Batemo Cells are high-precision models of lithium-ion battery cells, including popular cells used in battery systems. The models are based on physical cell geometry and describe the inherent chemical processes even under extreme conditions where conventional models fail, including high currents, low states of charge, and extreme temperature ranges. The battery models can be incorporated into system models as Simulink blocks for real-time simulation and verification.

Speedgoat: Real-Time Target Machines

Speedgoat offers high-performance, real-time target machines for RCP and HIL testing of power electronics applications. Typical applications include prototyping battery management systems (BMSs) for electric cars, HIL testing motor controllers, and prototyping power converter controls. Engineers can deploy their Simulink control algorithms onto Speedgoat hardware to connect to power converters and motors. HIL testers can run deterministic Simscape based models of electrical systems, including switching dynamics, power sources, and loads. Speedgoat offers specialized configurations for prototyping battery management systems, enabling engineers to quickly connect their hardware to complex electrical motor, battery pack, or drivetrain models.

Microchip: Motor and Controller Model Libraries and MPLAB® Device Blocks

Microchip provides blocksets for simulating and deploying motor and power control algorithms to PIC32 and SAM microcontrollers and dsPIC® digital signal controllers. The Motor Control Library Blockset contains Simulink blocks for motor control applications, including reference frame transforms, a proportional-integral controller, and trigonometric functions. The Motor Model Library adds a Simulink model for simulating permanent-magnet synchronous motors. For deploying control algorithms onto hardware, MPLAB® Device Blocks for Simulink provide peripheral blocks for digital and analog I/O, counters and timers, pulse width modulation motor control, and more. You can add these peripheral blocks to your Simulink models and then generate C/C++ code to run on PIC32, SAM, or dsPIC devices.

NXP: Model-Based Design Toolbox

NXP’s Model-Based Design Toolbox is a toolchain for configuring and generating software to execute motor control algorithms on NXP processors. The toolbox provides a Simulink blockset for peripheral devices such as PWM, A/D, and CAN, as well as optimized motor control blocks for Park and Clarke transforms and digital filters. The toolbox is integrated with an Embedded Coder® target for generating and deploying code onto NXP processors and performing software-in-the-loop and processor-in-the-loop testing. The NXP Model-Based Design Toolbox supports Motor Control Blockset™ with examples that can be deployed to S32K microcontrollers.

Published 2020