Disclosure of Invention
The invention provides a method and a device for detecting communication faults of field equipment of an electricity consumption information acquisition system, which aim to solve the problem of detecting the communication link faults of the acquisition system.
In order to solve the above problem, according to an aspect of the present invention, there is provided a method for detecting a communication failure of a field device of a power consumption information collection system, the method including:
the acquisition fault recognition device is used as an electric energy meter to be connected into a strong electric circuit of the tested concentrator, and the local communication function of the concentrator is detected under the condition that the main control equipment receives data returned by the acquisition fault recognition device;
the acquisition fault recognition device is used as a concentrator and is connected into a strong electric circuit of the collector to be detected, and the uplink communication function of the collector is detected according to the condition of the data of the collector to be detected, which is received by the main control equipment;
the acquisition fault recognition device is used as a concentrator and is connected into a strong electric circuit of the electric energy meter to be detected, and the communication function of the electric energy meter is detected according to the condition of the data of the electric energy meter to be detected, which is received by the main control equipment;
and inserting the SIM card to be tested into the acquisition fault recognition device, and testing the SIM card according to the configured test parameters.
Preferably, the accessing the collection fault recognition device as an electric energy meter into a strong electric line of the tested concentrator, and detecting the local communication function of the concentrator by receiving the data returned by the collection fault recognition device through the main control device includes:
inserting a standard electric energy meter communication module into the acquisition fault recognition device to serve as an electric energy meter to be accessed into a strong electric circuit of the tested concentrator, reading and acquiring data of the acquisition fault recognition device by the main control equipment through the infrared control concentrator through carrier waves, and if the main control equipment can normally receive return data, indicating that the local communication function of the concentrator is normal; otherwise, the local communication function of the concentrator is abnormal.
Preferably, the accessing the collection fault recognition device as a concentrator into a strong power line of a collector to be tested, and detecting the uplink communication function of the collector according to the condition of the data of the collector to be tested received by the main control device includes:
inserting a standard concentrator communication module into the acquisition fault recognition device to serve as a concentrator to be connected into a strong electric circuit of the collector to be tested, controlling the acquisition fault recognition device by the main control equipment through Bluetooth to read data of the collector to be tested through a carrier or micropower wireless channel, and if the main control equipment can normally receive return data, indicating that the uplink communication function of the collector is normal; otherwise, the collector uplink communication function is abnormal.
Preferably, wherein in will gathering fault recognition device and insert the electric energy meter strong electric line under test as the concentrator, the electric energy meter communication function is detected through the condition of the electric energy meter data that awaits measuring that master control equipment received, include:
inserting a standard concentrator communication module into the acquisition fault recognition device to serve as a concentrator to be connected into a strong electric circuit of the tested electric energy meter, controlling the acquisition fault recognition device by the main control equipment through Bluetooth to read data of the tested electric energy meter through a carrier or a micropower wireless channel, and if the main control equipment can normally receive return data, indicating that the communication function of the electric energy meter is normal; otherwise, the communication function of the electric energy meter is abnormal.
Preferably, wherein the method further comprises: concentrator local communication module testing and collector or electric energy meter local communication module testing,
the concentrator local communication module test comprises:
the acquisition fault recognition device is inserted into the standard collector communication module firstly and then is inserted into the tested concentrator communication module, and the acquisition fault recognition device tests the to-be-tested concentrator communication module in an internal circuit mutual transmission mode and gives a test result;
the local communication module test of collector or electric energy meter includes:
the acquisition fault recognition device is inserted into the standard concentrator communication module firstly and then is inserted into the tested electric energy meter or collector communication module, and the acquisition fault recognition device tests the electric energy meter or collector communication module to be tested in a mode of mutual transmission of internal circuits and gives a test result.
According to another aspect of the present invention, there is provided a power consumption information collection system field device communication failure detection apparatus, the apparatus including: a concentrator module test area, an ammeter module test area, a SIM card socket and a communication interface,
the concentrator module test area is used for testing the performance of the concentrator communication module according to the test command;
the electric meter module test area is used for testing the performance of the collector and the communication module of the electric energy meter according to the test command;
the SIM card socket is used for inserting an SIM card to be tested and testing the SIM card according to the configured test parameters;
the communication interface is used for data communication transmission with the outside, wherein the communication interface comprises: a strong electric L/N interface, an SMA antenna interface, a serial communication interface and an RS485 communication interface.
Preferably, wherein the apparatus further comprises: bluetooth pilot lamp, SIM card pilot lamp, module test pilot lamp, power indicator, RESET key, power key and bluetooth button.
The invention provides a communication fault detection method and device for field equipment of an electricity consumption information acquisition system, wherein an acquisition operation fault recognition device is convenient to carry, simple and convenient to operate, and capable of effectively checking communication faults of the field equipment, completing SIM card detection function, carrier module detection function, concentrator local communication function test, collector uplink communication function test, electric energy meter carrier or micropower wireless communication function test and the like, thereby effectively improving the success rate of data acquisition and having positive significance for completing construction requirements of national grid company on acquisition of 'full acquisition, full coverage and full cost control'.
Detailed Description
The exemplary embodiments of the present invention will now be described with reference to the accompanying drawings, however, the present invention may be embodied in many different forms and is not limited to the embodiments described herein, which are provided for complete and complete disclosure of the present invention and to fully convey the scope of the present invention to those skilled in the art. The terminology used in the exemplary embodiments illustrated in the accompanying drawings is not intended to be limiting of the invention. In the drawings, the same units/elements are denoted by the same reference numerals.
Unless otherwise defined, terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. Further, it will be understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and will not be interpreted in an idealized or overly formal sense.
FIG. 1 is a flow chart of a method 100 for detecting a communication failure of a field device of a power consumption information collection system according to an embodiment of the present invention. As shown in fig. 1, the method 100 for detecting a communication fault of a field device of an electricity consumption information acquisition system is used for detecting a communication fault of the field device of the electricity consumption information acquisition system, and the field fault detection of the collection operation and maintenance faults is performed by a collection fault recognition device, wherein the collection fault recognition device is composed of a concentrator module test area, an ammeter module test area, an indicator lamp, a button, a SIM card socket and an interface, the concentrator module test area can complete the tests of the concentrator communication modules of the 09 version and the 13 version, and the ammeter module test area can complete the tests of the communication modules of the collector and the single-phase and three-phase electric energy meters. The acquisition fault recognition device receives the instruction of the master control equipment, realizes the functions of SIM card fault detection, carrier module fault detection, micropower wireless module fault detection, communication fault detection of the concentrator, the collector and the electric energy meter complete machine and the like, and completes the communication fault troubleshooting of the field equipment, thereby effectively improving the success rate of data acquisition and having positive significance for completing the construction requirements of national grid companies on acquisition of full acquisition, full coverage and full charge control. Preferably, the method 100 starts at step 101, and in step 101, the collection fault recognition device is connected to a strong power line of the tested concentrator as an electric energy meter, and the local communication function of the concentrator is detected when the master control device receives data returned by the collection fault recognition device.
Preferably, the step of accessing the collection fault recognition device as an electric energy meter into a strong electric line of the measured concentrator, and detecting the local communication function of the concentrator by receiving the data returned by the collection fault recognition device through the main control device includes:
inserting a standard electric energy meter communication module into the acquisition fault recognition device to serve as an electric energy meter to be accessed into a strong electric circuit of the tested concentrator, reading and acquiring data of the acquisition fault recognition device by the main control equipment through the infrared control concentrator through carrier waves, and if the main control equipment can normally receive return data, indicating that the local communication function of the concentrator is normal; otherwise, the local communication function of the concentrator is abnormal. Fig. 2 is a schematic diagram of a test of a local communication function of a concentrator according to an embodiment of the present invention. As shown in fig. 2, in the embodiment of the present invention, the acquisition fault recognition device is first inserted into the standard electric energy meter communication module, the acquisition fault recognition device is simulated as an electric energy meter to be connected into the strong electric circuit of the measured concentrator, the main control device reads the data of the acquisition fault recognition device through the infrared control concentrator through carrier waves, if the main control device can normally receive the return data, it indicates that the local communication function of the concentrator is normal, otherwise, it is abnormal.
The collection fault recognition device can also be used for testing the functions of the concentrator, the collector or the whole electric energy meter. When the function of the whole concentrator is tested, the equipment is used as a collector, and after a collector module is inserted, a date reading message sent by the concentrator is received and processed and returned to the concentrator, and the specific process is as follows: the main control equipment sends a concentrator complete machine function test command to the acquisition fault recognition device, and the acquisition fault recognition device waits for receiving a reading date message after receiving the command; the master control equipment sends a data reading command of the electric energy meter to the concentrator, and the concentrator sends a data reading message; the collector module analyzes 645 messages after receiving the command and sends the messages to the collection fault recognition device for processing; after confirming the table address and the command, the collection fault recognition device returns a response message to the collector module and returns a processing result to the main control equipment; the collector module sends out the message again; the concentrator receives the message sent by the collector, processes the message and returns the reading result to the main control equipment.
When the function of the whole collector is tested, the collection fault recognition device is used as a concentrator to send a date copying message, after the collection fault recognition device receives a returned command, whether the date is correct or not is not judged, the date is returned to the main control equipment, and only whether the received message is correct or not is processed. The collector complete machine function test must use a standard concentrator carrier module. The whole function test realization process of the collector is as follows: the main control equipment sends a whole function test command of the collector to the collection fault recognition device; the collection fault recognition device interactively adds a table file with the concentrator module after receiving the command, and then sends a carrier message of a copying date; after receiving the command, the collector sends 645 messages to the main control equipment through a 485 line; the master control equipment returns a date message after confirming the table address and the command; the collector sends a processing result to the collection fault recognition device after receiving the message returned by the master control device; and the acquisition fault recognition device returns the result to the main control equipment after receiving the return command.
When the whole function test of the electric energy meter is carried out, the collection fault recognition device is used as a concentrator, a date reading message is sent to a collector (carrier meter), after the collection fault recognition device receives a returned command, whether the date is correct or not is not judged, the date is returned to the main control equipment, and only whether the received message is correct or not is processed. The whole function test of the electric energy meter must use a standard concentrator carrier module. The whole function test realization process of the electric energy meter is as follows: the main control equipment sends an electric energy meter complete machine function test command to the acquisition fault recognition device; the collection fault recognition device interactively adds a table file with the concentrator module after receiving the command, and then sends a carrier message of reading date to a collector (carrier table); the collector sends 645 messages to the electric energy meter after receiving the command, and the electric energy meter (the carrier meter directly receives the carrier messages) returns the current meter date after receiving the command; and the acquisition fault recognition device processes after receiving the carrier message and sends a processing result to the main control equipment.
Preferably, in step 102, the collection fault recognition device is connected to the strong power line of the collector to be tested as a concentrator, and the uplink communication function of the collector is detected according to the data condition of the collector to be tested received by the main control device. Preferably, the accessing the collection fault recognition device as a concentrator into a strong power line of a collector to be tested, and detecting the uplink communication function of the collector according to the condition of the data of the collector to be tested received by the main control device includes:
inserting a standard concentrator communication module into the acquisition fault recognition device to serve as a concentrator to be connected into a strong electric circuit of the collector to be tested, controlling the acquisition fault recognition device by the main control equipment through Bluetooth to read data of the collector to be tested through a carrier or micropower wireless channel, and if the main control equipment can normally receive return data, indicating that the uplink communication function of the collector is normal; otherwise, the collector uplink communication function is abnormal.
Fig. 3 is a schematic diagram of an uplink communication function test of a collector according to an embodiment of the present invention. As shown in fig. 3, in the embodiment of the present invention, the acquisition fault recognition device is first inserted into the standard concentrator communication module, the acquisition fault recognition device is simulated as a concentrator and is connected into the strong electric circuit of the collector to be tested, the master control device controls the acquisition fault recognition device to read the data of the collector to be tested through the carrier or the micropower wireless channel by using bluetooth, if the master control device can normally receive the returned data, it indicates that the local communication function of the collector is normal, otherwise, it is abnormal.
Preferably, in step 103, the collection fault recognition device is connected into the strong electric line of the electric energy meter to be tested as a concentrator, and the communication function of the electric energy meter is detected through the condition of the data of the electric energy meter to be tested received by the main control device. Preferably, in will gathering fault recognition device and inserting as the concentrator to the electric energy meter strong electric line that is surveyed, detect electric energy meter communication function through the condition of the electric energy meter data that awaits measuring that master control equipment received, include: inserting a standard concentrator communication module into the acquisition fault recognition device to serve as a concentrator to be connected into a strong electric circuit of the tested electric energy meter, controlling the acquisition fault recognition device by the main control equipment through Bluetooth to read data of the tested electric energy meter through a carrier or a micropower wireless channel, and if the main control equipment can normally receive return data, indicating that the communication function of the electric energy meter is normal; otherwise, the communication function of the electric energy meter is abnormal. Fig. 4 is a schematic diagram of a communication function test of an electric energy meter according to an embodiment of the invention. As shown in fig. 4, in the embodiment of the present invention, the acquisition fault recognition device is first inserted into the standard concentrator communication module, and the acquisition fault recognition device is simulated to be a concentrator and connected into a strong electric line of the measured electric energy meter, the main control device controls the acquisition fault recognition device to read data of the measured electric energy meter through the carrier or the micro-power wireless channel through bluetooth, if the main control device can normally receive the return data, it indicates that the electric energy meter carrier/micro-power wireless communication function is normal, otherwise, it is abnormal. When the electric energy meter carrier module/micropower wireless module is tested, the acquisition fault recognition device is used as a carrier meter, and a concentrator carrier module/micropower wireless module and an electric energy meter carrier module/micropower wireless module are required to be inserted simultaneously during testing. The concentrator carrier module must use a standard concentrator carrier module/micropower radio module. The electric energy meter carrier module/micropower wireless module process is as follows: the main control equipment sends an electric energy meter carrier module/micropower wireless module test command to the acquisition fault recognition device; after receiving the command, the acquisition fault recognition device adds the table file to the concentrator module and then sends a reading date message; when the carrier message is received by the electric energy meter carrier module/micropower wireless module on the collection fault recognition device, the carrier message is sent 645 message to the collection fault recognition device; the collection fault recognition device returns a processing result to the electric energy meter carrier module/micropower wireless module after processing 645 messages; the electric energy meter carrier module/the micropower wireless module sends the result to the concentrator module; the concentrator module returns to the acquisition fault recognition device for processing, and sends the result to the main control equipment after the processing is finished.
The acquisition fault recognition device can complete the test of the integrity of the communication function of the three-phase/single-phase carrier and the micropower wireless communication module. When the concentrator carrier module/micropower wireless module is tested, the acquisition fault recognition device is used as both a concentrator and an acquirer. When only the field concentrator module is inserted, a field collector and the electric energy meter are used for responding to the message; when there is no collector or carrier meter on site, the collector module is inserted, and the collecting fault recognition device is used as the collector to return the reading date to the concentrator module. The test flow of the concentrator carrier module/micropower wireless module is as follows: the main control equipment sends a test command of the concentrator carrier module/the micropower wireless module to the acquisition fault recognition device; after receiving the command, the acquisition fault recognition device inquires whether the table exists or not from the concentrator module, and reads the date of the table when the table exists; when the table does not exist, ending the carrier module test command to prevent modifying the field carrier table file; after receiving the carrier message, the collector sends 645 a message to the electric energy meter; the electric energy meter returns a processing result to the collector after receiving the 645 message; the collector sends the result to the collection fault recognition device; and the acquisition fault recognition device sends the result to the main control equipment after processing.
When the collector carrier module is tested, the collection fault recognition device is used as a collector, and the concentrator carrier module and the collector module need to be inserted simultaneously during testing. The concentrator carrier module must use a standard concentrator carrier module. The collector carrier module test process is as follows: the main control equipment sends a collector carrier module test command to the collection fault recognition device; after receiving the command, the acquisition fault recognition device adds the table file to the concentrator module and then sends a reading date message; when a collector module on the collection fault recognition device receives the carrier message, sending 645 a message to the collection fault recognition device; the collection fault recognition device returns a processing result to the collector module after processing 645 messages; the collector module sends the result to the concentrator module; the concentrator module returns to the acquisition fault recognition device for processing, and sends the result to the main control equipment after the processing is finished.
Preferably, the SIM card to be tested is inserted into the collection fault recognition device in step 104, and the SIM card is tested according to the configured test parameters. Fig. 5 is a schematic diagram of SIM card function detection according to an embodiment of the present invention. As shown in fig. 5, in the embodiment of the present invention, an SIM card in a terminal to be tested is detached and inserted into an acquisition fault recognition apparatus, a master control device sends a test command to the acquisition fault recognition apparatus through bluetooth, the acquisition fault recognition apparatus tests the SIM card according to configured test parameters, during the test, tests are performed on whether the SIM card is physically damaged, whether the SIM card is owed, whether a master station interface normally responds, and the like, and simultaneously records the current location signal strength, a dynamic IP address allocated by an accessed telecommunication server, a SIM card CCID serial number or a phone number, and after the test is completed, the recorded information and the test result are returned to the master control device for the master control device to use in work order circulation.
Preferably, the method further comprises: the testing of the concentrator local communication module and the testing of the collector or the electric energy meter local communication module. Preferably, the concentrator local communication module test includes: the acquisition fault recognition device is inserted into the standard collector communication module firstly and then is inserted into the tested concentrator communication module, and the acquisition fault recognition device tests the to-be-tested concentrator communication module in an internal circuit mutual transmission mode and gives a test result. The local communication module test of collector or electric energy meter includes: the acquisition fault recognition device is inserted into the standard concentrator communication module firstly and then is inserted into the tested electric energy meter or collector communication module, and the acquisition fault recognition device tests the electric energy meter or collector communication module to be tested in a mode of mutual transmission of internal circuits and gives a test result.
Fig. 6 is a schematic structural diagram of a field device communication fault detection apparatus 600 of a power consumption information collection system according to an embodiment of the present invention. As shown in fig. 6, the apparatus 600 includes: concentrator module test area 601, meter module test area 602, SIM card socket 603, and communication interface 604.
Preferably, the concentrator module test area 601 is configured to test the performance of the concentrator communication module according to the test command.
Preferably, the electric meter module test area 602 is used for testing the performance of the collector and the communication module of the electric energy meter according to the test command.
Preferably, the SIM card socket 603 is configured to insert a SIM card to be tested, and test the SIM card according to configured test parameters.
Preferably, the communication interface 604 is configured to perform data communication transmission with the outside, where the communication interface includes: a strong electric L/N interface, an SMA antenna interface, a serial communication interface and an RS485 communication interface. Preferably, wherein the apparatus further comprises: bluetooth pilot lamp, SIM card pilot lamp, module test pilot lamp, power indicator, RESET key, power key and bluetooth button.
Fig. 7 is a schematic diagram of a device for detecting communication faults of field devices of a power consumption information acquisition system according to an embodiment of the invention. As shown in fig. 7, the hardware of the collection fault recognition device is composed of a concentrator module test area, an electricity meter module test area, an indicator light, a button, a SIM card socket and an interface. The concentrator module test area can complete the tests of the concentrator communication modules of the 09 edition and the 13 edition, and the ammeter module test area can complete the tests of the collectors and the communication modules of the single-phase and three-phase electric energy meters. The SIM card socket is used for testing the SIM card, and comprises whether the SIM card is physically damaged or not, whether the SIM card is arrearage or not, whether a main station interface normally responds or not and the like, and the SIM card socket adopts a self-ejection card socket. The Bluetooth indicating lamp is used for indicating whether the Bluetooth function is turned on or not, and the bright blue represents that the Bluetooth is turned on; the SIM card indicating lamp is used for indicating whether the SIM card functions normally or not, the bright green indicates normal, and the red indicates fault; the module test indicator light indicates whether the function of the tested module is normal, the bright green indicates normal, and the red indicates fault; the power indicator is used for judging whether the power is on or not, the bright green indicates that the power is on, and the red indicates that the power is off. The power key is used for opening the module power, adopts the ship type button, and the bluetooth button is used for opening the bluetooth function, and the RESET key is used for equipment to RESET. The collection fault recognition device is provided with four interfaces, a strong current L/N interface meets the requirements of C7 and C8 in IEC 60320-1 standard and is used for being connected with a strong current port, the end of the collection fault recognition device is C8, and the terminal is C7; the SMA antenna interface adopts an internal hollow external thread SMA female head; the serial communication port adopts a terminal mode, is convenient for current clamp connection and adopts an RS485 communication mode; the charging port is in a Micro USB form, a standard interface definition mode is adopted, and the +5V/GND pin is used for charging.
The device 600 for detecting a communication fault of a field device of a power consumption information acquisition system according to an embodiment of the present invention corresponds to the method 100 for detecting a communication fault of a field device of a power consumption information acquisition system according to another embodiment of the present invention, and is not described herein again.
The invention has been described with reference to a few embodiments. However, other embodiments of the invention than the one disclosed above are equally possible within the scope of the invention, as would be apparent to a person skilled in the art from the appended patent claims.
Generally, all terms used in the claims are to be interpreted according to their ordinary meaning in the technical field, unless explicitly defined otherwise herein. All references to "a/an/the [ device, component, etc ]" are to be interpreted openly as referring to at least one instance of said device, component, etc., unless explicitly stated otherwise. The steps of any method disclosed herein do not have to be performed in the exact order disclosed, unless explicitly stated.