TWI770966B - Guidance control method of unmanned self-propelled vehicle - Google Patents

Guidance control method of unmanned self-propelled vehicle Download PDF

Info

Publication number
TWI770966B
TWI770966B TW110115173A TW110115173A TWI770966B TW I770966 B TWI770966 B TW I770966B TW 110115173 A TW110115173 A TW 110115173A TW 110115173 A TW110115173 A TW 110115173A TW I770966 B TWI770966 B TW I770966B
Authority
TW
Taiwan
Prior art keywords
vehicle body
center
vehicle
steering
steering wheels
Prior art date
Application number
TW110115173A
Other languages
Chinese (zh)
Other versions
TW202242580A (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

Abstract

本發明係提供一種無人自走車之導引控制方法,該導引控制方法係以自動導引裝置取得車體中心的位置建立車輛坐標系,並進行坐標系轉換建立本地坐標系,即可計算車體中心至預定規畫的目標路徑其中一目標點的最短距離、車體中心至目標點間之轉角及車體中心至目標點的旋轉半徑,再根據車體中心至任一個舵輪中心的距離計算車體當前的航向與舵輪中心間之夾角,便可判斷車體需要轉彎的方向,並根據餘弦定理得到二個舵輪的旋轉半徑及轉角,使轉向驅動系統可根據計算得到的轉角及速率控制二個舵輪轉向至對應的位置,從而實現對無人自走車依循預定規劃的目標路徑運行之導引控制,且不需大量複雜的運算或較長的處理週期,可有效提升整體之導航效率。 The present invention provides a guidance control method for an unmanned self-propelled vehicle. The guidance control method uses an automatic guidance device to obtain the position of the center of the vehicle body to establish a vehicle coordinate system, and converts the coordinate system to establish a local coordinate system, which can calculate The shortest distance from the center of the car body to one of the target points on the predetermined target path, the angle 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, and then according to the distance from the center of the car body to the center of any steering wheel By calculating the angle between the current heading of the car body and the center of the steering wheel, the direction of the car body to turn can be determined, and the rotation radius and angle of the two steering wheels can be obtained according to the cosine law, so that the steering drive system can be controlled according to the calculated rotation angle and speed. The two steering wheels are steered to the corresponding positions, so as to realize the guidance and control of the unmanned self-propelled vehicle to follow the pre-planned target path, and it does not require a large number of complex calculations or a long processing cycle, which can effectively improve the overall navigation efficiency.

Description

無人自走車之導引控制方法 Guidance control method of unmanned self-propelled vehicle

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

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

然而,自動導引車(Automatic Guided Vehicle;AGV)或稱無人搬運車,指的是配置有電磁式或光學式等自動導引裝置,並集合了環境感知、路徑規劃決策及無人自動操控等功能的運輸車,屬於輪式移動機器人(WMR-Wheeled Mobile Robot)的範疇,主要功能表現為在電腦或車載系統的監控下,按照路徑規劃和作業要求,自動行走並停靠到指定地點或工作站,並完成一系列作業功能,一般自動導引車可透過車載系統或電腦控制其行進的路線,或是可利用牆壁、支柱或地面上沿著其行進的路線設立的指示標記(如電磁軌道、具有反光特性的反光片、塗漆或色帶 等定位標誌)作為導引,並在自動導引車上裝設電磁式或光學式感測器(如電磁感測器、視覺感測器、超音波感測器或雷射感測器等),以偵測指示標記作為車輛運行的定位及位置修正,除了可使車體沿著預定規畫的導引路徑自動行駛之外,且因活動區域內無需鋪設軌道、支架等固定裝置,不會受到場地、道路和空間的限制,故自動導引車被廣泛地應用於物料的自動運輸、倉庫的監視巡邏與有害場所的作業等。 However, Automatic Guided Vehicle (AGV) or unmanned guided vehicle refers to an automatic guided vehicle equipped with electromagnetic or optical type, 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-Wheeled Mobile Robot). Complete a series of operation functions. Generally, the automatic guided vehicle can control its travel route through the on-board system or computer, or can use the indicator marks (such as electromagnetic track, reflective Special reflector, paint or ribbon and other positioning marks) as guidance, and equipped with electromagnetic or optical sensors (such as electromagnetic sensors, visual sensors, ultrasonic sensors or laser sensors, etc.) on the automatic guided vehicle , using the detection indicator mark as the positioning and position correction of the vehicle operation, in addition to the automatic driving of the vehicle body along the pre-planned guide path, and because there is no need to lay tracks, brackets and other fixing devices in the active area, it will not be Due to the limitation of site, road and space, automatic guided vehicles are widely used in automatic transportation of materials, monitoring and patrolling of warehouses and operations in harmful places.

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

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

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

本發明之次要目的乃在於由於車體中心與二個舵輪的幾何關係皆為固定,並在車體中心的速度V、車體中心至目標點的旋轉半徑R已知的情況下,可以得到:

Figure 110115173-A0305-02-0005-1
The secondary purpose of the present invention is that since the geometric relationship between the center of the vehicle body and the two steering wheels is fixed, and when the speed V of the center of the vehicle body and the radius of rotation R from the center of the vehicle body to the target point are known, it is possible to obtain :
Figure 110115173-A0305-02-0005-1

