Helmet lock and basket linkage control method, device and shared electric bicycle
Patent Information
- Application Number
- CN202611035240.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-13
- Publication Date
- 2026-10-09
AI Technical Summary
[0004]然而,现有电机驱动的自动关盖方案多采用单维度信号作为触发依据,仅依据车速阈值或头盔锁状态输出关盖指令,关盖时机与实际使用场景匹配度较低,易产生误触发或无效关盖动作,存在控制准确性不足的技术问题
[0030]上述电单车的头盔锁与车筐联动控制方法、装置和共享电单车,以头盔锁状态、头盔佩戴状态与车速三类信号作为共同判定依据,对关盖触发条件进行多维度综合判断。相较于单维度信号触发的控制方式,该方法可适配头盔取用、佩戴、车辆行驶等多种使用场景,提升车筐盖关闭控制的准确性,减少误触发与无效关盖动作。
Smart Images

Figure CN122880384A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of shared electric bicycle technology, and in particular to a method, device and shared electric bicycle for linking helmet lock and basket of electric bicycle. Background Technology
[0002] Shared electric bicycles, as a convenient and environmentally friendly mode of transportation, have been widely used in urban transportation. To ensure user safety, the proper wearing of helmets has become a safety management requirement, and helmets have become standard equipment on shared electric bicycles.
[0003] Currently, helmet storage on shared electric bicycles mainly falls into two categories: open baskets and covered baskets. To avoid hygiene and helmet aging issues caused by prolonged exposure, some shared bicycles use covered baskets. The mainstream covered baskets feature a damping torsion spring automatic lid-closing structure. This structure relies on a torsion spring within the shaft for rotational power, combined with silicone oil damping to control the descent speed. After the user releases their grip, the lid automatically flips down to close, eliminating the need for manual pressing. Additionally, there are motor-driven, fully electrically controlled lid-closing solutions that enable automatic opening and closing.
[0004] However, existing motor-driven automatic helmet closing solutions mostly use single-dimensional signals as triggering criteria, outputting closing commands only based on vehicle speed thresholds or helmet lock status. The timing of closing the helmet is not well matched with the actual usage scenario, which can easily lead to false triggering or invalid closing actions, resulting in technical problems of insufficient control accuracy. Summary of the Invention
[0005] Therefore, it is necessary to provide a method and device for the linkage control of helmet lock and basket of electric bicycle, as well as a shared electric bicycle, to address the above-mentioned technical problems.
[0006] In a first aspect, this application provides a method for linking the helmet lock and basket of an electric bicycle, the method comprising:
[0007] The system acquires the status of the helmet lock, the helmet wearing status, and the speed of the electric bicycle, wherein the helmet lock is used to secure the helmet in the basket.
[0008] Based on the state of the helmet lock, the helmet wearing status, and the vehicle speed, determine whether the preset closing conditions of the basket are met;
[0009] If the preset closing conditions are met, a control command to close the basket cover is generated.
[0010] In one embodiment, determining whether the preset closing conditions of the bicycle basket are met based on the state of the helmet lock, the helmet wearing status, and the vehicle speed includes:
[0011] If the helmet lock is in the open state and the vehicle speed is greater than a preset vehicle speed threshold, then the preset helmet closing condition is met.
[0012] If the helmet lock is open and the vehicle speed is not greater than the preset vehicle speed threshold, then the preset closure condition is determined based on the helmet wearing status.
[0013] In one embodiment, determining whether the preset closing condition is met based on whether the helmet is being worn for the first time includes:
[0014] When the helmet is first detected to be worn, the helmet wearing state is set to the first wearing state, and a timer is started;
[0015] If the helmet is being worn for the first time and the timing exceeds the preset anti-shake duration, then the preset cover-closing condition is met.
[0016] In one embodiment, when the helmet lock switches from an open state to a closed state, the flag of the first wearing state is cleared.
[0017] In one embodiment, before generating the control command to close the basket cover, the method further includes:
[0018] Obtain the type identifier of the helmet;
[0019] If the type identifier belongs to a preset type, then the generation of the control command is allowed.
[0020] In one embodiment, before generating the control command to close the basket cover, the method further includes:
[0021] Obtain the status of the automatic cover closing function switch of the electric bicycle;
[0022] If the automatic lid closing function switch is in the on state, the generation of the control command is allowed.
[0023] Secondly, this application also provides a helmet lock and basket linkage control device for an electric bicycle, comprising:
[0024] The status acquisition module is used to acquire the status of the helmet lock, the helmet wearing status, and the speed of the electric bicycle. The helmet lock is used to fix the helmet in the basket of the bicycle.
[0025] The judgment module is used to determine whether the preset closing conditions of the bicycle basket are met based on the state of the helmet lock, the helmet wearing state, and the vehicle speed.
[0026] The instruction generation module is used to generate a control instruction to close the basket cover if the preset closing conditions are met.
[0027] Thirdly, this application also provides a shared electric bicycle, including a helmet, a basket with a basket cover on top, a basket cover actuator, and a helmet lock and basket linkage control device as described in the second aspect. The basket cover actuator is connected to the control device and is used to receive the control command to close the basket cover and drive the basket cover to close.
[0028] In one embodiment, the inner wall of the helmet is provided with a wear detection sensor for detecting the helmet's wearing status.
[0029] In one embodiment, the basket is equipped with a helmet lock sensor for detecting the status of the helmet lock.
[0030] The aforementioned helmet lock and basket linkage control method, device, and shared e-bike utilize three signals—helmet lock status, helmet wearing status, and vehicle speed—as common criteria for determining the cover closing trigger condition through a multi-dimensional comprehensive judgment. Compared to control methods triggered by single-dimensional signals, this method is adaptable to various usage scenarios such as helmet removal, wearing, and vehicle movement, improving the accuracy of basket cover closing control and reducing false triggers and invalid closing actions. Attached Figure Description
[0031] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0032] Figure 1 This is an application environment diagram of a method for linking the helmet lock and basket of an electric bicycle in one embodiment.
[0033] Figure 2 This is a flowchart illustrating a method for linking the helmet lock and basket of an electric bicycle in one embodiment.
[0034] Figure 3 This is a flowchart illustrating the linkage control method between the helmet lock and the basket of an electric bicycle in a detailed embodiment.
[0035] Figure 4 This is a structural block diagram of a helmet lock and basket linkage control device for an electric bicycle in one embodiment. Detailed Implementation
[0036] 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.
[0037] The helmet lock and basket linkage control method for electric bicycles provided in this application embodiment can be applied to, for example... Figure 1 The motorcycle shown is equipped with a helmet. The helmet 100 includes a wearing detection sensor 110 for detecting the helmet's wearing status. The motorcycle body 200 includes a main controller 210, a speed detection unit 220, and a basket 230. The basket 230 is equipped with a helmet lock sensor 231 and a basket cover actuator 232. The main controller 210 is electrically connected to the helmet lock sensor 241, the wearing detection sensor 110, the speed detection unit 220, and the basket cover actuator 232.
[0038] The helmet lock sensor 241 and the wearing detection sensor 110 communicate with the main controller 210 via a bus, sending helmet lock status signals and wearing status signals to the main controller 210. The vehicle speed detection unit 220 sends the vehicle speed signal to the main controller 210. The main controller 210 executes the method provided in this embodiment, determining whether the cover-closing conditions are met based on the helmet lock status, wearing status, and vehicle speed, and sends a control command to the basket cover actuator 232 when the conditions are met. After receiving the control command, the basket cover actuator 232 drives the basket cover to close.
[0039] The main controller 210 can be a microcontroller unit (MCU). The bus can be an RS485 bus, LIN bus, or CAN bus. The vehicle speed detection unit 220 can be a vehicle speed sensor, a motor speed sensor, or a Global Positioning System (GPS) positioning module. The basket cover actuator 232 can be a motor or an electromagnet.
[0040] In one exemplary embodiment, such as Figure 2 As shown, a method for linkage control between the helmet lock and the basket of an electric bicycle is provided, which is applied to... Figure 1 Taking the main controller in the example, the explanation includes the following steps:
[0041] Step S301: Obtain the helmet lock status, helmet wearing status, and the speed of the electric bicycle.
[0042] The helmet lock secures the helmet inside the bike basket, preventing its removal when not riding. The helmet lock's status is monitored by a status detection unit located on the lock body. Helmet wearing status is a detection signal indicating whether the helmet is being worn by the user; this signal is monitored by a wearing detection unit on the helmet itself.
[0043] Step S302: Based on the helmet lock status, helmet wearing status, and vehicle speed, determine whether the preset closing conditions of the bicycle basket are met.
[0044] The preset closing conditions are pre-defined state combination judgment rules used to identify operating scenarios that require the basket cover to close. The preset closing conditions can be configured and adjusted according to the motorcycle model and helmet type to adapt to different hardware configurations and operational requirements.
[0045] In step S303, if the preset closing conditions are met, a control command to close the basket cover is generated.
[0046] The actuator of the basket cover can adopt a torsion spring damping structure, an electromagnetic attraction structure, or a motor drive structure to adapt to different types of covered baskets. The control command is an electrical signal used to drive the basket cover to perform the closing action.
[0047] The aforementioned helmet lock and basket linkage control method for electric bicycles uses three signals—helmet lock status, helmet wearing status, and vehicle speed—as the common criteria for determining the cover closing trigger condition through a multi-dimensional comprehensive judgment. Compared to control methods triggered by a single-dimensional signal, this method is adaptable to various usage scenarios such as helmet removal, wearing, and vehicle movement, improving the accuracy of basket cover closing control and reducing false triggers and invalid closing actions.
[0048] In one exemplary embodiment, before generating the control command to close the basket cover, the method further includes:
[0049] Obtain the helmet's type identifier. If the type identifier belongs to a preset type, then control commands can be generated. The preset types include helmet models or series identifiers that support automatic visor closing functions. The type identifier is stored in the helmet's internal memory.
[0050] Furthermore, the status of the automatic cover closing function switch of the electric bicycle is obtained; control commands are only allowed to be generated when the automatic cover closing function switch is in the open state.
[0051] In an exemplary embodiment, in step S302, based on the helmet lock status, helmet wearing status, and vehicle speed, it is determined whether the preset closing conditions of the bicycle basket are met. This can be achieved in the following way:
[0052] If the helmet lock is open and the vehicle speed exceeds a preset speed threshold, the preset hood closing condition is met. If the helmet lock is open and the vehicle speed does not exceed a preset speed threshold, the preset hood closing condition is determined based on the helmet wearing status.
[0053] The preset speed threshold is used to differentiate between different levels of helmet detachment risk. If the user is only pushing the bike and walking without starting to ride, the speed is usually low, and there is no need to immediately trigger the helmet cover closure. When the speed is detected to meet the criteria for riding, if the basket cover is not closed due to other factors, a judgment result indicating that the cover closure condition has been met should be output based on the helmet wearing status.
[0054] This embodiment uses a layered judgment logic to close the cover only in high-speed scenarios, which can further improve the rationality and accuracy of cover closing control compared to a single threshold judgment method.
[0055] In an exemplary embodiment, the step of determining whether the preset closing condition is met based on the helmet wearing status in the previous embodiment can be carried out in the following way:
[0056] When a helmet is detected to be worn for the first time, the helmet wearing status is set to the first wearing status and a timer is started; if the helmet wearing status is the first wearing status and the timer exceeds the preset anti-shake duration, the preset cover closing condition is determined to be met.
[0057] The first-time wearing marker is a status identifier stored in the MCU, used to distinguish the first wearing action within this riding cycle. The preset anti-shake duration is a pre-configured state continuity verification threshold. It's understood that if a user is mistakenly detected as already wearing a helmet while retrieving it, the basket cover closing at that moment could pinch the user's hand. Therefore, setting this anti-shake duration can prevent user injury.
[0058] Furthermore, when the helmet lock switches from the open state to the closed state, the initial wearing state flag is cleared.
[0059] Specifically, when the helmet lock switches to the off state, the helmet is returned to the basket and locked, marking the end of the current helmet usage cycle. After the flag is cleared, the initial wearing determination logic will be re-initialized and executed the next time the helmet lock is unlocked and a new usage cycle begins.
[0060] In this embodiment, the timing of the wearing trigger within a single ride is limited by the first wearing mark, which can avoid repeated triggering of the cover-closing logic; at the same time, the continuity of the wearing state is verified by the anti-shake duration, which can eliminate the interference of instantaneous jumps during the action. The cover can be stably triggered after the user completes the wearing action, reducing the interference of accidental cover closure on the user's operation and improving the accuracy of the cover closure timing and the actual wearing process.
[0061] The following detailed embodiment illustrates this solution, such as... Figure 3 As shown, this embodiment includes the following steps:
[0062] Step S401: Collect multi-source state signals and synthesize a unified state number.
[0063] Specifically, according to preset encoding rules, multi-source discrete state variables can be synthesized into a unified state number state_id, which can be used as a unified input for subsequent decision-making logic.
[0064] Step S402: Verify the helmet type and the status of the automatic cover closing function switch, and determine whether the automatic cover closing logic is enabled.
[0065] In step S403, if the helmet does not belong to the preset supported type, or the function switch is in the off state, skip the automatic cover closing logic and end the current judgment cycle.
[0066] Step S404: If both checks pass, determine whether the helmet lock is in the open state.
[0067] Step S405: If the helmet lock is in the open state, determine whether the real-time vehicle speed is greater than the preset vehicle speed threshold.
[0068] The preset vehicle speed threshold is configurable; in this embodiment, it is set to 5 km / h. If the real-time vehicle speed exceeds the preset speed threshold, the preset cover-closing condition is directly determined to be met.
[0069] Step S406: If the real-time vehicle speed is not greater than the preset vehicle speed threshold, further analyze the helmet wearing status and the first wearing mark to determine whether it is the first time wearing the helmet.
[0070] Step S407: If the first wearing state switch is detected, start the wearing duration timer.
[0071] Step S408: Determine whether the timing result of the wearing duration has reached the preset anti-shake duration.
[0072] The preset anti-shake duration is configurable; in this embodiment, it is set to 1000ms. If the preset anti-shake duration is reached, the preset closing condition is determined to be met, and the first-wearing mark is set. If not, the timing is maintained, and the current determination cycle ends.
[0073] Step S409: If the wearing duration reaches the preset anti-shake duration, a control command to close the basket cover is generated and output to the basket cover drive circuit.
[0074] Step S410: When the helmet lock is detected to switch from the open state to the closed state, the first wearing mark and corresponding timing data are cleared.
[0075] 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.
[0076] Based on the same inventive concept, this application also provides a helmet lock and basket linkage control device for motorcycles to implement the above-mentioned method. The solution provided by this device is similar to the solution described in the above-mentioned method. Therefore, the specific limitations of one or more embodiments of the helmet lock and basket linkage control device for motorcycles provided below can be found in the limitations of the helmet lock and basket linkage control method for motorcycles above, and will not be repeated here.
[0077] In one exemplary embodiment, such as Figure 4 As shown, a helmet lock and basket linkage control device 500 for electric bicycles is provided, comprising:
[0078] The status acquisition module 510 is used to acquire the status of the helmet lock, the helmet wearing status, and the speed of the electric bicycle. The helmet lock is used to fix the helmet in the basket of the bicycle.
[0079] The judgment module 520 is used to determine whether the preset closing conditions of the bicycle basket are met based on the helmet lock status, helmet wearing status and vehicle speed.
[0080] The instruction generation module 530 is used to generate a control instruction to close the basket cover if the preset closing conditions are met.
[0081] The various modules in the helmet lock and basket linkage control device of the aforementioned electric bicycle can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the corresponding operations of each module.
[0082] In one exemplary embodiment, a shared electric bicycle is provided, including a helmet, a basket with a lid on top, a basket lid actuator, and a helmet lock and basket linkage control device for the electric bicycle. The basket lid actuator is connected to the control device and is used to receive the control command to close the basket lid and drive the basket lid to close.
[0083] The helmet includes a helmet lock sensor and a wear detection sensor. The helmet lock sensor detects the status of the helmet lock, while the wear detection sensor detects whether the helmet is being worn.
[0084] Those skilled in the art will understand that all or part of the processes in the methods of 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, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory 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, artificial intelligence (AI) processors, etc., and are not limited to these.
[0085] 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 application.
[0086] 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 linking the helmet lock and basket of an electric bicycle, characterized in that, The method includes: The system acquires the status of the helmet lock, the helmet wearing status, and the speed of the electric bicycle, wherein the helmet lock is used to secure the helmet in the basket. Based on the state of the helmet lock, the helmet wearing status, and the vehicle speed, determine whether the preset closing conditions of the basket are met; If the preset closing conditions are met, a control command to close the basket cover is generated.
2. The method according to claim 1, characterized in that, The determination of whether the preset closing conditions of the bicycle basket are met based on the state of the helmet lock, the helmet wearing status, and the vehicle speed includes: If the helmet lock is in the open state and the vehicle speed is greater than a preset vehicle speed threshold, then the preset helmet closing condition is met. If the helmet lock is open and the vehicle speed is not greater than the preset vehicle speed threshold, then the preset closure condition is determined based on the helmet wearing status.
3. The method according to claim 2, characterized in that, The step of determining whether the preset closing condition is met based on whether the helmet is being worn for the first time includes: When a helmet is detected being worn for the first time, the helmet wearing state is set to the first wearing state, and a timer is started; If the helmet is worn for the first time and the timeout exceeds the preset anti-shake duration, then the preset cover-closing condition is met.
4. The method according to claim 3, characterized in that, When the helmet lock switches from the open state to the closed state, the flag for the first wearing state is cleared.
5. The method according to claim 1, characterized in that, Before generating the control command to close the basket cover, the method further includes: Obtain the type identifier of the helmet; If the type identifier belongs to a preset type, then the generation of the control command is allowed.
6. The method according to claim 1, characterized in that, Before generating the control command to close the basket cover, the method further includes: Obtain the status of the automatic cover closing function switch of the electric bicycle; If the automatic lid closing function switch is in the on state, the generation of the control command is allowed.
7. A helmet lock and basket linkage control device for an electric bicycle, characterized in that, include: The status acquisition module is used to acquire the status of the helmet lock, the helmet wearing status, and the speed of the electric bicycle. The helmet lock is used to fix the helmet in the basket of the bicycle. The judgment module is used to determine whether the preset closing conditions of the bicycle basket are met based on the state of the helmet lock, the helmet wearing state, and the vehicle speed. The instruction generation module is used to generate a control instruction to close the basket cover if the preset closing conditions are met.
8. A shared electric bicycle, characterized in that, The device includes a helmet, a basket with a top cover, a basket cover actuator, and a helmet lock and basket linkage control device for an electric bicycle as described in claim 7. The basket cover actuator is connected to the control device and is used to receive the control command to close the basket cover and drive the basket cover to close.
9. The shared electric bicycle according to claim 8, characterized in that, The helmet is equipped with a wear detection sensor on its inner wall to detect the helmet's wearing status.
10. The shared electric bicycle according to claim 8, characterized in that, The basket is equipped with a helmet lock sensor to detect the status of the helmet lock.