Control device for vehicle and electrically assisted vehicle, and information processing device

The control device calculates vehicle acceleration from motor and wheel rotation, addressing the need for accurate acceleration detection in electrically assisted vehicles without additional sensors, enhancing control and road surface condition assessment.

JP2024158688APending Publication Date: 2024-11-08TAIYO YUDEN KK
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2023074089
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-28
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

Existing technologies for electrically assisted vehicles lack an effective method to accurately detect appropriate acceleration without relying on costly hardware such as acceleration sensors, which is crucial for efficient control and road surface condition detection.

Method used

A control device that calculates vehicle acceleration based on motor rotation information synchronized with wheel rotation, using a calculation unit to determine appropriate acceleration and a selection unit to filter out noise, allowing for accurate acceleration detection without additional sensors.

Benefits of technology

Enables cost-effective and simplified detection of appropriate acceleration in electrically assisted vehicles, improving control precision and road surface condition assessment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024158688000001_ABST
    Figure 2024158688000001_ABST
Patent Text Reader

Abstract

To detect proper acceleration of an electrically assisted vehicle.SOLUTION: A control device has: (A) a calculation part which calculates acceleration of a vehicle based on rotation information on a motor rotating synchronously with rotation of a wheel provided on a vehicle; and (B) a selection part which selects, as acceleration to be employed, one of first acceleration calculated by the calculation part at a specific time point and second acceleration different from the first acceleration and determined according to a predetermined rule based on information associated with one of an operating state of the motor and a state of manipulating state by an occupant of the vehicle.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present invention relates to a technique for obtaining, for example, the acceleration of a vehicle. [Background technology]

[0002] For example, Patent Document 1 discloses that an electric bicycle configured to be driven by a main driving force generated by human power and an auxiliary driving force generated by an electric motor includes an electric motor that generates the auxiliary driving force, a battery that supplies power to the electric motor, an acceleration sensor that detects the traveling acceleration of the electric bicycle, and control means that controls the amount of power supplied to the electric motor so that the electric motor outputs an auxiliary driving force corresponding to the magnitude of the traveling acceleration detected. According to this document, acceleration is detected using an acceleration sensor, which increases costs.

[0003] Furthermore, for example, Patent Document 2 discloses a power-assisted bicycle that calculates acceleration in the direction of travel based on the speed detected by a speed sensor that detects the bicycle's speed from the rotational speed of the motor. However, there are cases where acceleration calculated simply based on the rotational speed of the motor is not necessarily appropriate, and this point is not mentioned.

[0004] Furthermore, for example, Patent Document 3 discloses that wheel speed, which indicates the rotational speed of the wheels, is acquired from a driving state detection means, and road surface unevenness detection means detects road surface unevenness based on whether or not a change in wheel speed is equal to or greater than a threshold value. Although this document does not target electrically assisted vehicles, it detects road surface unevenness based on a parameter similar to acceleration in the traveling direction, namely, a change in wheel speed. However, it does not mention that a simple change in wheel speed may not necessarily be an appropriate value.

[0005] Furthermore, from the viewpoint of detecting road surface conditions, for example, Patent Document 4 discloses a method of measuring acceleration in each direction using an acceleration sensor mounted on a four-wheel vehicle and detecting road surface conditions based on the measured acceleration. Such an acceleration sensor capable of measuring acceleration in multiple directions is more expensive. Furthermore, the road surface conditions are detected mainly based on vertical acceleration or a composite acceleration that combines acceleration in the front-rear, left-right, and vertical directions, but does not take into account cases where vertical acceleration cannot be obtained.

[0006] In an electrically assisted bicycle, which is an example of an electrically assisted vehicle (also called a power-assisted vehicle), control may be performed based on acceleration in the direction of travel (i.e., the front-to-rear direction of the vehicle), and detecting appropriate acceleration is important for performing appropriate control. Also, as exemplified above, detecting appropriate acceleration is important when detecting unevenness (also called steps) from acceleration. However, there is no technology that can detect appropriate acceleration for an electrically assisted vehicle without relying on hardware such as an acceleration sensor. [Prior art documents] [Patent documents]

[0007] [Patent Document 1] Japanese Patent Application Publication No. 8-258782 [Patent Document 2] WO2014 / 050474 publication [Patent Document 2] Japanese Patent Application Laid-Open No. 2015-021858 [Patent Document 3] Japanese Patent Application Laid-Open No. 2015-094680 Summary of the Invention [Problem to be solved by the invention]

[0008] Therefore, according to one aspect, an object of the present invention is to provide a novel technique for detecting an appropriate acceleration of an electrically assisted vehicle. [Means for solving the problem]

[0009] The control device according to the present invention includes: (A) a calculation unit that calculates the acceleration of the vehicle based on rotation information of a motor that rotates in synchronization with the rotation of the wheels provided on the vehicle; and (B) a selection unit that selects, as the acceleration to be adopted, either a first acceleration calculated by the calculation unit for a specific point in time based on information regarding at least one of the operating state of the motor and the operating state of the vehicle by an occupant, or a second acceleration that is different from the first acceleration and is determined according to a predetermined rule. [Effects of the Invention]

[0010] According to one aspect, it is possible to detect appropriate acceleration of an electrically assisted vehicle. [Brief explanation of the drawings]

[0011] [Figure 1] FIG. 1 is a diagram showing the appearance of an electrically assisted bicycle according to an embodiment. [Figure 2] FIG. 2 is a diagram illustrating an example of the configuration of a motor control device. [Figure 3] FIG. 3 is a diagram illustrating a functional configuration of the control unit according to the first embodiment. [Figure 4] FIG. 4 is a diagram illustrating a processing flow according to the first embodiment. [Figure 5] FIG. 5 is a diagram illustrating a processing flow according to the first modification of the first embodiment. [Figure 6] FIG. 6 is a diagram illustrating a processing flow according to the second modification of the first embodiment. [Figure 7] FIG. 7 is a diagram illustrating an example of a functional configuration of a control unit according to the second embodiment. [Figure 8] FIG. 8 is a diagram illustrating a processing flow according to the second embodiment. [Figure 9] 9(a) and 9(b) are diagrams for explaining an application example of the process according to the second embodiment. [Figure 10]FIG. 10 is a diagram illustrating a processing flow according to the first modification of the second embodiment. [Figure 11] 11A to 11C are diagrams for explaining an application example of the process according to the first modification of the second embodiment. [Figure 12] FIG. 12 is a diagram illustrating a processing flow according to the second modification of the second embodiment. [Figure 13] 13A to 13C are diagrams for explaining an application example of the process according to the second modification of the second embodiment. [Figure 14] FIG. 14 is a diagram illustrating a processing flow according to the fifth modification of the second embodiment. [Figure 15] FIG. 15 is a diagram illustrating a process according to the sixth modification of the second embodiment. [Figure 16] FIG. 16 is a diagram illustrating a process according to the sixth modification of the second embodiment. [Figure 17] FIG. 17 is a diagram illustrating a processing flow according to the fifth modification of the second embodiment. [Figure 18] FIG. 18 is a diagram illustrating a processing flow according to the fifth modification of the second embodiment. [Figure 19] FIG. 19 is a diagram illustrating a processing flow according to the fifth modification of the second embodiment. [Figure 20] 20(a) to 20(e) are diagrams for explaining an application example of the process according to the sixth modification of the second embodiment. [Figure 21] FIG. 21 is a diagram illustrating an example of a functional configuration of a control unit according to the third embodiment. [Figure 22] FIG. 22 is a diagram illustrating a processing flow according to the third embodiment. [Figure 23] FIG. 23 is a diagram illustrating a processing flow according to the third embodiment. [Figure 24] 24(a) to 24(d) are diagrams for explaining an application example of the process according to the third embodiment. [Figure 25] FIG. 25 is a diagram illustrating an outline of a system according to the fourth embodiment. [Figure 26]FIG. 26 is a diagram for explaining an application example of the process according to the fifth embodiment. DETAILED DESCRIPTION OF THE INVENTION

[0012] The following describes an embodiment of the present invention, taking an example of an electrically assisted bicycle, which is an example of an electrically assisted vehicle. However, the application of the embodiment of the present invention is not limited to electrically assisted bicycles, and can also be applied to motor control devices for motors that assist the movement of moving objects that move according to human power (for example, carts, wheelchairs, etc.).

[0013] [Embodiment 1] 1 is an external view showing an example of an electrically assisted bicycle, which is an example of an electrically assisted vehicle according to this embodiment. This electrically assisted bicycle 1 is equipped with a motor drive device. The motor drive device has a battery pack 101, a motor control device 102, a torque sensor 103, a crank rotation sensor 104, a motor 105, a display 106, and a brake sensor 107.

[0014] The power-assisted bicycle 1 also has a front wheel, a rear wheel, a headlight, a freewheel, a transmission, and the like.

[0015] The battery pack 101 is, for example, a lithium ion secondary battery, but may be other types of batteries, such as a lithium ion polymer secondary battery, a nickel-metal hydride battery, etc. The battery pack 101 supplies power to the motor 105 via the motor control device 102, and is also charged by the regenerated power from the motor 105 via the motor control device 102 during regeneration.

[0016] The torque sensor 103 is provided near the crankshaft, detects the pedaling force (i.e., input torque) applied by the user, and outputs the detection result to the motor control device 102. Similarly to the torque sensor 103, the crank rotation sensor 104 is provided near the crankshaft, and outputs a signal corresponding to the rotation of the crank to the motor control device 102.

[0017] The motor 105 is, for example, a well-known three-phase DC brushless motor, and is attached to, for example, the front wheel of the electrically assisted bicycle 1. The motor 105 rotates the front wheel, and the rotor is connected to the front wheel so that the rotor rotates in response to the rotation of the front wheel. Furthermore, the motor 105 is equipped with a rotation sensor such as a Hall element, and outputs rotor rotation information (i.e., a Hall signal) to the motor control device 102.

[0018] The motor control device 102 performs predetermined calculations based on signals from the rotation sensor of the motor 105 , the torque sensor 103 , the crank rotation sensor 104 , etc., to control the driving of the motor 105 and also to control regeneration by the motor 105 .

[0019] The brake sensor 107 detects a brake operation by the user and outputs a brake signal related to the brake operation (for example, a signal indicating whether the brake is applied or not) to the motor control device 102. Specifically, it is a sensor using a magnet and a reed switch.

