Method and device for controlling traction force of electric two-wheeled vehicle

The Hall element detects the interruption signal interval length and current to monitor tire slippage in real time, solving the problems of high cost and slow response speed of traditional speed sensors, and achieving safe and economical traction control.

CN118528798APending Publication Date: 2024-08-23YADEA TECH GRP CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410716345.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-04
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

The traditional traction control method of electric two-wheelers uses a speed sensor to determine whether the vehicle is slipping, resulting in high costs and slow response.

Method used

Hall elements are used to detect the interruption signal interval length and current, and real-time monitoring of tire slip occurs. Through acceleration conversion and current comparison, the motor operating status is controlled to prevent slip.

Benefits of technology

It reduces the manufacturing cost of the entire vehicle, has fast response speed, improves the safety of the vehicle when riding, and effectively prevents tire slippage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118528798A
    Figure CN118528798A
Patent Text Reader

Abstract

The invention discloses a traction force control method and device for an electric two-wheeled vehicle, and the method comprises the steps: obtaining the duration of two adjacent interruption intervals of a Hall element, and enabling the duration of the interruption intervals to be the duration between two adjacent interruption signals; obtaining the current of the motor when two interrupt signals are adjacent to the Hall element; and controlling the running state of the motor according to the interruption interval duration and the current. Compared with the prior art, the technical scheme provided by the embodiment of the invention has the advantages that a speed sensor does not need to be additionally arranged, the production and manufacturing cost of the whole vehicle is reduced, and the speed of the whole vehicle is increased by acquiring two adjacent interruption interval duration of the Hall element in the motor, performing acceleration conversion and the current of the motor when two adjacent interruption signals of the Hall element are obtained. According to the current of the motor and the interruption interval duration, whether the tire slips or not is monitored in real time, the response speed is high, and the safety of the vehicle during riding is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electric vehicles, and in particular to a traction control method and device for an electric two-wheeled vehicle. Background Art

[0002] As the number of electric two-wheelers increases, users are becoming more and more dependent on them for short-distance travel, and various corresponding safety issues are becoming more and more prominent. Among them, the most typical problem is the anti-skid problem in rainy and snowy weather. In rainy and snowy weather in winter, the adhesion of the ground is reduced, so electric vehicles may have tires slipping and fall accidents.

[0003] The traction control of traditional electric two-wheeled vehicles is generally achieved by installing a speed sensor on the front wheel, collecting the wheel speed through the speed sensor, and comparing it with the maximum speed threshold to determine whether the vehicle is slipping. This control method has technical problems such as high cost and slow response speed. Summary of the invention

[0004] The present invention provides a traction control method and device for an electric two-wheeled vehicle to solve the technical problems in the prior art of installing a speed sensor, collecting the wheel speed based on the speed sensor, and comparing it with a maximum speed threshold to determine whether the vehicle is slipping, which leads to high cost and slow response speed.

[0005] According to one aspect of the present invention, a traction control method for an electric two-wheeled vehicle is provided, wherein the electric two-wheeled vehicle comprises a motor and a Hall element disposed in the motor, and the traction control method comprises:

[0006] Obtaining the duration of two adjacent interruption intervals of the Hall element, wherein the duration of the interruption interval is the duration between two adjacent interruption signals;

[0007] Acquiring the current of the motor when two adjacent interrupt signals of the Hall element are generated;

[0008] The operating state of the motor is controlled according to the interruption interval duration and the current.

[0009] Optionally, obtaining the duration of two adjacent interruption intervals of the Hall element includes:

[0010] Obtaining a first interval duration between a current interrupt signal and a previous interrupt signal of the Hall element;

[0011] When the next interrupt signal arrives, the second interval length between the current interrupt signal and the next interrupt signal of the Hall element is obtained; the current of the motor when two adjacent interrupt signals of the Hall element are obtained includes:

[0012] The first current at the time of the current interrupt signal and the second current at the time of the previous interrupt signal are obtained.

