Electric lock anti-mislocking device, method and controller based on Hall linear device

The Hall linear device is used to detect the rotation speed of the brake disc of shared bicycles, which solves the problem of mis-locking of electric locks, achieves accurate speed detection during low-speed operation, and improves user experience.

CN112814489BActive Publication Date: 2024-09-06HUIZHOU KINGLY MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110149034.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-02-03
Publication Date
2024-09-06
Estimated Expiration
2041-02-03

AI Technical Summary

Technical Problem

Existing electric locks are prone to mislocking due to misoperation or network errors when shared bicycles are driving, which may cause personal safety accidents and vehicle damage. Moreover, they cannot accurately detect the speed of the vehicle when running at low speed, affecting the user experience.

Method used

An electric lock anti-mislocking device based on Hall linear devices is used to detect the rotation speed of the brake disc through magnets and Hall linear devices, generate an analog signal and transmit it to the host computer, and calculate the vehicle speed to avoid mislocking.

Benefits of technology

It achieves more accurate detection of vehicle speed when the vehicle is running at low speed, avoids mis-locking, and improves the user experience when returning the vehicle on the seat and in places with environmental vibrations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112814489B
    Figure CN112814489B
Patent Text Reader

Abstract

The present invention discloses an electric lock anti-mislocking device based on a Hall linear device. The electric lock is installed in the gate box of a shared bicycle. The electric lock is controlled by a host. The device for preventing the electric lock from being mislocked includes a magnet and a Hall linear device. The magnet is arranged on the outer ring of the gate disk in the gate box. The Hall linear device is arranged in the electric lock. The magnet senses the Hall linear device. The analog signal generated by the Hall linear device is transmitted to the host. The host detects the rotation speed of the gate disk to prevent the electric lock from being mislocked. The present invention also discloses four electric lock anti-mislocking methods based on Hall linear devices and an electric lock anti-mislocking controller based on Hall linear devices. The present application can achieve the effect of avoiding the electric lock from being mislocked, and can also realize more accurate detection of the vehicle speed when the vehicle is running at a low speed, thereby improving the user experience of shared bicycle users when returning the bicycle while sitting on the seat and returning the bicycle in a place with environmental vibration.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to an electric lock for a shared bike or a bicycle or a motorcycle, and more specifically to an electric lock anti-mislocking device, method and controller based on a Hall linear device, belonging to the technical field of locks. Background Art

[0002] Under the premise that the country advocates environmentally friendly travel, shared bicycles have become a short-distance transportation tool that people often use. In order to achieve remote control, shared bicycles generally use electric methods to unlock and lock. However, in actual use, electric locks have a certain risk of misoperation: when a shared bicycle is driving, when the user accidentally presses the control switch of the electric lock or the network mistakenly issues a lock command, if the electric lock is locked immediately without judgment, it may cause personal safety accidents and damage to the vehicle lock.

[0003] In order to avoid the electric lock from being locked by mistake, the utility model patent (CN 208569324U) proposes "a device to prevent the electric lock from being locked by mistake", and its technical solution is "a device to prevent the electric lock from being locked by mistake includes a magnet and a Hall element, the magnet is arranged on the outer ring of the gate disc in the gate box, the Hall element is arranged on the electric lock, the magnet senses the Hall element, and the pulse signal generated by the Hall element is transmitted to the host, and the host detects whether the gate disc is rotating." Analysis shows that the existing technical solution has shortcomings. This technical solution only determines whether the gate disc is rotating based on the pulse signal, and cannot accurately detect the speed of the vehicle when it is running at a low speed. In the actual application scenarios of shared bicycles, sometimes customers will make a request to return the vehicle while shaking on the seat, or the vehicle will be parked near the railway, near the road crusher and other engineering machinery and make a request to return the vehicle. At this time, the Hall element has a certain probability of continuously sending pulses, resulting in unsuccessful locking of the vehicle, affecting the user experience. If the speed of the vehicle can be detected more accurately when the vehicle is running at a low speed, this unfavorable situation can be avoided.

