Code Generation of a boost conveter

Amirhossein Karimi
Amirhossein Karimi Altair Community Member
edited May 9 in Community Q&A
I am trying to generate a code for a boost converter to insert it in the TI F28379d launchpad board using code generation of PSIM but I am facing some issues.
More specifically, I want to capture the output voltage of my converter in the TI board and measure it with an oscilloscope. I am measuring the output voltage using a voltage sensor and then I am using the DAC so that I will be able to measure it with an oscilloscope.
 
The problem is that the code generation does not generate any code for my boost converter circuit, and I am not getting any outputs. In addition, when I try to connect the Voltage sensor to the ZOH block, I receive an error saying that the Voltage sensor block is not supported in Code Generation. It seems that Code Generations can not generate any codes for the power section of my circuit.
 
How should I get the output voltage using DAC?
 
I attached a picture of my simulation.
Thank you in advance for your help.
image
Tagged:

Answers