A method, device, structure, electronic device and storage medium for controlling an electric bicycle

By installing multiple Hall sensing elements on a power-assisted electric bicycle, the average torque and bicycle status are determined, and the motor output is switched. This solves the problems of frequent motor starts and stops and poor riding experience in the existing technology, and achieves cost reduction. and improved riding experience.

CN114872823BActive Publication Date: 2024-08-23CETHIK GRP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210525924.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-13
Publication Date
2024-08-23
Estimated Expiration
2042-05-13

AI Technical Summary

Technical Problem

Existing power-assisted electric bicycle control methods cannot effectively determine the user's riding status, such as empty pedaling, acceleration, smooth riding, etc., resulting in frequent starts and stops of the motor, affecting the riding experience, and high sensor installation costs.

Method used

Multiple Hall sensing elements are used to fix the rear wheel bearing of the power-assisted electric bicycle. By receiving the sensing signals, the average torque, bicycle acceleration and speed are determined, and the driving state of the power-assisted electric bicycle is switched to realize the matching of the motor output and the user's intention. match.

Benefits of technology

It reduces the cost of sensors, improves the matching between motor output and user intention, reduces the problem of frequent motor starts and stops, and improves the riding experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114872823B
    Figure CN114872823B
Patent Text Reader

Abstract

The disclosed embodiments provide a method, device, structure, electronic device and storage medium for controlling an assisted electric bicycle. The method includes: receiving a first sensor signal generated by a first sensor element and a second sensor signal generated by multiple second sensor elements; the first sensor element and the second sensor element are fixed at the rear wheel bearing of the assisted electric bicycle; based on the second sensor signal, determining the average torque; the average torque represents the average torque difference between the chain and the rear wheel per rotation of the wheel; based on the second sensor signal, determining the bicycle acceleration; based on the first sensor signal, determining the bicycle speed; switching the driving state of the assisted electric bicycle according to at least one of the average torque, bicycle acceleration, bicycle speed and the current driving state of the assisted electric bicycle. The disclosed embodiments provide a method for controlling an assisted electric bicycle, which can improve the matching degree between the motor output and the user's riding intention.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of bicycles, and in particular to a control method, device, structure, electronic equipment and storage medium for an assisted electric bicycle. Background Art

[0002] Power-assisted electric bicycles use batteries as auxiliary power sources, are equipped with motors, and have power-assisted systems. They are a new type of transportation that can realize the integration of human riding and motor assistance. The difference between power-assisted electric bicycles and electric vehicles is that they need to detect whether there is human input, and the motor will only provide assistance when people pedal. With the development of power-assisted electric bicycles, higher requirements are placed on the automatic control and riding experience of power-assisted electric bicycles.

[0003] The current control method of power-assisted electric bicycles uses speed sensors or torque sensors for detection, which has high installation costs. Moreover, when using sensors to judge the power of electric bicycles, only the start and stop of the user's riding can be judged, and it is impossible to judge the user's empty pedaling, acceleration, stable riding, etc. In addition, in the existing scheme of using speed sensors to control motor output, since the power output judgment is performed using the pedaling frequency signal, only the start and stop of the motor can be controlled. When the pedaling speed is greater than the actual speed of the bicycle, the motor starts to assist, and when the actual speed of the bicycle is greater than the pedaling speed, the motor assistance will be stopped. This causes the motor to start and stop continuously, resulting in continuous fluctuations in the speed of the power-assisted electric bicycle, which makes the user's riding experience poor. Summary of the invention

[0004] In view of the defects in the prior art, the embodiments of the present disclosure provide a method, device, structure, electronic device and storage medium for controlling an assisted electric bicycle, which can improve the matching degree between the motor output and the user's riding intention.

[0005] The disclosed embodiment provides a method for controlling an assisted electric bicycle, the method comprising: receiving a first sensor signal generated by a first sensor element and a second sensor signal generated by a plurality of second sensor elements; fixing the first sensor element and the second sensor element at a rear wheel bearing of the assisted electric bicycle; determining an average torque based on the second sensor signal; the average torque characterizes an average torque difference between a chain and a rear wheel per rotation of the wheel; determining a bicycle acceleration based on the second sensor signal; determining a bicycle speed based on the first sensor signal; and switching the driving state of the assisted electric bicycle according to at least one of the average torque, the bicycle acceleration, the bicycle speed and the current driving state of the assisted electric bicycle.

[0006] Specifically, the first sensing signal is generated by the first sensing element every time the wheel rotates half a circle.

[0007] Specifically, a magnet is provided on the wheel, and the magnet rotates with the wheel. When the magnet approaches the second sensor element, the second sensor signal is generated by the second sensor element if the instantaneous torque is greater than the first torque threshold.

[0008] Specifically, the interval angle between every two adjacent second sensing elements is a preset interval angle, and the average torque is determined based on the second sensing signal, including: determining the average torque based on the second sensing signal and the number of second sensing elements.

[0009] Specifically, the driving state of the power-assisted electric bicycle is switched according to at least one of the average torque, the bicycle acceleration, the bicycle speed and the current driving state of the power-assisted electric bicycle, including: if the current driving state is a waiting state, detecting the signal interval between the currently received second sensor signal and the last received second sensor signal; if the signal interval is less than the interval threshold and the bicycle acceleration is greater than the first acceleration threshold, switching the power-assisted electric bicycle to an acceleration state.

[0010] Specifically, the driving state of the power-assisted electric bicycle is switched according to at least one of the average torque, bicycle acceleration, bicycle speed and the current driving state of the power-assisted electric bicycle, including: if the current driving state is an acceleration state, the bicycle acceleration is less than a second acceleration threshold or the average torque is less than a second torque threshold, then the power-assisted electric bicycle is switched to a motion holding state.

