Difference of sine waveform in simulink and real-time
3 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
Kiran Kintali
2024-3-25
编辑:Kiran Kintali
2024-3-25
You may find this workflow useful: https://www.mathworks.com/help/hdlcoder/ug/generate-hdl-code-from-simscape-model.html
>> 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.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!