其中該θa為車體當前的航向與車體中心至任一個舵輪中心連線間之夾角;d為車體中心至任一個舵輪中心的距離。 The θ a is the angle between the current heading of the vehicle body and the line connecting the center of the vehicle body 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.

然後,可根據車體當前的航向與車體中心至目標點連線間之夾角θS,判斷車體需要轉彎的方向,假設θS為大於0,根據餘弦定理則可以得到:

Figure 110115173-A0305-02-0005-2
Then, according to the angle θ S between the current heading 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 determined. Assuming that θ S is greater than 0, according to the cosine law, it can be obtained:
Figure 110115173-A0305-02-0005-2

假設θS為小於0,根據餘弦定理則可以得到:

Figure 110115173-A0305-02-0006-3
Assuming that θ S is less than 0, according to the law of cosines, we can get:
Figure 110115173-A0305-02-0006-3

其中該Rlf為二個舵輪的旋轉半徑;Rrr為至少二個輔助用轉輪的旋轉半徑;θlf為二個舵輪沿著旋轉半徑Rlf轉彎時所需的轉角;θrr為至少二個輔助用轉輪沿著旋轉半徑Rrr轉彎時所需的轉角。 R lf is the rotation radius of the two steering wheels; R rr is the rotation radius of at least two auxiliary runners; θ lf is the required turning angle when the two steering wheels turn along the rotation radius R lf ; θ rr is at least two The required turning angle for each auxiliary wheel to turn along the turning radius R rr .

此外,由於車體中心以等速率圓周運動時的角速率為等於二個舵輪的角速率(即ω=ωlfrr),並根據車體中心的速度V、旋轉半徑R與角速率ω間的關係(即V=R*ω)可以得到:

Figure 110115173-A0305-02-0006-4
In addition, since the angular rate of the center of the vehicle body moving in a circle at the same rate is equal to the angular rate of the two steering wheels (ie ω=ω lfrr ), and according to the speed V of the center of the vehicle body, the radius of rotation R and the angular rate ω The relationship between (ie V=R*ω) can be obtained:
Figure 110115173-A0305-02-0006-4

其中該Vf為二個舵輪的速率角速度;Vr為至少二個輔助用轉輪的速率角速度。 Wherein the V f is the angular velocity of the two steering wheels; V r is the angular velocity of the at least two auxiliary runners.

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

本發明之另一目的乃在於當車體二個舵輪的姿態為平移前進時,係先將車體在本地坐標系中的YL軸旋轉到與起始點至目標點連線形 成的目標直線平行之夾角θ,且二個舵輪旋轉至夾角θ,假設目標直線分割二段,並以夾角θ為基準,便可計算得到二個舵輪的控制量分別為θ+arctan(x/y);當車體二個舵輪的姿態為轉彎時,若是車體的姿態偏差為大於設定角度的偏差,係將二個舵輪根據車體要修正的姿態方向將控制量乘上負號,以供車體向左或向右轉彎時,其中一個舵輪的控制量為θ+arctan(x/y),而另一個舵輪的控制量則為-〔θ+arctan(x/y)〕。 Another object of the present invention is to first rotate the Y and L axes of the vehicle 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 vehicle body is to move forward in translation. The included angle θ is parallel, and the two steering wheels rotate to the included angle θ. Assuming that the target line is divided into two segments, and the included angle θ is used as the reference, the control quantities of the two steering wheels can be calculated as θ+arctan(x/y) respectively; when 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 steering wheels will multiply the control amount by the minus sign according to the attitude direction of the vehicle body to be corrected, so as to provide the direction of the vehicle body. When turning left or right, the control amount of one steering wheel is θ+arctan(x/y), and the control amount 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 steering control of the two steering wheel angles, the automatic guidance device can calculate the error between the current position of the vehicle body, the rotation radius and the target path, and use the error according to the error. PID control can obtain the corrected speed and rotation radius 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 by means of reverse thrust, so that the steering drive system can control two steering wheels to correct and adjust The current position and rotation radius of the vehicle body until the path guidance control of the vehicle body is completed.

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

11:車體 11: 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 vehicle system of the present invention.

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

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

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

〔第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 present invention for correcting the turning radius of the vehicle body.

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

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

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

〔第10圖〕係本發明車體的姿態為平移前進之轉向控制示意圖。 [Fig. 10] is a schematic diagram of steering control in which the posture of the vehicle body according to the present invention is to move forward in translation.

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

〔第12圖〕係本發明車體的姿態修正為向右轉彎之示意圖。 [FIG. 12] is a schematic diagram of the present invention when the posture of the vehicle body is corrected to turn to the right.

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

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

