[summary of the invention]
The object of the invention is to overcome defects, provide a kind of need not to realize the more power-assisted control method of electric bicycle of stable and consistent of Electrical Bicycle Power assisted control and control effect by setting up assistant sensor.
The object of the present invention is achieved like this: a kind of power-assisted control method of electric bicycle, it comprises step
A), the initialization setting, set assistant mode output power of motor current value, set power-assisted and start speed per hour Mm, set power-assisted drive cycle time P1 and power-assisted resting period time P2;
Set the dynamic pulse duration frequency of the corresponding Hall element of electrical motor with reference to parameter M ', corresponding setting power-assisted starts speed per hour Mm and becomes the multiple of M ' * m to concern with the dynamic pulse duration frequency of Hall element with reference to parameter M ';
Described power-assisted drive cycle time P1 and power-assisted resting period time P2 are 1-10 second;
Described power-assisted drive cycle time P1 is less than power-assisted resting period time P2.
Described power-assisted drive cycle time P1 is less than power-assisted resting period time P2, and P1 becomes the multiple relation with the P2 value;
B), whether speed-regulating handle bar set speed per hour, if then by the power stage current drives electrical motor of setting speed per hour, otherwise continues step.
C), whether arrive power-assisted and start speed per hour, obtain instantly dynamic pulse duration frequency parameter M of Hall element, dynamic pulse duration frequency parameter M is moved speed per hour Mn with the sampling elapsed time instantly through can be calculated, more instantly the power-assisted of moving speed per hour Mn and setting starts speed per hour Mm, until Mn 〉=Mm continues step;
D), detect brake lever and whether operate, in case brake lever operation control then stops the power supply of described electrical motor is driven, whether the detection of returning step C arrives power-assisted starts speed per hour, then continues if not;
E), power-assisted starts, to the driving signal of electrical motor output power-assisted drive cycle time P1;
F), power-assisted intermittently, stop motor drive signal output power-assisted resting period time P2, get back to step C after finishing.
Another kind of power-assisted control method of electric bicycle, it comprises step
A), the initialization setting, set assistant mode output power of motor current value, set power-assisted and start speed per hour Mm, set power-assisted drive cycle time P1 and power-assisted resting period time P2;
Set the dynamic pulse duration frequency of the corresponding Hall element of electrical motor with reference to parameter M ', corresponding setting power-assisted starts speed per hour Mm and becomes the multiple of M ' * m to concern with the dynamic pulse duration frequency of Hall element with reference to parameter M ';
Described power-assisted drive cycle time P1 and power-assisted resting period time P2 are 1-10 second;
Described power-assisted drive cycle time P1 is less than power-assisted resting period time P2.
Described power-assisted drive cycle time P1 is less than power-assisted resting period time P2, and P1 becomes the multiple relation with the P2 value;
B), detect to start assistant mode and whether start, when assistant mode starts, skip to step e, otherwise carry out following step;
C), whether speed-regulating handle bar set speed per hour, detects speed-regulating handle bar and whether do not set speed per hour when starting assistant mode, if without then returning previous step, have then and continue;
D), driving motor, according to the speed per hour of setting on the speed-regulating handle bar, to moment power direct drive motor running corresponding to electrical motor output.
E), whether arrive power-assisted and start speed per hour, obtain instantly dynamic pulse duration frequency parameter M of Hall element, dynamic pulse duration frequency parameter M is moved speed per hour Mn with the sampling elapsed time instantly through can be calculated, more instantly the power-assisted of moving speed per hour Mn and setting starts speed per hour Mm, until Mn 〉=Mm continues step;
F), detect brake lever and whether operate, in case brake lever operation control then stops the power supply of described electrical motor is driven, whether the detection of returning step e arrives power-assisted starts speed per hour, then continues if not;
G), detect speed-regulating handle bar and whether operate, if then by the power-assisted power stage current drives electrical motor of setting, otherwise continue step.
H), power-assisted starts, to the driving signal of electrical motor output power-assisted drive cycle time P1;
I), power-assisted intermittently, stop motor drive signal output power-assisted resting period time P2, get back to step e after finishing.
Thereby beneficial effect of the present invention has been to provide a kind of operation conditions that obtains Electrical Bicycle by the dynamic pulse duration frequency parameter M that detects in the Hall element in original electrical salf-walking tramcar motor to carry out Power assisted control, Effective Raise use convenience that this method control system installs and uses and low fault, low cost.Start speed per hour Mm by having set power-assisted in the control in addition, avoided when the speed that Electrical Bicycle is ridden does not reach certain speed, power-assisted is hard-drive still, the generation of the waste of energy of the increase of output power, battery loss and driving phenomenon, more energy-conservation, and power-assisted drive cycle time P1 and power-assisted resting period time P2 and set boosting motor horsepower output current value type of drive corresponding especially people's standard moment of normally riding, further strengthened energy-saving effect so that the Electrical Bicycle that uses this method control when riding more steadily without the pause and transition in rhythm or melody sense.Further, the present invention also provides respectively corresponding power assist control method for manually reaching the autoamtic boosting Electrical Bicycle, can conveniently be applicable to use on all kinds of existing assisted electric bicycles.
[specific embodiment]
Known ordinary Electrical Bicycle, the electric assisted bicycle of manpower double startup formula particularly, its control system all includes storage battery, electric machine controller, assistant sensor, DC motor (being provided with Hall element in the motor), brake lever and speed-regulating handle bar usually, the electric assisted bicycle of manual assistant mode of having part ownership also is provided with the power-assisted start key, thereby realizes intelligentized core control by unified above-mentioned each parts of electric machine controller.
The maximum difference of the control of control method of the present invention and original Electrical Bicycle is to have cancelled these parts of assistant sensor, and realizes the purpose of simulation power-assisted by the control method that electric machine controller is set.
As shown in Figure 1, the present invention relates to a kind of power-assisted control method of electric bicycle, it comprises step
A), initialization setting
Set assistant mode output power of motor current value, this value is determined according to the standard moment that the people normally rides, the standard moment that the people normally rides transfers running velocity to all about 10 kilometers/hour, the motor output power square of setting assistant mode should be corresponding with the moment under this speed, the correspondence of moment and assist torque thereby realization is ridden, increase the steady row that Electrical Bicycle is ridden, the Electrical Bicycle that has overcome original external assistant sensor all only can be with the power stage of maximum when power-assisted, horsepower output is not corresponding with the speed of riding (moment), thereby gives the sensation sense of insecurity problem of this generation to layback of riding when power-assisted starts.
Set the dynamic pulse duration frequency of the corresponding Hall element of electrical motor with reference to parameter M ', this obtains by real-time detection usually with reference to parameter M ', when manpower is ridden battery-driven car to the dynamic pulse duration frequency M ' parameter sampling of electrical motor Hall element output, the pulsewidth analog to digital conversion circuit is started working, and the rotating speed of motor draws the dynamic pulse duration frequency parameter M ' that answers Hall element that system is used for reference under the bicycle thereby sample mode is stepped on usually according to the people.
Set power-assisted and start speed per hour Mm, this Mm becomes the multiple of M ' * m to concern with the dynamic pulse duration frequency of Hall element with reference to parameter M ', the wheel diameter that again Mn is multiplied by common power-assisted electric vehicle can draw its operation speed per hour, common the determined operation speed per hour of Mm value is set in about actual vehicle speed about 10 kilometers/hour or 7 kilometers/hour (analogue value).Start speed per hour Mm by setting this power-assisted, can realize the energy-conserving action in the Electrical Bicycle operational process, avoided when the speed that Electrical Bicycle is ridden does not reach certain speed, power-assisted is hard-drive still, the generation of phenomenon under the waste of energy of the increase of output power and the driving.
Set the cycle of run P of one group of direct motor drive, P=P1+P2, wherein P1 is the power-assisted drive cycle time, and P2 is time power-assisted resting period.Can directly adopt the time when definition P1, P2, namely be set as some seconds and also can turn time corresponding to the required number of turns according to the actual electric bicycle wheel that records and determine this duration, the time value of common P1, P2 is at 1-10 between second, and the duration of P1 should be less than the P2 duration, and best P1 duration becomes the multiple relation with the P2 duration.
B), whether arrive power-assisted and start speed per hour
Dynamically pulse duration frequency parameter M and sampling elapsed time t process can be calculated the speed per hour Mn of wheel during sampling elapsed time t instantly to obtain Hall element, instantly the power-assisted of moving speed per hour Mn and setting is started speed per hour Mm to be compared, then continue until instantly move the power-assisted startup speed per hour Mm of speed per hour Mn 〉=setting, open assistant mode.
C), power-assisted starts
To the driving signal of electrical motor output power-assisted drive cycle time P1, the direct motor drive dynamic pulse signal level of output P1 time.
D), power-assisted intermittently
Stop motor drive signal output power-assisted resting period time P2, intermittently close output motor and drive the dynamic pulse signal level P2 time, get back to step B after finishing.
Thus through the process that judges whether power-assisted startup, power-assisted drive cycle time P1, resistance resting period time P2 of step B-D ceaselessly, cooperate moment output and the intermittence of people in riding, and when Electrical Bicycle uses in case when riding moment, speed is from after changing slowly, in case system's power-assisted also stops automatically when satisfying Mn<Mm, be to ride not to power, do not give equally the function of power-assisted, thereby simulation has realized original same control effect that is provided with the assisted electric bicycle Power assisted control of external assistant sensor.
Specific embodiment 1
Present embodiment is for a kind of Electrical Bicycle of full automaticity power-assisted, correspondingly in the control method added the judgement that whether operates for Electrical Bicycle brake lever and speed-regulating handle bar, and it comprises step:
A), initialization setting
Set assistant mode output power of motor current value, this value is determined according to the standard moment that the people normally rides, the standard moment that the people normally rides transfers running velocity to all about 10 kilometers/hour, the motor output power square of setting assistant mode should be corresponding with the moment under this speed, the correspondence of moment and assist torque thereby realization is ridden, increase the steady row that Electrical Bicycle is ridden, the Electrical Bicycle that has overcome original external assistant sensor all only can be with the power stage of maximum when power-assisted, horsepower output is not corresponding with the speed of riding (moment), thereby gives the sensation sense of insecurity problem of this generation to layback of riding when power-assisted starts.
Set the dynamic pulse duration frequency of the corresponding Hall element of electrical motor with reference to parameter M ', this obtains by real-time detection usually with reference to parameter M ', when manpower is ridden battery-driven car to the dynamic pulse duration frequency M ' parameter sampling of electrical motor Hall element output, the pulsewidth analog to digital conversion circuit is started working, and the rotating speed of motor draws the dynamic pulse duration frequency parameter M ' that answers Hall element that system is used for reference under the bicycle thereby sample mode is stepped on usually according to the people.
Set power-assisted and start speed per hour Mm, this Mm becomes the multiple of M ' * m to concern with the dynamic pulse duration frequency of Hall element with reference to parameter M ', the wheel diameter that again Mn is multiplied by common power-assisted electric vehicle can draw its operation speed per hour, common the determined operation speed per hour of Mm value is set in about actual vehicle speed about 7 kilometers/hour (analogues value).
Set the cycle of run P of one group of direct motor drive, P=P1+P2, wherein P1 is the power-assisted drive cycle time, and P2 is time power-assisted resting period.Can directly adopt the time when definition P1, P2, namely be set as some seconds and also can turn time corresponding to the required number of turns according to the actual electric bicycle wheel that records and determine this duration, the time value of common P1, P2 is at 1-10 between second, and the duration of P1 should be less than the P2 duration, and best P1 duration becomes the multiple relation with the P2 duration.
B), whether speed-regulating handle bar set speed per hour, if then by the power stage current drives electrical motor of setting speed per hour, otherwise continues step.
C), whether arrive power-assisted and start speed per hour
Dynamically pulse duration frequency parameter M and sampling elapsed time t process can be calculated the speed per hour Mn of wheel during sampling elapsed time t instantly to obtain Hall element, instantly the power-assisted of moving speed per hour Mn and setting is started speed per hour Mm to be compared, then continue until instantly move the power-assisted startup speed per hour Mm of speed per hour Mn 〉=setting, open assistant mode.
D), detect brake lever and whether operate, in case brake lever operation control then stops the power supply of described electrical motor is driven, whether the detection of returning step C arrives power-assisted starts speed per hour, then continues if not.
E), power-assisted starts
To the driving signal of electrical motor output power-assisted drive cycle time P1, the direct motor drive dynamic pulse signal level of output P1 time.
F), power-assisted intermittently
Stop motor drive signal output power-assisted resting period time P2, intermittently close output motor and drive the dynamic pulse signal level P2 time, get back to step C after finishing.
Specific embodiment 2
For a kind of Electrical Bicycle that is provided with the manual power-assisted of power-assisted switching push button, except adding the judgement that whether operates such as the brake lever among the embodiment 1 and speed-regulating handle bar, also added the pattern switching judging in the control method, it comprises step:
A), initialization setting
Set assistant mode output power of motor current value, this value is determined according to the standard moment that the people normally rides, the standard moment that the people normally rides transfers running velocity to all about 10 kilometers/hour, the motor output power square of setting assistant mode should be corresponding with the moment under this speed, the correspondence of moment and assist torque thereby realization is ridden, increase the steady row that Electrical Bicycle is ridden, the Electrical Bicycle that has overcome original external assistant sensor all only can be with the power stage of maximum when power-assisted, horsepower output is not corresponding with the speed of riding (moment), thereby gives the sensation sense of insecurity problem of this generation to layback of riding when power-assisted starts.
Set the dynamic pulse duration frequency of the corresponding Hall element of electrical motor with reference to parameter M ', this obtains by real-time detection usually with reference to parameter M ', when manpower is ridden battery-driven car to the dynamic pulse duration frequency M ' parameter sampling of electrical motor Hall element output, the pulsewidth analog to digital conversion circuit is started working, and the rotating speed of motor draws the dynamic pulse duration frequency parameter M ' that answers Hall element that system is used for reference under the bicycle thereby sample mode is stepped on usually according to the people.
Set power-assisted and start speed per hour Mm, this Mm becomes the multiple of M ' * m to concern with the dynamic pulse duration frequency of Hall element with reference to parameter M ', the wheel diameter that again Mn is multiplied by common power-assisted electric vehicle can draw its operation speed per hour, common the determined operation speed per hour of Mm value is set in about actual vehicle speed about 7 kilometers/hour (analogues value).
Set the cycle of run P of one group of direct motor drive, P=P1+P2, wherein P1 is the power-assisted drive cycle time, and P2 is time power-assisted resting period.Can directly adopt the time when definition P1, P2, namely be set as some seconds and also can turn time corresponding to the required number of turns according to the actual electric bicycle wheel that records and determine this duration, the time value of common P1, P2 is at 1-10 between second, and the duration of P1 should be less than the P2 duration, and best P1 duration becomes the multiple relation with the P2 duration.
B), detect to start assistant mode and whether start, when assistant mode starts, skip to step e, otherwise carry out following step;
C), whether speed-regulating handle bar set speed per hour, detects speed-regulating handle bar and whether do not set speed per hour when starting assistant mode, if without then returning previous step, have then and continue;
D), driving motor, according to the speed per hour of setting on the speed-regulating handle bar, to moment power direct drive motor running corresponding to electrical motor output.
E), whether arrive power-assisted and start speed per hour
Dynamically pulse duration frequency parameter M and sampling elapsed time t process can be calculated the speed per hour Mn of wheel during sampling elapsed time t instantly to obtain Hall element, instantly the power-assisted of moving speed per hour Mn and setting is started speed per hour Mm to be compared, then continue until instantly move the power-assisted startup speed per hour Mm of speed per hour Mn 〉=setting, open assistant mode;
F), detect brake lever and whether operate, in case operation control, then return step e when brake lever, stop the power supply of described electrical motor is driven, if otherwise continue;
G), detect speed-regulating handle bar and whether operate, if then by the power-assisted power stage current drives electrical motor of setting, otherwise continue step.
H), power-assisted starts, to the driving signal of electrical motor output power-assisted drive cycle time P1;
I), power-assisted intermittently, stop motor drive signal output power-assisted resting period time P2, get back to step e after finishing.
By experiment and the analysis showed that, adopt power-assisted control method of electric bicycle of the present invention to make electric machine controller after, reliable in function during use, and owing to saved assistant sensor, so integral body has been saved the saving cost, use more convenient.The Electrical Bicycle continuation of the journey of once charging is long and energy-conservation, satisfactory for result, and under 36V/14Ah and 48V/14Ah battery, the mileage number of riding on the level land that once charges can reach 150 kilometers.