[0020] 2 shows a configuration related to a motor control device 102 according to this embodiment. The motor control device 102 has a controller 1020 and a FET (Field Effect Transistor) bridge 1030. The FET bridge 1030 includes a high-side FET (Suh) and a low-side FET (Sul) that perform switching for the U phase of the motor 105, a high-side FET (Svh) and a low-side FET (Svl) that perform switching for the V phase of the motor 105, and a high-side FET (Swh) and a low-side FET (Swl) that perform switching for the W phase of the motor 105. This FET bridge 1030 is an inverter for the motor 105 and constitutes part of a complementary switching amplifier.

[0021] The controller 1020 also has a calculation unit 1021, a crank rotation input unit 1022, a motor rotation input unit 1024, a variable delay circuit 1025, a motor drive timing generation unit 1026, a torque input unit 1027, a brake input unit 1028, and an AD (Analog-Digital) input unit 1029.

[0022] The calculation unit 1021 performs a predetermined calculation using inputs from the display 106 (e.g., power on / off, etc.), the crank rotation input unit 1022, the motor rotation input unit 1024, the torque input unit 1027, the brake input unit 1028, and the AD input unit 1029, and outputs the results to the motor drive timing generation unit 1026 and the variable delay circuit 1025. The calculation unit 1021 includes a memory 10211, which stores various data used in the calculations and data in the middle of processing. Furthermore, the calculation unit 1021 may be realized by a processor executing a program, in which case the program may be recorded in the memory 10211. The memory 10211 may also be provided separately from the calculation unit 1021.

[0023] The crank rotation input unit 1022 digitizes the crank rotation phase angle (which may include a signal indicating the rotation direction) from the crank rotation sensor 104 and outputs it to the calculation unit 1021. The motor rotation input unit 1024 digitizes a signal (e.g., rotation phase angle, rotation direction, etc.) related to the rotation of the motor 105 (the rotation of the front wheel in this embodiment) from the Hall signal output by the motor 105 and outputs it to the calculation unit 1021. The torque input unit 1027 digitizes a signal corresponding to the pedal force from the torque sensor 103 and outputs it to the calculation unit 1021. The brake input unit 1028 digitizes a signal indicating whether the brake is applied or not from the brake sensor 107 and outputs it to the calculation unit 1021. The AD input unit 1029 digitizes the output voltage from the secondary battery and outputs it to the calculation unit 1021.

[0024] The calculation unit 1021 outputs a lead-angle value as a calculation result to the variable delay circuit 1025. The variable delay circuit 1025 adjusts the phase of the Hall signal based on the lead-angle value received from the calculation unit 1021 and outputs the adjusted phase to the motor drive timing generation unit 1026. The calculation unit 1021 outputs, as a calculation result, for example, a PWM code corresponding to a PWM (Pulse Width Modulation) duty ratio to the motor drive timing generation unit 1026. The motor drive timing generation unit 1026 generates and outputs switching signals for each FET included in the FET bridge 1030 based on the adjusted Hall signal from the variable delay circuit 1025 and the PWM code from the calculation unit 1021. Depending on the calculation result of the calculation unit 1021, the motor 105 may perform powering or regenerative braking. Note that the basic operation of motor driving is described in the pamphlet of International Publication No. 2012 / 086459 and the like, and is not a main part of this embodiment, so a description thereof will be omitted here.

[0025] As described above, in the electrically assisted bicycle 1 shown in Figure 1, the motor 105 is attached to the front wheel, and the rotation of the front wheel and the rotation of the motor 105 are synchronized. If the wheel rotation and the motor rotation are synchronized in this way, the relationship between the motor rotation speed obtained from the Hall signal and the vehicle speed can be determined, and the vehicle speed can be calculated from the motor rotation speed. For example, if the wheel has a radius r and one rotation of the motor results in one rotation of the wheel, then the vehicle speed V [m / h] = 2πr × N × 60 can be calculated from the motor rotation speed N [rpm].

[0026] It is also possible to calculate the vehicle's longitudinal acceleration by differentiating the vehicle speed V with respect to time. This allows the acceleration to be obtained without installing an acceleration sensor on the vehicle, leading to cost reduction and system simplification.

[0027] Note that in systems where wheel rotation and motor rotation are not necessarily synchronized, such as systems where a one-way clutch or the like is interposed between the wheel and motor power transmission mechanism and power transmission is automatically cut off except when the motor is powered, the control device that controls the motor drive does not know during what period wheel rotation and motor rotation are synchronized, and therefore are not suitable applications for this embodiment. In addition, systems that do not allow regenerative braking (for example, a system with the one-way clutch described above, or a system in which a hub motor with a motor attached to the wheel has a clutch that cuts off the motor from wheel rotation except when powered), or systems in which wheel rotation is not transmitted to the motor when the vehicle is reversing (when the motor is rotating in reverse), will have periods during which acceleration cannot be detected. However, if a system is equipped with a mechanism that can control the engagement and disengagement of the clutch, the period during which acceleration can be detected can be identified, and therefore these systems are not excluded from the application of this embodiment.

[0028] Furthermore, since it is sufficient to be able to identify the relationship between wheel rotation and motor rotation, this embodiment is not limited to cases where motor 105 is attached to the front wheel (or rear wheel in some cases) as shown in Figure 1, but can also be applied to cases where the relationship between wheel rotation and motor rotation changes due to a change in gear ratio, etc., as long as the change can be identified.

[0029] However, as mentioned above, if acceleration is simply calculated from the relationship between wheel rotation and motor rotation, noise caused by, for example, a shock applied to motor 105 when switching from a motor non-driving state to a motor driving state may be superimposed on the acceleration, etc. In this embodiment, such noise is removed to obtain an appropriate acceleration.

[0030] 3 shows an example of a functional block configuration related to control unit 3000 that performs processing related to this embodiment in calculation unit 1021. Control unit 3000 has a calculation unit 3100 that calculates acceleration and the like, a drive control unit 3400 that controls the drive of motor 105, a selection unit 3200 that performs the processing described below based on the output from drive control unit 3400 and the output from calculation unit 3100 to output an appropriate acceleration, and a post-processing unit 3300 that performs processing using the acceleration output from selection unit 3200.

[0031] The calculation unit 3100 calculates the vehicle speed and acceleration in the traveling direction of the power-assisted bicycle 1 based on the motor rotation input from the motor rotation input unit 1024 and the relationship between motor rotation and wheel rotation as described above. The drive control unit 3400 calculates the output torque of the motor 105 based on, for example, the input torque from the torque input unit 1027 and the vehicle speed from the calculation unit 3100, and notifies the selection unit 3200 of a state in which the output torque exceeds 0 (i.e., a driven state) and a non-driven state otherwise. The selection unit 3200 normally selects the acceleration output from the calculation unit 3100, but when the selection unit 3200 detects the occurrence of switching between the driven state and the non-driven state of the motor 105 based on a notification from the drive control unit 3400, it selects an acceleration determined by a predetermined rule and outputs it to the post-processing unit 3300. The post-processing unit 3300 may be a processing unit that determines road surface conditions (including, for example, unevenness (steps)) as described below, or may be a processing unit that detects a state in which the assist ratio in the drive control unit 3400 should be changed based on the road surface conditions.

[0032] Next, the processing content of the selection unit 3200 will be mainly described with reference to Fig. 4. The processing in Fig. 4 is executed for each control cycle.

[0033] The calculation unit 3100 calculates the vehicle speed of the electrically power assisted vehicle 1 and its differential value, that is, the acceleration, from the rotation speed of the motor 105 at that time based on the motor rotation input from the motor rotation input unit 1024, and outputs these to the selection unit 3200. Note that the acceleration calculated in this way may be stored for a certain period of time, for example, in a predetermined area in the memory 10211, for later use.

[0034] The selection unit 3200 holds the acceleration obtained from the calculation unit 3100 (i.e., the acceleration based on the motor rotation) as a provisional acceleration (step S1). The selection unit 3200 also acquires the motor state (driven state or non-driven state) notified by the drive control unit 3400 as the current motor state (step S3).

[0035] The selection unit 3200 then determines whether the previous motor state and the current motor state match (step S5). The previous motor state is the motor state in the immediately previous control cycle, and may initially be set to a state that is neither driven nor non-driven, so that a mismatch is always detected in step S5.

[0036] If the previous motor state and the current motor state do not match, the selection unit 3200 initializes a timer for measuring the time since the switch in the motor state was detected (step S7). Then, the process proceeds to step S9. On the other hand, if the previous motor state and the current motor state match, the process proceeds to step S9.

[0037] Then, the selection unit 3200 determines whether the timer value has exceeded a predetermined time T1 (e.g., 20 ms) (step S9). If the timer value is equal to or less than the predetermined time T1, the process proceeds to step S13. This means that, as shown in step S12, the acceleration (=vehicle body acceleration) output by the selection unit 3200 remains unchanged, and the previously output vehicle body acceleration is maintained.

[0038] That is, after a change in the motor state is detected, the acceleration immediately before the change is maintained for a predetermined time T1, thereby eliminating noise that occurs in response to the change in the motor state. It is possible to eliminate the noise by using a filter such as an LPF (Low Pass Filter), but this increases the processing load, eliminates components for detecting road surface conditions that are expected to be performed in post-processing, and delays the reflection of acceleration changes in the vehicle acceleration (deterioration of responsiveness). This embodiment is less likely to cause such problems.

[0039] Initially, there is no acceleration immediately before switching, so for the initial predetermined time T1, the acceleration may be indefinite, or a predetermined value may be output, or step S11 may be executed for the initial predetermined time T1.

[0040] On the other hand, if the timer value exceeds the predetermined time T1, the selection unit 3200 sets the vehicle body acceleration to the provisional acceleration obtained in step S1 and outputs it to the post-processing unit 3300 (step S11). Then, the process proceeds to step S13.

[0041] Thereafter, the selection unit 3200 saves the current motor state as the previous motor state (step S13), and also increments the timer by one control period (step S15).

[0042] Then, the control unit 3000 determines whether or not a processing termination condition such as power off has been met (step S17). If the processing termination condition has not been met, the processing returns to step S1, and if the processing termination condition has been met, the processing is terminated.

