[go: up one dir, main page]

TWI883765B - Control device for an automatic guided vehicle and control method for the same - Google Patents

Control device for an automatic guided vehicle and control method for the same Download PDF

Info

Publication number
TWI883765B
TWI883765B TW113100437A TW113100437A TWI883765B TW I883765 B TWI883765 B TW I883765B TW 113100437 A TW113100437 A TW 113100437A TW 113100437 A TW113100437 A TW 113100437A TW I883765 B TWI883765 B TW I883765B
Authority
TW
Taiwan
Prior art keywords
guided vehicle
pallet
automatic guided
processing circuit
point cloud
Prior art date
Application number
TW113100437A
Other languages
Chinese (zh)
Other versions
TW202528866A (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 TW113100437A priority Critical patent/TWI883765B/en
Application granted granted Critical
Publication of TWI883765B publication Critical patent/TWI883765B/en
Publication of TW202528866A publication Critical patent/TW202528866A/en

Links

Images

Landscapes

  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
  • Forklifts And Lifting Vehicles (AREA)

Abstract

A control device for an automatic guided vehicle is disclosed, suitable for controlling the movement of an automatic guided vehicle, where the control device includes at least two optical sensors, a camera circuit and a processing circuit. The at least two optical sensors configured to detect a first distance between the automated guided vehicle and a pallet. The processing circuit configured to perform following steps: controlling the automatic guided vehicle to move toward the pallet until the first distance is equal to a first safety threshold; detecting respective coordinate sets of both sides of the pallet from at least one image of the pallet; calculating an offset parameter based on the respective coordinate sets on the both sides of the pallet; and controlling the automatic guided vehicle to move toward the pallet based on the offset parameter.

Description

自動導引車的控制裝置以及控制方法 Control device and control method for automatic guided vehicle

本揭示涉及自動導引車應用的技術,尤其涉及自動導引車的控制裝置以及控制方法。 This disclosure relates to the technology of automatic guided vehicle applications, and in particular to the control device and control method of the automatic guided vehicle.

近幾年,自動導引車(automated guided vehicle,AGV)在工廠或倉庫自動化領域中扮演了重要角色,且其技術的進步已經提高了自動導引車的自主性,幾乎不需要人工干預即可完成自動導引車的功能任務。成熟的感測及感知技術促成在複雜環境中的導航,而智能控制演算法使得自動導引車可執行更複雜的任務。 In recent years, automated guided vehicles (AGVs) have played an important role in the field of factory or warehouse automation, and the advancement of their technology has improved the autonomy of AGVs, which can perform their functions almost without human intervention. Mature sensing and perception technologies facilitate navigation in complex environments, and intelligent control algorithms enable AGVs to perform more complex tasks.

當自動導引車要搬運貨物時,主要是移動承載貨物的棧板,然而,自動導引車的牙叉有時無法精準插入棧板的棧孔中,進而造成自動導引車無法運送貨物。因此,要如何控制自動導引車的牙叉精準插入棧孔以移動貨物是本領域技術人員亟欲解決的問題。 When an AUV is transporting goods, it mainly moves the pallet carrying the goods. However, the fork of the AUV sometimes cannot be accurately inserted into the pallet hole of the pallet, which causes the AUV to be unable to transport the goods. Therefore, how to control the fork of the AUV to accurately insert into the pallet hole to move the goods is a problem that technicians in this field are eager to solve.

本揭示之主要目的,在於提供一種自動導引車的控制裝置以及控制方法,可大大增加控制自動導引車的牙叉插入棧孔的精準度。 The main purpose of this disclosure is to provide a control device and control method for an automatic guided vehicle, which can greatly increase the accuracy of controlling the fork of the automatic guided vehicle to insert into the platform hole.

為了達成上述之目的,本揭示的自動導引車的控制裝置,設置於一自動導引車,且適用以控制該自動導引車的至少二牙叉插入一棧板的至少二棧孔,包括:至少二光學感測器,分別設置於該自動導引車的該至少二牙叉上,經配置以檢測該自動導引車與該棧板之間的一第一距離;一攝影電路,設置於該自動導引車的一乘載部的幾何中心的一位置上,經配置以拍攝該棧板;以及一處理電路,耦接該至少二光學感測器以及該攝影電路,經配置以執行以下步驟:控制該自動導引車向該棧板移動直到該第一距離等於一第一安全閾值的一中繼位置;藉由該攝影電路擷取該棧板的至少一影像,並從該至少一影像檢測在該棧板靠近該至少二光學感測器的一平面上與該棧板的一厚度對應的二垂直邊緣各自的一座標集;根據該二垂直邊緣各自的該座標集計算一偏移參數,其中該偏移參數包括該自動導引車相對於該棧板的一橫向偏移距離、一縱向偏移距離以及一偏移角度;以及根據該偏移參數控制該自動導引車從該中繼位置朝向該棧板移動以將該自動導引車的該至少二牙叉插入該棧板的該至少二棧孔。 In order to achieve the above-mentioned purpose, the control device of the automatic guided vehicle disclosed in the present invention is arranged on an automatic guided vehicle and is suitable for controlling at least two forks of the automatic guided vehicle to be inserted into at least two holes of a pallet, comprising: at least two optical sensors, respectively arranged on the at least two forks of the automatic guided vehicle, configured to detect a first distance between the automatic guided vehicle and the pallet; a photographic circuit, arranged at a position at the geometric center of a carrying part of the automatic guided vehicle, configured to photograph the pallet; and a processing circuit, coupled to the at least two optical sensors and the photographic circuit, configured to perform the following steps: controlling the automatic guided vehicle to move toward the pallet until the pallet is A relay position at which the first distance is equal to a first safety threshold value; capturing at least one image of the pallet by the photographic circuit, and detecting from the at least one image a set of coordinates of each of two vertical edges corresponding to a thickness of the pallet on a plane of the pallet close to the at least two optical sensors; calculating an offset parameter according to the respective sets of coordinates of the two vertical edges, wherein the offset parameter includes a lateral offset distance, a longitudinal offset distance and an offset angle of the automatic guided vehicle relative to the pallet; and controlling the automatic guided vehicle to move from the relay position toward the pallet according to the offset parameter to insert the at least two teeth of the automatic guided vehicle into the at least two pallet holes of the pallet.

為了達成上述之目的,本揭示的自動導引車的控制方法,包括:藉由一處理電路控制該自動導引車向該棧板移動直到該第一距離等於一第一安全閾值的一中繼位置,其中該第一距離是藉由至少二光學感測器檢測的一自動導引車與一棧板之間的距離;藉由一攝影電路擷取該棧板的至少一影像,並從該至少一影像檢測在該棧板靠近該至少二光學感測器的一平面上與該棧板的一厚度對應的二垂直邊緣各自的一座標集;藉由該處理電路根據該二垂直邊緣各自的該座標集計算一偏移參數,其中該偏移參數包括該自動導引車相對於該棧板的一橫向偏移距離、一縱向偏移距離以及一偏移角度;以及藉由該處理電路根據該偏移參數控制該自動導引車從該中繼位置朝向該棧板移動以將該自動導引車的至少二牙叉插入該棧板的至少二棧孔。 In order to achieve the above-mentioned purpose, the control method of the automatic guided vehicle disclosed in the present invention comprises: controlling the automatic guided vehicle to move toward the pallet until the first distance is equal to a relay position of a first safety threshold value by a processing circuit, wherein the first distance is the distance between the automatic guided vehicle and the pallet detected by at least two optical sensors; capturing at least one image of the pallet by a photographing circuit, and detecting from the at least one image a plane of the pallet close to the at least two optical sensors and the first distance between the automatic guided vehicle and the pallet; A coordinate set of each of two vertical edges corresponding to a thickness of the pallet; the processing circuit calculates an offset parameter according to the coordinate set of each of the two vertical edges, wherein the offset parameter includes a lateral offset distance, a longitudinal offset distance and an offset angle of the automatic guided vehicle relative to the pallet; and the processing circuit controls the automatic guided vehicle to move from the intermediate position toward the pallet according to the offset parameter so as to insert at least two teeth of the automatic guided vehicle into at least two pallet holes of the pallet.

相較於相關技術,本揭示可達到的技術效果為利用三維視覺技術計算出自動導引車與棧板之間的偏移參數。藉此,可利用偏移參數精準地控制自動導引車的牙叉插入棧板以移動貨物至目的位置。 Compared with related technologies, the technical effect that can be achieved by this disclosure is to use three-dimensional vision technology to calculate the offset parameters between the automatic guided vehicle and the pallet. In this way, the offset parameters can be used to accurately control the fork of the automatic guided vehicle to insert into the pallet to move the goods to the destination.

100:控制裝置 100: Control device

110a~110b:光學感測器 110a~110b: Optical sensor

120a~120b:攝影電路 120a~120b: Photography circuit

130:處理電路 130: Processing circuit

140a~140b:光學雷達 140a~140b: Optical radar

VC:自動導引車 VC:Automated Guided Vehicle

fk:牙叉 fk: tooth fork

cr:乘載部 cr: passenger department

mt:桅桿 mt:mast

vd:垂直距離 vd: vertical distance

S310~S340、S910~S930、S1010:步驟 S310~S340, S910~S930, S1010: Steps

GS:貨物 GS: Goods

PT:棧板 PT: Pallet

FS1~FS2:正面部分 FS1~FS2: front part

d1~d2:實際距離 d1~d2: Actual distance

MD:移動方向 MD: moving direction

HL1~HL2:平行線 HL1~HL2: Parallel lines

N1~N2:法向量 N1~N2: Normal vector

CC:位置 CC: Location

a:橫向偏移距離 a: lateral offset distance

b:縱向偏移距離 b: Longitudinal offset distance

θ:偏移角度 θ: offset angle

O_GS:貨物物件 O_GS: cargo object

O_PT:棧板物件 O_PT: Pallet object

R_FS:正面部分區域 R_FS: Part of the front area

CP:點雲圖 CP: Point cloud

IMG:三維影像 IMG: 3D Image

s1:第一子點雲集 s1: First sub-point cloud collection

s2:第二子點雲集 s2: Second sub-point cloud collection

s3:貨物點雲集 s3: cargo point cluster

s4:棧板點雲集 s4: A large number of pallets are gathered

INS:內側壁 INS:Inner wall

D1~D2:最小距離 D1~D2: minimum distance

圖1繪示在一些實施例中的自動導引車的示意圖 FIG1 is a schematic diagram of an automatic guided vehicle in some embodiments

圖2繪示在一些實施例中的自動導引車的控制裝置的方塊圖 FIG2 shows a block diagram of a control device for an automated guided vehicle in some embodiments

圖3繪示在一些實施例中的自動導引車的控制方法的流程圖。 FIG3 is a flow chart showing a control method of an automatic guided vehicle in some embodiments.

圖4繪示在一些實施例中的自動導引車向棧板移動的斜視圖。 FIG. 4 shows an oblique view of an automated guided vehicle moving toward a pallet in some embodiments.

圖5繪示在一些實施例中的自動導引車以及棧板的俯視圖。 FIG. 5 shows a top view of an automated guided vehicle and a pallet in some embodiments.

圖6繪示在另一些實施例中的自動導引車以及棧板的俯視圖。 FIG. 6 shows a top view of an automatic guided vehicle and a pallet in other embodiments.

圖7繪示在一些實施例中的三維影像的示意圖。 FIG7 is a schematic diagram of a three-dimensional image in some embodiments.

圖8繪示在一些實施例中的點雲圖的示意圖。 FIG8 is a schematic diagram of a point cloud image in some embodiments.

圖9繪示在一些實施例中的自動導引車的控制方法進一步包括的步驟的流程圖。 FIG9 is a flow chart showing the steps further included in the control method of the automatic guided vehicle in some embodiments.

圖10繪示在另一些實施例中的自動導引車的控制方法進一步包括的步驟的流程圖。 FIG10 is a flow chart showing the steps further included in the control method of the automatic guided vehicle in other embodiments.

圖11繪示在一些實施例中的控制自動導引車進入貨櫃的斜視圖。 FIG. 11 shows an oblique view of controlling an automated guided vehicle to enter a container in some embodiments.

圖12繪示在一些實施例中的控制自動導引車進入貨櫃的俯視圖。 FIG. 12 shows a top view of controlling an automated guided vehicle to enter a container in some embodiments.

同時參照圖1以及圖2,圖1繪示在一些實施例中的自動導引車(automated guided vehicle,AGV)VC的示意圖,圖2繪示在一些實施例中的自動導引車VC的控制裝置100的方塊圖,其中自動導引車VC可以由任意的全向(即,具有全向輪(Omni wheel)或麥克納姆輪(Mecanum wheel))的自動化叉車(forklift)實現,且可從管理系統(例如,可實現物流控制系統(warehouse control system)的伺服器系統或雲端處理系統等,未繪示)接收管理系統指派的任務(例如,搬運倉庫中的特定位置的貨物)。在一些實施例中,管理系統管理多個自動導引車VC的控制裝置100。 Referring to FIG. 1 and FIG. 2 at the same time, FIG. 1 is a schematic diagram of an automated guided vehicle (AGV) VC in some embodiments, and FIG. 2 is a block diagram of a control device 100 of an automated guided vehicle VC in some embodiments, wherein the automated guided vehicle VC can be implemented by any omnidirectional (i.e., an automated forklift with omnidirectional wheels (Omni wheels) or Mecanum wheels (Mecanum wheels)) automated forklift, and can receive tasks assigned by the management system (e.g., a server system or cloud processing system that can implement a logistics control system (warehouse control system), etc., not shown) (e.g., moving goods at a specific location in a warehouse). In some embodiments, the management system manages the control devices 100 of multiple automated guided vehicles VC.

如圖1以及圖2所示,控制裝置100包括至少二光學感測器110a~110b、攝影電路120a以及處理電路130。至少二光學感測器110a~110b以及攝影電路120a皆耦接至處理電路130。在本實施例中,光學感測器110a~110b分別設置於自動導引車VC的至少二牙叉(fork)fk的尖端上。這樣的設置位置可更精準地檢測後續段落中的自動導引車VC與棧板之間的第一距離,以防止自動導引車VC的至少二牙叉fk碰撞棧板。在一些實施例中,光學感測器110a~110b的數量也可以是大於二的其他正整數,牙叉fk的數量也可以是任意與承載貨物的棧板(pallet)的棧孔(bottom lead)的數量相符合的正整數,本揭示並沒有對光學感測器110a~110b的數量以及牙叉fk的數量有特別的限制。值得注意的是,管理系統會預先將棧板的規格以及放置棧板的高度傳送至處理電路130,以讓處理電路130預先設定好二牙叉fk之間的距離以及牙叉fk與地面之間的高度。 As shown in FIG. 1 and FIG. 2 , the control device 100 includes at least two optical sensors 110a-110b, a photographic circuit 120a, and a processing circuit 130. The at least two optical sensors 110a-110b and the photographic circuit 120a are coupled to the processing circuit 130. In this embodiment, the optical sensors 110a-110b are respectively disposed on the tips of at least two forks fk of the automatic guided vehicle VC. Such a setting position can more accurately detect the first distance between the automatic guided vehicle VC and the pallet in the subsequent section to prevent the at least two forks fk of the automatic guided vehicle VC from colliding with the pallet. In some embodiments, the number of optical sensors 110a-110b can also be other positive integers greater than two, and the number of teeth forks fk can also be any positive integer that matches the number of bottom leads of the pallet carrying the goods. The present disclosure does not have any special restrictions on the number of optical sensors 110a-110b and the number of teeth forks fk. It is worth noting that the management system will transmit the specifications of the pallet and the height of the pallet to the processing circuit 130 in advance, so that the processing circuit 130 can pre-set the distance between the two teeth forks fk and the height between the teeth forks fk and the ground.

在本實施例中,光學感測器110a~110b檢測自動導引車VC與棧板之間的第一距離。更具體地,光學感測器110a~110b設置在二牙叉fk的尖端處並朝向外部進行檢測,並且所述第一距離指的是二牙叉fk的尖端(即,光學感測器110a~110b的設置位置)相對於棧板靠近光學感測器110a~110b之一側的平面的垂直距離。詳細而言,當自動導引車VC被指派到特定位置搬運貨物時,自動導引車VC需要將至少二牙叉fk插入棧板的至少二棧孔。在處理電路130控制自動導引車VC將至少二牙叉fk插入棧板的至少二棧孔之前,至少二光學感測器110a~110b會即時地檢測出自動導引車VC與棧板之間的距離,以令自動導引車VC在將二牙叉fk插入至少二棧孔之前先進行定位。在一些實施例中,光學感測器110a~110b可以是由執行光感測測距或電磁感測測距的任意的雷射(laser)感測器實現。 In this embodiment, the optical sensors 110a-110b detect a first distance between the automatic guided vehicle VC and the pallet. More specifically, the optical sensors 110a-110b are disposed at the tip of the two forks fk and detect toward the outside, and the first distance refers to the vertical distance of the tip of the two forks fk (i.e., the location of the optical sensors 110a-110b) relative to a plane of the pallet close to one side of the optical sensors 110a-110b. In detail, when the automatic guided vehicle VC is assigned to a specific location to transport goods, the automatic guided vehicle VC needs to insert at least the two forks fk into at least two pallet holes of the pallet. Before the processing circuit 130 controls the automatic guided vehicle VC to insert at least two forks fk into at least two pallet holes of the pallet, at least two optical sensors 110a~110b will instantly detect the distance between the automatic guided vehicle VC and the pallet, so that the automatic guided vehicle VC can be positioned before inserting the two forks fk into the at least two pallet holes. In some embodiments, the optical sensors 110a~110b can be implemented by any laser sensor that performs light sensing ranging or electromagnetic sensing ranging.

在本實施例中,攝影電路120a受處理電路130的控制來對位於自動導引車VC前方的棧板進行拍攝。在一些實施例中,攝影電路120a設置於自動導引車VC的乘載部(carrier)cr的幾何中心的位置上。這樣的設置方式可清楚地拍攝到自動導引車VC的正前方的棧板以及棧板上的貨物。在一些實施例中,控制裝置100更包括攝影電路120b。在一些實施例中,攝影電路120b設置於自動導引車VC的桅桿(mast)mt的兩側的頂點的中心點,且此中心點與攝影電路120a之間存在一個垂直距離vd。在一些實施例中,當自動導引車VC需要移動較高位置的貨物時,攝影電路120b可替代攝影電路120a以拍攝棧板(因為棧板的位置太高,攝影電路120a無法拍攝到棧板)。在一些實施例中,攝影電路120a~120b可以是由任意的三維攝影機實現。 In this embodiment, the camera circuit 120a is controlled by the processing circuit 130 to shoot the pallet in front of the automatic guided vehicle VC. In some embodiments, the camera circuit 120a is set at the geometric center of the carrier cr of the automatic guided vehicle VC. Such a setting can clearly capture the pallet directly in front of the automatic guided vehicle VC and the goods on the pallet. In some embodiments, the control device 100 further includes a camera circuit 120b. In some embodiments, the camera circuit 120b is set at the center point of the vertices on both sides of the mast mt of the automatic guided vehicle VC, and there is a vertical distance vd between this center point and the camera circuit 120a. In some embodiments, when the automated guided vehicle VC needs to move cargo at a higher position, the camera circuit 120b can replace the camera circuit 120a to photograph the pallet (because the pallet is too high and the camera circuit 120a cannot photograph the pallet). In some embodiments, the camera circuits 120a~120b can be implemented by any three-dimensional camera.

在一些實施例中,控制裝置100更包括至少二光學雷達(light detection and ranging,LIDAR)140a~140b。在一些實施例中,光學雷達140a~140b分別設置於自動導引車VC的桅桿mt的兩側的頂端,其中光學雷達140a~140b的數量也可以是大於二的其他正整數,並沒有特別的限制。這樣的設置方式可更精準地檢測後續段落中的自動導引車VC的兩側與貨櫃的二內側壁之間的二第二距離。後續段落將進一步說明怎麼使用光學雷達140a~140b,在此不進一步贅述。 In some embodiments, the control device 100 further includes at least two optical radars (light detection and ranging, LIDAR) 140a~140b. In some embodiments, the optical radars 140a~140b are respectively arranged at the tops of the two sides of the mast mt of the automatic guided vehicle VC, wherein the number of the optical radars 140a~140b can also be other positive integers greater than two, and there is no special limitation. Such a setting method can more accurately detect the two second distances between the two sides of the automatic guided vehicle VC and the two inner walls of the container in the subsequent paragraphs. The subsequent paragraphs will further explain how to use the optical radars 140a~140b, which will not be further elaborated here.

在本實施例中,處理電路130執行後續段落的自動導引車VC的控制方法。在一些實施例中,處理電路130可以由中央處理單元(central processing unit,CPU)、微控制單元(micro control unit,MCU)、可程式化邏輯控制器(programmable logic controller,PLC)、系統單晶片(system on chip,SoC)或現場可程式邏輯閘陣列(field programmable gate array,FPGA)等實現,但不以此為限。 In this embodiment, the processing circuit 130 executes the control method of the automatic guided vehicle VC in the subsequent paragraphs. In some embodiments, the processing circuit 130 can be implemented by a central processing unit (CPU), a micro control unit (MCU), a programmable logic controller (PLC), a system on chip (SoC) or a field programmable gate array (FPGA), etc., but is not limited thereto.

一併參照圖3,圖3繪示在一些實施例中的自動導引車VC的控制方法的流程圖,此控制方法適用於圖1以及圖2所示的控制裝置100。 Referring to FIG. 3 , FIG. 3 is a flow chart of a control method of an automatic guided vehicle VC in some embodiments. This control method is applicable to the control device 100 shown in FIG. 1 and FIG. 2 .

如圖3所示,控制方法包括步驟S310~S340。首先,於步驟S310中,處理電路130控制自動導引車VC朝向棧板移動直到第一距離等於第一安全閾值的一個中繼位置。於一實施例中,自動導引車VC移動到中繼位置後會先暫停移動,並且先藉由本揭示的控制方法進行定位。換言之,當第一距離等於第一安全閾值時,處理電路130控制自動導引車VC停止向棧板移動。於另一實施例中,自動導引車VC在移動至中繼位置的過程中持續藉由本揭示的控制方法進行定位,故不必然需要在中繼位置上停止移動。以下以實際例子說明自動導引車VC的移動。在一些實施例中,第一安全閾值可以由使用者預先設定好並記錄於處理電路130中。 As shown in FIG3 , the control method includes steps S310 to S340. First, in step S310, the processing circuit 130 controls the automatic guided vehicle VC to move toward the pallet until a relay position where the first distance is equal to the first safety threshold. In one embodiment, the automatic guided vehicle VC will first pause after moving to the relay position, and will first be positioned by the control method disclosed herein. In other words, when the first distance is equal to the first safety threshold, the processing circuit 130 controls the automatic guided vehicle VC to stop moving toward the pallet. In another embodiment, the automatic guided vehicle VC continues to be positioned by the control method disclosed herein during the process of moving to the relay position, so it is not necessarily necessary to stop moving at the relay position. The following is an actual example to illustrate the movement of the automatic guided vehicle VC. In some embodiments, the first safety threshold can be pre-set by the user and recorded in the processing circuit 130.

一併參照圖4以及圖5,圖4繪示在一些實施例中的自動導引車VC向棧板PT移動的斜視圖,圖5繪示在一些實施例中的自動導引車VC以及棧板PT的俯視圖。如圖4所示,假設倉庫中的貨物GS皆擺放在棧板PT上,且管理系統指派自動導引車VC移動倉庫中的貨物GS(非貨櫃中的貨物),管理系統將貨物GS在倉庫中的座標傳送至處理電路130,處理電路130根據在倉庫中的貨物GS的座標,控制自動導引車VC移動到放置貨物GS的棧板PT的前方。接著,處理電路130根據光學感測器110a~110b分別檢測到的兩個距離控制自動導引車VC的正面部分FS2(即,車頭面)轉向棧板PT的正面部分FS1,使得自動導引車VC的正面部分FS2與棧板PT的正面部分FS1呈水平狀態(即,控制自動導引車VC轉向直到光學感測器110a檢測到的距離相等於光學感測器110b檢測到的距離),再控制自動導引車VC沿著一個移動方向MD朝向棧板PT緩緩移動。 Referring to Fig. 4 and Fig. 5, Fig. 4 shows an oblique view of the automatic guided vehicle VC moving toward the pallet PT in some embodiments, and Fig. 5 shows a top view of the automatic guided vehicle VC and the pallet PT in some embodiments. As shown in Fig. 4, assuming that the goods GS in the warehouse are all placed on the pallet PT, and the management system assigns the automatic guided vehicle VC to move the goods GS in the warehouse (not the goods in the container), the management system transmits the coordinates of the goods GS in the warehouse to the processing circuit 130, and the processing circuit 130 controls the automatic guided vehicle VC to move to the front of the pallet PT where the goods GS are placed according to the coordinates of the goods GS in the warehouse. Next, the processing circuit 130 controls the front part FS2 (i.e., the front face) of the automatic guided vehicle VC to turn toward the front part FS1 of the pallet PT according to the two distances respectively detected by the optical sensors 110a~110b, so that the front part FS2 of the automatic guided vehicle VC and the front part FS1 of the pallet PT are in a horizontal state (i.e., the automatic guided vehicle VC is controlled to turn until the distance detected by the optical sensor 110a is equal to the distance detected by the optical sensor 110b), and then controls the automatic guided vehicle VC to move slowly toward the pallet PT along a moving direction MD.

接著,當自動導引車VC沿著移動方向MD朝向棧板PT緩緩移動時,光學感測器110a~110b持續地檢測自動導引車VC與棧板PT之間的距離(即,上述第一距離),並且持續移動到此距離等於第一安全閾值的位置(即,上述中繼位置)。然而,由於光學感測器110a~110b的檢測精度問題,自動導引車VC上的光學感測器110a~110b與棧板PT之間的兩個實際距離d1~d2可能不相等。如圖5所示,由於實際距離d1~d2不相等,與自動導引車VC的正面部分FS2的法向量N2垂直的平行線HL2以及與棧板PT的正面部分FS1的法向量N1垂直的平行線HL1之間存在一個偏移角度θ。因此,自動導引車VC需要以攝影電路120a的位置CC為中心逆時針旋轉偏移角度θ才會使法向量N2平行於法向量N1。 Next, when the automatic guided vehicle VC slowly moves toward the pallet PT along the moving direction MD, the optical sensors 110a-110b continuously detect the distance between the automatic guided vehicle VC and the pallet PT (i.e., the first distance mentioned above), and continuously move to a position where the distance is equal to the first safety threshold (i.e., the intermediate position mentioned above). However, due to the detection accuracy of the optical sensors 110a-110b, the two actual distances d1-d2 between the optical sensors 110a-110b on the automatic guided vehicle VC and the pallet PT may not be equal. As shown in FIG5 , since the actual distances d1 and d2 are not equal, there is an offset angle θ between the parallel line HL2 perpendicular to the normal vector N2 of the front part FS2 of the automatic guided vehicle VC and the parallel line HL1 perpendicular to the normal vector N1 of the front part FS1 of the pallet PT. Therefore, the automatic guided vehicle VC needs to rotate counterclockwise by the offset angle θ with the position CC of the camera circuit 120a as the center to make the normal vector N2 parallel to the normal vector N1.

一併參照圖6,圖6繪示在另一些實施例中的自動導引車VC以及棧板PT的俯視圖。如圖6所示,在自動導引車VC以攝影電路120a的位置CC為中心逆時針旋轉偏移角度θ之後,自動導引車VC的攝影電路120a的位置CC還需要移動一個橫向偏移距離a及一個縱向偏移距離b才會到達棧板PT的正面部分FS1的中心點FC,而當攝影電路120a的位置CC到達棧板PT的正面部分FS1的中心點FC時,代表自動導引車VC的二牙叉已正確插入棧板PT的二棧孔中。於一實施例中,橫向偏移距離a為與正面部分FS2的法線方向N2垂直且與地面平行的偏移距離,縱向偏移距離b為與正面部分FS2的法線方向N2平行且與地面平行的偏移距離。後續段落將進一步說明要怎麼計算出偏移角度θ、橫向偏移距離a以及縱向偏移距離b,在此不進一步贅述。 Referring to FIG6 , FIG6 shows a top view of the automatic guided vehicle VC and the pallet PT in other embodiments. As shown in FIG6 , after the automatic guided vehicle VC rotates counterclockwise by an offset angle θ with the position CC of the camera circuit 120a as the center, the position CC of the camera circuit 120a of the automatic guided vehicle VC needs to move a lateral offset distance a and a longitudinal offset distance b to reach the center point FC of the front part FS1 of the pallet PT. When the position CC of the camera circuit 120a reaches the center point FC of the front part FS1 of the pallet PT, it means that the two forks of the automatic guided vehicle VC have been correctly inserted into the two pallet holes of the pallet PT. In one embodiment, the lateral offset distance a is an offset distance perpendicular to the normal direction N2 of the front portion FS2 and parallel to the ground, and the longitudinal offset distance b is an offset distance parallel to the normal direction N2 of the front portion FS2 and parallel to the ground. The following paragraphs will further explain how to calculate the offset angle θ, the lateral offset distance a, and the longitudinal offset distance b, which will not be further elaborated here.

回到圖3,於步驟S320中,處理電路130藉由攝影電路120a擷取棧板PT的至少一影像,並從至少一影像檢測在棧板PT靠近光學感測器110a~110b的平面上與棧板PT的厚度對應的二垂直邊緣(即,與放置棧板PT的地面垂直的邊緣)各自的座標集。於步驟S330中,處理電路130根據二垂直邊緣各 自的座標集計算偏移參數,其中偏移參數包括自動導引車VC相對於棧板PT的橫向偏移距離a、縱向偏移距離b以及偏移角度θ。 Returning to FIG. 3, in step S320, the processing circuit 130 captures at least one image of the pallet PT through the camera circuit 120a, and detects from the at least one image the respective coordinate sets of two vertical edges corresponding to the thickness of the pallet PT on the plane of the pallet PT close to the optical sensors 110a~110b (i.e., the edges perpendicular to the ground on which the pallet PT is placed). In step S330, the processing circuit 130 calculates the offset parameters according to the respective coordinate sets of the two vertical edges, wherein the offset parameters include the lateral offset distance a, the longitudinal offset distance b, and the offset angle θ of the automatic guided vehicle VC relative to the pallet PT.

在一些實施例中,至少一影像可以是三維影像或多個連續影像。在一些實施例中,處理電路130從至少一影像產生點雲(cloud point)圖,其中點雲圖包括與棧板對應的棧板點雲集(即,至少一影像中的棧板PT的點雲集)。接著,處理電路130從棧板點雲集選擇與二垂直邊緣分別對應的第一子點雲集以及第二子點雲集(即,至少一影像中的棧板PT的兩側的位置上的所有點雲)。接著,處理電路130將第一子點雲集的座標集以及第二子點雲集的座標集(即,第一子點雲集中的所有點雲的座標以及第二子點雲集中的所有點雲的座標)分別做為二垂直邊緣各自的座標集。在一些實施例中,點雲圖CP更包括與貨物GS對應的貨物點雲集。在一些實施例中,處理電路130採用本領域常用的任意的產生點雲的演算法(例如,SLAM(simultaneous localization and mapping)技術的運動恢復結構(structure from motion,SFM)演算法)產生上述點雲圖。 In some embodiments, at least one image may be a three-dimensional image or a plurality of continuous images. In some embodiments, the processing circuit 130 generates a point cloud map from at least one image, wherein the point cloud map includes a pallet point cloud set corresponding to the pallet (i.e., a point cloud set of the pallet PT in at least one image). Then, the processing circuit 130 selects a first sub-point cloud set and a second sub-point cloud set corresponding to the two vertical edges respectively from the pallet point cloud set (i.e., all point clouds at positions on both sides of the pallet PT in at least one image). Then, the processing circuit 130 uses the coordinate set of the first sub-point cloud set and the coordinate set of the second sub-point cloud set (i.e., the coordinates of all point clouds in the first sub-point cloud set and the coordinates of all point clouds in the second sub-point cloud set) as the coordinate sets of the two vertical edges respectively. In some embodiments, the point cloud map CP further includes a cargo point cloud set corresponding to the cargo GS. In some embodiments, the processing circuit 130 uses any point cloud generation algorithm commonly used in the field (for example, the structure from motion (SFM) algorithm of SLAM (simultaneous localization and mapping) technology) to generate the above point cloud map.

在一些實施例中,處理電路130根據二垂直邊緣各自的座標集的平均橫向分量以及平均縱向分量(即,相機坐標系中的x分量以及y分量)計算自動導引車VC相對於棧板PT的橫向偏移距離a、縱向偏移距離b以及偏移角度θ。 In some embodiments, the processing circuit 130 calculates the lateral offset distance a, the longitudinal offset distance b, and the offset angle θ of the automatic guided vehicle VC relative to the pallet PT based on the average lateral component and the average longitudinal component of the coordinate sets of the two vertical edges (i.e., the x component and the y component in the camera coordinate system).

以下以實際的例子說明偏移參數的產生。一併參照圖7以及圖8,圖7繪示在一些實施例中的三維影像IMG的示意圖,圖8繪示在一些實施例中的點雲圖CP的示意圖。如圖7以及圖8所示,三維影像IMG包括貨物物件O_GS以及棧板物件O_PT。處理電路130在計算偏移參數時,將三維影像IMG轉換為點雲圖CP,並選擇與棧板物件O_PT的正面部分區域R_FS的厚度對應的二垂直邊緣上的多個點雲以分別做為第一子點雲集s1(即,正面部分區域R_FS的 與棧板物件O_PT的厚度對應的其中一邊的所有點雲)以及第二子點雲集s2(即,正面部分區域R_FS的與棧板物件O_PT的厚度對應的另一邊的所有點雲)。於一實施例中,處理電路130可例如利用物件辨識(object detection)演算法辨識出與棧板物件O_PT的正面部分區域R_FS對應的區域,再利用邊角檢測(corner detector)演算法以及邊緣檢測(edge detection)演算法檢測出與此區域的厚度對應的兩個邊,進而分別選擇這兩個邊上的所有點雲)。 The generation of the offset parameter is described below with an actual example. Referring to FIG. 7 and FIG. 8 , FIG. 7 is a schematic diagram of a three-dimensional image IMG in some embodiments, and FIG. 8 is a schematic diagram of a point cloud image CP in some embodiments. As shown in FIG. 7 and FIG. 8 , the three-dimensional image IMG includes a cargo object O_GS and a pallet object O_PT. When calculating the offset parameters, the processing circuit 130 converts the three-dimensional image IMG into a point cloud image CP, and selects a plurality of point clouds on two vertical edges corresponding to the thickness of the front partial area R_FS of the pallet object O_PT as the first sub-point cloud set s1 (i.e., all point clouds on one side of the front partial area R_FS corresponding to the thickness of the pallet object O_PT) and the second sub-point cloud set s2 (i.e., all point clouds on the other side of the front partial area R_FS corresponding to the thickness of the pallet object O_PT). In one embodiment, the processing circuit 130 may, for example, use an object detection algorithm to identify the area corresponding to the front partial area R_FS of the pallet object O_PT, and then use a corner detection algorithm and an edge detection algorithm to detect two edges corresponding to the thickness of this area, and then select all point clouds on these two edges respectively).

