# Ackerman Steering

The ackerman steering is used in car-like vehicles. The basic idea consists of rotating the inner wheel slightly sharper than the outer wheel to reduce tire slippage.

With the track width \(w\) (the lateral wheel separation), the wheel base \(l\) (the longitudinal wheel separation), \(\phi_i\) the relative steering angle of the inner wheel, \(\phi_o\) the relative steering angle of the outer wheel and \(r\) the distance between ICC (instantaneous center of curvature) and the center of the car.

The ackerman steering equation can then be derivated quite easily by considering the three triangles formed by the vertical side \(l\) and the side \(r\) plus or minus \(\frac{w}{2}\). So we get

\[\begin{array}{rl}\tan \phi &= \frac{l}{r}\\\tan \phi_i &= \frac{l}{r+w/2}\\\tan \phi_o &= \frac{l}{r-w/2}\\\end{array}\]

By subtracting the reciprocal of the latter two equations, we arrive at the ackerman steering equation:

\[\frac{1}{\tan \phi_i} - \frac{1}{\tan \phi_o} = \cot\phi_i - \cot\phi_o = \frac{r+w/2}{l} - \frac{r-w/2}{l} = \frac{w}{l}\]

Equivalently, the two cotangents can be expressed with base angle \(\phi\) as follows:

\[\begin{array}{rl}\cot \phi_i &= \cot\phi - \frac{w}{2l}\\\cot \phi_o &= \cot\phi + \frac{w}{2l}\\\end{array}\]

These equations have a problem if \(\phi=0\), since \(\cot(0)\) is not defined. However, when considering the fact that \(\cot\alpha = \frac{\cos\alpha}{\sin\alpha}\), we can reformulate the equations as

\[\begin{array}{rl}\phi_i &= \tan^{-1}\left(\frac{2l\sin\phi}{2l\cos\phi - w\sin\phi}\right)\\\phi_o &= \tan^{-1}\left(\frac{2l\sin\phi}{2l\cos\phi + w\sin\phi}\right)\\\end{array}\]

##Kinematic model for ackerman steering vehicles

A kinematic model for a car-like vehicle can be formulated quite easily. Considering the state of the vehicle is represented as a quadruple \((x, y, \theta, \phi)\), with \(\theta\) being the heading and \((x,y)\) the position in the world. The most important thing about the ackerman steering is that the rotational center is between the back wheels. Given the speed \(s\) of the vehicle we get

\[\dot{x} = s\cos\theta\\\dot{y} = s\sin\theta\\\dot{\theta} = \frac{s}{l} \tan\phi \approx \frac{s}{l}\phi\]

(Max taylor approximation error of the tangent simplification is about \(3^\circ\) at \(30^\circ\) steering lock)