A multifunctional STA module testing method and device based on main control platform software

Through the multi-function STA module testing method based on the main control platform software, the signal interference problem caused by data forwarding of HPLC/RF dual-mode module is solved, and efficient testing of the communication function and protocol consistency of the STA module is realized, and the adaptation of different types and The STA module of specifications reduces construction difficulty and cost, and improves the real-time and accuracy of communication.

CN118487978BActive Publication Date: 2025-02-25STATE GRID SHANDONG ELECTRIC POWER CO MARKETING SERVICE CENT (MEASURING CENT)
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410553314.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-06
Publication Date
2025-02-25
Estimated Expiration
2044-05-06

AI Technical Summary

Technical Problem

In the prior art, the data forwarding function of the HPLC/RF dual-mode module may cause signal interference, reduce communication stability and reliability, and increase system power consumption and heat generation, affect the module life and performance, and make it difficult to detect and troubleshoot in a timely manner.

Method used

Using the multi-function STA module test method based on the main control platform software, the steps of inserting the STA module to be tested, selecting the test function, executing the test process, displaying and recording the test results, and using the scribe controller circuit to perform HPLC carrier communication and execute the HPLC protocol Consistency testing and network point copy functions realize communication functions and protocol consistency testing of STA modules.

Benefits of technology

This method can adapt to STA modules of different types and specifications, reduce construction difficulty and cost, simplify data interaction through carrier communication, improve real-time and accuracy of communication, and display test results through human-computer interaction windows, improving user convenience Sex and satisfaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118487978B_ABST
    Figure CN118487978B_ABST
Patent Text Reader

Abstract

The present invention discloses a multifunctional STA module testing method and device based on main control platform software. The device includes a collection fault detection base, which can adapt to different STA modules and communicate with them via carrier wave. The method includes the following steps: inserting the STA module into the base, starting the virtual meter and meter reading controller circuit of the base, sending meter reading instructions to the STA module, and receiving the data returned by the STA module; judging the communication function and protocol consistency of the STA module according to the data returned by the STA module; at the same time, performing network point reading, network monitoring and signal strength detection to obtain the network information and signal quality of the STA module, and comparing with the reference data to judge whether the STA module is faulty; finally, displaying the test results and fault indications through a human-computer interaction window or a handheld device. The fault of the STA module can be detected quickly, accurately and at low cost, the efficiency of troubleshooting can be improved, and the normal operation of the STA module and the network can be ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power line communication, and in particular to a multifunctional STA module testing method and equipment based on main control platform software. Background Art

[0002] In order to realize the construction of smart grid, it is necessary to remotely read the smart meters such as smart electricity meters, smart water meters, smart gas meters in the low-voltage power distribution network, so as to monitor and manage the users' electricity, water and gas consumption in real time. At present, the communication modules used in the low-voltage power distribution network are divided into two categories: single-mode and dual-mode. The single-mode mainly includes the two solutions of HPLC carrier and micro-power wireless RF, and the dual-mode mainly includes the two solutions of HPLC / RF dual-channel single network and HPLC / RF dual-protocol stack dual network.

[0003] HPLC carrier is a technology that uses power lines as a communication medium. It has advantages such as wide coverage, strong anti-interference ability, and low cost, but it also has disadvantages such as signal attenuation, low transmission rate, and incompatibility with other communication methods. Micropower wireless RF is a technology that uses radio waves as a communication medium. It has advantages such as high transmission rate, good compatibility, and easy expansion, but it also has disadvantages such as small coverage, susceptibility to interference, and high power consumption.

[0004] HPLC / RF dual-channel single network is a technology that combines HPLC carrier and micro-power wireless RF. It mainly uses HPLC carrier for communication. When the HPLC carrier signal is interfered, it uses micro-power wireless RF for forwarding to improve the reliability of communication. However, this technology only supports HPLC protocol and does not support standard micro-power wireless protocol. Therefore, it cannot be interconnected with the original micro-power wireless equipment. All micro-power wireless equipment needs to be replaced, which increases the difficulty and cost of construction.

[0005] HPLC / RF dual protocol stack dual network is a technology that uses HPLC carrier and micro-power wireless RF as two independent communication networks. It supports HPLC protocol and standard micro-power wireless protocol, and can be interconnected with existing micro-power wireless devices to achieve communication compatibility. However, due to the small coverage of micro-power wireless RF, this technology leads to incomplete micro-power wireless network construction, and cannot realize meter reading of all micro-power wireless devices, which reduces the integrity of communication.

[0006] In order to solve the shortcomings of the above-mentioned prior art, some new communication schemes have been proposed, such as a meter reading system with mixed HPLC and micro-power wireless devices disclosed in a Chinese patent (patent number CN202111548739.2, patent name: A meter reading system and method with mixed HPLC and micro-power wireless devices), which includes an HPLC central coordinator (CCO), an HPLC single-mode module (STA1), an HPLC / RF dual-mode module (STA2) and an RF single-mode module (STA3), wherein the HPLC / RF dual-mode module (STA2) has the function of forwarding data between the standard HPLC protocol and the standard micro-power wireless, and can realize the intercommunication between the HPLC carrier and the micro-power wireless RF, thereby realizing the meter reading of all meters and improving the compatibility and integrity of communication.