[0043] By performing such processing, it becomes possible to obtain acceleration with noise generated by switching between the driving state and the non-driving state of the motor removed.

[0044] [First Modification of First Embodiment] In the first embodiment, an example was shown in which the acceleration immediately before the motor state was switched was maintained, but there is a possibility that noise may already be superimposed on the acceleration when the switch in the motor state is detected. In other words, there is a possibility that the detection of the switch in the motor state may be delayed. For this reason, for example, Figure 4 may be modified as shown in Figure 5. Note that the basic processing flow is the same as in Figure 4, so only the changed parts will be explained.

[0045] In Modification 1, step S21 is introduced instead of step S11. In step S21, the selector 3200 reads the provisional acceleration from a certain time T2 before the present from, for example, the memory 10211, sets this as the vehicle body acceleration, and outputs it to the post-processor 3300 (step S21). That is, in principle, the provisional acceleration from the time T2 before is used. Note that the predetermined time T1 is set to a value (e.g., 100 ms) that is sufficiently long compared to the length of the noise, and the predetermined time T2 is set to a value, for example, (T1) / 2, that is longer than the detection delay. This makes it possible to prevent noise from being superimposed on the acceleration immediately before the detection of a change in the motor state and immediately after the timer value exceeds the predetermined time T1.

[0046] In addition, in the first modification, if the timer value is equal to or less than the predetermined time T1 in step S9, step S23 is added, in which the selection unit 3200 sets the previous acceleration as the vehicle body acceleration, which is the output. Then, the process proceeds to step S13.

[0047] Furthermore, in the first modification, step S25 is added after step S13, and the selection unit 3200 sets the vehicle body acceleration to the previous acceleration, and then the process proceeds to step S15.

[0048] By performing such processing, when the motor state is switched, the immediately preceding vehicle body acceleration is selected and maintained for the predetermined time T1.

[0049] According to the first modification, it is possible to suppress the influence of noise caused by switching the motor state.

[0050] [Modification 2 of Embodiment 1] The vehicle acceleration may be estimated in a manner different from that of Modifications 1 and 2, for example, by using the jerk (i.e., the differential value of acceleration) immediately before detecting the switching of the motor state. The processing flow in this case is shown in Figure 6. Note that the basic processing flow is the same as in Figure 4, so only the changed parts will be explained.

[0051] In the second modification, step S31 is added after step S7, and in this step S31, the selection unit 3200 calculates the jerk (the differential value of the acceleration) immediately before the timing when the switch of the motor state is detected, and sets this jerk as the reference jerk. Then, the process proceeds to step S9.

[0052] In addition, in Modification 2, if the timer value is equal to or less than the predetermined time T1 in step S9, step S33 is added, and the selection unit 3200 sets the value of the previous acceleration + the reference jerk × the control period as the vehicle body acceleration, which is the output. Then, the process proceeds to step S13.

[0053] In this embodiment, it is assumed that the jerk (=reference jerk) immediately before the motor state is switched is maintained, and the current acceleration is estimated by the previous acceleration + reference jerk x control period.

[0054] Furthermore, in the second modification, step S35 is added after step S13, and the selection unit 3200 sets the vehicle body acceleration to the previous acceleration, and then the process proceeds to step S15.

[0055] By performing this process, it becomes possible to estimate the acceleration taking into account the tendency before the motor state was switched, and to use this value. Note that the formula in step S33 is just an example, and the acceleration may be estimated based on other rules.

[0056] [Third Modification of First Embodiment] In the first embodiment, an example was shown in which a switch between a motor-driven state and a motor-non-driven state was detected, but noise can occur not only in such a switch. For example, noise can also occur when the motor 105 performs regenerative braking. Furthermore, in the case of an electrically assisted bicycle 1, noise can also occur when the rider applies the brakes. Furthermore, in the case of an electrically assisted bicycle 1, noise can also occur when the rider rotates the crank.

[0057] Therefore, the method described in the first embodiment and the modified example may be adopted to detect a noise generation event based on information about the operating state of the motor 105, such as whether the motor 105 is powered or regeneratively braked, crank rotation, torque input due to crank rotation, and operation by the occupant, such as brake operation, to avoid the influence of noise that may occur in the event. The operating state of the motor 105 is obtained from the drive control unit 3400 when the drive control unit 3400 also controls regenerative braking. If a separate regenerative control unit is provided, the information is obtained from the regenerative control unit. The selection unit 3200 performs processing using the crank rotation input from the crank rotation input unit 1022 when crank rotation is used, the input torque from the torque input unit 1027 when input torque is used, and the brake input from the brake input unit 1028 when brake operation is used.

[0058] Furthermore, in the above-described processing, an example has been shown in which the acceleration calculated by the calculation unit 3100 is not used for a predetermined period T1 after the detection of a noise occurrence event, but depending on the event, etc., the acceleration calculated by the calculation unit 3100 may not be used for a period from the detection of the event occurrence until a predetermined period T3 before. This is used in situations where acceleration is calculated after the event. Note that the acceleration calculated by the calculation unit 3100 may not be used for a period before and after the detection of the event occurrence.

[0059] [Embodiment 2] Next, a basic embodiment relating to determination of road surface conditions will be described as an example of utilizing the acceleration (=vehicle body acceleration) selected in the first embodiment.

[0060] FIG. 7 shows an example of a functional block configuration related to a control unit 3000b that performs processing related to this embodiment in the calculation unit 1021.

[0061] The control unit 3000b according to this embodiment includes a calculation unit 3100b, a discrimination unit 3500 that discriminates road surface conditions based on acceleration, a post-processing unit 3600 that performs processing based on the processing results of the discrimination unit 3500, and a drive control unit 3400b.

[0062] The calculation unit 3100b according to this embodiment includes the calculation unit 3100 and the selection unit 3200 according to the first embodiment. The determination unit 3500 determines whether or not there are irregularities (including steps, depressions, etc.) on the road surface based on the acceleration output from the calculation unit 3100. The determination unit 3500 and the post-processing unit 3600 correspond to the post-processing unit 3300 according to the first embodiment. The post-processing unit 3600 according to this embodiment performs a process of acquiring and recording position data when irregularities on the road surface are detected, for example, from a positioning unit using a GPS (Global Positioning System). Furthermore, the post-processing unit 3600 according to this embodiment may also perform a process of preventing slipping by instructing the drive control unit 3400b to reduce the assist ratio when irregularities on the road surface are detected frequently.

[0063] In the first embodiment, the acceleration obtained is the acceleration in the fore-and-aft direction of the electrically power-assisted bicycle 1. However, since irregular changes occur in motor rotation due to shocks when passing over uneven surfaces, it is possible to detect road surface unevenness by judging these changes from the acceleration. Therefore, it is preferable to use a hub motor for detecting road surface conditions, as vibrations from the road surface are easily transmitted to the motor. However, even with a system other than a hub motor, such as a center motor system in which the motor is mounted near the crankshaft, it may be possible to determine road surface conditions to some extent, as long as the motor rotation and wheel rotation are synchronized.

[0064] Next, the processing content of the discriminator 3500 will be mainly described with reference to Figures 8 and 9. The processing of Figure 8 is executed for each control cycle.

[0065] First, the calculation unit 3100b performs the processing described in the first embodiment to output the acceleration (=vehicle body acceleration) to the discrimination unit 3500. The discrimination unit 3500 acquires the acceleration from the calculation unit 3100b (step S41). The discrimination unit 3500 determines whether the acquired acceleration is equal to or greater than a preset positive threshold value TH1 or equal to or less than a preset negative threshold value TH2 (step S43). The threshold values ​​TH1 and TH2 are set so as not to react when the vehicle is traveling on a smooth road surface, but to react to unevenness that should be detected when traveling. Note that the absolute values ​​of the threshold values ​​TH1 and TH2 do not have to be the same.

[0066] If the acceleration satisfies the condition of step S43, the discrimination unit 3500 records the presence of unevenness, for example, in the memory 10211, or outputs this to the post-processing unit 3600 (step S45). Then, the process proceeds to step S49. On the other hand, if the acceleration does not satisfy the condition of step S43, the discrimination unit 3500 records the absence of unevenness, for example, in the memory 10211, or outputs this to the post-processing unit 3600 (step S47). Then, the process proceeds to step S49.

[0067] Then, the control unit 3000b determines whether or not a processing termination condition such as power off has been met (step S49), and if the processing termination condition has not been met, the processing returns to step S41, and if the processing termination condition has been met, the processing is terminated.

[0068] An application example of the process shown in FIG. 8 is shown in FIG. 9. FIG. 9(a) shows the change in acceleration (=vehicle body acceleration) over time, and FIG. 9(b) shows the state of unevenness detection by the discrimination unit 3500. In this example, |TH1| = |TH2| = 0.2 [G]. When the acceleration changes as shown in FIG. 9(a), it is greater than or equal to the positive threshold TH1 three times and less than or equal to the negative threshold TH2 once, so unevenness is detected four times in total.

[0069] In this way, it becomes possible to determine the road surface conditions according to the appropriate acceleration.

[0070] In some cases, it may be preferable to use only either TH1 or TH2.

[0071] [Modification 1 of Embodiment 2] In the second embodiment, a threshold value is set for the acceleration itself, but it may be difficult to eliminate increases and decreases in acceleration due to normal acceleration and deceleration. For this reason, in Modification 1, a high pass filter (HPF) with a time constant (e.g., 0.1 seconds) is used to eliminate acceleration components that interfere with unevenness detection.

[0072] The processing content of the determination unit 3500 according to the first modification will be described with reference to Fig. 10. The processing in Fig. 10 is executed for each control cycle.

[0073] First, the calculation unit 3100b performs the process described in the first embodiment to output the acceleration (=vehicle body acceleration) to the discrimination unit 3500. The discrimination unit 3500 acquires the acceleration from the calculation unit 3100b (step S51). The discrimination unit 3500 also performs HPF processing on the acquired acceleration (step S53).

[0074] Then, the discrimination unit 3500 determines whether the acceleration after the HPF processing is equal to or greater than a preset positive threshold value TH11 or equal to or less than a preset negative threshold value TH12 (step S55). The threshold values ​​TH11 and TH12 are set so as not to react when the vehicle is traveling on a smooth road surface, but to react to unevenness that should be detected when the vehicle is traveling. Note that the absolute values ​​of the threshold values ​​TH11 and TH12 do not have to be the same.

