Method for simulating the rotation of a car wheel based on a servomotor

By combining a microcontroller and servo motor system with button control, the system enables switching of wheel rotation modes, speed selection, and wheel hub size selection. This solves the flexibility and efficiency problems of existing simulation systems and provides an efficient and convenient tool for automotive wheel research.

CN118778499BActive Publication Date: 2026-02-10TONGJI UNIV
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410750012.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-12
Publication Date
2026-02-10
Estimated Expiration
2044-06-12

AI Technical Summary

Technical Problem

Existing technologies cannot achieve wheel rotation mode switching, speed selection, and wheel hub size selection, which limits the applicability and flexibility of the simulation system.

Method used

It combines a microcontroller (MCU) with a servo motor driver and a servo motor, and uses buttons to control mode switching, speed selection and wheel size selection, and uses a serial port screen to display real-time information.

Benefits of technology

It achieves flexible control and high-precision simulation of wheel rotation, simplifies the operation process, and improves the flexibility and efficiency of experiments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118778499B_ABST
    Figure CN118778499B_ABST
Patent Text Reader

Abstract

The application provides a method for simulating rotation of automobile wheels based on a servo motor, and comprises the following steps: step 1, establishing a simulation system: sequentially connecting a microcontroller MCU, a servo motor driver and a servo motor through signals, connecting the servo motor with automobile wheels, and setting the automobile wheels in the air; connecting a serial screen with the microcontroller MCU; connecting a first button, a second button and a third button with corresponding IO ports of the microcontroller MCU; step 2, simulating a running mode of the automobile wheels; step 3, simulating a speed of the automobile wheels; and step 4, simulating running modes of different automobile wheels. The application can realize mode switching, speed selection and hub size selection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of automotive electronics and electronic measurement, and particularly relates to a method for simulating the rotation of automobile wheels based on a servo motor. Background Technology

[0002] In the field of automotive engineering, simulating wheel rotation is an important research task. The rotational characteristics of automobile wheels are closely related to vehicle performance, handling, and safety; therefore, accurate simulation and testing of wheel rotation is of great significance. Traditional methods often involve large-scale experimental equipment and complex operating procedures, such as using actual vehicles or dedicated turntables for testing. This is not only costly but also cumbersome, limiting the flexibility and controllability of the experiments.

[0003] With the continuous development of electronic technology, the method of simulating automobile wheel rotation using servo motors has gradually attracted attention. By employing electronic components such as microcontrollers (MCUs), a simple and efficient wheel rotation simulation system can be designed. This system can achieve precise control and monitoring of the wheel rotation process, while also possessing high flexibility and ease of operation, providing a new solution for automobile wheel-related research.

[0004] With the rapid development of automotive electronics technology, an increasing number of studies focus on utilizing electronic components for automotive-related research. For example, by simulating wheel rotation, one can study vehicle dynamics, braking performance, suspension systems, and vehicle stability. This research is of great significance for vehicle design, safety assessment, and the development of driver assistance systems. Furthermore, the automotive industry's demands for efficiency and cost are constantly increasing, and traditional experimental methods often fall short of these requirements. Therefore, researchers need to find a more efficient and convenient testing method to improve efficiency and reduce costs. The method of simulating car wheel rotation using servo motors is an innovative solution proposed to address this need and is expected to have wide applications and widespread adoption in the field of automotive engineering.

[0005] In the field of automotive engineering, simulating wheel rotation is an important research task. The rotational characteristics of automobile wheels are closely related to vehicle performance, handling, and safety; therefore, accurate simulation and testing of wheel rotation are of great significance.

[0006] However, no existing simulation method can simultaneously achieve the three functions of switching operating modes, selecting speed, and selecting wheel size. This lack of functionality limits the applicability and flexibility of the simulation system. For example, it cannot quickly adjust the wheel rotation speed according to research needs, nor can it test different types and sizes of wheel hubs.

[0007] With the continuous development of electronic technology, the method of simulating automobile wheel rotation using servo motors has gradually attracted attention. By employing electronic components such as microcontrollers (MCUs), a simple and efficient wheel rotation simulation system can be designed. This system can achieve precise control and monitoring of the wheel rotation process, while also possessing high flexibility and ease of operation, providing a new solution for automobile wheel-related research.

