Motor control method of two-wheeled electric vehicle
By detecting the vehicle status and automatically adjusting steep slope descent and energy recovery functions, it solves the problems of brake wear and inconvenience of function switches when two-wheeled electric vehicles go downhill, achieving higher safety and energy recovery efficiency.
Patent Information
- Application Number
- CN202410904926.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-07-08
AI Technical Summary
Two-wheeled electric vehicles suffer from heavy brake wear when going downhill, and lack intelligent steep slope descent and energy recovery function switches, resulting in inconvenient riding and waste of energy.
Through the detection of body pitch angle and wheel status information, the steep slope descent and energy recovery functions are automatically turned on or off, and the resistance force or energy recovery intensity is adjusted according to the braking signal and the speed control handlebar voltage signal to achieve stepless control and is compatible with ABS and non-ABS. car model.
It reduces brake pad wear, improves riding safety and functional convenience, avoids energy waste, and improves the intelligence level of the entire vehicle.
Smart Images

Figure CN118618530A
Abstract
Description
Technical Field
[0001] The invention relates to the field of electric vehicle control, in particular to a motor control method for a two-wheeled electric vehicle. Background Art
[0002] At present, two-wheeled electric vehicles have become a common means of transportation. In order to avoid speed loss when going downhill, two-wheeled electric vehicles often use brakes to slow down, but the brake pads will be worn out in the long run. In addition, many two-wheeled electric vehicles do not have ABS function. When squeezing the double brakes to slow down when going downhill, the tires are prone to lock and slip, and the user's riding safety is not guaranteed. In addition, braking will waste energy, and one of the most concerned issues of two-wheeled electric vehicles is battery life. Therefore, recycling the energy consumed by braking is the key to improving the battery life of two-wheeled electric vehicles.
[0003] Some models in the industry now have steep slope descent control and energy recovery functions, but they all need to be combined with APP to start or turn off the corresponding functions. Although it saves vehicle buttons, the needs of users during riding are actually constantly changing, which leads to the following problems: once the steep slope descent control and energy recovery functions are set to be turned on, they cannot be turned off during riding. When users want to slide further on certain sections of the road, the vehicle will be stopped due to the activation of these two functions; once the steep slope descent control and energy recovery functions are set to be turned off, they cannot be turned on during riding. When users encounter long downhill sections, they cannot rely solely on brakes to balance the vehicle, and there is no energy recovery during braking, resulting in energy waste.
[0004] To sum up, when faced with various riding scenarios, vehicles that only turn on and off the hill descent and energy recovery functions through an APP are not intelligent enough and do not meet the user's usage intentions. Summary of the invention
[0005] In view of the above problems and technical requirements, the inventors have proposed a two-wheeled electric vehicle downhill control method and device, which mainly solves the problems of excessive brake wear, steep slope descent control and convenient switch of energy recovery function when the two-wheeled electric vehicle is going downhill. The technical solution of the present invention is as follows:
[0006] The present application provides a motor control method for a two-wheeled electric vehicle, comprising the following steps:
[0007] When the vehicle is determined to be in a downhill forward state based on the vehicle body pitch angle information and wheel status information, the steep slope descent function is turned on when a brake signal is detected, and the resistance is adjusted according to the brake signal and the voltage signal of the speed control handle. The resistance is the driving resistance obtained by controlling the motor to output the braking torque;
[0008] When it is determined based on the vehicle pitch angle information and wheel status information that the vehicle is in a reverse state or on a non-downhill section, the steep slope descent function is turned off and the motor is controlled to cancel the resistance force output.
[0009] Its further technical solution is that the method further comprises:
[0010] When it is determined based on the vehicle body pitch angle information and wheel status information that the vehicle is in a downhill forward state or a flat road forward state, the energy recovery function is turned on when a brake signal is detected, and the energy recovery strength value is adjusted according to the brake signal and the speed control handle voltage signal, and the two-wheeled electric vehicle is controlled to recover energy according to the energy recovery strength value;
[0011] When it is determined based on the vehicle pitch angle information and wheel status information that the vehicle is in a backward state or on an uphill section, the energy recovery function is turned off.
[0012] A further technical solution is that the method for adjusting the resistance force / energy recovery force value according to the brake signal and the speed control handle voltage signal is the same, including:
[0013] When a brake signal is detected first and the voltage signal of the speed regulating handlebar is detected to be greater than zero during the duration of the brake signal, the resistance force / energy recovery force value is adjusted according to the voltage signal of the speed regulating handlebar, otherwise the resistance force / energy recovery force value is adjusted according to the brake signal;
[0014] When it is determined that the vehicle is moving downhill, if it is detected that the speed throttle voltage signal is greater than zero and is not in the process of adjusting the resistance force according to the speed throttle voltage signal, the steep slope descent function is turned off and the motor is controlled to cancel the resistance force output / turn off the energy recovery function.
[0015] A further technical solution is to adjust the resistance force / energy recovery force value according to the voltage signal of the speed control handle, including:
[0016] The resistance force R / energy recovery force value H is calculated based on the voltage signal value V of the speed control handle, so as to realize stepless regulation of the resistance force / energy recovery force value through the speed control handle; wherein R=V÷V max ×R max , H=V÷V max ×H max , V max is the maximum voltage corresponding to the maximum rotation of the speed control knob, R max is the maximum resistance force output by the motor, H max is the maximum value of the given energy recovery intensity;
[0017] If the brake signal and the speed throttle voltage signal are not detected within a certain period of time, the control motor will cancel the resistance force output / turn off the energy recovery function; if the brake signal is detected or the speed throttle voltage signal is greater than zero, the resistance force R / energy recovery force value H calculated based on the speed throttle voltage signal value V will continue to be executed.
[0018] A further technical solution is to adjust the resistance force / energy recovery force value according to the brake signal, including:
[0019] If the vehicle is not equipped with ABS, the resistance force / energy recovery force value is adjusted according to the braking state of the brake signal, and the braking state of the brake signal is intermittent braking or continuous braking;
[0020] If the vehicle is equipped with ABS, the resistance force / energy recovery force value will be adjusted according to the duration of the brake signal.
[0021] A further technical solution is to adjust the resistance force / energy recovery force value according to the braking state of the brake signal, including:
[0022] Initialize the resistance force / energy recovery force value to the resistance force / energy recovery force value at the lowest gear;
[0023] When the braking state of the brake signal is detected as intermittent braking, and no voltage signal of the speed control handle is detected, as the number of intermittent braking detections increases, the resistance force / energy recovery force value is gradually increased until the highest gear is reached;
[0024] Braking / energy recovery is performed at the resistance force / energy recovery force value at the highest gear until the steep slope descent function is triggered to be turned off and the motor is controlled to cancel the resistance force output / turn off the energy recovery function;
[0025] Among them, the higher the gear level, the greater the resistance / energy recovery value.
[0026] A further technical solution is to adjust the resistance force / energy recovery force value according to the duration of the braking signal, including:
[0027] Calculate the resistance gear L according to the duration T of the brake signal R / Energy recovery level L H , and match it with the pre-archive location;
[0028] If the matching fails, the duration T of the brake signal is obtained again;
[0029] If the match is successful, adjust to gear position L R / L H The corresponding resistance / energy recovery force value, until the highest resistance / energy recovery force value is reached;
[0030] Braking / energy recovery is performed at the resistance force / energy recovery force value at the highest gear until the steep slope descent function is triggered to be turned off and the motor is controlled to cancel the resistance force output / turn off the energy recovery function;
[0031] Among them, the higher the gear level, the greater the resistance / energy recovery value.
[0032] A further technical solution is to calculate the resistance gear L according to the duration T of the brake signal. R / Energy recovery level L H ,include:
[0033] L R =T / 1 second;
[0034] L H =[(TT thr ) / 0.8], T thr is the energy recovery intensity level increase threshold, [·] indicates the rounding symbol.
[0035] A further technical solution is that the method further comprises, if the vehicle is provided with ABS, when no brake signal is detected:
[0036] If the vehicle has triggered the hill parking function and has not reached the maximum resistance force, the resistance force will be linearly increased until the sliding speed is zero, and braking will be performed with the current resistance force until the steep slope descent function is triggered to be turned off and the motor is controlled to cancel the resistance force output;
[0037] If the vehicle has triggered the hill parking function and reached the maximum resistance force, braking will be performed with the maximum resistance force until the steep slope descent function is triggered to be turned off and the motor is controlled to cancel the resistance force output;
[0038] If the vehicle does not trigger the hill parking function, braking is performed with the current resistance force until the steep slope descent function is triggered to be turned off and the motor is controlled to cancel the resistance force output.
[0039] Its further technical solution is that the method further comprises:
[0040] The resistance / energy recovery effect prompt information is displayed on a display screen of the two-wheeled electric vehicle, and / or the resistance / energy recovery effect prompt information is played by a voice module of the two-wheeled electric vehicle, and / or the resistance / energy recovery effect prompt information is indicated by flashing lights of the two-wheeled electric vehicle;
[0041] The resistance prompt information refers to the current resistance size, and the energy recovery effect prompt information indicates the current energy recovery situation.
[0042] The beneficial technical effects of the present invention are:
[0043] This method comprehensively determines the user's intention to switch the steep slope descent control and energy recovery functions based on conditions such as road slope, speed control handlebar voltage signal, and brake signal, so as to adaptively enter different control processes during riding. By outputting resistance force from the motor, the user does not need to hold the brake for a long time, thereby reducing the wear of the brake pads when the two-wheeled electric vehicle goes downhill and preventing the vehicle from skidding to a certain extent. This method does not require additional buttons on the vehicle or APP operation, and the intelligence of the entire vehicle is improved, which improves the convenience and flexibility of enabling related functions.
[0044] This method is compatible with both ABS and non-ABS models. According to the brake signal, a resistance and energy recovery force adjustment method applicable to the brake mechanism of different models is proposed, which guides users of non-ABS models to perform intermittent braking to prevent the dangerous situation of tire locking during continuous emergency braking, improves the safety of the vehicle, and ensures the maximum energy recovery effect. After losing physical brake assistance, ABS models can also adjust the resistance in real time to prevent the vehicle from sliding again, improving the safety of the vehicle. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 It is a schematic diagram of a motor control device for a two-wheeled electric vehicle provided in this application.
[0046] Figure 2 This is a flow chart of the steep slope descent function switch control method provided in this application.
[0047] Figure 3 This is a flow chart of a method for adjusting resistance and energy recovery force values according to a speed control handle voltage signal provided by the present application.
[0048] Figure 4 This is a flow chart of a method for adjusting resistance force according to a brake signal provided by the present application.
[0049] Figure 5 This is a flow chart of the energy recovery function switch control method provided in this application.
[0050] Figure 6 This is a flow chart of another method for adjusting resistance force according to a brake signal provided by the present application. DETAILED DESCRIPTION
[0051] The specific implementation of the present invention will be further described below in conjunction with the accompanying drawings.
[0052] Please refer to Figure 1As shown, the present application provides a motor control device for a two-wheeled electric vehicle, including a controller installed on the two-wheeled electric vehicle, and a posture sensor, a brake handle, a speed control handle and a motor connected thereto. The brake handle is mainly used to trigger physical braking, and the speed control handle is mainly used to accelerate and control the riding speed. In this application, it is also used to turn off the steep slope descent and energy recovery functions, or to perform stepless regulation of the resistance force and energy recovery force value. The posture sensor is used to detect the pitch angle information of the vehicle body to determine the road slope information (uphill, flat road, downhill), such as a gyroscope, or a six-axis and nine-axis acceleration sensor. The motor is used to drive the tire to rotate, and the direction of tire rotation can be used to determine whether the vehicle is moving forward or backward. The controller integrates peripheral sensor algorithms (such as body posture solution algorithms) and also assumes the responsibility of driving the motor. It is the computer center in this solution, which is mainly used to execute the motor control method of the two-wheeled electric vehicle proposed in this application, thereby controlling the motor to start or cancel the resistance force and energy recovery force value, and regulating their size in real time. The following two embodiments respectively introduce the switch control method of the steep slope descent function and the energy recovery function. In actual application, the two functions can be used at the same time. It is worth mentioning that when energy recovery is to be performed, it is necessary to add relevant circuits to convert the recovered kinetic energy into electrical energy storage. The circuit can be implemented using the existing circuit connection method, which will not be explained in detail here.
[0053] Embodiment 1:
[0054] Please refer to Figure 2 As shown, the present application provides a motor control method for a two-wheeled electric vehicle, which realizes the natural switch steep slope descent function without the help of an electric vehicle APP, and does not add new vehicle buttons, saving button space and cost, and having a high user experience. The method specifically includes the following steps:
[0055] Step 1: Obtain the vehicle body pitch angle information and wheel status information. The vehicle body pitch angle information includes the pitch angle size and direction, which can be used to monitor the slope information of the road surface on which the two-wheeled electric vehicle is traveling in real time. Combined with the wheel status information, the driving status of the two-wheeled electric vehicle can be determined, including the following situations:
[0056] When the wheel status information indicates that the wheel is rotating forward and the speed is greater than 0, and the slope information of the road section where the two-wheeled electric vehicle is located determined by the attitude sensor does not reach the predetermined slope threshold, it is determined that the two-wheeled electric vehicle is in a flat road forward state. When the wheel status information indicates that the wheel is rotating forward and the speed is greater than 0, and the slope information of the road section where the two-wheeled electric vehicle is located determined by the attitude sensor reaches the predetermined slope threshold, the pitch angle is a positive value, it is determined that the two-wheeled electric vehicle is in an uphill forward state, and the pitch angle is a negative value, it is determined that the two-wheeled electric vehicle is in a downhill forward state. When the wheel status information indicates that the wheel is reversed, it is determined that the two-wheeled electric vehicle is in a backward state. Optionally, the slope threshold can be customized, and this embodiment is set to 5°.
[0057] Step 2: When the vehicle is determined to be in a downhill forward state based on the vehicle body pitch angle information and wheel status information, the steep slope descent function is turned on when a brake signal is detected, and the resistance is adjusted according to the brake signal and the voltage signal of the speed control handle. The brake signal is Figure 1 The brake handle shown in the figure generates an electrical signal. In this embodiment, the electrical signal is low level after the brake is applied, and the electrical signal is high level when the brake is not applied. When the user turns the speed control handle, a voltage signal of the speed control handle is generated. The signal value is within the range of 0-5V. If the voltage is greater than 0V, it means that the user has turned the speed control handle. The resistance force is the driving resistance obtained by controlling the motor to output the braking torque.
[0058] In one embodiment, when the brake signal is detected first and the speed throttle voltage signal is detected to be greater than zero during the duration of the brake signal, the resistance is adjusted according to the speed throttle voltage signal. When only the brake signal is detected but the speed throttle signal is not detected, or when the speed throttle signal is detected first and then the brake signal, the resistance is adjusted according to the brake signal.
[0059] In one embodiment, if no brake signal is detected, slope detection is performed, that is, when it is determined based on the vehicle body pitch angle information that the vehicle is still downhill, the brake signal is re-detected, and when it is determined based on the vehicle body pitch angle information that the vehicle is not downhill, the method process is exited.
[0060] Step 3: When it is determined based on the vehicle body pitch angle information and wheel status information that the vehicle is in a backward state or a non-downhill section, or when it is determined that the vehicle is in a downhill forward state, when it is detected that the voltage signal of the speed control handle is greater than zero and is not in the process of adjusting the resistance force according to the voltage signal of the speed control handle, the steep slope descent function is turned off and the motor is controlled to cancel the resistance force output. When the two-wheeled electric vehicle is in an uphill forward state or a flat road forward state, turning off the steep slope descent function helps the two-wheeled electric vehicle climb the slope and safely pass the uphill section. It can also effectively prevent the function from being triggered by mistake on a flat road, and the user can cancel the resistance force braking by turning the speed control handle. In addition, when the two-wheeled electric vehicle retreats due to a collision, the user's active backward movement, being pulled backward, and driving in reverse gear, the control method of the present application will also turn off the steep slope descent function for safety reasons.
[0061] The motor control method of the two-wheeled electric vehicle of the present application automatically turns on or off the steep slope descent function during riding by detecting the pitch angle information of the vehicle body and the wheel status information, and adjusts the resistance force in real time according to the brake signal and the speed control handlebar signal. The convenience and flexibility of setting the steep slope descent function switch are improved, the problem of free adjustment of the resistance force is solved, and the physical brake and the resistance force are combined to achieve safe driving of the vehicle.
[0062] The method mentioned in step 2 to adjust the resistance according to the brake signal and the speed control voltage signal is as follows Figure 3 As shown, specifically including:
[0063] (1) Calculate the resistance R based on the voltage signal value V of the speed control knob. R = V ÷ V max ×R max , where V max is the maximum voltage corresponding to the maximum rotation of the speed control knob, R max It is the maximum resistance output by the motor. The value range of R is 0-Rmax. The larger the voltage value of the speed control handle, the greater the resistance.
[0064] (2) Based on the calculated R value, the motor is controlled to adjust the resistance in real time, and resistance prompt information is displayed on a display screen on the two-wheeled electric vehicle, and / or the resistance prompt information is played through a voice module of the two-wheeled electric vehicle, and / or the resistance prompt information is indicated by flashing lights on the two-wheeled electric vehicle, so as to provide feedback to the user on the current resistance.
[0065] (3) If no brake signal or speed throttle voltage signal is detected within a certain period of time, the controller controls the motor to cancel the resistance force output. If a brake signal is detected or the speed throttle voltage signal is greater than zero, the speed throttle voltage signal value V is continued to be read, that is, step 2-(1) is re-executed.
[0066] In this step, the original property of the speed control knob is changed through the triggering method of the signal combination, and the user can achieve stepless regulation of the resistance force by turning the speed control knob.
[0067] The method mentioned in step 2 to adjust the resistance according to the brake signal is as follows Figure 4 As shown, the method combines the characteristics of models with ABS and those without ABS, and carries out a differentiated control design based on the braking state of the brake signal. The braking state of the brake signal is intermittent braking or continuous braking. Intermittent braking is a point braking, which indicates that the brake signal changes from a triggered state to an untriggered state, and then from an untriggered state to a triggered state. In this application, the brake signal of the point braking is a change signal from a low-level signal to a high-level signal, and then from a high-level signal to a low-level signal. Continuous braking is a brake signal for long-pressing the brake. When the user long-presses the brake, a continuous brake signal is generated. The method includes: if the vehicle is not equipped with ABS, adjusting the resistance according to the braking state of the brake signal; if the vehicle is equipped with ABS, adjusting the resistance according to the duration of the brake signal.
[0068] In one embodiment, the specific method of adjusting the resistance force according to the braking state of the brake signal includes: initializing the resistance force to the resistance force at the lowest gear. During the driving process of the two-wheeled electric vehicle, the braking state of the brake signal is continuously monitored: when the braking state of the brake signal is monitored to be intermittent braking, and the voltage signal of the speed control handle is not detected, as the number of intermittent braking detections increases, the gear of the resistance force is gradually increased until the highest gear is reached, and each increase in a gear of resistance force is given through the above-mentioned instrument display, and / or, voice playback, and / or light flashing to give corresponding prompts to feedback the current resistance force to the user. If the voltage signal of the speed control handle is detected, the steep slope descent function is triggered to close and the motor is controlled to cancel the resistance force output. When the resistance force at the highest gear has been reached, the resistance force regulation process is terminated, and braking is performed with the resistance force at the highest gear until the steep slope descent function is triggered to close and the motor is controlled to cancel the resistance force output, otherwise continue to monitor whether there is a new brake signal of intermittent braking. When intermittent braking is not detected for a certain period of time, the resistance force adjusted last time is maintained for braking until the steep slope descent function is triggered to be turned off and the motor is controlled to cancel the resistance force output.
[0069] Optionally, n resistance gears can be stored in the controller in advance, and the gears can be represented by numerical values, such as 0, 5, 10, etc. Each gear corresponds to a resistance value or range value. The higher the gear level, the greater the resistance. When taking the range value, the resistance of the current gear can take the average value of the range.
[0070] In one embodiment, the specific method for adjusting the resistance according to the duration of the brake signal includes: timing the duration of the brake signal, calculating the resistance gear L according to the duration T of the brake signal R =T / 1 second, and match with the pre-set position. If the match fails, continue to count the duration of the brake signal, so the longer the duration T is, the greater the resistance is. If the match is successful, adjust to gear position L R The corresponding resistance force is updated by continuously monitoring the duration of the brake signal. R , until the resistance force of the highest gear is reached, and the match is successful once, the corresponding prompt is given through the instrument display introduced above, and / or, voice playback, and / or light flashing to give feedback to the user about the current resistance force. When the resistance force of the highest gear has been reached, the resistance force regulation process is terminated, and braking is performed with the resistance force at the highest gear until the steep slope descent function is triggered to be turned off and the motor is controlled to cancel the resistance force output. If the landslide speed is detected to be zero during the braking process, the ramp parking function is realized, the resistance force regulation process is exited, and braking is performed with the resistance force at the current gear until the steep slope descent function is triggered to be turned off and the motor is controlled to cancel the resistance force output, otherwise the duration of the brake signal is continued to be timed. Among them, the landslide speed can be determined by detecting the tire speed or the motor speed. Slope parking is the phenomenon that the motor outputs the braking torque to control the vehicle to stop on the slope without slipping, that is, relying on the motor torque to control the braking stop on the slope. It is worth noting that when the resistance force regulation process is terminated, the timing needs to be reset.
[0071] In this step, it is considered that for models with ABS, continuous braking will not cause danger, while for models without ABS, continuous braking will cause the vehicle to slip easily and cause greater wear on the brake pads. The design of this application avoids continuous braking for models without ABS, and guides users to perform intermittent braking to assist in deceleration and ensure vehicle driving safety.
[0072] Taking into account the user's operating habits, two different resistance force adjustment processes are given in step 2 to meet the riding needs of different users. Figure 3 The control process shown does not distinguish whether ABS is available or not. The operation of this process is more refined, but not all users are accustomed to using the speed control handle to assist braking, so this process is more suitable for young people. Figure 4 The control process shown adopts intermittent braking or continuous braking duration strategy according to whether ABS is present, which is more in line with the operating habits of most people. The two control strategies make the vehicle more intelligent.
[0073] In addition, when executing Figure 4The resistance force control process with ABS shown in the figure will also determine the user's vehicle action. If there is no action, the controller will not do anything; if there is an action, including releasing the brake of the vehicle with ABS (the controller does not detect the brake signal), turning the speed control handle of the vehicle with ABS (the controller detects that the voltage signal of the speed control handle is greater than zero), and the vehicle moves backward, the following operations are performed respectively:
[0074] If the vehicle is equipped with ABS and no brake signal is detected, the user's release of the brake will cause the vehicle to lose a certain amount of friction, thereby accelerating the landslide. At this time, it is necessary to determine whether the ramp parking function has been triggered before. If the vehicle has triggered the ramp parking function and has not reached the maximum resistance force, the resistance force is linearly increased (for example, it can be increased by 10% each time) until the landslide speed is zero, thereby completing the ramp parking brake to stop the vehicle again, ending the resistance force regulation process, and braking with the current resistance force until the steep slope descent function is triggered and the motor is controlled to cancel the resistance force output. If the vehicle has triggered the ramp parking function and reached the maximum resistance force, the resistance force regulation process is ended, and braking is performed with the maximum resistance force until the steep slope descent function is triggered and the motor is controlled to cancel the resistance force output. If the vehicle has not triggered the ramp parking function, the resistance force regulation process is ended, and braking is performed with the current resistance force until the steep slope descent function is triggered and the motor is controlled to cancel the resistance force output. This step can adjust the resistance force in real time even after the vehicle loses physical braking assistance, preventing the vehicle from sliding again, and improving the safety of the vehicle.
[0075] If the vehicle is equipped with ABS and the voltage signal of the speed control knob is greater than zero, or if it is detected that the vehicle is moving backwards due to various reasons (such as pushing, collision, being pulled, reverse gear, etc.), the steep hill descent function will be triggered to be turned off and the motor will be controlled to cancel the resistance force output.
[0076] Embodiment 2:
[0077] Please refer to Figure 5 As shown, the present application provides a motor control method for a two-wheeled electric vehicle, which realizes the natural switch energy recovery function without the help of an electric vehicle APP, and does not add new vehicle buttons, saving button space and cost, and having a high user experience. The method specifically includes the following steps:
[0078] Step 1: Obtain vehicle body pitch angle information and wheel status information. The specific implementation method of this step is the same as that of the first embodiment, and will not be repeated here.
[0079] Step 2: When the vehicle is determined to be in a downhill forward state or a flat road forward state based on the vehicle body pitch angle information and the wheel state information, the energy recovery function is turned on when a brake signal is detected, and the energy recovery strength value is adjusted according to the brake signal and the speed control handlebar voltage signal, and the two-wheeled electric vehicle is controlled to recover energy according to the energy recovery strength value. The specific definitions of the brake signal and the speed control handlebar voltage signal can refer to the relevant content of Example 1.
[0080] In one embodiment, when a brake signal is detected first and the voltage signal of the speed throttle is detected to be greater than zero during the duration of the brake signal, the energy recovery strength value is adjusted according to the voltage signal of the speed throttle. When only a brake signal is detected but no speed throttle signal is detected, or when the speed throttle signal is detected first and then the brake signal, the energy recovery strength value is adjusted according to the brake signal.
[0081] Step 3: When it is determined based on the vehicle body pitch angle information and wheel status information that the vehicle is in a backward state or an uphill section, or when it is determined that the vehicle is in a downhill forward state, when it is detected that the voltage signal of the speed control handle is greater than zero and is not in the process of adjusting the energy recovery force value according to the voltage signal of the speed control handle, the energy recovery function is turned off. When the two-wheeled electric vehicle is in an uphill forward state, turning off the energy recovery function helps the two-wheeled electric vehicle climb the slope and safely pass the uphill section, and the user can cancel energy recovery by turning the speed control handle. In addition, when the two-wheeled electric vehicle retreats due to a collision, the user's active backward movement, being pulled backward, and driving in reverse gear, the control method of the present application will also turn off the energy recovery function for safety reasons.
[0082] The motor control method of the two-wheeled electric vehicle of the present application automatically turns on or off the energy recovery function during riding by detecting the pitch angle information of the vehicle body and the wheel status information, and adjusts the energy recovery strength value in real time according to the brake signal and the speed control handlebar signal. The convenience and flexibility of setting the energy recovery function switch are improved, the problem of free adjustment of the energy recovery strength value is solved, the reasonable recovery and utilization of energy is guaranteed, and the energy waste is effectively solved.
[0083] The method mentioned in step 2 to adjust the energy recovery strength value according to the brake signal and the speed control voltage signal is as follows Figure 3 As shown, specifically including:
[0084] (1) Calculate the energy recovery force value H based on the voltage signal value V of the speed control handle = V÷V max ×H max , where V max It is the maximum voltage value corresponding to the maximum rotation of the speed control knob. maxIt is the maximum value of the given energy recovery intensity. The value range of H is 0-Hmax. The larger the voltage value of the speed control handle, the greater the energy recovery intensity value.
[0085] (2) Based on the calculated H value, the motor is controlled to adjust the energy recovery force value in real time, and the energy recovery force value prompt information is displayed on the display screen of the two-wheeled electric vehicle, and / or the energy recovery force value prompt information is played through the voice module of the two-wheeled electric vehicle, and / or the energy recovery force value prompt information is indicated by the flashing lights of the two-wheeled electric vehicle, so as to feedback the current energy recovery situation to the user.
[0086] (3) If no brake signal or speed throttle voltage signal is detected within a certain period of time, the controller turns off the energy recovery strength value, and ends the process of adjusting the energy recovery strength value. If a brake signal is detected or the speed throttle voltage signal is detected to be greater than zero, the speed throttle voltage signal value V is continued to be read, that is, step 2-(1) is re-executed.
[0087] In this step, the original property of the speed control handle is changed through the triggering method of the signal combination, and the user can achieve stepless regulation of the energy recovery force value by turning the speed control handle.
[0088] The method mentioned in step 2 to adjust the energy recovery force value according to the brake signal is as follows Figure 6 As shown, the method combines the characteristics of vehicles with and without ABS, and performs a differentiated control design based on the braking state of the brake signal. The braking state of the brake signal can be specifically referred to the relevant content of Example 1. The method includes: if the vehicle is not equipped with ABS, adjusting the energy recovery force value according to the braking state of the brake signal; if the vehicle is equipped with ABS, adjusting the energy recovery force value according to the duration of the brake signal.
[0089] In one embodiment, the specific method for adjusting the energy recovery strength value according to the braking state of the brake signal includes: initializing the energy recovery strength value to the energy recovery strength value at the lowest gear. During the driving process of the two-wheeled electric vehicle, the braking state of the brake signal is continuously monitored: when the braking state of the brake signal is monitored to be intermittent braking, and the voltage signal of the speed control handle is not detected, as the number of intermittent braking detections increases, the gear of the energy recovery strength value is gradually increased until the highest gear is reached, and each time the energy recovery strength value is increased, the corresponding prompt is given through the instrument display introduced above, and / or voice playback, and / or light flashing to feedback the current energy recovery situation to the user. If the speed control handle voltage signal is detected, the energy recovery function is triggered to be turned off. When the energy recovery strength value of the highest gear has been reached, the energy recovery strength value regulation process is terminated, and energy recovery is performed at the energy recovery strength value at the highest gear until the energy recovery function is triggered to be turned off, otherwise it continues to monitor whether there is a new brake signal of intermittent braking. When intermittent braking is not detected for more than a certain period of time, the energy recovery strength value adjusted last time is maintained for energy recovery until the energy recovery function is triggered to be turned off.
[0090] In one embodiment, the specific method for adjusting the energy recovery force value according to the duration of the brake signal includes: timing the duration of the brake signal, calculating the energy recovery force value gear L according to the duration T of the brake signal H =[(TT thr ) / 0.8], T thr It is the energy recovery strength gear increase threshold, which can be customized according to the comfort requirements of the vehicle braking. In this embodiment, it is set to 1s, [·] represents the integer symbol, and is matched with the pre-filed position (for details, please refer to the relevant content of Example 1). If the match fails, the duration of the brake signal will continue to be counted. Therefore, the longer the duration T is, the greater the energy recovery strength value will be. If the match is successful, it will be adjusted to gear L H The corresponding energy recovery strength value is updated by continuously monitoring the duration of the brake signal. H, until the energy recovery intensity value of the highest gear is reached, and the match is successful once, the corresponding prompts are given through the instrument display introduced above, and / or voice playback, and / or light flashing, so as to feedback the current energy recovery situation to the user. When the energy recovery intensity value of the highest gear has been reached, the energy recovery intensity value regulation process is terminated, and energy recovery is performed at the energy recovery intensity value under the highest gear until the energy recovery function is triggered to be turned off, otherwise the duration of the brake signal continues to be counted. When no brake signal is detected, the current energy recovery intensity value is maintained, and the process of adjusting the energy recovery intensity value is ended. When it is detected that the speed control handle voltage signal is greater than zero, the energy recovery function is turned off, and the process of adjusting the energy recovery intensity value is ended. It is worth noting that when the energy recovery intensity value regulation process is ended, the timing needs to be reset.
[0091] In this step, it is considered that for models with ABS, continuous braking will not cause danger, while for models without ABS, continuous braking will cause the vehicle to slip easily and cause greater wear on the brake pads. The design of this application avoids continuous braking for models without ABS, guides users to perform intermittent braking, and uses the energy recovery function to convert the kinetic energy of the two-wheeled electric vehicle into electrical energy, assists in deceleration, and stores electrical energy.
[0092] The above is only a preferred embodiment of the present application, and the present invention is not limited to the above embodiments. It is understood that other improvements and changes directly derived or associated by those skilled in the art without departing from the spirit and concept of the present invention should be considered to be included in the protection scope of the present invention.
Claims
1. A motor control method for a two-wheeled electric vehicle, characterized in that: The method comprises: When it is determined based on the vehicle body pitch angle information and wheel status information that the vehicle is in a downhill forward state, the steep slope descent function is turned on when a brake signal is detected, and the resistance force is adjusted according to the brake signal and the voltage signal of the speed control handle, and the resistance force is the driving resistance obtained by controlling the motor to output the braking torque; When it is determined based on the vehicle pitch angle information and wheel status information that the vehicle is in a reverse state or on a non-downhill section, the steep slope descent function is turned off and the motor is controlled to cancel the resistance force output.
2. The motor control method of the two-wheeled electric vehicle according to claim 1, characterized in that: The method further comprises: When it is determined based on the vehicle body pitch angle information and the wheel state information that the vehicle is in a downhill forward state or a flat road forward state, the energy recovery function is turned on when a brake signal is detected, and the energy recovery strength value is adjusted according to the brake signal and the speed control handle voltage signal, and the two-wheeled electric vehicle is controlled to recover energy according to the energy recovery strength value; When it is determined based on the vehicle pitch angle information and wheel status information that the vehicle is in a backward state or on an uphill section, the energy recovery function is turned off.
3. The motor control method of the two-wheeled electric vehicle according to claim 2, characterized in that: The method of adjusting the resistance force / energy recovery force value according to the brake signal and the speed control handle voltage signal is the same, including: When the brake signal is detected first and the voltage signal of the speed regulating handlebar is detected to be greater than zero during the duration of the brake signal, the resistance force / energy recovery force value is adjusted according to the voltage signal of the speed regulating handlebar, otherwise the resistance force / energy recovery force value is adjusted according to the brake signal; When it is determined that the vehicle is in a downhill forward state, when it is detected that the speed throttle voltage signal is greater than zero and is not in the process of adjusting the resistance force according to the speed throttle voltage signal, the steep slope descent function is turned off and the motor is controlled to cancel the resistance force output / turn off the energy recovery function.
4. The motor control method of the two-wheeled electric vehicle according to claim 3, characterized in that: Adjusting the resistance force / energy recovery force value according to the speed control handle voltage signal includes: The resistance force R / energy recovery force value H is calculated based on the voltage signal value V of the speed control handle, so as to realize stepless regulation of the resistance force / energy recovery force value through the speed control handle; wherein R=V÷V max ×R max , H=V÷V max ×H max , V max is the maximum voltage corresponding to the maximum rotation of the speed control knob, R max is the maximum resistance force output by the motor, H max is the maximum value of the given energy recovery intensity; If the brake signal and the speed throttle voltage signal are not detected within a certain period of time, the control motor cancels the resistance force output / turns off the energy recovery function; if the brake signal is detected or the speed throttle voltage signal is detected to be greater than zero, the calculation of the resistance force R / energy recovery force value H based on the speed throttle voltage signal value V continues.
5. The motor control method of the two-wheeled electric vehicle according to claim 3, characterized in that: Adjusting the resistance force / energy recovery force value according to the brake signal includes: If the vehicle is not equipped with ABS, the resistance force / energy recovery force value is adjusted according to the braking state of the brake signal, and the braking state of the brake signal is intermittent braking or continuous braking; If the vehicle is equipped with ABS, the resistance force / energy recovery force value will be adjusted according to the duration of the brake signal.
6. The motor control method of the two-wheeled electric vehicle according to claim 5, characterized in that: The step of adjusting the resistance force / energy recovery force value according to the braking state of the brake signal includes: Initialize the resistance force / energy recovery force value to the resistance force / energy recovery force value at the lowest gear; When the braking state of the brake signal is detected to be intermittent braking, and the voltage signal of the speed control knob is not detected, as the number of intermittent braking detections increases, the gear of the resistance force / energy recovery force value is gradually increased until the highest gear is reached; Braking / energy recovery is performed at the resistance force / energy recovery force value at the highest gear until the steep slope descent function is triggered to be turned off and the motor is controlled to cancel the resistance force output / turn off the energy recovery function; Among them, the higher the gear level, the greater the resistance / energy recovery value.
7. The motor control method of the two-wheeled electric vehicle according to claim 5, characterized in that: The step of adjusting the resistance force / energy recovery force value according to the duration of the braking signal includes: Calculate the resistance gear L according to the duration T of the brake signal R / Energy recovery level L H , and match it with the pre-archive location; If the matching fails, the duration T of the brake signal is re-acquired; If the match is successful, adjust to gear position L R / L H The corresponding resistance force / energy recovery force value, until the highest resistance force / energy recovery force value is reached; Braking / energy recovery is performed at the resistance force / energy recovery force value at the highest gear until the steep slope descent function is triggered to be turned off and the motor is controlled to cancel the resistance force output / turn off the energy recovery function; Among them, the higher the gear level, the greater the resistance / energy recovery value.
8. The motor control method of the two-wheeled electric vehicle according to claim 7, characterized in that: The resistance gear L is calculated according to the duration T of the brake signal R / Energy recovery level L H ,include: L R =T / 1 second; L H =[(TT thr ) / 0.8], T thr is the energy recovery intensity level increase threshold, [·] indicates the rounding symbol.
9. The motor control method of the two-wheeled electric vehicle according to claim 5, characterized in that: The method further comprises, if the vehicle is equipped with ABS, when the brake signal is not detected: If the vehicle has triggered the hill parking function and has not reached the maximum resistance force, the resistance force will be linearly increased until the sliding speed is zero, and braking will be performed with the current resistance force until the steep slope descent function is triggered to be turned off and the motor is controlled to cancel the resistance force output; If the vehicle has triggered the hill parking function and reached the maximum resistance force, braking will be performed with the maximum resistance force until the steep slope descent function is triggered to be turned off and the motor is controlled to cancel the resistance force output; If the vehicle does not trigger the hill parking function, braking is performed with the current resistance force until the steep slope descent function is triggered to be turned off and the motor is controlled to cancel the resistance force output.
10. The motor control method of a two-wheeled electric vehicle according to any one of claims 1 to 9, characterized in that: The method further comprises: The resistance / energy recovery effect prompt information is displayed on a display screen of the two-wheeled electric vehicle, and / or the resistance / energy recovery effect prompt information is played by a voice module of the two-wheeled electric vehicle, and / or the resistance / energy recovery effect prompt information is indicated by flashing lights of the two-wheeled electric vehicle; The resistance prompt information refers to the current resistance size, and the energy recovery effect prompt information indicates the current energy recovery situation.
Citation Information
Patent Citations
Control method and device for slow descent of abrupt slope, computer equipment and storage medium
CN116767203A
Vehicle control system and vehicle
CN118269923A
Continuously variable direct electric drive for e.g. bicycle, has motor of specific watts power to vary vehicle speed, and control and regulation unit to supply energy to motor based on pedaling force, terrain profile and vehicle weight
DE202006010679U1
Motor control device and power-assisted vehicle
JP2019142460A
Cited By
Hill descent control method
TWI941054B
