Method and device for adjusting spring extension amount, storage medium and electronic device

By calculating the difference in driving torque during the lifting and lowering of the barrier arm, the extension and contraction of the spring are automatically adjusted, solving the problem of low efficiency in barrier arm balance adjustment and achieving dynamic balance of the barrier arm and extending the life of the motor.

CN115660286BActive Publication Date: 2026-08-25ZHEJIANG DAHUA TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211392605.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-08
Publication Date
2026-08-25
Estimated Expiration
2042-11-08

AI Technical Summary

Technical Problem

The balancing efficiency of the barrier gate is low, and existing technologies cannot effectively solve this problem.

Method used

By determining the peak and average driving torque during the lifting and lowering of the barrier arm, calculating the torque difference, and automatically adjusting the spring's extension and contraction to achieve the target state, the barrier arm is balanced.

Benefits of technology

It improves the balance adjustment efficiency of the barrier gate, ensures that the barrier gate maintains static balance throughout the entire movement stroke, reduces manual intervention, extends the service life of the motor, monitors the life of the spring, and automatically adjusts when it is not in the optimal state.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115660286B_ABST
    Figure CN115660286B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a spring extension and retraction amount adjustment method and device, a storage medium and an electronic device, wherein the method comprises: determining a first driving torque peak value, a first average driving torque in a gate rod lifting process of a gate, and a second driving torque peak value, a second average driving torque in a gate rod falling process; determining a first torque difference value of the lifting process and the falling process based on the first driving torque peak value, the first average driving torque, the second driving torque peak value and the second average driving torque; determining a target state of a spring connected with the gate rod in the gate based on the first torque difference value; and adjusting the target extension and retraction amount of the spring based on the first torque difference value in a case where the target state indicates that the spring is in an abnormal state. Through the present application, the problem of low gate balance adjustment efficiency in the related art is solved, and the effect of improving the gate balance adjustment efficiency is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of road equipment, and more specifically, to a method, apparatus, storage medium, and electronic device for adjusting the amount of spring extension. Background Technology

[0002] A barrier gate is a device used in parking lots to control vehicle access. It can be equipped with different types and lengths of barrier arms, including straight arms, fences, and folding arms, with lengths ranging from 3 meters to 6 meters. Each barrier gate is equipped with a spring for balance. During installation or assembly, the spring preload needs to be manually adjusted to ensure the barrier gate is in a balanced state. Furthermore, as the spring's elasticity decreases, or if the user changes the type and length of the barrier arm without the support of a barrier gate technician, the original balance can be disrupted.

[0003] This indicates that the relevant technologies suffer from low efficiency in adjusting the balance of the barrier gate.

[0004] There is currently no effective solution to the aforementioned problems in the relevant technologies. Summary of the Invention

[0005] This invention provides a method, apparatus, storage medium, and electronic device for adjusting the amount of spring extension, in order to at least solve the problem of low efficiency in adjusting the balance of a barrier gate in related technologies.

[0006] According to an embodiment of the present invention, a method for adjusting the extension and contraction of a spring is provided, comprising: determining a first peak driving torque and a first average driving torque during the lifting process of a barrier gate arm, and a second peak driving torque and a second average driving torque during the falling process of the barrier gate arm; determining a first torque difference between the lifting process and the falling process based on the first peak driving torque, the first average driving torque, the second peak driving torque, and the second average driving torque; determining a target state of a spring connected to the barrier gate arm included in the barrier gate based on the first torque difference; and adjusting the target extension and contraction of the spring based on the first torque difference when the target state indicates that the spring is in an abnormal state.

[0007] According to another embodiment of the present invention, a spring extension adjustment device is provided, comprising: a first determining module, configured to determine a first driving torque peak value and a first average driving torque during the lifting process of the barrier arm, and a second driving torque peak value and a second average driving torque during the falling process of the barrier arm; a second determining module, configured to determine a first torque difference between the lifting process and the falling process based on the first driving torque peak value, the first average driving torque, the second driving torque peak value, and the second average driving torque; a third determining module, configured to determine a target state of a spring connected to the barrier arm included in the barrier based on the first torque difference; and an adjusting module, configured to adjust the target extension amount of the spring based on the first torque difference when the target state indicates that the spring is in an abnormal state.

[0008] According to yet another embodiment of the present invention, a computer-readable storage medium is also provided, wherein a computer program is stored therein, wherein the computer program is configured to perform the steps in any of the above method embodiments when executed.

[0009] According to yet another embodiment of the present invention, an electronic device is also provided, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.

