how to get the average frequency for the hysteresis band control?

조회 수: 1 (최근 30일)
Shengnan Li
Shengnan Li 2016년 6월 16일
답변: Wilson A N 2016년 8월 8일
I am simulating a Direct torque control induction motor. Want to know the average frequency. How do i get it from the switching signals, or voltage signals? basically, i need a pulse counter, how to realize that? Thanks,

채택된 답변

Wilson A N
Wilson A N 2016년 8월 8일
As you want a pulse counter, you can model it using a triggered subsystem. The subsystem can be configured to enable on the rising edge. Implement a counter inside the subsystem using a constant block(value=1), add block and a delay block. So, each time the subsystem encounters a rising edge, it adds 1 to the previous value and starts counting.
You can refer to the following links to know more about triggered subsystems

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by