A grating pass logic device and method
Through the grating passage logic device, the grating sensor and the GCU circuit board are combined to solve the problem of misjudgment and missing people caused by differences in human body characteristics in the traditional gate passage logic system, realizing adaptation without hardware changes and improving system reliability. and production efficiency, reducing costs.
Patent Information
- Application Number
- CN201910672273.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-07-24
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2039-07-24
AI Technical Summary
The existing rail transit turnstile logic system causes misjudgments and missing people due to differences in sensor layout and human body characteristics, and the hardware adjustment is cumbersome, resulting in reduced equipment reliability and stability and increased costs.
Using a grating pass logic device, through the combination of the grating sensor and the GCU circuit board, it can adapt to human body characteristics in different regions without hardware changes. The adjustable beam spacing and multiple beam point combinations of the grating sensor are used to make pass logic judgments and reduce the need for hardware. version and reduce retrofit costs.
It improves the reliability and production efficiency of the gate's traffic logic, reduces the complexity and cost of hardware adjustment, enables flexible adaptation to different human body characteristics, and reduces equipment upgrade costs.
Smart Images

Figure CN112365641B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of rail transit, ticket sales and inspection services, security access control for buildings and specific places, and venue access control, and relates to equipment in the field of rail transit and security access control, and specifically to a grating passage logic device and method. Background Art
[0002] Most of the existing gates use through-beam sensors as the main pass logic monitoring device and method. A certain number of through-beam sensors are distributed inside the gate. The through-beam sensors are the transmitter on one side of the gate and the receiver on the other side. When there is no passing behavior in the gate channel, the sensor has a smooth optical path from the transmitter to the receiver. When passengers pass through the gate, they will block the sensor optical path in the gate in a certain period of time and in a certain order, causing the optical path to be blocked. By collecting the timing of the on and off of the optical path, the on and off states are converted into computer binary 0 and 1, forming a specific mathematical logic combination. Different passing behaviors will produce different mathematical combinations. The process of logical analysis and judgment of mathematical combinations is the basic algorithm of the gate pass logic.
[0003] The sensor layout in my country's access logic field was initially borrowed from foreign products. The layout characteristics of the sensors are based on European body features, which are not very consistent with the physical characteristics of Asians, resulting in frequent misjudgments and missed people in early access logic.
[0004] In recent years, with the advancement of localization in the rail transit industry, some domestic manufacturers have also released self-developed traffic logic algorithms. However, my country has a vast territory and the human body characteristics in the south and north are quite different. Therefore, the traffic logic is limited by the application scenario and has great regional limitations. The same traffic logic software product will often cause misjudgment and omission of people in different places due to different human body characteristics. To solve this problem, the same gate is forced to derive multiple sub-versions of sensor layout and supporting traffic logic software versions to adapt to the human body characteristics in different regions.
[0005] In terms of hardware, in order to adapt to the characteristics of the human body in different regions, the layout and number of sensors often need to be adjusted to achieve the adaptation effect (the spacing and number of sensors need to be changed according to the characteristics of the human body, such as: people in the north are tall and strong, so the sensor spacing is large and the number is small; people in the south are relatively short and slender, so the sensor spacing is small and the number is large.) Changes in the layout and number of sensors will lead to significant differences in the changes in the mathematical combination of the human body when passing through the gate (the passage logic program is a software product that determines whether the possible behavior of a person passing through a channel is legal. The common behavior is the change of the human body in space and time. Therefore, most of the passage logic must include strict timing judgment conditions. Changes in the distance and number of sensors will change the mathematical model of the program, which will in turn affect the design of the algorithm). Since the modification and supplement of the software judgment conditions are very cumbersome, the adaptation and adjustment of the algorithm will lead to a decrease in the reliability and stability of the equipment and software. Most projects require long-term tracking and adaptation when encountering passage logic problems, resulting in increased software and hardware and project costs.
[0006] Traditional gate machines Figure 1 As shown, the pedestrian passage is composed of a left gate 1 and a right gate 2, the door 3 is a blocking mechanism, 4 is a card swiping area, 5 is a sensor layout, and 6 is a gate passage.
[0007] The left gate 1 and the right gate 2 are respectively equipped with a transmitting end and a receiving end of a beam-type infrared photoelectric sensor. The transmitting end emits infrared light in an invisible band, which is received by the receiving end. After a pedestrian enters the passage, his body, belongings and luggage will block different combinations of sensors in stages, thereby forming different zone state parameters.
[0008] The implementation of the passage logic is achieved by recording the changes in sensor status on a timeline, adapting to human body characteristics and capturing, sampling and digitally converting passage behaviors, and using different algorithms and judgments.
[0009] The sensors should be evenly distributed on the inner casing surface of the gate channel, and the corresponding spacing (relative width and height) should be matched according to local human characteristics and traffic habits, such as Figure 2 As shown, 16 transmitting ends, namely S1 to S16, are arranged on one side wall of the gate. Correspondingly, 16 receiving ends are required on the other side wall of the gate.
[0010] This leads to different layouts in different regions. Because of the different layouts, when people pass through the channels, the time intervals at which the sensors are blocked will change differently, which may also cause changes in the original judgment combination. For example, the judgment that previously relied on a combination of three pairs of sensors may now rely on two or four pairs of sensors.
[0011] Therefore, changes in the sensor layout often lead to changes in judgment conditions and algorithms, and the software modification work corresponding to the layout changes is very cumbersome.
[0012] Therefore, it is extremely important to invent a gate passage logic device and method that can adapt to different needs of multiple regions without changing hardware components. Summary of the invention
[0013] The purpose of the present invention is to solve the problems existing in the above-mentioned prior art and to provide a grating passage logic device and method. When the sensor layout needs to be adjusted, there is no need to change the gate housing and the reliability can be improved.
[0014] The present invention is achieved through the following technical solutions:
[0015] A grating passage logic device, comprising: a grating gate, a sensor controller and a GCU circuit board;
[0016] The grating gate is provided with a grating sensor; the grating sensor is connected to the sensor controller;
[0017] The GCU circuit board is electrically connected to the sensor controller, the authorization inspection module on the grating gate, and the door controller on the grating gate respectively.
[0018] Specifically, the grating sensor includes: a light emitter and a light receiver, the light emitter and the light receiver correspond to each other one by one, the light emitter emits a light beam, and the light receiver corresponding to the light emitter receives the light beam emitted by the light emitter;
[0019] The light emitter and the light receiver each include a housing, a plurality of light beam points and a control circuit board arranged in the housing;
[0020] The housing is a closed structure;
[0021] A window is provided on one side of the shell;
[0022] The window is closed with a transparent material;
[0023] The light beam point is fixedly mounted on the inner side of the window, and the light emitted or received by the light beam point can pass through the window;
[0024] The light beam spots are light beam spots on grating strips or grating bands;
[0025] The windows are long strips, and at least one light beam bar or light beam belt is installed in each window;
[0026] Electrical connectors are respectively provided at both ends of the housing;
[0027] Both ends of the electrical connector are wiring terminals;
[0028] A signal cable is arranged in the housing;
[0029] Each beam point is connected to a respective signal cable, and each signal cable is connected to the control circuit board.
[0030] The grating gate includes a left gate and a right gate that are symmetrically arranged;
[0031] Doors are provided on the left gate and the right gate;
[0032] The left gate and the right gate are arranged in parallel, and a gate passage is formed between the two;
[0033] A plurality of long holes are respectively arranged on the housings of the left gate machine and the right gate machine relative to each other; all the long holes are arranged horizontally;
[0034] The long holes on the left gate and the right gate are symmetrically arranged;
[0035] At least one of the grating sensors is installed behind each long hole, and the light emitted or received by the light beam points of all the grating sensors behind each long hole can pass through the long hole;
[0036] Sockets are respectively arranged on the inner surfaces of the housings opposite to the left gate and the right gate, and the electrical connectors at both ends of the grating sensor can be inserted into the sockets;
[0037] Alternatively, sockets are respectively arranged on the internal frames of the left gate and the right gate, and the electrical connectors at both ends of the grating sensor can be inserted into the sockets.
[0038] Preferably, a first grating sensor GS1, a second grating sensor GS2, a third grating sensor GS3, and a fourth grating sensor GS4 are provided on the gate on each side;
[0039] The first photoelectric sensor GS1 and the fourth photoelectric sensor GS4 are symmetrically arranged on both sides of the door and have the same height. The second photoelectric sensor GS2 and the third photoelectric sensor GS3 are symmetrically arranged on both sides of the door and have the same height. The heights of the two are higher than those of the first photoelectric sensor GS1 and the fourth photoelectric sensor GS4.
[0040] A fifth photoelectric sensor GS5 and a sixth photoelectric sensor GS6 are provided on the gate on each side;
[0041] The fifth grating sensor GS5 is arranged directly below the leaf door and is symmetrical about the straight line where the leaf door is located, and its height is lower than that of the first grating sensor GS1 and the fourth grating sensor GS4;
[0042] The sixth photoelectric grating sensor GS6 is arranged directly above the leaf door and is symmetrical about the straight line where the leaf door is located, and its height is higher than that of the second photoelectric grating sensor GS2 and the third photoelectric grating sensor GS3.
[0043] The outside of one end of the gate passage is a non-payment area, and the outside of the other end is a payment area. The gate passage includes, from the non-payment area to the payment area, a detection area, a monitoring area, a safety area, and a departure area; the door is arranged in the middle of the safety area;
[0044] The first grating sensor GS1 is arranged in a detection area, and the width of the detection area is the same as the length of the first grating sensor GS1;
[0045] The first 10 beam points of the second grating sensor GS2 are set in the monitoring area, and the last 6 beam points are set in the safety area;
[0046] The first 6 beam points of the third grating sensor GS3 are set in the safety zone, and the last 10 beam points are set in the departure zone;
[0047] The last six beam points of the second grating sensor GS2 and the first six beam points of the third grating sensor GS3 are symmetrically arranged on both sides of the door;
[0048] The projections of the first grating sensor GS1 and the second grating sensor GS2 on the horizontal plane are connected in sequence;
[0049] The projections of the third grating sensor GS3 and the fourth grating sensor GS4 on the horizontal plane are connected in sequence;
[0050] The projections of the front section of the fifth grating sensor GS5 and the rear section of the second grating sensor GS2 on the horizontal plane overlap; the projections of the rear section of the fifth grating sensor GS5 and the front section of the third grating sensor GS3 on the horizontal plane overlap;
[0051] The projections of the front section of the sixth grating sensor GS6 and the rear section of the second grating sensor GS2 on the horizontal plane overlap; the projections of the rear section of the sixth grating sensor GS6 and the front section of the third grating sensor GS3 on the horizontal plane overlap;
[0052] The heights of the first grating sensor GS1 and the fourth grating sensor GS4 from the ground are 750-800 mm;
[0053] The heights of the second grating sensor GS2 and the third grating sensor GS3 from the ground are 900-1000 mm.
[0054] The control circuit board in the housing of each grating sensor is connected to the electrical connectors at both ends of the housing, and the electrical connectors of the light emitter and the light receiver are respectively connected to the sensor controller through signal cables; the sensor controller is also connected to a control cable, and the other end of the control cable is divided into two paths, which are respectively connected to the RS485-A interface and the RS485-B interface on the GCU circuit board, and the sensor controller is arranged in the gate where the light emitter or the light receiver is located;
[0055] Alternatively, a sensor controller is respectively arranged in the housing of the light emitter and the housing of the light receiver; one end of the sensor controller in the housing of the light emitter is connected to the control circuit board in the housing of the light emitter, and the other end is connected to the electrical connector, and the electrical connector of the light emitter is electrically connected to the RS485-A interface on the GCU circuit board; one end of the sensor controller in the housing of the light receiver is connected to the control circuit board in the housing of the light receiver, and the other end is connected to the electrical connector of the light receiver, and the electrical connector of the light receiver is electrically connected to the RS485-B interface on the GCU circuit board;
[0056] The control circuit board of the grating sensor sends the digital signal to the corresponding sensor controller, and the sensor controller stores the received digital signal and sends the digital signal to the GCU circuit board at the same time.
[0057] The present invention also provides a pass logic method implemented by using the above-mentioned grating pass logic device, the method comprising:
[0058] S1, determine whether there is a card swiping signal, if yes, open the door and go to S2, if not, go to S10;
[0059] S2, determine whether to start timing, if yes, go to S3, if not, start timing;
[0060] S3, determine whether the card swiping time has timed out, if yes, transfer to S14, if no, transfer to S4;
[0061] S4, determine whether reverse intrusion occurs, if yes, issue a reverse intrusion alarm and then go to S1, if no, go to S5;
[0062] S5, determine whether the passenger enters the detection area, if yes, go to S6, if no, go to S1;
[0063] S6, determine whether the passenger enters the monitoring area, if yes, then go to S7, if no, then go to S1;
[0064] S7, determine whether the passenger has entered the safety zone, if yes, go to S8, if no, go to S1;
[0065] S8, determine whether the passenger has passed the departure area, if yes, go to S9, if no, go to S1;
[0066] S9, determine whether the passenger has left the gate channel, if yes, transfer to S14, if no, transfer to S1;
[0067] S10, determine whether there is anyone in the detection area, if yes, go to S13, if not, go to S11;
[0068] S11, determine whether there is anyone in the monitoring area, if yes, then go to S13, if not, then go to S12;
[0069] S12, determine whether there is anyone in the safety zone, if yes, go to S13, if not, go to S1;
[0070] S13, issues a ticketless intrusion alarm, and then goes to S1;
[0071] S14, the passage ends, return to S1.
[0072] The operation of determining whether reverse intrusion occurs in S4 includes:
[0073] Determine whether the last three light beams of the fourth grating sensor GS4 are blocked, if yes, it is determined that reverse intrusion has occurred, if not, it is determined that reverse intrusion has not occurred;
[0074] The S4 further comprises:
[0075] If a reverse intrusion occurs and all light beams in the safety zone are not blocked, the door will be closed and the buzzer alarm will be activated;
[0076] If a reverse intrusion occurs and the light beam in the safety zone is partially blocked, the buzzer alarm will be activated.
[0077] The operations of determining whether a passenger has entered the detection area in S5 and determining whether there is someone in the detection area in S10 both include:
[0078] Determine whether part of the light beam in the first grating sensor GS1 is blocked. If yes, it is determined that the passenger has entered the detection area or there is someone in the detection area. If no, it is determined that the passenger has not entered the detection area or there is no one in the detection area.
[0079] The operations of determining whether a passenger has entered the monitoring area in S6 and determining whether there is someone in the monitoring area in S11 include:
[0080] Determine whether some of the first 10 light beams in the second grating sensor GS2 are blocked. If yes, it is determined that the passenger has entered the monitoring area or there is someone in the monitoring area. If no, it is determined that the passenger has not entered the monitoring area or there is no one in the monitoring area.
[0081] The operations of determining whether a passenger has entered the safety zone in S7 and determining whether there is anyone in the safety zone in S12 include:
[0082] Determine whether part of the last six light beams of the second grating sensor are blocked. If so, it is determined that the passenger has entered the safety zone or there is someone in the safety zone; if not, it is determined that the passenger has not entered the safety zone or there is no one in the safety zone;
[0083] The operation of determining whether the passenger has passed through the departure area in S8 includes:
[0084] When judging whether part of the last 10 light beams of the third grating sensor GS3 and part of the light beam of the fourth grating sensor GS4 are blocked at the same time, if yes, it is judged that the passenger has passed through the departure area; if no, it is judged that the passenger has not passed through the departure area;
[0085] The operation of determining whether the passenger has left the gate passage in S9 includes:
[0086] Determine whether the light beams on all grating sensors are not blocked. If so, it is determined that the passenger has left the gate channel. If not, it is determined that the passenger has not left the gate channel.
[0087] The step S5 further includes a step of detecting the width of passengers in the detection area, and the operation thereof includes:
[0088] From the light beam blocked by the first grating sensor GS1, find the light beam point Aj blocked by the front end of the passenger and the light beam point Ai blocked by the rear end of the passenger. Then the width of the passenger is: (ji)*beam spacing;
[0089] The step S6 further includes the step of identifying adults, luggage and children in the monitoring area, and the operation thereof includes:
[0090] When part of the first 10 beams of the second grating sensor GS2 and part of the beam of the fifth grating sensor GS5 are blocked, and the width of the passenger calculated based on the number of blocked beam points of the second grating sensor GS2 meets the width of an adult, the passenger is determined to be an adult;
[0091] When all the light beams of the second photoelectric sensor GS 2 are not blocked, and part of the light beams of the first photoelectric sensor GS 1 and part of the light beams of the fifth photoelectric sensor are blocked at the same time, it is determined that the passenger is carrying forward luggage;
[0092] When part of the light beam of the fifth photoelectric sensor GS5 is blocked, and the second photoelectric sensor is not blocked, it is determined that the child is passing alone;
[0093] When the partial light beam of the first grating sensor GS1 and the partial light beam of the second grating sensor GS2 are blocked at the same time, and the fifth grating sensor GS5 is not blocked, it is determined that an object has passed in front of the passenger;
[0094] The S7 further includes a door action processing step, the operation of which includes:
[0095] If the door is in the open state or in the closing action, as long as any light beam in the safety zone is blocked, the door will remain open or perform the door opening action;
[0096] The step S7 further includes a tailing detection step, the operation of which includes:
[0097] When the 4th beam and subsequent beams of the first grating sensor GS1 are blocked, and part of the beam of the second grating sensor GS2 is blocked, and the distance between the last blocked beam on the first grating sensor GS1 and the first blocked beam on the second grating sensor GS2 is greater than the beam distance, it is determined that two passengers are passing at the same time. If there is only one card swiping signal in the channel at this time, it is determined to be tailgating and the buzzer alarm is activated.
[0098] The step S8 further includes the steps of offsetting the card swiping signal and closing the door, and the operations thereof include:
[0099] If the passenger passes through the departure zone, the card swipe signal is cancelled and if all beams in the safety zone are not blocked, the door is closed;
[0100] If the parts of the fifth grating sensor GS 5 located on the left and right sides of the door are partially blocked, and the partial beams of the second grating sensor GS2 and the partial beams of the sixth grating sensor are blocked at the same time, it is determined that an adult is carrying a child through, and the child has entered the departure area, and the card swiping signal is not offset at this time; when the partial beam of the sixth grating sensor GS6 and the partial beam of the third grating sensor GS3 are blocked at the same time, it is determined that an adult has entered the departure area, and the card swiping signal is offset at this time, and if all the beams in the safety zone are not blocked, the door is closed.
[0101] Compared with the prior art, the present invention has the following beneficial effects:
[0102] 1. The sensor layout is replaced by a grating sensor, which reduces the hole opening process of the hardware sheet metal and improves production efficiency.
[0103] 2. It is no longer necessary to adapt the sensor layout for different human body features, reducing the number of device hardware versions.
[0104] 3. The spacing of the light beams in the grating sensor can be freely selected to achieve adaptation to human body characteristics.
[0105] 4. When the passage logic needs to be changed to match the application scenario, only the software settings need to be changed. There is no need to replace the gate shell sheet metal and internal structure due to layout changes, which reduces the cost of transformation and upgrading. BRIEF DESCRIPTION OF THE DRAWINGS
[0106] Figure 1 Schematic diagram of the structure of a traditional gate;
[0107] Figure 2 Schematic diagram of sensor layout of the passage logic of traditional gate machine;
[0108] Figure 3 A schematic structural diagram of the grating gate of the present invention;
[0109] Figure 4 A schematic diagram of the structure of the grating sensor in the grating gate of the present invention;
[0110] Figure 5 Schematic diagram of grating light emitting and light receiving structure;
[0111] Figure 6 A schematic diagram of the structure of the grating pass logic device of the present invention;
[0112] Figure 7 A structural diagram of the connection between the GCU and each grating sensor in the grating pass logic device of the present invention;
[0113] Figure 8 Schematic diagram of the grating sensor of the present invention detecting the width of an object;
[0114] Fig. 9 A flowchart of the steps of the raster pass logic method of the present invention. DETAILED DESCRIPTION
[0115] The present invention is further described in detail below in conjunction with the accompanying drawings
[0116] like Figure 6As shown, the grating passage logic device of the present invention includes: a grating gate, a sensor controller, and a GCU circuit board. The GCU (abbreviation of GATE CONTROL UNIT) circuit board is electrically connected to the authorization inspection module, the sensor controller, and the leaf door controller on the grating gate, respectively, and can collect the authorization inspection signal on the authorization inspection module and the sensor signal on the sensor controller, and control the movement of the leaf door according to the authorization inspection signal and the sensor signal to ensure the normal passage of card-swiping passengers and intercept tailgating and abnormal intrusion. A grating state register is set in the sensor controller, and the control circuit board of each grating sensor sends a digital signal to the corresponding sensor controller, and the sensor controller stores the received digital signal in the grating state register. At the same time, the sensor controller transmits the digital signal to the GCU.
[0117] Specifically, the grating sensor used in the grating gate of the present invention includes a light emitter and a light receiver. The light emitter and the light receiver are used in a one-to-one correspondence. The light emitter emits a light beam and the light receiver receives a light beam. The physical principle of the grating is actually a strip of sensor. There are 10-20 beam points in each grating sensor, which is equivalent to 10-20 sub-sensors. The horizontal distance between two adjacent beam points of the grating sensor is the beam spacing, such as Figure 4 As shown, the beam spacing in the grating sensor used in the present invention is 20-40 mm. The grating sensor can be set as a single light emitter (ie, multiple beam points are arranged in a row), a single light receiving or multiple light emitters and multiple light receiving as required.
[0118] The existing grating sensors only have grating strips and grating belts. The existing grating strips and grating belts are both soft belt structures. The gate machine may be used in an outdoor or semi-outdoor environment (open air but with a roof) where the temperature changes greatly. The soft materials of the grating strips and grating belts are prone to deformation such as thermal expansion and contraction. Once the belt or strip grating is deformed, it will cause the light-emitting point or the light-receiving point to be offset, and the optical path may be interrupted or deflected. Moreover, in an outdoor or semi-outdoor environment, the gate machine may be flooded, which will also cause damage to the circuits of the grating strips and grating belts. In addition, if the grating strips and grating belts are directly exposed to the air, they are prone to oxidation and aging.
[0119] The light emitter and light receiver of the grating sensor of the present invention are as follows Figure 4 As shown, it includes a closed housing 401, a beam point, an electrical connector 402, and a control circuit board. A long strip window is opened on one side of the closed housing, and the long strip window is sealed with a transparent material (any transparent material that can pass through the light beam can be used), and a grating strip or a grating belt is fixedly installed on the inner side of the long strip window, and the light emitted or received by the beam point on the grating strip or the grating belt can pass through the long strip window.
[0120] The grating sensor of the present invention encloses the grating strips or grating bands in a housing, which can well avoid the weaknesses of existing grating strips or grating bands. Moreover, the housing 401 itself has good temperature adaptability, and the grating strips or grating bands enclosed in the housing are not easy to deform.
[0121] Specifically, electrical connectors 402 are provided at both ends of the shell 401, signal cables are provided in the shell, and multiple beam points A1 to An are provided on the grating strip or grating belt (the beam points provided on the light receiver are receiving points, and the beam points provided on the light emitter are emitting points), and each beam point is respectively connected to a respective signal cable located in the shell, and each signal cable is connected to a control circuit board located in the shell.
[0122] The control circuit board can be a control circuit board of an existing grating bar or grating belt. On the one hand, the circuit board is responsible for the light beam reception and transmission of all light beam points on the grating bar or grating belt. On the other hand, it converts the analog signal of the light path on and off into a digital signal, and supplies power to the control circuit board and performs signal transmission through the electrical connectors at both ends of the shell.
[0123] Both ends of the electrical connectors at both ends of the housing are wiring terminals. When it is installed on the gate, the electrical connectors at both ends of the housing can be directly plugged into the corresponding sockets on the gate.
[0124] Each beam point in the grating sensor has a physical address in hardware, and the emission and reception conditions of each beam point can be fed back to the control circuit board through the signal cable in the grating sensor.
[0125] The grating gate of the present invention is as follows Figure 3 As shown, compared with conventional gates, the grating gate of the present invention no longer has a certain sensor layout. Instead, the original sensor is replaced by a grating sensor, and the grating sensor is used to realize the judgment of the gate's passage behavior. It is a grating gate based on a grating sensor, which has the advantage of being able to adapt to human body characteristics and passage behaviors in different regions. The grating sensor in the present invention includes a photoreceiver and a light emitter, which forms a light curtain by emitting and receiving infrared rays. When the light curtain is blocked, it can detect whether there is an obstacle and the width and height of the obstacle. For example, if the beam spacing of the grating sensor used is 40mm, when the width of the object is greater than 40mm, it can be detected.
[0126] The grating gate of the present invention includes a symmetrically arranged left gate and right gate, and a leaf door 307 is arranged on the left gate and the right gate (the leaf door and the leaf door controller can adopt various existing leaf doors and controllers), the left gate and the right gate are arranged in parallel, and a gate passage is formed between the two. When the leaf doors on both sides are located in the gate passage at the same time, the gate passage is closed, and when the leaf doors on both sides are not located in the gate passage, the gate passage is opened. An authorization verification module is arranged on the left gate or the right gate, and the authorization verification module can adopt various existing modules, such as an existing card reader, a mobile phone NFC verification device (also a card reader), a face recognition device, etc.
[0127] like Figure 3 As shown, the outside of one end of the gate passage of the grating gate of the present invention is a non-payment area 301, and the outside of the other end is a payment area 306. Pedestrians or objects enter the gate passage from the non-payment area 301, pass through the gate passage and reach the payment area 306. Figure 3 The invention relates to a detection area 302, a monitoring area 303, a safety area 304 and a departure area 305. The door is arranged in the middle of the safety area 304.
[0128] like Figure 3 As shown ( Figure 3 The present invention is a view from the gate passage to one side of the gate. ), the present invention is provided with a plurality of long holes on the housings of the left gate and the right gate, respectively, and the long holes on the left gate and the right gate are symmetrically arranged. Preferably, all the long holes are arranged horizontally (that is, the length direction of the long holes is parallel to the horizontal plane). The height of the long holes on each side of the gate is set according to the detection requirements.
[0129] At least one grating sensor is installed behind each long hole (for example, one grating sensor can be installed, or two or more grating sensors can be installed, and the number of grating sensors can be determined according to actual needs), and the light emitted (or the light to be received) by the light beam points of all grating sensors behind each long hole can pass through the long hole. The grating sensor can be directly mounted on the inner surface of the housing opposite to the left gate and the right gate, or it can be mounted on the internal frame of the left gate and the right gate, as long as it is ensured that the light beam can pass through the long hole.
[0130] Specifically, the light emitter in the grating sensor is installed on the left gate, and the light receiver in the grating sensor is installed on the right gate, or vice versa. The light emitted by the light emitter passes through the long hole of the gate on this side, the gate channel, and the long hole of the gate on the other side in turn, and is received by the light receiver installed on the gate on the other side. The passage logic control based on the grating sensor can achieve full coverage within the gate channel. The sensor signal of the grating sensor is used as the data of the passage logic to ensure the correctness and accuracy of the passage logic of pedestrians and other events, accurately sense the position of passengers, ensure the safety of passengers and personal belongings, and monitor passenger behavior at the same time to effectively prevent tailgating and abnormal intrusion.
[0131] The grating sensor uses the long hole on the housing to transmit and receive its own light beams without being disturbed, forming a light path and light network in the gate channel. Compared with the original sensor receiving and transmitting light network, the spacing between sub-sensors can be adjusted by using different light beam points in the grating sensor, so the density of the formed light path and light network is adjustable. The distance between sensors in the traditional gate is fixed, so it cannot be adjusted according to the changes in the volume characteristics of the human body, but it is possible to use the grating sensor of the present invention, because in the grating sensor of the present invention, a pair of light beam points inside it can be arbitrarily selected as sub-sensors. Figure 4 As shown, different beam point combinations from A1 to An can be selected, so that the distance between the sub-sensors can be adjusted, for example: Figure 2 The horizontal distance between sensors S4 and S6 in the traditional gate is 200mm. After the hardware is produced, the horizontal distance is fixed and cannot be changed. When it is converted to the grating sensor of the present invention (for example, the beam spacing between beam points is 40mm), the spacing between S1 and S2 is realized by selecting the two beam points A1 and A6. When the spacing between the sensors needs to be expanded or reduced, Figure 2 The existing solution requires re-processing the housing of the gate to change the spacing of the sensors. In the present invention, due to the use of grating sensors, only the light beam points need to be replaced to adjust the spacing between the sub-sensors, which greatly improves the adjustment efficiency and reduces the adjustment workload. For example, when the sensor spacing needs to be adjusted from 200mm to 240mm, only two light beam points A1 and A7 need to be selected as sub-sensors to adjust the spacing of the sub-sensors to 240mm.
[0132] The number of grating sensors set on each side of the grating gate of the present invention is 4-6. Depending on the application scenario, the strictness level of the passage logic will also be different, which leads to the difference in the number of grating sensors. The simplest passage logic only requires 4 grating sensors, that is, Figure 3GS1\GS2\GS3\GS4 in the gate can be used. If you need to increase the rigor of the judgment, you can configure 2 more grating sensors, such as GS5 configured below the leaf door and GS6 configured above the leaf door. The GS5 below is used to judge luggage and children, and the GS6 above is used to judge the height. In some places, there is no need to judge the height, so there is no need to set GS6. Of course, more grating sensors can be installed on the gate as needed. G2 and G3 can also be replaced by a longer grating sensor, that is, a long grating sensor is set above the leaf door, spanning from one side of the leaf door to the other. Separating G2 and G3 is based on electrical design considerations to improve redundancy and reliability. For example, once the photoelectric damage in the grating sensor is more, the cost of replacing a short root is lower than that of replacing a long root.
[0133] In the embodiment of the present invention, a first grating sensor GS1, a second grating sensor GS2, a third grating sensor GS3, a fourth grating sensor GS4, a fifth grating sensor GS5, and a sixth grating sensor GS6 are arranged on the gate on each side, wherein the fifth grating sensor GS5 and the sixth grating sensor GS6 are selected according to the actual situation. The first grating sensor GS1 and the fourth grating sensor GS4 are symmetrically arranged on both sides of the leaf door, and have the same height. The second grating sensor GS2 and the third grating sensor GS3 are symmetrically arranged on both sides of the leaf door, and have the same height. The heights of both are higher than the heights of the first grating sensor GS1 and the fourth grating sensor GS4. The fifth grating sensor GS5 is arranged directly below the leaf door, and is symmetrical about the straight line where the leaf door is located, and its height is lower than the heights of the first grating sensor GS1 and the fourth grating sensor GS4. The sixth grating sensor GS6 is arranged directly above the leaf door, and is symmetrical about the straight line where the leaf door is located, and its height is higher than the heights of the second grating sensor GS2 and the third grating sensor GS3.
[0134] by Figure 3 The left side is the front end, and the right side is the rear end. The left end of each grating sensor is the front end, and the right end is the rear end. From left to right is from front to back. The light beam points of each grating sensor are numbered in sequence from front to back. The frontmost light beam point is A1, followed by A2, A3...An, and An is the rearmost light beam point.
[0135] The first photogate sensor GS1 is set in the detection area 302, and the width of the detection area 302 is the same as the length of the first photogate sensor GS1. The first 10 beam points of the second photogate sensor GS2 are set in the monitoring area 303, and the last 6 beam points are set in the safety area 304; the first 6 beam points of the third photogate sensor GS3 are set in the safety area 304, and the last 10 beam points are set in the departure area 305. The last 6 beam points of the second photogate sensor GS2 and the first 6 beam points of the third photogate sensor GS3 are symmetrically set on both sides of the leaf door 307.
[0136] The projections of the first grating sensor GS1 and the second grating sensor GS2 on the horizontal plane are connected in sequence, that is, the horizontal distance between the last beam of the first grating sensor GS1 and the first beam of the second grating sensor GS2 is one beam spacing. Similarly, the projections of the third grating sensor GS3 and the fourth grating sensor GS4 on the horizontal plane are connected in sequence, that is, the horizontal distance between the last beam of the third grating sensor GS3 and the first beam of the fourth grating sensor GS4 is one beam spacing. The projections of the front section of the fifth grating sensor GS5 (including multiple beam points starting from the first beam point) and the rear section of the second grating sensor GS2 (including the last beam point and multiple beam points before the beam point) on the horizontal plane overlap, and the projections of the rear section of the fifth grating sensor GS5 (including the last beam point and multiple beam points before the beam point) and the front section of the third grating sensor GS3 (including multiple beam points starting from the first beam point) on the horizontal plane overlap. The overlapping length can be set according to actual needs. For example, if you want to detect luggage or children earlier, increase the overlapping length of the front section of the fifth grating sensor GS5 and the rear section of GS2. In actual use, this can be achieved by directly using a longer grating sensor as GS5. Similarly, the projection of the front section of the sixth grating sensor GS6 and the rear section of the second grating sensor GS2 on the horizontal plane overlap, and the projection of the rear section of the sixth grating sensor GS6 and the front section of the third grating sensor GS3 on the horizontal plane overlap. The overlapping length can be set according to actual needs. For example, if you want to detect adults earlier, increase the overlapping length of the front section of the sixth grating sensor GS6 and the rear section of GS2. In actual use, a longer grating sensor can be directly used as GS6.
[0137] The height of GS1 and GS4 from the ground is 750-800mm, and the height of GS2 and GS3 from the ground is 900-1000mm.
[0138] In actual use, 24V DC is used to power each grating sensor, and the beam spacing in each grating sensor is no more than 40mm. The number of beam points on GS1 and GS4 is no less than 10, the number of beam points on GS2 and GS3 is no less than 16, and the number of beam points on optional GS5 and GS6 is no less than 10.
[0139] In the grating passage logic device of the present invention, the control circuit board in the shell of each grating sensor is connected to the electrical connectors at both ends of the shell, and the electrical connectors of the light emitter and the light receiver are respectively connected to the sensor controller through signal cables; a control cable is also connected to the sensor controller, and the other end of the control cable is divided into two paths, namely control loop 1 and control loop 2, the control loop 1 is connected to the RS485-A interface on the GCU circuit board, and the control loop 2 is connected to the RS485-B interface on the GCU circuit board. The sensor controller can be set at the gate where the light emitter or the light receiver is located, such as Figure 5 As shown. The controller can also be encapsulated in the housing of the grating sensor, that is, the sensor controller is respectively arranged in the housing of the light emitter and the housing of the light receiver; one end of the sensor controller in the housing of the light emitter is connected to the control circuit board in the housing of the light emitter (or the sensor controller and the control circuit board are directly integrated on one circuit board), and the other end is connected to the electrical connector, and the electrical connector of the light emitter is connected to the RS485-A interface on the GCU circuit board through the control circuit 1; one end of the sensor controller in the housing of the light receiver is connected to the control circuit board in the housing of the light receiver (or the sensor controller and the control circuit board are directly integrated on one circuit board), and the other end is connected to the electrical connector of the light receiver, and the electrical connector of the light receiver is connected to the RS485-B interface on the GCU circuit board through the control circuit 2. The structure in which the controller is respectively arranged in the housing of the light emitter and the housing of the light receiver can make the construction on the project site more convenient.
[0140] Figure 7 GS1-GS4 are independent grating sensors, and their specific details are Figure 5 It's the same. Figure 5 The control loop 1 and control loop 2 in are connected to Figure 7 The RS485-A interface and RS485-B structure on the GCU in the sensor. All the on-off changes of the light path formed by the grating sensor are converted into digital states 0 or 1, and these 0 and 1 are stored in the grating state register in the sensor controller.
[0141] The GCU uses a microprocessor with an ARM Cortec-M4 core to communicate with the sensor controller through an RS485 interface, and uses the Modbus-RTU protocol to query a grating sensor every 10 milliseconds. The grating sensor returns data (Modbus-RTU protocol) for the status of each light beam. The GCU processes the data of the light beam status to determine the channel status.
[0142] The detection area 302 in the gate channel is used to check whether there is an object entering the gate channel and detect the width of the object at the same time; the monitoring area 303 is used to identify adults, luggage, children, etc., and determine whether to block them from passing in combination with authorization; the safety area 304 is used to ensure the safety of pedestrians. When the door is in an open state or in the closing action, when any light beam in the safety area is blocked, the door remains open or opens to ensure the safety of pedestrians; departure area 305: when part of the last 10 light beams of the third grating sensor GS3 and part of the light beam of the fourth grating sensor are blocked at the same time, it is determined that the passenger has entered the departure area, and the card swiping signal is offset. When all light beams in the safety zone are not blocked, the door closes.
[0143] The grating pass logic method implemented by the grating pass logic device is as follows: Fig. 9 As shown, including:
[0144] S1, determine whether there is a card swiping signal, if yes, open the door and go to S2, if not, go to S10;
[0145] S2, determine whether to start timing, if yes, go to S3, if not, start timing;
[0146] S3, determine whether the card swiping time has timed out, if yes, transfer to S14, if no, transfer to S4;
[0147] S4, determine whether reverse intrusion occurs, if yes, issue a reverse intrusion alarm and then go to S1, if no, go to S5;
[0148] S5, determine whether the passenger enters the detection area, if yes, go to S6, if no, go to S1;
[0149] S6, determine whether the passenger enters the monitoring area, if yes, then go to S7, if no, then go to S1;
[0150] S7, determine whether the passenger has entered the safety zone, if yes, go to S8, if no, go to S1;
[0151] S8, determine whether the passenger has passed the departure area, if yes, go to S9, if no, go to S1;
[0152] S9, determine whether the passenger has left the gate channel, if yes, transfer to S14, if no, transfer to S1;
[0153] S10, determine whether there is anyone in the detection area, if yes, go to S13, if not, go to S11;
[0154] S11, determine whether there is anyone in the monitoring area, if yes, then go to S13, if not, then go to S12;
[0155] S12, determine whether there is anyone in the safety zone, if yes, go to S13, if not, go to S1;
[0156] S13, issues a ticketless intrusion alarm, and then goes to S1;
[0157] S14, the passage ends, return to S1.
[0158] The operation of determining whether reverse intrusion occurs in S4 includes:
[0159] Determine whether the last three light beams of the fourth grating sensor GS4 are blocked, if yes, it is determined that reverse intrusion has occurred, if not, it is determined that reverse intrusion has not occurred;
[0160] The S4 further comprises:
[0161] If a reverse intrusion occurs and all light beams in the safety zone are not blocked, the door will be closed and the buzzer alarm will be activated;
[0162] If a reverse intrusion occurs and the light beam in the safety zone is partially blocked, the buzzer alarm will be activated.
[0163] The operations of determining whether a passenger has entered the detection area in S5 and determining whether there is someone in the detection area in S10 both include:
[0164] Determine whether part of the light beam in the first grating sensor GS1 is blocked. If yes, it is determined that the passenger has entered the detection area or there is someone in the detection area. If no, it is determined that the passenger has not entered the detection area or there is no one in the detection area.
[0165] The operations of determining whether a passenger has entered the monitoring area in S6 and determining whether there is someone in the monitoring area in S11 include:
[0166] Determine whether some of the first 10 light beams in the second grating sensor GS2 are blocked. If yes, it is determined that the passenger has entered the monitoring area or there is someone in the monitoring area. If no, it is determined that the passenger has not entered the monitoring area or there is no one in the monitoring area.
[0167] The operations of determining whether a passenger has entered the safety zone in S7 and determining whether there is anyone in the safety zone in S12 include:
[0168] Determine whether part of the last six light beams of the second grating sensor are blocked. If so, it is determined that the passenger has entered the safety zone or there is someone in the safety zone; if not, it is determined that the passenger has not entered the safety zone or there is no one in the safety zone;
[0169] The operation of determining whether the passenger has passed through the departure area in S8 includes:
[0170] When judging whether part of the last 10 light beams of the third grating sensor GS3 and part of the light beam of the fourth grating sensor GS4 are blocked at the same time, if yes, it is judged that the passenger has passed through the departure area; if no, it is judged that the passenger has not passed through the departure area;
[0171] The operation of determining whether the passenger has left the gate passage in S9 includes:
[0172] Determine whether the light beams on all grating sensors are not blocked. If so, it is determined that the passenger has left the gate channel. If not, it is determined that the passenger has not left the gate channel.
[0173] The step S5 further includes a step of detecting the width of passengers in the detection area, and the operation thereof includes:
[0174] From the light beam blocked by the first grating sensor GS1, find the light beam point Aj blocked by the front end of the passenger and the light beam point Ai blocked by the rear end of the passenger, then the width of the passenger is: (ji)*beam spacing.
[0175] For example, Figure 8 As shown, when the passenger walks to the position of the beam A6 of the first grating sensor GS1, the beam point blocked by the front end is the beam point A6 of the first grating sensor GS1, and the beam point blocked by the rear end is the beam point A3 of the first grating sensor GS1. The passenger blocks a total of 4 beam points (A3, A4, A5, A6) of the first grating sensor GS1. Then the width of the passenger is the sum of the 3 beam spacings, that is, (6-3)*beam spacing. If it is other objects, the width of the object is obtained by the same method. The width of the object is obtained by the same method for other grating sensors.
[0176] The step S6 further includes the step of identifying adults, luggage and children in the monitoring area, and the operation thereof includes:
[0177] When part of the first 10 beams of the second grating sensor GS2 and part of the beam of the fifth grating sensor GS5 are blocked, and the width calculated based on the number of blocked beam points of the second grating sensor GS2 meets the width of an adult, it is determined to be an adult. The width of an adult can be set according to the human body characteristics of the place where the gate is used. For example, the width of an adult in a generally tall area can be set to be larger than the width of an adult in a generally thin area;
[0178] When all the light beams of the second photoelectric sensor GS 2 are not blocked, and part of the light beams of the first photoelectric sensor GS 1 and part of the light beams of the fifth photoelectric sensor are blocked at the same time, it is determined that the passenger is carrying forward luggage;
[0179] When part of the light beam of the fifth photoelectric sensor GS5 is blocked, and the second photoelectric sensor is not blocked, it is determined that the child is passing alone;
[0180] When the partial light beam of the first grating sensor GS1 and the partial light beam of the second grating sensor GS2 are blocked at the same time, and the fifth grating sensor GS5 is not blocked, it is determined that there is an object passing in front of the passenger (such as a backpack in front).
[0181] The S7 further includes a door action processing step, the operation of which includes:
[0182] If the door is in the open state or in the closing action, as long as any light beam in the safety zone is blocked, the door will remain open or perform the door opening action to ensure the safety of pedestrians.
[0183] The step S7 further includes a tailing detection step, the operation of which includes:
[0184] When the 4th beam and subsequent beams of the first grating sensor GS1 are blocked, and part of the beam of the second grating sensor GS2 is blocked, and the distance between the last blocked beam on the first grating sensor GS1 and the first blocked beam on the second grating sensor GS2 is greater than the beam distance (40mm in this embodiment), it is determined that two passengers are passing at the same time. If there is only one card swiping signal in the channel at this time, it is determined to be tailgating and the buzzer alarm is activated.
[0185] The step S8 further includes the steps of offsetting the card swiping signal and closing the door, and the operations thereof include:
[0186] If the passenger passes through the departure zone, the card swipe signal is cancelled and if all beams in the safety zone are not blocked, the door is closed;
[0187] Situation where an adult carries a child: the sixth grating sensor GS6 is used as a grating sensor for detecting height to detect adults. The sixth grating sensor GS6 is not blocked by children when passing through. Therefore, when the light beams of the fifth grating sensor located on the left and right sides of the door are partially blocked, and the partial light beams of the second grating sensor GS2 and the partial light beams of the sixth grating sensor are blocked at the same time, it is determined that an adult is carrying a child through, and the child has entered the departure area, and the card swiping signal is not offset at this time; when the partial light beams of the sixth grating sensor GS6 and the partial light beams of the third grating sensor GS3 are blocked at the same time, it is determined that an adult has entered the departure area, and the card swiping signal is offset at this time. At the same time, if all light beams in the safety zone are not blocked, the door is closed.
[0188] The above technical solution is only one implementation mode of the present invention. For those skilled in the art, it is easy to make various types of improvements or modifications based on the application methods and principles disclosed in the present invention, and it is not limited to the method described in the above specific implementation mode of the present invention. Therefore, the method described above is only preferred and does not have a restrictive meaning.
Claims
1. A grating pass logic device, characterized in that: The grating passage logic device includes: a grating gate, a sensor controller and a GCU circuit board; The grating gate is provided with a grating sensor; the grating sensor is connected to the sensor controller; The GCU circuit board is electrically connected to the sensor controller, the authorization inspection module on the grating gate, and the door controller on the grating gate respectively; The grating gate includes a left gate and a right gate that are symmetrically arranged; the left gate and the right gate are arranged in parallel, and a gate channel is formed between the two; The outside of one end of the gate passage is a non-payment area, and the outside of the other end is a payment area. The gate passage includes, from the non-payment area to the payment area, a detection area, a monitoring area, a safety area, and a departure area; the door is arranged in the middle of the safety area; The gate on each side is provided with a first grating sensor GS1, a second grating sensor GS2, a third grating sensor GS3, and a fourth grating sensor GS4; The first photoelectric sensor GS1 and the fourth photoelectric sensor GS4 are symmetrically arranged on both sides of the door and have the same height. The second photoelectric sensor GS2 and the third photoelectric sensor GS3 are symmetrically arranged on both sides of the door and have the same height. The heights of the two are higher than those of the first photoelectric sensor GS1 and the fourth photoelectric sensor GS4. A fifth photoelectric sensor GS5 and a sixth photoelectric sensor GS6 are provided on the gate on each side; The fifth grating sensor GS5 is arranged directly below the leaf door and is symmetrical about the straight line where the leaf door is located, and its height is lower than that of the first grating sensor GS1 and the fourth grating sensor GS4; The sixth grating sensor GS6 is arranged just above the leaf door and is symmetrical about the straight line where the leaf door is located, and its height is higher than that of the second grating sensor GS2 and the third grating sensor GS3; The first grating sensor GS1 is arranged in a detection area, and the width of the detection area is the same as the length of the first grating sensor GS1; The first 10 beam points of the second grating sensor GS2 are set in the monitoring area, and the last 6 beam points are set in the safety area; The first 6 beam points of the third grating sensor GS3 are set in the safety zone, and the last 10 beam points are set in the departure zone; The last six beam points of the second grating sensor GS2 and the first six beam points of the third grating sensor GS3 are symmetrically arranged on both sides of the door; The projections of the first grating sensor GS1 and the second grating sensor GS2 on the horizontal plane are connected in sequence; The projections of the third grating sensor GS3 and the fourth grating sensor GS4 on the horizontal plane are connected in sequence; The projections of the front section of the fifth grating sensor GS5 and the rear section of the second grating sensor GS2 on the horizontal plane overlap; the projections of the rear section of the fifth grating sensor GS5 and the front section of the third grating sensor GS3 on the horizontal plane overlap; The projections of the front section of the sixth grating sensor GS6 and the rear section of the second grating sensor GS2 on the horizontal plane overlap; the projections of the rear section of the sixth grating sensor GS6 and the front section of the third grating sensor GS3 on the horizontal plane overlap.
2. The raster pass logic device according to claim 1, characterized in that: The grating sensor comprises: a light emitter and a light receiver, wherein the light emitter and the light receiver correspond to each other one by one, the light emitter emits a light beam, and the light receiver corresponding to the light emitter receives the light beam emitted by the light emitter; The light emitter and the light receiver each include a housing, a plurality of light beam points and a control circuit board arranged in the housing; The housing is a closed structure; A window is provided on one side of the housing; The window is closed with a transparent material; The light beam point is fixedly mounted on the inner side of the window, and the light emitted or received by the light beam point can pass through the window; The light beam spots are light beam spots on grating strips or grating bands; The windows are long strips, and at least one light beam bar or light beam belt is installed in each window; Electrical connectors are respectively provided at both ends of the housing; Both ends of the electrical connector are wiring terminals; A signal cable is arranged in the housing; Each beam point is connected to a respective signal cable, and each signal cable is connected to the control circuit board.
3. The raster pass logic device according to claim 2, characterized in that: Doors are provided on the left gate and the right gate; A plurality of long holes are respectively arranged on the housings of the left gate machine and the right gate machine relative to each other; all the long holes are arranged horizontally; The long holes on the left gate and the right gate are symmetrically arranged; At least one of the grating sensors is installed behind each long hole, and the light emitted or received by the light beam points of all the grating sensors behind each long hole can pass through the long hole; Sockets are respectively arranged on the inner surfaces of the housings opposite to the left gate and the right gate, and the electrical connectors at both ends of the grating sensor can be inserted into the sockets; Alternatively, sockets are respectively arranged on the internal frames of the left gate and the right gate, and the electrical connectors at both ends of the grating sensor can be inserted into the sockets.
4. The raster pass logic device according to claim 3, characterized in that: The heights of the first grating sensor GS1 and the fourth grating sensor GS4 from the ground are 750-800 mm; The heights of the second grating sensor GS2 and the third grating sensor GS3 from the ground are 900-1000 mm.
5. The raster pass logic device according to claim 4, characterized in that: The control circuit board in the housing of each grating sensor is connected to the electrical connectors at both ends of the housing, and the electrical connectors of the light emitter and the light receiver are respectively connected to the sensor controller through signal cables; the sensor controller is also connected to a control cable, and the other end of the control cable is divided into two paths, which are respectively connected to the RS485-A interface and the RS485-B interface on the GCU circuit board, and the sensor controller is arranged in the gate where the light emitter or the light receiver is located; Alternatively, a sensor controller is respectively arranged in the housing of the light emitter and the housing of the light receiver; one end of the sensor controller in the housing of the light emitter is connected to the control circuit board in the housing of the light emitter, and the other end is connected to the electrical connector, and the electrical connector of the light emitter is electrically connected to the RS485-A interface on the GCU circuit board; one end of the sensor controller in the housing of the light receiver is connected to the control circuit board in the housing of the light receiver, and the other end is connected to the electrical connector of the light receiver, and the electrical connector of the light receiver is electrically connected to the RS485-B interface on the GCU circuit board; The control circuit board of the grating sensor sends the digital signal to the corresponding sensor controller, and the sensor controller stores the received digital signal and sends the digital signal to the GCU circuit board at the same time.
6. A pass logic method implemented by using the grating pass logic device according to any one of claims 1 to 5, characterized in that: The method comprises: S1, determine whether there is a card swiping signal, if yes, open the door and go to S2, if not, go to S10; S2, determine whether to start timing, if yes, go to S3, if not, start timing; S3, determine whether the card swiping time has timed out, if yes, transfer to S14, if no, transfer to S4; S4, determine whether reverse intrusion occurs, if yes, issue a reverse intrusion alarm and then go to S1, if no, go to S5; S5, determine whether the passenger enters the detection area, if yes, go to S6, if no, go to S1; S6, determine whether the passenger enters the monitoring area, if yes, then go to S7, if no, then go to S1; S7, determine whether the passenger has entered the safety zone, if yes, go to S8, if no, go to S1; S8, determine whether the passenger has passed the departure area, if yes, go to S9, if no, go to S1; S9, determine whether the passenger has left the gate channel, if yes, transfer to S14, if no, transfer to S1; S10, determine whether there is anyone in the detection area, if yes, go to S13, if not, go to S11; S11, determine whether there is anyone in the monitoring area, if yes, then go to S13, if not, then go to S12; S12, determine whether there is anyone in the safety zone, if yes, go to S13, if not, go to S1; S13, issues a ticketless intrusion alarm, and then goes to S1; S14, the passage ends, return to S1.
7. The method according to claim 6, characterized in that: The operation of determining whether reverse intrusion occurs in S4 includes: Determine whether the last three light beams of the fourth grating sensor GS4 are blocked, if yes, it is determined that reverse intrusion has occurred, if not, it is determined that reverse intrusion has not occurred; The S4 further comprises: If a reverse intrusion occurs and all light beams in the safety zone are not blocked, the door will be closed and the buzzer alarm will be activated; If a reverse intrusion occurs and the light beam in the safety zone is partially blocked, the buzzer alarm will be activated.
8. The method according to claim 6, characterized in that: The operations of determining whether a passenger has entered the detection area in S5 and determining whether there is someone in the detection area in S10 both include: Determine whether part of the light beam in the first grating sensor GS1 is blocked. If yes, it is determined that the passenger has entered the detection area or there is someone in the detection area. If no, it is determined that the passenger has not entered the detection area or there is no one in the detection area. The operations of determining whether a passenger has entered the monitoring area in S6 and determining whether there is someone in the monitoring area in S11 include: Determine whether some of the first 10 light beams in the second grating sensor GS2 are blocked. If yes, it is determined that the passenger has entered the monitoring area or there is someone in the monitoring area. If no, it is determined that the passenger has not entered the monitoring area or there is no one in the monitoring area. The operations of determining whether a passenger has entered the safety zone in S7 and determining whether there is anyone in the safety zone in S12 include: Determine whether part of the last six light beams of the second grating sensor are blocked. If so, it is determined that the passenger has entered the safety zone or there is someone in the safety zone; if not, it is determined that the passenger has not entered the safety zone or there is no one in the safety zone; The operation of determining whether the passenger has passed through the departure area in S8 includes: When judging whether part of the last 10 light beams of the third grating sensor GS3 and part of the light beam of the fourth grating sensor GS4 are blocked at the same time, if yes, it is judged that the passenger has passed through the departure area; if no, it is judged that the passenger has not passed through the departure area; The operation of determining whether the passenger has left the gate passage in S9 includes: Determine whether the light beams on all grating sensors are not blocked. If so, it is determined that the passenger has left the gate channel. If not, it is determined that the passenger has not left the gate channel.
9. The method according to claim 6, characterized in that: The step S5 further includes a step of detecting the width of passengers in the detection area, and the operation thereof includes: From the light beam blocked by the first grating sensor GS1, find the light beam point Aj blocked by the front end of the passenger and the light beam point Ai blocked by the rear end of the passenger. Then the width of the passenger is: (ji)*beam spacing; The step S6 further includes the step of identifying adults, luggage and children in the monitoring area, and the operation thereof includes: When part of the first 10 beams of the second grating sensor GS2 and part of the beam of the fifth grating sensor GS5 are blocked, and the width of the passenger calculated based on the number of blocked beam points of the second grating sensor GS2 meets the width of an adult, the passenger is determined to be an adult; When all the light beams of the second photoelectric sensor GS2 are not blocked, and part of the light beams of the first photoelectric sensor GS1 and part of the light beams of the fifth photoelectric sensor are blocked at the same time, it is determined that the passenger is carrying forward luggage; When part of the light beam of the fifth photoelectric sensor GS5 is blocked, and the second photoelectric sensor is not blocked, it is determined that the child is passing alone; When the partial light beam of the first grating sensor GS1 and the partial light beam of the second grating sensor GS2 are blocked at the same time, and the fifth grating sensor GS5 is not blocked, it is determined that an object has passed in front of the passenger; The S7 further includes a door action processing step, the operation of which includes: If the door is in the open state or in the closing action, as long as any light beam in the safety zone is blocked, the door will remain open or perform the door opening action; The step S7 further includes a tailing detection step, the operation of which includes: When the fourth beam and subsequent beams of the first grating sensor GS1 are blocked, and part of the beam of the second grating sensor GS2 is blocked, and the distance between the last blocked beam on the first grating sensor GS1 and the first blocked beam on the second grating sensor GS2 is greater than the distance between the beams, it is determined that two passengers are passing at the same time. If there is only one card swiping signal in the channel at this time, it is determined to be tailgating and the buzzer alarm is activated; The step S8 further includes the steps of offsetting the card swiping signal and closing the door, and the operations thereof include: If the passenger passes through the departure zone, the card swipe signal is cancelled and if all beams in the safety zone are not blocked, the door is closed; If the parts of the fifth grating sensor GS 5 located on the left and right sides of the door are partially blocked, and the partial beams of the second grating sensor GS2 and the partial beams of the sixth grating sensor are blocked at the same time, it is determined that an adult is carrying a child through, and the child has entered the departure area, and the card swiping signal is not offset at this time; when the partial beam of the sixth grating sensor GS6 and the partial beam of the third grating sensor GS3 are blocked at the same time, it is determined that an adult has entered the departure area, and the card swiping signal is offset at this time, and if all the beams in the safety zone are not blocked, the door is closed.
