Long-distance quick response grating system

By designing a slave module and a master module with a central symmetric distribution in the infrared grating system, combined with the infrared scanning control method, the problems of short distances and long scanning periods in the existing technology are solved, and long-distance fast response and high-precision data acquisition are achieved.

CN119511399APending Publication Date: 2025-02-25NINGBO YISHITONG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411537854.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-31
Publication Date
2025-02-25

AI Technical Summary

Technical Problem

In long-distance applications, existing infrared grating systems have technical defects such as short application distance, long scanning period, and large data volume that cannot be transmitted, and it is difficult to meet the high-precision data acquisition needs such as 100m runway coverage.

Method used

A long-distance fast response grating system is designed, including a master station module and 2n slave station modules. The 2n slave station modules are distributed symmetrically in the center, forming a series link in series. Each slave module is equipped with an infrared transmitting device and an infrared receiving device, which realizes point-to-point infrared emission through infrared scanning control, and the main station module performs clock synchronization management and data communication.

Benefits of technology

It realizes long-distance transmission, overcomes the technical defects of short application distance, and can complete 100m infrared grating data detection within 1ms, achieving fast response and high-precision data acquisition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119511399A_ABST
    Figure CN119511399A_ABST
Patent Text Reader

Abstract

The invention relates to a long-distance quick response grating system, which is characterized in that 2n slave station modules are arranged, and the 2n slave station modules are connected in series to form a series link and are distributed in a central symmetry manner, so that long-distance transmission can be realized, and the technical defect of short application distance in the prior art is overcome. Moreover, an infrared transmitting device and an infrared receiving device are arranged on each slave station module, so that the transmitting module and the receiving module are not distinguished by infrared emission, the infrared emission and the infrared receiving can be distributed at intervals, and all the slave station modules are distributed in a central symmetry manner, so that the infrared emission corresponds to the infrared receiving on the other side.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of infrared grating and communication technology, and in particular to a long-distance fast-response grating system. Background Art

[0002] Infrared barrier systems usually consist of a transmitter and a receiver. The transmitter emits an infrared beam and the receiver receives these beams. When an object enters the beam path, it blocks part or all of the beam, triggering a signal change to achieve dynamic detection.

[0003] The infrared grating system in the prior art generally uses a short-distance solution. The detection length is generally less than 1m, and the number of infrared points is between dozens and hundreds, which cannot meet some special application scenarios. For example: the infrared grating achieves 100m runway coverage and records the data of athletes triggering the infrared grating during the entire 100-meter movement. The collected data can be used to analyze the athlete's step frequency, stride, speed and other motion data. This application requires that the grating response speed needs to keep up with the athlete's speed, and the 100m runway infrared grating data detection needs to be completed within 1ms. Assuming that the infrared point interval is 96 points / m, then 9600 points of infrared grating scanning need to be completed within 1ms. Therefore, the infrared grating system in the prior art is difficult to adapt to such scenarios.

[0004] At the same time, the existing infrared grating system has a short application distance and uses a single master control mode, with a central processor directly controlling the transmission and reception, without synchronization and without the need to transmit a large amount of data. However, in long-distance application scenarios with a distance greater than 1m, a single master control cannot directly control all points. Although long-distance applications can be achieved through multiple cascades of infrared gratings, there are technical defects such as long scanning cycles and too much data to be transmitted. Summary of the invention

[0005] The technical problem to be solved by the present invention is how to overcome the technical defects of the infrared grating system in the prior art, such as short application distance, long scanning cycle, and too large data volume to be transmitted. In order to overcome the above defects of the prior art, the present invention provides a long-distance fast-response grating system.

[0006] The present invention provides a long-distance fast-response grating system, comprising a master station module and 2n slave station modules, wherein the 2n slave station modules are centrally symmetrically distributed and connected in series via communication to form a series link;

[0007] The slave station module located at the first position is in communication connection with the master station module, the first n slave station modules are at the master side, and the last n slave station modules are at the slave side;