[0007] However, this solution also has some problems. The data forwarding function of the HPLC / RF dual-mode module (STA2) may cause signal interference between the HPLC carrier and the micro-power wireless RF, reducing the stability and reliability of communication. The data forwarding function of the HPLC / RF dual-mode module (STA2) may increase the power consumption and heat generation of the system, affecting the life and performance of the module, which may easily cause the failure of the STA module and make it difficult to detect and troubleshoot in time. To this end, we propose a multifunctional STA module testing method and equipment based on the main control platform software. Summary of the invention

[0008] The purpose of the present invention is to provide a multifunctional STA module testing method based on the main control platform software, which has the advantages of being simple, fast, effective, and low-cost, and solves the problems of high requirements on signal processing algorithms, training data, mathematical models, and poor adaptability in the prior art.

[0009] To achieve the above object, the present invention provides the following technical solution: a multifunctional STA module testing method based on main control platform software, the method includes a STA module interface to be tested, a debugging serial port, a human-computer interaction window, a Bluetooth communication component or module of a handheld device, and includes the following steps:

[0010] S1. Insert the STA module to be tested: insert the STA module to be tested into the corresponding slot of the acquisition fault detection base, and plug in the debugging serial port;

[0011] S2. Select the STA module test function: select the STA module test function through the human-computer interaction window of the device or the Bluetooth communication of the handheld game console;

[0012] S3, execute the STA module test process: collect the fault detection base main control platform software according to the test process, control the corresponding communication port and GPIO port to send control signals, control the copy controller circuit to use HPLC carrier communication and the STA module to be tested to interact with the base virtual table data.

[0013] Preferably, the test process includes the following sub-steps:

[0014] S31, judging whether the STA module is inserted: judging whether the STA module is inserted into the corresponding detection card slot of the acquisition fault detection base, if not, prompting the user to insert it;

[0015] S32, judging whether the STA module communicates normally with the acquisition fault detection base: judging whether the STA module communicates normally with the acquisition fault detection base, if not, prompting the user to check the connection;

[0016] S33, start the virtual meter: start a simulated electric energy meter data generated by the main control platform software and stored in the acquisition fault detection base;

[0017] S34, start the interconnection of the copy controller: start the HPLC carrier communication function between the copy controller circuit and the STA module to be tested;

[0018] S35, meter reading by the meter reading controller: the meter reading controller circuit sends a meter reading instruction to the STA module to be tested, and receives the virtual meter data returned by the STA module to be tested;

[0019] S36, perform HPLC protocol consistency test: according to the virtual table data returned by the STA module to be tested, determine whether it meets the specification requirements of the HPLC protocol;

[0020] S37, execute the network point copy function: the copy controller circuit sends a network point copy instruction to the STA module to be tested, and receives the network node information returned by the STA module to be tested;

[0021] S38, execute network monitoring function: the copy controller circuit monitors and records the carrier communication data in the network where the STA module to be tested is located;

[0022] S39, display and record the STA module test results: according to the data interaction between the copy controller circuit and the STA module to be tested, determine whether the communication function of the STA module is normal, and display the test results in the human-computer interaction window or on the handheld device.

[0023] Preferably, the test results include the following:

[0024] Basic information of S391 and STA modules: including model, version, and serial number;

[0025] S392, communication status of STA module: including whether communication is successful, communication rate, and communication protocol;

[0026] S393, communication data of STA module: including virtual table data, network node information, carrier communication data;

[0027] HPLC protocol consistency test results of S394 and SSTA modules: including whether the test was passed and the reason for failure;

[0028] 4G operator signal strength detection results of S395 and SSTA modules: including signal strength and signal quality.

[0029] A multifunctional STA module testing device based on the main control platform software, characterized in that it includes a main structure, an interface of the STA module to be tested, a debugging serial port, a human-computer interaction window, and a Bluetooth communication component or module of a handheld device;

[0030] The main structure includes two single boards, namely a bottom board and an interface board.

[0031] Preferably, the baseboard single board system is divided into five subsystems: a main control module, a communication module, an interaction module, a power detection module, and a power supply module;

[0032] The main control module controls the overall operation of the acquisition fault detection base, including the main control platform software and the main control chip;

[0033] The communication module includes a Bluetooth module, a copy controller module and an HPLC module;

[0034] The interactive module includes an OLED screen and a button assembly;

[0035] The power detection module includes a current detection circuit and a voltage detection circuit;

[0036] The power module includes a battery interface and a power interface.

[0037] Preferably, the interface board single board system is divided into four subsystems: interaction module, 4G communication module, interface compatibility module, and power module;

[0038] The interaction module includes an SPI interface and a GPIO interface;

[0039] The 4G communication module includes a SIM card slot and an antenna interface;

[0040] The interface compatible module includes a plurality of STA module interfaces to be tested and a three-phase interface;

[0041] The power module includes a power switch and a power indicator light.

[0042] Preferably, the interaction module includes an SPI interface and a GPIO interface;

[0043] The 4G communication module includes a SIM card slot and an antenna interface;

[0044] The interface compatible module includes a plurality of STA module interfaces to be tested and a three-phase interface;

[0045] The power module includes a power switch and a power indicator light.

[0046] Preferably, the STA module interface to be tested is adapted to different types of STA modules, including a single-phase STA module and a three-phase STA module.

[0047] Preferably, the copy controller circuit uses different carrier communication modes to perform data exchange with the STA module to be tested, including HPLC carrier communication, PLC carrier communication, and RF carrier communication.

