A kind of equipment resistance or gradient autocontrol method and system based on VR and AI

文档序号:1747437 发布日期:2019-11-29 浏览:25次 中文

阅读说明:本技术 一种基于vr和ai的器材阻力或坡度自动控制方法及系统 (A kind of equipment resistance or gradient autocontrol method and system based on VR and AI ) 是由 余军涛 于 2019-08-14 设计创作,主要内容包括:本发明公开了一种基于VR和AI的器材阻力或坡度自动控制方法及系统,其中该方法包括如下步骤:分析用户的身体数据和运动数据,得到适合该用户的运动处方;根据运动处方计算不同时间段内对应的坡度值;根据运动处方中不同时间段内对应的坡度值,用VR技术自动生成虚拟运动场景,所述虚拟运动场景中各小段场景的坡度与运动处方中不同的坡度相对应;当用户进行运动时,根据用户运动情况实时更新虚拟运动场景的坡度;计算虚拟人物当前位置的坡度或坡度对应的阻力,通过软件发送相应指令给健身或康复器材中的阻力或坡度调整机构,自动调整器材的阻力或坡度。该方法给用户身历其境的代入感,趣味性和专业性强。(The invention discloses a kind of equipment resistance based on VR and AI or gradient autocontrol method and systems, wherein this method comprises the following steps: analyzing the body data and exercise data of user, obtain the exercise prescription for being suitble to the user;Corresponding value of slope in different time sections is calculated according to exercise prescription;According to corresponding value of slope in different time sections in exercise prescription, fantasy sport scene is automatically generated with VR technology, the gradient of each segment scene gradient different from exercise prescription is corresponding in the fantasy sport scene;When user moves, according to the gradient of user movement situation real-time update fantasy sport scene;The gradient or the corresponding resistance of the gradient for calculating virtual portrait current location send command adapted thereto to the resistance or grade adjustment mechanism in body-building or rehabilitation material, the resistance or the gradient of adjust automatically equipment by software.The substitution sense that this method is personally on the scene to user, interest and strongly professional.)

1. a kind of equipment resistance or gradient autocontrol method based on VR and AI, it is characterised in that include the following steps:

The body data and exercise data for analyzing user, obtain the exercise prescription for being suitble to the user;

Corresponding value of slope in different time sections is calculated according to exercise prescription;

According to corresponding value of slope in different time sections in exercise prescription, fantasy sport scene is automatically generated with VR technology, it is described The gradient of each segment scene gradient different from exercise prescription is corresponding in fantasy sport scene;

When user moves, according to the gradient of user movement situation real-time update fantasy sport scene.

2. equipment resistance or gradient autocontrol method based on VR and AI as described in claim 1, it is characterised in that:

The exercise prescription includes the movement velocity and impedance value that user is suitble in the different periods.

3. equipment resistance or gradient autocontrol method based on VR and AI as described in claim 1, it is characterised in that according to Exercise prescription calculates corresponding value of slope in different time sections, obtains in the following way:

F=(M+m) * g (μ * cos (θ)+sin (θ));

Wherein, F is people's driving force corresponding to resistance specified in exercise prescription;M is the weight of user;M is sports apparatus Quality, g are gravity coefficient;μ is coefficient of friction;θ is the gradient.

4. equipment resistance or gradient autocontrol method based on VR and AI as described in claim 1, it is characterised in that according to Corresponding value of slope in different time sections in exercise prescription, automatically generates fantasy sport scene with VR technology, includes the following steps:

Pre-generate a big fantasy sport scene, include in scene an end to end road and road on both sides of the road Natural landscape;

According to corresponding value of slope in different time sections in exercise prescription, each segment road in adjust automatically fantasy sport scene The gradient, the value of slope for keeping the gradient different from exercise prescription are corresponding;

The height relief of adjust automatically road landform on both sides of the road and natural landscape, is allowed to and road automatic attaching.

5. equipment resistance or gradient autocontrol method based on VR and AI as claimed in claim 4, it is characterised in that according to Corresponding value of slope in different time sections in exercise prescription, the gradient of each segment road in the adjust automatically fantasy sport scene, The value of slope for keeping the gradient different from exercise prescription is corresponding, includes the following steps:

According to corresponding value of slope divides entire fantasy sport scene in different time sections in exercise prescription;

A value of slope is distributed for every segment virtual scene of division, wherein every segment virtual scene of division corresponds at movement Different value of slope in side;

The gradient of road in the segment virtual scene is adjusted according to value of slope.

6. equipment resistance or gradient autocontrol method based on VR and AI as described in claim 1, it is characterised in that when with When family is moved, according to the gradient of user movement situation real-time update fantasy sport scene, include the following steps:

When user moves, judgement time when the next section fantasy sport scene different from current hill grade value reaches is obtained Point;

It obtains and judges time point toward the user movement information for being pushed forward the threshold value moment, if the user movement information and exercise prescription The motion information at the corresponding moment is identical, then the gradient of fantasy sport scene is constant;

Otherwise, it is adjusted according to the motion information of active user and exercise prescription each after judging time point in fantasy sport scene The gradient of segment road, the value of slope for keeping the gradient different from exercise prescription are corresponding.

7. equipment resistance or gradient autocontrol method based on VR and AI as claimed in claim 6, it is characterised in that according to The slope of each segment road after time point is judged in motion information and exercise prescription the adjustment fantasy sport scene of active user Degree, the value of slope for keeping the gradient different from exercise prescription is corresponding, includes the following steps:

Tune when the next section fantasy sport scene different from current hill grade value reaches is calculated according to the motion information of active user Whole time point;

According to exercise prescription, the corresponding value of slope of next section of fantasy sport scene is obtained;

Using the adjustment time point as each section of fantasy sport scene value of slope subsequent in the starting point update exercise prescription corresponding time;

The gradient of road in each segment virtual scene on the route of movement is adjusted according to value of slope adjusted and time;

The height relief of adjust automatically road landform on both sides of the road and natural landscape, is allowed to and road automatic attaching.

8. equipment resistance or gradient autocontrol method based on VR and AI as described in claim 1, it is characterised in that also wrap Include following steps:

The health data of real-time monitoring user, the slope when the health data exception of user, in adjust automatically fantasy sport scene Degree, and the resistance of adjust automatically equipment.

9. equipment resistance or gradient autocontrol method based on VR and AI as claimed in claim 8, it is characterised in that:

When the health data of user is heart rate data, the health data of real-time monitoring user, when the health data of user is abnormal When, the gradient in adjust automatically fantasy sport scene includes the following steps:

The maximum heart rate of user is calculated according to the age of user;

The maximum safe heart of user is set, the heart rate information of real-time monitoring user, the heart rate of square user during user movement When information is greater than the maximum safe heart, the gradient is reduced to original gradient * λ % automatically, wherein λ is system according to user data Automatically the adjustment factor set.

10. equipment resistance or gradient autocontrol method based on VR and AI as described in claim 1, it is characterised in that also wrap Include following steps:

The gradient or the corresponding resistance of the gradient for calculating virtual portrait current location send command adapted thereto in equipment by software Resistance or grade adjustment mechanism, the resistance or the gradient of adjust automatically equipment.

11. a kind of equipment resistance or gradient automatic control system based on VR and AI, it is characterised in that including moving cell, virtually Scene unit, prescription acquiring unit;

Wherein, the prescription acquiring unit is used to analyze the body data and exercise data of user, obtains the fortune for being suitble to the user Dynamic prescription;

The virtual scenery elements include whole positions value of slope computing modules, current location resistance gradient computing module, virtual Scenario generating module and virtual scene adjust module;Wherein, whole position value of slope computing modules are used for according to the place The exercise prescription that square acquiring unit transmission comes calculates the movement velocity according to exercise prescription, the corresponding gradient in different time sections Value, and corresponding value of slope in the different time sections is transmitted to virtual scene generation module;The virtual scene generation module According to corresponding value of slope in different time sections in exercise prescription, fantasy sport scene is automatically generated with VR technology, it is described virtual The gradient of each segment scene gradient different from prescription is corresponding in moving scene works as user;The virtual scene adjusts module For the actual motion situation according to user, the gradient of real-time update fantasy sport scene, and the value of slope of the update is sent To virtual scene generation module, new fantasy sport scene is generated in real time;The current location resistance gradient computing module is used for The gradient of current location of the calculating virtual portrait in virtual scene or corresponding Resistance Value;