處理電路130計算第一子點雲集s1中的所有點雲的相機座標(camera coordinate)(即,座標集)的橫向分量的平均值做為與棧板物件O_PT的正面部分區域R_FS的厚度對應的其中一邊的座標集的平均橫向分量,並計算第一子點雲集s1中的所有點雲的相機座標的縱向分量的平均值做為與棧板物件O_PT的正面部分區域R_FS的厚度對應的其中一邊的座標集的平均縱向分量。接著,處理電路130計算第二子點雲集s2中的所有點雲的相機座標的橫向分量的平均值做為與棧板物件O_PT的正面部分區域R_FS的厚度對應的另一邊的座標集的平均橫向分量,並計算第二子點雲集s2中的所有點雲的相機座標的縱向分量的平均值做為與棧板物件O_PT的正面部分區域R_FS的厚度對應的另一邊的座標集的平均縱向分量。 The processing circuit 130 calculates the average value of the transverse components of the camera coordinates (i.e., coordinate set) of all point clouds in the first sub-point cloud set s1 as the average transverse component of the coordinate set corresponding to the thickness of the front partial area R_FS of the pallet object O_PT, and calculates the average value of the longitudinal components of the camera coordinates of all point clouds in the first sub-point cloud set s1 as the average longitudinal component of the coordinate set corresponding to the thickness of the front partial area R_FS of the pallet object O_PT. Next, the processing circuit 130 calculates the average value of the horizontal components of the camera coordinates of all point clouds in the second sub-point cloud set s2 as the average horizontal component of the coordinate set of the other side corresponding to the thickness of the front partial area R_FS of the pallet object O_PT, and calculates the average value of the vertical components of the camera coordinates of all point clouds in the second sub-point cloud set s2 as the average vertical component of the coordinate set of the other side corresponding to the thickness of the front partial area R_FS of the pallet object O_PT.

