A device and system for controlling an actuated prosthesis. The device includes a data signal input for each of the main artificial proprioceptors. Also, means for obtaining a first and a second derivative signal for at least some of the data signals, and means for obtaining a third derivative signal for at least one of the data signals. A set of first state machines, and means for generating the phase of locomotion portion using the states of the main artificial proprioceptors, and a second state machine as also included. The system includes a plurality of main artificial proprioceptors as well as means for obtaining a first and a second derivative signal for at least some of the data signals, and means for obtaining a third derivative signal for at least one of the data signals. Also, a set of first state machines, a second state machine, means for storing a lookup table, means for determining actual coefficient values from the lookup table, means for calculating at least one dynamic parameter value of the actuated prosthesis using the lookup table and at least some of the data signals, and means for converting the dynamic parameter value into an output signal to control the actuated prosthesis.