Matlab/Simulink如何对信号进行相位移动

huangapple go评论98阅读模式
英文:

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!

Simulation

英文:

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!

Simulation

答案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

simulation

英文:

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

simulation

huangapple
  • 本文由 发表于 2023年6月30日 04:25:46
  • 转载请务必保留本文链接:https://go.coder-hub.com/76584402.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定