[0048] Compared with the prior art, the present invention has the following beneficial effects:

[0049] 1. The present invention can be adapted to STA modules of different types and specifications without replacing or modifying the STA modules, thus reducing construction difficulty and cost;

[0050] 2. The present invention can exchange data with the STA module through carrier communication, without the need for additional communication media or equipment, thereby improving the simplicity and reliability of communication;

[0051] 3. The present invention can send meter reading instructions and receive data returned by the STA module through a virtual meter and a meter reading controller circuit, without the need for complex signal processing algorithms or data conversion functions, thereby improving the real-time and accuracy of communication;

[0052] 4. The present invention can display test results and fault indications through a human-computer interaction window or a handheld device, and provide troubleshooting suggestions, thereby improving user convenience and satisfaction. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1 A schematic diagram of a specific working environment of a fault detection base collected by the present invention;

[0054] Figure 2 It is a structural schematic diagram of the acquisition fault detection base of the present invention;

[0055] Figure 3 A schematic diagram of a baseboard single board system for collecting fault detection bases of the present invention;

[0056] Figure 4 A circuit diagram of the interface board single board system of the fault detection base for collecting faults in the present invention;

[0057] Figure 5 A circuit diagram of a copy controller of a collection fault detection base of the present invention;

[0058] Figure 6A schematic diagram of the overall structure of the bottom plate and the interface plate in the fault detection base of the present invention;

[0059] Figure 7 This is a test block diagram of the STA module of the present invention;

[0060] Figure 8 This is a schematic diagram of the steps of the STA module fault detection method of the present invention;

[0061] Fig. 9 It is a schematic diagram of the test process sub-process of the present invention;

[0062] Fig.10 It is a schematic diagram of the test results of the present invention;

[0063] Fig.11 This is a functional flow chart of the acquisition fault detection base of the present invention. DETAILED DESCRIPTION

[0064] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0065] See also Figures 1 to 11 The present invention relates to a multifunctional STA module testing method based on the main control platform software, which can effectively detect whether the communication function of the STA module is normal and whether the STA module meets the specification requirements of the HPLC protocol. The present invention also relates to a collection fault detection base, which can adapt to STA modules of different types and specifications and communicate wirelessly with the measurement field operation terminal to facilitate user operation and management.

[0066] The technical solution of the present invention is as follows:

[0067] A multifunctional STA module testing method based on main control platform software comprises the following steps:

[0068] S1. Insert the STA module to be tested: insert the STA module to be tested into the corresponding slot of the acquisition fault detection base, and plug in the debugging serial port;

[0069] S2. Select the STA module test function: select the STA module test function through the human-computer interaction window of the device or the Bluetooth communication of the handheld game console;

[0070] S3, execute the STA module test process: collect the fault detection base main control platform software according to the test process, control the corresponding communication port and GPIO port to send control signals, control the copy controller circuit to use HPLC carrier communication to interact with the STA module to be tested Base virtual table data;

[0071] S4. Display and record the test results of the STA module: According to the data interaction between the copy controller circuit and the STA module to be tested, determine whether the communication function of the STA module is normal, and display the test results in the human-computer interaction window or on the handheld device.

[0072] The test process includes the following sub-steps:

[0073] S31, judging whether the STA module is inserted: judging whether the STA module is inserted into the corresponding detection card slot of the acquisition fault detection base, if not, prompting the user to insert it;

[0074] S32, judging whether the STA module communicates normally with the acquisition fault detection base: judging whether the STA module communicates normally with the acquisition fault detection base, if not, prompting the user to check the connection;

[0075] S33, start the virtual meter: start a simulated electric energy meter data generated by the main control platform software and stored in the acquisition fault detection base;

[0076] S34, start the interconnection of the copy controller: start the HPLC carrier communication function between the copy controller circuit and the STA module to be tested;

[0077] S35, meter reading by the meter reading controller: the meter reading controller circuit sends a meter reading instruction to the STA module to be tested, and receives the virtual meter data returned by the STA module to be tested;

[0078] S36, perform HPLC protocol consistency test: according to the virtual table data returned by the STA module to be tested, determine whether it meets the specification requirements of the HPLC protocol;

[0079] S37, execute the network point copy function: the copy controller circuit sends a network point copy instruction to the STA module to be tested, and receives the network node information returned by the STA module to be tested;

[0080] S38, execute network monitoring function: the copy controller circuit monitors and records the carrier communication data in the network where the STA module to be tested is located;

[0081] The test results include the following:

[0082] Basic information of S391 and STA modules: including model, version, and serial number;

[0083] S392, communication status of STA module: including whether communication is successful, communication rate, and communication protocol;

[0084] S393, communication data of STA module: including virtual table data, network node information, carrier communication data;

[0085] S394, HPLC protocol consistency test results of STA module: including whether the test passed and the reason for failure;

[0086] S395, STA module 4G operator signal strength detection results: including signal strength and signal quality.

