Method for simulating rotation of automobile wheel based on servo motor

Through the combination of microcontroller and servo motor driver, buttons are used to control the operating mode, speed and hub radius of the servo motor, which solves the problems of mode switching, speed selection and wheel hub size selection in the existing technology, and realizes the rotation of automobile wheels. Flexible control expands the application scope of the simulation system and improves experimental efficiency.

CN118778499AActive Publication Date: 2024-10-15TONGJI UNIV
View PDF 7 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing vehicle wheel rotation simulation methods cannot realize operating mode switching, speed selection and wheel hub size selection at the same time, which limits the scope of application and flexibility of the simulation system. It cannot quickly adjust the speed of wheel rotation according to research needs and target different types and sizes of wheels. The wheels are tested.

Method used

Using a microcontroller (MCU) and servo motor driver, the operating mode, speed and hub radius of the servo motor are controlled through buttons to achieve mode switching, speed selection and hub size selection. The serial port screen is used to display real-time data, simplifying operations and improving accuracy. .

Benefits of technology

It achieves flexible control of car wheel rotation, expands the application scope of the simulation system, improves the efficiency and convenience of experiments, reduces costs, and provides a more efficient and convenient testing method.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118778499A_ABST
    Figure CN118778499A_ABST
Patent Text Reader

Abstract

The invention provides a method for simulating rotation of automobile wheels based on a servo motor, which comprises the following steps of: 1, establishing a simulation system: sequentially connecting a microcontroller MCU (Microprogrammed Control Unit), a servo motor driver and the servo motor through signals, connecting the servo motor with the automobile wheels, and suspending the automobile wheels; a serial port screen is connected with the microcontroller MCU; a first key, a second key and a third key are respectively connected with corresponding IO ports of the microcontroller MCU; step 2, simulating an operation mode of the automobile wheel; 3, simulating the speed of the automobile wheels; and 4, simulating operation modes of different automobile wheels. According to the invention, mode switching, speed selection and hub size selection can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of automobile electronics and electronic measurement, and in particular relates to a method for simulating automobile wheel rotation based on a servo motor. Background Art

[0002] In the field of automotive engineering, simulating wheel rotation is an important research task. The rotation characteristics of vehicle wheels are closely related to the performance, handling and safety of the vehicle, so it is of great significance to accurately simulate and test wheel rotation. Traditional methods often involve large-scale experimental equipment and complex operating procedures, such as using actual vehicles or dedicated turning tables for testing, which is not only costly but also cumbersome to operate, limiting the flexibility and controllability of the experiment.

[0003] With the continuous development of electronic technology, the method of simulating the rotation of automobile wheels using servo motors has gradually attracted attention. By using 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, and has the characteristics of strong flexibility and easy operation, providing a new solution for research related to automobile wheels.

[0004] With the rapid development of automotive electronic technology, more and more research focuses on the use of electronic components for automotive-related research. For example, by simulating wheel rotation, the vehicle's dynamic characteristics, braking performance, suspension system, and vehicle stability can be studied. These studies are of great significance to the design of automobiles, safety assessment, and the development of driver assistance systems. In addition, the automotive industry's requirements for efficiency and cost are constantly increasing, and traditional experimental methods often find it difficult to meet these requirements. Therefore, researchers need to find a more efficient and convenient testing method to improve efficiency and reduce costs. The method of using servo motors to simulate the rotation of automobile wheels is an innovative solution proposed to meet this demand, and is expected to be widely used and promoted in the field of automotive engineering.

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

[0006] However, there is no simulation method in the prior art that can simultaneously implement the three functions of operating mode switching, speed selection, and wheel size selection. The lack of these functions limits the scope and flexibility of the simulation system. For example, it is impossible to quickly adjust the wheel rotation speed according to research needs, and it is impossible to test different types and sizes of wheels.

[0007] With the continuous development of electronic technology, the method of simulating the rotation of automobile wheels using servo motors has gradually attracted attention. By using 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, and has the characteristics of strong flexibility and easy operation, providing a new solution for research related to automobile wheels.