[0010] This invention determines the peak value and average value of the first driving torque during the lifting process of the barrier arm, and the peak value and average value of the second driving torque during the lowering process. Based on these values, a first torque difference is determined between the lifting and lowering processes. The target state of the spring connected to the barrier arm within the barrier is determined based on this first torque difference. If the target state indicates that the spring is in an abnormal state, the target extension / retraction amount of the spring is adjusted based on the first torque difference. Since the target extension / retraction amount of the spring can be directly adjusted based on the first torque difference when the spring is determined to be in an abnormal state, without the need for manual adjustment, this invention solves the problem of low efficiency in adjusting the barrier arm's balance in related technologies, thereby improving the efficiency of barrier arm balance adjustment. Attached Figure Description

[0011] Figure 1 This is a hardware structure block diagram of a mobile terminal for a spring extension adjustment method according to an embodiment of the present invention.

[0012] Figure 2 This is a flowchart of a method for adjusting the spring extension / retraction amount according to an embodiment of the present invention;

[0013] Figure 3 This is a schematic diagram of the specific structure of the barrier gate according to an embodiment of the present invention;

[0014] Figure 4 This is a schematic diagram of the barrier gate according to an embodiment of the present invention. Figure 1 ;

[0015] Figure 5 This is a schematic diagram of the barrier gate according to an embodiment of the present invention. Figure 2 ;

[0016] Figure 6 This is a flowchart of a method for adjusting the spring extension / retraction amount according to a specific embodiment of the present invention. Figure 1 ;

[0017] Figure 7 This is a flowchart of a method for adjusting the spring extension / retraction amount according to a specific embodiment of the present invention. Figure 2 ;

[0018] Figure 8 This is a structural block diagram of a spring extension adjustment device according to an embodiment of the present invention. Detailed Implementation

[0019] The embodiments of the present invention will be described in detail below with reference to the accompanying drawings and examples.

[0020] It should be noted that the terms "first," "second," etc., in the specification, claims, and drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.

[0021] The methods and embodiments provided in this application can be executed on a mobile terminal, computer terminal, or similar computing device. Taking running on a mobile terminal as an example, Figure 1 This is a hardware structure block diagram of a mobile terminal for a spring extension adjustment method according to an embodiment of the present invention. Figure 1 As shown, a mobile terminal may include one or more ( Figure 1 Only one is shown in the diagram. A processor 102 (which may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.) and a memory 104 for storing data are also shown. The mobile terminal may further include a transmission device 106 for communication functions and an input / output device 108. Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the mobile terminal described above. For example, the mobile terminal may also include components that are more... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown.

[0022] The memory 104 can be used to store computer programs, such as application software programs and modules, like the computer program corresponding to the spring extension / retraction adjustment method in this embodiment of the invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, thereby implementing the above-described method. The memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to the mobile terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0023] The transmission device 106 is used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by the mobile terminal's communication provider. In one example, the transmission device 106 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission device 106 may be a Radio Frequency (RF) module, used for wireless communication with the Internet.

[0024] This embodiment provides a method for adjusting the amount of spring extension. Figure 2 This is a flowchart of a method for adjusting the spring extension / retraction amount according to an embodiment of the present invention, as shown below. Figure 2 As shown, the process includes the following steps:

[0025] Step S202: Determine the first peak driving torque and the first average driving torque during the lifting process of the barrier gate arm, and the second peak driving torque and the second average driving torque during the lowering process of the barrier gate arm;

[0026] Step S204: Determine the first torque difference between the lifting process and the falling process based on the first driving torque peak value, the first average driving torque, the second driving torque peak value, and the second average driving torque;

[0027] Step S206: Determine the target state of the spring connected to the barrier arm included in the barrier gate based on the first torque difference;

[0028] Step S208: If the target state indicates that the spring is in an abnormal state, adjust the target extension amount of the spring based on the first torque difference.

[0029] In the above embodiments, the barrier gate may include a barrier arm, a mechanism, a spring, a housing, etc. A detailed structural diagram of the barrier gate can be found in the appendix. Figure 3 ,like Figure 3 As shown, the mechanism and one end of the spring are fixed to the housing. The moving mechanism of the mechanism has springs and a barrier arm mounted on both sides. A device capable of linear extension and retraction can be installed between the mechanism and the spring, or between the spring and the housing, and can be driven by a motor. A schematic diagram of the barrier gate structure can be found in the attached diagram. Figure 4 ,like Figure 4 As shown, the barrier gate may include a first control unit, a first actuator, a second control unit, and a second actuator. The first and second control units can transmit information via wired or wireless means. It should be noted that the second control unit can also be part of the first control unit. When the first control unit includes the second control unit, a structural diagram of the barrier gate can be found in the appendix. Figure 5 The system comprises two control units: a first control unit (a gate actuator) and a second control unit (a spring telescopic device actuator). The first control unit includes a control logic circuit, a communication circuit, a motor drive circuit, and a current acquisition circuit. The control logic circuit is connected to the communication circuit, motor drive circuit, and current acquisition circuit to control the operation of each module. The motor drive circuit drives the first actuator under program control. The current acquisition circuit collects the current flowing through the motor to calculate the motor's output torque. The second control unit consists of a control logic circuit, a communication circuit, a motor drive circuit, and a position acquisition circuit. The control logic circuit is also connected to these circuits to control the operation of each module. The motor drive circuit drives the second actuator under program control. The position acquisition circuit collects the number of rotations of the motor or the displacement of the telescopic device to calculate the spring's deformation. The first actuator can raise and lower the gate arm. The second actuator can adjust the spring's tension to adjust the preload.

