F
Hi,
I have a PID controller that magnetically levitates an object. A hall sensor is currently used as the vertical position feedback. This sensor is to be substituted by a differential optic shadow sensor. Basically the sensitivity/resolution of the new sensor is greatly improved but the range in which it gives measurements its greatly reduced.
I was hoping that once the object was levitated and somewhat stabilized (with respect of the lower resolution sensor) then switch to use the more sensitive sensor. Obviously when making the change new PID constants are introduced as well. Basically switch from one PID to another on the fly.
This is done all in software and basically I just update the new constants when I make the switch and get the feedback from the new sensor. Is there any other considerations I should make when making this switch? integral accumulators etc?
Currently it stops levitating when it switches. I assume my constants are tuned incorrectly, but since the high resolution sensor has such low range its difficult to test the tuning of the constants.
Any other advice on how can I integrate this 2 sensor system?
Thanks
Fernando
I have a PID controller that magnetically levitates an object. A hall sensor is currently used as the vertical position feedback. This sensor is to be substituted by a differential optic shadow sensor. Basically the sensitivity/resolution of the new sensor is greatly improved but the range in which it gives measurements its greatly reduced.
I was hoping that once the object was levitated and somewhat stabilized (with respect of the lower resolution sensor) then switch to use the more sensitive sensor. Obviously when making the change new PID constants are introduced as well. Basically switch from one PID to another on the fly.
This is done all in software and basically I just update the new constants when I make the switch and get the feedback from the new sensor. Is there any other considerations I should make when making this switch? integral accumulators etc?
Currently it stops levitating when it switches. I assume my constants are tuned incorrectly, but since the high resolution sensor has such low range its difficult to test the tuning of the constants.
Any other advice on how can I integrate this 2 sensor system?
Thanks
Fernando