CN113650712B - Electric bicycle control method and device and electric bicycle - Google Patents
Electric bicycle control method and device and electric bicycle Download PDFInfo
- Publication number
- CN113650712B CN113650712B CN202111049675.1A CN202111049675A CN113650712B CN 113650712 B CN113650712 B CN 113650712B CN 202111049675 A CN202111049675 A CN 202111049675A CN 113650712 B CN113650712 B CN 113650712B
- Authority
- CN
- China
- Prior art keywords
- pedal
- state
- electric bicycle
- state information
- acquiring
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B62—LAND VEHICLES FOR TRAVELLING OTHERWISE THAN ON RAILS
- B62J—CYCLE SADDLES OR SEATS; AUXILIARY DEVICES OR ACCESSORIES SPECIALLY ADAPTED TO CYCLES AND NOT OTHERWISE PROVIDED FOR, e.g. ARTICLE CARRIERS OR CYCLE PROTECTORS
- B62J45/00—Electrical equipment arrangements specially adapted for use as accessories on cycles, not otherwise provided for
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B62—LAND VEHICLES FOR TRAVELLING OTHERWISE THAN ON RAILS
- B62J—CYCLE SADDLES OR SEATS; AUXILIARY DEVICES OR ACCESSORIES SPECIALLY ADAPTED TO CYCLES AND NOT OTHERWISE PROVIDED FOR, e.g. ARTICLE CARRIERS OR CYCLE PROTECTORS
- B62J45/00—Electrical equipment arrangements specially adapted for use as accessories on cycles, not otherwise provided for
- B62J45/40—Sensor arrangements; Mounting thereof
- B62J45/41—Sensor arrangements; Mounting thereof characterised by the type of sensor
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B62—LAND VEHICLES FOR TRAVELLING OTHERWISE THAN ON RAILS
- B62M—RIDER PROPULSION OF WHEELED VEHICLES OR SLEDGES; POWERED PROPULSION OF SLEDGES OR SINGLE-TRACK CYCLES; TRANSMISSIONS SPECIALLY ADAPTED FOR SUCH VEHICLES
- B62M3/00—Construction of cranks operated by hand or foot
- B62M3/16—Accessories
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02T—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
- Y02T10/00—Road transport of goods or passengers
- Y02T10/60—Other road transportation technologies with climate change mitigation effect
- Y02T10/72—Electric energy management in electromobility
Landscapes
- Engineering & Computer Science (AREA)
- Mechanical Engineering (AREA)
- Chemical & Material Sciences (AREA)
- Combustion & Propulsion (AREA)
- Transportation (AREA)
- Electric Propulsion And Braking For Vehicles (AREA)
Abstract
The embodiment of the application provides a control method and device of an electric bicycle and the electric bicycle, and the control method and device comprise the following steps: acquiring first state information of a pedal of the electric bicycle, wherein the first state information represents whether the pedal is in a treading state; and executing balance adjustment processing on the pedal plate under the condition that the first state information meets a preset condition.
Description
Technical Field
The embodiment of the disclosure relates to the technical field of vehicle control, and more particularly to a control method and device for an electric bicycle and an electronic device.
Background
The electric bicycles, especially the shared electric bicycle, have a more and more important position in daily life.
At present, under the state of riding, under the condition that the user does not trample electric bicycle's running-board, the running-board probably is uncontrolled, can follow electric bicycle's the gos forward and rotate together, and then probably bring the problem that reduces the user experience of riding and even bring the potential safety hazard for the user. For example, when the pedals rotate in front of the electric bicycle, if the pedals collide with an obstacle, the vehicle vibrates, and the riding experience of the user is poor. For example, when the electric bicycle turns or rides on a pothole, if the pedals are rotated simultaneously with the front of the electric bicycle, the pedals may touch the ground by mistake, and the electric bicycle may fall down.
Disclosure of Invention
An object of the present disclosure is to provide a new technical solution for a control method, apparatus and device of an electric bicycle.
According to a first aspect of the present disclosure, there is provided an embodiment of a control method of an electric bicycle, including:
acquiring first state information of a pedal of the electric bicycle, wherein the first state information represents whether the pedal is in a treading state or not;
and executing balance adjustment processing on the pedal plate under the condition that the first state information meets a preset condition.
Optionally, the executing balance adjustment processing on the pedal plate in the case that the first state information satisfies a preset condition includes:
and executing a balance adjustment process on the pedal plate when the first state information indicates that the pedal plate is in a non-stepping state.
Optionally, the foot pedal comprises a left pedal and a right pedal;
the executing of the balance adjustment process on the foot pedal includes:
acquiring second state information of the pedal plate, wherein the second state information indicates whether the pedal plate is in a balanced state, and the balanced state is a state that the left pedal and the right pedal are in horizontal positions;
adjusting the foot pedal to a balanced state if the second state information indicates that the foot pedal is in an unbalanced state.
Optionally, said adjusting said foot board to a balanced state comprises:
controlling a motor of the electric bicycle to output a driving force for driving the pedals to rotate so as to adjust the pedals to a balanced state.
Optionally, after adjusting the footrest to a balanced state, the method further comprises:
and controlling the motor to stop outputting the driving force.
Optionally, an angle sensor is arranged on the pedal;
the acquiring second state information of the pedal plate comprises the following steps:
acquiring angle data acquired by the angle sensor;
and setting the second state information as information indicating that the pedal plate is in an unbalanced state when the angle data is larger than a first preset threshold value.
Optionally, a pressure sensor is arranged on the pedal;
the acquiring first state information of pedals of the electric bicycle comprises:
acquiring pressure data acquired by the pressure sensor;
and setting the first state information as information indicating that the pedal plate is in a non-treading state when the pressure data is not greater than a second preset threshold value.
Optionally, before the obtaining the first state information of the pedal of the electric bicycle, the method further comprises:
acquiring third state information of the electric bicycle, wherein the third state information represents whether the electric bicycle is in a riding state or not;
the acquiring of the first state information of the pedals of the electric bicycle is performed in a case where the third state information indicates that the electric bicycle is in a riding state.
According to a second aspect of the present disclosure, there is provided an embodiment of a control device of an electric bicycle, including:
the acquiring module is used for acquiring first state information of a pedal of the electric bicycle, wherein the first state information represents whether the pedal is in a treading state or not;
and the adjusting module is used for executing balance adjusting processing on the pedal plate under the condition that the first state information meets a preset condition.
According to a third aspect of the present disclosure, there is provided an embodiment of an electric bicycle, a control device of an electric bicycle as set forth in the second aspect of the present specification, or,
the electric bicycle includes:
a memory for storing executable instructions;
a processor configured to operate the electric bicycle according to the control of the instruction to perform the control method of the electric bicycle according to the first aspect of the specification.
The embodiment of the disclosure has the beneficial effects that in the working process of the electric bicycle, by acquiring the first state information which is used for indicating whether the pedal of the electric bicycle is in a treading state or not, the balance adjustment processing can be automatically executed on the pedal of the electric bicycle under the condition that the first state information meets the preset condition, so that the riding experience of a user is improved, and the potential safety hazard which may be brought is avoided.
Other features of the present description and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the specification and together with the description, serve to explain the principles of the specification.
FIG. 1 is a schematic diagram of a shared vehicle system capable of implementing embodiments of the present disclosure.
Fig. 2 is a schematic flow chart of a control method of an electric bicycle according to an embodiment of the present disclosure.
Fig. 3 is a schematic view illustrating a balance state of a footrest according to an embodiment of the present disclosure.
Fig. 4 is a schematic diagram of an example provided by an embodiment of the present disclosure.
Fig. 5 is a block schematic diagram of a control device of an electric bicycle according to an embodiment of the present disclosure.
Fig. 6 is a schematic hardware structure diagram of an electric bicycle provided in the embodiment of the present disclosure.
Detailed Description
Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
< hardware configuration >
FIG. 1 is a schematic diagram of a shared vehicle system capable of implementing embodiments of the present disclosure.
As shown in fig. 1, the system includes a server 2000, a terminal device 1000, and an electric bicycle 3000.
The server 2000 and the terminal device 1000, and the server 2000 and the electric bicycle 3000 may be communicatively connected through a network 4000. The electric bicycle 3000 and the server 2000, and the network 4000 through which the terminal device 1000 and the server 2000 communicate with each other may be the same or different. The network 4000 may be a wireless communication network, a wired communication network, a local area network, or a wide area network.
The server 2000 provides a service point for processes, databases, and communications facilities. The server 2000 may be a monolithic server, a distributed server across multiple computers, a computer data center, a cloud server, or a cloud-deployed server cluster, etc. The server may be of various types, such as, but not limited to, a web server, a news server, a mail server, a message server, an advertisement server, a file server, an application server, an interaction server, a database server, or a proxy server. In some embodiments, each server may include hardware, software, or embedded logic components or a combination of two or more such components for performing the appropriate functions supported or implemented by the server. The specific configuration of the server 2000 may include, but is not limited to, a processor 2100, a memory 2200, an interface device 2300, and a communication device 2400. Processor 2100 is used to execute computer programs written in an instruction set of an architecture such as x86, Arm, RISC, MIPS, SSE, and so on. The memory 2200 is, for example, a ROM (read only memory), a RAM (random access memory), a nonvolatile memory such as a hard disk, or the like. The interface device 2300 is, for example, a USB interface, a serial interface, a parallel interface, or the like. The communication device 2400 is, for example, capable of wired communication or wireless communication, and may include, for example, WiFi communication, bluetooth communication, 2G/3G/4G/5G communication, and the like.
It will be understood by those skilled in the art that the server 2000 may include other devices besides the devices shown in fig. 1, and is not limited thereto.
In this embodiment, the terminal device 1000 is, for example, a mobile phone, a portable computer, a tablet computer, a palmtop computer, a wearable device, or the like.
The terminal device 1000 is installed with a vehicle-using application client, and a user can operate the vehicle-using application client to achieve the purpose of using the electric bicycle 3000.
The terminal apparatus 1000 may include, but is not limited to, a processor 1100, a memory 1200, an interface device 1300, a communication device 1400, a display device 1500, an input device 1600, a speaker 1700, a microphone 1800, and the like. The processor 1100 may be a central processing unit CPU, a graphics processing unit GPU, a microprocessor MCU, or the like, and is configured to execute a computer program, and the computer program may be written by using an instruction set of architectures such as x86, Arm, RISC, MIPS, and SSE. The memory 1200 includes, for example, a ROM (read only memory), a RAM (random access memory), a nonvolatile memory such as a hard disk, and the like. The interface device 1300 includes, for example, a USB interface, a serial interface, a parallel interface, and the like. The communication device 1400 is capable of wired communication using an optical fiber or a cable, for example, or wireless communication, and specifically may include WiFi communication, bluetooth communication, 2G/3G/4G/5G communication, and the like. The display device 1500 is, for example, a liquid crystal display panel, a touch panel, or the like. The input device 1600 may include, for example, a touch screen, a keyboard, a somatosensory input, and the like. The speaker 1170 serves to output an audio signal. The microphone 1180 is used to pick up audio signals.
In the embodiment of the present disclosure, the terminal device 1000 may be installed with an intelligent operating system (e.g., Windows, Linux, android, IOS, etc.) and application software.
It should be understood by those skilled in the art that although a plurality of means of the terminal device 1000 are shown in fig. 1, the terminal device 1000 of the embodiments of the present disclosure may refer to only some of the means therein, for example, only the processor 1100, the memory 1200, and the like.
In the embodiment of the present disclosure, the electric bicycle 3000 may be any bicycle having a motor and provided with pedals, wherein the pedals may include a left pedal and a right pedal respectively disposed at two sides of the electric bicycle 3000, the motor is configured to output torque to wheels of the electric bicycle 3000 to provide riding power for a user, and also to output driving force to the pedals of the electric bicycle 3000 to drive the left pedal and the right pedal to rotate.
The electric bicycle 3000 may include, but is not limited to, a processor 3100, a memory 3200, an interface device 3300, a communication device 3400, a display device 3500, an input device 3600, a speaker 3700, a microphone 3800, and the like. The processor 3100 may be a microprocessor MCU or the like. The memory 3200 includes, for example, a ROM (read only memory), a RAM (random access memory), a nonvolatile memory such as a hard disk, and the like. The interface 3300 includes, for example, a USB interface, a serial interface, a parallel interface, and the like. The communication device 3400 can perform wired communication using an optical fiber or a cable, for example, or perform wireless communication, and specifically may include WiFi communication, bluetooth communication, 2G/3G/4G/5G communication, or the like. The display device 3500 may be, for example, a liquid crystal display panel, a touch panel, or the like. The input device 3600 may include, for example, a touch panel, a keyboard, or the like, and may input voice information through a microphone. The electric bicycle 3000 may output an audio signal through a speaker 3700 and collect an audio signal through a microphone 3800.
In the embodiment of the present disclosure, the memory 3200 of the electric bicycle 3000 is used for storing a computer program, which is used for controlling the processor 3100 to operate so as to perform information interaction with the server 2000, for example, to obtain a unique identifier of the electric bicycle 3000, generate an unlocking request for the electric bicycle 3000, and send the unlocking request to the server 2000; a lock closing request is transmitted to the server 2000 for the electric bicycle 3000; and, bill calculation and the like are performed according to the charge settlement notification transmitted from the server 2000. For another example, first state information of a pedal plate of the electric bicycle 3000 is acquired, wherein the first state information indicates whether the pedal plate is in a depressed state; and executing balance adjustment processing on the pedal plate under the condition that the first state information meets a preset condition. How the computer program controls the processor to operate is well known in the art and will not be described in detail here.
Although a plurality of devices of the electric bicycle 3000 are illustrated in fig. 1, the present invention may relate only to some of the devices, for example, the electric bicycle 3000 relates only to the processor 3100, the memory 3200, and the communication device 3400.
It should be understood that, although fig. 1 shows only one server 2000, terminal device 1000, and electric bicycle 3000, it is not meant to limit the respective numbers, and a plurality of servers 2000, a plurality of terminal devices 1000, and a plurality of electric bicycles 3000 may be included in the present system.
< method examples >
Fig. 2 is a schematic flow chart of a control method of an electric bicycle according to an embodiment of the present disclosure, which may be implemented by an electric bicycle, such as the electric bicycle 3000 shown in fig. 1, and the method for controlling an electric bicycle according to the embodiment is described below by taking the electric bicycle 3000 shown in fig. 1 as an example, where the processor 3100 of the electric bicycle 3000 may be used as a controller of the electric bicycle 3000.
As shown in fig. 2, the method for controlling an electric bicycle of the present embodiment may include the following steps S2100 to S2200, which will be described in detail below.
In step S2100, first state information of a pedal of an electric bicycle is acquired, where the first state information indicates whether the pedal is in a depressed state.
In the embodiment of the disclosure, in order to improve the riding experience and riding safety of a user, the problem that the pedals of the electric bicycle are not controlled and may be brought is avoided, specifically, various sensors, such as a pressure sensor and an angle sensor, are integrated on the pedals of the electric bicycle to detect and acquire various state information of the pedals, so that the pedals of the electric bicycle are subjected to balance adjustment processing under the condition that preset conditions are met, and the pedals are prevented from mistakenly touching the ground or colliding with obstacles.
Specifically, under the condition that the user treads the pedal, the pedal is actively controlled by the user, so under the working condition, the automatic balance adjustment processing of the pedal is not needed, and the conflict between the control of the electric bicycle for the pedal and the active control of the user is avoided. Therefore, in the embodiment of the present disclosure, the method is generally used for the condition that the pedal is not stepped on by the user, that is, at the time of a specific process, it is necessary to first judge whether the pedal of the electric bicycle is stepped on to determine whether to perform the balance adjustment process on the pedal, and how to acquire the first state information indicating whether the pedal is in the stepped state is described below.
In one embodiment, a pressure sensor may be provided on a pedal of the electric bicycle; the acquiring first state information of pedals of the electric bicycle comprises: acquiring pressure data acquired by the pressure sensor; and setting the first state information as information indicating that the pedal plate is in a non-treading state when the pressure data is not greater than a second preset threshold value.
Specifically, by arranging a pressure sensor on the pedal of the electric bicycle, pressure data received by the pedal can be collected, and whether the electric bicycle is in a treading state at present can be determined by comparing the pressure data with a second preset threshold value.
Additionally, it is contemplated that in some situations, the user may be briefly off stepping on the foot pedal. To avoid the problem of erroneous judgment in this case, in an embodiment, the acquiring the pressure data collected by the pressure sensor includes: and acquiring a plurality of pressure data acquired by the pressure sensor within a preset time length.
In this embodiment, when the pressure data is not greater than the second preset threshold, the setting the first state information as information indicating that the pedal is in the non-treading state specifically includes: and under the condition that the pressure data are not greater than the second preset threshold, setting the first state information as information indicating that the pedal is in a non-treading state.
The preset time period may be, for example, 5 seconds, 10 seconds, 30 seconds, etc., and is not limited herein.
The acquiring of the plurality of pressure data collected by the pressure sensor within the preset time period may be: and acquiring a plurality of pressure data collected by the pressure sensor within a preset time according to a preset time interval. Specifically, in order to reduce the power consumption of the vehicle, the pressure sensor may not be required to continuously acquire pressure data during the preset time period, but the pressure sensor may be controlled to acquire data at preset time intervals during the preset time period. For example, the preset time period may be 30 seconds, and the preset time interval may be 5 seconds.
Specifically, in order to avoid erroneous determination as to whether or not the pedal is in the depressed state, when the first state information is acquired, the first state information may be determined based on a plurality of pressure data collected by the pressure sensor for a preset time period, for example, 30 seconds. Because the time length for the user to temporarily leave from treading the pedal is usually short, the accuracy of the acquired first state information can be improved by the method provided by the embodiment, and the condition of misjudgment is avoided.
In one embodiment, before the obtaining the first state information of the pedal of the electric bicycle, the method further comprises: acquiring third state information of the electric bicycle, wherein the third state information represents whether the electric bicycle is in a riding state or not; the acquiring of the first state information of the pedals of the electric bicycle is performed in a case where the third state information indicates that the electric bicycle is in a riding state.
That is, the method provided by the embodiment is specifically applied to the electric bicycle in the riding state, and for the non-riding state, for example, the electric bicycle in the locked state and unlocked but in the static state, because the pedals of the electric bicycle do not rotate in the non-riding state, the method does not need to be implemented in the non-riding state, so as to avoid increasing the power consumption of the vehicle.
In a specific implementation, the third state information may be obtained by obtaining at least one of a current speed, an acceleration, a wheel movement signal of the electric bicycle, and the like, and will not be described herein again.
Step S2200 is executed to perform a balance adjustment process on the pedal plate when the first state information satisfies a preset condition.
After the first state information indicating whether the pedals of the electric bicycle are in the depressed state is obtained through the above steps, it is possible to determine whether the balance adjustment process needs to be performed on the pedals based on the first state information.
In one embodiment, the performing a balance adjustment process on the pedal plate in the case where the first state information satisfies a preset condition includes: and executing a balance adjustment process on the pedal plate when the first state information indicates that the pedal plate is in a non-stepping state.
Specifically, if the running-board is in the non-trampling state, then the running-board may follow electric bicycle's the gos forward and rotate, therefore, in order to promote user's experience of riding and the safety of riding, under this condition, can be through carrying out balance adjustment to the running-board and handle to make the running-board be in balanced state, avoid the condition of mistake touching ground to appear.
In one embodiment, the foot pedals include a left pedal and a right pedal; the executing of the balance adjustment process on the foot pedal includes: acquiring second state information of the pedal plate, wherein the second state information indicates whether the pedal plate is in a balanced state, and the balanced state is a state that the left pedal and the right pedal are in horizontal positions.
Please refer to fig. 3, which is a schematic view illustrating a balance state of a footrest according to an embodiment of the present disclosure. Under the condition that the electric bicycle is in a riding state and the pedals are not in a treading state, in order to improve riding experience and riding safety of a user, when the pedals are prepared to be balanced and adjusted, whether the pedals are in a balanced state shown in fig. 3 or not can be judged firstly, and if the pedals are in the balanced state, the balance and adjustment can be not carried out.
In specific implementation, an angle sensor can be arranged on a pedal of the electric bicycle; the acquiring of the second state information of the pedal plate includes: acquiring angle data acquired by the angle sensor; and setting the second state information as information indicating that the pedal plate is in an unbalanced state when the angle data is larger than a first preset threshold value.
In this embodiment, the angle data may be used to indicate the angle of rotation of the foot pedal.
Specifically, it is possible to determine whether the pedal is in a balanced state or not based on angle data obtained by detecting and acquiring angle data indicating a rotation angle of the pedal by providing an angle sensor, for example, a gyroscope, on the pedal.
In a specific implementation, the adjusting the footrest to a balanced state includes: controlling a motor of the electric bicycle to output a driving force for driving the pedals to rotate so as to adjust the pedals to a balanced state. Additionally, after adjusting the footrest to the balanced state, the method further comprises: and controlling the motor to stop outputting the driving force.
That is, the motor may be controlled to output the driving force to drive the pedals to perform the returning operation to the balanced state in a case where it is determined that the pedals of the electric bicycle are in the unbalanced state.
In a specific implementation, an accommodating cavity for accommodating the pedal may be provided in the electric bicycle, so that the electric bicycle automatically controls the pedal to be folded and accommodated in the accommodating cavity when the pedal is not pedaled, or the electric bicycle responds to active control of a user to fold and accommodate the pedal in the accommodating cavity, which is not particularly limited herein.
Please refer to fig. 4, which is a schematic diagram of an example provided by the embodiment of the present disclosure. As shown in fig. 3, after the electric bicycle is powered on, step S4100 may be executed to obtain the riding state information of the electric bicycle, so as to determine whether the electric bicycle is in a riding state according to the riding state information; if the electric bicycle is in the riding state, executing step S4200, obtaining the stepping state information of the pedal of the electric bicycle, and determining whether the pedal is in the stepping state according to the stepping state information; if the pedal of the electric bicycle is in a non-treading state, executing step S4300 to obtain balance state information of the pedal so as to judge whether the pedal is in a balance state according to the balance state information; if the pedals are not in the balanced state, step S4400 is executed to control the motor of the electric bicycle to output the driving force for driving the pedals to rotate so as to adjust the pedals to the balanced state, and after the pedals are in the balanced state, the driving force is stopped to be output.
In summary, according to the method provided by the embodiment of the disclosure, in the working process of the electric bicycle, by acquiring the first state information used for indicating whether the pedals of the electric bicycle are in the treading state, the balance adjustment processing can be automatically executed on the pedals of the electric bicycle under the condition that the first state information meets the preset condition, so as to improve the riding experience of the user and avoid potential safety hazards.
< apparatus embodiment >
Corresponding to the above method embodiment, an embodiment of the present disclosure further provides a control device of an electric bicycle, and fig. 5 is a block schematic diagram of the control device of the electric bicycle according to the embodiment of the present disclosure. As shown in fig. 5, the control apparatus 5000 of the electric bicycle may include: an acquisition module 5100 and an adjustment module 5200.
The obtaining module 5100 is configured to obtain first state information of a pedal of the electric bicycle, where the first state information indicates whether the pedal is in a pedaling state.
In one embodiment, a pressure sensor is arranged on the pedal; the obtaining module 5100, when obtaining the first state information of the pedal of the electric bicycle, may be configured to: acquiring pressure data acquired by the pressure sensor; and setting the first state information as information indicating that the pedal plate is in a non-treading state when the pressure data is not greater than a second preset threshold value.
In one embodiment, the apparatus 5000 further includes a riding state obtaining module, configured to obtain third state information of the electric bicycle, where the third state information indicates whether the electric bicycle is in a riding state; in a case that the third state information indicates that the electric bicycle is in a riding state, a signal is sent to the obtaining module 5100 to trigger the obtaining module to perform the obtaining of the first state information of the pedals of the electric bicycle.
The adjusting module 5200 is configured to perform a balance adjustment process on the pedal when the first status information satisfies a preset condition.
In one embodiment, the adjusting module 5200, when executing the balance adjustment process on the pedal, if the first status information satisfies a predetermined condition, may be configured to: and executing a balance adjustment process on the pedal plate when the first state information indicates that the pedal plate is in a non-stepping state.
In one embodiment, the foot pedals include a left pedal and a right pedal; the adjustment module 5200, when the first state information indicates that the pedal is in the non-depressed state and the balance adjustment process is performed on the pedal, may be configured to: acquiring second state information of the pedal plate, wherein the second state information indicates whether the pedal plate is in a balanced state, and the balanced state is a state that the left pedal and the right pedal are in horizontal positions; adjusting the foot pedal to a balanced state if the second state information indicates that the foot pedal is in an unbalanced state.
In one embodiment, the adjustment module 5200, when adjusting the footrest to a balanced state, can be configured to: controlling a motor of the electric bicycle to output a driving force for driving the pedals to rotate so as to adjust the pedals to a balanced state.
In one embodiment, the adjustment module 5200, after adjusting the footrest to a balanced state, may also be used to: and controlling the motor to stop outputting the driving force.
In one embodiment, an angle sensor is arranged on the pedal; the adjustment module 5200, when obtaining the second status information of the pedal, can be configured to: acquiring angle data acquired by the angle sensor; and setting the second state information as information indicating that the pedal plate is in an unbalanced state when the angle data is larger than a first preset threshold value.
< apparatus embodiment >
Corresponding to the above embodiments, in this embodiment, another electric bicycle is further provided, which may include the control device 5000 of the electric bicycle according to any embodiment of the present disclosure, for implementing the control method of the electric bicycle according to any embodiment of the present disclosure.
As shown in fig. 6, the electric bicycle 6000 can further include a processor 6200 and a memory 6100, wherein the memory 6100 is configured to store executable instructions; the processor 6200 is configured to operate the electric bicycle according to the control of the instruction to perform a control method of the electric bicycle according to any embodiment of the present disclosure.
The various modules of the apparatus 5000 above may be implemented by the processor 6200 executing the instructions to perform a method according to any embodiment of the invention.
One or more embodiments of the present description may be a system, method, and/or computer program product. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied thereon for causing a processor to implement various aspects of the specification.
The computer readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations for embodiments of the present description may be assembly instructions, Instruction Set Architecture (ISA) instructions, machine related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, an electronic circuit, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA), can execute computer-readable program instructions to implement various aspects of the present description by utilizing state information of the computer-readable program instructions to personalize the electronic circuit.
Aspects of the present description are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the description. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present description. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. It is well known to those skilled in the art that implementation by hardware, implementation by software, and implementation by a combination of software and hardware are equivalent.
The foregoing description of the embodiments of the present specification has been presented for purposes of illustration and description, but is not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the application is defined by the appended claims.
Claims (8)
1. A control method of an electric bicycle, characterized by comprising:
acquiring first state information of a pedal of the electric bicycle, wherein the first state information represents whether the pedal is in a treading state;
executing a balance adjustment process on the pedal plate when the first state information indicates that the pedal plate is in a non-stepping state;
wherein the foot pedal comprises a left pedal and a right pedal; the executing of the balance adjustment process on the foot pedal includes: acquiring second state information of the pedal plate, wherein the second state information indicates whether the pedal plate is in a balanced state, and the balanced state is a state that the left pedal and the right pedal are in horizontal positions; adjusting the foot pedal to a balanced state if the second state information indicates that the foot pedal is in an unbalanced state.
2. The method of claim 1, wherein said adjusting said foot pedal to a balanced state comprises:
controlling a motor of the electric bicycle to output a driving force for driving the pedals to rotate so as to adjust the pedals to a balanced state.
3. The method of claim 2, wherein after adjusting the foot pedal to a state of equilibrium, the method further comprises:
and controlling the motor to stop outputting the driving force.
4. The method of claim 1, wherein an angle sensor is provided on the foot pedal;
the acquiring of the second state information of the pedal plate includes:
acquiring angle data acquired by the angle sensor;
and setting the second state information as information indicating that the pedal plate is in an unbalanced state when the angle data is larger than a first preset threshold value.
5. The method of claim 1, wherein a pressure sensor is provided on the foot pedal;
the acquiring first state information of pedals of the electric bicycle comprises:
acquiring pressure data acquired by the pressure sensor;
and setting the first state information as information indicating that the pedal plate is in a non-treading state when the pressure data is not greater than a second preset threshold value.
6. The method of claim 1, wherein prior to said obtaining first status information of a pedal of the electric bicycle, the method further comprises:
acquiring third state information of the electric bicycle, wherein the third state information represents whether the electric bicycle is in a riding state or not;
the obtaining of the first state information of the pedals of the electric bicycle is performed in a case where the third state information indicates that the electric bicycle is in a riding state.
7. A control device for an electric bicycle, comprising:
the acquiring module is used for acquiring first state information of a pedal of the electric bicycle, wherein the first state information represents whether the pedal is in a treading state or not;
an adjustment module configured to perform a balance adjustment process on the pedal plate when the first state information indicates that the pedal plate is in a non-tread state;
wherein the foot pedal comprises a left pedal and a right pedal; the executing of the balance adjustment process on the foot pedal includes: acquiring second state information of the pedal plate, wherein the second state information indicates whether the pedal plate is in a balanced state, and the balanced state is a state that the left pedal and the right pedal are in horizontal positions; adjusting the foot pedal to a balanced state if the second state information indicates that the foot pedal is in an unbalanced state.
8. An electric bicycle comprising the control device of an electric bicycle according to claim 7, or,
the electric bicycle includes:
a memory for storing executable instructions;
a processor for operating the electric bicycle to perform the control method of the electric bicycle according to any one of claims 1 to 6, according to the control of the instruction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111049675.1A CN113650712B (en) | 2021-09-08 | 2021-09-08 | Electric bicycle control method and device and electric bicycle |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111049675.1A CN113650712B (en) | 2021-09-08 | 2021-09-08 | Electric bicycle control method and device and electric bicycle |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113650712A CN113650712A (en) | 2021-11-16 |
CN113650712B true CN113650712B (en) | 2022-09-16 |
Family
ID=78493718
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111049675.1A Active CN113650712B (en) | 2021-09-08 | 2021-09-08 | Electric bicycle control method and device and electric bicycle |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113650712B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102022202970A1 (en) | 2022-03-25 | 2023-09-28 | Robert Bosch Gesellschaft mit beschränkter Haftung | Method of operating a bicycle |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FR2646825A1 (en) * | 1989-05-10 | 1990-11-16 | Cadet Pierre | Novel technique for propelling a vehicle with pedals |
JPH08164885A (en) * | 1994-12-13 | 1996-06-25 | Himu Kenkyusho:Kk | Pedal starting positioning device of bicyle |
CN2399296Y (en) * | 1999-11-18 | 2000-10-04 | 郝得顺 | Automatic restoring peddle device |
JP2001294188A (en) * | 2000-04-14 | 2001-10-23 | Yoshiichi Sano | Changeable pedal arm device for bicycle |
CN2837179Y (en) * | 2005-09-23 | 2006-11-15 | 重庆宗申技术开发研究有限公司 | Electric bicycle |
CN204184540U (en) * | 2014-09-04 | 2015-03-04 | 上海创骋工业设计有限公司 | A kind of middle axle gearing device for electric driven bicycle |
CN204264398U (en) * | 2014-12-12 | 2015-04-15 | 江苏爱玛车业科技有限公司 | A kind of Multifunctional pedal |
CN205186451U (en) * | 2015-10-23 | 2016-04-27 | 天津赛克电动车有限公司 | Electric bicycle pedal |
CN208882028U (en) * | 2018-09-29 | 2019-05-21 | 创呈工业设计(上海)有限公司 | A kind of electric vehicle axis locking system |
-
2021
- 2021-09-08 CN CN202111049675.1A patent/CN113650712B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FR2646825A1 (en) * | 1989-05-10 | 1990-11-16 | Cadet Pierre | Novel technique for propelling a vehicle with pedals |
JPH08164885A (en) * | 1994-12-13 | 1996-06-25 | Himu Kenkyusho:Kk | Pedal starting positioning device of bicyle |
CN2399296Y (en) * | 1999-11-18 | 2000-10-04 | 郝得顺 | Automatic restoring peddle device |
JP2001294188A (en) * | 2000-04-14 | 2001-10-23 | Yoshiichi Sano | Changeable pedal arm device for bicycle |
CN2837179Y (en) * | 2005-09-23 | 2006-11-15 | 重庆宗申技术开发研究有限公司 | Electric bicycle |
CN204184540U (en) * | 2014-09-04 | 2015-03-04 | 上海创骋工业设计有限公司 | A kind of middle axle gearing device for electric driven bicycle |
CN204264398U (en) * | 2014-12-12 | 2015-04-15 | 江苏爱玛车业科技有限公司 | A kind of Multifunctional pedal |
CN205186451U (en) * | 2015-10-23 | 2016-04-27 | 天津赛克电动车有限公司 | Electric bicycle pedal |
CN208882028U (en) * | 2018-09-29 | 2019-05-21 | 创呈工业设计(上海)有限公司 | A kind of electric vehicle axis locking system |
Also Published As
Publication number | Publication date |
---|---|
CN113650712A (en) | 2021-11-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111976881B (en) | Overload-proof electric bicycle | |
CN111461831B (en) | Vehicle parking control method, electronic equipment and vehicle system | |
CN111063120A (en) | Control method of electric bicycle, electric bicycle and electric bicycle system | |
CN111976875A (en) | Control method and device for safely using bicycle, electronic equipment and vehicle system | |
CN113650712B (en) | Electric bicycle control method and device and electric bicycle | |
CN113928325B (en) | Driving auxiliary takeover prompting method and device, terminal equipment and storage medium | |
CN111063122A (en) | Control method of electric bicycle, electric bicycle and electric bicycle system | |
CN114044077B (en) | Overload detection method and device for electric bicycle and electric bicycle | |
CN113942603A (en) | Brake fault detection method and device of bicycle and bicycle | |
CN113470339A (en) | Vehicle control method, device, vehicle and system | |
US11491958B2 (en) | Braking device for a bicycle and braking system for a bicycle | |
US20160325640A1 (en) | E-bike trailer control | |
CN114655343A (en) | Riding state detection method and device and electric bicycle | |
US11040756B2 (en) | Power control method and apparatus, vehicle and computer storage medium | |
CN113910917A (en) | Electric bicycle speed control method and device, electric bicycle and storage medium | |
CN105004465A (en) | Electric wheelbarrow pressure detection method and electric wheelbarrow pressure detector | |
CN113409611B (en) | Parking area recommendation method and device | |
CN113253702B (en) | Vehicle fault indication method and device | |
CN111907623A (en) | Electric bicycle | |
CN113888809A (en) | Shared vehicle parking detection method and device, server and parking management equipment | |
CN112700595A (en) | Information prompting method and device of electric bicycle and electric bicycle | |
CN113650714B (en) | Electric bicycle starting control method and device, electric bicycle and storage medium | |
CN114061719A (en) | User weight measuring method and device and electric bicycle | |
CN111907635A (en) | Electric bicycle | |
CN112224326B (en) | Electric bicycle |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |