The present disclosure relates to the field of controlling rental equipment, for example, to a method and device for controlling a motorcycle and a motorcycle.
In the field of leasing of shared bicycles, various types of shared bicycles are becoming more and more common and have become an important part of urban transportation. Among them, the popularity of motorcycles, such as electric bicycles, has brought great convenience to users' riding.
At present, electric power assisted vehicles are generally equipped with control equipment, including torque sensors, motors and motor controllers. The control method is that the controller obtains torque data measured from the wheel or axle through the torque sensor, and then controls the power output of the motor according to the torque data to achieve a labor-saving riding effect and achieve a good user riding experience.
However, the control of the motor based on the torque data measured by the torque sensor makes the vehicle's speed control singular and brings certain safety risks.
The embodiments of the present disclosure provide a method and device for controlling a motorcycle and a motorcycle, which can flexibly control the running of the motorcycle according to environmental parameters, thereby improving the safety of the user when traveling.
A method for controlling a motorcycle, comprises obtaining current environment parameters where the motorcycle is currently located and controlling a power output of the motorcycle according to the environment parameters.
A control device for a motorcycle, comprises an environment parameter acquisition module that is configured to acquire an environment parameter where the motorcycle is currently located, and a power output controlling module that is configured to control the power output of the motorcycle according to the environment parameter.
A motorcycle comprises a memory, a controller and a motor, wherein the memory is configured to store one or more programs, the controller is configured to execute programs to implement the method for controlling the motorcycle, and the motor is configured to provide assistance for the motorcycle under the control of the controller.
An embodiment of the present disclosure further provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured to execute the method for controlling a motorcycle.
The method and device for controlling a motorcycle and the motorcycle provided by the embodiments of the present disclosure can flexibly control the power output of the motorcycle according to the obtained environmental parameter of the motorcycle. That is, the motorcycle can be integrated with the user needs and external conditions during the course of the riding. Real-time and flexible control of the power output of the motorcycle is achieved, thus solving the problem that the motorcycle can only control the power output of the motorcycle by using a power assistance parameter, such as torque data measured by the torque sensor on the motorcycle, and improving the safety of user during the course of riding.
In S110, the environment parameters where the motorcycle is currently located are obtained.
In one embodiment, the environment parameter may refer to the weather, geographic location, and the like of the motorcycle location. For example, the environment parameter may be at least one of local wind speed, rainfall, snowfall, haze, sandstorm, time, and geography. In an embodiment, the time environment parameter may refer to the evening; the geographical environment parameter may be uphill, downhill, and the like.
The motorcycle can be provided with communication units, such as the Global System for Mobile Communication (GSM) communication module, the Subscriber Identification Module (SIM) card, and the General Packet Radio Service (GPRS), Bluetooth or Wireless Fidelity (Wireless Fidelity, WIFI), etc. The communication units can be used to communicate with a remote server in real time to obtain the current environment parameter of the motorcycle. The communication units are also based on Bluetooth, WIFI, and other short-range wireless communications to establish communication with the user's mobile terminal connection to obtain the current environment parameters of the motorcycle.
In an embodiment according to the present disclosure, obtaining the current environment parameter of the motorcycle may include receiving the current environment parameter of the current motorcycle location sent by the cloud server which is as the current environment parameter of the motorcycle, or by setting a smart card on the terminal of the motorcycle to obtain the current environment parameter of the motorcycle. Some specific sensors may also be equipped with the bicycle, such as wind speed sensors, acceleration sensors, and angle sensors to obtain the environment parameter of the bicycle's location.
In an embodiment according to the present disclosure, the cloud server can be regarded as a cloud data management system, a cloud data processing system, and a cloud data control system. The cloud server establishes wireless communication with a number of motorcycles, and obtains the geographical locations of the motorcycles and the environment corresponding to the geographical locations in real time. The smart card is used for local query based on wireless communication to obtain the current environment parameter of the motorcycle. For example, the smart card may be a SIM card.
In one embodiment according to the present disclosure, the motorcycle establishes a communication connection with the cloud server through long-distance communication such as GPRS. The cloud server sends the environment parameter to the motorcycle after querying and obtaining the environment parameter according to the current location of the motorcycle. Motorcycles communicate with the environment parameter server, based on the universal mobile communication network such as 3G or 4Q through the SIM card set on the motorcycle to query the remote service server to obtain the current environment parameter of the motorcycle.
S120. Control the power output of the motorcycle according to the environment parameter.
In an embodiment according to the present disclosure, the power output may be used to provide assistance for a motorcycle, for example, it may be output by a motor on the motorcycle. The motorcycle can also have a controller for controlling the operation of the motor. In one embodiment according to the present disclosure, the power output of the motorcycle is adaptively adjusted according to a certain rule in response to the change of the environment parameter.
An embodiment of the present disclosure provides a method for controlling a motorcycle by flexibly controlling the power output on the motorcycle according to the obtained current environment parameter of the motorcycle, such as the power output of a motor. The solution provided by the present disclosure enables the motorcycle to travel based on comprehensive user needs and external conditions, with real-time and flexible control of the power output of the motor. The solution avoids the problem when the motorcycle is in a certain external environment by using an assist parameter, such as torque data measured by the torque sensor on the motorcycle, to control the motor, thus improving the safety of the user's travel.
In S210, obtain the environment parameter where the motorcycle is currently located.
In one embodiment according to the present disclosure, the environment parameter may refer to, for example, the weather at the location of the motorcycle and/or the geographic location of the motorcycle. For example, the environment parameter may be at least one of local wind speed, rainfall, snowfall, haze, sandstorm, time, and geography. In an embodiment according to the present disclosure, the time environment parameter may refer to the evening; the geographical environment parameter may be uphill, downhill, and the like.
In S220, obtain the assist parameter of the motorcycle during the course of riding.
In one embodiment according to the present disclosure, the assist parameter may refer to a parameter used to provide power for a motorcycle, and may be at least one of a torque parameter, a cadence parameter, a speed parameter, and an acceleration. A torque sensor is provided on the motorcycle, which can be used to obtain the torque parameter in real time according to the user's pedaling force during the operation of the motorcycle. A speed sensor is also provided on the motorcycle to measure the speed of the motorcycle in real time. The pressure sensor obtains cadence parameter and the like.
It should be noted that step S210 may be performed before or after step S220. The two steps may also be performed at the same time.
In S230, control the power output of the motorcycle according to the environment parameter and the assist parameter.
In an embodiment according to the present disclosure, the power output may be used to provide assistance for a motorcycle. For example, the power output may be output by a motor on the motorcycle. The motorcycle can also have a controller for controlling the operation of the motor.
In the method for controlling a motorcycle in the related art, the controller controls the operation of the motor according to the assist parameter only. For example, on rainy days or in the evening, when the user's pedaling force is large, the assist parameter obtained is also larger, resulting in a higher riding speed of the user, which brings certain safety risks.
To improve the safety of the user's travel, the solution provided by the embodiment of the present disclosure comprehensively considers external environment factors and assisting parameter to control the motor of the motorcycle. In an embodiment, controlling the power output of the motorcycle according to the environment parameter and the assist parameter may be reducing the power output of the motorcycle according to the environment parameter and the assist parameter.
In one embodiment according to the present disclosure, when the user is riding a motorcycle on a rainy day, because the road surface is slippery and there is water on the rainy day, the power output, corresponding to the original assist parameter, can be reduced by a certain proportion according to the amount of water on the road, such that motor output power is reduced, to achieve safe travel.
In addition, when the environment parameter is uphill in geography, to ensure safe travel, the power output of the motorcycle can be increased.
An embodiment of the present disclosure provides a method for controlling a motorcycle, which can flexibly control the power output, such as motor power output, on the motorcycle by using the obtained environment parameter of the motorcycle and the assist parameter of the motorcycle during operation. When the motorcycle is in a certain external environment, the limitation of controlling the motor by using only the assisting parameter is solved, and the safety of the user's travel is improved.
In an embodiment according to the present disclosure, reducing the power output of the motorcycle according to the environment parameter and the assisting parameter may include at least one of the following situations, which can achieve flexible control of the motorcycle according to the environmental parameter and the assisting parameter under different environment parameter. The purpose of safe travel is achieved.
1) If the direction of the local wind speed as the environment parameter is the same as that of the motorcycle, the power output of the motorcycle can be reduced according to the first preset rule and the torque parameter as the assist parameter.
In an embodiment according to the present disclosure, the first preset rule refers to how to adjust the output power of the power on the motorcycle according to the wind speed and torque parameter. That is, the first preset rule may be to determine the power output of the motorcycle according to the wind speed and the torque parameter. For example, if the torque parameter is the user's pedaling force torque collected by the torque sensor, and the power output is the motor output power on the motorcycle, the first preset rule may be a preset comparison table. such as when the wind speed is greater than level 3 and less than or equal to level 4, the output power of the motor is reduced by 20%. That is, the output power of the motor can be reduced by 20% based on the value calculated based on the user's pedaling torque. When the wind speed is greater than level 5, the output of the motor is reduced by 50%. That is, the output power of the motor can be reduced by 50% based on the value calculated based on the user's pedaling force torque, etc.
The data of the torque parameter, the magnitude of the wind speed, and the output power of the motor provided by the embodiments of the present disclosure are merely examples, and the embodiments of the present disclosure do not limit the content of the torque parameter, the wind speed, and the output power of the motor in the first preset rule.
(2) When the motorcycle is under the condition of rain or snow, the power output of the motorcycle is reduced according to the second preset rule and the torque parameter as a boost parameter based on the rainfall or snowfall in the environment parameter.
In an embodiment of the present disclosure, the second preset rule refers to how to adjust the output power of the motor on the motorcycle according to the rainfall or snowfall amount and the torque parameter. That is, the second preset rule may be based on the rainfall amount, snowfall amount, and the torque parameter to determine the power output of the motorcycle. In an embodiment, the power output is the output power of the motor on the motorcycle. The rainfall amount may be divided into light rain, moderate rain, heavy rain, etc. The second preset rule may be a preset comparison table. For example, when the rainfall is less than 5 mm, the output power of the motor may remain unchanged. That is, the output power of the motor may be calculated based on the torque parameter. When the rainfall is greater than 5 mm and less than 15 mm, the output power of the motor may be reduced by 10%. That is, the output power may be reduced by 10% based on the value calculated based on the torque parameter. When the rainfall is greater than 15 mm and less than 25 mm, the output power of the motor may be reduced by 20%. That is, the output power of the motor may be reduced by 20% based on the value calculated based on the torque parameter. When the rainfall is greater than 25 mm and less than 50 mm, the output power of the motor may be reduced by 50%. That is, the output power of the motor may be reduced by 50% based on the value calculated based on the torque parameter.
In another embodiment according to the present disclosure, the amount of snowfall may be divided into light snow, medium snow, heavy snow, etc. When the snowfall is less than 1mm (light snow), the output power of the motor may be maintained unchanged or reduced to 10%. That is, the output of the motor may be a value calculated based on the torque parameter, or it may be reduced by 10% based on the value calculated based on the torque parameter. When the snowfall is greater than 1 mm and less than 3 mm (medium snow), the output power of the motor may be reduced by 20%. That is, the output power of the motor may be reduced by 20% based on the value calculated based on the torque parameter. When the snowfall is greater than 5 mm (heavy snow), the output power of the motor may be reduced by 50%. That is, the output power of the motor may be reduced by 50% based on the value calculated based on the torque parameter.
The data of the amount of rainfall (or snowfall), the torque parameter, and the output power of the motor provided by the embodiments of the present disclosure are merely examples. The embodiments of the present disclosure are not limited to the torque parameter, rainfall, or snowfall in the second preset rule when the motor output power is limited.
(3) When the motorcycle is in a haze condition, the power output of the motorcycle is reduced according to the third preset rule and the torque parameter as a boost parameter based on the haze concentration in the environment parameter.
In an embodiment of the present disclosure, the haze concentration may be represented by PM2.5 (Particulate Matter, PM). For example, the haze may be divided into three levels: medium haze, severe haze, and much severe haze. In one embodiment, the power output is the output power of the motor on the motorcycle. The third preset rule may be used to adjust the output power of the motor on the motorcycle according to the haze concentration and torque parameter. That is, the power output of a motorcycle may be determined based on the haze concentration and torque parameter according to the third preset rule. For example, when the haze concentration is greater than 115 ug/m3 and less than 150 ug/m3 (moderate haze), the output power of the motor may be reduced by 10%. That is, the output power of the motor may be reduced 10% based on the value calculated based on the torque parameter. When the haze concentration is greater than 150 ug/m3 and less than 250 ug/m3 (severe haze), the output power of the motor may be reduced by 20%. That is, the output power of the motor may be reduced 20% based on the value calculated based on the torque parameter. When the haze concentration is greater than 250 ug/m3 (very severe haze), the output power of the motor may be reduced by 50% to 80%. That is, the output power of the motor may be reduced by 50% to 80% based on the value calculated based on the torque parameter.
The torque parameter, the amount of haze concentration, and the output power of the motor provided by the embodiments of the present disclosure are just an example, and the embodiment is not limited the content of the torque parameter, the haze concentration, and the output power of the motor in the third preset rule.
(4) When the motorcycle is in a preset period of time, the power output of the motorcycle is reduced according to the fourth preset rule and the torque parameter as a boost parameter.
In an embodiment of the present disclosure, the preset time period may refer to the evening, which is related to the season, and may be determined according to local conditions. For example, in the summer, the preset time period is from 8 PM to 5 AM the next day; in winter, 6 PM to 7 AM the next day. In an embodiment, the power output power may be the output power of the motor on the motorcycle, and the fourth preset rule may refer to how to adjust the output power of the motor on the motorcycle according to a preset time period and torque parameter. That is, the fourth preset rule may be used to determine the power output according to the season, the preset time period, and the torque parameter. The fourth preset rule may also be a preset comparison table. For example, in summer, when a user rides a motorcycle between 8 PM and 10 PM, the output power of the motor may be reduced by 20%. That is, the output power of the motor may be reduced by 20% based on the value calculated based on the torque parameter. The specific reduction ratio may be determined according to actual conditions, and is not limited to the examples provided herein.
The data of the season, the preset time period, and the output power of the motor provided in this embodiment are only an example. This embodiment does not limit the content of the torque parameter, the season, the preset time period, and the output power of the motor in the fourth preset rule.
In addition to the situations discussed above, it may also include the following.
When the motorcycle is in a dust storm situation, the power output of the motorcycle is reduced according to the fifth preset rule and the torque parameter as a boost parameter according to the concentration of the sand storm in the environment parameter.
In an embodiment of the present disclosure, the concentration of the dust storm may be the concentration of dust particulate matter. For example, the dust storm may be classified into a weak sand storm, a medium-intensity sand storm, and a strong sand storm. Exemplarily, the power output power may be the output power of the motor on the motorcycle, and the fifth preset rule may refer to how to adjust the output power of the motor on the motorcycle according to the concentration and torque parameter of the sand storm. That is, the power output is determined according to the dust storm concentration and torque parameter and the fifth preset rule. In one embodiment, the concentration of the sandstorm may correspond to the visibility, and the greater the concentration, the lower the visibility. For example, when the visibility is greater than 500m and less than 1000m (weak sandstorm), the output power of the motor may be reduced by 10%. That is, the output power of the motor may be reduced by 10% based on the value calculated based on the torque parameter. When the visibility is greater than 200m and less than 500m (medium intensity dust storm), the output power of the motor may be reduced by 20%. That is, the output power of the motor may be reduced by 20% based on the value calculated based on the torque parameter. When the visibility is less than 200m (strong sand storm), the output power of the motor may be reduced by 50% to 80%. That is, the output power of the motor may be reduced by 50% to 80% based on the value calculated based on the torque parameter, and so on.
The data of the torque parameter, the concentration of the sandstorm, and the output power of the motor provided in this embodiment of the present disclosure are merely examples, and the content of the torque parameter, the concentration of sandstorm, and the output power of the motor in the fifth preset rule are not limited to this embodiment.
(6) When the motorcycle is on a downhill condition, the power output of the motorcycle is reduced according to the sixth preset rule and the torque parameter as a boost parameter.
In an embodiment according to the present disclosure, the power output power may be the output power of the motor on the motorcycle. The sixth preset rule refers to how to adjust the output power of the motor on the motorcycle according to the steepness of the slope and the torque parameter. That is, the sixth preset rule may determine the power output according to the steepness of the downhill slope and the torque parameter. In an embodiment, the sixth preset rule may be a preset comparison table. For example, when the slope is less than 10, the output power of the motor will be reduced by 10%. That is, the output power of the motor may be reduced by 10% based on the value calculated based on the torque parameter. When the slope is greater than 10 and less than 30, the output power of the motor may be reduced by 20%. That is, the output power of the motor may be reduced by 20% based on the value calculated based on the torque parameter. When the slope is greater than 30 and less than 60, the output power of the motor may be reduced by 50%. That is, the output power of the motor can be reduced by 50% based on the value calculated based on the torque parameter. When the slope is greater than 60, the output power of the motor may be reduced by 80%. That is, the output power of the motor may be reduced by 80% based on the value calculated based on the torque parameter, and so on.
The data of the torque parameter, downhill gradient, and motor output power provided in this embodiment of the present disclosure is only an example, and this embodiment does not limit the content of the torque parameter, downhill gradient, and motor output power in the sixth preset rule.
When the motorcycle is uphill, the power output of the motorcycle is increased according to the seventh preset rule and the torque parameter as a boost parameter.
In an embodiment according to the present disclosure, the power output may be the output power of the motor on the motorcycle. The seventh preset rule is similar to the sixth preset rule, and it also refers to how to adjust the output of the motor on the motorcycle according to the steepness of the slope and the torque parameter. That is, the seventh preset rule may determine the power output according to the steepness of the uphill and the torque parameter. For example, when the slope is less than 10, the output power of the motor may increase by 10%. That is, the output power of the motor may be reduced by 10% based on the value calculated based on the torque parameter. When the slope is greater than 10 and less than 30, the output power of the motor may increase by 20%. That is, the output power of the motor may be reduced by 20% based on the value calculated based on the torque parameter. When the slope is greater than 30 and less than 60, the output of the motor may increase by 50%. That is, the output power of the motor may be reduced by 50% on the basis of the value calculated based on the torque parameter. When the slope is greater than 60, the output of the motor may increase by 80%. That is, the output power of the motor may be reduced by 80% on the basis of the value calculated based on the torque parameter.
The data of the torque parameter, the uphill slope, and the output power of the motor provided in this embodiment of the present disclosure is only an example, and the content of the torque parameter, the uphill slope, and the motor output power in the seventh preset rule is not limited in the embodiment of the present disclosure.
When the server detects that the motorcycle is riding to a high traffic accident area or kindergarten, it will also send information to the motorcycle, and the controller of the motorcycle controls the motor to adjust the power output power accordingly.
The environmental parameter obtaining module 310 is configured to obtain the current environment parameter of the motorcycle;
The power output controlling module 320 is configured to control the power output of the motorcycle according to the environment parameter.
Optionally, the above device may further include the following.
The assisting parameter obtaining module 330 is configured to obtain the assisting parameter of the motorcycle during operation.
The power output controlling module 320 is further configured to control the power output of the motorcycle according to the environment parameter and the assist parameter.
According to an embodiment of the present disclosure, a control device for a motorcycle is configured to flexibly control the power output of the motorcycle, especially the power output of the motor, according to the obtained environment parameter of the motorcycle and the assist parameter of the motorcycle during operation. That is, it can enable the motorcycle to integrate the user's needs and external conditions during the travel process, and control the power output of the motor flexibly in real time. When the motorcycle is in a certain external environment, it avoids the limitation that the control of the motor is realized only through the assistance parameter, such as the torque data measured by the torque sensor on the motorcycle. Thus, the safety of the user's travel is improved.
Optionally, the environment parameter acquisition module 310 may be specifically configured as follows.
The current environment parameter of the current location of the motorcycle from the cloud server is as the current environment parameter of the motorcycle, or the current environment parameter of the motorcycle obtained through the smart card set on the terminal of the motorcycle is the current environment parameter of the motorcycle.
Optionally, the environment parameter may include at least one of local wind speed, rainfall, snowfall, haze, sandstorm, time, and geography. The assisting parameter includes at least one of torque parameter, cadence parameter, and speed parameter.
Optionally, the power output controlling module 320 may be specifically configured to reduce the power output of the motorcycle according to the environment parameter and the assist parameter.
Optionally, the power output controlling module 320 may be specifically set to at least one of the following situations.
If the direction of the local wind speed as the environment parameter is the same as the direction of the motorcycle, the power output of the motorcycle is reduced according to the first preset rule and the torque parameter as the assist parameter, wherein the first preset rule determines the power output according to the wind speed and the torque parameter.
When the motorcycle is in the condition of rainfall or snowfall, the power output of the motorcycle is reduced according to the second preset rule and the torque parameter as a boost parameter according to the rainfall or snowfall in the environment parameter, wherein the second preset rule determines the power output according to the rainfall or snowfall amount and the torque parameter.
When the motorcycle is in a haze condition, the power output of the motorcycle is reduced according to the third preset rule and the torque parameter as a boost parameter according to the haze concentration in the environment parameter, wherein the third preset rule determines the power output according to the haze concentration and the torque parameter.
When the motorcycle is in a preset period of time, the power output of the motorcycle is reduced according to a fourth preset rule and a torque parameter as a boosting parameter, wherein the power output is determined according to the fourth preset rule, the season, the preset time period, and the torque parameter.
The memory 40 is a computer-readable storage medium and may be used to store software programs, computer-executable programs, and modules, such as modules corresponding to a control method of an electric moped in the embodiment of the present disclosure (for example, the environmental parameter acquisition module 310 and power output controlling module 320, which are used to control device). The controller 41 executes various functional applications and data processing of the device by running software programs, instructions, and modules stored in the memory 40. That is, implementing the above-mentioned control method of the electric moped.
The memory 40 may include a storage program area and a storage data area, wherein the storage program area may store an operating system and application programs required for at least one function, the storage data area may store data created according to the use of the terminal, and the like. In addition, the memory 40 may include a high-speed random access memory, and may further include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some examples, the memory 40 may further include memories remotely set with respect to the controller 41, and these remote memories may be connected to the device through a network. Examples of the above network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
The motor 42 may be used to provide assistance for a motorcycle under the control of the controller 41.
This embodiment of the present disclosure provides a motorcycle which, by flexibly controlling the power output on the motorcycle according to the obtained environment parameter of the motorcycle, enables the motorcycle to integrate user needs and external conditions in real time, Flexible control of motor power output solves the limitation of motor control only by the assisting parameter, such as torque data measured by torque sensors on the motorcycle, when the motorcycle is in a certain external environment, thus improving the user's safety.
The embodiment also provides a storage medium containing computer-executable instructions. When the computer-executable instructions are executed by a computer processor, the computer-executable instructions are configured to execute a method for controlling a motorcycle. The method includes the following.
Obtaining the current environment parameter of the motorcycle.
Controlling the power output of the motorcycle according to the environment parameter.
Optionally, when the computer-executable instructions are executed by a computer processor, the computer-executable instructions may be configured to execute a technical solution of a method for controlling a motorcycle provided by any embodiment of the present disclosure.
The method for controlling a motorcycle according to the embodiments of the present disclosure, flexibly controls the power output on the motorcycle according to the obtained environment parameter of the motorcycle. That is, the motorcycle integrates the user's needs and external conditions during the travel. Real-time and flexible control of the power output of the motor improves the travel safety of the user.
Although the invention is described herein with reference to the preferred embodiment, one skilled in the art will readily appreciate that other applications may be substituted for those set forth herein without departing from the spirit and scope of the present invention. Accordingly, the invention should only be limited by the Claims included below.
This application is a continuation of PCT application no. PCT/CN2018/074578, filed Jan. 30, 2018, which application is incorporated herein in its entirety by this reference thereto.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2018/074578 | Jan 2018 | US |
Child | 16940786 | US |