[0013] Optionally, controlling the running state of the motor according to the interruption interval duration and the current includes:

[0014] Compare the first interval duration with the second interval duration to obtain a first comparison result;

[0015] comparing the first current with the second current to obtain a second comparison result;

[0016] The operating state of the motor is controlled according to the first comparison result and the second comparison result.

[0017] Optionally, controlling the operating state of the motor according to the first comparison result and the second comparison result includes:

[0018] When the first comparison result is that the first interval duration is greater than the second interval duration, calculating a first difference between the first interval duration and the second interval duration;

[0019] When the second comparison result is that the first current is greater than the second current, calculating a second difference between the first current and the second current;

[0020] When the first difference is greater than a first preset value and the second difference is greater than a second preset value, entering a slip containment mode;

[0021] In the slip prevention mode, the actual voltage value of the throttle is collected, and the torque corresponding to the actual voltage value is forcibly cleared to zero.

[0022] Optionally, controlling the operating state of the motor according to the first comparison result and the second comparison result further includes:

[0023] When the first comparison result is that the first interval duration is less than or equal to the second interval duration, taking the next interrupt signal as the current interrupt signal, and returning to execute the step of obtaining two interrupt interval durations adjacent to the current interrupt signal;

[0024] When the second comparison result is that the first current is less than or equal to the second current, the current at the next interrupt signal is used as the current at the current interrupt signal, and the step of obtaining the current of the motor at the two interrupt signals adjacent to the current interrupt signal is returned.

[0025] Optionally, the traction control method further includes:

[0026] When the first difference is less than or equal to the first preset value, returning to the step of comparing the first interval duration with the second interval duration to obtain a first comparison result;

[0027] When the second difference is less than or equal to the second preset value, the method returns to the step of comparing the first current with the second current to obtain a second comparison result.

[0028] Optionally, collecting the actual voltage value of the handlebar and forcibly clearing the torque given value corresponding to the actual voltage value includes:

[0029] The actual voltage value of the throttle is collected, the actual voltage value is transferred to a temporary variable, the torque given value corresponding to the actual voltage value is forcibly cleared to zero, and / or the output of the pulse width modulation is turned off.

[0030] Optionally, after collecting the actual voltage value of the handlebar and forcibly clearing the torque given value corresponding to the actual voltage value, and / or turning off the output of pulse width modulation, the method further includes:

[0031] After a preset time, the slip containment mode is exited, and the actual voltage value in the temporary variable is assigned to the torque given value based on a preset cumulative amount until the torque given value is equal to the actual voltage value, and the normal control mode is entered.

[0032] Optionally, before obtaining the duration of two adjacent interruption intervals of the Hall element, the method further includes:

[0033] When the shift button is in the pressed state for more than a preset time, the historical state flag is obtained;

[0034] Updating the historical status flag and storing the updated status flag;

[0035] When the updated status flag is a preset value, the step of obtaining the duration of two adjacent interruptions of the Hall element is started.

[0036] According to another aspect of the present invention, there is provided a traction control device for an electric two-wheeled vehicle, comprising:

[0037] An interval duration acquisition module, the interval duration acquisition module is used to acquire the interval duration between two adjacent interruptions of the Hall element, wherein the interruption interval duration is the duration between two adjacent interruption signals;

[0038] A current acquisition module, the current acquisition module is used to acquire the current of the motor when two adjacent interrupt signals of the Hall element are generated;

[0039] A control module is used to control the running state of the motor according to the interruption interval duration and the current.

[0040] The embodiment of the present invention provides a traction control method and device for an electric two-wheeled vehicle, wherein the electric two-wheeled vehicle includes a motor and a Hall element arranged in the motor, and the traction control method includes: obtaining the duration of two adjacent interruption intervals of the Hall element, wherein the interruption interval duration is the duration between two adjacent interruption signals; obtaining the current of the motor when two adjacent interruption signals of the Hall element are generated; and controlling the operating state of the motor according to the interruption interval duration and the current. The prior art installs a speed sensor on the front wheel, resulting in a high cost for the production of the entire vehicle. The wheel speed is collected by the speed sensor and compared with the maximum speed threshold to determine whether the vehicle is slipping. Since there may be a risk of the vehicle slipping due to excessive speed when collecting the speed, or even the vehicle has already slipped, the control method has a slow response speed. Compared with the prior art, the technical solution provided by the embodiment of the present invention does not require the installation of an additional speed sensor, thereby reducing the cost of vehicle manufacturing. By obtaining the duration of two adjacent interruption intervals of the Hall element in the motor, acceleration conversion is performed, as well as the current of the motor when two adjacent interruption signals of the Hall element are obtained. Based on the motor current and the duration of the interruption interval, whether the tire is slipping is monitored in real time, with a fast response speed, effectively improving the safety of the vehicle when riding.

[0041] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0043] Figure 1 A flow chart of a traction control method for an electric two-wheeled vehicle provided by an embodiment of the present invention;

[0044] Figure 2 A Hall pulse waveform diagram provided by an embodiment of the present invention;

[0045] Figure 3 A flow chart of another method for controlling traction of an electric two-wheeled vehicle provided by an embodiment of the present invention;

[0046] Figure 4A software operation flow chart showing whether the traction control method for an electric two-wheeled vehicle provided by an embodiment of the present invention is started and executed

[0047] Figure 5 A schematic structural diagram of a traction control device for an electric two-wheeled vehicle provided by an embodiment of the present invention;

[0048] Figure 6 A schematic structural diagram of an electronic device for a traction control method for an electric two-wheeled vehicle provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0049] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0050] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0051] Figure 1 This is a flow chart of a traction control method for an electric two-wheeled vehicle provided by an embodiment of the present invention. This embodiment can be used to prevent tire slippage of an electric two-wheeled vehicle in rainy and snowy weather. The traction control method can be executed by a traction control device of the electric two-wheeled vehicle. The traction control device can be implemented in the form of hardware and / or software. The traction control device can be configured in any electronic device with communication function. The electric two-wheeled vehicle includes a motor and a Hall element arranged in the motor. See Figure 1 , the traction control method comprises:

[0052] S110, obtaining the duration of two adjacent interruption intervals of the Hall element, wherein the interruption interval duration is the duration between two adjacent interruption signals.

[0053] Among them, the Hall element is a magnetic sensor based on the Hall effect, which can detect magnetic fields and their changes and can be used in various occasions related to magnetic fields. The Hall element has the advantages of firm structure, small size, light weight, long life, easy installation, low power consumption, high frequency and vibration resistance.

[0054] Specifically, the application principle of the Hall element in the motor is that a magnetic steel is arranged on the rotor of the motor, and a Hall element is arranged inside the motor. When the motor rotates, the magnetic field N pole of the magnetic steel and the Hall element are relative to each other, and the magnetic field S pole of the magnetic steel and the Hall element are relative to each other, and the Hall element outputs a low level. The motor rotates continuously to output a Hall pulse waveform that switches between high and low levels. In the Hall pulse waveform, a low level changes to a high level or a high level changes to a low level as an interrupt signal, and the duration between two adjacent interrupt signals is an interrupt interval duration, thereby completing the acquisition of two adjacent interrupt interval durations of the Hall element. The difference is calculated based on the interrupt interval duration, and the difference represents the acceleration of the vehicle. Based on the acceleration and the current of the motor, it can be determined whether the vehicle is slipping.

[0055] S120, obtaining the current of the motor when two adjacent interruption signals of the Hall element are generated.

[0056] Specifically, the current of the motor during two adjacent interrupt signals is obtained through the Hall element in the motor. The current of the motor during one interrupt signal represents the current of the motor within an interruption interval. The current of the motor during two adjacent interrupt signals can reflect the change of current within the two adjacent interruption intervals.