[0075] If the acceleration after the HPF processing satisfies the condition of step S55, the discrimination unit 3500 records that there are unevenness, for example, in the memory 10211, or outputs this to the post-processing unit 3600 (step S57). Then, the process proceeds to step S61. On the other hand, if the acceleration after the HPF processing does not satisfy the condition of step S55, the discrimination unit 3500 records that there are no unevenness, for example, in the memory 10211, or outputs this to the post-processing unit 3600 (step S59). Then, the process proceeds to step S61.

[0076] Then, the control unit 3000b determines whether a processing termination condition, such as power off, has been met (step S61), and if the processing termination condition has not been met, the processing returns to step S51, and if the processing termination condition has been met, the processing is terminated.

[0077] An application example of the processing shown in Fig. 10 is shown in Fig. 11. Fig. 11(a) shows the change over time in acceleration (= vehicle body acceleration), Fig. 11(b) shows the change over time in acceleration after HPF processing, and Fig. 11(c) is a diagram showing the detection status of unevenness by the discriminator 3500.

[0078] As shown in Fig. 11(a), in a driving state in which the sequence of stopping, accelerating, coasting, deceleration, and stopping occurs, if the degree of acceleration or deceleration is large, erroneous detection may occur unless the thresholds TH1 and TH2 are set appropriately. In contrast, as shown in Fig. 11(b), for the acceleration after HPF processing, acceleration changes due to acceleration or deceleration are removed, and only sharp acceleration changes that occur during coasting are extracted, and the condition of step S55 is satisfied at times t1 and t2, as shown in Fig. 11(c). Strictly speaking, unevenness is detected twice around time t1 and twice around time t2, but for convenience of illustration, only one unevenness is detected for each case.

[0079] By doing so, low frequency components of the acceleration can be eliminated, and unevenness of the road surface can be detected appropriately.

[0080] In addition to the HPF, an LPF or a moving average filter may be additionally applied to eliminate components due to minute vibrations and suppress false detection.

[0081] Furthermore, differentiation of acceleration may be performed instead of HPF processing, in which case jerk is used instead of acceleration after HPF processing.

[0082] [Modification 2 of Embodiment 2] In the second embodiment and its modified example 1, the threshold value is fixed, but by appropriately changing the threshold value over time, it becomes possible to eliminate the influence of normal acceleration and deceleration, as in modified example 1.

[0083] The processing content of the determination unit 3500 according to the second modification will be described with reference to Fig. 12. The processing in Fig. 12 is executed for each control cycle.

[0084] First, the calculation unit 3100b performs the process described in the first embodiment to output the acceleration (=vehicle body acceleration) to the determination unit 3500. The determination unit 3500 acquires the acceleration from the calculation unit 3100b (step S71).

[0085] Furthermore, the discrimination unit 3500 performs a smoothing process on the acquired acceleration (step S73). For example, the discrimination unit 3500 performs a process of averaging the acceleration over a certain period of time immediately preceding the current acceleration (for example, 100 ms). Then, the discrimination unit 3500 sets the positive threshold value TH3 to the smoothed acceleration plus a predetermined value d1 (step S75). The discrimination unit 3500 also sets the negative threshold value TH4 to the smoothed acceleration -d2 (step S77). Note that d1 and d2 are positive values, and they may be the same or different.

[0086] Then, the discriminator 3500 determines whether the acquired acceleration is equal to or greater than the positive threshold value TH3 or equal to or less than the negative threshold value TH4 (step S79).

[0087] If the acceleration satisfies the condition of step S79, the discrimination unit 3500 records the presence of unevenness, for example, in memory 10211, or outputs this to the post-processing unit 3600 (step S81). Then, the process proceeds to step S85. On the other hand, if the acceleration does not satisfy the condition of step S79, the discrimination unit 3500 records the absence of unevenness, for example, in memory 10211, or outputs this to the post-processing unit 3600 (step S83). Then, the process proceeds to step S85.

[0088] Then, the control unit 3000b determines whether or not a processing termination condition such as power off has been met (step S85), and if the processing termination condition has not been met, the processing returns to step S71, and if the processing termination condition has been met, the processing is terminated.

[0089] An application example of the process shown in Fig. 12 is shown in Fig. 13. Fig. 13(a) shows the change over time of acceleration (= vehicle body acceleration) and the change over time of thresholds TH3 and TH4, Fig. 13(b) shows the change over time of smoothed acceleration, and Fig. 13(c) shows the state of detection of unevenness by the discriminator 3500.

[0090] As shown in FIG. 13(b), the smoothed acceleration represents a rough change in acceleration, and by adding or subtracting a predetermined value d1 (here, d1 = d2) to or from this, the thresholds TH3 and TH4 are set as shown in FIG. 13(a). In this way, when acceleration changes gradually due to normal acceleration or deceleration, the thresholds TH3 and TH4 increase or decrease accordingly, thereby preventing erroneous detection of unevenness in situations such as normal acceleration or deceleration. In this example, only sharp acceleration changes are extracted, and the condition of step S79 is satisfied at times t3 and t4, as shown in FIG. 13(c). Strictly speaking, unevenness is detected twice around time t3 and twice around time t4, but for convenience of illustration, only one of each is shown here.

[0091] In this way, it can be said that the discrimination unit 3500 includes a threshold value determination unit, and that the threshold value determination unit executes steps S73 to S77, for example. Furthermore, a threshold value determination unit may be provided separately from the discrimination unit 3500.

[0092] [Third Modification of Second Embodiment] In the second modification of the second embodiment, the predetermined values ​​d1 and d2 are fixed values, but they may be varied depending on the speed. For example, when the speed is high, the change in acceleration also increases, so the predetermined values ​​may be increased.

[0093] Furthermore, since the unevenness detection sensitivity decreases while the motor is being driven, the predetermined values ​​d1 and d2 may be adjusted to be smaller when the output torque required by the drive control unit 3400b from the motor 105 increases, and may be adjusted to be larger when the output torque decreases.

[0094] Furthermore, if noise superimposed on the acceleration increases when the motor 105 is in a driving state, resulting in an increase in false detections, the threshold value may be invalidated when the drive control unit 3400b detects that the output torque required of the motor 105 exceeds the threshold value or that the motor 105 is in a driving state. Also, the absolute value of the threshold value may be increased to reduce sensitivity.

[0095] This is generally applicable to unevenness detection using a threshold value.

[0096] [Fourth Modification of the Second Embodiment] If an appropriate time constant is set, a value equivalent to the differential value of the speed can be obtained by performing HPF processing on the vehicle speed, so the technology described above may be applied to the vehicle speed after the HPF processing.

[0097] [Fifth Modification of the Second Embodiment] When the electrically power-assisted bicycle 1 travels over uneven surfaces, the acceleration often exhibits a waveform that swings between positive and negative values ​​in a short period of time, assuming that the actual acceleration at that time is 0, as shown in Figure 9 etc. Therefore, it may be determined that unevenness has been detected only if the acceleration exceeds both the positive and negative thresholds within a predetermined time T4 (for example, 100 ms).

[0098] The process flow for performing such detection is shown in Figures 14 to 19. Note that steps S95 to S135 are executed for each control cycle.

[0099] First, the discrimination unit 3500 resets a count for measuring a predetermined time T4 (FIG. 14: step S91). The discrimination unit 3500 also sets an initial detection flag to off to prevent erroneous detection at the start of operation (step S93).

[0100] Then, the calculation unit 3100b performs the process described in the first embodiment to output the acceleration (=vehicle body acceleration) to the determination unit 3500. The determination unit 3500 acquires the acceleration from the calculation unit 3100b as the current acceleration (step S95).

[0101] Thereafter, the discrimination unit 3500 determines whether the previous acceleration (the acceleration one control cycle ago) and the current acceleration satisfy Condition 1 (step S97). Condition 1 is that the previous acceleration is equal to or greater than the threshold value TH21 and the current acceleration is less than the threshold value TH21. That is, as schematically shown by the arrow a in FIG. 15, this condition indicates that the previous acceleration and the current acceleration cross the threshold value TH21 from above. If the previous acceleration and the current acceleration satisfy Condition 1, the discrimination unit 3500 determines whether the current acceleration is equal to or less than the threshold value TH22 (step S99). This determines whether the previous acceleration and the current acceleration also cross the threshold value TH22 in one control cycle, as schematically shown by the arrow b in FIG. 15. If the condition of step S99 is satisfied, the process proceeds to step S125 in FIG. 18 via a terminal A. On the other hand, if the condition of step S99 is not satisfied, the process proceeds to step S107 in FIG. 17 via a terminal B.

[0102] On the other hand, if the previous acceleration and the current acceleration do not satisfy Condition 1, the discrimination unit 3500 determines whether the previous acceleration and the current acceleration satisfy Condition 2 (step S101). Condition 2 is that the previous acceleration is equal to or less than the threshold value TH22 and the current acceleration is greater than the threshold value TH22. That is, as schematically shown by the arrow d in FIG. 16, this condition indicates that the previous acceleration and the current acceleration cross the threshold value TH22 from below. If the previous acceleration and the current acceleration satisfy Condition 2, the discrimination unit 3500 determines whether the current acceleration is equal to or greater than the threshold value TH21 (step S103). This determines whether the previous acceleration and the current acceleration also cross the threshold value TH21 in one control cycle, as schematically shown by the arrow e in FIG. 16. If the condition of Step S103 is satisfied, the process proceeds to Step S111 in FIG. 17 via a terminal C. On the other hand, if the condition of Step S103 is not satisfied, the process proceeds to Step S121 in FIG. 18 via a terminal D.

[0103] On the other hand, if the previous acceleration and the current acceleration do not satisfy the condition 2 either, the discrimination unit 3500 records the absence of unevenness in, for example, the memory 10211 or outputs the result to the post-processing unit 3600 (step S105). Then, the processing shifts to the processing in FIG. 19 via a terminal E.

[0104] 17 (processing after terminal B), the discrimination unit 3500 determines whether the counter value is equal to or less than a predetermined time T4 and whether the initial detection flag is on (step S107). If the counter value exceeds the predetermined time T4 or if the initial detection flag is off, the discrimination unit 3500 records the absence of unevenness in, for example, memory 10211 or outputs it to the post-processing unit 3600 (step S113). Then, the process proceeds to step S115.