[0004] The technical solution proposed by the present invention is to detect the vehicle speed based on linear Hall elements. According to the function of Hall elements, they can be divided into Hall linear devices (also called linear Hall devices) and Hall switch devices. The former outputs analog quantity, and the latter outputs digital quantity or pulse. When the customer sits on the seat and shakes, the analog voltage output by the Hall linear device can detect the speed of the vehicle more accurately than using a pulse signal. Summary of the invention

[0005] The object of the present invention is to provide an electric lock anti-mislocking device, method and controller based on Hall linear devices.

[0006] The present invention is achieved through the following technical solutions:

[0007] An electric lock anti-mislocking device based on a Hall linear device, the electric lock is installed in the gate box of a shared bicycle, the electric lock is controlled by a host, a device to prevent the electric lock from being mislocked includes a magnet and a Hall linear device, the magnet is arranged on the outer ring of a gate disk in the gate box, the Hall linear device is arranged in the electric lock, the magnet senses the Hall linear device, the analog signal generated by the Hall linear device is transmitted to the host, and the host detects the rotation speed of the gate disk to achieve the purpose of preventing the electric lock from being mislocked.

[0008] There are many methods for preventing mislocking of electric locks based on Hall linear devices, among which the following four are the preferred solutions:

[0009] (1) Method 1, a method for preventing mislocking of an electric lock based on a Hall linear device, comprising the following steps:

[0010] Step 1: The host receives the analog signal generated by the Hall linear device;

[0011] Step 2: Calculate the frequency of the analog signal generated by the Hall linear device, and use the frequency to calculate the first estimated value V1 of the vehicle speed. Assume that the distance traveled by the vehicle per rotation is L, and the frequency of the analog signal generated by the Hall linear device is f. Then, the calculation method of the first estimated value of the vehicle speed is V1=L*f.

[0012] Step 3: If the calculated V1 is higher than the preset speed V3, go to step 4, otherwise go to step 7;

[0013] Step 4: Calculate the change rate ΔV / Δt of the analog signal generated by the Hall linear device, where ΔV represents the change amount of the analog signal within Δt, and Δt represents a time segment; according to the mapping relationship between the change rate of the analog signal and the vehicle speed obtained in advance through experiments, a second estimated value V2 of the vehicle speed can be obtained, which can be expressed as V2=f(ΔV / Δt);

[0014] Step 5: If the calculated V2 is higher than the preset speed V4, go to step 6, otherwise go to step 7;

[0015] Step 6: Make a judgment that the car cannot be locked;

[0016] Step 7: Make a decision to lock the car.

[0017] (2) Method 2, a method for preventing mislocking of an electric lock based on a Hall linear device, comprising the following steps:

[0018] Step 1: The host receives the analog signal generated by the Hall linear device;

[0019] Step 2: Calculate the frequency of the analog signal generated by the Hall linear device, and use the frequency to calculate the first estimated value V1 of the vehicle speed. Assume that the distance traveled by the vehicle per rotation is L, and the frequency of the analog signal generated by the Hall linear device is f. Then, the calculation method of the first estimated value of the vehicle speed is V1=L*f.

[0020] Step 3: If the calculated V1 is lower than the preset speed V3, go to step 4, otherwise go to step 6;

[0021] Step 4: Calculate the change rate ΔV / Δt of the analog signal generated by the Hall linear device, where ΔV represents the change amount of the analog signal within Δt, and Δt represents a time segment; according to the mapping relationship between the change rate of the analog signal and the vehicle speed obtained in advance through experiments, a second estimated value V2 of the vehicle speed can be obtained, which can be expressed as V2=f(ΔV / Δt);

[0022] Step 5: If the calculated V2 is higher than the preset speed V4, go to step 6, otherwise go to step 7;

[0023] Step 6: Make a judgment that the car cannot be locked;

[0024] Step 7: Make a decision to lock the car.

[0025] (3) Method 3, an electric lock anti-mislocking method based on a Hall linear device, comprising the following steps:

[0026] Step 1: The host receives the analog signal generated by the Hall linear device;

[0027] Step 2: Calculate the frequency of the analog signal generated by the Hall linear device, and use the frequency to calculate the first estimated value V1 of the vehicle speed. Assume that the distance traveled by the vehicle per rotation is L, and the frequency of the analog signal generated by the Hall linear device is f. Then, the calculation method of the first estimated value of the vehicle speed is V1=L*f.

[0028] Step 3: Calculate the change rate ΔV / Δt of the analog signal generated by the Hall linear device, where ΔV represents the change amount of the analog signal within Δt time, and Δt represents a time segment; according to the mapping relationship between the change rate of the analog signal and the vehicle speed obtained in advance through experiments, the second estimated value V2 of the vehicle speed can be obtained, which can be expressed as V2=f(ΔV / Δt);

[0029] Step 4: If the calculated V1 is lower than the preset speed V3 or the calculated V2 is lower than the preset speed V4, go to step 5, otherwise go to step 6;

[0030] Step 5: Make a decision whether to lock the car;

[0031] Step 6: Make a judgment that the car cannot be locked.

[0032] (4) Method 4, a method for preventing mislocking of an electric lock based on a Hall linear device, comprising the following steps:

[0033] Step 1: The host receives the analog signal generated by the Hall linear device;

[0034] Step 2: Calculate the frequency of the analog signal generated by the Hall linear device, and use the frequency to calculate the first estimated value V1 of the vehicle speed. Assume that the distance traveled by the vehicle per rotation is L, and the frequency of the analog signal generated by the Hall linear device is f. Then, the calculation method of the first estimated value of the vehicle speed is V1=L*f.

[0035] Step 3: Calculate the change rate ΔV / Δt of the analog signal generated by the Hall linear device, where ΔV represents the change amount of the analog signal within Δt time, and Δt represents a time segment; according to the mapping relationship between the change rate of the analog signal and the vehicle speed obtained in advance through experiments, the second estimated value V2 of the vehicle speed can be obtained, which can be expressed as V2=f(ΔV / Δt);

[0036] Step 4: If the calculated V1 is higher than the preset speed V3 and the calculated V2 is higher than the preset speed V4, go to step 5, otherwise go to step 6;

[0037] Step 5: Make a judgment that the car cannot be locked;

[0038] Step 6: Make a decision to lock the car.

[0039] In practical applications, only one of these four electric lock anti-mislocking methods based on Hall linear devices can be used, or multiple of them can be used at the same time, all of which can achieve the effect of preventing the electric lock from mislocking.

[0040] A Hall linear device-based electric lock anti-mislocking controller, the controller is used to execute one or more of the above-mentioned Hall linear device-based electric lock anti-mislocking methods.

[0041] The beneficial effects of the present application are as follows: the present invention proposes an electric lock anti-mislocking device based on a Hall linear device, and proposes four electric lock anti-mislocking methods based on a Hall linear device. These methods can be used only one of them, or multiple of them can be used at the same time, both of which can achieve the effect of avoiding the electric lock from being mislocked, and can also achieve more accurate detection of the vehicle speed when the vehicle is running at a low speed, thereby improving the user experience of shared bicycle users when returning the bicycle while sitting on the seat and when returning the bicycle in a place with environmental vibration.

[0042] The present invention has a wide range of applications, and can be used not only for shared bicycles, but also for shared electric vehicles, or other bicycles, electric vehicles, cars, motorcycles and other fields. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0044] Figure 1 It is a schematic diagram of the structure of an electric lock anti-mislocking device based on Hall linear devices.

[0045] Figure 2 The present invention is a flow chart of a method for preventing mislocking of an electric lock based on a Hall linear device.

[0046] Figure 3 This is a flow chart of the second method for preventing mislocking of an electric lock based on a Hall linear device.

[0047] Figure 4 It is a flow chart of the three-step method of preventing mislocking of electric locks based on Hall linear devices.