[0087] A collection fault detection base, including the following components or modules: a main structure, fixing and supporting various components or modules; an interface of a STA module to be tested is an input end of the collection fault detection device, arranged on the main structure, used to connect the STA module to be tested, and to communicate data with a baseboard single board system through a debugging serial port; a debugging serial port, arranged on the main structure, used to connect a debugging cable, and to communicate data with a PC through the debugging cable; a human-computer interaction window, arranged on the main structure, used to display a human-computer interaction menu and test results, and to communicate data with the baseboard single board system through an OLED screen and a key assembly; a handheld device's Bluetooth communication, arranged on the main structure, used to communicate wirelessly with a metering field operation terminal, and to communicate data with the baseboard single board system through a Bluetooth module; a baseboard single board system, installed inside the main structure, divided into five subsystems: a main control module, a communication module, an interaction module, a power detection module, and a power supply module, used to control the overall operation of the collection fault detection device, and to communicate data with other modules through the main control platform software and the main control chip;

[0088] The interface board system is installed inside the main structure and is divided into four subsystems: interaction module, 4G communication module, interface compatibility module, and power module. It is used to adapt to STA modules of different types and specifications, and communicate data with other modules through the 4G communication module and interface compatibility module.

[0089] Specifically, the data flow between each module is as follows: the interface of the STA module to be tested receives the power signal and carrier signal of the STA module to be tested, and converts them into digital signals, and sends them to the main control platform software of the baseboard single board system through the debugging serial port; the debugging serial port receives the digital signal sent by the main control platform software of the baseboard single board system, and converts them into power signals and carrier signals, and sends them to the debugging software of the PC through the debugging cable; the human-computer interaction window receives the human-computer interaction menu and test results sent by the main control platform software of the baseboard single board system, and displays them on the OLED screen; at the same time, the human-computer interaction window receives the instructions entered by the user through the key component, and sends them to the main control platform software of the baseboard single board system; the Bluetooth communication of the handheld receives the instructions and query requests sent by the metering field operation terminal, and sends them to the main control platform software of the baseboard single board system through the Bluetooth module; at the same time, the Bluetooth communication of the handheld receives the test results and feedback information sent by the main control platform software of the baseboard single board system, And send it to the metering site operation terminal through the Bluetooth module; the main control platform software of the baseboard single board system receives the data sent by the STA module interface to be tested, the debugging serial port, the human-computer interaction window, the Bluetooth communication of the handheld game console and other modules, and processes, analyzes, stores and other operations according to the logic of the software; at the same time, the main control platform software of the baseboard single board system sends data to the STA module interface to be tested, the debugging serial port, the human-computer interaction window, the Bluetooth communication of the handheld game console and other modules according to the logic of the software, and controls the corresponding communication port and GPIO port to send control signals; the 4G communication module of the interface board single board system receives the 4G operator signal strength detection instruction, and sends the signal strength detection instruction to the STA module to be tested through the 4G communication module, and receives the signal strength and signal quality data returned by the STA module to be tested; at the same time, the interface compatible module of the interface board single board system receives the control signal sent by the main control platform software of the baseboard single board system, and controls the power switch and communication mode of the STA module to be tested through the interface compatible module.

[0090] Among them: the main control module controls the overall operation of the acquisition fault detection base, including the main control platform software and the main control chip; the communication module includes a Bluetooth module, a copy controller module and an HPLC module; the interactive module includes an OLED screen and a button assembly; the power detection module includes a current detection circuit and a voltage detection circuit; the power module provides a stable power supply for the acquisition fault detection base, including a battery interface and a power interface. The interactive module includes an SPI interface and a GPIO interface; the 4G communication module includes a SIM card slot and an antenna interface; the interface compatibility module includes multiple STA module interfaces to be tested and a three-phase interface; the power module includes a power switch and a power indicator light. The STA module interface to be tested can be adapted to STA modules of different types and specifications, including single-phase STA modules and three-phase STA modules.

[0091] The copy controller circuit can use different carrier communication modes to exchange data with the STA module to be tested, including HPLC carrier communication, PLC carrier communication and RF carrier communication;

[0092] The HPLC carrier communication is a communication method that uses high-frequency power lines to transmit data, and has the characteristics of strong anti-interference ability, long transmission distance, and high transmission rate;

[0093] The PLC carrier communication is a communication method that uses low-frequency power lines to transmit data, and has the characteristics of low cost, good compatibility, and wide coverage; the RF carrier communication is a communication method that uses radio frequency electromagnetic waves to transmit data, and has the characteristics of easy installation, simple maintenance, and strong adaptability.

[0094] In order to better illustrate the technical effect of the present invention, the present invention is further described below in conjunction with the accompanying drawings and specific embodiments. Three specific embodiments are given below:

[0095] Embodiment 1:

[0096] This embodiment uses a single-phase STA module as the STA module to be tested. The STA module uses the HPLC carrier communication method to exchange data with the electric energy meter and supports the 4G operator signal strength detection function. This embodiment uses a metering field operation terminal as a handheld device. The terminal has a Bluetooth communication function and is installed with corresponding software. This embodiment uses a PC as a debugging device. The device is connected to the acquisition fault detection base through a debugging cable and is installed with corresponding software. This embodiment uses an oscilloscope as a signal analysis device. The device is connected to the acquisition fault detection base through a probe and the corresponding parameters are set. This embodiment uses a multimeter as a voltage and current testing device. The device is connected to the acquisition fault detection base through a test lead and the corresponding parameters are set.

[0097] This embodiment is carried out according to the following steps:

[0098] S1. Insert the STA module to be tested: insert the single-phase STA module into the corresponding slot of the acquisition fault detection base, and plug in the debugging serial port;

