I am studying robotics and I am focusing on trajectory planning.
I have been struggling with this topic for a while, and I still have some doubts that I cannot solve. One of them is the following:
I was solving a problem for training which required this:
A robot joint should perform a rest-to-rest rotation $\Delta \theta $ in a total time $T$ by using a bang-coast-bang acceleration profile with symmetric acceleration and deceleration phases, each of duration $Ts = \frac{T}{4}$. Given a maximum joint velocity $V_{max} > 0$ and a maximum bound $A_{max} > 0$ for the absolute value of the joint acceleration, find the minimum time $T_{min}$ in this class of trajectories such that the motion is feasible.
I think that for let understand my doubts, I have to first say how I thought to tackle the problem, even if it is clearly the wrong way.
My idea for solving this proble was to find the maximum velocity, which is:
$V_{max}=\frac{T}{4}$
and from it derive the time $T$, which in my opinion was the minimum motion of time because it is referred to the maximum velocity. So, I thought the minumum time velocity to be:
$T = \frac{4V_{max}}{A}$
but this is obviusly wrong. Infact, when I went looking for the solution that my professor proposed for this exercise, the correct way was the following:
where there are also numercal values for the quantities, which I did not included in the question.
After seeing the solution, most concept where clarified. For example, I have understood that I should have calculated the minimum motion time for completing the otion(so for completing the total displacement) on the displacement from zero to $T$.
But there is still something I don't understand. In the solution, my professor derived a velocity $V$ and a displacement $\Delta \theta _s$ where this displacement is the displacement from zero to $\frac{T}{4}$ and it is equal to the displacement from $\frac{3T}{4}$ to $T$.
So, with this quantities he has computed the total displacement as :
$\Delta \theta = 2\Delta \theta _s+V\frac{T}{2}$
and from it he computed the acceleration and the velocity. Then he substitute in these the limit velocity and acceleration and then computed the minimum time trajectory.
But why he needed to compute both acceleration and velocity form the total displacement?
And what is $V=\frac{T}{4}$ that he computed in the beginning? Shoudn't this be the maximum velocity?
I have a lot of doubts on this, sice I do not understand also what are $A=\frac{16\Delta \theta }{3T^{2}}$ and $V=\frac{4\Delta \theta }{3T}$
And also, why there is the need to compute the time both from the acceleration and form the velocity?
Can somebody please help me understand?