process model in idproc starts below zero despite normalization and constraints

I am trying to estimate a second-order plus time delay (SOPTD) process model using MATLAB’s System Identification Toolbox. However, in some cases, the estimated model does not start from zero, even though my input data is normalized and clamped to ensure non-negative values. and somecases they start above zero
I have tried several steps to fix this:
  1. Adding an offset to the normalized data to avoid negative values.
  2. Setting the process gain (Kp) to 1 and fixing it.
  3. Setting constraints on the time delay (Td) and ensuring it is non-negative
Despite these attempts, 5 out of my 20 plots still exhibit negative values at the start. I need help understanding why this happens and how to ensure the model never goes negative.

2 Comments

Hi Khadijeh,
Kindly let me know the version of MATLAB you are currently using to reproduce the issue.
Thanks

Sign in to comment.

Asked:

on 2 Oct 2024

Commented:

on 3 Oct 2024

Community Treasure Hunt

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

Start Hunting!