[0105] On the other hand, if the condition of step S107 is satisfied, the discrimination unit 3500 determines whether the previous detection, which is the type of threshold exceedance detected previously, was "negative threshold exceedance" (step S109). If the previous detection was "positive threshold exceedance," this means that positive threshold exceedance has been repeated, and therefore it cannot be said that unevenness has been detected in this modified example 5. Therefore, the process proceeds to step S113.

[0106] On the other hand, if the previous detection was "exceeding the negative threshold," then, as shown by arrow c in Fig. 15, a change in acceleration below the threshold TH22 was detected within the predetermined time T4, and therefore, it has been detected that a change below the negative threshold and a change above the positive threshold occurred within the predetermined time T4. Therefore, the discrimination unit 3500 records the presence of unevenness, for example, in memory 10211 or outputs it to the post-processing unit 3600 (step S111). Then, the process proceeds to step S115.

[0107] In this case, since what has been detected this time is "positive threshold excess," the discrimination unit 3500 stores "positive threshold excess" as the previous detection (step S115). The discrimination unit 3500 also sets the first detection flag to ON (step S117). Furthermore, the discrimination unit 3500 resets the counter for measuring the predetermined time T4 (step S119). Then, the processing proceeds to the processing of FIG. 19 via terminal E.

[0108] 18 (processing after terminal D), the discrimination unit 3500 determines whether the counter value is equal to or less than a predetermined time T4 and whether the initial detection flag is on (step S121). If the counter value exceeds the predetermined time T4 or if the initial detection flag is off, the discrimination unit 3500 records the absence of unevenness in, for example, memory 10211 or outputs it to the post-processing unit 3600 (step S127). Then, the process proceeds to step S129.

[0109] On the other hand, if the condition of step S121 is met, the discrimination unit 3500 determines whether the previous detection, which is the type of threshold exceedance detected previously, was "positive threshold exceedance" (step S123). If the previous detection was "negative threshold exceedance," this means that negative threshold exceedance has been repeated, and therefore it cannot be said that unevenness has been detected in this modified example 5. Therefore, the process proceeds to step S127.

[0110] On the other hand, if the previous detection was "exceeding the positive threshold," then, as shown schematically by arrow f in FIG. 16, an acceleration change exceeding the threshold TH21 has been detected within the predetermined time T4, and therefore, it has been detected that a change equal to or greater than the positive threshold and a change equal to or less than the negative threshold have occurred within the predetermined time T4. Therefore, the discrimination unit 3500 records the presence of unevenness, for example, in memory 10211 or outputs it to the post-processing unit 3600 (step S125). Then, the process proceeds to step S129.

[0111] In this case, since what has been detected this time is "exceeding the negative threshold," the discrimination unit 3500 stores "exceeding the negative threshold" as the previous detection in order to save this (step S129). Then, the processing proceeds to step S117 in FIG. 17 via terminal G.

[0112] 19 (processing after terminal E), the discrimination unit 3500 increments the counter by one control cycle (step S131). Also, the discrimination unit 3500 saves the current acceleration as the previous acceleration for processing in the next control cycle (step S133).

[0113] The control unit 3000b also determines whether a processing termination condition, such as power off, has been met (step S135), and if the processing termination condition has not been met, the processing returns to step S95 via terminal F, and if the processing termination condition has been met, the processing is terminated.

[0114] By performing such processing, when a sharp change in acceleration is detected that exceeds the positive and negative thresholds within a predetermined time T4 as shown in FIG. 9, it can be determined that unevenness has been detected.

[0115] An application example of Modified Example 5 will be described using Fig. 20. Fig. 20(a) shows the change over time in acceleration (=vehicle body acceleration), Fig. 20(b) shows the change over time in counter value, Fig. 20(c) shows the change over time in the first detection flag, Fig. 20(d) shows the change over time in the previous detection (exceeding the positive threshold or exceeding the negative threshold), and Fig. 20(e) shows the state of unevenness detection.

[0116] As shown in Figures 15 and 16, detection is triggered by a change in acceleration crossing a positive threshold TH21 from above and a change in acceleration crossing a negative threshold TH22 from below. In the example of Figure 20(a), at time t11, an acceleration change indicated by arrow a in Figure 15 is detected, the first detection flag is turned on as shown in Figure 20(c), and the previous detection is set to "exceeding positive threshold" as shown in Figure 20(d). Also, the counter starts counting as shown in Figure 20(b).

[0117] Subsequently, in the example of FIG. 20(a), at time t12, an acceleration change indicated by arrow d in FIG. 16 is detected. However, as shown in FIG. 20(b), the counter value is significantly greater than T4, so no unevenness is detected at time t12. At this time t12, the previous detection is "negative threshold exceeded," as shown in FIG. 20(d). However, later, at time t13 as shown in FIG. 20(a), an acceleration change indicated by arrow a in FIG. 15 is detected. Since the counter value has not yet reached T4 as shown in FIG. 20(b), an exceedance of the positive or negative threshold is detected within the predetermined time T4. Therefore, at time t13, an unevenness is detected, as shown in FIG. 20(e). At this time, the previous detection is reversed to "positive threshold exceeded," as shown in FIG. 20(d).

[0118] After that, as shown in Fig. 20(a), at time t14, a change in acceleration indicated by arrow d in Fig. 16 is detected, but as shown in Fig. 20(b), the counter value has already exceeded T4, so no unevenness is detected. However, as shown in Fig. 20(d), the previous detection is reversed to "exceeding negative threshold."

[0119] After that, as shown in Fig. 20(a), at time t15, a change in acceleration indicated by arrow a in Fig. 15 is detected, but as shown in Fig. 20(b), the counter value has already greatly exceeded T4, so no unevenness is detected. However, as shown in Fig. 20(d), the previous detection is reversed to "exceeding the positive threshold."

[0120] Thereafter, as shown in FIG. 20(a), at time t16, an acceleration change in the direction of arrow a in FIG. 15 is detected, but as shown in FIG. 20(b), the counter value has already exceeded T4, so no unevenness is detected. Also, because the acceleration change was in the direction of arrow a in FIG. 15, the previous detection remains "positive threshold exceeded," as shown in FIG. 20(d). Similarly, as shown in FIG. 20(a), at time t17, an acceleration change in the direction of arrow a in FIG. 15 is detected, and although the counter value has not yet reached T4, as shown in FIG. 20(b), the previous detection remains "positive threshold exceeded," so no unevenness is detected at time t17 either.

[0121] Thereafter, as shown in FIG. 20(a), at time t18, an acceleration change indicated by arrow a in FIG. 15 is detected. However, as shown in FIG. 20(b), the counter value has already exceeded T4, so no unevenness is detected. The previous detection also remains as "positive threshold exceeded." Meanwhile, as shown in FIG. 20(a), at time t19, an acceleration change indicated by arrow d in FIG. 16 is detected. As shown in FIG. 20(b), the counter value has not yet reached T4, so both the positive and negative threshold exceeded values ​​are detected within the predetermined time T4. Therefore, at time t19, an unevenness is detected, as shown in FIG. 20(e). Note that, as shown in FIG. 20(d), the previous detection is reversed to "negative threshold exceeded."

[0122] Furthermore, as shown in Fig. 20(a), at time t20, a change in acceleration indicated by arrow a in Fig. 15 is detected, and as shown in Fig. 20(b), the counter value has not yet reached T4, meaning that a negative or positive threshold exceedance is detected within the predetermined time T4, so that at time t20, as shown in Fig. 20(e), an unevenness is detected. Note that as shown in Fig. 20(d), the previous detection is reversed to "positive threshold exceedance."

[0123] Thereafter, as shown in FIG. 20(a), even at time t21, a change in acceleration indicated by arrow d in FIG. 16 is detected, and as shown in FIG. 20(b), the counter value has not yet reached T4, meaning that a positive or negative threshold exceedance has been detected within the predetermined time T4. Therefore, as shown in FIG. 20(e), an unevenness is detected even at time t21. Note that, as shown in FIG. 20(d), the previous detection is reversed to "negative threshold exceedance." Thereafter, no unevenness is detected.

[0124] In this way, it becomes possible to appropriately detect unevenness.

[0125] In the above processing flow, the first detection flag is introduced to prevent unevenness detection if the acceleration exceeds the threshold only once within the predetermined time T4 after the power is turned on, but other mechanisms that have a similar effect may also be adopted.

[0126] Furthermore, since unevenness cannot be detected properly unless the predetermined time T4 is greater than the control period, the predetermined time is set appropriately.

[0127] Furthermore, unevenness is detected when the "previous detection" switches from "exceeding the positive threshold" to "exceeding the negative threshold" or when "exceeding the negative threshold" to "exceeding the positive threshold", but in some cases it may be sufficient to detect consecutive exceedances of the threshold within a specified time T4.

[0128] Furthermore, a positive threshold TH23 having an absolute value smaller than that of the threshold TH21 and a negative threshold TH24 having an absolute value smaller than that of the threshold TH22 may be introduced, and unevenness may be detected when the acceleration is equal to or smaller than the threshold TH24 within a predetermined time T4 before and after the acceleration is equal to or larger than the threshold TH21, or when the acceleration is equal to or larger than the threshold TH23 within a predetermined time T4 before and after the acceleration is equal to or smaller than the threshold TH22. This is because unevenness may be detected even in cases where the acceleration fluctuates between positive and negative values ​​when traveling over uneven surfaces. Rather than simply adopting the thresholds TH23 and TH24, introducing the thresholds TH23 and TH24 into the thresholds TH21 and TH22 increases the likelihood of properly detecting unevenness.

[0129] [Sixth Modification of the Second Embodiment] Although the example using the calculation unit 3100b has been shown above, the calculation unit 3100 in the first embodiment may be used in some cases.

[0130] [Embodiment 3] In the second embodiment, the road surface conditions are determined by comparing the acceleration with a threshold value, but depending on the operating state of the motor and the operation state by the occupant, it may be preferable to add some innovation to the detection of unevenness.

[0131] In this embodiment, a method is adopted to suppress erroneous detection of concavities and convexities by introducing a threshold determination unit that detects events that are likely to cause erroneous detection of concavities and convexities and that invalidates the affected thresholds.

