Simulink IGBT block control issue
Show older comments
Hi all!
I have a simulink project for just trying out IGBT blocks, where at a later stage I will use them for IGBT inverter simulations.
At the moment, I am just doing some testing, where it just looks like (or appears like) I can't turn off the IGBT transistors, no matter what gate 'voltage' I apply to their gates.
I have included an example (attached). When I 'run' my example simulink project, the voltage measurement scope will show zero volt - no matter what value of 'voltage' that I apply to the gate. In the project setup, I have arbitrary set the gate voltages to -500 (negative 500) volt.
I can get a 500 volt measurement to show on the scope only if I remove one of the IGBT blocks (or remove both IGBT blocks).
In my screenshot - I have added some comments to let everyone know the general details of the screenshot. I'm just attempting to find out the reason for the voltage measurement being zero volt, regardless of the applied gate voltage. I have found that the voltage measurement becomes 500V when one or both IGBT are removed.

Fig (above) - using project ibgt_switching.slx - has port 3 connected to GND, and 4 connected to -500 volt, with gate voltages connected to -500 volt. I am expecting the scope voltage measurement to be 500 volt. But the scope voltage measurement turns out to be zero volt.

Fig (above) - scope voltage measurement is showing zero volt.
The following screenshots (below) are for the case where I have removed one of the IGBT blocks from the vertical branch. The simulink project file for this is attached too. And it can be seen in the screenshots that we have 500 volt being measured by the scope.

Fig (above) - using project ibgt_switching_1.slx - showing one of the IGBT blocks removed. The simulation scope voltage gives the desired voltage of 500 volt.

