Automatic test system for pressure recorder

By designing an automated test execution module and a digital pressure sensor simulation unit, and using a serial bus and infrared/Bluetooth adapter to connect the pressure recorder, the problem of complexity and high cost of the existing system is solved, efficient pressure recorder testing is achieved, and the pressure recorder is simplified. Test environment and reduce costs.

CN118565709APending Publication Date: 2024-08-30SHANGHAI FIORENTINI GAS EQUIP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410733149.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-07
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

The existing pressure recorder automated test system is complex and costly, cannot support unattended long-term ventilation stability testing, and has limited functions.

Method used

A system including an automated test execution module, a digital pressure sensor simulation unit and a pressure recorder is designed. It is connected through an RJ45 network cable and the serial bus USART, and uses an infrared or Bluetooth adapter for data transmission to achieve functional testing and testing of the pressure recorder. Automated reading and simulation of feedback results.

Benefits of technology

It simplifies the test environment, reduces test costs, improves test efficiency for different pressure conditions, and can more effectively verify the function of the pressure recorder during the development and testing process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118565709A
    Figure CN118565709A
Patent Text Reader

Abstract

The invention provides a pressure recorder automatic test system, which comprises an automatic test execution module, a digital pressure sensor simulation unit and a pressure recorder, and is characterized in that the digital pressure sensor simulation unit comprises a pressure sensor simulation module and a bus interface conversion board; the automatic test execution module is connected with the pressure sensor simulation module through an RJ45 network cable, and the pressure sensor simulation module is connected with the bus interface conversion board through a USART (Universal Synchronous Asynchronous Receiver Transmitter); the system has the following beneficial effects: the automatic test execution module can send a pressure simulation value to be read to the pressure sensor simulation module before each function test of the pressure recorder, and reads a feedback result from the pressure recorder; and the function of the pressure recorder is tested according to the pressure simulation value to be read and the feedback result of the pressure recorder, so that the test efficiency can be improved, the test environment can be simplified, and the test cost can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of automatic testing, and in particular to an automatic testing system for a pressure recorder. Background Art

[0002] my country's diversified natural gas supply system continues to improve, and the "one network across the country" has basically taken shape. A total of 46,000 kilometers of natural gas long-distance pipelines have been built, bringing the total mileage of natural gas pipelines in the country to about 110,000 kilometers. This is a huge system with a pressure range of 0 to 10 MPa. How to ensure its safe and stable operation and control pipeline pressure is the key. The use of pressure recorders can monitor pressure changes in the pipeline in real time, ensure that the pipeline network operates within the specified pressure range, and avoid pipeline accidents caused by excessive or insufficient pressure, thereby ensuring the safe and stable operation of the pipeline network.

[0003] In order to detect pressure, pressure recorders are usually connected to pressure sensors of different gears, among which low-power digital pressure sensors are the majority. In order to test and verify the functions of the product under different pressure conditions, such as pressure data collection, display, storage, alarm and reporting, it is necessary to build a pipeline pressure test environment to simulate different pressure conditions. However, the existing test system has the following problems: 1) Complex system: The test system usually requires a compressor, an air storage bag, and various pipes and valves; 2) High cost: To cover such a wide pressure range of 0 to 10 MPa, the requirements for various types of equipment are very high and the investment is large; 3) Limited functions: Considering safety, the system cannot support unattended long-term ventilation stability testing of the product. Summary of the invention

[0004] In view of the above-mentioned shortcomings of the prior art, an object of the present invention is to provide an automatic test system for a pressure recorder, so as to solve the problems that the existing automatic test method for a pressure recorder is relatively complex, costly and has limited functions.

[0005] To achieve the above objectives and other related objectives, the present invention provides the following technical solutions:

[0006] A pressure recorder automated test system comprises an automated test execution module, a digital pressure sensor simulation unit and a pressure recorder, wherein the digital pressure sensor simulation unit comprises a pressure sensor simulation module and a bus interface conversion board, the automated test execution module and the pressure sensor simulation module are connected via an RJ45 network cable, the pressure sensor simulation module and the bus interface conversion board are connected via a serial bus USART, and the bus interface conversion board and the pressure recorder are connected via a bus data format required by the digital pressure sensor;

[0007] The automated test execution module is used to send the pressure simulation value to be read to the pressure sensor simulation module before each functional test of the pressure recorder, and read the feedback result from the pressure recorder, and test the function of the pressure recorder according to the pressure simulation value to be read and the feedback result of the pressure recorder.

[0008] In one embodiment of the present invention, the automated test execution module includes an automated test execution terminal and an automated test script program installed in the automated test execution terminal, wherein the automated test script program executes the issuance of functional test commands for the pressure recorder device and the reading of test results, wherein the data formats of the functional test commands and the test results are both USART serial data formats.

[0009] In one embodiment of the present invention, the automated test execution terminal is connected to an infrared or Bluetooth adapter, and the automated test execution terminal converts USART serial data into infrared or Bluetooth signals through the infrared or Bluetooth adapter and sends them to the pressure recorder, and also receives and reads the feedback results of the pressure recorder through the infrared or Bluetooth adapter.

