How to create a sawtooth generator with variable phase delay?
이전 댓글 표시
Hi, I'm doing a project about phase-shifted converter, and i need to create a sawtooth generator with a variable phase delay. In simulink library, there is a sawtooth generator but its phase delay is fixed. I tried to make a sawtooth generator basing on available sawtooth generator in simulink library with a rem function block but its result is not right. I hope you can help me. Thanks!
답변 (1개)
Sabin
2023년 3월 10일
0 개 추천
Function rem can be used having as inputs: (i) the sum between simulation time (using a clock block) and delay, and (ii) desired period. That should do the job.
카테고리
도움말 센터 및 File Exchange에서 Pulse width modulation (PWM)에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!