Method and system for testing function and communication performance of ball valve actuator

By integrating control terminals, Internet of Things platforms, network servers, LoRaWAN gateways and ball valve actuators with LoRa modules, LoRaWAN communication technology is used to conduct comprehensive testing, and the shortcomings of the existing LoRaWAN communication performance testing methods in complex agricultural environments are solved, achieving efficient, comprehensive and reliable testing results.

CN119835670APending Publication Date: 2025-04-15XINJIANG HUIER ZHILIAN TECH CO LTD +3
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411978092.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-30
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

The existing LoRaWAN communication performance testing methods cannot fully reflect communication stability and data consistency in multi-node and large-scale network environments, especially in complex agricultural environments, poor adaptability of test scenarios, low multi-node testing efficiency, and insufficient environmental data synchronization and recovery capabilities.

Method used

By integrating control terminals, Internet of Things platforms, network servers, LoRaWAN gateways and ball valve actuators with LoRa modules, LoRaWAN communication technology is used for all-round testing, real-time priority adjustment, automated data analysis and visual report generation.

Benefits of technology

It significantly improves testing efficiency and adaptability, ensures comprehensive verification of equipment functions and communication performance, enhances the adaptability of complex agricultural scenarios, optimizes resource scheduling and task management, and realizes automated data analysis and visual report generation.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The invention discloses a ball valve actuator function and communication performance test method and system, and the method comprises the following steps: S1, obtaining a test task, and analyzing the test task into a standardized test instruction; s2, analyzing the standardized test instruction into a control instruction conforming to a LoRaWAN protocol, and sending the control instruction to a network server; s3, the network server determines a task routing target and sends the control instruction to the correct LoRaWAN gateway; s4, the LoRaWAN gateway sends a control instruction to the ball valve actuator by using a LoRa communication protocol; s5, the LoRaWAN gateway obtains a test result in real time; and S6, processing and analyzing a test result. According to the invention, all-around testing of equipment functions and communication performance is realized, and high efficiency and adaptability are shown especially in a multi-node and large-scale network scene and a complex agricultural environment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of Internet of Things, and in particular relates to a method and a system for testing the function and communication performance of a ball valve actuator. Background Art

[0002] The rapid development of smart agriculture and the Internet of Things has promoted the widespread application of automation and intelligence in the agricultural field. Especially in farmland irrigation systems, LoRaWAN, as a low-power wide area network (LPWAN) technology, has become an ideal choice for application scenarios such as agricultural monitoring and smart irrigation due to its low power consumption, wide coverage, and high node capacity. With the complexity of application scenarios, the test methods of LoRaWAN in agricultural equipment face some challenges, and the existing test methods still have the following shortcomings:

[0003] 1. Insufficient comprehensiveness of communication performance testing: Existing LoRaWAN communication performance testing methods have limited coverage of key performance indicators (such as packet loss rate, signal strength, latency, etc.), and cannot fully reflect the communication stability and data consistency in multi-node, large-scale network environments, especially in complex agricultural environments. For example, existing testing methods make it difficult to evaluate the stability of equipment at long distances or low signal strength.

[0004] 2. Poor adaptability to test scenarios: Existing LoRaWAN device testing methods lack the ability to test complex agricultural environments, especially the lack of simulation of extreme conditions in agricultural scenarios (such as low water pressure, long-term dormancy, zero signal strength, etc.), which limits the reliability verification capability of the device in actual applications. Therefore, the existing testing methods fail to effectively verify the device's ability to cope with various complex scenarios and cannot guarantee the long-term stable operation of the device.

[0005] 3. Inefficient multi-node testing: In a multi-node environment, the efficiency of task distribution and scheduling is low, resulting in task conflicts and uneven resource allocation during the test process, which in turn affects the accuracy and stability of the test results. Especially in large-scale multi-node testing that requires high concurrency operations, existing testing methods are difficult to achieve real-time and efficient task scheduling and execution.

[0006] 4. Insufficient environmental data synchronization and recovery capabilities: Existing technologies do not fully synchronize device clocks with gateway clocks, and clock errors may lead to inconsistent test data. In addition, when the communication link is abnormal, the existing recovery mechanism has not been fully optimized, making it difficult to ensure accurate return of test data and complete execution of tasks, especially in highly dynamic environments.