[0011] Specifically, the driving state of the power-assisted electric bicycle is switched according to at least one of the average torque, the bicycle acceleration, the bicycle speed and the current driving state of the power-assisted electric bicycle, including: if the current driving state is the motion-holding state and the average torque is zero, the power-assisted electric bicycle is switched to the stopped state; or: if the current driving state is the motion-holding state and the bicycle acceleration is greater than the third acceleration threshold, the power-assisted electric bicycle is switched to the acceleration state.

[0012] Specifically, after switching the driving state of the power-assisted electric bicycle according to at least one of the average torque, bicycle acceleration, bicycle speed and the current driving state of the power-assisted electric bicycle, the method also includes: if the power-assisted electric bicycle is in a motion holding state, controlling the current speed of the motor according to the bicycle speed and the average torque.

[0013] Specifically, if the power-assisted electric bicycle is in a motion-holding state, the current speed of the motor is controlled according to the bicycle speed and the average torque, including: if the power-assisted electric bicycle is in a motion-holding state and the average torque is greater than the torque threshold, the output speed corresponding to the bicycle speed is determined according to the bicycle speed; and the current speed of the motor is controlled according to the output speed.

[0014] Specifically, if the power-assisted electric bicycle is in a motion-holding state, the current speed of the motor is controlled according to the bicycle speed and the average torque, including: if the power-assisted electric bicycle is in a motion-holding state and the average torque is less than the torque threshold, when the power-assisted electric bicycle is switched to the motion-holding state, the speed of the motor is determined as the reference speed; the current speed of the motor is controlled according to the reference speed and the average torque.

[0015] Accordingly, an embodiment of the present application provides a power-assisted electric bicycle control device, the device comprising: a receiving module, used to receive a first sensor signal generated by a first sensor element and a second sensor signal generated by multiple second sensor elements; the first sensor element and the second sensor element are fixed at the rear wheel bearing of the power-assisted electric bicycle; an average torque determination module, used to determine the average torque based on the second sensor signal; the average torque characterizes the average torque difference between the chain and the rear wheel per rotation of the wheel; an acceleration determination module, used to determine the bicycle acceleration based on the second sensor signal; a speed determination module, used to determine the bicycle speed based on the first sensor signal; a state switching module, used to switch the driving state of the power-assisted electric bicycle according to at least one of the average torque, bicycle acceleration, bicycle speed and the current driving state of the power-assisted electric bicycle.

[0016] Specifically, the first sensing signal is generated by the first sensing element every time the wheel rotates half a circle.

[0017] Specifically, a magnet is provided on the wheel, and the magnet rotates with the wheel. When the magnet approaches the second sensor element, the second sensor signal is generated by the second sensor element if the instantaneous torque is greater than the first torque threshold.

[0018] Specifically, the interval angle between every two adjacent second sensing elements is a preset interval angle, and the average torque determination module is further used to determine the average torque based on the second sensing signal and the number of second sensing elements.

[0019] Specifically, the state switching module is also used to: if the current driving state is a waiting state, detect the signal interval between the currently received second sensor signal and the last received second sensor signal; if the signal interval is less than the interval threshold and the bicycle acceleration is greater than the first acceleration threshold, switch the power-assisted electric bicycle to the acceleration state.

[0020] Specifically, the state switching module is also used to: if the current driving state is the acceleration state, the bicycle acceleration is less than the second acceleration threshold or the average torque is less than the second torque threshold, then switch the power-assisted electric bicycle to the motion holding state.

[0021] Specifically, the state switching module is also used to: if the current driving state is a motion holding state and the average torque is zero, then the power-assisted electric bicycle is switched to a stop state; or: if the current driving state is a motion holding state and the bicycle acceleration is greater than a third acceleration threshold, then the power-assisted electric bicycle is switched to an acceleration state.

[0022] Specifically, the power-assisted electric bicycle control device also includes a motor control module, which is used to control the current speed of the motor according to the bicycle speed and the average torque if the power-assisted electric bicycle is in a motion-holding state.

[0023] Specifically, the motor control module is also used to: if the power-assisted electric bicycle is in a motion holding state and the average torque is greater than the torque threshold, determine the output speed corresponding to the bicycle speed according to the bicycle speed; and control the current speed of the motor according to the output speed.

[0024] Specifically, the motor control module is also used for: if the assisted electric bicycle is in a motion hold state and the average torque is less than the torque threshold, when the assisted electric bicycle is switched to the motion hold state, the speed of the motor is determined as the reference speed; and the current speed of the motor is controlled according to the reference speed and the average torque.

[0025] Correspondingly, the embodiment of the present disclosure provides a control structure of an assisted electric bicycle, which includes a sensor element, an intermediate disc, an elastic element and a connecting rod; the sensor element is fixed at the rear wheel bearing, and the sensor element includes a first sensor element and multiple second sensor elements; wherein the multiple second sensor elements are arranged in a ring shape with the center of the rear wheel as the center, and the interval angle between every two adjacent second sensor elements is a preset interval angle; the distance between the first sensor element and the center of the rear wheel is a, and the distance between the second sensor element and the center of the rear wheel is b, and a is less than b; the intermediate disc is connected to the connecting rod and the chain, and the intermediate disc and the connecting rod rotate synchronously with the chain; the elastic element is located between the rear wheel and the intermediate disc, and expands and contracts according to the extrusion torque of the intermediate disc, synchronously driving the connecting rod to approach or move away from the sensor element; the connecting rod is provided with a magnet, and when the distance between the magnet and the sensor element is less than the preset distance, the sensor element is activated to generate a sensor signal; wherein, when the connecting rod approaches the first sensor element following the rotation of the chain, the distance between the magnet and the first sensor element is less than the preset distance.