處理電路130計算與正面部分區域R_FS的厚度對應的其中一邊的座標集的平均橫向分量以及與正面部分區域R_FS的厚度對應的另一邊的座標集的平均橫向分量的平均值做為橫向偏移距離a,並計算與正面部分區域R_FS的厚度對應的其中一邊的座標集的平均縱向分量以及與正面部分區域R_FS的厚度對應的另一邊的座標集的平均縱向分量的平均值做為縱向偏移距離b。接著, 處理電路130根據橫向偏移距離a以及縱向偏移距離b計算偏移角度θ,並將橫向偏移距離a、縱向偏移距離b以及偏移角度θ做為偏移參數。 The processing circuit 130 calculates the average transverse component of the coordinate set of one side corresponding to the thickness of the front partial area R_FS and the average transverse component of the coordinate set of the other side corresponding to the thickness of the front partial area R_FS as the transverse offset distance a, and calculates the average longitudinal component of the coordinate set of one side corresponding to the thickness of the front partial area R_FS and the average longitudinal component of the coordinate set of the other side corresponding to the thickness of the front partial area R_FS as the longitudinal offset distance b. Then, the processing circuit 130 calculates the offset angle θ according to the transverse offset distance a and the longitudinal offset distance b, and uses the transverse offset distance a, the longitudinal offset distance b and the offset angle θ as offset parameters.