[0007] In view of the above problems, the present invention proposes a test method and a test system for the function and communication performance of a ball valve actuator based on LoRaWAN communication. Summary of the invention

[0008] In order to address the deficiencies in the prior art, the present invention provides a method and system for testing the functions and communication performance of a ball valve actuator. By integrating a control terminal, an Internet of Things platform (AS), a network server (NS), a LoRaWAN gateway and a ball valve actuator with a LoRa module, a comprehensive test of the functions and communication performance of the device is achieved, especially in multi-node, large-scale network scenarios and complex agricultural environments, showing high efficiency and adaptability.

[0009] The purpose of the present invention is achieved by the following technical solutions:

[0010] A method for testing the function and communication performance of a ball valve actuator, arranging a LoRa communication module on the ball valve actuator to be tested, configuring a network server and a LoRaWAN gateway, and using the LoRaWAN communication technology to perform the test, the test method comprising the following steps:

[0011] S1. Obtain the test task and parse it into standardized test instructions;

[0012] S2. Parse the standardized test instructions into control instructions that comply with the LoRaWAN protocol and send them to the network server;

[0013] S3. The network server determines the task routing target and sends the control command to the correct LoRaWAN gateway;

[0014] S4. The LoRaWAN gateway sends the control instruction to the ball valve actuator to be tested using the LoRa communication protocol;

[0015] S5. The LoRaWAN gateway obtains the test results of the test task performed by the ball valve actuator to be tested in real time;

[0016] S6. Process and analyze the test results.

[0017] Preferably, step S1 is performed by the control terminal; step S2 is performed by the Internet of Things platform;

[0018] In step S6, the test result is transmitted from the LoRaWAN gateway to the IoT platform via the network server, processed and analyzed by the data acquisition module of the IoT platform, and uploaded to the control terminal.

[0019] Preferably, the test task in step S1 includes one or more of a switch valve instruction test, a ball valve angle setting test, a low water pressure test, a long sleep test, a communication performance test or a multi-node batch task test.

[0020] Preferably, the communication performance test includes one or more of signal strength, signal-to-noise ratio, delay or packet loss rate.

[0021] Preferably, the test task includes a zero signal strength recovery test, which uses the time synchronization mechanism of the LoRaWAN gateway to correct the clock error of the ball valve actuator to be tested, quickly completes device reconnection after signal recovery, and accurately transmits test data.

[0022] Preferably, step S1 uses a dynamic task distribution mechanism and real-time priority adjustment to optimize resource allocation for test tasks; when the communication link is abnormal, unfinished test tasks are automatically restored and task priorities are reallocated.

[0023] Preferably, the test task includes an intelligent scenario linkage simulation test, and the test task priority is dynamically adjusted according to changes in the agricultural environment.

[0024] Preferably, step S5 also includes a step of collecting valve position signals in real time to verify the consistency between the mechanical action of the ball valve actuator and the communication feedback.

[0025] The present application also provides a ball valve actuator function and communication performance test system, including a control terminal, an Internet of Things platform, a network server, a LoRaWAN gateway, and a LoRa communication module located on the ball valve actuator;

[0026] The control terminal is used for human-computer interaction, configuring test tasks, parsing into standardized test instructions, and sending the standardized test instructions to the Internet of Things platform; and is also used to receive feedback data from the Internet of Things platform;

[0027] The IoT platform is used to parse the standardized test instructions from the control terminal and convert them into control instructions that comply with the LoRaWAN protocol, and send the control instructions to the network server; it is also used to receive feedback data from the network server, summarize, process and analyze the feedback data, and upload it to the control terminal;

[0028] The network server is used to receive the control instructions from the IoT platform, determine the routing target of the task, and distribute it to the correct LoRaWAN gateway; and is also used to aggregate the feedback data from the LoRaWAN gateway and transmit it back to the IoT platform;

