Intelligent two-wheeled motorcycle unmanned driving control method based on rear fork swing
By using the tensorized fuzzy control algorithm of rear fork swing and high-order singular value decomposition on two-wheeled motorcycles, the shortcomings of the flywheel gyro effect are solved, the autonomous balance and intelligent control of driverless motorcycles are realized, and the application scenarios are expanded. And improved battery life.
Patent Information
- Application Number
- CN202410806290.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-21
- Publication Date
- 2024-10-29
AI Technical Summary
The existing self-balancing control of two-wheeled motorcycles mainly relies on the flywheel gyro effect, which has problems such as high precision, high energy consumption, and large volume occupation. It is also difficult to autonomously control driverless motorcycles in complex scenarios.
Design an intelligent two-wheeled motorcycle control method based on rear fork swing, using a multi-degree-of-freedom mechanical power system and a tensorized fuzzy control algorithm of high-order singular value decomposition, by obtaining the motorcycle's front fork angle, rear wheel rotation, and swing mechanism Angle information is used to design dynamic control torque, achieve self-balancing control, and integrate intelligent navigation and autonomous obstacle avoidance functions.
It breaks through the zero-speed balance control bottleneck of driverless motorcycles, realizes autonomous balanced driving and intelligent control in complex scenarios, expands the application scenarios of motorcycles, and improves endurance and safety.
Smart Images

Figure CN118859699A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of self-balancing vehicles, and in particular relates to an intelligent unmanned driving control method for a two-wheeled motorcycle based on rear fork swinging. Background Art
[0002] Two-wheeled motorcycles have been around for more than a hundred years, and their balance problem has always been a hot topic of research. The self-balancing problem of unmanned motorcycles is also a typical under-actuated control problem. Many scientific research units or institutions at home and abroad have explored the unmanned driving technology of motorcycles and achieved certain results, but there are still many problems to be solved in the cognition of the power system of two-wheeled motorcycles and their control technology.
[0003] At present, the self-balancing control of two-wheeled motorcycles is generally achieved by the gyroscopic effect of the high-speed rotation of the flywheel. However, the balancing technology of the flywheel gyroscopic effect has obvious disadvantages, which are mainly manifested in: first, high-precision mechanical accuracy is required to ensure the stability of the high-speed rotation of the flywheel; second, the high-speed rotation of the flywheel is a high-energy consumption process, which greatly reduces the endurance of the motorcycle; third, it occupies a large volume.
[0004] A two-wheeled motorcycle is similar to a bicycle in that it is an incomplete, nonlinear multi-rigid body power system. Its self-balancing control problem involves multi-rigid body system modeling, system analysis, parameter optimization and identification, algorithm design, etc. At the same time, autonomous balancing driving involves intelligent navigation, image processing, vision and other issues. Therefore, autonomous balancing driving of an unmanned two-wheeled motorcycle is a complex that integrates intelligent control, intelligent navigation and big data analysis. In order to break through the technical bottleneck of zero self-balancing control of two-wheeled motorcycles, the present invention designs a multi-degree-of-freedom unmanned two-wheeled motorcycle with a swinging function, and accurately models the multi-rigid body power system of the multi-degree-of-freedom unmanned two-wheeled motorcycle. A tensorized fuzzy control algorithm is used to realize the driving self-balancing control and zero-speed self-balancing control of the motorcycle. Among them, the accurate modeling of the multi-degree-of-freedom unmanned two-wheeled motorcycle is the key to realizing autonomous balancing driving and the basis for designing the control algorithm. It breaks through the bottleneck of zero-speed balancing control of unmanned motorcycles, realizes the intelligent autonomous control of unmanned motorcycles in complex scenarios, and expands the application scenarios of motorcycles. Summary of the invention
[0005] In order to overcome the disadvantages of self-balancing control of flywheel gyroscopic effect, the present invention does not adopt the gyroscopic effect of the flywheel, and completely adopts control technology to realize self-balancing control of the motorcycle; the present invention first improves the structure of the traditional motorcycle and designs a two-wheeled motorcycle mechanical power system with a body having multiple degrees of freedom; secondly, based on the principle of multi-rigid body mechanical dynamics, a mechanism model of the unmanned motorcycle is established; then, a tensor quantization fuzzy system modeling based on high-order singular value decomposition is adopted, and on this basis, an optimal intelligent control algorithm of a time-varying nonlinear system under the action of multiple factors in a complex environment is deeply studied, and the optimal intelligent control algorithm is applied to the control system design of the unmanned motorcycle, integrating functions such as intelligent learning and intelligent decision-making; the research on multi-rigid body modeling and autonomous control of autonomous balancing motorcycles by the present invention not only solves the difficult problem of balance control of unmanned motorcycles, but also can provide effective solutions and ideas for similar problems in engineering, has broad application prospects, important social significance and high economic value.
[0006] The present invention solves the technical problem by adopting the following technical solutions:
[0007] The intelligent unmanned driving control method of a two-wheeled motorcycle based on rear fork swinging comprises the following steps:
[0008] Acquiring front fork angle information, rear wheel rotation information, swing mechanism swing angle information, and vehicle body inclination angle information of the motorcycle;
[0009] According to the obtained front fork rotation angle θ, rear wheel rotation angle ψ, and swing mechanism swing angle β of the motorcycle, the angular velocity is obtained by the difference method. According to the obtained vehicle body inclination angle and the tilt angular velocity A tensorized TS fuzzy controller based on high-order singular value decomposition is designed according to:
[0010]
[0011] The feedback gain matrix K of the system is obtained, where w i (t) is the weighted fuzzy membership function, K i is the system gain of one of the specific models under the 128 fuzzy rules, K is the proportional sum of the system gain of each model under the 128 fuzzy rules, that is, the system gain of the motorcycle, which is a 1×8 gain matrix; according to
[0012] u=-Kx
[0013] Obtaining the dynamic control torque of the motorcycle's self-balancing;
[0014] Where u = [τ1τ2τ3] Tis the dynamic control torque, τ1 is the front fork steering torque, τ2 is the swing torque, τ3 is the rear wheel driving torque, K is the system gain which is a 1×8 gain matrix, is the system state variable;
[0015] The intelligent two-wheeled motorcycle includes a swing mechanism, through which the frame and the rear fork of the motorcycle are connected, and the driving motor of the swing mechanism causes the rear fork and the frame to swing relative to each other; the frame is rotatably connected to the front fork, a front fork direction adjustment motor is provided on the front fork, and the front fork can drive the front wheel to rotate; the rear fork is connected to the rear wheel;
[0016] The vehicle also includes an electronic gyroscope, which is installed on the vehicle frame and is used for detecting the inclination angle of the vehicle body.
[0017] Further, the swing mechanism includes an active rocker, a driven connecting rod and a swing motor; the output end of the swing motor is fixedly connected to one end of the active rocker, and the other end of the active rocker is connected to the rear fork or the frame, and the swing motor is installed on the frame or the rear fork; the two ends of the driven connecting rod are respectively connected to the frame and the rear fork; and the active rocker and the driven connecting rod are at least one;
[0018] When the swing motor is working, it drives the active rocker to rotate, so that the rear fork and the frame swing relative to each other.
[0019] Furthermore, it also includes an electrical control system, which collects motorcycle movement and driving information through a data acquisition module and controls the driving mode and movement state of the motorcycle.
[0020] Furthermore, it also includes an intelligent driving system, which is communicatively connected to the electrical control system and the host computer respectively; the intelligent driving system realizes vehicle networking through the communication system, and realizes autonomous navigation, autonomous positioning, autonomous obstacle avoidance and automatic following.
[0021] Furthermore, the electrical control system controls the front fork direction adjustment motor driver, rear wheel hub motor driver, swing motor driver, driving mode switching system, automatic / power-assisted braking system, and self-following control system through the information collected by the data acquisition module to achieve autonomous control of the motorcycle in different modes.
[0022] Furthermore, one end of the driven connecting rod connected to the rear fork extends outward and is connected to the seat, and the bottom of the seat is connected to the frame through a spring.
[0023] Furthermore, there is one active rocker and two driven connecting rods, and the connecting rods are parallel and symmetrically distributed on both sides of the rocker.
[0024] Furthermore, the frame is rotatably connected to the front fork, the front fork includes an upper front fork shaft tube and a lower front fork shaft tube, a sensor is installed between the upper front fork shaft tube and the lower front fork shaft tube, and the sensor obtains torque information of the interaction between the upper front fork shaft tube and the lower front fork shaft tube.
[0025] Furthermore, the intelligent two-wheeled motorcycle can realize the switching between unmanned driving mode and manned driving mode;
[0026] When in the manned working mode, the swing motor adopts a fixed value control method or a mechanical self-locking device to keep the vehicle body and the rear fork fixed and not swinging; the front fork steering motor is converted from the self-balancing control mode to the manned power steering working mode; when the handlebar is operated to steer, the sensor installed between the upper shaft tube of the front fork and the lower shaft tube of the front fork obtains the torque ρ between the upper shaft tube of the front fork and the lower shaft tube of the front fork, and stipulates that the direction of ρ is counterclockwise as positive and clockwise as negative, and feeds back to the controller, and the controller calculates the output torque τ1 of the front fork motor based on the feedback information and the specified torque
[0027]
[0028] Among them, K c is the proportionality coefficient, T I is the integration constant, T D is the differential coefficient, e ρ =0-ρ is the torque deviation, ρ0 is the specified torque designed according to driving experience, is the torque deviation change rate; the motor's power torque is obtained by equation (1), which can stabilize the driver's steering torque near ρ0 to achieve power steering.
[0029] Note: To avoid integral saturation, only PD controller can be used, or a larger integral constant can be used.
[0030] Furthermore, the motorcycle may be a pedal-type two-wheeled motorcycle, a straddle-type two-wheeled motorcycle, a special motorcycle or a toy motorcycle.
[0031] The advantages and positive effects of the present invention are:
[0032] The intelligent unmanned driving control method of a two-wheeled motorcycle based on rear fork swinging of the present invention can realize self-balancing of the motorcycle in the driving state in the unmanned driving mode, and break through the technical bottleneck of zero-speed balancing control of unmanned motorcycles, and realize zero-speed self-balancing control of the motorcycle; when the motorcycle is unmanned with passengers, the intelligent driving, autonomous navigation, positioning, obstacle avoidance and other functions are turned on, which can free the hands of the driver and the passenger, relieve the fatigue of the driver and the passenger, allow the driver and the passenger to relax appropriately, and ensure the safe driving of the motorcycle. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] The technical solution of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments, but it should be understood that these drawings are designed only for explanation purposes and are not intended to limit the scope of the present invention. In addition, unless otherwise specified, these drawings are intended only to conceptually illustrate the structural configurations described herein and are not necessarily drawn to scale.
[0034] Figure 1 The original structural schematic diagram of the intelligent two-wheeled motorcycle based on rear fork swing provided in Embodiment 1 of the present invention;
[0035] Figure 2a A schematic diagram of an active rocker and two driven connecting rods of an intelligent two-wheeled motorcycle based on rear fork swing provided in Embodiment 1 of the present invention;
[0036] Figure 2b A schematic diagram of an active rocker and a driven connecting rod of an intelligent two-wheeled motorcycle based on rear fork swing provided in Embodiment 1 of the present invention;
[0037] Figure 2c A schematic diagram of an active rocker and two driven connecting rods of an intelligent two-wheeled motorcycle based on rear fork swing provided in Embodiment 1 of the present invention;
[0038] Figure 2d A schematic diagram of an active rocker and a driven connecting rod of an intelligent two-wheeled motorcycle based on rear fork swing provided in Embodiment 1 of the present invention;
[0039] Figure 2e A schematic diagram of a structure in which a seat of an intelligent two-wheeled motorcycle based on rear fork swinging can swing with a rocker provided in Embodiment 2 of the present invention;
[0040] Figure 3 A schematic structural diagram of an intelligent two-wheeled pedal motorcycle based on rear fork swinging provided in Embodiment 3 of the present invention;
[0041] Figure 4 A schematic structural diagram of an intelligent two-wheeled straddle-type motorcycle based on rear fork swinging provided in Embodiment 3 of the present invention;
[0042] Figure 5 A schematic diagram of an electrical control system of an intelligent two-wheeled motorcycle based on rear fork swinging provided in Embodiment 3 of the present invention;
[0043] Figure 6 A schematic diagram of the principle of an electrical control system for an intelligent two-wheeled motorcycle based on rear fork swinging provided in Embodiment 3 of the present invention;
[0044] Figure 7 It is a schematic diagram of modeling and analysis of a multi-rigid body power system of an intelligent two-wheeled motorcycle based on rear fork swing in Embodiment 4 of the present invention;
[0045] Figure 8 It is a principle block diagram of a control algorithm of an intelligent two-wheeled motorcycle based on rear fork swing in Embodiment 4 of the present invention;
[0046] Figure 9a is the vehicle body tilt angle variable response curve of the control algorithm simulation experiment in Example 4 of the present invention;
[0047] Figure 9b is a variable response curve of the rear fork rotation angle in the control algorithm simulation experiment in Example 4 of the present invention;
[0048] Fig.9c is the variable response curve of the front fork rotation angle in the control algorithm simulation experiment in Example 4 of the present invention;
[0049] Figure 9d It is the variable response curve of the driving force of the swing motor and the front fork steering servo motor in the control algorithm simulation experiment of Example 4 of the present invention;
[0050] Fig.10 is the response curve of each state variable in the motorcycle road test in Example 4 of the present invention;
[0051] in, Figure 9d In the figure, u1 represents the driving force of the front fork steering servo motor; u2 represents the driving force of the swing motor. DETAILED DESCRIPTION
[0052] First, it should be noted that the specific structure, features and advantages of the present invention will be specifically described below by way of example, but all descriptions are only for illustration and should not be understood as limiting the present invention in any way. In addition, any single technical feature described or implied in the embodiments mentioned herein can still be combined or deleted between these technical features (or their equivalents) to obtain more other embodiments of the present invention that may not be directly mentioned herein.
[0053] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application may be combined with each other.
[0054] Example 1
[0055] The present invention provides an intelligent two-wheeled motorcycle based on rear fork swing, comprising a swing mechanism; the connection between the frame and the rear fork of the motorcycle is achieved through the swing mechanism;
[0056] The swing mechanism includes an active rocker, a driven connecting rod and a swing motor; the output end of the swing motor is fixedly connected to one end of the active rocker, and the other end of the active rocker is connected to the rear fork or the frame, and the swing motor is installed on the frame or the rear fork; the two ends of the driven connecting rod are respectively connected to the frame and the rear fork; and there are at least one active rocker and one driven connecting rod;
[0057] When the swing motor is working, it drives the active rocker to rotate, so that the rear fork and the frame swing relative to each other, and realizes autonomous balance control in the driving state and the zero-speed state of the motorcycle.
[0058] Specifically, Figure 1 As shown, the body of the motorcycle of the present invention includes a frame 5 and a front fork fixing bracket 2 (in fact, the front fork fixing bracket may be a bearing sleeve fixed to the frame), the front fork fixing bracket 2 is fixed to the frame 5, and an electronic gyroscope for body inclination detection is installed on the body. It can be considered that the electronic gyroscope is arranged on the frame 5 and connected to the embedded system through a serial port; the front fork 3 is connected to the body through the front fork fixing bracket 2, and the front fork 3 is driven by a direction adjustment servo motor 1 to adjust the driving direction, the front wheel 4 is installed on the front fork 3, and the rear wheel 7 is a hub motor installed on the rear fork 8, and the rear fork 8 is connected to the frame 5 through a swing mechanism;
[0059] In detail, the active rocker 9 in the rocking mechanism is driven by a rocking motor to generate a rocking motion, and the driven connecting rod 6 serves as an auxiliary constraint, so that a relative rocking motion is formed between the frame 5 and the rear fork 8, and the rocking motor is fixed at the lower part of the frame or on the rear fork; in the present invention, the design methods of the rocking mechanism include but are not limited to the following forms:
[0060] (1) One active rocker and two driven connecting rods (such as Figure 2a , 2c ), in which there is an active rocker 9 and two driven connecting rods 6, and the driven connecting rods are parallel and symmetrically distributed on both sides of the active rocker;
[0061] Of course, in order to make the structural layout symmetrical, strong and more stable, it is possible to consider setting an active rocker and two driven connecting rods vertically (such as Figure 2a ), the output end of the swing motor 10 is vertically connected to one end of the active rocker, such as Figure 2a In the embodiment, the swing motor can be connected to the A end or the B end of the active rocker, and correspondingly, the swing motor can be installed on the frame 5 or the rear fork 8, and the two ends of the driven connecting rod are respectively connected to the frame and the rear fork; it is also possible to consider a horizontal arrangement of an active rocker and two driven connecting rods (such as Figure 2c ), the output end of the swing motor is vertically connected to one end of the active rocker, such as Figure 2cIn the embodiment, the swing motor can be connected to the A end or the B end of the active rocker, and correspondingly, the swing motor can be installed on the frame or the rear fork, and the two ends of the driven connecting rod are respectively connected to the frame and the rear fork;
[0062] (2) One active rocker and one driven connecting rod type (such as Figure 2b , 2d ), in which there is an active rocker 9 and a driven connecting rod 6, and the driven connecting rod is distributed in parallel with the active rocker;
[0063] Of course, in order to make the structure more concise, it is possible to consider setting an active rocker and a driven connecting rod vertically (such as Figure 2b ), the output end of the swing motor 10 is vertically connected to one end of the active rocker, such as Figure 2b In the embodiment, the swing motor can be connected to the C end or the D end of the active rocker, and accordingly, the swing motor can be installed on the frame 5 or the rear fork 8, and the two ends of the driven connecting rod are respectively connected to the frame and the rear fork; it is also possible to consider a horizontal arrangement of an active rocker and a driven connecting rod (such as Figure 2d ), the output end of the swing motor is vertically connected to one end of the active rocker, such as Figure 2d In the embodiment, the swing motor can be connected to the C end or the D end of the active rocker, and correspondingly, the swing motor can be installed on the frame or the rear fork, and the two ends of the driven connecting rod are respectively connected to the frame and the rear fork;
[0064] In order to make the relative swing between the frame and the rear fork smoother and reduce friction interference, it can be considered that the active rocker arm and the driven connecting rod are connected to the frame or the rear fork through bearings.
[0065] The motorcycle also includes an electrical control system, which collects motorcycle movement and driving information through a data acquisition module and controls the driving mode and movement state of the motorcycle; the electrical control system can be arranged in a frame; the electrical control system includes an embedded system, and a front fork direction adjustment servo motor driver, a rear wheel hub motor driver, and a swing motor driver are respectively connected to the embedded system through a CAN bus; the electronic gyroscope is used to feed back the detected vehicle body inclination information to the embedded system, the direction adjustment servo motor 1 feeds back the front fork angle information to the embedded system through a servo driver, the rear wheel hub servo motor driver feeds back the rear wheel speed information to the embedded system, and the swing motor driver feeds back the swing angle information to the embedded system, the embedded system obtains a control signal by calculating the received information, and outputs it to the rear wheel hub servo motor driver, the direction adjustment servo motor driver, and the swing motor driver through a motion controller to change the speed and direction of the motorcycle, thereby realizing autonomous balance control in its driving state and zero speed state.
[0066] Example 2
[0067] As a variation of the design of the two rocking mechanisms in Example 1, it can be considered that one end of the active rocker connected to the rear fork extends outward and is connected to the seat, and the bottom of the seat is connected to the frame through a spring, forming a structure in which the seat can swing with the rocker (such as Figure 2e ): The upper end of the extended rocker arm 13 is connected to the seat 15 through the seat connecting shaft 16, and the lower end of the seat 15 is connected to the pedal type frame 11 through the spring 14. The two ends of the driven connecting rod 6 are respectively connected to the pedal type frame 11 and the rear fork 8. The output end of the swing motor 10 is vertically connected to one end of the extended rocker arm 13, and the swing motor is installed on the pedal type frame 11. When the swing mechanism moves, the seat swings slightly left and right with the extended rocker arm 13. When the driver sits on the seat, the gravity of the driver acts on the pedal type frame through the spring, which plays a role in adjusting the center of gravity. When the motorcycle is in unmanned driving mode, it can assist in adjusting the balance. When the motorcycle is in manned driving, the posture of the driver and the frame can be adjusted according to posture information such as whether the motorcycle is turning to compensate for the rollover force caused by the centrifugal force of the motorcycle, thereby improving driving safety.
[0068] Example 3
[0069] Based on the two-wheeled motorcycle prototype in Example 1, a pedal-type motorcycle (such as Figure 3 ) and straddle motorcycles (such as Figure 4 ) Two structural types of intelligent two-wheeled motorcycles with switchable driving modes based on rear fork swing and their unmanned driving control systems.
[0070] Among them, Figure 3 As shown, the pedal motorcycle includes a mechanical system and an electrical control system, the mechanical system includes a body, a rear fork 8, a rear wheel, a front fork and a front wheel; the electrical control system includes an embedded system and a DC power supply, and the DC power supply supplies power to the electrical control system; the electrical control system is arranged in a frame / chassis; specifically, the pedal motorcycle in this embodiment adopts a one-active rocker and two-driven connecting rod type, in which there is an active rocker 9 and two driven connecting rods 6, and the driven connecting rods are parallel and symmetrically distributed on both sides of the active rocker; the output end of the swing motor 10 is vertically connected to one end of the active rocker, and accordingly, the swing motor can be installed on the frame or the rear fork; the two ends of the driven connecting rod are respectively connected to the frame and the rear fork; the body includes a pedal frame 11 and a front fork bracket (the actual motorcycle front fork bracket may be a bearing sleeve fixed to the frame, Figure 3 The front fork bracket is fixed on the pedal-type frame, and an electronic gyroscope for detecting the inclination angle of the vehicle body is installed on the pedal-type frame. The electronic gyroscope is arranged in the scooter chassis 28 or at a certain position of the pedal-type frame 11 and is connected to the embedded system through a serial port;
[0071] The front fork includes an upper fork shaft tube 21, a torque sensor 22, a lower fork shaft tube 24, a front fork synchronous pulley 23, a front fork arm 25, and a front fork shoulder 26; the handlebar 17 is installed on the upper end of the upper fork shaft tube 21, and the lower end of the upper fork shaft tube 21 is connected to the lower fork shaft tube 24 through a torque sensor 22. The torque sensor 22 is used to detect the steering torque applied by the handlebar. The upper end of the lower fork shaft tube is connected to the torque sensor 22, and a synchronous pulley 23 is installed on the lower part of the torque sensor. The synchronous pulley 23 is connected to the lower fork shaft tube 24 through a spline, a flat key or a screw. The shaft tubes are fixed together, and then connected to the synchronous pulley 29 at the output shaft end of the front fork steering servo motor 27 through a synchronous belt 30. The lower end of the lower shaft tube of the front fork is fixed on the front fork shoulder 26. Front fork arms 25 are installed on both sides of the front fork shoulder 26. The front wheel 4 is installed between the front fork arms 25. The front fork steering servo motor 27 is fixed on the pedal-type frame 11 and is controlled by an embedded system, and drives the front fork to rotate to achieve automatic direction adjustment or power steering. The rear wheel is a hub motor installed on the rear fork 8, and the rear fork 8 is connected to the pedal-type frame 11 through a swing mechanism.
[0072] Of course, the swing mechanism in this embodiment is not limited to the above-mentioned one active rocker and two driven connecting rods, and can also be one active rocker and one driven connecting rod; or the seat in embodiment 2 can swing with the active rocker;
[0073] A handlebar 17 is installed on the front fork upper shaft tube 21, and a driving mode switching device 19 is installed on the handlebar. The driving mode switching device 19 can be a press-type or button-type sensor for switching the driving mode. When the hand presses the mode switching sensor or presses the mode switching button, the motorcycle is in a manned driving mode. When the hand leaves the handlebar, the mode switching sensor is not pressed or the mode switching button is not pressed, the motorcycle is in an unmanned driving mode, and vice versa. A speed adjustment rotary handle can also be provided on the handlebar, and the speed adjustment rotary handle is a traditional manned driving speed adjustment method. In addition, a braking device can also be provided on the motorcycle, and the braking device includes a braking mechanism, a hydraulic pump system driven by a servo motor, a brake pedal or a handbrake lever, and a potentiometer. The braking mechanism is an existing general-purpose braking mechanism, and in particular, the braking mechanism of the present invention is driven by an electric hydraulic pump, and braking and releasing the brake are driven by a servo motor in forward and reverse rotation, and the direction and speed of the servo motor can be It can be controlled by analog quantity or digital quantity; the servo motor driver is connected to the output of the potentiometer through a wire, and at the same time, the servo motor driver is connected to the embedded system through a communication interface (serial port or CAN bus). When the motorcycle is in manned working mode, the rotation of the motorcycle's brake pedal (or handbrake lever) drives the rotation of the potentiometer, and adjusts the analog input (voltage or current) of the servo motor to adjust the steering and speed, thereby driving the hydraulic pump to brake or release the brake; when the motorcycle is in unmanned working mode, the embedded system integrates the motorcycle posture information, the motorcycle's driving speed, and obstacle avoidance, navigation and other information, and controls the steering and speed of the brake servo motor in real time through digital instructions, thereby driving the hydraulic pump to brake or release the brake; in addition, for safety and controllability, if the motorcycle is manned, when the motorcycle brake pedal or handbrake lever is actuated, it is directly switched to manual braking mode.
[0074] In this embodiment, the front wheel brake lever 18 is installed on the right hand side of the handlebar, and the rear wheel brake lever 20 is installed on the left hand side. The brake levers are not directly connected or directly braked by other mechanical means. When braking is needed, the rear wheel brake lever 20 and the front wheel brake lever 18 are controlled by hand to rotate, respectively driving the left and right potentiometers to rotate. The rotation angle of the potentiometer is consistent with the rotation angle of the lever. The potentiometer outputs different voltages according to the rotation angle. The larger the rotation angle of the lever, the larger the rotation angle of the potentiometer, and the higher the voltage output by the potentiometer. The voltage signal output by the potentiometer is fed back to the embedded system to judge the strength of the brake. The embedded system drives the front and rear wheel brake motors to work according to the voltage feedback from the potentiometer to realize the braking function under different driving modes; the present invention includes but is not limited to using a potentiometer to convert the motion information of the brake lever into an analog electrical signal, and other forms of sensors can also be used to convert the rotational motion information into an analog electrical signal; including but not limited to the way in which the left and right hand brake levers drive the potentiometers, and the same principle can also be used to realize foot-operated braking.
[0075] The basic components of the electrical control system of the present invention are shown in Figure 5 , the electrical control system principle is shown in Figure 6 , the front fork steering servo motor driver (referred to as the front fork servo driver), the rear wheel hub motor driver (referred to as the rear wheel servo driver), the swing mechanism servo motor driver (referred to as the swing servo driver), and the front and rear brake servo drivers are respectively connected to the embedded system through the CAN bus; the electronic gyroscope is used to feed back the detected vehicle body inclination angle information to the embedded system, the front fork steering servo motor 27 feeds back the front fork angle information to the embedded system through the front fork encoder, the rear wheel hub servo motor feeds back the rear wheel speed information to the embedded system through the rear wheel encoder, the swing mechanism servo motor feeds back the motorcycle swing information to the embedded system through the swing mechanism encoder, the driving mode switching device, the front wheel brake lever potentiometer information, the rear wheel brake lever potentiometer information, and the speed adjustment signal are fed back to the embedded system through analog signals, the embedded system obtains a control signal by calculating the received information, and outputs reasonable control information to the rear wheel, the front fork, the swing mechanism servo motor driver, and the front and rear wheel brake motors according to different driving modes to change the speed and direction of the self-balancing motorcycle;
[0076] In addition, the motorcycle is also equipped with an intelligent driving system, which is an independent control system (see Figure 5), and communicates with the embedded system through the bus. The intelligent driving system includes an environmental perception system, a positioning and navigation system, a path planning system, a wireless network module, a Bluetooth module, a data transmission bus, etc.; the sensors used are: machine vision sensors, ultrasonic sensors, radar sensors, millimeter wave radar sensors, UWB wireless ranging sensors, etc., among which the UWB wireless ranging sensor is used to realize automatic following. The self-following state information collected by the sensor needs to be uploaded to the embedded system through the acquisition module. The corresponding self-following control system can adopt the existing self-following control method, and the self-following control system is controlled by the embedded system to realize the self-following function of the motorcycle; the intelligent driving system and the embedded The input systems are connected through other communication methods such as serial ports but not limited to serial ports (such as CAN, Bluetooth, Ethernet or other communication methods). In the unmanned driving mode, the motorcycle turns on the intelligent driving system to realize autonomous navigation, positioning, obstacle avoidance, self-following and other functions. The motorcycle self-balancing technology and its control system of the present invention are the basis of intelligent driving technology. The intelligent driving system can adopt a mature four-wheeled car intelligent driving system; based on the self-balancing technology of the present invention, a wireless communication network based on WiFi, 5G, UWB or other wireless communication networks can be installed on the motorcycle to realize vehicle networking, automatic following, autonomous obstacle avoidance and other functions. The driver and passenger can use the mobile phone APP to realize the summoning and parking of the motorcycle;
[0077] like Figure 4 As shown, the straddle-type motorcycle has a different riding method, and its mechanical structure and device installation method need to be designed according to specific circumstances. Other implementation schemes are the same as those of the pedal type, which will not be repeated here.
[0078] Example 4
[0079] This embodiment provides a control method for an intelligent two-wheeled motorcycle based on rear fork swinging. By adopting the Kane method, an accurate dynamic model of a multi-degree-of-freedom two-wheeled motorcycle system is established, which provides a theoretical basis for system analysis. On the basis of establishing an accurate model, the present invention adopts a tensor fuzzy control algorithm to realize the driving self-balancing control and zero-speed self-balancing control of the motorcycle. The details are as follows:
[0080] like Figure 7As shown, the mass and center of mass of the motorcycle are m1 and G1, and the mass and center of mass of the rear fork, rear wheel, front fork and front wheel are m2, G2, m3, G3, m4, G4, m5 and G5 respectively; P1 and P2 are the contact points of the rear wheel and the front wheel with the ground respectively; the rear wheel and the rear fork are connected together through the wheel axle, and the rear wheel can rotate around the axis passing through the center of mass of the rear wheel G2; the center of mass of the rear fork is G2, the height from the ground is h″, and it can rotate around the axis ξ′; the center of mass of the front fork is G4, the height from the ground is h′, and it can rotate around the axis AB; the front wheel is fixed on the front fork and can rotate around the axis of the center of mass of the front wheel G5; it is assumed that the front and rear wheels are homogeneous discs with a wheel radius of r. When the motorcycle moves, there is no slip with the ground, and the rolling friction between the wheels and the ground is ignored. The multi-rigid dynamics model of the mechanical system of the autonomous balancing motorcycle is established by the Kane method, and the modeling and control system design process is as follows:
[0081] (I) Structural design and establishment of coordinate system
[0082] like Figure 7 As shown in the figure, when the vehicle body is vertical, the coordinate system is described as follows. Oxyz is a fixed coordinate system. For the convenience of research, the motorcycle coordinate system P1x′y′z′ is introduced. Let O′ be the intersection of the vertical lines O′P1 and O′P2 in the direction of the front wheel movement and the direction of the rear wheel movement, that is, the center of the circular motion formed by the steering of the front fork during the motorcycle movement. O′ is the instantaneous rotation center, and O″ is the upward translation of O′. We get: coordinate axis P1z′ is vertically upward, coordinate axis P1x′ refers to the direction of the motorcycle's forward movement, and is perpendicular to coordinate axis P1y′ and the vehicle body (when the vehicle body is vertical) and inward. The length from O″ to the center of gravity G1 of the vehicle body is l. When the motorcycle turns left, O″ is on the left side of the vehicle. When the motorcycle turns right, O″ is on the right side of the vehicle. When the motorcycle moves in a straight line, l→∞; G1ξηζ is the vehicle body fixed coordinate system. G1η is perpendicular and outward to the plane of the motorcycle body. G1ξ is consistent with the direction of the motorcycle's forward movement, and G1ξζ coincides with the vehicle body plane n. The rear fork coordinate system G2ξ′η′ζ′ is obtained by translating G1ξηζ to point G3, and then rotating G1ηζ counterclockwise around the axis G1ξ by an angle of β. The rear wheel fixed coordinate system G3ξ″η″ζ″ is obtained by translating G2ξ′η′ζ′ to point G2; the front fork coordinate system G4ξ″′η″′ζ″′ is obtained by translating G1ξηζ to point G3, and then rotating G1ηζ counterclockwise around the axis G1ξ by an angle λ; the front wheel fixed coordinate system G5ξ″″η″″ζ″″ is obtained by translating the front fork coordinate system G4ξ″′η″′ζ″′ to point G4, and rotating it by an angle θ along the front fork coordinate axis G4ζ″. The center of gravity of the vehicle body is h degrees from the ground, the trail of the front fork is c, the span between the front wheel and the rear wheel is b, the distance between the center of gravity of the vehicle body G1 and the axle of the rear wheel G2 is a, the angle between the front fork and the vertical direction is λ, the rotation angle of the front fork around the axis AB is θ, and the inclination angle of the vehicle body relative to the vertical direction is The rear fork rotates around the axis G2ξ′ at an angle of β; the motorcycle is driven forward by the rear wheel, turned by the front fork, and swung by the rear fork.
[0083] The motorcycle belongs to a spatial multi-rigid body system, which consists of five rigid bodies. Let υ=1 be the body, υ=2 be the rear fork, υ=3 be the rear wheel, υ=4 be the front fork, υ=5 be the front wheel, and the planning centers are G1, G2, G3, G4, and G5 respectively; the rear and front wheels rotate around the fixed axes η″ and η″″ respectively, and the angular velocities are And it is pure rolling on the ground, the front fork can rotate around the AB axis, and the rear fork can rotate around the ξ′ axis.
[0084] (II) Angular velocity and velocity equation of rigid body motion
[0085] According to the modeling principle of Kane method, take the coordinates So we have:
[0086]
[0087] Considering that there is no slip between the front and rear wheels of the motorcycle and the ground, Then we have:
[0088]
[0089] (III) System force analysis
[0090] Note that the constraints are ideal. The principal moment of the rear fork is τ1, the principal moment of the rear wheel is τ2, the principal moment of the front fork is τ3, and the principal moments of the given forces of the other rigid bodies to the normalized center are zero. The principal vector is F1 = F G1 +F k1 , F2=F G2 +F k2 , F3=F G3 +F k3 , F4=F G4 +F k4 , F5=F G5 +F k5 , L2=τ1, L3=τ2, L4=τ3;
[0091] Among them, F G1 =-m1gk z′ , F G2 =-m2gk z′ , F G3 =-m3gk z′ , F G4 =-m4gk z′ , F G5 =-m5gk z′ .
[0092]
[0093]
[0094] F G1 、F G2 、F G3 、F G4 、F G5 is gravity, F k1 、F k2 、F k3 、F k4 、F k5 is the centrifugal force. Therefore,
[0095]
[0096] (IV) Inertia force analysis
[0097] The inertia force analysis is as follows:
[0098]
[0099] The moment of inertia analysis is as follows:
[0100] The moment of inertia of the front wheel is expressed as:
[0101]
[0102] Right now:
[0103]
[0104] The moment of inertia of the rear fork is expressed as:
[0105]
[0106] Right now:
[0107]
[0108] The moment of inertia of the rear wheel is expressed as:
[0109]
[0110] Right now:
[0111]
[0112] The moment of inertia of the front fork is expressed as:
[0113]
[0114] Right now:
[0115]
[0116] The moment of inertia of the front wheel is expressed as:
[0117]
[0118] Right now:
[0119]
[0120] (V) Power analysis The power expression is calculated as follows:
[0121] W=W1+W2+W3+W4+W5,
[0122] in:
[0123]
[0124] The inertia power is as follows:
[0125] W′=W1′+W2′+W3′+W4′+W5′,
[0126] in:
[0127]
[0128]
[0129] (VI) Nonlinear Model of Unmanned Motorcycle
[0130] Set the state variable From W = W', we can get the nonlinear system of the driverless motorcycle:
[0131]
[0132] The qLPV model is introduced into the unmanned motorcycle system model. The qLPV model system is composed as follows:
[0133]
[0134] Among them, x is the state vector of the controlled object, u is the dynamic control torque, y is the output state vector, and p is related to the system state x. The system matrix of the qLPV system can be expressed as:
[0135]
[0136] That is, the qLPV model can be reconstructed as:
[0137]
[0138] where ≈ εRepresents the approximation error of the model in other forms; therefore, the nonlinear model of the driverless motorcycle retains a certain degree of linearity in a sense, but the original model is still a nonlinear system; in the above case, the system matrix S(p) is affected by the system state variables and can be decomposed into the following tensor product fuzzy model:
[0139]
[0140] Where S is the system core tensor obtained after transformation, which stores the LTI system matrix of the system vertices; W n (p n ) is the corresponding weight coefficient matrix S of the core tensor. For the driverless motorcycle system, let the state variable in, represents the motorcycle leaning angle, θ represents the handlebar rotation angle, ψ represents the rear wheel angular displacement, and β represents the rear fork rotation angle; is the rate of change of the rate of change of the motorcycle's lean angle, is the rate of change of the handlebar rotation angle, is the angular velocity of the rear wheel, Rear fork rotation angle; dynamic control torque of the system u=[τ1 τ2 τ3] T , where τ1 is the driving torque applied by the swing motor on the rear fork, τ2 is the driving torque applied by the rear wheel hub motor on the rear wheel, and τ3 is the driving torque applied by the front fork motor on the handlebar; then the driverless motorcycle system can be rewritten as a first-order system as follows:
[0141]
[0142] Here:
[0143]
[0144] in:
[0145] m 11 =-2(m1h 2 +m3r 2 +m2h′ 2 +m4h″ 2 +m5r 2 ),
[0146]
[0147] m 14 =-2m2r 2 -2m3h′ 2 ,
[0148]
[0149] m 31 =-2m2r 2 -2m3h1 2 ,
[0150] m 32 =0,
[0151]
[0152] m 34 =-2m2r 2 -2m3h′ 2 ,
[0153]
[0154] m 44 =0,
[0155]
[0156] g 14 =0,
[0157]
[0158] g 31 =0,
[0159]
[0160] g 34 =0,
[0161]
[0162] g 43 =0,
[0163] g 44 =0,
[0164]
[0165] n 12 =n 13 =n 14 =0,
[0166] n 21 =n 22 =n 23 =n 24 =0,
[0167]
[0168] n 32 =n 33 =n 34 =0,
[0169] n 41 =n 42 =n 43 =n 44 =0,
[0170] J(p) can be inverted by multiplying the reciprocal to the right side of the equal sign;
[0171]
[0172] The system matrix in the above formula can be written as:
[0173] S(p)=[A(p) B(p)],
[0174] The system matrix S(p) is decomposed into a tensor product representation; let p1 = x1, p2 = x2, p3 = x4, p4 = x5, p5 = x6, p6 = x7, p7 = x8, and set the value range
[0175] The equal-interval partition is 67×67×67×17×17×17×17, and the number of rules is retained as 2×2×2×2×2×2×2=128; the system matrix S(p) can be written as a matrix weighted sum as follows:
[0176]
[0177] Among them, i = (1, 2, ···, 128) is a specific rule among the 128 rules, w i is a weighted fuzzy membership function; thereafter, the state space model of the motorcycle can be rewritten as:
[0178]
[0179] Among them, i = (1, 2, ···, 128) is a specific rule among the 128 rule numbers. The nonlinear model of the motorcycle is sampled in the specified working point interval, and then the sampling results are subjected to high-order singular value decomposition (HOSVD). Based on the linear matrix inequality (LMI), a parallel distributed compensation controller (TPDC) is designed. Usually, the parallel distributed compensation controller can be written as:
[0180]
[0181] Where i = (1, 2, ···, 128) is a specific rule among the 128 rules. The controller design problem can be summarized as finding a common positive definite matrix P and matrix M. i , that is, satisfying P and M iIf such a relationship exists, it can be obtained by LMI solver. This is the feasibility problem of convex hull. The present invention uses Matlab as LMI solver, and the feedback gain K i From P and M i get:
[0182] K i =M i P.
[0183] The basic principle of the electrical system of an autonomous motorcycle is as follows: the rear wheel motor of the motorcycle is controlled by a rear wheel motor driver to adjust the driving speed, the front fork motor is controlled by a front fork motor driver to adjust the driving direction of the motorcycle, and the electronic gyroscope is used to detect the inclination angle of the vehicle body and transmit it to the embedded system through a serial port signal. After the integration of the control algorithm, the driving speed control quantity is output to the rear wheel motor driver to adjust the driving speed of the motorcycle, and the front fork direction control quantity is output to the front fork motor driver to adjust the driving direction; the control principle of an autonomous balancing motorcycle is as follows: based on tensor fuzzy control, K is the feedback gain of the tensor fuzzy parallel distributed compensation controller, and the balance position is u is the control quantity.
[0184] As an example, the reference selection of the main components in the present invention can be as follows:
[0185] Serial number name Model (or brand) 1 Rear wheel motor Brushless gearless hub motor (or general hub servo motor on the market) 2 Swing servo motor Maxon EC Motor: EC90 3 Front fork servo motor Maxon EC Motor: EC52 4 Brake motor Maxon EC Motor: EC45 5 Electronic gyroscope MTI300 6 Embedded Systems STM32H573I-DK 7 Power conversion module 12V 2-way, 5V 1-way 8 Servo Motor Driver Generally choose the driver that matches the servo motor manufacturer 9 Brake lever potentiometer Precision speed regulator LA42DWQ-22 10 I / O module Altai DAM3000 11 DC Battery 48V 12 Intelligent driving system Transplanting the existing four-wheel vehicle intelligent driving system
[0186] The above is the selection of components used in the embodiment of the present invention, which is only a reference selection, but the actual implementation of the autonomous balancing motorcycle is not limited to the above selection.
[0187] The response curves of various variables simulated by the control algorithm of the present invention are shown in the attached Figure 9a , 9b , 9c, 9d, the response curves of various variables in the road test of autonomous balancing motorcycle are attached Fig.10 The simulation and experimental results prove the rationality and effectiveness of the structural scheme and control strategy proposed in the present invention, which has significant practical significance and high application value. It should be noted that the two-wheeled motorcycle structure in embodiments 1, 2, and 3 of the present invention is applicable to but not limited to the control method designed by the present invention when controlling it. The above embodiments describe the present invention in detail, but the contents described are only preferred embodiments of the present invention and cannot be considered to limit the scope of implementation of the present invention. All equivalent changes and improvements made according to the scope of application of the present invention should still fall within the scope of the patent coverage of the present invention.
Claims
1. Intelligent unmanned driving control method of two-wheeled motorcycle based on rear fork swing, It is characterized in that The steps include: Acquiring front fork angle information, rear wheel rotation information, swing mechanism swing angle information, and vehicle body inclination angle information of the motorcycle; According to the obtained front fork rotation angle θ, rear wheel rotation angle ψ, and swing mechanism swing angle β of the motorcycle, the angular velocity is obtained by the difference method. According to the obtained vehicle body inclination angle and the tilt angular velocity A tensorized TS fuzzy controller based on high-order singular value decomposition is designed according to: The feedback gain matrix K of the system is obtained, where w i (t) is the weighted fuzzy membership function, K i is the system gain of one of the specific models under the 128 fuzzy rules, K is the proportional sum of the system gain of each model under the 128 fuzzy rules, that is, the system gain of the motorcycle, which is a 1×8 gain matrix; according to u=-Kx Obtaining the dynamic control torque of the motorcycle's self-balancing; Among them, u=[τ 1 τ 2 τ 3 ] T is the dynamic control torque, τ 1 is the front fork steering torque, τ 2 is the swing torque, τ 3 is the rear wheel driving torque, K is the system gain which is a 1×8 gain matrix, is the system state variable; The intelligent two-wheeled motorcycle includes a swing mechanism, through which the frame and the rear fork of the motorcycle are connected, and the driving motor of the swing mechanism causes the rear fork and the frame to swing relative to each other; the frame is rotatably connected to the front fork, a front fork direction adjustment motor is provided on the front fork, and the front fork can drive the front wheel to rotate; the rear fork is connected to the rear wheel; The vehicle also includes an electronic gyroscope, which is installed on the vehicle frame and is used for detecting the inclination angle of the vehicle body.
2. The intelligent unmanned driving control method of a two-wheeled motorcycle based on rear fork swing according to claim 1, Features: The swing mechanism includes an active rocker, a driven connecting rod and a swing motor; the output end of the swing motor is fixedly connected to one end of the active rocker, and the other end of the active rocker is connected to the rear fork or the frame, and the swing motor is installed on the frame or the rear fork; the two ends of the driven connecting rod are respectively connected to the frame and the rear fork; and there are at least one active rocker and one driven connecting rod; When the swing motor is working, it drives the active rocker to rotate, so that the rear fork and the frame swing relative to each other.
3. The intelligent unmanned driving control method of a two-wheeled motorcycle based on rear fork swing according to claim 1, Features: It also includes an electrical control system, which collects motorcycle movement and driving information through a data acquisition module and controls the driving mode and movement state of the motorcycle.
4. The intelligent unmanned driving control method of a two-wheeled motorcycle based on rear fork swing according to claim 3, Features: It also includes an intelligent driving system, which is respectively connected to the electrical control system and the host computer for communication; the intelligent driving system realizes vehicle networking through the communication system, and realizes autonomous navigation, autonomous positioning, autonomous obstacle avoidance and automatic following.
5. The intelligent unmanned driving control method of a two-wheeled motorcycle based on rear fork swing according to claim 3, Features: The electrical control system controls the front fork direction adjustment motor driver, the rear wheel hub motor driver, the swing motor driver, the driving mode switching system, the automatic / power-assisted braking system, and the self-following control system through the information collected by the data acquisition module to achieve autonomous control of the motorcycle in different modes.
6. The intelligent unmanned driving control method of a two-wheeled motorcycle based on rear fork swing according to claim 2, Features: One end of the driven connecting rod connected to the rear fork extends outward and is connected to the seat, and the bottom of the seat is connected to the frame through a spring.
7. The intelligent unmanned driving control method of a two-wheeled motorcycle based on rear fork swing according to claim 2, Features: There is one active rocker and two driven connecting rods, and the connecting rods are parallel and symmetrically distributed on both sides of the rocker.
8. The intelligent unmanned driving control method of a two-wheeled motorcycle based on rear fork swing according to claim 2, Features: The frame is rotatably connected to the front fork, which includes an upper fork shaft tube and a lower fork shaft tube. A sensor is installed between the upper fork shaft tube and the lower fork shaft tube to obtain torque information of the interaction between the upper fork shaft tube and the lower fork shaft tube.
9. The intelligent unmanned driving control method of a two-wheeled motorcycle based on rear fork swing according to claim 1, Features: The intelligent two-wheeled motorcycle can realize the switching between unmanned driving mode and manned driving mode; When in the manned working mode, the swing motor adopts a fixed value control method or a mechanical self-locking device to keep the vehicle body and the rear fork fixed and not swinging; the front fork steering motor is converted from the self-balancing control mode to the manned power steering working mode; when the handlebar is operated to steer, the sensor installed between the upper shaft tube of the front fork and the lower shaft tube of the front fork obtains the torque ρ between the upper shaft tube of the front fork and the lower shaft tube of the front fork, and stipulates that the direction of ρ is counterclockwise as positive and clockwise as negative, and feeds back to the controller, and the controller calculates the output torque τ of the front fork motor according to the feedback information and the specified torque 1 Among them, K c is the proportionality coefficient, T I is the integration constant, T D is the differential coefficient, e ρ =0-ρ is the torque deviation, ρ 0 The specified torque is designed based on driving experience. is the torque deviation change rate.
10. The intelligent unmanned driving control method of a two-wheeled motorcycle based on rear fork swing according to claim 1, Features: The motorcycle may be a pedal-type two-wheeled motorcycle, a straddle-type two-wheeled motorcycle, a special motorcycle or a toy motorcycle.
Citation Information
Cited By
Full-speed-domain self-balancing control system and method for unmanned motorcycle
CN121028624A
