An improvement to a prosthetic device which provides a spring member between first and second structural members that are rotatably connected to one another, the spring member providing predictable resistance as it is compressed by the rotation of the first and second structural members with respect to each other. The known resistance of the spring is used as an input to a model controlling a motor control circuit to provide counter-torque as rotational torque is applied to compress the spring.