[0029] The LoRaWAN gateway is used to send the control instruction from the network server to the ball valve actuator provided with the LoRa communication module using the LoRa communication protocol; and is also used to receive feedback data from the ball valve actuator and transmit it back to the network server;

[0030] The LoRa communication module is used to realize LoRa wireless data transmission between the ball valve actuator and the LoRaWAN gateway.

[0031] Preferably, the test system further comprises a task distribution module;

[0032] The task distribution module is used to schedule batch tasks and automatically recover unfinished test tasks and reallocate task priorities when a communication link is abnormal;

[0033] The Internet of Things platform includes a data acquisition module for processing and analyzing the feedback data.

[0034] Compared with the prior art, the test method and test system provided by the present invention have the following technical effects:

[0035] 1. Significantly improved testing efficiency

[0036] The system supports simultaneous testing of more than 500 nodes through fully automated test task configuration, distribution and execution processes, greatly reducing testing time.

[0037] 2. Comprehensiveness of the testing process

[0038] The test tasks cover functional verification, communication performance testing and abnormal scenario simulation, meeting the actual application needs in the smart agriculture environment.

[0039] 3. Ensure the functionality and communication reliability of the equipment

[0040] In a multi-node, large-scale network environment, the stability and reliability of the ball valve actuator equipment were fully verified through comprehensive testing of functionality and communication performance.

[0041] 4. Enhanced adaptability to complex agricultural scenarios

[0042] The system's simulation and verification functions for complex environments (such as low water pressure, weak signals, etc.) ensure that the test results are highly consistent with the actual application scenarios, providing guarantees for the deployment of ball valve actuator equipment in smart agriculture.

[0043] 5. Optimized resource scheduling and task management

[0044] The dynamic task priority adjustment mechanism improves the efficiency and stability of task execution, especially in high-concurrency, multi-node environments.

[0045] 6. Automated data analysis and visual reporting

[0046] The system supports real-time generation of test reports, which clearly demonstrates the performance of the ball valve actuator equipment in various test scenarios, allowing users to fully understand the equipment performance and provide a basis for equipment tuning and improvement.

[0047] 7. High integration and scalability

[0048] The system seamlessly connects with agricultural equipment and IoT platforms, supporting cross-platform data sharing and long-term tracking analysis. DETAILED DESCRIPTION

[0049] The present application provides a method for testing the function and communication performance of a ball valve actuator. First, a LoRa communication module is arranged on the ball valve actuator to be tested, and a LoRaWAN gateway and a network server are configured. The test is performed using the LoRaWAN communication technology. The LPWAN technology can achieve wide-area low-power communication with a large coverage range and strong signal penetration capability, and can adapt to complex agricultural scenarios.

[0050] The test method specifically includes the following steps:

[0051] S1. Obtain the test task of the ball valve actuator to be tested and parse it into a standardized test instruction; this step is mainly a human-computer interaction step, and the user configures the test task, and the test task preferably includes one or more of the switch valve instruction test, ball valve angle setting test, low water pressure test, long-term sleep test, communication performance test or multi-node batch task test. The communication performance test preferably includes one or more of signal strength, signal-to-noise ratio, delay or packet loss rate.

[0052] The test tasks configured by the user are not standardized instructions and cannot be recognized by the network server, so they are first parsed as standardized test instructions.

[0053] This step is preferably performed by a control terminal, which may be a mobile phone APP, a PC or a Web platform, and the user inputs the test task through the control terminal.

[0054] Preferably, a dynamic task distribution mechanism and real-time priority adjustment are used to optimize resource allocation for test tasks, ensure that high-priority tasks are executed first, and maintain task consistency and data accuracy in a multi-node environment; when the communication link is abnormal, unfinished test tasks are automatically restored and task priorities are reallocated.

[0055] S2. Parse the standardized test instructions into control instructions that comply with the LoRaWAN protocol; the standardized test instructions cannot be recognized by the LoRaWAN gateway either, so the standardized test instructions are further parsed into control instructions that comply with the LoRaWAN protocol and sent to the network server.

[0056] This step is preferably performed by the Internet of Things platform.

[0057] S3. The network server determines the task routing target and sends the control command to the correct LoRaWAN gateway;

