Methods, devices, and computer equipment for connecting sensors to data acquisition and storage media
By using a unified interface specification and target recognition technology, the sensor and the data acquisition and storage medium can be plugged and played, which solves the problems of inconsistent interfaces and difficulty in recognition in traditional connection methods, improves the system's compatibility and efficiency, and ensures the accuracy and reliability of data acquisition.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- 深圳市南海核电技术有限公司
- Filing Date
- 2024-10-11
- Publication Date
- 2026-05-26
AI Technical Summary
Traditional methods of connecting sensors to data acquisition and storage media suffer from problems such as inconsistent interfaces, difficulty in identification, and complex configuration, resulting in poor system flexibility and reliability, and particularly inefficient in scenarios where sensors need to be frequently replaced or added.
It adopts a unified interface specification and a connection interface design with consistent attributes, and combines target recognition technologies such as QR codes and RFID to achieve rapid and automatic identification and configuration of sensors, supports multiple physical connection methods, and automatically generates data acquisition schemes.
It improves system compatibility and flexibility, reduces manual intervention, increases efficiency, ensures the accuracy of data collection and system reliability, and reduces maintenance workload.
Smart Images

Figure CN119312823B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of sensor connectivity technology, and in particular to a method, apparatus, and computer device for connecting a sensor to a data acquisition and storage medium. Background Technology
[0002] Sensors are playing an increasingly important role as key data acquisition devices. Especially in precision control systems such as valve diagnostics, accurate and reliable data acquisition is crucial for monitoring equipment operating status and providing early warnings of faults. However, traditional methods of connecting sensors to acquisition and storage media have many limitations, such as inconsistent interfaces, difficulties in identification, and complex configurations. These problems seriously affect the flexibility and reliability of the system.
[0003] Currently, various types of sensors and data acquisition and storage media exist on the market, with inconsistent interface standards, leading to cumbersome and error-prone connection processes. Furthermore, sensor identification and configuration often require manual intervention, which is not only time-consuming and labor-intensive but also prone to human error. These problems are particularly pronounced in scenarios requiring frequent sensor replacement or addition, significantly reducing system efficiency and maintainability. Summary of the Invention
[0004] This invention provides a method, apparatus, and computer device for connecting a sensor to a data acquisition and storage medium. The invention enables rapid sensor identification and automatic configuration, supports a unified interface standard, and adapts to various physical connection methods. Furthermore, considering the data acquisition needs in specific application scenarios such as valve diagnostics, it ensures that the acquired data accurately reflects the operating status of the equipment.
[0005] In a first aspect, the present invention provides a method for connecting a sensor to a data acquisition and storage medium, the method comprising:
[0006] Acquire sensors with independent identification information and configure multiple candidate connection interfaces of the acquisition and storage medium to obtain multiple connection interfaces with unified attributes;
[0007] The sensor is physically connected to any connection interface with uniform properties in the data acquisition and storage medium to obtain the initial connection state.
[0008] Target recognition technology is used to identify the sensors in the initial connection state and obtain identification information;
[0009] Based on the identification information, sensor information is calibrated, and a sensor data acquisition scheme is generated. The data acquisition scheme is used to acquire physical change data of valve operation through the sensor, and to store the physical change data through the acquisition storage medium.
[0010] Secondly, the present invention provides a connection device for a sensor and a data acquisition and storage medium, the connection device comprising:
[0011] The acquisition module is used to acquire sensors with independent identification information and configure multiple candidate connection interfaces of the acquisition storage medium to obtain multiple connection interfaces with unified attributes.
[0012] The connection module is used to physically connect the sensor to any connection interface with uniform properties in the data acquisition and storage medium to obtain the initial connection state.
[0013] The identification module is used to identify the sensor in the initial connection state using target identification technology and obtain identification information;
[0014] The generation module is used to perform sensor information calibration based on the identification information and generate a sensor data acquisition scheme. The data acquisition scheme is used to collect physical change data of valve operation through the sensor and store the physical change data through the acquisition storage medium.
[0015] A third aspect of the present invention provides a computer device, comprising: a memory and at least one processor, wherein the memory stores instructions; the at least one processor invokes the instructions in the memory to cause the computer device to execute the above-described method for connecting a sensor to a data acquisition storage medium.
[0016] The technical solution provided by this invention, through a unified interface specification and a connection interface design with consistent attributes, enables different types of sensors to be plug-and-play with the data acquisition and storage medium, greatly improving the system's compatibility and flexibility. Employing multiple target recognition technologies, such as QR codes and RFID, enables rapid and automatic sensor identification, simplifying the connection and configuration process, reducing manual intervention, and improving efficiency. Through a unified design of multiple candidate connection interfaces, even if one interface fails, other interfaces can still be used for connection, improving the system's reliability and fault tolerance. Based on the sensor's functional attributes, calibration information, and corresponding algorithms, a targeted data acquisition scheme is automatically generated, ensuring that the acquired data on valve operation physical changes is more accurate and effective. Multiple physical connection methods are supported, including wireless communication, wired communication, Bluetooth communication, and network communication, meeting the connection requirements of different application scenarios. The automated identification and configuration process significantly reduces the workload during system maintenance and upgrades, improving system maintainability. This invention, applied to the field of valve diagnostics, possesses a reliable and convenient sensor information management mechanism, a highly convenient sensor usage mechanism, and a unified and broad backup interface strategy, enabling compatibility with a wider range of sensor types. Attached Figure Description
[0017] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 This is a schematic diagram illustrating the steps of the connection method between the sensor and the data acquisition and storage medium in an embodiment of the present invention;
[0019] Figure 2 This is a schematic diagram showing the location of the sensor's ID information storage medium in an embodiment of the present invention;
[0020] Figure 3 This is a schematic diagram of a connection interface with unified attributes in an embodiment of the present invention;
[0021] Figure 4 This is a schematic diagram of the connection device between the sensor and the data acquisition and storage medium in an embodiment of the present invention. Detailed Implementation
[0022] This invention provides a method, apparatus, and computer device for connecting a sensor to a data acquisition and storage medium. The terms "first," "second," "third," "fourth," etc. (if present)," in the specification, claims, and accompanying drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" or "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or devices.
[0023] For ease of understanding, the specific process of the embodiments of the present invention is described below. Please refer to [link / reference]. Figure 1 One embodiment of the connection method between the sensor and the data acquisition and storage medium in this invention includes:
[0024] Step S1: Obtain sensors with independent identification information and configure multiple candidate connection interfaces of the acquisition and storage medium to obtain multiple connection interfaces with unified attributes;
[0025] It is understood that the executing entity of this invention can be a connection device between the sensor and the data acquisition and storage medium, or it can be a terminal or a server; no specific limitation is made here. This embodiment of the invention will be described using a server as an example.
[0026] Step S2: Physically connect the sensor to any connection interface with the same properties in the data acquisition and storage medium to obtain the initial connection state;
[0027] Step S3: Use target recognition technology to identify the sensor in the initial connection state and obtain identification information;
[0028] Step S4: Based on the identification information, perform sensor information calibration and generate a sensor data acquisition scheme. The data acquisition scheme is used to collect physical change data of valve operation through the sensor and store the physical change data through the acquisition storage medium.
[0029] Specifically, the connection mechanism between the sensor and the data acquisition and storage medium, such as Figure 2 As shown, Figure 2 The location of the sensor's ID information storage medium is specified. Each sensor has independent identification information, and the connection interface of the data acquisition and storage medium is not unique. All data acquisition interfaces have uniform attributes (the key purpose of uniform attributes is to eliminate the need to consider how the sensor and data acquisition and storage medium should be connected; they can be connected arbitrarily. Sensors can be connected to the data acquisition and storage medium in any way, even if the interface is damaged, it can still be connected to other interfaces). Interface attributes include, but are not limited to, the type of acquisition signal, the accuracy of the acquisition signal, the physical connection style, etc. Figure 3As shown. The key to sensor identification lies in assigning a unique ID to any sensor with a standard signal output. The method of binding the ID is not limited to the following target identification technologies, such as 2D scanning identification (for example, a QR code label is attached to the sensor, and the collector has a scanning device to automatically obtain sensor information by scanning the code), chip identification (for example, an identification chip / storage circuit element is connected in the sensor signal connector or cable, which can store ID information), communication verification and information reading (common and easy-to-implement methods are added here), and RFID identification technology (an RFID code is installed inside the sensor, and the sensor's ID information is stored in the bias code information of the RFID code). The physical connection here includes, but is not limited to, any communication transmission and physical point-to-point insertion (conventional and universal). After the data acquisition storage medium and sensor are connected, the sensor information can be automatically obtained through ID information verification, and a corresponding acquisition strategy can be generated. The acquisition strategy includes, but is not limited to, automatically obtaining the corresponding algorithm, automatically obtaining the sensor's functional attributes, and automatically obtaining calibration information. (The key to obtaining calibration information is to know whether the sensor is within the compliant accuracy range, so as to distinguish whether the collected data is legal.) After obtaining the information, it is known what the sensor can collect. The user can then connect the sensor to the valve end. By connecting different types of sensors, all physical changes in the valve's operation can be transmitted to the data acquisition storage medium through the connection with the data acquisition storage medium. This connection includes, but is not limited to, communication transmission (communication methods are not limited to wireless communication, wired communication, Bluetooth communication, network communication), physical point-to-point direct transmission, etc.
[0030] In this invention, a unified interface specification and consistent connection interface design enable plug-and-play functionality between different types of sensors and the data acquisition and storage media, significantly improving system compatibility and flexibility. Employing various target recognition technologies, such as QR codes and RFID, enables rapid and automatic sensor identification, simplifying the connection and configuration process, reducing manual intervention, and improving efficiency. A unified design with multiple candidate connection interfaces ensures that even if one interface fails, other interfaces can still be used, enhancing system reliability and fault tolerance. Based on sensor functional attributes, calibration information, and corresponding algorithms, a targeted data acquisition scheme is automatically generated, ensuring more accurate and effective data on valve operation physical changes. Multiple physical connection methods are supported, including wireless communication, wired communication, Bluetooth communication, and network communication, meeting the connection requirements of different application scenarios. The automated identification and configuration process greatly reduces the workload during system maintenance and upgrades, improving system maintainability. This invention, applied in the field of valve diagnostics, possesses a reliable and convenient sensor information management mechanism, a highly convenient sensor usage mechanism, and a unified and broad backup interface strategy, enabling compatibility with a wider range of sensor types.
[0031] In one specific embodiment, the process of performing step S1 may specifically include the following steps:
[0032] By binding a unique identifier to the sensor, a sensor with independent identification information is obtained. The unique identifier includes the sensor ID.
[0033] Based on a unified interface specification, multiple candidate connection interfaces for the acquisition and storage medium are configured to obtain multiple connection interfaces with unified attributes, including the type of acquisition signal, the accuracy of the acquisition signal, and the physical connection style.
[0034] The unique identification information binding method includes at least one of the following: attaching a QR code label to the sensor; integrating an identification chip or storage circuit element into the sensor signal connection plug or cable; installing an RFID code inside the sensor, with the sensor's ID information stored in the bias code information of the RFID code.
[0035] Specifically,
[0036] In one specific embodiment, the connection interface attributes of the acquisition storage medium further include:
[0037] The type of signal acquired; the accuracy of the acquired signal; the physical connection style; wherein, the properties of all candidate connection interfaces of the acquisition storage medium are consistent, so that the sensor can be connected to any candidate connection interface, and even if any candidate connection interface is damaged, other candidate connection interfaces can still be used for connection.
[0038] Specifically, sensors are uniquely identified and bound to them, resulting in sensors with independent identification information, including a sensor ID. Specific binding methods include, but are not limited to: attaching a QR code label to the sensor containing its unique ID; integrating an identification chip or storage circuit element into the sensor signal connection plug or cable to store the sensor ID; and installing an RFID code inside the sensor, storing the sensor ID in the RFID code's offset information. Multiple candidate connection interfaces of the data acquisition and storage medium are configured based on a unified interface specification, resulting in multiple connection interfaces with unified attributes. These unified attributes include, but are not limited to: signal type (e.g., analog, digital); signal accuracy (e.g., 16-bit, 24-bit); and physical connection style (e.g., DB9, USB). This ensures that all candidate connection interface attributes of the data acquisition and storage medium remain consistent, allowing the sensor to be connected to any interface. The purpose of this design is to achieve plug-and-play functionality, eliminating the need to consider the correspondence between the sensor and the data acquisition and storage medium, and to improve system fault tolerance, ensuring that even if one interface fails, other interfaces can still be used for connection. The connection interface attributes of the data acquisition and storage medium may also include: the frequency range of the acquired signal; the voltage / current range of the acquired signal; the communication protocol type (e.g., RS-232, RS-485, 4-20mA, etc.); and the configuration of the data acquisition and storage medium to support diverse connection methods, including but not limited to: wireless communication (e.g., Wi-Fi, ZigBee, etc.); wired communication (e.g., Ethernet, CAN bus, etc.); Bluetooth communication; and network communication (e.g., TCP / IP, MQTT, etc.). Necessary hardware devices are integrated into the data acquisition and storage medium to support various identification technologies: an integrated QR code scanner for reading QR code tags on sensors; an integrated chip reader for reading identification chips in sensor connectors; and an integrated RFID reader for reading RFID codes inside sensors. Automatic identification and configuration algorithms are developed and integrated, enabling the data acquisition and storage medium to: automatically detect newly connected sensors; read the sensor's unique identification information; query a preset database based on the identification information to obtain detailed sensor information; and automatically generate acquisition strategies and data processing algorithms suitable for the sensor. By following the steps above, flexible connection and automatic configuration between the sensor and the data acquisition and storage medium can be achieved, greatly improving the ease of use and adaptability of the system. It is particularly suitable for scenarios such as valve diagnosis where different types of sensors need to be frequently replaced or added.
[0039] In one specific embodiment, the process of performing step S2 may specifically include the following steps:
[0040] Select any connection interface with uniform attributes on the data acquisition and storage medium. The connection interface with uniform attributes has a data acquisition signal type, data acquisition signal accuracy, and physical connection style that are compatible with the sensor.
[0041] The sensor is connected to the selected unified connection interface through a physical connection method, which includes at least one of the following: communication transmission connection, including wireless communication, wired communication, Bluetooth communication and network communication; physical point-to-point direct connection; confirming the completion of the physical connection between the sensor and the data acquisition and storage medium, and establishing the initial connection state.
[0042] Specifically, select a connection interface with uniform attributes on the data acquisition and storage medium: Check all available connection interfaces on the data acquisition and storage medium. Confirm that these interfaces have uniform attributes, including but not limited to: signal type (e.g., analog signal, digital signal); signal accuracy (e.g., 16-bit, 24-bit); physical connection style (e.g., DB9 interface, USB interface); verify that these attributes are compatible with the sensor to be connected. Connect the sensor to the selected connection interface with uniform attributes via physical connection method: Communication transmission connection: Wireless communication: such as using Wi-Fi, ZigBee, etc. to establish a connection. Wired communication: such as using Ethernet cable, serial cable, etc. Bluetooth communication: establish a short-range wireless connection via Bluetooth protocol. Network communication: such as establishing a connection on a local area network or the Internet via TCP / IP protocol. Physical point-to-point direct connection: such as using a standard interface (e.g., DB9, USB, etc.) to directly insert the sensor into the corresponding port of the data acquisition and storage medium. Confirm that the physical connection between the sensor and the data acquisition and storage medium is complete and establish the initial connection status: For wired connections, check whether the connection is secure and whether the signal is transmitted normally. For wireless connections, verify sufficient signal strength and connection stability. Perform a simple communication test to ensure data transmission is normal. Automatic configuration after connection establishment: The data acquisition and storage media automatically detects newly connected sensors. It initiates the sensor identification program, preparing to read the sensor's unique identification information. Handling special cases: If the selected interface cannot establish a connection, the system automatically tries other available interfaces. If all interfaces fail to establish a connection, the system provides an error message, suggesting checking for sensor or data acquisition and storage media malfunctions. Connection security considerations: For wireless connections, ensure appropriate encryption methods are used to protect data transmission security. For wired connections, consider using physical isolation or other security measures to prevent unauthorized access. Connection status monitoring: After connection establishment, continuously monitor the connection status. If the connection is interrupted, the system should be able to automatically reconnect or issue a warning. Through these steps, a flexible and reliable physical connection between the sensor and the data acquisition and storage media can be achieved. This design allows users to connect sensors to any interface of the data acquisition and storage media, greatly improving the system's usability and adaptability. Even if one interface fails, it can be easily switched to another interface, ensuring continuous system operation. This connection mechanism is particularly suitable for scenarios requiring frequent replacement or addition of different types of sensors, such as valve diagnostic systems.
[0043] In one specific embodiment, the process of performing step S3 may specifically include the following steps:
[0044] Select a target identification technology, which can be any of the following: 2D scanning identification technology, which scans the QR code label on the sensor using a scanning device on the acquisition storage medium; chip identification technology, which reads the information from the identification chip or storage circuit element integrated in the sensor signal connection plug or cable; communication verification and reading technology, which exchanges data with the sensor through a preset communication protocol to obtain the sensor's identification information; or RFID technology, which reads the information stored in the RFID code installed inside the sensor using an RFID reader.
[0045] The selected target recognition technology is used to scan or read the sensor in the initial connection state; the acquired scanning or reading results are parsed to extract the sensor's unique identification information; the extracted unique identification information is used as the sensor's identification information.
[0046] Specifically, select the target identification technology: Two-dimensional scanning identification technology: The data acquisition and storage medium is equipped with an integrated barcode scanner. A QR code tag containing its unique ID information is affixed to the sensor. The scanner can be a small camera or a dedicated QR code scanner. Chip identification technology: An identification chip or storage circuit element is integrated into the sensor's signal connection plug or cable. The data acquisition and storage medium is equipped with a corresponding chip reader. The identification chip can be an EEPROM, RFID chip, or other small storage device. Communication verification and reading technology: The data acquisition and storage medium is pre-set with various commonly used communication protocols. Data exchange with the sensor is performed by trying different protocols. Protocols may include, but are not limited to, industrial communication protocols such as Modbus, HART, and Profibus. RFID technology: An RFID tag is installed inside the sensor. The data acquisition and storage medium is equipped with an RFID reader. The sensor's ID information is stored in the offset code information of the RFID tag. Use the selected target identification technology to scan or read the sensor in the initial connected state: For two-dimensional scanning identification technology: Activate the barcode scanner on the data acquisition and storage medium. Scan the QR code tag on the sensor. Obtain the raw data of the scan result. For chip identification technology: Activate the chip reader on the acquisition storage medium. Establish a connection with the identification chip in the sensor connector plug or cable. Read the information stored in the chip. For communication verification reading technology: The acquisition storage medium attempts to communicate with the sensor using a preset communication protocol. Send a standard identification request command. Receive the data returned by the sensor. For RFID technology: Activate the RFID reader on the acquisition storage medium. Scan the RFID tag inside the sensor. Read the information stored in the RFID tag. Parse the acquired scan or reading results to extract the sensor's unique identification information: For QR code scan results: Use a QR code decoding algorithm to parse the scanned image data. Extract sensor ID and other related information from the decoded data. For chip reading results: Parse the raw data read from the chip according to a predefined data structure. Extract structured data containing sensor ID, model, calibration information, etc. For communication verification reading results: Parse the received data packets according to the communication protocol used. Extract the sensor's identification information from the data packets. For RFID reading results: Decode the data in the RFID tag. Extract the sensor's ID information from the decoded data. Use the extracted unique identification information as the sensor's identification information: Verify the completeness and validity of the extracted identification information. The verified identification information is temporarily stored in the memory of the data acquisition storage medium. This identification information is then prepared for subsequent sensor information calibration and data acquisition strategy generation. Error handling and exceptions: If the selected identification technology fails, the system automatically tries other available identification methods. If all identification methods fail, the system provides an error message, suggesting checking the integrity of the sensor identification or trying to manually input the identification information.Security considerations for identification information include: encrypting data transmitted during the identification process to prevent unauthorized interception; employing secure data storage methods to prevent unauthorized access; and utilizing this diverse and automated identification mechanism to quickly and accurately identify various types of sensors without manual intervention. This significantly improves system flexibility and efficiency, making it particularly suitable for scenarios requiring frequent replacement or addition of different sensor types, such as complex valve diagnostic systems. Furthermore, this approach facilitates future expansion with new sensor types; simply implementing a compatible identification method on the new sensor allows for easy integration into the existing system.
[0047] In one specific embodiment, the process of performing step S4 may specifically include the following steps:
[0048] Based on the identification information, sensor-related information is retrieved from a preset database to obtain the sensor's functional attributes, calibration information, and corresponding algorithms. Based on the functional attributes, calibration information, and corresponding algorithms, a data acquisition strategy is generated, including: determining the sensor's acquisition signal type and accuracy; setting the sensor's sampling frequency and sampling duration; and configuring the sensor's signal processing and data conversion parameters.
[0049] Develop a data acquisition plan based on the acquisition strategy, including: setting the acquisition items and sequence for valve operation physical change data; determining the trigger and termination conditions for data acquisition; and configuring the data storage format and storage period.
[0050] The data acquisition plan is sent to the acquisition and storage medium to guide the acquisition and storage medium to collect physical change data of valve operation through sensors;
[0051] Configure the data storage module of the acquisition and storage medium to store the acquired physical change data in a preset format and period.
[0052] Specifically, sensor-related information is retrieved from a pre-set database based on the identification information: A pre-set database containing information on various sensors is established and maintained. The unique identification information obtained in step S3 is used as the search keyword. The following information is retrieved from the database: sensor functional attributes (such as measurement range, response time, etc.); calibration information (such as calibration date, calibration coefficient, etc.); and the corresponding data processing algorithm. An acquisition strategy is generated based on the functional attributes, calibration information, and corresponding algorithm: The sensor's acquisition signal type and accuracy are determined: Based on the sensor's functional attributes, the signal type (such as analog quantity, digital quantity, etc.) is determined; an appropriate acquisition accuracy (such as 16-bit, 24-bit, etc.) is set. The sensor's sampling frequency and sampling duration are set: Based on the valve's operating characteristics and the sensor's response time, a suitable sampling frequency is set; based on diagnostic requirements, an appropriate sampling duration is set. The sensor's signal processing and data conversion parameters are configured: Signal filtering parameters (such as low-pass filtering, median filtering, etc.) are set, signal amplification or attenuation coefficients are configured, and linearization or other necessary data conversion parameters are set. Develop a data acquisition plan based on the acquisition strategy: Define the acquisition items and sequence for valve operation physical change data: Based on valve type and diagnostic needs, determine the physical quantities to be acquired (e.g., position, pressure, temperature), and set the acquisition priority and sequence for these physical quantities. Determine the trigger and termination conditions for data acquisition: Set the trigger conditions for starting acquisition (e.g., valve start-up, timed triggering), and set the conditions for ending acquisition (e.g., acquisition time reaching a preset value, specific event occurrence). Configure the data storage format and storage period: Select an appropriate data storage format (e.g., CSV, binary file), and set the data storage period (e.g., real-time storage, batch storage). Distribute the data acquisition plan to the acquisition storage medium: Package the generated data acquisition plan into an executable instruction set. Transmit the instruction set to the acquisition storage medium through a preset communication interface. The acquisition storage medium receives and parses the instruction set, preparing to execute the data acquisition task. Configure the data storage module of the acquisition storage medium: Configure the parameters of the storage module according to the storage requirements in the data acquisition plan. Set the data storage path, file naming rules, etc. Configure data backup and synchronization mechanisms to ensure data security. Data acquisition and storage: Based on the configured acquisition strategy, physical change data of valve operation are collected via sensors. The collected raw data is processed in real time (e.g., filtering, calibration). The processed data is stored in a designated location according to a preset format and cycle. Acquisition process monitoring and anomaly handling: The data acquisition process is monitored in real time to detect any anomalies (e.g., signal interruption, data anomalies). If an anomaly is detected, a preset alarm mechanism is triggered, and corresponding measures are taken (e.g., re-acquisition, switching to a backup sensor). Data quality control: The quality of the collected data is periodically assessed. If a decline in data quality is detected, acquisition parameters are automatically adjusted or sensor calibration is prompted.System Adaptive Adjustment: Based on the collected data and system operation, the effectiveness of the data acquisition strategy is evaluated periodically. If necessary, acquisition parameters are automatically optimized to adapt to changes in valve operating conditions. Through this flexible and intelligent data acquisition and storage mechanism, the system can automatically generate optimal acquisition strategies and storage schemes based on the characteristics of different sensors and the needs of valve diagnostics. This not only improves the efficiency and accuracy of data acquisition but also provides high-quality data support for subsequent valve diagnostic analysis. Simultaneously, the system's adaptive capabilities ensure continuous performance optimization during long-term operation, adapting to different working environments and diagnostic needs.
[0053] In one specific embodiment, after obtaining the functional attributes of the sensor, the following steps are performed:
[0054] Determine whether the sensor's functional attributes meet the physical change data acquisition requirements for valve diagnosis;
[0055] If the requirements are met, connect the sensor to the valve end;
[0056] Data on the physical changes in valve operation are collected using sensors;
[0057] The collected physical change data is transmitted to the acquisition and storage medium; wherein the transmission method of the physical change data includes at least one of the following: wireless communication, wired communication, Bluetooth communication and network communication.
[0058] Specifically, determine whether the sensor's functional attributes meet the physical change data acquisition requirements for valve diagnosis: Establish a list of physical change data acquisition requirements for valve diagnosis, including but not limited to: measurement range (e.g., pressure range, temperature range), measurement accuracy, response time, anti-interference capability, and applicable environmental conditions (e.g., explosion-proof, corrosion-resistant). Compare the sensor's functional attributes with the requirement list one by one: check whether the sensor's measurement range covers the valve's operating range, verify whether the sensor's accuracy meets the diagnostic requirements, confirm whether the sensor's response time is fast enough to capture instantaneous changes in the valve, assess whether the sensor's anti-interference capability meets the site environment requirements, check whether the sensor's protection level meets the installation environment requirements, comprehensively evaluate the sensor's suitability, and draw a judgment result. If the requirements are met, connect the sensor to the valve end: Determine the optimal installation location of the sensor on the valve: Select key measurement points based on the valve type and diagnostic requirements, considering the accessibility and maintenance convenience of the installation location. Design and implement the sensor installation plan: Select appropriate installation accessories (e.g., flanges, threaded joints), ensure that the installation does not affect the normal operation of the valve, and take necessary sealing and protection measures. Perform physical connection of the sensor: Install the sensor at the designated location on the valve according to the design plan, ensuring a secure connection and avoiding loosening due to vibration or other factors. Conduct preliminary functional testing: Check if the sensor's output signal is normal and verify that the sensor can correctly respond to changes in the valve's state. Collect physical change data of the valve's operation using the sensor: Initiate the data acquisition process according to the previously established data acquisition plan: Start data acquisition at the set sampling frequency, monitor the acquisition process in real time, and ensure the continuity and integrity of the data. The collected physical change data may include, but is not limited to: valve position information, internal valve pressure changes, fluid temperature changes, actuator force or torque, valve opening and closing time, and internal valve leakage rate. Perform preliminary processing of the collected raw data: Apply the previously configured signal processing parameters (such as filtering, amplification, etc.) to perform necessary unit conversions and standardization. Transmit the collected physical change data to the data acquisition and storage medium: Select the appropriate data transmission method based on site conditions and requirements: Wireless communication: such as Wi-Fi, ZigBee, or other industrial wireless protocols; Wired communication: such as RS-485, 4-20mA analog signals, or industrial Ethernet; Bluetooth communication: suitable for short-range, low-power scenarios; Network communication: such as using the TCP / IP protocol to transmit data through an industrial gateway. Implement data transmission: Configure the communication parameters of the sensor and the data acquisition and storage medium; establish a stable communication link; transmit data according to the preset data format and protocol. Ensure the security and reliability of data transmission: Encrypt the transmitted data to prevent unauthorized access; implement a data verification mechanism to ensure data integrity during transmission; set up an automatic retransmission mechanism to deal with possible communication interruptions.Data transmission monitoring: Real-time monitoring of transmission rate and quality; recording transmission anomalies and triggering corresponding alarm mechanisms. Data reception and storage: Acquiring data received from storage media: Verifying the integrity and correctness of received data, and performing necessary decryption and decompression processing. Saving data according to preset storage strategies: Storing data in designated storage locations (such as local hard drives, cloud storage, etc.), organizing and indexing data according to predefined formats for easy subsequent retrieval and analysis. Data backup and management: Regularly backing up data to ensure data security. Implementing data lifecycle management, including data archiving and cleanup. Through this flexible and intelligent sensor deployment and data acquisition mechanism, the system can automatically select and configure appropriate sensors based on the characteristics and diagnostic needs of different valves, and efficiently collect and transmit key physical change data. This not only improves the accuracy and efficiency of valve diagnosis but also provides a reliable data foundation for subsequent predictive maintenance and fault analysis. Simultaneously, the system's adaptability and diverse communication options ensure stable operation in various complex industrial environments, meeting the valve monitoring needs of different scenarios.
[0059] The connection method between the sensor and the data acquisition and storage medium in the embodiments of the present invention has been described above. The connection device between the sensor and the data acquisition and storage medium in the embodiments of the present invention is described below. Please refer to [link / reference]. Figure 4 One embodiment of the connection device between the sensor and the data acquisition and storage medium in this invention includes:
[0060] The acquisition module is used to acquire sensors with independent identification information and configure multiple candidate connection interfaces of the acquisition storage medium to obtain multiple connection interfaces with unified attributes.
[0061] The connection module is used to physically connect the sensor to any connection interface with uniform properties in the data acquisition and storage medium to obtain the initial connection state.
[0062] The identification module is used to identify the sensor in the initial connection state using target identification technology and obtain identification information;
[0063] The generation module is used to calibrate sensor information based on identification information and generate a sensor data acquisition scheme. The data acquisition scheme is used to collect physical change data of valve operation through the sensor and store the physical change data through the acquisition storage medium.
[0064] Through the collaborative efforts of the aforementioned components, and through a unified interface specification and consistent connection interface design, different types of sensors can be plug-and-play with the data acquisition and storage media, greatly improving system compatibility and flexibility. Employing various target recognition technologies, such as QR codes and RFID, enables rapid and automatic sensor identification, simplifying the connection and configuration process, reducing manual intervention, and improving efficiency. The design of multiple candidate connection interfaces with unified attributes allows for continued connection even if one interface fails, enhancing system reliability and fault tolerance. Based on the sensor's functional attributes, calibration information, and corresponding algorithms, a targeted data acquisition scheme is automatically generated, ensuring more accurate and effective data on valve operation physical changes. Multiple physical connection methods are supported, including wireless communication, wired communication, Bluetooth communication, and network communication, meeting the connection requirements of different application scenarios. The automated identification and configuration process significantly reduces the workload during system maintenance and upgrades, improving system maintainability. This invention is applied in the field of valve diagnostics, possessing a reliable and convenient sensor information management mechanism, a highly convenient sensor usage mechanism, and a unified and broad backup interface strategy, enabling compatibility with a wider range of sensor types.
[0065] The present invention also provides a computer device, the computer device including a memory and a processor, the memory storing computer-readable instructions, which, when executed by the processor, cause the processor to perform the steps of the connection method between the sensor and the acquisition storage medium in the above embodiments.
[0066] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0067] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0068] The above-described embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method of connecting a sensor to a collection storage medium, characterized in that, The method includes: The process involves acquiring sensors with independent identification information and configuring multiple candidate connection interfaces on the data acquisition and storage medium to obtain multiple connection interfaces with unified attributes. Specifically, this includes: binding unique identification information to the sensors to obtain sensors with independent identification information, where the unique identification information includes the sensor ID; configuring multiple candidate connection interfaces on the data acquisition and storage medium based on a unified interface specification to obtain multiple connection interfaces with unified attributes, including the type of acquired signal, the accuracy of the acquired signal, and the physical connection style; wherein, the attributes of all candidate connection interfaces on the data acquisition and storage medium are consistent, allowing the sensor to connect to any candidate connection interface, and even if any candidate connection interface is damaged, other candidate connection interfaces can still be used for connection. The sensor is physically connected to any connection interface with uniform attributes in the data acquisition and storage medium to obtain an initial connection state. Specifically, this includes: selecting any connection interface with uniform attributes on the data acquisition and storage medium, wherein the connection interface has a data acquisition signal type, data acquisition signal accuracy, and physical connection style compatible with the sensor; connecting the sensor to the selected connection interface with uniform attributes through a physical connection method; confirming that the physical connection between the sensor and the data acquisition and storage medium is complete, and establishing the initial connection state. The target recognition technology is used to identify the sensor in the initial connection state and obtain identification information. Specifically, this includes: selecting a target recognition technology; using the selected target recognition technology to scan or read the sensor in the initial connection state; parsing the obtained scanning or reading results to extract the sensor's unique identification information; and using the extracted unique identification information as the sensor's identification information. Based on the identification information, sensor information is calibrated, and a sensor data acquisition scheme is generated. This data acquisition scheme is used to acquire physical change data of valve operation through the sensor and store the physical change data through the acquisition storage medium. Specifically, it includes: retrieving sensor-related information from a preset database based on the identification information to obtain the sensor's functional attributes, calibration information, and corresponding algorithms; generating an acquisition strategy based on the functional attributes, calibration information, and corresponding algorithms, including: determining the sensor's acquisition signal type and accuracy; setting the sensor's sampling frequency and sampling duration; configuring the sensor's signal processing and data conversion parameters; and formulating a data acquisition scheme based on the acquisition strategy, including: setting the acquisition items and acquisition... The data acquisition process includes: determining the sequence of events; defining the trigger and termination conditions for data acquisition; configuring the data storage format and storage period; distributing the data acquisition scheme to the acquisition storage medium to guide it in acquiring physical change data of valve operation via the sensor; configuring the data storage module of the acquisition storage medium to store the acquired physical change data according to a preset format and period; and further including: after obtaining the functional attributes of the sensor, performing the following steps: determining whether the functional attributes of the sensor meet the physical change data acquisition requirements for valve diagnosis; if the requirements are met, connecting the sensor to the valve end; acquiring the valve's operational physical change data via the sensor; and transmitting the acquired physical change data to the acquisition storage medium.
2. A connection device for a sensor and a collection storage medium, characterized in that, The apparatus for performing the sensor-data acquisition and storage medium connection method as described in claim 1, the apparatus comprising: The acquisition module is used to acquire sensors with independent identification information and configure multiple candidate connection interfaces of the acquisition storage medium to obtain multiple connection interfaces with unified attributes. The connection module is used to physically connect the sensor to any connection interface with uniform properties in the data acquisition and storage medium to obtain the initial connection state. The identification module is used to identify the sensor in the initial connection state using target identification technology and obtain identification information; The generation module is used to perform sensor information calibration based on the identification information and generate a sensor data acquisition scheme. The data acquisition scheme is used to collect physical change data of valve operation through the sensor and store the physical change data through the acquisition storage medium.
3. A computer device, comprising: It includes a memory and a processor, the memory storing a computer program that can run on the processor, and the processor executing the computer program to implement the connection method between the sensor and the acquisition storage medium as described in claim 1.