Bicycle speed measuring and calculating method based on virtual reality
By installing sensors and virtual reality systems on bicycles to simulate the riding environment, the problem of bicycle speed measurement in the experimental environment is solved, accurate speed measurement and resistance calculation under virtual reality are achieved, and the safety and fun of training are improved. .
Patent Information
- Application Number
- CN202410696575.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2024-09-27
AI Technical Summary
Existing bicycle speed measurement methods are mainly suitable for actual riding environments, are difficult to test bicycle performance in experimental environments, and cannot meet the needs of bicycle speed measurement under virtual reality.
By installing a speed sensor and cadence sensor on a static bicycle, combined with a virtual reality system to simulate the cycling route environment, using the speed formula to calculate the bicycle speed, and correcting hardware errors through calibration coefficients, the virtual environment is adjusted to be close to actual riding conditions, including slope. , road surface type and aerodynamic model.
It achieves accurate calculation of bicycle speed and resistance in the virtual environment, provides personalized training intensity and higher training interest, reduces the influence of external factors, and ensures the safety and continuity of training.
Smart Images

Figure CN118698107A
Abstract
Description
Technical Field
[0001] The invention belongs to the field of bicycle speed measurement, and in particular relates to a bicycle speed measurement and calculation method based on virtual reality. Background Art
[0002] Measuring bicycle speed can be used as a basis for safe riding, and can also help cyclists better control training intensity and track exercise effects. When choosing a suitable measurement tool, factors such as accuracy, convenience, cost and personal needs are usually taken into consideration.
[0003] Currently, there are three main methods:
[0004] One, a counter mounted on the spoke that calculates the speed by counting the number of spoke rotations and the tire circumference within a certain period of time.
[0005] Second, the mechanical speedometer measures speed through a built-in gear connected to the bicycle tire or axle. It calculates speed by counting the number of rotations of the wheel in a fixed time.
[0006] Third, electronic speedometers use magnetic sensors, usually a magnet attached to the spokes, and each time the wheel turns it passes a sensor at a fixed point. The sensor detects the number of times the magnet passes, and then calculates the speed and distance traveled through the pre-set wheel circumference.
[0007] The above methods are all applicable to measuring the speed of a bicycle during actual riding. However, in the current bicycle field, the performance of the bicycle itself needs to be tested, and this test is usually carried out in an experimental environment. Therefore, the above methods are not applicable to measuring the speed of a bicycle during an experiment. Summary of the invention
[0008] Technical problem to be solved: How to measure bicycle speed based on virtual reality.
[0009] Technical solution: The present invention provides a bicycle speed measurement and calculation method based on virtual reality, comprising the following steps:
[0010] Step 1, hardware configuration: First, place the static bicycle on the training platform to ensure that it is fixed and stable. Second, install a speed sensor on the rear wheel hub of the bicycle to detect the wheel speed RPM, and install a cadence sensor on the crankshaft to measure the rider's cadence CDC.
[0011] Step 2, sensor calibration: input the actual circumference L of the bicycle tire into the system, and then perform a periodic riding test from low speed to high speed so that the sensor data is accurately reflected on the computer;
[0012] Step 3, VR configuration: simulate the cycling route environment in the VR system, and adjust the wind resistance and terrain undulations of the virtual environment to closely match the actual cycling conditions;
[0013] Step 4, speed calculation: obtain the wheel hub speed RPM, tire circumference L and cadence CDC parameters of the bicycle, and use the speed formula to calculate the speed V of the bicycle.
[0014] Furthermore, the speed calculation formula of the bicycle is:
[0015]
[0016] Wherein, T is time.
[0017] Furthermore, the specific steps of introducing the calibration coefficient to correct the hardware error are:
[0018] First, test on a track or route of known distance, using a timer and GPS speedometer to record the exact time required to complete the distance, in order to obtain accurate time and speed data;
[0019] Second, use the speed sensor on the bicycle to record the completion time and speed data of the same distance;
[0020] Third, based on the data from the GPS speedometer, calculate the average speed for completing the known distance; similarly, calculate the average speed based on the data provided by the sensor;
[0021] Fourth, compare the two sets of average speeds and calculate the calibration factor. If the average speed of the sensor is the same as the average speed of the GPS, the calibration factor is 1. If there is a difference, the calibration factor is the ratio of the two average speeds.
[0022] 5. During measurement, the speed value obtained from the speed sensor each time is multiplied by the calibration coefficient to obtain the adjusted speed value.
[0023] Furthermore, the calculation formula of the calibration coefficient is:
[0024]
[0025] Where M is the calibration coefficient, is the average speed of GPS, is the average speed of the sensor. Further, the calculation formula of the wheel hub speed RPM is:
[0026] RPM=CDC×GR
[0027] Among them, GR represents the gear ratio of the bicycle;
[0028] On this basis, the calculation formula of speed V is:
[0029]
[0030] This is the new calculation formula for V.
[0031] Furthermore, the gear ratio of a bicycle is obtained by comparing the ratio of the number of teeth on the front chainring connected to the chain to the number of teeth on the rear flywheel.
[0032] 7. The bicycle speed measurement and calculation method based on virtual reality according to claim 1 is characterized in that adjusting the virtual environment to be close to the actual riding conditions includes the following aspects:
[0033] First, adjust the slope change in the virtual environment according to the slope data of the actual route;
[0034] Second, the virtual environment includes different road surface types that match actual riding, and simulates the effects of these road surfaces on speed and riding effort;
[0035] Third, an integrated aerodynamic model is used to simulate the effects of headwind, tailwind and crosswind. At the same time, the calculation of rolling resistance is adjusted according to different road types and tire characteristics. And, the additional effort or assistance caused by gravity is simulated when going uphill and downhill.
[0036] Furthermore, the calculation formula of rolling resistance is:
[0037] F=C rr ×W
[0038] in:
[0039] F is rolling resistance;
[0040] C rr is the rolling resistance coefficient;
[0041] W is the combined weight of the bicycle and rider, calculated as:
[0042] W=M×g
[0043] Where M is the total mass of the bicycle and the rider, and g is the acceleration due to gravity, which is about 9.81 m / s 2 ;
[0044] On this basis, the calculation formula of F is:
[0045] F=C rr ×M×g
[0046] This is the new calculation formula for F.
[0047] Technical effects:
[0048] 1. The present invention accurately calculates rolling resistance and other resistance forces, and training can be customized according to the rider's weight, physical strength and technical level, thereby providing more accurate training intensity and better training results.
[0049] 2. By simulating various riding environments and conditions in the real world, the present invention allows riders to experience a rich variety of riding scenery and challenges in a virtual environment, thereby increasing the fun and participation of training; at the same time, it provides real-time riding data and performance analysis to help riders understand their training progress and effects, and enhance the rider's sense of control and motivation over training.
[0050] 3. Since the training takes place in a controlled virtual environment, the safety risks caused by external factors (such as traffic and weather) can be significantly reduced. Riders can continue to train regardless of the external environmental conditions (for example, in winter or rainy days), maintaining the continuity and stability of training. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0052] Figure 1 The figure is a schematic diagram of the steps of the method of the present invention. DETAILED DESCRIPTION
[0053] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments; based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0054] The bicycle speed measurement and calculation method based on virtual reality provided in this specific embodiment is as follows: Figure 1 As shown, the following steps are included:
[0055] Step 1, hardware configuration: First, place the static bicycle on the training platform to ensure that it is fixed and stable. Secondly, install a speed sensor at the rear wheel hub of the bicycle to detect the wheel speed RPM, and install a cadence sensor at the crankshaft to measure the rider's cadence CDC.
[0056] Step 2, sensor calibration: Input the actual circumference L of the bicycle tire into the system, and then perform a periodic riding test from low speed to high speed so that the sensor data is accurately reflected on the computer.
[0057] Step 3, VR configuration: simulate the cycling route environment in the VR system, and adjust the wind resistance and terrain of the virtual environment to closely match the actual cycling conditions. Adjusting the virtual environment to be close to the actual cycling conditions includes the following aspects:
[0058] First, adjust the slope change in the virtual environment according to the slope data of the actual route;
[0059] Second, the virtual environment includes different road surface types that match actual riding, and simulates the effects of these road surfaces on speed and riding effort;
[0060] Third, the aerodynamic model is integrated to simulate the effects of headwind, tailwind and crosswind; and the additional effort or assistance caused by gravity is simulated when going uphill and downhill; at the same time, the calculation of rolling resistance is adjusted according to different road types and tire characteristics. The calculation formula of rolling resistance is:
[0061] F=C rr ×W
[0062] in:
[0063] F is rolling resistance;
[0064] C rr is the rolling resistance coefficient, the rolling resistance coefficient C rr Depends on many factors, including tire material, tire pressure, and road surface type and condition. For example, on smooth asphalt roads, C rr The value of C is between 0.002 and 0.005. On uneven or soft surfaces such as sand or mud, C rr The value of will be higher, possibly reaching above 0.015;
[0065] W is the combined weight of the bicycle and rider, calculated as:
[0066] W=M×g
[0067] Where M is the total mass of the bicycle and the rider, and g is the acceleration due to gravity, which is about 9.81 m / s 2 ;
[0068] On this basis, the calculation formula of F is:
[0069] F=C rr ×M×g
[0070] This is the new calculation formula for F;
[0071] Assume that the total weight of a rider and his bicycle is 75 kg (M = 75), riding on a smooth asphalt road, and the rolling resistance coefficient is taken as the median value (C rr =0.0035), the rolling resistance can be calculated as follows:
[0072] W=75×9.81=735.75N, F=0.0035×735.35=2.575N;
[0073] This means that the rider needs to overcome approximately 2.575 Newtons of force to keep the bike rolling on that surface.
[0074] Step 4: Speed calculation: Obtain the wheel hub speed RPM, tire circumference L and cadence CDC parameters of the bicycle, and use the speed formula to calculate the speed V of the bicycle. The speed calculation formula for the bicycle is:
[0075]
[0076] Where, T is time;
[0077] The calculation formula for wheel hub speed RPM is:
[0078] RPM=CDC×GR
[0079] Among them, GR represents the gear ratio of the bicycle, which is obtained by comparing the ratio of the number of teeth on the front chainring connected by the chain to the number of teeth on the rear flywheel;
[0080] On this basis, the calculation formula of speed V is:
[0081]
[0082] This is the new calculation formula for V;
[0083] In addition, the calculation of speed usually requires error calibration, and error calibration requires the introduction of calibration coefficients. The specific steps for introducing calibration coefficients to correct hardware errors are:
[0084] First, test on a track or route of known distance, using a timer and GPS speedometer to record the exact time required to complete the distance, in order to obtain accurate time and speed data;
[0085] Second, use the speed sensor on the bicycle to record the completion time and speed data of the same distance; Third, calculate the average speed of the known distance based on the data of the GPS speedometer; Similarly, calculate its average speed based on the data provided by the sensor;
[0086] Fourth, compare the two sets of average speeds and calculate the calibration factor. If the average speed of the sensor is the same as the average speed of the GPS, the calibration factor is 1. If there is a difference, the calibration factor is the ratio of the two average speeds. The calculation formula for the calibration factor is:
[0087]
[0088] Where M is the calibration coefficient, is the average speed of GPS, is the average speed of the sensor;
[0089] 5. During measurement, the speed value obtained from the speed sensor each time is multiplied by the calibration coefficient to obtain the adjusted speed value.
[0090] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0091] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A bicycle speed measurement and calculation method based on virtual reality, characterized in that: The following steps are involved: Step 1, hardware configuration: First, place the static bicycle on the training platform to ensure that it is fixed and stable. Second, install a speed sensor on the rear wheel hub of the bicycle to detect the wheel speed RPM, and install a cadence sensor on the crankshaft to measure the rider's cadence CDC. Step 2, sensor calibration: input the actual circumference L of the bicycle tire into the system, and then perform a periodic riding test from low speed to high speed so that the sensor data is accurately reflected on the computer; Step 3, VR configuration: simulate the cycling route environment in the VR system, and adjust the wind resistance and terrain undulations of the virtual environment to closely match the actual cycling conditions; Step 4, speed calculation: obtain the wheel hub speed RPM, tire circumference L and cadence CDC parameters of the bicycle, and use the speed formula to calculate the speed V of the bicycle.
2. The bicycle speed measurement and calculation method based on virtual reality according to claim 1 is characterized in that: The formula for calculating the speed of a bicycle is: Wherein, T is time.
3. The bicycle speed measurement and calculation method based on virtual reality according to claim 1 is characterized in that: The specific steps to introduce calibration coefficients to correct hardware errors are: First, test on a track or route of known distance, using a timer and GPS speedometer to record the exact time required to complete the distance, in order to obtain accurate time and speed data; Second, use the speed sensor on the bicycle to record the completion time and speed data of the same distance; Third, based on the data from the GPS speedometer, calculate the average speed for completing the known distance; Similarly, its average speed is calculated based on the data provided by the sensor; Fourth, compare the two sets of average speeds and calculate the calibration factor. If the average speed of the sensor is the same as the average speed of the GPS, the calibration factor is 1. If there is a difference, the calibration factor is the ratio of the two average speeds.
5. During measurement, the speed value obtained from the speed sensor each time is multiplied by the calibration coefficient to obtain the adjusted speed value.
4. The bicycle speed measurement and calculation method based on virtual reality according to claim 3 is characterized in that: The calibration factor is calculated as: Where M is the calibration coefficient, is the average speed of GPS, is the average speed of the sensor.
5. The bicycle speed measurement and calculation method based on virtual reality according to claim 2 is characterized in that: The calculation formula for wheel hub speed RPM is: RPM=CDC×GR Among them, GR represents the gear ratio of the bicycle; On this basis, the calculation formula of speed V is: This is the new calculation formula for V.
6. The bicycle speed measurement and calculation method based on virtual reality according to claim 5 is characterized in that: The gear ratio of a bicycle is obtained by comparing the number of teeth on the front chainring connected to the chain to the number of teeth on the rear cassette.
7. The bicycle speed measurement and calculation method based on virtual reality according to claim 1 is characterized in that: Adjusting the virtual environment to match actual riding conditions includes the following aspects: First, adjust the slope change in the virtual environment according to the slope data of the actual route; Second, the virtual environment includes different road surface types that match actual riding, and simulates the effects of these road surfaces on speed and riding effort; Third, an integrated aerodynamic model is used to simulate the effects of headwind, tailwind and crosswind. At the same time, the calculation of rolling resistance is adjusted according to different road types and tire characteristics. And, the additional effort or assistance caused by gravity is simulated when going uphill and downhill.
8. The bicycle speed measurement and calculation method based on virtual reality according to claim 7 is characterized in that: The formula for calculating rolling resistance is: F=C rr ×W in: F is rolling resistance; C rr is the rolling resistance coefficient; W is the combined weight of the bicycle and rider, calculated as: W=M×g Where M is the total mass of the bicycle and the rider, and g is the acceleration due to gravity, which is about 9.81 m / s 2 ; On this basis, the calculation formula of F is: F=C rr ×M×g This is the new calculation formula for F.
