How can I add a PS control port to a Spice imported Simscape block?

3 visualizaciones (últimos 30 días)
Niklas Schmidt
Niklas Schmidt el 30 de Sept. de 2022
Respondida: Geetla Sindhu el 4 de Oct. de 2022
Hello MATLAB Team,
recently I imported a GaN-Transistor-SPICE-file to Simscape and with your good documentation it was quite easy. For my model I need to connect the Simscape-GaN-Transistor-block with a MATLAB Function. The problem is that the Simscape-GaN-Transistor-block has no PS control port. It follows to the fact I'm not able to connect the MATLAB Function with a Simulink-PS-Converter to the Simscape-GaN-Transistor-block.
Is it possible to implement the PS control port into the Simscape-GaN-Transistor-block SOURCE CODE?
Hope for your quick help
Niklas

Respuestas (1)

Geetla Sindhu
Geetla Sindhu el 4 de Oct. de 2022
Hello Niklas,
I understand that you are trying to connect Simscape-GaN-Transistor-block with a MATLAB function or any Simulink block.
In order to solve the issue, you can try the workaround provided below:
  • Go to Simscape >> Electrical >> Semiconductors & Converters >> Gate Driver. Double click on the Gate Driver block and select the Modeling option as “Electrical input ports”.
  • An integrated circuit called a gate driver is used to control the gate, or switch, of a MOSFET. The gate driver receives a low-power PWM signal and amplifies it to produce the high current required to drive a MOSFET/switch gate.
  • Add Controlled PWM Voltage block from Simscape>> Electrical >> Integrated Circuits. Set the Modeling option as “PS input”.Like the Gate Driver block, the Controlled PWM Voltage block can be configured to take either a physical signal or electrical domain signals as inputs. In the physical signal input configuration, you can directly specify the duty cycle. The block will then output the appropriate PWM voltage based on the block parameters. The “u” port of the Controlled PWM Voltage accepts a physical signal value between 0 and 1.
Please refer to the documentation given below for further information:
Thank you.

Etiquetas

Productos


Versión

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by