[0048] Figure 5 This is a four-step flow chart of an electric lock anti-mislocking method based on Hall linear devices.

[0049] Figure 6 It is a schematic diagram of the analog signal (voltage) output by the Hall linear device. DETAILED DESCRIPTION

[0050] The following will disclose multiple embodiments of the present invention with drawings. For the purpose of clear description, many practical details will be described together in the following description. However, it should be understood that these practical details should not be used to limit the present invention. That is, in some embodiments of the present invention, these practical details are not necessary. In addition, for the purpose of simplifying the drawings, some conventional structures and components will be depicted in a simple schematic manner in the drawings.

[0051] It should be noted that all directional indications such as up, down, left, right, front, back, etc. in the embodiments of the present invention are only used to explain the relative position relationship, movement status, etc. between the components in a certain specific posture as shown in the accompanying drawings. If the specific posture changes, the directional indication will also change accordingly.

[0052] In addition, in the present invention, the descriptions of "first", "second", etc. are only used for descriptive purposes, and do not specifically refer to the order or sequence, nor are they used to limit the present invention. They are only used to distinguish components or operations described with the same technical terms, and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.

[0053] In order to further understand the content, features and effects of the present invention, the following embodiments are given as examples and described in detail with reference to the accompanying drawings:

[0054] like Figure 1 The figure shows an electric lock anti-mislocking device based on a Hall linear device. The electric lock 2 is installed in the gate box 1 of the shared bicycle. The electric lock 2 is controlled by the host. The device for preventing the electric lock from being mislocked of the present invention includes a magnet 5 and a Hall linear device 6. The magnet 5 is arranged on the outer ring of the gate disk 3 in the gate box 1. The Hall linear device 6 is arranged in the electric lock 2. The magnet 5 senses the Hall linear device 6. The analog signal generated by the Hall linear device 6 is transmitted to the host. The host detects the rotation speed of the gate disk 3 to achieve the purpose of preventing the electric lock from being mislocked.

[0055] When riding a shared bicycle, the brake disc 3 rotates with the wheel. The number of gaps on the brake disc 3 may be one or more, and the gaps may be evenly distributed or unevenly distributed. The cable 4 is used to provide power and transmit signals. When the host receives the locking signal and determines that the lock can be locked, the lock pin on the electric lock extends and inserts into the gap 7, which plays the role of locking and preventing theft.

[0056] There are many methods for preventing mislocking of electric locks based on Hall linear devices, among which the following four are the preferred solutions:

[0057] (1) Method 1

[0058] like Figure 2 As shown, a method for preventing mislocking of an electric lock based on a Hall linear device can be composed of the following steps:

[0059] Step 1: The host receives the analog signal generated by the Hall linear device;

[0060] Step 2: Calculate the frequency of the analog signal generated by the Hall linear device, and use the frequency to calculate the first estimated value V1 of the vehicle speed. Assume that the distance traveled by the vehicle per rotation is L, and the frequency of the analog signal generated by the Hall linear device is f. Then, the calculation method of the first estimated value of the vehicle speed is V1=L*f.

[0061] Step 3: If the calculated V1 is higher than the preset speed V3, go to step 4, otherwise go to step 7;

[0062] Step 4: Calculate the change rate ΔV / Δt of the analog signal generated by the Hall linear device, where ΔV represents the change amount of the analog signal within Δt, and Δt represents a time segment; according to the mapping relationship between the change rate of the analog signal and the vehicle speed obtained in advance through experiments, a second estimated value V2 of the vehicle speed can be obtained, which can be expressed as V2=f(ΔV / Δt);

[0063] Step 5: If the calculated V2 is higher than the preset speed V4, go to step 6, otherwise go to step 7;

[0064] Step 6: Make a judgment that the car cannot be locked;

[0065] Step 7: Make a decision to lock the car.

