CN107029409A - A kind of running training system based on virtual reality technology - Google Patents
A kind of running training system based on virtual reality technology Download PDFInfo
- Publication number
- CN107029409A CN107029409A CN201710456083.9A CN201710456083A CN107029409A CN 107029409 A CN107029409 A CN 107029409A CN 201710456083 A CN201710456083 A CN 201710456083A CN 107029409 A CN107029409 A CN 107029409A
- Authority
- CN
- China
- Prior art keywords
- bluetooth
- computer
- speed
- terminal
- angle
- Prior art date
- Legal status (The legal status 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 status listed.)
- Withdrawn
Links
- 238000005516 engineering process Methods 0.000 title claims abstract description 24
- 238000012549 training Methods 0.000 title claims abstract description 21
- 239000011521 glass Substances 0.000 claims abstract description 23
- 238000005259 measurement Methods 0.000 claims abstract description 11
- 238000012545 processing Methods 0.000 claims abstract description 10
- 238000004891 communication Methods 0.000 claims abstract description 4
- 230000002452 interceptive effect Effects 0.000 claims description 8
- 238000004364 calculation method Methods 0.000 claims description 7
- 230000003993 interaction Effects 0.000 abstract description 6
- 230000033001 locomotion Effects 0.000 description 7
- 238000013461 design Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000007654 immersion Methods 0.000 description 2
- 238000000034 method Methods 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 210000003423 ankle Anatomy 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 244000309466 calf Species 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000005094 computer simulation Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 210000003414 extremity Anatomy 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63B—APPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
- A63B71/00—Games or sports accessories not covered in groups A63B1/00 - A63B69/00
- A63B71/06—Indicating or scoring devices for games or players, or for other sports activities
- A63B71/0619—Displays, user interfaces and indicating devices, specially adapted for sport equipment, e.g. display mounted on treadmills
- A63B71/0622—Visual, audio or audio-visual systems for entertaining, instructing or motivating the user
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63B—APPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
- A63B24/00—Electric or electronic controls for exercising apparatus of preceding groups; Controlling or monitoring of exercises, sportive games, training or athletic performances
- A63B24/0087—Electric or electronic controls for exercising apparatus of groups A63B21/00 - A63B23/00, e.g. controlling load
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/50—Controlling the output signals based on the game progress
- A63F13/52—Controlling the output signals based on the game progress involving aspects of the displayed game scene
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/55—Controlling game characters or game objects based on the game progress
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63B—APPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
- A63B71/00—Games or sports accessories not covered in groups A63B1/00 - A63B69/00
- A63B71/06—Indicating or scoring devices for games or players, or for other sports activities
- A63B71/0619—Displays, user interfaces and indicating devices, specially adapted for sport equipment, e.g. display mounted on treadmills
- A63B2071/0658—Position or arrangement of display
- A63B2071/0661—Position or arrangement of display arranged on the user
- A63B2071/0666—Position or arrangement of display arranged on the user worn on the head or face, e.g. combined with goggles or glasses
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Physical Education & Sports Medicine (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本发明涉及一种基于虚拟现实技术的跑步训练系统,其特征在于该系统包括:跑步机、测速组件、装有信号处理及控制程序和视频影像的计算机、接收端蓝牙以及装有手机的VR眼镜;所述测速组件佩戴在跑步者的单腿或手臂上,包括陀螺仪加速度计、三端稳压芯片、发送端蓝牙、电池和电源开关,均集成在一块电路板上;测速组件通过发送端蓝牙、接收端蓝牙与计算机进行蓝牙通信,接收端蓝牙插在计算机上,所述计算机同时与装有手机的VR眼镜上的手机通过WiFi无线连接,所述手机和计算机上均安装有多屏互动软件的客户端;装有手机的VR眼镜佩戴在跑步者的头部。
The invention relates to a running training system based on virtual reality technology, which is characterized in that the system includes: a treadmill, a speed measuring component, a computer equipped with signal processing and control programs and video images, a receiving end Bluetooth and VR glasses equipped with a mobile phone The speed measurement component is worn on the runner's single leg or arm, including a gyroscope accelerometer, a three-terminal voltage regulator chip, a transmitter Bluetooth, a battery and a power switch, all integrated on a circuit board; the speed measurement component passes through the transmitter Bluetooth, Bluetooth on the receiving end and the computer for Bluetooth communication, the Bluetooth on the receiving end is plugged into the computer, and the computer is connected to the mobile phone on the VR glasses equipped with the mobile phone through WiFi wirelessly at the same time, and the mobile phone and the computer are equipped with multi-screen interaction The client side of the software; VR glasses equipped with mobile phones are worn on the runner's head.
Description
技术领域technical field
本发明一种基于虚拟现实技术的跑步训练系统涉及运动健身、医疗康复,属于生物医学工程领域。The invention relates to a running training system based on virtual reality technology, relates to sports fitness and medical rehabilitation, and belongs to the field of biomedical engineering.
背景技术Background technique
虚拟现实(Virtual Reality,VR)技术具有沉浸性、多感知、交互性、想象性等特征,在医疗、教育、娱乐等领域有广阔应用前景。传统的跑步机安置于室内,使得人在跑步锻炼时会感觉枯燥乏味。将虚拟现实技术应用于人在跑步机的训练,不失为解决这种困扰的现实可行的技术途径。钱克宠等人(钱克宠,胡维华.虚拟现实技术在跑步机中的设计与实现[J].计算机仿真,2009,26(5):259-261.)通过使用计算机图形图像技术构建3D场景,对人体进行运动识别做成模拟的人体3D的运动影像,构成融合了虚拟化身的大型三维跑步场景,实现健身者与虚拟场景之间的动态、实时的交互。李春丽等(李春丽,窦少兵,杨先军,等.智能跑步机上虚拟场景的设计与实现[J].仪表技术,2012(9):46-48.)利用计算机模拟的人工环境,制作虚拟场景,提取跑步时产生的各种运动参数(速度、里程、心率等),作用于虚拟场景,实现健身者与虚拟环境的实时交互。Virtual reality (Virtual Reality, VR) technology has the characteristics of immersion, multi-sensing, interactivity, imagination, etc., and has broad application prospects in medical, education, entertainment and other fields. Traditional treadmills are placed indoors, making people feel boring when running and exercising. Applying virtual reality technology to people's training on a treadmill is a realistic and feasible technical approach to solve this problem. Qian Kechong et al. (Qian Kechong, Hu Weihua. Design and Implementation of Virtual Reality Technology in Treadmill [J]. Computer Simulation, 2009,26(5):259-261.) Constructed 3D Scene, the motion recognition of the human body is made into a simulated 3D motion image of the human body, which constitutes a large-scale three-dimensional running scene that integrates virtual avatars, and realizes dynamic and real-time interaction between the bodybuilder and the virtual scene. Li Chunli et al. (Li Chunli, Dou Shaobing, Yang Xianjun, et al. Design and implementation of virtual scenes on intelligent treadmills [J]. Instrument Technology, 2012(9): 46-48.) use computer simulated artificial environment to create virtual scenes and extract running Various motion parameters (speed, mileage, heart rate, etc.)
上述研究很好地将跑步者的运动与虚拟影像相融合,达到了人机交互的目的。但在实际使用中还有很多不便,如:1、需要使用多种传感器测量跑步者的各种运动状态,导线很多使跑步者多有不便;2、构建虚拟3D场景,实现人机交互,而最后呈现给跑步者的依然是2D影像,缺乏沉浸感;3、需要使用专门的跑步机和专用的影像播放设备,场地、专用设备固定,使用不方便,且使用成本较高。The above studies have well integrated the runner's movement with the virtual image, achieving the purpose of human-computer interaction. But there are still many inconveniences in actual use, such as: 1. It is necessary to use various sensors to measure the various motion states of runners, and there are many wires that make runners inconvenient; 2. Construct a virtual 3D scene to realize human-computer interaction. Finally, what is presented to the runners is still a 2D image, which lacks a sense of immersion; 3. It is necessary to use a special treadmill and a special video playback device. The venue and special equipment are fixed, which is inconvenient to use and has a high cost of use.
发明内容Contents of the invention
针对现有技术的不足,本发明拟解决的技术问题是,提供一种基于虚拟现实技术的跑步训练系统。该系统采用陀螺仪加速度计来采集跑步者单腿变化的角度信号,将该信号传输给计算机,计算机将变化的角度信号转换成跑步速度变化信号,再换算成控制视频图像变化的播放帧数,计算机运算并控制视频播放速度,计算机与VR眼镜上的手机连接,使装有手机的VR眼镜与计算机同步播放视频影像。该系统能将装有手机的VR眼镜应用于传统跑步机,不限场地、设备灵活、操作简便,实现虚拟与现实完美结合,使跑步者感觉置身于自然环境中,增强跑步的趣味性。Aiming at the deficiencies of the prior art, the technical problem to be solved by the present invention is to provide a running training system based on virtual reality technology. The system uses a gyro accelerometer to collect the angle signal of the runner's single leg change, and transmits the signal to the computer. The computer converts the angle signal into a running speed change signal, and then converts it into the number of playback frames that control the change of the video image. The computer calculates and controls the video playback speed, and the computer is connected to the mobile phone on the VR glasses, so that the VR glasses equipped with the mobile phone and the computer play video images synchronously. The system can apply VR glasses equipped with mobile phones to traditional treadmills. It is not limited to venues, flexible equipment, and easy to operate. It realizes the perfect combination of virtual and reality, making runners feel in the natural environment and enhancing the fun of running.
本发明解决所述技术问题采用的技术方案是,提供一种基于虚拟现实技术的跑步训练系统,其特征在于该系统包括:跑步机、测速组件、装有信号处理及控制程序和视频影像的计算机、接收端蓝牙以及装有手机的VR眼镜。所述测速组件佩戴在跑步者的单腿或手臂上,包括陀螺仪加速度计、三端稳压芯片、发送端蓝牙、电池和电源开关。陀螺仪加速度计的串行数据输出端TX与发送端蓝牙的接收数据端RXD连接,陀螺仪加速度计的串行数据输入端RX与发送端蓝牙的发送数据端TXD连接,发送端蓝牙与接收端蓝牙进行蓝牙无线通信;电池的正极通过电源开关与三端稳压芯片的输入端Input连接,三端稳压芯片的输出端Output同时连接在陀螺仪加速度计的VCC端和发送端蓝牙的电源输入端+5V,陀螺仪加速度计、发送端蓝牙及三端稳压芯片的GND端均接在电池的负极;陀螺仪加速度计、三端稳压芯片、发送端蓝牙、电池和电源开关均集成在一块电路板上;测速组件通过发送端蓝牙、接收端蓝牙与计算机进行蓝牙通信,接收端蓝牙插在计算机上,所述计算机同时与装有手机的VR眼镜上的手机通过WiFi无线连接,所述手机和计算机上均安装有多屏互动软件的客户端;装有手机的VR眼镜佩戴在跑步者的头部。The technical solution adopted by the present invention to solve the technical problem is to provide a running training system based on virtual reality technology, which is characterized in that the system includes: a treadmill, a speed measuring component, a computer equipped with signal processing and control programs and video images , Bluetooth on the receiving end, and VR glasses equipped with a mobile phone. The speed measurement component is worn on the runner's single leg or arm, and includes a gyroscope accelerometer, a three-terminal voltage regulator chip, a sending end Bluetooth, a battery and a power switch. The serial data output terminal TX of the gyroscope accelerometer is connected to the receiving data terminal RXD of the transmitting end Bluetooth, the serial data input terminal RX of the gyroscope accelerometer is connected to the transmitting data terminal TXD of the transmitting end Bluetooth, and the transmitting end Bluetooth is connected to the receiving end Bluetooth for Bluetooth wireless communication; the positive pole of the battery is connected to the input terminal Input of the three-terminal voltage regulator chip through the power switch, and the output terminal Output of the three-terminal voltage regulator chip is connected to the VCC terminal of the gyroscope accelerometer and the power input of the Bluetooth transmitter at the same time Terminal +5V, the GND terminal of the gyroscope accelerometer, the Bluetooth transmitter and the three-terminal voltage regulator chip are all connected to the negative pole of the battery; On one circuit board; the speed measuring component communicates with the computer through the bluetooth at the sending end and the bluetooth at the receiving end, and the bluetooth at the receiving end is plugged into the computer, and the computer is wirelessly connected to the mobile phone on the VR glasses equipped with the mobile phone through WiFi at the same time. Both the mobile phone and the computer are installed with a multi-screen interactive software client; the VR glasses equipped with the mobile phone are worn on the runner's head.
与现有技术相比,本发明一种基于虚拟现实技术的跑步训练系统的有益效果是:Compared with prior art, the beneficial effect of a kind of running training system based on virtual reality technology of the present invention is:
将虚拟现实技术(VR)应用到传统的跑步机训练中,使室内锻炼者可以融入到虚拟自然环境中,增强户外运动的真实感,实现人与虚拟环境的直观自然地交互。当跑步者在跑步机上跑步时,眼前掠过的风光如同在室外跑步时一样。随着跑步者跑步速度快慢的变化,眼见的风景移动速度也会随着跑步速度的变化而变化。本发明系统小巧实用,而且灵活轻便,不会对跑步者造成不必要的负担。Applying virtual reality technology (VR) to traditional treadmill training enables indoor exercisers to blend into the virtual natural environment, enhances the sense of reality of outdoor sports, and realizes the intuitive and natural interaction between people and the virtual environment. When runners run on the treadmill, the scenery passing by before them is the same as when they are running outside. As the running speed of the runner changes, the moving speed of the scenery seen will also change with the running speed. The system of the present invention is compact and practical, flexible and light, and will not cause unnecessary burden to runners.
本发明一种基于虚拟现实技术的跑步训练系统突出的实质性特点是:The prominent substantive features of a kind of running training system based on virtual reality technology of the present invention are:
1)在传感器的使用上,通过一个陀螺仪加速度计采集跑步者腿部改变的角度信号,控制视频影像播放速度。测速组件使用起来小巧轻便、简易实用、易携带,不会增加跑步者的负担。1) In the use of the sensor, a gyroscope accelerometer is used to collect the angle signal of the runner's leg change to control the playback speed of the video image. The speed measurement component is small and light, simple and practical, easy to carry, and will not increase the burden on the runner.
2)跑步者在跑步训练时,使用头戴式装有手机的VR眼镜4作为影像播放器,产生3D的影像。跑步速度的变化信号,经过计算机3数据处理,进而改变影像每秒钟播放的帧数数量,达到改变视频播放速度,使在室内使用跑步机的人,有置身于室外环境中跑步的感觉。2) During running training, the runner uses the head-mounted VR glasses 4 equipped with a mobile phone as an image player to generate 3D images. The change signal of the running speed is processed by the computer 3, and then the number of frames played per second of the image is changed to change the video playback speed, so that people who use the treadmill indoors have the feeling of running in an outdoor environment.
3)各设备之间信号无线传输,在信号覆盖的范围内,计算机3可以灵活放置。不局限于某一台跑步机,使用范围更广。由于跑步的时候跑步者头戴着装有手机的VR眼镜,出于安全考虑,最好使用装有扶手的跑步机。3) Signals are transmitted wirelessly between devices, and the computer 3 can be placed flexibly within the range covered by the signals. Not limited to a certain treadmill, it can be used in a wider range. Since runners wear VR glasses equipped with mobile phones when running, it is better to use a treadmill with handrails for safety reasons.
附图说明Description of drawings
图1本发明一种基于虚拟现实技术的跑步训练系统的硬件结构框图;Fig. 1 the present invention a kind of hardware structure block diagram based on the running training system of virtual reality technology;
图2本发明一种基于虚拟现实技术的跑步训练系统实例的测速组件的电路连接图;Fig. 2 is a circuit connection diagram of the speed measuring assembly of a running training system example based on virtual reality technology of the present invention;
图3本发明一种基于虚拟现实技术的跑步训练系统的信号处理及控制程序的程序流程图;Fig. 3 the program flowchart of the signal processing and control program of a kind of running training system based on virtual reality technology of the present invention;
图中,1跑步机、2测速组件、3计算机、4装有手机的VR眼镜、5陀螺仪加速度计、6发送端蓝牙、7电池、8三端稳压芯片、9电源开关、10接收端蓝牙。In the figure, 1 treadmill, 2 speed measuring component, 3 computer, 4 VR glasses with mobile phone, 5 gyroscope accelerometer, 6 sending end Bluetooth, 7 battery, 8 three-terminal voltage regulator chip, 9 power switch, 10 receiving end Bluetooth.
具体实施方式detailed description
下面结合实例及附图进一步介绍本发明,但并不以此作为对本申请权利要求保护范围的限定。The present invention will be further described below in conjunction with examples and accompanying drawings, but it is not used as a limitation to the protection scope of the claims of the present application.
本发明一种基于虚拟现实技术的跑步训练系统(简称系统,参见图1-3)包括:跑步机1、测速组件2、装有信号处理及控制程序和视频影像的计算机3、接收端蓝牙10以及装有手机的VR眼镜4。所述测速组件2(参见图2)佩戴在跑步者的单腿或手臂上,包括陀螺仪加速度计5、三端稳压芯片8、发送端蓝牙6、电池7和电源开关9。其电路连接:陀螺仪加速度计5的串行数据输出端TX与发送端蓝牙6的接收数据端RXD连接,陀螺仪加速度计5的串行数据输入端RX与发送端蓝牙6的发送数据端TXD连接,发送端蓝牙6与接收端蓝牙10进行蓝牙无线通信;电池7的正极通过电源开关9与三端稳压芯片8的输入端Input连接,三端稳压芯片8的输出端Output同时连接在陀螺仪加速度计5的VCC端和发送端蓝牙6的电源输入端+5V,陀螺仪加速度计5、发送端蓝牙6及三端稳压芯片8的GND端均接在电池7的负极;陀螺仪加速度计5、三端稳压芯片8、发送端蓝牙6、电池7和电源开关9均集成在一块电路板上。测速组件2通过发送端蓝牙6、接收端蓝牙10与计算机3进行蓝牙通信,接收端蓝牙10插在计算机3的usb接口上。所述计算机3同时与装有手机的VR眼镜4上的手机通过WIFI无线连接,且手机和计算机3上均安装有多屏互动软件的客户端,手机和计算机3开启多屏互动软件,就可以在手机屏幕上看到与计算机3屏幕上显示的相同图像。A kind of running training system based on virtual reality technology of the present invention (abbreviation system, referring to Fig. 1-3) comprises: treadmill 1, speed measuring assembly 2, the computer 3 that signal processing and control program and video image are housed, receiver bluetooth 10 And VR glasses 4 equipped with mobile phones. The speed measurement assembly 2 (see FIG. 2 ) is worn on the runner's single leg or arm, and includes a gyroscope accelerometer 5, a three-terminal voltage regulator chip 8, a sending end Bluetooth 6, a battery 7 and a power switch 9. Its circuit connection: the serial data output terminal TX of the gyroscope accelerometer 5 is connected to the receiving data terminal RXD of the transmitting terminal Bluetooth 6, the serial data input terminal RX of the gyroscope accelerometer 5 is connected to the transmitting data terminal TXD of the transmitting terminal Bluetooth 6 connection, Bluetooth 6 at the sending end and Bluetooth 10 at the receiving end for Bluetooth wireless communication; the positive pole of the battery 7 is connected to the input terminal Input of the three-terminal voltage regulator chip 8 through the power switch 9, and the output terminal Output of the three-terminal voltage regulator chip 8 is connected to the The VCC terminal of the gyroscope accelerometer 5 and the power input terminal of the Bluetooth 6 at the transmitting end are +5V, and the GND terminals of the gyroscope accelerometer 5, the Bluetooth 6 at the transmitting end and the three-terminal voltage regulator chip 8 are all connected to the negative pole of the battery 7; The accelerometer 5, the three-terminal voltage regulator chip 8, the Bluetooth transmitter 6, the battery 7 and the power switch 9 are all integrated on one circuit board. The speed measurement component 2 communicates with the computer 3 through the bluetooth 6 at the sending end and the bluetooth 10 at the receiving end, and the bluetooth 10 at the receiving end is inserted into the usb interface of the computer 3 . Described computer 3 is connected with the mobile phone on the VR glasses 4 equipped with mobile phone through WIFI wirelessly at the same time, and the client terminal of multi-screen interactive software is all installed on mobile phone and computer 3, mobile phone and computer 3 open multi-screen interactive software, just can See the same image on the screen of the mobile phone as displayed on the screen of the computer 3 .
测速组件2中的陀螺仪加速度计5采集跑步者单腿变化的角度信号,每10ms通过发送端蓝牙6给计算机3发送信号,计算机3通过接收端蓝牙10接收信号。经计算处理后将该角度信号换算成视频图像变化的播放帧数,控制视频播放速度,计算机3与VR眼镜4上的手机通过WIFI无线连接,实现同步播放视频影像。The gyroscope accelerometer 5 in the speed measurement component 2 collects the angle signal of the runner's single leg change, and sends a signal to the computer 3 through the Bluetooth 6 at the sending end every 10 ms, and the computer 3 receives the signal through the Bluetooth 10 at the receiving end. After calculation and processing, the angle signal is converted into the number of playing frames of video image changes, and the video playing speed is controlled. The computer 3 and the mobile phone on the VR glasses 4 are connected wirelessly through WIFI to realize synchronous playing of video images.
本发明系统的进一步特征在于,所述测速组件还包括有盒子,集成有陀螺仪加速度计5、三端稳压芯片8、发送端蓝牙6、电池7和电源开关9的电路板被固定在包装盒内。电池7为12伏可充电电池,陀螺仪加速度计5的型号为MPU-6050,发送端蓝牙6的型号为HC-05。A further feature of the system of the present invention is that the speed measuring component also includes a box, and the circuit board integrated with the gyroscope accelerometer 5, the three-terminal voltage regulator chip 8, the sending end Bluetooth 6, the battery 7 and the power switch 9 is fixed in the packaging inside the box. The battery 7 is a 12-volt rechargeable battery, the model of the gyroscope accelerometer 5 is MPU-6050, and the model of the Bluetooth 6 at the sending end is HC-05.
本发明系统中所述的跑步机1、计算机3、装有手机的VR眼镜4均为现有设备。跑步机1、测速组件2、计算机3、装有手机的VR眼镜4,这四大硬件设备皆各自独立运行,互不牵扯,之间的信号传输均为无线传输。所述测速组件2的大小与手掌差不多,重量为200克左右,可以绑在脚踝或手臂等肢体上,并且不妨碍运动。The treadmill 1 described in the system of the present invention, the computer 3, and the VR glasses 4 equipped with a mobile phone are all existing equipment. The treadmill 1, the speed measuring component 2, the computer 3, and the VR glasses equipped with a mobile phone 4, these four major hardware devices all operate independently without interfering with each other, and the signal transmission between them is all wireless transmission. The size of the speed measuring component 2 is about the same as that of the palm, and the weight is about 200 grams, which can be tied to limbs such as ankles or arms without hindering movement.
本发明一种基于虚拟现实技术的跑步训练系统,需要在有WIFI的环境下运行,具体信号处理及控制程序的程序流程是:A running training system based on virtual reality technology of the present invention needs to run in an environment with WIFI, and the program flow of the specific signal processing and control program is:
步骤一:清除历史数据,预设参数,所述参数包括跑步者腿长和循环次数n;Step 1: Clear historical data and preset parameters, which include the runner's leg length and number of cycles n;
步骤二:驱动接收端蓝牙10所插接的计算机usb接口的开启程序,计算机3接收跑步者直立佩戴测速组件时陀螺仪加速度计5采集的角度信号,该角度信号以二进制信号形式输入进计算机,计算机接收到该角度信号后,根据陀螺仪加速度计5的角度计算公式(该公式明确记载在陀螺仪加速度计5的说明书上)求出初始角度;Step 2: drive the opening program of the computer usb interface plugged in by the receiving end Bluetooth 10, the computer 3 receives the angle signal collected by the gyroscope accelerometer 5 when the runner wears the speed measuring component upright, the angle signal is input into the computer in the form of a binary signal, After computer receives this angle signal, calculate initial angle according to the angle calculation formula of gyroscope accelerometer 5 (this formula is clearly recorded on the instruction manual of gyroscope accelerometer 5);
步骤三:跑步者开始运动,计算机3每Δt ms接收一次陀螺仪加速度计5采集的角度信号,计算机3会持续接收n次由陀螺仪加速度计5提供的信号,共得到n组数据;再根据陀螺仪加速度计5的角度计算公式求出当前时刻的角度,得到固定间隔变化的、有周期的、有峰值的离散角度值,且记录采集n组数据的时间为t,t=Δt*n,单位ms;所述Δt与具体使用的陀螺仪加速度计的型号有关;Step 3: The runner starts exercising, the computer 3 receives the angle signal collected by the gyroscope accelerometer 5 every Δt ms, and the computer 3 will continue to receive the signals provided by the gyroscope accelerometer 5 for n times, and obtain n sets of data in total; then according to The angle calculation formula of the gyroscope accelerometer 5 finds the angle at the current moment, obtains the discrete angle value that changes at a fixed interval, has a period, and has a peak value, and the time for recording and collecting n groups of data is t, t=Δt*n, The unit is ms; the Δt is related to the model of the specific gyroscope accelerometer used;
步骤四:计算迈步步长和向前迈步的次数:Step 4: Calculate the stride length and the number of forward steps:
将步骤三求出的全部当前时刻的角度减去步骤二求得的初始角度,得到一组相对角度,在相对角度中选取最大值θ,θ的单位为度,再结合已知的跑步者腿长,经过三角函数和勾股定理的计算,得到该最大值下对应的最大的迈步步长;Subtract the initial angle obtained in step 2 from all the current angles obtained in step 3 to obtain a set of relative angles. Select the maximum value θ in the relative angle, the unit of θ is degree, and then combine the known runner's leg Long, through the calculation of trigonometric functions and the Pythagorean theorem, the maximum step length corresponding to the maximum value can be obtained;
设定角度偏差范围为[θ-10,θ],当在时间t内记录的当前时刻的相对角度在此角度偏差范围内,记为人腿向前迈了一步,统计时间t内在此角度偏差范围内的相对角度个数,该相对角度个数即为人腿向前迈步的次数;Set the angle deviation range to [θ-10,θ], when the relative angle recorded at the current moment within the time t is within this angle deviation range, it is recorded as the human leg has taken a step forward, and within this angle deviation range within the statistical time t The number of relative angles within , the number of relative angles is the number of times the human leg steps forward;
步骤五:计算跑步速度:Step 5: Calculate running speed:
用步骤四计算得到的迈步步长除以采集n次数据的时间t,再乘以向前迈步的次数,得到跑步者的跑步速度;Divide the step length calculated in step 4 by the time t of collecting n times of data, and then multiply by the number of steps forward to get the running speed of the runner;
步骤六:速度限制:Step Six: Speed Limit:
设定速度限制为0.5-1.5m/s;当速度变化量,即步骤五得到的两次跑步速度的差值,超过速度限制时,将跑步的速度换算为新的播放帧数,控制计算机3中视频播放速度,执行步骤七;当速度变化量未超过速度限制时,仍以原帧数播放视频,返回执行步骤三;设置为0.5-1.5m/s的速度限制使有一个弹性区间,这样不会因为跑步者短暂的突然地增速或者减速而改变视频播放的快慢;实际实验中,选择速度限制为1m/s;Set the speed limit to 0.5-1.5m/s; when the speed change, that is, the difference between the two running speeds obtained in step 5, exceeds the speed limit, convert the running speed into a new number of playback frames, and control the computer 3 For medium video playback speed, perform step 7; when the speed change does not exceed the speed limit, still play the video at the original frame number, and return to step 3; set the speed limit to 0.5-1.5m/s to have an elastic range, so The speed of video playback will not be changed due to the short-term sudden acceleration or deceleration of the runner; in the actual experiment, the selected speed is limited to 1m/s;
步骤七:当超过速度限制后,手机会弹出一个新的视频的播放窗口,点击播放按钮就可以新的播放速度播放视频,返回步骤三。Step 7: When the speed limit is exceeded, a new video playback window will pop up on the phone, click the play button to play the video at the new playback speed, and return to step 3.
本发明系统中n设为15-30,循环次数越多,跑步运动的时间越长。In the system of the present invention, n is set to 15-30, and the more the number of cycles, the longer the running time.
本发明一种基于虚拟现实技术的跑步训练系统的使用方法是:在WIFI环境中,首先,跑步者将测速组件2固定在单侧小腿上,头部带上装有手机的VR眼镜4,打开测速组件2上的电源开关9,同时打开用以信号处理及控制并装有视频影像的计算机3,原地站立3秒钟,以便读取初始角度值;然后,跑步者开始在跑步机1上跑步,陀螺仪加速度计5采集到跑步者单腿移动的角度信号之后,通过蓝牙无线传输到计算机3进行数据处理,得到每秒的播放帧数,用以控制播放视频速度;手机和计算机通过多屏互动同步播放视频影像,跑步者在装有手机的VR眼镜4上,看到与跑步速度相对应播放的3D“沿途风光”影像;跑步完成后,关闭测速组件2上的电源开关9,关闭计算机3,解开测速组件2。再次使用时,开启程序会自动清除历史数据。A method for using the running training system based on virtual reality technology of the present invention is as follows: in the WIFI environment, first, the runner fixes the speed measurement assembly 2 on one side of the calf, and wears the VR glasses 4 with a mobile phone on the head, and turns on the speed measurement The power switch 9 on the component 2 turns on the computer 3 used for signal processing and control and equipped with video images at the same time, and stands on the spot for 3 seconds so as to read the initial angle value; then, the runner starts running on the treadmill 1 After the gyroscope accelerometer 5 collects the angle signal of the runner's single leg movement, it is wirelessly transmitted to the computer 3 for data processing through Bluetooth, and the number of playback frames per second is obtained to control the playback video speed; Interactively play video images synchronously, and the runner sees the 3D "scenery along the way" image played corresponding to the running speed on the VR glasses 4 equipped with the mobile phone; after running, turn off the power switch 9 on the speed measuring component 2, and turn off the computer 3. Unlock the speed measuring component 2. When you use it again, opening the program will automatically clear the historical data.
本发明一种基于虚拟现实技术的跑步训练系统的视频播放应用多屏互动软件(手机屏幕与计算机屏幕的互动,使计算机屏幕图像投影到手机屏幕上。应用多屏互动软件需要在WIFI的环境中使用。)技术,控制手机与计算机3同步播放视频影像。将手机放入VR眼镜中,通过光学转换,平面视频将变为3D的效果。这里所述的多屏互动软件为现有软件。The video playback of a running training system based on virtual reality technology of the present invention uses multi-screen interactive software (the interaction between the mobile phone screen and the computer screen makes the computer screen image projected on the mobile phone screen. The application of the multi-screen interactive software needs to be in the environment of WIFI Use.) technology to control the mobile phone and the computer 3 to play video images synchronously. Put the mobile phone into the VR glasses, and through optical conversion, the flat video will become 3D. The multi-screen interactive software described here is existing software.
本发明系统在采集角度信号时,可以将测速组件2佩戴在单腿或手臂的任意位置,考虑了跑步者每一步的迈步差异,选取了小于最大值10度的范围为角度偏差范围,在这个角度偏差范围内都看作人腿迈向前的最大相对角度,统计这个角度偏差范围内的相对角度个数。当n=20时,将采集的20个相对角度数值点连成线,会形成类似正弦形式的波形,最高的波峰就是这组数据中的最大值,用这个最大值求得迈步的步长。每个波峰的数值都不一样,所以设置一个角度偏差范围,到达这个角度偏差范围内就算一次迈步,这样就可以找到所采集时间内到达波峰的次数,波峰的多少就是迈步的次数。When the system of the present invention collects angle signals, the speed measurement assembly 2 can be worn on any position of a single leg or arm, and the difference in each step of the runner is considered, and the range of 10 degrees less than the maximum value is selected as the angle deviation range. The angle deviation range is regarded as the maximum relative angle of the human leg moving forward, and the number of relative angles within this angle deviation range is counted. When n=20, connecting the collected 20 relative angle value points into a line will form a sinusoidal waveform, the highest peak is the maximum value in this set of data, and use this maximum value to obtain the step length. The value of each peak is different, so set an angle deviation range, and reach this angle deviation range as one step, so that you can find the number of times you reach the peak within the collection time, and the number of peaks is the number of steps.
本发明所涉及的元器件均可通过商购获得,未述及之处适用于现有技术。The components and parts involved in the present invention can be obtained commercially, and the parts not mentioned are applicable to the prior art.
Claims (4)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710456083.9A CN107029409A (en) | 2017-06-16 | 2017-06-16 | A kind of running training system based on virtual reality technology |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710456083.9A CN107029409A (en) | 2017-06-16 | 2017-06-16 | A kind of running training system based on virtual reality technology |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN107029409A true CN107029409A (en) | 2017-08-11 |
Family
ID=59542391
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710456083.9A Withdrawn CN107029409A (en) | 2017-06-16 | 2017-06-16 | A kind of running training system based on virtual reality technology |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN107029409A (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107550700A (en) * | 2017-10-25 | 2018-01-09 | 浙江通耀科技有限公司 | A kind of Intelligent eyesight training method |
| CN107866030A (en) * | 2017-11-01 | 2018-04-03 | 江苏华粮机械有限公司 | A kind of amusement type treadmill |
| CN109032338A (en) * | 2017-12-30 | 2018-12-18 | 广州大正新材料科技有限公司 | A kind of interactive runway and interactive running method |
| CN110090428A (en) * | 2019-06-05 | 2019-08-06 | 东北大学 | A kind of virtual reality system applied to treadmill |
| US20200260995A1 (en) * | 2019-02-19 | 2020-08-20 | Zwift, Inc. | Physical movement tracking |
Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| DE102007031931A1 (en) * | 2007-07-09 | 2009-01-15 | Rafail Rabkin | Person running movements training method for exercise device, involves selecting running speed of persons on exercise device freely, and synchronizing speed of motion image on monitor with running speed of person |
| CN102353383A (en) * | 2011-06-16 | 2012-02-15 | 浙江大学 | Method for step counting and mileage reckoning based on single-axis gyroscope |
| CN105467591A (en) * | 2015-12-18 | 2016-04-06 | 天津极睿软件技术开发有限公司 | System and method for controlling virtual reality |
| CN105892073A (en) * | 2015-01-26 | 2016-08-24 | 王志冲 | Virtual reality glasses based on flexible smart phone |
| CN105935184A (en) * | 2016-07-06 | 2016-09-14 | 张远海 | An intelligent wristband with jogging frequency guidance function |
| CN105975753A (en) * | 2016-04-28 | 2016-09-28 | 努比亚技术有限公司 | Method for calculating moving speed of user and mobile terminal |
| CN106237603A (en) * | 2016-08-19 | 2016-12-21 | 宇龙计算机通信科技(深圳)有限公司 | Running method, device and the terminal of a kind of virtual reality |
| CN205982821U (en) * | 2016-06-08 | 2017-02-22 | 北京永利范思科技有限公司 | A kind of VR glasses with external motion tracking sensor suitable for iPhone |
| CN106821391A (en) * | 2017-03-23 | 2017-06-13 | 北京精密机电控制设备研究所 | Body gait acquisition analysis system and method based on inertial sensor information fusion |
| CN206809712U (en) * | 2017-06-16 | 2017-12-29 | 河北工业大学 | A kind of running training system based on virtual reality technology |
-
2017
- 2017-06-16 CN CN201710456083.9A patent/CN107029409A/en not_active Withdrawn
Patent Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| DE102007031931A1 (en) * | 2007-07-09 | 2009-01-15 | Rafail Rabkin | Person running movements training method for exercise device, involves selecting running speed of persons on exercise device freely, and synchronizing speed of motion image on monitor with running speed of person |
| CN102353383A (en) * | 2011-06-16 | 2012-02-15 | 浙江大学 | Method for step counting and mileage reckoning based on single-axis gyroscope |
| CN105892073A (en) * | 2015-01-26 | 2016-08-24 | 王志冲 | Virtual reality glasses based on flexible smart phone |
| CN105467591A (en) * | 2015-12-18 | 2016-04-06 | 天津极睿软件技术开发有限公司 | System and method for controlling virtual reality |
| CN105975753A (en) * | 2016-04-28 | 2016-09-28 | 努比亚技术有限公司 | Method for calculating moving speed of user and mobile terminal |
| CN205982821U (en) * | 2016-06-08 | 2017-02-22 | 北京永利范思科技有限公司 | A kind of VR glasses with external motion tracking sensor suitable for iPhone |
| CN105935184A (en) * | 2016-07-06 | 2016-09-14 | 张远海 | An intelligent wristband with jogging frequency guidance function |
| CN106237603A (en) * | 2016-08-19 | 2016-12-21 | 宇龙计算机通信科技(深圳)有限公司 | Running method, device and the terminal of a kind of virtual reality |
| CN106821391A (en) * | 2017-03-23 | 2017-06-13 | 北京精密机电控制设备研究所 | Body gait acquisition analysis system and method based on inertial sensor information fusion |
| CN206809712U (en) * | 2017-06-16 | 2017-12-29 | 河北工业大学 | A kind of running training system based on virtual reality technology |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107550700A (en) * | 2017-10-25 | 2018-01-09 | 浙江通耀科技有限公司 | A kind of Intelligent eyesight training method |
| CN107866030A (en) * | 2017-11-01 | 2018-04-03 | 江苏华粮机械有限公司 | A kind of amusement type treadmill |
| CN109032338A (en) * | 2017-12-30 | 2018-12-18 | 广州大正新材料科技有限公司 | A kind of interactive runway and interactive running method |
| US20200260995A1 (en) * | 2019-02-19 | 2020-08-20 | Zwift, Inc. | Physical movement tracking |
| US12023148B2 (en) * | 2019-02-19 | 2024-07-02 | Zwift, Inc. | Physical movement tracking |
| CN110090428A (en) * | 2019-06-05 | 2019-08-06 | 东北大学 | A kind of virtual reality system applied to treadmill |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107029409A (en) | A kind of running training system based on virtual reality technology | |
| CN109692003B (en) | Training system is corrected to children gesture of running | |
| CN108939418B (en) | A VR fitness interactive system based on unity 3D | |
| US9372534B2 (en) | Interactive wearable videogame through the use of wireless electronic sensors and physical objects | |
| US8717254B1 (en) | Portable motion sensor and video glasses system for displaying a real time video display to a user while exercising | |
| CN206809712U (en) | A kind of running training system based on virtual reality technology | |
| CN104801039A (en) | Virtual reality gaming device and scene realization method | |
| CN109646876B (en) | A treadmill based on virtual scene sharing and its fitness method | |
| CN107341351A (en) | Intelligent body-building method, apparatus and system | |
| CN103550911A (en) | Indoor network bicycle system for realizing multi-user networking competition and control method thereof | |
| CN107952215A (en) | A kind of body-building bicycle and application method based on VR equipment | |
| CN109045571A (en) | A kind of application method of virtual reality technology in simulation rowing machine | |
| CN105709369A (en) | Multifunctional intelligent treadmill | |
| CN104258555A (en) | RGBD vision sensing type double-fist ball hitting fitness interaction system | |
| CN107930087A (en) | A kind of body-building apparatus based on Internet of Things shares ancillary equipment | |
| CN106823266A (en) | A kind of intelligent running machine and method of work | |
| CN206577298U (en) | A kind of intelligent running machine | |
| CN106880945A (en) | Interior based on virtual reality glasses is ridden body-building system | |
| CN111450480B (en) | Treadmill motion platform based on VR | |
| CN113017615A (en) | Virtual interactive motion auxiliary system and method based on inertial motion capture equipment | |
| CN209221474U (en) | A kind of VR system | |
| RU104852U1 (en) | SPORT LOAD CONTROL SYSTEM AND SPORTS SIMULATOR FOR TRAINING OR COMPETITIONS | |
| TWM582409U (en) | Virtual reality underwater exercise training device | |
| CN203102284U (en) | Tablet personal computer used for motion sensing games | |
| CN207856256U (en) | A kind of shared ancillary equipment of the body-building apparatus based on Internet of Things |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| WW01 | Invention patent application withdrawn after publication |
Application publication date: 20170811 |
|
| WW01 | Invention patent application withdrawn after publication |