[0026] Accordingly, an embodiment of the present disclosure provides an electronic device, which includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, code set or instruction set, and the at least one instruction, at least one program, code set or instruction set is loaded and executed by the processor to implement the above-mentioned power-assisted electric bicycle control method.

[0027] Accordingly, an embodiment of the present disclosure provides a computer-readable storage medium, in which at least one instruction, at least one program, code set or instruction set is stored, and the at least one instruction, at least one program, code set or instruction set is loaded and executed by a processor to implement the above-mentioned power-assisted electric bicycle control method.

[0028] The embodiments of the present application have the following beneficial effects:

[0029] (1) By setting a plurality of Hall elements to estimate bicycle parameters, a torque sensor or a speed sensor is replaced, thereby reducing the equipment cost of the power-assisted electric bicycle;

[0030] (2) identifying the driving state of the power-assisted electric bicycle according to a plurality of bicycle parameters, so that the power-assisted electric bicycle can be controlled according to different strategies according to the driving state, thereby improving control efficiency;

[0031] (3) By adjusting the motor output under different states to achieve multi-state switching and smooth output, the problem of frequent motor start and stop caused by excessive bicycle speed is reduced, and the problem of mismatch between bicycle speed and expected speed is avoided, thereby improving the matching degree between motor output and user intention. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0033] Figure 1 It is a first flow chart of a method for controlling an electric bicycle provided in an embodiment of the present application;

[0034] Figure 2 It is a second flow chart of a method for controlling an electric bicycle provided in an embodiment of the present application;

[0035] Figure 3 is a third flow chart of a method for controlling an electric bicycle provided in an embodiment of the present application;

[0036] Figure 4 is a fourth flow chart of a method for controlling an electric bicycle provided in an embodiment of the present application;

[0037] Figure 5 It is a structural schematic diagram of a power-assisted electric bicycle control device provided in an embodiment of the present application;

[0038] Figure 6It is a structural schematic diagram of a power-assisted electric bicycle control structure provided in an embodiment of the present application;

[0039] Figure 7 It is a hardware structure block diagram of a server of a power-assisted electric bicycle control method provided in an embodiment of the present application;

[0040] 610 - sensor element, 611 - first sensor element, 612 - second sensor element, 620 - middle disk, 630 - elastic element, 640 - connecting rod, 641 - magnet. DETAILED DESCRIPTION

[0041] In order to make the purpose, technical scheme and advantages of the present application clearer, the embodiments of the present application will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiment is only one embodiment of the present application, not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0042] The "embodiment" referred to herein refers to a specific feature, structure or characteristic that may be included in at least one implementation of the present application. In the description of the embodiments of the present application, it should be understood that the orientation or positional relationship indicated by the terms "upper", "lower", "left", "right", "top", "bottom", etc. is based on the orientation or positional relationship shown in the accompanying drawings, which is only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device / system or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present application. The terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as "first" and "second" may include one or more of the features explicitly or implicitly. Moreover, the terms "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described here can be implemented in an order other than that illustrated or described here. In addition, the terms "including" and "having" / "for" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system / apparatus, product or apparatus comprising a series of steps or units / modules is not necessarily limited to those steps or units / modules explicitly listed, but may include other steps or units / modules not explicitly listed or inherent to such process, method, product or apparatus.

[0043] The following introduces a specific embodiment of a power-assisted electric bicycle control method provided by the present application.

[0044] The embodiment of the present application provides a power-assisted electric bicycle control method for a power-assisted electric bicycle. Specifically, the embodiment of the present application can detect sensor signals through the power-assisted electric bicycle control structure, and determine the parameters and state of the power-assisted electric bicycle through the power-assisted electric bicycle controller. Furthermore, the embodiment of the present application can control the motor of the power-assisted electric bicycle to ensure the smoothness of the user's riding control and the comfort of the user experience.

[0045] The following introduces an exemplary process of a power-assisted electric bicycle control method provided by the present application. Figure 1 This is a first flow chart of a method for controlling an electric bicycle provided in an embodiment of the present application. This specification provides method or process operation steps as shown in the embodiment or flow chart, but may include more or fewer operation steps based on conventional or non-creative work. The sequence of steps listed in the embodiment is only one of many execution sequences and does not represent the only execution sequence. In actual execution, the method or process sequence shown in the embodiment or the drawings may be executed or executed in parallel (for example, in a parallel processor or multi-threaded processing environment). Specifically, Figure 1 As shown, the execution subject of this exemplary process may be a power-assisted electric bicycle controller, and the process includes:

[0046] Step S101: receiving a first sensing signal generated by a first sensing element and second sensing signals generated by a plurality of second sensing elements.

[0047] Specifically, the first sensor element and the second sensor element are fixed at the rear wheel bearing of the power-assisted electric bicycle. The first sensor element and the second sensor element can be Hall elements.

[0048] In a specific embodiment, the structure at the rear wheel bearing may further include a magnet that rotates synchronously with the bicycle chain. As the pedal squeezing torque increases, the magnet may move in a direction away from the center of the rear wheel and closer to the first sensor element and the second sensor element. Specifically, the first sensor element and the second sensor element are both fixed at the bearing and do not rotate with the bicycle. The structure at the rear wheel bearing may further include an intermediate disk, a connecting rod with a magnet installed, and an elastic element located between the intermediate disk and the rear wheel structure. When riding a bicycle, the chain will drive the intermediate disk to rotate, and the rotation of the disk will squeeze the elastic element, and also drive the rear wheel to rotate. As the pedaling torque increases, the elastic element will linearly deform and shorten, causing the connecting rod and the magnet to move in a direction away from the center of the circle.