[0030] In the above embodiment, the first control unit can control the first actuator to lower and raise the lever at set times, recording the motor current value during this process. The peak current I for lowering and raising the lever is calculated based on the data. 落杆max I 抬杆max and average current I 落杆avg I 抬杆avg Next, the peak moment T of the pole's lowering and raising is calculated using T=KI. 落杆max T 抬杆max and average torque T 落杆avg T 抬杆avg Where K is the torque coefficient of the motor and I is the motor current.

[0031] In the above embodiment, the output torque of the motor can be converted into the driving torque acting on the barrier arm according to T' = i × T, thus obtaining the peak torque T'. 落杆max (corresponding to the peak value of the second driving torque mentioned above), T' 抬杆max (corresponding to the peak value of the first driving torque mentioned above) and the average torque T' 落杆avg (corresponding to the second average torque mentioned above), T' 抬杆avg (Corresponding to the first average torque mentioned above). Where i is the reduction ratio from the motor to the barrier arm, and T is the motor side torque.

[0032] In the above embodiments, the first torque difference between the lifting and falling processes can be determined based on a peak driving torque, a first average driving torque, a second peak driving torque, and a second average driving torque, and the target state of the spring can be determined based on the first torque difference. The target state can include a normal state, an abnormal state, and a broken state. When the first torque difference is greater than a first threshold, the spring is considered too loose and in an abnormal state; when the first torque difference is less than a second threshold, the spring is considered too tight and in an abnormal state. When the first torque difference is greater than or equal to the second threshold and less than or equal to the first threshold, the spring is considered to be in a normal state. If the driving torque during the falling process is much less than the driving torque during the lifting process, the spring is considered to be in a broken state, which can include spring breakage or spring not being installed. When the spring is in a broken state, a prompting operation can be performed to prompt the operator to check the spring's state. The first threshold can be 1 N·m, and the second threshold can be -1 N·m. It should be noted that the above values ​​are only illustrative examples, and the first and second thresholds can be adjusted according to actual circumstances; this invention does not limit this. For example, the first threshold can also be 2N·m, 5N·m, etc., and the second threshold can also be -2N·m, -5N·m, etc.

[0033] In the above embodiments, when it is determined that the spring is in an abnormal state, the target extension and contraction of the spring can be adjusted to bring the barrier gate into a balanced state. The barrier gate being in a balanced state can include the barrier arm remaining stationary at a 45° horizontal angle.

[0034] The entity executing the above steps can be a barrier gate or a back-end processor, but is not limited to these.

[0035] This invention determines the peak value and average value of the first driving torque during the lifting process of the barrier arm, and the peak value and average value of the second driving torque during the lowering process. Based on these values, a first torque difference is determined between the lifting and lowering processes. The target state of the spring connected to the barrier arm within the barrier is determined based on this first torque difference. If the target state indicates that the spring is in an abnormal state, the target extension / retraction amount of the spring is adjusted based on the first torque difference. Since the target extension / retraction amount of the spring can be directly adjusted based on the first torque difference when the spring is determined to be in an abnormal state, without the need for manual adjustment, this invention solves the problem of low efficiency in adjusting the barrier arm's balance in related technologies, thereby improving the efficiency of barrier arm balance adjustment.

[0036] In an exemplary embodiment, determining the first torque difference between the lifting process and the falling process based on the first driving torque peak value, the first average driving torque, the second driving torque peak value, and the second average driving torque includes: determining a first weighted driving torque during the lifting process based on the first driving torque peak value and the first average driving torque; determining a second weighted driving torque during the falling process based on the second driving torque peak value and the second average driving torque; and determining the difference between the second weighted driving torque and the first weighted driving torque as the first torque difference. In this embodiment, when determining the first torque difference, the driving peak torque and average torque during the falling and lifting processes can be weighted and averaged to obtain the weighted torque T". 落杆 (corresponding to the second weighted driving torque), T” 抬杆 (Corresponding to the first weighted driving torque). The first and second weighted driving torques can be calculated using the following formula: T″=c×T′ max +(1-c)×T′ avg Where c is the peak torque weight, and (1-c) is the average torque weight. The first distance difference can be expressed as ΔT″=T″ 落杆 -T″ 抬杆 .