[0066] In method 1, (1) after the host receives the analog signal in step 1, it is generally converted into a digital quantity for processing through an analog-to-digital converter; (2) in step 2, when the wheel rotates continuously, the analog signal generated by the Hall linear device is similar to Figure 6 The frequency of the analog signal can be calculated using conventional digital signal processing techniques, and the first estimated value V1 of the vehicle speed can be calculated from the frequency. Assuming that the distance traveled by the vehicle for each rotation is L, and the frequency of the analog signal generated by the Hall linear device is f, the first estimated value of the vehicle speed can be calculated as V1 = L*f; (3) In step 3, the preset speed V3 should be set to a suitable value, and this parameter should be verified and optimized through experiments. For example, V3 can be set to 3.5 km / h; (4) In step 4, the mapping relationship between the rate of change of the analog signal generated by the Hall linear device and the vehicle speed should be obtained in advance through experiments. Given the vehicle speed in the experiment, a similar value can be obtained. Figure 6The change rate of the analog signal generated by the Hall linear device shown in the figure increases when the vehicle speed increases and decreases when the vehicle speed decreases. After establishing the mapping relationship between the change rate of the analog signal generated by the Hall linear device and the vehicle speed, the actual vehicle speed can be estimated based on the measured change rate of the analog signal to obtain a second vehicle speed estimate V2; (5) In step 5, the preset speed V4 should be set to a suitable value. This parameter should be verified and optimized through experiments. For example, V4 can be set to 1.5 km / h.

[0067] (2) Method 2

[0068] like Figure 3 As shown, a method for preventing mislocking of an electric lock based on a Hall linear device can also be composed of the following steps:

[0069] Step 1: The host receives the analog signal generated by the Hall linear device;

[0070] Step 2: Calculate the frequency of the analog signal generated by the Hall linear device, and use the frequency to calculate the first estimated value V1 of the vehicle speed. Assume that the distance traveled by the vehicle per rotation is L, and the frequency of the analog signal generated by the Hall linear device is f. Then, the calculation method of the first estimated value of the vehicle speed is V1=L*f.

[0071] Step 3: If the calculated V1 is lower than the preset speed V3, go to step 4, otherwise go to step 6;

[0072] Step 4: Calculate the change rate ΔV / Δt of the analog signal generated by the Hall linear device, where ΔV represents the change amount of the analog signal within Δt, and Δt represents a time segment; according to the mapping relationship between the change rate of the analog signal and the vehicle speed obtained in advance through experiments, a second estimated value V2 of the vehicle speed can be obtained, which can be expressed as V2=f(ΔV / Δt);

[0073] Step 5: If the calculated V2 is higher than the preset speed V4, go to step 6, otherwise go to step 7;

[0074] Step 6: Make a judgment that the car cannot be locked;

[0075] Step 7: Make a decision to lock the car.

[0076] In method 2, (1) after the host receives the analog signal in step 1, it is generally converted into a digital quantity for processing through an analog-to-digital converter; (2) in step 2, when the wheel rotates continuously, the analog signal generated by the Hall linear device is similar to Figure 6The frequency of the analog signal can be calculated using conventional digital signal processing techniques, and the first estimated value V1 of the vehicle speed can be calculated from the frequency. Assuming that the distance traveled by the vehicle for each rotation is L, and the frequency of the analog signal generated by the Hall linear device is f, the first estimated value of the vehicle speed can be calculated as V1 = L*f; (3) In step 3, the preset speed V3 should be set to a suitable value, and this parameter should be verified and optimized through experiments. For example, V3 can be set to 5.5 km / h; (4) In step 4, the mapping relationship between the rate of change of the analog signal generated by the Hall linear device and the vehicle speed should be obtained in advance through experiments. Given the vehicle speed in the experiment, a similar value can be obtained. Figure 6 The change rate of the analog signal generated by the Hall linear device shown in the figure increases when the vehicle speed increases and decreases when the vehicle speed decreases. After establishing the mapping relationship between the change rate of the analog signal generated by the Hall linear device and the vehicle speed, the actual vehicle speed can be estimated based on the measured change rate of the analog signal to obtain a second vehicle speed estimate V2; (5) In step 5, the preset speed V4 should be set to a suitable value. This parameter should be verified and optimized through experiments. For example, V4 can be set to 1.5 km / h.

