ABSTRACT
Microcontroller programming is not a trivial task. Indeed, it is necessary to set correctly the required peripherals by using programming languages like C/C++ or directly machine code. Nevertheless, MathWorks® developed a model-based workflow linked with an automatic code generation tool able to translate Simulink® schemes into executable files. This represents a rapid prototyping procedure, and it can be applied to many microcontroller boards available on the market. Among them, this introductory book focuses on the C2000 LaunchPadTM family from Texas InstrumentsTM to provide the reader basic programming strategies, implementation guidelines and hardware considerations for some power electronics-based control applications. Starting from simple examples such as turning on/off on-board LEDs, Analog-to-Digital conversion, waveform generation, or how a Pulse-Width-Modulation peripheral should be managed, the reader is guided through the settings of the specific MCU-related Simulink® blocks enabled for code translation. Then, the book proposes several control problems in terms of power management of RL and RLC loads (e.g., involving DC-DC converters) and closed-loop control of DC motors. The control schemes are investigated as well as the working principles of power converter topologies needed to drive the systems under investigation. Finally, a couple of exercises are proposed to check the reader’s understanding while presenting a processor-in-the loop (PIL) technique to either emulate the dynamics of complex systems or testing computational performance.
Thus, this book is oriented to graduate students of electrical and automation and control engineering pursuing a curriculum in power electronics and drives, as well as to engineers and researchers who want to deepen their knowledge and acquire new competences in the design and implementations of control schemes aimed to the aforementioned application fields. Indeed, it is assumed that the reader is well acquainted with fundamentals of electrical machines and power electronics, as well as with continuous-time modeling strategies and linear control techniques. In addition, familiarity with sampled-data, discrete-time system analysis and embedded design topics is a plus.
However, even if these competences are helpful, they are not essential, since this book provides some basic knowledge even to whom is approaching these topics for the first time. Key concepts are developed from scratch, including a brief review of control theory and modeling strategies for power electronic-based systems.
TABLE OF CONTENTS
chapter 1|12 pages
Advances in Firmware Design for Power Electronics Control Platforms
part I|34 pages
Embedded Development: Hardware Kits and Coding
chapter 2|12 pages
Automatic Code Generation through MATLAB®
chapter 3|12 pages
Texas Instruments™ Development Kit
chapter 4|8 pages
Software Installation
part II|2 pages
Review of Control Theory: Closing the Loop
chapter |2 pages
Introduction
chapter 5|15 pages
Designing a Closed-Loop Control System
chapter 6|20 pages
Design Example: PI-Based Current Control of an RL Load
chapter 7|12 pages
Manipulate the Variables Format: Data Types
part III|2 pages
Real-Time Control in Power Electronics: Peripherals Settings
chapter |2 pages
Introduction
chapter 8|4 pages
Basic Settings: Serial Communication COM and Hardware Target
chapter 9|6 pages
Simulink® Configuration
chapter 10|22 pages
Serial Communication Interface (SCI) Peripheral
chapter 11|18 pages
GPIO Peripheral—Digital Input/Output
chapter 12|14 pages
Analog to Digital Converter Peripheral
chapter 13|44 pages
Pulse Width Modulator Peripheral
chapter 14|12 pages
Encoder Peripheral
part IV|2 pages
Real-Time Control in Power Electronics: Applications
chapter 15|30 pages
Open Loop Control of a Permanent Magnet DC Motor
chapter 16|16 pages
Low-Side Shunt Current Sensing
chapter 17|26 pages
Current Control of an RL Load
chapter 18|32 pages
Voltage Control of an RLC load
chapter 19|46 pages
Cascade Speed Control of a Permanent Magnet DC Motor
part V|2 pages
Real-Time Control in Power Electronics: Load Emulation