Moving cell is for providing the instrument of user movement.

Technical field

The present invention relates to a kind of equipment resistance or gradient autocontrol method based on VR and AI, while being related to a kind of realization The system of this method.

Background technique

Many equipment in conventional fitness equipment or rehabilitation material need knob or click keys on rotation equipment manually To change the resistance or the gradient when movement, such as Spinning, exercycle, public bus reserved for the disabled, treadmill.By taking Spinning as an example, move Sense bicycle is a kind of aerobic fitness equipment of outdoor movement of riding of simulation, also referred to as cardiorespiratory training equipment;It is longer by body The movement of time, appropriate intensity promote cardiovascular movement, accelerate metabolism, enhance heart and lung functions, to change The constitution of philanthropist's body.There are magnet or brake block in the metal flywheel periphery (or interior enclose) that existing Spinning generates resistance, passes through The distance of manpower mode, regulating magnet or brake block and metal flywheel adjusts drag size to realize wanting for different motion intensity It asks.When user for body-building adjust resistance add and subtract shelves, resistance increase or reduce, in the case where user movement frequency is constant speed, Distance and consumed calorie are also accordingly incremented by or increase and decrease.There are two this shortcomings that manually adjusting resistance: 1. by user hand Dynamic adjustment resistance inaccuracy, influences exercise or rehabilitation efficacy;2. manually adjusting resistance, current Resistance Value can not be transferred to soft Part can not carry out data statistics and analysis.

Resistance can be controlled by the key on equipment panel or by software now with some intelligent equipment, but It is or needs to be given an order by people by key or by people come operating software.It is practical new such as patent No. ZL201820939959 Type patent discloses a kind of body-building vehicle control for automatically adjusting resistance.Including flywheel, resistance device, resistance regulation device And instrument, resistance device, which is mounted at flywheel, to be connect close to or far from flywheel, resistance regulation device with instrument and resistance device, It can control position of the resistance device with respect to flywheel and obtains resistance gear information and show in instrument, resistance regulation dress Set including encoder and be sequentially connected the motor, gear transmission structure and screw rod sleeve arrangement of setting, screw rod sleeve arrangement with it is upper Resistance device connection is stated, encoder, which is mounted on motor it, can obtain motor speed.By bluetooth and USB interface transmission mode with Communication terminal equipment connection is able to use speed, distance, calorie and power that family facilitates acquisition current in real time.

When user adjusts resistance, motor task driven gear transmission structure work, gear transmission structure transmits power Screw rod sleeve arrangement is given, screw rod sleeve arrangement can convert rotary motion to linear motion, drive resistance device connected to it Opposite flywheel is close to or far from the drag size that change flywheel is subject to can solve and manually adjust resistance inaccuracy and can not obtain The problem of taking Resistance Value to carry out data analysis.But there is a problem in that: still to be manipulated by people, it cannot be by artificial The mode of intelligence automatically controls resistance or the gradient.

Summary of the invention

In view of the deficiencies of the prior art, primary technical problem to be solved by this invention is to provide a kind of based on VR and AI Equipment resistance or gradient autocontrol method.

Another technical problem to be solved by this invention provides a kind of equipment resistance or the gradient based on VR and AI and controls automatically System processed.

For achieving the above object, the present invention uses following technical solutions:

According to a first aspect of the embodiments of the present invention, a kind of equipment resistance or the gradient automatic control based on VR and AI is provided Method includes the following steps:

The body data and exercise data for analyzing user, obtain the exercise prescription for being suitble to the user;

Corresponding value of slope in different time sections is calculated according to exercise prescription;

According to corresponding value of slope in different time sections in exercise prescription, fantasy sport scene is automatically generated with VR technology, The gradient of each segment scene gradient different from exercise prescription is corresponding in the fantasy sport scene;