一併參照圖9,圖9繪示在一些實施例中的自動導引車VC的控制方法進一步包括的步驟S910~S930的流程圖。如圖9所示,於步驟S910中,處理電路130根據貨物點雲集s3判斷貨物GS是否有傾斜的狀況(例如為右傾斜或左傾斜)。具體地,以貨物GS為太空包為例,因為太空包的體積龐大且重量很重,在堆放時有可能產生各種形變,此形變可能導致自動導引車VC在搬運貨物GS時造成貨物GS傾倒。當判斷貨物GS為右傾斜時,進入步驟S920。於步驟S920中,處理電路130控制自動導引車VC向右移動一個偏差量,以補償貨物GS朝向右側偏移的重量分佈。反之,當判斷貨物GS為左傾斜時,進入步驟S930。於步驟S930中,處理電路130控制自動導引車VC向左移動一個偏差量,以補償貨物GS朝向左側偏移的重量分佈。藉此,處理電路130利用移動一個偏差量的方法防止在搬運貨物時的貨物傾倒。值得一提的是,處理電路130可以在控制自動導引車VC的二牙叉插入棧板PT的二棧孔前先依據上述技術手段補償貨物GS的傾斜,亦可在控制自動導引車VC的二牙叉插入棧板PT的二棧孔之後再依據上述技術手段補償貨物GS的傾斜。 Referring to FIG. 9 , FIG. 9 is a flowchart of steps S910 to S930 further included in the control method of the automatic guided vehicle VC in some embodiments. As shown in FIG. 9 , in step S910, the processing circuit 130 determines whether the cargo GS is tilted (for example, tilted to the right or tilted to the left) according to the cargo point cloud s3. Specifically, taking the cargo GS as a space bag as an example, because the space bag is large in size and heavy in weight, various deformations may occur when stacking, and this deformation may cause the automatic guided vehicle VC to cause the cargo GS to fall when transporting the cargo GS. When it is determined that the cargo GS is tilted to the right, step S920 is entered. In step S920, the processing circuit 130 controls the automatic guided vehicle VC to move rightward by a deviation amount to compensate for the weight distribution of the cargo GS shifting toward the right side. On the contrary, when it is determined that the cargo GS is tilted to the left, the process proceeds to step S930. In step S930, the processing circuit 130 controls the automatic guided vehicle VC to move leftward by a deviation amount to compensate for the weight distribution of the cargo GS shifting toward the left side. In this way, the processing circuit 130 prevents the cargo from tipping over when transporting the cargo by moving a deviation amount. It is worth mentioning that the processing circuit 130 can compensate for the tilt of the cargo GS according to the above technical means before controlling the two forks of the automatic guided vehicle VC to insert into the two pallet holes of the pallet PT, or can compensate for the tilt of the cargo GS according to the above technical means after controlling the two forks of the automatic guided vehicle VC to insert into the two pallet holes of the pallet PT.