在本實施例中,無人自走車1係將車體11前方左側的舵輪111作為左前輪111a,車體11後方對角右側的舵輪111作為右後輪111b,用於 驅動及控制轉向,但並不以此為限,亦可依車體11實際的設計來將二個舵輪111位置改為右前輪與左後輪對角設置,再配合車體11另一對角設置的二個轉輪112或其他適當位置的轉輪112,用於承載或輔助轉向,為了使車體11具有更好的穩定性,也可在車體11的貨叉上安裝有二個轉輪112(如貨叉輪)來起到支撐的作用,以構成一適用於重載貨物搬運或移載之叉車式自動導引車、拖板式或堆高機式自動導引車。 In this embodiment, the unmanned self-propelled vehicle 1 uses the steering wheel 111 on the front and left side of the vehicle body 11 as the left front wheel 111a, and the steering wheel 111 on the right diagonally behind the vehicle body 11 as the right rear wheel 111b. Drive and control steering, but it is not limited to this. According to the actual design of the vehicle body 11 , the positions of the two steering wheels 111 can be changed to the right front wheel and the left rear wheel diagonally arranged, and then matched with the other diagonal of the vehicle body 11 . Two runners 112 or runners 112 at other suitable positions are provided for carrying or assisting steering. In order to make the vehicle body 11 have better stability, two runners can also be installed on the forks of the vehicle body 11. Wheels 112 (such as fork wheels) play a supporting role to form a forklift-type automatic guided vehicle, pallet-type or stacker-type automatic guided vehicle suitable for handling or transferring heavy loads.

此外,無人自走車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 in the body 11 of the unmanned 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 gear box, etc.) and a steering mechanism (such as a steering motor, encoder, etc.) It is composed of a driving and steering control, and can realize the linear movement and steering functions of the vehicle body 11 with two degrees of freedom. The automatic guidance device 12 includes a sensor module 121 and a path planning unit 122, wherein The sensor module 121 includes an internal sensor (such as an encoder, an inertial measurement unit (IMU), etc.) mounted on the vehicle body 11 and an external sensor (such as a laser sensor, an optical radar, etc.) (Light Detection and Ranging, LiDAR) scanner, ultrasonic (Sonar) sensor or 3D vision sensor (3D Camera), etc.], and the position and attitude of the vehicle body 11 are positioned by the internal sensor, so that the automatic The guiding device 12 can use the environmental information obtained by the external sensor to correct the position or attitude on the basis of this positioning, and the path planning unit 122 uses an algorithm to plan the moving path of the vehicle body according to the preset and perform navigation/ Guidance, and the path navigation/guidance control 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 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 uses the physical markers (such as electromagnetic tracks, magnetic tapes, reflective sheets, etc.) established on the moving path as guidance, and The position and attitude of the vehicle body 11 are positioned by the sensor module 121 of the automatic guidance device 12 to detect the markings, so as to run along the target path predetermined 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 Tape Guidance) or optical guidance (Optical Guidance), while unmanned vehicle 1 virtual path navigation/guidance control If there is no physical mark, the configuration diagram data of the moving path of the vehicle body 11 is stored in the database or the map library route data in the automatic guidance device 12, and the sensor module 121 performs the position and attitude of the vehicle body 11. Detect, so that the path planning unit 122 can determine the target path of the predetermined planning, including but not limited to inertial navigation (Inertial Navigation), laser navigation (Laser Navigation) or ultrasonic navigation, visual navigation (Visual Navigation) or geographic navigation (such as Global Positioning System Navigation (Global Position System)], but there are many ways of path navigation/guidance control of the unmanned self-propelled vehicle 1, which will not be repeated here.

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

(S101)無人自走車1之自動導引裝置12先取得車體11中心的位置在全域坐標系中建立車輛坐標系,並進行坐標系轉換以建立本地坐標系。 (S101) The automatic guidance device 12 of the unmanned 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 transformation to establish a local coordinate system.

(S102)計算車體11中心至預定規畫的目標路徑其中一目標點的最短距離,車體11當前的航向與車體11中心至目標點連線間之轉角,以及車體11中心至目標點的旋轉半徑。 (S102) Calculate the shortest distance from the center of the vehicle body 11 to one of the target points in the predetermined target path, the current heading of the vehicle body 11 and the turning angle between the center of the vehicle body 11 and the target point, and the center of the vehicle 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 distance 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 angle.

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

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

(S106)轉向驅動系統13根據計算得到的轉角及速率來控制二個舵輪111轉向至對應的位置,使車體11中心能穩定的依循目標路徑前進。 (S106) The steering driving system 13 controls the two steering wheels 111 to turn 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 current position of the vehicle body 11, the error between the rotation radius and the target path, and uses the PID control to obtain the corrected speed and rotation radius, and then calculates the vehicle body 11 by inverse kinematics. speed, so that the steering driving system 13 can control the two steering wheels 111 to correct and adjust the current position and rotation radius of the vehicle body 11 .

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

Figure 110115173-A0305-02-0012-5
In this embodiment, the automatic guidance device 12 is used to first establish a Global Coordinate System (such as the X G Y G coordinate plane in the third figure) in the environment where the unmanned 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 predetermined planned target path, and the The pre-planned target path includes a straight 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 be obtained:
Figure 110115173-A0305-02-0012-5

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

根據直角三角形的幾何關係可以得到:

Figure 110115173-A0305-02-0012-6
According to the geometric relationship of the right triangle, we can get:
Figure 110115173-A0305-02-0012-6

Figure 110115173-A0305-02-0012-7
Figure 110115173-A0305-02-0012-7

Figure 110115173-A0305-02-0012-8
Figure 110115173-A0305-02-0012-8

