Measured rms value through Simulink with STM32F407 is varying very slowly after changing input?

조회 수: 2 (최근 30일)
I am using STM32F407 microcontroller with Simulink. After taking the input samples through ADC i convert it to voltage and then measure the rms value using RMS block in DSP system toolbox. I have used running rms for rms computation. I am getting the measured rms value at the LCD but when i remove the input i.e. 0V, the LCD or even LEDs do not respond instantaneously rather the value starts decreasing and gets to zero in almost minutes i.e. 4-5 min from 115V. I want help to understand what is the reason for this slow response in rms computation and is there any solution for it?

답변 (2개)

nitish agarwal
nitish agarwal 2016년 5월 3일
Hey, I am facing the same difficulty. I am using DRMS block. If u have rectified the problem then pls let me know
  댓글 수: 1
muhammad saad  malik
muhammad saad malik 2016년 5월 18일
use the rms block in dsp system toolbox with "entire input" as the selection preceded by a buffer with number of samples in one cycle as the value in first box. Leave the remaining boxes as it is.

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


Ahmet yüksel
Ahmet yüksel 2018년 3월 12일
Hey, I am facing the same difficulty. I am using DRMS block. If u have rectified the problem then pls let me know. how to solve this error. may you help me please
  댓글 수: 1
muhammad saad  malik
muhammad saad malik 2018년 3월 12일
use the rms block in dsp system toolbox with "entire input" as the selection preceded by a buffer with number of samples in one cycle as the value in first box. Leave the remaining boxes with their default values.

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

카테고리

Help CenterFile Exchange에서 Signal Attributes and Indexing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by