[0057] S130: Control the running state of the motor according to the interruption interval duration and the current.

[0058] Specifically, the acceleration is converted according to the difference between the durations of two adjacent interruption intervals, and compared with the maximum acceleration value. At the same time, the difference between the motor currents during two adjacent interruption signals is compared with the maximum current value. If the difference between the two interruption intervals is greater than the maximum acceleration value, it indicates that the acceleration of the vehicle is increasing. If the difference between the motor currents during the two interruption signals is greater than the maximum current value, it indicates that the motor current is decreasing. Since the acceleration increases and the current decreases when the vehicle skids, it is possible to determine whether the vehicle skids based on the above comparison results, and further control the running state of the motor based on the interruption interval duration and the current to prevent the vehicle from skidding.

[0059] The prior art installs a speed sensor on the front wheel, resulting in a high cost for the production of the entire vehicle. The wheel speed is collected by the speed sensor and compared with the maximum speed threshold to determine whether the vehicle is slipping. Since there may already be a risk of the vehicle slipping due to excessive speed when collecting the speed, or even the vehicle has already slipped, the control method has a slow response speed. Compared with the prior art, the technical solution provided by the embodiment of the present invention does not require the installation of a speed sensor, thereby reducing the cost of the production of the entire vehicle. By obtaining the duration of the two adjacent interruption intervals of the Hall element in the motor, the acceleration conversion is performed, as well as the current of the motor when the two adjacent interruption signals of the Hall element are obtained, and the tire is monitored in real time based on the motor current and the duration of the interruption interval, whether it is slipping, the response speed is fast, and the safety of the vehicle when riding is effectively improved.

[0060] Optionally, obtaining the duration of two adjacent interruption intervals of the Hall element includes: obtaining the first duration of the interval between the current interruption signal and the previous interruption signal of the Hall element; when the next interruption signal arrives, obtaining the second duration of the interval between the current interruption signal and the next interruption signal of the Hall element; obtaining the current of the motor when two adjacent interruption signals of the Hall element include: obtaining the first current when the current interruption signal is in progress and the second current when the previous interruption signal is in progress.

[0061] Specifically, Figure 2 For the Hall pulse waveform diagram provided by the embodiment of the present invention, see Figure 2 In the Hall pulse waveform, a low level changes to a high level or a high level changes to a low level as an interrupt signal. The first interval duration A1 between the current interrupt signal and the previous interrupt signal of the Hall element is obtained by calculating the difference between the time of the current interrupt signal and the time of the previous interrupt signal. Similarly, when the next interrupt signal arrives, the second interval duration A2 between the current interrupt signal and the next interrupt signal of the Hall element is obtained by calculating the difference between the time of the current interrupt signal and the time of the next interrupt signal. The first current B1 at the current interrupt signal is the current of the motor when the Hall pulse waveform changes from a high level to a low level, and the second current B2 at the previous interrupt signal is the current of the motor when the Hall pulse waveform changes from a low level to a high level.

[0062] Optionally, controlling the operating state of the motor according to the interruption interval duration and the current includes: comparing the first interval duration with the second interval duration to obtain a first comparison result; and comparing the first current with the second current to obtain a second comparison result.

[0063] The running state of the motor is controlled according to the first comparison result and the second comparison result.

[0064] Optionally, controlling the running state of the motor according to the first comparison result and the second comparison result includes:

[0065] When the first comparison result is that the first interval duration is greater than the second interval duration, a first difference between the first interval duration and the second interval duration is calculated; when the second comparison result is that the first current is greater than the second current, a second difference between the first current and the second current is calculated.

[0066] When the first comparison result is that the first interval duration is less than or equal to the second interval duration, the next interrupt signal is taken as the current interrupt signal, and the step of obtaining the two interrupt interval durations adjacent to the current interrupt signal is returned; when the second comparison result is that the first current is less than or equal to the second current, the current at the next interrupt signal is taken as the current at the current interrupt signal, and the step of obtaining the current of the motor at the two interrupt signals adjacent to the current interrupt signal is returned.