[0058] Preferably, the network server also encrypts and decrypts the data to ensure the security and accuracy of data transmission.

[0059] S4. The LoRaWAN gateway uses the LoRa communication protocol to send control instructions to the ball valve actuator to be tested;

[0060] Through the network server and LoRaWAN gateway, data transmission of multi-node ball valve actuators can be realized, and multi-node test task distribution, execution and data feedback can be achieved, which significantly improves the test efficiency and task management capabilities.

[0061] S5. The ball valve actuator with the LoRa module performs operations according to the received instructions, including valve switching, status feedback, communication performance report, etc., and transmits the results back to the LoRaWAN gateway through the LoRa communication module; the LoRaWAN gateway obtains the test results of the test tasks performed by the ball valve actuator to be tested;

[0062] S6. Process and analyze the test results.

[0063] In step S6, the test results are transmitted from the LoRaWAN gateway to the IoT platform via the network server. The data acquisition module of the IoT platform summarizes and analyzes the results, generates a visual report, and uploads it to the control terminal. The user can view the test results through the control terminal.

[0064] The LoRaWAN gateway can monitor key indicators such as signal strength (RSSI), signal-to-noise ratio (SNR), delay and packet loss rate in real time in the communication link. The data acquisition module collects indicator data in real time and generates a communication performance report after analysis and processing to display the test results of each node. The report content may include signal quality trend chart, packet loss distribution chart and delay statistics chart, etc.

[0065] This application supports synchronous testing of multiple nodes. The maximum node capacity of the LoRaWAN gateway can carry more than 500 devices, and can record the task response time, status information and communication quality of each node in real time, and generate a comprehensive report for multi-node testing.

[0066] Preferably, the test task also includes a zero signal strength recovery test, which uses the time synchronization mechanism of the LoRaWAN gateway to correct the clock error of the ball valve actuator to be tested, quickly completes the device reconnection after the signal is restored, and accurately transmits the test data.

[0067] Preferably, the test tasks include intelligent scenario linkage simulation tests, which can dynamically adjust the test task priority according to changes in the agricultural environment, and evaluate the actual application performance of the ball valve actuator by verifying its dynamic task response capability in complex agricultural scenarios.

[0068] Step S5 also includes a step of collecting valve arrival signals in real time to verify the consistency between the mechanical action of the ball valve actuator and the communication feedback. The details are as follows:

[0069] In-place signal acquisition:

[0070] The sensor inside the ball valve actuator generates an in-position signal;

[0071] The arrival signal is compared with the preset target state through the microcontroller unit (MCU) in the actuator.

[0072] Signal return:

[0073] The arrival signal is fed back to the LoRaWAN gateway through LoRa communication.

[0074] The gateway uploads the data to the IoT platform for storage and analysis.

[0075] Data Validation:

[0076] The IoT platform compares the task status (such as "completed") fed back by the communication with the arrival signal to see if they are consistent. Based on the above method, the present application also provides a ball valve actuator function and communication performance test system, including a control terminal, an IoT platform, a network server, a LoRaWAN gateway, and a LoRa communication module located on the ball valve actuator.

[0077] The control terminal is used for human-computer interaction and can be a mobile APP, PC or Web platform. Users configure test tasks through the mobile APP, PC or Web platform and parse them into standardized test instructions. The test tasks are transmitted to the IoT platform via the Internet in the form of standardized instructions. It is also used to receive feedback data from the IoT platform and provide real-time monitoring and report viewing of test results. Users can intuitively understand the test progress and results through the control terminal.

[0078] The IoT platform, as the communication core of the system, is responsible for receiving, parsing and distributing tasks, while managing device status and data processing.

[0079] The processing flow of the IoT platform is as follows: receiving standardized test instructions from the control terminal, parsing the standardized test instructions and converting them into control instructions that comply with the LoRaWAN protocol, and sending control instructions to the network server; it is also used to receive feedback data from the network server (such as test results, device status), summarize and analyze it, and upload it to the control terminal.

[0080] The IoT platform communicates with the network server through the Internet to ensure the integrity and consistency of test instructions and equipment feedback data.