[0099] S2. Select the STA module test function: perform Bluetooth communication between the measurement field operation terminal and the acquisition fault detection base, and select the STA module test function;

[0100] S3, execute the STA module test process: collect the fault detection base main control platform software according to the test process, control the corresponding communication port and GPIO port to send control signals, control the copy controller circuit to use HPLC carrier communication to interact with the STA module to be tested Base virtual table data;

[0101] S4. Display and record the test results of the STA module: According to the data interaction between the metering controller circuit and the STA module to be tested, determine whether the communication function of the STA module is normal, and display the test results on the metering field operation terminal and store them in the acquisition fault detection base.

[0102] The test process includes the following sub-steps:

[0103] S31, judging whether the STA module is inserted: judging whether the STA module is inserted into the corresponding detection card slot of the acquisition fault detection base, if not, prompting the user to insert it;

[0104] S32, judging whether the STA module communicates normally with the acquisition fault detection base: judging whether the STA module communicates normally with the acquisition fault detection base, if not, prompting the user to check the connection;

[0105] S33, start the virtual meter: start a simulated electric energy meter data generated by the main control platform software and stored in the acquisition fault detection base;

[0106] S34, start the interconnection of the copy controller: start the HPLC carrier communication function between the copy controller circuit and the STA module to be tested;

[0107] S35, meter reading by the meter reading controller: the meter reading controller circuit sends a meter reading instruction to the STA module to be tested, and receives the virtual meter data returned by the STA module to be tested;

[0108] S36, perform HPLC protocol consistency test: according to the virtual table data returned by the STA module to be tested, determine whether it meets the specification requirements of the HPLC protocol;

[0109] S37, execute the network point copy function: the copy controller circuit sends a network point copy instruction to the STA module to be tested, and receives the network node information returned by the STA module to be tested;

[0110] S38, execute network monitoring function: the copy controller circuit monitors and records the carrier communication data in the network where the STA module to be tested is located;

[0111] S39, executing the 4G operator signal strength detection function: sending a signal strength detection instruction to the STA module to be tested through the 4G communication module, and receiving the signal strength and signal quality data returned by the STA module to be tested.

[0112] The test results include the following:

[0113] Basic information of S391 and STA modules: including model, version, and serial number;

[0114] S392, communication status of STA module: including whether communication is successful, communication rate, and communication protocol;

[0115] S393, communication data of STA module: including virtual table data, network node information, carrier communication data;

[0116] S394, HPLC protocol consistency test results of STA module: including whether the test passed and the reason for failure;

[0117] S395, STA module 4G operator signal strength detection results: including signal strength and signal quality.

[0118] This embodiment carries out comparative experiments to verify the technical effect of the present invention. The specific steps of the comparative experiments are as follows:

[0119] 1) Prepare two single-phase STA modules of the same model and specification, A and B, where A is a normally working STA module and B is a faulty STA module caused by damage to the HPLC carrier chip;

[0120] 2) Insert A and B into the two detection card slots of the acquisition fault detection base respectively, and plug in the debugging serial port;

[0121] 3) Insert A and B into the acquisition fault detection base respectively, select the same test function, execute the same test process, and observe and record the test results of the two STA modules;

[0122] 4) Display the test results of the two STA modules in a table format and analyze the differences and reasons;

[0123] 5) It is shown that the acquisition fault detection base of the present invention can effectively detect whether the communication function of the STA module is normal, and whether the STA module meets the specification requirements of the HPLC protocol. Table 1 is a comparison table of the test results of two STA modules, where A is a normally working STA module and B is a faulty STA module;

[0124]

[0125]

[0126] Table 1

[0127] As can be seen from Table 1, the acquisition fault detection base of the present invention can effectively detect whether the communication function of the STA module is normal and whether the STA module meets the specification requirements of the HPLC protocol. By comparing the normally working STA module and the faulty STA module, the cause and location of the fault can be found, thereby improving the efficiency and accuracy of fault diagnosis and elimination. At the same time, the acquisition fault detection base of the present invention can also detect the 4G operator signal strength of the STA module to ensure the stability and reliability of the remote communication function.

[0128] Embodiment 2: This embodiment uses a three-phase STA module as the STA module to be tested. The STA module uses PLC carrier communication to exchange data with the electric energy meter and supports network listening function. This embodiment uses a metering field operation terminal as a handheld device. The terminal has a Bluetooth communication function and is installed with corresponding software. This embodiment uses a PC as a debugging device. The device is connected to the acquisition fault detection base through a debugging cable and is installed with corresponding software. This embodiment uses an oscilloscope as a signal analysis device. The device is connected to the acquisition fault detection base through a probe and the corresponding parameters are set. This embodiment uses a multimeter as a voltage and current testing device. The device is connected to the acquisition fault detection base through a test lead and the corresponding parameters are set.

[0129] This embodiment is carried out according to the following steps: S1. Insert the STA module to be tested: insert the three-phase STA module into the corresponding slot of the acquisition fault detection base, and plug in the debugging serial port; S2. Select the STA module test function: perform Bluetooth communication with the acquisition fault detection base through the metering field operation terminal, and select the STA module test function; S3. Execute the STA module test process: the main control platform software of the acquisition fault detection base controls the corresponding communication port and GPIO port to send control signals according to the test process, and controls the copy controller circuit to use PLC carrier communication to interact with the STA module to be tested to exchange the base virtual table data; S4. Display and record the STA module test results: According to the data interaction between the copy controller circuit and the STA module to be tested, determine whether the communication function of the STA module is normal, and display the test results on the metering field operation terminal, and store them in the acquisition fault detection base.

