Optimal control: non-zero target control

AI Thread Summary
The discussion focuses on optimizing control for a robotic arm with two joints to reach a specific wrist position, where the target control signal remains non-zero even upon reaching the target. The proposed cost function incorporates both the target position and control signal, accounting for the arm's state prior to applying the target control. Challenges arise due to friction and the arm's hanging position, which affect the final wrist position despite achieving the target. Participants inquire about the implementation details, including measurement methods and potential errors in control signal generation. The conversation emphasizes the need for a clearer formulation of the control problem to address these complexities effectively.
diminho
Messages
3
Reaction score
0
Dear all,

I am building an arm with 2 joints(elbow, shoulder) and want to optimally control it to a particular position(wirst). The examples I saw so far(e.g. acrobot) have a target control signal u(t_f) which becomes zero when reaching the target x_{target} in the final time step t_f.
In my case, the target control signal is not zero when reaching the target which can be any point in the horizontal plane within the range of the wrist(the arm is hanging down). My idea was to specify the target control as well as the target position which should be reached. So, the cost function
J=\frac{1}{2}x(t_f)^TS_fx(t_f)+\frac{1}{2}\int^{t_f}_{t_0}(x(t)^TQx(t)+u(t)^TRu(t))dt
becomes
J=\frac{1}{2}(x(t_f)-x_{target}^T)S_f(x(t_f)-x_{target})+\frac{1}{2}\int^{t_f}_{t_0}((x(t)-x_{target})^TQ(x(t)-x_{target})+(u(t)-u_{target})^TR(u(t)-u_{target}))dt
(see scholarpedia->optimal control for notation)
As I am building a real system with friction the target control u_{target} does not always lead to the same position. The position where the wrist ends up depends in which state the arm was before the target control is applied.
So, although the wrist is at the correct position it gets penalized for not having the "correct" controls.

Does anyone of you have an idea how to formulate this problem?

PS: x contains the angles of the joints and the angle velocities.
 
Engineering news on Phys.org
Does no one have any idea? I really need helkp here:/
 
Have you identified the reason the target control signal is not zero when the target is reached. Is it too little or too much?

How are you implementing this control. How is X(t) measured? How is U(tf) generated? Are you using a microcomputer to solve the function? Could you be getting digitization errors?
 
The reason why there is nearly for all positions non-zero target control is that the arm is currently hanging down. I also put it in the horizontal plane, but the tendons pull the arm for some positions, too.

x(t)=[elbow, shoulder, elbowVelocity, shouldervelocity] is measured using rel. encoder with 333 steps/degree-> very precise. The control is generated using artificial muscles. I am using a Simulink and a PCI card to generate the signals. There might be some delay between setting the control and the generation of the torque using the muscles.
 
I'm sorry but I do not understand your expressions. Would you be able to go through one or the other and explain each term and how you arrived at it?

Thanks.
 
Hi all, I have a question. So from the derivation of the Isentropic process relationship PV^gamma = constant, there is a step dW = PdV, which can only be said for quasi-equilibrium (or reversible) processes. As such I believe PV^gamma = constant (and the family of equations) should not be applicable to just adiabatic processes? Ie, it should be applicable only for adiabatic + reversible = isentropic processes? However, I've seen couple of online notes/books, and...
I have an engine that uses a dry sump oiling system. The oil collection pan has three AN fittings to use for scavenging. Two of the fittings are approximately on the same level, the third is about 1/2 to 3/4 inch higher than the other two. The system ran for years with no problem using a three stage pump (one pressure and two scavenge stages). The two scavenge stages were connected at times to any two of the three AN fittings on the tank. Recently I tried an upgrade to a four stage pump...
Back
Top