[0008] The master station module is configured to monitor the status of each slave station module according to a management cycle and perform clock synchronization management on each slave station module, control the operation of each slave station module and periodically perform data communication with each slave station module;

[0009] Each of the slave station modules is provided with m groups of transceiver devices, and each group of the transceiver devices is composed of an infrared transmitting device and an infrared receiving device;

[0010] Each of the slave station modules is configured to periodically control the infrared sending device set thereon to send infrared light signals and the infrared receiving device to receive infrared light signals in an infrared scanning control manner, and obtain analysis results based on the infrared light signals received by the infrared receiving device in each cycle and transmit the analysis results to the master station module.

[0011] The long-distance fast-response grating system disclosed in the present invention aims at the technical problem of the present invention. By setting 2n slave station modules, the 2n slave station modules are connected in series to form a series link and are centrally symmetrically distributed, so that long-distance transmission can be achieved, overcoming the technical defect of the short application distance of the prior art. In addition, by setting an infrared sending device and an infrared receiving device on the slave station module, the infrared shooting does not distinguish between the sending module and the receiving module, and the infrared emission and the infrared reception can be distributed at intervals, and all the slave station modules are centrally symmetrically distributed, so that the infrared shooting and the infrared reception on the other side can correspond. Since the slave station modules are connected in series head to tail, the infrared shooting uses a point-to-point scanning mode. Through the control and management of the master station module, not only can the points not affect each other, but also the clock can be accurately synchronized, and the infrared trigger can respond quickly.

[0012] In a possible implementation, the master station module includes a central processing unit and a network physical connection unit, the central processing unit is electrically connected to the network physical connection unit, and the network physical connection unit is communicatively connected to the slave station module located in the first position; thereby providing hardware protection for the master station module and ensuring the efficient operation of the master station module.

[0013] In a possible implementation manner, the port through which the network physical connection unit communicates with the slave station module is an Ethernet physical port; this solution can ensure smooth communication.

[0014] In a possible implementation, the central processing unit is configured to perform the following steps:

[0015] A1: reading the slave station information of each slave station module currently communicating with it, obtaining the number of the slave station modules, and sending configuration information to each slave station module so that each slave station module obtains the link position information where it is located;

[0016] A2: Take the current moment as the starting moment of the current management cycle;

[0017] A3: Performing synchronous clock control on each of the slave modules to manage the local reference clock, and sending reference clock data to each of the slave modules;

[0018] A4: performing data interaction with each of the slave station modules to obtain analysis results obtained by each of the slave station modules;

[0019] A4: taking the start time of the next management cycle as the starting point of the current management cycle, and then returning to execute step A2;

[0020] This solution can achieve precise clock synchronization, further ensuring rapid response to infrared triggers, and obtaining and integrating analysis results.

[0021] In a possible implementation, all of the slave modules include a slave central processor, and the connection port of the slave central processor includes a first network port and a second network port, the first network port is linked to communicate with the second network port of the previous slave module in the series link to achieve the functions of receiving downlink data and sending uplink data. The second network port is linked to communicate with the first network port of the next slave module in the series link to achieve the functions of sending downlink data and receiving uplink data.

[0022] In a possible implementation manner, the slave station central processor is configured to perform the following steps:

[0023] B1: Obtain the link position of the slave module to which it belongs;

[0024] B2: receiving the reference clock data sent by the master station module, calculating the delay according to the link position of the slave station module to which it belongs and the currently obtained reference clock data, and performing dynamic clock compensation according to the delay to determine the cycle starting time;

[0025] B3: At the start of the cycle, the infrared sending device is called to send an infrared light signal in an infrared scanning control mode;

[0026] B4: calling the infrared receiving device to receive the infrared light signal, and obtaining an analysis result according to the infrared light signal received by the infrared receiving device and transmitting the analysis result to the main station module, and then returning to execute step B2;

[0027] This solution can achieve synchronous scanning timing control of the infrared transmitter, so that points do not affect each other, realize multi-point scanning, and improve scanning speed.

[0028] In a possible implementation, step S31 includes the following steps:

[0029] B31: numbering the m infrared sending devices connected to the central processor of the slave station and dividing them into L groups, each with s devices, wherein the numbering of the i-th group is (i-1)s+1, (i-1)s+2, ..., is, i=1, 2, ..., L;

[0030] B32: selecting one of the infrared sending devices from the first group as the current sending device, and obtaining the number corresponding to the current sending device;

[0031] B33: Determine the corresponding group of the current sending device; specifically, the corresponding group of the current sending device numbered j is j, j+s, j+2s, ..., j+(L-1)s, j=1, 2, ..., s;

[0032] B34: calling all the infrared sending devices in the corresponding group of the current sending device to send infrared light, so as to send a calling instruction to receive corresponding infrared light signals to the slave station modules where the infrared receiving devices corresponding to all the infrared sending devices in the corresponding group are located;

[0033] B35: Determine whether all the infrared sending devices in the first group have been traversed;

[0034] If so, it is deemed that the infrared sending device has been called to send the infrared light signal;

[0035] If not, then the next infrared sending device is retrieved from the first group as the current sending device, and the number corresponding to the current sending device is obtained, and then the step B33 is executed again;

[0036] This solution can scan all infrared point data in sequence under clock synchronization, realize data interaction with the main station module, and upload measurement data.

[0037] In a possible implementation, the infrared sending device includes high and low level output ends, an infrared LED drive circuit and an infrared transmitting tube, the high and low level output ends are electrically connected to the slave station central processor, the infrared LED drive circuit is electrically connected to the high and low level output ends, and the infrared transmitting tube is electrically connected to the infrared LED drive circuit; thus, after receiving the call signal sent by the slave station central processor, the high and low level output ends send a high or low level to the infrared LED drive circuit, so as to drive the infrared LED drive circuit to drive the infrared transmitting tube to send an infrared signal.

[0038] In a possible implementation, the infrared receiving device includes a phototransistor, a comparator circuit and high and low level input terminals, the comparator circuit is electrically connected to the phototransistor, the high and low level input terminals are electrically connected to the comparator circuit, and the slave station central processor is electrically connected to the high and low level input terminals; thus, the phototransistor can convert the received infrared signal into an electrical signal and transmit it to the comparator circuit, which forms a high level or a low level according to the specific situation, and finally transmits it back to the slave station central processor through the high and low level input terminals. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 A schematic diagram of the structure of a long-distance fast-response grating system disclosed in an embodiment of the present application;

[0040] Figure 2 This is a schematic diagram of the internal chip structure of the master station module disclosed in the embodiments of the present application;

[0041] Figure 3 A schematic diagram of the internal structure of a slave station module disclosed in an embodiment of the present application;

[0042] Figure 4 A schematic diagram of a circuit structure inside the infrared transmitting device and the infrared receiving device disclosed in the embodiment of the present application;

[0043] Figure 5 The operation process of the master station module and the slave station module disclosed in the embodiment of the present application;

[0044] Figure 6 This is a flow chart corresponding to the infrared scanning control method disclosed in the embodiment of the present application;

[0045] Figure 7 It is a slave station module located on the master side and its corresponding slave station module structure located on the slave side disclosed in an embodiment of the present application. DETAILED DESCRIPTION

[0046] First, those skilled in the art should understand that these implementations are only used to explain the technical principles of the embodiments of the present application, and are not intended to limit the protection scope of the embodiments of the present application. Those skilled in the art can make adjustments to them as needed to adapt to specific application scenarios.

[0047] In the description of the embodiments of the present application, it should be noted that, unless otherwise clearly specified and limited, the terms "electrical connection" and "electrical connection relationship" should be understood in a broad sense, that is, referring to a connection method with an electrical relationship, for example, it can be a circuit connection achieved through a wire, or it can be an electrical connection achieved through a radio signal channel (channel), or a combination of the two. In addition, "electrical connection" and "electrical connection relationship" can be based on mechanical connection (such as a wire set in a connection key); it can be a direct connection or an indirect connection through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms in the embodiments of the present application can be understood according to specific circumstances. The communication connection means that the two connected parties have a signal transmission relationship, which can be an electrical connection through equipment such as a cable, or communication achieved through a channel.

[0048] The present application will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0049] The embodiment of the present application discloses a long-distance fast-response grating system, comprising a master station module and 2n slave station modules, the 2n slave station modules are centrally symmetrically distributed and connected in series via communication connection to form a series link; the slave station module located in the first position is communicatively connected to the master station module, the first n slave station modules are on the master side, and the last n slave station modules are on the slave side; the master station module is configured to monitor the status of each slave station module according to a management cycle and perform clock synchronization management on each slave station module, control the operation of each slave station module and periodically establish data communication connection with each of the slave station modules; each slave station module is provided with m groups of transceiver devices, each group of transceiver devices is composed of an infrared transmitting device and an infrared receiving device; each slave station module is configured to periodically control the infrared transmitting device arranged thereon to send infrared light signals and the infrared receiving device to receive infrared light signals in an infrared scanning control mode, and obtain analysis results according to the infrared light signals received by the infrared receiving device in each cycle and transmit the analysis results to the master station module.

[0050] See also Figure 1-Figure 6 As shown below, taking the 100m length application as an example, the top-down design is adopted, with the primary side located at the top and the secondary side located at the bottom. Figure 1 The schematic diagram of the structure of the long-distance fast-response grating system in this scenario is shown in Figure 2. Figure 1 As shown, the entire system consists of 1 master station module and 200 slave station modules. The slave station modules are connected in series. In particular, the 100th slave station module and the 101st slave station module can be connected using a communication cable. The first 100 slave station modules are at the top (master side), and the last 100 slave station modules are at the bottom (slave side). The master side structure and the slave side structure are centrally symmetrical.

[0051] See also Figure 2As shown, in this embodiment, the communication between the master station module and each slave station module uses Ethernet as the physical port, and the communication protocol can be customized. The communication protocol is divided into the master station protocol design and the slave station protocol design. The master station module includes a central processing unit and a network physical connection unit. The central processing unit is electrically connected to the network physical connection unit, and the network physical connection unit is communicatively connected to the slave station module located in the first position. The port for the network physical connection unit to communicate with the slave station module is an Ethernet physical port. The master station module only needs one Ethernet port, and the slave station module needs two Ethernet ports. The master station module only needs one central processing unit that supports network communication. The chip model used by the central processing unit in this embodiment is the MIMXRT1061 chip, and the chip model used by the network physical connection unit is YT8512. Its structural diagram is shown as follows Figure 2 shown.

[0052] Figure 3 The schematic diagram of the internal structure of a slave module in this embodiment is shown in FIG. 1 . All slave modules include a slave central processor, and the connection port of the slave central processor includes a first network port and a second network port. The first network port communicates with the second network port of the previous slave module in the series link to realize the functions of receiving downlink data and sending uplink data. The second network port communicates with the first network port of the next slave module in the series link to realize the functions of sending downlink data and receiving uplink data. Figure 3 As shown, in the application scenario with a length of 100m, this embodiment sets m=48, and each slave station module needs to use dual network ports, which are implemented using a field programmable gate array (FPGA). The implementation of the custom protocol is relatively flexible. The chip model used in the internal chip of the slave station central processor in this embodiment is the EG4X20BG256 chip.

