Spacecraft Control Framework 1.0
Spacecraft Control Library
Public Member Functions | List of all members
svpwm Class Reference

SVPWM Implement space vector pulsewidth modulation. More...

#include <sc_svpwm.h>

Public Member Functions

 svpwm (void)
 Constructor.
 
void initialize (double d_t, double t_update, double u_m, double u_d)
 Initialize the object.
 
void defaults (void)
 Initialize the object with the defaults.
 
void update (double t, const ml_matrix u)
 Update the switches.
 
ml_matrix get_voltage (void)
 
ml_matrix get_switches (void)
 
double get_phase_a_voltage (void)
 
double get_phase_b_voltage (void)
 
double get_phase_c_voltage (void)
 
double get_d_t (void)
 
double get_t_update (void)
 
void set_u_m (double u_m)
 

Detailed Description

SVPWM Implement space vector pulsewidth modulation.

Space vector pulsewidth modulation takes the alpha and beta voltage components and enables the switches on a 6 switch inverter to drive a 3 phase AC motor. The modulation has seven pulse subperiods each pulse period. These are arrange symmetrically about the center of the pulse. A zero pulse is at the beginning, middle and end. The order of the active pulses (for the two active space vectors) is ordered differently for even and odd sectors in the alpha-beta plane. This minimizes switches. Space vector pulsewidth modulation class definition

   Space vector pulsewidth modulation