[0081] The IoT platform also has functions such as data collection, data storage, data processing and analysis. Preferably, the IoT platform includes a data collection module that can collect test data in real time. At the same time, the data collection module integrates a real-time data analysis function, can process and analyze the data, and can generate performance test reports including performance trend graphs, distribution graphs and abnormal logs, and supports historical record backtracking of test results, which is convenient for long-term tracking and comparative analysis of equipment performance.

[0082] The network server, as the core component of the LoRaWAN network, is responsible for task routing and node management. Specifically, the network server is used to receive control instructions from the IoT platform, determine the routing target of the task, and distribute it to the correct LoRaWAN gateway; it is also used to aggregate feedback data from multiple LoRaWAN gateways and transmit it back to the IoT platform.

[0083] Preferably, the network server is also used to encrypt and decrypt data to ensure the security and accuracy of data transmission.

[0084] LoRaWAN gateway, the gateway acts as a bridge between the ball valve actuator and the network, and uses the LoRa communication protocol to perform two-way data transmission with the ball valve actuator; specifically, the LoRaWAN gateway supports multi-node communication, and uses the LoRa communication protocol to send control instructions from the network server to multiple ball valve actuators equipped with LoRa communication modules; it is also used to receive real-time status feedback data from the ball valve actuator (such as valve position, signal strength, etc.) and transmit it back to the network server.

[0085] The gateway uses LPWAN technology to achieve wide-area low-power communication, with a large coverage range and strong signal penetration capability, adapting to complex agricultural scenarios.

[0086] The LoRa communication module is used to realize the LoRa wireless data transmission between the ball valve actuator and the gateway. As the test object, the ball valve actuator receives the control command through the LoRa communication module, and then performs specific functional tasks (such as valve opening and closing, angle adjustment) or communication performance tests (such as signal strength, delay, packet loss rate), etc. After executing the task, the LoRa communication module will feedback the status data (such as valve position, flow, signal quality, etc.) in real time to ensure the closed loop of the test process. Verify the recovery ability of the equipment and the completion of the task in complex scenarios (such as weak signal and zero water pressure).

[0087] Preferably, the test system includes a task distribution module that supports batch task scheduling. When the communication link is abnormal, the task distribution module can automatically recover unfinished test tasks and reallocate task priorities to ensure complete execution of tasks and consistency of results.

[0088] The test steps using the above test system are as follows:

[0089] Instruction distribution process:

[0090] S1. The user configures the test task through the control terminal, and the control terminal parses the test task into standardized test instructions and sends them to the IoT platform through the Internet; the task distribution module assigns task priorities;

[0091] S2. The IoT platform parses and converts the standardized test instructions into control instructions that comply with the LoRaWAN protocol, and sends the control instructions to the network server;

[0092] S3. The network server distributes the control instructions to the correct LoRaWAN gateway;

[0093] S4. The LoRaWAN gateway uses the LoRa communication protocol to send control instructions to the ball valve actuator equipped with the LoRa communication module;

[0094] S5. The ball valve actuator with the LoRa module performs operations according to the received instructions.

[0095] Data return process:

[0096] S1. After completing the test task, the ball valve actuator sends the operating status and task results to the LoRaWAN gateway through the LoRaWAN protocol;

[0097] S2. After receiving the uplink data, the LoRaWAN gateway uploads the data to the network server through the TCP / IP network;

[0098] S3. The network server forwards the data to the IoT platform, which stores, analyzes and further processes the data;

[0099] S4. The IoT platform generates a visual report based on the analysis results and uploads the summarized test data to the control terminal (such as a Web application or mobile client).

[0100] Wherein step S3 data analysis and processing further comprises:

[0101] Real-time recording: The data acquisition module (located on the IoT platform) records the operating status, communication status and task execution progress of the ball valve actuator in real time.

[0102] Data cleaning and analysis: The IoT platform cleans (such as removing redundancy or outliers) and analyzes the returned data to ensure data accuracy and completeness.

[0103] Result summary and report generation: The IoT platform generates visual reports based on the parsed data, such as trend charts, execution status summaries, etc., for users to view intuitively.

