Turnstile testing methods and turnstile control systems
By utilizing the light spot sensing information in the turnstile channel to detect the gate status in real time, the problem of large component wear and error caused by rigid collision in the anti-tailgating turnstile is solved. This enables the turnstile to self-detect and correct itself, improving detection accuracy and self-adjustment capability.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-30
- Publication Date
- 2026-03-06
AI Technical Summary
Existing anti-tailgating turnstiles suffer significant component wear due to rigid collisions during long-term use, and also exhibit large errors during zeroing, requiring periodic manual calibration.
The gate status is detected in real time by using light spot sensing information in the gate channel. The real-time running angle and speed of the gate are calculated by the light spot number and position relationship, and the key nodes of the gate are automatically corrected.
The internal structure of the gate has been simplified, the wear and tear on components has been reduced, the detection accuracy and self-correction capability have been improved, and the real-time monitoring and self-adjustment of the gate status have been realized.
Smart Images

Figure CN116229620B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of turnstile technology, and more specifically, relates to a turnstile detection method and a turnstile control system. Background Technology
[0002] Currently, anti-tailgating turnstiles are increasingly widely used in customs, border inspection, ports, airports, and residential communities; at the same time, users' requirements for these turnstiles are also becoming more stringent. To prevent users from tailgating through, existing anti-tailgating turnstiles are equipped with optical sensing mechanisms, such as light curtains, gratings, or beam sensors, to detect the number of people inside the turnstile and prevent tailgating.
[0003] In existing technology, a mechanical limit point needs to be provided, and the gate will automatically search for it. When the gate opens to the mechanical limit and can no longer move, the gate will remember the limit point of opening and closing the gate through real-time current detection. However, after long-term use, due to the large number of impacts, the rigid collisions cause great wear and tear on the gate's components, and the internal components may also become displaced. The error in the zero-point search process is relatively large, so it is necessary for staff to conduct inspection and calibration at regular intervals. Summary of the Invention
[0004] The purpose of this application is to provide a gate detection method and a gate control system to solve the technical problems of wear and large errors in the use of gates in the prior art.
[0005] To achieve the above objectives, the technical solution adopted in this application is: to provide a gate detection method, the gate detection method comprising the following steps:
[0006] The turnstile performs the opening and closing actions.
[0007] Real-time output of the gate's optical sensor information;
[0008] The real-time status of the gate is detected based on the information from the light spot sensor;
[0009] The turnstiles were calibrated.
[0010] Preferably, the door opening and closing action includes a forward rotation state, a reverse rotation state, and a closed state.
[0011] Preferably, the method for real-time output of the light spot sensing information of the gate includes the following steps:
[0012] The light spots in the turnstile channel are numbered from 1 to n according to their positional sequence;
[0013] Real-time detection of signal obstruction at each light point;
[0014] Output the number of the blocked light spot, Nmax, and the number of the blocked light spot, Nmin.
[0015] Wherein, the light spot number Nmax is the maximum value of the number among all the light spots that are blocked, and the light spot number Nmin is the minimum value of the number among all the light spots that are blocked.
[0016] Preferably, the method for detecting the real-time operating status of a gate based on light spot sensing information further includes the following steps:
[0017] If a spot number exists If so, the real-time position of the gate is determined to be in a forward rotation state;
[0018] If a spot number exists If so, the real-time position of the gate is determined to be in a reverse state;
[0019] If no obstruction of the light spot is detected, the real-time position of the gate is determined to be in the closed state.
[0020] Where n is an even number, and the gate is installed at the location numbered... and Between the points of light.
[0021] Preferably, the method for detecting the real-time operating status of a gate based on light spot sensing information further includes the following steps:
[0022] If a spot number exists ,and If so, the real-time position of the gate is determined to be in a forward rotation state;
[0023] If a spot number exists ,and If so, the real-time position of the gate is determined to be in a reverse state;
[0024] like If so, the real-time position of the gate is determined to be in the closed state;
[0025] Where n is an odd number, and the gate is installed at the location numbered... At the point of light.
[0026] Preferably, the method for detecting the real-time operating status of a gate based on light spot sensing information further includes the following steps:
[0027] Obtain the spot number Nmax and spot number Nmin when rotating forward or backward;
[0028] Calculate the distance L between two light spots numbered Nmax and Nmin;
[0029] Determine the real-time position rotation angle α of the gate, where the rotation angle α is the angle between the gate and the straight line containing all the light points.
[0030] Preferably, the method for determining the real-time position rotation angle α of the gate includes:
[0031] Predict the gate width W and the distance S between two adjacent light spots;
[0032] The formula for calculating the rotation angle α is:
[0033] .
[0034] Preferably, the method for calibrating the turnstile includes the following steps:
[0035] The positions of the gate in the closed state, the forward opening limit state, and the reverse opening limit state are saved from the real-time position rotation angle α.
[0036] Adjust the parameters of the gate drive.
[0037] Preferably, the method for detecting the real-time operating status of a gate based on light spot sensing information further includes the following steps:
[0038] Obtain the time interval for the change of spot number Nmax or spot number Nmin. ;
[0039] Calculate the real-time linear velocity of the gate. ;
[0040] Determine the maximum value of linear velocity V. max Is it greater than the threshold T?
[0041] Where S is the distance between two adjacent light spots.
[0042] This application also provides a gate control system applied to the gate detection method described above. The gate control system includes a control motherboard, a channel driver, a gate, a photoelectric detection component, and a PC setting terminal. The channel driver, the photoelectric detection component, and the PC setting terminal are electrically connected to the control motherboard, and the channel driver is electrically connected to the gate.
[0043] The beneficial effects of the gate detection method and gate control system provided in this application are as follows: Compared with the prior art, it makes full use of the existing photoelectric limit function in the gate channel, which can simplify the internal structure of the gate and reduce the component damage caused by rigid collisions; based on the light spot sensing information, the real-time operating status of the gate can be detected, and the angle of any key node of the gate can be detected. At the same time, the linear velocity and angular velocity of the gate during the forward and reverse opening and closing process can also be detected. It can be used to detect the data of the gate's operating status during testing and debugging, and can also perform self-detection and correction of the gate in actual use. Attached Figure Description
[0044] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0045] Figure 1 A schematic flowchart illustrating the gate detection method provided in this application embodiment;
[0046] Figure 2 for Figure 1 A schematic diagram of the gate in the forward rotation state in the gate detection method;
[0047] Figure 3 for Figure 1 A schematic diagram of the gate being in the closed position in the gate detection method;
[0048] Figure 4 for Figure 1 A schematic diagram of the gate in reverse rotation state in the gate detection method;
[0049] Figure 5 This is a schematic diagram of a gate control system provided in an embodiment of this application. Detailed Implementation
[0050] To make the technical problems, technical solutions, and beneficial effects to be solved by this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and are not intended to limit the scope of this application.
[0051] It should be noted that when a component is referred to as being "fixed to" or "set on" another component, it can be directly on or indirectly on that other component. When a component is referred to as being "connected to" another component, it can be directly connected to or indirectly connected to that other component.
[0052] It should be understood that the terms "length", "width", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this application.
[0053] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, "multiple" means two or more, unless otherwise explicitly specified.
[0054] Existing turnstiles typically have photoelectric sensors on both sides, including transmitters and receivers, for tailgating detection. These sensors can be light curtains, gratings, or infrared beam sensors used on existing turnstiles, designed to detect objects in the turnstile channel using light-sensing principles.
[0055] Please refer to the following: Figures 1 to 4 The gate detection method provided in this application embodiment will now be described. The gate detection method includes the following steps:
[0056] Step S1: The turnstile performs the opening and closing action.
[0057] Step S2: Output the light spot sensing information of the gate in real time;
[0058] Step S3: Detect the real-time status of the gate based on the light spot sensing information;
[0059] Step S4: Calibrate the turnstile.
[0060] It is understandable that the gate detection method makes full use of the light spots on the channel to detect the real-time operating status of the gate and to calibrate the gate.
[0061] Thus, based on the light spot, the principle utilized in this application is that during the swinging process of the gate, the boundary of the gate is equivalent to making circular motion, and when the gate is projected onto the light spot, it is a projection. Since the width of the gate is known, the real-time position of the gate can be determined by using the length of the projection. The real-time operating angle of the gate can be calculated by using the width of the gate and the length of the projection surface.
[0062] In step S1, each time the gate is turned on, the gate is controlled to perform the opening and closing action, which can be used to perform a reset and zeroing action. This action is also performed during debugging to allow the gate to perform zeroing and record the points; to remember the limit points of forward opening, reverse opening, and the points for judging the closed state.
[0063] During the research and development process, the gate detection method of this application can also be used as a debugging method, such as for zeroing and resetting the gate. In daily use, the gate detection method of this application can also serve as a self-maintenance method. That is, each time a pedestrian passes through, the gate's rotation angle and angular velocity at each key node are detected based on the light spot sensing information, thus achieving self-correction.
[0064] Preferably, the door opening and closing action includes a forward rotation state, a reverse rotation state, and a closed state.
[0065] The closed-off state is an important node in the gate's swing process. It is mainly used to determine whether the gate's rotation angle at this node is correct, and to detect whether the gate's position at each important node is accurate.
[0066] During the forward and reverse rotation processes, the gate's linear velocity and angular velocity are mainly used to detect these parameters. This is because, on the one hand, we require the gate to open and close quickly, and on the other hand, we require the gate's force to be gentle to avoid harming pedestrians. Thus, by maintaining reasonable linear and angular velocities, the speed and force of the gate during opening and closing can be kept at a reasonable balance.
[0067] Compared to the mechanical limiting method used in the prior art, the gate detection method of this application makes full use of the existing photoelectric in the gate channel, which can simplify the internal structure of the gate and reduce the component damage caused by rigid collisions. Based on the light spot sensing information, the real-time operating status of the gate can be detected, and the angle of any key node of the gate can be detected. At the same time, the linear velocity and angular velocity of the gate during the forward and reverse opening and closing process can also be detected. It can be used to detect the data of the gate's operating status during testing and debugging, and can also be used to perform self-detection and correction of the gate in actual use.
[0068] In another embodiment of this application, the method for real-time output of the gate's light spot sensing information in step S2 includes the following steps:
[0069] The light spots in the turnstile channel are numbered from 1 to n according to their positional sequence;
[0070] Real-time detection of signal obstruction at each light point;
[0071] Output the number of the blocked light spot, Nmax, and the number of the blocked light spot, Nmin.
[0072] Wherein, the light spot number Nmax is the maximum value of the number among all the light spots that are blocked, and the light spot number Nmin is the minimum value of the number among all the light spots that are blocked.
[0073] It is understandable that since the gate's obstruction of the light spot is continuous, after numbering each light spot with 1 to n, only the two end segment values need to be output. Compared to outputting N consecutive "0" or "1" characters, this can reduce bandwidth requirements and improve the effectiveness of real-time detection.
[0074] Furthermore, the method for detecting the real-time operating status of a gate based on light spot sensing information also includes the following steps:
[0075] If a spot number exists If so, the real-time position of the gate is determined to be in a forward rotation state;
[0076] If a spot number exists If so, the real-time position of the gate is determined to be in a reverse state;
[0077] If no obstruction of the light spot is detected, the real-time position of the gate is determined to be in the closed state.
[0078] Where n is an even number, and the gate is installed at the location numbered... and Between the points of light.
[0079] It is understandable that existing gates are installed at the midpoint of the straight line where all the light spots are located. The above method is applicable when the number of light spots is even. In this way, based on the light spot level, the accuracy error of the gate's real-time operating status detection is minimized.
[0080] In another embodiment, the method for detecting the real-time operating status of a gate based on light spot sensing information further includes the step of:
[0081] If a spot number exists ,and If so, the real-time position of the gate is determined to be in a forward rotation state;
[0082] If a spot number exists ,and If so, the real-time position of the gate is determined to be in a reverse state;
[0083] like If so, the real-time position of the gate is determined to be in the closed state;
[0084] Where n is an odd number, and the gate is installed at the location numbered... At the point of light.
[0085] It is understood that the scenario in this embodiment applies to the case where the gates are all installed at the midpoint of the straight line where all the light spots are located, and the number of light spots is odd. In this way, based on the light spot level, the accuracy error of the real-time operation status detection of the gates is minimized.
[0086] In another embodiment of this application, the method for detecting the real-time operating status of a gate based on light spot sensing information further includes the step of:
[0087] Obtain the spot number Nmax and spot number Nmin when rotating forward or backward;
[0088] Calculate the distance L between two light spots numbered Nmax and Nmin;
[0089] Determine the real-time position rotation angle α of the gate, where the rotation angle α is the angle between the gate and the straight line containing all the light points.
[0090] Furthermore, the method for determining the real-time position rotation angle α of the gate includes:
[0091] Predict the gate width W and the distance S between two adjacent light spots;
[0092] The formula for calculating the rotation angle α is:
[0093] .
[0094] It is understandable that the distance L between the two light spots numbered Nmax and Nmin can be interpreted as the projection of the gate onto the straight line containing all the light spots. Thus, we can obtain... Then, the rotation angle α can be calculated.
[0095] Where n is even, When n is odd, .
[0096] Furthermore, the method for calibrating the turnstile includes the following steps:
[0097] The positions of the gate in the closed state, the forward opening limit state, and the reverse opening limit state are saved from the real-time position rotation angle α.
[0098] Adjust the parameters of the gate drive.
[0099] Understandably, the turnstile actuator has preset operating parameters for the gate to be in the closed, forward-opening, and reverse-opening extreme states. When the real-time position deviates from the preset parameters in the turnstile actuator, correction is required, i.e., updating the turnstile actuator parameters. Updating the turnstile actuator parameters essentially involves updating the motor current in the turnstile. The current output curve required for each gate action is pre-tested, and the parameters are directly matched to the test data during correction, thus achieving automatic correction.
[0100] In another embodiment of this application, step S4, the method for detecting the real-time operating status of the gate based on the light spot sensing information, further includes the step of:
[0101] Obtain the time interval for the change of spot number Nmax or spot number Nmin. ;
[0102] Calculate the real-time linear velocity of the gate. ;
[0103] Determine the maximum value of linear velocity V. max Is it greater than the threshold T?
[0104] Where S is the distance between two adjacent light spots.
[0105] Understandably, the real-time angular velocity ω of the gate can also be calculated based on the linear velocity V, where, If the maximum value of the linear velocity V is V0 max If the value exceeds the threshold T, the gate drive parameters are adjusted to reduce the gate's angular velocity and the gate's striking force.
[0106] Please see Figure 5 This application also provides a gate control system applied to the gate detection method described above. The gate control system includes a control motherboard, a channel driver, a gate, a photoelectric detection component, and a PC setting terminal. The channel driver, the photoelectric detection component, and the PC setting terminal are electrically connected to the control motherboard, and the channel driver is electrically connected to the gate.
[0107] It is understood that the control motherboard can store preset parameters, the PC setting terminal can adjust the preset parameters, the photoelectric detection component can detect the gate position of the gate in real time, and the control motherboard can adjust the gate current through the channel driver, so as to achieve the purpose of automatic correction.
[0108] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A gate detection method, characterized by, The method comprises the steps of: The gate machine performs a door opening and closing action; the door opening and closing action comprises a forward rotation state, a reverse rotation state and a closed state; The method for outputting the light point sensing information of the gate in real time comprises the steps of: pre-numbering the light points in the gate channel according to position sequence with 1 to n; detecting the signal blocking condition of each light point in real time; outputting the blocked light point number Nmax and the light point number Nmin; wherein the light point number Nmax is the maximum number of all blocked light points, and the light point number Nmin is the minimum number of all blocked light points; The method for detecting the real-time state of the gate according to the light point sensing information comprises the steps of: obtaining the light point number Nmax and the light point number Nmin in the forward rotation state or the reverse rotation state; calculating the distance L between the two light points with the numbers Nmax and Nmin; determining the real-time position rotation angle α of the gate, wherein the rotation angle α is the included angle between the gate and the straight line where all the light points are located; The method for determining the real-time position rotation angle α of the gate comprises the steps of: measuring the gate width W and the distance S between adjacent two light points; The formula for calculating the rotation angle a is: The method for correcting the gate machine comprises the steps of:
2. The gate detection method of claim 1, wherein, The method for detecting the real-time running state of the gate according to the light point sensing information further comprises the steps of: If there is a light point number Then determine the real-time position of the gate is positive rotation state; If there is a light point number Then determine the real-time position of the gate is reversed state; If no light point is blocked, it is determined that the real-time position of the gate is in the closed state; Wherein, n is even number, and the installation position of the gate is numbered as With the light spot between.
3. The gate detection method of claim 1, wherein, The method for detecting the real-time running state of the gate according to the light point sensing information further comprises the steps of: If there is a light point number , and , then determine the real-time position of the gate as a positive rotation state; If there is a light point number , and , then determine the real-time position of the gate as a reverse state; If then the real-time position of the gate is determined to be a closed positive state; Wherein, n is odd number, and the installation position of the gate is at the light spot numbered .
4. The gate detection method of claim 1, wherein, The method for correcting the gate machine comprises the steps of: From the real-time position rotation angle α of the gate, the positions of the closed state, the forward opening door limit state and the reverse opening door limit state are saved; Adjusting the parameters of the gate machine drive.
5. The gate detection method of claim 1, wherein, The method for detecting the real-time running state of the gate according to the light point sensing information further comprises the steps of: Acquisition of the variation interval time of the light point number Nmax or the light point number Nmin ; Computing real-time linear velocity of a gate ; Determine the maximum value of linear velocity V. max Is it greater than the threshold T? Wherein S is the distance between adjacent two light points.
6. A gate control system applied to the gate detection method according to any one of claims 1 to 5, characterized in that, The gate machine control system comprises a control mainboard, a channel driver, a gate machine, a photoelectric detection assembly and a PC setting end, the channel driver, the photoelectric detection assembly and the PC setting end are respectively electrically connected with the control mainboard, and the channel driver is electrically connected with the gate machine.
Citation Information
Patent Citations
Gate passage detection system and method
CN102393972A
Simulation experiment and performance detecting system of driving device of rail transit passenger room door and method thereof
CN102539173A