TW202242580A - Guidance control method for unmanned self-propelled vehicle effectively increasing the overall navigation efficiency - Google Patents

Guidance control method for unmanned self-propelled vehicle effectively increasing the overall navigation efficiency Download PDF

Info

Publication number
TW202242580A
TW202242580A TW110115173A TW110115173A TW202242580A TW 202242580 A TW202242580 A TW 202242580A TW 110115173 A TW110115173 A TW 110115173A TW 110115173 A TW110115173 A TW 110115173A TW 202242580 A TW202242580 A TW 202242580A
Authority
TW
Taiwan
Prior art keywords
center
car body
vehicle body
vehicle
steering
Prior art date
Application number
TW110115173A
Other languages
Chinese (zh)
Other versions
TWI770966B (en
Inventor
李明俊
張詠信
賴昇昊
Original Assignee
陽程科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 陽程科技股份有限公司 filed Critical 陽程科技股份有限公司
Priority to TW110115173A priority Critical patent/TWI770966B/en
Application granted granted Critical
Publication of TWI770966B publication Critical patent/TWI770966B/en
Publication of TW202242580A publication Critical patent/TW202242580A/en

Links

Images

Landscapes

  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)

Abstract

This invention provides a guidance control method for an unmanned self-propelled vehicle. The guidance control method includes the following steps: obtaining a position of a center of a vehicle body by using an automatic guidance apparatus to establish a vehicle coordinate system, and performing coordinate system conversion to establish a local coordinate system, such that the shortest distance from the center of the vehicle body to one of target points of a planned target path, a turning angle between the center of the vehicle body and the target point, and a rotation radius from the center of the vehicle body to the target point are calculated; then calculating an included angle between a current heading of the vehicle body and centers of steering wheels according to the distance from the center of the vehicle body to the center of any steering wheel, so as to determine the direction of the vehicle body to turn to, and obtaining the rotation radius and the corner of the two steering wheels according to the cosine theorem, such that a steering drive system can control the two steering wheels to turn to the corresponding positions according to the calculated turning angle and speed, so as to realize the guidance control on the unmanned self-propelled vehicle to follow the planned target path without a lot of complex operations or a long processing period. Accordingly, the overall navigation efficiency can be effectively increased.

Description

無人自走車之導引控制方法 Guidance and control method for unmanned self-propelled vehicles

本發明係提供一種導引控制方法,特別是指一種雙舵輪無人自走車之導引控制方法。 The present invention provides a guidance control method, especially a guidance control method for an unmanned self-propelled vehicle with double steering wheels.

按,現今全球少子化浪潮所導致的勞動力資源短缺與人力成本逐年提升,並逐漸由勞力密集轉型成技術密集的產業,基於各項營運成本不斷升高,要如何降低各項的成本,已成為企業是否能獲利的關鍵,而隨著自動化科技的導入、物聯網和人工智慧的快速發展,使智慧製造與智慧工廠已逐漸應用於工業生產端與製造端,也有越來越多的任務被工業機器人所取代,藉以解決勞動力資源短缺的問題。 According to the current global wave of declining birthrates, the shortage of labor resources and the increase in labor costs are increasing year by year, and gradually transforming from labor-intensive to technology-intensive industries. Based on the continuous increase in various operating costs, how to reduce various costs has become an issue. The key to whether an enterprise can make a profit, and with the introduction of automation technology, the rapid development of the Internet of Things and artificial intelligence, smart manufacturing and smart factories have gradually been applied to industrial production and manufacturing, and more and more tasks are being used Replaced by industrial robots to solve the problem of shortage of labor resources.

然而,自動導引車(Automatic Guided Vehicle;AGV)或稱無人搬運車,指的是配置有電磁式或光學式等自動導引裝置,並集合了環境感知、路徑規劃決策及無人自動操控等功能的運輸車,屬於輪式移動機器人(WMR-Wbeeled Mobile Robot)的範疇,主要功能表現為在電腦或車載系統的監控下,按照路徑規劃和作業要求,自動行走並停靠到指定地點或工作站,並完成一系列作業功能,一般自動導引車可透過車載系統或電腦控制其行進的路線,或是可利用牆壁、支柱或地面上沿著其行進的路線設立的指示標記(如電磁軌道、具有反光特性的反光片、塗漆或色帶 等定位標誌)作為導引,並在自動導引車上裝設電磁式或光學式感測器(如電磁感測器、視覺感測器、超音波感測器或雷射感測器等),以偵測指示標記作為車輛運行的定位及位置修正,除了可使車體沿著預定規畫的導引路徑自動行駛之外,且因活動區域內無需鋪設軌道、支架等固定裝置,不會受到場地、道路和空間的限制,故自動導引車被廣泛地應用於物料的自動運輸、倉庫的監視巡邏與有害場所的作業等。 However, Automatic Guided Vehicle (AGV), or unmanned guided vehicle, refers to a vehicle that is equipped with automatic guidance devices such as electromagnetic or optical, and integrates functions such as environmental perception, path planning decision-making, and unmanned automatic control. The transport vehicle belongs to the category of wheeled mobile robot (WMR-Wbeeled Mobile Robot). Its main function is to automatically walk and dock to the designated place or workstation under the monitoring of the computer or vehicle system according to the path planning and operation requirements, and To complete a series of operating functions, the general automatic guided vehicle can control its traveling route through the on-board system or computer, or can use the indicator marks set up along the route on the wall, pillar or ground (such as electromagnetic track, reflective Specific reflective sheeting, paint or ribbon and other positioning marks) as a guide, and electromagnetic or optical sensors (such as electromagnetic sensors, visual sensors, ultrasonic sensors or laser sensors, etc.) are installed on the automatic guided vehicle , using the detection indicator mark as the positioning and position correction of the vehicle, in addition to enabling the vehicle body to automatically drive along the planned guiding path, and because there is no need to lay rails, brackets and other fixed devices in the activity area, it will not Restricted by sites, roads and spaces, automatic guided vehicles are widely used in automatic transportation of materials, surveillance and patrol of warehouses, and operations in hazardous places.

傳統的自動導引車大多數的路徑規劃係為網格式點對點間相連接的線所組成的路徑,並利用上述之導引方式使自動導引車能沿著預定的路徑前進,不過上述之導引方式需使用大量複雜的運算來擷取環境中的實體標記或特徵物,才能確定自動導引車應走的方向與速度,運算處理週期較長,反而降低了整體的導航效率,且該路徑規劃也並非平滑曲線,導致自動導引車在行進的過程中會有較不平順的轉彎,其實際行進的路徑會與預定的路徑產生偏離,便需要不斷地進行位置及航向的比對與修正,即為從事於此行業者所亟欲研究改善之方向所在。 Most of the path planning of traditional automatic guided vehicles is a path composed of lines connected between point-to-point grids, and the above-mentioned guidance method is used to enable the automatic guided vehicle to advance along the predetermined path, but the above-mentioned guidance The guidance method needs to use a large number of complex calculations to extract entity marks or features in the environment to determine the direction and speed that the automatic guided vehicle should go. The calculation and processing cycle is long, which reduces the overall navigation efficiency, and the path The planning is not a smooth curve, which will cause the automatic guided vehicle to have rough turns during its travel, and its actual travel path will deviate from the predetermined path, which requires constant comparison and correction of position and heading , which is the direction that those engaged in this industry want to study and improve.

故,發明人有鑑於上述缺失,乃搜集相關資料,經由多方的評估及考量,並以從事於此行業累積之多年經驗,持續的試作與修改,始設計出此種無人自走車之導引控制方法的發明專利誕生。 Therefore, in view of the above deficiencies, the inventor collected relevant information, after various evaluations and considerations, and based on years of experience accumulated in this industry, continuous trial production and modification, he designed the guide for this kind of unmanned self-propelled vehicle The invention patent of the control method was born.

本發明之主要目的乃在於無人自走車之車體包含二個用於驅動與控制轉向之舵輪及至少二個輔助轉輪,並由自動導引裝置對車體進行位置與姿態的定位,以及生成預定規畫的目標路徑,當自動導引裝置取得車體中心的位置(如坐標與姿態角等)建立車輛坐標系,並進行坐標系 轉換建立本地坐標系,即可計算得到車體中心至預定規畫的目標路徑其中一目標點的最短距離、車體中心至目標點間之轉角,以及車體中心至目標點的旋轉半徑,再根據車體中心至任一個舵輪中心的距離計算得到車體當前的航向與舵輪中心間之夾角,便可判斷車體需要轉彎的方向,並根據餘弦定理得到二個舵輪的旋轉半徑及轉角,使轉向驅動系統可根據計算得到的轉角及速率控制二個舵輪轉向至對應的位置,從而實現對無人自走車依循預定規劃的目標路徑運行之導引控制,且不需大量複雜的運算或較長的處理週期,可有效提升整體之導航效率。 The main purpose of the present invention is that the car body of the unmanned self-propelled vehicle includes two steering wheels and at least two auxiliary runners for driving and controlling steering, and the position and attitude of the car body are positioned by the automatic guiding device, and Generate the planned target path, when the automatic guidance device obtains the position of the center of the vehicle body (such as coordinates and attitude angles, etc.), establish the vehicle coordinate system, and carry out the coordinate system By transforming and establishing the local coordinate system, the shortest distance from the center of the car body to one of the target points on the planned target path, the corner between the center of the car body and the target point, and the radius of rotation from the center of the car body to the target point can be calculated, and then According to the distance between the center of the car body and the center of any steering wheel, the angle between the current course of the car body and the center of the steering wheel can be obtained, and then the direction in which the car body needs to turn can be judged, and the rotation radius and rotation angle of the two steering wheels can be obtained according to the cosine law, so that The steering drive system can control the two steering wheels to steer to the corresponding position according to the calculated angle and speed, so as to realize the guidance control for the unmanned self-propelled vehicle to follow the planned target path without a lot of complicated calculations or long time The processing cycle can effectively improve the overall navigation efficiency.