[0067] Specifically, if the first interval duration A1 is greater than the second interval duration A2, the difference obtained by subtracting the second interval duration A2 from the first interval duration A1 is used as the first difference A3 between the first interval duration A1 and the second interval duration A2. If the first current B1 is greater than the second current B2, the difference obtained by subtracting the second current B2 from the first current B1 is used as the second difference B3 between the first current B1 and the second current B2.

[0068] When the first difference is greater than the first preset value and the second difference is greater than the second preset value, the skid containment mode is entered. When the first difference is less than or equal to the first preset value, the step of comparing the first interval duration with the second interval duration to obtain a first comparison result is returned; when the second difference is less than or equal to the second preset value, the step of comparing the first current with the second current to obtain a second comparison result is returned.

[0069] Among them, the first preset value is the maximum acceleration value calibrated according to the actual vehicle under normal riding conditions, which can be set in advance. When the road surface slips, the acceleration at this time will be greater than the maximum acceleration value due to the reduction in adhesion; the second preset value is the maximum current fluctuation value calibrated under normal riding conditions, which can be set in advance. The slip containment mode is a working mode that prevents the vehicle from slipping, controls the motor to lose power supply, and reduces the motor speed. It should be noted that the first preset value and the second preset value provided in the embodiment of the present invention need to be actually calibrated in combination with the power configuration of the electric two-wheeled vehicle, and must be determined in combination with parameters such as the motor rated power, the controller rated operating current, and the rated speed of the whole vehicle through riding tests under actual road conditions.

[0070] Specifically, it is determined whether the first difference A3 is greater than the first preset value, and at the same time, it is determined whether the second difference B3 is greater than the second preset value. If the first difference A3 is greater than the first preset value and the second difference B3 is greater than the second preset value, it indicates that the vehicle has skidded. That is to say, after the first difference A3 is converted into acceleration, the acceleration at this time is compared with the maximum acceleration value calibrated under normal riding conditions of the actual vehicle. When the road surface is slippery, the acceleration at this time will be greater than the maximum acceleration value due to the reduction of adhesion, and the second difference B3 will also be greater than the maximum current fluctuation value calibrated under normal riding conditions. Therefore, when the first difference is greater than the first preset value and the second difference is greater than the second preset value, the skid containment mode is entered to prevent the vehicle from skidding.

[0071] In the slip control mode, the actual voltage value of the handlebar is collected, and the torque corresponding to the actual voltage value is forcibly cleared to zero.

[0072] Optionally, collecting the actual voltage value of the throttle and forcibly clearing the torque given value corresponding to the actual voltage value to zero includes: collecting the actual voltage value of the throttle, transferring the actual voltage value to a temporary variable, forcibly clearing the torque given value corresponding to the actual voltage value to zero, and / or turning off the output of pulse width modulation.

[0073] Specifically, in the slip control mode, the handlebar of the electric two-wheeled vehicle is automatically taken over, and the actual voltage value of the handlebar collected is transferred to the temporary variable S1. At this time, the motor cannot receive the torque value corresponding to the actual voltage value. Therefore, the torque set value of the motor is forced to be cleared, the motor loses power supply, and the speed is immediately reduced to avoid accidents caused by power wheel slippage. And / or, in the slip control mode, the handlebar of the electric two-wheeled vehicle is automatically taken over, and the actual voltage value of the handlebar collected is transferred to the temporary variable S1. At this time, the controller immediately turns off the pulse width modulation (PWM) output, the motor loses power supply, and the speed is immediately reduced to avoid accidents caused by power wheel slippage.

[0074] Optionally, after collecting the actual voltage value of the handlebar and forcibly clearing the torque given value corresponding to the actual voltage value, and / or turning off the output of the pulse width modulation, the method further includes:

[0075] After the preset time, the slip containment mode is exited, and the actual voltage value in the temporary variable is assigned to the torque given value based on the preset cumulative amount until the torque given value is equal to the actual voltage value, and the normal control mode is entered.

[0076] The preset time may be preset according to the response speed, and the preset accumulated amount may be preset according to the comfort level sensed by the user when the slip containment mode is switched to the normal control mode.

[0077] For example, after a preset time of 500ms, the slip throttle mode is exited and the throttle control is restored. The controller assigns the actual voltage value in the throttle temporary variable S1 to the torque set value based on the preset cumulative amount. The preset cumulative amount of one PWM pulse cycle is currently set to 50, and can be adjusted in real time according to the response requirements. When the actual voltage value of the throttle is equal to the torque set value, the transition of throttle control is completed and the normal control mode is entered.

[0078] The technical solution provided by the embodiment of the present invention does not need to install speed sensors on the non-powered wheels of the electric two-wheeled vehicle, which reduces the cost of manufacturing the entire vehicle. It only needs to add the software algorithm of the traction control method to the existing control program, which can effectively prevent the tires of the vehicle from slipping, improve the user's riding experience, and enhance the safety factor of travel. In addition, based on the time difference between the edge jumps of the Hall element and the change in the motor current, it is judged whether the tires of the vehicle are slipping, and the response speed is fast. Including the edge interruption test time of the Hall element, the response time does not exceed 10ms, and the fastest can be within 1ms. Therefore, when the tire slips, the system can respond immediately in a very short time to ensure the safety of the user's riding.

[0079] Optionally, before obtaining the duration of two adjacent interruption intervals of the Hall element, the method further includes:

[0080] When the shift button is in the pressed state for more than a preset time, the historical state flag is obtained;

[0081] The historical status flag is updated and the updated status flag is stored; when the updated status flag is a preset value, the step of obtaining the duration of two adjacent interruptions of the Hall element is started.

[0082] The preset time can be preset, for example, the preset time can be set to 3s, and the historical status flag is used to indicate whether the traction control function is turned on, that is, the historical status flag is used to indicate whether the step of obtaining the interval between two adjacent interruptions of the Hall element is executed. Obtaining the historical status flag means obtaining the value of the status flag with the shortest time from the current historical status flag.

[0083] Specifically, the shift button is pressed, the electric door lock key is turned on, and the shift button is kept pressed for more than a preset time of 3 seconds, and the traction control system is turned on or off. The setting program is entered, and the historical status flag previously stored in the memory is read, and then the inversion operation is performed, that is, if the historical status value is 1, it becomes 0, and if it is 0, it becomes 1, that is, if the traction control function was originally turned on, it is now turned off, and if it was originally turned off, it is now turned on. And its latest status value is stored in the memory. If the shift button is not pressed for the preset time of 3 seconds, the setting program is exited, and the traction control system is judged by reading the status flag currently stored in the memory. The status flag is 1, indicating that the traction control function has been turned on, and the status flag is 0, indicating that the traction control function is turned off.

[0084] Figure 3 This is a flow chart of another method for controlling traction of an electric two-wheeled vehicle provided by an embodiment of the present invention. The embodiment of the present invention further refines the above embodiment on the basis of the above embodiment. Figure 3 , the method comprising:

[0085] S310, obtaining a first interval time length A1 between a current interrupt signal and a previous interrupt signal of a Hall element.

[0086] S311 . When the next interrupt signal arrives, obtain a second interval time length A2 between the current interrupt signal and the next interrupt signal of the Hall element.

[0087] S312, obtaining a first current B1 during a current interrupt signal and a second current B2 during a previous interrupt signal.

[0088] S313, determine whether A1 is greater than A2, if yes, execute S315; if not, return to execute S310.

[0089] S314, determine whether B1 is greater than B2, if yes, execute S316; if no, return to execute S312.

[0090] S315: Calculate a first difference A3 between the first interval duration A1 and the second interval duration A2.