[0104] Multi-device data integration: If multiple ball valve actuators are involved, the IoT platform will classify and aggregate the data to form the overall task execution status.

[0105] Step S4 of controlling the data acquisition of the terminal further includes:

[0106] Users can view test results and visual reports in real time through control terminals (such as web applications or mobile clients).

[0107] The IoT platform provides customized data display functions, such as task completion rate, equipment operating status and other key indicators.

[0108] The present application provides a systematic test architecture that integrates a control terminal, an Internet of Things platform (AS), a network server (NS), a LoRaWAN gateway, and a ball valve actuator with a LoRa module, supports multi-node test task distribution, execution, and data feedback, and significantly improves test efficiency and task management capabilities.

[0109] The testing method and system provided in this application have the following functions:

[0110] 1. Comprehensive test of the function and communication performance of the ball valve actuator:

[0111] It can verify the core functions of the ball valve actuator, such as the switching operation and valve position feedback, and test the communication performance (such as signal strength, delay, packet loss rate) to ensure the stability of the equipment in multi-node and long-distance scenarios.

[0112] 2. Dynamic task scheduling and priority optimization can be achieved:

[0113] A weighted round-robin algorithm can be used to dynamically adjust priorities according to task importance, optimize task allocation and resource utilization in multi-node scenarios, and avoid task conflicts or delays.

[0114] 3. Complex scenario simulation and equipment verification can be realized:

[0115] It supports simulation of extreme conditions such as low water pressure, zero signal strength, and long-term dormancy to verify the reliability and recovery ability of the equipment in complex environments. It also supports simulation of scenarios such as the automatic reconnection performance of the equipment in a zero signal strength environment to ensure the long-term stable operation of the equipment in actual agricultural scenarios.

[0116] 4. Real-time data collection and automatic report generation can be achieved:

[0117] It can monitor the test task status in real time, generate performance reports (such as signal quality trend graphs, task execution distribution graphs), and support historical record backtracking and comparative analysis of multiple test results.

[0118] The present invention has important application value and promotion significance in the field of smart agricultural equipment testing, and provides a new technical solution for the research and development and deployment of agricultural Internet of Things equipment.

[0119] The test process is as follows:

[0120] 1. Functional testing

[0121] Objective: To verify the basic functions of the ball valve actuator, including valve opening and closing operation, position feedback and in-position signal detection.

[0122] step:

[0123] 1. The user configures the test task through the control terminal and sends it to the IoT platform. The IoT platform interprets the test task into control instructions that comply with the LoRaWAN protocol;

[0124] 2. The control command is forwarded to the ball valve actuator through the network server and LoRaWAN gateway;

[0125] 3. The ball valve actuator completes the task and transmits status feedback (such as switch angle, response time, etc.); it is transmitted back to the IoT platform via the LoRaWAN gateway and network server;

[0126] 4. The data acquisition module records the test data, generates a functional test report and uploads it to the control terminal for the user to view.

[0127] 2. Communication performance test

[0128] Objective: To evaluate the key performance indicators of LoRaWAN communication links such as signal quality (RSSI), latency, and packet loss rate.

[0129] step:

[0130] 1. The control terminal sends communication performance test instructions to multiple actuators;

[0131] 2. The data acquisition module monitors signal strength, packet loss rate and communication delay in real time;

[0132] 3. After the test is completed, the system generates a communication performance report, including signal trend graph, packet loss distribution graph, etc.

[0133] The instruction and data transfer paths are the same as those for functional testing.

[0134] 3. Abnormal scenario simulation and recovery test

[0135] Objective: To verify the recovery and stability of the device in complex environments (such as zero signal, low water pressure, and long-term dormancy).

[0136] step:

[0137] 1. Simulate a zero signal scenario, disconnect the signal and then restore it to verify the automatic reconnection performance of the actuator;

[0138] 2. Send switch commands in low water pressure scenarios and monitor the actuator’s response and feedback status;

[0139] 3. Record recovery time and status data, and generate abnormal scenario test reports.

[0140] The instruction and data transfer paths are the same as those for functional testing.

[0141] 4. Multi-node batch testing

