From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
06-20-2008 05:43 PM
06-23-2008 12:10 PM - last edited on 03-14-2024 03:17 PM by Content Cleaner
06-23-2008 09:05 PM
Hi Damon,
I see what you mean and I tried it a few times to check my work. Unfortunately I've still got a problem. I can estimate the ARX coefficients via Excel fairly quickly and also check those given to me by LabVIEW. When I have LabVIEW estimate the coefficients, they work fine in my Excel model and when I run them through the SI Model Predictor.vi everything seems ok. However, when I enter them as Discrete Transfer Function.vi coefficients (or Discrete Filter, for that matter) the results don't match up. This is mildly frustrating since I can enter LabVIEW's coefficients in my Excel version and they agree with what the Model Predictor says they should be, and I can enter Excel's predictions into LabVIEW's Discrete Filter and those work fine too. Everything is off though when I put LabVIEW's coefficients into LabVIEW's Discrete Filter. I've included my VI if that could help diagnose the problem.
I appreciate the help.
06-25-2008 03:25 PM - edited 06-25-2008 03:31 PM
I'm not very familiar with the System Identification Toolkit, but the model that you are getting back from SysId is very suspect. Notice that all the coefficients in the numerator are extremely close to zero. I did a bit of asking around, and was told that ARX modeling is best suited for working with random stimulus; not with a deterministic signal like the ramp. I've updated your example to use OE model estimation instead of ARX model.
I also noticed that you were using the "SI Model Prediction" block to test the discrete filter from SysId. If you use the "SI Model Simulation" block, you also get a zero output with the model, which matches results using discrete filters from the Simulation Module and from Control Design. I'm not sure how you are getting the expected response in Excel using the model generated from SysId. If you post the Excel spreadsheet you are using, we may be able determine why there is a difference