On-line diagnosis method, system and equipment for underground positioning instrument and medium of on-line diagnosis method, system and equipment
By introducing online diagnostic methods into the downhole positioner, the installation and debugging of the positioning sub-station in the downhole environment and the adaptation of the interconnection protocol is realized, which solves the complex problems of the installation and maintenance of the positioning sub-station in the downhole environment, and improves the positioning accuracy and debugging efficiency.
Patent Information
- Application Number
- CN202411190874.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-28
- Publication Date
- 2024-12-06
AI Technical Summary
The downhole positioning system has complex installation and maintenance of the positioning substation in complex environments, and cannot be adapted and debugged on the ground in the downhole environment, resulting in cumbersome debugging and inefficient debugging.
Provide an online diagnostic method for downhole positioners, which enables data interaction between the terminal equipment and the positioner by setting three working modes (positioning mode, station mode and debug mode), and supports coverage evaluation in the downhole environment. Debugging and intercom protocol.
The installation, debugging and maintenance of positioning sub-stations are simplified, positioning accuracy and debugging efficiency are improved, and positioning sub-stations in the underground environment can be quickly adapted to meet the positioning needs of downhole personnel and equipment.
Smart Images

Figure CN119083980A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of UWB positioning technology, and in particular to an online diagnosis method, system, equipment and medium thereof for a downhole locator. Background Art
[0002] The underground locator is a device widely used in underground working environments such as coal mines. It is mainly used to collect the location information of underground workers and equipment in real time, and provide real-time data support for production scheduling, safety management, emergency rescue, etc.
[0003] The downhole locator system usually includes the following main parts:
[0004] Downhole locators, which are carried by underground personnel, can send precise signals so that they can be identified and located by the system. Downhole locators mostly use ultra-wideband (UWB) technology to achieve high-precision positioning.
[0005] The positioning substation receives the signal sent by the downhole locator and transmits it to the ground monitoring center. The positioning substation needs to be installed correctly to ensure stable signal transmission.
[0006] The intelligent control system, as the core of the underground positioning system, can receive, process, analyze and store the location information of all underground personnel, and provide real-time data support for management personnel.
[0007] In order to achieve accurate positioning of UWB underground, the number of positioning substations installed has increased significantly. However, the particularity and complexity of the underground environment, the installation location of the positioning substation, the installation direction and spacing of the positioning antenna, the corrosion of the antenna connector and other factors have a serious impact on the positioning effect. Therefore, there is a need to evaluate the actual coverage of the positioning substation during the installation and daily maintenance of the positioning substation. In addition, large energy groups (such as Shenhua Coal Group) have personnel and equipment for operation and maintenance and comprehensive mining face relocation and reversal, which need to be carried out in various mines for mobile operations. Only by ensuring the interconnection and interoperability of the wireless air protocol of the underground positioning system related equipment can the same set of personnel positioning cards, information mining lamps, and vehicle positioning cards and other equipment be used normally in different mines. Before use, they must be adapted and debugged according to the interconnection and interoperability protocol. Since general professional instruments and equipment cannot be directly applied to the underground environment for on-site adaptation and debugging, they need to be debugged on the well and then taken to the well to test whether the interconnection and interoperability protocol is adapted. If it is not adapted, it is debugged on the well until the interconnection and interoperability protocol is adapted, resulting in a complex debugging process, inconvenience in use, and slow debugging efficiency. Summary of the invention
[0008] The present invention aims to solve at least one of the technical problems existing in the prior art.
[0009] To this end, the present invention provides an online diagnostic method for a downhole locator, which can not only realize downhole positioning, but also debug and maintain the positioning substation online, and can be applied to the downhole environment for on-site adaptation and debugging. The debugging process is simple, easy to use, and efficient.
[0010] An online diagnosis method for a downhole locator according to an embodiment of the present invention includes:
[0011] The user selects the working mode of the locator on the software function interface of the terminal device according to the needs, wherein the working modes of the locator include: positioning mode, station mode and debugging mode;
[0012] When the working mode is the positioning mode, the locator sends a UWB positioning signal, the positioning substation receives the UWB positioning signal, and transmits the UWB positioning signal to the ground monitoring center to realize the positioning of underground personnel;
[0013] When the working mode is the station measurement mode, the locator obtains the distance information between the locator and the positioning substation, and transmits the distance information to the terminal device to evaluate the coverage of the positioning substation;
[0014] When the working mode is the debugging mode, the locator obtains and executes the UWB parameters of the terminal device, the locator enters the monitoring mode, monitors and processes the air messages, and transmits the processed air messages to the terminal device, so as to realize the debugging and adaptation of the underground interconnection protocol.
[0015] The beneficial effect of the present invention is that the online diagnostic method for the downhole locator of the present invention sets three working mode options for the locator through data interaction between the locator and the terminal device. In the positioning mode, the downhole personnel wearing the locator can realize positioning. In the measuring station mode, the downhole positioning substation can be installed, debugged and maintained daily to ensure that the actual coverage of the positioning substation can meet the requirements to improve the accuracy of positioning; in the debugging mode, it can be applied to the downhole environment for on-site adaptation and debugging, and the on-site adaptation and debugging process is simple, easy to use, and the debugging efficiency is high.
[0016] According to an embodiment of the present invention, the terminal device is connected to the locator via a wireless signal to implement switching of the working mode of the locator and data interaction.
[0017] According to one embodiment of the present invention, evaluating the coverage of a positioning substation includes the following steps:
[0018] Switching the working mode of the locator to the station mode, and loading the downhole map to the terminal device;
[0019] The locator performs TOF distance measurement with the positioning substation to obtain distance information between the locator and the positioning substation;
[0020] The locator transmits the distance information to the terminal device;
[0021] The terminal device receives the distance information, determines the positional relationship between the locator and the positioning substation based on the distance information, and displays the position of the locator on the underground map;
[0022] Collect statistics of all positioning data in station mode and generate heat maps;
[0023] The coverage of the positioning substation is evaluated based on the heat map.
[0024] According to one embodiment of the present invention, the underground interconnection protocol debugging and adaptation includes the following steps:
[0025] Switching the working mode of the locator to a debugging mode;
[0026] Setting UWB parameters in the software function interface of the terminal device and sending the UWB parameters to the locator; wherein,
[0027] The UWB parameters include channel code, pulse repetition frequency, RX preamble, TX preamble, data rate and PHR mode;
[0028] The locator receives and validates the UWB parameters, and the locator enters a constant receiving monitoring mode to obtain circular queue data;
[0029] Setting or updating the analysis conditions on the terminal device, and transmitting the analysis conditions to the locator;
[0030] The locator processes the circular queue data based on the analytical conditions, and transmits the circular queue data meeting the requirements to the terminal device;
[0031] The terminal device receives and displays the circular queue data, and the circular queue data includes:
[0032] Message frame information, including the content of the message frame and the length of the message frame;
[0033] A sequence number, which is incremented by 1 for each message frame received by the locator in the monitoring mode;
[0034] A receiving timestamp, wherein the receiving timestamp is the time when the locator receives the message frame;
[0035] The terminal device analyzes the circular queue data, determines the continuity between the observed messages based on the output of the sequence number, calculates the difference in receiving timestamps between adjacent message frames, and determines whether the time slot processing of the ranging message interaction process is normal;
[0036] When the output of the sequence number is continuous and the time slot processing of the ranging message interaction process is normal, the underground interconnection protocol is adapted; otherwise, the underground interconnection protocol is not adapted.
[0037] According to one embodiment of the present invention, the positioning substation includes two antennas or two receivers, the two antennas are a first antenna and a second antenna, the two receivers are a first receiver and a second receiver, the distance between the two antennas or the two receivers is ΔD, and the distance between the locator and the two antennas or the two receivers of the positioning substation is d1 and d2, and the ranging limit error is Ds. Displaying the position of the locator on the underground map specifically includes:
[0038] When d2>d1 and d2>ΔD and d2-d1<(ΔD+Ds), the locator is located on the left side of the first antenna or the first receiver of the positioning substation, the distance between the locator and the positioning substation is d1, and the direction is positive;
[0039] When d1>d2 and d1>ΔD and d1-d2<(ΔD+Ds), the locator is located on the right side of the first antenna or the first receiver of the positioning substation, the distance between the locator and the positioning substation is d2, and the direction is negative;
[0040] When d1<(ΔD+Ds) and d2<(ΔD+Ds), the locator is located between the two antennas or two receivers of the positioning substation, the distance between the locator and the first antenna or the first receiver of the positioning substation is d1, and the direction is negative;
[0041] When d1 and d2 are much larger than ΔD, (ΔD-Ds)<|d1-d2|<(ΔD+Ds), that is, |d1-d2|≈ΔD. Otherwise, the distance between the two antennas or two receivers of the positioning substation is abnormal, and an alarm is issued at the current positioning substation of the underground map.
[0042] According to an embodiment of the present invention, the parsing conditions include: ID number, frame type filtering, and message output type selection.
[0043] According to an embodiment of the present invention, an online monitoring intelligent diagnosis system for a downhole locator includes:
[0044] Locator;
[0045] A positioning substation, wherein the positioning substation is connected to the positioning instrument by signals;
[0046] A terminal device is connected to the locator via a wireless signal, and the terminal device is configured to execute the online diagnostic method for the downhole locator as described above.
[0047] According to one embodiment of the present invention, the locator comprises:
[0048] A power module is configured to supply power to each module;
[0049] A UWB positioning module configured to send a UWB signal;
[0050] And a wireless communication module is configured to establish a wireless signal connection with the terminal device.
[0051] A computer device according to an embodiment of the present invention includes:
[0052] processor;
[0053] A memory for storing executable instructions;
[0054] The processor is used to read the executable instructions from the memory and execute the executable instructions to implement the online diagnosis method for the downhole locator as described above.
[0055] According to a computer-readable storage medium of an embodiment of the present invention, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor implements the online diagnosis method for a downhole locator as described in any one of the above items.
[0056] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.
[0057] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] The present invention is further described below in conjunction with the accompanying drawings and embodiments.
[0059] Figure 1 It is a schematic diagram of the method flow of embodiment 1 of the present invention.
[0060] Figure 2 It is a flowchart of a method for evaluating the coverage range of a positioning substation according to an embodiment of the present invention.
[0061] Figure 3It is a schematic diagram of two-way ranging according to Embodiment 1 of the present invention.
[0062] Figure 4 It is a schematic diagram of the station ranging process of the first embodiment of the present invention.
[0063] Figure 5 It is a schematic diagram of the debugging and adaptation process of the underground interconnection protocol according to the first embodiment of the present invention.
[0064] Figure 6 It is a schematic diagram of the system structure of the second embodiment of the present invention.
[0065] Figure 7 It is a structural schematic diagram of a positioning device according to a second embodiment of the present invention.
[0066] Figure 8 It is a schematic diagram of the computer device structure of embodiment 3 of the present invention.
[0067] In the figure, 21 is a locator; 22 is a positioning substation; 23 is a terminal device; 211 is a power module; 212 is a UWB positioning module; 213 is a wireless communication module; 2111 is a battery pack; 2112 is a charging circuit; 2113 is an intrinsically safe protection circuit; 2121 is an RFID radio frequency circuit; 2122 is a UWB radio frequency circuit; 2123 is a 6-axis gyroscope circuit; 2124 is an OLED screen; 2125 is a button; 2126 is a main control MCU circuit; 10 is a computer device; 1002 is a processor; 1004 is a memory; 1006 is a transmission device. DETAILED DESCRIPTION
[0068] The present invention will now be described in further detail with reference to the accompanying drawings. These drawings are simplified schematic diagrams, which only illustrate the basic structure of the present invention in a schematic manner, and therefore only show the components related to the present invention.
[0069] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention. In addition, features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, unless otherwise specified, "multiple" means two or more.
[0070] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0071] Example 1
[0072] The present application embodiment provides an online diagnosis method for a downhole locator, such as Figure 1 As shown, the method includes:
[0073] S1, the user selects the working mode of the locator 21 in the software function interface on the terminal device 23 according to the needs, wherein the working modes of the locator 21 include: positioning mode, station measurement mode and debugging mode;
[0074] It should be noted that the terminal device 23 is connected to the locator 21 via a wireless signal to switch the working mode of the locator 21 and to exchange data.
[0075] S2, when the working mode is the positioning mode, the positioning instrument 21 sends the UWB positioning signal, the positioning substation 22 receives the UWB positioning signal, and transmits the UWB positioning signal to the ground monitoring center to realize the positioning of the underground personnel;
[0076] S3, when the working mode is the station measurement mode, the locator 21 obtains the distance information between the locator 21 and the locating substation 22, and transmits the distance information to the terminal device 23 to evaluate the coverage of the locating substation 22;
[0077] S4, when the working mode is the debugging mode, the locator 21 obtains and executes the UWB parameters of the terminal device 23, the locator 21 enters the monitoring mode, monitors and processes the air messages, and transmits the processed air messages to the terminal device 23, so as to realize the debugging and adaptation of the underground interconnection protocol.
[0078] In an embodiment, evaluating the coverage of the positioning substation 22 includes the following steps:
[0079] S31, switching the working mode of the locator 21 to the station mode, and loading the downhole map to the terminal device 23;
[0080] S32, performing TOF distance measurement between the locator 21 and the positioning substation 22 to obtain distance information between the locator 21 and the positioning substation 22;
[0081] S33, the locator 21 transmits the distance information to the terminal device 23;
[0082] S34, the terminal device 23 receives the distance information, determines the positional relationship between the locator 21 and the positioning substation 22 based on the distance information, and displays the position of the locator 21 on the underground map;
[0083] S35, counting all positioning data in the station mode and generating a heat map;
[0084] S36, evaluate the coverage of the positioning substation 22 according to the heat map. The positioning data is related to the success rate of ranging, and the success rate of ranging is related to the signal strength. If the success rate of ranging is greater than 80%, the signal strength is excellent, and the heat map is displayed in red; if the success rate of ranging is between 50-80%, the signal strength is good, and the heat map is displayed in yellow; if the success rate of ranging is between 20-50%, the signal strength is average, and the heat map is displayed in orange; if the success rate of ranging is less than 20%, there is no signal, and the heat map is displayed in green. According to the display color, the coverage can be evaluated.
[0085] Specifically, the TOF ranging between the locator 21 and the positioning substation 22 adopts but is not limited to unilateral and bidirectional ranging. Taking unilateral and bidirectional ranging as an example, the TOF ranging principle between the locator 21 and the positioning substation 22 includes:
[0086] The locator 21 sends a ranging request frame Poll, and the positioning substation 22 replies a ranging response frame (Resp). Each device accurately measures the sending and receiving time of the message frame, and calculates the time of Tround and Treply by simple subtraction. Therefore, the TOF calculation formula is as follows: T = (Tround-Treply) / 2, which is multiplied by the flight speed of the wireless signal to obtain the distance from the locator 21 to the positioning substation 22. Among them, the measurement of Tround and Treply time is independently measured by the locator 21 and the positioning substation 22 using their own local clocks. The clocks of the two devices have their own errors, so there is a certain error in the measurement of TOF, and it increases with the increase of the response time. In the embodiment, the locator 21 and the positioning substation 22 both use high-precision crystal oscillators, and the frequency stability of the high-precision crystal oscillator is ±0.5ppm. The limit crystal oscillator error between the locator 21 and the positioning substation 22 is 1ppm. Since the TOF response time difference is within 2ms, the time difference limit error caused by the clock error is within 2ns, and the corresponding ranging limit error Ds is 0.6m.
[0087] In the embodiment, the locator 21 uses a multiple-response asymmetric unilateral bidirectional distance measurement TOF positioning algorithm, and the distance measurement process is as follows: Figure 2As shown. The locator 21 broadcasts Poll messages at a certain time interval T (0.5s-1s) and opens the reception. After receiving the Poll messages, the positioning substations 22 of the surrounding substations respond with Resp messages in sequence. The locator 21 receives the Resp messages of all positioning substations 22 nodes within the receiving window. Among them, different substation nodes reuse the Poll messages of the locator 21. After receiving the Resp messages from each positioning substation 22, the locator 21 calculates the unilateral distance value between the locator 21 and each substation node through the unilateral two-way ranging principle. At the same time, the positioning substation 22 only receives the ranging request Poll message of the locator 21, and no invalid ranging data will be generated for the normal operation of the positioning system.
[0088] It should be noted that after the positioning enters the station measurement mode, the station measurement process is carried out with the surrounding positioning substations 22 at a certain time interval. The positioning instrument 21 will obtain the unilateral distance measurement value with each positioning substation 22, and at the same time, the distance measurement value, substation number, positive and negative receiving header information and other data (including empty data packets for unsuccessful distance measurement) with each positioning substation 22. The positioning instrument 21 will package the positioning data sent by each positioning substation 22, and then transmit the packaged positioning data to the terminal device 23. The terminal device 23 receives and processes each package of positioning data sent by the positioning instrument 21. The terminal device 23 displays the distance measurement information of each package in real time, and at the same time, according to the latest N (4-10) data packet information, the ratio of the number of successful distance measurements to the number of data packets N is counted as the signal strength of the distance measurement success rate and displayed; in addition, the terminal device 23 also displays the data of the positioning substation 22 with a specified number on the underground map, saves the positioning data, and warns of data abnormalities.
[0089] In the embodiment, the positioning substation 22 includes two antennas or two receivers, the positioning substation 22 includes two antennas or two receivers, the two antennas are a first antenna and a second antenna, the two receivers are a first receiver and a second receiver, the distance between the two antennas or the two receivers is ΔD, the distance between the positioning instrument 21 and the two antennas or the two receivers of the positioning substation 22 is set to d1 and d2, the ranging limit error is Ds, and the position of the positioning instrument 21 is displayed on the underground map specifically including:
[0090] When d2>d1 and d2>ΔD and d2-d1<(ΔD+Ds), the locator 21 is located on the left side of the first antenna or the first receiver of the positioning substation 22, the distance between the locator 21 and the positioning substation 22 is d1, and the direction is positive;
[0091] When d1>d2 and d1>ΔD and d1-d2<(ΔD+Ds), the locator 21 is located to the right of the first antenna or the first receiver of the positioning substation 22, the distance between the locator 21 and the positioning substation 22 is d2, and the direction is negative;
[0092] When d1<(ΔD+Ds) and d2<(ΔD+Ds), the locator 21 is located between the two antennas or two receivers of the positioning substation 22, the distance between the locator 21 and the first antenna or the first receiver of the positioning substation 22 is d1, and the direction is negative;
[0093] When d1 and d2 are much larger than ΔD, (ΔD-Ds)<|d1-d2|<(ΔD+Ds), that is, |d1-d2|≈ΔD. Otherwise, the distance between the two antennas or two receivers of the positioning substation 22 is abnormal, and an alarm is issued at the current positioning substation 22 of the downhole map.
[0094] In an embodiment, the underground interconnection protocol debugging and adaptation includes the following steps:
[0095] S41, switching the working mode of the locator 21 to the debugging mode.
[0096] S42, set UWB parameters in the software function interface of the terminal device 23, and send the UWB parameters to the locator 21; wherein the UWB parameters include channel code, pulse repetition frequency, RX preamble code, TX preamble code, data rate and PHR mode.
[0097] S43, the locator 21 receives and validates the UWB parameters, the locator 21 enters the constant reception listening mode, and obtains the circular queue data. Specifically, after the locator 21 enters the constant reception listening mode, the locator 21 will save the additional parameter information (parameter information includes serial number and timestamp) of each UWB air message frame received by the interrupt to the circular queue to form circular queue data.
[0098] S44, setting or updating the analysis conditions in the terminal device 23, and transmitting the analysis conditions to the locator 21;
[0099] The parsing conditions include: ID number, frame type filtering, and message output type selection.
[0100] For example, by setting the ID number, only the circular queue data of a specific ID number or the circular queue data of the locator 21 within an ID range is processed, so that the air message (circular queue data) of the specified locator 21 can be tracked.
[0101] For example, by filtering by frame type, the message types are distinguished according to the Msg field of the UWB air message protocol, including ranging broadcast frames (Blink), ranging request frames (Poll), ranging response frames (Resp), ranging data frames (Final) and other messages, and only the specific types of air messages of the locator 21 are processed. It is possible to track specific messages of the locator 21 or the positioning substation 22, such as emergency calls, alarm information (evacuation, call) and text messages, and other linkage messages. Special defined bits of tracking can be achieved.
[0102] If the message output type is selected, the message output type includes transparent transmission mode or parsing mode, and both can be selected at the same time. If the transparent transmission mode is selected, the message content will be printed out in hexadecimal format. If the parsing mode is selected, the message content will be printed out one by one according to the definition of the UWB air message protocol. Special fields are distinguished by different colors. To process the air message in the locator 21 selection mode
[0103] S45, the locator 21 processes the circular queue data based on the parsing conditions, and transmits the circular queue data that meets the requirements to the terminal device 23; since a UWB wireless ranging process is at the ms level, when there are many UWB air messages, the message will be blocked when printing out, and the human eye has no time to view it. The set parsing conditions can facilitate the filtering and screening of the circular queue data, facilitate the rapid analysis of the data, and improve the computing power of the terminal device 23 for subsequent processing of the circular queue data. For example, when debugging a certain positioning card, the field of the positioning card number in each message frame is parsed based on the card number, and the messages that meet the conditions are output for observation and analysis; for example, when debugging a positioning substation, the field of the station number in each message frame is parsed based on the positioning substation number, and the messages that meet the conditions are output for observation and analysis; it can also be based on the command bytes of the message frame (poll, resp, final message type fields); the specific parsing conditions can be flexibly designed according to the debugging requirements.
[0104] S46, the terminal device 23 receives and displays the circular queue data, the circular queue data including:
[0105] The message frame information includes the content of the message frame and the length of the message frame. The content of the message frame is a maximum of 256 bytes, and the length of the message frame is 1 byte.
[0106] Sequence number: when the locator 21 receives a message frame in the monitoring mode, the sequence number is incremented by 1, and the number of bytes of the sequence number is 2.
[0107] Receiving timestamp: the receiving timestamp is the moment when the locator 21 receives the message frame. The number of bytes of the receiving timestamp is 5. If the unit of the receiving timestamp is us, since the flight distance of the wireless signal in 1us is 300m, and the standard coverage radius of the positioning substation 22 is 400m, the timestamp is regarded as the message sending time between the positioning card and the positioning substation 22, which has an accuracy close to 1us.
[0108] S47, the terminal device 23 analyzes the circular queue data, determines the continuity between the observed messages based on the output of the sequence number, calculates the difference in receiving timestamps between adjacent message frames, and determines whether the time slot processing of the ranging message interaction process is normal;
[0109] When the output of the sequence number is continuous and the time slot processing of the ranging message interaction process is normal, the underground interconnection protocol is adapted; otherwise, the underground interconnection protocol is not adapted.
[0110] It should be noted that determining whether the time slot processing of the ranging message interaction process is normal includes:
[0111] First, confirm the correctness of the message frame data. It is necessary to check whether each byte of the message frame data is correct according to the designed communication protocol. Taking the communication protocol of Shenhua Interconnection as an example, when there are many positioning products, there are often abnormalities in ranging or functions (two-way alarm, driver on duty, etc.). At this time, it is necessary to check on-site whether the content of the interactive message frame of ranging complies with the communication protocol, especially for the positioning products that do not comply with the interconnection protocol design, record and save the message frame data for subsequent processing. The best situation is that there is a device that can monitor the entire interactive data and output it in the format of the communication protocol for observation, analysis, and preservation.
[0112] Determine whether the time slot processing of the ranging message interaction process is correct; specifically, the ranging process is initiated by the locator 21 from the poll message, and then the positioning substation 22 replies with the resp message in turn, and finally the locator 21 sends the final message. The entire ranging process is completed within a few ms, and the message frame is sent and received according to the set time to avoid the message frame colliding in the message air and causing ranging failure. Therefore, the order of the reply resp messages of each positioning substation 22, the interval time between each resp message reply, the number of positioning substations 22 that reply resp messages, the time of the Final message last sent by the locator 21 and other time slot-related processes need to be verified. Verify whether the time slot is normal by the continuity of the message frame sequence number received by the locator and the time difference between each message frame.
[0113] Example 2
[0114] The embodiment of the present application also provides an online monitoring intelligent diagnosis system for a downhole locator, the system comprising:
[0115] Locator 21;
[0116] A positioning substation 22, which is connected to the positioning device 21 by signals;
[0117] The terminal device 23 is connected to the locator 21 by wireless signals, and the terminal device 23 is configured to execute the above online diagnosis method for the underground locator. The terminal device 23 is a smart phone for mining.
[0118] In this embodiment, the locator 21 includes:
[0119] The power module 211 is configured to supply power to each module and has Class Ia triple protection, wherein the power module 211 includes a battery pack 2111, a charging circuit 2112, and an intrinsically safe protection circuit 2113. The charging circuit 2112 and the intrinsically safe protection circuit 2113 are both connected to the battery pack 2111. The charging circuit 2112 is used to charge the battery pack 2111. The intrinsically safe protection circuit 2113 performs intrinsically safe processing on the power signal of the battery pack 2111 and then supplies power to each module.
[0120] The UWB positioning module 212 is configured to send UWB signals, wherein the UWB positioning module 212 includes: an RFID radio frequency circuit 2121, a UWB radio frequency circuit 2122, a 6-axis gyroscope circuit 2123, an OLED screen 2124, a button 2125 and a main control MCU circuit 2126; the RFID radio frequency circuit 2121, the UWB radio frequency circuit 2122, the 6-axis gyroscope circuit 2123, the OLED screen 2124, the button 2125 are all connected to the main control MCU circuit 2126.
[0121] And the wireless communication module 213 is configured to establish a wireless signal connection with the terminal device 23, and the wireless communication module 213 is a Bluetooth module. In the stand-alone mode, Bluetooth is in an unconnected state, and the locator 21 button 2125 is used for operations such as selection, page turning, and exit. In conjunction with the OLED screen 2124, the positioning component working mode switching can be realized, and basic functions of the locator 21 such as power display and positioning data display can be realized. In the online mode, Bluetooth is in a connected state. Using the transparent transmission mechanism of Bluetooth transmission, the main control of the positioning component directly interacts with the terminal device 23 data through the serial port. In conjunction with the human-computer interaction capability, on the one hand, the functions of the locator 21 can be better displayed and operated, such as two-way alarms between the locator 21, locator 21 positioning data screening and display, and specific identification card search. On the other hand, the terminal device 23 has the advantages of rich network interfaces, strong scalability, good versatility, and strong computing power, and functional expansion is achieved through specific APP programs.
[0122] In the embodiment, the locator 21 has the advantages of simple structure, low cost, high compatibility and good scalability. It has a low degree of coupling with the terminal device 23 and can meet the requirements of the new standard. There is no dilemma that the intelligent hardware platform is updated too quickly and discontinued, resulting in the inability to produce the locator 21 later.
[0123] To sum up, the online diagnostic method for the downhole locator of the present invention, through the data interaction between the locator 21 and the terminal device 23, sets three working mode options for the locator 21. In the positioning mode, the downhole personnel wear the locator 21 to achieve positioning. In the measuring station mode, the downhole positioning substation 22 can be installed, debugged and maintained daily to ensure that the actual coverage of the positioning substation 22 can meet the requirements to improve the accuracy of positioning. In the debugging mode, it can be applied to the downhole environment for on-site adaptation and debugging. The on-site adaptation and debugging process is simple, easy to use, and the debugging efficiency is high.
[0124] Example 3
[0125] An embodiment of the present application provides a computer device, which includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement an online diagnostic method for a downhole locator as provided in the above method embodiment.
[0126] Figure 8 The hardware structure diagram of a device for implementing an online diagnostic method for a downhole locator provided in an embodiment of the present application is shown. The device may participate in constituting or include the apparatus or system provided in an embodiment of the present application. Figure 8 As shown, the computer device 10 may include one or more processors 1002 (the processor may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 1004 for storing data, and a transmission device 1006 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the I / O interface), a network interface, a power supply and / or a camera. It can be understood by those skilled in the art that Figure 8 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 8 More or fewer components as shown, or with Figure 8 Different configurations shown.
[0127] It should be noted that the one or more processors and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the computer device 10 (or mobile device). As described in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).
[0128] The memory 1004 can be used to store software programs and modules of application software, such as a program instruction / data storage device corresponding to an online diagnostic method for a downhole locator in an embodiment of the present application. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory 1004, that is, implementing the above-mentioned method. The memory 1004 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 1004 may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the computer device 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0129] The transmission device 1006 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the computer device 10. In one example, the transmission device 1006 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 1006 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0130] The display may be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with a user interface of the computer device 10 (or mobile device).
[0131] Example 4
[0132] An embodiment of the present application also provides a computer-readable storage medium, which can be set in a server to store at least one instruction or at least one program related to an online diagnostic method for a downhole locator in an embodiment of the method. The at least one instruction or the at least one program is loaded and executed by the processor to implement an online diagnostic method for a downhole locator provided in the above-mentioned embodiment of the method.
[0133] Optionally, in this embodiment, the storage medium may be located in at least one of the multiple network servers of the computer network. Optionally, in this embodiment, the storage medium may include, but is not limited to, various media that can store program codes, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk.
[0134] Example 5
[0135] The embodiment of the present invention further provides a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes an online diagnostic method for a downhole locator provided in the above various optional embodiments.
[0136] It should be noted that the above-mentioned sequence of the embodiments of the present application is for description only and does not represent the advantages and disadvantages of the embodiments. The above-mentioned specific embodiments of the present application are described. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0137] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device, equipment and storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0138] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0139] Based on the above ideal embodiments of the present invention, the relevant staff can make various changes and modifications without departing from the technical concept of the present invention through the above description. The technical scope of the present invention is not limited to the contents of the specification, and its technical scope must be determined according to the scope of the claims.
Claims
1. An online diagnostic method for a downhole locator, characterized in that: The method comprises: The user selects a working mode of the locator (21) on a software function interface on a terminal device (23) according to needs, wherein the working modes of the locator (21) include: a positioning mode, a station measurement mode, and a debugging mode; When the working mode is the positioning mode, the positioning instrument (21) sends a UWB positioning signal, the positioning substation (22) receives the UWB positioning signal, and transmits the UWB positioning signal to the ground monitoring center to realize the positioning of the underground personnel; When the working mode is the station measurement mode, the locator (21) obtains distance information between the locator and the positioning substation (22), and transmits the distance information to the terminal device (23), thereby evaluating the coverage range of the positioning substation (22); When the working mode is the debugging mode, the locator (21) obtains and executes the UWB parameters of the terminal device (23), the locator (21) enters the monitoring mode, monitors and processes the air messages, and transmits the processed air messages to the terminal device (23), thereby realizing the debugging and adaptation of the underground interconnection protocol.
2. The online diagnostic method for a downhole locator according to claim 1, characterized in that: The terminal device (23) is connected to the locator (21) via a wireless signal, thereby achieving switching of the working mode of the locator (21) and data interaction.
3. The online diagnosis method for a downhole locator according to claim 1, characterized in that: The evaluation of the coverage of the positioning substation (22) includes the following steps: The working mode of the positioning instrument (21) is switched to a station measurement mode, and the terminal device (23) loads a downhole map; The locator (21) and the positioning substation (22) perform TOF distance measurement to obtain distance information between the locator (21) and the positioning substation (22); The locator (21) transmits the distance information to the terminal device (23); The terminal device (23) receives the distance information, determines the positional relationship between the locator (21) and the positioning substation (22) based on the distance information, and displays the position of the locator (21) on the underground map; Collect statistics of all positioning data in station mode and generate heat maps; The coverage of the positioning substation (22) is evaluated according to the heat map.
4. The online diagnosis method for a downhole locator according to claim 1, characterized in that: The underground interconnection protocol debugging and adaptation includes the following steps: Switching the working mode of the positioning instrument (21) to a debugging mode; Setting UWB parameters in the software function interface of the terminal device (23), and sending the UWB parameters to the locator (21); wherein: The UWB parameters include channel code, pulse repetition frequency, RX preamble, TX preamble, data rate and PHR mode; The locator (21) receives and validates the UWB parameters, and the locator (21) enters a constant reception monitoring mode to obtain circular queue data; Setting or updating analysis conditions on the terminal device (23), and transmitting the analysis conditions to the locator (21); The locator (21) processes the circular queue data based on the analytical conditions, and transmits the circular queue data that meets the requirements to the terminal device (23); The terminal device (23) receives and displays the circular queue data, wherein the circular queue data includes: Message frame information, including the content of the message frame and the length of the message frame; A sequence number, which is incremented by 1 each time the locator (21) receives a message frame in the monitoring mode; A receiving timestamp, the receiving timestamp being the time at which the locator (21) receives the message frame; The terminal device (23) analyzes the circular queue data, determines the continuity between the observed messages based on the output of the sequence number, calculates the difference in receiving timestamps between adjacent message frames, and determines whether the time slot processing of the ranging message interaction process is normal; When the output of the sequence number is continuous and the time slot processing of the ranging message interaction process is normal, the underground interconnection protocol is adapted; otherwise, the underground interconnection protocol is not adapted.
5. The online diagnosis method for a downhole locator according to claim 3, characterized in that: The positioning substation (22) includes two antennas or two receivers, the two antennas are a first antenna and a second antenna, the two receivers are a first receiver and a second receiver, the distance between the two antennas or the two receivers is ΔD, and the distance between the positioning instrument (21) and the two antennas or the two receivers of the positioning substation (22) is d1 and d2, and the distance measurement limit error is Ds. Displaying the position of the positioning instrument (21) on an underground map specifically includes: When d2>d1 and d2>ΔD and d2-d1<(ΔD+Ds), the locator (21) is located to the left of the first antenna or the first receiver of the locating substation (22), the distance between the locator (21) and the locating substation (22) is d1, and the direction is positive; When d1>d2 and d1>ΔD and d1-d2<(ΔD+Ds), the locator (21) is located to the right of the first antenna or the first receiver of the locating substation (22), the distance between the locator (21) and the locating substation (22) is d2, and the direction is negative; When d1<(ΔD+Ds) and d2<(ΔD+Ds), the locator (21) is located between two antennas or two receivers of the locating substation (22), the distance between the locator (21) and the first antenna or the first receiver of the locating substation (22) is d1, and the direction is negative; When d1 and d2 are much larger than ΔD, (ΔD-Ds)<|d1-d2|<(ΔD+Ds), that is, |d1-d2|≈ΔD. Otherwise, the distance between the two antennas or two receivers of the positioning substation (22) is abnormal, and an alarm is issued at the current positioning substation (22) of the underground map.
6. The online diagnosis method for a downhole locator according to claim 4, characterized in that: The parsing conditions include: ID number, frame type filtering and message output type selection.
7. An online monitoring intelligent diagnosis system for downhole locators, characterized in that: The system comprises: Positioning device (21); A positioning substation (22), wherein the positioning substation (22) is signal-connected to the positioning instrument (21); A terminal device (23), the terminal device (23) being connected to the locator (21) by wireless signals, the terminal device (23) being configured to execute the online diagnostic method for a downhole locator as claimed in any one of claims 1 to 6.
8. The online monitoring intelligent diagnosis system for downhole locator according to claim 7, characterized in that: The positioning device (21) comprises: A power module (211) is configured to supply power to each module; A UWB positioning module (212), configured to send a UWB signal; And a wireless communication module (213) configured to establish a wireless signal connection with the terminal device (23).
9. A computer device, characterized in that: include: processor; A memory for storing executable instructions; The processor is used to read the executable instructions from the memory and execute the executable instructions to implement the online diagnostic method for a downhole locator as described in any one of claims 1 to 6.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor implements the online diagnostic method for a downhole locator according to any one of claims 1 to 6.
Citation Information
Cited By
Underground vehicle positioning method and system based on UWB card reading substation
CN120224365A