[0091] S316 , calculating a second difference B3 between the first current B1 and the second current B2 .

[0092] S317, determine whether the first difference A3 is greater than the first preset value, if yes, execute S319; if no, return to execute S313.

[0093] S318, determine whether the second difference B3 is greater than the second preset value, if yes, execute S319; if no, return to execute S314.

[0094] S319, enter skid containment mode.

[0095] S320: In the slip prevention mode, the actual voltage value of the throttle is collected, and the torque corresponding to the actual voltage value is forcibly cleared to zero.

[0096] S321. After a preset time, exit the slip control mode, assign the actual voltage value in the temporary variable to the torque given value based on the preset cumulative amount, until the torque given value is equal to the actual voltage value, and enter the normal control mode.

[0097] Figure 4 The software operation flow chart of whether the traction control method of the electric two-wheeled vehicle provided by the embodiment of the present invention is started and executed, see Figure 4 , the method comprising:

[0098] S410. Open the electric door lock and press the shift key.

[0099] S420, determining whether the shift key is in the pressed state for more than a preset time, if yes, executing S430; if no, executing S440.

[0100] S430: Obtain the history status flag.

[0101] S440, read the status flag currently stored in the memory.

[0102] S450, determine whether the currently stored status flag is a preset value, if yes, execute S460; if no, end.

[0103] S460, start executing the acquisition of the interval between two adjacent interruptions of the Hall element and subsequent steps.

[0104] S470: Update the historical status flag and store the updated status flag.

[0105] S480: When the updated status flag is a preset value, start executing the process of obtaining the duration of two adjacent interruptions of the Hall element and subsequent steps.

[0106] The technical solution provided by the embodiment of the present invention does not need to install a speed sensor, which reduces the device cost and installation cost and is more competitive. It only needs to add a traction controller algorithm to the original control algorithm, which is more convenient to implement and has stronger compatibility. It has a fast response speed and high accuracy, and will not affect normal riding. It occupies less resources and does not increase additional cost. The execution of the control algorithm can be enabled and disabled by software settings or external switches, which is easy to use.

[0107] Figure 5A schematic diagram of the structure of a traction control device for an electric two-wheeled vehicle provided by an embodiment of the present invention, see Figure 5 The traction control device includes an interval duration acquisition module 510 , a current acquisition module 520 and a control module 530 .

[0108] The interval duration acquisition module 510 is used to acquire the interval duration between two adjacent interruptions of the Hall element, wherein the interruption interval duration is the duration between two adjacent interruption signals;

[0109] The current acquisition module 520 is used to acquire the current of the motor when two adjacent interrupt signals of the Hall element are generated;

[0110] The control module 530 is used to control the running state of the motor according to the interruption interval duration and current.

[0111] The traction control device for an electric two-wheeled vehicle provided in the embodiment of the present invention can execute the traction control method for an electric two-wheeled vehicle provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0112] Figure 6 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0113] like Figure 6 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0114] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0115] The processor 11 may be a variety of general and / or dedicated processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a traction control method for an electric two-wheeled vehicle.

[0116] In some embodiments, a traction control method for an electric two-wheeled vehicle may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the traction control method for an electric two-wheeled vehicle described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute a traction control method for an electric two-wheeled vehicle in any other appropriate manner (e.g., by means of firmware).

[0117] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0118] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0119] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0120] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0121] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0122] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0123] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0124] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A traction control method for an electric two-wheeled vehicle, the electric two-wheeled vehicle comprising a motor and a Hall element disposed in the motor, characterized in that: The traction control method comprises: Obtaining the duration of two adjacent interruption intervals of the Hall element, wherein the duration of the interruption interval is the duration between two adjacent interruption signals; Acquiring the current of the motor when two adjacent interrupt signals of the Hall element are generated; The operating state of the motor is controlled according to the interruption interval duration and the current.