[0037] It should be noted that when the spring is in a broken state, the second weighted driving torque is much smaller than the first weighted driving torque.

[0038] In an exemplary embodiment, adjusting the target extension / retraction amount of the spring based on the first torque difference includes: when the first torque difference is greater than a first threshold, repeating the following operations until the target state of the adjusted spring indicates that the spring is in a normal state: stretching the spring according to a first predetermined value, and after the stretching operation, determining a second torque difference and determining the target state based on the second torque difference; and / or when the first torque difference is less than a second threshold, repeating the following operations until the target state of the adjusted spring indicates that the spring is in a normal state: retracting the spring according to a second predetermined value, and after the retraction operation, determining a third torque difference and determining the target state based on the third torque difference. In this embodiment, if the first torque difference is greater than a first threshold, or less than a second threshold, the spring is considered to be in an abnormal state. In this case, the spring can be directly stretched or retracted. After each stretching or retracting operation, the difference in driving torque during the falling and lifting processes can be measured again, such as calculating a second torque difference or a third torque difference. The target state of the spring is determined based on the calculated driving torque difference. When the spring is in a normal state, the operation to adjust the target extension / retraction amount is exited. If the spring is still in an abnormal state, the target extension / retraction amount adjustment continues.

[0039] In the above embodiments, the stretching operation may include stretching the spring to a predetermined length, wherein the predetermined length may be a fixed length or a length that decreases gradually with increasing adjustment times. The retraction operation may include compressing the spring to a predetermined length, wherein the predetermined length may be a fixed length or a length that decreases gradually with increasing adjustment times.

[0040] In an exemplary embodiment, after adjusting the target extension / retraction amount of the spring based on the first torque difference, the method further includes: determining a target tension force on the spring; determining the current extension amount of the spring based on the target tension force; determining a target spring constant based on the current extension amount; and performing an alarm operation if the target spring constant meets a predetermined condition. In this embodiment, after adjusting the target extension / retraction amount, the target tension force on the spring can also be determined, the current extension amount of the spring can be determined based on the target tension force, the target spring constant can be determined based on the current extension amount, and an alarm operation can be performed if the target spring constant meets a predetermined condition. The predetermined condition may include a change in the target spring constant that is less than a predetermined threshold.

[0041] In the above embodiment, the current tension of the spring can be expressed as: Where F represents the target tension, and k represents the spring constant. When calculating the current tension for the first time, k can be the initial spring constant of the spring. As the spring is used, the spring constant may change, requiring recalculation. This refers to the spring constant recorded in the storage device. Alternatively, it can be either the initial spring constant or the spring constant obtained from the calculation.

[0042] In an exemplary embodiment, determining the target tension force on the spring includes: determining a second torque difference and a third torque difference determined after each adjustment of the target extension / retraction amount of the spring within a target time period, wherein the target time period is the time period from when the spring is in an abnormal state to when the spring is in a normal state; determining a first sum of all the second torque differences and the third torque differences; determining a first product of the first sum and a first coefficient; determining a second product of the first torque difference and a second coefficient; and determining the second sum of the first product and the second product as the target tension force. In this embodiment, the target tension force can be expressed as... Among them, K P K is the proportionality coefficient (i.e., the second coefficient). I This is the integral coefficient (i.e., the first coefficient).

[0043] In an exemplary embodiment, determining the target elastic coefficient of the spring based on the current stretch amount includes: determining a first predetermined value and a second predetermined value for adjusting the target stretch amount of the spring each time within a target time period, wherein the target time period is the time period from when the spring is in an abnormal state to when the spring is in a normal state; determining a third sum of all the first predetermined values ​​and the second predetermined values; determining a target number of times to adjust the target stretch amount; determining a third product of the target number of times and the third sum; determining a fourth sum of the third product and the current stretch amount as the target stretch amount of the spring; determining a fourth product of the current stretch amount and the current elastic coefficient; and determining the ratio of the fourth product to the target stretch amount as the target elastic coefficient. In this embodiment, it can be based on... Calculate the target extension of the spring, based on Determine the target elastic coefficient. Here, x represents the spring tension after dynamic balance self-adjustment, i.e., the current tension, x' represents the target tension, k represents the current elastic coefficient, and k' represents the target elastic coefficient.

