Difference of sine waveform in simulink and real-time

3 views (last 30 days)
Hello,
I created sinusidal PWM signals in SIMULINK. In simulation these signal are creating a sinusoildal current by connecting to the three-phase inverter. However after generating the vhdl codes with the HDL coder and program the cyclone V device, the current waveform are like that. I was wondering if anyone can let me know why it is happening. I did not put any delays between the phases for pipelining, would it be the problem.

Answers (1)

Kiran Kintali
Kiran Kintali on 25 Mar 2024
Edited: Kiran Kintali on 25 Mar 2024
>> which sschdlexSinglePhaseInverterModel
<install root>\toolbox\hdlcoder\hdlssc\hil_examples\sschdlexSinglePhaseInverterModel.slx
See the attached pdf on what the workflow would look like using HDL Coder.

Community Treasure Hunt

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

Start Hunting!