[0132] 21 shows an example of the functional configuration of a control unit 3000c according to this embodiment. The control unit 3000c includes a calculation unit 3100b, a discrimination unit 3500b, a post-processing unit 3600, a threshold value determination unit 3700, and a motor control unit 3800.

[0133] The calculation unit 3100b is the same as the calculation unit 3100b in the second embodiment, but may be the calculation unit 3100 in the first embodiment in some cases. The discrimination unit 3500b compares the acceleration output from the calculation unit 3100b with a threshold value based on a threshold value specified by the threshold value determination unit 3700 to determine whether or not there are unevenness. The post-processing unit 3600 is the same as the post-processing unit 3600 in the second embodiment. The motor control unit 3800 controls the motor 105, such as powering and regenerative braking, based on the crank rotation, motor rotation, input torque based on the crank rotation, and brake input. Note that the specific control method is not a main part of this embodiment and is the same as the conventional method, so a description thereof will be omitted. The threshold value determination unit 3700 determines a threshold value to be used by the discrimination unit 3500b based on the brake input, input torque, and output from the motor control unit 3800, and outputs the determined threshold value to the discrimination unit 3500b.

[0134] Next, the processing according to this embodiment will be described with reference to FIGS.

[0135] The calculation unit 3100b performs the processing described in the first embodiment to output the acceleration (=vehicle body acceleration) to the discrimination unit 3500b. The discrimination unit 3500b acquires the acceleration from the calculation unit 3100b as the current acceleration (step S141). The motor control unit 3800 also acquires crank rotation, motor rotation, input torque based on the crank rotation, brake input, etc., and determines the output torque of the motor 105 based on these. The motor control unit 3800 also outputs the value of the output torque to the threshold determination unit 3700. When a positive output torque is instructed to the motor 105, power running is performed, and when a negative output torque is instructed to the motor 105, regenerative braking is performed.

[0136] The threshold value determination unit 3700 then determines whether the power-assisted bicycle 1 is in a braking state (step S143). More specifically, it determines whether the output torque is less than 0, or whether a brake operation is detected from the brake input. If the power-assisted bicycle 1 is not in a braking state, the process proceeds to the process in FIG. 23 via terminal H.

[0137] On the other hand, if the vehicle is in a braking state, the threshold value determination unit 3700 disables the negative threshold value TH32, enables the positive threshold value TH31, and notifies the discrimination unit 3500b. The discrimination unit 3500b then determines whether the acquired acceleration is equal to or greater than the positive threshold value TH31 (step S145). The discrimination unit 3500b no longer determines whether the acquired acceleration is equal to or less than the disabled negative threshold value TH32.

[0138] If the acceleration is equal to or greater than the threshold value TH31, the discriminator 3500b records the presence of unevenness in, for example, the memory 10211 or outputs the result to the post-processor 3600 (step S147). Then, the process proceeds to step S151.

[0139] On the other hand, if the acceleration is less than the threshold value TH31, the discriminator 3500b records the absence of unevenness in, for example, the memory 10211 or outputs the result to the post-processor 3600 (step S149). Then, the process proceeds to step S151.

[0140] The control unit 3000c also determines whether a processing termination condition, such as power off, has been met (step S151). If the processing termination condition has not been met, the processing returns to step S141; if the processing termination condition has been met, the processing is terminated.

[0141] 23 (processing after terminal H), the threshold value determination unit 3700 determines whether the power-assisted bicycle 1 is in a power running state (step S153). Specifically, it determines whether the output torque is greater than 0 or the input torque due to crank rotation is greater than 0. If the power-assisted bicycle 1 is not in a power running state, the process proceeds to step S159.

[0142] On the other hand, if the vehicle is in the powering state, the threshold value determination unit 3700 disables the positive threshold value TH31, enables the negative threshold value TH32, and notifies the discrimination unit 3500b. The discrimination unit 3500b then determines whether the acquired acceleration is equal to or less than the negative threshold value TH32 (step S155). The discrimination unit 3500b no longer determines whether the acquired acceleration is equal to or greater than the disabled positive threshold value TH31.

[0143] If the acceleration is equal to or less than the threshold value TH32, the discriminator 3500b records the presence of unevenness in, for example, the memory 10211 or outputs the result to the post-processor 3600 (step S157). Then, the process proceeds to step S151 via a terminal J.

[0144] On the other hand, if the acceleration exceeds the threshold value TH32, the discriminator 3500b records the absence of unevenness in, for example, the memory 10211 or outputs the result to the post-processor 3600 (step S161). Then, the process proceeds to step S151 via a terminal J.

[0145] On the other hand, if the vehicle is not in a powering state or a braking state, the threshold value determination unit 3700 activates both the positive threshold value TH31 and the negative threshold value TH32 and notifies the discrimination unit 3500b. The discrimination unit 3500b then determines whether the acceleration is equal to or greater than the threshold value TH31 or equal to or less than the threshold value TH32 (step S159). If the condition of step S159 is met, the process proceeds to step S157, and if the condition of step S159 is not met, the process proceeds to step S161.

[0146] By performing such processing, the probability of erroneous detection of unevenness during braking or powering can be reduced, and appropriate detection of unevenness can be achieved.

[0147] An application example of the processing according to this embodiment is shown in Fig. 24. Fig. 24(a) shows the change over time in acceleration (=vehicle body acceleration) and the change over time in whether thresholds TH31 and TH32 are valid or invalid, Fig. 24(b) shows the change over time in whether a powering state is present, Fig. 24(c) shows the change over time in whether a braking state is present, and Fig. 24(d) shows the state of unevenness detection.

[0148] As shown in FIG. 24(b), from time t21 to time t22, the vehicle is in a powering state, so the positive threshold value TH31 is invalidated, as indicated by the dotted line in FIG. 24(a). Therefore, as shown in FIG. 24(a), even if the acceleration is equal to or greater than the threshold value TH31, no unevenness is detected. On the other hand, from time t25 to time t26, the vehicle is in a braking state, so the negative threshold value TH32 is invalidated, as indicated by the dotted line in FIG. 24(a). Therefore, as shown in FIG. 24(a), even if the acceleration is equal to or less than the threshold value TH32, no unevenness is detected. On the other hand, at times t23 and t24, when the vehicle is coasting and not in a braking or powering state, both the positive threshold value TH31 and the negative threshold value TH32 are valid. Therefore, unevenness is detected at time t23 when the acceleration is equal to or greater than the positive threshold value TH31 and at time t24 when the acceleration is equal to or less than the negative threshold value TH32.

[0149] In the above, false detection of unevenness was suppressed by disabling the threshold, but the same effect can also be achieved by the threshold determination unit 3700 increasing the absolute value of the threshold to reduce the sensitivity of unevenness detection.

[0150] [Modification 1 of the Third Embodiment] As a method for adjusting the threshold value, in addition to adjusting the threshold value based on the output torque, the input torque due to crank rotation, and the brake operation, the vehicle speed may also be used.

[0151] Even when traveling over the same uneven surface, the impact increases as the vehicle speed increases. Accordingly, the range of change in acceleration caused by traveling over uneven surfaces tends to increase as the vehicle speed increases. In other words, if a constant threshold value is used, the sensitivity of uneven surface detection increases as the vehicle speed increases. For this reason, it is desirable to change the positive threshold value so that it has a positive correlation with the vehicle speed, at least when the vehicle speed falls within a predetermined high-speed range. Similarly, it is desirable to change the absolute value of the negative threshold value so that it has a positive correlation with the vehicle speed. Note that the vehicle speed range within which the threshold value should be changed should be appropriately set so that the threshold value does not become too small in the low-speed range.

[0152] [Embodiment 4] In the above-described embodiment, unevenness is simply detected as the road surface condition, but in this embodiment, an example will be described in which the unevenness detection results are utilized for road repair.

[0153] For example, by collecting data on the positions where irregularities are detected from a plurality of power-assisted bicycles 1, it is possible to identify areas on the road that require repair.

[0154] For this purpose, a system such as that shown in Fig. 25 is introduced. An electrically power assisted bicycle 1b according to this embodiment has a control unit 3000d, a positioning unit 4000 that measures the position of the electrically power assisted bicycle 1 using GPS or the like, and a communication unit 5000 that transmits data on the detected positions of unevenness.

[0155] Control unit 3000d according to this embodiment serves as post-processing unit 3600 and records the position data (i.e., latitude and longitude) measured by positioning unit 4000 at the timing when discrimination unit 3500 or 3500b detects unevenness in a storage device such as memory 10211. Communication unit 5000 is, for example, a wireless communication device, and transmits the data on the detected positions of unevenness to information processing device 9000, which collects the data, at an appropriate timing via a network such as Internet 10000.

[0156] It is also possible for the motor control device 102 of the electrically power assisted bicycle 1 not to include the communication unit 5000, but to connect an external storage device such as a USB (Universal Serial Bus) memory and write data on the detected position of unevenness to that storage device. Similarly, it is also possible for the motor control device 102 of the electrically power assisted bicycle 1 not to include the communication unit 5000 and the positioning unit 4000, but to connect a mobile terminal such as a smartphone to the motor control device of the electrically power assisted bicycle 1 while riding, and for the positioning unit in the mobile terminal to detect the position in response to an unevenness detection event output from the motor control device 102, and for that position data to be sent from the mobile terminal to the information processing device 9000.

[0157] The information processing device 9000 has a receiving unit 9100 that receives data on the detected positions of unevenness from multiple power-assisted bicycles 1, a data storage unit 9200 that accumulates the position data received by the receiving unit 9100, and an output processing unit 9300 that performs predetermined processing on the data accumulated in the data storage unit 9200 and outputs data on areas that need repair, for example, to a road administrator. For example, processing such as mapping the detected positions of unevenness on a map may be performed.

[0158] Furthermore, the timing for transmitting data on the detected positions of the unevenness to the information processing device 9000 is arbitrary, and may be periodically, in real time, in response to a request from the information processing device 9000, or at any other arbitrary timing.

[0159] This makes it easier to identify areas that need repair. In other words, while similar information could previously only be obtained through direct confirmation by road administrators or reports from road users, adopting a system like this makes it easier to collect information. For example, this system would be even more effective if it were introduced into rental bicycles or shared bicycles. In addition, the use of electrically assisted vehicles is expected to make it possible to understand the road surface conditions of roads or road sections (such as shoulders) that are not traveled by automobiles or that are not often traveled.