[0008] With the rapid development of automotive electronic technology, more and more research focuses on using electronic components for automotive-related research. For example, by simulating wheel rotation, the vehicle's dynamic characteristics, braking performance, suspension system, and vehicle stability can be studied. These studies are of great significance to automotive design, safety assessment, and the development of driver assistance systems. In addition, the automotive industry's requirements for efficiency and cost are constantly increasing, and traditional experimental methods often cannot meet these requirements. Therefore, researchers need to find a more efficient and convenient testing method to improve efficiency and reduce costs.

[0009] If mode switching, speed selection and wheel size selection can be realized 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 the present invention is to provide a method for simulating the rotation of automobile wheels based on a servo motor, which can realize mode switching, speed selection and wheel hub size selection. The technical solution adopted is as follows:

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

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

[0013] Connect the microcontroller MCU, the servo motor driver, and the servo motor in sequence, 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 button 1, button 2 and button 3 to the corresponding IO ports of the microcontroller MCU respectively;

[0016] The number of times the number 1 button is pressed is set corresponding to the operation mode, so as to simulate the operation mode of the car wheel;

[0017] The number of times the No. 2 button is pressed is set corresponding to the speed, so as to simulate the speed of the car's wheels;

[0018] The third button is used to update the radius R0 of the current car wheel hub pre-stored in the microcontroller MCU to simulate the operation modes of different car wheels;

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

[0020] When you need to select the manual speed selection mode, the specific steps include:

[0021] Manually press the No. 1 button once. When the microcontroller MCU detects that the No. 1 button is pressed, the microcontroller MCU changes the current stop mode to the manual speed selection mode. Then the microcontroller MCU sends the angular velocity control information corresponding to the No. 1 button being pressed once to the servo motor driver and sends the operating 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 vehicle wheel enters the manual speed selection mode, and then executes step 3;

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

[0024] When you need to select other operating modes, the following steps are included:

[0025] Manually press the No. 1 button N times continuously. When the microcontroller MCU detects that the No. 1 button is pressed and pressed N times, the microcontroller MCU changes the current operation mode to the next mode, and then the microcontroller MCU sends the angular velocity control information N corresponding to the No. 1 button being pressed N times to the servo motor driver and sends the operation mode to the serial port screen; wherein N>1;

[0026] The angular velocity control information N is transmitted to the servo motor via the servo motor driver, and the vehicle wheels enter the corresponding operation mode;

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

[0028] Step 3A, manually press the No. 2 button once. When the microcontroller MCU detects that the No. 2 button is pressed, the microcontroller MCU changes the current speed 0 to the initial speed. Then the microcontroller MCU sends an initial angular velocity signal corresponding to the pressing of the No. 2 button once. The initial angular velocity signal is output to the servo motor via the servo motor driver. The servo motor drives the car wheel to rotate at the initial angular velocity.

[0029] When multiple different speeds need to be simulated, execute step 3B;

[0030] Step 3B, manually pressing the No. 2 button M times continuously. When the microcontroller MCU detects that the No. 2 button is pressed M times, the microcontroller MCU changes the current speed to the next speed. Then the microcontroller MCU sends an angular velocity signal corresponding to the No. 2 button being pressed M times. The angular velocity signal is output to the servo motor via the servo motor driver. The servo motor drives the wheels of the vehicle to rotate at an angular velocity; wherein M>1;

[0031] When it is necessary to simulate the operation modes of different vehicle wheels, execute step 4;

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

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

[0034] Manually press the No. 3 button once. When the microcontroller MCU detects that the No. 3 button is pressed, the microcontroller MCU updates R0. The updated wheel hub radius is the radius Ri. Then the microcontroller MCU sends the command corresponding to the No. 3 button being pressed once to the serial port screen; where i is the number of updates:

[0035] Step 4B, replacing the automobile wheel with an automobile wheel corresponding to the radius Ri;

[0036] Step 4C, execute step 2.

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

[0038] After the angular velocity control information N or the angular velocity control information A is transmitted to the servo motor, the servo motor feeds back the current operation data;

[0039] The microcontroller MCU analyzes the data to obtain the real-time speed of the car's wheels;

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

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