其中該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的旋轉半徑。 The D is the distance from the center point C (X C , Y C ) of the vehicle body 11 in the local coordinate system to the shortest path of the target point P (X L , Y L ); θ S is the Y L axis of the local coordinate system The angle rotated clockwise to the target point P can be expressed as the angle between the current heading of the vehicle body 11 and the line connecting the center of the vehicle body 11 (ie, the center point C) to the target point P; The current heading of the two steering wheels 111 (ie the left front wheel 111a and the right rear wheel 111b ) and the current heading of the vehicle body 11 are in the same and parallel directions. When D and θ S are known, according to the geometric relationship, it can be obtained that R is 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的情況下,則可以得到:

Figure 110115173-A0305-02-0013-10
As shown in FIG. 4 , after the automatic guidance device 12 obtains the current position of the center of the vehicle body 11 (eg X, Y, θ), the distance D of the shortest path and the speed V, the center of the vehicle 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 vehicle body 11 to the geometric center of the steering wheel 111 is d, it can be obtained:
Figure 110115173-A0305-02-0013-10

Figure 110115173-A0305-02-0013-11
Figure 110115173-A0305-02-0013-11

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

然後,可根據車體11當前的航向與車體11中心至目標點P連線間之夾角(即轉角或航向角)θS,判斷車體11需要轉彎的方向,假設判斷車體11的轉角θS為大於0(即正號為逆時針轉彎的方向)時,根據餘弦定理則可以得到:

Figure 110115173-A0305-02-0013-12
Then, according to the angle between the current heading of the vehicle body 11 and the line connecting the center of the vehicle body 11 to the target point P (ie the turning angle or the heading angle) θ S , the direction in which the vehicle body 11 needs to turn can be determined, and it is assumed that the turning angle of the vehicle body 11 is determined. When θ S is greater than 0 (that is, the positive sign is the direction of the counterclockwise turn), according to the law of cosines, it can be obtained:
Figure 110115173-A0305-02-0013-12

Figure 110115173-A0305-02-0014-13
Figure 110115173-A0305-02-0014-13

Figure 110115173-A0305-02-0014-14
Figure 110115173-A0305-02-0014-14

Figure 110115173-A0305-02-0014-15
Figure 110115173-A0305-02-0014-15

假設判斷車體11的轉角θS為小於0(即負號為順時針轉彎的方向)時,根據餘弦定理則可以得到:

Figure 110115173-A0305-02-0014-16
Assuming that the turning angle θ S of the vehicle body 11 is judged to be less than 0 (that is, the negative sign is the direction of clockwise turning), according to the law of cosines, it can be obtained:
Figure 110115173-A0305-02-0014-16

Figure 110115173-A0305-02-0014-20
Figure 110115173-A0305-02-0014-20

Figure 110115173-A0305-02-0014-21
Figure 110115173-A0305-02-0014-21

Figure 110115173-A0305-02-0014-22
Figure 110115173-A0305-02-0014-22

其中該Rlf為二個舵輪111(即左前輪111a)中心至車體11中心以旋轉半徑R環繞的圓心O的距離;Rrr為至少二個輔助用轉輪111(即右後輪111b)中心至車體11中心以旋轉半徑R環繞的圓心O的距離;θlf為二個舵輪111(即左前輪111a)沿著旋轉半徑Rlf轉彎時所需的轉角或航向角;θrr為至少二個輔助用轉輪111(即右後輪111b)沿著旋轉半徑Rrr轉彎時所需的轉角或航向角。 The R lf is the distance from the center of the two steering wheels 111 (ie the left front wheel 111 a ) to the center O of the vehicle body 11 surrounded by the rotation radius R; R rr is the at least two auxiliary wheels 111 (ie the right rear wheel 111 b ) The distance from the center to the center O of the vehicle body 11 surrounded by the rotation radius R; The turning angle or heading angle required when the two auxiliary runners 111 (ie, the right rear wheel 111b) turn along the turning radius Rrr .

此外,由於車體11中心以等速率圓周運動時的角速率為等於前後二個舵輪111的角速率(即ω=ωlfrr),並在車體11中心當前的速度V已知的情況下,根據車體11中心的速度(即平均速率)V、旋轉半徑R與角速率ω間的關係(即V=R*ω)可以得到:

Figure 110115173-A0305-02-0014-23
In addition, since the angular velocity when the center of the vehicle body 11 moves in a circle at a constant rate is equal to the angular velocity of the front and rear steering wheels 111 (ie ω=ω lfrr ), and the current speed V at the center of the vehicle body 11 is known In this case, according to the relationship between the speed of the center of the vehicle body 11 (that is, the average speed) V, the radius of rotation R and the angular rate ω (that is, V=R*ω), it can be obtained:
Figure 110115173-A0305-02-0014-23

Figure 110115173-A0305-02-0015-24
Figure 110115173-A0305-02-0015-24