本發明之次要目的乃在於由於車體中心與二個舵輪的幾何關係皆為固定,並在車體中心的速度V、車體中心至目標點的旋轉半徑R已知的情況下,可以得到: The secondary purpose of the present invention is because the geometric relationship between the center of the car body and the two steering wheels is fixed, and when the velocity V of the center of the car body and the radius of rotation R from the center of the car body to the target point are known, it can be obtained :

Figure 110115173-A0101-12-0003-1
Figure 110115173-A0101-12-0003-1

其中該θa為車體當前的航向與車體中心至任一個舵輪中心連線間之夾角;d為車體中心至任一個舵輪中心的距離。 The θ a is the angle between the current course of the car body and the line connecting the center of the car body to the center of any steering wheel; d is the distance from the center of the car body to the center of any steering wheel.

然後,可根據車體當前的航向與車體中心至目標點連線間之夾角θS,判斷車體需要轉彎的方向,假設θS為大於0,根據餘弦定理則可以得到: Then, according to the angle θ S between the current course of the vehicle body and the line connecting the center of the vehicle body to the target point, the direction in which the vehicle body needs to turn can be judged. Assuming that θ S is greater than 0, according to the law of cosines, it can be obtained:

Figure 110115173-A0101-12-0003-2
Figure 110115173-A0101-12-0003-2

假設θS為小於0,根據餘弦定理則可以得到: Assuming that θ S is less than 0, according to the law of cosines, it can be obtained:

Figure 110115173-A0101-12-0004-3
Figure 110115173-A0101-12-0004-3

其中該Rlf為前方舵輪的旋轉半徑;Rrr為後方舵輪的旋轉半徑;θlf為前方舵輪沿著旋轉半徑Rlf轉彎時所需的轉角;θrr為後方舵輪沿著旋轉半徑Rrr轉彎時所需的轉角。 Among them, R lf is the radius of rotation of the front steering wheel; R rr is the radius of rotation of the rear steering wheel; θ lf is the required turning angle of the front steering wheel along the radius of rotation R lf ; θ rr is the turning radius of the rear steering wheel along the radius R rr required corner.

此外,由於車體中心以等速率圓周運動時的角速率為等於二個舵輪的角速率(即ω=ωlfrr),並根據車體中心的速度V、旋轉半徑R與角速率ω間的關係(即V=R*ω)可以得到: In addition, since the angular velocity of the center of the car body is equal to the angular rate of the two steering wheels (ie ω=ω lfrr ), and according to the velocity V of the center of the car body, the radius of rotation R and the angular rate ω The relationship between (ie V=R*ω) can be obtained:

Figure 110115173-A0101-12-0004-6
Figure 110115173-A0101-12-0004-6

其中該Vf為前方舵輪的速率;Vr為後方舵輪的速率。 Among them, V f is the speed of the front steering wheel; V r is the speed of the rear steering wheel.

因此,自動導引裝置可先求得車體二個舵輪行進時所需的旋轉半徑,並回推得到二個舵輪所需的轉角,再根據速率、旋轉半徑與角速率間的關係得到二個舵輪的速率,便可藉由轉向驅動系統來控制二個舵輪轉向至對應的位置,並於轉彎時以不同的轉角與速率行進(即速度差),使車體穩定的保持在預定規劃的目標路徑上。 Therefore, the automatic guidance device can first obtain the rotation radius required by the two steering wheels of the car body when it is moving, and push back to obtain the rotation angle required by the two steering wheels, and then obtain the two according to the relationship between the speed, rotation radius and angular rate. The speed of the steering wheel can be controlled by the steering drive system to steer the two steering wheels to the corresponding position, and travel at different angles and speeds (that is, speed difference) when turning, so that the car body can be kept stably at the planned target on the path.

本發明之另一目的乃在於當車體二個舵輪的姿態為平移前進時,係先將車體在本地坐標系中的YL軸旋轉到與起始點至目標點連線形成的目標直線平行之夾角θ,且二個舵輪旋轉至夾角θ,假設目標直線分 割二段,並以夾角θ為基準,便可計算得到二個舵輪的控制量分別為θ+arctan(x/y);當車體二個舵輪的姿態為轉彎時,若是車體的姿態偏差為大於設定角度的偏差,係將二個舵輪根據車體要修正的姿態方向將控制量乘上負號,以供車體向左或向右轉彎時,其中一個舵輪的控制量為θ+arctan(x/y),而另一個舵輪的控制量則為-〔θ+arctan(x/y)〕。 Another object of the present invention is to rotate the Y L axis of the car body in the local coordinate system to the target straight line formed by connecting the starting point to the target point when the attitude of the two steering wheels of the car body is translational advancement Parallel to the included angle θ, and the two steering wheels rotate to the included angle θ, assuming that the target line is divided into two segments, and based on the included angle θ, the control quantities of the two steering wheels can be calculated as θ+arctan(x/y); when When the attitude of the two steering wheels of the car body is turning, if the deviation of the attitude of the car body is greater than the deviation of the set angle, the control amount of the two steering wheels is multiplied by a negative sign according to the attitude direction of the car body to be corrected for the direction of the car body. When turning left or right, the control quantity of one steering wheel is θ+arctan(x/y), while the control quantity of the other steering wheel is -[θ+arctan(x/y)].

本發明之再一目的乃在於當轉向驅動系統完成二個舵輪轉角的控制轉向,可由自動導引裝置計算出車體當前的位置、旋轉半徑與目標路徑間之誤差量,並根據該誤差量採用PID控制可得到車體修正後的速度及旋轉半徑,再採用逆運動學以反推的方式計算車體移動至目標路徑所需的速度或加速度,使轉向驅動系統可控制二個舵輪來修正調整車體當前的位置與旋轉半徑,直到完成該車體之路徑導引控制。 Another object of the present invention is that when the steering drive system completes the control steering of the two steering wheel angles, the automatic guidance device can calculate the error between the current position of the vehicle body, the radius of rotation and the target path, and use the error amount according to the error amount. PID control can obtain the corrected speed and radius of rotation of the car body, and then use inverse kinematics to calculate the speed or acceleration required for the car body to move to the target path in a reverse way, so that the steering drive system can control the two steering wheels to correct and adjust The current position and rotation radius of the car body until the path guidance control of the car body is completed.

1:無人自走車 1: Unmanned self-propelled vehicle

11:車體 11: car body

111:舵輪 111: steering wheel

111a:左前輪 111a: left front wheel

111b:右後輪 111b: Right rear wheel

112:轉輪 112: Runner

12:自動導引裝置 12:Automatic guidance device

121:感測器模組 121: Sensor module

122:路徑規劃單元 122: Path planning unit

13:轉向驅動系統 13: Steering drive system

〔第1圖〕係本發明無人自走車系統之示意圖。 [Fig. 1] is a schematic diagram of the unmanned self-propelled vehicle system of the present invention.

〔第2圖〕係本發明較佳實施例之步驟流程圖。 [Fig. 2] is a flow chart of the steps of the preferred embodiment of the present invention.

〔第3圖〕係本發明車體的位置與姿態進行坐標系轉換之示意圖。 [Fig. 3] is a schematic diagram of the coordinate system conversion of the position and attitude of the vehicle body of the present invention.

〔第4圖〕係本發明車體控制舵輪轉向驅動之演算法示意圖。 [Fig. 4] is a schematic diagram of the algorithm of the car body control steering wheel steering drive of the present invention.

〔第5圖〕係本發明目標路徑閉迴路導引控制之方塊圖。 [Fig. 5] is a block diagram of the target path closed-loop guidance control of the present invention.

〔第6圖〕係本發明修正車體轉彎的旋轉半徑之示意圖(一)。 [Fig. 6] is a schematic diagram (1) of the radius of gyration of the correction of the car body turning in the present invention.

〔第7圖〕係本發明修正車體轉彎的旋轉半徑之示意圖(二)。 [Fig. 7] is a schematic diagram (two) of the radius of gyration of the present invention's correction of the turning of the car body.

〔第8圖〕係本發明車體進行直線控制之示意圖。 [Fig. 8] is a schematic diagram of the linear control of the car body of the present invention.