When user moves, according to the gradient of user movement situation real-time update fantasy sport scene.

Wherein more preferably, the exercise prescription includes the movement velocity and resistance that user is suitble in the different periods Numerical value.

Wherein more preferably, corresponding value of slope in different time sections is calculated according to exercise prescription, obtained in the following way:

F=(M+m) * g (μ * cos (θ)+sin (θ));

Wherein, F is people's driving force corresponding to resistance specified in exercise prescription;M is the weight of user;M is locomotory apparatus The quality of tool, g are gravity coefficient;μ is coefficient of friction;θ is the gradient.

Wherein more preferably, according to corresponding value of slope in different time sections in exercise prescription, void is automatically generated with VR technology Quasi- moving scene, includes the following steps:

A big fantasy sport scene is pre-generated, includes an end to end road and road two in scene The natural landscape on side;

According to corresponding value of slope in different time sections in exercise prescription, each segment road in adjust automatically fantasy sport scene The gradient on road, the value of slope for keeping the gradient different from exercise prescription are corresponding;

The height relief of adjust automatically road landform on both sides of the road and natural landscape, is allowed to and road automatic attaching.

Wherein more preferably, according to corresponding value of slope, the adjust automatically fantasy sport in different time sections in exercise prescription The gradient of each segment road in scene, the value of slope for keeping the gradient different from exercise prescription is corresponding, includes the following steps:

According to corresponding value of slope divides entire fantasy sport scene in different time sections in exercise prescription;

A value of slope is distributed for every segment virtual scene of division, wherein every segment virtual scene of division is to meeting the tendency of Different value of slope in dynamic prescription;

The gradient of road in the segment virtual scene is adjusted according to value of slope.

Wherein more preferably, when user moves, according to the slope of user movement situation real-time update fantasy sport scene Degree, includes the following steps:

When user moves, judgement when the next section fantasy sport scene different from current hill grade value reaches is obtained Time point;

It obtains and judges time point toward the user movement information for being pushed forward the threshold value moment, if the user movement information and movement The motion information at the prescription corresponding moment is identical, then the gradient of fantasy sport scene is constant;

Otherwise, according to the motion information of active user and exercise prescription adjustment fantasy sport scene in judge time point it The gradient of each segment road, the value of slope for keeping the gradient different from exercise prescription are corresponding afterwards.

When wherein more preferably, according to judging in the motion information of active user and exercise prescription adjustment fantasy sport scene Between put after each segment road the gradient, the value of slope for keeping the gradient different from exercise prescription is corresponding, includes the following steps:

When calculating the next section fantasy sport scene arrival different from current hill grade value according to the motion information of active user Adjustment time point;

According to exercise prescription, the corresponding value of slope of next section of fantasy sport scene is obtained;

When updating that subsequent each section of fantasy sport scene value of slope is corresponding in exercise prescription as starting point using the adjustment time point Between;

The gradient of road in each segment virtual scene on the route of movement is adjusted according to value of slope adjusted and time;

The height relief of adjust automatically road landform on both sides of the road and natural landscape, is allowed to and road automatic attaching.

Wherein more preferably, the equipment resistance or gradient autocontrol method based on VR and AI, further includes following steps:

The health data of real-time monitoring user, when the health data exception of user, in adjust automatically fantasy sport scene The gradient, and the resistance of adjust automatically equipment.

Wherein more preferably, when the health data of user is heart rate data, the health data of real-time monitoring user works as user Health data exception when, the gradient in adjust automatically fantasy sport scene includes the following steps:

The maximum heart rate of user is calculated according to the age of user;

The maximum safe heart of user is set, the heart rate information of real-time monitoring user during user movement, square user's When heart rate information is greater than the maximum safe heart, the gradient is reduced to original gradient * λ % automatically, wherein λ is system according to user The adjustment factor that data are set automatically.

Wherein more preferably, the equipment resistance or gradient autocontrol method based on VR and AI, further includes following steps:

The gradient or the corresponding resistance of the gradient for calculating virtual portrait current location send command adapted thereto to equipment by software In resistance or grade adjustment mechanism, the resistance or the gradient of adjust automatically equipment.