[0008] With the rapid development of automotive electronics technology, an increasing number of studies focus on utilizing electronic components for automotive-related research. For example, by simulating wheel rotation, one can study vehicle dynamics, braking performance, suspension systems, and vehicle stability. This research is of great significance for vehicle design, safety assessment, and the development of driver assistance systems. Furthermore, the automotive industry's demands for efficiency and cost are constantly increasing, and traditional experimental methods often struggle to meet these requirements. Therefore, researchers need to find more efficient and convenient testing methods to improve efficiency and reduce costs.

[0009] If mode switching, speed selection, and wheel size selection can be implemented in this system, its application scope will be greatly expanded, and it will be widely used and promoted in the field of automotive engineering. Summary of the Invention

[0010] The purpose of this invention is to provide a method for simulating the rotation of automobile wheels based on a servo motor, which enables mode switching, speed selection, and wheel hub size selection. The technical solution adopted is as follows:

[0011] A method for simulating the rotation of car wheels based on a servo motor includes the following steps:

[0012] Step 1: Establish a simulation system, which includes the following steps:

[0013] Connect the microcontroller (MCU), servo motor driver, and servo motor sequentially. Connect the servo motor to the car wheel and suspend the car wheel in the air.

[0014] Connect the serial port screen to the microcontroller (MCU);

[0015] Connect buttons 1, 2, and 3 to the corresponding I / O ports of the microcontroller MCU.

[0016] The number of times the number of buttons on button one is pressed corresponds to the operating mode, which is used to simulate the operating mode of a car wheel.

[0017] The number of times the second button is pressed is set to correspond to the speed, in order to simulate the speed of a car wheel;

[0018] Button number 3 is used to update the radius R0 of the current car wheel hub that is pre-stored in the microcontroller MCU to simulate the running mode of different car wheels.

[0019] Step 2: Simulate the operating mode of car wheels:

[0020] When you need to manually select the speed mode, the specific steps are as follows:

[0021] When button number one is pressed manually once, the microcontroller MCU detects that button number one has been pressed and changes the current stop mode to manual speed selection mode. Then, the microcontroller MCU sends the angular velocity control information corresponding to the press of button number one once to the servo motor driver and sends the running mode to the serial port screen.

[0022] Once the angular velocity control information is transmitted to the servo motor via the servo motor driver, the car wheels enter the manual speed selection mode, and then step 3 is executed.

[0023] Among them, the information corresponding to the angular velocity control information is that the angular velocity of the servo motor is 0;

[0024] When it is necessary to select other operating modes, the specific steps include:

[0025] If button number 1 is pressed manually N times consecutively, when the microcontroller MCU detects that button number 1 has been pressed N times, the microcontroller MCU changes the current operating mode to the next mode. Then, the microcontroller MCU sends the angular velocity control information N corresponding to the N presses of button number 1 to the servo motor driver and sends the operating mode to the serial port screen; where N > 1.

[0026] The angular velocity control information N is transmitted to the servo motor via the servo motor driver, and the car wheels enter the corresponding operating mode.

[0027] Step 3: Simulate the speed of car wheels:

[0028] Step 3A: Manually press button number 2 once. When the microcontroller MCU detects that button number 2 has been pressed, the microcontroller MCU changes the current speed of 0 to the initial speed. Then, the microcontroller MCU sends the initial angular velocity signal corresponding to the time button number 2 was pressed once. The initial angular velocity signal is output to the servo motor through the servo motor driver. The servo motor drives the car wheels to rotate at the initial angular velocity.

[0029] When it is necessary to simulate multiple different speeds, proceed to step 3B;

[0030] Step 3B: Press button number 2 manually M times consecutively. When the microcontroller MCU detects that button number 2 has been pressed M times, the microcontroller MCU changes the current speed to the next speed. Then, the microcontroller MCU sends the angular velocity signal corresponding to the number of times button number 2 has been pressed M times. The angular velocity signal is output to the servo motor through the servo motor driver, and the servo motor drives the car wheels to rotate at an angular velocity; where M > 1.

[0031] When it is necessary to simulate the operating modes of different car wheels, proceed to step 4;

[0032] Step 4: Simulate the operating modes of different car wheels:

[0033] Step 4A: Update the size of the car wheels:

[0034] When button number 3 is manually pressed once, the microcontroller (MCU) detects this press and updates R0. The updated wheel hub radius is then set to radius Ri. The MCU then sends the command corresponding to pressing button number 3 once to the serial port screen; where i represents the number of updates.