舉例而言,如圖8所示,處理電路130從點雲圖CP選擇與貨物物件O_GS對應的貨物點雲集s3(例如,利用物件辨識演算法辨識出與貨物物件O_GS對應的區域,並選擇此區域中的所有點雲)以及與棧板物件O_PT對應的棧板點雲集s4(例如,利用物件辨識演算法辨識出與棧板物件O_PT對應的區域,並選擇此區域中的所有點雲)。處理電路130對貨物點雲集s3中的多個點雲的相機座標以及棧板點雲集s4中的多個點雲的相機座標執行PCL(point cloud library) 點雲質心演算法以產生貨物點雲集s3的質心座標以及其他多個點雲的質心座標。接著,處理電路130根據貨物點雲集s3的質心座標以及其他多個點雲的質心座標判斷貨物GS為右傾斜或左傾斜,進而根據判斷結果控制自動導引車VC依據所述偏差量向左移動或向右移動。 For example, as shown in FIG8 , the processing circuit 130 selects a cargo point cloud set s3 corresponding to the cargo object O_GS (e.g., using an object recognition algorithm to recognize the region corresponding to the cargo object O_GS and selecting all point clouds in the region) and a pallet point cloud set s4 corresponding to the pallet object O_PT (e.g., using an object recognition algorithm to recognize the region corresponding to the pallet object O_PT and selecting all point clouds in the region) from the point cloud image CP. The processing circuit 130 executes a PCL (point cloud library) point cloud centroid algorithm on the camera coordinates of the multiple point clouds in the cargo point cloud set s3 and the camera coordinates of the multiple point clouds in the pallet point cloud set s4 to generate the centroid coordinates of the cargo point cloud set s3 and the centroid coordinates of the other multiple point clouds. Next, the processing circuit 130 determines whether the cargo GS is tilted to the right or to the left based on the centroid coordinates of the cargo point cloud set s3 and the centroid coordinates of multiple other point clouds, and then controls the automatic guided vehicle VC to move to the left or to the right based on the deviation according to the judgment result.