According to a second aspect of the embodiments of the present invention, a kind of equipment resistance or the gradient automatic control based on VR and AI is provided System, including moving cell, virtual scenery elements, prescription acquiring unit;

Wherein, the prescription acquiring unit is used to analyze the body data and exercise data of user, obtains being suitble to the user Exercise prescription;

The virtual scenery elements include whole positions value of slope computing module, current location resistance value of slope calculating mould Block, virtual scene generation module and virtual scene adjust module;Wherein, whole position value of slope computing modules are used for basis The exercise prescription that prescription acquiring unit transmission comes calculates the movement velocity according to exercise prescription, corresponding in different time sections The respective value of slope of all positions, and corresponding value of slope in the different time sections is transmitted to virtual scene generation module;Institute Virtual scene generation module is stated according to corresponding value of slope in different time sections in exercise prescription, is automatically generated virtually with VR technology Moving scene, the gradient of each segment scene gradient different from prescription is corresponding in the fantasy sport scene works as user;Institute Virtual scene adjustment module is stated for the actual motion situation according to user, the gradient of real-time update fantasy sport scene, and is incited somebody to action The value of slope of the update is sent to virtual scene generation module, generates new fantasy sport scene in real time;Current location resistance slope Degree computing module is used to calculate the corresponding Resistance Value of the gradient or the gradient of virtual portrait current location in virtual scene;

Moving cell is for providing the instrument of user movement.

Equipment resistance or gradient autocontrol method provided by the invention based on VR and AI can employ AI technology point certainly The body data and exercise data for analysing user, obtain the movement for being suitble to the user or rehabilitation prescription.Then screen in front of the user Virtual scene corresponding with the prescription is automatically generated and shown in curtain software, the gradient and prescription of each segment scene in the scene The middle different gradient is corresponding, to the substitution sense that user is personally on the scene, interest and strongly professional.

Detailed description of the invention

Fig. 1 is the flow chart of the equipment resistance or gradient autocontrol method provided by the present invention based on VR and AI;

Fig. 2 is the schematic diagram of the virtual scene of pre-generatmg in one embodiment provided by the present invention;

Fig. 3 be one embodiment provided by the present invention in, road grade according to exercise prescription adjust automatically schematic diagram;

Fig. 4 is in one embodiment provided by the present invention, and the landform of adjust automatically road on both sides of the road is allowed to automatic with road The schematic diagram of fitting;

Fig. 5 is the structural representation of the equipment resistance or gradient automatic control system provided by the present invention based on VR and AI Figure.

Specific embodiment

Detailed specific description is carried out to technology contents of the invention in the following with reference to the drawings and specific embodiments.

It is moved in such as riding outdoors, what the variation of resistance was mainly determined by the gradient, currently existing scheme only directly changes Variable resistance power can not intuitively show the corresponding upward slope scene of resistance, lack and substitute into sense.The Resistance Value of body-building or rehabilitation material is actually Simulate the gradient or water resistance, the windage etc. of outdoor sports.What is actually simulated such as the Resistance Value of Spinning is in outdoor ride Different gradient.The gradient is bigger, and it is bigger to represent Resistance Value.The value of slope of treadmill directly simulates the different gradient in outdoor running.

As shown in Figure 1, the equipment resistance or gradient autocontrol method provided by the present invention based on VR and AI, including such as Lower step: firstly, body data and exercise data based on AI technology analysis user (include historical movement data and current kinetic Data), obtain the exercise prescription for being suitble to the user;Secondly, calculating corresponding value of slope in different time sections according to exercise prescription; Then, according to corresponding value of slope in different time sections in exercise prescription, fantasy sport scene is automatically generated with VR technology, the void The gradient of each segment scene gradient different from prescription is corresponding in quasi- moving scene works as user;When user moves, According to the gradient of user movement situation real-time update fantasy sport scene;The virtual scene that last step is generated is in front of the user Screen software in show and there is the virtual portrait for representing user to cycle or run in the scene in the scene.It calculates empty The gradient or the corresponding resistance of the gradient of anthropomorphic object current location send command adapted thereto in body-building or rehabilitation material by software Resistance or grade adjustment mechanism, the resistance or the gradient of adjust automatically equipment.Detailed specific description is done to this process below.

