TWI767612B - Deep learning method for controlling the balance of a two-wheeled machine - Google Patents

Deep learning method for controlling the balance of a two-wheeled machine Download PDF

Info

Publication number
TWI767612B
TWI767612B TW110109261A TW110109261A TWI767612B TW I767612 B TWI767612 B TW I767612B TW 110109261 A TW110109261 A TW 110109261A TW 110109261 A TW110109261 A TW 110109261A TW I767612 B TWI767612 B TW I767612B
Authority
TW
Taiwan
Prior art keywords
control
layer
node
angle
follows
Prior art date
Application number
TW110109261A
Other languages
Chinese (zh)
Other versions
TW202238302A (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 TW110109261A priority Critical patent/TWI767612B/en
Application granted granted Critical
Publication of TWI767612B publication Critical patent/TWI767612B/en
Publication of TW202238302A publication Critical patent/TW202238302A/en

Links

Images

Abstract

The present invention relates to a deep learning method for controlling the balance of a two-wheeled machine, which is based on a deep learning method to adjust the controller parameters, and have a learning adjustment mechanism that can widely adapt to changes in environmental parameters, so that the two-wheeled machine can achieve a robust and stable automatic control effect, and increase the practical efficacy in its overall implementation and use.

Description

深度學習控制兩輪機具平衡方法Deep learning control method for balance of two-wheeled implements

本發明係有關於一種深度學習控制兩輪機具平衡方法,尤其是指一種以深度學習的方法調整控制器參數,能具有學習性質的調整機制,可以廣泛的適應環境參數之改變,以可使兩輪機具達到強健平衡穩定之自動控制功效,而在其整體施行使用上更增實用功效特性者。The present invention relates to a deep learning method for controlling the balance of two-wheeled implements, in particular to a deep learning method for adjusting controller parameters, which can have a learning-like adjustment mechanism, and can widely adapt to changes in environmental parameters, so that two The mechanical equipment achieves the automatic control function of strong balance and stability, and the practical function characteristics are enhanced in its overall implementation and use.

按,2001年由發明家Dean Kamen發明一種兩輪代步的電動車[賽格威],這是第一輛能夠自主平衡的運輸工具[或稱為兩輪平衡車],該兩輪代步的電動車[賽格威]引起很大的迴響,並在全世界造成一股流行趨勢;而兩輪平衡車的重要技術之一就是平衡穩定控制技術,其主要是引用適合的平衡穩定控制技術使兩輪平衡機具達到強健平衡穩定。According to, in 2001, inventor Dean Kamen invented a two-wheeled electric vehicle [Segway], which is the first self-balancing means of transport [or called a two-wheeled balance vehicle]. The two-wheeled electric vehicle The car [Segway] caused a lot of repercussions and caused a fashion trend in the world; and one of the important technologies of the two-wheeled balance car is the balance and stability control technology, which mainly refers to the appropriate balance and stability control technology to make the two Wheel balancer achieves strong balance and stability.

其中,請參閱公告第M506767號「電動平衡車」,係設有一車輛本體,該車輛本體底部兩端之輪軸上各設有一輪胎,該輪胎係由一輪框、一外輪及一內胎所組成,該外輪係設於該輪框上,該內胎係設於該外輪內,該輪框上設有一氣嘴,該氣嘴係連接至該內胎。該結構主要是透過改變電動平衡車之輪胎係由外輪與內胎組設於輪框上,來解決電動平衡車在使用時因輪胎不具避震效果所存在之缺失。Among them, please refer to Announcement No. M506767 "Electric Balance Vehicle", which is equipped with a vehicle body, and a tire is provided on each of the axles at both ends of the bottom of the vehicle body. The tire is composed of a wheel frame, an outer wheel and an inner tube. The outer wheel is arranged on the wheel frame, the inner tube is arranged in the outer wheel, and an air nozzle is arranged on the wheel frame, and the air valve is connected to the inner tube. This structure mainly solves the problem that the electric balancing scooter does not have a shock-absorbing effect when the electric balancing scooter is in use by changing the tire system of the electric balancing scooter to be assembled from the outer wheel and the inner tube on the wheel frame.

另,請參閱公告第M500726號「自平衡車之車架機構」,適用於組裝至少兩個車輪,及兩個自平衡機電系統組件,且該等自平衡機電系統組件可分別自動控制該等車輪轉動,以使其保持平衡狀態,該車架機構包含:兩個車架組,分別可安裝一個車輪與一個自平衡機電系統組件,且每一個車架組可被操作而單獨帶動各別之自平衡機電系統組件同步前後傾擺位移;及一個軸承組,連接該等車架組,使該等車架組可各自獨立地前後樞擺。該結構係能方便選擇以雙手操控把手及/或以雙腳踩踏操控踏板的方式,來控制兩輪自平衡車之行進與轉彎。Also, please refer to Announcement No. M500726 "Frame Mechanism of Self-balancing Vehicle", which is suitable for assembling at least two wheels and two self-balancing electromechanical system components, and these self-balancing electromechanical system components can automatically control the wheels respectively Rotate to keep it in a balanced state, the frame mechanism includes: two frame sets, which can respectively install a wheel and a self-balancing electromechanical system component, and each frame set can be operated to drive its own The balancing electromechanical system components synchronize front and rear tilting displacements; and a bearing set connects the frame sets so that the frame sets can pivot forward and backward independently. The structure can conveniently control the running and turning of the two-wheeled self-balancing vehicle by controlling the handle with both hands and/or stepping on the control pedal with both feet.

又,請參閱公告第I510394號「自動平衡載具及其轉向控制之方法」其包含:一載具本體,係包含一踩踏板;一第一感測器,係設於該踩踏板上,當一物體觸發該第一感測器時,該第一感測器係產生一第一感測訊號;一第二感測器,係設於該踩踏板上,當該物體觸發該第二感測器時,該第二感測器係產生一第二感測訊號;一控制模組,係接收該第一感測訊號以產生一第一驅動訊號,或接收該第二感測訊號以產生一第二驅動訊號;以及一驅動模組,係包含一第一輪體及一第二輪體,該第一輪體係設於該載具本體之一側,而該第二輪體係相對該第一輪體設於該載具本體之另一側,當該驅動模組對應該第一驅動訊號使該第一輪體與該第二輪體產生一第一速度差時,該載具本體將朝一第一方向轉向,而當該驅動模組對應該第二驅動訊號使該第一輪體與該第二輪體產生一第二速度差時,該載具本體將朝相對該第一方向之一第二方向轉向;其中,該載具本體更包含一升降模組,該升降模組係連結該踩踏板,該控制模組係依據一控制訊號控制該升降模組升降作動,以帶動該踩踏板升降。該結構係有關於一種藉由觸發第一感測器或第二感測器,以使載具本體朝不同方向轉向之技術。Also, please refer to Announcement No. I510394 "Automatically Balanced Vehicle and its Steering Control Method", which includes: a vehicle body including a pedal; a first sensor arranged on the pedal, when When an object triggers the first sensor, the first sensor generates a first sensing signal; a second sensor is set on the pedal, when the object triggers the second sensing When the device is activated, the second sensor generates a second sensing signal; a control module receives the first sensing signal to generate a first driving signal, or receives the second sensing signal to generate a a second driving signal; and a driving module comprising a first wheel body and a second wheel body, the first wheel system is arranged on one side of the vehicle body, and the second wheel system is opposite to the first wheel body The wheel body is arranged on the other side of the carrier body. When the driving module corresponds to the first driving signal to generate a first speed difference between the first wheel body and the second wheel body, the carrier body will move toward a The first direction is turned, and when the driving module corresponding to the second driving signal causes the first wheel body and the second wheel body to generate a second speed difference, the carrier body will face one of the first directions The second direction turns; wherein, the carrier body further includes a lift module, the lift module is connected to the pedal, and the control module controls the lift module to move up and down according to a control signal to drive the pedal lift. The structure relates to a technology for turning the carrier body in different directions by triggering the first sensor or the second sensor.

此外,現有的兩輪平衡穩定技術尚有使用比例-積分-微分(PID)的控制方法。其中,P代表比例控制項,可以減少系統的上升時間及延遲時間,但卻會增加系統的超越量。I代表積分控制項,可以減少或消除穩態誤差。D代表微分控制項,可以減少系統的最大超越量百分比,但同時卻會增加系統的上升時間及延遲時間。In addition, the existing two-wheel balance stabilization technology still has a proportional-integral-derivative (PID) control method. Among them, P represents the proportional control item, which can reduce the rise time and delay time of the system, but it will increase the excess of the system. I stands for the integral control term, which reduces or eliminates steady-state errors. D represents the derivative control term, which can reduce the maximum overrun percentage of the system, but at the same time increase the rise time and delay time of the system.

然而,現有兩輪平衡車雖可達到平衡穩定控制之預期功效,但也在其實際操作施行上發現,該類結構皆係為使用固定參數調整方式,造成若環境條件產生變動,其即無法適應環境條件的變動,相對即導致無法進行穩定平衡控制,致令其在控制方式上仍存在有改進的空間。However, although the existing two-wheeled balance car can achieve the expected effect of balance and stability control, it is also found in its actual operation that this type of structure uses a fixed parameter adjustment method, so that if the environmental conditions change, it cannot adapt to the Changes in environmental conditions relatively make it impossible to carry out stable balance control, so that there is still room for improvement in the control method.

緣是,發明人有鑑於此,秉持多年該相關行業之豐富設計開發及實際製作經驗,針對現有之缺失予以研究改良,提供一種深度學習控制兩輪機具平衡方法,以期達到更佳實用價值性之目的者。The reason is that in view of this, the inventor, adhering to years of rich experience in design, development and actual production in the related industry, researches and improves the existing deficiencies, and provides a deep learning control method for the balance of two-wheeled equipment, in order to achieve better practical value. target person.

本發明之主要目的在於提供一種深度學習控制兩輪機具平衡方法,其主要係以深度學習的方法調整控制器參數,能具有學習性質的調整機制,可以廣泛的適應環境參數之改變,以可使兩輪機具達到強健平衡穩定之自動控制功效,而在其整體施行使用上更增實用功效特性者。The main purpose of the present invention is to provide a deep learning method for controlling the balance of two-wheeled implements, which mainly adjusts the controller parameters by means of deep learning, and has a learning adjustment mechanism that can widely adapt to changes in environmental parameters, so that the The two-wheeled equipment achieves the automatic control function of strong balance and stability, and the overall implementation and use of the utility model are more practical.

為令本發明所運用之技術內容、發明目的及其達成之功效有更完整且清楚的揭露,茲於下詳細說明之,並請一併參閱所揭之圖式及圖號:In order to make the technical content used in the present invention, the purpose of the invention and the effect achieved by the present invention more completely and clearly disclosed, it is explained in detail below, and please refer to the disclosed drawings and drawing numbers together:

首先,要控制兩輪機具之車身的平衡,必須先了解兩輪機具的運動模式與相對應的決策,且配合偵測該兩輪機具之車身傾斜角度、車身傾斜角速度及馬達的位置,接著才能進行車身平衡控制方法之設計。First of all, to control the balance of the body of the two-wheeled machine, it is necessary to first understand the motion mode of the two-wheeled machine and the corresponding decision-making, and cooperate with the detection of the body tilt angle, body tilt angular velocity and the position of the motor of the two-wheeled machine. Carry out the design of the body balance control method.

請參閱第一圖兩輪機具之車身傾斜狀態示意圖所示,G代表重心、O代表軸心、L代表地面,該兩輪機具之車身部分係以馬達軸心為中心作前後擺動,若假設車身垂直地面的角度為0度,由三軸加速器及陀螺儀可以量得車身擺動的角度。兩輪機具一開始必須保持車身與地面垂直,放開後有三種情況,分別是靜止、前傾與後傾;其簡單的控制方法如下:Please refer to the schematic diagram of the body tilting state of the two-wheeled machine in Figure 1. G represents the center of gravity, O represents the axis, and L represents the ground. The body of the two-wheeled machine swings forward and backward with the motor axis as the center. The angle of the vertical ground is 0 degrees, and the angle of the body swing can be measured by the three-axis accelerator and gyroscope. The two-wheeled machine must keep the body perpendicular to the ground at the beginning, and there are three situations after it is released, namely static, forward and backward; the simple control methods are as follows:

1.直立:若車身重心落在左右兩輪與地面接觸點連線中心位置,且車身保持平衡不動,則車輪靜止且不作任何動作。1. Upright: If the center of gravity of the body falls on the center of the line connecting the left and right wheels and the ground contact points, and the body remains balanced, the wheels are stationary and do not move.

2.前傾:若車身重心偏向前,車身將向前傾斜,則控制車輪前進,依據車輪轉動與車身傾斜的相對角度及相對角速度大小,控制車輪前進的力量,以維持車身的平衡。2. Forward tilt: If the center of gravity of the body is biased forward, the body will tilt forward, control the wheel forward, and control the force of the wheel forward according to the relative angle of the wheel rotation and the tilt of the body and the relative angular velocity to maintain the balance of the body.

3.後傾:若車身重心偏向後,車身將向後傾斜,則控制車輪後退,依據車輪轉動與車身傾斜的相對角度及相對角速度大小,控制車輪後退的力量,以維持車身的平衡。3. Rearward tilt: If the center of gravity of the body is biased to the rear, the body will tilt backward, control the wheel to move backward, and control the force of the wheel backward according to the relative angle of the wheel rotation and the tilt of the body and the relative angular velocity, so as to maintain the balance of the body.

請再一併參閱第二圖兩輪機具之立體簡化結構示意圖、第三圖兩輪機具之側視簡化結構示意圖及第四圖兩輪機具之俯視簡化結構示意圖所示,

Figure 02_image001
是重力加速度,
Figure 02_image003
是輪子的重量,
Figure 02_image005
是輪子的半徑,
Figure 02_image007
是輪子的轉動慣量,
Figure 02_image009
是兩輪機具之機身的質量,
Figure 02_image011
是兩輪機具之機身的寬度,
Figure 02_image013
是兩輪機具之機身的深度,
Figure 02_image015
是兩輪機具之機身的高度,
Figure 02_image017
為馬達軸到重心的長度,
Figure 02_image019
為傾斜角度[pitch]轉動慣量,
Figure 02_image021
為偏轉角度[yaw]的轉動慣量,
Figure 02_image023
為馬達的轉動慣量,
Figure 02_image025
是齒輪箱比值;左輪的轉動角度是
Figure 02_image027
,右輪的轉動角度是
Figure 02_image029
,左右輪的平均角度為
Figure 02_image031
,所以
Figure 02_image033
;左馬達的轉動角度是
Figure 02_image035
,右馬達的轉動角度是
Figure 02_image037
,兩輪機具之機身的傾斜角度[pitch]為
Figure 02_image039
,兩輪機具偏轉角度[yaw]為
Figure 02_image041
。 Please also refer to the simplified three-dimensional structural schematic diagram of the two-wheeled machine in Figure 2, the simplified schematic side view of the two-wheeled machine in Figure 3, and the simplified top view of the two-wheeled machine in Figure 4.
Figure 02_image001
is the gravitational acceleration,
Figure 02_image003
is the weight of the wheel,
Figure 02_image005
is the radius of the wheel,
Figure 02_image007
is the moment of inertia of the wheel,
Figure 02_image009
is the mass of the fuselage of the two-wheeled implement,
Figure 02_image011
is the width of the fuselage of the two-wheeled implement,
Figure 02_image013
is the depth of the fuselage of the two-wheeled implement,
Figure 02_image015
is the height of the fuselage of the two-wheeled implement,
Figure 02_image017
is the length from the motor shaft to the center of gravity,
Figure 02_image019
is the pitch angle [pitch] moment of inertia,
Figure 02_image021
is the moment of inertia of the deflection angle [yaw],
Figure 02_image023
is the moment of inertia of the motor,
Figure 02_image025
is the gearbox ratio; the rotation angle of the revolver is
Figure 02_image027
, the rotation angle of the right wheel is
Figure 02_image029
, the average angle of the left and right wheels is
Figure 02_image031
,so
Figure 02_image033
; the rotation angle of the left motor is
Figure 02_image035
, the rotation angle of the right motor is
Figure 02_image037
, the inclination angle [pitch] of the fuselage of the two-wheeled implement is
Figure 02_image039
, the deflection angle of the two-wheeled implement [yaw] is
Figure 02_image041
.

以下進一步具體說明本發明深度學習控制兩輪機具平衡方法,請再一併參閱第五圖本發明之步驟流程示意圖所示,其包括下列步驟:The following is a further detailed description of the deep learning control method for balancing two-wheeled implements of the present invention. Please refer to the schematic diagram of the steps of the present invention in Fig. 5, which includes the following steps:

步驟一(S01):測量一兩輪機具的輪胎轉動角度、傾斜角度[pitch]及偏轉角度[yaw],以判斷所述兩輪機具處於直立、前傾、後傾、左轉或右轉狀態;Step 1 (S01): Measure the tire rotation angle, inclination angle [pitch] and yaw angle [yaw] of the two-wheeled machine tool to determine whether the two-wheeled machine tool is in the state of upright, forward tilt, backward tilt, left turn or right turn ;

步驟二(S02):對所述兩輪機具的左右輪的平均角度變數

Figure 02_image043
及兩輪機具的傾斜角度[pitch]變數
Figure 02_image045
進行深度學習控制,進而得到第一控制輸出的電壓控制值; Step 2 (S02): the average angle variable of the left and right wheels of the two-wheeled machine tool
Figure 02_image043
and the pitch angle of the two-wheeled implement [pitch] variable
Figure 02_image045
Perform deep learning control, and then obtain the voltage control value of the first control output;

步驟三(S03):對所述兩輪機具的偏轉角度[yaw]變數

Figure 02_image047
以極點設置法[pole assignment]進行狀態回授控制,以得到第二控制輸出的電壓控制值; Step 3 (S03): the deflection angle [yaw] variable of the two-wheeled implement
Figure 02_image047
The state feedback control is performed by the pole assignment method to obtain the voltage control value of the second control output;

步驟四(S04):將所述第一控制輸出的電壓控制值加上所述第二控制輸出的電壓控制值,除以二,即得到右輪驅動馬達的電壓控制值,以控制右輪驅動馬達的轉速與轉向;將所述第一控制輸出的電壓控制值減去所述第二控制輸出的電壓控制值,除以二,即得到左輪驅動馬達的電壓控制值,以控制左輪驅動馬達的轉速與轉向。Step 4 (S04): Add the voltage control value of the first control output to the voltage control value of the second control output, and divide by two to obtain the voltage control value of the right wheel drive motor to control the right wheel drive. The speed and steering of the motor; the voltage control value of the first control output is subtracted from the voltage control value of the second control output, and divided by two, the voltage control value of the left-wheel drive motor is obtained to control the left-wheel drive motor. Speed and steering.

使用拉格朗奇方法[Lagrangian]推導兩輪機具的動態方程式,假設傾斜角很小時(

Figure 02_image049
)可以簡化如下: Use the Lagrangian method [Lagrangian] to derive the dynamic equations of the two-wheeled implement, assuming that the angle of inclination is small (
Figure 02_image049
) can be simplified as follows:

Figure 02_image051
(1)
Figure 02_image051
(1)

Figure 02_image053
Figure 02_image055
(2)
Figure 02_image053
Figure 02_image055
(2)

Figure 02_image057
(3)
Figure 02_image057
(3)

座標系統的變數如下,

Figure 02_image059
代表
Figure 02_image061
角度方向的力矩[Torque],
Figure 02_image062
代表
Figure 02_image064
角度方向的力矩[Torque],
Figure 02_image065
代表
Figure 02_image067
角度方向的力矩[Torque],
Figure 02_image068
代表左右馬達的端電壓,
Figure 02_image070
是齒輪箱比值,
Figure 02_image071
是力矩常數,
Figure 02_image073
為馬達的摩擦係數,
Figure 02_image075
是輪子與地的摩擦係數,
Figure 02_image077
代表反電動勢常數,
Figure 02_image079
代表電樞電阻。 The variables of the coordinate system are as follows,
Figure 02_image059
represent
Figure 02_image061
Angular moment [Torque],
Figure 02_image062
represent
Figure 02_image064
Angular moment [Torque],
Figure 02_image065
represent
Figure 02_image067
Angular moment [Torque],
Figure 02_image068
represents the terminal voltage of the left and right motors,
Figure 02_image070
is the gearbox ratio,
Figure 02_image071
is the moment constant,
Figure 02_image073
is the friction coefficient of the motor,
Figure 02_image075
is the friction coefficient between the wheel and the ground,
Figure 02_image077
represents the back EMF constant,
Figure 02_image079
represents the armature resistance.

將電壓公式代入(1)-(3)式線性方程式中,可以得到以下公式:Substituting the voltage formula into the linear equations of (1)-(3), the following formula can be obtained:

Figure 02_image081
(4)
Figure 02_image081
(4)

其中

Figure 02_image083
矩陣如下: in
Figure 02_image083
The matrix is as follows:

Figure 02_image085
Figure 02_image085
,

Figure 02_image087
Figure 02_image087
,

Figure 02_image089
Figure 02_image089
,

Figure 02_image091
Figure 02_image091
,

而且

Figure 02_image093
Figure 02_image095
。 and
Figure 02_image093
,
Figure 02_image095
.

Figure 02_image097
是左馬達產生的力矩,
Figure 02_image099
是右馬達產生的力矩,
Figure 02_image101
是機身偏轉角度(yaw),
Figure 02_image067
角度方向的力矩[Torque]如下:
Figure 02_image097
is the torque produced by the left motor,
Figure 02_image099
is the torque produced by the right motor,
Figure 02_image101
is the fuselage deflection angle (yaw),
Figure 02_image067
The moment [Torque] in the angular direction is as follows:

Figure 02_image102
Figure 02_image104
(5)
Figure 02_image102
Figure 02_image104
(5)

其中

Figure 02_image106
。 in
Figure 02_image106
.

根據(3)式及(5)式,化簡可得:According to equations (3) and (5), simplification can be obtained:

Figure 02_image108
(6)
Figure 02_image108
(6)

其中參數如下,The parameters are as follows,

Figure 02_image110
Figure 02_image112
Figure 02_image114
Figure 02_image110
,
Figure 02_image112
,
Figure 02_image114

由(4)式展開可得,求解

Figure 02_image116
Figure 02_image118
,得: It can be obtained from the expansion of (4), the solution
Figure 02_image116
and
Figure 02_image118
,have to:

Figure 02_image120
Figure 02_image122
Figure 02_image120
Figure 02_image122

Figure 02_image124
(7)
Figure 02_image124
(7)

Figure 02_image126
Figure 02_image128
Figure 02_image126
Figure 02_image128

Figure 02_image130
(8)
Figure 02_image130
(8)

由(6)式展開可得:From the expansion of (6), we can get:

Figure 02_image132
(9)
Figure 02_image132
(9)

由(9)式能得知可以用

Figure 02_image134
來控制機身偏轉角度[yaw]
Figure 02_image136
,由(7)式及(8)式能得知可以用
Figure 02_image138
來控制左右輪的平均角度
Figure 02_image140
及機身傾斜角度[pitch]
Figure 02_image141
。 From equation (9), it can be known that we can use
Figure 02_image134
to control the yaw angle of the fuselage [yaw]
Figure 02_image136
, from equations (7) and (8), it can be known that we can use
Figure 02_image138
to control the average angle of the left and right wheels
Figure 02_image140
and the inclination angle of the fuselage [pitch]
Figure 02_image141
.

Figure 02_image134
Figure 02_image138
的值可算出所需的右輪馬達控制電壓
Figure 02_image142
及左輪馬達控制電壓
Figure 02_image144
。 Depend on
Figure 02_image134
and
Figure 02_image138
The value of , calculates the required right wheel motor control voltage
Figure 02_image142
and left wheel motor control voltage
Figure 02_image144
.

令狀態變數

Figure 02_image146
為左右輪的平均角度
Figure 02_image140
,狀態變數
Figure 02_image148
為機身傾斜角度[pitch]
Figure 02_image141
,狀態變數
Figure 02_image150
Figure 02_image152
,狀態變數
Figure 02_image154
Figure 02_image156
,狀態變數
Figure 02_image158
為機身偏轉角度[yaw]
Figure 02_image136
,狀態變數
Figure 02_image160
Figure 02_image162
Figure 02_image138
的值為
Figure 02_image164
Figure 02_image166
的值為
Figure 02_image168
,則系統的狀態空間方程式為: make state variable
Figure 02_image146
is the average angle of the left and right wheels
Figure 02_image140
, the state variable
Figure 02_image148
is the inclination angle of the fuselage [pitch]
Figure 02_image141
, the state variable
Figure 02_image150
for
Figure 02_image152
, the state variable
Figure 02_image154
for
Figure 02_image156
, the state variable
Figure 02_image158
is the fuselage deflection angle [yaw]
Figure 02_image136
, the state variable
Figure 02_image160
for
Figure 02_image162
,
Figure 02_image138
value of
Figure 02_image164
,
Figure 02_image166
value of
Figure 02_image168
, the state space equation of the system is:

Figure 02_image170
(10)
Figure 02_image170
(10)

Figure 02_image172
(11)
Figure 02_image172
(11)

其中參數如下,The parameters are as follows,

Figure 02_image174
Figure 02_image176
Figure 02_image178
Figure 02_image180
Figure 02_image174
,
Figure 02_image176
Figure 02_image178
,
Figure 02_image180
,

Figure 02_image182
Figure 02_image182
,

Figure 02_image184
Figure 02_image186
Figure 02_image188
Figure 02_image190
Figure 02_image184
,
Figure 02_image186
Figure 02_image188
,
Figure 02_image190
,

Figure 02_image192
Figure 02_image192
,

而所需的右輪馬達控制電壓

Figure 02_image194
及左輪馬達控制電壓
Figure 02_image196
為: while the required right wheel motor control voltage
Figure 02_image194
and left wheel motor control voltage
Figure 02_image196
for:

Figure 02_image198
Figure 02_image200
Figure 02_image198
,
Figure 02_image200
.

就(10)式而言,狀態回授控制器可以改寫如下:As far as Equation (10) is concerned, the state feedback controller can be rewritten as follows:

Figure 02_image202
Figure 02_image202

Figure 02_image204
Figure 02_image204

Figure 02_image206
(12)
Figure 02_image206
(12)

其中

Figure 02_image208
Figure 02_image210
Figure 02_image212
Figure 02_image214
。 in
Figure 02_image208
,
Figure 02_image210
,
Figure 02_image212
,
Figure 02_image214
.

由(12)式,可以說狀態回授控制器等效於[equivalent] PD控制。將(12)式分成兩個PD控制的分量如下;From (12), it can be said that the state feedback controller is equivalent to [equivalent] PD control. Divide equation (12) into two components of PD control as follows;

Figure 02_image216
(13)
Figure 02_image216
(13)

則狀態回授控制等效於雙PD控制。Then the state feedback control is equivalent to the dual PD control.

對於一個可穩定[stabilizable]及可偵測[detectable]線性非時變系統,For a stabilizable and detectable linear time-invariant system,

Figure 02_image218
(14)
Figure 02_image218
(14)

其中

Figure 02_image220
是狀態向量,
Figure 02_image222
是控制輸入,
Figure 02_image224
是系統矩陣,
Figure 02_image226
是控制輸入矩陣,則狀態回授控制為, in
Figure 02_image220
is the state vector,
Figure 02_image222
is the control input,
Figure 02_image224
is the system matrix,
Figure 02_image226
is the control input matrix, then the state feedback control is,

Figure 02_image228
(15)
Figure 02_image228
(15)

因為系統是可穩定[stabilizable]及可偵測[detectable]線性非時變系統,則系統可以用狀態回授控制器達到穩定控制的目的。以下將使用雙PD控制達到穩定控制的目的。Because the system is a stabilizable and detectable linear time-invariant system, the system can use the state feedback controller to achieve the purpose of stable control. The following will use dual PD control to achieve the purpose of stable control.

至於(11)式則單獨另外設計控制器,就(11)式而言,在狀態回授控制器如下:As for formula (11), a separate controller is designed separately. For formula (11), the state feedback controller is as follows:

Figure 02_image230
(16)
Figure 02_image230
(16)

將(16)式代入(11)式,則可以得到:Substituting equation (16) into equation (11), we can get:

Figure 02_image232
(17)
Figure 02_image232
(17)

則受控系統(17)的特性方程式[characteristic equation]為:Then the characteristic equation of the controlled system (17) is:

Figure 02_image234
(18)
Figure 02_image234
(18)

若要設計系統的極點[poles]於

Figure 02_image236
Figure 02_image238
,則設計系統的特性方程式為: To design the poles of the system at
Figure 02_image236
,
Figure 02_image238
, then the characteristic equation of the design system is:

Figure 02_image240
(19)
Figure 02_image240
(19)

比較(18)式及(19)式,可得控制器為:Comparing equations (18) and (19), the controller can be obtained as:

Figure 02_image242
Figure 02_image244
(20)
Figure 02_image242
,
Figure 02_image244
(20)

根據(13)式就可以求得

Figure 02_image246
,根據(20)式就可以求得
Figure 02_image248
,再根據下式 According to formula (13), we can get
Figure 02_image246
, according to the formula (20), it can be obtained
Figure 02_image248
, and then according to the following formula

Figure 02_image250
Figure 02_image251
Figure 02_image250
,
Figure 02_image251
,

即可以求得

Figure 02_image253
Figure 02_image254
,進而可以控制兩輪機具的穩定平衡。 that can be obtained
Figure 02_image253
and
Figure 02_image254
, and then can control the stable balance of the two-wheeled implements.

另,就該步驟二(S02)之深度學習控制而言,該數位控制器需要調節的控制參數如下:In addition, as far as the deep learning control of the second step (S02) is concerned, the control parameters that the digital controller needs to adjust are as follows:

Figure 02_image256
Figure 02_image256
,

Figure 02_image258
是狀態回授控制參數,
Figure 02_image258
is the state feedback control parameter,

利用深度學習的方法調整該控制參數,深度學習是使用多層類神經網路作為控制方法,請再一併參閱第六圖本發明之多層類神經網路架構示意圖所示,其中,變數符號

Figure 02_image260
是深度學習類神經網路的輸入節點,
Figure 02_image262
Figure 02_image264
是該受控系統的量測輸出第k個取樣,變數符號
Figure 02_image266
是該輸入節點的偏值,變數符號
Figure 02_image268
Figure 02_image270
各是第1層、第2層的隱藏節點,隱藏層有2層以上;變數符號
Figure 02_image272
Figure 02_image274
是該隱藏節點的偏值,變數符號
Figure 02_image276
是輸出節點,該自動控制系統需要調節的控制參數為
Figure 02_image256
,是狀態回授控制參數,其中該輸出節點代表意思如下: The control parameters are adjusted by means of deep learning. Deep learning uses a multi-layer neural network as the control method. Please refer to the schematic diagram of the multi-layer neural network structure of the present invention in Fig. 6. The variable symbol
Figure 02_image260
is the input node of the deep learning neural network,
Figure 02_image262
,
Figure 02_image264
is the kth sample of the measured output of the controlled system, the variable sign
Figure 02_image266
is the bias value of the input node, the variable sign
Figure 02_image268
,
Figure 02_image270
Each is the hidden node of the first layer and the second layer, and there are more than two hidden layers; variable symbols
Figure 02_image272
,
Figure 02_image274
is the bias value of the hidden node, the variable sign
Figure 02_image276
is the output node, and the control parameters that the automatic control system needs to adjust are:
Figure 02_image256
, is the state feedback control parameter, where the output node represents the following meanings:

Figure 02_image278
Figure 02_image280
Figure 02_image282
Figure 02_image284
Figure 02_image278
,
Figure 02_image280
,
Figure 02_image282
,
Figure 02_image284
,

該深度學習類神經網路的權值如下:The weights of the deep learning neural network are as follows:

令參數符號

Figure 02_image286
是該輸入節點與該第1層隱藏節點間的權值,參數符號
Figure 02_image288
是該第1層隱藏節點與該第2層隱藏節點間的權值,參數符號
Figure 02_image290
是該第2層隱藏節點與該輸出節點間的權值, let parameter notation
Figure 02_image286
is the weight between the input node and the hidden node of the first layer, the parameter symbol
Figure 02_image288
is the weight between the hidden node of the first layer and the hidden node of the second layer, the parameter symbol
Figure 02_image290
is the weight between the hidden node of the second layer and the output node,

該第1層隱藏節點與該輸入節點的關係如下:The relationship between the layer 1 hidden node and the input node is as follows:

Figure 02_image292
,該
Figure 02_image294
係為函數符號,而該等號左右兩式係單一純量,
Figure 02_image296
是第1層隱藏節點
Figure 02_image298
的計算值,
Figure 02_image300
,啟動函數
Figure 02_image302
使用如下的雙極S型函數,將輸出適當的縮放到值域-1到1之間,
Figure 02_image304
,
Figure 02_image306
Figure 02_image292
,Should
Figure 02_image294
is a function symbol, and the left and right equations of the equal sign are single scalars,
Figure 02_image296
is the layer 1 hidden node
Figure 02_image298
the calculated value of ,
Figure 02_image300
, start function
Figure 02_image302
Use the following bipolar sigmoid function to appropriately scale the output to the range -1 to 1,
Figure 02_image304
,
Figure 02_image306
.

該第2層隱藏節點與該第1層隱藏節點的關係如下:The relationship between the second layer hidden node and the first layer hidden node is as follows:

Figure 02_image308
,該
Figure 02_image310
係為函數符號,而該等號左右兩式係單一純量,
Figure 02_image312
是第二層隱藏層節點
Figure 02_image314
的計算值,
Figure 02_image316
Figure 02_image308
,Should
Figure 02_image310
is a function symbol, and the left and right equations of the equal sign are single scalars,
Figure 02_image312
is the second hidden layer node
Figure 02_image314
the calculated value of ,
Figure 02_image316
.

該輸出節點與該第2層隱藏節點的關係如下:The relationship between the output node and the second layer hidden node is as follows:

Figure 02_image318
,該
Figure 02_image320
係為函數符號,而該等號左右兩式係單一純量,
Figure 02_image322
是輸出層節點
Figure 02_image324
的計算值,
Figure 02_image326
Figure 02_image318
,Should
Figure 02_image320
is a function symbol, and the left and right equations of the equal sign are single scalars,
Figure 02_image322
is the output layer node
Figure 02_image324
the calculated value of ,
Figure 02_image326
.

該輸入節點

Figure 02_image328
連接到左右輪的平均角度
Figure 02_image031
,該輸入節點
Figure 02_image330
連接到機身的傾斜角度[pitch]為
Figure 02_image039
,使用倒傳遞法求每一層的權值,訓練的目的是要使誤差平方達到最小,誤差的平方為: the input node
Figure 02_image328
Connected to the average angle of the left and right wheels
Figure 02_image031
, the input node
Figure 02_image330
The angle of inclination [pitch] connected to the body is
Figure 02_image039
, using the inverse transfer method to find the weight of each layer, the purpose of training is to minimize the square of the error, and the square of the error is:

Figure 02_image332
,該
Figure 02_image334
代表誤差的平方,該
Figure 02_image336
代表誤差平方根,
Figure 02_image338
是左右輪的平均角度參考輸入,
Figure 02_image340
是機身傾斜角度[pitch]參考輸入,
Figure 02_image342
Figure 02_image344
是該受控系統的量測輸出第k個取樣。
Figure 02_image332
,Should
Figure 02_image334
represents the square of the error, the
Figure 02_image336
represents the square root of the error,
Figure 02_image338
is the average angle reference input for the left and right wheels,
Figure 02_image340
is the fuselage tilt angle [pitch] reference input,
Figure 02_image342
,
Figure 02_image344
is the kth sample of the measured output of the controlled system.

權值用以下的方法來更新,輸入層到該第一層隱藏層為:The weights are updated in the following way, from the input layer to the first hidden layer:

Figure 02_image346
Figure 02_image346
,

Figure 02_image348
Figure 02_image348
,

Figure 02_image350
為數學上的差量,該第一層隱藏層到該第二層隱藏層為:
Figure 02_image350
is the mathematical difference, the first hidden layer to the second hidden layer is:

Figure 02_image352
Figure 02_image352
,

Figure 02_image354
Figure 02_image354
,

該第二層隱藏層到輸出層為:The second hidden layer to the output layer is:

Figure 02_image356
Figure 02_image356
,

Figure 02_image358
Figure 02_image358
,

其中

Figure 02_image360
為學習速率常數。 in
Figure 02_image360
is the learning rate constant.

偏微分

Figure 02_image362
Figure 02_image364
Figure 02_image366
Figure 02_image368
Figure 02_image370
Figure 02_image372
的計算如下。 partial differential
Figure 02_image362
,
Figure 02_image364
,
Figure 02_image366
,
Figure 02_image368
,
Figure 02_image370
and
Figure 02_image372
is calculated as follows.

Figure 02_image374
Figure 02_image374
,

Figure 02_image376
Figure 02_image376
,

Figure 02_image378
Figure 02_image380
Figure 02_image378
Figure 02_image380
,

Figure 02_image382
Figure 02_image384
Figure 02_image382
Figure 02_image384
,

Figure 02_image386
Figure 02_image388
Figure 02_image390
Figure 02_image386
Figure 02_image388
Figure 02_image390
,

Figure 02_image392
Figure 02_image394
Figure 02_image396
Figure 02_image392
Figure 02_image394
Figure 02_image396
,

其中in

Figure 02_image398
Figure 02_image400
Figure 02_image402
Figure 02_image398
,
Figure 02_image400
,
Figure 02_image402
,

Figure 02_image404
Figure 02_image406
Figure 02_image404
,
Figure 02_image406
,

Figure 02_image408
Figure 02_image410
Figure 02_image408
,
Figure 02_image410
,

Figure 02_image412
Figure 02_image414
Figure 02_image412
,
Figure 02_image414
,

Figure 02_image416
Figure 02_image418
Figure 02_image416
,
Figure 02_image418
,

Figure 02_image420
Figure 02_image422
Figure 02_image420
,
Figure 02_image422
,

在實用上,偏微分

Figure 02_image424
可以用
Figure 02_image426
來近似,其中
Figure 02_image428
Figure 02_image430
。因此偏微分
Figure 02_image432
Figure 02_image433
Figure 02_image434
Figure 02_image436
Figure 02_image438
Figure 02_image440
可以改寫如下,
Figure 02_image442
為狀態變數: In practice, partial differential
Figure 02_image424
Can use
Figure 02_image426
to approximate, where
Figure 02_image428
and
Figure 02_image430
. Therefore partial differential
Figure 02_image432
,
Figure 02_image433
,
Figure 02_image434
,
Figure 02_image436
,
Figure 02_image438
and
Figure 02_image440
It can be rewritten as follows,
Figure 02_image442
for state variables:

Figure 02_image444
Figure 02_image444
,

Figure 02_image446
Figure 02_image446
,

Figure 02_image448
Figure 02_image448
,

Figure 02_image450
Figure 02_image450
,

Figure 02_image452
Figure 02_image452
,

Figure 02_image454
Figure 02_image454
,

該輸出節點、第二層隱藏層節點與第一層隱藏層節點的微量變動為:The slight changes of the output node, the second hidden layer node and the first hidden layer node are:

其中

Figure 02_image456
Figure 02_image458
Figure 02_image460
。 in
Figure 02_image456
,
Figure 02_image458
,
Figure 02_image460
.

因此權值的更新公式可以更改如下,

Figure 02_image462
為狀態變數: Therefore, the update formula of the weights can be changed as follows,
Figure 02_image462
for state variables:

Figure 02_image464
Figure 02_image464
,

Figure 02_image466
Figure 02_image466
,

Figure 02_image468
Figure 02_image468
,

Figure 02_image470
Figure 02_image470
,

Figure 02_image472
Figure 02_image472
,

Figure 02_image474
Figure 02_image474
,

學習法則可以修改為以下公式,The learning rule can be modified as the following formula,

Figure 02_image476
Figure 02_image476
,

Figure 02_image478
Figure 02_image478
,

Figure 02_image480
Figure 02_image480
,

Figure 02_image482
Figure 02_image482
,

Figure 02_image484
Figure 02_image484
,

Figure 02_image486
Figure 02_image486
,

其中,動力[momentum]因子的範圍為

Figure 02_image488
。加上動力[momentum]可以使類神經網路的學習計算時不會掉入局部最小值。 where the range of the momentum factor is
Figure 02_image488
. With the addition of momentum [momentum], the learning calculation of the neural network will not fall into a local minimum.

藉由以上所述,本發明之使用實施說明可知,本發明與現有技術手段相較之下,本發明主要係以深度學習的方法調整控制器參數,能具有學習性質的調整機制,可以廣泛的適應環境參數之改變,以可使兩輪機具達到強健平衡穩定之自動控制功效,而在其整體施行使用上更增實用功效特性者。From the above, it can be seen from the description of the use and implementation of the present invention that, compared with the prior art means, the present invention mainly adjusts the controller parameters by means of deep learning, and can have a learning adjustment mechanism, which can be widely used. Adapt to changes in environmental parameters, so that the two-wheeled machines can achieve strong, balanced and stable automatic control functions, and more practical performance characteristics in their overall implementation and use.

然而前述之實施例或圖式並非限定本發明之產品結構或使用方式,任何所屬技術領域中具有通常知識者之適當變化或修飾,皆應視為不脫離本發明之專利範疇。However, the foregoing embodiments or drawings do not limit the product structure or usage of the present invention, and any appropriate changes or modifications made by those with ordinary knowledge in the technical field should be regarded as not departing from the scope of the present invention.

綜上所述,本發明實施例確能達到所預期之使用功效,又其所揭露之具體構造,不僅未曾見諸於同類產品中,亦未曾公開於申請前,誠已完全符合專利法之規定與要求,爰依法提出發明專利之申請,懇請惠予審查,並賜准專利,則實感德便。To sum up, the embodiment of the present invention can indeed achieve the expected use effect, and the specific structure disclosed is not only not seen in similar products, but also has not been disclosed before the application, which fully complies with the provisions of the patent law In accordance with the requirements, I would like to file an application for an invention patent in accordance with the law, and I urge you to review it and grant the patent.

S01:步驟一S01: Step 1

S02:步驟二S02: Step 2

S03:步驟三S03: Step 3

S04:步驟四S04: Step 4

第一圖:兩輪機具之車身傾斜狀態示意圖Figure 1: Schematic diagram of the tilted state of the body of the two-wheeled machine

第二圖:兩輪機具之立體簡化結構示意圖Figure 2: Schematic diagram of the simplified three-dimensional structure of the two-wheeled machine tool

第三圖:兩輪機具之側視簡化結構示意圖Figure 3: Schematic diagram of a simplified side view of a two-wheeled machine tool

第四圖:兩輪機具之俯視簡化結構示意圖Figure 4: Simplified top view of the two-wheeled machine

第五圖:本發明之步驟流程示意圖Figure 5: Schematic diagram of the steps of the present invention

第六圖:本發明之多層類神經網路架構示意圖Figure 6: Schematic diagram of the multi-layer neural network architecture of the present invention

S01:步驟一 S01: Step 1

S02:步驟二 S02: Step 2

S03:步驟三 S03: Step 3

S04:步驟四 S04: Step 4

Claims (6)

一種深度學習控制兩輪機具平衡方法,其主要係包括下列步驟:步驟一(S01):測量一兩輪機具的輪胎轉動角度、傾斜角度〔pitch〕及偏轉角度〔yaw〕,以判斷所述兩輪機具處於直立、前傾、後傾、左轉或右轉狀態;步驟二(S02):對所述兩輪機具的左右輪的平均角度變數θ及兩輪機具的傾斜角度〔pitch〕變數ψ進行深度學習控制,進而得到第一控制輸出的電壓控制值;步驟三(S03):對所述兩輪機具的偏轉角度〔yaw〕變數
Figure 110109261-A0305-02-0023-80
以極點設置法〔pole assignment〕進行狀態回授控制,以得到第二控制輸出的電壓控制值;步驟四(S04):將所述第一控制輸出的電壓控制值加上所述第二控制輸出的電壓控制值,除以二,即得到右輪驅動馬達的電壓控制值,以控制右輪驅動馬達的轉速與轉向;將所述第一控制輸出的電壓控制值減去所述第二控制輸出的電壓控制值,除以二,即得到左輪驅動馬達的電壓控制值,以控制左輪驅動馬達的轉速與轉向;其中,使用拉格朗奇方法〔Lagrangian〕推導兩輪機具的動態方程式,假設傾斜角很小時(ψ
Figure 110109261-A0305-02-0023-81
0)可以簡化如下:g是重力加速度,m是輪子的重量,R是輪子的半徑, J w =mR 2/2是輪子的轉動慣量,M是兩輪機具之機身的質量,W是兩輪機具之機身的寬度,D是兩輪機具之機身的深度,H是兩輪機具之機身的高度,L為馬達軸到重心的長度,J ψ =ML 2/3為傾斜角度〔pitch〕轉動慣量,
Figure 110109261-A0305-02-0024-82
為偏轉角度〔yaw〕的轉動慣量,J m 為馬達的轉動慣量,n是齒輪箱比值;左輪的轉動角度是θ l ,右輪的轉動角度是θ r ,左右輪的平均角度為
Figure 110109261-A0305-02-0024-1
;左馬達的轉動角度是θ ml ,右馬達的轉動角度是θ mr ,兩輪機具之機身的傾斜角度〔pitch〕為ψ,兩輪機具偏轉角度〔yaw〕為
Figure 110109261-A0305-02-0024-83
;座標系統的變數如下,F θ 代表θ角度方向的力矩〔Torque〕,F ψ 代表ψ角度方向的力矩〔Torque〕,
Figure 110109261-A0305-02-0024-84
代表
Figure 110109261-A0305-02-0024-85
角度方向的力矩〔Torque〕,v l,r 代表左右馬達的端電壓,n是齒輪箱比值,K t 是力矩常數,f m 為馬達的摩擦係數,f w 是輪子與地的摩擦係數,K b 代表反電動勢常數,R m 代表電樞電阻;
Figure 110109261-A0305-02-0024-2
Figure 110109261-A0305-02-0024-3
Figure 110109261-A0305-02-0024-4
將電壓公式代入(1)-(3)式線性方程式中,可以得到以下公式:
Figure 110109261-A0305-02-0024-5
其中E,F,G,H矩陣如下:
Figure 110109261-A0305-02-0025-6
而且
Figure 110109261-A0305-02-0025-7
Figure 110109261-A0305-02-0025-8
F l 是左馬達產生的力矩,F r 是右馬達產生的力矩,
Figure 110109261-A0305-02-0025-86
是機身偏轉角度(yaw),
Figure 110109261-A0305-02-0025-87
角度方向的力矩〔Torque〕如下:
Figure 110109261-A0305-02-0025-9
其中
Figure 110109261-A0305-02-0025-10
;根據(3)式及(5)式,化簡可得:
Figure 110109261-A0305-02-0025-11
其中參數如下,
Figure 110109261-A0305-02-0025-12
由(4)式展開可得,求解
Figure 110109261-A0305-02-0025-91
Figure 110109261-A0305-02-0025-92
,得:
Figure 110109261-A0305-02-0026-13
Figure 110109261-A0305-02-0026-14
由(6)式展開可得:
Figure 110109261-A0305-02-0026-15
由(9)式能得知可以用v r -v l 來控制機身偏轉角度〔yaw〕
Figure 110109261-A0305-02-0026-93
,由(7)式及(8)式能得知可以用v r +v l 來控制左右輪的平均角度θ及機身傾斜角度〔pitch〕ψ;由v r -v l v r +v l 的值可算出所需的右輪馬達控制電壓v r 及左輪馬達控制電壓v l ,令狀態變數x 1為左右輪的平均角度θ,狀態變數x 2為機身傾斜角度〔pitch〕ψ,狀態變數x 3
Figure 110109261-A0305-02-0026-94
,狀態變數x 4
Figure 110109261-A0305-02-0026-96
,狀態變數x 5為機身偏轉角度〔yaw〕
Figure 110109261-A0305-02-0026-97
,狀態變數x 6
Figure 110109261-A0305-02-0026-78
v r +v l 的值為u 1v r -v l 的值為u 2,則系統的狀態空間方程式為:
Figure 110109261-A0305-02-0026-16
Figure 110109261-A0305-02-0027-17
其中參數如下,
Figure 110109261-A0305-02-0027-18
而所需的右輪馬達控制電壓v r 及左輪馬達控制電壓v l 為:
Figure 110109261-A0305-02-0027-19
A deep learning control method for balancing two-wheeled implements, which mainly includes the following steps: Step 1 (S01): Measure the tire rotation angle, inclination angle [pitch] and yaw angle [yaw] of one or two-wheeled implements to determine the two-wheeled implements. The machinery is in the state of standing, leaning forward, leaning backward, turning left or turning right; step 2 (S02): the average angle variable θ of the left and right wheels of the two-wheeled machinery and the variable ψ of the inclination angle of the two-wheeled machinery Carry out deep learning control, and then obtain the voltage control value of the first control output; Step 3 (S03): the deflection angle [yaw] variable of the two-wheeled implement
Figure 110109261-A0305-02-0023-80
Perform state feedback control by pole assignment method to obtain the voltage control value of the second control output; Step 4 (S04): add the voltage control value of the first control output to the second control output The voltage control value of the right wheel drive motor is divided by two, that is, the voltage control value of the right wheel drive motor is obtained to control the rotation speed and steering of the right wheel drive motor; the voltage control value of the first control output is subtracted from the second control output. The voltage control value of , divided by two, that is, the voltage control value of the left-wheel drive motor is obtained to control the rotation speed and steering of the left-wheel drive motor; in which, the Lagrangian method is used to derive the dynamic equation of the two-wheeled implement, assuming that the tilt angle is very small ( ψ
Figure 110109261-A0305-02-0023-81
0) can be simplified as follows: g is the acceleration of gravity, m is the weight of the wheel, R is the radius of the wheel, J w = mR 2 /2 is the moment of inertia of the wheel, M is the mass of the body of the two-wheeled implement, W is the two The width of the fuselage of the two-wheeled implement, D is the depth of the fuselage of the two-wheeled implement, H is the height of the fuselage of the two-wheeled implement, L is the length from the motor shaft to the center of gravity, J ψ = ML 2 /3 is the angle of inclination [ pitch] moment of inertia,
Figure 110109261-A0305-02-0024-82
is the moment of inertia of the deflection angle [yaw], J m is the moment of inertia of the motor, n is the ratio of the gearbox; the rotation angle of the left wheel is θ l , the rotation angle of the right wheel is θ r , and the average angle of the left and right wheels is
Figure 110109261-A0305-02-0024-1
The rotation angle of the left motor is θ ml , the rotation angle of the right motor is θ mr , the inclination angle [pitch] of the body of the two-wheeled implement is ψ , and the deflection angle of the two-wheeled implement [yaw] is
Figure 110109261-A0305-02-0024-83
; The variables of the coordinate system are as follows, F θ represents the moment in the θ angle direction [Torque], F ψ represents the moment in the ψ angle direction [Torque],
Figure 110109261-A0305-02-0024-84
represent
Figure 110109261-A0305-02-0024-85
Torque in the angular direction, v l, r represent the terminal voltage of the left and right motors, n is the gear box ratio, K t is the torque constant, f m is the friction coefficient of the motor, f w is the friction coefficient between the wheel and the ground, K b represents the back EMF constant, R m represents the armature resistance;
Figure 110109261-A0305-02-0024-2
Figure 110109261-A0305-02-0024-3
Figure 110109261-A0305-02-0024-4
Substituting the voltage formula into the linear equations of (1)-(3), the following formula can be obtained:
Figure 110109261-A0305-02-0024-5
where E , F , G , H matrices are as follows:
Figure 110109261-A0305-02-0025-6
and
Figure 110109261-A0305-02-0025-7
,
Figure 110109261-A0305-02-0025-8
; F l is the torque generated by the left motor, F r is the torque generated by the right motor,
Figure 110109261-A0305-02-0025-86
is the fuselage deflection angle (yaw),
Figure 110109261-A0305-02-0025-87
The moment [Torque] in the angular direction is as follows:
Figure 110109261-A0305-02-0025-9
in
Figure 110109261-A0305-02-0025-10
; According to formulas (3) and (5), the simplification can be obtained:
Figure 110109261-A0305-02-0025-11
The parameters are as follows,
Figure 110109261-A0305-02-0025-12
It can be obtained from the expansion of (4), the solution
Figure 110109261-A0305-02-0025-91
and
Figure 110109261-A0305-02-0025-92
,have to:
Figure 110109261-A0305-02-0026-13
Figure 110109261-A0305-02-0026-14
From the expansion of (6), we can get:
Figure 110109261-A0305-02-0026-15
From (9), it can be known that v r - v l can be used to control the deflection angle of the fuselage [yaw]
Figure 110109261-A0305-02-0026-93
, from equations (7) and (8), we can know that v r + v l can be used to control the average angle θ of the left and right wheels and the inclination angle of the fuselage [pitch] ψ ; from v r - v l and v r + v The value of l can calculate the required right wheel motor control voltage v r and left wheel motor control voltage v l , let the state variable x 1 be the average angle θ of the left and right wheels, the state variable x 2 is the body tilt angle [pitch] ψ , The state variable x 3 is
Figure 110109261-A0305-02-0026-94
, the state variable x 4 is
Figure 110109261-A0305-02-0026-96
, the state variable x 5 is the deflection angle of the fuselage [yaw]
Figure 110109261-A0305-02-0026-97
, the state variable x 6 is
Figure 110109261-A0305-02-0026-78
, the value of v r + v l is u 1 , and the value of v r - v l is u 2 , then the state space equation of the system is:
Figure 110109261-A0305-02-0026-16
Figure 110109261-A0305-02-0027-17
The parameters are as follows,
Figure 110109261-A0305-02-0027-18
The required right wheel motor control voltage v r and left wheel motor control voltage v l are:
Figure 110109261-A0305-02-0027-19
如請求項1所述深度學習控制兩輪機具平衡方法,其中,該狀態回授控制器可將(10)式改寫如下:
Figure 110109261-A0305-02-0027-20
Figure 110109261-A0305-02-0028-21
其中k 1=k 1p k 2=k 2p k 3=k 1d k 4=k 2d ,由(12)式,可以說狀態回授控制器等效於〔equivalent〕PD控制,將(12)式分成兩個PD控制的分量如下;
Figure 110109261-A0305-02-0028-22
則狀態回授控制等效於雙PD控制。
According to the deep learning control method for two-wheeled implement balance according to claim 1, the state feedback controller can rewrite equation (10) as follows:
Figure 110109261-A0305-02-0027-20
Figure 110109261-A0305-02-0028-21
where k 1 = k 1 p , k 2 = k 2 p , k 3 = k 1 d , k 4 = k 2 d , from equation (12), it can be said that the state feedback controller is equivalent to [equivalent] PD control , divide equation (12) into two components of PD control as follows;
Figure 110109261-A0305-02-0028-22
Then the state feedback control is equivalent to the dual PD control.
如請求項2所述深度學習控制兩輪機具平衡方法,其中,對於一個可穩定〔stabilizable〕及可偵測〔detectable〕線性非時變系統,
Figure 110109261-A0305-02-0028-23
其中X是狀態向量,u 1是控制輸入,A是系統矩陣,B是控制輸入矩陣,則狀態回授控制為,
Figure 110109261-A0305-02-0028-24
因為系統是可穩定〔stabilizable〕及可偵測〔detectable〕線性非時變系統,則系統可以用狀態回授控制器達到穩定控制的目的。
The deep learning-controlled two-wheeled implement balancing method according to claim 2, wherein, for a stabilizable and detectable linear time-invariant system,
Figure 110109261-A0305-02-0028-23
where X is the state vector, u 1 is the control input, A is the system matrix, and B is the control input matrix, then the state feedback control is,
Figure 110109261-A0305-02-0028-24
Because the system is a stable (stabilizable) and detectable (detectable) linear time-invariant system, the system can use the state feedback controller to achieve the purpose of stable control.
如請求項2所述深度學習控制兩輪機具平衡方法,其中,對該(11)式單獨另外設計控制器,就(11)式而言,在狀態回授控制器如下:
Figure 110109261-A0305-02-0029-25
將(16)式代入(11)式,則可以得到:
Figure 110109261-A0305-02-0029-26
則受控系統(17)的特性方程式〔characteristic equation〕為:
Figure 110109261-A0305-02-0029-27
若要設計系統的極點〔poles〕於s 1=-as 2=-b,則設計系統的特性方程式為:s 2+(a+b)s+ab=0 (19)比較(18)式及(19)式,可得控制器為:
Figure 110109261-A0305-02-0029-28
根據(13)式就可以求得u 1,根據(20)式就可以求得u 2,再根據下式
Figure 110109261-A0305-02-0029-29
即可以求得v r v l ,進而可以控制兩輪機具的穩定平衡。
According to the deep learning control method of two-wheeled implement balance according to claim 2, wherein a controller is separately designed for the formula (11), and for the formula (11), the state feedback controller is as follows:
Figure 110109261-A0305-02-0029-25
Substituting equation (16) into equation (11), we can get:
Figure 110109261-A0305-02-0029-26
Then the characteristic equation of the controlled system (17) is:
Figure 110109261-A0305-02-0029-27
To design the poles of the system at s 1 =- a , s 2 =- b , the characteristic equation of the designed system is: s 2 +( a + b ) s + ab =0 (19) Compare (18) Formula and (19), the controller can be obtained as:
Figure 110109261-A0305-02-0029-28
u 1 can be obtained according to formula (13), u 2 can be obtained according to formula (20), and then according to the following formula
Figure 110109261-A0305-02-0029-29
That is, v r and v l can be obtained, and then the stable balance of the two-wheeled implement can be controlled.
如請求項1所述深度學習控制兩輪機具平衡方法,其中,就該步驟二(S02)之深度學習控制而言,數位控制器需要調節 的控制參數如下:[k1,k2,k3,k4],k1,k2,k3,k4是狀態回授控制參數,利用深度學習的方法調整該控制參數,深度學習是使用多層類神經網路作為控制方法,其中,變數符號{X i |i=1,2}是深度學習類神經網路的輸入節點,X 1=θ(k)、X 2=ψ(k)是該受控系統的量測輸出第k個取樣,變數符號θ X 是該輸入節點的偏值,變數符號
Figure 110109261-A0305-02-0030-33
Figure 110109261-A0305-02-0030-34
各是第1層、第2層的隱藏節點,隱藏層有2層以上;變數符號
Figure 110109261-A0305-02-0030-35
Figure 110109261-A0305-02-0030-36
是該隱藏節點的偏值,變數符號{Y j |j=1~4}是輸出節點,該自動控制系統需要調節的控制參數為[k1,k2,k3,k4],是狀態回授控制參數,其中該輸出節點代表意思如下:Y 1=k 1Y 2=k 2Y 3=k 3Y 4=k 4,該深度學習類神經網路的權值如下:令參數符號
Figure 110109261-A0305-02-0030-30
是該輸入節點與該第1層隱藏節點間的權值,參數符號
Figure 110109261-A0305-02-0030-31
是該第1層隱藏節點與該第2層隱藏節點間的權值,參數符號
Figure 110109261-A0305-02-0030-32
是該第2層隱藏節點與該輸出節點間的權值,該第1層隱藏節點與該輸入節點的關係如下:
Figure 110109261-A0305-02-0031-37
,該netH 1係為函數符號,而該等號左右兩式係單一純量,netH 1[h 1]是第1層隱藏節點
Figure 110109261-A0305-02-0031-38
的計算值,H 1[h 1]=f(netH 1[h 1]),啟動函數f(.)使用如下的雙極S型函數,將輸出適當的縮放到值域-1到1之間,
Figure 110109261-A0305-02-0031-39
α
Figure 110109261-A0305-02-0031-98
R;該第2層隱藏節點與該第1層隱藏節點的關係如下:
Figure 110109261-A0305-02-0031-40
,該netH 2係為函數符號,而該等號左右兩式係單一純量,netH 2[h 2]是第二層隱藏層節點
Figure 110109261-A0305-02-0031-41
的計算值,H 2[h 2]=f(netH 2[h 2]);該輸出節點與該第2層隱藏節點的關係如下:
Figure 110109261-A0305-02-0031-42
,該netY j 係為函數符號,而該等號左右兩式係單一純量,netY j是輸出層節點Y j的計算值,Y j =f(netY j );該輸入節點X 1連接到左右輪的平均角度θ,該輸入節點X 2連接到機身的傾斜角度〔pitch〕為ψ,使用倒傳遞法求每一層的權值,訓練的目的是要使誤差平方達到最小,誤差的平方為:
Figure 110109261-A0305-02-0031-43
,該E(k)代表誤差的 平方,該e(k)代表誤差平方根,θ r 是左右輪的平均角度參考輸入,ψ r 是機身傾斜角度〔pitch〕參考輸入,θ(k)、ψ(k)是該受控系統的量測輸出第k個取樣;權值用以下的方法來更新,輸入層到該第一層隱藏層為:
Figure 110109261-A0305-02-0032-44
△為數學上的差量,該第一層隱藏層到該第二層隱藏層為:
Figure 110109261-A0305-02-0032-45
該第二層隱藏層到輸出層為:
Figure 110109261-A0305-02-0032-46
其中η為學習速率常數。
The deep learning control method for two-wheeled implement balance according to claim 1, wherein, for the deep learning control in step 2 (S02), the control parameters to be adjusted by the digital controller are as follows: [k 1 , k 2 , k 3 , k 4 ], k 1 , k 2 , k 3 , k 4 are state feedback control parameters, which are adjusted by deep learning. Deep learning uses a multi-layer neural network as a control method, where the variable symbol { X i | i =1,2} is the input node of the deep learning neural network, X 1 = θ ( k ), X 2 = ψ ( k ) is the kth sample of the measured output of the controlled system, The variable symbol θ X is the bias value of the input node, and the variable symbol
Figure 110109261-A0305-02-0030-33
,
Figure 110109261-A0305-02-0030-34
Each is the hidden node of the first layer and the second layer, and there are more than two hidden layers; variable symbols
Figure 110109261-A0305-02-0030-35
,
Figure 110109261-A0305-02-0030-36
is the bias value of the hidden node, the variable symbol { Y j | j =1~4} is the output node, the control parameters that the automatic control system needs to adjust are [k 1 , k 2 , k 3 , k 4 ], which is the state Feedback control parameters, where the output node represents the following meanings: Y 1 = k 1 , Y 2 = k 2 , Y 3 = k 3 , Y 4 = k 4 , the weights of the deep learning neural network are as follows: parameter notation
Figure 110109261-A0305-02-0030-30
is the weight between the input node and the hidden node of the first layer, the parameter symbol
Figure 110109261-A0305-02-0030-31
is the weight between the hidden node of the first layer and the hidden node of the second layer, the parameter symbol
Figure 110109261-A0305-02-0030-32
is the weight between the hidden node of the second layer and the output node, and the relationship between the hidden node of the first layer and the input node is as follows:
Figure 110109261-A0305-02-0031-37
, the netH 1 is a function symbol, and the left and right expressions of the equal sign are a single scalar, netH 1 [ h 1 ] is the hidden node of the first layer
Figure 110109261-A0305-02-0031-38
The computed value of , H 1 [ h 1 ] = f ( netH 1 [ h 1 ]), starts the function f (.) using the bipolar sigmoid function as follows, scaling the output appropriately to the range -1 to 1 ,
Figure 110109261-A0305-02-0031-39
, a
Figure 110109261-A0305-02-0031-98
R ; the relationship between the hidden node of the second layer and the hidden node of the first layer is as follows:
Figure 110109261-A0305-02-0031-40
, the netH 2 is a function symbol, and the left and right expressions of the equal sign are a single scalar, netH 2 [ h 2 ] is the second hidden layer node
Figure 110109261-A0305-02-0031-41
The calculated value of , H 2 [ h 2 ]= f ( netH 2 [ h 2 ]); the relationship between the output node and the hidden node of the second layer is as follows:
Figure 110109261-A0305-02-0031-42
, the netY j is a function symbol, and the left and right equations of the equal sign are a single scalar, netY j is the calculated value of the output layer node Y j , Y j = f ( netY j ); the input node X 1 is connected to the left and right The average angle θ of the wheel, the inclination angle [pitch] of the input node X 2 connecting to the fuselage is ψ , and the weight of each layer is calculated using the inverse transfer method. The purpose of training is to minimize the square of the error, and the square of the error is :
Figure 110109261-A0305-02-0031-43
, the E ( k ) represents the square of the error, the e ( k ) represents the square root of the error, θ r is the average angle reference input of the left and right wheels, ψ r is the fuselage pitch angle [pitch] reference input, θ ( k ), ψ ( k ) is the kth sample of the measured output of the controlled system; the weights are updated in the following way, from the input layer to the first hidden layer:
Figure 110109261-A0305-02-0032-44
△ is the mathematical difference, the first hidden layer to the second hidden layer is:
Figure 110109261-A0305-02-0032-45
The second hidden layer to the output layer is:
Figure 110109261-A0305-02-0032-46
where η is the learning rate constant.
如請求項5所述深度學習控制兩輪機具平衡方法,其中,偏微分
Figure 110109261-A0305-02-0032-47
Figure 110109261-A0305-02-0032-49
Figure 110109261-A0305-02-0032-50
Figure 110109261-A0305-02-0032-51
Figure 110109261-A0305-02-0032-54
Figure 110109261-A0305-02-0032-53
的計算如下:
Figure 110109261-A0305-02-0033-55
其中
Figure 110109261-A0305-02-0033-57
Figure 110109261-A0305-02-0034-58
在實用上,偏微分
Figure 110109261-A0305-02-0034-59
可以用
Figure 110109261-A0305-02-0034-60
來近似,其中△ψ=ψ(u 1+△u 1)-ψ(u 1)且△u 1=u 1(k)-u 1(k-1)。因此偏微分
Figure 110109261-A0305-02-0034-61
Figure 110109261-A0305-02-0034-63
Figure 110109261-A0305-02-0034-79
Figure 110109261-A0305-02-0034-64
Figure 110109261-A0305-02-0034-65
Figure 110109261-A0305-02-0034-66
可以改寫如下,x j 為狀態變數:
Figure 110109261-A0305-02-0034-67
-δY j H 2[h 2].x j
Figure 110109261-A0305-02-0034-68
-δY j x j
Figure 110109261-A0305-02-0034-69
-δH 2[h 2].x j H 1[h 1],
Figure 110109261-A0305-02-0034-71
-δH 2[h 2].x j
Figure 110109261-A0305-02-0034-72
-δH 1[h 1].x j X i
Figure 110109261-A0305-02-0034-73
-δH 1[h 1].x j , 該輸出節點、第二層隱藏層節點與第一層隱藏層節點的微量變動為:其中
Figure 110109261-A0305-02-0035-74
Figure 110109261-A0305-02-0035-75
因此權值的更新公式可以更改如下,x j 為狀態變數:
Figure 110109261-A0305-02-0035-76
θ X =ηδH 1[h 1].x j ,學習法則可以修改為以下公式,
Figure 110109261-A0305-02-0035-77
θ X =ηδH 1[h 1].x j +λθ X ,其中,動力〔momentum〕因子的範圍為0
Figure 110109261-A0305-02-0036-99
|λ|
Figure 110109261-A0305-02-0036-100
1,加上動力〔momentum〕可以使類神經網路的學習計算時不會掉入局部最小值。
The deep learning-controlled two-wheel implement balancing method according to claim 5, wherein the partial differential
Figure 110109261-A0305-02-0032-47
,
Figure 110109261-A0305-02-0032-49
,
Figure 110109261-A0305-02-0032-50
,
Figure 110109261-A0305-02-0032-51
,
Figure 110109261-A0305-02-0032-54
and
Figure 110109261-A0305-02-0032-53
is calculated as follows:
Figure 110109261-A0305-02-0033-55
in
Figure 110109261-A0305-02-0033-57
Figure 110109261-A0305-02-0034-58
In practice, partial differential
Figure 110109261-A0305-02-0034-59
Can use
Figure 110109261-A0305-02-0034-60
to approximate, where Δ ψ = ψ ( u 1u 1 ) - ψ ( u 1 ) and Δ u 1 = u 1 ( k ) - u 1 ( k -1). Therefore partial differential
Figure 110109261-A0305-02-0034-61
,
Figure 110109261-A0305-02-0034-63
,
Figure 110109261-A0305-02-0034-79
,
Figure 110109261-A0305-02-0034-64
,
Figure 110109261-A0305-02-0034-65
and
Figure 110109261-A0305-02-0034-66
It can be rewritten as follows, where x j is a state variable:
Figure 110109261-A0305-02-0034-67
- δYj . H 2 [ h 2 ]. x j ,
Figure 110109261-A0305-02-0034-68
- δYj . x j ,
Figure 110109261-A0305-02-0034-69
- δH 2 [ h 2 ]. xj . H 1 [ h 1 ],
Figure 110109261-A0305-02-0034-71
- δH 2 [ h 2 ]. x j ,
Figure 110109261-A0305-02-0034-72
- δH 1 [ h 1 ]. xj . X i ,
Figure 110109261-A0305-02-0034-73
- δH 1 [ h 1 ]. x j , the slight changes of the output node, the second-layer hidden layer node and the first-layer hidden layer node are:
Figure 110109261-A0305-02-0035-74
,
Figure 110109261-A0305-02-0035-75
Therefore, the update formula of the weights can be changed as follows, where x j is the state variable:
Figure 110109261-A0305-02-0035-76
θ X = ηδH 1 [ h 1 ]. x j , the learning rule can be modified as the following formula,
Figure 110109261-A0305-02-0035-77
θ X = ηδH 1 [ h 1 ]. x j + λ Δ θ X , where the momentum factor has a range of 0
Figure 110109261-A0305-02-0036-99
| λ |
Figure 110109261-A0305-02-0036-100
1. With the addition of momentum, the learning calculation of the neural network will not fall into a local minimum.
TW110109261A 2021-03-16 2021-03-16 Deep learning method for controlling the balance of a two-wheeled machine TWI767612B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW110109261A TWI767612B (en) 2021-03-16 2021-03-16 Deep learning method for controlling the balance of a two-wheeled machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW110109261A TWI767612B (en) 2021-03-16 2021-03-16 Deep learning method for controlling the balance of a two-wheeled machine

Publications (2)

Publication Number Publication Date
TWI767612B true TWI767612B (en) 2022-06-11
TW202238302A TW202238302A (en) 2022-10-01

Family

ID=83103740

Family Applications (1)

Application Number Title Priority Date Filing Date
TW110109261A TWI767612B (en) 2021-03-16 2021-03-16 Deep learning method for controlling the balance of a two-wheeled machine

Country Status (1)

Country Link
TW (1) TWI767612B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110130925A1 (en) * 2008-07-29 2011-06-02 Toyota Jidosha Kabushiki Kaisha Coaxial two-wheeled vehicle and its control method
US20110231050A1 (en) * 2010-03-22 2011-09-22 Goulding John R In-Line Legged Robot Vehicle and Method for Operating
TWM500726U (en) * 2014-06-10 2015-05-11 fu-rong Zhang Frame mechanism of self balancing vehicle
TWI510394B (en) * 2013-06-24 2015-12-01 Univ Nat Taiwan Normal Automatic balancing vehicle and turning control method thereof
US20160031515A1 (en) * 2013-07-16 2016-02-04 Sergey Nikolaevich Andreev Two-Wheeled Gyroscope-Stabilized Vehicle and Methods for Controlling Thereof
US20170088212A1 (en) * 2015-09-24 2017-03-30 P&N Phc, Llc Portable two-wheeled self-balancing personal transport vehicle
TW201741792A (en) * 2016-05-19 2017-12-01 崑山科技大學 Method for controlling two-wheel machine in balance by use of artificial intelligence
US20180111039A1 (en) * 2016-10-25 2018-04-26 Future Motion, Inc. Self-balancing skateboard with strain-based controls and suspensions
US20190127010A1 (en) * 2015-12-16 2019-05-02 South China University Of Technology Portable electric vehicle and method for controlling drive thereof
US20190126157A1 (en) * 2016-07-11 2019-05-02 Groove X, Inc. Autonomously acting robot
US20200331543A1 (en) * 2018-04-13 2020-10-22 Vikas PODDAR System and method for balancing a vehicle
US20200368629A1 (en) * 2017-11-30 2020-11-26 Nicholas Moss Remote control vehicle
US20200379464A1 (en) * 2016-07-19 2020-12-03 Christopher Andrew Tacklind Two-wheel In-Line Robots

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110130925A1 (en) * 2008-07-29 2011-06-02 Toyota Jidosha Kabushiki Kaisha Coaxial two-wheeled vehicle and its control method
US20110231050A1 (en) * 2010-03-22 2011-09-22 Goulding John R In-Line Legged Robot Vehicle and Method for Operating
TWI510394B (en) * 2013-06-24 2015-12-01 Univ Nat Taiwan Normal Automatic balancing vehicle and turning control method thereof
US20160031515A1 (en) * 2013-07-16 2016-02-04 Sergey Nikolaevich Andreev Two-Wheeled Gyroscope-Stabilized Vehicle and Methods for Controlling Thereof
TWM500726U (en) * 2014-06-10 2015-05-11 fu-rong Zhang Frame mechanism of self balancing vehicle
US20170088212A1 (en) * 2015-09-24 2017-03-30 P&N Phc, Llc Portable two-wheeled self-balancing personal transport vehicle
US20190276040A1 (en) * 2015-09-24 2019-09-12 P&N Phc, Llc Portable two-wheeled self-balancing personal transport vehicle
US20190127010A1 (en) * 2015-12-16 2019-05-02 South China University Of Technology Portable electric vehicle and method for controlling drive thereof
TW201741792A (en) * 2016-05-19 2017-12-01 崑山科技大學 Method for controlling two-wheel machine in balance by use of artificial intelligence
US20190126157A1 (en) * 2016-07-11 2019-05-02 Groove X, Inc. Autonomously acting robot
US20200379464A1 (en) * 2016-07-19 2020-12-03 Christopher Andrew Tacklind Two-wheel In-Line Robots
US20180111039A1 (en) * 2016-10-25 2018-04-26 Future Motion, Inc. Self-balancing skateboard with strain-based controls and suspensions
US20200368629A1 (en) * 2017-11-30 2020-11-26 Nicholas Moss Remote control vehicle
US20200331543A1 (en) * 2018-04-13 2020-10-22 Vikas PODDAR System and method for balancing a vehicle

Also Published As

Publication number Publication date
TW202238302A (en) 2022-10-01

Similar Documents

Publication Publication Date Title
US7962256B2 (en) Speed limiting in electric vehicles
CN101312874B (en) Overturn prevention control device for two-wheel vehicle
US9511811B2 (en) Two-wheeled gyroscope-stabilized vehicle and methods for controlling thereof
CN102642584B (en) Self-balancing electric manned monocycle
EP1796953B1 (en) Vehicle control by pitch modulation
DE112009005239B4 (en) Regulation / control device of an inverse shuttle-type vehicle
JP2004500271A (en) Personal balance vehicle
DE112009005257B4 (en) Control / control device of an entangling type vehicle
US20060063137A1 (en) Wheeled vehicles and control systems and methods therefor
CN202806968U (en) Self-balance electric manned monocycle
DE112009005248B4 (en) Control / control device of an entangling type vehicle
EP4011678A1 (en) Method and system for controlling a vehicle's electric motor output
DE112009005273B4 (en) Control device of a single-entrainment vehicle
DE112009005275T5 (en) Inverspendel - like vehicle
DE112009005245T5 (en) Control device of an inversive-type vehicle
DE112009005253B4 (en) Control device for an in-shuttle type vehicle
TWI767612B (en) Deep learning method for controlling the balance of a two-wheeled machine
US20220219775A1 (en) Torque balancing of passive and active braking on an electronic bicycle
US7195487B2 (en) Two-wheeled vehicles and control systems and methods therefor
DE112009005251T5 (en) Control / control device of an entangling type vehicle
US20210269111A1 (en) Systems and methods to assist balancing of human-supported vehicles
Morrell et al. Design of a closed loop controller for a two wheeled balancing transporter
JP2018184038A (en) Inverted pendulum type vehicle
TWI592777B (en) Method for controlling two-wheel machine in balance by use of artificial intelligence
WO2007024239A1 (en) Wheeled vehicles and control systems and methods therefor