[0010] In one embodiment of the present invention, the pressure sensor simulation module includes a pressure sensor simulation terminal and a pressure sensor device simulation program installed in the pressure sensor simulation terminal, and the pressure sensor simulation terminal is used to receive pressure simulation values ​​from the automated test execution module, pressure reading instructions from the pressure recorder, and send pressure simulation values ​​to the pressure recorder, wherein the pressure sensor device simulation program is defined according to the data and communication protocol format of the digital pressure sensor.

[0011] In one embodiment of the present invention, the bus interface conversion board is used to convert the USART serial data format received by the pressure sensor simulation terminal into the bus data format of the digital pressure sensor that can be received by the pressure recorder, and at the same time convert the bus data format of the digital pressure sensor that can be received by the pressure recorder into the USART serial data format required by the pressure sensor simulation terminal.

[0012] As described above, the pressure recorder automatic testing system of the present invention has the following beneficial effects:

[0013] The automated test execution module in the present invention can send the pressure simulation value to be read to the pressure sensor simulation module before each functional test of the pressure recorder, and read the feedback result from the pressure recorder, and test the function of the pressure recorder according to the pressure simulation value to be read and the feedback result of the pressure recorder. The pressure sensor simulation terminal can receive the pressure simulation value from the automated test execution module, the pressure reading instruction from the pressure recorder and send the pressure simulation value to the pressure recorder. The above method can greatly reduce the requirements of the product for different pressure conditions of the gas pipeline during the development and testing process, thereby improving the test efficiency, simplifying the test environment and reducing the test cost. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 Shown is a schematic diagram of the overall structure of the pressure recorder automated testing system disclosed in an embodiment of the present invention;

[0015] Figure 2 Shown is a schematic diagram of the business process of the automated test execution terminal in the automated test system of the pressure recorder disclosed in the embodiment of the present invention;

[0016] Figure 3 Shown is a schematic diagram of the business process of a pressure sensor simulation terminal in the pressure recorder automated test system disclosed in an embodiment of the present invention;

[0017] Figure 4 Shown is a schematic diagram of the overall business process of the pressure recorder automated testing system disclosed in an embodiment of the present invention. DETAILED DESCRIPTION

[0018] The following specific embodiments illustrate the implementation of the present invention, and those familiar with the technology can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.

[0019] See also Figure 1 and Figure 2The present invention provides a pressure recorder automated test system, comprising an automated test execution module, a digital pressure sensor simulation unit and a pressure recorder, wherein the automated test execution module comprises an automated test execution terminal and an automated test script program installed in the automated test execution terminal, the automated test execution terminal and the pressure sensor simulation terminal hereinafter are connected via an RJ45 network cable, the automated test script program executes the issuance of functional test commands for the pressure recorder device and the reading of test results, the data formats of the functional test commands and the test results are both USART serial data formats, the automated test execution terminal is connected to an infrared or Bluetooth adapter, the automated test execution terminal converts the USART serial data into infrared or Bluetooth signals through the infrared or Bluetooth adapter and sends them to the pressure recorder, and also receives and reads the feedback results of the pressure recorder through the infrared or Bluetooth adapter;

[0020] The automated test execution module is used to send the pressure simulation value to be read to the pressure sensor simulation module before each functional test of the pressure recorder, and read the feedback result from the pressure recorder, and test the function of the pressure recorder according to the pressure simulation value to be read and the feedback result of the pressure recorder. The business process of the pressure sensor simulation terminal is as follows: first, read the functional test cases in sequence, then set the pressure simulation value through the network port, then send the functional test command through the serial port, and then read the test result from the pressure recorder through the serial port, and then output the read test result, and use the last test case to determine whether the test result meets the conditions. If yes, it ends, if not, continue to read the functional test cases in sequence. For the specific flow chart, please refer to Figure 2 .

[0021] exist Figure 1 and Figure 3 In the embodiment, the digital pressure sensor simulation unit includes a pressure sensor simulation module and a bus interface conversion board, the pressure sensor simulation module includes a pressure sensor simulation terminal and a pressure sensor device simulation program installed in the pressure sensor simulation terminal, the pressure sensor simulation terminal and the bus interface conversion board are connected via a serial bus USART, the pressure sensor simulation terminal is used to receive pressure simulation values ​​from an automated test execution module, pressure reading instructions from a pressure recorder, and send pressure simulation values ​​to the pressure recorder, wherein the pressure sensor device simulation program is defined according to the data and communication protocol format of the digital pressure sensor, and the pressure sensor device simulation program is compatible with the mainstream digital pressure sensor communication protocol format based on the I2C / SPI / RS485 bus on the market;

[0022] The specific business process of the pressure sensor simulation terminal is as follows: first, configure the model of the digital pressure sensor, then read the pressure simulation setting value through the network port bus, and then read the command through the serial bus to determine whether the command can be recognized. If not, continue to read the command through the serial bus. If yes, continue to determine whether to read the device information. If yes, send the device information, and then continue to read the command through the serial bus. If not, determine whether to read the pressure data. If not, continue to read the command through the serial bus. If yes, send the simulation data and then continue to read the pressure simulation setting value through the network port bus. For the specific flow chart, please refer to Figure 3 .