其中該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內建處理器採用的轉向驅動演算法,不需經由大量複雜的運算或較長的運算處理週期,對於車載控制器或處理器的運算性能要求相對降低,也可有效地提升整體之導航效率。 The V f is the angular velocity of the two steering wheels 111 (ie the left front wheel 111 a ); V r is the angular velocity of the at least two auxiliary runners 111 (ie the right rear wheel 111 b ). Therefore, the automatic guidance device 12 can first obtain the rotation radii R lf and R rr required when the two steering wheels 111 of the vehicle body 11 (ie the left front wheel 111 a and the right rear wheel 111 b ) follow a straight path or a curved path, and return the After the rotation angles θ lf and θ rr required by the two steering wheels 111 are obtained, then the angular velocities V f and V r required by the two steering wheels 111 can be obtained according to the relationship between the speed, the radius of rotation and the angular rate, which can be driven by steering The system 13 controls the two steering wheels 111 of the car body 11 to turn to corresponding positions, and can travel at different angles and speeds (ie speed differences) when the car body 11 turns, 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 to follow 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 complex calculations or comparisons. The long computing processing cycle relatively reduces the computing 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 to 7, which are the block diagram of the closed-loop guidance control of the target path of the present invention, the schematic diagram (1) of correcting the turning radius of the car body, and the schematic diagram of correcting the turning radius of the car body. (2), it can be clearly seen from the figure that the unmanned self-propelled vehicle 1 of the present invention can perform PID (proportional, integral and differential) control according to the moving state of the vehicle body 11 and the predetermined planned target path generated by the automatic guidance device 12 , so as to form a closed-loop control process, so as to realize 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 vehicle body 11 moves along the target path, the automatic guidance device 12 can perform coordinate transformation between the current position of the vehicle body 11 and the rotation radius, and calculate the error between the current position of the vehicle body 11, the rotation radius 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 vehicle body 11, and then inverse kinematics (Inverse Kinematics) can be used to calculate the vehicle body in a reverse way. 11 The speed V or acceleration A required to move to the target path, such as the speed V f of the two steering wheels 111 (ie the left front wheel 111a ) of the vehicle body 11 , the speed of the at least two auxiliary wheels 111 (ie the right rear wheel 111b ) The velocity V r , and the accelerations A f and Ar of the front and rear steering wheels 111 enable the steering drive system 13 to control the two steering wheels 111 to correct and adjust the current position and rotation radius of the vehicle body 11 , so that the vehicle body 11 moves through repeated corrections. The state conforms to the desired target path until the path guidance control of the vehicle 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 predetermined planned target path generated by the automatic guidance device 12 can guide the vehicle body 11 to follow a straight path or a curved path, and give the vehicle body 11 the current position and rotation radius, and can continuously detect The error between the current position of the vehicle body 11, the radius of rotation and the target path, wherein the error d is the error amount of the linear distance between the current position of the vehicle body 11 and the final position of the target path, and error R =RR false is the vehicle body 11 The error of the rotation radius of the center and the rotation radius of the vehicle body 11 caused by the offset, and then different algorithms of PID control can be used to calculate the corrected speed of the vehicle body 11 V*=K PR *(error d ), and the vehicle body 11 The corrected rotation radius R*=K PR *(R-error R ), wherein the 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 travels on a curved path, the turning radius of the vehicle body 11 can be changed by adjusting the turning radius. In other words, when the turning radius of the vehicle body 11 becomes smaller, it means that the vehicle body 11 has shifted to the inside of the curved path, and the turning range of the vehicle body 11 adjustment and change should become larger. The turning direction of the center of the body 11 can be determined in the algorithm, so the rotation radius of the center of the body 11 can be used as a variation to correct the steering of the body 11, so that when the body 11 deviates from the curved path, it can quickly and accurate deviation correction, and stable maintenance on the pre-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 Figures 8 to 12, which are the schematic diagram of the vehicle body performing linear control, the schematic diagram of the attitude direction of the vehicle body relative to the target path, the steering control diagram of the vehicle body's attitude as translation forward, and the vehicle body according to the present invention. The posture of the body is corrected to a schematic diagram of turning to the left and the posture of the vehicle body is corrected to a schematic diagram of turning to the right. It can be clearly seen from the figures that the target path of the predetermined plan generated by the above-mentioned automatic guidance device 12 uses a plurality of target points. P0~P9 are divided into multiple line segments, and the multiple line segments are connected to form a straight path trajectory, wherein the target point P0 can be represented as the starting point of the straight path, and the target point P9 can be represented as the final point of the straight path. And according to the straight line equation y=ax+b is divided according to the predetermined length, when the vehicle body 11 is traveling, according to the vehicle coordinate system, the first target point P1 is on the left side of the vehicle body 11 (as shown in Fig. 9), and calculate The included angle [arctan(x/y)] between the center of the vehicle body 11 and the target point P1 is obtained as the control of the two steering wheels 111 of the vehicle body 11, and the turning direction of the vehicle body 11 can also be judged by this, which is generally counterclockwise The direction of the turn is taken as a positive sign, and the direction of a clockwise turn 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 vehicle 1 takes the two steering wheels 111 diagonally arranged in the 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 (ie the center point C) is set to the target point The distance of P1 is used as the hypotenuse of the right triangle, and the point where the opposite side and the adjacent side of the right triangle intersect perpendicularly is used as the starting point S (as shown in Figure 10). When moving forward, first rotate the Y and L axes of the vehicle body 11 in the local coordinate system counterclockwise 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 vehicle body 11 rotated to The included angle θ is parallel to the target line, and after the two steering wheels 111 of the vehicle 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 included angle θ As a benchmark, according to the geometric relationship of the right triangle, the control quantities of the two steering wheels 111 of the vehicle body 11 can be calculated as θ+arctan(x/y), where x is the distance from the center of the vehicle 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 vehicle body 11 is turning, if the attitude deviation of the vehicle body 11 is greater than the deviation of the set angle, 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 vehicle body 11 to be corrected. The control amount is multiplied by the minus sign. For example, when the vehicle body 11 turns to the 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 vehicle body 11 turns to the right (as shown in Fig. 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 vehicle body 11 can stably follow the target path.

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

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