S1 obtains the exercise prescription for being suitble to the user based on the body data and exercise data of AI technology analysis user.

Wherein, exercise prescription can be the rehabilitation prescription restored for patient body;Or it is used for constitutional body-building Prescription.In embodiment provided by the present invention, exercise prescription includes the movement speed that user is suitble in the different periods Degree, impedance value (being directly value of slope for treadmill) and other related contents.Wherein, for being carried out using treadmill For the user of rehabilitation or body-building, impedance value directly replaces with value of slope.In embodiment provided by the present invention, with strong It is illustrated for body vehicle.For example, some slight lower limb patient determines that this needs to carry out under 20 minutes according to physical qualification Limb is ridden rehabilitation training.Specific rehabilitation scene are as follows: first 5 minutes are warming up period, Resistance Value 1, level land;5-10 minutes are low strong The rehabilitation stage is spent, Resistance Value 3 is mitigated and gone up a slope;10-12 minutes are the middle intensity rehabilitation stage, and Resistance Value 5 goes up a slope;12-17 Low-intensity rehabilitation stage minute, Resistance Value 3 are mitigated and are gone up a slope;Loosen the rehabilitation stage for recovery within 17-20 minutes, Resistance Value 0, Descending.If only carrying out rehabilitation with reference to exercise prescription, perhaps body building can only see rehabilitation exercise or body building Corresponding digital information, not intuitively, through the invention provided by equipment resistance based on VR and AI or gradient automatic control side The exercise prescription of single digital representation exercise data is converted to more vivid specific fantasy sport scene, makes to move by method It is more intuitive more to have interactivity.

S2 calculates corresponding value of slope in different time sections according to exercise prescription;

Because exercise prescription includes the movement velocity that user is suitble in the different periods, impedance value, according to resistance Force data can directly acquire corresponding value of slope;It obtains in the following way:

F=(M+m) * g (μ * cos (θ)+sin (θ));

Wherein, F is people's driving force corresponding to resistance specified in exercise prescription;M is the weight of user;M is locomotory apparatus The quality of tool, g are gravity coefficient;μ is coefficient of friction;θ is the gradient.

Specifically, it is actually to simulate outdoor cycling that people, which rides Spinning,.The dynamics of people's cycling is more multiple It is miscellaneous.To simplify the calculation, the people of cycling and bicycle are seen as an entirety by we, temporarily ignore windage.F be from The driving force of people, forward along slope surface;F is frictional resistance of the road surface to people and sports apparatus (being only people when running), along slope surface to Afterwards;M is the quality of people, and m is the quality of sports apparatus (running when m=0), vertically downward;θ is the gradient;μ is coefficient of friction.G is Gravity coefficient.

Physics relationships when being moved according to people, available following formula:

F-f- (M+m) * g*sin (θ)=0;

F=μ * (M+m) * g*cos (θ).

Therefore, equation F=(M+m) * g (μ * cos (θ)+sin (θ)) is obtained.

F in this equation is people's driving force corresponding to resistance specified in exercise prescription, and M is the weight of user, m, g It is system known parameters with μ, gradient θ can be calculated according to this equation.When user movement is when different application scenarios, such as water Mud highway, meadow, snowfield etc., coefficient of friction is different, by adjusting coefficient of friction, value of slope can be made in different application scenarios In make corresponding adjustment, improve the authenticity of simulation.

S3 automatically generates fantasy sport field with VR technology according to corresponding value of slope in different time sections in exercise prescription Scape, the gradient of each segment scene gradient different from exercise prescription is corresponding in the fantasy sport scene;It specifically includes as follows Step:

S31 pre-generates a big fantasy sport scene, includes an end to end road, Yi Jidao in scene Landform and various natural landscapes on both sides of the road, in full wood, house etc..As shown in Figure 2.