回到圖3,於步驟S340中,處理電路130根據偏移參數控制自動導引車VC從所述中繼位置開始朝向棧板PT移動,以將自動導引車VC的至少二牙叉fk插入棧板PT的至少二棧孔。在一些實施例中,處理電路130控制自動導引車VC以攝影電路120a為中心逆時針轉動偏移角度θ,再控制自動導引車VC沿著與自動導引車VC的正面部分FS2的法向量N2垂直的方向移動橫向偏移距離a,最後控制自動導引車VC沿著自動導引車VC的正面部分FS2的法向量N2移動縱向偏移距離b。此時,自動導引車VC的至少二牙叉fk便已插入棧板PT的至少二棧孔中。而在至少二牙叉fk插入棧板PT的至少二棧孔後,處理電路130即可控制自動導引車VC向上抬升二牙叉fk,藉此開始搬運棧板PT以及棧板PT上的貨物GS。 Returning to FIG. 3 , in step S340, the processing circuit 130 controls the automatic guided vehicle VC to move toward the pallet PT from the intermediate position according to the offset parameter, so as to insert at least two forks fk of the automatic guided vehicle VC into at least two pallet holes of the pallet PT. In some embodiments, the processing circuit 130 controls the automatic guided vehicle VC to rotate counterclockwise by an offset angle θ with the camera circuit 120a as the center, and then controls the automatic guided vehicle VC to move a lateral offset distance a along a direction perpendicular to the normal vector N2 of the front part FS2 of the automatic guided vehicle VC, and finally controls the automatic guided vehicle VC to move a longitudinal offset distance b along the normal vector N2 of the front part FS2 of the automatic guided vehicle VC. At this time, the at least two forks fk of the automatic guided vehicle VC have been inserted into the at least two pallet holes of the pallet PT. After at least two forks fk are inserted into at least two holes of the pallet PT, the processing circuit 130 can control the automatic guided vehicle VC to lift the two forks fk upward, thereby starting to transport the pallet PT and the goods GS on the pallet PT.

一併參照圖10,圖10繪示在另一些實施例中的自動導引車VC的控制方法進一步包括的步驟S1010的流程圖。如圖10所示,於步驟S1010中,當處理電路130控制自動導引車VC進入貨櫃時,光學雷達140a~140b檢測自動導引車VC的桅秆的兩側與貨櫃的二內側壁之間的二第二距離,並控制自動導引車VC的左右移動,使得桅秆的兩側與貨櫃的二內側壁之間的二第二距離皆大於第二安全閾值。詳細而言,當自動導引車VC被指派搬運貨物GS到特定貨櫃中時,光學雷達140a~140b會即時地檢測自動導引車VC的桅秆的兩側與貨櫃的二內側壁之間的二距離,並將此二距離傳送至處理電路130(因為攝影電路120a被所搬運的貨物GS擋住,只能利用光學雷達140a~140b檢測距離)。在一些實施例 中,第二安全閾值也可以由使用者預先設定並記錄於處理電路130中。以下以實際例子說明控制自動導引車VC進入貨櫃。 Referring to FIG. 10 , FIG. 10 is a flow chart of step S1010 further included in the control method of the automatic guided vehicle VC in other embodiments. As shown in FIG. 10 , in step S1010, when the processing circuit 130 controls the automatic guided vehicle VC to enter the container, the optical radars 140a-140b detect the two second distances between the two sides of the mast of the automatic guided vehicle VC and the two inner walls of the container, and control the left and right movement of the automatic guided vehicle VC, so that the two second distances between the two sides of the mast and the two inner walls of the container are both greater than the second safety threshold. In detail, when the automatic guided vehicle VC is assigned to transport the cargo GS to a specific container, the optical radar 140a~140b will instantly detect the two distances between the two sides of the mast of the automatic guided vehicle VC and the two inner walls of the container, and transmit the two distances to the processing circuit 130 (because the camera circuit 120a is blocked by the transported cargo GS, only the optical radar 140a~140b can be used to detect the distance). In some embodiments, the second safety threshold value can also be pre-set by the user and recorded in the processing circuit 130. The following is an actual example to illustrate the control of the automatic guided vehicle VC entering the container.

一併參照圖11以及圖12,圖11繪示在一些實施例中的控制自動導引車VC進入貨櫃CT的斜視圖,圖12繪示在一些實施例中的控制自動導引車VC進入貨櫃CT的俯視圖。如圖11以及圖12所示,當自動導引車VC被指派到貨櫃CT中時,自動導引車VC沿著移動方向MD朝向貨櫃CT移動。在自動導引車VC移動時,光學雷達140a~140b即時地檢測自動導引車VC的桅秆的兩側的頂端與貨櫃CT的二內側壁INS之間的兩個最小距離D1~D2(即,二第二距離)。處理電路130持續控制自動導引車VC的移動,使得桅秆的兩側與貨櫃CT的二內側壁INS之間的兩個最小距離D1~D2皆大於一第二安全閾值,以防止在自動導引車VC進入貨櫃CT時,兩側與貨櫃CT的二內側壁INS發生碰撞。 Referring to FIG. 11 and FIG. 12 , FIG. 11 is an oblique view of controlling the automatic guided vehicle VC to enter the container CT in some embodiments, and FIG. 12 is a top view of controlling the automatic guided vehicle VC to enter the container CT in some embodiments. As shown in FIG. 11 and FIG. 12 , when the automatic guided vehicle VC is assigned to the container CT, the automatic guided vehicle VC moves toward the container CT along the moving direction MD. When the automatic guided vehicle VC moves, the optical radar 140a-140b detects two minimum distances D1-D2 (i.e., two second distances) between the top ends of the two sides of the mast of the automatic guided vehicle VC and the two inner side walls INS of the container CT in real time. The processing circuit 130 continuously controls the movement of the automatic guided vehicle VC so that the two minimum distances D1-D2 between the two sides of the mast and the two inner walls INS of the container CT are both greater than a second safety threshold value to prevent the two sides of the automatic guided vehicle VC from colliding with the two inner walls INS of the container CT when entering the container CT.

在一些實施例中,當處理電路130控制自動導引車VC在貨櫃CT中搬運貨物GS時,處理電路130藉由至少二光學感測器110a~110b檢測自動導引車VC前方是否已存在另一貨物(因為攝影電路120a被所搬運的貨物GS擋住且光學雷達140a~140b可能過高,只能利用光學感測器110a~110b感測前方是否已存在另一貨物)。藉此,處理電路130利用至少二光學感測器110a~110b檢測前方障礙物的方法將可防止自動導引車VC在貨櫃CT中將貨物GS放置到已存在的另一貨物的位置。 In some embodiments, when the processing circuit 130 controls the automatic guided vehicle VC to transport the goods GS in the container CT, the processing circuit 130 detects whether there is another goods in front of the automatic guided vehicle VC by at least two optical sensors 110a~110b (because the camera circuit 120a is blocked by the transported goods GS and the optical radar 140a~140b may be too high, only the optical sensors 110a~110b can be used to sense whether there is another goods in front). In this way, the method of the processing circuit 130 using at least two optical sensors 110a~110b to detect obstacles in front can prevent the automatic guided vehicle VC from placing the goods GS in the container CT to the position of another existing goods.

綜上所述,本揭示提出的自動導引車的控制裝置以及控制方法可利用棧板的點雲圖產生與棧板的兩側的座標集,並計算棧板的兩側的座標集各自的平均橫向分量以及縱向分量,再根據棧板的兩側的座標集各自的平均橫向分量以及縱向分量計算出偏移參數。藉此,可利用偏移參數精準地控制自動 導引車的牙叉插入棧板的棧孔,藉此可移動棧板來將貨物搬運至目的位置,進而克服光學感測器的精度不足的問題。此外,本揭示提出的自動導引車的控制裝置以及控制方法更可根據點雲圖辨識出貨物是否擺放歪斜。如此一來,在貨物歪斜的情況下,本揭示提出的自動導引車的控制裝置以及控制方法可稍微調整牙叉在棧孔中的位置以防止貨物傾倒。另一方面而言,當自動導引車要進入貨櫃時,本揭示提出的自動導引車的控制裝置以及控制方法可利用光學雷達檢測距離的方法控制自動導引車的移動,使得桅桿與貨櫃的內側壁之間的距離維持在一個安全範圍。而當自動導引車在貨櫃中卸貨時,本揭示提出的自動導引車的控制裝置以及控制方法可利用光學感測器檢測距離的方法控制自動導引車移動到沒有放置另一貨物的位置以放置貨物。藉此,可克服在貨物擋住攝影電路的情況下仍可避免碰撞的產生。 In summary, the control device and control method of the automatic guided vehicle proposed in the present disclosure can use the point cloud map of the pallet to generate the coordinate sets of the two sides of the pallet, and calculate the average transverse component and longitudinal component of the coordinate sets of the two sides of the pallet, and then calculate the offset parameter according to the average transverse component and longitudinal component of the coordinate sets of the two sides of the pallet. In this way, the offset parameter can be used to accurately control the fork of the automatic guided vehicle to insert into the pallet hole of the pallet, so that the pallet can be moved to transport the goods to the destination, thereby overcoming the problem of insufficient accuracy of the optical sensor. In addition, the control device and control method of the automatic guided vehicle proposed in the present disclosure can further identify whether the goods are placed crookedly according to the point cloud map. In this way, when the cargo is tilted, the control device and control method of the automatic guided vehicle proposed in the present disclosure can slightly adjust the position of the fork in the pallet hole to prevent the cargo from falling. On the other hand, when the automatic guided vehicle is about to enter the container, the control device and control method of the automatic guided vehicle proposed in the present disclosure can use the method of optical radar detection distance to control the movement of the automatic guided vehicle, so that the distance between the mast and the inner wall of the container is maintained in a safe range. When the automatic guided vehicle is unloading cargo in the container, the control device and control method of the automatic guided vehicle proposed in the present disclosure can use the method of optical sensor detection distance to control the automatic guided vehicle to move to a position where no other cargo is placed to place the cargo. In this way, the occurrence of collision can be avoided even when the cargo blocks the camera circuit.