[0049] Specifically, when the magnet rotates and approaches the first sensor element or the second sensor element, when the distance between the magnet and the first sensor element or the second sensor element is less than the maximum activation distance, the first sensor element or the second sensor element can generate a first sensor signal or a second sensor signal; wherein, when the magnet approaches the first sensor element, the distance between the first sensor element and the magnet must be less than the maximum activation distance. The first sensor signal and the second sensor signal can be high voltage signals. One first sensor element can be provided, and multiple second sensor elements can be provided, wherein the multiple second sensor elements can be provided in a ring shape.

[0050] The embodiment of the present application can estimate the bicycle parameters by setting a plurality of Hall elements, replacing the scheme of setting a torque sensor or a speed sensor, thereby reducing the equipment cost of the power-assisted electric bicycle.

[0051] Step S102: Determine the average torque based on the second sensor signal.

[0052] Specifically, the average torque may represent the average torque difference between the chain and the rear wheel per rotation of the wheel.

[0053] Specifically, a magnet may be provided on the wheel, and the magnet rotates with the wheel. This magnet may be provided alone, or multiple magnets may be evenly provided with the rear wheel as the center. The second sensing signal may be generated by the second sensing element when the magnet approaches the second sensing element and the instantaneous torque is greater than the first torque threshold. The instantaneous torque may characterize the instantaneous average torque difference between the chain and the rear wheel. Specifically, the first torque threshold may be 5N*m. It should be noted that the first torque threshold is not limited here. In some other optional embodiments, the first torque threshold may also be other values.

[0054] In a specific embodiment, the interval angle between every two adjacent second sensing elements may be a preset interval angle. Specifically, the preset interval angle may be 360° / the number of second sensing elements. For example, in an embodiment where the number of second sensing elements is 12, the preset interval angle may be 30°. Since the magnet may approach multiple second sensing elements in sequence for each rotation of the wheel, a high-level signal may be generated or not generated based on whether multiple instantaneous torques are greater than the first torque threshold, and therefore the number of second sensing signals may be calculated to estimate the average torque of the wheel for one rotation. Determining the average torque based on the second sensing signal may include: determining the average torque based on the second sensing signal and the number of second sensing elements. The formula for determining the average torque may be: average torque = preset torque * the number of second sensing signals received per rotation of the wheel / the number of second sensing elements. Specifically, the preset torque may be the first torque threshold.

[0055] Step S103: Determine the bicycle acceleration based on the second sensor signal.

[0056] In a specific implementation, step S101 further includes the step of recording the time interval between the second sensing signals.

[0057] Specifically, according to the time interval and the circumference of the bicycle, the first speed of the bicycle in the first time period between two moments corresponding to two adjacent second sensor signals (i.e., the Nth second sensor signal and the N+1th second sensor signal) can be obtained. According to the recorded time interval, the time interval of the first time period can be determined. The calculation formula of the first speed of the bicycle in the first time period can be: first speed = circumference of the rear wheel of the bicycle / (number of second sensor elements * time interval of the first time period).

[0058] After obtaining the first speed corresponding to two adjacent second sensor signals (i.e., the Nth second sensor signal and the N+1th second sensor signal), the second speed corresponding to the next pair of adjacent second sensor signals (i.e., the N+1th second sensor signal and the N+2th second sensor signal) can be obtained. According to the time interval and the circumference of the bicycle, the second speed of the bicycle in the second time period between the two moments corresponding to the two adjacent second sensor signals (i.e., the N+1th second sensor signal and the N+2th second sensor signal) can be obtained. According to the recorded time interval, the time interval of the second time period can be determined. The calculation formula of the second speed of the bicycle in the second time period can be: second speed = circumference of the bicycle rear wheel / (number of second sensor elements * time interval of the second time period).

[0059] The bicycle acceleration can be derived based on the first speed and the second speed. Specifically, the formula for determining the bicycle acceleration can be: bicycle acceleration=2*(second speed-first speed) / (time interval of the first time period+time interval of the second time period).

[0060] Step S104: Determine the bicycle speed based on the first sensor signal.

[0061] Specifically, the bicycle speed can be obtained according to the first sensor signal generated by the first sensor element. In a specific implementation, one magnet can be provided, or multiple magnets can be evenly provided with the center of the rear wheel as the center of the circle. When the magnet rotates with the chain, when the magnet rotates close to the first sensor element, the first sensor element can generate a first sensor signal. The generation of the first sensor signal can be unaffected by the torque.

[0062] In a specific embodiment, two magnets may be symmetrically arranged, and the first sensor signal may be generated by the first sensor element every time the wheel rotates half a circle, that is, two first sensor signals may be received every time the wheel rotates one circle. In another specific embodiment, one magnet may be arranged, and the first sensor signal may be generated by the first sensor element every time the wheel rotates one circle, that is, one first sensor signal may be received every time the wheel rotates one circle.

[0063] Specifically, the formula for determining the bicycle speed may be: bicycle rear wheel circumference / (number of magnets*time interval of the first sensor signal). For example, in an embodiment where two magnets are provided, the formula for determining the bicycle speed may be: bicycle rear wheel circumference / (2*time interval of the first sensor signal).

[0064] Step S105: switching the driving state of the power-assisted electric bicycle according to at least one of the average torque, the bicycle acceleration, the bicycle speed and the current driving state of the power-assisted electric bicycle.

[0065] In a specific implementation, the driving state of the power-assisted electric bicycle can be determined, and the power-assisted electric bicycle can be controlled according to the determined driving state. The driving state can include five states: initial state, waiting state, acceleration state, motion holding state and stop state. Among them, the control parameters can be initialized in the initial state, and the waiting state can be entered after the parameter initialization is completed; in the waiting state, it can be determined whether to provide assistance; in the acceleration state, starting assistance can be provided when the bicycle starts to help it start; the holding state can provide riding assistance during the stable riding process of the bicycle.