S32, it is each in the adjust automatically fantasy sport scene according to corresponding value of slope in different time sections in exercise prescription The gradient of segment road, the value of slope for keeping the gradient different from exercise prescription is corresponding, as shown in figure 3, specifically including as follows Step:

S321, according to corresponding value of slope is drawn entire fantasy sport scene in different time sections in exercise prescription Point;

S322 distributes a value of slope for every segment virtual scene of division, wherein every segment virtual scene pair of division Answer value of slope different in exercise prescription;

S323 adjusts the gradient of road in the segment virtual scene according to value of slope.

S33, at this point, be adjusted the gradient road and surrounding landform departing from, it appears it is untrue.Need adjust automatically The height relief of road landform on both sides of the road and natural landscape, be allowed to road automatic attaching, as shown in Figure 4.

S4, when user moves, according to the gradient of user movement situation real-time update fantasy sport scene.

When user moves, it there may come a time when that the data that will not be set completely according to exercise prescription are moved.When with It is corresponding will not to reach next value of slope in given time less or greater than as defined in exercise prescription when speed for the movement velocity at family Fantasy sport scene need in real time to be updated the gradient of fantasy sport scene to improve the authenticity of user experience. When user moves, according to the gradient of user movement situation real-time update fantasy sport scene;Specifically comprise the following steps:

S41 is obtained when the next section fantasy sport scene different from current hill grade value reaches when user moves Judge time point T;Such as current hill grade value is 10 degree, the value of slope of next section of fantasy sport scene is 30 degree, at movement Side, time point when reaching next fantasy sport scene are T.

S42, obtain judge time point T toward being pushed forward the user movement information at threshold value moment, if the user movement information and The motion information at the exercise prescription corresponding moment is identical, then the gradient of fantasy sport scene is constant, otherwise, turns to step S43;

S43, according to the motion information of active user and exercise prescription adjustment fantasy sport scene in judge time point it The gradient of each segment road, the value of slope for keeping the gradient different from exercise prescription are corresponding afterwards;Specifically comprise the following steps:

S431 calculates the next section fantasy sport scene different from current hill grade value according to the motion information of active user and arrives Up to when adjustment time point T1;

S432 obtains the corresponding value of slope of next section of fantasy sport scene according to exercise prescription;

It is corresponding to update subsequent each section of fantasy sport scene value of slope in exercise prescription using the adjustment time point as starting point by S433 Time;

S434 adjusts on the route of movement road in each segment virtual scene according to value of slope adjusted and time The gradient;

S435, the height relief of adjust automatically road landform on both sides of the road and natural landscape, is allowed to and road automatic attaching.

Further include following steps in embodiment provided by the present invention:

S5, the health data of real-time monitoring user, when the health data exception of user, adjust automatically fantasy sport scene In the gradient, and the resistance of adjust automatically equipment so that the movement of user keep efficiently with safety.

Wherein, health data includes the data such as the heart rate of user, blood pressure.When the health data of user is heart rate data, The health data of real-time monitoring user, when the health data exception of user, the gradient in adjust automatically fantasy sport scene, tool Body includes the following steps: S51, and the maximum heart rate of user is calculated according to the age of user;In embodiment provided by the present invention, Maximum heart rate=220- age;

S52 sets the maximum safe heart of user, the heart rate information of real-time monitoring user, Fang Yong during user movement The heart rate information at family be greater than the maximum safe heart when, the gradient is reduced to original gradient * λ % automatically, wherein λ for system according to The adjustment factor that user data is set automatically.In embodiment provided by the present invention, the maximum safe heart that sets as The 80% of maximum heart rate, when practical heart rate reaches 80% (it is recommended that maximum safe heart) of maximum heart rate when in motion, the gradient is certainly It is dynamic to be adjusted.

In embodiment provided by the present invention, the screen of the fantasy sport scene that above-mentioned steps are generated in front of the user It is shown in software, and there is the virtual portrait for representing user to cycle or run in the scene in the scene.Calculate virtual portrait The gradient of current location sends command adapted thereto to the resistance or grade adjustment mechanism in body-building or rehabilitation material, certainly by software The resistance or the gradient of dynamic adjustment equipment.