〔第9圖〕係本發明車體相對於目標路徑的姿態方向之示意圖。 [Fig. 9] is a schematic diagram of the attitude direction of the vehicle body of the present invention relative to the target path.

〔第10圖〕係本發明車體的姿態為平移前進之轉向控制示意圖。 [Fig. 10] is the attitude of car body of the present invention is the steering control schematic diagram that translation advances.

〔第11圖〕係本發明車體的姿態修正為向左轉彎之示意圖。 [Fig. 11] is a schematic diagram showing that the attitude of the car body of the present invention is corrected to turn left.

〔第12圖〕係本發明車體的姿態修正為向右轉彎之示意圖。 [Fig. 12] is the schematic diagram that the posture correction of the car body of the present invention is turning right.

為達成上述之目的及其功效,本發明所採用之技術手段及詳細構造,茲繪圖就本發明之較佳實施例來詳加說明其構造與功能如下,俾利完全瞭解。 In order to achieve the above-mentioned purpose and its effect, the technical means and detailed structure adopted by the present invention, the drawing is hereby described in detail with respect to the preferred embodiment of the present invention.

請參閱如第1~4圖所示,係分別為本發明無人自走車系統之示意圖、較佳實施例之步驟流程圖、車體的位置與姿態進行坐標系轉換之示意圖及車體控制舵輪轉向驅動之演算法示意圖,由圖中可清楚看出,本發明之無人自走車1為包括有車體11、自動導引裝置12及轉向驅動系統13,並於車體11下方車輪模組包含二個前後對角設置之舵輪111(即驅動與控制轉向的主動輪),且二個舵輪111的轉軸上分別連接有另一對角設置之二個轉輪112(即承載或輔助轉向的從動輪),但並不以此為限,亦可在車體11適當位置單獨設置有二個或二個以上之轉輪112,且自動導引裝置12以通訊介面接收到控制管理中心下達的任務指令後,可通過車載系統或車載控制器操控轉向驅動系統13驅動車輪模組,使車體11依循預定規畫的目標路徑運行,以構成一自動導引車(AGV)、自主移動機器人(Automated Mobile Robot,AMR)或移動載具等。 Please refer to Figures 1 to 4, which are the schematic diagram of the unmanned self-propelled vehicle system of the present invention, the flow chart of the steps of the preferred embodiment, the schematic diagram of the coordinate system transformation of the position and attitude of the vehicle body, and the control steering wheel of the vehicle body Schematic diagram of the algorithm of steering drive. It can be clearly seen from the figure that the unmanned self-propelled vehicle 1 of the present invention includes a vehicle body 11, an automatic guiding device 12 and a steering drive system 13, and a wheel module is placed under the vehicle body 11. It includes two steering wheels 111 arranged diagonally front and rear (i.e. driving and steering driving wheels), and the rotating shafts of the two steering wheels 111 are respectively connected with two runners 112 arranged diagonally (i.e. carrying or assisting steering). driven wheels), but not limited thereto, two or more runners 112 can also be separately provided at appropriate positions of the car body 11, and the automatic guidance device 12 receives the information issued by the control management center through the communication interface. After the task command, the steering drive system 13 can be controlled by the vehicle-mounted system or the vehicle-mounted controller to drive the wheel module, so that the vehicle body 11 can run along the predetermined target path to form an automatic guided vehicle (AGV), autonomous mobile robot ( Automated Mobile Robot, AMR) or mobile vehicles, etc.

在本實施例中,無人自走車1係將車體11前方左側的舵輪111作為左前輪111a,車體11後方對角右側的舵輪111作為右後輪111b,用於驅動及控制轉向,但並不以此為限,亦可依車體11實際的設計來將二個舵 輪111位置改為右前輪與左後輪對角設置,再配合車體11另一對角設置的二個轉輪112或其他適當位置的轉輪112,用於承載或輔助轉向,為了使車體11具有更好的穩定性,也可在車體11的貨叉上安裝有二個轉輪112(如貨叉輪)來起到支撐的作用,以構成一適用於重載貨物搬運或移載之叉車式自動導引車、拖板式或堆高機式自動導引車。 In the present embodiment, the unmanned self-propelled vehicle 1 uses the steering wheel 111 on the front left side of the vehicle body 11 as the left front wheel 111a, and the steering wheel 111 on the diagonal right side behind the vehicle body 11 is used as the right rear wheel 111b for driving and controlling steering. Not limited to this, also can come two rudders according to the actual design of car body 11 The position of wheel 111 is changed to right front wheel and left rear wheel diagonal setting, coordinates two runners 112 or the runners 112 of other appropriate positions that car body 11 is arranged at another angle again, is used for bearing or auxiliary steering, in order to make car The body 11 has better stability, and two runners 112 (such as fork wheels) can also be installed on the fork of the car body 11 to play a supporting role, so as to form a car body suitable for heavy-duty cargo handling or moving. Forklift-type AGVs, pallet-type or stacker-type AGVs.

此外,無人自走車1之車體11使用的舵輪111可為臥式舵輪或立式舵輪,並包含驅動輪、驅動單元(如驅動電機、齒輪箱等)及轉向機構(如轉向電機、編碼器等)組成,同時帶有驅動及控制轉向,可以二個自由度來實現車體11的直線移動與轉向功能,而自動導引裝置12包含感測器模組121及路徑規劃單元122,其中感測器模組121包含裝載在車體11上的內部感測器〔如編碼器、慣性測量單元(Inertial Measurement Unit,IMU)等〕及外部感測器〔如雷射感測器、光學雷達(Light Detection and Ranging,LiDAR)掃描儀、超聲波(Sonar)感測器或3D視覺感測器(3D Camera)等〕,並由內部感測器對車體11進行位置與姿態的定位,使自動導引裝置12可在此一定位的基礎上利用外部感測器獲取的環境資訊進行位置或姿態的修正,又路徑規劃單元122係採用演算法依預先設定規劃車體移動的路徑並進行導航/導引,且該路徑導航/導引控制的方式可為固定路徑或虛擬路徑,以供轉向驅動系統13可依循預定規劃的目標路徑來驅動舵輪111,從而實現對車體11的定位及位置控制。 In addition, the steering wheel 111 used by the body 11 of the unmanned self-propelled vehicle 1 can be a horizontal steering wheel or a vertical steering wheel, and includes a driving wheel, a driving unit (such as a driving motor, a gearbox, etc.) device, etc.), with driving and steering control, the linear movement and steering functions of the car body 11 can be realized with two degrees of freedom, and the automatic guidance device 12 includes a sensor module 121 and a path planning unit 122, wherein The sensor module 121 includes internal sensors (such as encoders, inertial measurement units, IMUs, etc.) mounted on the vehicle body 11 and external sensors (such as laser sensors, optical radar sensors, etc.) (Light Detection and Ranging, LiDAR) scanner, ultrasonic (Sonar) sensor or 3D vision sensor (3D Camera), etc.], and the position and attitude of the car body 11 are positioned by the internal sensor, so that the automatic On the basis of this positioning, the guidance device 12 can use the environmental information obtained by external sensors to correct the position or attitude, and the path planning unit 122 uses an algorithm to plan the path of the vehicle body movement according to the preset and perform navigation/ guidance, and the path navigation/guidance control method can be a fixed path or a virtual path, so that the steering drive system 13 can drive the steering wheel 111 according to the predetermined planned target path, so as to realize the positioning and position control of the vehicle body 11 .

具體而言,無人自走車1固定路徑導航/導引控制係利用移動路徑上設立的實體標記(如電磁軌道、磁帶、反光片等)作為導引,並由自動導引裝置12之感測器模組121偵測標記對車體11進行位置與姿態的 定位,以沿著路徑規劃單元122預定規畫的目標路徑運行,包含但不限於直接坐標導引(即笛卡爾坐標導引,Cartesian Guidance)、電磁導引(Wire Guidance)、磁帶導引(Magnetic Tape Guidance)或光學導引(Optical Guidance),而無人自走車1虛擬路徑導航/導引控制則沒有存在實體標記,係將車體11移動路徑的配置圖資料存放在資料庫或自動導引裝置12內的地圖庫路線資料,並由感測器模組121對車體11進行位置與姿態偵測,使路徑規劃單元122自行決定預定規畫的目標路徑,包含但不限於慣性導航(Inertial Navigation)、雷射導航(Laser Navigation)或超聲波導航、視覺導航(Visual Navigation)或地理導航〔如全球定位系統導航(Global Position System)〕,惟該無人自走車1路徑導航/導引控制的方式很多,在此則不作一贅述。 Specifically, the fixed path navigation/guidance control system of the unmanned self-propelled vehicle 1 utilizes physical marks (such as electromagnetic tracks, tapes, reflective sheets, etc.) set up on the moving path as guidance, and is sensed by the automatic guidance device 12 The sensor module 121 detects the position and attitude of the car body 11 Positioning, to run along the target path planned by the path planning unit 122, including but not limited to direct coordinate guidance (ie, Cartesian coordinate guidance, Cartesian Guidance), electromagnetic guidance (Wire Guidance), magnetic tape guidance (Magnetic Guidance) Tape Guidance) or Optical Guidance (Optical Guidance), while the unmanned self-propelled vehicle 1 virtual path navigation/guidance control does not have a physical mark, and the configuration map data of the vehicle body 11 moving path is stored in the database or automatic guidance The route data in the map library in the device 12, and the sensor module 121 detects the position and attitude of the vehicle body 11, so that the path planning unit 122 can determine the planned target path by itself, including but not limited to inertial navigation (Inertial Navigation) Navigation), laser navigation (Laser Navigation) or ultrasonic navigation, visual navigation (Visual Navigation) or geographical navigation (such as Global Position System navigation (Global Position System)), but the unmanned self-propelled vehicle 1 path navigation/guidance control There are many ways, so I won't go into details here.