[0160] The output processing unit 9300 may not simply output the detected positions of irregularities on a map, but may also calculate the detection frequency for each predetermined unit area and extract unit areas that are frequently detected. For example, by extracting areas where irregularities have been detected a predetermined number of times or more, it is possible to confirm that the area is frequently traveled, eliminate false detections of irregularities, and more easily identify areas that should be prioritized for repair. Note that instead of simply detecting the frequency of irregularities, other statistical index values ​​may be defined, and areas that should be repaired may be extracted based on the index values.

[0161] Furthermore, the data collected from the power-assisted bicycle 1 is not limited to position data. The recording unit 3900 may record position data as route data even when bumps are not detected, and may record the position when bumps are detected by linking it to data indicating the bump detection. Time data may also be added. Furthermore, the peak acceleration at the time of bump detection (maximum value when the acceleration is above a positive threshold, and minimum value when the acceleration is below a negative threshold) may also be recorded. The data recorded in this manner may be stored in the information processing device 9000.

[0162] Once the travel route data is collected, the output processing unit 9300 may extract travel route data representing similar travel routes and extract locations where irregularities are detected with a high probability in similar travel routes. In this case, the number of records of similar travel routes may be cut off.

[0163] Furthermore, if the peak acceleration at the time of unevenness detection can also be collected, the output processing unit 9300 may be configured to determine the level of unevenness based on the peak acceleration. Because the greater the drop in the step, the greater the peak acceleration, the greater the magnitude of the unevenness can be estimated from the peak acceleration, which can be used to determine repair priorities, etc. The recording unit 3900 may record the ratio of the peak acceleration to the threshold value and store it in the information processing device 9000. When the vehicle speed and the threshold value are linked, the level of the unevenness is corrected by the vehicle speed, so obtaining such data allows for more accurate estimation of the level of the unevenness. The vehicle speed at the unevenness detection position may also be recorded and stored in the information processing device 9000, and the output processing unit 9300 may perform processing to determine the level of the unevenness. The information processing device 9000 may implement the above functions using multiple information processing devices, rather than a single device.

[0164] [Embodiment 5] In this embodiment, for example, the detection result of the unevenness may be reflected in the control of the power running by the motor control unit 3800.

[0165] For example, while traveling on a slippery unpaved road (e.g., a rough road surface such as a gravel road) or a road surface with many bumps, the acceleration fluctuates frequently up and down. Therefore, bumps and dips are detected frequently during that time. In this way, bump detection can be used to determine whether or not the vehicle is traveling on a slippery road surface. Since it is not desirable to have the motor 105 output a large output torque on a slippery road surface, the output torque of the motor 105 is suppressed. For example, the assist ratio, which is the ratio of the output torque by the motor 105 to the input torque by crank rotation, is reduced.

[0166] Fig. 26 shows an example of operation according to this embodiment. Fig. 26(a) shows the change over time in acceleration (=vehicle body acceleration), Fig. 26(b) shows the state of unevenness detection, Fig. 26(c) shows the change over time in the number of unevenness detections within a predetermined time (for example, 1 second), Fig. 26(d) shows the state of detection of a slippery road surface, and Fig. 26(e) shows the change over time in the maximum value of the assist ratio. Note that here, unevenness is detected when acceleration is equal to or greater than a positive threshold or equal to or less than a negative threshold. The threshold (predetermined number) for the number of unevenness detections is, for example, 3.

[0167] In this example, bump detection is performed at times t31 and t32, and the bump detection count increases to 2. However, bump detection does not continue beyond that, and the bump detection count for a predetermined period of time (e.g., within one second) becomes 0 just before time t33. Subsequently, bump detection is performed at times t33, t34, and t35, and the bump detection count reaches 3. Therefore, at time t35, it is determined that the vehicle is traveling on a slippery road surface, as shown in FIG. 26(d). Then, as shown in FIG. 26(e), at time t35, an instruction is issued to the motor control unit 3800 to lower the maximum assist ratio. For example, the maximum assist ratio may be lowered by subtracting a predetermined value (e.g., 0.5) from the original maximum assist ratio or by multiplying the original maximum assist ratio by a predetermined value (e.g., 0.8). This reduces the maximum assist ratio, thereby lowering the applied assist ratio. The original maximum assist ratio is determined by user instructions, system settings, etc.

[0168] In the example of Figure 26, unevenness is detected one after another after this, and the number of unevenness detections within a predetermined time period continues to exceed the predetermined number, but if the number of unevenness detections falls below the predetermined number, the maximum value of the assist ratio is returned to its original value.

[0169] It should be noted that, instead of lowering the maximum value of the assist ratio, the maximum time change rate of the output torque from the motor 105 may be suppressed to a predetermined value (for example, 10 Nm / s). This makes it possible to reduce the risk of slipping due to sudden acceleration.

[0170] Although the embodiments of the present invention have been described above, the present invention is not limited to these. For example, depending on the purpose, any technical feature in each of the above-described embodiments may be deleted, or any technical feature described in another embodiment may be added. Furthermore, any technical feature in any of the embodiments may be combined.

[0171] Furthermore, the functional block diagram described above is an example, and one functional block may be divided into multiple functional blocks, or multiple functional blocks may be integrated into one functional block. Regarding the processing flow, the order of steps may be changed or multiple steps may be executed in parallel, as long as the processing content remains the same.

[0172] Furthermore, in the first embodiment, an example was shown in which, for a predetermined time after switching between the drive state and the non-drive state, the acceleration calculated by the calculation unit 3100 is not adopted as is, but an acceleration determined in accordance with a predetermined rule is selected. However, when the road surface conditions are determined by the determination unit 3500 or the like, the determination of the road surface conditions may be stopped for a predetermined period of time. Note that, when an event is detected in which the acceleration calculated by the calculation unit 3100 is not adopted as is, rather than switching between the drive state and the non-drive state, the determination may be stopped in the same way. Furthermore, the road surface conditions are not limited to the simple presence or absence of unevenness, but also include slippery roads with frequent unevenness.

[0173] The above-described embodiment can be summarized as follows.

[0174] The control device according to this embodiment includes: (A) a calculation unit that calculates the acceleration of the vehicle based on rotation information of a motor that rotates in synchronization with the rotation of the wheels provided on the vehicle; and (B) a selection unit that selects, as the acceleration to be adopted, either a first acceleration calculated by the calculation unit for a specific point in time (for example, the processing point in time or a point in time a certain time before the processing point in time) based on information regarding at least one of the operating state of the motor and the operating state of the vehicle by the occupant, or a second acceleration that is different from the first acceleration and is determined according to a predetermined rule.

[0175] In the case of an electrically assisted vehicle, the motor's operating state and the vehicle's occupant's operation state can affect the motor's rotation, which can in turn affect the vehicle's acceleration calculated from the motor's rotation information. To address this, the selection unit described above is introduced to ensure that an appropriate acceleration can be obtained.

[0176] The above-mentioned selection unit may be configured to select the second acceleration within a predetermined time from the detection of a predetermined event when the selection unit detects a predetermined event from information relating to at least one of the operating state of the motor and the operating state of the vehicle by the occupant, in order to appropriately suppress the above-mentioned influence.

[0177] The second acceleration may be an acceleration corrected based on the jerk immediately before the detection of the predetermined event, and is estimated by assuming that the rate of change in acceleration immediately before the detection of the predetermined event will continue.

[0178] The second acceleration may be an acceleration calculated by the calculation unit before the detection of the predetermined event, in order to remove noise that may be included in the acceleration.

[0179] In addition, the specific time point mentioned above may be a time point a certain time before the present, and the second acceleration mentioned above may be the acceleration adopted immediately before. In this way, even if the detection of a predetermined event is delayed, the influence of the predetermined event can be suppressed. In addition, it is preferable that the predetermined time is greater than the certain time.

[0180] Furthermore, the control device described above may further include a determination unit that determines the condition of the road surface on which the vehicle is traveling based on a value obtained by performing a predetermined process on the selected acceleration. In this manner, the acceleration may be used to determine the condition of the road surface. Note that the acceleration used to determine the condition of the road surface may be the acceleration calculated by the calculation unit in some cases.

[0181] The above-mentioned processing may be a filtering process or a differentiation process. The filtering process may be, for example, a HPF, a combination of a HPF and a LPF, or a BPF (Band Pass Filter) in some cases.

[0182] The above-described process may also be a process for generating a threshold value based on a second value obtained by smoothing the selected acceleration, in which case the above-described discrimination unit may discriminate the road surface conditions by comparing the selected acceleration with the threshold value. This is to address the possibility that a fixed threshold value may cause an erroneous detection of the road surface conditions due to a simple increase or decrease in acceleration.

[0183] The above process may also be a process of generating a threshold value by adding a predetermined value to a second value. The predetermined value may be a positive value, a negative value, or both. Furthermore, the absolute values ​​of the positive value and the negative value may not be the same.

[0184] The predetermined value may also change depending on the motor output torque or the vehicle speed. For example, there may be cases where the acceleration caused by the motor driving increases monotonically, or where the acceleration caused by unevenness increases depending on the vehicle speed. Therefore, by adjusting the predetermined value, the threshold value is set so that unevenness can be detected appropriately.

[0185] Furthermore, the above-described process may be a process of generating the first threshold value by adding a first predetermined value to the second value and generating the second threshold value by subtracting the second predetermined value from the second value. In this way, it is possible to generate the first threshold value and the second threshold value that change along with the second value, and it is possible to suppress erroneous detection of road surface conditions caused by a simple increase or decrease in acceleration.

[0186] Furthermore, the above-mentioned determination unit may be configured to invalidate the threshold value when at least one of the operating state of the motor and the operation state by the vehicle occupant satisfies a condition. When there is a high possibility of false detection, false detection is suppressed by not comparing the threshold value with the acceleration.

[0187] The control device described above may further include a determination unit that determines the condition of the road surface on which the vehicle is traveling by determining whether the selected acceleration exceeds a first positive threshold and falls below a second negative threshold within a predetermined time. When traveling on an electrically assisted vehicle, if there are bumps or unevenness, a set of positive and negative peaks in the acceleration often occurs. This is to appropriately detect these. Note that the acceleration used to determine the condition of the road surface may be the acceleration calculated by the calculation unit in some cases.