[0023] exist Figure 1 In the embodiment, the bus interface conversion board is used to convert the USART serial data format received from the pressure sensor simulation terminal into the bus data format of the digital pressure sensor that can be received by the pressure recorder, such as I2C, SPI or RS485, and at the same time convert the bus data format of the digital pressure sensor that can be received by the pressure recorder into the USART serial data format required by the pressure sensor simulation terminal. The bus interface conversion board and the pressure recorder are connected through the bus data format required by the digital pressure sensor. At the same time, the pressure recorder supports local communication interfaces such as infrared or Bluetooth. The pressure recorder sends and receives commands and feedback through infrared or Bluetooth, thereby realizing the execution of corresponding functions and feedback of results.

[0024] Specifically, the business process of the pressure recorder automated test system is as follows: the automated test execution terminal first executes the functional test case, then the automated test execution terminal sets and sends the pressure simulation value to the pressure sensor simulation terminal, then the automated test execution terminal sends the pressure value sampling command to the pressure recorder, the pressure recorder receives and parses the pressure value sampling command data and sends the pressure value sampling command to the pressure sensor simulation terminal, the pressure sensor simulation terminal receives and parses the pressure sampling command, then sends the pressure simulation value to the pressure recorder, the pressure recorder reads the pressure sampling data after receiving it, then the automated test execution terminal sends the pressure value reading command to the pressure recorder, the pressure recorder receives and parses the pressure value reading command data, then sends the pressure value sampling data to the automated test execution terminal, then the automated test execution terminal receives the pressure value sampling data sent by the pressure recorder and reads the pressure value sampling data, finally the automated test execution terminal executes and judges the comparison and outputs the result, please refer to the specific flow chart Figure 4 .

[0025] The automated test execution module in the present invention can send the pressure simulation value to be read to the pressure sensor simulation module before each functional test of the pressure recorder, and read the feedback result from the pressure recorder, and test the function of the pressure recorder according to the pressure simulation value to be read and the feedback result of the pressure recorder. The pressure sensor simulation terminal can receive the pressure simulation value from the automated test execution module, the pressure reading instruction from the pressure recorder and send the pressure simulation value to the pressure recorder. The above method can greatly reduce the requirements of the product for different pressure conditions of the gas pipeline during the development and testing process, thereby improving the test efficiency, simplifying the test environment and reducing the test cost.

[0026] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. All equivalent modifications or changes made by those skilled in the art without departing from the spirit and technical ideas disclosed by the present invention shall still be covered by the claims of the present invention.

Claims

1. A pressure recorder automated testing system, Features: It includes an automated test execution module, a digital pressure sensor simulation unit and a pressure recorder, wherein the digital pressure sensor simulation unit includes a pressure sensor simulation module and a bus interface conversion board, the automated test execution module and the pressure sensor simulation module are connected via an RJ45 network cable, the pressure sensor simulation module and the bus interface conversion board are connected via a serial bus USART, and the bus interface conversion board and the pressure recorder are connected via a bus data format required by the digital pressure sensor; The automated test execution module is used to send the pressure simulation value to be read to the pressure sensor simulation module before each functional test of the pressure recorder, and read the feedback result from the pressure recorder, and test the function of the pressure recorder according to the pressure simulation value to be read and the feedback result of the pressure recorder.

2. A pressure recorder automated testing system according to claim 1, Features: The automated test execution module includes an automated test execution terminal and an automated test script program installed in the automated test execution terminal, wherein the automated test script program executes the issuance of functional test commands for the pressure recorder device and the reading of test results, wherein the data formats of the functional test commands and the test results are both USART serial data formats.

3. A pressure recorder automated testing system according to claim 2, Features: The automated test execution terminal is connected to an infrared or Bluetooth adapter, and the automated test execution terminal converts USART serial data into infrared or Bluetooth signals through the infrared or Bluetooth adapter and sends them to the pressure recorder, and also receives and reads the feedback results of the pressure recorder through the infrared or Bluetooth adapter.

4. The pressure recorder automatic test system according to claim 1, Features: The pressure sensor simulation module includes a pressure sensor simulation terminal and a pressure sensor device simulation program installed in the pressure sensor simulation terminal, wherein the pressure sensor simulation terminal is used to receive pressure simulation values ​​from an automated test execution module, pressure reading instructions from a pressure recorder, and send pressure simulation values ​​to the pressure recorder, wherein the pressure sensor device simulation program is defined according to the data and communication protocol format of a digital pressure sensor.

5. The pressure recorder automatic testing system according to claim 1, Features: The bus interface conversion board is used to convert the USART serial data format received by the pressure sensor simulation terminal into the bus data format of the digital pressure sensor that can be received by the pressure recorder, and at the same time convert the bus data format of the digital pressure sensor that can be received by the pressure recorder into the USART serial data format required by the pressure sensor simulation terminal.