如第2圖所示,本發明上述無人自走車系統所採用之導引控制方法,係包括下列之實施步驟: As shown in Figure 2, the guidance control method adopted by the above-mentioned unmanned self-propelled vehicle system of the present invention comprises the following implementation steps:

(S101)無人自走車1之自動導引裝置12先取得車體11中心的位置在全域坐標系中建立車輛坐標系,並進行坐標系轉換以建立本地坐標系。 (S101) The automatic guidance device 12 of the unmanned self-propelled vehicle 1 first obtains the position of the center of the vehicle body 11 to establish a vehicle coordinate system in the global coordinate system, and performs coordinate system conversion to establish a local coordinate system.

(S102)計算車體11中心至預定規畫的目標路徑其中一目標點的最短距離,車體11當前的航向與車體11中心至目標點連線間之轉角,以及車體11中心至目標點的旋轉半徑。 (S102) Calculate the shortest distance from the center of the car body 11 to one of the target points on the planned target path, the angle between the current course of the car body 11 and the line connecting the center of the car body 11 to the target point, and the center of the car body 11 to the target The radius of rotation of the point.

(S103)取得車體11中心的速度,並根據車體11中心至任一個舵輪111中心的距離,計算得到車體11當前的航向與舵輪111中心間之夾角。 (S103) Obtain the speed of the center of the vehicle body 11, and calculate the angle between the current heading of the vehicle body 11 and the center of the steering wheel 111 according to the distance from the center of the vehicle body 11 to the center of any steering wheel 111.

(S104)判斷車體11轉彎的方向,並根據餘弦定理得到二個舵輪111的旋轉半徑及轉彎時所需的轉角。 (S104) Judging the turning direction of the car body 11, and obtaining the turning radius of the two steering wheels 111 and the required turning angle according to the law of cosines.

(S105)根據車體11中心的速度、旋轉半徑與角速率間的關係得到二個舵輪111的速率。 (S105) Obtain the speed of the two steering wheels 111 according to the relationship between the speed of the center of the car body 11, the radius of rotation and the angular speed.

(S106)轉向驅動系統13根據計算得到的轉角及速率來控制二個舵輪111轉向至對應的位置,使車體11中心能穩定的依循目標路徑前進。 (S106) The steering drive system 13 controls the two steering wheels 111 to steer to corresponding positions according to the calculated rotation angle and speed, so that the center of the vehicle body 11 can stably follow the target path.

(S107)自動導引裝置12計算車體11當前的位置、旋轉半徑與目標路徑間之誤差量,並採用PID控制得到修正後的速度及旋轉半徑,再採用逆運動學反推計算車體11的速度,使轉向驅動系統13可控制二個舵輪111來修正調整該車體11當前的位置與旋轉半徑。 (S107) The automatic guidance device 12 calculates the error between the current position of the vehicle body 11, the radius of rotation and the target path, and uses PID control to obtain the corrected speed and radius of rotation, and then calculates the vehicle body 11 using inverse kinematics. speed, so that the steering drive system 13 can control the two steering wheels 111 to correct and adjust the current position and radius of rotation of the vehicle body 11.

由圖中及上述之實施步驟可清楚得知,本發明以下說明書內容之無人自走車1較佳實施係以叉車式自動導引車為例,並利用自動導引裝置12之感測器模組121對車體11進行位置與姿態的定位,以及路徑規劃單元122產生預定規畫的目標路徑,由於車體11的驅動機構主要是利用前方一個舵輪111(即主動輪)帶有轉向的功能,並配合後方二個轉輪112(即從動輪)運行,其實際移動的路徑軌跡只和前方舵輪111轉角或航向角有關,因此只要對舵輪111的轉角或航向角進行控制,即可實現無人自走車1之路徑導引控制。 It can be clearly seen from the drawings and the above-mentioned implementation steps that the preferred implementation of the unmanned self-propelled vehicle 1 of the following description of the present invention is to take a forklift-type automatic guided vehicle as an example, and use the sensor model of the automatic guidance device 12 The group 121 locates the position and attitude of the car body 11, and the path planning unit 122 generates a predetermined target path. Since the driving mechanism of the car body 11 mainly uses a front steering wheel 111 (ie, the driving wheel) with the function of steering , and cooperate with the rear two runners 112 (i.e. driven wheels), the actual moving track is only related to the turning angle or heading angle of the front steering wheel 111, so as long as the turning angle or heading angle of the steering wheel 111 is controlled, unmanned Path guidance control of self-propelled vehicle 1.

在本實施例中,係利用自動導引裝置12先在無人自走車1所處的環境中建立一個全域坐標系(Global Coordinate System)(如第3圖中之XGYG坐標平面),並取得車體11中心(即車輛之幾何中心)在全域坐 標系中之坐標(XC,YC)作為中心點C,以及目標點P作為預定規畫的目標路徑其中一目標點,且該預定規畫的目標路徑包含直線路徑及彎曲路徑,以建立車輛坐標系(如XGMYGM坐標平面)後,再利用旋轉矩陣進行坐標系轉換建立一個本地坐標系(Local Coordinate System)(如XLYL坐標平面)可以得到: In this embodiment, the automatic guidance device 12 is utilized to establish a Global Coordinate System (Global Coordinate System) (such as the X G Y G coordinate plane in the 3rd figure) in the environment where the unmanned self-propelled vehicle 1 is located, And obtain the coordinates (X C , Y C ) of the center of the vehicle body 11 (ie, the geometric center of the vehicle) in the global coordinate system as the center point C, and the target point P as one of the target points of the planned target path, and the The planned target path includes a straight line path and a curved path to establish a vehicle coordinate system (such as X GM Y GM coordinate plane), and then use the rotation matrix to convert the coordinate system to establish a local coordinate system (Local Coordinate System) (such as X L Y L coordinate plane) can get:

Figure 110115173-A0101-12-0010-7
Figure 110115173-A0101-12-0010-7

其中該θ為車體11當前的姿態角,可表示為車輛坐標系的XGM或YGM軸旋轉到本地坐標系的XL或YL軸的角度;XC為全域坐標系的YG軸與車輛坐標系的YGM軸之間距;YC為全域坐標系的XG軸與車輛坐標系的XGM軸之間距;XG,YG為預定規畫的目標路徑其中一目標點P在全域坐標系中之坐標(X,Y);XL,YL為目標點P在本地坐標系中之坐標(X,Y),以定位出車體11當前的位置與姿態。 Wherein, θ is the current attitude angle of the vehicle body 11, which can be expressed as the angle of rotation of the X GM or Y GM axis of the vehicle coordinate system to the X L or Y L axis of the local coordinate system; X C is the Y G axis of the global coordinate system The distance between the Y GM axis and the vehicle coordinate system; Y C is the distance between the X G axis of the global coordinate system and the X GM axis of the vehicle coordinate system; The coordinates (X, Y) in the global coordinate system; X L , Y L are the coordinates (X, Y) of the target point P in the local coordinate system, so as to locate the current position and posture of the vehicle body 11 .

根據直角三角形的幾何關係可以得到: According to the geometric relations of right triangles, we can get:

Figure 110115173-A0101-12-0010-8
Figure 110115173-A0101-12-0010-8

Figure 110115173-A0101-12-0010-9
Figure 110115173-A0101-12-0010-9

Figure 110115173-A0101-12-0010-11
Figure 110115173-A0101-12-0010-11

其中該D為車體11在本地坐標系中的中心點C(XC,YC)至目標點P(XL,YL)的最短路徑的距離;θS為本地坐標系的YL軸順時針旋轉到目標點P上的角度,可表示為車體11當前的航向與車體11中心(即中心點C)至目標點P連線間之轉角;由於車體11前後對角設置之二個舵輪111(即左前輪111a與右後輪111b)與車體11當前的航向為保持一致平行的 方向,在D、θS已知的情況下,根據幾何關係則可以得到R為車體11中心至目標點P的旋轉半徑。 Wherein, D is the shortest path distance from the center point C (X C , Y C ) of the car body 11 in the local coordinate system to the target point P (X L , Y L ); θ S is the Y L axis of the local coordinate system The angle clockwise to the target point P can be expressed as the angle between the current course of the car body 11 and the line connecting the center of the car body 11 (ie, the center point C) to the target point P; The current course of the two steering wheels 111 (that is, the left front wheel 111a and the right rear wheel 111b) and the vehicle body 11 is consistent and parallel. When D and θ S are known, according to the geometric relationship, R can be obtained as the vehicle body 11 The radius of rotation from the center to the target point P.