[0042] The speed control instruction N is a cycle acceleration instruction or a cycle deceleration instruction;

[0043] The cycle acceleration instruction includes a plurality of speed instructions, and the speed value corresponding to the initial speed instruction is 0 km / h;

[0044] The cyclic deceleration instruction includes a plurality of speed instructions, and the speed value corresponding to the initial speed instruction is greater than 0 km / h.

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

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

[0047] The microcontroller MCU analyzes the data to obtain the real-time speed of the car's wheels;

[0048] The parsed speed and current radius R0 are sent to the serial port screen via the serial port to update the display content. Preferably, the model for calculating the speed in the microcontroller MCU is:

[0049] Z=kpR

[0050] Where, Z-car speed, km / h;

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

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

[0053] k is the coefficient, 0.431<k<0.482.

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

[0055] Preferably, when the third button is pressed, the IO port of the third button 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 arranged between the servo motor and the automobile wheel, the coupling is connected to a hub connecting plate of the automobile wheel, and the hub connecting plate 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. Use the microcontroller (MCU) as the control core, use buttons as input control peripherals, use the serial port screen as the display part, and use the serial port module to communicate with the servo motor driver to control the operation of the servo motor. Users can control the operating status of the servo motor by pressing buttons, including mode switching, speed selection, and wheel size selection.

[0060] 2. To simplify the operations related to simulating wheel rotation and provide higher accuracy and convenience for the process.

[0061] 3. It provides a more flexible and operable method for the research on automobile wheel rotation, and at the same time 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. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] Figure 1 The physical structure diagram of the simulation system;

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

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

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

[0066] Figure 5 Schematic diagram of the logic control of button No. 1

[0067] Figure 6 Schematic diagram of the logic control of button No. 2

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

[0069] Figure 8 This is the internal logic diagram of the microcontroller MCU. DETAILED DESCRIPTION

[0070] The method for simulating the rotation of a car wheel based on a servo motor of the present invention will be described in more detail below in conjunction with a schematic diagram, wherein a preferred embodiment of the present invention is shown, and it should be understood that those skilled in the art can modify the present invention described herein and still achieve the advantageous effects of the present invention. Therefore, the following description should be understood as being widely known to those skilled in the art and not as a limitation of the present invention.

[0071] like Figures 1 to 8 , a method for simulating the rotation of a car wheel based on a servo motor, comprising the following steps:

[0072] Step 1: Establish a simulation system.

[0073] The microcontroller MCU, the servo motor driver, and the servo motor are connected in sequence, and the servo motor is connected to the car wheel, and the car wheel is suspended in the air. The weight of the car is less than the actual wheel mass, and the simulation is mainly based on the wheel shape and size.

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

[0075] Connect button number 1 (button 1), button number 2 (button 2) and button number 3 (button 3) to the corresponding IO ports of the microcontroller MCU respectively.

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

[0077] Among them, button 1 and button 2 communicate through external interrupts respectively. Button 1 corresponds to interrupt number 1, and button 2 corresponds to interrupt number 2. There are generally multiple external interrupts that can be called inside the MCU. During initialization, different IO ports need to be configured to correspond to different interrupts (for example, IO port 1 corresponds to interrupt 1). Multiple IO ports cannot use the same interrupt.

[0078] The number of times the No. 1 button is pressed is set corresponding to the operation mode, so as to simulate the operation mode of the car wheel;

[0079] The number of times the second button is pressed is set corresponding to the speed, so as to simulate the speed of the car wheels.

[0080] The third button communicates through high and low level signals. When the third button is pressed, the IO port of the third button is high level.

[0081] The third button is used to update the radius R0 of the current vehicle wheel pre-stored in the microcontroller MCU to simulate the operation mode or rotation speed of different vehicle wheels.

[0082] The structure involved in making the automobile wheel suspended is as follows: 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.

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

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

[0085] When you need to select the manual speed selection mode, the specific steps include:

[0086] Manually press the No. 1 button once. When the microcontroller MCU detects that the No. 1 button is pressed, the microcontroller MCU changes the current stop mode to the manual speed selection mode. Then the microcontroller MCU sends the angular velocity control information corresponding to the No. 1 button being pressed once to the servo motor driver and sends the operating 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 vehicle wheel enters the manual speed selection mode, and then executes step 3;

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

[0089] When you need to select other operating modes, the following steps are included:

[0090] Manually press the No. 1 button N times continuously. When the microcontroller MCU detects that the No. 1 button is pressed and pressed N times, the microcontroller MCU changes the current operation mode to the next mode, and then the microcontroller MCU sends the angular velocity control information N corresponding to the No. 1 button being pressed N times to the servo motor driver and sends the operation mode to the serial port screen; wherein N>1;

[0091] The angular velocity control information N is transmitted to the servo motor via the servo motor driver, and the vehicle wheels enter the corresponding operation mode;

[0092] Interrupt number 1 is used to realize the conversion of the servo motor mode. The mode switching sequence is: stop mode, manual speed selection mode, cycle acceleration mode, and cycle acceleration and deceleration mode.

[0093] Among them, button No. 1 and button No. 2 are automatically reset each time they are pressed.

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

[0095] Step 3A, manually press the No. 2 button once. When the microcontroller MCU detects that the No. 2 button is pressed, the microcontroller MCU changes the current speed 0 to the initial speed. Then the microcontroller MCU sends an initial angular velocity signal corresponding to the pressing of the No. 2 button once. The initial angular velocity signal is output to the servo motor via the servo motor driver. The servo motor drives the car wheel to rotate at the initial angular velocity.

[0096] When multiple different rotation speeds need to be simulated, execute step 3B.

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

[0098] Step 3B, manually press button No. 2 continuously M times. When the microcontroller MCU detects that button No. 2 is pressed and pressed M times, the microcontroller MCU changes the current speed to the next speed. Then the microcontroller MCU sends an angular velocity signal corresponding to when button No. 2 is 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 wheel to rotate at an angular velocity; wherein, M>1.

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

[0100] When it is necessary to simulate the operation modes of different vehicle wheels, execute step 4.

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

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

[0103] Manually press button No. 3 once. When the microcontroller MCU detects that button No. 3 is pressed, the microcontroller MCU updates R0, and the updated wheel hub radius is radius Ri. Then the microcontroller MCU sends the instruction corresponding to button No. 3 being pressed once, the microcontroller MCU updates 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 vehicle wheel with a vehicle wheel corresponding to the radius Ri.

[0105] Step 4C, execute step 2.

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

[0107] After the angular velocity control information N or the angular velocity control information 1 is transmitted to the servo motor, the servo motor feeds back the current operation data;

[0108] The microcontroller MCU analyzes the data to obtain the real-time speed of the car's wheels;

[0109] The parsed driving speed and current radius R0 are sent to the serial port screen through serial port 1 to update the display content.

[0110] Among them, after the angular velocity control information N is transmitted to the servo motor, the servo motor feeds back the current operating data, and the microcontroller MCU parses the data to obtain the real-time speed of the car wheel rotation, that is, the speed control instruction N.

[0111] The speed control instruction N is a cycle acceleration instruction or a cycle deceleration instruction;

[0112] The cycle acceleration instruction includes several speed instructions, and the speed value corresponding to the starting speed instruction is 0km / h;

[0113] The cyclic deceleration instruction includes several speed instructions, and the speed value corresponding to the initial speed instruction is greater than 0km / h.

[0114] After the angular velocity control information is transmitted to the servo motor, the servo motor feeds back the current operating data, and the microcontroller MCU analyzes the data to obtain the real-time speed of the vehicle wheel rotation, that is, the speed control instruction 1.

[0115] Step 3 also includes the following steps:

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

[0117] The microcontroller MCU analyzes the data to obtain the real-time speed of the car's wheels;

[0118] The parsed driving speed and current radius R0 are sent to the serial port screen through serial port 1 to update the display content.

[0119] The upper left corner of the serial port screen displays the operating mode, including stop, manual, cycle acceleration, and cycle acceleration and deceleration.

[0120] The upper right corner of the serial port screen displays the running speed of the simulated wheel in kilometers per hour;

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