[0035] Step 4B: Replace the car wheels with car wheels corresponding to radius Ri;

[0036] Step 4C: Perform step 2.

[0037] Preferably, step 2 further includes the following steps:

[0038] After either angular velocity control information N or angular velocity control information I is transmitted to the servo motor, the servo motor feeds back the current operating data.

[0039] The microcontroller (MCU) parses the data to obtain the real-time speed of the car wheels.

[0040] The parsed speed and current radius R0 are sent to the serial screen via serial port 1 to update the displayed content.

[0041] Preferably, after the angular velocity control information N is transmitted to the servo motor, the speed control command N is displayed on the serial port screen;

[0042] Speed ​​control command N is either a cyclic acceleration command or a cyclic deceleration command;

[0043] The cyclic acceleration command includes several speed commands, with the initial speed command corresponding to a speed value of 0 km / h.

[0044] The cyclic deceleration command includes several speed commands, and the speed value corresponding to the starting speed command is >0 km / h.

[0045] Preferably, step 3 further includes the following steps:

[0046] After the initial angular velocity signal or angular velocity signal is transmitted to the servo motor, the servo motor feeds back the current running data;

[0047] The microcontroller (MCU) parses the data to obtain the real-time speed of the car wheels.

[0048] The analyzed speed and current radius R0 are both sent to the serial port screen via serial port to update the displayed content. Preferably, the speed calculation model in the microcontroller (MCU) is as follows:

[0049] Z = kpR

[0050] Where Z represents the car's speed, in km / h;

[0051] R is the radius of the car wheel hub, in inches;

[0052] p is the rotational speed of the servo motor, in rad / s;

[0053] k is a coefficient, where 0.431 < k < 0.482.

[0054] Preferably, in step 3, the speed increases by 10 km / h each time the second button is pressed.

[0055] Preferably, when button number three is pressed, the I / O port of button number three is at a high level.

[0056] Preferably, the servo motor is fixed to the top surface of the base, the top surface is inclined, and the output shaft of the servo motor extends upward along the top surface.

[0057] Preferably, a coupling is provided between the servo motor and the car wheel, and the coupling is connected to the wheel hub connecting plate of the car wheel, which is fixed to one side of the wheel by bolts.

[0058] Compared with the prior art, the advantages of the present invention are:

[0059] 1. Using a microcontroller (MCU) as the control core, buttons as input control peripherals, and a serial port screen as the display, the system communicates with the servo motor driver via a serial port module to control the servo motor's operation. Users can control the servo motor's operating status, including mode switching, speed selection, and wheel hub size selection, simply by pressing buttons.

[0060] 2. To simplify the operation related to simulating wheel rotation and to provide greater accuracy and convenience to the process.

[0061] 3. It provides a more flexible and operable method for research related to automobile wheel rotation, and also provides a simple and easy-to-use tool for the control of servo motors, which helps to promote the development and application of automotive electronics and measurement technology. Attached Figure Description

[0062] Figure 1 This is a physical structure diagram of the simulation system;

[0063] Figure 2 This is a schematic diagram showing the installation relationship between the servo motor and the base;

[0064] Figure 3 This is a schematic diagram of the structure of a servo motor and a car wheel.

[0065] Figure 4 This is the schematic diagram of the simulation system;

[0066] Figure 5 Logic diagram for button number one control

[0067] Figure 6 Logic diagram for button number two

[0068] Figure 7 This is a schematic diagram of the serial port screen display;

[0069] Figure 8 This is the internal logic diagram of a microcontroller (MCU). Detailed Implementation

[0070] The method for simulating automobile wheel rotation based on a servo motor according to the present invention will be described in more detail below with reference to the schematic diagrams, which illustrate preferred embodiments of the invention. It should be understood that those skilled in the art can modify the invention described herein while still achieving the advantageous effects of the invention. Therefore, the following description should be understood as being of general knowledge to those skilled in the art and is not intended to limit the invention.

[0071] like Figures 1-8 A method for simulating the rotation of car wheels based on a servo motor includes the following steps:

[0072] Step 1: Establish a simulation system.

[0073] The microcontroller (MCU), servo motor driver, and servo motor are sequentially connected via signals. The servo motor is then connected to the car wheels, which are suspended in the air. The car's weight is simulated to be less than the actual mass of the wheels, primarily based on the wheel's shape and size.

[0074] Connect the serial port screen to the microcontroller (MCU);

[0075] Connect button 1, button 2, and button 3 to the corresponding I / O ports of the microcontroller MCU.

[0076] The microcontroller (MCU) receives external control commands via three buttons. Upon receiving the button information, the MCU determines the operating mode and speed of the servo motor and updates the wheel hub radius based on its built-in state machine algorithm.

[0077] Buttons 1 and 2 communicate via external interrupts. Button 1 corresponds to interrupt number 1, and button 2 corresponds to interrupt number 2. The MCU typically has multiple external interrupts that can be invoked. During initialization, different I / O ports need to be configured to correspond to different interrupts (e.g., I / O port 1 corresponds to interrupt 1). Multiple I / O ports cannot use the same interrupt.

[0078] The number of times button number 1 is pressed is set to correspond to the operating mode, in order to simulate the operating mode of a car wheel;

[0079] The number of times the second button is pressed is set to correspond to the speed, in order to simulate the speed of a car wheel.

[0080] Button number 3 communicates via high and low level signals. When button number 3 is pressed, its I / O port is at a high level.

[0081] Button number 3 is used to update the radius R0 of the current car wheel that is pre-stored in the microcontroller MCU, in order to simulate different car wheel operating modes or rotation speeds.

[0082] The structure involved in suspending the car wheels in the air includes: a servo motor fixed to the top surface of the base, the top surface being inclined, and the output shaft of the servo motor extending upward along the top surface.

[0083] A coupling is installed between the servo motor and the car wheel. The coupling is connected to the wheel hub connecting plate of the car wheel, and the wheel hub connecting plate is fixed to one side of the wheel by bolts.

[0084] Step 2: Simulate the running mode of car wheels.

[0085] When you need to manually select the speed mode, the specific steps are as follows:

[0086] When button number one is pressed manually once, the microcontroller MCU detects that button number one has been pressed and changes the current stop mode to manual speed selection mode. Then, the microcontroller MCU sends the angular velocity control information corresponding to the press of button number one once to the servo motor driver and sends the running mode to the serial port screen.

[0087] Once the angular velocity control information is transmitted to the servo motor via the servo motor driver, the car wheels enter the manual speed selection mode, and then step 3 is executed.

[0088] Among them, the information corresponding to angular velocity control information 1 is that the angular velocity of the servo motor is 0.

[0089] When it is necessary to select other operating modes, the specific steps include:

[0090] If button number 1 is pressed manually N times consecutively, when the microcontroller MCU detects that button number 1 has been pressed N times, the microcontroller MCU changes the current operating mode to the next mode. Then, the microcontroller MCU sends the angular velocity control information N corresponding to the N presses of button number 1 to the servo motor driver and sends the operating mode to the serial port screen; where N > 1.

[0091] The angular velocity control information N is transmitted to the servo motor via the servo motor driver, and the car wheels enter the corresponding operating mode.

[0092] Interrupt number one is used to switch servo motor modes. The mode switching sequence is: stop mode, manual speed selection mode, cyclic acceleration mode, and cyclic acceleration / deceleration mode.

[0093] Among them, buttons number one and number two automatically reset each time they are pressed.

[0094] Step 3: Simulate the speed of the car wheels.

[0095] Step 3A: Manually press button number 2 once. When the microcontroller MCU detects that button number 2 has been pressed, the microcontroller MCU changes the current speed of 0 to the initial speed. Then, the microcontroller MCU sends the initial angular velocity signal corresponding to the time button number 2 was pressed once. The initial angular velocity signal is output to the servo motor through the servo motor driver. The servo motor drives the car wheels to rotate at the initial angular velocity.

[0096] When it is necessary to simulate multiple different speeds, proceed to step 3B.

[0097] In step 3B, the speed range is from 0 km / h to 120 km / h. Each press increases the speed by 10 km / h. When the speed reaches 120 km / h, pressing it again returns the speed to 0 km / h.

[0098] Step 3B: Press button number 2 manually M times consecutively. When the microcontroller MCU detects that button number 2 has been pressed M times, the microcontroller MCU changes the current speed to the next speed. Then, the microcontroller MCU sends the angular velocity signal corresponding to the number of times button number 2 has been pressed M times. The angular velocity signal is output to the servo motor through the servo motor driver. The servo motor drives the car wheels to rotate at an angular velocity. Where M > 1.

