Electric bicycle overload detection method and device, electronic control unit and storage medium
Patent Information
- Application Number
- CN202410433267.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-11
- Publication Date
- 2026-10-27
- Estimated Expiration
- 2044-04-11
AI Technical Summary
电单车超载容易导致车量骨架受损变形、开裂甚至断裂,同时对骑行车辆人员存在的很大安全隐患
[0058]上述电单车超载检测方法、装置、电子控制单元和存储介质,根据前轮重力传感器发送的第一重力值和后轮重力传感器发送的第二重力值确定是否存在超载现象,之后在存在超载现象的情况下,通过对电单车进行断电和锁车处理以及发送超载提示信息以通知骑行者存在超载情况,从而避免了骑行者在超载情况下继续骑行,提高了骑行安全性。
Smart Images

Figure CN118514800B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electric vehicle technology, and in particular to a method, device, electronic control unit, and storage medium for detecting overload on electric bicycles. Background Technology
[0002] Electric bicycles (also known as two-wheeled electric vehicles), especially shared electric bicycles, are frequently overloaded in actual use, often used for transporting goods such as cement or rice, or by multiple riders. Overloading can easily lead to damage, deformation, cracking, or even breakage of the vehicle's frame, and poses a significant safety hazard to riders. Therefore, there is an urgent need for a method to detect overloading on electric bicycles, so as to promptly alert users when overloading occurs and ensure the safety of life and property. Summary of the Invention
[0003] Therefore, it is necessary to provide a method, device, electronic control unit, and storage medium for detecting overloaded electric bicycles that can improve riding safety, in response to the aforementioned technical problems.
[0004] In a first aspect, this application provides a method for detecting overload on an electric bicycle, the method being applied to an electronic control unit in the electric bicycle, the method comprising:
[0005] Receives a first gravity value sent by the front wheel gravity sensor and a second gravity value sent by the rear wheel gravity sensor of the electric bicycle;
[0006] Based on the first gravity value and the second gravity value, a first overload detection result is determined, which is used to characterize whether an overload phenomenon exists.
[0007] If the first overload detection result indicates that an overload exists, the electric bicycle is powered off and locked, and an overload warning message is sent to notify the rider that an overload has occurred.
[0008] In one possible implementation, determining the first overload detection result based on the first gravity value and the second gravity value includes:
[0009] When the first gravity value is greater than the first threshold and the second gravity value is greater than the second threshold, a first overload detection result indicating the existence of an overload phenomenon is obtained.
[0010] In one possible implementation, after obtaining a first overload detection result characterizing the presence of overload, the method further includes:
[0011] When the first gravity value is less than the third threshold and the second gravity value is less than the fourth threshold, a scene image of the electric bicycle at a preset location is collected, wherein the third threshold is greater than the first threshold and the fourth threshold is greater than the second threshold.
[0012] A second overload detection result is obtained based on the on-site image, and the second overload detection result is used to characterize whether an overload phenomenon exists.
[0013] If no overload phenomenon is found in the second overload detection and result characterization, the electric bicycle is restored to power and unlocked, and an overload reminder cancellation message is sent.
[0014] In one possible implementation, the method further includes:
[0015] In the event of overloading, the current overloading information is recorded in the database. The current overloading information includes the current overload weight, the vehicle identification of the electric bicycle, and the user identification of the current rider.
[0016] In one possible implementation, the method further includes:
[0017] Based on the vehicle identification of the electric bicycle and the overload information recorded in the database, the number of times the electric bicycle is overloaded is determined.
[0018] Based on the current rider's user identifier and the overloading information recorded in the database, the number of times the current rider has been overloaded is determined;
[0019] If the number of overloads corresponding to the electric bicycle exceeds the fifth threshold, a quality inspection prompt message is sent. The quality inspection prompt message is used to prompt the inspection of the vehicle's safety.
[0020] If the number of times a rider has been overloaded exceeds the sixth threshold, a personnel inspection prompt message is sent to prompt the rider to be checked.
[0021] In one possible implementation, determining the first overload detection result based on the first gravity value and the second gravity value includes:
[0022] Based on the first gravity value and the second gravity value, a risk level is determined, wherein the risk level is used to characterize the probability of an overload phenomenon.
[0023] When the risk level is a preset risk level, a first overload detection result indicating the presence of overload is obtained.
[0024] In one possible implementation, the front wheel gravity sensor is disposed between the tire and the rim of the front wheel of the electric bicycle, and the rear wheel gravity sensor is disposed between the tire and the rim of the rear wheel of the electric bicycle.
[0025] Secondly, this application also provides an overload detection device for electric bicycles, the device being applied to the electronic control unit in the electric bicycle, the device comprising:
[0026] The receiving module is used to receive the first gravity value sent by the front wheel gravity sensor and the second gravity value sent by the rear wheel gravity sensor of the electric bicycle.
[0027] The first determining module is used to determine a first overload detection result based on the first gravity value and the second gravity value. The first overload detection result is used to characterize whether an overload phenomenon exists.
[0028] The processing module is used to cut off the power and lock the electric bicycle when the first overload detection result indicates that there is an overload phenomenon, and to send an overload warning message to notify the rider that there is an overload.
[0029] In one possible implementation, the first determining module is further configured to
[0030] When the first gravity value is greater than the first threshold and the second gravity value is greater than the second threshold, a first overload detection result indicating the existence of an overload phenomenon is obtained.
[0031] In one possible implementation, the device further includes:
[0032] The acquisition module is used to acquire on-site images of the electric bicycle at a preset location when the first gravity value is less than a third threshold and the second gravity value is less than a fourth threshold, wherein the third threshold is greater than the first threshold and the fourth threshold is greater than the second threshold.
[0033] The acquisition module is used to acquire a second overload detection result based on the on-site image, and the second overload detection result is used to characterize whether an overload phenomenon exists;
[0034] The recovery module is used to restore power to the electric bicycle and unlock it when the second overload detection and result characterization do not show any overload phenomenon, and send an overload reminder cancellation message.
[0035] In one possible implementation, the device further includes:
[0036] The recording module is used to record the current overload information in the database when overloading occurs. The current overload information includes the current overload weight, the vehicle identification of the electric bicycle, and the user identification of the current rider.
[0037] In one possible implementation, the device further includes:
[0038] The second determining module is used to determine the number of times the electric bicycle is overloaded based on the vehicle identification of the electric bicycle and the overload information recorded in the database.
[0039] The third determining module is used to determine the number of times the current rider is overloaded based on the user identifier of the current rider and the overload information recorded in the database;
[0040] The first sending module is used to send a quality inspection prompt message when the number of overloads corresponding to the electric bicycle is greater than a fifth threshold. The quality inspection prompt message is used to prompt the inspection of the vehicle's safety.
[0041] The second sending module is used to send a personnel inspection prompt message when the number of overloads corresponding to the current rider is greater than the sixth threshold. The personnel inspection prompt message is used to prompt the rider to be checked.
[0042] In one possible implementation, determining the first overload detection result based on the first gravity value and the second gravity value includes:
[0043] Based on the first gravity value and the second gravity value, a risk level is determined, wherein the risk level is used to characterize the probability of an overload phenomenon.
[0044] When the risk level is a preset risk level, a first overload detection result indicating the presence of overload is obtained.
[0045] In one possible implementation, the front wheel gravity sensor is disposed between the tire and the rim of the front wheel of the electric bicycle, and the rear wheel gravity sensor is disposed between the tire and the rim of the rear wheel of the electric bicycle.
[0046] Thirdly, this application also provides an electronic control unit, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0047] Receives a first gravity value sent by the front wheel gravity sensor and a second gravity value sent by the rear wheel gravity sensor of the electric bicycle;
[0048] Based on the first gravity value and the second gravity value, a first overload detection result is determined, which is used to characterize whether an overload phenomenon exists.
[0049] If the first overload detection result indicates that an overload exists, the electric bicycle is powered off and locked, and an overload warning message is sent to notify the rider that an overload has occurred.
[0050] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, performs the following steps:
[0051] Receives a first gravity value sent by the front wheel gravity sensor and a second gravity value sent by the rear wheel gravity sensor of the electric bicycle;
[0052] Based on the first gravity value and the second gravity value, a first overload detection result is determined, which is used to characterize whether an overload phenomenon exists.
[0053] If the first overload detection result indicates that an overload exists, the electric bicycle is powered off and locked, and an overload warning message is sent to notify the rider that an overload has occurred.
[0054] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, performs the following steps:
[0055] Receives a first gravity value sent by the front wheel gravity sensor and a second gravity value sent by the rear wheel gravity sensor of the electric bicycle;
[0056] Based on the first gravity value and the second gravity value, a first overload detection result is determined, which is used to characterize whether an overload phenomenon exists.
[0057] If the first overload detection result indicates that an overload exists, the electric bicycle is powered off and locked, and an overload warning message is sent to notify the rider that an overload has occurred.
[0058] The aforementioned electric bicycle overload detection method, device, electronic control unit, and storage medium determine whether an overload exists based on the first gravity value sent by the front wheel gravity sensor and the second gravity value sent by the rear wheel gravity sensor. If an overload exists, the electric bicycle is powered off and locked, and an overload warning message is sent to notify the rider of the overload situation, thereby preventing the rider from continuing to ride under overload conditions and improving riding safety. Attached Figure Description
[0059] To more clearly illustrate the technical solutions in the embodiments or related technologies of this application, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0060] Figure 1 This diagram illustrates an application scenario provided by an embodiment of this application.
[0061] Figure 2 This diagram illustrates the architecture of the vehicle overload detection system provided in an embodiment of this application.
[0062] Figure 3 A flowchart illustrating the electric bicycle overload detection method provided in an embodiment of this application is shown.
[0063] Figure 4 This illustration shows a process for determining whether an overload phenomenon exists, as provided in an embodiment of this application.
[0064] Figure 5 An exemplary schematic diagram illustrating the risk levels provided in the embodiments of this application is shown;
[0065] Figure 6 A flowchart illustrating the electric bicycle overload detection method provided in an embodiment of this application is shown.
[0066] Figure 7 This diagram shows a structural block diagram of the electric bicycle overload detection device provided in an embodiment of this application;
[0067] Figure 8 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0068] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0069] In one embodiment, Figure 1 This diagram illustrates an application scenario provided by an embodiment of this application. For example... Figure 1 As shown, there are cars and motorcycles (also known as electric bicycles) driving on the road, and pedestrians walking on the roadside. Figure 1 For illustrative purposes only, electric bicycles can also be parked in squares, shopping mall entrances, residential building entrances, or other parking areas. In this embodiment, a front wheel gravity sensor and a rear wheel gravity sensor can be installed on the electric bicycle to detect whether the bicycle is overloaded.
[0070] In this embodiment, the presence of overload is first determined based on the first gravity value sent by the front wheel gravity sensor and the second gravity value sent by the rear wheel gravity sensor. Then, if overload is present, the electric bicycle is powered off and locked, and an overload warning message is sent to notify the rider of the overload situation, thereby preventing the rider from continuing to ride under overload conditions and improving riding safety.
[0071] Figure 2 This diagram illustrates the architecture of a vehicle overload detection system provided in an embodiment of this application. Figure 2 As shown, the vehicle overload detection system may include: an electronic control unit (ECU), a front wheel gravity sensor, and a rear wheel gravity sensor.
[0072] The front wheel gravity sensor can be installed at the front wheel of the electric bicycle. The front wheel gravity sensor can be used to collect the gravity value of the front wheel. In this embodiment, a first gravity value is used to represent the gravity value collected by the front wheel gravity sensor. The rear wheel gravity sensor can be installed at the rear wheel of the electric bicycle. The rear wheel gravity sensor can be used to collect the gravity value of the rear wheel. In this embodiment, a second gravity value is used to represent the gravity value collected by the rear wheel gravity sensor.
[0073] The front wheel gravity sensor reports a first gravity value to the electronic control unit (ECU). The rear wheel sensor reports a second gravity value to the ECU. Upon receiving the first and second gravity values, the ECU determines a first overload detection result. If this result indicates an overload, the ECU will cut off the power to the electric bicycle, lock the bicycle, and send an overload warning message to notify the rider of the overload situation. The process by which the ECU determines the overload detection result will be explained later and will not be repeated here.
[0074] In this embodiment, communication lines can be set between the front wheel gravity sensor and the electronic control unit, and between the rear wheel gravity sensor and the electronic control unit. The communication method can refer to the communication method between the electronic control unit and other components (such as the display screen) in the electric bicycle, which will not be described in detail here.
[0075] In one possible implementation, the vehicle overload detection system may further include an image acquisition device. This image acquisition device can be used to acquire on-site images of a preset location on the electric bicycle. The preset location includes, but is not limited to, the pedal position and the rear seat position. The image acquisition device can be a camera, video camera, or video recorder, etc. The on-site images acquired by the image acquisition device can be color image data or grayscale image data. The on-site images acquired by the image acquisition device can be ordinary image data or wide-angle image data. This application embodiment does not limit the image acquisition device or the on-site images.
[0076] In one possible implementation, the vehicle overload detection system may further include a display screen. When an overload is detected, the electronic control unit sends an overload warning message to the display screen. Upon receiving the warning message, the display screen can highlight the overload situation. For example, the display screen may be entirely red, or display entirely red and flashing, etc., and this embodiment of the application does not limit the scope of the application.
[0077] In one possible implementation, the vehicle overload detection system may also include a loudspeaker. When overload is detected, the electronic control unit can send an overload warning message to the loudspeaker. Upon receiving the warning message, the loudspeaker can verbally announce the overload. For example, the loudspeaker can emit a sound, with the frequency increasing as the overload worsens. The loudspeaker can also emit audio messages such as "Overload" or "Overloaded, Prohibited." It should be noted that the loudspeaker can also be used to issue reversing warnings and horn alerts.
[0078] It should be noted that the frequency at which the front wheel gravity sensor collects and reports the first gravity value, the frequency at which the rear wheel gravity sensor collects and reports the second gravity value, and the frequency at which the electronic control unit processes the first and second gravity values can be set as needed, and this application embodiment does not impose any limitations. It is understood that the higher the frequency, the higher the real-time performance, the higher the accuracy, and therefore the higher the safety.
[0079] Based on the aforementioned vehicle overload detection system, it is possible to determine whether an overload exists based on the first gravity value sent by the front wheel gravity sensor and the second gravity value sent by the rear wheel gravity sensor. If an overload exists, the system will then disconnect the power to the electric bicycle, lock the bicycle, and send an overload warning message to notify the rider of the overload situation. This prevents the rider from continuing to ride under overload conditions and improves riding safety.
[0080] In one exemplary embodiment, Figure 3 This diagram illustrates a flowchart of an electric bicycle overload detection method provided in an embodiment of this application. This method can be applied to electronic control units. Figure 3As shown, the method may include:
[0081] Step S201: Receive the first gravity value sent by the front wheel gravity sensor and the second gravity value sent by the rear wheel gravity sensor of the electric bicycle.
[0082] A front wheel gravity sensor refers to a gravity sensor installed on the front wheel of an electric bicycle, used to collect the weight value of the front wheel. A first gravity value represents the weight value collected by the front wheel gravity sensor. In one example, the front wheel gravity sensor can be positioned between the tire and the rim of the front wheel. Because the tire is elastic, this allows for the collection of a relatively accurate first gravity value while also protecting the front wheel gravity sensor.
[0083] A rear wheel gravity sensor can refer to a gravity sensor installed on the rear wheel, used to collect the weight value of the rear wheel of a motorcycle. A second gravity value can represent the weight value collected by the rear wheel gravity sensor. In one example, the rear wheel gravity sensor can be positioned between the tire and the rim of the motorcycle's rear wheel. Due to the elasticity of the tire, this allows for the collection of a relatively accurate second gravity value while protecting the rear wheel gravity sensor.
[0084] In one example, the front wheel gravity sensor and the rear wheel gravity sensor can send a first gravity value and a second gravity value to the electronic control unit at preset time intervals (e.g., 1 minute or 5 minutes). In another example, the front wheel gravity sensor can send a first gravity value to the electronic control unit when the first gravity value is greater than a certain threshold (e.g., 67 kg), and the rear wheel gravity sensor can send a second gravity value to the electronic control unit when the second gravity value is greater than a certain threshold (e.g., 93 kg). This application does not limit the timing of reporting the first and second gravity values.
[0085] Step S202: Determine the first overload detection result based on the first gravity value and the second gravity value.
[0086] The first overload detection result can be used to characterize whether an overload phenomenon exists.
[0087] In one possible implementation, step S202 may include: obtaining a first overload detection result characterizing the existence of an overload phenomenon when the first gravity value is greater than a first threshold and the second gravity value is greater than a second threshold.
[0088] The first threshold can be used to determine whether the front wheels are overloaded, and the second threshold can be used to determine whether the rear wheels are overloaded. The first and second thresholds can be set as needed.
[0089] The national standard for electric bicycles (GB17761) stipulates that each rider should have a load capacity of G0 = 75kg (if less than 75kg, the load should be adjusted to 75kg), the basket load limit is g = 5kg, and the load distribution principle between the front and rear wheels is 40% for the front wheel and 60% for the rear wheel. The safety factor k is 1.33, and the corresponding passenger load is G1 = 100kg (the safety factor is k = G1 / G0 = 100 / 75 = 1.33). The assembled vehicle weight M ≤ 55kg. At this time, the front wheel load = (G1 + M) * 40% + g = 67kg, and the rear wheel load = (G1 + M) * 60% = 93kg. Therefore, in one example, the first threshold can be set to 67kg, and the second threshold can be set to 93kg. The first and second thresholds can also be adjusted based on the national standard, such as increasing or decreasing by 5%, etc., which is not limited in this embodiment.
[0090] When the first gravity value is greater than the first threshold, it indicates that the front wheels are overloaded; when the second gravity value is greater than the second threshold, it indicates that the rear wheels are overloaded. Therefore, when both the first gravity value and the second gravity value are greater than the second threshold, it indicates that both the front and rear wheels are overloaded. At this time, the electronic control unit can determine that an overload phenomenon exists, and thus obtain the first overload detection result indicating that an overload phenomenon exists.
[0091] In one possible implementation, step S202 may include: obtaining a first overload detection result indicating that there is no overload phenomenon when the first gravity value is less than or equal to a first threshold and the second gravity value is less than or equal to a second threshold.
[0092] When the first gravity value is less than or equal to the first threshold, it indicates that the front wheels are not overloaded; when the second gravity value is less than or equal to the second threshold, it indicates that the rear wheels are not overloaded. Therefore, when both the first gravity value and the second gravity value are less than or equal to the second threshold, it indicates that neither the front nor the rear wheels are overloaded. In this case, the electronic control unit can determine that there is no overload phenomenon, thus obtaining a first overload detection result indicating that there is no overload phenomenon.
[0093] In one possible implementation, step S202 may include: obtaining a first overload detection result indicating the presence of an overload phenomenon when the first gravity value is greater than a third threshold or the second gravity value is greater than a fourth threshold.
[0094] The third threshold can be used to determine whether the front wheels have reached the overload limit, and the third threshold is greater than the first threshold. In one example, the third threshold can be 75 kg.
[0095] When the first gravity value is less than or equal to the first threshold, it indicates that the front wheels are not overloaded. When the first gravity value is greater than the first threshold and less than or equal to the third threshold, it indicates that the front wheels are overloaded but have not reached the overload limit. When the first gravity value is greater than the third threshold, it indicates that the front wheels are overloaded and have reached the overload limit. When the first gravity value is greater than the third threshold, the front wheels have reached the overload limit. At this point, regardless of whether the rear wheels are overloaded, the safety hazard of the electric bicycle is significant. Therefore, the electronic control unit can determine that an overload exists and obtain the first overload detection result.
[0096] A fourth threshold can be used to determine whether the rear wheels have reached the overload limit; the fourth threshold is greater than the second threshold. In one example, the fourth threshold could be 105 kg.
[0097] When the second gravity value is less than or equal to the second threshold, it indicates that the rear wheels are not overloaded. When the second gravity value is greater than the second threshold and less than or equal to the fourth threshold, it indicates that the rear wheels are overloaded but have not reached the overload limit. When the second gravity value is greater than the fourth threshold, it indicates that the rear wheels are overloaded and have reached the overload limit. When the second gravity value is greater than the fourth threshold, the rear wheels have reached the overload limit. At this point, regardless of whether the front wheels are overloaded, the safety hazard of the electric bicycle is significant. Therefore, the electronic control unit can determine that an overload exists and obtain the first overload detection result.
[0098] In other words, if either the first gravity value is greater than the third threshold or the second gravity value is greater than the fourth threshold, there is a significant safety hazard, and the electronic control unit can determine that there is an overload.
[0099] In one possible implementation, step S202 may include: acquiring a field image of a preset position of the electric bicycle when the first gravity value and the second gravity value satisfy a first condition; and obtaining a first overload detection result based on the field image.
[0100] The first condition can represent situations other than the three cases mentioned above. The three cases are: neither the front nor rear wheels are overloaded; both the front and rear wheels are overloaded; and either the front or rear wheels have reached their overload limit. Specifically, the first condition can include:
[0101] Scenario 1: The first gravity value is greater than the first threshold and less than or equal to the third threshold, and the second gravity value is less than the second threshold. In this case, the front wheels are overloaded but have not reached the overload limit, while the rear wheels are not overloaded, making it impossible to directly determine whether the electric bicycle as a whole is overloaded.
[0102] Scenario 2: The second gravity value is greater than the second threshold and less than or equal to the fourth threshold, and the first gravity value is less than the first threshold. In this case, the front wheels are not overloaded, the rear wheels are overloaded but have not reached the overload limit, and it cannot be directly determined whether the electric bicycle is overloaded.
[0103] Therefore, if the first and second gravity values meet the first condition, the electronic control unit can further determine whether the electric bicycle is overloaded based on the on-site image. In one example, after acquiring the on-site image, the electronic control unit can perform target detection on the image locally or in the cloud to determine whether there are people or objects at the preset location. If there are people or objects at the preset location, the electronic control unit can determine that there is an overload, thus obtaining a first overload detection result indicating that there is an overload. If there are no people or objects at the preset location, the electronic control unit can determine that there is no overload, thus obtaining a first overload detection result indicating that there is no overload.
[0104] Figure 4 This illustration shows a process for determining whether an overload phenomenon exists, as provided in an embodiment of this application. Figure 4 As shown, the electronic control unit acquires the first gravity value and the second gravity value.
[0105] If the first gravity value is less than or equal to the first threshold and the second gravity value is less than or equal to the second threshold, it is determined that there is no overload phenomenon.
[0106] If the first gravity value is greater than the first threshold and the first gravity value is less than or equal to the third threshold and the second gravity value is less than the second threshold, or if the first gravity value is less than the first threshold and the second gravity value is greater than the second threshold and the second gravity value is less than or equal to the fourth threshold, determine whether a person or object is detected at the preset position based on the on-site image; if so, there is an overload phenomenon; otherwise, there is no overload phenomenon.
[0107] If the first gravity value is greater than the first threshold and the second gravity value is greater than the second threshold, it is determined that there is an overload phenomenon.
[0108] If the first gravity value is greater than the third threshold or the second gravity value is greater than the fourth threshold, an overload is confirmed.
[0109] In this embodiment, multiple thresholds can be set, and then the existence of overload can be determined by comparing the first gravity value and the second gravity value with each threshold, thereby improving accuracy.
[0110] In one possible implementation, step S202 may include: determining a risk level based on the first gravity value and the second gravity value, the risk level being used to characterize the probability of an overload phenomenon; and obtaining a first overload detection result characterizing the existence of an overload phenomenon when the risk level is a preset risk level.
[0111] The electronic control unit (ECU) can determine the risk level based on a first gravity value and a second gravity value. Then, when the risk level is a preset risk level, it obtains a first overload detection result indicating the presence of an overload. The risk level represents the probability of an overload. That is, different risk levels correspond to different probabilities of overload. A higher risk level indicates a greater probability of overload, and a lower risk level indicates a lower probability. The preset risk level represents the level of risk associated with an overload. In other words, when the risk level determined based on the first and second gravity values is a preset level, the ECU can determine that an overload exists. There can be one or more preset risk levels.
[0112] In one example, the risk level can be determined based on a first gravity value, a second gravity value, a first threshold, a second threshold, a third threshold, and a fourth threshold.
[0113] Figure 5 An exemplary schematic diagram illustrating the risk levels provided in embodiments of this application is shown. Figure 5 As shown, the electronic control unit acquires the first gravity value and the second gravity value.
[0114] If the first gravity value is less than or equal to the first threshold and the second gravity value is less than or equal to the second threshold, the risk level is zero.
[0115] If the first gravity value is greater than the first threshold and the first gravity value is less than or equal to the third threshold and the second gravity value is less than the second threshold, or if the first gravity value is less than the first threshold and the second gravity value is greater than the second threshold and the second gravity value is less than or equal to the fourth threshold, the presence of overload is determined based on the on-site image; if a person or object is detected at the preset location, the risk level is level one.
[0116] If the first gravity value is greater than the first threshold and the second gravity value is greater than the second threshold, the risk level is level two.
[0117] If the first gravity value is greater than the third threshold and the second gravity value is less than or equal to the fourth threshold, or if the second gravity value is less than or equal to the third threshold and the second gravity value is greater than the fourth threshold, the risk level is level three.
[0118] If the first gravity value is greater than the third threshold and the second gravity value is greater than the fourth threshold, the risk level is level four.
[0119] Assuming the preset risk levels are Level 2, Level 3, and Level 4. If the electronic control unit (ECU) determines the risk level to be Level 2, Level 3, or Level 4, a first overload detection result indicating the presence of overload is obtained. If the ECU determines the risk level to be Level 0 or Level 1, a first overload detection result indicating the absence of overload is obtained. (This is repeated twice in the original text.)
[0120] The above is merely an exemplary description of risk levels and preset risk levels. In the embodiments of this application, other methods can also be used to classify risk levels. For example, when the first gravity value is less than or equal to the first threshold and the second gravity value is less than or equal to the second threshold, the risk level can be determined as level zero; when the first gravity value is greater than the third threshold and the second gravity value is greater than the fourth threshold, the risk level can be determined as level two; otherwise, the risk level can be determined as level one.
[0121] At this point, the electronic control unit obtained the first overload detection result.
[0122] Step S203: If the first overload detection result indicates that there is an overload phenomenon, the electric bicycle is powered off and locked, and an overload warning message is sent.
[0123] When the first overload detection result indicates overloading, the electronic control unit can cut off the power and lock the electric bicycle, rendering it immobile and thus improving safety. An overload warning message can be used to notify the rider of the overload situation. By sending an overload warning message when the first overload detection result indicates overloading, the rider can quickly understand why the electric bicycle cannot be ridden, allowing them to address the overload issue before riding again, thereby improving safety.
[0124] Overload warning messages can be displayed on a screen, played through a loudspeaker, or communicated to the rider in other ways. This application does not limit the scope of the embodiments. The overload warning messages have been described above and will not be repeated here.
[0125] The above-mentioned overload detection method for electric bicycles determines whether an overload exists based on the first gravity value sent by the front wheel gravity sensor and the second gravity value sent by the rear wheel gravity sensor. If an overload exists, the electric bicycle is powered off and locked, and an overload warning message is sent to notify the rider of the overload situation, thereby preventing the rider from continuing to ride under overload conditions and improving riding safety.
[0126] In one possible implementation, after obtaining a first overload detection result indicating the presence of an overload, the electronic control unit can, if the first gravity value is less than a third threshold and the second gravity value is less than a fourth threshold, acquire a scene image of the electric bicycle at a preset location; obtain a second overload detection result based on the scene image; if the second overload detection and result indicate that there is no overload, restore power to the electric bicycle and unlock it, and send an overload warning cancellation message.
[0127] The third threshold is greater than the first threshold, and the fourth threshold is greater than the second threshold. The second overload detection result is used to characterize whether an overload phenomenon exists. After initially determining that an overload phenomenon exists, if neither the front wheel overload nor the rear wheel overload exceeds the overload limit, the electronic control unit can further confirm through on-site images. If it is further determined that no overload phenomenon exists, the electric bicycle can be restored to power and unlocked, and an overload warning cancellation message can be sent to facilitate the rider's continued riding, prevent misjudgment, and improve the user experience. The acquisition and processing of on-site images can be referred to the previous text and will not be repeated here.
[0128] In one possible implementation, the method may further include: recording current overload information in a database when overloading occurs, the current overload information including the current overload weight, the vehicle identifier of the electric bicycle, and the user identifier of the current rider.
[0129] The vehicle identifier can be used to uniquely identify the e-bike, and includes, but is not limited to, vehicle number, license plate number, or frame number. The user identifier can be used to uniquely identify the rider, and includes, but is not limited to, username, user account, facial image, facial features, mobile phone number, or email address. This application embodiment does not limit the vehicle identifier and user identifier. The electronic control unit can record overload information in a database for subsequent statistics and queries.
[0130] In one possible implementation, the method may further include: determining the number of times the electric bicycle is overloaded based on the vehicle identifier of the electric bicycle and the overload information recorded in the database; determining the number of times the current rider is overloaded based on the user identifier of the current rider and the overload information recorded in the database; sending a quality inspection prompt message when the number of times the electric bicycle is overloaded is greater than a fifth threshold, the quality inspection prompt message being used to prompt an inspection of the vehicle's safety; and sending a personnel inspection prompt message when the number of times the current rider is overloaded is greater than a sixth threshold, the personnel inspection prompt message being used to prompt an investigation of the rider.
[0131] Because the database stores multiple overload information entries, each including a vehicle identifier and a user identifier, the electronic control unit (ECU) can search for overload information containing the current e-bike's vehicle identifier based on this database. The number of overload entries found represents the number of times the e-bike has been overloaded. A fifth threshold is used to measure the number of times the e-bike has been overloaded. This threshold can be set as needed, specifically based on factory data or historical experience data. If the number of overload entries exceeds the fifth threshold, it indicates that the e-bike has been repeatedly overloaded, potentially leading to damage. Therefore, the ECU can send a quality alert to prompt the owner or maintenance personnel to inspect the vehicle, eliminate potential hazards, and improve safety.
[0132] Because the database stores multiple overload information entries, each including a vehicle identifier and a user identifier, the electronic control unit (ECU) can search for overload information containing the current user identifier based on this database. The number of overload entries found represents the cumulative number of overloads for the current user identifier. A sixth threshold measures the number of overloads the current rider has committed, and this threshold can be set as needed. If the number of overloads for the current user identifier exceeds the sixth threshold, it indicates that the current rider has overloaded multiple times. Therefore, the ECU can send a personnel inspection alert to prompt the rider to be checked. This way, the rider can be alerted before riding again, reducing risk and improving safety.
[0133] Figure 6 This diagram illustrates a flowchart of the electric bicycle overload detection method provided in an embodiment of this application. Figure 6 As shown, the method may include:
[0134] Step S601: Receive the first gravity value sent by the front wheel gravity sensor and the second gravity value sent by the rear wheel gravity sensor.
[0135] Step S602: Determine whether there is an overload phenomenon in the first overload detection result based on the first gravity value and the second gravity value; if yes, proceed to step S603; otherwise, proceed to step S604.
[0136] Step S603: Power off and lock the electric bicycle, and send an overload warning message.
[0137] Step S604: When the first gravity value is less than the third threshold and the second gravity value is less than the fourth threshold, acquire on-site images of the electric bicycle at the preset position.
[0138] Step S605: Determine whether there is an overload phenomenon based on the on-site image; if so, proceed to steps S606 and S607; otherwise, proceed to step S608.
[0139] Step S606: Record the current overload information in the database.
[0140] Step S607: If the number of overloads of the electric bicycle exceeds the fifth threshold, a quality inspection prompt message is sent.
[0141] Step S608: Restore power to the electric bicycle and unlock it, and send an overload warning contact message.
[0142] This allows for timely power cut-off, vehicle locking, and alerts in case of overload, improving safety. In case of misjudgment, it can promptly restore power, unlock, and issue alerts, enhancing the user experience.
[0143] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0144] Based on the same inventive concept, this application also provides an electric bicycle overload detection device for implementing the above-mentioned electric bicycle overload detection method. The solution provided by this device is similar to the solution described in the above method. Therefore, the specific limitations of one or more electric bicycle overload detection device embodiments provided below can be found in the limitations of the electric bicycle overload detection method above, and will not be repeated here.
[0145] In one exemplary embodiment, Figure 7 This diagram illustrates the structural block diagram of the electric bicycle overload detection device provided in an embodiment of this application. Figure 7 As shown, the device 700 may include: a receiving module 701, a first determining module 702, and a processing module 703.
[0146] The receiving module is used to receive the first gravity value sent by the front wheel gravity sensor and the second gravity value sent by the rear wheel gravity sensor of the electric bicycle.
[0147] The first determining module is used to determine a first overload detection result based on the first gravity value and the second gravity value. The first overload detection result is used to characterize whether an overload phenomenon exists.
[0148] The processing module is used to cut off the power and lock the electric bicycle when the first overload detection result indicates that there is an overload phenomenon, and to send an overload warning message to notify the rider that there is an overload.
[0149] In one possible implementation, the first determining module is further configured to
[0150] When the first gravity value is greater than the first threshold and the second gravity value is greater than the second threshold, a first overload detection result indicating the existence of an overload phenomenon is obtained.
[0151] In one possible implementation, the device further includes:
[0152] The acquisition module is used to acquire on-site images of the electric bicycle at a preset location when the first gravity value is less than a third threshold and the second gravity value is less than a fourth threshold, wherein the third threshold is greater than the first threshold and the fourth threshold is greater than the second threshold.
[0153] The acquisition module is used to acquire a second overload detection result based on the on-site image, and the second overload detection result is used to characterize whether an overload phenomenon exists;
[0154] The recovery module is used to restore power to the electric bicycle and unlock it when the second overload detection and result characterization do not show any overload phenomenon, and send an overload reminder cancellation message.
[0155] In one possible implementation, the device further includes:
[0156] The recording module is used to record the current overload information in the database when overloading occurs. The current overload information includes the current overload weight, the vehicle identification of the electric bicycle, and the user identification of the current rider.
[0157] In one possible implementation, the device further includes:
[0158] The second determining module is used to determine the number of times the electric bicycle is overloaded based on the vehicle identification of the electric bicycle and the overload information recorded in the database.
[0159] The third determining module is used to determine the number of times the current rider is overloaded based on the user identifier of the current rider and the overload information recorded in the database;
[0160] The first sending module is used to send a quality inspection prompt message when the number of overloads corresponding to the electric bicycle is greater than a fifth threshold. The quality inspection prompt message is used to prompt the inspection of the vehicle's safety.
[0161] The second sending module is used to send a personnel inspection prompt message when the number of overloads corresponding to the current rider is greater than the sixth threshold. The personnel inspection prompt message is used to prompt the rider to be checked.
[0162] In one possible implementation, determining the first overload detection result based on the first gravity value and the second gravity value includes:
[0163] Based on the first gravity value and the second gravity value, a risk level is determined, wherein the risk level is used to characterize the probability of an overload phenomenon.
[0164] When the risk level is a preset risk level, a first overload detection result indicating the presence of overload is obtained.
[0165] In one possible implementation, the front wheel gravity sensor is disposed between the tire and the rim of the front wheel of the electric bicycle, and the rear wheel gravity sensor is disposed between the tire and the rim of the rear wheel of the electric bicycle.
[0166] Each module in the aforementioned electric bicycle overload detection device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the corresponding operations of each module.
[0167] In one exemplary embodiment, a computer device is provided, which may be an electronic control unit, and its internal structure diagram may be as follows: Figure 8As shown, the computer device includes a processor, memory, input / output (I / O) interfaces, and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides the environment for the operating system and computer programs stored in the non-volatile storage media. The database stores data such as a first gravity value, a second gravity value, a first threshold, a second threshold, a third threshold, and a fourth threshold. The I / O interfaces are used for exchanging information between the processor and external devices. The communication interface is used for communication with external terminals via a network connection. When executed by the processor, the computer program implements a method for detecting overloaded electric bicycles.
[0168] Those skilled in the art will understand that Figure 8 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0169] In one exemplary embodiment, an electronic control unit is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described method embodiments.
[0170] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above method embodiments.
[0171] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.
[0172] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0173] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0174] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A method for detecting overloaded electric bicycles, characterized in that, The method is applied to an electronic control unit in an electric bicycle, and the method includes: Receives a first gravity value sent by the front wheel gravity sensor and a second gravity value sent by the rear wheel gravity sensor of the electric bicycle; When the first gravity value is greater than the first threshold and the second gravity value is greater than the second threshold, a first overload detection result is obtained, which is used to characterize whether an overload phenomenon exists. If the first overload detection result indicates that there is an overload, the electric bicycle is powered off and locked, and an overload warning message is sent to notify the rider that there is an overload. After obtaining the first overload detection result characterizing the presence of overload, the method further includes: When the first gravity value is less than the third threshold and the second gravity value is less than the fourth threshold, a scene image of the electric bicycle at a preset location is collected, wherein the third threshold is greater than the first threshold and the fourth threshold is greater than the second threshold. A second overload detection result is obtained based on the on-site image, and the second overload detection result is used to characterize whether an overload phenomenon exists. If the second overload detection result indicates that there is no overload, the electric bicycle is restored to power and unlocked, and an overload warning message is sent to cancel the overload.
2. The method according to claim 1, characterized in that, The method further includes: In the event of overloading, the current overloading information is recorded in the database. The current overloading information includes the current overload weight, the vehicle identification of the electric bicycle, and the user identification of the current rider.
3. The method according to claim 2, characterized in that, The method further includes: Based on the vehicle identification of the electric bicycle and the overload information recorded in the database, the number of times the electric bicycle is overloaded is determined. Based on the current rider's user identifier and the overloading information recorded in the database, the number of times the current rider has been overloaded is determined; If the number of overloads corresponding to the electric bicycle exceeds the fifth threshold, a quality inspection prompt message is sent. The quality inspection prompt message is used to prompt the inspection of the vehicle's safety. If the number of times a rider has been overloaded exceeds the sixth threshold, a personnel inspection prompt message is sent to prompt the rider to be checked.
4. The method according to claim 1, characterized in that, The step of determining the first overload detection result based on the first gravity value and the second gravity value includes: Based on the first gravity value and the second gravity value, a risk level is determined, wherein the risk level is used to characterize the probability of an overload phenomenon. When the risk level is a preset risk level, a first overload detection result indicating the presence of overload is obtained.
5. The method according to any one of claims 1 to 4, characterized in that, The front wheel gravity sensor is located between the tire and the rim of the front wheel of the electric bicycle, and the rear wheel gravity sensor is located between the tire and the rim of the rear wheel of the electric bicycle.
6. An overload detection device for electric bicycles, characterized in that, The device includes: The receiving module is used to receive the first gravity value sent by the front wheel gravity sensor and the second gravity value sent by the rear wheel gravity sensor of the electric bicycle. The first determining module is used to obtain a first overload detection result when the first gravity value is greater than a first threshold and the second gravity value is greater than a second threshold. The first overload detection result is used to characterize whether an overload phenomenon exists. The processing module is used to cut off the power and lock the electric bicycle when the first overload detection result indicates that there is an overload phenomenon, and send an overload prompt message, which is used to indicate that there is an overload phenomenon. After obtaining the first overload detection result indicating the presence of overload, the acquisition module is used to acquire on-site images of the electric bicycle at a preset location when the first gravity value is less than a third threshold and the second gravity value is less than a fourth threshold. The third threshold is greater than the first threshold and the fourth threshold is greater than the second threshold. The acquisition module is used to acquire a second overload detection result based on the on-site image, and the second overload detection result is used to characterize whether an overload phenomenon exists; The recovery module is used to restore power to the electric bicycle and unlock it when the second overload detection result indicates that there is no overload phenomenon, and send an overload reminder cancellation message.
7. The apparatus according to claim 6, characterized in that, The device further includes a recording module, specifically used for: In the event of overloading, the current overloading information is recorded in the database. The current overloading information includes the current overload weight, the vehicle identification of the electric bicycle, and the user identification of the current rider.
8. The apparatus according to claim 7, characterized in that, The device further includes a second determining module, a third determining module, a first transmitting module, and a second transmitting module, wherein: The second determining module is used to determine the number of times the electric bicycle is overloaded based on the vehicle identification of the electric bicycle and the overload information recorded in the database; The third determining module is used to determine the number of times the current rider is overloaded based on the user identifier of the current rider and the overload information recorded in the database; The first sending module is used to send a quality inspection prompt message when the number of overloads corresponding to the electric bicycle is greater than a fifth threshold. The quality inspection prompt message is used to prompt the inspection of the vehicle's safety. The second sending module is used to send a personnel inspection prompt message when the number of overloads corresponding to the current rider is greater than the sixth threshold. The personnel inspection prompt message is used to prompt the rider to be checked.
9. An electronic control unit, comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 5.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Vehicle violation detection method and device, server, vehicle and medium
CN111959657A