[0130] The test process includes the following sub-steps: S31, judging whether the STA module is inserted: judging whether the STA module is inserted into the corresponding detection card slot of the acquisition fault detection base, if not, prompting the user to insert; S32, judging whether the STA module communicates normally with the acquisition fault detection base: judging whether the STA module communicates normally with the acquisition fault detection base, if not, prompting the user to check the connection;

[0131] S33, start the virtual meter: start a simulated electric energy meter data generated by the main control platform software and stored in the acquisition fault detection base; S34, start the interconnection of the copy controller: start the PLC carrier communication function between the copy controller circuit and the STA module to be tested; S35, copy controller meter reading: the copy controller circuit sends a meter reading instruction to the STA module to be tested, and receives the virtual meter data returned by the STA module to be tested;

[0132] S36, perform PLC protocol consistency test: determine whether the virtual table data returned by the STA module to be tested meets the specification requirements of the PLC protocol according to the virtual table data returned by the STA module to be tested; S37, perform network point copy function: the copy controller circuit sends a network point copy instruction to the STA module to be tested, and receives the network node information returned by the STA module to be tested; S38, perform network monitoring function: the copy controller circuit monitors and records the carrier communication data in the network where the STA module to be tested is located;

[0133] The test results include the following: S391, basic information of STA module: including model, version, serial number; S392, communication status of STA module: including whether communication is successful, communication rate, communication protocol; S393, communication data of STA module: including virtual table data, network node information, carrier communication data; S394, PLC protocol consistency test results of STA module: including whether the test is passed and the reason for failure;

[0134] This embodiment carries out comparative experiments to verify the technical effect of the present invention. The specific steps of the comparative experiments are as follows:

[0135] 1) Prepare two three-phase STA modules of the same model and specification, A and B, respectively, where A is a normally working STA module and B is a faulty STA module, the fault cause of which is damage to the PLC carrier chip; 2) Insert A and B into the acquisition fault detection base respectively, select the same test function, execute the same test process, observe and record the test results of the two STA modules; 3) Display the test results of the two STA modules in a table form, and analyze the differences and reasons therein; 4) Explain that the acquisition fault detection base of the present invention can effectively detect whether the communication function of the STA module is normal, and whether the STA module meets the specification requirements of the PLC protocol. Table 2 is a comparison table of the test results of the two STA modules, where A is a normally working STA module and B is a faulty STA module.

[0136]

[0137]

[0138] Table 2

[0139] As can be seen from Table 2, the acquisition fault detection base of the present invention can effectively detect whether the communication function of the STA module is normal and whether the STA module meets the specification requirements of the PLC protocol. By comparing the normally working STA module and the faulty STA module, the cause and location of the fault can be found, thereby improving the efficiency and accuracy of fault diagnosis and elimination. At the same time, the acquisition fault detection base of the present invention can also detect the carrier communication data in the network where the STA module is located to monitor the network operation status and quality.

[0140] Embodiment 3: This embodiment uses a STA module of RF carrier communication mode as the STA module to be tested. The STA module uses RF carrier communication mode to exchange data with the electric energy meter and supports network listening function. This embodiment uses a metering field operation terminal as a handheld device. The terminal has a Bluetooth communication function and is installed with corresponding software. This embodiment uses a PC as a debugging device. The device is connected to the acquisition fault detection base through a debugging cable and is installed with corresponding software. This embodiment uses an oscilloscope as a signal analysis device. The device is connected to the acquisition fault detection base through a probe and the corresponding parameters are set. This embodiment uses a multimeter as a voltage and current testing device. The device is connected to the acquisition fault detection base through a test lead and the corresponding parameters are set. This embodiment is carried out according to the following steps: S1. Insert the STA module to be tested: insert the STA module of RF carrier communication mode into the corresponding slot of the acquisition fault detection base, and plug in the debugging serial port;

[0141] S2. Select the STA module test function: perform Bluetooth communication between the metering site operation terminal and the acquisition fault detection base, and select the STA module test function; S3. Execute the STA module test process: the acquisition fault detection base main control platform software controls the corresponding communication port and GPIO port to send control signals according to the test process, and controls the copy controller circuit to use RF carrier communication to interact with the STA module to be tested to exchange the base virtual table data; S4. Display and record the STA module test results: According to the data interaction between the copy controller circuit and the STA module to be tested, determine whether the communication function of the STA module is normal, and display the test results on the metering site operation terminal, and store them in the acquisition fault detection base.

[0142] The test process includes the following sub-steps: S31, judging whether the STA module is inserted: judging whether the STA module is inserted into the corresponding detection card slot of the acquisition fault detection base, if not, prompting the user to insert; S32, judging whether the STA module communicates normally with the acquisition fault detection base: judging whether the STA module communicates normally with the acquisition fault detection base, if not, prompting the user to check the connection;

[0143] S33, start the virtual meter: start a simulated electric energy meter data generated by the main control platform software and stored in the acquisition fault detection base; S34, start the interconnection of the copy controller: start the RF carrier communication function between the copy controller circuit and the STA module to be tested; S35, copy controller meter reading: the copy controller circuit sends a meter reading instruction to the STA module to be tested, and receives the virtual meter data returned by the STA module to be tested;