[0099] Each time button number two is pressed, the speed increases by 10 km / h.

[0100] When it is necessary to simulate the operating modes of different car wheels, proceed to step 4.

[0101] Step 4: Simulate the operating modes of different car wheels.

[0102] Step 4A: Update the size of the car wheels.

[0103] When button number 3 is manually pressed once, the microcontroller MCU detects that button number 3 has been pressed and updates R0. The updated wheel hub radius is radius Ri. Then, the microcontroller MCU sends the command corresponding to pressing button number 3 once to update R0 and the updated wheel hub radius is radius Ri to the serial port screen; i is the number of updates.

[0104] Step 4B: Replace the car wheels with car wheels corresponding to radius Ri.

[0105] Step 4C: Perform step 2.

[0106] Furthermore, step 2 also includes the following steps:

[0107] After the angular velocity control information N or angular velocity control information I is transmitted to the servo motor, the servo motor feeds back the current running data.

[0108] The microcontroller (MCU) parses the data to obtain the real-time speed of the car wheels.

[0109] The analyzed driving speed and current radius R0 are sent to the serial port screen via serial port 1 to update the displayed content.

[0110] In this process, after the angular velocity control information N is transmitted to the servo motor, the servo motor feeds back the current running data. The microcontroller MCU parses the data and obtains the real-time speed of the car wheel rotation, which is the speed control command N.

[0111] Speed ​​control command N is either a cyclic acceleration command or a cyclic deceleration command;

[0112] The cyclic acceleration command includes several speed commands, with the initial speed command corresponding to a speed value of 0 km / h.

[0113] The cyclic deceleration command includes several speed commands, with the initial speed command corresponding to a speed value greater than 0 km / h.

[0114] After the angular velocity control information is transmitted to the servo motor, the servo motor feeds back the current running data. The microcontroller (MCU) parses the data and obtains the real-time speed of the car wheel rotation, which is the speed control command.

[0115] Step 3 also includes the following steps:

[0116] After the initial angular velocity signal or angular velocity signal is transmitted to the servo motor, the servo motor feeds back the current running data;

[0117] The microcontroller (MCU) parses the data to obtain the real-time speed of the car wheels.

[0118] The analyzed driving speed and current radius R0 are sent to the serial port screen via serial port 1 to update the displayed content.

[0119] The operating mode is displayed in the upper left corner of the serial port screen, including stop, manual, cyclic acceleration, and cyclic acceleration / deceleration.

[0120] The simulated wheel's speed is displayed in the upper right corner of the serial port screen, in kilometers per hour.

[0121] The current wheel hub is displayed in the middle left of the serial port screen; the mode, speed, and wheel hub are displayed from left to right at the bottom of the serial port screen.

[0122] The conversion model between speed and angular velocity in a microcontroller (MCU) is as follows:

[0123] Z = kpR

[0124] Where Z is the vehicle speed, i.e., speed, km / h;

[0125] R is the radius of the wheel hub, in inches; 16 inches < R < 20 inches.

[0126] p is the rotational speed of the servo motor, in rad / s;

[0127] k is a coefficient, where 0.431 < k < 0.482.

[0128] Specifically, when R is 16, k is 0.446; when R is 17, k is 0.482; when R is 18, k is 0.456; when R is 19, k is 0.438; and when R is 20, k is 0.431.

[0129] 1. Install a wheel structure on a servo motor to simulate the rotation of a car wheel.

[0130] The simulated wheel (car wheel) is mounted on the output shaft of the servo motor and secured with bolts or other fasteners.

[0131] Adjust the balance of the tire structure to ensure stable operation and avoid unnecessary vibration or eccentricity.

[0132] Finally, check the connecting parts to ensure that the wheel structure and servo motor are firmly and reliably connected, thereby ensuring the accuracy and stability of the experiment.

[0133] The connection structure is as follows Figure 3 As shown, the servo motor and wheel structure are connected by a coupling.

[0134] 2. Control the motor by communicating with the servo motor driver through the microcontroller.

[0135] A simulation system that uses servo motors to control the simulated wheel states, such as... Figure 1 As shown, the simulation system consists of a microcontroller, a servo motor driver, a servo motor, a serial port screen, car wheels, three buttons, a 12-volt power supply, and a 24-volt power supply.

