F28379D Embedded coder_Sawtooth Wave generation

Hello community,
I am trying to generate sawtooth and Triangular waveform without using up, down and Up-down counter in TMS F28379Dprocessor. Any suggestions plzzz. I need to use Traingular form along withlogic gates for generating pulses.

답변 (1개)

Dr. Pemendra Kumar Pardhi
Dr. Pemendra Kumar Pardhi 2021년 11월 30일

1 개 추천

Hello Raja,
To generate sawtooth and triangular waveform,
You can try using the Discrete-time alternatives for Repeating Sequence such as,
  1. Repeating Sequence Interpolated
  2. Repeating Sequence Stair
More details follow he given link
https://in.mathworks.com/matlabcentral/answers/862265-code-generation-for-tms320f28379d-using-matlab-with-repeating-sequence-and-relational-operators-bloc?s_tid=srchtitle

댓글 수: 1

Raja
Raja 2021년 11월 30일
Hello Permendra.... thankyou for the response.Yes you are right when it is in open loop. When we go for closed loop with interrupt block as shown below, these things will not workout. Yes whatever you said is correct without this interrupt block

댓글을 달려면 로그인하십시오.

커뮤니티

더 많은 답변 보기:  Power Electronics Community

카테고리

도움말 센터File Exchange에서 Embedded Coder에 대해 자세히 알아보기

제품

릴리스

R2018a

질문:

2021년 11월 29일

댓글:

2021년 11월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by