A simulation method and simulation platform for simulating cycling

By constructing a refined multi-state dynamic model and intelligent safety threshold control, the problems of insufficient dynamic details and lack of safety in bicycle simulation systems have been solved, achieving a more realistic and safer cycling simulation experience.

CN122209032APending Publication Date: 2026-06-16HEFEI PANSHI AUTOMATION TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610320589.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-03-17
Publication Date
2026-06-16

Smart Images

  • Figure CN122209032A_ABST
    Figure CN122209032A_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of cycling simulation, and particularly relates to a simulation method and a simulation platform for simulating bicycle riding. The present application comprises the following steps: S1, obtaining the identification flywheel rotating speed of a flywheel obtained by a user pedaling a bicycle model pedal, and smoothing to obtain the smooth flywheel rotating speed at the current time; S2, obtaining the current bicycle simulation riding state, wherein the riding state comprises uphill riding, downhill riding, flat road riding, curved road riding and sliding riding. The present application is used to overcome the problems of rough physical simulation, low state differentiation and lack of safety control mechanism in the prior art, and realizes a more real, safe and immersive riding simulation experience through the construction of a refined multi-state dynamics model and intelligent safety threshold control.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of cycling simulation technology, specifically a simulation method and platform for simulating bicycle riding. Background Technology

[0002] Indoor cycling simulation training systems, exhibition hall demonstration devices, and cycling game equipment, serving as a bridge between the real cycling experience and the limitations of indoor spaces, have been widely used in fitness, rehabilitation training, and entertainment. The core architecture of existing technical solutions typically involves the user riding a stationary bicycle device, simulating the cycling process by pedaling. To enhance the cycling experience, some systems demonstrate the bicycle's movement along a specific trajectory on a screen, showcasing the distance traveled and adding visual interest.

[0003] These mainstream solutions often only provide the feeling of pedaling while riding, and have the following shortcomings in simulating the realism of the pedaling process: First, most systems have relatively simple physics engines, typically employing fixed resistance mapping based on a preset slope curve, or simplified speed-resistance models that only consider air resistance. These models cannot establish independent and physically accurate dynamic sub-models to simulate different road conditions and riding states (such as uphill, downhill, flat roads, curves, and gliding) for the vehicle. In other words, they cannot accurately simulate the power output and pedaling sensation under various resistances in real riding. For example, physical details such as the inertial deceleration process during gliding and the nonlinear relationship between power and speed at different slopes are often ignored or distorted, resulting in a significant shortcoming in the physical realism of the simulated riding experience.

[0004] Secondly, most existing systems operate as passive responders to user input, lacking proactive intervention mechanisms based on real-world cycling safety rules and physical constraints. In other words, the system cannot determine whether a user's actions are safe or reasonable in the simulated scenario. For example, when simulating cornering, even if a user enters the corner at an extremely high virtual speed that could lead to a rollover, the system typically does not impose any restrictions or provide strong feedback. This not only makes the simulated experience potentially illogical but also misses the opportunity to guide correct riding habits through embedded safety logic within the simulation system, thus requiring urgent resolution. Summary of the Invention

[0005] To avoid and overcome the technical problems existing in the prior art, the present invention provides a simulation method and simulation platform for bicycle riding simulation, which overcomes the problems of rough physical simulation, low state differentiation and lack of safety control mechanism in the prior art. By constructing a refined multi-state dynamic model and intelligent safety threshold control, a more realistic, safe and immersive riding simulation experience is achieved.

[0006] To achieve the above objectives, the present invention provides the following technical solution: A method for simulating bicycle riding includes the following steps: S1. Obtain the recognized flywheel speed obtained by the user pedaling the bicycle model, and smooth it to obtain the smoothed flywheel speed at the current moment. S2. Obtain the current cycling state of the bicycle simulation, which includes uphill cycling, downhill cycling, flat road cycling, cornering cycling, and gliding cycling. S3. Determine whether the current speed of the smoothed flywheel exceeds the safe speed threshold under the current riding condition. If it exceeds, use the safe speed threshold as the current actual flywheel speed. If it does not exceed, use the speed of the smoothed flywheel as the current actual flywheel speed. S4. Input the actual flywheel speeds at the current moment and the previous moment into the power torque model and resistance torque model corresponding to the current riding state, respectively, to obtain the power torque and resistance torque corresponding to the current riding state under the current actual flywheel speed. S5. Obtain the output power and loss power at the current moment by acquiring the dynamic torque and resistance torque, and then obtain the virtual vehicle speed within a processing cycle, and control the demonstration car to drive at the virtual vehicle speed; S6. Adjust the rotational resistance of the bicycle model flywheel based on the obtained resistance torque; S7. Repeat steps S1-S6 until the cycling simulation ends.