[0066] According to a power-assisted electric bicycle control method of an embodiment of the present application, the driving state of the power-assisted electric bicycle can be identified based on multiple bicycle parameters, so that the power-assisted electric bicycle can be controlled according to different strategies based on the driving state, thereby improving control efficiency.

[0067] Combine the following Figure 2 Step S105 is further described. Figure 2 is a second flow chart of a method for controlling an electric bicycle provided in an embodiment of the present application, specifically as follows Figure 2 The diagram includes:

[0068] Step S201: If the current driving state is a waiting state, a signal interval between a currently received second sensor signal and a last received second sensor signal is detected.

[0069] Step S202: If the signal interval is smaller than the interval threshold, and the bicycle acceleration is greater than the first acceleration threshold, the power-assisted electric bicycle is switched to an acceleration state.

[0070] Specifically, the interval threshold may be 0.1 s. It should be noted that the specific value of the interval threshold is not limited here, and in some other optional embodiments, the interval threshold may also be other values.

[0071] In a specific implementation, step S202 may also be: if the signal interval is less than the interval threshold, and the bicycle acceleration is less than or equal to the first acceleration threshold, switching the power-assisted electric bicycle to the motion holding state.

[0072] Combine the following Figure 3 Step S105 is further described. Figure 3 is a second flow chart of a method for controlling an electric bicycle provided in an embodiment of the present application, specifically as follows Figure 3 The diagram includes:

[0073] Step S301: If the current driving state is an acceleration state, the bicycle acceleration is less than a second acceleration threshold or the average torque is less than a second torque threshold, the power-assisted electric bicycle is switched to a motion holding state.

[0074] In a specific implementation, S301 may be: if the current driving state is an acceleration state, and the bicycle acceleration is less than the second acceleration threshold, the power-assisted electric bicycle is switched to a motion-holding state. In another specific implementation, S301 may be: if the current driving state is an acceleration state, and the average torque is less than the second torque threshold, the power-assisted electric bicycle is switched to a motion-holding state.

[0075] Specifically, the second torque threshold may be 5 N*m. It should be noted that the second torque threshold is not limited here. In some other optional embodiments, the second torque threshold may also be other values.

[0076] In a specific implementation, when the driving state of the power-assisted electric bicycle is an acceleration state, the motor can output a preset acceleration power to provide acceleration assistance to the power-assisted electric bicycle.

[0077] Combine the following Figure 4 Step S105 is further described. Figure 4 4 is a schematic diagram of a fourth flow chart of a method for controlling an electric bicycle provided in an embodiment of the present application, wherein step S105 may include step S401 or step S402. Figure 4 The diagram includes:

[0078] Step S401: If the current driving state is the motion holding state and the average torque is zero, the power-assisted electric bicycle is switched to the stop state.

[0079] Specifically, the average torque of zero indicates that the user does not apply pedal force to the pedals or the pedal force applied by the user to the pedals is less than the starting pedal force threshold, and the power-assisted electric bicycle is switched to a stopped state. In the embodiment of the present application, the power-assisted electric bicycle can be started and operated only when the user applies pedal force.

[0080] Step S402: If the current driving state is the motion holding state, and the bicycle acceleration is greater than the third acceleration threshold, the power-assisted electric bicycle is switched to the acceleration state.

[0081] Specifically, the third acceleration threshold may be equal to the first acceleration threshold; the third acceleration threshold may be a value greater than or equal to the second acceleration threshold.

[0082] In a specific implementation, after step S105, a power-assisted bicycle control method of an embodiment of the present application may further include: if the power-assisted electric bicycle is in a motion holding state, controlling the current speed of the motor according to the bicycle speed and the average torque.

[0083] Specifically, the power-assisted electric bicycle is in a motion-holding state, and the current speed of the motor is controlled according to the bicycle speed and the average torque, which may include: if the power-assisted electric bicycle is in a motion-holding state, and the average torque is greater than the third torque threshold, determining the output speed corresponding to the bicycle speed according to the bicycle speed; and controlling the current speed of the motor according to the output speed. Among them, the output speed can be 80% of the bicycle speed, and the current speed of the motor is controlled to be the output speed, thereby achieving geometric control of the current speed of the motor and the bicycle speed.

[0084] Specifically, the power-assisted electric bicycle is in a motion-holding state, and the current speed of the motor is controlled according to the bicycle speed and the average torque. It may also include: if the power-assisted electric bicycle is in a motion-holding state, and the average torque is less than the third torque threshold, when the power-assisted electric bicycle is switched to the motion-holding state, the output speed of the motor is determined as the reference speed; and the current speed of the motor is controlled according to the reference speed and the average torque. In a specific embodiment, when the power-assisted electric bicycle is switched to the motion-holding state, the average torque may be the third torque threshold. Controlling the current speed of the motor according to the reference speed and the average torque may be: controlling the current speed of the motor to be reference speed*average torque / third torque threshold.

[0085] In a specific implementation, the third torque threshold may be 5 N*m. It should be noted that the third torque threshold is not limited here. In some other optional embodiments, the third torque threshold may also be other values.

[0086] Through a power-assisted electric bicycle control method according to an embodiment of the present application, torque estimation can be performed by setting up multiple low-cost sensor elements, thereby replacing high-cost torque sensors and reducing sensor costs; by determining the acceleration, speed and average torque of the bicycle, the state of the bicycle can be recognized, and the bicycle can be identified in the starting, accelerating, motion holding and other states, so as to adjust the output in different states to achieve multi-state switching and smooth output, reduce the problem of frequent motor start and stop caused by the bicycle's excessive speed, avoid the problem of mismatch between the bicycle speed and the expected speed, and improve the matching degree between the motor output and the user's intention.

