Scooter control method, scooter and computer readable storage medium
By installing a weight detection device of multiple strain gauges on the scooter, the weight carried by the pedal is continuously monitored and the power source is disconnected when the weight increases are detected, the problem of low accuracy of overload determination in the prior art is solved, and the safety of the scooter is improved.
Patent Information
- Application Number
- CN202311786635.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-22
- Publication Date
- 2025-03-18
AI Technical Summary
In the existing scooter control methods, the accuracy of overload determination is low, resulting in an increase in safety risks.
By installing a weight detection device on the scooter, including at least 3 strain gauges, the weight carried by the pedal is continuously obtained, and when it is detected that the pedal is loaded with weight and subsequent weight increases, the power source is disconnected to achieve accurate overload determination.
It improves the accuracy of scooter overload determination, ensures the safety of the riding process, and avoids safety risks caused by overload.
Smart Images

Figure CN119636403A_ABST
Abstract
Description
[Technical field]
[0001] The present application relates to the field of intelligent control technology, and in particular to a control method for a scooter, a scooter, and a computer-readable storage medium. [Background technology]
[0002] The number of people that a scooter can carry is limited. To ensure the safety of riders, there are restrictions on the number of riders. For example, a shared scooter is only allowed to be ridden by one person. However, due to the uncontrollability of the rider, there is a phenomenon that two or even more people ride on the same scooter, which poses a serious safety risk.
[0003] In the related art, a scooter needs to be polished in advance to form a fixed area for placing or weight detection components, and the weight detection components are usually located at the rear wheel motor shaft; when the rider stands back or forward, there is a problem of inaccurate weight data measurement, and the weight detection components may not be installed firmly, and there is a risk of falling off and failing after long-term operation, resulting in an inability to accurately judge whether the scooter is overloaded.
[0004] It can be seen from this that the control method of the scooter in the related art has the problem of low accuracy in overload determination. [Summary of the invention]
[0005] The purpose of the present application is to provide a scooter control method, a scooter, and a computer-readable storage medium, so as to at least solve the problem of low accuracy of overload determination in the scooter control method in the related art.
[0006] The purpose of this application is to achieve the following technical solutions:
[0007] According to one aspect of an embodiment of the present application, a control method for a scooter is provided, wherein the scooter includes a power source for driving the scooter to move, and a weight detection device is provided on the scooter, the weight detection device is used to detect the weight carried by a pedal of the scooter, and the method includes: continuously obtaining the weight carried by the pedal detected by the weight detection device; if it is determined that the pedal carries weight, and subsequently the weight detection device detects that the weight carried by the pedal has increased, then disconnecting the power source.
[0008] According to another aspect of the embodiments of the present application, a scooter is also provided, comprising: a pedal, with walking wheels connected at both ends of the pedal; a weight detection device, the weight detection device comprising at least 3 strain gauges, the at least 3 strain gauges being distributed at intervals below the pedal and used to detect the weight carried by the pedal; a power source, the power source being connected to the walking wheels and used to drive the scooter to move; a control unit, the control unit being connected to the weight detection device and the power source respectively, and the control unit controlling the connection and disconnection of the power source based on the weight carried by the pedal.
[0009] According to another aspect of the embodiments of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned interface testing method when running.
[0010] According to another aspect of an embodiment of the present application, there is also provided an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the interface testing method through the computer program.
[0011] In an embodiment of the present application, a scooter includes a power source and a weight detection device; the power source is used to drive the scooter to move, and the weight detection device is used to detect the weight carried by a pedal of the scooter; by continuously acquiring the weight carried by the pedal detected by the weight detection device, the load state and the load weight of the scooter can be judged in real time; if it is determined that the pedal carries weight, and it is subsequently detected that the weight carried by the pedal has increased, the power source is disconnected, thereby, an overload judgment is made based on the two weight increases, and whether it is overloaded can be accurately judged in combination with the rider's habit of getting on the vehicle (getting on the vehicle one by one); and the power source is disconnected when the weight increases for the second time to ensure the safety of riding the scooter; thereby solving the problem of low accuracy of overload judgment in the related art, and achieving the technical effect of improving the accuracy of overload judgment.
Brief Description of the Drawings
[0012] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0013] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0014] Figure 1is a schematic diagram of a hardware environment of an optional scooter control method according to an embodiment of the present application;
[0015] Figure 2 is a flow chart of an optional scooter control method according to an embodiment of the present application;
[0016] Figure 3 is a flow chart of an optional scooter control method according to an embodiment of the present application;
[0017] Figure 4 is an optional scooter signal transmission diagram according to an embodiment of the present application;
[0018] Figure 5 is a schematic diagram of an optional weight detection device according to an embodiment of the present application;
[0019] Figure 6 is a schematic diagram of an optional Wheatstone bridge structure according to an embodiment of the present application;
[0020] Figure 7 is a structural block diagram of an optional scooter control device according to an embodiment of the present application;
[0021] Figure 8 It is a structural block diagram of a computer system of an optional electronic device according to an embodiment of the present application. [Specific implementation method]
[0022] The present application will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other without conflict.
[0023] It should be noted that the terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0024] According to one aspect of an embodiment of the present application, a method for controlling a scooter is provided. Optionally, in this embodiment, the method for controlling a scooter can be applied to Figure 1 In the hardware environment shown in FIG. 1 , a scooter 101, a network 102, and a processing device 103 are formed. Figure 1As shown, the scooter 101 can be connected to the processing device 103 (e.g., an Internet of Things platform or a cloud server) through a network to control the scooter 101 through the processing device 103. For example, the processing device 103 can bind with the scooter 101 and configure the weight detection function of the scooter 101. The scooter 101 may include a power source and a weight detection device, the power source is used to drive the scooter to move, and the weight detection device is used to detect the weight carried by the pedal of the scooter.
[0025] The above-mentioned network may include but is not limited to at least one of the following: wired network, wireless network. The above-mentioned wired network may include but is not limited to at least one of the following: wide area network, metropolitan area network, local area network, and the above-mentioned wireless network may include but is not limited to at least one of the following: wireless fidelity (Wireless Fidelity, referred to as WIFI), Bluetooth, infrared. The network 102 used by the scooter 101 to communicate with the processing device 103 may be the same or different. The scooter 101 may include but is not limited to shared bicycles, shared scooters, smart bicycles, smart scooters, multi-person bicycles, etc.; the processing device 103 may not be limited to a PC, a mobile phone, a tablet computer, a server of an Internet of Things platform, etc.
[0026] In some embodiments, the scooter 101 or the processing device 103 can implement the control method of the scooter provided in the embodiments of the present application by running a computer program. For example, the computer program can be a native program or software module in the operating system; it can be a native application (Application, referred to as APP), that is, a program that needs to be installed in the operating system to run; it can also be a small program, that is, a program that can be run only by downloading it to a computer environment; it can also be a small program that can be embedded in any APP. In short, the above-mentioned computer program can be an application, module or plug-in in any form.
[0027] The number of people that a scooter can carry is limited. To ensure the safety of riders, there are restrictions on the number of riders. For example, a shared scooter is only allowed to be ridden by one person. However, due to the uncontrollability of the rider, there is a phenomenon that two or even more people ride on the same scooter, which poses a serious safety risk.
[0028] In the related art, scooters and other riding devices require a fixed area to be polished in advance to place or weight detection components, and the weight detection components are usually located at the rear wheel motor shaft; when the rider stands back or forward, there is a problem of inaccurate weight data measurement, and the weight detection components may not be installed firmly, and there is a risk of falling off and failing after long-term operation, resulting in an inability to accurately judge whether the scooter is overloaded.
[0029] Through the embodiments provided by the present application, the carrying weight of the scooter can be detected multiple times when the scooter is in an unlocked state and at a speed of zero, so as to analyze whether the scooter is overloaded; that is, in response to detecting that the carrying weight of the scooter increases and does not exceed the limit, and detecting that the carrying weight of the scooter increases again, it is determined whether the scooter is overloaded based on the twice detected weights, and if it is overloaded, the corresponding device operation is performed; so as to improve the accuracy of overload determination, avoid overloaded riding, and ensure safety during riding.
[0030] Optionally, the scooter control method can be executed by the scooter 101 alone, or by the scooter 101 and the processing device 103 together, or by other processing devices other than the scooter 101 and the processing device 103. As an optional implementation, take the scooter 101 executing the scooter control method in this embodiment as an example, Figure 2 As shown, the process of the above-mentioned scooter control method may include the following steps:
[0031] In step S201, the weight carried by the pedal detected by the weight detection device is continuously obtained.
[0032] Here, the scooter includes a power source and a weight detection device, wherein the power source is used to drive the scooter to move, and the weight detection device is used to detect the weight carried by the pedal of the scooter.
[0033] For example, the power source may be a handle that controls the scooter motor, the scooter motor, or other components used to drive the scooter to move, and the weight detection device may be a strain gauge, a force sensor, or other components used to detect the weight carried by the scooter pedal.
[0034] In some embodiments, in order for the scooter to accurately detect whether it is overloaded, it is necessary to continuously obtain the weight carried by the pedal detected by the weight detection device, thereby accurately determining whether the scooter is overloaded based on multiple detection data.
[0035] For example, based on the riders' habits of getting on the scooter, in the case of overloading, multiple riders need to get on one by one. Therefore, the weight carried by the pedal detected by the weight detection device can be continuously obtained to determine whether there are multiple weight increases, so as to identify whether the current operating state of the scooter is overloaded.
[0036] In some embodiments, the weight detection device is pre-integrated inside the pedal. For example, the weight detection device may be a force sensor disposed inside the pedal.
[0037] In some embodiments, the scooter weight detection device can be used as an optional accessory. In order to enable the scooter to accurately detect whether there is overloading, the original pedal of the scooter is replaced with a pedal with a pre-installed weight detection device, and software and hardware configuration are performed to enable the scooter to have a multi-person riding detection function.
[0038] Through the embodiments provided in the present application, the scooter continuously obtains the weight carried by the pedal through the weight detection device, and can accurately detect the current load state of the scooter according to the change of the load weight.
[0039] In step S202, if it is determined that the pedal carries weight, and subsequently the weight detection device detects that the weight carried by the pedal increases, the power source is disconnected.
[0040] In some embodiments, if it is determined that the pedal is currently carrying weight, it means that the scooter is currently in a state where someone is riding. When the subsequent weight detection device detects that the weight carried by the pedal has increased, it is determined that the scooter has added a rider while it is in the state where someone is riding. At this time, the scooter is in a state where multiple people are riding (overloaded riding state), and the power source used to drive the scooter is disconnected.
[0041] For example, the scooter continuously obtains the weight carried by the pedal detected by the weight detection device; in response to the first rider getting on the scooter, it is determined that the pedal carries weight; in response to the second rider getting on the scooter, the weight detection device detects again that the weight carried by the pedal has increased, and then disconnects the power source. Therefore, it is possible to accurately determine whether there are multiple people riding in combination with the riders' boarding habits (that is, when multiple people are riding, the riders get on one by one); when there are multiple people riding the scooter (overloaded riding), the power source used to drive the scooter is disconnected to ensure the safety of scooter riding.
[0042] In some embodiments, the current riding status or fault code is displayed through the dashboard or display screen of the scooter. For example, during normal riding, the current riding speed, scooter power level, etc. are displayed; when multiple people are riding, the corresponding overload fault code is displayed. The overload fault code is used to indicate that the scooter cannot be ridden in an overloaded state.
[0043] Through the embodiments provided by the present application, when the scooter detects that the pedal is already carrying weight and the subsequent weight increases, the power source is disconnected to avoid multiple people overloading the scooter and ensure the safety of scooter riding.
[0044] Through the above steps of the embodiment of the present application, the scooter includes a power source for driving the scooter to move, and the scooter is provided with a weight detection device, the weight detection device is used to detect the weight carried by the pedal of the scooter; the weight carried by the pedal detected by the weight detection device is continuously obtained; if it is determined that the pedal carries weight, and the subsequent weight detection device detects that the weight carried by the pedal has increased, the power source is disconnected; thereby solving the problem of low accuracy of overload determination in the related art, and achieving the technical effect of improving the accuracy of overload determination.
[0045] In an exemplary embodiment, the method further comprises:
[0046] S11, if it is determined that the pedal carries weight, and the subsequent weight detection device detects that the weight carried by the pedal has not increased, the power source is kept connected.
[0047] In some embodiments, the weight carried by the pedal detected by the weight detection device is continuously obtained. If it is determined that the pedal carries weight, the scooter is already in a riding state; when the subsequent weight detection device detects that the weight carried by the pedal has not increased, or the weight increase does not exceed a preset threshold, the scooter is in a normal riding state, and the power source of the scooter is kept connected.
[0048] For example, when the scooter is in a stationary state, the weight carried by the pedal detected by the weight detection device is continuously obtained; in response to the first rider getting on the vehicle, it is determined that the pedal carries weight; within a subsequent preset time period, the weight detection device detects that the weight carried by the pedal has not increased, then the power source connection is maintained or the power source connection is restarted.
[0049] In some embodiments, the scooter is an electric scooter, which is a skateboard-shaped tool powered by a battery and driven by a motor to drive the wheels. Generally, the rider stands sideways when riding, and the motor can be used as a power source.
[0050] For example, the power source may be a hub motor, that is, an outer rotor motor, with a tire skin fixed to the motor housing, and then the motor is fixed to the skateboard bridge, so that it has the function of driving the pulley of the scooter.
[0051] Through the embodiments provided in the present application, when the scooter pedal carries weight and subsequently detects that the weight carried by the pedal has not increased, the power source is kept connected, so that the scooter can be driven normally under normal load conditions.
[0052] In an exemplary embodiment, continuously obtaining the weight carried by the pedal detected by the weight detection device includes:
[0053] S21, when the power source is not working, continuously obtaining the weight carried by the pedal detected by the weight detection device.
[0054] In some embodiments, when the power source is not working, the weight carried by the pedal detected by the weight detection device is continuously obtained to prevent multiple riders from starting the scooter power source when they are already on the vehicle.
[0055] For example, in a shared scooter control scenario, the rider gets on first, then connects to the shared scooter through the terminal and starts the shared scooter; at this time, since the power source is not working, the shared scooter can also continuously obtain the weight carried by the pedal detected by the weight detection device, so it can accurately judge the current riding status of the shared scooter.
[0056] If it is determined that the pedal is carrying weight, and the subsequent weight detection device detects that the weight carried by the pedal has increased, the power source used to drive the scooter is not connected (or the power source is disconnected if it is connected), and a fault code for prompting overload riding is displayed on the dashboard or display component of the shared scooter;
[0057] If it is determined that the pedal carries weight, and subsequently the weight detection device detects that the weight carried by the pedal has not increased, the power source for driving the scooter is connected (or the power source is kept connected if it is already connected), and the riding parameters of the shared scooter are displayed on the dashboard or display component of the shared scooter, for example, the battery level, riding speed, riding status, etc. of the shared scooter.
[0058] Through the embodiments provided in the present application, when the power source is not working, the scooter can also continuously obtain the weight carried by the pedal, and can immediately and accurately determine the current load state when the scooter is subsequently in a running state.
[0059] In an exemplary embodiment, if it is determined that the pedal carries weight, and subsequently the weight detection device detects that the weight carried by the pedal increases, disconnecting the power source includes:
[0060] S31, if it is determined that the pedal carries weight, and the subsequent weight detection device detects that the increase in the weight carried by the pedal is greater than or equal to the first preset weight, the power source is disconnected.
[0061] S32: If it is determined that the pedal carries weight, and the subsequent weight detection device detects that the increase in the weight carried by the pedal is less than the first preset weight, the power source is kept connected.
[0062] In order to avoid the rider's wrong judgment when getting on the vehicle or carrying items, it is necessary to set a weight increase threshold (i.e., the first preset weight) for the subsequent weight increase after it is determined that the pedal is carrying weight; that is, when it is determined that the pedal is carrying weight, and the subsequent weight detection device detects that the increase in the weight carried by the pedal is greater than or equal to the first preset weight, the power source is disconnected; if it is determined that the pedal is carrying weight, and the subsequent weight detection device detects that the increase in the weight carried by the pedal is less than the first preset weight, the power source is kept connected.
[0063] In some embodiments, the process of a rider riding a scooter is to first straighten the scooter and place one foot on the pedal first, and then place the other foot on the pedal after the scooter runs smoothly; to avoid misjudgment during normal riding by a single person, when it is determined that the pedal carries weight, and the subsequent weight detection device detects that the increase in the weight carried by the pedal is less than the first preset weight, the power source is kept connected.
[0064] In some embodiments, after getting on the vehicle, the rider may receive an item passed by another person. At this time, if the weight of the item (ie, the increase in weight) is less than the first preset weight, the power source remains connected.
[0065] It should be noted that the first preset weight is set in advance according to the actual application scenario of the scooter, and this application does not limit it here.
[0066] Through the embodiments provided in the present application, a weight threshold for the secondary increase in weight after determining that the pedal is carrying weight is pre-set, which can avoid the rider's wrong judgment during normal boarding or carrying of items.
[0067] In an exemplary embodiment, if it is determined that the pedal carries weight, and subsequently the weight detection device detects that the weight carried by the pedal increases, disconnecting the power source includes:
[0068] S41, if it is determined that the pedal carries weight, and the subsequent weight detection device detects that the weight carried by the pedal increases by 2 times or more, the power source is disconnected.
[0069] In some embodiments, during the normal process of a rider getting on the vehicle, the rider usually places both feet on the pedals one after another. At this time, in response to determining that the pedals are carrying weight, and the subsequent weight detection device detects that the weight carried by the pedals increases by 1 time, the power source is kept connected.
[0070] In some embodiments, if it is determined that the pedal carries weight, and the subsequent weight detection device detects that the weight carried by the pedal increases 2 times or more, the scooter determines that there are multiple people riding or carrying too many items other than the rider, disconnects the power source and displays a corresponding fault code on the dashboard or display component of the scooter.
[0071] It should be noted that the number of weight increases can be increased or decreased according to the actual application scenario of the scooter. For example, in the scenario where the scooter is used to carry items, the weight increase number threshold (for example, 5 times) and the weight increase threshold (for example, the pedal load does not exceed 130 kg) can be set at the same time to ensure that the scooter can carry multiple items while operating normally under load.
[0072] Through the embodiments provided in the present application, the load status of the scooter can be accurately determined by detecting the number of weight increases.
[0073] In an exemplary embodiment, if it is determined that the pedal carries weight, and subsequently the weight detection device detects that the weight carried by the pedal increases 2 times or more, disconnecting the power source includes:
[0074] S51, when the power source is not working, if it is detected that the weight carried by the pedal increases once, then the power source is connected;
[0075] S52, when the power source is subsequently operating, if it is detected that the weight carried by the pedal increases again, the power source is disconnected.
[0076] In some embodiments, in order to increase the intelligence of the scooter, when the power source is not working, the weight carried by the pedal detected by the weight detection device is continuously obtained. If it is determined that the pedal carries weight and the weight carried by the pedal of the subsequent weight detection device increases once, it is judged that a rider has boarded the vehicle and connected to the power source of the scooter.
[0077] In some embodiments, in order to prevent riders from riding with multiple people or overloading the scooter when the power source is working, the weight carried by the pedals detected by the weight detection device is continuously obtained. When it is detected that the weight carried by the pedals increases again, the power source is disconnected and a corresponding fault code is displayed on the dashboard or display component of the scooter.
[0078] Through the embodiments provided by the present application, the power source is automatically connected when an increase in the weight carried by the pedal is detected; and when the power source is connected, the power source is automatically disconnected when an increase in the weight is detected, thereby improving the intelligence of the scooter.
[0079] In an exemplary embodiment, if it is determined that the pedal carries weight, and subsequently the weight detection device detects that the weight carried by the pedal increases 2 times or more, disconnecting the power source includes:
[0080] S61, if it is determined that the pedal carries weight, and the subsequent weight detection device detects that the weight carried by the pedal increases 2 times or more, and the total weight increased 2 times or more is greater than or equal to the second preset weight, then the power source is disconnected.
[0081] or,
[0082] S62, if it is determined that the pedal carries weight, and the subsequent weight detection device detects that the weight carried by the pedal increases 2 times or more, the total weight increased 2 times or more is greater than or equal to the second preset weight, and the maintenance time of the weight after 2 times or more increases is greater than or equal to the first preset time, then the power source is disconnected.
[0083] In some embodiments, in order to avoid erroneous judgment caused by the rider carrying items on the vehicle, a total weight increase threshold is preset, that is, if it is determined that the pedal carries weight, and the subsequent weight detection device detects that the weight carried by the pedal increases by 2 times or more, and the total weight increased by 2 times or more is greater than or equal to the second preset weight, then the scooter determines that the current load state is a multi-person riding state or an overloaded riding state, disconnects the power source and displays a corresponding fault code.
[0084] That is, when the weight detection value has been very stable during riding, but suddenly a weight mutation peak is detected or multiple peaks appear repeatedly in a certain period of time, exceeding the maximum weight value, but the appearance time is very short and does not meet the time setting, and the speed also has a mutation, the program will not determine it as two-person riding.
[0085] In some embodiments, in the scooter operation scenario, the scooter makes judgments and identifications based on the internally set maximum weight of a single person and the periodic query time. Because it is impossible for the riding process to be entirely flat, the force sensor may collect a larger value when passing through a bumpy section. In order to prevent misjudgment, the embodiment of the present application adds a time amount, that is, if it is determined that the pedal carries weight, the subsequent weight detection device detects that the weight carried by the pedal increases by 2 or more times, the total weight increased by 2 or more times is greater than or equal to the second preset weight, and the weight retention time after 2 or more increases is greater than or equal to the first preset time, then the power source is disconnected.
[0086] refer to Figure 3 The weight detection device (i.e., force sensor) of the scooter continuously detects the weight carried by the pedal. When the controller determines that the number of times the weight carried by the current pedal increases, the total weight increased, and the maintenance time of the increased weight are all greater than the preset values, it is determined that the current scooter is not being ridden normally, the power source is disconnected, and a fault code is displayed. Otherwise, it is determined that the current scooter is being ridden normally and the power source is kept connected.
[0087] It should be noted that the weight detection device, controller, power source, etc. of the scooter are connected for communication via a Universal Asynchronous Receiver / Transmitter (UART).
[0088] In some embodiments, when the scooter speed is 0, the first weight value currently carried by the scooter pedal is recorded, and after the initial speed is greater than or equal to a preset speed threshold, the second weight value currently carried by the scooter pedal is recorded, and it is determined whether there is a mutation between the first weight value and the second weight value, and the mutation amount is obtained. If the mutation amount is greater than the first weight value by more than A (speed is 0), and the mutation amount is greater than the second weight value by more than B (riding state), it is determined to be two-person riding, where A and B are preset mutation amount thresholds; because when the scooter speed is 0 before normal riding, the weight of the rider will not be concentrated on the pedal, so it is also necessary to measure the second weight value in the riding state.
[0089] Through the embodiments provided in the present application, multiple variable thresholds can be set when the scooter is in operation, so as to avoid erroneous judgments caused by changes in the force of the weight detection device during acceleration and deceleration of the scooter.
[0090] In an exemplary embodiment, the method further comprises:
[0091] S71, after continuously obtaining the weight carried by the pedal detected by the weight detection device, when the power source is working, when the weight detection device detects that the weight carried by the pedal is greater than or equal to the third preset weight and the duration is greater than or equal to the second preset time, disconnect the power source.
[0092] In the scenario where the scooter is running, the power source is in a working state. At this time, if the scooter suddenly accelerates or decelerates, the force on the weight detection device will change, that is, the load-bearing weight is greater than or equal to the preset total weight threshold (that is, the third preset weight) in a short period of time, and the scooter is in a normal driving state and is not overloaded. Therefore, in order to avoid such erroneous judgments, a preset time threshold (that is, the second preset time) is added to avoid erroneous judgments caused by changes in the force on the weight detection device caused by acceleration or deceleration in the normal driving state of the scooter; that is, when the power source is working, when the weight detection device detects that the weight carried by the pedal is greater than or equal to the third preset weight for a duration less than the second preset time, the power source is kept connected.
[0093] In some embodiments, in the scenario where the scooter is running, in order to prevent the scooter from being in a normal riding state at a low speed and then a rider getting on the scooter in the riding state; when the power source is working, when the weight detection device detects that the total weight borne by the pedal is greater than or equal to the third preset weight, and the duration for which the weight borne by the pedal is greater than or equal to the third preset weight reaches greater than or equal to the second preset time, the power source is disconnected.
[0094] Through the embodiments provided in the present application, it is possible to take into account the force changes of the weight detection device caused by acceleration and deceleration during the operation of the scooter, so as to enhance the accuracy of the load-bearing weight detection and the riding state judgment in the riding state.
[0095] In an exemplary embodiment, if it is determined that the pedal carries weight, and subsequently the weight detection device detects that the weight carried by the pedal increases, disconnecting the power source includes:
[0096] S81, if it is determined that the pedal carries weight, and the subsequent weight detection device detects that the weight carried by the pedal has increased, an alarm message is sent through the scooter and the power source is disconnected, wherein the alarm message is used to warn the scooter of overload.
[0097] In some embodiments, the scooter includes an audio component. When it is determined that the pedal carries weight and the subsequent weight detection device detects that the weight carried by the pedal has increased, a sound warning message is issued through the audio component of the scooter to prevent the rider from overloading. At the same time, the power source of the scooter is disconnected and a corresponding fault code is displayed on the display component of the scooter.
[0098] In the shared scooter scenario, users need to connect to the scooter through a smart terminal to unlock and start the scooter. At this time, if it is determined that the pedal is carrying weight and the subsequent weight detection device detects that the weight carried by the pedal has increased, the scooter can also send an alarm message to the connected smart terminal through application notifications, text messages, etc.
[0099] Through the embodiments provided in the present application, warning information can be sent to a target object in a variety of ways in an overload state.
[0100] In an exemplary embodiment, before disconnecting the power source, the method further comprises:
[0101] S91, detecting the environmental state of the scooter through a group of sensors to obtain target environmental information.
[0102] The target environment information is used to indicate the location of the scooter and the positional relationship between the scooter and other devices except the scooter.
[0103] S92: When it is determined according to the target environment information that the scooter is not in an area of a preset type and the distances between the scooter and other devices are greater than preset distances, it is determined that disconnection of the power source is allowed.
[0104] Here, the preset type of area can be a driving area such as a sidewalk, a motor vehicle lane, a bicycle lane, etc., or it can be a scooter operating area determined according to the geographical location, and this application is not limited here.
[0105] In order to prevent the scooter from being in an unsafe driving condition or causing a collision with other equipment after the power source is disconnected, the embodiment of the present application can detect the environment and position of the scooter through a group of sensors to avoid a collision caused by disconnecting the power source.
[0106] In some embodiments, a group of sensors includes a position sensor (Global Positioning System, referred to as GPS), an optical sensor, etc. The position sensor of the scooter can indicate the position of the scooter, and the optical sensor of the scooter can determine the positional relationship between the scooter and other devices.
[0107] In some embodiments, before disconnecting the power source, a group of sensors are used to detect the environmental state of the scooter, and when the current position of the scooter is a preset scooter parking position and the current distance between the scooter and other equipment is greater than a preset distance (e.g., 5 meters), it is determined that disconnecting the power source of the scooter is allowed.
[0108] In some embodiments, before disconnecting the power source, a group of sensors are used to detect the environmental state of the scooter. If the current location of the scooter is an unknown type of area or the distance between the scooter and other equipment is less than a preset distance, disconnecting the power source of the scooter is not allowed. The power source is not allowed to be disconnected until the scooter is in an area of a preset type and the distance between the scooter and other equipment is greater than the preset distance.
[0109] Through the embodiments provided by the present application, during the driving of the scooter, a plurality of sensors are used to determine the current environmental state of the scooter. When the scooter is not in an area of a preset type and the distance between the scooter and other equipment is greater than a preset distance, it is confirmed that the power source is disconnected to ensure the safety of the scooter after the power source is disconnected.
[0110] In an exemplary embodiment, the weight detection device includes a plurality of strain gauges; continuously obtaining the weight carried by the pedal detected by the weight detection device includes:
[0111] S101, continuously acquiring detection data output by each strain gauge among a plurality of strain gauges to obtain a weight detected by each strain gauge;
[0112] S102, according to the matching relationship between the detection times, the weight detected by each strain gauge is fused to obtain the weight carried by the pedal detected by the multiple strain gauges.
[0113] In order to accurately obtain the weight carried on the pedal, the weight detection device includes multiple strain gauges, and the strain gauges are distributed in the corners of the pedal; the detection data output by each strain gauge in the multiple strain gauges is continuously obtained to obtain the weight detected by each strain gauge, and then according to the corresponding relationship between the detection time, the weights detected by each strain gauge are fused to obtain the weight carried by the pedal detected by multiple strain gauges.
[0114] In some embodiments, when the weight detection device on the pedal uses a single strain gauge, it can also output weight information. However, since the pedal area is large, the force area will be uneven when used alone, and the output judgment is prone to errors. Therefore, multiple strain gauges are distributed in the corners of the weight detection device. As a result, no matter where the rider is on the pedal, multiple strain gauges will output data. The output weight average value is calculated based on the matching relationship between the detection times, which can more accurately determine whether the vehicle is overloaded.
[0115] Through the embodiment provided in the present application, multiple strain gauges are pre-set in the corners of the weight detection device. According to the matching relationship of the detection time, the weight detected by each strain gauge is integrated to output the load-bearing weight of the pedal, which can output the load-bearing value of the pedal more accurately.
[0116] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0117] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM (Read-Only Memory) / RAM (Random Access Memory), a disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0118] According to another aspect of the embodiment of the present application, a scooter for implementing the above-mentioned scooter control method is also provided. The scooter may include:
[0119] A pedal, with walking wheels connected to both ends of the pedal;
[0120] A weight detection device, the weight detection device includes at least three strain gauges, and the at least three strain gauges are spaced and distributed below the pedal to detect the weight carried by the pedal;
[0121] A power source, which is connected to the travel wheels and is used to drive the scooter to move;
[0122] A control unit is connected to the weight detection device and the power source respectively, and the control unit controls the connection and disconnection of the power source based on the weight carried by the pedal.
[0123] refer to Figure 4 , Figure 4 It is an optional scooter signal transmission diagram according to an embodiment of the present application, including a weight detection device, a control unit, a signal processing component, a power source, and an instrument; wherein the weight detection device (a gravity sensor is exemplarily shown in the figure) includes a plurality of strain gauges, the weight detection device (gravity sensor) and the signal processing component are electrically connected through a wiring harness, the signal processing component and the control unit are connected through a universal asynchronous receiver and transmitter (Uart), the control unit and the instrument are connected through a universal asynchronous receiver and transmitter, and the control unit and the power source are electrically connected through a wiring harness.
[0124] In an exemplary embodiment, in the above-mentioned scooter, the weight detection device includes four strain gauges.
[0125] In some embodiments, the four strain gauges are distributed in a rectangular shape and are pre-configured at four corners of the weight detection device.
[0126] refer to Figure 5 , Figure 5 It is a schematic diagram of an optional weight detection device according to an embodiment of the present application, including a weight detection device with four strain gauges and a weight detection device with three strain gauges, where the strain gauges are evenly distributed in the weight detection device.
[0127] In some embodiments, multiple weight detection devices are pre-configured under the pedal. The optimal use range of the performance and life of the strain gauge and the weight detection device is 60%-70% of the design range. In order to ensure the accuracy and service life of the strain gauge and the weight detection device, the weight detection device is placed on the pedal that is subjected to the most force. The weight detection devices are arranged at the four corners of the pedal. When the rider stands on the pedal, the surface of the four weight detection devices (which can also be strain gauges or other force sensors) placed under the pedal is deformed, thereby causing a change in the built-in resistor. The change in the resistance value causes the internal current to change and generate a corresponding electrical signal. Different pressures correspond to different current sizes. After the four electrical signals are processed, an identifiable load-bearing weight parameter is obtained.
[0128] Through the embodiment provided in the present application, the four strain gauges in the weight detection device are distributed in a rectangular shape, and the weight detection device is also evenly distributed in the corners of the pedal, which can output the load-bearing value of the pedal more accurately.
[0129] In an exemplary embodiment, in the above-mentioned scooter, each of the at least three strain gauges is respectively set at a different position on the bottom of the pedal through a fixing bolt, or is respectively set at a different position on the battery compartment under the pedal through a fixing bolt, and each strain gauge respectively forms a Wheatstone bridge.
[0130] In some embodiments, a plurality of strain gauges are located at different positions of the bottom of the pedal or the battery compartment under the pedal, and each strain gauge forms a Wheatstone bridge. When there is no load, the Wheatstone bridge is in a balanced state and the output is zero. When the strain gauge (or the weight detection device) is subjected to a load, the Wheatstone bridge loses balance and generates a voltage signal output. After being processed by a preset program, the voltage signal is converted into a measurable output signal according to a certain ratio. After the output signal is converted into a weight value, the information is transmitted to the control unit through a universal asynchronous receiver and transmitter. After receiving the information, the control unit determines the information.
[0131] refer to Figure 6 , Figure 6 It is a schematic diagram of an optional Wheatstone bridge structure according to an embodiment of the present application, including an access voltage (Voltage at the Common Collector, referred to as VCC), multiple resistors (R1, R2, R3, R4 are shown as examples), a ground wire (Ground, referred to as GND) and a differential amplifier, etc.
[0132] In some embodiments, when the pedal is acted upon by an external force, the resistance strain gauge will be deformed and its resistance value will change (increase or decrease). After the control signal is output, it passes through the differential amplifier to convert this resistance change into an electrical signal and output it to the AD sampling port of the microcontroller. By calibrating each voltage signal, a corresponding weight value is output.
[0133] Through the embodiments provided in the present application, the strain gauge can construct a Wheatstone bridge and change the resistance value according to the pressure deformation, thereby determining the corresponding weight value according to the voltage value change.
[0134] According to another aspect of the embodiments of the present application, a control device for a scooter is also provided, and the device is used to implement the control method for a scooter provided in the above embodiments, which has been described and will not be repeated. As used below, the terms "module" and "unit" can be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0135] refer to Figure 7 , Figure 7 is a structural block diagram of an optional scooter control device according to an embodiment of the present application, such as Figure 7 As shown, the device comprises:
[0136] The first detection unit 701 is used to continuously obtain the weight carried by the pedal detected by the weight detection device;
[0137] The first disconnection unit 702 is used to disconnect the power source if it is determined that the pedal carries weight and the subsequent weight detection device detects that the weight carried by the pedal has increased.
[0138] It should be noted that the first detection unit 701 in this embodiment can be used to execute the above step S201, and the first disconnection unit 702 in this embodiment can be used to execute the above step S202.
[0139] Through the above module, the weight carried by the pedal detected by the weight detection device can be continuously obtained, and the carrying state and the carrying weight of the scooter can be judged in real time; if it is determined that the pedal carries weight and it is subsequently detected that the weight carried by the pedal increases, the power source is disconnected, thereby, the overload judgment is made based on the two weight increases, and it can be combined with the rider's habit of getting on the vehicle (getting on the vehicle one by one) to accurately judge whether it is overloaded; and the power source is disconnected when the weight increases for the second time to ensure the safety of riding the scooter; thereby solving the problem of low accuracy of overload judgment in the related art, and achieving the technical effect of improving the accuracy of overload judgment.
[0140] In an exemplary embodiment, the above device further comprises:
[0141] The first connection unit is used to keep the power source connected if it is determined that the pedal carries weight and the subsequent weight detection device detects that the weight carried by the pedal has not increased.
[0142] In an exemplary embodiment, the first detection unit includes:
[0143] The first detection module is used to continuously obtain the weight carried by the pedal detected by the weight detection device when the power source is not working.
[0144] In an exemplary embodiment, the first disconnecting unit comprises:
[0145] A first disconnection module, configured to disconnect the power source if it is determined that the pedal carries weight, and the subsequent weight detection device detects that the increase in the weight carried by the pedal is greater than or equal to a first preset weight;
[0146] The first connection module is used to keep the power source connected if it is determined that the pedal carries weight and the subsequent weight detection device detects that the increase in the weight carried by the pedal is less than the first preset weight.
[0147] In an exemplary embodiment, the first disconnecting unit comprises:
[0148] The second disconnection module disconnects the power source if it is determined that the pedal carries weight and the subsequent weight detection device detects that the weight carried by the pedal increases by 2 times or more.
[0149] In an exemplary embodiment, the second disconnect module comprises:
[0150] A first connection submodule is used for connecting the power source when detecting that the weight carried by the pedal increases once when the power source is not working;
[0151] The first disconnection submodule is used to disconnect the power source when it is detected that the weight carried by the pedal increases again when the power source is working subsequently.
[0152] In an exemplary embodiment, the second disconnect module comprises:
[0153] The second disconnection submodule is used to disconnect the power source if it is determined that the pedal carries weight, and the subsequent weight detection device detects that the weight carried by the pedal increases by 2 times or more, and the total weight increased by 2 times or more is greater than or equal to the second preset weight; or
[0154] The third disconnection submodule is used to disconnect the power source if it is determined that the pedal carries weight, and the subsequent weight detection device detects that the weight carried by the pedal increases by 2 times or more, the total weight increased by 2 times or more is greater than or equal to the second preset weight, and the maintenance time of the weight after 2 times or more increases is greater than or equal to the first preset time.
[0155] In an exemplary embodiment, the above device further comprises:
[0156] The second disconnecting unit is used to disconnect the power source when the weight detection device detects that the weight carried by the pedal is greater than or equal to the third preset weight and the duration is greater than or equal to the second preset time.
[0157] In an exemplary embodiment, the first disconnecting unit comprises:
[0158] The alarm module is used to send an alarm message through the scooter and disconnect the power source if it is determined that the pedal carries weight and the subsequent weight detection device detects that the weight carried by the pedal has increased, wherein the alarm message is used to warn the scooter of overload.
[0159] In an exemplary embodiment, the above device further comprises:
[0160] A position unit, used to detect the environmental state of the scooter through a group of sensors to obtain target environmental information, wherein the target environmental information is used to indicate the position of the scooter and the positional relationship between the scooter and other devices except the scooter;
[0161] The distance unit is used to determine that the power source is allowed to be disconnected when it is determined according to the target environment information that the scooter is not in an area of a preset type and the distance between the scooter and other equipment is greater than a preset distance.
[0162] In an exemplary embodiment, the first detection unit includes:
[0163] The second detection module is used to continuously obtain the detection data output by each strain gauge of the multiple strain gauges to obtain the weight detected by each strain gauge;
[0164] The matching module is used to fuse the weight detected by each strain gauge according to the matching relationship between the detection times, so as to obtain the weight carried by the pedal detected by multiple strain gauges.
[0165] It should be noted that the examples and application scenarios implemented by the above modules and corresponding steps are the same, but are not limited to the contents disclosed in the above embodiments. It should be noted that the above modules as part of the device can be run in Figure 1In the hardware environment shown, it can be implemented by software or by hardware, wherein the hardware environment includes a network environment.
[0166] According to another aspect of the embodiments of the present application, a computer-readable storage medium is also provided. Optionally, in this embodiment, the storage medium can be used to execute the program code of any of the above-mentioned scooter control methods in the embodiments of the present application.
[0167] Optionally, in this embodiment, the storage medium may be located on at least one network device among a plurality of network devices in the network shown in the above embodiment.
[0168] Optionally, in this embodiment, the storage medium is configured to store program codes for executing the following steps:
[0169] S1, continuously obtaining the weight carried by the pedal detected by the weight detection device;
[0170] S2: If it is determined that the pedal carries weight, and the subsequent weight detection device detects that the weight carried by the pedal increases, the power source is disconnected.
[0171] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, which will not be described in detail in this embodiment.
[0172] Optionally, in this embodiment, the storage medium may include, but is not limited to, various media that can store program codes, such as a USB flash drive, a ROM, a RAM, a mobile hard disk, a magnetic disk, or an optical disk.
[0173] According to one aspect of the present application, a computer program product is provided, the computer program product comprising a computer program / instruction, the computer program / instruction comprising a program code for executing the method shown in the flowchart. Figure 8 The computer program can be downloaded and installed from the network through the communication part 808, and / or installed from the removable medium 811. When the computer program is executed by the central processor 801, various functions provided by the embodiments of the present application are executed. The serial numbers of the embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments.
[0174] refer to Figure 8 , Figure 8 It is a structural block diagram of a computer system of an optional electronic device according to an embodiment of the present application.
[0175] Figure 8 The computer system structure block diagram of the electronic device used to implement the embodiment of the present application is schematically shown. Figure 8As shown, the computer system 800 includes a central processing unit 801 (CPU), which can perform various appropriate actions and processes according to the program stored in the read-only memory 802 (ROM) or the program loaded from the storage part 808 to the random access memory 803 (RAM). Various programs and data required for system operation are also stored in the random access memory 803. The central processing unit 801, the read-only memory 802 and the random access memory 803 are connected to each other through a bus 804. The input / output interface 805 (Input / Output interface, i.e., I / O interface) is also connected to the bus 804.
[0176] The following components are connected to the input / output interface 805: an input section 806 including a keyboard, a mouse, etc.; an output section 808 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker; a storage section 808 including a hard disk, etc.; and a communication section 809 including a network interface card such as a local area network card, a modem, etc. The communication section 909 performs communication processing via a network such as the Internet. A drive 810 is also connected to the input / output interface 805 as needed. A removable medium 811, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 810 as needed so that a computer program read therefrom is installed into the storage section 808 as needed.
[0177] In particular, according to an embodiment of the present application, the process described in each method flow chart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer readable medium, and the computer program contains a program code for executing the method shown in the flow chart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 808, and / or installed from the removable medium 811. When the computer program is executed by the central processor 801, various functions defined in the system of the present application are executed.
[0178] It should be noted that Figure 8 The computer system 800 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0179] According to another aspect of the embodiments of the present application, there is also provided an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0180] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the input / output resource pool, and the input / output device is connected to the input / output resource pool.
[0181] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.
[0182] Obviously, those skilled in the art should understand that the modules or steps of the above-mentioned embodiments of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. In this way, the embodiments of the present application are not limited to any specific combination of hardware and software.
[0183] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0184] If the integrated units in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in the above computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling one or more computer devices (which may be personal computers, servers, or network devices, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
[0185] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0186] In the several embodiments provided in the present application, it should be understood that the disclosed client can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0187] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution provided in this embodiment.
[0188] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0189] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A method for controlling a scooter, characterized in that: The scooter includes a power source for driving the scooter to move, and a weight detection device is provided on the scooter, and the weight detection device is used to detect the weight carried by the pedal of the scooter. The method includes: Continuously obtaining the weight carried by the pedal detected by the weight detection device; If it is determined that the pedal carries weight, and subsequently the weight detection device detects that the weight carried by the pedal increases, the power source is disconnected.
2. The method according to claim 1, characterized in that The method further comprises: If it is determined that the pedal carries weight, and subsequently the weight detection device detects that the weight carried by the pedal has not increased, the power source is kept connected.
3. The method according to claim 1 or 2, characterized in that: The continuously obtaining the weight carried by the pedal detected by the weight detection device includes: When the power source is not working, the weight carried by the pedal detected by the weight detection device is continuously obtained.
4. The method according to any one of claims 1 to 3, characterized in that If it is determined that the pedal carries weight, and subsequently the weight detection device detects that the weight carried by the pedal increases, disconnecting the power source includes: If it is determined that the pedal carries weight, and subsequently the weight detection device detects that the increase in the weight carried by the pedal is greater than or equal to a first preset weight, disconnecting the power source; If it is determined that the pedal carries weight, and subsequently the weight detection device detects that the increase in the weight carried by the pedal is less than the first preset weight, the power source is kept connected.
5. The method according to any one of claims 1 to 3, characterized in that: If it is determined that the pedal carries weight, and subsequently the weight detection device detects that the weight carried by the pedal increases, disconnecting the power source includes: If it is determined that the pedal carries weight, and subsequently the weight detection device detects that the weight carried by the pedal increases 2 times or more, the power source is disconnected.
6. The method according to claim 5, characterized in that If it is determined that the pedal carries weight, and subsequently the weight detection device detects that the weight carried by the pedal increases 2 times or more, disconnecting the power source includes: When the power source is not working, it is detected that the weight carried by the pedal increases once, then the power source is connected; When the power source is subsequently operated and it is detected that the weight carried by the pedal increases again, the power source is disconnected.
7. The method according to claim 5, characterized in that If it is determined that the pedal carries weight, and subsequently the weight detection device detects that the weight carried by the pedal increases 2 times or more, disconnecting the power source includes: If it is determined that the pedal carries weight, and subsequently the weight detection device detects that the weight carried by the pedal increases 2 times or more, and the total weight increased 2 times or more is greater than or equal to a second preset weight, then the power source is disconnected; or, If it is determined that the pedal carries weight, and subsequently the weight detection device detects that the weight carried by the pedal increases by 2 times or more, the total weight increased by 2 times or more is greater than or equal to the second preset weight, and the maintenance time of the weight after 2 times or more increases is greater than or equal to the first preset time, the power source is disconnected.
8. The method according to any one of claims 1 to 3, characterized in that After continuously acquiring the weight carried by the pedal detected by the weight detection device, the method further includes: When the power source is working, when the weight detection device detects that the weight carried by the pedal is greater than or equal to the third preset weight for a duration greater than or equal to the second preset time, the power source is disconnected.
9. The method according to any one of claims 1 to 3, characterized in that If it is determined that the pedal carries weight, and subsequently the weight detection device detects that the weight carried by the pedal increases, disconnecting the power source includes: If it is determined that the pedal carries weight, and subsequently the weight detection device detects that the weight carried by the pedal has increased, an alarm message is sent through the scooter and the power source is disconnected, wherein the alarm message is used to issue an overload alarm to the scooter.
10. The method according to any one of claims 1 to 3, characterized in that Before disconnecting the power source, the method further includes: Detecting the environmental state of the scooter through a group of sensors to obtain target environmental information, wherein the target environmental information is used to indicate the position of the scooter and the positional relationship between the scooter and other equipment except the scooter; When it is determined according to the target environment information that the scooter is not in an area of a preset type and the distance between the scooter and the other devices is greater than a preset distance, it is determined that disconnection of the power source is allowed.
11. The method according to any one of claims 1 to 3, characterized in that The weight detection device includes a plurality of strain gauges; the continuously obtaining the weight carried by the pedal detected by the weight detection device includes: Continuously acquiring detection data output by each of the plurality of strain gauges to obtain the weight detected by each strain gauge; According to the matching relationship between the detection times, the weight detected by each strain gauge is fused to obtain the weight carried by the pedal detected by the multiple strain gauges.
12. A scooter, characterized in that: include: A pedal, with walking wheels connected to both ends of the pedal; A weight detection device, the weight detection device comprising at least three strain gauges, the at least three strain gauges being distributed at intervals below the pedal and used to detect the weight carried by the pedal; A power source, the power source is connected to the walking wheel and is used to drive the scooter to move; A control unit is connected to the weight detection device and the power source respectively, and the control unit controls the connection and disconnection of the power source based on the weight carried by the pedal.
13. The scooter according to claim 12, characterized in that: The weight detection device includes four strain gauges.
14. The scooter according to claim 12 or 13, characterized in that: Each of the at least three strain gauges is respectively arranged at a different position on the bottom of the pedal via a fixing bolt, or is respectively arranged at a different position on the battery compartment under the pedal via a fixing bolt, and each strain gauge respectively forms a Wheatstone bridge.
15. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program executes the method according to any one of claims 1 to 11 when executed.