[go: up one dir, main page]

TWI698267B - A bicycle simulation reality training platform - Google Patents

A bicycle simulation reality training platform Download PDF

Info

Publication number
TWI698267B
TWI698267B TW108141281A TW108141281A TWI698267B TW I698267 B TWI698267 B TW I698267B TW 108141281 A TW108141281 A TW 108141281A TW 108141281 A TW108141281 A TW 108141281A TW I698267 B TWI698267 B TW I698267B
Authority
TW
Taiwan
Prior art keywords
wheel
rear wheel
bicycle
training platform
lifting
Prior art date
Application number
TW108141281A
Other languages
Chinese (zh)
Other versions
TW202118538A (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 TW108141281A priority Critical patent/TWI698267B/en
Application granted granted Critical
Publication of TWI698267B publication Critical patent/TWI698267B/en
Publication of TW202118538A publication Critical patent/TW202118538A/en

Links

Images

Landscapes

  • Motorcycle And Bicycle Frame (AREA)

Abstract

A bicycle simulation reality training platform can erect a bicycle and includes a front wheel lifting device, a wheel speed sensing device, a rear wheel resistance control device, and a virtual reality visual interface. The front wheel lifting device is detachably positioned for the front fork of the bicycle, and can drive the front fork to lift and lower, and detect the steering of the front fork. The wheel speed sensing device is detachably positioned for the rear wheel of the bicycle and detects the speed of the rear wheel. The rear wheel resistance control device can be used to provide different resistance to the rear wheel. The virtual reality visual interface is electrically connected to the front wheel lifting device, the rear wheel resistance control device, and the wheel speed sensing device, and the condition of each device corresponds to the road condition data.

Description

自行車模擬實境訓練平台Bicycle simulation reality training platform

本發明是關於一種訓練設備,特別是指一種自行車模擬實境訓練平台。The invention relates to a training device, in particular to a bicycle simulation real-world training platform.

目前在市上發售的自行車訓練台或是飛輪車,大多都是以直線前進訓練踩踏肌耐力為主。將一般的自行車放置於上面進行練習,或是直接鎖固於訓練台之上作為固定練習的平台(飛輪車),都是目前自行車愛好者在室內控制訓練環境與時間、提昇訓練效率、健身、事前模擬騎行路況的最佳選擇,也因此在市場上擁有逐年成長的銷售。Most of the bicycle training platforms or flywheels currently on the market use straight forward training for pedaling muscle endurance. Placing a general bicycle on it for exercise, or directly locking it on the training platform as a fixed exercise platform (flywheel vehicle), is the current indoor cyclist to control the training environment and time, improve training efficiency, fitness, The best choice for simulating riding road conditions beforehand, and therefore has a year-on-year sales growth in the market.

自行車訓練台型態大多為一體式,操控方式也僅能調整阻力,在騎乘上較無真實感。如果要模擬爬坡及衝刺動作的話,還要以自身的姿勢去做改變,在固定的基座上無法如同真實騎乘時車體的自然律動,使用上既不真實也不好操控。The bicycle training platform is mostly integrated, and the control method can only adjust the resistance, which is less realistic in riding. If you want to simulate climbing and sprinting actions, you have to change your posture. On a fixed base, it cannot be as the natural rhythm of the car body when riding, and it is neither realistic nor easy to control.

因此,本發明之目的,即在提供一種模擬戶外道路騎乘狀態的自行車模擬實境訓練平台。Therefore, the purpose of the present invention is to provide a bicycle simulation reality training platform that simulates the riding state of an outdoor road.

本發明自行車模擬實境訓練平台,能架設一自行車,該自行車包含一車體、一設置於該車體前方之轉向把手、一由該轉向把手連動的前叉,及一樞設於該車體後方的後輪,該自行車模擬實境訓練平台包含一前輪升降裝置、一輪速感測裝置、一後輪阻力控制裝置,及一虛擬實境視覺介面。該前輪升降裝置是供該自行車之前叉可拆式地定位,並可帶動該前叉升降,並偵測該前叉之轉向。該輪速感測裝置是供該自行車之後輪可拆式定位,並偵測該後輪的轉速。該後輪阻力控制裝置能用以對該後輪提供不同阻力。該虛擬實境視覺介面是與該前輪升降裝置、該後輪阻力控制裝置,及該輪速感測裝置電連接,並可依據該虛擬實境視覺介面中的路況資料使前述各裝置的狀態與該路況資料相對應。The bicycle simulation reality training platform of the present invention can set up a bicycle. The bicycle includes a vehicle body, a steering handle set in front of the vehicle body, a front fork linked by the steering handle, and a pivoted on the vehicle body At the rear wheel, the bicycle simulation reality training platform includes a front wheel lifting device, a wheel speed sensing device, a rear wheel resistance control device, and a virtual reality visual interface. The front wheel lifting device is used for detachable positioning of the front fork of the bicycle, and can drive the front fork to lift and detect the steering of the front fork. The wheel speed sensing device is used for detachable positioning of the rear wheel of the bicycle and detecting the rotation speed of the rear wheel. The rear wheel resistance control device can be used to provide different resistance to the rear wheel. The virtual reality visual interface is electrically connected to the front wheel lifting device, the rear wheel resistance control device, and the wheel speed sensing device, and can make the state of the aforementioned devices correspond to the road condition data in the virtual reality visual interface. This road condition data corresponds to it.

本發明的另一技術手段,是在於該前輪升降裝置包括一微控制器、一電連接該微控制器的驅動機構、一由該驅動機構帶動的升降機構,及一設置於該升降機構上方且電連接於該微控制器的旋轉角度偵測機構,該旋轉角度偵測機構用以偵測該前叉左右轉動的角度。Another technical means of the present invention is that the front wheel lifting device includes a microcontroller, a driving mechanism electrically connected to the microcontroller, a lifting mechanism driven by the driving mechanism, and a lifting mechanism arranged above the lifting mechanism The rotation angle detection mechanism is electrically connected to the microcontroller, and the rotation angle detection mechanism is used for detecting the left and right rotation angle of the front fork.

本發明的另一技術手段,是在於該前輪升降裝置還包括一電連接該驅動機構且用以防止該升降機構過度升降的限位機構。Another technical means of the present invention is that the front wheel lifting device further includes a limit mechanism electrically connected to the driving mechanism and used to prevent the lifting mechanism from over-lifting.

本發明的另一技術手段,是在於該前輪升降裝置還包括一電連接該微控制器的PID控制器,及一電連接該微控制器的超音波感測器。Another technical means of the present invention is that the front wheel lifting device further includes a PID controller electrically connected to the microcontroller, and an ultrasonic sensor electrically connected to the microcontroller.

本發明的另一技術手段,是在於該輪速感測裝置包括一由該後輪帶動的且具有黑白線交錯排列的慣性輪,及一用以偵測該慣性輪上之黑白線移動速率的紅外線循跡感測器。Another technical means of the present invention is that the wheel speed sensing device includes an inertial wheel driven by the rear wheel and staggered with black and white lines, and a device for detecting the movement speed of the black and white lines on the inertial wheel Infrared tracking sensor.

本發明的另一技術手段,是在於該輪速感測裝置還包括一用以定位該後輪的支撐架,該後輪是可拆式地安裝於該支撐架上並能帶動該慣性輪。Another technical means of the present invention is that the wheel speed sensing device further includes a support frame for positioning the rear wheel, and the rear wheel is detachably mounted on the support frame and can drive the inertial wheel.

本發明的另一技術手段,是在於該後輪阻力控制裝置包括一伺服馬達,及一由該伺服馬達控制的磁阻機構。Another technical means of the present invention is that the rear wheel resistance control device includes a servo motor and a reluctance mechanism controlled by the servo motor.

本發明的另一技術手段,是在於該超音波感測器是採用中位值濾波方式進行訊號分析。Another technical method of the present invention is that the ultrasonic sensor adopts a median filtering method for signal analysis.

本發明的另一技術手段,是在於該虛擬實境視覺介面是透過RS232/Modbus通訊協定與該前輸升降裝置、該後輪阻力控制裝置,及該輪速感測裝置進行溝通。Another technical means of the present invention is that the virtual reality visual interface communicates with the front lift device, the rear wheel resistance control device, and the wheel speed sensing device through the RS232/Modbus communication protocol.

本發明的另一技術手段,是在於該虛擬實境視覺介面至少包括Unity 3D介面,及Google街景介面,並儲存有對應各介面的道路坡度參數。Another technical method of the present invention is that the virtual reality visual interface includes at least a Unity 3D interface and a Google Street View interface, and the road gradient parameters corresponding to each interface are stored.

本發明之功效在於,透過前述架構,結合虛擬實境軟體及動態體感裝置,可模擬道路升降坡時車體仰角與踩踏阻力變化,還戶外道路騎乘狀態。The effect of the present invention is that through the aforementioned architecture, combined with virtual reality software and dynamic somatosensory devices, it can simulate changes in vehicle body elevation angle and pedaling resistance when a road rises and falls, and it can also be used for outdoor riding conditions.

有關本發明之相關申請專利特色與技術內容,在以下配合參考圖式之較佳實施例的詳細說明中,將可清楚的呈現。在進行詳細說明前應注意的是,類似的元件是以相同的編號來作表示。The features and technical content of the related patent applications of the present invention will be clearly presented in the following detailed description of the preferred embodiments with reference to the drawings. Before detailed description, it should be noted that similar components are represented by the same numbers.

參閱圖1及圖2,為本發明自行車模擬實境訓練平台的較佳實施例,包含一前輪升降裝置2、一輪速感測裝置3、一後輪阻力控制裝置4,及一虛擬實境視覺介面5。如圖2所示,該較佳實施例能架設一自行車,該自行車包含一車體11、一設置於該車體11前方之轉向把手12、一由該轉向把手12連動的前叉13、一樞設於該車體11後方的後輪14,及一帶動該後輪14的踩踏機構15。1 and 2 are preferred embodiments of the bicycle simulation reality training platform of the present invention, including a front wheel lifting device 2, a wheel speed sensing device 3, a rear wheel resistance control device 4, and a virtual reality vision Interface 5. As shown in Figure 2, the preferred embodiment can be used to mount a bicycle, the bicycle includes a body 11, a steering handle 12 arranged in front of the body 11, a front fork 13 linked by the steering handle 12, a A rear wheel 14 pivoted at the rear of the vehicle body 11 and a pedaling mechanism 15 for driving the rear wheel 14.

參閱圖1及圖3,該前輪升降裝置2包括一微控制器21、一電連接該微控制器21的驅動機構22、一由該驅動機構22帶動的升降機構23、一設置於該升降機構23上方且電連接於該微控制器21的旋轉角度偵測機構24、一電連接該驅動機構22且用以防止該升降機構23過度升降的限位機構25、一電連接該微控制器21的PID控制器26,及一電連接該微控制器21的超音波感測器27。如圖4所示,該自行車之前叉13是可拆式地定位於該前輪升降裝置2上,該升降機構23並可帶動該前叉13如圖中箭頭A的方向升降,該旋轉角度偵測機構24用以偵測該前叉13依圖中箭頭B的方向左右轉動的角度。1 and 3, the front wheel lifting device 2 includes a microcontroller 21, a driving mechanism 22 electrically connected to the microcontroller 21, a lifting mechanism 23 driven by the driving mechanism 22, and a lifting mechanism set on the lifting mechanism A rotation angle detection mechanism 24 above 23 and electrically connected to the microcontroller 21, a limit mechanism 25 electrically connected to the driving mechanism 22 and used to prevent the lifting mechanism 23 from over-lifting, and an electrically connected to the microcontroller 21 The PID controller 26 and an ultrasonic sensor 27 electrically connected to the microcontroller 21. As shown in Figure 4, the bicycle front fork 13 is detachably positioned on the front wheel lifting device 2. The lifting mechanism 23 can drive the front fork 13 to lift in the direction of arrow A in the figure. The rotation angle is detected The mechanism 24 is used to detect the left and right rotation angle of the front fork 13 in the direction of arrow B in the figure.

再參閱圖1及圖3,該輪速感測裝置3包括一用以定位該後輪14的支撐架31、一由該後輪帶動的且具有黑白線交錯排列的慣性輪32,及一用以偵測該慣性輪32上之黑白線移動速率的紅外線循跡感測器33。該後輪14是可拆式地安裝於該支撐架31上並能帶動該慣性輪32。1 and 3 again, the wheel speed sensing device 3 includes a support frame 31 for positioning the rear wheel 14, an inertial wheel 32 driven by the rear wheel and staggered with black and white lines, and a The infrared tracking sensor 33 detects the moving speed of the black and white lines on the inertial wheel 32. The rear wheel 14 is detachably mounted on the support frame 31 and can drive the inertial wheel 32.

該後輪阻力控制裝置4包括一伺服馬達41,及一由該伺服馬達41控制的磁阻機構42。該虛擬實境視覺介面5至少包括Unity 3D介面51,及Google街景介面52,並儲存有對應各介面的道路坡度參數,且是透過RS232/Modbus通訊協定與該前輸升降裝置、該後輪阻力控制裝置4,及該輪速感測裝置3進行溝通。The rear wheel resistance control device 4 includes a servo motor 41 and a reluctance mechanism 42 controlled by the servo motor 41. The virtual reality visual interface 5 includes at least a Unity 3D interface 51 and a Google Street View interface 52, and stores the road gradient parameters corresponding to each interface, and communicates with the front lifting device and the rear wheel resistance through the RS232/Modbus communication protocol. The control device 4 communicates with the wheel speed sensing device 3.

以下內容說明本較佳實施例的使用方式。首先,使用者將該自行車安裝於本發明之自行車模擬實境訓練平台,也就是將該自行車的前叉13安裝於該前輪升降裝置2,以及將該後輪14安裝於該支撐架31上,並使該後輪14與該慣性輪32的輪軸接觸。The following content explains the use of this preferred embodiment. First, the user installs the bicycle on the bicycle simulation reality training platform of the present invention, that is, installs the front fork 13 of the bicycle on the front wheel lifting device 2 and the rear wheel 14 on the support frame 31, The rear wheel 14 is brought into contact with the axle of the flywheel 32.

使用者先經由該虛擬實境視覺介面5中點選要使用的實境圖形介面,於本較佳實施例中,可以是由Unity 3D介面51或Google街景介面52中擇一。選定實境圖形介面後,使用者開始進行踩踏動作。此時,該虛擬實境視覺介面5的道路模擬介面視角會隨使用者的踩踏動作開始前進,且該前輪升降裝置2與該後輪阻力控制裝置4會讀取到道路坡度參數,該後輪阻力控制裝置4的伺服馬達41就會依據該道路坡度參數拉動該磁阻機構42,使該磁阻機構42對該該輪速感測裝置3的該慣性輪32產生相對應的阻力,以改變該後輪14帶動該慣性輪32轉動所需要施加的力量。於本實施例中,該磁阻機構42是利用固定磁鐵的馬達架設於慣性輪32的輪軸磁體側緣,再經由控制其旋轉角度使磁鐵由內而外移動來改變該磁阻機構42與該慣性輪32之間的磁吸程度,而產生阻力的大小變化。The user first clicks on the real-world graphical interface to be used in the virtual reality visual interface 5. In this preferred embodiment, it can be either the Unity 3D interface 51 or the Google Street View interface 52. After selecting the real-world graphical interface, the user starts pedaling. At this time, the road simulation interface angle of view of the virtual reality visual interface 5 will start to advance with the user's pedaling action, and the front wheel lifting device 2 and the rear wheel resistance control device 4 will read the road gradient parameters, and the rear wheel The servo motor 41 of the resistance control device 4 pulls the reluctance mechanism 42 according to the road gradient parameter, so that the reluctance mechanism 42 generates a corresponding resistance to the inertial wheel 32 of the wheel speed sensing device 3 to change The force required for the rear wheel 14 to drive the inertial wheel 32 to rotate. In this embodiment, the reluctance mechanism 42 uses a motor with a fixed magnet to be erected on the side edge of the axle magnet of the flywheel 32, and then changes the reluctance mechanism 42 and the magnet by controlling its rotation angle to move the magnet from inside to outside. The degree of magnetic attraction between the flywheels 32 changes the resistance.

當該虛擬實境視覺介面5進入上坡路段時,畫面中的坡度資料會傳送至該微控制器21,控制該驅動機構22帶動該升降機構23進行相對應的升降動作,進而帶動該前叉13及該轉向把手12升降,讓使用者能因應畫面中的坡度而產生相對應的體感。於本實施例中,該驅動機構22為馬達,該升降機構23為千斤頂,但不以此為限。要特別說明的是,該前輪升降裝置2特別設置有該超音波感測器27,用以感測該升降機構23與地面距離之數值,並且採用中位值濾波方式進行訊號分析,並將車體11晃動所導致的突波訊號等雜訊去除後,經由該PID控制器26調整P、I、D的參數,輸出PWM訊號使該驅動機構22能夠精準地驅動該升降機構23到達預定升降位置。When the virtual reality visual interface 5 enters an uphill section, the gradient data in the screen will be sent to the microcontroller 21 to control the driving mechanism 22 to drive the lifting mechanism 23 to perform corresponding lifting actions, and then drive the front fork 13 And the steering handle 12 is raised and lowered, so that the user can generate a corresponding sense of body in response to the gradient in the screen. In this embodiment, the driving mechanism 22 is a motor, and the lifting mechanism 23 is a jack, but not limited to this. It should be particularly noted that the front wheel lifting device 2 is specially provided with the ultrasonic sensor 27 to sense the value of the distance between the lifting mechanism 23 and the ground, and the median filter method is used for signal analysis, and the vehicle After the noise such as the surge signal caused by the shaking of the body 11 is removed, the PID controller 26 adjusts the parameters of P, I, and D, and outputs the PWM signal so that the driving mechanism 22 can accurately drive the lifting mechanism 23 to the predetermined lifting position .

其中,本實施例使用HC-SR04超音波測距模組,並且採用I/O觸發測距,並將訊號演算成公分距離,但因感測器感測敏感,易因車身晃動造成訊號距離不穩。為了分離晃動訊號來加以判斷,採用中值濾波的方式將超音波感測訊號分析,首先將超音波量測到的參數儲存於陣列中,再以泡沫排序法(Bubblesort)由小至大重新排列儲存為

Figure 02_image001
~
Figure 02_image003
再將排列後超音波的數值儲存於陣列當中。這些數值所儲存的筆數,會影響中值濾波後的變化量及特性曲線。在本說明文件內以七筆的陣列資料加以說明,將訊號計算後值數值代入以下的公式定義內運算。中值表式為
Figure 02_image005
,其中算式定義為:
Figure 02_image007
。均值表示為
Figure 02_image009
,其中算式定義為:
Figure 02_image011
。 Among them, this embodiment uses the HC-SR04 ultrasonic ranging module, and uses I/O to trigger the ranging, and calculates the signal into a centimeter distance. However, the sensor is sensitive to sensing, and the signal distance is likely to be different due to body shaking. stable. In order to separate the shaking signal for judgment, the ultrasonic sensing signal is analyzed by median filtering. First, the parameters measured by the ultrasonic wave are stored in the array, and then rearranged from small to large by Bubblesort. Save as
Figure 02_image001
~
Figure 02_image003
Then store the ultrasonic values after the arrangement in the array. The number of pens stored in these values will affect the change and characteristic curve after median filtering. In this document, seven array data are used to explain, and the calculated value of the signal is substituted into the following formula definition. The median expression is
Figure 02_image005
, Where the formula is defined as:
Figure 02_image007
. The mean is expressed as
Figure 02_image009
, Where the formula is defined as:
Figure 02_image011
.

另外,該PID控制器26(比例-積分-微分控制器),由比例單元(P)、積分單元(I)和微分單元(D)組成。可以透過調整這三個單元的增益Kp,Ki和Kd來調整其特性。PID控制器26主要適用於基本上線性,且動態特性不隨時間變化的系統。因此本實施例會依照視覺化界面上的坡度高度,動態調整該前叉13的高度位置,在硬體部分使用Arduino IDE C/C++語言撰寫,開發出該PID控制器26,並接收坡度的訊號,以及超音波距離訊號,當該微控制器21收到訊號經PID演算後會輸出適當PWM訊號,以使該驅動機構22可以精準又快速的控制該升降機到到預定的高度。In addition, the PID controller 26 (proportional-integral-derivative controller) is composed of a proportional unit (P), an integral unit (I), and a derivative unit (D). The characteristics can be adjusted by adjusting the gain Kp, Ki and Kd of these three units. The PID controller 26 is mainly suitable for systems that are basically linear and whose dynamic characteristics do not change with time. Therefore, in this embodiment, the height position of the front fork 13 is dynamically adjusted according to the slope height on the visual interface, the hardware part is written in the Arduino IDE C/C++ language, the PID controller 26 is developed, and the slope signal is received. As well as the ultrasonic distance signal, when the microcontroller 21 receives the signal through PID calculation, it will output an appropriate PWM signal so that the driving mechanism 22 can accurately and quickly control the elevator to a predetermined height.

同時,於本實施例中,該限位機構25是於該升降機構23上下位置分別設置有限位開關,當該升降機構23在上升或下降的過程中觸碰到所述限位開關時,該驅動機構22會立即停止轉動以防止過轉的情形發生。At the same time, in this embodiment, the limit mechanism 25 is provided with limit switches at the upper and lower positions of the lifting mechanism 23, and when the lifting mechanism 23 touches the limit switch during the ascent or descending process, the The driving mechanism 22 will immediately stop rotating to prevent over-rotation.

當使用者在踩踏的過程中轉動該轉向把手12而帶動該前叉13一起轉動時,該旋轉角度偵測機構24用以偵測該前叉13左右轉動的角度,使該虛擬實境視覺介面5的畫面視角跟著轉動。於本實施例中,該旋轉角度偵測機構24是使用電位計來偵測該前叉13的轉動方向,將電位計轉動電阻旋轉時所變更的電壓值帶入程式計算並回饋給該虛擬實境視覺介面5,使其因應電壓大小而改變視角方向。When the user turns the steering handle 12 during the stepping process to drive the front fork 13 to rotate together, the rotation angle detecting mechanism 24 is used to detect the left and right rotation angle of the front fork 13 to enable the virtual reality visual interface The viewing angle of the screen of 5 rotates accordingly. In this embodiment, the rotation angle detection mechanism 24 uses a potentiometer to detect the rotation direction of the front fork 13, and brings the voltage value changed when the potentiometer rotates the resistance to the program calculation and feeds it back to the virtual reality. The visual interface 5 makes it change the direction of viewing angle in response to the voltage.

另外,當該後輪14轉動並帶動該輪速感測裝置3的慣性輪32轉動時,由於該慣性輪32上具有黑白線交錯排列,該紅外線循跡感測器33會利用對光線的反射率來偵測該慣性輪32上的黑白線移動速率,再推算為前進速率,並輸出至該虛擬實境視覺介面5,以模擬實際騎乘時速。In addition, when the rear wheel 14 rotates and drives the flywheel 32 of the wheel speed sensing device 3 to rotate, since the flywheel 32 has a staggered arrangement of black and white lines, the infrared tracking sensor 33 uses the reflection of light The speed is used to detect the moving speed of the black and white lines on the inertial wheel 32, and then calculate it as the forward speed, and output to the virtual reality visual interface 5 to simulate the actual riding speed.

本實施例之Unity 3D介面51是透過Unity3D的地形編輯器繪製出高低起伏的草地及山坡,並經由EasyRoad3D插件更改道路物件參數以調整出各式的彎道及斜度,繪製出適合模擬騎乘的道路,再利用牆形物件附上材質並設定Rigidbody以防止騎出圖外。最後再將第一人稱編輯器置入預設相機中,藉以控制畫面行進及讓角色獲得重力及摩擦力來模擬自行車實際騎乘。使用Unity C# Script程式撰寫,並與Unity Scripting API結合,透過串列通訊RS232的方式,以USB連接到前述各裝置,並接收外部硬體的訊號演算後,結合Unity提供的API控制構建好的Unity場景,且以自行車為主軸,並規劃其專用訓練賽道。The Unity 3D interface 51 of this embodiment draws undulating grass and hillsides through the terrain editor of Unity3D, and changes the road object parameters through the EasyRoad3D plug-in to adjust various curves and slopes, and draw them suitable for simulated riding. For roads, use wall-shaped objects to attach materials and set Rigidbody to prevent riding out of the picture. Finally, the first-person editor is placed in the default camera, so as to control the screen movement and allow the character to obtain gravity and friction to simulate the actual riding of a bicycle. Use Unity C# Script to program and combine it with Unity Scripting API. Connect to the aforementioned devices via USB via serial communication RS232, and receive signal calculations from external hardware, then combine with the API provided by Unity to control the built Unity The scene, and the bicycle is the main axis, and its dedicated training track is planned.

另外,本實施例為了與世界各地的地圖連線,結合雲端型的Google Map JavaScript API街景服務,使用C#程式語言撰寫,並與.NET Framework API結合,透過串列通訊RS232的方式,以USB連接到微控制器21,並接收外部硬體的訊號演算後,傳送至Google Apps Script的Google Maps JavaScript API,透過Geocoding API以及Maps Elevation API解析地址,將地址轉換成對應的座標以及坡度後,再回傳對應的場景、經緯度、海拔高度等等資料,達到模擬實際戶外路面情況。In addition, in order to connect to maps around the world, this embodiment combines the cloud-based Google Map JavaScript API street view service, written in C# programming language, combined with the .NET Framework API, and connected via USB via serial communication RS232 Go to the microcontroller 21 and receive the signal calculation from the external hardware, and then send it to the Google Maps JavaScript API of Google Apps Script, resolve the address through the Geocoding API and Maps Elevation API, convert the address into the corresponding coordinates and slope, and then return Transfer the corresponding scene, latitude and longitude, altitude, etc. data to simulate the actual outdoor road surface conditions.

綜上所述,本發明自行車模擬實境訓練平台,只需將前輪拆卸並將前叉13固定於該升降機構23上,再將後輪14置於該支撐架31上且能連通該慣性輪32即可使用。再搭配該虛擬實境視覺介面5能選用Unity3D地圖或Google Map依路段坡度起伏做升降變化,騎乘感受也更貼近於現實。In summary, the bicycle simulation reality training platform of the present invention only needs to disassemble the front wheel and fix the front fork 13 on the lifting mechanism 23, and then place the rear wheel 14 on the support frame 31 and connect the inertial wheel. 32 can be used. Coupled with the virtual reality visual interface 5, Unity3D map or Google Map can be used to make changes in up and down according to the ups and downs of the slope of the road section, and the riding experience is closer to reality.

惟以上所述者,僅為本發明之較佳實施例而已,當不能以此限定本發明實施之範圍,即大凡依本發明申請專利範圍及發明說明內容所作之簡單的等效變化與修飾,皆仍屬本發明專利涵蓋之範圍內。However, the above are only preferred embodiments of the present invention, and should not be used to limit the scope of implementation of the present invention, that is, simple equivalent changes and modifications made according to the scope of the patent application and the description of the invention, All are still within the scope of the invention patent.

11:車體11: Car body

12:轉向把手12: steering handle

13:前叉13: Fork

14:後輪14: rear wheel

15:踩踏機構15: trampling mechanism

2:前輪升降裝置2: Front wheel lifting device

21:微控制器21: Microcontroller

22:驅動機構22: drive mechanism

23:升降機構23: Lifting mechanism

24:旋轉角度偵測機構24: Rotation angle detection mechanism

25:限位機構25: limit mechanism

26:PID控制器26: PID controller

27:超音波感測器27: Ultrasonic sensor

3:輪速感測裝置3: Wheel speed sensing device

31:支撐架31: Support frame

32:慣性輪32: Friction wheel

33:紅外線循跡感測器33: Infrared tracking sensor

4:後輪阻力控制裝置4: Rear wheel resistance control device

41:伺服馬達41: Servo motor

42:磁阻機構42: Magnetoresistive mechanism

5:虛擬實境視覺介面5: Virtual reality visual interface

51:Unity 3D介面51: Unity 3D interface

52:Google街景介面52: Google Street View interface

A、B:箭頭A, B: Arrow

圖1是一系統架構圖,為本發明自行車模擬實境訓練平台之較佳實施例; 圖2是一側視示意圖,說明該較佳實施例架設一自行車的態樣; 圖3是一立體圖,說明該較佳實施例中,一前輪升降裝置、一輪速感測裝置,及一後輪阻力控制裝置的結構,為了便於說明,圖中省略部分電子元件未繪出; 圖4是一前視圖,說明該較佳實施例中,該前輪升降裝置與該自行車的前叉結合的方式;及 圖5是一俯視圖,說明該較佳實施例中,該輪速感測裝置與該後輪阻力控制裝置與該自行車的後輪結合的方式。 Figure 1 is a system architecture diagram, which is a preferred embodiment of the bicycle simulation reality training platform of the present invention; Figure 2 is a schematic side view illustrating the state of erecting a bicycle in the preferred embodiment; 3 is a perspective view illustrating the structure of a front wheel lifting device, a wheel speed sensing device, and a rear wheel resistance control device in the preferred embodiment. For ease of description, some electronic components are omitted in the figure; Figure 4 is a front view illustrating how the front wheel lifting device is combined with the front fork of the bicycle in the preferred embodiment; and Fig. 5 is a top view illustrating the way in which the wheel speed sensing device and the rear wheel resistance control device are combined with the rear wheel of the bicycle in the preferred embodiment.

11:車體 11: Car body

12:轉向把手 12: steering handle

13:前叉 13: Fork

14:後輪 14: rear wheel

15:踩踏機構 15: trampling mechanism

2:前輪升降裝置 2: Front wheel lifting device

3:輪速感測裝置 3: Wheel speed sensing device

4:後輪阻力控制裝置 4: Rear wheel resistance control device

5:虛擬實境視覺介面 5: Virtual reality visual interface

Claims (9)

一種自行車模擬實境訓練平台,能架設一自行車,該自行車包含一車體、一設置於該車體前方之轉向把手、一由該轉向把手連動的前叉、一樞設於該車體後方的後輪,及一帶動該後輪的踩踏機構,該自行車模擬實境訓練平台包含:一前輪升降裝置,供該自行車之前叉可拆式地定位,並可帶動該前叉升降,並偵測該前叉之轉向,其中,該前輪升降裝置包括一微控制器、一電連接該微控制器的驅動機構、一由該驅動機構帶動的升降機構,及一設置於該升降機構上方且電連接於該微控制器的旋轉角度偵測機構;一輪速感測裝置,供該自行車之後輪可拆式定位,並偵測該後輪的轉速;一後輪阻力控制裝置,對該後輪提供不同阻力;及一虛擬實境視覺介面,與該前輪升降裝置、該後輪阻力控制裝置,及該輪速感測裝置電連接,並可依據該虛擬實境視覺介面中的路況資料使前述各裝置的狀態與該路況資料相對應,其中,該前輪升降裝置的該旋轉角度偵測機構用以偵測該前叉左右轉動的角度,並使該虛擬實境視覺介面的畫面視角跟著轉動。 A bicycle simulation reality training platform capable of erecting a bicycle. The bicycle includes a vehicle body, a steering handle arranged in front of the vehicle body, a front fork linked by the steering handle, and a pivoted rear of the vehicle body The rear wheel, and a pedaling mechanism that drives the rear wheel, the bicycle simulation reality training platform includes: a front wheel lifting device for the front fork of the bicycle to be detachably positioned, and can drive the front fork to lift, and detect the For the steering of the front fork, the front wheel lifting device includes a microcontroller, a driving mechanism electrically connected to the microcontroller, a lifting mechanism driven by the driving mechanism, and a lifting mechanism arranged above the lifting mechanism and electrically connected to The rotation angle detection mechanism of the microcontroller; a wheel speed sensing device for detachable positioning of the rear wheel of the bicycle and detecting the speed of the rear wheel; a rear wheel resistance control device that provides different resistance to the rear wheel ; And a virtual reality visual interface, electrically connected with the front wheel lifting device, the rear wheel resistance control device, and the wheel speed sensing device, and can make the aforementioned devices according to the road condition data in the virtual reality visual interface The state corresponds to the road condition data, wherein the rotation angle detecting mechanism of the front wheel lifting device is used to detect the left and right rotation angle of the front fork, and make the view angle of the virtual reality visual interface rotate accordingly. 依據申請專利範圍第1項所述之自行車模擬實境訓練平台,其中,該前輪升降裝置還包括一電連接該驅動機構且用以防止該升降機構過度升降的限位機構。 According to the bicycle simulation reality training platform described in item 1 of the scope of patent application, the front wheel lifting device further includes a limit mechanism electrically connected to the driving mechanism and used to prevent the lifting mechanism from over-lifting. 依據申請專利範圍第2項所述之自行車模擬實境訓練平台,其中,該前輪升降裝置還包括一電連接該微控制器的PID控制器,及一電連接該微控制器的超音波感測器。 According to the bicycle simulation reality training platform described in item 2 of the scope of patent application, wherein the front wheel lifting device further includes a PID controller electrically connected to the microcontroller, and an ultrasonic sensor electrically connected to the microcontroller Device. 依據申請專利範圍第3項所述之自行車模擬實境訓練平台,其中,該輪速感測裝置包括一由該後輪帶動的且具有黑白線交錯排列的慣性輪,及一用以偵測該慣性輪上之黑白線移動速率的紅外線循跡感測器。 According to the bicycle simulation reality training platform described in item 3 of the scope of patent application, the wheel speed sensing device includes an inertial wheel driven by the rear wheel and having a staggered arrangement of black and white lines, and an inertia wheel for detecting the Infrared tracking sensor for the movement rate of black and white lines on the flywheel. 依據申請專利範圍第4項所述之自行車模擬實境訓練平台,其中,該輪速感測裝置還包括一用以定位該後輪的支撐架,該後輪是可拆式地安裝於該支撐架上並能帶動該慣性輪。 According to the bicycle simulation reality training platform described in item 4 of the scope of patent application, the wheel speed sensing device further includes a support frame for positioning the rear wheel, and the rear wheel is detachably installed on the support And can drive the inertial wheel. 依據申請專利範圍第5項所述之自行車模擬實境訓練平台,其中,該後輪阻力控制裝置包括一伺服馬達,及一由該伺服馬達控制的磁阻機構。 According to the bicycle simulation reality training platform described in item 5 of the scope of patent application, the rear wheel resistance control device includes a servo motor and a reluctance mechanism controlled by the servo motor. 依據申請專利範圍第3項所述之自行車模擬實境訓練平台,其中,該超音波感測器是採用中位值濾波方式進行訊號分析。 According to the bicycle simulation reality training platform described in item 3 of the scope of patent application, the ultrasonic sensor adopts median filtering method for signal analysis. 依據申請專利範圍第1項所述之自行車模擬實境訓練平台,其中,該虛擬實境視覺介面是透過RS232/Modbus通訊協定與該前輸升降裝置、該後輪阻力控制裝置,及該輪速感測裝置進行溝通。 According to the bicycle simulation reality training platform described in item 1 of the scope of patent application, the virtual reality visual interface is connected to the front lifting device, the rear wheel resistance control device, and the wheel speed through the RS232/Modbus communication protocol The sensing device communicates. 依據申請專利範圍第1項所述之自行車模擬實境訓練平台,其中,該虛擬實境視覺介面至少包括Unity 3D介面,及Google街景介面,並儲存有對應各介面的道路坡度參數。According to the bicycle simulation reality training platform described in item 1 of the scope of patent application, the virtual reality visual interface includes at least a Unity 3D interface and a Google Street View interface, and the road gradient parameters corresponding to each interface are stored.
TW108141281A 2019-11-13 2019-11-13 A bicycle simulation reality training platform TWI698267B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW108141281A TWI698267B (en) 2019-11-13 2019-11-13 A bicycle simulation reality training platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW108141281A TWI698267B (en) 2019-11-13 2019-11-13 A bicycle simulation reality training platform

Publications (2)

Publication Number Publication Date
TWI698267B true TWI698267B (en) 2020-07-11
TW202118538A TW202118538A (en) 2021-05-16

Family

ID=72602061

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108141281A TWI698267B (en) 2019-11-13 2019-11-13 A bicycle simulation reality training platform

Country Status (1)

Country Link
TW (1) TWI698267B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101259322A (en) * 2008-02-29 2008-09-10 上海大学 Cycling Simulation System
CN205649776U (en) * 2016-03-15 2016-10-19 深圳市精敏数字机器有限公司 Simulation is installed by bike
US10379604B2 (en) * 2015-04-10 2019-08-13 Virzoom, Inc. Virtual reality exercise game

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101259322A (en) * 2008-02-29 2008-09-10 上海大学 Cycling Simulation System
US10379604B2 (en) * 2015-04-10 2019-08-13 Virzoom, Inc. Virtual reality exercise game
CN205649776U (en) * 2016-03-15 2016-10-19 深圳市精敏数字机器有限公司 Simulation is installed by bike

Also Published As

Publication number Publication date
TW202118538A (en) 2021-05-16

Similar Documents

Publication Publication Date Title
CN108939418B (en) A VR fitness interactive system based on unity 3D
US20130274067A1 (en) System and method for simulating environmental conditions on an exercise device
US10445932B2 (en) Running exercise equipment with associated virtual reality interaction method and non-volatile storage media
US8845493B2 (en) System and method for exercising
US9468794B2 (en) System and method for simulating environmental conditions on an exercise bicycle
TWM593633U (en) Bicycle simulation reality training platform
KR101780743B1 (en) System For Supporting Cycling in Virtual Simulation Environment
US20040239486A1 (en) Virtual cycling method and apparatus
US10617913B2 (en) Training system for an e-bike
CN106552400B (en) A kind of running body-building system and method based on live-action map
EP3912697B1 (en) Lean based steering system for use with tilting cycle
WO2014196870A1 (en) An apparatus for physical rowing exercise
TWI698267B (en) A bicycle simulation reality training platform
CN1110777C (en) Apparatus for and method of displaying pseudo-three-dimensional image and machine-readable recording medium with recorded computer program
CN111450480B (en) Treadmill motion platform based on VR
CN106548697A (en) A kind of outdoor scene automobile simulator and its implementation
CN107549035B (en) Standardized guide dog training device
JP2008242248A (en) Motorcycle simulation equipment
CN202146560U (en) Real scene lane control system for bicycles
CN207252529U (en) Standardize seeing-eye dog training device
CN119587958A (en) Highly compatible bicycle training system
TWI776503B (en) Bicycle training platform
CN102831795A (en) Real scene lane control system for bicycles
KR20160064350A (en) Data processing system for bicycle simulation and method thereof
CN220870509U (en) Motion experience platform based on VR technique

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees