I understand that you want to simulate a Current Source Inverter (CSI) using Space Vector Modulation (SVM) in MATLAB, here are some steps you can follow through,
- Start by defining the parameters of your CSI system, including the DC link voltage, modulation index, and switching frequency.
- Create the reference current waveform that you aim to achieve using SVM. Typically, this waveform comprises three-phase sinusoidal currents.
- Implement the SVM algorithm to determine the switching states of the CSI switches based on the reference current waveform.
- Utilize the determined switching states to generate Pulse Width Modulation (PWM) signals for the CSI switches.
- Simulate the CSI system by modelling switches, inductors, and capacitors, and applying the PWM signals to the switches.
- Analyse the simulation results to evaluate the performance of the CSI system.
For implementing SVM for a CSI system in MATLAB, you can refer to the following example code,
Iref = m*sin(2*pi*fsw*t);
Vref = sqrt(2/3)*Vdc*m*sin(2*pi*fsw*t_svm);
PWM1 = (t >= T1) & (t < T2);
PWM2 = (t >= T2) & (t < T3);
PWM0 = (t >= T3) | (t < T1);
The above code provides a basic framework for simulating a CSI system using SVM in MATLAB. You will need to fill in the missing parts specific to your system, such as modelling the switches, inductors, and capacitors, and analysing the simulation results.
For modelling switches, inductors, and capacitors in the CSI system simulation, leverage MATLAB's Simscape Electrical toolbox. This toolbox furnishes a comprehensive array of components and blocks for power electronic system modelling,
- For switches, employ the "Ideal Switch" block from the Simscape Power Systems toolbox, specifying switch states based on SVM-generated PWM signals.
- Model inductors using the "Inductor" block, defining inductance values and terminal connections.
- For capacitors, utilize the "Capacitor" block, specifying capacitance values and terminal connections.
You can also refer to the following documentation links for further information,
Hope this helps!