[0007] As a further aspect of the present invention: the process of obtaining the flywheel rotation speed is specifically as follows: After the cycling simulation starts, continuously acquire the time difference signal of the flywheel rotating a unit angle after the user pedals; If a time difference signal is not acquired within the designed time during the ride, the riding state is determined to be gliding, and the flywheel speed is identified as 0 rpm. If a time difference signal is obtained within the design time, it is determined whether the time difference signal is less than the design time difference threshold. If it is less, it is removed as a noise signal; if it is greater, it is taken as a valid time difference signal, which is then combined with the unit angle to obtain the identification flywheel speed.

[0008] As a further aspect of the present invention: the process of obtaining the speed of the smoothing flywheel is specifically as follows: The current flywheel speed is obtained by smoothing the identified flywheel speed using a smoothing model. Specifically, the smoothing model is as follows: ; In the formula, The current smoothed flywheel speed, in rpm; The adjustment factor is dimensionless. The current flywheel speed, in rpm; This represents the smoothed flywheel speed at the previous moment, in rpm.

[0009] As a further aspect of the present invention: the adjustment factor is based on the deviation rate between the current identified flywheel speed and the smoothed flywheel speed at the previous moment. Take values, where, ; In the formula: The deviation rate is dimensionless. The current flywheel speed, in rpm; The smoothed flywheel speed at the previous moment, in rpm; The adjustment factor is specifically determined as follows: If ,but Take 0.8-0.9; like ,and At rpm, then Take 0.1-0.2; like ,and At rpm, then Take 0.5; If the speed of the smooth flywheel was 0 rpm in the previous moment, Take 0.8-0.9.

[0010] As a further aspect of the present invention: in the riding state, uphill riding, downhill riding, flat road riding and curve riding are obtained based on the current road condition information of the demonstration vehicle; gliding riding is determined by the failure to obtain a time difference signal within a designed time.

[0011] As a further aspect of the present invention: the process of determining whether the current speed of the smooth flywheel exceeds the safe speed threshold under the current road conditions is specifically as follows: Input the current smoothed flywheel speed into the pulse width calculation model for the current riding state to obtain the pulse width calculation value. And determine the calculated pulse width value. Does it exceed the standard safe pulse width value? If the speed exceeds the safe speed threshold, the speed of the smoothing flywheel exceeds the safe speed threshold; if it does not exceed the safe speed threshold, the speed of the smoothing flywheel does not exceed the safe speed threshold. Among them, the standard safety pulse width values ​​for downhill riding, flat road riding, uphill riding, cornering riding, and gliding riding are... Take values ​​of 50, 60, 80, 40, and 30 respectively; When the riding mode is downhill, the pulse width calculation model is as follows: ; When riding on a flat road, the pulse width calculation model is as follows: ; When riding uphill, the pulse width calculation model is as follows: ; When riding in a curve, the pulse width calculation model is as follows: ; When the riding state is gliding, the pulse width calculation model is as follows: ; In the formula, To demonstrate the virtual speed of the car at the current moment, the unit is m / s; The virtual speed of the demonstration vehicle when entering the gliding riding moment, in m / s; The current smoothed flywheel speed, in rpm; This is the set limit speed of the flywheel, measured in rpm.

[0012] As a further aspect of the present invention: the dynamic torque model and resistance torque model corresponding to the current riding state are specifically as follows: When riding downhill, the torque model is as follows: ; When riding on a flat road, the torque model is as follows: ; When riding uphill, the torque model is as follows: ; In the formula, The torque is measured in N·m. The standard torque for downhill riding is taken as 5-10 N·m; The standard torque for riding on flat roads is taken as 10-30 N·m; The standard torque for uphill riding is 30-60 N·m. The current smoothed flywheel speed, in rpm; The set limit speed of the flywheel, in rpm; When riding downhill, the resistance torque model is: ; When riding on a flat road, the torque model is as follows: ; When riding uphill, the torque model is as follows: ; In the formula, This is the resistance torque, expressed in N·m. The current smoothed flywheel speed, in rpm; The set limit speed of the flywheel, in rpm; The standard torque for downhill riding is taken as 2.5 N·m; The standard torque for riding on flat roads is taken as 7.5 N·m; The standard torque for uphill riding is taken as 15 N·m; As a weighting factor, dimensionless, when the rotational speed... hour, ,on the contrary, .