2. The traction control method according to claim 1, characterized in that: The obtaining of the duration of two adjacent interruption intervals of the Hall element comprises: Obtaining a first interval duration between a current interrupt signal and a previous interrupt signal of the Hall element; When the next interrupt signal arrives, the second interval length between the current interrupt signal and the next interrupt signal of the Hall element is obtained; the current of the motor when two adjacent interrupt signals of the Hall element are obtained includes: The first current at the time of the current interrupt signal and the second current at the time of the previous interrupt signal are obtained.

3. The traction control method according to claim 2, characterized in that: Controlling the running state of the motor according to the interruption interval duration and the current includes: Compare the first interval duration with the second interval duration to obtain a first comparison result; comparing the first current with the second current to obtain a second comparison result; The operating state of the motor is controlled according to the first comparison result and the second comparison result.

4. The traction control method according to claim 3, characterized in that: The controlling the running state of the motor according to the first comparison result and the second comparison result comprises: When the first comparison result is that the first interval duration is greater than the second interval duration, calculating a first difference between the first interval duration and the second interval duration; When the second comparison result is that the first current is greater than the second current, calculating a second difference between the first current and the second current; When the first difference is greater than a first preset value and the second difference is greater than a second preset value, entering a slip containment mode; In the slip prevention mode, the actual voltage value of the throttle is collected, and the torque corresponding to the actual voltage value is forcibly cleared to zero.

5. The traction control method according to claim 3, characterized in that: The controlling the running state of the motor according to the first comparison result and the second comparison result further includes: When the first comparison result is that the first interval duration is less than or equal to the second interval duration, taking the next interrupt signal as the current interrupt signal, and returning to execute the step of obtaining two interrupt interval durations adjacent to the current interrupt signal; When the second comparison result is that the first current is less than or equal to the second current, the current at the next interrupt signal is used as the current at the current interrupt signal, and the step of obtaining the current of the motor at the two interrupt signals adjacent to the current interrupt signal is returned.

6. The traction control method according to claim 4, characterized in that: Also includes: When the first difference is less than or equal to the first preset value, returning to the step of comparing the first interval duration with the second interval duration to obtain a first comparison result; When the second difference is less than or equal to the second preset value, the method returns to the step of comparing the first current with the second current to obtain a second comparison result.

7. The traction control method according to claim 4, characterized in that: The collecting of the actual voltage value of the handlebar and forcibly clearing the torque given value corresponding to the actual voltage value comprises: The actual voltage value of the throttle is collected, the actual voltage value is transferred to a temporary variable, the torque given value corresponding to the actual voltage value is forcibly cleared to zero, and / or the output of the pulse width modulation is turned off.

8. The traction control method according to claim 7, characterized in that: After collecting the actual voltage value of the handlebar and forcibly clearing the torque given value corresponding to the actual voltage value, and / or turning off the output of pulse width modulation, the method further includes: After a preset time, the slip containment mode is exited, and the actual voltage value in the temporary variable is assigned to the torque given value based on a preset cumulative amount until the torque given value is equal to the actual voltage value, and the normal control mode is entered.

9. The traction control method according to claim 1, characterized in that: Before obtaining the duration of two adjacent interruption intervals of the Hall element, the method further includes: When the shift button is in the pressed state for more than a preset time, the historical state flag is obtained; Updating the historical status flag and storing the updated status flag; When the updated status flag is a preset value, the step of obtaining the duration of two adjacent interruptions of the Hall element is started.

10. A traction control device for an electric two-wheeled vehicle, characterized in that: include: An interval duration acquisition module, the interval duration acquisition module is used to acquire the interval duration between two adjacent interruptions of the Hall element, wherein the interruption interval duration is the duration between two adjacent interruption signals; A current acquisition module, the current acquisition module is used to acquire the current of the motor when two adjacent interrupt signals of the Hall element are generated; A control module is used to control the running state of the motor according to the interruption interval duration and the current.

Citation Information

Cited By

  • Drive system for a vehicle and method for determining the existence of a slip situation

    DE102025103710A1