[0188] The control device described above may further include a discrimination unit that determines the condition of the road surface on which the vehicle is traveling by determining whether the selected acceleration exceeds a positive first threshold (e.g., TH21) and falls below a negative second threshold (e.g., threshold TH24) within a predetermined time, or falls below a negative third threshold (e.g., TH22) that is smaller than the second threshold and exceeds a positive fourth threshold (e.g., threshold TH23) that is smaller than the first threshold. The relationship is first threshold > fourth threshold > third threshold > second threshold. Since the appearance of positive and negative acceleration peaks may be asymmetric, setting the thresholds in this way allows appropriate detection of unevenness. Note that the acceleration used to determine the condition of the road surface may be the acceleration calculated by the calculation unit in some cases.

[0189] Furthermore, the above-described control device may further include a determination unit that determines the condition of the road surface on which the vehicle is traveling by comparing the selected acceleration with a threshold value, and a threshold value determination unit that determines the threshold value or invalidates the threshold value depending on at least one of the operating state of the motor and the operation state of the vehicle by the occupant, in order to prepare for possible false detection.

[0190] More specifically, the threshold determination unit described above may disable the threshold or increase the absolute value of the threshold when power driving by the motor, regenerative braking by the motor, input torque by the vehicle occupant, or braking operation by the vehicle occupant is detected.

[0191] Furthermore, the threshold determination unit described above may disable the positive threshold or increase the absolute value of the positive threshold when power driving by the motor or input torque by a vehicle occupant is detected, and may disable the negative threshold or increase the absolute value of the negative threshold when regenerative braking by the motor or braking operation by a vehicle occupant is detected.

[0192] The threshold value determining unit may adjust the threshold value depending on the vehicle speed, the motor output torque, the input torque by the vehicle occupant, or whether or not the vehicle occupant is operating the brakes. For example, the threshold value may be set to a value that reduces sensitivity.

[0193] Furthermore, when a predetermined event is detected from information relating to at least one of the operating state of the motor and the operating state of the vehicle by the occupant, the discrimination unit may suspend discrimination for a predetermined period of time, in order to suppress false detection.

[0194] Furthermore, the above-described control device may further include a determination unit that determines the condition of the road surface on which the vehicle is traveling by comparing the selected acceleration with a threshold value, and a recording unit that records the position where road surface irregularities are detected among the road surface conditions. By extracting data on the position where irregularities are detected in this way via communication or the like and storing it in an information processing device or the like, it becomes possible to grasp the road surface conditions from a statistical perspective. Note that the acceleration used to determine the road surface conditions may be the acceleration calculated by the calculation unit in some cases.

[0195] Furthermore, the control device described above may use an information processing device having an acquisition unit that acquires data on the position where unevenness of the road surface is detected from the road surface conditions and stores it in a memory device, and an extraction unit that extracts abnormal areas (e.g., areas that need to be repaired) based on the position data stored in the memory device.

[0196] The extraction unit described above may also extract abnormal locations based on the number of times the location has been detected, which is stored in the storage device. This is because a single detection may result in a false detection, but if a location is detected multiple times, the possibility of the presence of irregularities increases. It may also be possible to determine whether a location is abnormal based on an index value obtained by processing the number of detections.

[0197] Furthermore, the aforementioned acquisition unit may further acquire acceleration (for example, maximum or minimum (i.e., peak) acceleration) at or near the position where road surface irregularities are detected, and store it in a storage device. The aforementioned extraction unit may then rank abnormal locations based on the acceleration stored in the storage device. If a location has a large acceleration detected, it is predicted that the degree of irregularity is large, making it easier to take measures such as prioritizing repairs to locations where large accelerations or index values ​​obtained from the accelerations indicate large values.

[0198] The control device described above may further include a determination unit that determines the condition of the road surface on which the vehicle is traveling by comparing the selected acceleration with a threshold value, and a control unit that reduces the degree of manual power assistance by the motor or regulates the time rate of change of the degree of manual power assistance by the motor based on the number of times that unevenness is detected among the road surface conditions. Since electrically assisted vehicles are more likely to slip on road surfaces with frequent unevenness, safety is enhanced by reducing the degree of motor assistance or further restricting the time rate of change of the assistance degree to prevent sudden acceleration. Note that the acceleration used to determine the road surface conditions may be the acceleration calculated by the calculation unit in some cases.

[0199] Such a configuration is not limited to the matters described in the embodiment, and may be implemented in other configurations that provide substantially the same effects. [Explanation of symbols]

[0200] 3000, 3000b, 3000c control unit 3100,3100b calculation section 3200 Selection Section 3300,3600 Post-processing section 3400, drive processing unit 3500,3500b Discrimination part 3700 Threshold determination unit 3800 Motor control unit

Claims

1. a calculation unit that calculates an acceleration of the vehicle based on rotation information of a motor that rotates in synchronization with rotation of wheels provided on the vehicle; a selection unit that selects, as an acceleration to be adopted, one of a first acceleration calculated for a specific time point by the calculation unit and a second acceleration that is different from the first acceleration and is determined according to a predetermined rule, based on information regarding at least one of an operating state of the motor and an operation state by an occupant of the vehicle; A control device having the above configuration.

2. The selection unit is When a predetermined event is detected from information on at least one of an operating state of the motor and an operation state of the vehicle by an occupant, the second acceleration is selected within a predetermined time from the detection of the event. The control device according to claim 1.

3. The second acceleration is an acceleration corrected based on a jerk immediately before the detection of the predetermined event. The control device according to claim 2.

4. The second acceleration is an acceleration calculated by the calculation unit before the detection of the predetermined event. The control device according to claim 2.

5. The specific point in time is a point in time a certain time before the present, The second acceleration is the most recently adopted acceleration. The control device according to claim 2.

6. a determination unit that determines the condition of the road surface on which the vehicle is traveling based on a value obtained by performing a predetermined process on the selected acceleration; The control system of claim 1 further comprising:

7. The processing is a filtering process or a differentiation process. The control device according to claim 6.

8. the process generates a threshold value based on a second value obtained by smoothing the acceleration, The discrimination unit is The selected acceleration is compared with the threshold value to determine the road surface condition. The control device according to claim 6.

9. The process generates a threshold value by adding a predetermined value to the second value. The control device according to claim 8.

10. The predetermined value varies depending on the output torque of the motor or the speed of the vehicle. The control device according to claim 9.

11. The process is a process of adding a first predetermined value to the second value to generate a first threshold value, and subtracting a second predetermined value from the second value to generate a second threshold value. The control device according to claim 9.

12. The determination unit invalidates the threshold value when at least one of an operating state of the motor and an operation state by an occupant of the vehicle satisfies a condition. The control device according to claim 6.

13. a determination unit that determines whether the selected acceleration exceeds a first positive threshold value and falls below a second negative threshold value within a predetermined time period, thereby determining the condition of the road surface on which the vehicle is traveling. The control system of claim 1 further comprising:

14. a determination unit that determines whether the selected acceleration exceeds a positive first threshold value and falls below a negative second threshold value, or falls below a negative third threshold value that is smaller than the second threshold value and exceeds a positive fourth threshold value that is smaller than the first threshold value, within a predetermined time period, to determine the condition of the road surface on which the vehicle is traveling. The control system of claim 1 further comprising:

15. a discrimination unit that discriminates a condition of a road surface on which the vehicle is traveling by comparing the selected acceleration with a threshold value; a threshold determination unit that determines the threshold or invalidates the threshold depending on at least one of an operating state of the motor and an operation state by an occupant of the vehicle; The control system of claim 1 further comprising:

16. The threshold determination unit: When power driving by the motor, regenerative braking by the motor, input torque by an occupant of the vehicle, or a brake operation by an occupant of the vehicle is detected, the threshold value is invalidated or the absolute value of the threshold value is increased. The control device according to claim 15.

17. The threshold determination unit: When power driving by the motor or an input torque by an occupant of the vehicle is detected, the positive threshold value is invalidated or the absolute value of the positive threshold value is increased; When regenerative braking by the motor or a brake operation by an occupant of the vehicle is detected, the negative threshold is invalidated or the absolute value of the negative threshold is increased. The control device according to claim 15.

18. The threshold determination unit: The threshold value is adjusted according to a speed of the vehicle, an output torque of the motor, an input torque by an occupant of the vehicle, or whether or not a brake operation is performed by the occupant of the vehicle. The control device according to claim 15.

19. When a predetermined event is detected from information relating to at least one of an operating state of the motor and an operation state by an occupant of the vehicle, the discrimination unit stops discrimination for a predetermined period of time.

16. A control device according to claim 6, 13, 14 or 15.

20. a discrimination unit that discriminates a condition of a road surface on which the vehicle is traveling by comparing the selected acceleration with a threshold value; a recording unit that records a position where unevenness of the road surface is detected among the road surface conditions; The control system of claim 1 further comprising:

21. an acquisition unit for acquiring data on a position where the unevenness of the road surface is detected from among the road surface conditions in the control device according to claim 20, and storing the data in a storage device; an extraction unit that extracts an abnormality location based on the position data stored in the storage device; An information processing device having the above configuration.

22. The extraction unit extracts an abnormality location based on the number of detections of the position stored in the storage device.

22. The information processing device according to claim 21.

23. The acquisition unit further acquires acceleration at a position where the unevenness of the road surface is detected or in the vicinity of the position, and stores the acceleration in the storage device; The extraction unit orders the abnormality locations based on the accelerations stored in the storage device.

22. The information processing device according to claim 21.

24. a discrimination unit that discriminates a condition of a road surface on which the vehicle is traveling by comparing the selected acceleration with a threshold value; a control unit that suppresses a degree of human power assistance by the motor or regulates a time rate of change of the degree of human power assistance by the motor based on a number of times that unevenness of the road surface is detected among the road surface conditions; The control system of claim 1 further comprising:

25. An electrically assisted vehicle equipped with the control device according to claim 1.

Citation Information

Patent Citations

  • Motor-driven bicycle

    JP1996258782A

  • Vehicle position correction apparatus

    JP2015021858A

  • Unevenness analysis program, unevenness analysis method, and unevenness analysis device

    JP2015094680A

  • Power-assisted bicycle

    WO2014050474A1