[0053] See also Figure 3 and 4 As shown, in this embodiment, the infrared sending device includes high and low level output terminals, an infrared LED driving circuit and an infrared transmitting tube, the high and low level output terminals are electrically connected to the slave station central processor, the infrared LED driving circuit is electrically connected to the high and low level output terminals, and the infrared transmitting tube is electrically connected to the infrared LED driving circuit. Correspondingly, the infrared receiving device includes a phototransistor, a comparator circuit and high and low level input terminals, the comparator circuit is electrically connected to the phototransistor, the high and low level input terminals are electrically connected to the comparator circuit, and the slave station central processor is electrically connected to the high and low level input terminals. Figure 4The left part shows the infrared transmitting circuit composed of high and low level output terminals, infrared LED driving circuit and infrared transmitting tube inside the infrared transmitting device used in this embodiment, and the right part shows the infrared receiving circuit composed of phototransistor, comparator circuit and high and low level input terminals. When the transmitting end outputs a high level, the infrared lamp LD1 lights up and emits infrared light. The photodiode Q1 senses the infrared light and performs photoelectric conversion to generate current. The current flows through R2 to generate a high voltage. The voltage is compared with the threshold voltage VREF by the U1 comparator and is finally confirmed as the output high level. On the contrary, when the control output is low or the light path between the infrared transmission and the infrared reception is blocked, it will be confirmed as the output low level. That is, when the transmitting end outputs a high level and the control input detects a low level, it means that the light path is blocked, and it is recorded as the point is triggered. On the contrary, if the output is high level and the high level is detected, it means that the light path is not blocked, and it is recorded as the point is not triggered.

[0054] See also Figure 5 As shown, Figure 5 The left part is the operation process of the master station module, and the right part is the operation process of a slave station. The core of the master station module is the central processing unit. In this embodiment, the central processing unit is configured to execute the following steps:

[0055] A1: Read the slave information of each slave module currently communicating with it, obtain the number of slave modules, and send configuration information to each slave module so that each slave module can obtain the link position information where it is located.

[0056] A2: Take the current moment as the starting point of the current management cycle.

[0057] A3: Perform synchronous clock control on each slave module to manage the local reference clock, and send reference clock data to each slave module.

[0058] A4: Perform data interaction with each slave module to obtain the analysis results obtained by each slave module.

[0059] A4: Set the start time of the next management cycle as the starting point of the current management cycle, and then return to step A2.

[0060] Accordingly, see Figure 5 As shown, the slave CPU is configured to perform the following steps:

[0061] B1: Obtain the link position of the slave module to which it belongs.

[0062] B2: Receive the reference clock data sent by the master module, calculate the delay according to the link position of the slave module to which it belongs and the currently obtained reference clock data, and perform dynamic clock compensation according to the delay to determine the cycle start time. The method of calculating the delay is the existing technology and will not be extended here.

[0063] B3: At the beginning of the cycle, the infrared sending device is called to send infrared light signals in an infrared scanning control mode.

[0064] B4: Call the infrared receiving device to receive the infrared light signal, obtain the analysis result according to the infrared light signal received by the infrared receiving device and transmit the analysis result to the main station module, and then return to execute step B2.

[0065] Figure 7 The structure of a slave module located on the master side and its corresponding slave module located on the slave side is shown. Since the whole is centrally symmetrical, the two slave modules are naturally centrally symmetrical. The two contain a total of 96 opposing points. Each slave module contains 48 infrared transmitters T1-T48 and 48 infrared receivers R1-R48.

[0066] See also Figure 6 and Figure 7 As shown, in this embodiment, the central processor of the slave station is configured to call the infrared sending device to send the infrared light signal in an infrared scanning control mode including the following steps:

[0067] B31: The m infrared sending devices connected to the slave station central processor are numbered and divided into L groups, each with s devices, where the number of the i-th group is (i-1)s+1, (i-1)s+2, ..., is, i=1, 2, ..., L. In the scenario set in this embodiment, m=48, L=3, s=16.

[0068] B32: select an infrared sending device from the first group as the current sending device, for example, select the one numbered T1, and obtain the number corresponding to the current sending device.