[0144] S36, perform RF protocol consistency test: determine whether the virtual table data returned by the STA module to be tested meets the specification requirements of the RF protocol according to the virtual table data returned by the STA module to be tested; S37, perform network point copy function: the copy controller circuit sends a network point copy instruction to the STA module to be tested, and receives the network node information returned by the STA module to be tested; S38, perform network monitoring function: the copy controller circuit monitors and records the carrier communication data in the network where the STA module to be tested is located; the test results include the following: S391, basic information of the STA module: including model, version, serial number; S392, communication status of the STA module: including whether the communication is successful, communication rate, communication protocol; S393, communication data of the STA module: including virtual table data, network node information, carrier communication data; S394, RF protocol consistency test results of the STA module: including whether the test is passed and the reason for failure; This embodiment carries out a comparative experiment to verify the technical effect of the present invention. The specific steps of the comparative experiment are as follows: 1) prepare two STA modules of the same model and specification of RF carrier communication mode, A and B, respectively, where A is a normally working STA module and B is a faulty STA module, the cause of the fault is damage to the RF carrier chip; 2) insert A and B into the acquisition fault detection base respectively, select the same test function, execute the same test process, observe and record the test results of the two STA modules; 3) display the test results of the two STA modules in a table form, and analyze the differences and reasons therein; 4) illustrate that the acquisition fault detection base of the present invention can effectively detect whether the communication function of the STA module is normal, and whether the STA module meets the specification requirements of the RF protocol. Table 3 is a comparison table of the test results of the two STA modules, where A is a normally working STA module and B is a faulty STA module.

[0145]

[0146] Table 3

[0147] As can be seen from Table 3, the acquisition fault detection base of the present invention can effectively detect whether the communication function of the STA module is normal and whether the STA module meets the specification requirements of the RF protocol. By comparing the normally working STA module and the faulty STA module, the cause and location of the fault can be found, thereby improving the efficiency and accuracy of fault diagnosis and elimination. At the same time, the acquisition fault detection base of the present invention can also detect the carrier communication data in the network where the STA module is located to monitor the network operation status and quality.

[0148] Replenish: Fig.11 Explanation of the content, virtual table: This is a simulated electric energy meter data generated by the main control platform software and stored in the acquisition fault detection base, which is used to simulate the reading and data format of the real electric energy meter to facilitate data interaction with the STA module. The data of the virtual table can be set and adjusted according to different STA module types and specifications to meet different test requirements.

[0149] Meter reading controller: This is a communication circuit provided by the acquisition fault detection base, which is used for carrier communication with the STA module, including sending meter reading instructions, receiving virtual meter data, sending network point reading instructions, receiving network node information, monitoring and recording network data, etc. The meter reading controller can select different carrier communication methods according to different STA module types, such as HPLC, PLC or RF, to ensure the compatibility and stability of communication.

[0150] STA module to be tested: This is a STA module that needs to be tested. It uses carrier communication to exchange data with the electric energy meter and supports network listening function. The STA module to be tested needs to be inserted into the corresponding detection card slot of the acquisition fault detection base and communicate with the meter. The basic information, communication status, communication data, protocol consistency test results, etc. of the STA module to be tested are all important contents of the test.

[0151] Execute HPLC protocol consistency test: This is a test function provided by the main control platform software, which is used to determine whether the virtual table data returned by the STA module to be tested meets the specification requirements of the HPLC protocol, such as data format, data length, data verification, etc. If the STA module to be tested passes the HPLC protocol consistency test, it means that its communication function is normal and can correctly interact with the electric energy meter; if the STA module to be tested does not pass the HPLC protocol consistency test, it means that its communication function is abnormal, and there may be problems such as data loss, data error, and incomplete data, which require troubleshooting and repair.

[0152] Execute network point copy function: This is a test function provided by the main control platform software, which is used for the copy controller circuit to send network point copy instructions to the STA module to be tested, and receive the network node information returned by the STA module to be tested, such as the number, address, type, etc. of network nodes. This function can detect the topology and operation status of the network where the STA module is located, as well as the communication capability and quality of the STA module with other STA modules.

[0153] Execute network monitoring function: This is a test function provided by the main control platform software, which is used by the controller circuit to monitor and record the carrier communication data in the network where the STA module to be tested is located, such as data content, data frequency, data strength, etc. This function can detect the communication flow and communication efficiency of the network where the STA module is located, as well as the communication performance and communication interference of the STA module.

[0154] Display test results: This is a display function provided by the main control platform software, which is used to display the test results of the STA module on the metering field operation terminal and store them in the acquisition fault detection base. The test results include the basic information of the STA module, communication status, communication data, protocol consistency test results, etc., which can be easily viewed, analyzed and compared. B: The meter reading controller, which is a communication circuit provided by the acquisition fault detection base, is used for carrier communication with the STA module, including sending meter reading instructions, receiving virtual meter data, sending network point reading instructions, receiving network node information, monitoring and recording network data, etc. The meter reading controller can select different carrier communication methods according to different STA module types, such as HPLC, PLC or RF, to ensure the compatibility and stability of communication. The meter reading controller can also perform test functions such as HPLC protocol consistency test, network point reading function, and network listening function to detect whether the communication function of the STA module is normal and whether the STA module meets the specification requirements of the protocol. The test results of the meter reading controller can be displayed on the metering field operation terminal and stored in the acquisition fault detection base for easy viewing, analysis and comparison.