In the resistance or gradient motion process that user is set automatically according to system, system monitors the heart rate of user, blood automatically The moving situations such as pressure.When system discovery is too low or excessively high with which family exercise intensity, system can change virtual scene automatically In the gradient, and the resistance or the gradient of adjust automatically equipment so that the movement of user keep efficiently with safety.

In conclusion the equipment resistance or gradient autocontrol method provided by the present invention based on VR and AI, it can be certainly The body data and exercise data for employing AI technology analysis user, obtain the movement for being suitble to the user or rehabilitation prescription.Then exist Virtual scene corresponding with the prescription, each segment scene in the scene are automatically generated and shown in screen software in face of user The gradient it is different from prescription the gradient it is corresponding, to the substitution sense that user is personally on the scene, interest and strongly professional.Meanwhile There is the virtual portrait for representing user to cycle or run in the scene in virtual scene.System calculates virtual portrait automatically and works as The gradient of front position, command adapted thereto is sent by software to the resistance or grade adjustment mechanism in body-building or rehabilitation material automatically, The resistance or the gradient of adjust automatically equipment.In the resistance or gradient motion process that user sets automatically according to system, system meeting The moving situations such as heart rate, the blood pressure of automatic monitoring user.When system discovery user movement intensity is too low or excessively high, system can be with The automatic gradient changed in virtual scene, and the resistance or the gradient of adjust automatically equipment so that the movement of user keep efficiently with Safety.

User is allowed to obtain more interesting more interaction and more professional exercise experience in this way, being achieved that.As in the special of coach Under industry guidance, the most suitable outdoor road of a gradient is selected to carry out pleasant outdoor exercise or rehabilitation.

The present invention also provides a kind of equipment resistance or gradient automatic control system based on VR and AI.As shown in figure 5, should System includes moving cell, virtual scenery elements, prescription acquiring unit.Wherein, prescription acquiring unit is used to analyze the body of user Volume data and exercise data obtain the exercise prescription for being suitble to the user.

Virtual scenery elements include whole positions value of slope computing module, current location resistance value of slope computing module, void Quasi- scenario generating module and virtual scene adjust module.Wherein, whole position value of slope computing modules according to prescription for obtaining The exercise prescription that unit transmission comes calculates the movement velocity according to exercise prescription, and corresponding all positions is each in different time sections From value of slope.And corresponding value of slope in the different time sections is transmitted to virtual scene generation module.Virtual scene generates mould Root tuber automatically generates fantasy sport scene according to corresponding value of slope in different time sections in exercise prescription, with VR technology, this is virtual The gradient of each segment scene gradient different from prescription is corresponding in moving scene works as user.Virtual scene adjustment module is used for According to the actual motion situation of user, the gradient of real-time update fantasy sport scene, and void is sent by the value of slope of the update Quasi- scenario generating module, generates new fantasy sport scene in real time.Current location resistance gradient computing module is virtual for calculating The corresponding Resistance Value of the gradient or the gradient of personage current location in virtual scene.

Moving cell can be exercycle, treadmill or other body-building, device for rehabilitation for providing the instrument of user movement Material.

In embodiment provided by the present invention, equipment resistance or gradient automatic control system based on VR and AI further include Data analysis unit, exercise prescription adjustment unit and resistance of motion gradient adjustment unit.Data analysis unit user obtains in real time The health data in the motion process of family is taken, when health data exception, exercise prescription adjustment unit adjusts the fortune of user in real time Dynamic prescription, and send virtual scenery elements for exercise prescription information adjusted and update fantasy sport scene.Virtual scene list First automatic gradient for calculating current location in the moving scene of virtual portrait in the updated, automatic transmission command adapted thereto are single to movement Resistance of motion gradient adjustment unit in member, the resistance or the gradient of adjust automatically moving cell.

The equipment resistance provided by the present invention based on VR and AI or gradient autocontrol method and system are carried out above Detailed description.For those of ordinary skill in the art, to its institute under the premise of without departing substantially from true spirit Any obvious change done, the infringement for all weighing composition to the invention patent, will undertake corresponding legal liabilities.

13页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种网球捉球机

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!