[0087] Accordingly, the present application provides a power-assisted electric bicycle control device. Figure 5 Schematic diagram of a control device for an electric bicycle provided in an embodiment of the present application. Figure 5 As shown in the figure, the power-assisted electric bicycle control device 500 may include:

[0088] The receiving module 501 is used to receive a first sensor signal generated by a first sensor element and a second sensor signal generated by a plurality of second sensor elements; the first sensor element and the second sensor element are fixed at the rear wheel bearing of the power-assisted electric bicycle;

[0089] The average torque determination module 502 is used to determine the average torque based on the second sensor signal; the average torque represents the average torque difference between the chain and the rear wheel per rotation of the wheel;

[0090] An acceleration determination module 503, configured to determine the bicycle acceleration based on the second sensor signal;

[0091] A speed determination module 504, configured to determine a bicycle speed based on the first sensor signal;

[0092] The state switching module 505 is used to switch the driving state of the power-assisted electric bicycle according to at least one of the average torque, the bicycle acceleration, the bicycle speed and the current driving state of the power-assisted electric bicycle.

[0093] Specifically, the first sensing signal is generated by the first sensing element every time the wheel rotates half a circle.

[0094] Specifically, a magnet is provided on the wheel, and the magnet rotates with the wheel. When the magnet approaches the second sensor element, the second sensor signal is generated by the second sensor element if the instantaneous torque is greater than the first torque threshold.

[0095] Specifically, the interval angle between every two adjacent second sensing elements is a preset interval angle, and the average torque determination module 502 is further used to determine the average torque based on the second sensing signal and the number of the second sensing elements.

[0096] Specifically, the state switching module 505 is also used for: if the current driving state is the waiting state, detecting the signal interval between the currently received second sensor signal and the last received second sensor signal; if the signal interval is less than the interval threshold and the bicycle acceleration is greater than the first acceleration threshold, switching the power-assisted electric bicycle to the acceleration state.

[0097] Specifically, the state switching module 505 is also used to: if the current driving state is the acceleration state, the bicycle acceleration is less than the second acceleration threshold or the average torque is less than the second torque threshold, then switch the power-assisted electric bicycle to the motion holding state.

[0098] Specifically, the state switching module 505 is also used to: if the current driving state is the motion holding state and the average torque is zero, then the power-assisted electric bicycle is switched to the stop state; or: if the current driving state is the motion holding state and the bicycle acceleration is greater than the third acceleration threshold, then the power-assisted electric bicycle is switched to the acceleration state.

[0099] Specifically, the power-assisted electric bicycle control device also includes a motor control module, which is used to control the current speed of the motor according to the bicycle speed and the average torque if the power-assisted electric bicycle is in a motion-holding state.

[0100] Specifically, the motor control module is also used to: if the power-assisted electric bicycle is in a motion holding state and the average torque is greater than the torque threshold, determine the output speed corresponding to the bicycle speed according to the bicycle speed; and control the current speed of the motor according to the output speed.

[0101] Specifically, the motor control module is also used for: if the assisted electric bicycle is in a motion hold state and the average torque is less than the torque threshold, when the assisted electric bicycle is switched to the motion hold state, the speed of the motor is determined as the reference speed; and the current speed of the motor is controlled according to the reference speed and the average torque.

[0102] The device embodiments and method embodiments of the present application may be based on the same concept.

[0103] Accordingly, the present application provides a control structure for an assisted electric bicycle. Figure 6 Schematic diagram of a control structure of an electric bicycle provided in an embodiment of the present application. Figure 6 As shown, the control structure 600 of the power-assisted electric bicycle may include: a sensor element 610 , a middle disc 620 , an elastic element 630 and a connecting rod 640 .

[0104] Specifically, the sensor element 610 is fixed at the bearing of the rear wheel and does not rotate with the rear wheel. The sensor element 610 may include a first sensor element 611 and a plurality of second sensor elements 612; wherein the plurality of second sensor elements 612 are arranged in a ring shape with the center of the rear wheel as the center, and the interval angle between each two adjacent second sensor elements 612 is a preset interval angle; the distance between the first sensor element 611 and the center of the rear wheel is a, and the distance between the second sensor element 612 and the center of the rear wheel is b, and a is smaller than b.

[0105] Specifically, the number of the second sensor elements 612 may be 12, and the preset interval angle is 30°. The first sensor element 611 and the second sensor element 612 may be Hall sensors, the first sensor element 611 may be used to determine the speed of the bicycle, and the second sensor element 612 may be used to determine the average torque and the speed and acceleration during pedaling.

[0106] Specifically, the middle disk 620 can be connected to the connecting rod 640 and the chain. When the bicycle is running, the chain will drive the middle disk 620 to rotate, and the middle disk 620 can drive the rear wheel to rotate, that is, the middle disk 620 and the connecting rod 640 rotate synchronously with the chain.

[0107] Specifically, the elastic element 630 can be located between the rear wheel and the middle disc 620, and can be extended and retracted according to the squeezing torque of the middle disc 620, and synchronously drive the connecting rod 640 to approach or move away from the sensing element 610. Specifically, one end of the elastic element 630 can abut against the structure of the rear wheel, and the other end of the elastic element 630 can abut against the structure of the middle disc 620. Specifically, based on the increased pedal torque, the difference between the chain torque and the rear wheel torque increases, and accordingly the squeezing torque of the middle disc 620 on the elastic element 630 increases, and the elastic element 630 is linearly deformed and shortened, so that the connecting rod 640 connected to the middle disc 620 is tilted, and the connecting rod 640 moves toward the direction close to the sensing element 610.

