Hello,
I have been solving following problem. I have one speed controller and two sources of the desired speed. One source
is the CAN bus and the second one is an analog input. I need algorithm for bumpless transfer between them. For example at the CAN bus is 1000 rpm and at the analog input is 500 rpm. The speed controller uses CAN bus value and suddenly the communication fails and I should use the value at the analog input. The problem is that there is a different desired speed. If I blindly use this value, I produce sudden disturbance and it is obviously wrong. I have tried to solve this with the FSM in the attachment but I am not sure if it is applicable. Please can anybody give me his meaning about my suggestion? Thanks a lot for any ideas.
I have been solving following problem. I have one speed controller and two sources of the desired speed. One source
is the CAN bus and the second one is an analog input. I need algorithm for bumpless transfer between them. For example at the CAN bus is 1000 rpm and at the analog input is 500 rpm. The speed controller uses CAN bus value and suddenly the communication fails and I should use the value at the analog input. The problem is that there is a different desired speed. If I blindly use this value, I produce sudden disturbance and it is obviously wrong. I have tried to solve this with the FSM in the attachment but I am not sure if it is applicable. Please can anybody give me his meaning about my suggestion? Thanks a lot for any ideas.