机器人运动学(a simple car)
前言
本文參考StevenM.LaValleSteven M.LaValleStevenM.LaValle的《Planning Algorithms》,針對后驅的simple car來進行分析robot運動學。
模型簡介
模型如下,車的坐標系原點在后輪中心位置,此模型為兩輪驅動,后兩個為驅動輪,前兩個為從動輪,前兩個掌握方向,后兩個輸出速度。L為前后輪的距離,如果 ?\phi?定了,那么車將進行圓周運動,運動半徑就是ρ\rhoρ。
 運動學方程表述如下:s是車輛的速度(具有符號),就是沿著車的坐標系x軸的速度;?\phi?是車輪轉向角steering angle,圖中的車輪轉向是正值。x,y,θ\thetaθ,顯而易見。
 
運動學方程推導
當在一個非常小的時間間隔Δt\Delta tΔt內,汽車的方向大概就可以認為是后輪的朝向。當Δt\Delta tΔt趨近于0,則dy/dx=y˙/x˙dy/dx = {\dot y}/{\dot x}dy/dx=y˙?/x˙,而且在世界坐標系中 dy/dx=tan?θdy/dx = \tan \thetady/dx=tanθ ,結合 tan?θ=sin?θ/cos?θ\tan \theta = \sin\theta/\cos\thetatanθ=sinθ/cosθ可以得到Pfaffian constraint:
 ?x˙sin?θ+y˙cos?θ=0\displaystyle -{\dot x}\sin \theta + {\dot y}\cos \theta = 0 ?x˙sinθ+y˙?cosθ=0
 由這個式子可以知道, x˙=cos?θ{\dot x}= \cos \thetax˙=cosθ 和y˙=sin?θ{\dot y}= \sin\thetay˙?=sinθ滿足上面的約束或者說是上面方程的解,而且這個解的倍數也是這個方程的解。在這個模型中這個倍數就是s(車的后輪速度),所以運動學的前兩項就求出來了
 x˙=scos?θy˙=ssin?θ{\dot x}= s\cos \theta \\ {\dot y}= s\sin\theta x˙=scosθy˙?=ssinθ
 
 最后推導θ˙\dot\thetaθ˙的表達式,由這個模型知道,當?\phi?固定了,車輛行駛的弧長就是www,那么有
 dw=ρdθdw = \rho d\thetadw=ρdθ,再由ρ=L/tan??\rho = L/\tan \phiρ=L/tan?,我們能得到:
 dθ=tan??Ldw兩邊分別除以dt得θ˙=sLtan??\displaystyle d\theta = {\tan \phi \over L} dw 兩邊分別除以dt得\displaystyle {\dot \theta}= {s \over L} \tan \phi dθ=Ltan??dw兩邊分別除以dt得θ˙=Ls?tan?
運動學方程為:
 x˙=scos?θy˙=ssin?θθ˙=sLtan??{\dot x}= s\cos \theta \\ {\dot y}= s\sin\theta \\ \displaystyle {\dot \theta}= {s \over L} \tan \phi x˙=scosθy˙?=ssinθθ˙=Ls?tan?
在上面這個模型中,我們能控制的變量是速度s和車轉向?\phi?,其中s根據實際車來定,這個牽扯到動力學,而?\phi?值在(??max,?max)(-\phi_{max},\phi_{max})(??max?,?max?)之間,且?max<π/2\phi_{max}< \pi/2?max?<π/2,最小轉彎半徑為ρmin=L/tan??max\rho_{min} =L/\tan\phi_{max}ρmin?=L/tan?max?。
總結
以上是生活随笔為你收集整理的机器人运动学(a simple car)的全部內容,希望文章能夠幫你解決所遇到的問題。
 
                            
                        - 上一篇: 将ArXiv中的Reference导入E
- 下一篇: 机器人动力学(Basic Newton-