[0044] In an exemplary embodiment, when the target elasticity coefficient meets a predetermined condition, performing an alarm operation includes: determining a target difference between the target elasticity coefficient and the current elasticity coefficient; and performing the alarm operation when the ratio of the target difference to the current elasticity coefficient is less than a third threshold. In this embodiment, it can be based on... Calculate the percentage change in elastic coefficient k%. If the percentage change in elastic coefficient k% is lower than a third threshold, a prompt is issued indicating that the spring needs to be replaced. The third threshold can be 90%, but this value is merely an illustrative example and is not intended to limit the invention.

[0045] The method for adjusting the spring extension / retraction amount is explained below with reference to specific embodiments:

[0046] Figure 6 This is a flowchart of a method for adjusting the spring extension / retraction amount according to a specific embodiment of the present invention. Figure 1 ,like Figure 6 As shown, the method includes:

[0047] The first control unit controls the first actuator to lower and raise the lever at set times, and records the motor current value during this process.

[0048] Based on the data, calculate the peak current I_drop_pole_max, I_pole_lift_pole_max, and average current I_drop_pole_avg, I_pole_lift_pole_avg for both the drop and lift operations. Then, calculate the peak torque T_drop_pole_max, T_pole_lift_pole_max, and average torque T_drop_pole_avg, T_pole_lift_pole_avg for both the drop and lift operations using the following formulas.

[0049] T = K × I

[0050] Where K is the torque coefficient of the motor and I is the motor current.

[0051] The output torque of the motor is converted into the driving torque acting on the barrier arm according to the following formula, so as to obtain the peak torque T'lowing arm max, T'raising arm max and the average torque T'lowing arm avg, T'raising arm avg.

[0052] T′=i×T

[0053] Where i is the reduction ratio from the motor to the barrier arm, and T is the motor side torque.

[0054] The peak torque and average torque during the pole lowering and raising processes are weighted and averaged according to the following formulas to obtain the weighted torques T” for pole lowering and T” for pole raising.

[0055] T″=c×T′ max +(1-c)×T′ avg

[0056] Where c is the peak torque weight and 1-c is the average torque weight.

[0057] Calculate the difference using the following formula.

[0058] ΔT″=T″ 落杆 -T″ 抬杆

[0059] Determine the equilibrium status using the following formula.

[0060]

[0061] Where a and b are the judgment thresholds, which can be adjusted according to the actual situation, with a = b = 1 N·m being the preferred value. If the lowering torque is much less than the raising torque, it can be assumed that the spring is not installed or is broken.

[0062] Based on PI calculations, the required spring preload F is obtained.

[0063]

[0064] Among them, K P K is the proportionality coefficient. I is the integral coefficient.

[0065] According to the following calculation formula, the spring extension x

[0066]

[0067] Where k is the spring constant recorded in the storage device. It can be the initial spring constant or the spring constant obtained from calculation.

[0068] The first control unit transmits the spring tension x to the second control unit via a communication circuit. The second control unit then controls the spring's movement.

[0069] Determine if the adjustment range (0, X) is exceeded. If not, repeat the above steps until ΔT″ meets the threshold, then exit the gate dynamic balancing self-adjustment program. If the range is exceeded, a warning will be issued indicating that the number of springs needs to be increased or decreased for readjustment.

[0070] Figure 7 This is a flowchart of a method for adjusting the spring extension / retraction amount according to a specific embodiment of the present invention. Figure 2 ,like Figure 7 As shown, the method includes:

[0071] Step 1: Count the number of times the switch is turned on and off.

[0072] Step 2: Calculate the torque for the lowering and raising of the lever (T″) every 1000 opening and closing cycles, and determine whether the difference ΔT″ falls within a reasonable range. If it falls within a reasonable range, return to Step 1; otherwise, proceed to the next step.

[0073] Step 3: Adjust the spring torque according to the change in Δx based on the value of ΔT″. Preferably, when ΔT″>1N·m, then Δx=1mm moves in the stretching direction; if ΔT″<-1N·m, then Δx=-1mm moves in the retraction direction.

[0074] Step 4: Calculate the adjusted weighted torque difference ΔT″ each time the gate is switched on and off normally.

[0075] Step 5: Determine whether the weighted moment difference ΔT″ meets the requirements.

[0076] Repeat steps three, four, and five above until the requirements are met, then stop.

[0077] Step 6: Calculate the adjusted spring tension x′ using the following formula.

[0078]

[0079] Where x is the spring tension after dynamic balance self-adjustment.

[0080] Step 7: Calculate the current elastic coefficient k′ according to the following formula.

[0081]

[0082] Where k is the initial spring constant.

