Instrument detection device and method, gateway and instrument inspection system
By integrating detection components, controllers and communication modules in instrument detection equipment, remote instrument data acquisition and transmission based on gateways is realized, and the problems of high labor intensity and low efficiency of instrument inspection in the prior art are solved, the inspection efficiency and accuracy are improved, and energy consumption and cost are reduced.
Patent Information
- Application Number
- CN202510068601.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-16
- Publication Date
- 2025-05-27
AI Technical Summary
In the prior art, instrument inspection methods have problems such as high labor intensity and low work efficiency.
An instrument detection device is provided, including a detection element, a controller and a communication module, which controls the communication module to send a network access request to the gateway, and measures and transmits the instrument data based on the preset measurement frequency and the transmission frequency.
Remote, efficient and accurate monitoring of instruments is achieved, the efficiency and accuracy of instrument inspections are improved, the cost and risks of manual inspections are reduced, and the energy consumption of equipment is reduced through the preset frequency setting and the service life is extended.
Smart Images

Figure CN120050616A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of Internet of Things technology, and particularly to an instrument detection device, method, gateway, and instrument inspection system. Background Art
[0002] At present, there are a large number of on-site local detection instruments in large air separation plants, such as on-site detection instruments for liquid pump shaft vibration or motor vibration, noise detection, compressor inter-stage pipelines, etc. Currently, the on-site local instruments still use the inspection method of "paper record + hand-held inspection instrument" for detection. Specifically, the operation and maintenance personnel will regularly perform inspection tasks according to the arrangement, go to the equipment application site of the large air separation plant, and use the methods of paper record and hand-held inspection instrument for equipment inspection. However, at this time, the instrument inspection method has problems of high labor intensity and low work efficiency. Summary of the Invention
[0003] This application provides an instrument detection device, method, gateway, and instrument inspection system to solve the problems of high labor intensity and low work efficiency in the existing instrument inspection method.
[0004] In a first aspect, this application provides an instrument detection device, including:
[0005] A detection element, a controller, and a communication module, where the detection element and the communication module are both communicatively connected to the controller;
[0006] The controller is configured to control the communication module to send an access request to the gateway;
[0007] The controller is further configured to, in response to receiving the access success information sent by the gateway, control the detection element to measure the instrument based on a preset measurement frequency to obtain target instrument data;
[0008] The controller is further configured to control the communication module to send the target instrument data to the instrument inspection terminal through the gateway based on a preset sending frequency.
[0009] In a possible design, the controller is further configured to, in response to not receiving the access success information sent by the gateway within a preset access time, control the communication module to send the access request again; in response to not receiving the access success information after a preset number of access requests, generate an access failure alarm information.
[0010] In a possible design, the controller is further configured to determine whether the target instrument data is within a preset working data range; in response to determining that the target instrument data is not within the preset working data range, generate an instrument failure alarm information.
[0011] In a possible design, it further includes: a battery module, and the detection element, the controller, and the communication module are all electrically connected to the battery module;
[0012] The controller is further configured to control the battery module to perform battery power detection before controlling the communication module to send an access request to the gateway; in response to receiving that the battery power detection value is lower than a preset power value, generate a power alarm message.
[0013] In a possible design, the controller is further configured to, in response to determining that the target meter data is within a preset working data range, control the battery module to adjust the current value input to the controller based on a preset measurement frequency, so that the controller switches between a working mode and a standby mode.
[0014] In a possible design, the controller is further configured to control the battery module to adjust the current value input to the communication module based on the preset sending frequency, so that the communication module switches between a working mode and a sleep mode.
[0015] In a possible design, the controller is further configured to, in response to determining that the target meter data is not within the preset working data range, determine whether the communication module is in the sleep mode; in response to determining that the communication module is in the sleep mode, control the battery module to adjust the current value input to the communication module, so that the communication module switches to the working mode.
[0016] In a possible design, the communication module is a LoRa radio frequency chip.
[0017] In a second aspect, the present application provides a meter detection method, which is applied to the meter detection device according to any one of the first aspect. The method includes:
[0018] Controlling the communication module to send an access request to the gateway;
[0019] In response to receiving the access success information sent by the gateway, controlling the detection element to measure the meter based on a preset measurement frequency to obtain target meter data;
[0020] Controlling the communication module to send the target meter data to the gateway based on a preset sending frequency, and the target meter data can be uploaded to the meter inspection terminal through the gateway.
[0021] In a third aspect, the present application provides a gateway, including:
[0022] A main control unit and a communication unit, and the main control unit is communicatively connected to the communication unit;
[0023] The main control unit is used to control the communication unit to receive the network access request sent by the communication module, control the instrument detection device to access the network based on the network access request, and send network access success information to the instrument detection device;
[0024] The main control unit is further used to control the communication unit to receive the target instrument data sent by the communication module, where the target instrument data is obtained by the instrument detection device controlling the detection element to measure the instrument based on a preset measurement frequency;
[0025] The main control unit is further used to control the communication unit to send the target instrument data to the instrument inspection terminal.
[0026] In a possible design, the main control unit is a main control chip; the communication unit is a communication chip;
[0027] The main control chip is further used to control the communication chip to sequentially send polling information to multiple instrument detection devices; in response to not receiving the information sent by the instrument detection device within a preset polling period, generate fault information corresponding to the instrument detection device.
[0028] In a possible design, the communication chip is a LoRa gateway chip.
[0029] In a fourth aspect, the present application provides an instrument inspection system, including an inspection terminal, the instrument detection device according to any one of the first aspect, and the gateway according to any one of the third aspect; the instrument detection device and the inspection terminal are both communicatively connected to the gateway.
[0030] The instrument detection device, method, gateway, and instrument inspection system provided by the present application. The instrument detection device includes a detection element, a controller, and a communication module; the detection element and the communication module are both communicatively connected to the controller; the controller is used to control the communication module to send a network access request to the gateway; the controller is further used to, in response to receiving the network access success information sent by the gateway, control the detection element to measure the instrument based on a preset measurement frequency to obtain target instrument data; the controller is further used to control the communication module to send the target instrument data to the instrument inspection terminal through the gateway based on a preset sending frequency. This instrument detection device realizes remote, efficient, and accurate monitoring of the instrument, can improve the efficiency and accuracy of instrument inspection, reduce the cost and risk of manual inspection. In addition, by measuring data according to a preset measurement frequency and sending data according to a preset sending frequency, it can reduce the energy consumption of the instrument detection device and improve the service life of the instrument detection device. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] The drawings here are incorporated into the description and form a part of this description, showing embodiments consistent with the present application, and are used together with the description to explain the principles of the present application.
[0032] Figure 1 Structural schematic diagram of the instrument inspection system provided by an embodiment of the present application;
[0033] Figure 2 Structural schematic diagram of the instrument detection device provided by an embodiment of the present application;
[0034] Figure 3 Flowchart of the instrument detection method provided by an embodiment of the present application;
[0035] Figure 4 Structural schematic diagram of the gateway provided by an embodiment of the present application.
[0036] Explanation of reference numerals:
[0037] 10 - Instrument detection device; 11 - Detection element; 12 - Controller; 13 - Communication module; 14 - Battery module;
[0038] 20 - Gateway; 21 - Main control unit; 22 - Communication unit;
[0039] 30 - Inspection terminal.
[0040] Through the above-mentioned drawings, specific embodiments of the present application have been shown, and there will be more detailed descriptions hereinafter. These drawings and textual descriptions are not intended to limit the scope of the concept of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. Detailed description of specific embodiments
[0041] Here, the exemplary embodiments will be described in detail, and the examples are shown in the drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0042] To clearly understand the technical solution of the present application, the solutions of the prior art will be introduced in detail first.
[0043] With the rapid development of the petrochemical industry, the construction of intelligent chemical plants has become a key direction for the transformation and upgrading of the industry. Intelligent chemical plants achieve comprehensive monitoring and management of the production process through highly integrated automation and intelligent systems. In the production process of petrochemical products, factory instrument inspection, as an important link to ensure production safety and stable operation of equipment, faces many challenges.
[0044] Especially for large air separation plants, due to the large differences in their production sections, the large number of detection instruments and their wide distribution, the current inspection method for instruments still uses the "paper record + handheld inspection instrument" method. This instrument inspection method mainly relies on manual labor, not only with high labor intensity and low work efficiency, but also the detection results are easily affected by factors such as weather, environment, and personnel quality, resulting in difficulties in ensuring the accuracy and real-time nature of the inspection results, and also unable to meet the requirements of intelligent chemical plants for real-time, accurate, and comprehensive production data monitoring.
[0045] Therefore, when facing the above technical problems of the existing technology, in order to perform instrument detection efficiently and accurately. First, a detection element, a control element, and a transceiver element are set at the instrument end. The control element controls the detection element to perform data detection on the instrument in real time or periodically, and the control element controls the transceiver element to send the detected instrument data to the inspection terminal of the instrument in real time or periodically, so that the staff can know the working state of the instrument according to the instrument data received by the inspection terminal.
[0046] The following will specifically describe the technical solutions of this application and how the technical solutions of this application solve the above technical problems with specific embodiments. These several specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of this application will be described below in conjunction with the drawings.
[0047] Figure 1 It is a schematic structural diagram of an instrument inspection system provided by an embodiment of this application. Figure 2 It is a schematic structural diagram of an instrument detection device provided by an embodiment of this application. As Figure 1 and Figure 2 shown, the instrument detection device 10 provided by this application specifically includes: a detection element 11, a controller 12, and a communication module 13. The detection element 11 and the communication module 13 are both communicatively connected to the controller 12; the controller 12 is used to control the communication module 13 to send an access request to the gateway 20; the controller 12 is further used to, in response to receiving the access success information sent by the gateway 20, control the detection element 11 to measure the instrument based on a preset measurement frequency to obtain target instrument data; the controller 12 is further used to control the communication module 13 to send the target instrument data to the instrument inspection terminal 30 through the gateway 20 based on a preset sending frequency.
[0048] Specifically, during operation, first, the controller 12 controls the communication module 13 to send an access request to the gateway 20. When the access success information sent by the gateway 20 is received, it indicates that a communication connection has been established between the communication module 13 and the gateway 20, and data transmission can be carried out. After that, the controller 12 controls the detection element 11 to measure the instrument based on a preset measurement frequency to obtain the target instrument data. When the target instrument data is obtained, the controller 12 controls the communication module 13 to send the target instrument data to the instrument inspection terminal 30 through the gateway 20 based on a preset sending frequency.
[0049] Specifically, the instrument detection device 10 realizes the communication connection between the detection element 11 and the gateway 20 through the controller 12 and the communication module 13, can perform measurements according to a preset measurement frequency, can regularly or on-demand control the detection element 11 to perform measurements, ensures the timely measurement of instrument data, and the preset sending frequency ensures that the target instrument data can be timely sent to the instrument inspection terminal 30 through the gateway 20, solving the problems of inefficiency and inaccuracy of manual recording in traditional inspection methods and realizing the automatic collection of measurement data. Sending the target instrument data to the instrument inspection terminal 30 through the gateway 20 means that the data can be centrally stored and managed. Compared with the methods of paper records and handheld inspection instruments, this method is easier to achieve long-term preservation, retrieval, and analysis of data, thus improving the utilization value of the data.
[0050] Among them, the detection element 11 is a component used to directly read or detect the instrument, and its function is to obtain the current data of the instrument through physical or electronic means.
[0051] Optionally, the detection element 11 is a sensor. Further, the type of the sensor is selected according to the type of the instrument. For example, a temperature sensor, a pressure sensor, a flow sensor, etc. Of course, in other embodiments, the detection element 11 can also be a data acquisition device such as a data collector.
[0052] Among them, the controller 12 is the core of the instrument detection device 10. The controller 12 has a communication interface connected to the communication module 13 and a communication interface connected to the detection element 11. The controller 12 can control the working states of the detection element 11 and the communication module 13. Specifically, the controller 12 has the following functions: controlling the communication module 13 to send an access request to the gateway 20 to join the network; controlling the detection element 11 to periodically measure the instrument, frequent measurement of the instrument may cause equipment damage and increased energy consumption; controlling the communication module 13 to periodically send the target instrument data to the gateway 20, so that the target instrument data can be uploaded to the instrument inspection terminal 30 via the gateway 20.
[0053] Further, the controller 12 also has a storage function for storing the target instrument data and other data obtained by the detection element 11.
[0054] Optionally, the controller 12 selects a single-chip microcomputer of the STM32 series. The technology of this series of single-chip microcomputers is mature, and the chip cost and power consumption are relatively low; it has strong data processing capabilities.
[0055] Among them, the communication module 13 is a bridge for the instrument detection device 10 to communicate with the gateway 20. It is used to receive instructions from the controller 12 and send data information to the gateway 20 through a wireless network (such as Wi-Fi, WirelessHART, LoRa, etc.) or a wired network; at the same time, the communication module 13 is also used to receive data information sent from the gateway 20. Specifically, in this embodiment, the specific type of the communication module 13 is not limited, as long as communication can be achieved.
[0056] Among them, the gateway 20 is a network device that is responsible for receiving the network access request from the communication module 13 and sending the network access success information. At the same time, as a data transmission relay station, it forwards the instrument data from the communication module 13 to the instrument inspection terminal 30.
[0057] Among them, the instrument inspection terminal 30 is a terminal that receives the instrument data from the gateway 20. Optionally, the instrument inspection terminal 30 can have functions such as data visualization, alarm processing, and data analysis to support the remote monitoring and management of instrument devices, thereby improving the efficiency and accuracy of instrument inspection and reducing the operation and maintenance costs. Optionally, the instrument inspection terminal 30 can be a server, a mobile phone terminal, a tablet terminal, etc.
[0058] It should be noted that the preset measurement frequency is the period for presetting the control of the detection element 11 to collect instrument data. For example, the preset measurement frequency is once every ten minutes, that is, every ten minutes, the controller 12 controls the detection element 11 to execute a measurement task and receives the instrument data measured by the detection element 11. Specifically, in this embodiment, the specific value of the preset measurement frequency is not limited and can be flexibly adjusted according to the actual situation.
[0059] It should be noted that the preset sending frequency is the period for presetting the control of the communication module 13 to send instrument data to the gateway 20. For example, the preset sending frequency is once every ten minutes, that is, every ten minutes, the controller 12 controls the communication module 13 to execute a sending task, and the communication module 13 sends the instrument data received by the controller 12 to the gateway 20. Specifically, in this embodiment, the specific value of the preset sending frequency is not limited and can be flexibly adjusted according to the actual situation.
[0060] The instrument detection device provided by the embodiment of the present application includes a detection element 11, a controller 12, and a communication module 13. The detection element 11 and the communication module 13 are both communicatively connected to the controller 12. The controller 12 is configured to control the communication module 13 to send an access request to the gateway 20. The controller 12 is further configured to, in response to receiving the access success information sent by the gateway 20, control the detection element 11 to measure the instrument based on a preset measurement frequency to obtain target instrument data. The controller 12 is further configured to control the communication module 13 to send the target instrument data to the instrument inspection terminal 30 through the gateway 20 based on a preset sending frequency. The instrument detection device provided by this embodiment realizes remote, efficient, and accurate monitoring of the instrument, can improve the efficiency and accuracy of instrument inspection, reduce the cost and risk of manual inspection. In addition, by measuring data according to the preset measurement frequency and sending data according to the preset sending frequency, the energy consumption of the instrument detection device 10 can be reduced and the service life of the instrument detection device 10 can be extended.
[0061] As an alternative embodiment, based on any of the above embodiments, the controller 12 is further configured to, in response to not receiving the access success information sent by the gateway 20 within a preset access time, control the communication module 13 to send the access request again; and in response to not receiving the access success information after a preset number of access requests, generate an access failure alarm message.
[0062] Specifically, after the controller 12 controls the communication module 13 to send an access request to the gateway 20, if the access success information sent by the gateway 20 is not received within the preset access time, the controller 12 controls the communication module 13 to send the access request again. If the access success information is still not received after the preset number of access requests, an access failure alarm message is generated. Thus, by setting the preset access time and the preset number of access requests, the situation of access failure caused by temporary signal fluctuations or signal loss can be solved.
[0063] It should be noted that the controller 12 needs to perform initialization configuration after startup, including but not limited to setting the preset access time and the preset number of access requests.
[0064] Among them, the preset access time is the pre-set time for access response. The preset access time can be three seconds, five seconds, ten seconds, etc. The specific set value can be flexibly adjusted according to actual needs.
[0065] Among them, the preset number of access requests is the pre-set number of times to send the access request. The preset number of access requests can be one time, three times, five times, etc. The specific set number can be flexibly adjusted according to actual needs.
[0066] Specifically, when the instrument detection device 10 needs to join the network after startup, the controller 12 will control the communication module 13 to send an access request to the gateway 20. If the controller 12 does not receive the access success information sent by the gateway 20 within the preset access time, it indicates that the initial access attempt fails. At this time, the controller 12 will not immediately abandon the access attempt, but will control the communication module 13 to send the access request again. Thus, the access success rate of the instrument detection device 10 under network fluctuations or instability is improved through the retry mechanism.
[0067] Specifically, after the preset number of access requests, if the controller 12 still does not receive the access success information, it indicates that there may be a network access fault in the instrument detection device 10. At this time, the controller 12 will generate an access fault alarm message to remind relevant personnel that there is a network fault in the instrument detection device 10.
[0068] Optionally, the access fault alarm message can be sent to the instrument inspection terminal 30 or other management systems through the communication module 13, so that relevant personnel can know and handle this fault in time.
[0069] Optionally, the access fault alarm message can also be used to remind on-site personnel by other alarm methods. For example, by setting an indicator light or a buzzer, the controller 12 controls the indicator light to light up or flash, or controls the buzzer to emit an alarm sound, etc.
[0070] For the instrument detection device provided by the embodiment of the present application, the controller 12 is further configured to control the communication module 13 to send an access request again in response to not receiving the access success information sent by the gateway 20 within the preset access time; and generate an access fault alarm message in response to not receiving the access success information after the preset number of access requests. The instrument detection device of this embodiment improves the access efficiency during network fluctuations by setting the preset access time and the preset number of access requests; and generates an access fault alarm message when there is an access fault to remind relevant personnel that there is an access fault in the instrument detection device 10.
[0071] As an optional implementation manner, based on any of the above embodiments, the controller 12 is further configured to determine whether the target instrument data is within the preset working data range; and generate an instrument fault alarm message in response to determining that the target instrument data is not within the preset working data range.
[0072] Specifically, after the controller 12 obtains the target instrument data measured by the detection element 11, it first determines whether the target instrument data is within the normal range based on the preset working data range. If it is determined that the target instrument data is not within the preset working data range, it means that the instrument has a fault or an abnormal situation, and then an instrument fault alarm message is generated.
[0073] Among them, the preset working data range is the data range interval when the instrument works normally as preset, and this preset working data range is determined according to factors such as the factory working parameters, historical data or industry standards of the instrument.
[0074] Among them, the instrument fault alarm information is the information used to prompt or remind that there is a fault or abnormality in the instrument, and it includes but is not limited to information such as the identification of the instrument, the location of the instrument, the specific value of the abnormal data, and the time when the abnormality occurs, so that relevant personnel can quickly locate the problem and take corresponding treatment measures.
[0075] Specifically, the instrument fault alarm information can be sent to the gateway 20 through the communication module 13 and finally sent to the instrument inspection terminal 30 to ensure that relevant personnel can receive and respond to the instrument fault alarm information in a timely manner.
[0076] Optionally, after the fault is processed, relevant personnel can also upload the processing result to the instrument inspection terminal 30 to record this event and update the status information of the instrument.
[0077] The instrument detection device provided by the embodiment of the present application, the controller 12, is further configured to determine whether the target instrument data is within the preset working data range; in response to determining that the target instrument data is not within the preset working data range, generate instrument fault alarm information. The instrument detection device 10 of this embodiment can monitor and warn the working state of the instrument, and upload the fault information of the instrument in a timely manner, which can reduce the losses caused by instrument faults and improve the efficiency of instrument management.
[0078] As Figure 2 shown, as an optional implementation manner, on the basis of any of the above embodiments, the instrument detection device 10 further includes: a battery module 14, and the detection element 11, the controller 12, and the communication module 13 are all electrically connected to the battery module 14.
[0079] The controller 12 is further configured to control the battery module 14 to perform battery power detection before controlling the communication module 13 to send an access request to the gateway 20; in response to receiving that the battery power detection value is lower than the preset power value, generate power alarm information.
[0080] Specifically, the instrument detection device 10 is further provided with a battery module 14, and the battery module 14 is used to supply power to the detection element 11, the controller 12, and the communication module 13. Further, before the controller 12 controls the communication module 13 to send an access request to the gateway 20, it controls the battery module 14 to perform battery power detection, and when it detects that the battery power is lower than the preset power value, it generates power alarm information. Thus, it is convenient for the staff to replace the battery module 14 to ensure that the instrument detection device 10 can work normally.
[0081] Specifically, by setting the battery module 14 to supply power to the detection element 11, the controller 12, and the communication module 13, the instrument detection device 10 does not require an external power cable; in addition, under conditions such as high temperature, low temperature, humidity, or vibration, the external power supply may not be stably supplied, while the built-in battery module 14 can ensure that the instrument detection device 10 can still work properly in these complex environments, providing accurate data collection and monitoring services.
[0082] Optionally, in this embodiment, the battery in the battery module 14 is an Internet of Things battery. Specifically, the Internet of Things battery is a battery launched for low-power devices such as Internet of Things devices. Compared with traditional batteries, the Internet of Things battery has advantages such as lower voltage, smaller current output, lower self-discharge rate, and longer service life. The Internet of Things battery also has excellent low-temperature performance and can still work properly at extremely low temperatures, as well as has characteristics such as waterproof and corrosion resistance, which can meet the requirements of Internet of Things devices in various complex environments.
[0083] Optionally, there are various ways to detect the battery power of the battery module 14, such as battery internal resistance measurement method, constant current discharge method, or integrating a dedicated power detection circuit and algorithm, etc. In this embodiment, the detection method of battery power is not specifically limited as long as the battery power detection task can be completed.
[0084] Among them, the preset power value is a preset lower limit value of the power. If the detected battery power value is lower than this lower limit value of the power, a power alarm message is generated. The preset power value is determined by comprehensively considering factors such as the power consumption of the instrument detection device 10 and the working time when set.
[0085] Optionally, the power alarm message can be sent to the instrument inspection terminal 30 through the communication module 13. In this way, relevant personnel can timely understand the power status of the device and take corresponding measures, such as replacing the battery, charging, etc. Further, the communication module 13 can also be set with a Bluetooth module for sending information to the gateway 20 before networking or directly sending information to the instrument inspection terminal 30.
[0086] Optionally, the instrument detection device 10 can also be provided with an indicator light and a buzzer to remind the staff to perform operations such as battery replacement by the indicator light turning on or the buzzer sounding.
[0087] The instrument detection device provided by the embodiment of the present application further includes: a battery module 14, and the detection element 11, the controller 12, and the communication module 13 are all electrically connected to the battery module 14; the controller 12 is further configured to control the battery module 14 to perform battery power detection before controlling the communication module 13 to send an access request to the gateway 20; in response to receiving that the battery power detection value is lower than a preset power value, generate a power alarm message. The instrument detection device of this embodiment increases portability and applicability by setting the battery module 14; through the battery power monitoring and power alarm functions, it can ensure that the device issues an alarm in time when the power is insufficient, avoid the instrument detection device 10 from stopping working due to power exhaustion, improve the reliability and stability of the instrument detection device 10, and at the same time, avoid problems such as production interruption or data loss caused by the shutdown of the instrument detection device 10.
[0088] As an alternative embodiment, based on any of the above embodiments, the controller 12 is further configured to, in response to determining that the target instrument data is within the preset working data range, control the battery module 14 to adjust the current value flowing into the controller 12 based on a preset measurement frequency, so that the controller 12 switches between the working mode and the standby mode.
[0089] Specifically, when the controller 12 receives the target instrument data and determines that the target instrument data is within the preset working data range, it controls the battery module 14 to adjust the current value passing through the controller 12 based on a preset measurement frequency, so as to cause the controller 12 to switch between the working mode and the standby mode, thereby reducing the energy consumption of the controller 12 and extending the service life of the instrument detection device 10.
[0090] It should be noted that in the working mode, the controller 12 controls the detection element 11 to measure instrument data and controls the communication module 13 to send or receive data. At this time, the current value flowing into the controller 12 is higher than that in the standby mode to ensure that the instrument detection device 10 can work normally to meet the detection and transmission requirements.
[0091] It should be noted that when the instrument data is within the preset working data range and data transmission is not required, the controller 12 controls the current value flowing into itself from the battery module 14 to switch the working mode to the standby mode. In the standby mode, the state of the controller 12 is to wait for the next measurement cycle to arrive. The time of this standby mode is determined by the preset measurement frequency. When the controller 12 is in the standby mode, the current value flowing into the controller 12 is lower than that in the working mode to reduce the power consumption of the controller 12.
[0092] Specifically, when the next measurement cycle arrives, the controller 12 controls the battery module 14 to increase the current value flowing into the controller 12, so that the controller 12 switches from the standby mode to the working mode.
[0093] It should be noted that the preset measurement frequency can be flexibly adjusted according to the actual situation. For example, in application scenarios that require high-precision real-time monitoring, the measurement frequency can be increased to ensure data accuracy; while in application scenarios with low requirements for real-time performance, the measurement frequency can be reduced to lower power consumption.
[0094] The instrument detection device provided by the embodiment of the present application, the controller 12, is further configured to, in response to determining that the target instrument data is within the preset working data range, control the battery module 14 to adjust the current value input into the controller 12 based on the preset measurement frequency, so that the controller 12 switches between the working mode and the standby mode. The instrument detection device 10 of this embodiment flexibly switches the controller 12 between the working mode and the standby mode, thereby reducing the energy consumption of the controller 12, extending the single-use duration of the battery module 14, and reducing the maintenance cost caused by frequent replacement of the battery module 14 or charging.
[0095] As an alternative embodiment, based on any of the above embodiments, the controller 12 is further configured to control the battery module 14 to adjust the current value input into the communication module 13 based on the preset transmission frequency, so that the communication module 13 switches between the working mode and the sleep mode.
[0096] Specifically, when the communication module 13 completes the tasks of receiving data and sending data, the controller 12 controls the battery module 14 to input the current value into the communication module 13, so that the communication module 13 switches from the working mode to the sleep mode, and based on the preset transmission frequency, the communication module 13 is switched from the sleep mode to the working mode again. Thus, the energy consumption of the communication module 13 can be reduced, and the usage duration of the battery module 14 can be extended.
[0097] It should be noted that in the working mode, the communication module 13 is used to send the target instrument data to the gateway 20 and receive data from the gateway 20. In the sleep mode, the current value input into the communication module 13 is lower than the current value input into the communication module 13 in the working mode. At this time, the communication module 13 does not need to perform data transmission, and the power consumption of the communication module 13 will be significantly reduced, thereby extending the usage duration of the battery. Then, when it is determined based on the preset transmission frequency that the communication module 13 needs to send data or receive instructions again, the controller 12 controls the battery module 14 to increase the current value input into the communication module 13 to make it enter the working mode.
[0098] It should be noted that the preset transmission frequency is a parameter used by the controller 12 to determine when and how frequently to send data to the gateway 20, and this preset transmission frequency can be flexibly adjusted according to the actual situation. For example, in application scenarios that require high-precision real-time monitoring, the transmission frequency can be increased to ensure data accuracy; while in application scenarios with low requirements for real-time performance, the transmission frequency can be reduced to lower power consumption.
[0099] It should be noted that the controller 12 adjusts the current value input to the communication module 13 through the battery module 14, which can be achieved by changing the output voltage or current of the battery module 14, or by adjusting the power management circuit inside the communication module 13.
[0100] In the instrument detection device provided by the embodiment of the present application, the controller 12 is further configured to control the battery module 14 to adjust the current value input to the communication module 13 based on a preset transmission frequency, so that the communication module 13 can be switched between a working mode and a sleep mode. In the instrument detection device of this embodiment, by flexibly switching the communication module 13 between the working mode and the sleep mode, the energy consumption of the communication module 13 can be significantly reduced, thereby prolonging the service life of the battery module 14 and reducing the frequency and cost of replacing the battery module 14.
[0101] As an alternative embodiment, based on any of the above embodiments, the controller 12 is further configured to determine whether the communication module 13 is in the sleep mode in response to determining that the target instrument data is not within the preset working data range; and in response to determining that the communication module 13 is in the sleep mode, control the battery module 14 to adjust the current value input to the communication module 13, so that the communication module 13 is switched to the working mode.
[0102] Specifically, when the target instrument data received by the controller 12 is not within the preset working data range, it indicates that there is an abnormal situation with the instrument. At this time, it is determined whether the communication module 13 is still in the sleep mode. When the communication module 13 is still in the sleep mode, control the battery module 14 to adjust the current value input to the communication module 13, so that it is switched from the sleep mode to the working mode, thereby enabling the abnormal data information to be sent and timely feedback the abnormal situation of the instrument.
[0103] It should be noted that when it is determined that the communication module 13 is not in the sleep mode, the communication module 13 can be directly controlled to send the abnormal data information.
[0104] Optionally, it can be determined whether the communication module 13 is in the sleep mode by detecting the current value input to the communication module 13. In the instrument detection device provided by the embodiment of the present application, the controller 12 is further configured to determine whether the communication module 13 is in the sleep mode in response to determining that the target instrument data is not within the preset working data range; and in response to determining that the communication module 13 is in the sleep mode, control the battery module 14 to adjust the current value input to the communication module 13, so that the communication module 13 is switched to the working mode. In the instrument detection device 10 of this embodiment, the communication module 13 in the sleep mode is awakened when the instrument data is abnormal, ensuring that the abnormal situation of the instrument can be timely feedback; in addition, the communication module 13 is only awakened when data abnormality is detected, balancing the power consumption and data transmission requirements.
[0105] As an optional implementation, based on any of the above embodiments, the communication module 13 is a LoRa radio frequency chip.
[0106] Specifically, in this embodiment, the communication module 13 is a LoRa radio frequency chip.
[0107] Specifically, the LoRa radio frequency chip has the following advantages: strong anti-interference ability. LoRa wireless communication adopts spread spectrum technology, and the high spreading factor improves the anti-interference ability of wireless communication. Even if the same frequency is used and signals are sent to the same device at the same time, they will not interfere with each other, thus avoiding the problem that wireless signal communication is easily interfered with; strong penetration. The LoRa radio frequency chip has an actual test result that the wall penetration ability is more than five times that of traditional Wifi and Bluetooth modules at a wireless transmission frequency of 470MHz; supports low power consumption. The LoRa radio frequency chip supports low-power working output. Its receiving current is only 10mA and the sleep current is <200nA, which reduces the communication module 13 The power consumption is reduced, which extends the battery life; the transmission distance is long. The transmission distance of traditional Wifi, Bluetooth and other wireless technologies is less than 100 meters, which can reach 1000 meters by increasing the power, while the LoRa radio frequency chip can reach 3 kilometers or even farther under low-speed and open conditions. Compared with other wireless technologies under the same conditions, the transmission distance of the LoRa radio frequency chip is farther; the data rate of wireless communication, the LoRa radio frequency chip supports half-duplex wireless communication, the rate supports 292bps-5.4kbps, and can support wireless upgrade of device firmware without the need for network repeaters. There is no need for a large number of intermediate nodes between the instrument detection equipment 10 and the gateway 20 to convey messages, which improves the transmission efficiency.
[0108] Optionally, in this embodiment, the model of the LoRa radio frequency chip is SX1262. SX1262 is a highly integrated, single-channel, low-power wireless control module, which mainly adopts LoRa remote modulation and demodulation technology for ultra-long-distance spread spectrum communication, and can minimize current consumption. The most significant difference between SX1262 and the same family of radio frequency chips is that, under the same radio frequency performance, the current in the working state and the sleeping state is smaller, so it is more power-saving and smaller in size.
[0109] Optionally, when sending and receiving, the LoRa radio frequency chip uses a maximum spreading factor and a maximum bandwidth as radio frequency parameters and operates in an unlicensed frequency band.
[0110] Optionally, the LoRa radio frequency chip includes a radio frequency chip body, a radio frequency switch and an antenna, and the instrument data is connected to the antenna after matching filtering.
[0111] Figure 3 A flow chart of an instrument detection method provided in another embodiment of the present application is as follows:Figure 2 As shown, the execution entity of this embodiment is an instrument detection device. The instrument detection method provided by this application specifically includes the following steps:
[0112] S201. Control the communication module to send an access request to the gateway.
[0113] Specifically, before sending the access request, after the instrument detection device is powered on, the controller and the communication module are first initialized and configured. The initialization configuration includes, but is not limited to, configurations such as data transmission structure, alarm threshold, and communication parameters.
[0114] S202. In response to receiving the access success information sent by the gateway, control the detection element 11 to measure the instrument based on a preset measurement frequency to obtain target instrument data.
[0115] S203. Control the communication module to send the target instrument data to the gateway based on a preset sending frequency, and the target instrument data can be uploaded to the instrument inspection terminal through the gateway.
[0116] Optionally, the instrument detection method further includes: in response to not receiving the access success information sent by the gateway within a preset access time, control the communication module to send the access request again; in response to not receiving the access success information after a preset number of access requests, generate an access failure alarm information.
[0117] Optionally, the instrument detection method further includes: determining whether the target instrument data is within a preset working data range; in response to determining that the target instrument data is not within the preset working data range, generate an instrument failure alarm information.
[0118] Optionally, the instrument detection device further includes: a battery module, and the detection element, the controller, and the communication module are all electrically connected to the battery module.
[0119] Optionally, the instrument detection method further includes: before controlling the communication module to send an access request to the gateway, control the battery module to perform battery power detection; in response to receiving that the battery power detection value is lower than a preset power value, generate a power alarm information.
[0120] Optionally, the instrument detection method further includes: in response to determining that the target instrument data is within the preset working data range, control the battery module to adjust the current value input to the controller based on a preset measurement frequency, so that the controller switches between the working mode and the standby mode.
[0121] Optionally, the instrument detection method further includes: controlling the battery module to adjust the current value input to the communication module based on a preset sending frequency, so that the communication module switches between the working mode and the sleep mode.
[0122] Optionally, the instrument detection method further includes: in response to determining that the target instrument data is not within the preset working data range, determining whether the communication module is in the sleep mode; in response to determining that the communication module is in the sleep mode, controlling the battery module to adjust the current value input to the communication module so that the communication module switches to the working mode.
[0123] Figure 4 The gateway provided by an embodiment of the present application is as Figure 4 shown in the figure. The gateway 20 specifically includes: a main control unit 21 and a communication unit 22, and the main control unit 21 is communicatively connected to the communication unit 22.
[0124] Specifically, the main control unit 21 is configured to control the communication unit 22 to receive an access request sent by the communication module 13 and control the instrument detection device to access the network based on the access request, and send an access success message to the instrument detection device; the main control unit 21 is further configured to control the communication unit 22 to receive the target instrument data sent by the communication module 13, where the target instrument data is obtained by the instrument detection device controlling the detection element 11 to measure the instrument based on a preset measurement frequency; the main control unit 21 is further configured to control the communication unit 22 to send the target instrument data to the instrument inspection terminal.
[0125] Among them, the main control unit 21 is the "brain" of the gateway 20 and is mainly responsible for managing and controlling the operation of the entire gateway 20. During operation, the main control unit 21 mainly has the following functions: controlling the communication unit 22 to receive an access request. When the instrument detection device needs to access the network through the gateway 20, it will send an access request to the gateway 20. The main control unit 21 receives this request through the communication unit 22 and determines whether to allow the device to access the network according to the information in the request; controlling the instrument detection device to access the network. Once it is confirmed that the access request is valid, the main control unit 21 sends an access instruction to the instrument detection device through the communication unit 22 to enable it to successfully access the network; sending an access success message. To ensure that the instrument detection device knows that it has successfully accessed the network, the main control unit 21 will generate an access success message and send it to the instrument detection device through the communication unit 22; controlling the communication unit 22 to receive the target instrument data. After the instrument detection device successfully accesses the network, it will control the detection element to measure the instrument based on a preset measurement frequency, and send the measured target instrument data to the main control unit 21 through the communication module 13. The main control unit 21 receives the target instrument data through the communication unit 22 and stores and processes it; controlling the communication module to send the target instrument data. After receiving the target instrument data, the main control unit 21 will control the communication unit 22 to send the target instrument data to the instrument inspection terminal.
[0126] Optionally, the main control unit 21 may be a programmable controller or a dedicated control chip, etc. In this embodiment, no specific limitation is made thereto.
[0127] Among them, the communication unit 22 serves as a communication bridge between the gateway 20 and the instrument detection device and the instrument inspection terminal, and is mainly responsible for receiving and sending data. Optionally, there are various forms of the communication unit 22, such as Bluetooth, cellular network, WiFi, or LoRa, etc. In this embodiment, the communication unit 22 is not specifically limited.
[0128] Specifically, the gateway 20 further includes a peripheral circuit, and the peripheral circuit includes, but is not limited to, a concentrator, a communication interface, a storage module, and a control interface, etc., to ensure the normal operation of the gateway 20.
[0129] The gateway 20 provided by the embodiment of the present application specifically includes: a main control unit 21 and a communication unit 22, and the main control unit 21 is communicatively connected to the communication unit 22; the main control unit 21 is used to control the communication unit 22 to receive the network access request sent by the communication module and control the instrument detection device to access the network based on the network access request, and send the network access success information to the instrument detection device; the main control unit 21 is further used to control the communication unit 22 to receive the target instrument data sent by the communication module, and the target instrument data is obtained by the instrument detection device controlling the detection element to measure the instrument based on a preset measurement frequency; the main control unit 21 is further used to control the communication unit 22 to send the target instrument data to the instrument inspection terminal. The gateway 20 of this embodiment realizes the efficient network access management of the instrument detection device and the instrument data transmission function through the collaborative operation of the main control unit 21 and the communication unit 22.
[0130] As an optional implementation manner, on the basis of any one of the above embodiments, the main control unit 21 is a main control chip; the communication unit 22 is a communication chip; the main control chip is further used to control the communication chip to sequentially send polling information to a plurality of instrument detection devices; in response to not receiving the information sent by the instrument detection device within a preset polling period, generate a fault information corresponding to the instrument detection device.
[0131] Specifically, in this embodiment, the main control unit 21 is a main control chip, and the communication unit 22 is a communication chip. During operation, the main control chip is further used to control the communication chip to sequentially send polling information to a plurality of instrument detection devices. When the information sent by the instrument detection device is not received within a preset polling period, it indicates that the instrument detection device has a fault. Therefore, a fault information corresponding to the instrument detection device is generated.
[0132] Optionally, during polling, a plurality of instrument detection devices communicatively connected to the gateway 20 are sequentially queried based on the address information. When the information sent by the instrument detection device is not received within a preset polling period, the fault information of the instrument detection device is generated.
[0133] Among them, the polling information can be a query or a status request, used to check whether the instrument detection device is online, whether it is working properly, and whether data upload is required, etc.
[0134] Among them, the preset polling period is a period preset to determine whether a certain instrument detection device has a fault. Optionally, the preset polling period can be two rounds, that is, when the gateway 20 patrols a certain instrument detection device twice and still does not receive the information sent by the instrument detection device, it is determined that the instrument detection device has a fault. Of course, the polling period can also be other values, and the specific value can be flexibly set according to actual needs.
[0135] Optionally, when the gateway 20 patrols a certain instrument detection device, it sends information to the instrument detection device to prompt the instrument detection device to send an access request or send instrument data. When the information sent by the instrument detection device is not received within the preset patrol time, it continues to patrol the next instrument detection device; when the instrument detection device is patrolled in the next round of inspection and the information sent by the instrument detection device is still not received, a fault information of the instrument detection device is generated, and the fault information can be used for subsequent alarm, log record or device maintenance, etc.
[0136] Among them, the preset patrol time is the residence time of the gateway 20 when patrolling any instrument detection device.
[0137] Optionally, the preset polling period and the preset patrol time can be implemented by setting a counter and a timer.
[0138] Optionally, after the polling is completed, the data information obtained during the polling of the gateway 20 is packed and sent to the instrument inspection terminal.
[0139] Optionally, after the fault information is generated, the communication chip is immediately controlled to send the fault information to the instrument inspection terminal so that the staff can timely understand and repair the fault of the corresponding instrument detection device.
[0140] Optionally, in this embodiment, the main control chip uses a single-chip microcomputer of the STM32 series. The STM32 series has a very high response speed and provides many peripheral device interfaces.
[0141] Optionally, after the gateway 20 is powered on, the main control chip and the communication chip are first initialized and configured. Among them, the initialization and configuration include, but are not limited to, the data packet structure and the communication parameter configuration.
[0142] The gateway 20 provided in this embodiment has a main control unit 21 which is a main control chip; a communication unit 22 which is a communication chip; the main control chip is further configured to control the communication chip to sequentially send polling information to multiple instrument detection devices; and in response to not receiving information sent by the instrument detection devices within a preset polling period, generate fault information corresponding to the instrument detection devices. By setting up a polling mechanism, the status of each instrument detection device can be regularly and orderly checked, the fault problems of the instrument detection devices can be timely detected, and the efficiency and reliability of instrument inspection are improved.
[0143] Optionally, the communication chip is a LoRa gateway 20 chip. In this embodiment, the LoRa gateway 20 chip is a relay base station between the instrument detection device and the instrument inspection terminal, and realizes the interaction between the instrument detection device and the instrument inspection terminal through the forwarding of uplink data and downlink data.
[0144] Specifically, the LoRa gateway chip is connected to the instrument detection device and the instrument inspection terminal by using the TCP / IP communication method, and has multiple methods such as local area network wired communication, GSM, and 4G mobile communication, and can communicate with a cloud server in the local area network or the external network.
[0145] Optionally, in this embodiment, the LoRa gateway chip adopts the SX130X series of chips. The SX130X series of chips integrates the LoRa multi-channel high-performance transceiver function and can simultaneously and parallelly process the LoRa signals of multiple instrument detection devices with different parameters.
[0146] Figure 1 For the instrument inspection system provided in an embodiment of the present application, as Figure 1 shown in, the instrument inspection system includes an inspection terminal 30, the instrument detection device 10 provided in any of the above embodiments, and the gateway 20 provided in any of the above embodiments; and both the instrument detection device 10 and the inspection terminal 30 are communicatively connected to the gateway 20.
[0147] Specifically, during operation, the instrument detection device 10 is used to detect the instrument to generate instrument data, and send the instrument data to the gateway 20. The gateway 20 sends the data to the instrument inspection terminal 30, and the instrument inspection terminal 30 receives the instrument data. The staff can know the status of the instrument according to the instrument data. By integrating the inspection terminal 30, the instrument detection device 10, and the gateway 20, this instrument inspection system realizes remote data measurement of the instrument and transmits the instrument data to the inspection terminal 30, improving the inspection efficiency and the accuracy of instrument management.
[0148] Among them, the inspection terminal 30 is an important part of the instrument inspection system, mainly responsible for receiving, processing, and displaying the instrument data detected by the instrument detection device 10.
[0149] Optionally, multiple instrument detection devices 10 are configured, which are set in one-to-one correspondence with multiple instruments, and the multiple instruments are all communicatively connected to the gateway 20. After receiving the data information of multiple instruments, the gateway 20 packs and sends it to the instrument inspection terminal 30, so that the inspection terminal 30 can monitor or inspect multiple instruments simultaneously, improving the efficiency of instrument inspection.
[0150] Optionally, the inspection terminal 30 can be a dedicated hardware device, such as a handheld inspection instrument or a fixed monitoring terminal, or it may be a software application running on a smartphone, tablet computer or computer.
[0151] Optionally, the inspection terminal 30 is a LoRa wireless Internet of Things intelligent inspection platform, the instrument detection device 10 is provided with a LoRa radio frequency chip, and the gateway 20 is provided with a LoRa gateway 20 chip, so as to realize the efficient transmission of instrument data through LoRa wireless communication technology.
[0152] Optionally, the LoRa wireless Internet of Things intelligent inspection platform independently sets up an application service network, which is specifically used to transmit a large amount of application real-time data between computing servers, large-scale time series databases, human-machine interface stations, etc. The application real-time data should be separated from the real-time control data to ensure the high real-time and high availability of the real-time control network. For the application functions running on various servers, if historical data is required, they should interact with the time series database through the application service network. At the same time, these application functions can also interact alarm, report and other data to the process control system, realizing the comprehensive integration and sharing of data.
[0153] Optionally, the LoRa wireless Internet of Things inspection platform can also perform real-time data interaction with third-party systems such as computer device information systems, manufacturing execution systems, data acquisition and monitoring systems, distributed control systems, and process control systems through standard interfaces such as WebService, ODBC (Open Database Connectivity), and MQTT (Message Queuing Telemetry Transport). The above third-party systems can directly obtain historical inspection data, including inspection reports, alarm history information, historical fault information, etc. in the form of accessing the database. In addition, if the above third party needs to access real-time video monitoring, it can be accessed through the standard video protocol and seamlessly integrated into the function module of the LoRa wireless Internet of Things intelligent inspection platform. Specifically, the interaction content includes but is not limited to the status of detection elements, instrument data, alarm information, etc. in the instrument detection device 10.
[0154] Optionally, the LoRa wireless Internet of Things intelligent inspection platform includes but is not limited to the following function modules:
[0155] User management module, which is used to establish personal information in the database through registration, add user classification permissions, provide different services for users with different permissions through permission control, and only users who pass the verification can use the service level.
[0156] The whole plant layout inspection point display platform is used to build a 3D digital model of the air separation plant area based on a digital software platform; extract digital scene models in different regions in 3D modeling software to realize the visualization of the digital twin of the air separation plant area, and staff can understand the path of unmanned inspection in real time.
[0157] Equipment management module, which is used to manage the detection components of the instrument detection equipment 10, and can add, delete, and modify the information of the detection components 11; support batch deletion and batch import of detection component information.
[0158] Alarm management module, which is used to confirm alarm information and conduct statistical analysis of alarm information. Alarm confirmation covers the total number of alarms, the number of unprocessed alarms, and the number of processed alarms, which are displayed in the form of charts. The query of alarm statistics supports filtering and querying according to conditions such as start time and end time.
[0159] Online monitoring, early warning and analysis are used to collect the data of the existing instrument detection equipment 10, realize the online spot check of major hazard sources, and support the browsing of major hazard sources based on the whole plant layout. For example, view the real-time monitoring data, alarm data of liquid level, temperature, pressure and concentration of combustible and toxic gases at storage tanks, devices, dangerous chemical warehouses, etc., query historical data and conduct comparative analysis.
[0160] Management of major risk source control is used to divide into four levels: major risk (red), relatively large risk (orange), general risk (yellow), and low risk (blue) based on a risk early warning model, realize the real-time assessment analysis and display of the safety risks of major hazard sources, and support the immediate automatic sending, verification and feedback of early warning information according to the early warning level.
[0161] Hidden danger investigation and management are used to formulate hidden danger investigation plans, which include information such as plan name, investigation level, investigation type, plan start time, plan end time, investigation cycle, and investigation department, to help supervisors smoothly carry out hidden danger investigation work. According to the configuration in the investigation plan, manage all investigation tasks of all departments. After the investigation task is executed, if the investigation department or supervisor finds safety hazards in the enterprise, they can summarize and record them in the hidden danger rectification, including data such as hidden danger name, affiliated unit, and hidden danger level. Provide a regulation library, knowledge library and case library, sort out the hidden danger investigation standards of the industry, and be used to standardize the supervisors to smoothly carry out hidden danger investigation work and guide the sorting out and formulation of hidden danger investigation standards.
[0162] Log management is used to completely record the access and operation records of the platform, including the platform operator number, operation content, operation, operation time, etc. It supports log query by combining multiple conditions, including configuration type, system, IP address, user, log content, start and end time, and also supports the log export function.
[0163] In several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of modules is only a logical function division. In actual implementation, there may be other division methods. For example, multiple modules can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed mutual coupling or direct coupling or communication connection can be through some interfaces, and the indirect coupling or communication connection of devices or modules can be in electrical, mechanical or other forms.
[0164] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they can be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to implement the solution of this embodiment.
[0165] In addition, in each embodiment of this application, the functional modules can be integrated in a processing unit, or each module can exist physically alone, or two or more modules can be integrated in one unit. The units formed by the above modules can be implemented in the form of hardware or in the form of hardware plus software functional units.
[0166] The integrated modules implemented in the form of software functional modules can be stored in a computer-readable storage medium. The above software functional modules are stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor to execute some steps of the methods in each embodiment of this application.
[0167] It should be understood that the above-mentioned processor can be a Central Processing Unit (CPU), or other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor, etc. The steps of the method disclosed in combination with the invention can be directly embodied as being executed and completed by a hardware processor, or can be executed and completed by a combination of hardware and software modules in the processor.
[0168] The memory may include high-speed RAM memory, and may also include non-volatile storage NVM, such as at least one disk memory, and can also be a USB flash drive, a mobile hard disk, a read-only memory, a magnetic disk, or an optical disc, etc.
[0169] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For the convenience of representation, the bus in the drawings of this application is not limited to only one bus or one type of bus.
[0170] The above-mentioned storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic memory, flash memory, a magnetic disk, or an optical disc. The storage medium can be any available medium that can be accessed by a general-purpose or special-purpose computer.
[0171] An exemplary storage medium is coupled to the processor, enabling the processor to read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an Application Specific Integrated Circuit (ASIC). Of course, the processor and the storage medium can also exist as discrete components in an electronic control unit or a master control device.
[0172] Those of ordinary skill in the art can understand that all or part of the steps to implement the above method embodiments can be completed by hardware related to program instructions. The foregoing program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps including the above method embodiments; and the foregoing storage medium includes: various media such as ROM, RAM, magnetic disk, or optical disc that can store program codes.
[0173] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements on some or all of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. An instrument detection device, characterized in that: include: A detection element, a controller and a communication module, wherein the detection element and the communication module are both connected to the controller for communication; The controller is used to control the communication module to send a network access request to the gateway; The controller is further configured to, in response to receiving the network access success information sent by the gateway, control the detection element to measure the instrument based on a preset measurement frequency to obtain target instrument data; The controller is further used to control the communication module to send the target instrument data to the instrument inspection terminal through the gateway based on a preset sending frequency.
2. The device according to claim 1, characterized in that The controller is also used to control the communication module to send a network access request again in response to not receiving the network access success information sent by the gateway within a preset network access time; and generate network access failure alarm information in response to not receiving the network access success information after a preset number of network access requests.
3. The device according to claim 1, characterized in that The controller is further configured to determine whether the target instrument data is within a preset working data range; and generate instrument fault alarm information in response to determining that the target instrument data is not within the preset working data range.
4. The device according to claim 1, characterized in that Also includes: A battery module, the detection element, the controller and the communication module are all electrically connected to the battery module; The controller is further used to control the battery module to perform battery power detection before controlling the communication module to send a network access request to the gateway; in response to receiving a battery power detection value lower than a preset power value, generate power alarm information.
5. The device according to claim 4, characterized in that The controller is further configured to, in response to determining that the target meter data is within a preset working data range, control the battery module to adjust the current value entering the controller based on a preset measurement frequency, so that the controller switches between a working mode and a standby mode.
6. The device according to claim 4, characterized in that The controller is further used to control the battery module to adjust the current value flowing into the communication module based on the preset sending frequency, so that the communication module switches between the working mode and the sleep mode.
7. The device according to claim 6, characterized in that The controller is further configured to, in response to determining that the target instrument data is not within a preset working data range, determine whether the communication module is in the sleep mode; in response to determining that the communication module is in the sleep mode, control the battery module to adjust the current value passed into the communication module so that the communication module switches to the working mode.
8. The device according to any one of claims 1 to 7, characterized in that: The communication module is a LoRa radio frequency chip.
9. An instrument detection method, characterized in that: Applied to the instrument detection device according to any one of claims 1 to 8, the method comprises: Controlling the communication module to send a network access request to the gateway; In response to receiving the network access success information sent by the gateway, controlling the detection element to measure the instrument based on a preset measurement frequency to obtain target instrument data; The communication module is controlled to send the target instrument data to the gateway based on a preset sending frequency, and the target instrument data can be uploaded to the instrument inspection terminal through the gateway.
10. A gateway, characterized in that: include: A main control unit and a communication unit, wherein the main control unit is communicatively connected with the communication unit; The main control unit is used to control the communication unit to receive the network access request sent by the communication module and control the instrument detection device to access the network based on the network access request, and send network access success information to the instrument detection device; The main control unit is further used to control the communication unit to receive target instrument data sent by the communication module, wherein the target instrument data is obtained by the instrument detection device controlling the detection element to measure the instrument based on a preset measurement frequency; The main control unit is also used to control the communication unit to send the target instrument data to the instrument inspection terminal.
11. The gateway according to claim 10, characterized in that: The main control unit is a main control chip; the communication unit is a communication chip; The main control chip is also used to control the communication chip to send patrol information to the plurality of instrument detection devices in sequence; In response to not receiving the information sent by the instrument detection device within a preset patrol period, fault information corresponding to the instrument detection device is generated.
12. The gateway according to claim 10 or 11, characterized in that: The communication chip is a LoRa gateway chip.
13. An instrument inspection system, characterized in that: It comprises an inspection terminal, an instrument detection device as described in any one of claims 1 to 8, and a gateway as described in any one of claims 10 to 12; the instrument detection device and the inspection terminal are both communicatively connected to the gateway.
Citation Information
Cited By
Air cooling island leakage point online monitoring device and method based on array type ultrasound
CN121141072A