以上所述僅為本揭示的具體實例,非因此即侷限本揭示的申請專利範圍,故舉凡運用本案內容所為的等效變化,均同理皆包含於本揭示的範圍內,合予陳明。 The above is only a specific example of this disclosure, and does not limit the scope of the patent application of this disclosure. Therefore, all equivalent changes made by applying the content of this case are also included in the scope of this disclosure and are hereby stated.

100:控制裝置 100: Control device

110a~110b:光學感測器 110a~110b: Optical sensor

120a~120b:攝影電路 120a~120b: Photography circuit

130:處理電路 130: Processing circuit

140a~140b:光學雷達 140a~140b: Optical radar

Claims (12)

一種自動導引車的控制裝置,設置於一自動導引車,且適用以控制該自動導引車的至少二牙叉插入一棧板的至少二棧孔,包括:至少二光學感測器,分別設置於該自動導引車的該至少二牙叉上,經配置以檢測該自動導引車與該棧板之間的一第一距離;一攝影電路,設置於該自動導引車的一乘載部的幾何中心的一位置上,經配置以拍攝該棧板;以及一處理電路,耦接該至少二光學感測器以及該攝影電路,經配置以執行以下步驟:控制該自動導引車向該棧板移動直到該第一距離等於一第一安全閾值的一中繼位置;藉由該攝影電路擷取該棧板的至少一影像,並從該至少一影像檢測在該棧板靠近該至少二光學感測器的一平面上與該棧板的一厚度對應的二垂直邊緣各自的一座標集;根據該二垂直邊緣各自的該座標集計算一偏移參數,其中該偏移參數包括該自動導引車相對於該棧板的一橫向偏移距離、一縱向偏移距離以及一偏移角度;以及根據該偏移參數控制該自動導引車從該中繼位置朝向該棧板移動以將該自動導引車的該至少二牙叉插入該棧板的該至少二棧孔。 A control device for an automatic guided vehicle is provided on the automatic guided vehicle and is suitable for controlling at least two prongs of the automatic guided vehicle to be inserted into at least two pallet holes of a pallet, comprising: at least two optical sensors, respectively provided on the at least two prongs of the automatic guided vehicle, and configured to detect a first distance between the automatic guided vehicle and the pallet; a photographic circuit, provided at a position at a geometric center of a carrying portion of the automatic guided vehicle, and configured to photograph the pallet; and a processing circuit, coupled to the at least two optical sensors and the photographic circuit, and configured to perform the following steps: controlling the automatic guided vehicle to move toward the pallet until the first distance is equal to a relay position of a first safety threshold; capturing at least one image of the pallet by the photographic circuit, and detecting from the at least one image a set of coordinates of two vertical edges corresponding to a thickness of the pallet on a plane of the pallet close to the at least two optical sensors; calculating an offset parameter according to the respective coordinate sets of the two vertical edges, wherein the offset parameter includes a lateral offset distance, a longitudinal offset distance and an offset angle of the automatic guided vehicle relative to the pallet; and controlling the automatic guided vehicle to move from the relay position toward the pallet according to the offset parameter to insert the at least two teeth of the automatic guided vehicle into the at least two pallet holes of the pallet. 如請求項1所述的自動導引車的控制裝置,其中該至少一影像為一三維影像或多個連續影像,其中於從該至少一影像檢測在該棧板靠近該至 少二光學感測器的該平面上與該棧板的該厚度對應的該二垂直邊緣各自的該座標集的步驟中,該處理電路經配置以執行以下步驟:從該至少一影像產生一點雲圖,其中該點雲圖包括與該棧板對應的一棧板點雲集;從該棧板點雲集選擇與該二垂直邊緣分別對應的一第一子點雲集以及一第二子點雲集;以及將該第一子點雲集的座標集以及該第二子點雲集的座標集分別做為該二垂直邊緣各自的該座標集。 A control device for an automatic guided vehicle as described in claim 1, wherein the at least one image is a three-dimensional image or a plurality of continuous images, wherein in the step of detecting the coordinate sets of the two vertical edges corresponding to the thickness of the pallet on the plane of the pallet close to the at least two optical sensors from the at least one image, the processing circuit is configured to perform the following steps: generating a point cloud image from the at least one image, wherein the point cloud image includes a pallet point cloud corresponding to the pallet; selecting a first sub-point cloud and a second sub-point cloud corresponding to the two vertical edges from the pallet point cloud; and using the coordinate sets of the first sub-point cloud and the coordinate sets of the second sub-point cloud as the coordinate sets of the two vertical edges. 如請求項1所述的自動導引車的控制裝置,其中於根據該二垂直邊緣各自的該座標集計算該偏移參數的步驟中,該處理電路經配置以執行以下步驟:根據該二垂直邊緣各自的該座標集的一平均橫向分量以及一縱向分量計算該自動導引車相對於該棧板的該橫向偏移距離、該縱向偏移距離以及該偏移角度。 The control device of the automatic guided vehicle as described in claim 1, wherein in the step of calculating the offset parameter according to the coordinate set of each of the two vertical edges, the processing circuit is configured to perform the following steps: calculating the lateral offset distance, the longitudinal offset distance and the offset angle of the automatic guided vehicle relative to the pallet according to an average lateral component and a longitudinal component of the coordinate set of each of the two vertical edges. 如請求項2所述的自動導引車的控制裝置,其中該點雲圖更包括與一貨物對應的一貨物點雲集,其中該處理電路更經配置以執行以下步驟:根據該貨物點雲集判斷該貨物是否為右傾斜或左傾斜;當判斷該貨物為右傾斜時,控制該自動導引車向右移動一偏差量;以及當判斷該貨物為左傾斜時,控制該自動導引車向左移動該偏差量。 A control device for an automated guided vehicle as described in claim 2, wherein the point cloud map further includes a cargo point cloud corresponding to a cargo, wherein the processing circuit is further configured to perform the following steps: judging whether the cargo is tilted to the right or to the left according to the cargo point cloud; when judging that the cargo is tilted to the right, controlling the automated guided vehicle to move to the right by a deviation; and when judging that the cargo is tilted to the left, controlling the automated guided vehicle to move to the left by the deviation. 如請求項1所述的自動導引車的控制裝置,更包括:至少二光學雷達,分別設置於該自動導引車的一桅桿的兩側的頂端,經配置以檢測該自動導引車的兩側與一貨櫃的二內側壁之間的二第二距離,其中該處理電路更經配置以執行以下步驟: 當控制該自動導引車進入該貨櫃時,該處理電路控制該自動導引車的移動,使該兩側與該貨櫃的該二內側壁之間的該二第二距離皆大於一第二安全閾值。 The control device of the automatic guided vehicle as described in claim 1 further comprises: at least two optical radars, respectively disposed at the top of the two sides of a mast of the automatic guided vehicle, configured to detect two second distances between the two sides of the automatic guided vehicle and the two inner walls of a container, wherein the processing circuit is further configured to perform the following steps: When controlling the automatic guided vehicle to enter the container, the processing circuit controls the movement of the automatic guided vehicle so that the two second distances between the two sides and the two inner walls of the container are both greater than a second safety threshold. 如請求項5所述的自動導引車的控制裝置,其中該處理電路更經配置以執行以下步驟:當該處理電路控制該自動導引車在該貨櫃中移動時,藉由該至少二光學感測器檢測該自動導引車前方是否已存在另一貨物。 The control device of the automated guided vehicle as described in claim 5, wherein the processing circuit is further configured to perform the following steps: when the processing circuit controls the automated guided vehicle to move in the container, the at least two optical sensors are used to detect whether there is another cargo in front of the automated guided vehicle. 一種自動導引車的控制方法,包括:藉由一處理電路控制該自動導引車向一棧板移動直到一第一距離等於一第一安全閾值的一中繼位置,其中該第一距離是藉由至少二光學感測器檢測的一自動導引車與該棧板之間的距離;藉由一攝影電路擷取該棧板的至少一影像,並從該至少一影像檢測在該棧板靠近該至少二光學感測器的一平面上與該棧板的一厚度對應的二垂直邊緣各自的一座標集;藉由該處理電路根據該二垂直邊緣各自的該座標集計算一偏移參數,其中該偏移參數包括該自動導引車相對於該棧板的一橫向偏移距離、一縱向偏移距離以及一偏移角度;以及藉由該處理電路根據該偏移參數控制該自動導引車從該中繼位置朝向該棧板移動以將該自動導引車的至少二牙叉插入該棧板的至少二棧孔。 A control method for an automatic guided vehicle comprises: controlling the automatic guided vehicle to move toward a pallet by a processing circuit until a relay position at which a first distance is equal to a first safety threshold, wherein the first distance is a distance between the automatic guided vehicle and the pallet detected by at least two optical sensors; capturing at least one image of the pallet by a photographic circuit, and detecting from the at least one image a thickness of the pallet on a plane of the pallet close to the at least two optical sensors. The processing circuit calculates an offset parameter according to the coordinate sets of the two vertical edges, wherein the offset parameter includes a lateral offset distance, a longitudinal offset distance and an offset angle of the automatic guided vehicle relative to the pallet; and the processing circuit controls the automatic guided vehicle to move from the intermediate position toward the pallet according to the offset parameter so as to insert at least two teeth of the automatic guided vehicle into at least two pallet holes of the pallet. 如請求項7所述的自動導引車的控制方法,其中該至少一影像為一三維影像或多個連續影像,其中從該至少一影像檢測在該棧板靠近該至少 二光學感測器的該平面上與該棧板的該厚度對應的該二垂直邊緣各自的該座標集的步驟包括:藉由該處理電路從該至少一影像產生一點雲圖,其中該點雲圖包括與該棧板對應的一棧板點雲集;藉由該處理電路從該棧板點雲集選擇與該二垂直邊緣分別對應的一第一子點雲集以及一第二子點雲集;以及藉由該處理電路將該第一子點雲集的座標集以及該第二子點雲集的座標集分別做為該二垂直邊緣各自的該座標集。 The control method of the automatic guided vehicle as described in claim 7, wherein the at least one image is a three-dimensional image or a plurality of continuous images, wherein the step of detecting the coordinate sets of the two vertical edges corresponding to the thickness of the pallet on the plane of the pallet close to the at least two optical sensors from the at least one image comprises: generating a point cloud image from the at least one image by the processing circuit, wherein the point cloud image comprises a pallet point cloud corresponding to the pallet; selecting a first sub-point cloud and a second sub-point cloud corresponding to the two vertical edges respectively from the pallet point cloud by the processing circuit; and using the coordinate sets of the first sub-point cloud and the coordinate sets of the second sub-point cloud as the coordinate sets of the two vertical edges respectively by the processing circuit. 如請求項7所述的自動導引車的控制方法,其中根據二垂直邊緣各自的該座標集計算該偏移參數的步驟包括:藉由該處理電路根據該二垂直邊緣各自的該座標集的一平均橫向分量以及一縱向分量計算該自動導引車相對於該棧板的該橫向偏移距離、該縱向偏移距離以及該偏移角度。 The control method of the automatic guided vehicle as described in claim 7, wherein the step of calculating the offset parameter according to the coordinate sets of the two vertical edges comprises: calculating the lateral offset distance, the longitudinal offset distance and the offset angle of the automatic guided vehicle relative to the pallet according to an average lateral component and a longitudinal component of the coordinate sets of the two vertical edges by the processing circuit. 如請求項8所述的自動導引車的控制方法,其中該點雲圖更包括與一貨物對應的一貨物點雲集,其中該控制方法更包括:藉由該處理電路根據該貨物點雲集判斷該貨物是否為右傾斜或左傾斜;當判斷該貨物為右傾斜時,藉由該處理電路控制該自動導引車向右移動一偏差量;以及當判斷該貨物為左傾斜時,藉由該處理電路控制該自動導引車向左移動該偏差量。 A control method for an automated guided vehicle as described in claim 8, wherein the point cloud map further includes a cargo point cloud corresponding to a cargo, wherein the control method further includes: judging by the processing circuit whether the cargo is tilted right or left according to the cargo point cloud; when judging that the cargo is tilted right, controlling the automated guided vehicle to move rightward by a deviation amount by the processing circuit; and when judging that the cargo is tilted leftward, controlling the automated guided vehicle to move leftward by the deviation amount by the processing circuit. 如請求項7所述的自動導引車的控制方法,更包括:藉由至少二光學雷達檢測該自動導引車的兩側與一貨櫃的二內側壁之間的二第二距離;以及 當該處理電路控制該自動導引車進入該貨櫃時,藉由該處理電路控制該自動導引車的該兩側與該貨櫃的該二內側壁之間的該二第二距離皆大於一第二安全閾值。 The control method of the automatic guided vehicle as described in claim 7 further includes: detecting two second distances between the two sides of the automatic guided vehicle and the two inner walls of a container by at least two optical radars; and When the processing circuit controls the automatic guided vehicle to enter the container, the processing circuit controls the two second distances between the two sides of the automatic guided vehicle and the two inner walls of the container to be greater than a second safety threshold. 如請求項11所述的自動導引車的控制方法,更包括:當該處理電路控制該自動導引車在該貨櫃中移動時,藉由該至少二光學感測器檢測該自動導引車前方是否已存在另一貨物。 The control method of the automatic guided vehicle as described in claim 11 further includes: when the processing circuit controls the automatic guided vehicle to move in the container, the at least two optical sensors detect whether there is another cargo in front of the automatic guided vehicle.
TW113100437A 2024-01-04 2024-01-04 Control device for an automatic guided vehicle and control method for the same TWI883765B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW113100437A TWI883765B (en) 2024-01-04 2024-01-04 Control device for an automatic guided vehicle and control method for the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW113100437A TWI883765B (en) 2024-01-04 2024-01-04 Control device for an automatic guided vehicle and control method for the same

