PSIM voltage sensor Not supported in the code generation problem
Hi,
I am trying to generate pwm signal with variable frequency. For this purpose, I tried to adjust the frequency via the output error by building a small circuit, but I encountered the error seen in the image. Is there a solution to this? How can I measure the output voltage? I tried other voltage probes and got the same error in all of them.
Best Answer
-
Hi, A. Y,
Code generation function is to generate code with all the variables which are already inside the DSP.
A voltage sensor is to sense a signal from an electrical circuit and send its output to the DSP. This sensor is outside of DSP, in PSIM simulation and in a real engineering system.
DSP won't be able to read the input and output of the voltage sensor. You need to send this signal to the DSP's ADC.Sincerely,
Rhonda
1
Answers
-
Hi, A. Y,
Code generation function is to generate code with all the variables which are already inside the DSP.
A voltage sensor is to sense a signal from an electrical circuit and send its output to the DSP. This sensor is outside of DSP, in PSIM simulation and in a real engineering system.
DSP won't be able to read the input and output of the voltage sensor. You need to send this signal to the DSP's ADC.Sincerely,
Rhonda
1