[go: up one dir, main page]

TWI857412B - Self propelled vehicle for following target and method thereof - Google Patents

Self propelled vehicle for following target and method thereof Download PDF

Info

Publication number
TWI857412B
TWI857412B TW111146511A TW111146511A TWI857412B TW I857412 B TWI857412 B TW I857412B TW 111146511 A TW111146511 A TW 111146511A TW 111146511 A TW111146511 A TW 111146511A TW I857412 B TWI857412 B TW I857412B
Authority
TW
Taiwan
Prior art keywords
target object
obstacle
target
self
posture
Prior art date
Application number
TW111146511A
Other languages
Chinese (zh)
Other versions
TW202424675A (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 TW111146511A priority Critical patent/TWI857412B/en
Priority to CN202211724093.3A priority patent/CN118192533A/en
Publication of TW202424675A publication Critical patent/TW202424675A/en
Application granted granted Critical
Publication of TWI857412B publication Critical patent/TWI857412B/en

Links

Images

Landscapes

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

Abstract

The present invention provides a self propelled vehicle for following an target and a method thereof. The method includes: using an image of an target to determine whether there is an obstacle in a track of the target; in response to determining that there exists the obstacle in the track, using the image to determine a following speed for following the target; and in response to determining that there does not exist the obstacle in the track, using a position information of the target to determine the following speed.

Description

用於跟隨目標物的自走車及其方法Self-driving vehicle and method for following a target object

本發明是有關於一種用於跟隨目標物的自走車及其方法。 The present invention relates to a self-driving vehicle and a method for following a target object.

現今倉儲和物流業者仍大量依賴人工進行搬運,雖已部分導入自動化,但倉儲區域面積廣大,來回搬運相當費時費工。具有跟隨功能的自走車,跟隨目標物(例如揀貨人員)一同前往揀貨與搬運,可以大幅降低揀貨人員的工作負擔。 Today, warehouse and logistics companies still rely heavily on manual labor for transportation. Although automation has been partially introduced, the storage area is large and transportation back and forth is time-consuming and labor-intensive. Self-driving vehicles with following functions can follow the target (such as pickers) to pick up and transport goods, which can greatly reduce the workload of pickers.

目前自走車跟隨做法:使用訊號發射器(i.e.,藍芽)發射座標訊號,使載具(i.e.,自走車)在跟隨時,獲得目標位置資訊。訊號可為平面座標、平面角度。當自走車跟隨目標物時,若目標物轉彎而自走車仍然維持直線的跟隨路徑,則自走車將會碰撞障礙物,因而造成自走車損壞或者跟丟目標物。 The current method of following a self-driving car is to use a signal transmitter ( ie, Bluetooth) to send a coordinate signal so that the vehicle ( ie, self-driving car) can obtain the target position information when following. The signal can be a plane coordinate or a plane angle. When the self-driving car follows a target, if the target turns and the self-driving car still maintains a straight following path, the self-driving car will collide with the obstacle, causing damage to the self-driving car or losing the target.

本發明提供一種用於跟隨目標物的自走車及其方法,可讓自走車更準確的跟隨揀貨人員,有效避免跟丟或跟錯人的情況。 The present invention provides a self-driving vehicle and method for following a target object, which can allow the self-driving vehicle to follow the picker more accurately, effectively avoiding the situation of losing or following the wrong person.

本發明用於跟隨目標物的自走車包括影像擷取裝置、收發器、儲存媒體以及處理器。影像擷取裝置獲得目標物的影像。收發器接收目標物的位置資訊。儲存媒體儲存多個模組。處理器耦接影像擷取裝置、收發器以及儲存媒體,並且存取和執行多個模組,其中多個模組包括障礙物判斷模組、避障路徑規劃模組以及目標物定位模組。障礙物判斷模組利用影像判斷目標物的軌跡是否存在障礙物。避障路徑規劃模組響應於障礙物判斷模組判定軌跡存在障礙物而利用影像決定跟隨目標物的跟隨速度。目標物定位模組響應於障礙物判斷模組判定軌跡不存在障礙物而利用位置資訊決定跟隨速度。 The self-driving vehicle for following a target object of the present invention includes an image capture device, a transceiver, a storage medium, and a processor. The image capture device obtains an image of the target object. The transceiver receives the position information of the target object. The storage medium stores multiple modules. The processor is coupled to the image capture device, the transceiver, and the storage medium, and accesses and executes multiple modules, wherein the multiple modules include an obstacle judgment module, an obstacle avoidance path planning module, and a target object positioning module. The obstacle judgment module uses an image to judge whether there is an obstacle in the track of the target object. The obstacle avoidance path planning module responds to the obstacle judgment module's determination that there are obstacles on the track and uses the image to determine the following speed of the target object. The target positioning module responds to the obstacle judgment module's determination that there are no obstacles on the track and uses the position information to determine the following speed.

本發明跟隨目標物的方法包括:利用目標物的影像判斷目標物的軌跡是否存在障礙物;響應於判定軌跡存在障礙物而利用影像決定跟隨目標物的跟隨速度;以及響應於判定軌跡不存在障礙物而利用目標物的位置資訊決定跟隨速度。 The method of following a target object of the present invention includes: using an image of the target object to determine whether there is an obstacle in the track of the target object; using the image to determine the following speed of the target object in response to determining that there is an obstacle in the track; and using the position information of the target object to determine the following speed in response to determining that there is no obstacle in the track.

基於上述,本發明用於跟隨目標物的自走車及其方法可根據目標物的軌跡是否存在障礙物來判斷,要利用目標物的影像或是目標物的位置資訊來決定,跟隨目標物的跟隨速度。基此,可讓自走車更穩定地跟隨目標物。本發明為解決載具在跟隨時,因目標轉彎或障礙物阻擋在直線路徑上,載具持續接收發射器之線性導引訊號,會造成碰撞的問題。 Based on the above, the self-driving vehicle and method for following a target object of the present invention can determine whether there are obstacles on the target's track, and use the image of the target or the position information of the target to determine the following speed of the target object. Based on this, the self-driving vehicle can follow the target object more stably. The present invention is to solve the problem that when the vehicle is following, the target turns or obstacles block the straight path, and the vehicle continues to receive the linear guidance signal of the transmitter, which will cause a collision.

本發明利用影像追蹤技術,判斷目標物姿態變化地理環境,動態切換導引模式,提供載具安全且避障路徑規劃。 The present invention uses image tracking technology to determine the target object's posture changes and geographical environment , dynamically switch guidance modes, and provide vehicle safety and obstacle avoidance path planning.

為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。 In order to make the above features and advantages of the present invention more clearly understood, the following is a detailed description of the embodiments with the accompanying drawings.

100:用於跟隨目標物的自走車 100: Self-driving car for following target objects

110:影像擷取裝置 110: Image capture device

120:收發器 120: Transceiver

130:儲存媒體 130: Storage media

131:障礙物判斷模組 131: Obstacle judgment module

132:避障路徑規劃模組 132: Obstacle avoidance path planning module

133:目標物定位模組 133: Target positioning module

134:目標物追蹤與姿態判斷模組 134: Target tracking and posture judgment module

135:目標物辨識模組 135: Target recognition module

140:處理器 140: Processor

150:馬達控制器 150: Motor controller

200:目標物 200: Target

210:位置資訊傳輸模組 210: Location information transmission module

S210、S220、S230:步驟 S210, S220, S230: Steps

P0、P8、P2、P5:關鍵點 P0, P8, P2, P5: key points

300:障礙物 300: Obstacles

A1:自走車的原始行進路線 A 1 : The original route of the self-driving car

A2:自走車若以直線跟隨目標物的行進路線 A 2 : If the self-driving car follows the path of the target in a straight line

θ:行進路線A1與行進路線A2之間的角度 θ: Angle between route A1 and route A2

圖1是根據本發明的一實施例繪示的一種用於跟隨目標物的自走車的示意圖。 FIG1 is a schematic diagram of a self-driving vehicle for following a target object according to an embodiment of the present invention.

圖2是根據本發明的一實施例繪示的跟隨目標物的方法的流程圖。 FIG2 is a flow chart of a method for following a target object according to an embodiment of the present invention.

圖3是根據本發明的一實施例繪示的判斷目標物的姿態的示意圖。 Figure 3 is a schematic diagram of determining the posture of a target object according to an embodiment of the present invention.

圖4是根據本發明的一實施例繪示的針對轉彎姿態的目標物來決定自走車的跟隨速度的示意圖。 FIG4 is a schematic diagram showing how to determine the following speed of a self-driving vehicle for a target object with a turning posture according to an embodiment of the present invention.

圖5是根據本發明的一實施例繪示的利用目標物的影像決定跟隨速度的流程圖。 FIG5 is a flow chart showing how to determine the following speed using the image of the target object according to an embodiment of the present invention.

圖6是根據本發明的一實施例繪示的利用目標物的位置資訊決定跟隨速度的流程圖。 FIG6 is a flow chart showing how to determine the following speed using the location information of the target object according to an embodiment of the present invention.

圖1是根據本發明的一實施例繪示的一種用於跟隨目標物200的自走車100的示意圖。自走車100包括影像擷取裝置110、收發器120、儲存媒體130以及處理器140。處理器140耦接影像 擷取裝置110、收發器120以及儲存媒體130。在其他實施例中,自走車100還可包括耦接處理器140的馬達控制器150。在本實施例中,自走車100可跟隨目標物200。 FIG1 is a schematic diagram of a self-driving vehicle 100 for following a target object 200 according to an embodiment of the present invention. The self-driving vehicle 100 includes an image capture device 110, a transceiver 120, a storage medium 130, and a processor 140. The processor 140 is coupled to the image capture device 110, the transceiver 120, and the storage medium 130. In other embodiments, the self-driving vehicle 100 may further include a motor controller 150 coupled to the processor 140. In this embodiment, the self-driving vehicle 100 may follow the target object 200.

影像擷取裝置110例如是相機或3D影像攝影機。在本實施例中,影像擷取裝置110可產出獲得目標物200的影像。 The image capture device 110 is, for example, a camera or a 3D image camera. In this embodiment, the image capture device 110 can generate an image of the target object 200.

收發器120以無線的方式傳送及接收訊號。在本實施例中,收發器120可接收目標物200的位置資訊,位置資訊可由一位置資訊傳輸模組210產生。位置資訊傳輸模組210可為一藍芽、超寬頻或者全球定位系統。在一實施例中,位置資訊可關聯於藍芽、超寬頻(UWB,Ultra-wideband)6.5Ghz或者全球定位系統(GPS,Global Positioning System)。舉例來說,目標物200可配戴支援藍芽訊號、超寬頻訊號或者全球定位系統訊號的訊號產生器。然後,目標物200的位置資訊傳輸模組210可傳送關聯於藍芽、超寬頻或者全球定位系統的位置資訊至收發器120。 The transceiver 120 transmits and receives signals wirelessly. In this embodiment, the transceiver 120 can receive location information of the target 200, and the location information can be generated by a location information transmission module 210. The location information transmission module 210 can be a Bluetooth, ultra-wideband or global positioning system. In one embodiment, the location information can be related to Bluetooth, ultra-wideband (UWB) 6.5Ghz or global positioning system (GPS). For example, the target 200 can wear a signal generator that supports Bluetooth signals, ultra-wideband signals or global positioning system signals. Then, the location information transmission module 210 of the target object 200 can transmit the location information related to Bluetooth, UWB or GPS to the transceiver 120.

儲存媒體130例如是任何型態的固定式或可移動式的隨機存取記憶體(random access memory,RAM)、唯讀記憶體(read-only memory,ROM)、快閃記憶體(flash memory)、硬碟(hard disk drive,HDD)、固態硬碟(solid state drive,SSD)或類似元件或上述元件的組合,而用於儲存可由處理器140執行的多個模組或各種應用程式。在本實施例中,儲存媒體130可儲存障礙物判斷模組131、避障路徑規劃模組132以及目標物定位模組133。在其他實施例中,儲存媒體130還可儲存目標物追蹤與姿態判斷模組134 以及目標物辨識模組135。此些模組的功能將於後續說明。 The storage medium 130 is, for example, any type of fixed or removable random access memory (RAM), read-only memory (ROM), flash memory, hard disk drive (HDD), solid state drive (SSD) or similar components or a combination of the above components, and is used to store multiple modules or various applications that can be executed by the processor 140. In this embodiment, the storage medium 130 can store the obstacle judgment module 131, the obstacle avoidance path planning module 132 and the target positioning module 133. In other embodiments, the storage medium 130 can also store the target tracking and posture determination module 134 and the target recognition module 135. The functions of these modules will be described later.

處理器140例如是中央處理單元(central processing unit,CPU),或是其他可程式化之一般用途或特殊用途的微控制單元(micro control unit,MCU)、微處理器(microprocessor)、數位信號處理器(digital signal processor,DSP)、可程式化控制器、特殊應用積體電路(application specific integrated circuit,ASIC)、圖形處理器(graphics processing unit,GPU)、影像訊號處理器(image signal processor,ISP)、影像處理單元(image processing unit,IPU)、算數邏輯單元(arithmetic logic unit,ALU)、複雜可程式邏輯裝置(complex programmable logic device,CPLD)、現場可程式化邏輯閘陣列(field programmable gate array,FPGA)或其他類似元件或上述元件的組合。處理器140可存取和執行儲存於儲存媒體130中的多個模組和各種應用程式。 The processor 140 is, for example, a central processing unit (CPU), or other programmable general-purpose or special-purpose micro control unit (MCU), microprocessor, digital signal processor (DSP), programmable controller, application specific integrated circuit (ASIC), graphics processing unit (GPU), image signal processor (ISP), image processing unit (IPU), arithmetic logic unit (ALU), complex programmable logic device (CPLD), field programmable gate array (FPGA), or other similar components or combinations of the above components. The processor 140 can access and execute multiple modules and various applications stored in the storage medium 130.

圖2是根據本發明的一實施例繪示的跟隨目標物的方法的流程圖。請同時參照圖1及圖2,本實施例的方法適於由圖1所示的自走車100執行,以下即搭配自走車100的各項元件說明本發明的跟隨目標物的方法的詳細步驟。 FIG2 is a flow chart of a method for following a target object according to an embodiment of the present invention. Please refer to FIG1 and FIG2 simultaneously. The method of this embodiment is suitable for being executed by the self-driving vehicle 100 shown in FIG1. The following is a detailed description of the method for following a target object of the present invention in conjunction with the various components of the self-driving vehicle 100.

在步驟S210,障礙物判斷模組131可利用目標物200的影像判斷目標物200的軌跡是否存在障礙物。 In step S210, the obstacle determination module 131 can use the image of the target object 200 to determine whether there is an obstacle in the trajectory of the target object 200.

在一實施例中,障礙物判斷模組131可利用路徑軌跡偵測模型,例如影像訊號接收器,並透過影像訊號接收器獲取彩色影像資料獲得目標物200的軌跡,例如藉由神經網路演算法偵測出路徑 軌跡,並且判斷軌跡是否存在障礙物。詳細而言,障礙物判斷模組131可將目標物200的影像輸入至儲存媒體130預先儲存的路徑軌跡偵測模型以獲得目標物200的軌跡。然後,障礙物判斷模組131可從目標物200的影像中識別出障礙物。接著,障礙物判斷模組131可判斷軌跡是否存在障礙物。在一實施例中,上述路徑軌跡偵測模型可包括卷積層、池化層、特徵圖、上採樣層、反卷積層以及激活函數,然而本發明不限於此。在本實施例中,障礙物判斷模組131可將目標物200的影像輸入至儲存媒體130預先儲存的路徑軌跡偵測模型,並且利用神經網路演算法獲得目標物200的軌跡。 In one embodiment, the obstacle determination module 131 may utilize a path trajectory detection model, such as an image signal receiver, and obtain the trajectory of the target object 200 by acquiring color image data through the image signal receiver, such as detecting the path trajectory by a neural network algorithm, and determining whether there is an obstacle in the trajectory. Specifically, the obstacle determination module 131 may input the image of the target object 200 into the path trajectory detection model pre-stored in the storage medium 130 to obtain the trajectory of the target object 200. Then, the obstacle determination module 131 may identify the obstacle from the image of the target object 200. Then, the obstacle judgment module 131 can judge whether there is an obstacle in the track. In one embodiment, the path track detection model may include a convolution layer, a pooling layer, a feature map, an upsampling layer, a deconvolution layer, and an activation function, but the present invention is not limited thereto. In this embodiment, the obstacle judgment module 131 can input the image of the target object 200 into the path track detection model pre-stored in the storage medium 130, and obtain the track of the target object 200 using a neural network algorithm.

請繼續參照圖2。在步驟S220,避障路徑規劃模組132可響應於障礙物判斷模組131判定所述軌跡存在障礙物而利用目標物200的影像決定跟隨目標物200的跟隨速度(請參閱下面說明)。此時自走車100跟隨目標物200的模式亦被稱為「過彎跟隨模式」。 Please continue to refer to Figure 2. In step S220, the obstacle avoidance path planning module 132 can use the image of the target object 200 to determine the following speed of the target object 200 in response to the obstacle judgment module 131 determining that there is an obstacle on the track (please refer to the following description). At this time, the mode in which the self-driving car 100 follows the target object 200 is also called the "curve following mode".

在一實施例中,目標物追蹤與姿態判斷模組134可利用影像追蹤與姿態識別模型,例如影像訊號接收器,而影像追蹤與姿態識別模型使用Openpose方法建構而成,以及目標物200的關鍵點座標判斷目標物200的姿態。以下將繼續說明。 In one embodiment, the target tracking and posture determination module 134 can use an image tracking and posture recognition model, such as an image signal receiver, and the image tracking and posture recognition model is constructed using the Openpose method, and the key point coordinates of the target 200 determine the posture of the target 200. The following will continue to explain.

圖3是根據本發明的一實施例繪示的判斷目標物200的姿態的示意圖。請同時參照圖1及圖3。在本實施例中,目標物200是以人為例來說明。如圖3所示,關鍵點P0可以是頭部骨架點,關鍵點P8可以是臀部骨架點,關鍵點P2可以是頸部左側骨 架點,關鍵點P5可以是頸部右側骨架點。目標物追蹤與姿態判斷模組134可利用關鍵點P0的關鍵點座標以及關鍵點P8的關鍵點座標之間的位移關係來判斷目標物200是否為蹲下姿態。如為蹲下姿態,則繼續直線跟隨。除此之外,目標物追蹤與姿態判斷模組134還可利用關鍵點P2的關鍵點座標以及關鍵點P5的關鍵點座標之間的位移關係來判斷目標物200是否為轉彎姿態。如發生轉彎姿態,則使用過彎跟隨。 FIG3 is a schematic diagram of determining the posture of the target object 200 according to an embodiment of the present invention. Please refer to FIG1 and FIG3 at the same time. In this embodiment, the target object 200 is described by taking a person as an example. As shown in FIG3, the key point P0 can be a head skeleton point, the key point P8 can be a hip skeleton point, the key point P2 can be a left neck skeleton point, and the key point P5 can be a right neck skeleton point. The target object tracking and posture determination module 134 can use the displacement relationship between the key point coordinates of the key point P0 and the key point coordinates of the key point P8 to determine whether the target object 200 is in a squatting posture. If it is in a squatting posture, it continues to follow the straight line. In addition, the target tracking and posture judgment module 134 can also use the displacement relationship between the key point coordinates of the key point P2 and the key point coordinates of the key point P5 to judge whether the target 200 is in a turning posture. If a turning posture occurs, the turning following is used.

在其他實施例中,目標物追蹤與姿態判斷模組134可根據Openpose方法來判斷目標物200的姿態。Openpose方法即二維多人骨架點即時識別以及15、18或25個身體/腳部的關鍵點識別。 In other embodiments, the target tracking and posture determination module 134 can determine the posture of the target 200 according to the Openpose method. The Openpose method is the real-time recognition of two-dimensional multi-person skeleton points and the recognition of 15, 18 or 25 key points of the body/legs.

更進一步而言,在本實施例中,當目標物追蹤與姿態判斷模組134判定目標物200的姿態是轉彎姿態時,避障路徑規劃模組132可利用目標物辨識模組135辨識目標物200的姿態影像決定過彎跟隨。 Furthermore, in this embodiment, when the target tracking and posture determination module 134 determines that the posture of the target 200 is a turning posture, the obstacle avoidance path planning module 132 can use the target recognition module 135 to recognize the posture image of the target 200 and determine to follow the turn.

圖4是根據本發明的一實施例繪示的針對轉彎姿態的目標物200來決定自走車100的跟隨速度的示意圖。圖5是根據本發明的一實施例繪示的利用目標物的影像決定跟隨速度的流程圖。請同時參照圖1、圖4及圖5。如圖4所示,假設目標物200因遇到障礙物300而轉彎,且自走車100的過彎跟隨模式的路線為A1,且自走車100若以直線跟隨目標物200的行進路線為A2。另外,假設行進路線A1與行進路線A2之間的角度為θ,且假設自走車100與目標物200的直線距離為d。 FIG4 is a schematic diagram of determining the following speed of the self-driving vehicle 100 for a target object 200 in a turning posture according to an embodiment of the present invention. FIG5 is a flow chart of determining the following speed using an image of a target object according to an embodiment of the present invention. Please refer to FIG1, FIG4 and FIG5 simultaneously. As shown in FIG4, it is assumed that the target object 200 turns due to encountering an obstacle 300, and the route of the self-driving vehicle 100 in the cornering following mode is A1 , and the route of the self-driving vehicle 100 if it follows the target object 200 in a straight line is A2 . In addition, it is assumed that the angle between the route A1 and the route A2 is θ, and it is assumed that the straight line distance between the self-driving vehicle 100 and the target object 200 is d.

在本實施例中,避障路徑規劃模組132可利用障礙物300在目標物200的影像中的位置決定跟隨速度。詳細而言,在本實施例中,跟隨速度可包括線速度以及角速度。如圖5所示,就障礙物在影像中的位置判斷,若障礙物300在左邊安全區域內(預設的安全區域的左邊),或者,若障礙物300在右邊安全區域(預設的安全區域的右邊)內,則避障路徑規劃模組132可利用下述公式1得到距離hIn this embodiment, the obstacle avoidance path planning module 132 may determine the following speed using the position of the obstacle 300 in the image of the target object 200. Specifically, in this embodiment, the following speed may include a linear speed and an angular speed. As shown in FIG5 , with respect to the position of the obstacle in the image, if the obstacle 300 is within the left safety zone (the left side of the preset safety zone), or if the obstacle 300 is within the right safety zone (the right side of the preset safety zone), the obstacle avoidance path planning module 132 may obtain the distance h using the following formula 1.

d×cosθ=h...(公式1) d × cosθ = h ...(Formula 1)

接著,若距離h小於或等於一預設的安全距離,則避障路徑規劃模組132可將自走車100的線速度設置為0。或者,若距離h大於所述安全距離且小於或等於一預設的跟隨距離,則避障路徑規劃模組132可為自走車100設置線速度。舉例來說,避障路徑規劃模組132可根據目標物200與自走車100的距離,來為自走車100設置多段不同的線速度,以讓自走車100跟上目標物200的行走速度。或者,若距離h大於一預設的跟隨距離,則避障路徑規劃模組132可將自走車100的線速度設置為0。 Then, if the distance h is less than or equal to a preset safety distance, the obstacle avoidance path planning module 132 may set the linear speed of the self-driving vehicle 100 to 0. Alternatively, if the distance h is greater than the safety distance and less than or equal to a preset following distance, the obstacle avoidance path planning module 132 may set a linear speed for the self-driving vehicle 100. For example, the obstacle avoidance path planning module 132 may set a plurality of different linear speeds for the self-driving vehicle 100 according to the distance between the target object 200 and the self-driving vehicle 100, so as to allow the self-driving vehicle 100 to keep up with the walking speed of the target object 200. Alternatively, if the distance h is greater than a preset following distance, the obstacle avoidance path planning module 132 may set the linear speed of the self-driving vehicle 100 to 0.

另一方面,如圖5所示,若障礙物300在右邊危險區域內(一預設的危險區域的右邊),則避障路徑規劃模組132可為自走車100設置左轉角速度。舉例來說,避障路徑規劃模組132可將上述線速度先乘以0.5以得到左轉角速度,並且將自走車100的 行進方向設置為與障礙物300反方向,以讓自走車100逐漸遠離障礙物300。在自走車100與障礙物300之間的距離大於上述安全距離之後,自走車100可繼續依原路徑行駛。除此之外,若障礙物300在左邊危險區域內(一預設的危險區域的左邊),則避障路徑規劃模組132可為自走車100設置右轉角速度。舉例來說,避障路徑規劃模組132可將上述線速度先乘以0.5以得到右轉角速度,並且將自走車100的行進方向設置為與障礙物300反方向,以讓自走車100逐漸遠離障礙物300。在自走車100與障礙物300之間的距離大於上述安全距離之後,自走車100可繼續依原路徑行駛。 On the other hand, as shown in FIG5 , if the obstacle 300 is in the right dangerous area (the right side of a preset dangerous area), the obstacle avoidance path planning module 132 may set a left turn angular velocity for the self-driving vehicle 100. For example, the obstacle avoidance path planning module 132 may first multiply the linear velocity by 0.5 to obtain the left turn angular velocity, and set the moving direction of the self-driving vehicle 100 to the opposite direction of the obstacle 300, so that the self-driving vehicle 100 gradually moves away from the obstacle 300. After the distance between the self-driving vehicle 100 and the obstacle 300 is greater than the above safety distance, the self-driving vehicle 100 may continue to drive along the original path. In addition, if the obstacle 300 is in the left dangerous area (the left side of a preset dangerous area), the obstacle avoidance path planning module 132 can set a right turn angular velocity for the self-driving car 100. For example, the obstacle avoidance path planning module 132 can first multiply the above linear velocity by 0.5 to obtain the right turn angular velocity, and set the direction of travel of the self-driving car 100 to the opposite direction of the obstacle 300, so that the self-driving car 100 gradually moves away from the obstacle 300. After the distance between the self-driving car 100 and the obstacle 300 is greater than the above safety distance, the self-driving car 100 can continue to drive along the original path.

最後,避障路徑規劃模組132可將線速度以及角速度結合為跟隨速度。 Finally, the obstacle avoidance path planning module 132 can combine the linear velocity and the angular velocity into the following velocity.

請回到圖2。在步驟S230,目標物定位模組133可響應於障礙物判斷模組131判定所述軌跡不存在障礙物而利用目標物200的位置資訊決定跟隨速度。此時自走車100跟隨目標物200的模式亦被稱為「直線跟隨模式」。 Please return to Figure 2. In step S230, the target positioning module 133 can determine the following speed using the position information of the target 200 in response to the obstacle judgment module 131 determining that there is no obstacle on the track. At this time, the mode in which the self-driving car 100 follows the target 200 is also called the "straight line following mode".

在一實施例中,當目標物追蹤與姿態判斷模組134判定目標物200的姿態是蹲下姿態時,目標物定位模組133可利用目標物200的位置資訊決定跟隨速度。具體而言,如上述圖3及其實施例所說明的,在目標物追蹤與姿態判斷模組134利用關鍵點P0的關鍵點座標以及關鍵點P8的關鍵點座標之間的位移關係,判定了目標物200的姿態是蹲下姿態之後,目標物定位模組133可利用目標物200的位置資訊決定跟隨速度。 In one embodiment, when the target tracking and posture determination module 134 determines that the posture of the target 200 is a squatting posture, the target positioning module 133 can use the position information of the target 200 to determine the following speed. Specifically, as described in FIG. 3 and its embodiment, after the target tracking and posture determination module 134 uses the displacement relationship between the key point coordinates of the key point P0 and the key point coordinates of the key point P8 to determine that the posture of the target 200 is a squatting posture, the target positioning module 133 can use the position information of the target 200 to determine the following speed.

在一實施例中,當自走車100開始跟隨目標物200時,目標物辨識模組135可記錄目標物200的特徵。當自走車100跟隨目標物200的模式為「直線跟隨模式」時(此時目標物200並未轉彎),為了確認自走車100跟隨了正確的目標物200,目標物辨識模組135可利用預先記錄的特徵,來從多個候選物中辨識出目標物200。然後,收發器120可從此目標物200接收其位置資訊。 In one embodiment, when the self-driving car 100 starts to follow the target 200, the target recognition module 135 can record the characteristics of the target 200. When the mode of the self-driving car 100 following the target 200 is the "straight-line following mode" (the target 200 does not turn at this time), in order to confirm that the self-driving car 100 follows the correct target 200, the target recognition module 135 can use the pre-recorded characteristics to identify the target 200 from multiple candidates. Then, the transceiver 120 can receive its position information from this target 200.

圖6是根據本發明的一實施例繪示的利用目標物的位置資訊決定跟隨速度的流程圖。請同時參照圖1及圖6。在一實施例中,所述位置資訊可包括收發器120與目標物200之間的距離,且可包括收發器120與目標物200之間的角度。進一步而言,所述跟隨速度可包括線速度以及角速度。目標物定位模組133可利用所述距離以及跟隨距離決定線速度。進一步而言,目標物定位模組133可利用所述角度決定角速度。 FIG6 is a flow chart of determining the following speed using the position information of the target according to an embodiment of the present invention. Please refer to FIG1 and FIG6 at the same time. In one embodiment, the position information may include the distance between the transceiver 120 and the target 200, and may include the angle between the transceiver 120 and the target 200. Further, the following speed may include a linear speed and an angular speed. The target positioning module 133 may determine the linear speed using the distance and the following distance. Further, the target positioning module 133 may determine the angular speed using the angle.

如圖6所示,若收發器120與目標物200之間的距離小於或等於一預設的安全距離,則目標物定位模組133可將自走車100的線速度設置為0。或者,若收發器120與目標物200之間的距離大於所述安全距離且小於或等於一預設的跟隨距離,則目標物定位模組133可為自走車100設置線速度。或者,若收發器120與目標物200之間的距離大於跟隨距離,則目標物定位模組133可將自走車100的線速度設置為0。 As shown in FIG6 , if the distance between the transceiver 120 and the target 200 is less than or equal to a preset safety distance, the target positioning module 133 may set the linear speed of the self-driving vehicle 100 to 0. Alternatively, if the distance between the transceiver 120 and the target 200 is greater than the safety distance and less than or equal to a preset following distance, the target positioning module 133 may set the linear speed for the self-driving vehicle 100. Alternatively, if the distance between the transceiver 120 and the target 200 is greater than the following distance, the target positioning module 133 may set the linear speed of the self-driving vehicle 100 to 0.

另一方面,如圖6所示,就位置資訊取得,目標物定位模 組133可根據收發器120與目標物200之間的角度來決定角速度。若目標物200在收發器120的右邊,則目標物定位模組133可為自走車100設置右轉角速度。或者,若目標物200在收發器120的左邊,則目標物定位模組133可為自走車100設置左轉角速度。或者,若目標物200在自走車100的行進路線上,則目標物定位模組133可將自走車100的角速度設置為0。 On the other hand, as shown in FIG6 , regarding the acquisition of position information, the target positioning module 133 may determine the angular velocity according to the angle between the transceiver 120 and the target 200. If the target 200 is on the right side of the transceiver 120, the target positioning module 133 may set the right turn angular velocity for the self-driving vehicle 100. Alternatively, if the target 200 is on the left side of the transceiver 120, the target positioning module 133 may set the left turn angular velocity for the self-driving vehicle 100. Alternatively, if the target 200 is on the route of the self-driving vehicle 100, the target positioning module 133 may set the angular velocity of the self-driving vehicle 100 to 0.

最後,目標物定位模組133可將線速度以及角速度結合為跟隨速度。 Finally, the target positioning module 133 can combine the linear velocity and the angular velocity into the following velocity.

在決定出跟隨速度之後,處理器140可傳送跟隨速度至馬達控制器150(例如編碼器)。舉例來說,處理器140可先將(跟隨速度中的)線速度以及角速度轉換成符合馬達控制器150的格式(例如透過下位機轉換成Canbus的格式),然後再傳送跟隨速度至馬達控制器150。接著,馬達控制器150可基於跟隨速度驅動自走車100的馬達。 After determining the following speed, the processor 140 may transmit the following speed to the motor controller 150 (e.g., an encoder). For example, the processor 140 may first convert the linear speed and angular speed (in the following speed) into a format that complies with the motor controller 150 (e.g., converted into a CANbus format by a lower computer), and then transmit the following speed to the motor controller 150. Then, the motor controller 150 may drive the motor of the self-driving vehicle 100 based on the following speed.

綜上所述,本發明的用於跟隨目標物的自走車及其方法可根據目標物的軌跡是否存在障礙物來判斷,要利用目標物的影像或是目標物的位置資訊來決定,跟隨目標物的跟隨速度。更進一步而言,也可根據目標物的姿態來決定出,跟隨目標物的跟隨速度。基此,本發明的用於跟隨目標物的自走車及其方法可在「過彎跟隨模式」以及「直線跟隨模式」之間動態地切換,以避免自走車損壞或者跟丟目標物的情況,從而讓自走車更穩定地跟隨目標物。 In summary, the self-driving vehicle and method for following a target object of the present invention can determine whether there are obstacles in the track of the target object, and use the image of the target object or the position information of the target object to determine the following speed of the target object. Furthermore, the following speed of the target object can also be determined according to the posture of the target object. Based on this, the self-driving vehicle and method for following a target object of the present invention can dynamically switch between the "curve following mode" and the "straight following mode" to avoid the self-driving vehicle being damaged or losing the target object, so that the self-driving vehicle can follow the target object more stably.

雖然本發明已以實施例揭露如上,然其並非用以限定本 發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。 Although the present invention has been disclosed as above by the embodiments, it is not intended to limit the present invention. Any person with ordinary knowledge in the relevant technical field can make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the scope defined by the attached patent application.

S210、S220、S230:步驟S210, S220, S230: Steps

Claims (18)

一種用於跟隨目標物的自走車,包括:影像擷取裝置,獲得目標物的影像;收發器,接收所述目標物的位置資訊;儲存媒體,儲存多個模組;以及處理器,耦接所述影像擷取裝置、所述收發器以及所述儲存媒體,並且存取和執行所述多個模組,其中所述多個模組包括:障礙物判斷模組,利用所述影像判斷所述目標物的軌跡是否存在障礙物;避障路徑規劃模組,響應於所述障礙物判斷模組判定所述軌跡存在所述障礙物而利用所述影像決定跟隨所述目標物的跟隨速度;目標物定位模組,響應於所述障礙物判斷模組判定所述軌跡不存在所述障礙物而利用所述位置資訊決定所述跟隨速度;以及目標物追蹤與姿態判斷模組,利用影像追蹤與姿態識別模型以及所述目標物內的關鍵點座標判斷所述目標物的姿態。 A self-propelled vehicle for following a target object comprises: an image capturing device for acquiring an image of the target object; a transceiver for receiving position information of the target object; a storage medium for storing a plurality of modules; and a processor for coupling the image capturing device, the transceiver and the storage medium, and accessing and executing the plurality of modules, wherein the plurality of modules comprises: an obstacle judging module for judging whether there is an obstacle in the trajectory of the target object by using the image; an obstacle avoidance path planning module; module, in response to the obstacle judgment module determining that the obstacle exists on the track and using the image to determine the following speed of the target object; a target positioning module, in response to the obstacle judgment module determining that the obstacle does not exist on the track and using the position information to determine the following speed; and a target tracking and posture judgment module, using the image tracking and posture recognition model and the key point coordinates in the target object to judge the posture of the target object. 如請求項1所述的自走車,其中當所述目標物追蹤與姿態判斷模組判定所述目標物的所述姿態是轉彎姿態時,所述避障路徑規劃模組利用所述影像決定所述跟隨速度。 The self-driving car as described in claim 1, wherein when the target object tracking and posture judgment module determines that the posture of the target object is a turning posture, the obstacle avoidance path planning module uses the image to determine the following speed. 如請求項1所述的自走車,其中 當所述目標物追蹤與姿態判斷模組判定所述目標物的所述姿態是蹲下姿態時,所述目標物定位模組利用所述位置資訊決定所述跟隨速度。 A self-driving car as described in claim 1, wherein when the target tracking and posture determination module determines that the posture of the target is a crouching posture, the target positioning module uses the position information to determine the following speed. 如請求項1所述的自走車,其中所述障礙物判斷模組利用路徑軌跡偵測模型獲得所述目標物的所述軌跡,並且判斷所述軌跡是否存在所述障礙物。 A self-driving car as described in claim 1, wherein the obstacle judgment module uses a path trajectory detection model to obtain the trajectory of the target object and judge whether the obstacle exists on the trajectory. 如請求項1所述的自走車,其中所述位置資訊關聯於藍芽、超寬頻或者全球定位系統。 A self-driving car as described in claim 1, wherein the location information is associated with Bluetooth, ultra-wideband or global positioning system. 如請求項1所述的自走車,其中所述避障路徑規劃模組利用所述障礙物在所述影像中的位置決定所述跟隨速度。 A self-driving car as described in claim 1, wherein the obstacle avoidance path planning module determines the following speed using the position of the obstacle in the image. 如請求項1所述的自走車,其中所述位置資訊包括所述收發器與所述目標物之間的距離,且包括所述收發器與所述目標物之間的角度,其中所述跟隨速度包括線速度以及角速度,其中所述目標物定位模組利用所述距離以及跟隨距離決定所述線速度;所述目標物定位模組利用所述角度決定所述角速度。 A self-driving car as described in claim 1, wherein the position information includes the distance between the transceiver and the target object, and includes the angle between the transceiver and the target object, wherein the following speed includes the linear speed and the angular speed, wherein the target positioning module determines the linear speed using the distance and the following distance; and the target positioning module determines the angular speed using the angle. 如請求項1所述的自走車,更包括耦接所述處理器的馬達控制器,其中所述處理器傳送所述跟隨速度至所述馬達控制器。 The self-driving car as described in claim 1 further includes a motor controller coupled to the processor, wherein the processor transmits the following speed to the motor controller. 如請求項1所述的自走車,其中所述多個模組更包括目標物辨識模組,其中 所述目標物辨識模組從多個候選物中辨識出所述目標物。 A self-driving car as described in claim 1, wherein the multiple modules further include a target object recognition module, wherein the target object recognition module recognizes the target object from multiple candidates. 一種跟隨目標物的方法,適於由自走車執行,其中所述方法包括:利用目標物的影像判斷所述目標物的軌跡是否存在障礙物;響應於判定所述軌跡存在所述障礙物而利用所述影像決定跟隨所述目標物的跟隨速度;響應於判定所述軌跡不存在所述障礙物而利用所述目標物的位置資訊決定所述跟隨速度;以及利用影像追蹤與姿態識別模型以及所述目標物內的關鍵點座標判斷所述目標物的姿態。 A method for following a target object, suitable for being performed by a self-driving vehicle, wherein the method comprises: using an image of the target object to determine whether there is an obstacle in the track of the target object; in response to determining that the obstacle exists in the track, using the image to determine the following speed of the target object; in response to determining that the obstacle does not exist in the track, using the position information of the target object to determine the following speed; and using an image tracking and posture recognition model and the coordinates of key points in the target object to determine the posture of the target object. 如請求項10所述的方法,更包括:當所述目標物的所述姿態是轉彎姿態時,利用所述影像決定所述跟隨速度。 The method described in claim 10 further includes: when the posture of the target object is a turning posture, using the image to determine the following speed. 如請求項10所述的方法,更包括:當所述目標物的所述姿態是蹲下姿態時,利用所述位置資訊決定所述跟隨速度。 The method as described in claim 10 further includes: when the posture of the target object is a crouching posture, using the position information to determine the following speed. 如請求項10所述的方法,其中利用所述目標物的所述影像判斷所述目標物的所述軌跡是否存在所述障礙物的步驟包括:利用路徑軌跡偵測模型獲得所述目標物的所述軌跡,並且判斷所述軌跡是否存在所述障礙物。 As described in claim 10, the step of using the image of the target object to determine whether the obstacle exists in the trajectory of the target object includes: using a path trajectory detection model to obtain the trajectory of the target object, and determining whether the obstacle exists in the trajectory. 如請求項10所述的方法,其中所述位置資訊關聯於藍芽、超寬頻或者全球定位系統。 A method as claimed in claim 10, wherein the location information is associated with Bluetooth, ultra-wideband or global positioning system. 如請求項10所述的方法,其中響應於判定所述軌跡存在所述障礙物而利用所述影像決定跟隨所述目標物的所述跟隨速度的步驟包括:利用所述障礙物在所述影像中的位置決定所述跟隨速度。 As described in claim 10, the step of using the image to determine the following speed of the target object in response to determining that the obstacle exists in the trajectory includes: using the position of the obstacle in the image to determine the following speed. 如請求項10所述的方法,其中所述位置資訊包括所述自走車與所述目標物之間的距離,且包括所述自走車與所述目標物之間的角度,其中所述跟隨速度包括線速度以及角速度,其中響應於判定所述軌跡不存在所述障礙物而利用所述目標物的所述位置資訊決定所述跟隨速度的步驟包括:利用所述距離以及跟隨距離決定所述線速度;以及利用所述角度決定所述角速度。 The method of claim 10, wherein the position information includes the distance between the self-driving vehicle and the target object, and includes the angle between the self-driving vehicle and the target object, wherein the following speed includes the linear speed and the angular speed, wherein the step of determining the following speed using the position information of the target object in response to determining that the obstacle does not exist on the track includes: determining the linear speed using the distance and the following distance; and determining the angular speed using the angle. 如請求項10所述的方法,更包括:傳送所述跟隨速度至所述馬達控制器。 The method as described in claim 10 further includes: transmitting the following speed to the motor controller. 如請求項10所述的方法,更包括:從多個候選物中辨識出所述目標物。 The method described in claim 10 further includes: identifying the target object from multiple candidates.
TW111146511A 2022-12-05 2022-12-05 Self propelled vehicle for following target and method thereof TWI857412B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW111146511A TWI857412B (en) 2022-12-05 2022-12-05 Self propelled vehicle for following target and method thereof
CN202211724093.3A CN118192533A (en) 2022-12-05 2022-12-30 Self-propelled vehicle and method for following a target object

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW111146511A TWI857412B (en) 2022-12-05 2022-12-05 Self propelled vehicle for following target and method thereof

Publications (2)

Publication Number Publication Date
TW202424675A TW202424675A (en) 2024-06-16
TWI857412B true TWI857412B (en) 2024-10-01

Family

ID=91401385

Family Applications (1)

Application Number Title Priority Date Filing Date
TW111146511A TWI857412B (en) 2022-12-05 2022-12-05 Self propelled vehicle for following target and method thereof

Country Status (2)

Country Link
CN (1) CN118192533A (en)
TW (1) TWI857412B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW202015945A (en) * 2018-10-19 2020-05-01 財團法人車輛研究測試中心 Automatic driving method with decision diagnosis and device thereof
TW202016668A (en) * 2018-10-19 2020-05-01 經緯航太科技股份有限公司 Unmanned vehicle with following function and driving method of unmanned vehicle
CN111432017A (en) * 2020-03-31 2020-07-17 河南工业大学 Special platform truck of intelligence grain commodity circulation based on car networking and intelligent driving technique
WO2020182591A1 (en) * 2019-03-08 2020-09-17 Osram Gmbh Component for a lidar sensor system, lidar sensor system, lidar sensor device, method for a lidar sensor system and method for a lidar sensor device
TW202114888A (en) * 2019-10-09 2021-04-16 財團法人車輛研究測試中心 Active safety assistance system with pre-adjusted speed and control method thereof capable of determining the intention of another vehicle to control the behavior mode of the driving vehicle in advance
CN112896190A (en) * 2018-03-20 2021-06-04 御眼视觉技术有限公司 System, method and computer readable medium for navigating a host vehicle
TW202124195A (en) * 2019-12-26 2021-07-01 宏碁股份有限公司 Automatic driving system and method
CN113715818A (en) * 2021-08-30 2021-11-30 岚图汽车科技有限公司 Navigation-based adaptive cruise method and system
CN114296461A (en) * 2021-12-30 2022-04-08 苏州酷瑞智行科技有限公司 Unmanned control method for dump truck
CN114394097A (en) * 2022-01-31 2022-04-26 重庆长安汽车股份有限公司 Self-adaptive cruise and car following adjusting system
TW202228090A (en) * 2020-11-30 2022-07-16 日商三井住友建設股份有限公司 Traffic control method, traffic control system, control device, and program
WO2022232823A1 (en) * 2021-04-29 2022-11-03 Tusimple, Inc. Systems and methods for operating an autonomous vehicle

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112896190A (en) * 2018-03-20 2021-06-04 御眼视觉技术有限公司 System, method and computer readable medium for navigating a host vehicle
TW202015945A (en) * 2018-10-19 2020-05-01 財團法人車輛研究測試中心 Automatic driving method with decision diagnosis and device thereof
TW202016668A (en) * 2018-10-19 2020-05-01 經緯航太科技股份有限公司 Unmanned vehicle with following function and driving method of unmanned vehicle
WO2020182591A1 (en) * 2019-03-08 2020-09-17 Osram Gmbh Component for a lidar sensor system, lidar sensor system, lidar sensor device, method for a lidar sensor system and method for a lidar sensor device
TW202114888A (en) * 2019-10-09 2021-04-16 財團法人車輛研究測試中心 Active safety assistance system with pre-adjusted speed and control method thereof capable of determining the intention of another vehicle to control the behavior mode of the driving vehicle in advance
TW202124195A (en) * 2019-12-26 2021-07-01 宏碁股份有限公司 Automatic driving system and method
CN111432017A (en) * 2020-03-31 2020-07-17 河南工业大学 Special platform truck of intelligence grain commodity circulation based on car networking and intelligent driving technique
TW202228090A (en) * 2020-11-30 2022-07-16 日商三井住友建設股份有限公司 Traffic control method, traffic control system, control device, and program
WO2022232823A1 (en) * 2021-04-29 2022-11-03 Tusimple, Inc. Systems and methods for operating an autonomous vehicle
CN113715818A (en) * 2021-08-30 2021-11-30 岚图汽车科技有限公司 Navigation-based adaptive cruise method and system
CN114296461A (en) * 2021-12-30 2022-04-08 苏州酷瑞智行科技有限公司 Unmanned control method for dump truck
CN114394097A (en) * 2022-01-31 2022-04-26 重庆长安汽车股份有限公司 Self-adaptive cruise and car following adjusting system

Also Published As

Publication number Publication date
CN118192533A (en) 2024-06-14
TW202424675A (en) 2024-06-16

Similar Documents

Publication Publication Date Title
JP7200970B2 (en) vehicle controller
JP6930600B2 (en) Vehicle position estimation device and vehicle control device
CN112740274B (en) System and method for VSLAM scale estimation using optical flow sensors on robotic devices
CN112639849A (en) Route selection method and route selection device
US20210004566A1 (en) Method and apparatus for 3d object bounding for 2d image data
US20240061436A1 (en) Moving apparatus and moving apparatus control method
CN114120075B (en) Three-dimensional target detection method integrating monocular camera and laser radar
US11308717B2 (en) Object detection device and object detection method
US11507092B2 (en) Sequential clustering
CN111694358B (en) Method and device for controlling transfer robot, and storage medium
US12217431B2 (en) Systems and methods for panoptic segmentation of images for autonomous driving
JP2018092483A (en) Object recognition device
CN110390240A (en) Lane post-processing in automatic driving vehicle
KR20250133915A (en) Path planning method and device, and crane
CN118235180A (en) Method and device for predicting drivable lanes
CN114115214A (en) Vision-based agricultural machinery driving method, system, equipment and storage medium
CN110803157A (en) Parking space identification method and system based on automatic parking
EP4139765A1 (en) Methods, devices and systems for facilitating operations of mobile robots
US20160231744A1 (en) Mobile body
Zhou et al. Human-following task without a prior map
Fries et al. How MuCAR won the convoy scenario at ELROB 2016
TWI857412B (en) Self propelled vehicle for following target and method thereof
Guinjoan et al. A multi-modal ai approach for agvs: A case study on warehouse automated inventory
US20230075425A1 (en) Systems and methods for training and using machine learning models and algorithms
CN115402346A (en) Lane change intention identification method and device