Derivative of state '1' in block 'PP_poly/Integrator1' at time 0.0 is not finite.

์กฐํšŒ ์ˆ˜: 1 (์ตœ๊ทผ 30์ผ)
Dogukan
Dogukan 2023๋…„ 4์›” 24์ผ
๋‹ต๋ณ€: Sam Chak 2023๋…„ 4์›” 25์ผ
Hi, I am working on a simulink simulation of an autonomous three wheeled vehicle. My system right now is,
And I am getting not finite error from the integrator block that comes after inverse kinematics block. I know the reasons why simulink gives this error but I can not see why I am getting it. I tried to saturated integrator and memory block to prevent this but it didnt work. The inputs I am giving to integator are,
The signals are important for me, so I can not change their behaviour or anything.
  ๋Œ“๊ธ€ ์ˆ˜: 4
Dogukan
Dogukan 2023๋…„ 4์›” 25์ผ
@Sam Chak Sure, here you can see they are all nan. I am kinda confused why it is nan at the start.
Dogukan
Dogukan 2023๋…„ 4์›” 25์ผ
ํŽธ์ง‘: Dogukan 2023๋…„ 4์›” 25์ผ
@Sam Chak Okay I fixed it with MATLAB Function block where I put a if statement that if time is equal to zero then make these two signal zero and it fixed the problem thank you for your helps.

๋Œ“๊ธ€์„ ๋‹ฌ๋ ค๋ฉด ๋กœ๊ทธ์ธํ•˜์‹ญ์‹œ์˜ค.

๋‹ต๋ณ€ (1๊ฐœ)

Sam Chak
Sam Chak 2023๋…„ 4์›” 25์ผ
It's good to hear that your problem is solved now. I moved my comment to the Answer section because it helped you to figure out what went wrong. If you find the tips helpful, please consider accepting โœ” and voting ๐Ÿ‘ on the answer. Thanks!
โ€“ โ€“ โ€“ โ€“ โ€“ โ€“ โ€“ โ€“ โ€“ โ€“ โ€“ โ€“ โ€“ โ€“ โ€“ โ€“ โ€“ โ€“ โ€“ โ€“ โ€“ โ€“ โ€“ โ€“ โ€“ โ€“ โ€“ โ€“ โ€“ โ€“ โ€“ โ€“ โ€“ โ€“ โ€“ โ€“
Can you right-click to show the value labels on the selected signals? It helps to investigate the issue. Something like shown below:

์นดํ…Œ๊ณ ๋ฆฌ

Help Center ๋ฐ File Exchange์—์„œ String์— ๋Œ€ํ•ด ์ž์„ธํžˆ ์•Œ์•„๋ณด๊ธฐ

ํƒœ๊ทธ

์ œํ’ˆ


๋ฆด๋ฆฌ์Šค

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by