[0013] As a further aspect of the present invention: the output power at the current moment is according to The power loss at the current moment is obtained according to... Seek; In the formula, Output power, in watts (W). Power loss is expressed in watts (W). The torque is measured in N·m. This is the resistance torque, expressed in N·m. The current smoothed flywheel speed, in rpm; The process of obtaining the virtual vehicle speed at the current moment specifically includes: The current output power and power loss are input into the energy accumulation model to obtain the cumulative energy of the ride; the cumulative energy model is as follows:

[0014] In the formula, The cumulative energy at the current moment, expressed in J; This represents the cumulative energy at the previous moment, expressed in J. The processing cycle is expressed in seconds (s). according to Get the current virtual speed of the demo car; In the formula, To demonstrate the virtual speed of the car at the current moment, the unit is m / s; This is a virtual mass, expressed in kg.

[0015] The simulation platform, which applies the aforementioned bicycle simulation riding method, includes a bicycle model equipped with a sensor module for detecting the speed of the flywheel and a damping module for generating rotational damping for the flywheel. It also includes a physical track and a demonstration vehicle that moves along the track. Position sensors are installed at the start and end points of the uphill, downhill, curve, and flat sections of the track to acquire the riding status information.

[0016] As a further aspect of the present invention: a conductive ring is installed on the physical track along its direction, and a brush that is slidably connected to the conductive ring to draw power is installed on the demonstration trolley.

[0017] Compared with the prior art, the beneficial effects of the present invention are: 1. On the one hand, during the process of riding the bicycle model by the user of this application, by synchronously controlling the operation of a demonstration car with the calculated virtual speed, the user can directly observe the physical manifestation of their own riding results, such as the speed of the car, going up and down slopes, and turning corners. The virtual force feedback is closely combined with the physical visual feedback, which greatly enhances the immersion and fun of riding.

[0018] On the other hand, the application itself establishes independent mathematical models of dynamic torque and resistance torque for different riding states, namely uphill, downhill, flat road, curves, and gliding, and introduces an energy-based virtual speed calculation model. It also adjusts the flywheel rotational resistance of the bicycle model accordingly, enabling a precise simulation of the dynamic processes in actual riding, such as acceleration, deceleration, and inertial gliding, significantly improving the realistic physical experience of the simulation. Furthermore, the flywheel speed obtained from the user's pedal input is smoothed to a smoothed flywheel speed, and further controlled for different riding states through a safe speed threshold. Especially for curve riding, the maximum riding speed is limited, causing the demonstration vehicle to automatically decelerate before entering the curve and smoothly navigate the curve, simulating a realistic riding state as closely as possible.

[0019] 2. This application uses an adaptive smoothing filtering algorithm to process the speed signal, which can effectively filter out noise. At the same time, it dynamically adjusts the adjustment factor in the smoothing model according to the speed change rate, ensuring that the system can still respond quickly when the speed changes drastically (such as sudden acceleration or stop) to avoid the feeling of delay. When riding smoothly, it provides smooth speed data, making the control more stable.

