track position using a feedback

조회 수: 2 (최근 30일)
karthik pakala
karthik pakala 2017년 7월 12일
편집: karthik pakala 2017년 7월 13일
Hi, I have designed a controller using simulink. This model controls the velocity reference. Now,i want to give the controller a position reference and it should be able to reach the position given as the reference. For this, the following steps follow:
1) Position reference is given 2) Position converted to velocity signal 3) Velocity will be controlled until the vehicle reaches the defined position
I have seen the second order integrator which converts the given velocity into position, But i am not quite sure as to how to use this. Any help is much appreciated
Thank You

답변 (1개)

Naty Shemer
Naty Shemer 2017년 7월 12일
Hey,
It's a bit hard without a code example. In general once you have managed to complete the velocity loop and control it as desired it is now defined as the inner loop. You need to complete the PID (or different controller) for the outer loop.
  댓글 수: 1
karthik pakala
karthik pakala 2017년 7월 13일
편집: karthik pakala 2017년 7월 13일
Thank You Naty for your response. I have tried to do that and surprisingly i get the signal starting at the value specified as the reference and is stabilizing at double the value. i.e., if i give the system '10' as the reference to track, this is what i get(please refer the figure)
the major problem comes using the differentiation and integrator blocks. They integrate it numerically resulting in a zero change in the position while the system actually has some constant velocity which makes no sense for real scenario.If i can get the position out of the velocity vector which should be changing with a constant velocity as in the real environment, the problem is solved.(Here, once the velocity is constant the position is simply settling at zero as opposed to a constant position change)
any advice is much appreciated thank you

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

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by