A shifting control method, device, equipment, medium and product of an electric bicycle
Patent Information
- Application Number
- CN202510004253.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-02
- Publication Date
- 2026-10-09
- Estimated Expiration
- 2045-01-02
AI Technical Summary
[0004]但是,在换挡过程中,由于驱动电机并未停止动力输出,会出现换挡噪音甚至是电动自行车的传动系统出现机械磨损,进而电动自行车的零部件会产生损坏
[0039] The technical solution of this invention determines whether the electric bicycle is performing a gear shifting operation based on the gear shifting parameters detected by the gear shifting control sensor. When the electric bicycle is performing a gear shifting operation, the motor is controlled to stop power output, and the rear wheel speed and pedal frequency signal of the electric bicycle at the current moment are acquired. The gear at the current moment is determined based on the rear wheel speed and pedal frequency signal, and the gear shifting operation is performed. This can prevent mechanical wear of the electric bicycle's transmission system during gear shifting, thereby extending the service life of the transmission system. In addition, it can achieve smooth gear shifting.
Smart Images

Figure CN119611600B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of control technology for electric bicycles, and more particularly to a method, device, equipment, medium, and product for shifting control of electric bicycles. Background Technology
[0002] With the development of modern industry and technology, electric bicycles have become a means of transportation for more and more people.
[0003] At present, traditional mechanical shifting systems have been gradually replaced by electronic shifting systems. These systems achieve a smoother and more efficient shifting process through the coordinated work of electronic sensors, controllers and electronic transmissions.
[0004] However, during gear shifting, since the drive motor does not stop outputting power, shifting noise may occur, or even mechanical wear may occur in the transmission system of the electric bicycle, which may damage the parts of the electric bicycle. Summary of the Invention
[0005] This invention provides a method, device, equipment, medium, and product for shifting control of electric bicycles. While achieving shifting, it can prevent mechanical wear of the transmission system of electric bicycles during shifting, thereby extending the service life of the transmission system.
[0006] In a first aspect, embodiments of the present invention provide a gear shifting control method for an electric bicycle, comprising:
[0007] The system determines whether the electric bicycle is performing a gear shift based on the shift parameters detected by the shift control sensor.
[0008] When the electric bicycle is performing a gear shifting operation, the motor is controlled to stop power output, and the rear wheel speed and pedal frequency signal of the electric bicycle at the current moment are acquired.
[0009] The gear at the current moment is determined based on the rear wheel speed at the current moment and the pedal frequency signal at the current moment;
[0010] The electric bicycle is controlled to perform a gear shifting operation based on the gear position at the current moment.
[0011] Optionally, before determining whether the electric bicycle is performing a gear shift operation based on the shift parameters detected by the shift control sensor, the method further includes:
[0012] Obtain the gear position of the electric bicycle at time i;
[0013] Controlling the electric bicycle to perform a gear shifting operation based on the current gear position includes:
[0014] The electric bicycle is controlled to perform a gear shifting operation based on the gear position at the current time and the gear position at the i-th time; wherein the time difference between the i-th time and the current time is the minimum time step value.
[0015] Optionally, controlling the electric bicycle to perform a gear shifting operation based on the gear position at the current moment and the gear position at the i-th moment includes:
[0016] When the difference between the gear at time i and the gear at the current time meets the preset gear range, the electric bicycle is controlled to maintain the gear at time i.
[0017] When the difference between the gear at time i and the gear at the current time exceeds the preset gear range, the electric bicycle is controlled to perform a gear shifting operation according to the gear at the current time.
[0018] Optionally, controlling the electric bicycle to maintain the gear position at the i-th moment includes:
[0019] Get the preset number of teeth on the toothed chain;
[0020] The gear position of the electric bicycle at the i-th moment is determined according to the preset number of teeth on the chainring, and the motor is controlled to output a first preset power to maintain the gear position at the i-th moment.
[0021] Controlling the electric bicycle to perform a gear shifting operation based on the current gear position includes:
[0022] The motor is controlled to output power with a second preset power according to the gear position at the current moment, and a gear shifting operation is performed.
[0023] Optionally, acquiring the rear wheel speed and cadence signal of the electric bicycle at the current moment includes:
[0024] The speed of the rear wheel of the electric bicycle at the current moment is obtained from the speed detection sensor;
[0025] The pedal frequency signal of the electric bicycle at the current moment is obtained from the pedal frequency sensor.
[0026] Optionally, after controlling the electric bicycle to perform a gear shifting operation based on the current gear position, the method further includes:
[0027] The dashboard of the electric bicycle displays the current gear position.
[0028] Secondly, embodiments of the present invention also provide a gear shifting control device for an electric bicycle, comprising:
[0029] The gear shifting operation judgment module is used to determine whether the electric bicycle is performing a gear shifting operation based on the gear shifting parameters detected by the gear shifting control sensor.
[0030] The parameter acquisition module is used to control the motor to stop power output when the electric bicycle is performing a gear shifting operation, and to acquire the rear wheel speed and pedal frequency signal of the electric bicycle at the current moment.
[0031] The current gear determination module is used to determine the current gear based on the current rear wheel speed and the current pedal frequency signal.
[0032] The gear shifting operation module is used to control the electric bicycle to perform a gear shifting operation according to the gear position at the current moment.
[0033] Thirdly, embodiments of the present invention also provide an electronic device, the electronic device comprising:
[0034] At least one processor; and
[0035] A memory communicatively connected to the at least one processor; wherein,
[0036] The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the shift control method according to any one of the first aspects.
[0037] Fourthly, embodiments of the present invention also provide a computer-readable storage medium storing computer instructions, the computer instructions being configured to cause a processor to execute the shift control method described in any one of the first aspects.
[0038] Fifthly, embodiments of the present invention also provide a computer program product, the computer program product including a computer program, which, when executed by a processor, implements the shift control method according to any one of the first aspects.
[0039] The technical solution of this invention determines whether the electric bicycle is performing a gear shifting operation based on the gear shifting parameters detected by the gear shifting control sensor. When the electric bicycle is performing a gear shifting operation, the motor is controlled to stop power output, and the rear wheel speed and pedal frequency signal of the electric bicycle at the current moment are acquired. The gear at the current moment is determined based on the rear wheel speed and pedal frequency signal, and the gear shifting operation is performed. This can prevent mechanical wear of the electric bicycle's transmission system during gear shifting, thereby extending the service life of the transmission system. In addition, it can achieve smooth gear shifting. Attached Figure Description
[0040] Figure 1 A schematic flowchart of a first type of gear shifting control method for an electric bicycle provided in an embodiment of the present invention;
[0041] Figure 2 A schematic flowchart of a second gear shifting control method for an electric bicycle provided in an embodiment of the present invention;
[0042] Figure 3 A schematic flowchart of a third type of gear shifting control method for an electric bicycle provided in an embodiment of the present invention;
[0043] Figure 4 A schematic flowchart of a fourth gear shifting control method for an electric bicycle provided in an embodiment of the present invention;
[0044] Figure 5 A schematic diagram of the structure of a gear shifting control device for an electric bicycle provided in an embodiment of the present invention;
[0045] Figure 6 This is a schematic diagram of an electronic device for a gear shifting control method applied to an electric bicycle, as provided in an embodiment of the present invention. Detailed Implementation
[0046] The present invention will now be described in further detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and not intended to limit it. Furthermore, it should be noted that, for ease of description, the accompanying drawings show only the parts relevant to the present invention, and not all of the structures.
[0047] It should be noted that the terms "comprising" and "etc." and any variations thereof in the specification, claims and accompanying drawings of this invention are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are explicitly listed, but may include other steps or units that are not explicitly listed or that are inherent to such processes, methods, products or devices.
[0048] Figure 1 This is a flowchart illustrating a first method for shifting gears in an electric bicycle according to an embodiment of the present invention. This embodiment is applicable to the shifting of gears in electric bicycles. The method can be executed by the shifting control device for the electric bicycle in this embodiment, which can be implemented using software and / or hardware, such as... Figure 1 As shown, this method is executed by the gear shift control device of the electric bicycle, and the gear shift control method of the electric bicycle specifically includes:
[0049] S101. Determine whether the electric bicycle is performing a gear shifting operation based on the gear shifting parameters detected by the gear shifting control sensor.
[0050] Specifically, a gear shifting sensor can be installed on the rear wheel of an electric bicycle to detect whether the bicycle is performing a gear shift. The gear shifting parameters can be the signals detected by the sensor. The controller can determine whether the electric bicycle is performing a gear shift based on these parameters and then execute subsequent operations accordingly.
[0051] S102. When the electric bicycle is performing a gear shifting operation, control the motor to stop power output and obtain the rear wheel speed and pedal frequency signals of the electric bicycle at the current moment.
[0052] Specifically, when it is determined that the electric bicycle is performing a gear shift, the motor is controlled to stop power output. This reduces friction and wear caused by motor operation during gear shifting, thereby reducing mechanical damage to the electric bicycle's internal transmission system and extending its lifespan.
[0053] Specifically, the speed sensor detects the rear wheel rotation speed of the electric bicycle at the current moment; the cadence sensor detects the cadence signal of the electric bicycle at the current moment.
[0054] Specifically, a speed sensor is installed on the rear wheel of the electric bicycle to detect the rear wheel speed in real time. The speed sensor is electrically connected to the controller to transmit the detected current rear wheel rotation speed to the controller. A cadence sensor can be installed on the crank or chainring of the electric bicycle. The cadence sensor tracks the rotation of the pedals in real time, thereby detecting cadence information such as the rider's pedaling rhythm. The cadence sensor is also electrically connected to the controller to transmit the detected current cadence signal to the controller.
[0055] S103. Determine the gear at the current moment based on the current rear wheel speed and the current cadence signal.
[0056] Specifically, the controller can determine the gear at the current moment based on the ratio between the current rear wheel speed and the current pedal frequency signal.
[0057] S104. Control the electric bicycle to perform a gear shifting operation according to the current gear position.
[0058] Specifically, in electric bicycles, the mechanical gear shift switch is directly connected to the mechanical derailleur mounted on the rear wheel via a mechanical cable, enabling mechanical gear shifting. The electric bicycle is controlled to perform gear shifting operations based on the current gear position, thus achieving smooth gear changes.
[0059] The gear shifting control method for electric bicycles in this invention determines whether the electric bicycle is performing a gear shifting operation based on the gear shifting parameters detected by the gear shifting control sensor. When the electric bicycle is performing a gear shifting operation, the motor is controlled to stop power output, and the rear wheel speed and pedal frequency signal of the electric bicycle at the current moment are acquired. The gear at the current moment is determined based on the rear wheel speed and pedal frequency signal, and the gear shifting operation is performed. This can prevent mechanical wear of the electric bicycle's transmission system during gear shifting, thereby extending the service life of the transmission system. In addition, it can achieve smooth gear shifting.
[0060] Optional, Figure 2 This is a schematic flowchart of a second gear shifting control method for an electric bicycle provided in an embodiment of the present invention. Figure 2 Based on the above embodiments, the operation of determining whether an electric bicycle is performing a gear shift operation based on the shift parameters detected by the shift control sensor is described in detail, such as... Figure 2 As shown, the gear shifting control method of this electric bicycle includes:
[0061] S201, Obtain the gear position of the electric bicycle at time i.
[0062] Specifically, the i-th moment can be the previous moment. The gear position at each moment can be displayed on the instrument panel. The instrument panel and the controller are connected by communication, so the controller can transmit the determined gear position at the current moment to the instrument panel for real-time display and updating. At the same time, the controller can also obtain the gear position displayed on the instrument panel.
[0063] Specifically, the controller obtains the gear position of the electric bicycle at time i, so that it can adjust the gear position at time i based on the current gear position, i.e., perform a gear shifting operation.
[0064] S202. Determine whether the electric bicycle is performing a gear shifting operation based on the gear shifting parameters detected by the gear shifting control sensor.
[0065] S203. When the electric bicycle is performing a gear shifting operation, control the motor to stop power output and obtain the rear wheel speed and pedal frequency signals of the electric bicycle at the current moment.
[0066] S204. Determine the gear at the current moment based on the current rear wheel speed and the current cadence signal.
[0067] S205. When the difference between the gear at time i and the gear at the current time meets the preset gear range, the electric bicycle is controlled to maintain the gear at time i.
[0068] Specifically, the preset gear range can be understood as the range of differences between the gear at time i and the gear at the current time. It can be understood that the preset gear range is small. If the difference between the gear at time i and the gear at the current time is approximately 0, then the difference between the gear at time i and the gear at the current time satisfies the preset gear range. In this case, the gear at the current time is approximately equal to the gear at time i, and there is no need to shift gears. The electric bicycle can continue to travel in the gear at time i.
[0069] S206. When the difference between the gear at time i and the gear at the current time exceeds the preset gear range, the electric bicycle is controlled to perform a gear shifting operation according to the gear at the current time.
[0070] Specifically, if the difference between the gear at time i and the gear at the current time is large, it means that the gear at the current time is significantly different from the gear at time i. In this case, to perform a gear shift, the gear at time i needs to be shifted up or down based on the gear at the current time. The controller then controls the electric bicycle to continue driving at the current gear instead of the gear at time i, in order to ensure the normal riding of the electric bicycle.
[0071] The gear shifting control method for electric bicycles provided in this invention determines whether the gear at the current moment is approximately equal to the gear at the i-th moment by comparing the difference between the gear at the i-th moment and the gear at the current moment with a preset gear range. When the gear at the current moment is approximately equal to the gear at the i-th moment, the electric bicycle is controlled to maintain the gear at the i-th moment. When the difference between the gear at the current moment and the gear at the i-th moment is large, the electric bicycle is controlled to perform a gear shifting operation according to the gear at the current moment, thereby achieving gear shifting smoothness. In addition, the gear position of the electric bicycle can be monitored in real time for timely gear shifting, optimizing energy use during gear shifting, reducing unnecessary energy loss, and improving the overall energy efficiency of the vehicle.
[0072] Optional, Figure 3 This is a flowchart illustrating the third type of gear shifting control method for an electric bicycle provided in an embodiment of the present invention. Figure 3 Based on the above embodiments, the methods for controlling the electric bicycle to maintain the gear at time i and controlling the electric bicycle to perform a gear shifting operation according to the current gear are described in detail, such as... Figure 3 As shown, the gear shifting control method of this electric bicycle includes:
[0073] S301, Obtain the gear position of the electric bicycle at time i;
[0074] S302. Determine whether the electric bicycle is performing a gear shifting operation based on the gear shifting parameters detected by the gear shifting control sensor.
[0075] S303. When the electric bicycle is performing a gear shifting operation, control the motor to stop power output and obtain the rear wheel speed and pedal frequency signals of the electric bicycle at the current moment.
[0076] S304. Determine the gear at the current moment based on the current rear wheel speed and the current cadence signal.
[0077] S305. When the difference between the gear position at time i and the gear position at the current time meets the preset gear position range, obtain the preset number of teeth on the chainring.
[0078] Specifically, the preset chainring tooth count is the number of teeth on the front chainring of an electric bicycle that is manually set in the application. The chainring is part of the bicycle's drivetrain, located on the pedal axle (crank), and connected to the rear sprocket via the chain. It is responsible for transmitting the rider's pedaling power to the rear wheel, thus generating power. Furthermore, the relationship between the chainring tooth count and the gear position is mainly reflected in the gear ratio, which is the ratio of the current chainring tooth count to the sprocket tooth count. This ratio determines the bicycle's gear ratio, thus affecting riding performance and efficiency. By setting the chainring tooth count, the gear position of the electric bicycle at time i can be determined.
[0079] S306. Determine the gear position of the electric bicycle at time i based on the preset number of teeth on the chainring, and control the motor to output the first preset power to maintain the gear position at time i.
[0080] Specifically, the first preset power output can be understood as the power output of the motor when it maintains the gear at time i. In other words, when the gear at the current time is approximately the same as the gear at time i, the motor output at the current time needs to maintain the same power output as at time i in order to ensure the normal operation of the electric bicycle at the current time.
[0081] S307. When the difference between the gear at time i and the gear at the current time exceeds the preset gear range, the motor is controlled to output power with the second preset power according to the gear at the current time to perform a gear shifting operation.
[0082] Specifically, the second preset power output can be understood as the power output of the motor when it is in the current gear. In other words, when the gear at the current moment is significantly different from the gear at the i-th moment, the motor output at the current moment will be different from the power output at the i-th moment, so as to ensure the normal operation of the electric bicycle at the current moment.
[0083] Specifically, when the gear at the current moment is greater than the gear at the i-th moment, the second preset power output is greater than the first preset power output; when the gear at the current moment is less than the gear at the i-th moment, the second preset power output is less than the first preset power output.
[0084] The gear shifting control method for electric bicycles provided in this invention determines the motor's power output based on the difference between the gear position at time i and the gear position at the current time, and performs a gear shifting operation. This enables smooth gear shifting. Furthermore, it allows for real-time monitoring of the electric bicycle's gear positions for timely gear shifting, optimizes energy usage during gear shifting, reduces unnecessary energy loss, and improves the overall energy efficiency of the vehicle.
[0085] Optional, Figure 4 This is a flowchart illustrating the fourth gear shifting control method for an electric bicycle provided in an embodiment of the present invention. Figure 4 Based on the above embodiments, the operation after the electric bicycle performs a gear shift operation according to the current gear position is described in detail, such as... Figure 4 As shown, the gear shifting control method of this electric bicycle includes:
[0086] S401. Determine whether the electric bicycle is performing a gear shifting operation based on the gear shifting parameters detected by the gear shifting control sensor.
[0087] S402. When the electric bicycle is performing a gear shifting operation, control the motor to stop power output and obtain the rear wheel speed and pedal frequency signals of the electric bicycle at the current moment.
[0088] S403. Determine the gear at the current moment based on the current rear wheel speed and the current cadence signal.
[0089] S404. Control the electric bicycle to perform gear shifting operation according to the current gear position.
[0090] S405. The dashboard of the electric bicycle displays the current gear.
[0091] Specifically, the dashboard displays the current gear position so that the displayed gear information can be updated, which helps riders check whether the gear shift was successful and the current gear position of the electric bicycle.
[0092] The gear shifting control method for electric bicycles provided in this embodiment of the invention controls the display of the current gear position on the instrument panel of the electric bicycle, so as to update the gear position on the instrument panel for easy viewing.
[0093] This invention also provides a gear shifting control device for an electric bicycle. Figure 5 This is a schematic diagram of the structure of a gear shifting control device for an electric bicycle provided in an embodiment of the present invention, as shown below. Figure 5 As shown, the gear shifting control device of the electric bicycle includes:
[0094] The gear shifting operation judgment module 100 is used to determine whether the electric bicycle is performing a gear shifting operation based on the gear shifting parameters detected by the gear shifting control sensor.
[0095] The parameter acquisition module 200 is used to control the motor to stop power output when the electric bicycle is performing a gear shifting operation, and to acquire the rear wheel speed and pedal frequency signal of the electric bicycle at the current moment.
[0096] The current gear determination module 300 is used to determine the current gear based on the current rear wheel speed and the current pedal frequency signal.
[0097] The gear shifting operation module 400 is used to control the electric bicycle to perform gear shifting operations according to the current gear position.
[0098] Optionally, the gear shift control device of the electric bicycle also includes a gear position acquisition module at time i. The gear shift execution operation module includes a gear shift execution operation submodule.
[0099] The gear acquisition module at time i is used to acquire the gear of the electric bicycle at time i.
[0100] The gear shifting operation submodule is used to control the electric bicycle to perform a gear shifting operation based on the gear position at the current time and the gear position at time i; where the time difference between time i and the current time is the minimum time step value.
[0101] Optionally, the gear shift execution operation submodule includes a gear position operation unit for holding the gear at time i and a gear shift execution operation unit.
[0102] The gear holding operation unit is used to control the electric bicycle to hold the gear at the i-th moment when the difference between the gear at the i-th moment and the gear at the current moment meets the preset gear range.
[0103] The gear shifting execution unit is used to control the electric bicycle to perform a gear shifting operation according to the current gear when the difference between the gear at time i and the gear at the current time exceeds the preset gear range.
[0104] Optionally, the gear position holding operation unit at time i includes a preset chainring tooth count acquisition subunit and a gear position holding operation subunit at time i. The gear shift execution operation unit includes a gear shift execution operation subunit.
[0105] The preset number of teeth acquisition subunit is used to acquire the preset number of teeth on the crankcase.
[0106] The gear position operation subunit for holding the gear at time i is used to determine the gear of the electric bicycle at time i based on the preset number of teeth on the chainring, and control the motor to output the first preset power to hold the gear at time i.
[0107] The gear shifting operation subunit is used to control the motor to output power with a second preset power according to the current gear position and perform the gear shifting operation.
[0108] Optionally, the parameter acquisition module includes a rear wheel speed acquisition submodule and a cadence signal acquisition submodule.
[0109] The rear wheel speed acquisition submodule is used to acquire the rear wheel speed of the electric bicycle at the current moment, as detected by the speed detection sensor.
[0110] The cadence signal acquisition submodule is used to acquire the cadence signal of the electric bicycle at the current moment detected by the cadence sensor.
[0111] Optionally, the shift control device for electric bicycles may also include a dashboard display control module.
[0112] The dashboard display control module is used to control the display of the current gear on the dashboard of the electric bicycle.
[0113] The electric bicycle shift control device provided in this embodiment of the invention uses a shift operation judgment module to determine whether the electric bicycle is performing a shift operation based on shift parameters detected by a shift control sensor; a parameter acquisition module to control the motor to stop power output when the electric bicycle is performing a shift operation, and to acquire the rear wheel speed and pedal frequency signal of the electric bicycle at the current moment; a current gear determination module to determine the current gear based on the current rear wheel speed and pedal frequency signal; and a shift execution operation module to control the electric bicycle to perform a shift operation based on the current gear. This can prevent mechanical wear of the electric bicycle's transmission system during shifting, thereby extending the service life of the transmission system.
[0114] Figure 6 A schematic diagram of the structure of an electronic device for a gear shifting control method applied to an electric bicycle, as provided in an embodiment of the present invention, is shown below. Figure 6As shown, electronic device 10 is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. Electronic device 10 may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.
[0115] like Figure 6 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 may also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0116] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0117] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as the gear shifting control method of an electric bicycle.
[0118] In some embodiments, the shift control method for an electric bicycle can be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the shift control method for an electric bicycle described above can be performed. Alternatively, in other embodiments, processor 11 can be configured to perform the shift control method for an electric bicycle by any other suitable means (e.g., by means of firmware).
[0119] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0120] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0121] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0122] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0123] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0124] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.
[0125] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.
[0126] This invention also provides a computer program product, including a computer program that, when executed by a processor, implements the gear shifting control method for an electric bicycle according to any embodiment of the invention.
[0127] Note that the above description is merely a preferred embodiment of the present invention and the technical principles employed. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, readjustments, combinations, and substitutions can be made without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and may include many other equivalent embodiments without departing from the concept of the present invention, the scope of which is determined by the scope of the appended claims.
Claims
1. A gear shifting control method for an electric bicycle, characterized in that, include: The system determines whether the electric bicycle is performing a gear shift based on the shift parameters detected by the shift control sensor. When the electric bicycle is performing a gear shifting operation, the motor is controlled to stop power output, and the rear wheel speed and pedal frequency signal of the electric bicycle at the current moment are acquired. The gear at the current moment is determined based on the rear wheel speed at the current moment and the pedal frequency signal at the current moment; The electric bicycle is controlled to perform a gear shifting operation based on the current gear position. Determining the gear at the current moment based on the rear wheel speed and the cadence signal at the current moment includes: The gear at the current moment is determined based on the ratio between the current rear wheel speed and the current cadence signal; wherein, the cadence information is the rider's pedaling rhythm. Before determining whether an electric bicycle is performing a gear shift based on the shift parameters detected by the shift control sensor, the process also includes: Obtain the gear position of the electric bicycle at time i; where time i is the time before the current time. Controlling the electric bicycle to perform a gear shifting operation based on the current gear position includes: The electric bicycle is controlled to perform a gear shifting operation based on the gear position at the current time and the gear position at the i-th time; wherein, the time difference between the i-th time and the current time is the minimum time step value; Controlling the electric bicycle to perform a gear shifting operation based on the current gear position and the gear position at the i-th moment includes: When the difference between the gear at time i and the gear at the current time meets the preset gear range, the electric bicycle is controlled to maintain the gear at time i. When the difference between the gear at time i and the gear at the current time exceeds the preset gear range, the electric bicycle is controlled to perform a gear shifting operation according to the gear at the current time.
2. The shift control method according to claim 1, characterized in that, Controlling the electric bicycle to maintain the gear position at the i-th moment includes: Get the preset number of teeth on the toothed chain; The gear position of the electric bicycle at the i-th moment is determined according to the preset number of teeth on the chainring, and the motor is controlled to output a first preset power to maintain the gear position at the i-th moment. Controlling the electric bicycle to perform a gear shifting operation based on the current gear position includes: The motor is controlled to output power with a second preset speed according to the current gear position, and a gear shifting operation is performed.
3. The shift control method according to claim 1, characterized in that, Acquiring the rear wheel speed and cadence signal of the electric bicycle at the current moment includes: The speed of the rear wheel of the electric bicycle at the current moment is obtained from the speed detection sensor; The pedal frequency signal of the electric bicycle at the current moment is obtained from the pedal frequency sensor.
4. The shift control method according to claim 1, characterized in that, After controlling the electric bicycle to perform a gear shifting operation based on the current gear position, the method further includes: The dashboard of the electric bicycle displays the current gear position.
5. A gear shifting control device for an electric bicycle, characterized in that, include: The gear shifting operation judgment module is used to determine whether the electric bicycle is performing a gear shifting operation based on the gear shifting parameters detected by the gear shifting control sensor. The parameter acquisition module is used to control the motor to stop power output when the electric bicycle is performing a gear shifting operation, and to acquire the rear wheel speed and pedal frequency signal of the electric bicycle at the current moment. The current gear determination module is used to determine the current gear based on the current rear wheel speed and the current pedal frequency signal. The gear shifting operation module is used to control the electric bicycle to perform a gear shifting operation according to the gear position at the current moment; Determining the gear at the current moment based on the rear wheel speed and the cadence signal at the current moment includes: The gear at the current moment is determined based on the ratio between the current rear wheel speed and the current cadence signal; wherein, the cadence information is the rider's pedaling rhythm. Before determining whether an electric bicycle is performing a gear shift based on the shift parameters detected by the shift control sensor, the process also includes: Obtain the gear position of the electric bicycle at time i; where time i is the time before the current time. Controlling the electric bicycle to perform a gear shifting operation based on the current gear position includes: The electric bicycle is controlled to perform a gear shifting operation based on the gear position at the current time and the gear position at the i-th time; wherein, the time difference between the i-th time and the current time is the minimum time step value; Controlling the electric bicycle to perform a gear shifting operation based on the current gear position and the gear position at the i-th moment includes: When the difference between the gear at time i and the gear at the current time meets the preset gear range, the electric bicycle is controlled to maintain the gear at time i. When the difference between the gear at time i and the gear at the current time exceeds the preset gear range, the electric bicycle is controlled to perform a gear shifting operation according to the gear at the current time.
6. An electronic device, characterized in that, The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the shift control method according to any one of claims 1-4.
7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that cause a processor to execute the shift control method according to any one of claims 1-4.
8. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the shift control method according to any one of claims 1-4.
Citation Information
Patent Citations
Moped and gear shifting reminding system thereof
CN216269740U
Bicycle shift control device with decreased stress during shifting
EP1457415A2