TMS320F28379D sample time for control systems
조회 수: 10 (최근 30일)
이전 댓글 표시
I want to control PMSM motor with TMS320F28379. Iam using Matlab examples for code generations, the PWM frequency is given as 20khz. The sampling period is set to 1/20khz=50us. Isn't there anything strangeness here? So it doesn't require several times smaller sampling time to be able to sample a 50us PWM signal? How is the sampling time of the control system sufficient?
댓글 수: 0
답변 (1개)
KrishnaKumar
2022년 11월 14일
This is generally how most of the motor control algorithms are implemented. The sampling time is used for measuring currents, motor position and implementing control tasks. It is not used for sampling the PWM pulses.
However if you intend to simulate a motor model, then that model needs to have a lower sampling time if you need to observe the dynamic behaviour in detail.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 C2000 Microcontroller Blockset에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!