如第4圖所示,當自動導引裝置12取得車體11中心當前的位置(如x、y、θ)、最短路徑的距離D及速度V後,由於車體11中心與二個舵輪111的幾何關係皆為固定,並在V、R已知,且車體11中心至舵輪111之幾何中心的距離為d的情況下,則可以得到: As shown in Figure 4, when the automatic guidance device 12 obtains the current position (such as x, y, θ) of the center of the car body 11, the distance D and the speed V of the shortest path, due to the center of the car body 11 and the two steering wheels 111 The geometric relations of are all fixed, and when V and R are known, and the distance from the center of the car body 11 to the geometric center of the steering wheel 111 is d, then it can be obtained:

Figure 110115173-A0101-12-0011-12
Figure 110115173-A0101-12-0011-12

Figure 110115173-A0101-12-0011-13
Figure 110115173-A0101-12-0011-13

其中該W為車體11中心至任一個舵輪111(即左前輪111a或右後輪111b)中心在水平方向上固定的距離;L為車體11中心至任一個舵輪111中心在垂直方向上固定的距離;θa為車體11在本地坐標系中的YL軸逆時針旋轉到任一個舵輪111中心上的角度,可表示為車體11當前的航向與車體11中心至任一個舵輪111中心連線間之夾角;d為車體11中心至任一個舵輪111中心固定的距離。 Wherein this W is the fixed distance in the horizontal direction from the center of the vehicle body 11 to the center of any steering wheel 111 (i.e., the left front wheel 111a or the right rear wheel 111b); L is the fixed distance from the center of the vehicle body 11 to the center of any steering wheel 111 in the vertical direction θ a is the angle from the Y L axis of the car body 11 in the local coordinate system to the center of any steering wheel 111 counterclockwise, which can be expressed as the current heading of the car body 11 and the center of the car body 11 to any steering wheel 111 The angle between the connecting lines between the centers; d is the fixed distance from the center of the car body 11 to the center of any steering wheel 111.

然後,可根據車體11當前的航向與車體11中心至目標點P連線間之夾角(即轉角或航向角)θS,判斷車體11需要轉彎的方向,假設判斷車體11的轉角θS為大於0(即正號為逆時針轉彎的方向)時,根據餘弦定理則可以得到: Then, the direction in which the car body 11 needs to turn can be judged according to the angle between the current heading of the car body 11 and the line connecting the center of the car body 11 to the target point P (that is, the turning angle or heading angle) θ S . When θ S is greater than 0 (that is, the positive sign is the direction of counterclockwise turning), according to the law of cosines, it can be obtained:

Figure 110115173-A0101-12-0011-14
Figure 110115173-A0101-12-0011-14

Figure 110115173-A0101-12-0011-15
Figure 110115173-A0101-12-0011-15

Figure 110115173-A0101-12-0012-16
Figure 110115173-A0101-12-0012-16

Figure 110115173-A0101-12-0012-17
Figure 110115173-A0101-12-0012-17

假設判斷車體11的轉角θS為小於0(即負號為順時針轉彎的方向)時,根據餘弦定理則可以得到: Assuming that the rotation angle θ S of the car body 11 is judged to be less than 0 (that is, the minus sign is the direction of clockwise turning), according to the law of cosines, it can be obtained:

Figure 110115173-A0101-12-0012-18
Figure 110115173-A0101-12-0012-18

Figure 110115173-A0101-12-0012-19
Figure 110115173-A0101-12-0012-19

Figure 110115173-A0101-12-0012-20
Figure 110115173-A0101-12-0012-20

Figure 110115173-A0101-12-0012-21
Figure 110115173-A0101-12-0012-21

其中該Rlf為前方舵輪111(即左前輪111a)中心至車體11中心以旋轉半徑R環繞的圓心O的距離;Rrr為後方舵輪111(即右後輪111b)中心至車體11中心以旋轉半徑R環繞的圓心O的距離;θlf為前方舵輪111(即左前輪111a)沿著旋轉半徑Rlf轉彎時所需的轉角或航向角;θrr為後方舵輪111(即右後輪111b)沿著旋轉半徑Rrr轉彎時所需的轉角或航向角。 Wherein the R lf is the distance from the center of the front steering wheel 111 (i.e. the left front wheel 111a) to the center of the circle O surrounded by the center of the vehicle body 11 with the radius of rotation R; R rr is the distance from the center of the rear steering wheel 111 (i.e. the right rear wheel 111b) to the center of the vehicle body 11 The distance of the circle center O surrounded by the radius of rotation R; θ lf is the required turning angle or heading angle when the front steering wheel 111 (i.e. the left front wheel 111a) turns along the radius of rotation R lf ; θ rr is the rear steering wheel 111 (i.e. the right rear wheel 111b) The required turning or heading angle when turning along the turning radius R rr .

此外,由於車體11中心以等速率圓周運動時的角速率為等於前後二個舵輪111的角速率(即ω=ωlfrr),並在車體11中心當前的速度V已知的情況下,根據車體11中心的速度(即平均速率)V、旋轉半徑R與角速率ω間的關係(即V=R*ω)可以得到: In addition, since the angular velocity of the center of the vehicle body 11 is equal to the angular velocity of the two front and rear steering wheels 111 (ie ω=ω lfrr ), and the current velocity V of the center of the vehicle body 11 is known In this case, according to the relationship between the velocity (i.e. the average velocity) V of the center of the car body 11, the radius of rotation R and the angular velocity ω (i.e. V=R*ω), it can be obtained:

Figure 110115173-A0101-12-0012-22
Figure 110115173-A0101-12-0012-22

Figure 110115173-A0101-12-0012-23
Figure 110115173-A0101-12-0012-23

其中該Vf為前方舵輪111(即左前輪111a)的速率;Vr為後 方舵輪111(即右後輪111b)的速率。因此,自動導引裝置12可先求得車體11二個舵輪111(即左前輪111a與右後輪111b)依循直線路徑或彎曲路徑行進時所需的旋轉半徑Rlf、Rrr,並回推得到二個舵輪111所需的轉角θlf、θrr後,再根據速率、旋轉半徑與角速率間的關係得到二個舵輪111所需的速率Vf、Vr,便可藉由轉向驅動系統13來控制車體11之二個舵輪111轉向至對應的位置,並於車體11轉彎時可以不同的轉角與速率行進(即速度差),使車體11中心跟隨直線路徑或彎曲路徑,從而實現對無人自走車1依循預定規劃的目標路徑運行之導引控制,並且車載控制器或自動導引裝置12內建處理器採用的轉向驅動演算法,不需經由大量複雜的運算或較長的運算處理週期,對於車載控制器或處理器的運算性能要求相對降低,也可有效地提升整體之導航效率。 Wherein the V f is the speed of the front steering wheel 111 (ie, the left front wheel 111a); V r is the speed of the rear steering wheel 111 (ie, the right rear wheel 111b). Therefore, the automatic guidance device 12 can first obtain the rotation radii Rlf and Rrr required by the two steering wheels 111 (ie, the left front wheel 111a and the right rear wheel 111b) of the car body 11 to follow a straight path or a curved path, and return After deriving the required rotation angles θ lf and θ rr of the two steering wheels 111, and then obtaining the required speeds V f and V r of the two steering wheels 111 according to the relationship between the speed, the radius of rotation and the angular rate, it can be driven by steering The system 13 controls the two steering wheels 111 of the car body 11 to turn to the corresponding positions, and when the car body 11 turns, it can travel at different angles and speeds (ie speed difference), so that the center of the car body 11 follows a straight path or a curved path, In this way, the guidance control of the unmanned self-propelled vehicle 1 following the predetermined planned target path is realized, and the steering driving algorithm adopted by the built-in processor of the on-board controller or the automatic guidance device 12 does not need to go through a large number of complicated calculations or comparisons. The long calculation and processing cycle relatively reduces the calculation performance requirements of the on-board controller or processor, and can also effectively improve the overall navigation efficiency.

請搭配參閱如第5~7圖所示,係分別為本發明目標路徑閉迴路導引控制之方塊圖、修正車體轉彎的旋轉半徑之示意圖(一)及修正車體轉彎的旋轉半徑之示意圖(二),由圖中可清楚看出,本發明之無人自走車1可根據車體11移動狀態與自動導引裝置12所生成預定規劃的目標路徑進行PID(比例、積分與微分)控制,以形成閉迴路的控制流程,從而實現對車體11週期性循環之控制調整。 Please refer to Figures 5-7, which are the block diagram of the closed-loop guidance control of the target path of the present invention, the schematic diagram of the corrected turning radius of the car body (1) and the schematic diagram of the corrected turning radius of the car body. (2), as can be clearly seen from the figure, the unmanned self-propelled vehicle 1 of the present invention can carry out PID (proportional, integral and differential) control according to the target path of the predetermined plan generated by the vehicle body 11 moving state and the automatic guidance device 12 , so as to form a closed-loop control process, thereby realizing the control and adjustment of the periodic cycle of the vehicle body 11 .