Fig (above) - scope voltage measurement is showing 500 volt.
Also - related - but not directly to my main question. I notice that the gate of these IGBT blocks can be connected to a 'constant' block. But the gates of these IGBT blocks don't seem to be able to be connected to signal lines. For example, when I try to connect the gate of the IGBT to the lines connected to port #3 or port #4 etc, I find that the line connection cannot be made (ie. a black coloured line does not form). Could someone let me know as well if it is actually possible to connect the gate of these IGBT blocks to the usual signal lines?
Thanks very much!
1 Comment
Answers (2)
Umar
on 8 Jul 2024
0 votes
Hi Kenny,
Sorry to hear that you are having difficulties.
You mentioned, At the moment, I am just doing some testing, where it just looks like (or appears like) I can't turn off the IGBT transistors, no matter what gate 'voltage' I apply to their gates.I have included an example (attached). When I 'run' my example simulink project, the voltage measurement scope will show zero volt - no matter what value of 'voltage' that I apply to the gate. In the project setup, I have arbitrary set the gate voltages to -500 (negative 500) volt. I can get a 500 volt measurement to show on the scope only if I remove one of the IGBT blocks (or remove both IGBT blocks).In my screenshot - I have added some comments to let everyone know the general details of the screenshot. I'm just attempting to find out the reason for the voltage measurement being zero volt, regardless of the applied gate voltage. I have found that the voltage measurement becomes 500V when one or both IGBT are removed.
The most probable cause of this issue is a misconfiguration or a conflict within the IGBT blocks themselves. It seems that the IGBT blocks are not responding correctly to the gate voltage changes, leading to a constant zero voltage measurement.To address this issue, you can try the following steps:
Check Circuit Connections: Ensure that the connections between the IGBT blocks and ports 3 and 4 are correct and there are no short circuits.
Check IGBT Block Parameters: Verify the parameters of the IGBT blocks in the Simulink project. Ensure that the gate voltage settings are correctly configured.
Simulation Settings: Review the simulation settings to ensure that there are no constraints or limitations that might be preventing the IGBT transistors from turning off.
Gate Voltage Application: Double-check the method used to apply gate voltages to the IGBT transistors. Ensure that the values are being correctly passed and interpreted by the simulation.
Isolate Components: Remove any other components connected to ports 3 and 4 to isolate the measurement setup. This will help identify if any external factors are influencing the voltage readings.
Inspect Wiring: Examine the wiring for any signs of damage, wear, or incorrect routing. Faulty wiring can introduce interference or short circuits that affect voltage measurements.
Simulation Debugging: Use debugging tools within Simulink to track the behavior of the IGBT blocks during simulation. This can help identify any anomalies or unexpected behavior.
Regarding to query#2, Also - related - but not directly to my main question. I notice that the gate of these IGBT blocks can be connected to a 'constant' block. But the gates of these IGBT blocks don't seem to be able to be connected to signal lines. For example, when I try to connect the gate of the IGBT to the lines connected to port #3 or port #4 etc, I find that the line connection cannot be made (ie. a black coloured line does not form). Could someone let me know as well if it is actually possible to connect the gate of these IGBT blocks to the usual signal lines?
The root cause of this problem lies in the configuration of the IGBT block in Matlab Simulink. The gate of an IGBT block is typically connected to a 'constant' block for static input values. However, attempting to connect it directly to signal lines from specific ports results in connection failure.
To address this issue and enable the connection of the gate of an IGBT block to signal lines in Matlab Simulink, you can use a workaround by introducing a Signal Builder block. The Signal Builder block allows you to create custom signal waveforms that can be connected to the gate of the IGBT block.Here is an example code snippet demonstrating how to connect the gate of an IGBT block to a Signal Builder block in Matlab Simulink:
% Create a Signal Builder block
signal_builder_block = add_block('built-in/Signal Builder', 'YourModel/Signal Builder');
% Connect the Signal Builder block to the gate of the IGBT block
add_line('YourModel', 'Signal Builder/1', 'IGBT_Block/G');
% Configure the signal waveform in the Signal Builder block as needed
By using the Signal Builder block as an intermediary, you can establish a connection between the gate of the IGBT block and signal lines from specific ports in Matlab Simulink.
By implementing these solutions and preventive measures, you can effectively address the connection issue related to IGBT blocks in Matlab Simulink and enhance the functionality of your simulation models.
Umar
on 8 Jul 2024
0 votes
Hi Kenny,
To simulate a 500-volt reading on a scope using an IGBT block in Simulink, you need to correctly wire the gate, collector, and emitter terminals. Here's a detailed guide on how to achieve this:
Wiring Configuration:
Gate Terminal: The gate terminal of the IGBT block is used to control the switching behavior of the transistor. Connect an appropriate signal source (e.g., a Pulse Generator block) to the gate terminal to control the IGBT's switching.
Collector Terminal: The collector terminal is where the main current flows through the IGBT. Connect the load that you want to switch using the IGBT to the collector terminal.
Emitter Terminal: The emitter terminal is the reference point for the current flow. Connect the emitter terminal to the ground or reference node of your circuit.
Voltage Source:
To simulate a 500-volt reading on a scope, you need to provide a 500-volt input to the collector terminal of the IGBT. You can achieve this by connecting a DC Voltage Source block set to 500 volts to the collector terminal.
Scope Configuration:
Connect a Scope block to the collector terminal to monitor the voltage waveform. Configure the Scope block to display the voltage waveform in volts. Simulation:
Once you have wired the IGBT block and configured the voltage source and scope, run the simulation. The scope should display a 500-volt waveform corresponding to the input voltage provided to the collector terminal.
Follow these instructions and update me with test results.
5 Comments
Umar
on 9 Jul 2024
Hi Kenny,
I don’t have access to simulink to view the files. So, I am trying my best to help you out. What you mentioned, the root cause of this issue lies in the simulation setup or the configuration of the IGBT modules within the Simulink project. It seems that the gate voltage values are not being properly interpreted or applied in the simulation.To address the problem, check the following:
1. Gate Voltage Application: Ensure that the gate voltage values are correctly assigned in the simulation setup. 2. IGBT Module Configuration: Verify the IGBT module configurations, including gate control and connections, to ensure proper functioning. 3. Simulation Settings: Review the simulation settings to guarantee that the simulation is running as expected without any errors or warnings.
Please let me know if you have further questions.
Umar
on 10 Jul 2024
Hi Kenny,
I went through second time to review your comments to make sure if I missed anything, but then this comment caught my attention,” I am just doing some testing, where it just looks like (or appears like) I can't turn off the IGBT transistors, no matter what gate 'voltage' I apply to their gates.” As I mentioned before that I don’t have access to Simulink but still have experience to navigate you in the right direction. In order to turn turn off the IGBT transistors, you need to provide a control signal to the gate of the transistor. This control signal can be a logical signal (0 or 1) that determines the state of the IGBT (ON or OFF). Try generating a gate signal that transitions from ON to OFF. You can use a Signal Builder block, a Step block, or any other signal generation block to create this signal. Then, connect the gate signal to the gate input of the IGBT block in your Simulink model. This connection will control the switching behavior of the IGBT transistor. Run the simulation in Simulink to observe the behavior of the IGBT transistors, you should see the transistors turning off based on the gate signal you provided.
I do understand your concerns. My goal is to help people succeed, achieve their goals. Correct me if I am wrong but it sounds like this is what started the whole experiment with scope, deleting one IGBT block to pinpoint the root cause. Hope my suggestions and guidance can help you accomplish your goal now.
Categories
Find more on Power Converters in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