[0142] Objective: To verify the system's task distribution capability and communication performance in large-scale multi-node scenarios.

[0143] step:

[0144] 1. The control terminal distributes test tasks to multiple executors at the same time (supports 500+ nodes);

[0145] 2. The data acquisition module records the task execution and communication status in real time;

[0146] 3. The system generates task distribution performance reports and optimizes scheduling strategies.

[0147] The instruction and data transfer paths are the same as those for functional testing.

[0148] 5. Data analysis and report generation

[0149] Goal: Generate real-time visual reports through data collection and analysis.

[0150] step:

[0151] 1. The data acquisition module collects all test data and uploads them to the control terminal;

[0152] 2. Automatically generate test reports, including performance trend graphs, distribution graphs and exception logs;

[0153] 3. Support historical record backtracking and comparative analysis of multiple test results

[0154] Example 1: Functional test

[0155] Test objective: To verify the core functions of the ball valve actuator, including the accuracy of valve switching operation, angle adjustment and status feedback.

[0156] Test steps:

[0157] 1. The user configures the task through the control terminal and sets the valve opening and closing angle to 0%, 50%, and 100%.

[0158] 2. The instructions are parsed by the IoT platform (AS) into control instructions that comply with the LoRaWAN protocol and are transmitted to the ball valve actuator via the network server and the LoRaWAN gateway.

[0159] 3. After the ball valve actuator completes its task, it feeds back the valve position to the LoRaWAN gateway, which is then transmitted back to the IoT platform via the network server.

[0160] 4. The data acquisition module collects feedback data in real time, processes and analyzes it to generate a functional test report, records the response time, execution results and status feedback data of each task, and uploads it to the control terminal for users to view.

[0161] Example 2: Communication performance test

[0162] Test objective: Evaluate the communication quality between the ball valve actuator and the LoRaWAN gateway, including signal strength (RSSI), signal-to-noise ratio (SNR), packet loss rate, and latency.

[0163] Test steps:

[0164] 1. The control terminal sends communication performance test instructions to multiple ball valve actuators in batches.

[0165] 2. The data acquisition module monitors the signal strength, delay and packet loss rate in real time and records the communication data of each node.

[0166] 3. After the test is completed, a communication performance report is generated, including a signal trend graph and a packet loss rate distribution graph, showing the uniformity and stability of the communication performance.

[0167] Example 3: Abnormal scenario simulation and recovery test

[0168] Test objective: Simulate abnormal scenarios in extreme agricultural environments and verify the equipment's recovery capabilities and communication stability.

[0169] Test steps:

[0170] 1. Zero signal strength recovery test:

[0171] Manually disconnect the communication between the gateway and the actuator to simulate the signal interruption scenario;

[0172] After the signal is restored, the automatic reconnection time of the ball valve actuator and the task completion status are recorded;

[0173] Generate a recovery test report to evaluate the stability of the system under abnormal scenarios.

[0174] 2. Low water pressure test:

[0175] Simulate low water pressure scenario and send valve opening command to the ball valve actuator;

[0176] Monitor the operating capability and status feedback of ball valve actuators under low water pressure conditions;

[0177] Record valve operation stability and generate performance analysis reports.

[0178] Example 4: Multi-node batch task testing

[0179] Test objective: Verify the system's task distribution capability and communication performance in multi-node scenarios, and ensure task completion rate and data consistency.

[0180] Test steps:

[0181] 1. The control terminal simultaneously assigns tasks to 500 ball valve actuators, including functional testing and communication performance testing.

[0182] 2. The data acquisition module records the response time, task completion status and communication quality of each node.

[0183] 3. After the test is completed, a comprehensive report on the multi-node task test is generated to analyze the task distribution efficiency, node status and abnormal node processing.