[0136] The microcontroller connects to the servo motor driver via an RS232 to Ethernet cable, such as... Figure 2 As shown.

[0137] The microcontroller controls the servo motor's operating mode switching and speed selection by sending serial port information (angular velocity control information).

[0138] The servo motor controller system is connected to a 12V DC power supply, and the servo motor driver is connected to a 24V DC power supply.

[0139] 3. Real-time control of the servo motor is achieved using the button control module (buttons).

[0140] The operating logic of a microcontroller is as follows Figure 8 As shown,

[0141] When the system starts, the buttons, interrupts, and serial port are initialized first. Specifically, this is equivalent to initializing and configuring the above modules after the system starts. For example, the serial port module needs to be configured with its communication baud rate, and the external interrupt module needs to be configured with which interrupt corresponds to which button.

[0142] Then, the microcontroller reads the button status, obtains the command to be executed, and performs real-time control of the servo motor.

[0143] When button 1 or button 2 is pressed, the corresponding external interrupt 1 or external interrupt 2 is triggered, executing the corresponding state logic, as follows: Figure 5 and Figure 6 As shown.

[0144] The number one button is responsible for switching system modes.

[0145] Button number two is used to control the speed in manual speed mode.

[0146] When a button is pressed, serial port 0 (UART0) and serial port 1 (UART1) send the control information corresponding to the button to the servo motor and the serial screen respectively, thereby realizing the adjustment of the servo motor's operating mode or speed and the updating of the serial screen.

[0147] Serial port screen display as follows Figure 7 As shown, this includes operating mode, wheel speed, and wheel hub information.

[0148] Specifically: when the microcontroller sends a hexadecimal array 00 00 00 00 to the servo motor, it can control the motor to stop;

[0149] When the microcontroller sends 00 00 01 01 to the servo motor, the motor is started.

[0150] When the microcontroller sends 06 09 34 43 to the servo motor, it controls the servo motor to rotate at a speed of 120 kilometers per hour.

[0151] The microcontroller reads the high and low levels of the I / O port corresponding to button number three at fixed intervals. When a high level is detected on the I / O port, the corresponding button is pressed, and the corresponding logic instruction is executed to switch the wheel hub size.

[0152] The above are merely preferred embodiments of the present invention and do not constitute any limitation on the present invention. Any equivalent substitutions or modifications made by those skilled in the art to the technical solutions and content disclosed in the present invention without departing from the scope of the present invention shall be deemed to have remained within the protection scope of the present invention.

Claims

1. A method for simulating the rotation of automobile wheels based on a servo motor, characterized in that, Includes the following steps: Step 1: Establish a simulation system, which includes the following steps: Connect the microcontroller (MCU), servo motor driver, and servo motor sequentially. Connect the servo motor to the car wheel and suspend the car wheel in the air. Connect the serial port screen to the microcontroller (MCU); Connect buttons 1, 2, and 3 to the corresponding I / O ports of the microcontroller MCU. The number of times the number of buttons on button one is pressed corresponds to the operating mode, which is used to simulate the operating mode of a car wheel. The number of times the second button is pressed is set to correspond to the speed, in order to simulate the speed of a car wheel; Button number 3 is used to update the radius R0 of the current car wheel hub that is pre-stored in the microcontroller MCU to simulate the running mode of different car wheels. Step 2: Simulate the operating mode of car wheels: When you need to manually select the speed mode, the specific steps are as follows: When button number one is pressed manually once, the microcontroller MCU detects that button number one has been pressed and changes the current stop mode to manual speed selection mode. Then, the microcontroller MCU sends the angular velocity control information corresponding to the press of button number one once to the servo motor driver and sends the running mode to the serial port screen. Once the angular velocity control information is transmitted to the servo motor via the servo motor driver, the car wheels enter the manual speed selection mode, and then step 3 is executed. Among them, the information corresponding to the angular velocity control information is that the angular velocity of the servo motor is 0; When it is necessary to select other operating modes, the specific steps include: If button number 1 is pressed manually N times consecutively, when the microcontroller MCU detects that button number 1 has been pressed N times, the microcontroller MCU changes the current operating mode to the next mode. Then, the microcontroller MCU sends the angular velocity control information N corresponding to the N presses of button number 1 to the servo motor driver and sends the operating mode to the serial port screen; where N > 1. The angular velocity control information N is transmitted to the servo motor via the servo motor driver, and the car wheels enter the corresponding operating mode. Step 3: Simulate the speed of car wheels: Step 3A: Manually press button number 2 once. When the microcontroller MCU detects that button number 2 has been pressed, the microcontroller MCU changes the current speed of 0 to the initial speed. Then, the microcontroller MCU sends the initial angular velocity signal corresponding to the time button number 2 was pressed once. The initial angular velocity signal is output to the servo motor through the servo motor driver. The servo motor drives the car wheels to rotate at the initial angular velocity. When it is necessary to simulate multiple different speeds, proceed to step 3B; Step 3B: Press button number 2 manually M times consecutively. When the microcontroller MCU detects that button number 2 has been pressed M times, the microcontroller MCU changes the current speed to the next speed. Then, the microcontroller MCU sends the angular velocity signal corresponding to the number of times button number 2 has been pressed M times. The angular velocity signal is output to the servo motor through the servo motor driver, and the servo motor drives the car wheels to rotate at an angular velocity; where M > 1. When it is necessary to simulate the operating modes of different car wheels, proceed to step 4; Step 4: Simulate the operating modes of different car wheels: Step 4A: Update the size of the car wheels: When button number 3 is manually pressed once, the microcontroller (MCU) detects this press and updates R0. The updated wheel hub radius is then set to radius Ri. The MCU then sends the command corresponding to pressing button number 3 once to the serial port screen; where i represents the number of updates. Step 4B: Replace the car wheels with car wheels corresponding to radius Ri; Step 4C: Perform step 2.