Claims (8)

一種無人自走車之導引控制方法,該無人自走車包括車體、自動導引裝置及轉向驅動系統,並於該車體包含前後對角設置用於驅動與控制轉向之二個舵輪及至少二個輔助用轉輪,該自動導引裝置用於對該車體進行位置與姿態的定位,並生成一預定規畫的用標路徑,以供該轉向驅動系統驅動該車體的舵輪能依循該目標路徑運行,該導引控制方法包括下列之步驟:(A)該自動導引裝置取得該車體中心的位置在全域坐標系中建立車輛坐標系,並取得該車體當前的姿態角進行坐標系轉換以建立本地坐標系;(B)計算得到該車體中心至該目標路徑其中一目標點的最短距離D,該車體當前的航向與該車體中心至該目標點連線間之轉角θS,以及該車體中心至該目標點的旋轉半徑R;(C)取得該車體中心的速度V,並根據該車體中心至該任一個舵輪中心的距離d,計算得到該車體當前的航向與該車體中心至該任一個舵輪中心連線間之夾角θa;(D)根據該車體的轉角θS判斷該車體轉彎的方向,假設θS為大於0時,根據餘弦定理得到:
Figure 110115173-A0305-02-0020-25
Figure 110115173-A0305-02-0021-28
假設該車體的轉角θS為小於0時,根據餘弦定理得到:
Figure 110115173-A0305-02-0021-27
其中該Rlf為二個舵輪的旋轉半徑;Rrr為至少二個輔助用轉輪的旋轉半徑;θlf為二個舵輪沿著該旋轉半徑Rlf轉彎時所需的轉角;θrr為至少二個輔助用轉輪沿著該旋轉半徑Rrr轉彎時所需的轉角;(E)由於該車體中心以等速率圓周運動的角速率為等於該二個舵輪的角速率,根據該車體中心的速度V、旋轉半徑R與角速率間的關係得到:
Figure 110115173-A0305-02-0021-26
其中該Vf為二個舵輪的角速度;Vr為至少二個輔助用轉輪的角速度;(F)該轉向驅動系統根據該計算得到的轉角θlf、θrr及速率Vf、Vr來控制該二個舵輪轉向至對應的位置,使該車體中心能依循該目標路徑前進。
A guidance control method for an unmanned self-propelled vehicle, the unmanned self-propelled vehicle includes a vehicle body, an automatic guide device and a steering drive system, and the vehicle body includes two steering wheels arranged diagonally at the front and rear for driving and controlling steering, and a steering wheel and a steering wheel. At least two auxiliary runners, the automatic guidance device is used for positioning the position and attitude of the vehicle body, and generating a predetermined planned path for the steering wheel of the vehicle body to be driven by the steering drive system. Running along the target path, the guidance control method includes the following steps: (A) the automatic guidance device obtains the position of the center of the vehicle body, establishes a vehicle coordinate system in the global coordinate system, and obtains the current attitude angle of the vehicle body Perform coordinate system transformation to establish a local coordinate system; (B) Calculate the shortest distance D from the center of the vehicle body to one of the target points on the target path, the current heading of the vehicle body and the line connecting the center of the vehicle body to the target point ( C ) obtain the speed V of the center of the vehicle body, and calculate the distance d from the center of the vehicle body to the center of any one of the steering wheels. The included angle θ a between the current heading of the vehicle body and the line connecting the center of the vehicle body to the center of any steering wheel; (D) judge the direction of the vehicle body turning according to the turning angle θ S of the vehicle body, assuming that θ S is greater than 0 time , according to the cosine law:
Figure 110115173-A0305-02-0020-25
Figure 110115173-A0305-02-0021-28
Assuming that the rotation angle θ S of the car body is less than 0, according to the cosine law, we can get:
Figure 110115173-A0305-02-0021-27
Wherein the R lf is the rotation radius of the two steering wheels; R rr is the rotation radius of at least two auxiliary runners; θ lf is the required turning angle when the two steering wheels turn along the rotation radius R lf ; The required turning angle when the two auxiliary runners turn along the rotation radius R rr ; (E) Since the angular velocity of the center of the car body moving in a circle at a constant rate is equal to the angular velocity of the two steering wheels, according to the angular velocity of the car body The relationship between the velocity V of the center, the radius of rotation R and the angular rate is:
Figure 110115173-A0305-02-0021-26
Wherein the V f is the angular velocity of the two steering wheels; V r is the angular velocity of the at least two auxiliary runners; (F) the steering drive system is based on the calculated rotation angles θ lf , θ rr and rates V f , V r The two steering wheels are controlled to be turned to corresponding positions, so that the center of the vehicle body can follow the target path.
如請求項1所述之無人自走車之導引控制方法,其中該自動導引裝置包含用於對該車體的位置與姿態進行定位之感測器模組及用 於生成該目標路徑之路徑規劃單元。 The guidance control method for an unmanned vehicle as claimed in claim 1, wherein the automatic guidance device comprises a sensor module for locating the position and attitude of the vehicle body and a sensor module for positioning the vehicle body. A path planning unit for generating the target path. 如請求項1所述之無人自走車之導引控制方法,其中該步驟(A)係利用旋轉矩陣進行坐標系轉換:
Figure 110115173-A0305-02-0022-29
其中該θ為該車體當前的姿態角;XC為全域坐標系的YG軸與車輛坐標系的YGM軸之間距;YC為全域坐標系的XG軸與車輛坐標系的XGM軸之間距;XG,YG為該目標點在全域坐標系中之坐標;XL,YL為目標點在本地坐標系中之坐標。
The guidance control method for an unmanned self-propelled vehicle as claimed in claim 1, wherein the step (A) is to perform coordinate system transformation using a rotation matrix:
Figure 110115173-A0305-02-0022-29
The θ is the current attitude angle of the vehicle 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 of the vehicle coordinate system. Distance between axes; X G , Y G are the coordinates of the target point in the global coordinate system; XL , Y L are the coordinates of the target point in the local coordinate system.
如請求項1所述之無人自走車之導引控制方法,其中該步驟(B)根據直角三角形的幾何關係得到:
Figure 110115173-A0305-02-0022-30
其中該D為該車體中心至該目標點的最短距離;θS為該車體當前的航向與該車體中心至該目標點連線間之轉角;R為該車體中心至該目標點的旋轉半徑。
The guidance control method for an unmanned self-propelled vehicle as claimed in claim 1, wherein the step (B) is obtained according to the geometric relationship of a right triangle:
Figure 110115173-A0305-02-0022-30
Wherein D is the shortest distance from the center of the vehicle body to the target point; θ S is the angle between the current heading of the vehicle body and the line connecting the center of the vehicle body to the target point; R is the center of the vehicle body to the target point radius of rotation.
如請求項1所述之無人自走車之導引控制方法,其中該步驟(C)根據該車體中心與該二個舵輪的幾何關係得到:
Figure 110115173-A0305-02-0022-31
其中該W為該車體中心至該任一個舵輪中心水平方向的距離;L為該車體中心至該任一個舵輪中心垂直方向的距離;θa為該車體當前的 航向與該車體中心至該任一個舵輪中心連線間之夾角;d為該車體中心至該任一個舵輪中心的距離。
The guidance control method for an unmanned self-propelled vehicle as claimed 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-A0305-02-0022-31
Wherein the W is the horizontal distance from the center of the vehicle body to the center of any one of the steering wheels; L is the distance from the center of the vehicle body to the center of the any one of the steering wheels in the vertical direction; θ a is the current heading of the vehicle body and the center of the vehicle body The included angle between the line connecting the center of any one of the steering wheels; d is the distance from the center of the vehicle body to the center of any one of the steering wheels.
如請求項1所述之無人自走車之導引控制方法,其中該步驟(D)當該車體之二個舵輪的姿態為平移前進時,係先將該車體在本地坐標系中的YL軸旋轉到與一起始點至該目標點連線形成的一目標直線平行之夾角θ,並使該二個舵輪以平移的方式旋轉至該夾角θ,假設將該目標直線分割成二段,並以該夾角θ為基準,根據直角三角形的幾何關係計算得到該二個舵輪的控制量分別為θ+arctan(x/y),其中該x為該車體中心至該起始點的距離,y為該起始點至目標直線的中點的距離。 The guidance control method for an unmanned self-propelled vehicle as claimed in claim 1, wherein in step (D), when the attitude of the two steering wheels of the vehicle body is to move forward in translation, the first step is to move the vehicle body in the local coordinate system. The Y and L axes are rotated to an included angle θ parallel to a target line formed by a line connecting the starting point to the target point, and the two steering wheels are rotated to the included angle θ in a translational manner. Suppose the target line is divided into two sections , and based on the included angle θ, the control variables 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 vehicle 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)〕。 According to 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 to turn, if the attitude deviation of the vehicle body is greater than the deviation of the set angle, the two steering wheels Each steering wheel multiplies its control amount by the minus sign according to the attitude direction of the vehicle body to be corrected, so that when the vehicle body is turning left or right, the control amount of one of the steering wheels is θ+arctan(x/y ), and the control amount of the other steering wheel is -[θ+arctan(x/y)]. 如請求項1所述之無人自走車之導引控制方法,其中該步驟(F)完成該車體的二個舵輪轉向,再執行下一步驟:(G)該自動導引裝置計算該車體當前的位置、旋轉半徑與該目標路徑間之誤差量,並根據該誤差量採用PID控制得到該車體修正後的速度及旋轉半徑,再採用逆運動學以反推的方式計算該車體移動至該目標路徑上所需的速度或加速度,使該轉向驅動系統可控制該車體的二個舵輪來修正 調整該車體當前的位置與旋轉半徑,直到完成該車體之路徑導引控制。 The guidance control method for an unmanned self-propelled vehicle as claimed in claim 1, wherein the step (F) completes the steering of the two steering wheels of the vehicle body, and then performs the next step: (G) the automatic guidance device calculates the vehicle The current position of the car body, the error between the rotation radius and the target path, and according to the error amount, PID control is used to obtain the corrected speed and rotation radius of the car body, and then the inverse kinematics is used to calculate the car body in a reverse way. The speed or acceleration required to move to the target path, so that the steering drive system can control the two steering wheels of the car body to correct Adjust the current position and rotation radius of the vehicle body until the path guidance control of the vehicle 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 true TWI770966B (en) 2022-07-11
TW202242580A 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)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201739194A (en) * 2016-04-27 2017-11-01 日本電產新寶股份有限公司 System, method, and computer program for management of vehicles
CN108279563A (en) * 2018-01-25 2018-07-13 武汉理工大学 A kind of unmanned vehicle track following PID control method of speed adaptive
CN108710294A (en) * 2018-04-13 2018-10-26 四川木牛流马智能科技有限公司 A kind of unmanned vehicle path trace feed forward control method
CN108791289A (en) * 2018-04-28 2018-11-13 华为技术有限公司 A kind of control method for vehicle and device
TW201913264A (en) * 2017-08-25 2019-04-01 英華達股份有限公司 AGV control system and control method, AGV system
TW201932087A (en) * 2018-01-24 2019-08-16 緯創資通股份有限公司 Mobile carrier
US20190278281A1 (en) * 2018-02-26 2019-09-12 Nidec-Shimpo Corporation Vehicle, method for controlling vehicle, and computer program
CN110471426A (en) * 2019-09-02 2019-11-19 哈尔滨工程大学 Unmanned intelligent vehicle automatic Collision Avoidance method based on quantum wolf pack algorithm
TW202034104A (en) * 2019-03-11 2020-09-16 整技科技股份有限公司 Guided vehicle control system and method
WO2020215296A1 (en) * 2019-04-26 2020-10-29 深圳市大疆创新科技有限公司 Line inspection control method for movable platform, and line inspection control device, movable platform and system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201739194A (en) * 2016-04-27 2017-11-01 日本電產新寶股份有限公司 System, method, and computer program for management of vehicles
TW201913264A (en) * 2017-08-25 2019-04-01 英華達股份有限公司 AGV control system and control method, AGV system
TW201932087A (en) * 2018-01-24 2019-08-16 緯創資通股份有限公司 Mobile carrier
CN108279563A (en) * 2018-01-25 2018-07-13 武汉理工大学 A kind of unmanned vehicle track following PID control method of speed adaptive
US20190278281A1 (en) * 2018-02-26 2019-09-12 Nidec-Shimpo Corporation Vehicle, method for controlling vehicle, and computer program
CN108710294A (en) * 2018-04-13 2018-10-26 四川木牛流马智能科技有限公司 A kind of unmanned vehicle path trace feed forward control method
CN108791289A (en) * 2018-04-28 2018-11-13 华为技术有限公司 A kind of control method for vehicle and device
TW202034104A (en) * 2019-03-11 2020-09-16 整技科技股份有限公司 Guided vehicle control system and method
WO2020215296A1 (en) * 2019-04-26 2020-10-29 深圳市大疆创新科技有限公司 Line inspection control method for movable platform, and line inspection control device, movable platform and system
CN110471426A (en) * 2019-09-02 2019-11-19 哈尔滨工程大学 Unmanned intelligent vehicle automatic Collision Avoidance method based on quantum wolf pack algorithm