[0020] 3. The correction to the speed of the smoothing flywheel in this application is based on actual riding conditions: Uphill riding: The main risks are power overload (user's legs, drivetrain) and stalling. Standard safe pulse width value ( The highest speed means that the system allows users to output more power to overcome gravity, and speed itself is not the primary limiting factor.

[0021] Riding on flat roads: The risks are fatigue from sustained high speeds and wind resistance on straightaways. Standard safe pulse width value ( Moderate speed, allowing for higher speeds but preventing unlimited acceleration.

[0022] Downhill riding: The risk is that excessive speed build-up can lead to brake failure or loss of control at the end of a straight section. Standard safe pulse width value ( It is lower than on a flat road, but higher than on a curve, because deceleration on a straight road is relatively controllable.

[0023] Riding on curves: The risk is an immediate and irreversible loss of physical control. At that specific point on the curve, once the speed limit is exceeded, there are no remedial measures (braking will only worsen the skid), and an accident occurs instantly. Therefore, its standard safe pulse width value must be set lower. The most stringent early intervention was implemented. As a result, although the user was still frantically pedaling the bicycle model 1, the demonstration car 3 automatically slowed down before entering the curve and smoothly navigated the curve.

[0024] Gliding riding: Extremely low standard safety pulse width value ( This ensures that even if the user slightly shakes the pedals or the sensors generate slight noise signals during coasting, these signals will never be interpreted by the system as valid power input, thus not interfering with or offsetting the natural deceleration process. This simulates the core experience of gradually slowing down during real coasting, avoiding the situation where the speed gets stuck during coasting due to an excessively high threshold, which would affect the realism of the simulation experience.

[0025] 4. The driving torque and resistance torque in this application are both obtained based on different riding states. The accumulated energy obtained from these two methods under different riding states is closer to real-world riding. In addition, the virtual speed of the demonstration vehicle is obtained through the calculation method of the energy accumulation model, which effectively simulates the process of energy accumulation and change during riding. In particular, when the user stops pedaling, the virtual speed does not immediately reset to zero, but gradually decreases to zero according to energy decay, thus reproducing the feeling and experience of gliding and coasting in real riding.

[0026] 5. A physical demonstration method using a physical track and a demonstration vehicle is employed. When the user rides the bicycle model, their pedaling behavior is processed by a central controller, which not only translates into changes in the resistance of their flywheel but also directly drives the physical demonstration vehicle to move synchronously on the track. The user is both the driver and the observer, controlling the speed and climbing ability of the demonstration vehicle in front of them by the amount of force they exert, achieving a highly immersive haptic interaction. Attached Figure Description

[0027] Figure 1 This is a flowchart illustrating the workflow of the simulation method in this invention.

[0028] Figure 2 This is a schematic diagram of the simulation platform in this invention.

[0029] Figure 3 for Figure 2 A magnified structural diagram of point A.

[0030] Figure 4 This is a schematic diagram of the bicycle model in this invention.

[0031] In the diagram: 1. Bicycle model; 11. Sensor module; 2. Physical track; 21. Conductive ring; 3. Demonstration car; 31. Brush; 4. Central controller. Detailed Implementation

[0032] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0033] For ease of understanding, the specific structure and operation of the present invention will be further described below with reference to the accompanying drawings: In this embodiment, a simulation platform for applying a bicycle riding simulation method will be described first, so as to explain the combination of the simulation platform and the bicycle riding simulation method.

[0034] In this application, such as Figure 2-4 As shown, the simulation platform mainly includes a bicycle model 1, a physical track 2, and a demonstration vehicle 3.

[0035] like Figure 4 As shown, bicycle model 1 is equipped with a sensor module 11, which is a sensor module for identifying the speed of the flywheel. Specifically, the sensor module 11 preferably adopts a Hall sensor or an encoder, etc.

[0036] The bicycle model 1 is also equipped with a damping module to generate rotational damping for the frisbee. Specifically, the damping module can be a non-contact damping eddy current drag generator driven by a servo motor or a contact damping brake pad structure.

[0037] like Figure 2As shown, the physical track 2 is laid out as a closed or open path including uphill and downhill sections, curves, and flat roads. Conductive rings 21 are installed on the inside or side of the track to power the trolley. Position sensors are installed at key points along the way, that is, position sensors are installed at the start and end points of the uphill, downhill, curve, and flat roads of the physical track 2. The central controller 4 of the integrated bicycle simulation method transmits the riding status of the trolley 3, that is, uphill riding, downhill riding, curve riding, and flat road riding.

[0038] like Figure 3 As shown, the bottom of the demonstration vehicle 3 is equipped with a brush 31 that contacts the conductive ring 21 to draw power. The demonstration vehicle 3 is conveniently powered and can receive speed commands from the central controller 4 wirelessly (such as Bluetooth, Wi-Fi) or via wired means, and drive autonomously on the physical track 2.

[0039] When a user rides the bicycle model 1, their pedaling behavior is processed by the central controller 4, which not only translates into changes in the resistance of their own flywheel, but also directly drives the physical demonstration vehicle 3 to move synchronously on the track. The user is both the driver and the observer, controlling the speed and climbing ability of the demonstration vehicle 3 in front of them by the amount of force they exert, achieving a highly immersive haptic interaction.

[0040] A method for simulating bicycle riding, such as... Figure 1 As shown, it includes the following steps: S1. Obtain and process the flywheel speed of bicycle model 1.

[0041] The specific process is as follows: during the cycling process, such as Figure 4 As shown, a sensor module 11 (such as a Hall sensor or encoder) installed on the flywheel of the bicycle model continuously detects the time difference signal generated by the flywheel rotating a specific unit angle (such as 30 degrees). The system presets a design time (such as 500ms) as the basis for determining whether the user has stopped pedaling.

[0042] If no new time difference signal is received after the designed time has elapsed, it is determined that the user has entered a gliding riding state, and the flywheel speed will be set to 0 rpm.

[0043] If a time difference signal is received within the designed time, it is compared with a preset designed time difference threshold (used to exclude signal jitter caused by uneven force exerted by the human leg). If the time difference is less than the preset designed time difference threshold (e.g., set to 20ms in this embodiment), it is considered noise and discarded; if it is greater than or equal to the preset designed time difference threshold, it is considered a valid signal, and the current recognition flywheel speed is calculated based on "unit angle / time difference".

[0044] Taking a specific unit angle of 30 degrees as an example, that is, when sensor module 11 uses a Hall sensor, the magnets are set to 12 evenly distributed axially around the flywheel axis. Then the formula for calculating the flywheel speed is: ; In the formula, The current flywheel speed, in rpm; This is a time difference signal, measured in milliseconds (ms).

[0045] During implementation, if the measured When ms, then =50rpm.

[0046] Considering the potential for fluctuations in flywheel speed, a smoothing process is necessary. The smoothing model employs an exponentially weighted moving average model: ; in, The current smoothed flywheel speed, in rpm; This represents the smoothed flywheel speed at the previous moment, in rpm.

[0047] For adjustment factors, dimensionless, adjustment factor Based on the deviation rate between the current identified flywheel speed and the smoothed flywheel speed from the previous moment. (i.e., the degree of drastic change in rotational speed) Adaptive value selection: The formula for calculating the deviation rate is: ; like This indicates that the engine speed is changing rapidly (such as during start-up or acceleration), at which point α takes a larger value, such as... Use a value of 0.8-0.9 to make the smoothing result closer to the new measurement value and ensure response speed.

[0048] like ,and When the speed is rpm, it indicates that the speed change is gradual. Take the smaller value, such as Use a value of 0.1-0.2 to enhance the smoothing effect and make the data more stable.

[0049] like ,and When pedaling stops completely, α is set to 0.5, and the smooth rotation speed is reduced to 0 at a moderate speed to simulate the process of the flywheel naturally stopping.

[0050] If the smoothing flywheel speed was 0 rpm in the previous moment, although the denominator in the formula for calculating the deviation rate cannot be 0, this initial stage also means that the speed is changing rapidly. Therefore, Take 0.8-0.9.

[0051] Based on the above-mentioned =50rpm is the recognition flywheel speed obtained during the initial stage. Therefore, the smoothing flywheel speed in the previous moment was 0rpm. If we take 0.8, then the current smoothed flywheel speed is... for: rpm.

[0052] S2. Obtain the riding status, which includes uphill riding, downhill riding, flat road riding, cornering riding, and gliding riding.

[0053] Specifically, the riding status is obtained from two main sources: First, uphill riding, downhill riding, flat road riding, and curve riding are determined by the position sensor 22 installed at specific locations on the physical track 2 (such as the start of a slope or the entrance to a curve) to detect the position of the demonstration vehicle 3. Of course, if the demonstration is a game-like demonstration combined with a screen, it is determined by the map intersections in the game. Second, gliding riding is determined by whether a speed signal is not received within the timeout period in step S1.

[0054] S3 optimizes the engine speed based on riding conditions and safe operating speed.

[0055] To protect the equipment and enhance safety, safe RPM thresholds have been set for different riding conditions. These thresholds are indirectly represented by pulse width modulation (PWM) values. The specific method is as follows: Input the current smooth flywheel speed into the pulse width calculation model for the current riding state to obtain the pulse width calculation value. .

[0056] When the riding mode is downhill, the pulse width calculation model is as follows: Standard safety pulse width value .

[0057] When riding on a flat road, the pulse width calculation model is as follows: Standard safety pulse width value .

[0058] When riding uphill, the pulse width calculation model is as follows: Standard safety pulse width value .

[0059] When riding in a curve, the pulse width calculation model is as follows: Standard safety pulse width value .

[0060] When the riding state is gliding, the pulse width calculation model is as follows: Standard safety pulse width value .

[0061] In the formula, To demonstrate the current virtual speed of car 3, the unit is m / s; The virtual speed of the demo car 3 when entering the gliding riding moment, in m / s; The current smoothed flywheel speed, in rpm; This is the set limit speed of the flywheel, measured in rpm.

[0062] Compare the calculated pulse width values Compared with standard safety pulse width value .like If the speed exceeds the limit, the speed value corresponding to the safe speed threshold (obtained through a reverse calculation) is used as the actual flywheel speed for subsequent calculations; otherwise, the smoothed flywheel speed is used directly. As the actual flywheel speed.

[0063] The above correction for smoothing flywheel speed is based on actual riding conditions: Uphill riding: The main risks are power overload (user's legs, drivetrain) and stalling. Standard safe pulse width value ( The highest speed means that the system allows users to output more power to overcome gravity, and speed itself is not the primary limiting factor.

[0064] Riding on flat roads: The risks are fatigue from sustained high speeds and wind resistance on straightaways. Standard safe pulse width value ( Moderate speed, allowing for higher speeds but preventing unlimited acceleration.

[0065] Downhill riding: The risk is that excessive speed build-up can lead to brake failure or loss of control at the end of a straight section. Standard safe pulse width value ( It is lower than on a flat road, but higher than on a curve, because deceleration on a straight road is relatively controllable.

[0066] Riding on curves: The risk is an immediate and irreversible loss of physical control. At that specific point on the curve, once the speed limit is exceeded, there are no remedial measures (braking will only worsen the skid), and an accident occurs instantly. Therefore, its standard safe pulse width value must be set lower. The most stringent early intervention was implemented. As a result, although the user was still frantically pedaling the bicycle model 1, the demonstration car 3 automatically slowed down before entering the curve and smoothly navigated the curve.

[0067] Gliding riding: Extremely low standard safety pulse width value ( This ensures that even slight pedal movement or sensor noise during coasting will not be interpreted as valid power input by the system, thus preventing interference with or cancellation of the natural deceleration process. This simulates the core experience of gradually slowing down during real coasting. If the threshold is too high, the speed may become stuck during coasting, resulting in a very artificial experience.

[0068] S4. Calculate the dynamic torque and the resistance torque.

[0069] Based on the current riding status, select the corresponding dynamic torque model and resistance torque model for calculation.

[0070] Moment of Force Model (reflecting the torque output by the user during pedaling): When riding downhill, the torque model is as follows: ; When riding on a flat road, the torque model is as follows: ; When riding uphill, the torque model is as follows: ; In the formula, The torque is measured in N·m. The standard torque for downhill riding is taken as 5-10 N·m; The standard torque for riding on flat roads is taken as 10-30 N·m; The standard torque for uphill riding is 30-60 N·m. The current smoothed flywheel speed, in rpm; This is the set limit speed of the flywheel, measured in rpm.

[0071] Drag torque model (reflecting drag torque caused by road conditions, wind resistance, etc.): When riding downhill, the resistance torque model is: ; When riding on a flat road, the torque model is as follows: ; When riding uphill, the torque model is as follows: ; In the formula, This is the resistance torque, expressed in N·m. The current smoothed flywheel speed, in rpm; The set limit speed of the flywheel, in rpm; The standard torque for downhill riding is taken as 2.5 N·m; The standard torque for riding on flat roads is taken as 7.5 N·m; The standard torque for uphill riding is taken as 15 N·m; As a weighting factor, dimensionless, in reality, cycling resistance is related to rolling resistance, gradient resistance (riding state), and wind resistance. Since rolling resistance and gradient resistance are approximately independent of speed, they are simplified here to be fixed resistance and wind resistance, and a weighting factor β is introduced. At that time, fixed resistance dominates. Conversely, wind resistance dominates. .

[0072] S5. Calculate the virtual vehicle speed and control the demonstration car 3.

[0073] First calculate the output power at the current moment. ,according to To obtain; and to calculate the power loss at the current time. ,according to Seek; In the formula, Output power, in watts (W). Power loss is expressed in watts (W). The torque is measured in N·m. This is the resistance torque, expressed in N·m. This represents the current smoothed flywheel speed in rpm.

[0074] The process of obtaining the virtual vehicle speed at the current moment specifically includes: The current output power and power loss are input into the energy accumulation model to obtain the cumulative energy of the ride; the cumulative energy model is as follows:

[0075] In the formula, This represents the cumulative energy at the current moment, in J. If it is the gliding riding phase, the cumulative energy at the current moment is 0 J. This represents the cumulative energy at the previous moment, expressed in J. If it is the initial stage, the cumulative energy at the previous moment is 0 J. The processing cycle is expressed in seconds (s).

[0076] according to Get the current virtual speed of demo car 3; In the formula, To demonstrate the current virtual speed of car 3, the unit is m / s; This is a virtual mass, measured in kg. In actual implementation, a human and bicycle model weighing a total of 80 kg can be used.

[0077] Finally, the central controller will calculate the virtual vehicle speed. The commands are converted into motor drive commands for the demonstration vehicle 3, controlling it to travel at a corresponding speed on the physical track 2. When the vehicle passes position sensor 22, the system updates the riding status, thereby switching to different virtual vehicle speeds in the next cycle.

[0078] S6. Adjust the rotational resistance of the flywheel of bicycle model 1 according to the obtained resistance torque.

[0079] Taking the application of flywheel resistance through a non-contact damping eddy current resistor driven by a servo motor as an example, the actual resistance is mapped by the riding state. The lead screw stroke is L (e.g., 150mm) and the lead is P (e.g., 5mm). According to the riding state, there are three specifications, with corresponding standard strokes H of 15mm, 45mm, and 90mm, as shown in Table 1 below.

[0080] Table 1. Mapping Table of Actual Resistance Torque

[0081] By adjusting the rotational resistance of the flywheel in real time, it provides users with pedal feedback that matches the current virtual road conditions.

[0082] S7, executes in a loop.

[0083] Repeat steps S1 to S6 until the cycling simulation ends.

[0084] The cycling simulation ends with several possible conclusions, and one or more combinations can be selected based on the specific demonstration requirements: Format 1: If it is a single-person simulation experience, the demonstration car 3 will complete the ride after riding around a physical or virtual track a set number of times.

[0085] Format 2: In the case of a multi-player competition simulation, the simulation ends when the first rider completes the set number of laps of the demonstration car 3 around the physical or virtual track; or the simulation ends when the first few riders or all riders have completed the set number of laps of the demonstration car 3 around the physical or virtual track.

[0086] Format 3: When gliding stops during riding, if the user does not pedal again within a set time, the simulation ends.

[0087] Of course, those skilled in the art will recognize that the present invention is not limited to the details of the exemplary embodiments described above, but also includes the same or similar structures that can be implemented in other specific forms without departing from the spirit or essential characteristics of the invention. Therefore, the embodiments should be considered illustrative and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description. Thus, all variations falling within the meaning and scope of equivalents of the claims are intended to be included within the present invention. No reference numerals in the claims should be construed as limiting the scope of the claims.

[0088] Furthermore, it should be understood that although this specification describes embodiments, not every embodiment contains only one independent technical solution. This narrative style is merely for clarity. Those skilled in the art should consider the specification as a whole, and the technical solutions in each embodiment can also be appropriately combined to form other embodiments that can be understood by those skilled in the art.

[0089] The technologies, shapes, and structures not described in detail in this invention are all known technologies.

Claims

1. A method for simulating bicycle riding, characterized in that, Includes the following steps: S1. Obtain the identified flywheel speed obtained by the user pedaling the bicycle model (1) pedal, and smooth it to obtain the smooth flywheel speed at the current moment. S2. Obtain the current cycling state of the bicycle simulation, which includes uphill cycling, downhill cycling, flat road cycling, cornering cycling, and gliding cycling. S3. Determine whether the current speed of the smoothed flywheel exceeds the safe speed threshold under the current riding condition. If it exceeds, use the safe speed threshold as the current actual flywheel speed. If it does not exceed, use the speed of the smoothed flywheel as the current actual flywheel speed. S4. Input the actual flywheel speeds at the current moment and the previous moment into the power torque model and resistance torque model corresponding to the current riding state, respectively, to obtain the power torque and resistance torque corresponding to the current riding state under the current actual flywheel speed. S5. Obtain the output power and loss power at the current moment by acquiring the power torque and resistance torque, and then obtain the virtual vehicle speed within a processing cycle, and control the demonstration car (3) to drive at the virtual vehicle speed; S6. Adjust the rotational resistance of the bicycle model (1) flywheel according to the obtained resistance torque; S7. Repeat steps S1-S6 until the cycling simulation ends.

2. The method for simulating bicycle riding according to claim 1, characterized in that, The process of obtaining the flywheel speed is as follows: After the cycling simulation starts, continuously acquire the time difference signal of the flywheel rotating a unit angle after the user pedals; If a time difference signal is not acquired within the designed time during the ride, the riding state is determined to be gliding, and the flywheel speed is identified as 0 rpm. If a time difference signal is obtained within the design time, it is determined whether the time difference signal is less than the design time difference threshold. If it is less, it is removed as a noise signal; if it is greater, it is taken as a valid time difference signal, which is then combined with the unit angle to obtain the identification flywheel speed.

3. The method for simulating bicycle riding according to claim 1, characterized in that, The process of obtaining the speed of the smooth flywheel is as follows: The current flywheel speed is obtained by smoothing the identified flywheel speed using a smoothing model. Specifically, the smoothing model is as follows: ; In the formula, The current smoothed flywheel speed, in rpm; The adjustment factor is dimensionless. The current flywheel speed, in rpm; This represents the smoothed flywheel speed at the previous moment, in rpm.

4. The method for simulating bicycle riding according to claim 3, characterized in that, in, The adjustment factor is based on the deviation rate between the current identified flywheel speed and the smoothed flywheel speed from the previous time. Take values, where, ; In the formula: The deviation rate is dimensionless. The current flywheel speed, in rpm; The smoothed flywheel speed at the previous moment, in rpm; The adjustment factor is specifically determined as follows: If ,but Take 0.8-0.9; like ,and At rpm, then Take 0.1-0.2; like ,and At rpm, then Take 0.5; If the speed of the smooth flywheel was 0 rpm in the previous moment, Take 0.8-0.

9.

5. The method for simulating bicycle riding according to claim 1, characterized in that, In the riding state, uphill riding, downhill riding, flat road riding and curve riding are obtained based on the current road condition information of the demonstration car (3); gliding riding is determined by the failure to obtain the time difference signal within the design time.

6. The method for simulating bicycle riding according to claim 1, characterized in that, The process of determining whether the current speed of the smooth flywheel exceeds the safe speed threshold under the current road conditions is as follows: Input the current smoothed flywheel speed into the pulse width calculation model for the current riding state to obtain the pulse width calculation value. And determine the calculated pulse width value. Does it exceed the standard safe pulse width value? If the speed exceeds the safe speed threshold, the speed of the smoothing flywheel exceeds the safe speed threshold; if it does not exceed the safe speed threshold, the speed of the smoothing flywheel does not exceed the safe speed threshold. Among them, the standard safety pulse width values ​​for downhill riding, flat road riding, uphill riding, cornering riding, and gliding riding are... Take values ​​of 50, 60, 80, 40, and 30 respectively; When the riding mode is downhill, the pulse width calculation model is as follows: ; When riding on a flat road, the pulse width calculation model is as follows: ; When riding uphill, the pulse width calculation model is as follows: ; When riding in a curve, the pulse width calculation model is as follows: ; When the riding state is gliding, the pulse width calculation model is as follows: ; In the formula, To demonstrate the virtual speed of the car (3) at the current moment, the unit is m / s; The virtual speed of the demonstration vehicle (3) for entering the gliding riding moment, in m / s; The current smoothed flywheel speed, in rpm; This is the set limit speed of the flywheel, measured in rpm.

7. The method for simulating bicycle riding according to claim 1, characterized in that, The specific dynamic torque model and resistance torque model corresponding to the current riding state are as follows: When riding downhill, the torque model is as follows: ; When riding on a flat road, the torque model is as follows: ; When riding uphill, the torque model is as follows: ; In the formula, The torque is measured in N·m. The standard torque for downhill riding is taken as 5-10 N·m; The standard torque for riding on flat roads is taken as 10-30 N·m; The standard torque for uphill riding is 30-60 N·m. The current smoothed flywheel speed, in rpm; The set limit speed of the flywheel, in rpm; When riding downhill, the resistance torque model is: ; When riding on a flat road, the torque model is as follows: ; When riding uphill, the torque model is as follows: ; In the formula, This is the resistance torque, expressed in N·m. The current smoothed flywheel speed, in rpm; The set limit speed of the flywheel, in rpm; The standard torque for downhill riding is taken as 2.5 N·m; The standard torque for riding on flat roads is taken as 7.5 N·m; The standard torque for uphill riding is taken as 15 N·m; As a weighting factor, dimensionless, when the rotational speed... hour, ,on the contrary, .

8. The method for simulating bicycle riding according to claim 1, characterized in that, Current output power according to The power loss at the current moment is obtained according to... Seek; In the formula, Output power, in watts (W). Power loss is expressed in watts (W). The torque is measured in N·m. This is the resistance torque, expressed in N·m. The current smoothed flywheel speed, in rpm; The process of obtaining the virtual vehicle speed at the current moment specifically includes: Input the current output power and power loss into the energy accumulation model to obtain the cumulative energy of the ride; The cumulative energy model is as follows: In the formula, The cumulative energy at the current moment, expressed in J; This represents the cumulative energy at the previous moment, expressed in J. The processing cycle is expressed in seconds (s). according to Get the current virtual speed of the demonstration car (3); In the formula, To demonstrate the virtual speed of the car (3) at the current moment, the unit is m / s; This is a virtual mass, expressed in kg.

9. A simulation platform, wherein the simulation platform applies a bicycle riding simulation method as described in any one of claims 1-8, characterized in that, The system includes a bicycle model (1), on which a sensor module (11) for detecting the speed of the flywheel is installed, and a damping module for generating rotational damping for the flywheel is also installed on the bicycle model; it also includes a physical track (2) and a demonstration vehicle (3) that moves on the physical track, with position sensors installed at the start and end points of the uphill, downhill, curve and flat sections of the physical track (2) to obtain the riding status information.

10. The simulation platform according to claim 9, characterized in that, A conductive ring (21) is installed along the direction of the physical track (2), and a brush (31) that is slidably connected to the conductive ring (21) to draw power is installed on the demonstration trolley (3).