Hey yall,
So I have a control system that regulates the current sent to a proportional valve based off of the position of the rocker arm I am trying to move. I also have a failsafe system that reads the state of the system and if those states have surpassed certain thresholds, the system goes into a safe state.
Now, I'm having problems trying to figure out how to make these things run in parallel. I want the control system constantly delivering input currents to the valve while simultaneously monitoring the outputs and if the outputs are past the threshold, it stops the control system and puts the spool in the valve back to the center position. Anyone know how I should go about this?