英文:
Matlab/Simulink how to phase shift a signal
问题
For the simulation of an electronic circuit, I need three PWM signals with a constant duty cycle of 50% and a phase shift of 120° but with variable frequency. I didn't find a suitable block in the library, so I tried it myself. The generation of the PWM was not the problem. The solution for the phase shift was adapted from here, but I was wondering if there is an easier solution? This significantly reduces simulation speed. Does anybody have an idea?
Many thanks in advance!
英文:
For the simulation of an electronic circuit, I need three PWM signals with a constant duty cycle of 50 % and a phase shift of 120° but with variable frequency. I didn't find a suitable block in the library, so I tried it myself. The generation of the PWM was not the problem. The solution for the phase shift was adapted from here, but I was wondering if there is an easier solution? This significantly reduces simulation speed. Does anybody have an idea?
Many thanks in advance!
答案1
得分: 1
If anybody has a similar problem: My idea with the "variable phase shift" block is way too complicated. Just use the "variable time delay" block
英文:
If anybody has a similar problem: My idea with the "variable phase shift" block is way to complicated. Just use the "variable time delay" block
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论