[0083] Step 8: Calculate the percentage change in elasticity coefficient k% using the following formula.

[0084]

[0085] Step nine: If the percentage change in the elastic coefficient k% is below the limit, a prompt is issued indicating that the spring needs to be replaced. A preferred limit is 90%. If the limit is not exceeded, return to step one.

[0086] In the aforementioned embodiment, the barrier gate operates at its optimal state by automatically adjusting the spring preload within a certain range. If the adjustment range is exceeded, the user is prompted to increase / decrease the number of springs. Manual adjustment of the barrier gate balance is only static balance, not dynamic balance. Under dynamic balance, the output torque during the motor's lowering and raising of the arm is minimized; as the springs age with use, their elastic coefficient decreases, and the provided tension decreases. This causes the barrier gate's balance point to change. By automatically adjusting the spring preload, the barrier gate operates at its optimal state. Simultaneously, the lifespan of the springs can be qualitatively monitored. This solves the problem of the difficulty in manually adjusting the barrier gate balance. At the installation site or assembly workshop, workers need to adjust the spring preload multiple times according to the length of the barrier arm to achieve static balance at a 45° upward horizontal angle. This eliminates the need for manual adjustment of the barrier gate balance (such as during on-site installation or assembly, or when customers change the type and length of the barrier arm without the support of barrier gate technicians, requiring readjustment of the balance), making installation easier.

[0087] The aforementioned embodiments address the issue that users may replace or extend / cut existing barrier arms without technical support, causing the barrier to operate suboptimally and resulting in swaying during the raising and lowering process. Users can quickly resume use after replacing the barrier arm and allowing it to undergo a self-balancing process.

[0088] During the operation of the barrier gate, the spring may actually be too tight or too loose. If it is too tight, a larger torque is required when the barrier gate lowers; if it is too loose, a larger torque is required when the barrier gate raises. This will reduce the service life of the motor. The above embodiment can solve the problem that manual adjustment of the barrier gate can only achieve static balance, not dynamic balance, which causes the barrier gate to operate in a suboptimal state. It ensures that the barrier arm maintains static balance throughout its entire stroke (0° to 90°).

[0089] The aforementioned embodiments can also solve the problem that during use, due to the aging of the spring, the elastic coefficient decreases, which disrupts the original balance state, causing the barrier gate to operate in a suboptimal state and requiring the barrier gate to output a larger torque during the lifting process.

[0090] In the aforementioned embodiments, the degree of imbalance can be monitored, and the spring preload can be actively adjusted to ensure the barrier gate operates in its optimal state. Qualitative monitoring of spring life is also achieved, and the spring preload is automatically adjusted when the barrier gate's operating state changes, such as when the spring elasticity weakens.

[0091] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0092] This embodiment also provides a spring extension adjustment device for implementing the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that performs a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0093] Figure 8This is a structural block diagram of a spring extension adjustment device according to an embodiment of the present invention, as shown below. Figure 8 As shown, the device includes:

[0094] The first determining module 82 is used to determine the first peak value of the driving torque and the first average driving torque during the lifting process of the barrier gate arm, and the second peak value of the driving torque and the second average driving torque during the falling process of the barrier gate arm;

[0095] The second determining module 84 is used to determine the first torque difference between the lifting process and the falling process based on the first driving torque peak value, the first average driving torque, the second driving torque peak value, and the second average driving torque;

[0096] The third determining module 86 is used to determine the target state of the spring connected to the barrier arm included in the barrier gate based on the first torque difference value;

[0097] The adjustment module 88 is used to adjust the target extension amount of the spring based on the first torque difference when the target state indicates that the spring is in an abnormal state.

[0098] In an exemplary embodiment, the second determining module 84 may determine the first torque difference between the lifting process and the falling process based on the first driving torque peak value, the first average driving torque, the second driving torque peak value, and the second average driving torque in the following manner: determining a first weighted driving torque in the lifting process based on the first driving torque peak value and the first average driving torque; determining a second weighted driving torque in the falling process based on the second driving torque peak value and the second average driving torque; and determining the difference between the second weighted driving torque and the first weighted driving torque as the first torque difference.

[0099] In an exemplary embodiment, the adjustment module 88 can adjust the target extension / retraction amount of the spring based on the first torque difference in the following manner: when the first torque difference is greater than a first threshold, repeat the following operations until the target state of the adjusted spring indicates that the spring is in a normal state: perform a stretching operation on the spring according to a first predetermined value, and after the stretching operation, determine a second torque difference and determine the target state based on the second torque difference; and / or when the first torque difference is less than a second threshold, repeat the following operations until the target state of the adjusted spring indicates that the spring is in a normal state: perform a retraction operation on the spring according to a second predetermined value, and after the retraction operation, determine a third torque difference and determine the target state based on the third torque difference.

