Controller for driving a motor, and electric power assisted vehicle
10577048 ยท 2020-03-03
Assignee
Inventors
- Yasuo Hosaka (Gunma, JP)
- Kazuo Asanuma (Gunma, JP)
- Kuniaki Kawagoe (Gunma, JP)
- Satoru Shimizu (Gunma, JP)
Cpc classification
Y02T10/64
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
B60L15/30
PERFORMING OPERATIONS; TRANSPORTING
Y02T10/72
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
B62M6/45
PERFORMING OPERATIONS; TRANSPORTING
B60L7/10
PERFORMING OPERATIONS; TRANSPORTING
International classification
B62M6/45
PERFORMING OPERATIONS; TRANSPORTING
B62M6/50
PERFORMING OPERATIONS; TRANSPORTING
B62M6/00
PERFORMING OPERATIONS; TRANSPORTING
B60L7/10
PERFORMING OPERATIONS; TRANSPORTING
H02J7/14
ELECTRICITY
G01B7/30
PHYSICS
B60L15/30
PERFORMING OPERATIONS; TRANSPORTING
Abstract
In one aspect, a controller for driving a motor of the present invention includes a driving control unit that controls driving of a motor, and a regenerative control unit that instructs the driving control unit to start regeneration when a signal from a pedal rotation sensor that detects a rotation direction of the pedal indicates that the rotation direction of the pedal is backwards, the regenerative control unit controlling an amount of the regeneration in accordance with a backward rotation amount of the pedal while the rotation direction of the pedal is backwards, the backward rotation amount being obtained by the pedal rotation sensor.
Claims
1. A controller for driving a motor in an electric power assisted vehicle with a pedal, the controller being configured to perform the following: starting regeneration when a signal received from a pedal rotation sensor that detects a rotation direction of the pedal indicates that the rotation direction of the pedal is backwards such that an amount of the regeneration is controlled in accordance with a backward rotation amount of the pedal while said rotation direction of the pedal is backwards, said backward rotation amount being obtained by the pedal rotation sensor; calculating a regeneration target amount based on a speed of the vehicle and after starting the regeneration, calculating a control coefficient to be applied to the regeneration target amount such that a rate at which the control coefficient increases depends on a rate at which the backward rotation amount increases; and controlling driving of a motor so as to control the regeneration in accordance with the regeneration target amount and the control coefficient.
2. The controller for driving a motor according to claim 1, configured to further perform, after starting the regeneration, stopping the regeneration when a signal received from the pedal rotation sensor indicates that the rotation direction of the pedal is forward.
3. The controller for driving a motor according to claim 1, configured to further perform, after starting the regeneration, stopping the regeneration when a signal received from a torque sensor indicates that torque has been detected.
4. The controller for driving a motor according to claim 1, configured to further perform decreasing the control coefficient in accordance with a rotation amount of the pedal obtained by the pedal rotation sensor when the rotation direction of the pedal obtained from the pedal rotation sensor is forward relative to a position of the pedal that has moved backwards.
5. The controller for driving a motor according to claim 4, configured to further perform, after starting the regeneration, stopping the regeneration when a signal has been received from a torque sensor indicating that torque has been detected.
6. The controller for driving a motor according to claim 3, wherein the pedal rotation sensor is integrated with the torque sensor.
7. An electric power assisted vehicle, comprising: the controller for driving a motor according to claim 1; said motor; and said pedal.
8. The controller for driving a motor according to claim 1, configured to further perform applying a slew rate control to the control coefficient so that the control coefficient is raised gradually to a value determined by the backwards rotation amount of the pedal when the controller starts the regeneration.
9. The controller for driving a motor according to claim 2, configured to further perform applying a slew rate control to the control coefficient so that the control coefficient decreases gradually to zero and the regeneration stops gradually when the controller stops the regeneration.
10. The controller for driving a motor according to claim 3, configured to further perform applying a slew rate control to the control coefficient so that the control coefficient decreases gradually to zero and the regeneration stops gradually when the controller stops the regeneration.
11. The controller for driving a motor according to claim 2, configured to further perform the following: applying a slew rate control to the control coefficient so that the control coefficient is raised gradually to a value determined by the backwards rotation amount of the pedal when the controller starts the regeneration; and applying a slew rate control to the control coefficient so that the control coefficient decreases gradually to zero and the regeneration stops gradually when the controller stops the regeneration.
12. The controller for driving a motor according to claim 3, configured to further perform the following: applying a slew rate control to the control coefficient so that the control coefficient is raised gradually to a value determined by the backwards rotation amount of the pedal when the controller starts the regeneration; and applying a slew rate control to the control coefficient so that the control coefficient decreases gradually to zero and the regeneration stops gradually when the controller stops the regeneration.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
DETAILED DESCRIPTION OF EMBODIMENTS
Embodiment 1
(17)
(18) The secondary cell 101 is a lithium ion secondary cell with a maximum supply voltage (the voltage when fully charged) of 24V, for example. Other types of batteries, however, such as a lithium ion polymer secondary cell, a nickel-hydrogen storage battery, or the like may be used, for example.
(19) The torque sensor 103 is provided on the wheel that is installed on the crankshaft, and detects the pedal force of the rider and outputs these detection results to the controller for driving a motor 102. The pedal rotation sensor 107 is provided on the wheel that is installed on the crankshaft, in a similar manner to the torque sensor 103, and outputs signals to the controller for driving a motor 102 in accordance with the rotations of the pedal. The pedal rotation sensor 107 can also detect the rotation direction of the pedal, such as forward or backwards, and the rotation phase angle.
(20) The motor 105 is a three-phase brushless DC motor with a well-known configuration, for example, and is installed on the front wheel of the motor-assisted bicycle 1, for example. The motor 105 causes the front wheel to rotate, and a rotor is connected to the front wheel such that the rotor rotates in accordance with the rotation of the front wheel. The motor 105 has a rotation sensor such as a Hall element to output rotation information (namely, the Hall signal) of the rotor to the controller for driving a motor 102.
(21) A configuration related to such the controller for driving a motor 102 of the motor-assisted bicycle 1 is shown in
(22) The controller 1020 has a computation unit 1021, a pedal rotation input unit 1023, a vehicle-speed input unit 1024, a variable delay circuit 1025, a motor driver timing generation unit 1026, a torque input unit 1027, a brake input unit 1028, and an AD input unit 1029.
(23) The computation unit 1021 performs computations (described below) in accordance with input from the pedal rotation input unit 1023, input from the vehicle-speed input unit 1024, input from the torque input unit 1027, input from the brake input unit 1028, and input from the AD (Analog-Digital) input unit 1029, and then outputs the result to the motor driver timing generation unit 1026 and the variable delay circuit 1025. The computation unit 1021 has a memory 10211, and the memory 10211 stores various data, half-processed data, and the like for use in the computations. The computation unit 1021 may be realized by programs executed by a processor, and in such a case the programs may be recorded in the memory 10211.
(24) The pedal rotation input unit 1023 digitizes signals from the pedal rotation sensor 107 indicating the pedal rotation phase angle and the rotation direction, and outputs the result to the computation unit 1021. The vehicle-speed input unit 1024 computes the current vehicle speed from the Hall signal outputted by the motor 105, and outputs the result to the computation unit 1021. The torque input unit 1027 digitizes a signal corresponding to the force from the torque sensor 103, and outputs the result to the computation unit 1021. The brake input unit 1028 outputs a signal to the computation unit 1021 in accordance with a signal from the brake sensors 104a and 104b indicating either a non-brake state where no ON signal has been received from either of the brake sensors 104a and 104b, or a brake state where an ON signal has been received from the brake sensor 104a or the brake sensor 104b. The AD input unit 1029 digitizes the output voltage from the secondary cell 101 and outputs the result to the computation unit 1021. The memory 10211 may be provided separately from the computation unit 1021.
(25) The computation unit 1021 outputs a lead angle value as a result of the computations to the variable delay circuit 1025. The variable delay circuit 1025 adjusts the phase of the Hall signal on the basis of the lead angle value received from the computation unit 1021, and outputs the result to the motor driver timing generation unit 1026. As a result of the computations, the computation unit 1021 outputs a PWM (Pulse Width Modulation) code, which corresponds to the duty cycle of the PWM, to the motor driver timing generation unit 1026, for example. The motor driver timing generation unit 1026 generates and outputs switching signals for every FET included on the FET bridge 1030 on the basis of the post-adjusted Hall signal from the variable delay circuit 1025 and the PWM code from the computation unit 1021.
(26)
(27) One Hall signal cycle is divided into six phases of 360 electrical degrees.
(28) As shown in
(29) As such, the U-phase FETs (Suh and Sul) perform PWM switching in phases 1 and 2, and the U-phase low-side FET (Sul) turns ON in phases 4 and 5. The V-phase FETs (Svh and Svl) perform PWM switching in phases 3 and 4, and the V-phase low-side FET (Svl) turns on in phases 6 and 1. The W-phase FETs (Swh and Swl) perform switching in phases 5 and 6, and the W-phase low-side FET (Swl) turns ON in phases 2 and 3.
(30) If such signals are outputted to control suitably the duty cycle, then the motor 105 can be driven at the desired torque.
(31) Next, a block diagram of functions of the computation unit 1021 of the present embodiment is shown in
(32) The control coefficient output unit 1201 outputs a control coefficient (described below) in accordance with the rotation direction of the pedal obtained from the pedal rotation input unit 1023, and outputs this control coefficient to the multiplier 1203. The regeneration target calculation unit 1202 calculates the regeneration target amount in accordance with the vehicle speed and the like from the vehicle-speed input unit 1024, and outputs the result to the multiplier 1203. The multiplier 1203 multiplies the control coefficient and the regeneration target amount and outputs the result of the multiplying to the PWM code generation unit 1204. The PWM code generation unit 1204 generates a PWM code corresponding to the PWM duty cycle on the basis of the output from the multiplier 1203, the vehicle speed, and the like, and outputs this PWM code to the motor driver timing generation unit 1026.
(33) As described above, the regeneration target calculation unit 1202 computes the regeneration target amount according to vehicle speed and the like. As shown in
(34) The multiplier 1203 multiplies a control coefficient value C outputted from the control coefficient output unit 1201 with a regenerative target amount V outputted from the regeneration target calculation unit 1202, and outputs CV to the PWM code generation unit 1204. The PWM code generation unit 1204 generates a PWM code based on the duty cycle and in accordance with the vehicle speed etc. and CV. If V is torque, then CV will also be torque; thus, the torque is converted into the PWM code by a conversion coefficient or the like on the basis of the torque CV and the torque according to the vehicle speed, for example.
(35) Next, the control coefficient outputted by the control coefficient output unit 1201 will be described using
(36) The rider, however, will feel discomfort if the regenerative control amount is set to a large value from the start, or if the control suddenly sets the regenerative control amount to 0. Accordingly, as shown in
(37) In the present embodiment, the maximum value of the control coefficient is assumed to be 1, but a numerical value higher than 1 may be used. Depending on the circumstance, the maximum value of the control coefficient may be variable with time. The minimum value of the control coefficient is assumed to be 0, but a numerical value other than 0 may be used. Depending on the circumstance, the minimum value of the control coefficient may be variable with time.
(38) As described above, in the present embodiment, regenerative operation can be started if backwards rotation of the pedal by the rider is detected, and regenerative operation can be stopped if forward rotation of the pedal is detected after the starting of regenerative operation. In other words, regenerative operation is performed in accordance with the intentions of the rider.
Embodiment 2
(39) In Embodiment 1, an example was shown in which only ON and OFF are possible for regenerative operation, but in the present embodiment, it is possible to configure a regenerative control amount that is more in accordance with the intentions of the rider.
(40) Specifically, control coefficients, such as shown in
(41) Accordingly, to cause more regeneration to occur, the rider needs only to rotate the pedal backwards to match the desired extent, and to decrease the regenerative control amount after this, the rider needs only to rotate the pedals forward to match the desired extent.
(42) It is not appropriate to cause regeneration to occur when a torque sensor 103 has detected torque; thus, torque detection by the torque sensor 103 is prioritized, and regenerative operation is made to stop.
(43) To make such an operation possible, a computation unit 1021 of the present embodiment has a configuration as shown in
(44) The control coefficient calculation unit 1210 calculates a control coefficient (as described below) in accordance with a signal from a pedal rotation input unit 1023 indicating rotation direction and rotation phase angle, and a signal from the torque input unit 1027 indicating the presence or absence of torque. The control coefficient calculation unit 1210 outputs this control coefficient to the control activation final determination unit 1211. The control activation final determination unit 1211 determines whether to output the control coefficient from the control coefficient calculation unit 1210 to the multiplier 1203 in accordance with the signal from the torque input unit 1027 indicating the presence or absence of torque and an exercise mode indicator. This exercise mode indicator is inputted by the user from an operation panel or the like, for example, and indicates whether to unconditionally activate regeneration. Specifically, when an input indicating the presence of torque is received from the torque input unit 1027, the control activation final determination unit 1211 changes the control coefficient outputted from the control coefficient calculation unit 1210 to the minimum value (0, for example) and outputs this control coefficient. Meanwhile, if input indicating the absence of torque input is received, the control activation final determination unit 1211 outputs the control coefficient outputted from the control coefficient calculation unit 1210 without any changes. When there is an exercise mode indicator, or namely, when there is a mode whereby regeneration is deliberately performed even during torque input, the control activation final determination unit 1211 outputs the control coefficient outputted from the control coefficient calculation unit 1210 unchanged, even if there is torque input.
(45) The regeneration target calculation unit 1202 calculates a target regeneration amount in accordance with vehicle speed or the like from a vehicle-speed input unit 1024, and then outputs this to the multiplier 1203. The multiplier 1203 multiplies the control coefficient with the regeneration target amount and outputs the product to the PWM code generation unit 1204.
(46) The PWM code generation unit 1204 generates a PWM code corresponding to the PWM duty cycle on the basis of the output from the multiplier 1203, the vehicle speed, and the like, and outputs this PWM code to a motor driver timing generation unit 1026.
(47) The multiplier 1203 multiplies a control coefficient value C outputted from the control activation final determination unit 1211 with a regeneration target amount V outputted from the regeneration target computing unit 1202, and outputs CV to the PWM code generation unit 1204. The PWM code generation unit 1204 generates a PWM code based on the duty cycle and in accordance with the vehicle speed etc. and CV. If V is torque, then CV will also be torque; thus, the torque is converted into the PWM code by a conversion coefficient or the like on the basis of the torque CV and the torque according to the vehicle speed, for example.
(48) Next, a process flow of the control coefficient calculation unit 1210 will be explained using
(49) If the control flag is OFF, however, then the control coefficient calculation unit 1210 determines whether a start condition for regenerative control has been met (step S3). The start condition for regenerative control is the receiving of a signal from the pedal rotation input unit 1023 indicating that the pedal is undergoing backwards rotation. The signal from the torque input unit 1027 indicating an absence of torque is also a part of the start condition. If the start condition for regenerative control has not been met, then the process transitions to step S9.
(50) Meanwhile, if the start condition for regenerative control has been met, then the control coefficient calculation unit 1210 sets the control flag to ON (step S5). The control coefficient calculation unit 1210 sets the control coefficient to a value corresponding to the initial backwards rotation amount (backwards rotation phase angle) received from the pedal rotation input unit 1023 (step S7). The process then transitions to step S9. This control coefficient value is outputted by the multiplier 1203, and the product of this control coefficient value and the regeneration target amount, which is the output from the regeneration target calculation unit 1201, is calculated. The product is then outputted to the PWM code generation unit 1204.
(51) The control coefficient calculation unit 1210 determines whether it is appropriate to terminate the process (step S9). The control coefficient calculation unit 1210 determines whether a power OFF has been signaled by the rider, for example. If there is no process termination, then the process returns to step S1. However, if it is appropriate for the process is to be terminated, then the process is terminated.
(52) Moving onto the explanation of the processes in
(53) If the stop condition for regenerative control has been met, then the control coefficient calculation unit 1210 sets the control flag to OFF (step S13). If torque has been detected, the control coefficient value will remain unchanged, but the control activation final determination unit 1211 chooses whether to output the value unchanged or to set the value to the minimum value (0, for example). Thereafter, the process returns to step S9 in
(54) Meanwhile, if the stop condition for regenerative control has not been met, the control coefficient calculation unit 1210 determines if the signal from the pedal rotation input unit 1023 indicates backwards rotation of the pedal (step S17). If there is backwards rotation of the pedal, the control coefficient calculation unit 1210 updates the control coefficient value by control coefficient+Rurotation amount (the detected forward rotation phase angle) (step S19). Ru is a pre-configured increment size. The control coefficient value, however, cannot be increased above a preset maximum value (1, for example). Accordingly, the control coefficient calculation unit 1210 determines whether the control coefficient value exceeds the maximum value (step S25). If below the maximum value, the process returns to step S9 in
(55) Meanwhile, if the pedal is not necessarily in backwards rotation, the control coefficient calculation unit 1210 determines whether the signal from the pedal rotation input unit 1023 is indicating forward rotation of the pedal (step S21). If there is forward rotation of the pedal, the control coefficient calculation unit 1210 updates the control coefficient value by control coefficientRdrotation amount (the detected backwards rotation phase angle) (step S23). Rd is a pre-configured decrement size. Rd may be consistent with Ru or may not be consistent. The control coefficient value, however, cannot be decreased below a preset minimum value (0, for example). The control coefficient calculation unit 1210 determines whether the control coefficient value is below the minimum value of the control coefficient (step S29). If higher than the minimum value, the process returns to step S9 in
(56) Through processes such as those described above, if the rider rotates the pedal backwards, regenerative control of an amount corresponding to the rotation phase angle of the backwards rotation is performed, and if the pedal is rotated forward, the regenerative control is reduced in an amount corresponding to the rotation phase angle. In other words, if torque has not been detected, the amount of regenerative control can be adjusted through rotation of the pedal.
(57) Next, the examples of regenerative control realized in the process flow shown in
(58)
(59) Until time t11, pedal rotation has not been detected and torque has also not been detected. At time t11, backwards rotation of the pedal is detected, and thus, the control flag is set to ON. Thereafter, the pedal backwards rotation accumulation amount increases until time t12, and therefore the control coefficient value increases. At time t12, the pedal rotates forward at a rotation speed with no torque detected, and thus, the pedal backwards rotation accumulation amount decreases until time t13, and the control coefficient value also decreases. Thereafter, at time t13, the pedal again undergoes backwards rotation, and thus the pedal backwards rotation accumulation amount increases, and the control coefficient value also increases. The rotation speed of the pedal after time t13 is greater than the rotation speed of the pedal after time t11; therefore, the pedal backwards rotation accumulation amount rapidly increases. At time t14, however, the pedal backwards rotation amount is still increasing, but the control coefficient value reaches the maximum, and thus is fixed at the maximum value.
(60) Thereafter, at time t15, the pedal undergoes forward rotation at a rotation speed without torque, and thus, the control coefficient value begins to decrease. If forward rotation continues, the control coefficient value at time t16 becomes 0, and the control flag is also set to OFF. The control coefficient value causes backwards rotation of the pedal even after reaching the maximum value; therefore, at time t16, the control coefficient value becomes 0, and the pedal backwards accumulation amount has an offset. This offset, however, occurs when the control flag is OFF, and is thus ignored, and when the pedal is rotated backwards again, is in the state at t11.
(61)
(62)
(63) Another scenario is shown in
(64)
(65) The present invention is not limited to the embodiments described above. The control coefficient may be set to the minimum value (0, for example) in accordance with torque detection in Embodiment 1 as it is in Embodiment 2, for example.
(66) In the examples described above, as shown in Japanese Patent No. 5100920, the description assumes that the pedal rotation sensor 107 and the torque sensor 103 are provided separately, but as shown in Japanese Patent Application Laid-Open Publication No. 2012-13626, for example, the pedal rotation sensor 107 may be integrated with the torque sensor 103, and the sensor may have a structure in which the torque is calculated from pedal rotation information.
(67) In the examples described above, the control coefficient is described as being calculated without management of the accumulation rotation amount of the pedal, but the control coefficient corresponding to the accumulation rotation amount of the pedal may be calculated with management of the accumulation rotation amount of the pedal.
(68) A specialized circuit may be used for a part of the computation part 1021, or a microprocessor may execute a program to realize functions such as those described above.
(69) A specialized circuit may be used for a part or all of the controller for driving a motor 102, or a microprocessor may execute a program to realize functions such as those described above.
(70) In this case, as shown in
(71) It will be apparent to those skilled in the art that various modification and variations can be made in the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention cover modifications and variations that come within the scope of the appended claims and their equivalents. In particular, it is explicitly contemplated that any part or whole of any two or more of the embodiments and their modifications described above can be combined and regarded within the scope of the present invention.