[0069] B33: Determine the corresponding group of the current sending device; specifically, the corresponding group for the current sending device numbered j is j, j+s, j+2s, ..., j+(L-1)s, j=1, 2, ..., s.

[0070] B34: Call all infrared sending devices in the corresponding group of the current sending device to send infrared light, so as to send a call instruction to receive the corresponding infrared light signal to the slave module where the infrared receiving devices corresponding to all infrared sending devices in the corresponding group are located. The corresponding group numbered T1 is T1, T17, T33. When the master side scans the infrared lights of T1, T17, and T33, the corresponding infrared receiving points of the slave side are R48, R32, and R16. Similarly, when the slave side turns on the three infrared lights of T1, T17, and T33, the corresponding infrared receiving points of the slave side are also R48, R32, and R16.

[0071] B35: Determine whether all infrared sending devices in group 1 have been traversed;

[0072] If so, it is deemed that the infrared sending device has been called to send the infrared light signal;

[0073] If not, the next infrared sending device is retrieved from the first group as the current sending device, and the number corresponding to the current sending device is obtained, and then the process returns to execute step B33.

[0074] The long-distance fast-response grating system disclosed in this embodiment is configured with 2n slave modules, which are connected in series to form a series link and are centrally symmetrically distributed, so as to facilitate long-distance transmission and overcome the technical defect of the prior art that the application distance is short. In addition, by arranging an infrared transmitting device and an infrared receiving device on the slave module, the infrared irradiation does not distinguish between the transmitting module and the receiving module, and the infrared transmitting and the infrared receiving can be distributed at intervals, and all the slave modules are centrally symmetrically distributed, so that the infrared irradiation and the infrared receiving on the other side correspond to each other. Since the slave modules are connected in series end to end, the infrared irradiation uses a point-to-point scanning mode, and through the control and management of the master module, the clock is precisely synchronized, so that all the slave modules are synchronously scanned, and the multi-point infrared equidistant synchronous scanning function is realized, which can not only achieve no influence between points, but also achieve rapid scanning of all points.

[0075] In the description of the embodiments of the present application, it should be noted that in the description of the present application, terms such as "inside" and "outside" indicating directions or positional relationships are based on the directions or positional relationships shown in the drawings. This is only for the convenience of description, and does not indicate or imply that the device or component must have a specific orientation, be constructed and operated in a specific orientation. Therefore, it cannot be understood as a limitation on the present application.

[0076] In the description of the present application, the description with reference to the terms "one embodiment", "some embodiments", "in the present embodiment", "specific example", or "some examples" etc. means that the specific features, mechanisms, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, mechanisms, materials or characteristics described may be combined in a suitable manner in any one or more embodiments or examples. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0077] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A long-distance fast-response grating system, characterized in that: It comprises a master station module and 2n slave station modules, wherein the 2n slave station modules are centrally symmetrically distributed and connected in series via communication to form a series link; The slave station module located at the first position is in communication connection with the master station module, the first n slave station modules are at the master side, and the last n slave station modules are at the slave side; The master station module is configured to monitor the status of each slave station module according to a management cycle and perform clock synchronization management on each slave station module, control the operation of each slave station module and periodically perform data communication with each slave station module; Each of the slave station modules is provided with m groups of transceiver devices, and each group of the transceiver devices is composed of an infrared transmitting device and an infrared receiving device; Each of the slave station modules is configured to periodically control the infrared sending device set thereon to send infrared light signals and the infrared receiving device to receive infrared light signals in an infrared scanning control manner, and obtain analysis results based on the infrared light signals received by the infrared receiving device in each cycle and transmit the analysis results to the master station module.

2. The long-distance fast-response grating system according to claim 1, characterized in that: The master station module comprises a central processing unit and a network physical connection unit, wherein the central processing unit is electrically connected to the network physical connection unit, and the network physical connection unit is communicatively connected to the slave station module located at the first position.