[0100] In an exemplary embodiment, the device may be configured to, after adjusting the target extension amount of the spring based on the first torque difference, determine the target tension force on the spring; determine the current extension amount of the spring based on the target tension force; determine the target spring constant based on the current extension amount; and perform an alarm operation if the target spring constant satisfies a predetermined condition.

[0101] In an exemplary embodiment, the device can determine the target tension force on the spring by: determining a second torque difference and a third torque difference after each adjustment of the target extension / retraction amount of the spring within a target time period, wherein the target time period is the time period from when the spring is in an abnormal state to when the spring is in a normal state; determining a first sum of all the second torque differences and the third torque differences; determining a first product of the first sum and a first coefficient; determining a second product of the first torque difference and a second coefficient; and determining the second sum of the first product and the second product as the target tension force.

[0102] In an exemplary embodiment, the device can determine the target elastic coefficient of the spring based on the current stretching amount by: determining a first predetermined value and a second predetermined value for adjusting the target stretching amount of the spring each time within a target time period, wherein the target time period is the time period from when the spring is in an abnormal state to when the spring is in a normal state; determining a third sum of all the first predetermined values ​​and the second predetermined values; determining a target number of times to adjust the target stretching amount; determining a third product of the target number of times and the third sum; determining a fourth sum of the third product and the current stretching amount as the target stretching amount of the spring; determining a fourth product of the current stretching amount and the current elastic coefficient; and determining the ratio of the fourth product to the target stretching amount as the target elastic coefficient.

[0103] In an exemplary embodiment, the device may perform an alarm operation when the target elastic coefficient meets a predetermined condition by: determining a target difference between the target elastic coefficient and the current elastic coefficient; and performing the alarm operation when the ratio of the target difference to the current elastic coefficient is less than a third threshold.

[0104] It should be noted that the above modules can be implemented by software or hardware. For the latter, they can be implemented in the following ways, but are not limited to: all the above modules are located in the same processor; or, the above modules are located in different processors in any combination.

[0105] Embodiments of the present invention also provide a computer-readable storage medium storing a computer program, wherein the computer program is configured to perform the steps in any of the above method embodiments when executed.

[0106] In one exemplary embodiment, the aforementioned computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard disk, magnetic disk, or optical disk.

[0107] Embodiments of the present invention also provide an electronic device including a memory and a processor, the memory storing a computer program and the processor being configured to run the computer program to perform the steps in any of the above method embodiments.

[0108] In one exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor and the input / output device is connected to the processor.

[0109] Specific examples in this embodiment can be found in the examples described in the above embodiments and exemplary implementations, and will not be repeated here.

[0110] It is obvious to those skilled in the art that the modules or steps of the present invention described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. They can be implemented using computer-executable program code, and thus can be stored in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those described herein, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any particular combination of hardware and software.

[0111] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, or improvements made within the principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A method for adjusting the extension / retraction of a spring, characterized in that, include: Determine the peak value of the first driving torque and the first average driving torque during the lifting process of the barrier gate arm, and the peak value of the second driving torque and the second average driving torque during the lowering process of the barrier gate arm; The first torque difference between the lifting process and the falling process is determined based on the first driving torque peak value, the first average driving torque, the second driving torque peak value, and the second average driving torque. The target state of the spring connected to the barrier arm, which is included in the barrier gate, is determined based on the first torque difference value. When the target state indicates that the spring is in an abnormal state, the target extension or retraction of the spring is adjusted based on the first torque difference. After adjusting the target extension / retraction amount of the spring based on the first torque difference, the method further includes: determining the target tension force on the spring; determining the current extension amount of the spring based on the target tension force; determining the target spring constant based on the current extension amount; and performing an alarm operation if the target spring constant meets a predetermined condition. Determining the target tension force on the spring includes: determining a second torque difference and a third torque difference after each adjustment of the target extension / retraction amount of the spring within a target time period, wherein the target time period is the period from when the spring is in an abnormal state to when the spring is in a normal state; determining a first sum of all the second torque differences and the third torque differences; determining a first product of the first sum and a first coefficient, wherein the first coefficient is an integral coefficient; determining a second product of the first torque difference and a second coefficient, wherein the second coefficient is a proportional coefficient; and determining the second sum of the first product and the second product as the target tension force. Determining the target elastic coefficient of the spring based on the current stretching amount includes: determining a first predetermined value and a second predetermined value for adjusting the target stretching amount of the spring each time within a target time period, wherein the first predetermined value is used to stretch the spring according to the first predetermined value, and the second predetermined value is used to retract the spring according to the second predetermined value, and the target time period is the time period from when the spring is in an abnormal state to when the spring is in a normal state; determining a target number of times to adjust the target stretching amount; and determining the target elastic coefficient based on the first predetermined value, the second predetermined value, the target number of times, the current stretching amount, the current elastic coefficient, and the target stretching amount.