[0122] Among them, the conversion model for calculating speed and angular velocity in the microcontroller MCU is:

[0123] ZGar

[0124] Among them, Z is the speed of the car, that is, speed, km / h;

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

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

[0127] k is the coefficient, 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; when R is 20, k is 0.431.

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

[0130] Install the simulated wheel (car wheel) on the output shaft of the servo motor and secure it 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 connection parts to ensure that the wheel structure and servo motor are firmly and reliably connected to ensure the accuracy and stability of the experiment.

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

[0134] 2. Control the motor through communication between the microcontroller and the servo motor driver

[0135] The simulation system using servo motor to control the simulated wheel state is as follows Figure 1 As shown, the simulation system consists of a microcontroller, a servo motor driver, a servo motor, a serial port screen, a car wheel, three buttons, a 12V power supply and a 24V power supply.

[0136] The microcontroller is connected to the servo motor driver via a RS232 to Ethernet cable. Figure 2 shown.

[0137] The microcontroller controls the mode switching and speed selection of the servo motor 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. Use the key control module (button) to control the servo motor in real time.

[0140] The microcontroller's operating logic is as follows Figure 8 As shown,

[0141] When the system is running, the buttons, interrupts and serial ports are initialized first. Specifically, it is equivalent to initializing the configuration of the above modules after the system starts. For example, the serial port module needs to configure the baud rate of its communication, and the external interrupt module needs to configure which interrupt corresponds to which button.

[0142] The microcontroller then reads the button status, obtains the commands to be executed, and controls the servo motor in real time.

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

[0144] Button 1 is responsible for system mode conversion.

[0145] Button 2 is responsible for speed control in manual speed selection mode.

[0146] After 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 port screen respectively, so as to adjust the operation mode or speed of the servo motor and update the serial port screen.

[0147] The serial port screen displays as follows Figure 7 Displayed, including operating mode, wheel speed and hub information.

[0148] Specifically: When the microcontroller sends the hexadecimal array 00 00 00 00 to the servo motor, the motor can be controlled to stop;

[0149] When the microcontroller sends 00 00 01 01 to the servo motor, the motor is controlled to start;

