Simulink Integrator block: how to
조회 수: 4 (최근 30일)
이전 댓글 표시
Hi:
I'm trying to figure out how exactly the integrator block (Simulink) works, I mean, How can be calculated manually? (e.g. if a ramp signal is integrated, a parabola is obtained)
Thanks.
댓글 수: 0
답변 (2개)
Andreas Goser
2013년 12월 19일
Simplified, it is new_value equals old_value plus increase and the increase is gradient divided by step size. The question now is how deep you are in math, e.g. for an university student of engineering I would recommend different material than if you are going to college.
ES
2013년 12월 19일
What do you mean by how exactly? integration of ramp is indeed a parabola.. example y=mx, integration of y=integration(mx)=(mx^2/2) which is indeed a parabola's equation..
댓글 수: 8
ES
2013년 12월 20일
You dont need an equation to integrate. As I said before, integration is merely area under curve. suppose your sample time is 0.1 seconds, so your time signal is [0,0.1,0.2,0.3,0.4,...]. Your Actual Signal may be [0,4,2.3,-3.4,3,...]. corresponding to the time values defined above. lets assume t1=time[0]=0; t2=time[0]=0.1; dt=t2-t1=0.1; signal has changed from 0.4 t0 2.3. This region is almost a trapezoid. area under this curve is a the area of trapezium within these lines(x=0 [for y-axis or t1=0],y=0[for x-axis], x=0.1 [for t2=0.1] and y=mx+c where m=2.3/0.4 indicating slope].. Thus the total area is calculated as an summation of such tiny areas.
Now what I have described above is simple, it is called trapezoidal integration. The normal integration is similar in concept but more continuous and more generic.
참고 항목
카테고리
Help Center 및 File Exchange에서 General Applications에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