2. The method according to claim 1, characterized in that, Determining the first torque difference between the lifting process and the falling process based on the first driving torque peak value, the first average driving torque, the second driving torque peak value, and the second average driving torque includes: The first weighted driving torque during the lifting process is determined based on the first peak driving torque and the first average driving torque. The second weighted driving torque during the falling process is determined based on the second peak driving torque and the second average driving torque. The difference between the second weighted driving torque and the first weighted driving torque is determined as the first torque difference.

3. The method according to claim 1, characterized in that, Adjusting the target extension / retraction of the spring based on the first torque difference includes: If the first torque difference is greater than the first threshold, repeat the following operations until the target state of the adjusted spring indicates that the spring is in a normal state: stretch the spring according to a first predetermined value, determine a second torque difference after the stretching operation, and determine the target state based on the second torque difference; and / or If the first torque difference is less than the second threshold, repeat the following operations until the target state of the adjusted spring indicates that the spring is in a normal state: retract the spring according to a second predetermined value, determine a third torque difference after the retraction operation, and determine the target state based on the third torque difference.

4. The method according to claim 1, characterized in that, Determining the target elastic coefficient based on the first predetermined value, the second predetermined value, the target number of times, the current stretching amount, the current elastic coefficient, and the target stretching amount includes: Determine the third sum of all the first predetermined values ​​and the second predetermined values; Determine the third product of the target number and the third sum; The third product and the fourth sum of the current stretch amount are determined as the target stretch amount of the spring; Determine the fourth product of the current stretch amount and the current elastic coefficient; The ratio of the fourth product to the target stretching amount is determined as the target elastic coefficient.

5. The method according to claim 1, characterized in that, When the target elasticity coefficient meets the predetermined conditions, the alarm operation includes: Determine the target difference between the target elasticity coefficient and the current elasticity coefficient; If the ratio of the target difference to the current elasticity coefficient is less than a third threshold, the alarm operation is performed.

6. A spring extension / retraction adjustment device, characterized in that, include: The first determining module is used to determine the first peak value of the driving torque and the first average driving torque during the lifting process of the barrier gate arm, and the second peak value of the driving torque and the second average driving torque during the lowering process of the barrier gate arm; The second determining module is used to determine the first torque difference between the lifting process and the falling process based on the first driving torque peak value, the first average driving torque, the second driving torque peak value, and the second average driving torque; The third determining module is used to determine the target state of the spring connected to the barrier arm in the barrier gate based on the first torque difference value; The adjustment module is used to adjust the target extension amount of the spring based on the first torque difference when the target state indicates that the spring is in an abnormal state. The device is further configured to, after adjusting the target extension / retraction amount of the spring based on the first torque difference,: determine the target tension force on the spring; determine the current extension amount of the spring based on the target tension force; determine the target spring constant based on the current extension amount; and perform an alarm operation if the target spring constant meets a predetermined condition. The device determines the target tension force on the spring by: determining a second torque difference and a third torque difference after each adjustment of the target extension / retraction amount of the spring within a target time period, wherein the target time period is the period from when the spring is in an abnormal state to when the spring is in a normal state; determining a first sum of all the second torque differences and the third torque differences; determining a first product of the first sum and a first coefficient, wherein the first coefficient is an integral coefficient; determining a second product of the first torque difference and a second coefficient, wherein the second coefficient is a proportional coefficient; and determining the second sum of the first product and the second product as the target tension force. The device determines the target elastic coefficient of the spring based on the current stretching amount in the following manner: determining a first predetermined value and a second predetermined value for adjusting the target stretching amount of the spring each time within a target time period, wherein the first predetermined value is used to stretch the spring according to the first predetermined value, and the second predetermined value is used to retract the spring according to the second predetermined value, and the target time period is the time period from when the spring is in an abnormal state to when the spring is in a normal state; determining a target number of times to adjust the target stretching amount; and determining the target elastic coefficient based on the first predetermined value, the second predetermined value, the target number of times, the current stretching amount, the current elastic coefficient, and the target stretching amount.

7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, wherein the computer program is configured to perform the method described in any one of claims 1 to 5 when executed.

8. An electronic device comprising a memory and a processor, characterized in that, The memory stores a computer program, and the processor is configured to run the computer program to perform the method as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Barrier gate spring fault early warning method

    CN111665008A