[0108] Specifically, a connecting member may be provided at the connection between the rear wheel and the middle disk 620, and the connecting member includes two pins, wherein the first pin is fixed to the rear wheel and the second pin is fixed to the middle disk. Specifically, the connecting member may generate corresponding deflection based on the relative movement of the middle disk and the rear wheel. The connecting member may be connected to the connecting rod 640, wherein the angle between the connecting member and the connecting rod 640 remains unchanged, so that the connecting rod 640 may be tilted with the first pin as the axis under the drive of the deflection of the connecting member, so that the end of the connecting rod 640 away from the first pin moves in a direction away from the center of the rear wheel. In a specific embodiment, the deflection angle of the connecting member and the compression length of the elastic element 630 may be in a corresponding relationship, that is, the connecting rod 640 approaches or moves away from the center of the rear wheel according to the expansion and contraction of the elastic element 630, and then approaches or moves away from the sensing element 610.

[0109] Specifically, the connecting rod 640 may be provided with a magnet 641, and the magnet 641 may be arranged at the end of the connecting rod 640 away from the first pin. When the distance between the magnet 641 and the sensor element 610 is less than a preset distance, the sensor element 610 is activated to generate a sensing signal; wherein, when the connecting rod approaches the first sensor element 611 following the rotation of the chain, the distance between the magnet and the first sensor element 611 is less than the preset distance. Specifically, the sensor element 610 may generate a sensing signal only when the difference between the chain torque and the rear wheel torque is greater than the torque threshold and the wheel is rotating. Specifically, the connecting rod 640 may be provided with one or two; in the embodiment in which two connecting rods 640 are symmetrically arranged with the center of the rear wheel as the center of the circle, the number of magnets 641 is also two accordingly.

[0110] In a specific implementation, the sensing signal obtained by the power-assisted electric bicycle control structure 600 can be used to determine the bicycle speed, bicycle acceleration and average torque, wherein the average torque represents the average torque difference between the chain and the rear wheel per rotation of the rear wheel. These bicycle parameters can be used to determine the driving state of the power-assisted electric bicycle, and the power-assisted electric bicycle can further control the motor according to the driving state.

[0111] The structural embodiments and method embodiments of the present application may be based on the same concept.

[0112] Correspondingly, an embodiment of the present disclosure also provides an electronic device, which includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, code set or instruction set, and the at least one instruction, at least one program, code set or instruction set is loaded and executed by the processor to implement the above-mentioned power-assisted electric bicycle control method.

[0113] The method embodiments provided in the embodiments of the present application can be executed in a computer terminal, a server or a similar computing device. Taking running on a server as an example, Figure 7 : is a hardware structure block diagram of the server of the power-assisted electric bicycle control method provided in the embodiment of the present application. Figure 7As shown, the server 700 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPU) 710 (the central processing unit 710 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 730 for storing data, and one or more storage media 720 (such as one or more mass storage devices) for storing application programs 723 or data 722. Among them, the memory 730 and the storage medium 720 can be short-term storage or permanent storage. The program stored in the storage medium 720 may include one or more modules, each of which may include a series of instruction operations on the server. Furthermore, the central processing unit 710 can be configured to communicate with the storage medium 720 and execute a series of instruction operations in the storage medium 720 on the server 700. The server 700 may also include one or more power supplies 750, one or more wired or wireless network interfaces 750, one or more input and output interfaces 740, and / or one or more operating systems 721, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.

[0114] The input / output interface 740 may be used to receive or send data via a network. The specific example of the network may include a wireless network provided by a communication provider of the server 700. In one example, the input / output interface 740 includes a network adapter (Network Interface Controller, NIC), which may be connected to other network devices via a base station so as to communicate with the Internet. In one example, the input / output interface 740 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0115] It can be understood by those skilled in the art that Figure 7 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 7 More or fewer components as shown, or with Figure 7 Different configurations shown.

[0116] The present application implements a storage medium, which can be set in a server to store at least one instruction, at least one program, code set or instruction set related to the power-assisted electric bicycle control method in the method embodiment. The at least one instruction, the at least one program, the code set or instruction set is loaded and executed by the processor to implement the above-mentioned power-assisted electric bicycle control method.

[0117] Specifically, in this embodiment, the storage medium may be located in at least one of the multiple network servers of the computer network. Optionally, in this embodiment, the storage medium may include, but is not limited to, various media that can store program codes, such as a USB flash drive, a read-only memory (ROM), a mobile hard disk, a magnetic disk, or an optical disk.

[0118] In the present invention, unless otherwise clearly specified and limited, the terms "connected", "connection" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be a connection between two elements or an interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0119] It should be noted that the order of the above embodiments of the present application is only for description and does not represent the advantages and disadvantages of the embodiments. The above description describes specific embodiments, and other embodiments are also within the scope of the attached claims. In some cases, the actions or steps recorded in the claims can be performed in the order of different embodiments and can achieve the expected results. In addition, the processes depicted in the drawings do not necessarily require a specific order or connection order to achieve the desired results. In some embodiments, multi-task parallel processing is also possible or may be advantageous.

[0120] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the embodiments of the device / system, since they are based on similarities to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.

[0121] The above are preferred embodiments of the present invention. It should be noted that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. A method for controlling an electric power bicycle, characterized in that: The method comprises: Receiving a first sensor signal generated by a first sensor element and second sensor signals generated by a plurality of second sensor elements; the first sensor element and the second sensor element are fixed to the rear wheel bearing of the power-assisted electric bicycle; the interval angle between every two adjacent second sensor elements is a preset interval angle; Determine an average torque based on the second sensor signal and the number of the second sensor elements; the average torque represents an average torque difference between the chain and the rear wheel per rotation of the wheel; determining bicycle acceleration based on the second sensor signal; determining a bicycle speed based on the first sensor signal; The driving state of the power-assisted electric bicycle is switched according to at least one of the average torque, bicycle acceleration, bicycle speed and the current driving state of the power-assisted electric bicycle; the driving state includes an initial state, a waiting state, an acceleration state, a motion holding state and a stop state.