3. The long-distance fast-response grating system according to claim 2, characterized in that: The port through which the network physical connection unit communicates with the slave station module is an Ethernet physical port.

4. The long-distance fast-response grating system according to claim 2 or 3, characterized in that: The central processing unit is configured to perform the following steps: A1: reading the slave station information of each slave station module currently communicating with it, obtaining the number of the slave station modules, and sending configuration information to each slave station module so that each slave station module obtains the link position information where it is located; A2: Take the current moment as the starting moment of the current management cycle; A3: Performing synchronous clock control on each of the slave modules to manage the local reference clock, and sending reference clock data to each of the slave modules; A4: performing data interaction with each of the slave station modules to obtain analysis results obtained by each of the slave station modules; A4: Take the start time of the next management cycle as the starting point of the current management cycle, and then return to execute step A2.

5. The long-distance fast-response grating system according to claim 4, characterized in that: All the slave modules include a slave central processor, and the connection port of the slave central processor includes a first network port and a second network port, wherein the first network port is linked to and communicated with the second network port of the previous slave module in the series link to realize the functions of receiving downlink data and sending uplink data. The second network port is linked to and communicated with the first network port of the next slave module in the series link to realize the functions of sending downlink data and receiving uplink data.

6. The long-distance fast-response grating system according to claim 5, characterized in that: The slave station central processor is configured to perform the following steps: B1: Obtain the link position of the slave module to which it belongs; B2: receiving the reference clock data sent by the master station module, calculating the delay according to the link position of the slave station module to which it belongs and the currently obtained reference clock data, and performing dynamic clock compensation according to the delay to determine the cycle starting time; B3: At the start of the cycle, the infrared sending device is called to send an infrared light signal in an infrared scanning control mode; B4: calling the infrared receiving device to receive the infrared light signal, and obtaining the analysis result according to the infrared light signal received by the infrared receiving device and transmitting the analysis result to the main station module, and then returning to execute the step B2.

7. The long-distance fast-response grating system according to claim 6, characterized in that: The step B3 comprises the following steps: B31: numbering the m infrared sending devices connected to the central processor of the slave station and dividing them into L groups, each with s devices, wherein the numbering of the i-th group is (i-1)s+1, (i-1)s+2, ..., is, i=1, 2, ..., L; B32: selecting one of the infrared sending devices from the first group as the current sending device, and obtaining the number corresponding to the current sending device; B33: Determine the corresponding group of the current sending device; specifically, the corresponding group of the current sending device numbered j is j, j+s, j+2s, ..., j+(L-1)s, j=1, 2, ..., s; B34: calling all the infrared sending devices in the corresponding group of the current sending device to send infrared light, so as to send a calling instruction to receive corresponding infrared light signals to the slave station modules where the infrared receiving devices corresponding to all the infrared sending devices in the corresponding group are located; B35: Determine whether all the infrared sending devices in the first group have been traversed; If yes, it is deemed that the infrared sending device has been called to send the infrared light signal; If not, the next infrared sending device is retrieved from the first group as the current sending device, and the number corresponding to the current sending device is obtained, and then the process returns to execute step B33.

8. The long-distance fast-response grating system according to claim 6 or 7, characterized in that: The infrared sending device includes high and low level output ends, an infrared LED driving circuit and an infrared transmitting tube. The high and low level output ends are electrically connected to the slave station central processor, the infrared LED driving circuit is electrically connected to the high and low level output ends, and the infrared transmitting tube is electrically connected to the infrared LED driving circuit.

9. The long-distance fast-response grating system according to claim 9, characterized in that: The infrared receiving device comprises a phototransistor, a comparator circuit and high and low level input terminals, the comparator circuit is electrically connected to the phototransistor, the high and low level input terminals are electrically connected to the comparator circuit, and the slave station central processor is electrically connected to the high and low level input terminals.