當車體11依循目標路徑進行移動時,自動導引裝置12可將車體11當前的位置與旋轉半徑進行坐標轉換,並計算出車體11當前的位置、旋轉半徑與目標路徑間之誤差量(errord及errorR),再根據該誤差量進行PID控制得到車體11修正後的速度V*及旋轉半徑R*,便可採用逆運動學(Inverse Kinematics)以反推的方式計算車體11移動至目標路徑上所需之 速度V或加速度A,例如車體11前方舵輪111(即左前輪111a)的速率Vf、後方舵輪111(即右後輪111b)的速率Vr,以及前後二個舵輪111的加速度Af、Ar,使轉向驅動系統13可控制二個舵輪111來修正調整車體11當前的位置與旋轉半徑,如此反覆修正使車體11移動狀態符合期望的目標路徑,直到完成車體11之路徑導引控制。 When the car body 11 is moving along the target path, the automatic guidance device 12 can coordinate transform the current position of the car body 11 and the radius of rotation, and calculate the error between the current position of the car body 11, the radius of rotation and the target path (error d and error R ), and then perform PID control according to the error amount to obtain the corrected speed V* and rotation radius R* of the car body 11, and then use inverse kinematics (Inverse Kinematics) to calculate the car body 11 The velocity V or acceleration A required to move to the target path, such as the velocity V f of the steering wheel 111 in front of the vehicle body 11 (ie, the left front wheel 111a ), the velocity V r of the rear steering wheel 111 (ie, the right rear wheel 111b ), and the front and rear The accelerations A f and A r of the two steering wheels 111 enable the steering drive system 13 to control the two steering wheels 111 to correct and adjust the current position and radius of rotation of the car body 11, so that the moving state of the car body 11 conforms to the desired target path through repeated corrections , until the path guidance control of the car body 11 is completed.

在本實施例中,自動導引裝置12所生成預定規劃的目標路徑可導引車體11依循直線路徑或彎曲路徑運行,並給予車體11當前的位置與旋轉半徑,且可不斷地偵測車體11當前的位置、旋轉半徑與目標路徑間之誤差量,其中該errord為車體11當前的位置與目標路徑的最終位置直線距離之誤差量,而errorR=R-Rfalse為車體11中心的旋轉半徑與車體11偏移產生的旋轉半徑的誤差量,再進行PID控制不同的演算法可計算得到車體11修正後的速度V*=KPR*(errord),以及車體11修正後的旋轉半徑R*=KPR*(R-errorR),其中該KPR為增益量(比例係數)。 In this embodiment, the planned target path generated by the automatic guidance device 12 can guide the car body 11 to follow a straight path or a curved path, and give the car body 11 the current position and radius of rotation, and can continuously detect The error amount between the current position of the car body 11, the radius of rotation and the target path, where the error d is the error amount of the straight-line distance between the current position of the car body 11 and the final position of the target path, and error R = RR false is the error amount of the car body 11 The error amount of the radius of rotation caused by the offset of the center rotation radius and the car body 11, and then performing PID control with different algorithms can be calculated to obtain the corrected speed V*=K PR *(error d ) of the car body 11, and the car body 11 Modified rotation radius R*=K PR *(R-error R ), where K PR is the gain amount (proportional coefficient).

當車體11行進於彎曲路徑時,可利用調整旋轉半徑來改變車體11的轉彎幅度,例如車體11中心的旋轉半徑變大時,表示車體11已偏移到彎曲路徑外側,則車體11調整改變的轉彎幅度要變小;換言之,當車體11的旋轉半徑變小時,表示車體11已偏移到彎曲路徑內側,則車體11調整改變的轉彎幅度要變大,至於車體11中心轉彎的方向則可在演算法中作判斷,因此可利用車體11中心的旋轉半徑當作變化量來修正車體11的轉向,使車體11在偏移彎曲路徑時,能快速且準確將偏離修正,並穩定的保持在預定規劃的目標路徑上。 When the vehicle body 11 is traveling on a curved path, the turning radius of the vehicle body 11 can be changed by adjusting the radius of rotation. For example, when the radius of rotation at the center of the vehicle body 11 becomes larger, it means that the vehicle body 11 has shifted to the outside of the curved path, and the vehicle body 11 The turning range adjusted and changed by the body 11 should become smaller; in other words, when the turning radius of the car body 11 becomes smaller, it means that the car body 11 has shifted to the inner side of the curved path, and the turning range adjusted and changed by the car body 11 will become larger. The turning direction of the center of the body 11 can be judged in the algorithm, so the turning radius of the center of the car body 11 can be used as a variation to correct the steering of the car body 11, so that the car body 11 can quickly move when it deviates from the curved path. And it will accurately correct the deviation and keep it stably on the planned target path.

請同時參閱如第8~12圖所示,係分別為本發明車體進行直 線控制之示意圖、車體相對於目標路徑的姿態方向之示意圖、車體的姿態為平移前進之轉向控制示意圖、車體的姿態修正為向左轉彎之示意圖及車體的姿態修正為向右轉彎之示意圖,由圖中可清楚看出,上述之自動導引裝置12所生成預定規劃的目標路徑係利用複數目標點P0~P9來劃分成多個線段,並將多個線段連接形成一直線路徑軌跡,其中該目標點P0可表示為直線路徑的起始點,而目標點P9則可表示為直線路徑的最終點,並根據直線方程式y=ax+b依預定長度劃分,當車體11行進時,依車輛坐標系來看第一個目標點P1在車體11的左邊(如第9圖所示),並計算得到車體11中心至該目標點P1間之夾角〔arctan(x/y)〕作為車體11之二個舵輪111的控制,也可藉此判斷車體11轉彎的方向,一般係將逆時針轉彎的方向取為正號,順時針轉彎的方向取為負號。 Please also refer to as shown in the 8th to 12th figures, which are respectively for the car body of the present invention. The schematic diagram of wire control, the schematic diagram of the attitude direction of the car body relative to the target path, the steering control diagram of the car body attitude as a translation forward, the schematic diagram of the car body attitude correction as a left turn, and the car body attitude correction as a right turn It can be clearly seen from the figure that the planned target path generated by the above-mentioned automatic guidance device 12 is divided into multiple line segments by using complex target points P0~P9, and the multiple line segments are connected to form a straight path trajectory , wherein the target point P0 can be expressed as the starting point of the straight line path, and the target point P9 can be expressed as the final point of the straight line path, and divided according to the predetermined length according to the straight line equation y=ax+b, when the vehicle body 11 is moving According to the vehicle coordinate system, the first target point P1 is on the left side of the vehicle body 11 (as shown in Figure 9), and the angle between the center of the vehicle body 11 and the target point P1 is calculated [arctan(x/y) ] As the control of the two steering wheels 111 of the car body 11, the direction of turning of the car body 11 can also be judged by this. Generally, the direction of counterclockwise turning is taken as a positive sign, and the direction of clockwise turning is taken as a negative sign.

在本實施例中,無人自走車1係將車體11前後對角設置之二個舵輪111作為右前輪與左後輪為例,並將車體11中心(即中心點C)至目標點P1的距離作為直角三角形的斜邊,以及直角三角形的對邊與鄰邊垂直相交的點作為起始點S(如第10圖所示),當車體11追蹤直線路徑上之目標點P1平移前進時,係先將車體11在本地坐標系中的YL軸逆時針旋轉到與起始點S至目標點P1連線形成的目標直線平行,可表示為車體11當前的航向旋轉至與目標直線平行之夾角θ,並使車體11之二個舵輪111(即右前輪與左後輪)以平移的方式旋轉至夾角θ後,假設將目標直線分割成二段,並以夾角θ為基準,根據直角三角形的幾何關係可以計算得到車體11之二個舵輪111的控制量分別為θ+arctan(x/y),其中該x為車體11中心至起始點S的距離,y為起始點S至目標直線的中點M的距離。 In this embodiment, the unmanned self-propelled vehicle 1 uses the two steering wheels 111 arranged diagonally front and rear of the vehicle body 11 as the right front wheel and the left rear wheel as an example, and the center of the vehicle body 11 (i.e., the center point C) to the target point The distance of P1 is taken as the hypotenuse of the right triangle, and the point where the opposite side of the right triangle intersects with the adjacent side perpendicularly is taken as the starting point S (as shown in Figure 10), when the vehicle body 11 tracks the target point P1 translation on the straight path When moving forward, the system first rotates the Y and L axes of the car body 11 counterclockwise in the local coordinate system to be parallel to the target line formed by the line connecting the starting point S to the target point P1, which can be expressed as the current heading of the car body 11 rotating to The included angle θ is parallel to the target line, and after the two steering wheels 111 of the car body 11 (ie, the right front wheel and the left rear wheel) are rotated to the included angle θ in a translational manner, it is assumed that the target line is divided into two sections, and the angle θ As a benchmark, the control quantities of the two steering wheels 111 of the car body 11 can be calculated according to the geometric relationship of the right triangle as θ+arctan(x/y), where x is the distance from the center of the car body 11 to the starting point S, y is the distance from the starting point S to the midpoint M of the target line.