[0184] Although preferred embodiments of the present invention have been described, additional changes and modifications may be made to these embodiments by those skilled in the art once the basic inventive concepts are known. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention. Obviously, those skilled in the art may make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A method for testing the function and communication performance of a ball valve actuator, characterized in that: A LoRa communication module is arranged on the ball valve actuator to be tested, and a network server and a LoRaWAN gateway are configured, and the test is performed using the LoRaWAN communication technology. The test method includes the following steps: S1. Obtain the test task and parse it into standardized test instructions; S2. Parse the standardized test instructions into control instructions that comply with the LoRaWAN protocol and send them to the network server; S3. The network server determines the task routing target and sends the control command to the correct LoRaWAN gateway; S4. The LoRaWAN gateway sends the control instruction to the ball valve actuator to be tested using the LoRa communication protocol; S5. The LoRaWAN gateway obtains the test results of the test task performed by the ball valve actuator to be tested in real time; S6. Process and analyze the test results.

2. The method for testing the function and communication performance of a ball valve actuator as claimed in claim 1, characterized in that: Step S1 is executed by the control terminal; Step S2 is executed by the Internet of Things platform; In step S6, the test result is transmitted from the LoRaWAN gateway to the IoT platform via the network server, processed and analyzed by the data acquisition module of the IoT platform, and uploaded to the control terminal.

3. The method for testing the function and communication performance of a ball valve actuator as claimed in claim 1, characterized in that: The test tasks described in step S1 include one or more of a switch valve instruction test, a ball valve angle setting test, a low water pressure test, a long sleep test, a communication performance test or a multi-node batch task test.

4. The method for testing the function and communication performance of a ball valve actuator as claimed in claim 3, characterized in that: The communication performance test includes one or more of signal strength, signal-to-noise ratio, delay or packet loss rate.

5. The method for testing the function and communication performance of a ball valve actuator as claimed in claim 1, characterized in that: The test task includes a zero signal strength recovery test, which uses the time synchronization mechanism of the LoRaWAN gateway to correct the clock error of the ball valve actuator to be tested, quickly completes device reconnection after the signal is restored, and accurately transmits test data.

6. The method for testing the function and communication performance of a ball valve actuator as claimed in claim 1, characterized in that: Step S1 uses a dynamic task distribution mechanism and real-time priority adjustment to optimize resource allocation for test tasks; when the communication link is abnormal, unfinished test tasks are automatically restored and task priorities are reallocated.

7. The method for testing the function and communication performance of a ball valve actuator as claimed in claim 6, characterized in that: The test tasks include intelligent scenario linkage simulation tests, and dynamically adjust the test task priorities according to changes in the agricultural environment.

8. The method for testing the function and communication performance of a ball valve actuator as claimed in claim 1, characterized in that: Step S5 also includes a step of collecting valve arrival signals in real time, which is used to verify the consistency between the mechanical action of the ball valve actuator and the communication feedback.

9. A ball valve actuator function and communication performance testing system, characterized in that: It includes a control terminal, an IoT platform, a network server, a LoRaWAN gateway, and a LoRa communication module located on the ball valve actuator; The control terminal is used for human-computer interaction, configuring test tasks, parsing into standardized test instructions, and sending the standardized test instructions to the Internet of Things platform; and is also used to receive feedback data from the Internet of Things platform; The IoT platform is used to parse the standardized test instructions from the control terminal and convert them into control instructions that comply with the LoRaWAN protocol, and send the control instructions to the network server; it is also used to receive feedback data from the network server, summarize, process and analyze the feedback data, and upload it to the control terminal; The network server is used to receive the control instructions from the IoT platform, determine the routing target of the task, and distribute it to the correct LoRaWAN gateway; and is also used to aggregate the feedback data from the LoRaWAN gateway and transmit it back to the IoT platform; The LoRaWAN gateway is used to send the control instruction from the network server to the ball valve actuator provided with the LoRa communication module using the LoRa communication protocol; and is also used to receive feedback data from the ball valve actuator and transmit it back to the network server; The LoRa communication module is used to realize LoRa wireless data transmission between the ball valve actuator and the LoRaWAN gateway.

10. The ball valve actuator function and communication performance testing system according to claim 9, characterized in that: It also includes a task distribution module; The task distribution module is used to schedule batch tasks and automatically recover unfinished test tasks and reallocate task priorities when a communication link is abnormal; The Internet of Things platform includes a data acquisition module for processing and analyzing the feedback data.