2. A method for controlling an electric power bicycle according to claim 1, characterized in that: The first sensing signal is generated by the first sensing element every time the wheel rotates half a circle.

3. A method for controlling an electric power bicycle according to claim 1, characterized in that: The wheel is provided with a magnet, and the magnet rotates with the wheel. The second sensing signal is generated by the second sensing element when the magnet approaches the second sensing element and the instantaneous torque is greater than the first torque threshold.

4. A method for controlling an electric power bicycle according to claim 1, characterized in that: The switching of the driving state of the power-assisted electric bicycle according to at least one of the average torque, the bicycle acceleration, the bicycle speed and the current driving state of the power-assisted electric bicycle comprises: If the current driving state is the waiting state, detecting a signal interval between the second sensor signal currently received and the second sensor signal last received; If the signal interval is smaller than the interval threshold, and the bicycle acceleration is greater than the first acceleration threshold, the power-assisted electric bicycle is switched to the acceleration state.

5. The method for controlling an electric power-assisted bicycle according to claim 1, characterized in that: The switching of the driving state of the power-assisted electric bicycle according to at least one of the average torque, the bicycle acceleration, the bicycle speed and the current driving state of the power-assisted electric bicycle comprises: If the current driving state is the acceleration state, the bicycle acceleration is less than the second acceleration threshold or the average torque is less than the second torque threshold, the power-assisted electric bicycle is switched to the motion holding state.

6. The method for controlling an electric power-assisted bicycle according to claim 1, characterized in that: The switching of the driving state of the power-assisted electric bicycle according to at least one of the average torque, the bicycle acceleration, the bicycle speed and the current driving state of the power-assisted electric bicycle comprises: If the current driving state is the motion holding state and the average torque is zero, switching the power-assisted electric bicycle to the stop state; or: If the current driving state is the motion holding state, and the bicycle acceleration is greater than a third acceleration threshold, the power-assisted electric bicycle is switched to the acceleration state.

7. The method for controlling an electric power-assisted bicycle according to claim 1, characterized in that: After switching the driving state of the power-assisted electric bicycle according to at least one of the average torque, the bicycle acceleration, the bicycle speed and the current driving state of the power-assisted electric bicycle, the method further includes: If the power-assisted electric bicycle is in the motion-maintaining state, the current speed of the motor is controlled according to the bicycle speed and the average torque.

8. A method for controlling an electric power-assisted bicycle according to claim 7, characterized in that: If the power-assisted electric bicycle is in a motion-holding state, controlling the current speed of the motor according to the bicycle speed and the average torque includes: If the power-assisted electric bicycle is in the motion-maintaining state and the average torque is greater than a torque threshold, determining an output speed corresponding to the bicycle speed according to the bicycle speed; The current speed of the motor is controlled according to the output speed.

9. The method for controlling an electric power-assisted bicycle according to claim 7, characterized in that: If the power-assisted electric bicycle is in a motion-holding state, controlling the current speed of the motor according to the bicycle speed and the average torque includes: If the power-assisted electric bicycle is in the motion-holding state and the average torque is less than the torque threshold, when the power-assisted electric bicycle is switched to the motion-holding state, the speed of the motor is determined as the reference speed; The current speed of the motor is controlled according to the reference speed and the average torque.

10. A power-assisted electric bicycle control device, characterized in that: The device comprises: A receiving module, used for receiving a first sensor signal generated by a first sensor element and a second sensor signal generated by a plurality of second sensor elements; the first sensor element and the second sensor element are fixed to the rear wheel bearing of the power-assisted electric bicycle; the interval angle between every two adjacent second sensor elements is a preset interval angle; an average torque determination module, configured to determine an average torque based on the second sensing signal and the number of the second sensing elements; the average torque representing an average torque difference between the chain and the rear wheel per rotation of the wheel; an acceleration determination module, configured to determine the bicycle acceleration based on the second sensor signal; a speed determination module, configured to determine a bicycle speed based on the first sensor signal; The state switching module is used to switch the driving state of the power-assisted electric bicycle according to at least one of the average torque, bicycle acceleration, bicycle speed and the current driving state of the power-assisted electric bicycle; the driving state includes an initial state, a waiting state, an acceleration state, a motion holding state and a stop state.

11. A control structure for an electric power-assisted bicycle, characterized in that: The structure includes a sensing element, an intermediate disk, an elastic element and a connecting rod; The sensor element is fixed at the rear wheel bearing, and the sensor element includes a first sensor element and a plurality of second sensor elements; wherein the plurality of second sensor elements are arranged in a ring shape with the center of the rear wheel as the center, and the interval angle between every two adjacent second sensor elements is a preset interval angle; the distance between the first sensor element and the center of the rear wheel is a, the distance between the second sensor element and the center of the rear wheel is b, and a is smaller than b; The intermediate disk is connected to the connecting rod and the chain, and the intermediate disk and the connecting rod rotate synchronously with the chain; The elastic element is located between the rear wheel and the middle disc, and is extended and retracted according to the squeezing torque of the middle disc, thereby synchronously driving the connecting rod to approach or move away from the sensing element; The connecting rod is provided with a magnet, and when the distance between the magnet and the sensor element is less than a preset distance, the magnet activates the sensor element to generate a sensing signal; wherein, when the connecting rod follows the rotation of the chain and approaches the first sensor element, the distance between the magnet and the first sensor element is less than the preset distance.

12. An electronic device, characterized in that: The electronic device includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement the power-assisted electric bicycle control method described in any one of claims 1-9.

13. A computer-readable storage medium, characterized in that: The storage medium stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement the power-assisted electric bicycle control method described in any one of claims 1-9.