此外,當車體11進行轉彎時,若是車體11的姿態偏差為大於設定角度的偏差,則二個舵輪111(即右前輪與左後輪)便需要根據車體11要修正的姿態方向將其控制量乘上負號,例如當車體11為向左轉彎時(如第11圖所示),右前輪的控制量為θ+arctan(x/y),左後輪的控制量為-〔θ+arctan(x/y)〕;同理,當車體11為向右轉彎時(如第12圖所示),右前輪的控制量為-〔θ+arctan(x/y)〕,左後輪的控制量為θ+arctan(x/y),使車體11中心能穩定的依循目標路徑前進。 In addition, when the car body 11 is turning, if the attitude deviation of the car body 11 is greater than the deviation of the set angle, then the two steering wheels 111 (ie, the right front wheel and the left rear wheel) need to be adjusted according to the attitude direction of the car body 11 to be corrected. The control amount is multiplied by a negative sign, for example, when the car body 11 is turning left (as shown in Figure 11), the control amount of the right front wheel is θ+arctan(x/y), and the control amount of the left rear wheel is - [θ+arctan(x/y)]; similarly, when the car body 11 is turning right (as shown in Figure 12), the control amount of the right front wheel is -[θ+arctan(x/y)], The control amount of the left rear wheel is θ+arctan(x/y), so that the center of the car body 11 can stably follow the target path.

上述詳細說明為針對本發明一種較佳之可行實施例說明而已,惟該實施例並非用以限定本發明之申請專利範圍,凡其他未脫離本發明所揭示之技藝精神下所完成之均等變化與修飾變更,均應包含於本發明所涵蓋之專利範圍中。 The above detailed description is just a description of a preferred feasible embodiment of the present invention, but this embodiment is not used to limit the scope of the patent application of the present invention, and all other equivalent changes and modifications are completed without departing from the technical spirit disclosed in the present invention All changes shall be included in the patent scope covered by the present invention.

綜上所述,本發明之無人自走車之導引控制方法使用時為確實能達到其功效及目的,故本發明誠為一實用性優異之發明,為符合發明專利之申請要件,爰依法提出申請,盼 審委早日賜准本案,以保障發明人之辛苦發明,倘若 鈞局審委有任何稽疑,請不吝來函指示,發明人定當竭力配合,實感德便。 To sum up, the guidance and control method for unmanned self-propelled vehicles of the present invention can indeed achieve its efficacy and purpose when used, so the present invention is an invention with excellent practicability, and is in accordance with the requirements for patent application. I have filed an application, hoping that the review committee will approve this case as soon as possible, so as to protect the hard work of the inventor. If the Junju review committee has any doubts, please feel free to send a letter to instruct. The inventor will do his best to cooperate, and I really appreciate it.

Claims (8)

一種無人自走車之導引控制方法,該無人自走車包括車體、自動導引裝置及轉向驅動系統,並於該車體包含前後對角設置用於驅動與控制轉向之二個舵輪及至少二個輔助用轉輪,該自動導引裝置用於對該車體進行位置與姿態的定位,並生成一預定規畫的目標路徑,以供該轉向驅動系統驅動該車體的舵輪能依循該目標路徑運行,該導引控制方法包括下列之步驟: A guidance control method for an unmanned self-propelled vehicle. The unmanned self-propelled vehicle includes a vehicle body, an automatic guidance device, and a steering drive system, and the vehicle body includes two steering wheels and two steering wheels arranged diagonally front and rear for driving and steering control. At least two auxiliary rotating wheels, the automatic guidance device is used to locate the position and attitude of the vehicle body, and generate a predetermined target path for the steering wheel of the vehicle body driven by the steering drive system to follow The target path runs, and the guidance control method includes the following steps: (A)該自動導引裝置取得該車體中心的位置在全域坐標系中建立車輛坐標系,並取得該車體當前的姿態角進行坐標系轉換以建立本地坐標系; (A) The automatic guidance device obtains the position of the center of the vehicle body to establish a vehicle coordinate system in the global coordinate system, and obtains the current attitude angle of the vehicle body to perform coordinate system conversion to establish a local coordinate system; (B)計算得到該車體中心至該目標路徑其中一目標點的最短距離D,該車體當前的航向與該車體中心至該目標點連線間之轉角θS,以及該車體中心至該目標點的旋轉半徑R; (B) Calculate the shortest distance D from the center of the car body to one of the target points on the target path, the rotation angle θ S between the current heading of the car body and the line connecting the center of the car body to the target point, and the center of the car body The radius of rotation R to the target point; (C)取得該車體中心的速度V,並根據該車體中心至該任一個舵輪中心的距離d,計算得到該車體當前的航向與該車體中心至該任一個舵輪中心連線間之夾角θa(C) Obtain the velocity V of the center of the vehicle body, and calculate the distance between the current course of the vehicle body and the line connecting the center of the vehicle body to the center of any steering wheel according to the distance d from the center of the vehicle body to the center of any steering wheel The included angle θ a ; (D)根據該車體的轉角θS判斷該車體轉彎的方向,假設θS為大於0時,根據餘弦定理得到: (D) Judging the turning direction of the car body according to the turning angle θ S of the car body, assuming that θ S is greater than 0, according to the law of cosines:
Figure 110115173-A0101-13-0001-24
Figure 110115173-A0101-13-0001-24
Figure 110115173-A0101-13-0002-25
假設該車體的轉角θS為小於0時,根據餘弦定理得到:
Figure 110115173-A0101-13-0002-25
Assuming that the rotation angle θ S of the car body is less than 0, according to the law of cosines:
Figure 110115173-A0101-13-0002-26
其中該Rlf為前方舵輪的旋轉半徑;Rrr為後方舵輪的旋轉半徑;θlf為前方舵輪沿著該旋轉半徑Rlf轉彎時所需的轉角;θrr為後方舵輪沿著該旋轉半徑Rrr轉彎時所需的轉角;
Figure 110115173-A0101-13-0002-26
Among them, R lf is the radius of rotation of the front steering wheel; R rr is the radius of rotation of the rear steering wheel; θ lf is the required turning angle of the front steering wheel along the rotation radius R lf ; θ rr is the rotation radius of the rear steering wheel along the radius R rr the required turning angle when making a turn;
(E)由於該車體中心以等速率圓周運動的角速率為等於該二個舵輪的角速率,根據該車體中心的速度V、旋轉半徑R與角速率間的關係得到: (E) Since the angular velocity of the center of the car body is equal to the angular rate of the two steering wheels with constant velocity circular motion, according to the relationship between the speed V of the center of the car body, the radius of rotation R and the angular rate:
Figure 110115173-A0101-13-0002-27
其中該Vf為前方舵輪的速率;Vr為後方舵輪的速率;
Figure 110115173-A0101-13-0002-27
Wherein the V f is the speed of the front steering wheel; V r is the speed of the rear steering wheel;
(F)該轉向驅動系統根據該計算得到的轉角θlf、θrr及速率Vf、Vr來控制該二個舵輪轉向至對應的位置,使該車體中心能依循該目標路徑前進。 (F) The steering drive system controls the two steering wheels to steer to corresponding positions according to the calculated rotation angles θ lf , θ rr and rates V f , V r , so that the center of the vehicle body can follow the target path.
如請求項1所述之無人自走車之導引控制方法,其中該自動導引裝置包含用於對該車體的位置與姿態進行定位之感測器模組及用於生成該目標路徑之路徑規劃單元。 The guidance control method for unmanned self-propelled vehicles as described in claim 1, wherein the automatic guidance device includes a sensor module for positioning the position and attitude of the vehicle body and a sensor module for generating the target path path planning unit. 如請求項1所述之無人自走車之導引控制方法,其中該步驟(A)係利用旋轉矩陣進行坐標系轉換: The guidance control method for unmanned self-propelled vehicles as described in claim 1, wherein the step (A) is to use the rotation matrix to transform the coordinate system:
Figure 110115173-A0101-13-0003-28
其中該θ為該車體當前的姿態角;XC為全域坐標系的YG軸與車輛坐標系的YGM軸之間距;YC為全域坐標系的XG軸與車輛坐標系的XGM軸之間距;XG,YG為該目標點在全域坐標系中之坐標;XL,YL為目標點在本地坐標系中之坐標。
Figure 110115173-A0101-13-0003-28
Where θ is the current attitude angle of the car body; X C is the distance between the Y G axis of the global coordinate system and the Y GM axis of the vehicle coordinate system; Y C is the X G axis of the global coordinate system and the X GM axis of the vehicle coordinate system Distance between axes; X G , Y G are the coordinates of the target point in the global coordinate system; X L , Y L are the coordinates of the target point in the local coordinate system.
如請求項1所述之無人自走車之導引控制方法,其中該步驟(B)根據直角三角形的幾何關係得到: The guidance and control method of the unmanned self-propelled vehicle as described in claim 1, wherein the step (B) is obtained according to the geometric relationship of a right triangle:
Figure 110115173-A0101-13-0003-31
其中該D為該車體中心至該目標點的最短距離;θS為該車體當前的航向與該車體中心至該目標點連線間之轉角;R為該車體中心至該目標點的旋轉半徑。
Figure 110115173-A0101-13-0003-31
Among them, D is the shortest distance from the center of the car body to the target point; θ S is the angle between the current heading of the car body and the line connecting the center of the car body to the target point; R is the center of the car body to the target point radius of rotation.
如請求項1所述之無人自走車之導引控制方法,其中該步驟(C)根據該車體中心與該二個舵輪的幾何關係得到: The guidance and control method of the unmanned self-propelled vehicle as described in claim 1, wherein the step (C) is obtained according to the geometric relationship between the center of the vehicle body and the two steering wheels:
Figure 110115173-A0101-13-0003-33
其中該W為該車體中心至該任一個舵輪中心水平方向的距離;L為該車體中心至該任一個舵輪中心垂直方向的距離;θa為該車體當前的航向與該車體中心至該任一個舵輪中心連線間之夾角;d為該車體中心至該任一個舵輪中心的距離。
Figure 110115173-A0101-13-0003-33
Wherein, W is the horizontal distance from the center of the car body to the center of any steering wheel; L is the vertical distance from the center of the car body to the center of any steering wheel; θ a is the current heading of the car body and the center of the car body The angle between the line to the center of any steering wheel; d is the distance from the center of the vehicle body to the center of any steering wheel.
如請求項1所述之無人自走車之導引控制方法,其中該步驟(D)當該車體之二個舵輪的姿態為平移前進時,係先將該車體在本地坐標系中的YL軸旋轉到與一起始點至該目標點連線形成的一目標直線平行之夾角θ,並使該二個舵輪以平移的方式旋轉至該夾角θ,假設將該目標直線分割成二段,並以該夾角θ為基準,根據直角三角形的幾何關係計算得到該二個舵輪的控制量分別為θ+arctan(x/y),其中該x為該車體中心至該起始點的距離,y為該起始點至目標直線的中點的距離。 The guidance control method of unmanned self-propelled vehicle as described in claim item 1, wherein in this step (D) when the attitude of the two steering wheels of the vehicle body is moving forward in translation, first the vehicle body is in the local coordinate system Rotate the Y L axis to an included angle θ parallel to a target line formed by a line connecting a starting point to the target point, and make the two steering wheels rotate to the included angle θ in a translational manner, assuming that the target line is divided into two segments , and taking the included angle θ as a benchmark, the control quantities of the two steering wheels are calculated according to the geometric relationship of the right triangle as θ+arctan(x/y), where the x is the distance from the center of the car body to the starting point , y is the distance from the starting point to the midpoint of the target line. 如請求項6所述之無人自走車之導引控制方法,當該車體之二個舵輪的姿態為進行轉彎時,若是該車體的姿態偏差為大於設定角度的偏差,係將該二個舵輪根據該車體要修正的姿態方向將其控制量乘上負號,以供該車體為向左轉彎或向右轉彎時,其中一個該舵輪的控制量為θ+arctan(x/y),而另一個該舵輪的控制量為-〔θ+arctan(x/y)〕。 As the guidance control method of the unmanned self-propelled vehicle described in claim 6, when the attitude of the two steering wheels of the vehicle body is turning, if the attitude deviation of the vehicle body is greater than the deviation of the set angle, the two According to the attitude direction of the car body to be corrected, the control amount of the two steering wheels is multiplied by a negative sign, so that when the car body turns left or right, the control amount of one of the steering wheels is θ+arctan(x/y ), and the control quantity of the other steering wheel is -[θ+arctan(x/y)]. 如請求項1所述之無人自走車之導引控制方法,其中該步驟 The guidance control method of unmanned self-propelled vehicle as described in claim item 1, wherein this step (F)完成該車體的二個舵輪轉向,再執行下一步驟: (F) Complete the steering of the two steering wheels of the car body, and then perform the next step: (G)該自動導引裝置計算該車體當前的位置、旋轉半徑與該目標路徑間之誤差量,並根據該誤差量採用PID控制得到該車體修正後的速度及旋轉半徑,再採用逆運動學以反推的方式計算該車體移動至該目標路徑上所需的速度或加速度,使該轉向驅動系統可控制該車體的二個舵輪來修正調整該車體當前的位置與旋轉半徑,直到完成該車體之路徑導引控制。 (G) The automatic guidance device calculates the error amount between the current position of the vehicle body, the radius of rotation and the target path, and uses PID control to obtain the corrected speed and radius of rotation of the vehicle body according to the error amount, and then uses the inverse Kinematics calculates the speed or acceleration required for the car body to move to the target path in a reverse way, so that the steering drive system can control the two steering wheels of the car body to correct and adjust the current position and rotation radius of the car body , until the path guidance control of the car body is completed.
TW110115173A 2021-04-27 2021-04-27 Guidance control method of unmanned self-propelled vehicle TWI770966B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW110115173A TWI770966B (en) 2021-04-27 2021-04-27 Guidance control method of unmanned self-propelled vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW110115173A TWI770966B (en) 2021-04-27 2021-04-27 Guidance control method of unmanned self-propelled vehicle