Publications (2)

Publication Number Publication Date
TWI883765B true TWI883765B (en) 2025-05-11
TW202528866A TW202528866A (en) 2025-07-16

Family

ID=96581908

Family Applications (1)

Application Number Title Priority Date Filing Date
TW113100437A TWI883765B (en) 2024-01-04 2024-01-04 Control device for an automatic guided vehicle and control method for the same

Country Status (1)

Country Link
TW (1) TWI883765B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201933013A (en) * 2018-01-19 2019-08-16 所羅門股份有限公司 Workpiece processing method and processing system controlling a mechanical arm to displace along the corrected displacement path according to the corrected displacement path data to process the workpiece
TW202125139A (en) * 2019-12-19 2021-07-01 財團法人工業技術研究院 Automatic guided vehicle positioning system and operating method thereof
TW202303326A (en) * 2021-06-30 2023-01-16 新加坡商台達電子國際(新加坡)私人有限公司 Modular control system and method for controlling automated guided vehicle
US20230259137A1 (en) * 2020-10-19 2023-08-17 Preferred Robotics, Inc. Autonomous vehicle

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201933013A (en) * 2018-01-19 2019-08-16 所羅門股份有限公司 Workpiece processing method and processing system controlling a mechanical arm to displace along the corrected displacement path according to the corrected displacement path data to process the workpiece
TW202125139A (en) * 2019-12-19 2021-07-01 財團法人工業技術研究院 Automatic guided vehicle positioning system and operating method thereof
US20230259137A1 (en) * 2020-10-19 2023-08-17 Preferred Robotics, Inc. Autonomous vehicle
TW202303326A (en) * 2021-06-30 2023-01-16 新加坡商台達電子國際(新加坡)私人有限公司 Modular control system and method for controlling automated guided vehicle

Also Published As

Publication number Publication date
TW202528866A (en) 2025-07-16

Similar Documents

Publication Publication Date Title
CN109160452B (en) Unmanned transfer forklift based on laser positioning and stereoscopic vision and navigation method
EP3960692B1 (en) Intelligent forklift and container position and posture deviation detection method
JP7469494B2 (en) Method for controlling an automated guided vehicle and a control system configured to carry out said method - Patents.com
CN110837814B (en) Vehicle navigation method, device and computer readable storage medium
JP6211734B1 (en) Combination of stereo processing and structured light processing
KR102227035B1 (en) Depression detecting apparatus, transfer apparatus, and depression detecting method
WO2021249568A1 (en) Warehouse robot control method and apparatus, device and readable storage medium
US12269164B2 (en) Method and computing system for performing robot motion planning and repository detection
CN116081524A (en) Fork truck tray butt joint detection method and detection system
CN111717843A (en) A logistics handling robot
JP2021076532A (en) Measuring device
TWI883765B (en) Control device for an automatic guided vehicle and control method for the same
JP7192706B2 (en) Position and orientation estimation device
CN120107343A (en) Alignment state confirmation method, control system and handling equipment
US20250128927A1 (en) Autonomous mobile robot operations for last rows in-trailer unloading
CN115520808A (en) Butt joint method of autonomous mobile forklift and autonomous mobile forklift
US20250181081A1 (en) Localization of horizontal infrastructure using point clouds
JP7556308B2 (en) Position and orientation estimation device
JP7631913B2 (en) Transport control system, transport control method, and program
CN115330854A (en) Cargo management system and cargo management method
CN120122727A (en) A method, system and device for confirming stacking status
US12522485B1 (en) Aligning method, controller, and material handling equipment
CN120191875B (en) Pallet fork picking method, system, storage medium and program product
JP7707998B2 (en) Cargo handling system and cargo handling vehicle
CN120004179A (en) Alignment method, control system and handling equipment