[0155] C: STA module to be tested. This is a STA module that needs to be tested. It uses carrier communication to interact with the electric energy meter and supports network listening function. The STA module to be tested needs to be inserted into the corresponding detection card slot of the acquisition fault detection base and communicate with the meter reader. The basic information, communication status, communication data, protocol consistency test results, etc. of the STA module to be tested are all important contents of the test. The communication data of the STA module to be tested includes virtual table data, network node information, carrier communication data, etc., which can reflect the data interaction between the STA module and the electric energy meter, as well as the operating status and quality of the network where the STA module is located. The protocol consistency test results of the STA module to be tested can reflect whether the STA module meets the specification requirements of carrier communication, such as data format, data length, data verification, etc. If the communication function of the STA module to be tested is abnormal, there may be problems such as data loss, data error, incomplete data, etc., which need to be troubleshooted and repaired.

[0156] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and alterations may be made to the embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims and their equivalents.

Claims

1. A multifunctional STA module testing method based on main control platform software, characterized in that: It includes the STA module interface to be tested, the debugging serial port, the human-computer interaction window and the Bluetooth communication component or module of the handheld device, and includes the following steps: S1. Insert the STA module to be tested: insert the STA module to be tested into the corresponding slot of the acquisition fault detection base, and plug in the debugging serial port; S2. Select the STA module test function: select the STA module test function through the human-computer interaction window of the device or the Bluetooth communication of the handheld game console; S3, execute the STA module test process: collect the fault detection base main control platform software according to the test process, the SPI interface and GPIO interface send control signals, control the copy controller circuit to use HPLC carrier communication to interact with the STA module to be tested virtual table data; The test process includes the following sub-steps: S31, judging whether the STA module is inserted: judging whether the STA module is inserted into the corresponding detection slot of the acquisition fault detection base, if not, prompting the user to insert it; S32, judging whether the STA module communicates normally with the acquisition fault detection base: judging whether the STA module communicates normally with the acquisition fault detection base, if not, prompting the user to check the connection; S33, start the virtual meter: start a simulated electric energy meter data generated by the main control platform software and stored in the acquisition fault detection base; S34, start the interconnection of the copy controller: start the HPLC carrier communication function between the copy controller circuit and the STA module to be tested; S35, meter reading by the meter reading controller: the meter reading controller circuit sends a meter reading instruction to the STA module to be tested, and receives the virtual meter data returned by the STA module to be tested; S36, perform HPLC protocol consistency test: according to the virtual table data returned by the STA module to be tested, determine whether it meets the specification requirements of the HPLC protocol; S37, execute the network point copy function: the copy controller circuit sends a network point copy instruction to the STA module to be tested, and receives the network node information returned by the STA module to be tested; S38, execute network monitoring function: the copy controller circuit monitors and records the carrier communication data in the network where the STA module to be tested is located; S39, display and record the test results of the STA module: according to the data interaction between the copy controller circuit and the STA module to be tested, determine whether the communication function of the STA module is normal, and display the test results in the human-computer interaction window or the handheld device; The test results include the following: S391, basic information of STA module: including model, version and serial number; S392, the communication status of the STA module: including whether the communication is successful, the communication rate and the communication protocol; S393, communication data of STA module: including virtual table data, network node information and carrier communication data; S394, HPLC protocol consistency test results of STA module: including whether the test passed and the reason for failure; S395, STA module 4G operator signal strength detection results: including signal strength and signal quality.

2. A test device using the multifunctional STA module test method based on the main control platform software according to claim 1, characterized in that: It includes the main structure, the interface of the STA module to be tested, the debugging serial port, the human-computer interaction window and the Bluetooth communication component or module of the handheld game console; The main structure includes two single boards, namely a base board and an interface board; The baseboard single board system is divided into five subsystems: main control module, communication module, interaction module, power detection module and power supply module; The main control module includes main control platform software and main control chip; The communication module includes a Bluetooth module, a copy controller circuit and an HPLC module; The interactive module includes an OLED screen and a button assembly; The power detection module includes a current detection circuit and a voltage detection circuit; The power module includes a battery interface and a power interface; The interface board system is divided into four subsystems: interaction module, 4G communication module, interface compatibility module and power module; The interaction module includes an SPI interface and a GPIO interface; The 4G communication module includes a SIM card slot and an antenna interface; The interface compatible module includes a plurality of STA module interfaces to be tested and a three-phase interface; The power module includes a power switch and a power indicator light.

3. A multifunctional STA module testing device based on main control platform software according to claim 2, characterized in that: The STA module interface to be tested is adapted to different types of STA modules, including a single-phase STA module and a three-phase STA module.

4. A multifunctional STA module testing device based on main control platform software according to claim 3, characterized in that: The copy controller circuit uses different carrier communication modes to perform data exchange with the STA module to be tested, including HPLC carrier communication, PLC carrier communication and RF carrier communication.

Citation Information

Patent Citations

  • A meter reading system and method integrating HPLC and low-power wireless devices

    CN114339466B

  • Test system for power line carrier communication module

    CN104811224A

  • HPLC (High Performance Liquid Chromatography) area communication network operation and maintenance terminal

    CN114553677A