Publications (2)

Publication Number Publication Date
TWI770966B TWI770966B (en) 2022-07-11
TW202242580A true TW202242580A (en) 2022-11-01

Family

ID=83439345

Family Applications (1)

Application Number Title Priority Date Filing Date
TW110115173A TWI770966B (en) 2021-04-27 2021-04-27 Guidance control method of unmanned self-propelled vehicle

Country Status (1)

Country Link
TW (1) TWI770966B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI831424B (en) * 2022-10-20 2024-02-01 財團法人車輛研究測試中心 Magnet-guiding switching system and magnet-guiding switching method

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109074079B (en) * 2016-04-27 2021-09-28 日本电产新宝株式会社 System, method, and computer program for managing moving body
CN107450549A (en) * 2017-08-25 2017-12-08 英华达(上海)科技有限公司 A kind of AGV control systems and control method, AGV system
TWI671066B (en) * 2018-01-24 2019-09-11 緯創資通股份有限公司 Mobile carrier
CN108279563B (en) * 2018-01-25 2019-01-29 武汉理工大学 A kind of unmanned vehicle track following PID control method of speed adaptive
JP2019148881A (en) * 2018-02-26 2019-09-05 日本電産シンポ株式会社 Moving object, and method and computer program controlling moving object
CN108710294B (en) * 2018-04-13 2021-03-05 四川智动木牛智能科技有限公司 Unmanned vehicle path tracking feedforward control method
CN108791289B (en) * 2018-04-28 2021-03-30 华为技术有限公司 Vehicle control method and device
TWI693493B (en) * 2019-03-11 2020-05-11 整技科技股份有限公司 Guided vehicle control system and method
CN111213101A (en) * 2019-04-26 2020-05-29 深圳市大疆创新科技有限公司 Line patrol control method and device for movable platform, movable platform and system
CN110471426B (en) * 2019-09-02 2020-11-24 哈尔滨工程大学 Automatic collision avoidance method for unmanned intelligent vehicle based on quantum wolf cluster algorithm

Also Published As

Publication number Publication date
TWI770966B (en) 2022-07-11

Similar Documents

Publication Publication Date Title
CN108673496B (en) Industrial robot path tracking method based on pure tracking model
Paromtchik et al. Motion generation and control for parking an autonomous vehicle
US7899618B2 (en) Optical laser guidance system and method
CN112130559A (en) Indoor pedestrian following and obstacle avoiding method based on UWB and laser radar
CN107272008A (en) A kind of AGV Laser navigation systems with inertia compensation
Wu et al. Coordinated path tracking of two vision-guided tractors for heavy-duty robotic vehicles
CN111634331B (en) Steering control method, device and system for automatic driving vehicle
CN111679676A (en) AGV movement track control method
Diab et al. Self-driving car lane-keeping assist using pid and pure pursuit control
JPH02105904A (en) Method and device for guiding moving body
TWI770966B (en) Guidance control method of unmanned self-propelled vehicle
CN214846390U (en) Dynamic environment obstacle avoidance system based on automatic guided vehicle
JP4264399B2 (en) Automated guided vehicle
Juntao et al. Research of AGV positioning based on the two-dimensional Code Recognition Method
CN112666934A (en) Control system, scheduling system and control method for automobile carrying AGV
Tan et al. Design and development of a novel autonomous scaled multiwheeled vehicle
CN112596521A (en) Double-rudder-wheel magnetic navigation AGV deviation rectifying method and device
WO2022252220A1 (en) Precise stopping system and method for multi-axis flatbed vehicle
TWI770965B (en) Guidance control method of unmanned self-propelled vehicle
Fnadi et al. Local obstacle-skirting path planning for a fast bi-steerable rover using bézier curves
CN114291117A (en) Four-wheel steering unmanned vehicle trajectory tracking control method
CN115431969A (en) Guidance control method of unmanned self-propelled vehicle
JP4269170B2 (en) Trajectory tracking control method and apparatus
CN115437362A (en) Guidance control method of unmanned self-propelled vehicle
CN114371702B (en) Nonlinear model predictive control method applied to visual servo