[0077] (3) Method 3

[0078] like Figure 4 As shown, a method for preventing mislocking of an electric lock based on a Hall linear device can also be composed of the following steps:

[0079] Step 1: The host receives the analog signal generated by the Hall linear device;

[0080] Step 2: Calculate the frequency of the analog signal generated by the Hall linear device, and use the frequency to calculate the first estimated value V1 of the vehicle speed. Assume that the distance traveled by the vehicle per rotation is L, and the frequency of the analog signal generated by the Hall linear device is f. Then, the calculation method of the first estimated value of the vehicle speed is V1=L*f.

[0081] Step 3: Calculate the change rate ΔV / Δt of the analog signal generated by the Hall linear device, where ΔV represents the change amount of the analog signal within Δt time, and Δt represents a time segment; according to the mapping relationship between the change rate of the analog signal and the vehicle speed obtained in advance through experiments, the second estimated value V2 of the vehicle speed can be obtained, which can be expressed as V2=f(ΔV / Δt);

[0082] Step 4: If the calculated V1 is lower than the preset speed V3 or the calculated V2 is lower than the preset speed V4, go to step 5, otherwise go to step 6;

[0083] Step 5: Make a decision whether to lock the car;

[0084] Step 6: Make a judgment that the car cannot be locked.

[0085] In method 3, (1) after the host receives the analog signal in step 1, it is generally converted into a digital quantity for processing through an analog-to-digital converter; (2) in step 2, when the wheel rotates continuously, the analog signal generated by the Hall linear device is similar to Figure 6 The frequency of the analog signal can be calculated using conventional digital signal processing techniques, and the first estimated value V1 of the vehicle speed can be calculated using the frequency. Assuming that the distance traveled by the vehicle per rotation is L, and the frequency of the analog signal generated by the Hall linear device is f, the first estimated value of the vehicle speed can be calculated as V1 = L*f; (3) In step 3, the mapping relationship between the rate of change of the analog signal generated by the Hall linear device and the vehicle speed should be obtained in advance through experiments. In the experiment, given the vehicle speed, a similar value can be obtained. Figure 6 The change rate of the analog signal generated by the Hall linear device shown in the figure increases when the vehicle speed increases and decreases when the vehicle speed decreases. After establishing the mapping relationship between the change rate of the analog signal generated by the Hall linear device and the vehicle speed, the actual vehicle speed can be estimated based on the measured change rate of the analog signal to obtain a second vehicle speed estimate V2; (4) In step 4, the preset speeds V3 and V4 should be set to appropriate values. These two parameters should be verified and optimized through experiments. For example, V3 can be set to 1.5 km / h and V4 can be set to 1.5 km / h.

[0086] (4) Method 4

[0087] like Figure 5 As shown, a method for preventing mislocking of an electric lock based on a Hall linear device can also be composed of the following steps:

[0088] Step 1: The host receives the analog signal generated by the Hall linear device;

[0089] Step 2: Calculate the frequency of the analog signal generated by the Hall linear device, and use the frequency to calculate the first estimated value V1 of the vehicle speed. Assume that the distance traveled by the vehicle per rotation is L, and the frequency of the analog signal generated by the Hall linear device is f. Then, the calculation method of the first estimated value of the vehicle speed is V1=L*f.

[0090] Step 3: Calculate the change rate ΔV / Δt of the analog signal generated by the Hall linear device, where ΔV represents the change amount of the analog signal within Δt time, and Δt represents a time segment; according to the mapping relationship between the change rate of the analog signal and the vehicle speed obtained in advance through experiments, the second estimated value V2 of the vehicle speed can be obtained, which can be expressed as V2=f(ΔV / Δt);

[0091] Step 4: If the calculated V1 is higher than the preset speed V3 and the calculated V2 is higher than the preset speed V4, go to step 5, otherwise go to step 6;