Also Published As

Publication number Publication date
TW202242580A (en) 2022-11-01

Similar Documents

Publication Publication Date Title
CN108673496B (en) Industrial robot path tracking method based on pure tracking model
CN111399509B (en) Multi-mobile-robot cooperative transfer control method and system
CN108594800B (en) AGV composite navigation system and method fusing magnetic sensor and gyroscope data
CN112462760B (en) Double-steering-wheel AGV path tracking method
CN110989571A (en) Tracking control method for steering wheel drive type AGV
Oyama et al. Model predictive parking control for nonholonomic vehicles using time-state control form
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
CN111487976A (en) Backing track tracking method
Zhang et al. Smooth path and velocity planning under 3D path constraints for car-like vehicles
JPH02105904A (en) Method and device for guiding moving body
JP4264399B2 (en) Automated guided vehicle
CN214846390U (en) Dynamic environment obstacle avoidance system based on automatic guided vehicle
CN112596521B (en) Double-rudder-wheel magnetic navigation AGV deviation rectifying method and device
TWI770966B (en) Guidance control method of unmanned self-propelled vehicle
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
Juntao et al. Research of AGV positioning based on the two-dimensional Code Recognition Method
TWI770965B (en) Guidance control method of unmanned self-propelled vehicle
WO2022252220A1 (en) Precise stopping system and method for multi-axis flatbed vehicle
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