2. The method for simulating automobile wheel rotation based on a servo motor according to claim 1, characterized in that, Step 2 also includes the following steps: After either angular velocity control information N or angular velocity control information I is transmitted to the servo motor, the servo motor feeds back the current operating data. The microcontroller (MCU) parses the data to obtain the real-time speed of the car wheels. The parsed speed and current radius R0 are sent to the serial screen via serial port 1 to update the displayed content.

3. The method for simulating automobile wheel rotation based on a servo motor according to claim 2, characterized in that, After the angular velocity control information N is transmitted to the servo motor, the speed control command N is displayed on the serial port screen; Speed ​​control command N is either a cyclic acceleration command or a cyclic deceleration command; The cyclic acceleration command includes several speed commands, with the initial speed command corresponding to a speed value of 0 km / h. The cyclic deceleration command includes several speed commands, and the speed value corresponding to the starting speed command is >0 km / h.

4. The method for simulating automobile wheel rotation based on a servo motor according to claim 1, characterized in that, Step 3 also includes the following steps: After the initial angular velocity signal or angular velocity signal is transmitted to the servo motor, the servo motor feeds back the current running data; The microcontroller (MCU) parses the data to obtain the real-time speed of the car wheels. The parsed speed and current radius R0 are sent to the serial screen via the serial port to update the displayed content.

5. The method for simulating automobile wheel rotation based on a servo motor according to claim 1, characterized in that, The model for computational speed in a microcontroller (MCU) is as follows: Z = kpR Where Z is the vehicle speed, in km / h; R is the radius of the car wheel hub, in inches; p is the rotational speed of the servo motor, in rad / s; k is a coefficient, where 0.431 < k < 0.

482.

6. The method for simulating automobile wheel rotation based on a servo motor according to claim 1, characterized in that, In step 3, the speed increases by 10 km / h each time button number 2 is pressed.

7. The method for simulating automobile wheel rotation based on a servo motor according to claim 1, characterized in that, When button number three is pressed, the I / O port of button number three is at a high level.

8. The method for simulating automobile wheel rotation based on a servo motor according to claim 1, characterized in that, The servo motor is fixed to the top surface of the base, which is inclined, and the output shaft of the servo motor extends upward along the top surface.

9. The method for simulating automobile wheel rotation based on a servo motor according to claim 1, characterized in that, A coupling is provided between the servo motor and the car wheel. The coupling is connected to the wheel hub connecting plate of the car wheel, and the wheel hub connecting plate is fixed to one side of the wheel by bolts.

Citation Information

Patent Citations

  • Simulated wheel speed and acquisition device for EPB rear wheel anti-lock function test and test method thereof

    CN111929072A

  • Vehicle speed analog device

    CN202886112U