[0092] Step 5: Make a judgment that the car cannot be locked;

[0093] Step 6: Make a decision to lock the car.

[0094] In method 4, (1) after the host receives the analog signal in step 1, it is generally converted into a digital quantity by an analog-to-digital converter for processing; (2) in step 2, when the wheel rotates continuously, the analog signal generated by the Hall linear device is similar to Figure 6 The frequency of the analog signal can be calculated using conventional digital signal processing techniques, and the first estimated value V1 of the vehicle speed can be calculated using the frequency. Assuming that the distance traveled by the vehicle per rotation is L, and the frequency of the analog signal generated by the Hall linear device is f, the calculation method for the first estimated value of the vehicle speed is V1 = L*f; (3) In step 3, the mapping relationship between the rate of change of the analog signal generated by the Hall linear device and the vehicle speed must be obtained in advance through experiments. Given the vehicle speed in the experiment, the following can be obtained: Figure 6 The change rate of the analog signal generated by the Hall linear device shown in the figure increases when the vehicle speed increases and decreases when the vehicle speed decreases. After establishing the mapping relationship between the change rate of the analog signal generated by the Hall linear device and the vehicle speed, the actual vehicle speed can be estimated based on the measured change rate of the analog signal to obtain a second vehicle speed estimate V2; (4) In step 4, the preset speeds V3 and V4 should be set to appropriate values. These two parameters should be verified and optimized through experiments. For example, V3 can be set to 3.5 km / h and V4 can be set to 1.5 km / h.

[0095] The electric lock anti-mislocking controller based on the Hall linear device is used to execute one or more of the above-mentioned electric lock anti-mislocking methods based on the Hall linear device. In specific applications, the controller can use a control chip with storage and logic programming functions, which will not be described here.

[0096] The present invention proposes an electric lock anti-mislocking device based on a Hall linear device, and proposes four electric lock anti-mislocking methods based on a Hall linear device. These methods can be used only one of them, or multiple of them can be used at the same time. Both of these methods can achieve the effect of avoiding the electric lock from being mislocked, and can also achieve more accurate detection of the vehicle speed when the vehicle is running at a low speed, thereby improving the user experience of shared bicycle users when returning the bicycle while sitting on the seat or when returning the bicycle in a place with environmental vibration.

[0097] The above is only an embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims

1. A method for preventing mislocking of electric locks based on Hall linear devices, characterized in that The method consists of the following steps: Step 1: The host receives the analog signal generated by the Hall linear device; Step 2: Calculate the frequency of the analog signal generated by the Hall linear device, and use the frequency to calculate the first estimated value V1 of the vehicle speed. Assume that the distance traveled by the vehicle per rotation is L, and the frequency of the analog signal generated by the Hall linear device is f. Then, the calculation method of the first estimated value of the vehicle speed is V1=L*f. Step 3: If the calculated V1 is higher than the preset speed V3, go to step 4, otherwise go to step 7; Step 4: Calculate the change rate ΔV / Δt of the analog signal generated by the Hall linear device, where ΔV represents the change amount of the analog signal within Δt time, and Δt represents a time segment; according to the mapping relationship between the change rate of the analog signal and the vehicle speed obtained in advance through experiments, a second estimated value V2 of the vehicle speed can be obtained, which can be expressed as V2=f(ΔV / Δt); Step 5: If the calculated V2 is higher than the preset speed V4, go to step 6, otherwise go to step 7; Step 6: Make a judgment that the car cannot be locked; Step 7: Make a decision to lock the car.