[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 IO port corresponding to the third button at fixed intervals. When a high level is detected at the IO port, the corresponding button is pressed and the corresponding logic instruction is executed to switch the wheel size.

[0152] The above is only a preferred embodiment of the present invention and does not limit the present invention in any way. Any technician in the relevant technical field, without departing from the scope of the technical solution of the present invention, makes any form of equivalent replacement or modification to the technical solution and technical content disclosed in the present invention, which does not depart from the content of the technical solution of the present invention and still falls 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: The following steps are involved: Step 1: Establish a simulation system, which includes the following steps: Connect the microcontroller MCU, the servo motor driver, and the servo motor in sequence, 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 button 1, button 2 and button 3 to the corresponding IO ports of the microcontroller MCU respectively; The number of times the number 1 button is pressed is set corresponding to the operation mode, so as to simulate the operation mode of the car wheel; The number of times the No. 2 button is pressed is set corresponding to the speed, so as to simulate the speed of the car's wheels; The third button is used to update the radius R0 of the current car wheel hub pre-stored in the microcontroller MCU to simulate the operation modes of different car wheels; Step 2: Simulate the operation mode of the car wheels: When you need to select the manual speed selection mode, the specific steps include: Manually press the No. 1 button once. When the microcontroller MCU detects that the No. 1 button is pressed, the microcontroller MCU changes the current stop mode to the manual speed selection mode. Then the microcontroller MCU sends the angular velocity control information corresponding to the No. 1 button being pressed once to the servo motor driver and sends the operating mode to the serial port screen. Once the angular velocity control information is transmitted to the servo motor via the servo motor driver, the vehicle wheel enters the manual speed selection mode, and then executes step 3; Among them, the information corresponding to the angular velocity control information 1 is that the angular velocity of the servo motor is 0; When you need to select other operating modes, the following steps are included: Manually press the No. 1 button N times continuously. When the microcontroller MCU detects that the No. 1 button is pressed and pressed N times, the microcontroller MCU changes the current operation mode to the next mode, and then the microcontroller MCU sends the angular velocity control information N corresponding to the No. 1 button being pressed N times to the servo motor driver and sends the operation mode to the serial port screen; wherein N>1; The angular velocity control information N is transmitted to the servo motor via the servo motor driver, and the vehicle wheels enter the corresponding operation mode; Step 3: Simulate the speed of the car wheels: Step 3A, manually press the No. 2 button once. When the microcontroller MCU detects that the No. 2 button is pressed, the microcontroller MCU changes the current speed 0 to the initial speed. Then the microcontroller MCU sends an initial angular velocity signal corresponding to the pressing of the No. 2 button once. The initial angular velocity signal is output to the servo motor via the servo motor driver. The servo motor drives the car wheel to rotate at the initial angular velocity. When multiple different speeds need to be simulated, execute step 3B; Step 3B, manually pressing the No. 2 button M times continuously. When the microcontroller MCU detects that the No. 2 button is pressed M times, the microcontroller MCU changes the current speed to the next speed. Then the microcontroller MCU sends an angular velocity signal corresponding to the No. 2 button being pressed M times. The angular velocity signal is output to the servo motor via the servo motor driver. The servo motor drives the wheels of the vehicle to rotate at an angular velocity; wherein M>1; When it is necessary to simulate the operation modes of different vehicle wheels, execute step 4; Step 4: Simulate the operation modes of different car wheels: Step 4A, Update the size of the car wheels: Manually press the No. 3 button once. When the microcontroller MCU detects that the No. 3 button is pressed, the microcontroller MCU updates R0. The updated wheel hub radius is the radius Ri. Then the microcontroller MCU sends the command corresponding to the No. 3 button being pressed once to the serial port screen; where i is the number of updates: Step 4B, replacing the automobile wheel with an automobile wheel corresponding to the radius Ri; Step 4C, execute 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 the angular velocity control information N or the angular velocity control information A is transmitted to the servo motor, the servo motor feeds back the current operation data; The microcontroller MCU analyzes the data to obtain the real-time speed of the car's wheels; The parsed speed and current radius R0 are sent to the serial port screen through serial port 1 to update the display content.

3. The method for simulating automobile wheel rotation based on a servo motor according to claim 2, characterized in that: When the angular velocity control information N is transmitted to the servo motor, the speed control instruction N is displayed on the serial port screen; The speed control instruction N is a cycle acceleration instruction or a cycle deceleration instruction; The cycle acceleration instruction includes a plurality of speed instructions, and the speed value corresponding to the initial speed instruction is 0 km / h; The cyclic deceleration instruction includes a plurality of speed instructions, and the speed value corresponding to the initial speed instruction is greater than 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 the angular velocity signal is transmitted to the servo motor, the servo motor feeds back the current operation data; The microcontroller MCU analyzes the data to obtain the real-time speed of the car's wheels; The parsed speed and current radius R0 are sent to the serial port screen through the serial port to update the display content.

5. The method for simulating automobile wheel rotation based on a servo motor according to claim 1, characterized in that: The model for calculating speed in the microcontroller MCU is: Z=kpR Where Z is the speed of the car, km / h; R is the radius of the wheel hub of the car, inches; p is the speed of the servo motor, rad / s; k is the coefficient, 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, each time button 2 is pressed, the speed increases by 10 km / h.

7. The method for simulating automobile wheel rotation based on a servo motor according to claim 1, characterized in that: When button 3 is pressed, the IO port of button 3 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, the top surface 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 arranged between the servo motor and the automobile wheel, and the coupling is connected to a hub connecting plate of the automobile wheel, and the hub connecting plate is fixed to one side of the wheel by bolts.

Citation Information

Patent Citations

  • A vehicle body posture simulation method used for in-the-loop simulation of automobile stabilization control and a system thereof

    CN103336439A

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

    CN111929072A

  • Automobile simulation test board

    CN112033700A

  • Vehicle speed analog device

    CN202886112U

  • Four-wheel wheel speed signal simulation device

    CN211205770U