2. A method for preventing mislocking of electric locks based on Hall linear devices, characterized in that The method consists of the following steps: Step 1: The host receives the analog signal generated by the Hall linear device; Step 2: Calculate the frequency of the analog signal generated by the Hall linear device, and use the frequency to calculate the first estimated value V1 of the vehicle speed. Assume that the distance traveled by the vehicle per rotation is L, and the frequency of the analog signal generated by the Hall linear device is f. Then, the calculation method of the first estimated value of the vehicle speed is V1=L*f. Step 3: If the calculated V1 is lower than the preset speed V3, go to step 4, otherwise go to step 6; Step 4: Calculate the change rate ΔV / Δt of the analog signal generated by the Hall linear device, where ΔV represents the change amount of the analog signal within Δt time, and Δt represents a time segment; according to the mapping relationship between the change rate of the analog signal and the vehicle speed obtained in advance through experiments, a second estimated value V2 of the vehicle speed can be obtained, which can be expressed as V2=f(ΔV / Δt); Step 5: If the calculated V2 is higher than the preset speed V4, go to step 6, otherwise go to step 7; Step 6: Make a judgment that the car cannot be locked; Step 7: Make a decision to lock the car.

3. A method for preventing mislocking of electric locks based on Hall linear devices, characterized in that The method consists of the following steps: Step 1: The host receives the analog signal generated by the Hall linear device; Step 2: Calculate the frequency of the analog signal generated by the Hall linear device, and use the frequency to calculate the first estimated value V1 of the vehicle speed. Assume that the distance traveled by the vehicle per rotation is L, and the frequency of the analog signal generated by the Hall linear device is f. Then, the calculation method of the first estimated value of the vehicle speed is V1=L*f. Step 3: Calculate the change rate ΔV / Δt of the analog signal generated by the Hall linear device, where ΔV represents the change amount of the analog signal within Δt time, and Δt represents a time segment; according to the mapping relationship between the change rate of the analog signal and the vehicle speed obtained in advance through experiments, a second estimated value V2 of the vehicle speed can be obtained, which can be expressed as V2=f(ΔV / Δt); Step 4: If the calculated V1 is lower than the preset speed V3 or the calculated V2 is lower than the preset speed V4, go to step 5, otherwise go to step 6; Step 5: Make a judgment that the vehicle can be locked; Step 6: Make a judgment that the car cannot be locked.

4. A method for preventing mislocking of electric locks based on Hall linear devices, characterized in that The method consists of the following steps: Step 1: The host receives the analog signal generated by the Hall linear device; Step 2: Calculate the frequency of the analog signal generated by the Hall linear device, and use the frequency to calculate the first estimated value V1 of the vehicle speed. Assume that the distance traveled by the vehicle per rotation is L, and the frequency of the analog signal generated by the Hall linear device is f. Then, the calculation method of the first estimated value of the vehicle speed is V1=L*f. Step 3: Calculate the change rate ΔV / Δt of the analog signal generated by the Hall linear device, where ΔV represents the change amount of the analog signal within Δt time, and Δt represents a time segment; according to the mapping relationship between the change rate of the analog signal and the vehicle speed obtained in advance through experiments, a second estimated value V2 of the vehicle speed can be obtained, which can be expressed as V2=f(ΔV / Δt); Step 4: If the calculated V1 is higher than the preset speed V3 and the calculated V2 is higher than the preset speed V4, go to step 5, otherwise go to step 6; Step 5: Make a judgment that the car cannot be locked; Step 6: Make a decision whether to lock the car.

5. An electric lock anti-mislocking controller based on Hall linear device, characterized in that: The controller is used to execute one or more electric lock anti-mislocking methods based on Hall linear devices as described in claims 1-4.

6. An electric lock anti-mislocking device based on a Hall linear device, the electric lock is installed in the gate box of the vehicle, and the electric lock is controlled by the host, characterized in that: The device for preventing the electric lock from being locked by mistake includes a magnet and a Hall linear device. The magnet is arranged on the outer ring of the gate disk in the gate box, and the Hall linear device is arranged in the electric lock. The magnet senses the Hall linear device, and the analog signal generated by the Hall linear device is transmitted to the host. The host detects the rotation speed of the gate disk to achieve the purpose of preventing the electric lock from being locked by mistake. It also includes the electric lock anti-mislocking controller based on the Hall linear device as described in claim 5.