CN117592963A - Power line sequence analysis method, system and medium - Google Patents

Power line sequence analysis method, system and medium Download PDF

Info

Publication number
CN117592963A
CN117592963A CN202311431718.1A CN202311431718A CN117592963A CN 117592963 A CN117592963 A CN 117592963A CN 202311431718 A CN202311431718 A CN 202311431718A CN 117592963 A CN117592963 A CN 117592963A
Authority
CN
China
Prior art keywords
power line
data
analysis
carrier
carrier data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311431718.1A
Other languages
Chinese (zh)
Inventor
陈聪
董生怀
李建新
张建军
杨光辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Wonder Electrical Power Co Ltd
Original Assignee
Zhengzhou Wonder Electrical Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Wonder Electrical Power Co Ltd filed Critical Zhengzhou Wonder Electrical Power Co Ltd
Priority to CN202311431718.1A priority Critical patent/CN117592963A/en
Publication of CN117592963A publication Critical patent/CN117592963A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J13/00Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
    • H02J13/00006Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by information or instructions transport means between the monitoring, controlling or managing units and monitored, controlled or operated power network element or electrical equipment
    • H02J13/00007Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by information or instructions transport means between the monitoring, controlling or managing units and monitored, controlled or operated power network element or electrical equipment using the power network as support for the transmission
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/50Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections
    • G01R31/52Testing for short-circuits, leakage current or ground faults
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/50Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections
    • G01R31/58Testing of lines, cables or conductors
    • G01R31/60Identification of wires in a multicore cable
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/16Matrix or vector computation, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0633Workflow analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/20Administration of product repair or maintenance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Marketing (AREA)
  • Mathematical Physics (AREA)
  • Tourism & Hospitality (AREA)
  • Quality & Reliability (AREA)
  • Computational Mathematics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Operations Research (AREA)
  • Data Mining & Analysis (AREA)
  • Health & Medical Sciences (AREA)
  • Mathematical Optimization (AREA)
  • Mathematical Analysis (AREA)
  • Educational Administration (AREA)
  • Primary Health Care (AREA)
  • General Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Water Supply & Treatment (AREA)
  • Public Health (AREA)
  • Game Theory and Decision Science (AREA)
  • Development Economics (AREA)
  • Algebra (AREA)
  • Power Engineering (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)

Abstract

The invention provides a power line sequence analysis method, which is applied to an analysis slave machine, wherein the analysis slave machine corresponds to an analysis host machine, respectively operates at two ends of a group of power lines and is respectively connected with the group of power lines, and comprises the following steps: after receiving the carrier data sent by the analysis host, arranging the carrier data according to a receiving sequence to form a data matrix; the data matrix comprises N x M elements, wherein N is the number of abnormal wiring conditions at the host side, M is the number of power lines of the group of power lines, and the carrier data comprises at least one power line number; after the carrier data is received, searching a data matrix by using a breadth-first algorithm to calculate the wiring state of the power line, and sending the wiring state to an analysis host; and finishing single analysis, and waiting for obtaining new power line numbers. The invention also provides a power line sequence analysis device, a system and a medium.

Description

Power line sequence analysis method, system and medium
Technical Field
The invention relates to a line sequence analysis method, in particular to a power line sequence analysis method, a system and a medium.
Background
In electrical engineering, the correct line sequence can ensure the normal operation of electrical equipment, and meanwhile, the electrical accident caused by line errors can be avoided. Line sequence testing is a very important electrical test method that can help engineers ensure that the lines in the circuit are properly connected. The accuracy and stability of the line sequence detection is critical to the operation of the electrical equipment.
In practical application, the power line sequence detection is involved in the scenes of multi-core cable production, electric professional education, teaching and practical training, operation site wiring and the like. The power line sequence detection that uses often detects for the manual work, when the condition such as the sinle silk quantity is more, the power line distance is overlength, the intermediate element is complicated in connection, operating personnel skill level is lower appears, and analysis investigation consuming time and consuming time, inefficiency, and analysis result is very easily makeed mistakes, leads to personnel and property damage to appear after the circular telegram.
In order to ensure the accuracy and stability of line sequence detection, engineers use the following methods: (1) a high-precision line sequence detection device is adopted: the high-precision line sequence detection equipment can provide more accurate and stable test results, so that inaccurate test results caused by errors of the test equipment are avoided. (2) performing careful test planning and operation: engineers need to make detailed test plans, including test time, place, test item, etc., when performing line-sequential testing. Careful and strict handling is required during operation to avoid handling errors. (3) performing periodic maintenance and overhaul: the line sequence detection equipment needs to be frequently maintained and overhauled so as to ensure the normal operation and the accuracy and stability of the test result.
However, the existing line sequence detection equipment has the problems of single use scene, complex use condition, complex parameter setting, incapability of analyzing composite faults, requirement of manual assistance and the like, and can not automatically complete analysis of line sequences by one key at all, so that the requirement of directly checking results by personnel.
In order to solve the above problems, an ideal technical solution is always sought.
Disclosure of Invention
The invention aims at overcoming the defects of the prior art, and provides a power line sequence analysis method, a system and a medium.
In order to achieve the above purpose, the technical scheme adopted by the invention is as follows: the utility model provides a power line sequence analysis method, is applied to the analysis slave machine, the analysis slave machine corresponds with the analysis host machine, operates respectively in a set of power line both ends, and is connected with this set of power line respectively, includes:
acquiring the number of power lines of the group of power lines;
after receiving the carrier data sent by the analysis host, arranging the carrier data according to a receiving sequence to form a data matrix; the data matrix comprises N x M elements, wherein N is the number of abnormal wiring conditions at the host side, M is the number of power lines of the group of power lines, and the carrier data comprises at least one power line number;
after the carrier data is received, searching a data matrix by using a breadth-first algorithm to calculate the wiring state of the power line, and sending the wiring state to an analysis host;
and finishing single analysis, and waiting for obtaining new power line numbers.
In specific implementation, the step of searching the data matrix by using the breadth-first algorithm to calculate the wiring state of the power line is as follows:
performing a lateral search and a longitudinal search on each element using a breadth-first search model starting from the first element of the data matrix:
if the transverse search finds that other non-zero elements exist, marking the power line numbers corresponding to the elements and all the non-zero elements as a short circuit at the host side;
if the longitudinal search finds the element identical to the element, marking the element and the power line numbers corresponding to all the elements identical to the element as a slave side short circuit;
if the element which is the same as the element is not found in the longitudinal search, marking the power line label information corresponding to the element as normal wiring;
after the transverse search and the longitudinal search of all elements of the data matrix are completed, judging whether a power line number does not exist, if not, judging that the power line number is disconnected, and marking the power line number as disconnected.
Preferably, when monitoring carrier data, it is further required to determine whether the carrier data is received completely, and if not, trigger a communication timeout mechanism, where timeout time= (M-i) ×t, i is the number of carrier data already recorded, and t is 1/transmission baud rate.
Preferably, the carrier data is generated and sent by an analysis host; the carrier data generation steps are as follows:
acquiring the number of power lines to be analyzed, and sequentially distributing a number for each power line from 1;
after receiving an analysis start instruction, detecting whether a short circuit condition exists in a power line of an analysis host side in a mode of sequentially sending self-checking signals, if the short circuit condition exists, attaching short circuit line number data to the power line number data to form carrier data, and sending the carrier data to the analysis slave through power line carrier communication; and if the short circuit condition does not exist, the power line number data is used as carrier data and is sent to the analysis slave machine through power line carrier communication.
By detecting the short circuit condition of the power cable of the analysis host side, the problem of data disorder caused by the short circuit condition of the analysis host side can be prevented.
Further, in order to avoid the situation that the analysis result is inconsistent with the actual cable situation, after the number of the power lines is obtained, whether the number of the power lines is larger than the threshold value of the number of the power lines is further judged, if so, the new number of the power lines is obtained again, and if not, the subsequent operation is carried out.
Correspondingly, the invention also provides a power line sequence analysis device, which comprises:
the mode switching module is used for controlling the master control module to switch between a master mode and a slave mode;
the main control module is used for controlling the number distribution module, the self-checking module and the carrier data forming module to work in a host mode and controlling the hardware carrier module to work in the host mode; when in the slave mode, the data receiving module, the data matrix constructing module and the resolving module are controlled to work, and the hardware carrier module is controlled to work in the slave mode;
the number distribution module is used for obtaining the number of the power lines to be analyzed and distributing a number for each power line;
the data matrix construction module is used for acquiring the number of the power lines of the group of power lines and constructing a data matrix according to the number of the power lines;
the self-checking module is used for detecting whether a short circuit condition exists in the power line of the analysis host side or not in a mode of sequentially sending self-checking signals;
the carrier data composing module is used for attaching the shorting line number data to the power line number data to compose carrier data when the shorting condition exists, and composing the power line number data to the carrier data when the shorting condition does not exist;
the hardware carrier module is used for sending out carrier data in a power line carrier mode and receiving the wiring state of a power line in a host mode; or in the slave mode, receiving carrier data through a power line carrier mode and transmitting a power line wiring state;
the data receiving module is used for recording the carrier data into the data matrix after receiving the carrier data;
and the resolving module is used for searching the data matrix by using the breadth-first algorithm to resolve the wiring state of the power line after the carrier data is received.
Furthermore, the invention also provides a power line sequence analysis system, which comprises an analysis host computer and an analysis slave computer;
the analysis host is a power line sequence analysis device working in an analysis host mode;
the analysis slave is a power line sequence analysis device working in an analysis slave mode;
the power line sequence analysis device is the power line sequence analysis device.
The present invention also provides an electronic device including:
at least one computing unit;
at least one memory coupled to the at least one computing unit and storing instructions for execution by the at least one computing unit, which when executed by the at least one computing unit, cause the apparatus to perform the steps of the aforementioned power line sequence parsing method.
The present invention also provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the aforementioned power line sequence analysis method.
Compared with the prior art, the invention has outstanding substantive characteristics and remarkable progress, and particularly, the invention can automatically analyze the conditions of correct wiring, mutual short circuit of the power lines, disconnection in the middle of the power lines, mutual misconnection of the power lines, short circuit and misconnection of the power lines, and both short circuit and disconnection of the power lines which can occur according to the preset number of the power lines by only setting the number of the power lines, and intuitively display the analysis result with a screen and a communication port, thereby having convenient use process, greatly improving the efficiency of line sequence investigation and reducing the burden of detection personnel; and can analyze out complicated trouble, discernment is accurate, has satisfied the automatic line sequence of accomplishing of a key, personnel directly look over the demand of result.
Drawings
Fig. 1 is a schematic diagram of a workflow of a power line sequence analysis method according to the present invention.
Fig. 2 is a flow chart of the invention for parsing host generated carrier data.
Fig. 3 is one embodiment of 10 power lines in a three-phase four-wire low voltage metering cabinet.
Fig. 4 is a schematic block diagram of the power line sequence analyzing apparatus of the present invention.
Detailed Description
The technical scheme of the invention is further described in detail through the following specific embodiments.
Example 1
The embodiment provides a power line sequence analysis method, as shown in fig. 1, applied to an analysis slave, where the analysis slave corresponds to an analysis master, respectively operates at two ends of a group of power lines, and is respectively connected with the group of power lines, and includes:
step 1, obtaining the number M of the power lines of the group of power lines.
In the specific implementation, the number of the power lines can be preset and analyzed through program solidification, a keyboard or a communication mode, then whether the number of the power lines is larger than a power line number threshold value is judged, and if not, the step 2 is carried out; otherwise, the new number of power lines is re-acquired, so that the situation that the number is not necessarily misjudged as a broken line is prevented, the consistency of an output result and an analysis power line is ensured, for example, only 10 power lines can be connected between an actual analysis host computer and an analysis slave computer, the number of the analysis power lines is preset to be 11 through program solidification, a keyboard or a communication mode, even if the 10 power lines work normally, the content corresponding to one power line in a data matrix filled according to received carrier data is 0, and the misjudgment as the broken line is caused.
Step 2, after receiving the carrier data sent by the analysis host, arranging the carrier data according to a receiving sequence to form an N.times.M data matrix; the carrier data comprises N data, wherein at least one data is a power line number, and N is the maximum abnormal short circuit number of the host side.
In specific implementation, the carrier data is generated and sent by an analysis host; as shown in fig. 2, the carrier data generation steps are as follows:
the number of power lines to be analyzed is obtained, and each power line is sequentially allocated with a number from 1.
Similarly, in the implementation, the number of the power lines can be preset and analyzed through program solidification, a keyboard or a communication mode, then whether the number of the power lines is larger than a power line number threshold value is judged, and if not, a number is further allocated to each power line.
After receiving an analysis start instruction, detecting whether a short circuit condition exists in a power line of an analysis host side by sequentially sending a self-checking signal mode, and if the short circuit condition exists, for example, 2 and 3 short circuits exist, namely, the maximum abnormal short circuit quantity of the host side is 2, generating carrier data comprising 2 elements, specifically, attaching the number data of the short circuit wire to the number data of the power line to form the carrier data; if the short circuit condition does not exist, carrier data comprising 2 elements is generated, and at the moment, the carrier data oil power line number data and 0 are formed. And then, according to the power line number sequence, sending the carrier data corresponding to different power lines to the analysis slave machine through a power line carrier communication mode.
The problem of data disorder caused by the short circuit condition of the analysis host side can be prevented by detecting whether the short circuit condition exists in the power cable of the analysis host side; in addition, the analysis host inserts the power line number which is short-circuited with the analysis host into carrier data and sends the carrier data to the analysis slave, so that the problem that the analysis slave cannot analyze the short-circuited condition of the analysis host side can be solved.
Specifically, the data matrix includes n×m elements, where N is the number of abnormal connection conditions on the host side, and M is the number of power lines of the set of power lines. But because the carrier data is either a power line number or a power line number and corresponding shorting line number data. Therefore, after the carrier data sent by the analysis host is received, the analysis slave places the received carrier data according to the receiving sequence, and fills the carrier data with empty elements after the data is received, so as to form a data matrix comprising N x M elements. Reference is made in particular to the following table.
Assuming that the number of power lines to be analyzed is 6, if the line number 4 and the line number 5 of the host side are short-circuited, the carrier data sequentially sent by the host side are: (1, 0), (2, 0), (3, 0), (4, 5), (5, 4), (6, 0); wherein, (1, 0) is carrier data transmitted through the power line 1, (2, 0) is carrier data transmitted through the power line 2, (3, 0) is carrier data transmitted through the power line 3, (4, 5) is carrier data transmitted through the power line 4, (5, 4) is carrier data transmitted through the power line 5, and (6, 0) is carrier data transmitted through the power line 6.
The carrier data sequentially received from the machine side are (1, 0), (2, 0), (3, 0), (4, 5), (5, 4), (6, 0); wherein, (1, 0) is carrier data received through the power line 1, (2, 0) is carrier data received through the power line 2, (3, 0) is carrier data received through the power line 3, (4, 5) is first carrier data received through the power line 4, and (6, 0) is carrier data received through the power line 6.
It should be noted that, because the short circuit condition occurs on the incoming line side of the power line 4 and the power line 5, the incoming line side and the outgoing line side of the power line 5 are disconnected, and the outgoing line side of the power line 5 cannot receive carrier data;
therefore, when monitoring the carrier data, if any power line does not receive the carrier data within a period of time, whether the carrier data is received is required to be judged, specifically, whether the carrier data is received is judged according to whether the recorded carrier data is equal to the number M of the power lines, if the recorded carrier data is equal to the number M of the power lines, the carrier data is judged to be received, and if the recorded carrier data is not equal to the number M of the power lines, the carrier data is judged to be received;
when the carrier data is not received completely, triggering a communication timeout mechanism, wherein the maximum timeout time= (M-i) t, i is the number of the recorded carrier data, t is 1/transmission baud rate, and when the timeout time exceeds (M-i) t, the carrier data is not received yet, and the reception is judged completely, the monitoring of the carrier data is stopped, and 0 is used for supplementing, so that a data matrix of N x M elements is formed.
The resulting data matrix comprises 2*6 elements in the following specific form:
1 0
2 0
3 0
4 5
6 0
0 0
after the carrier data is received, searching a data matrix by using a breadth-first algorithm to calculate the wiring state of the power line, and sending the wiring state to an analysis host; and finishing the single analysis, and waiting for acquiring the number of new power lines to be analyzed.
Specifically, the step of searching the data matrix by using the breadth-first algorithm to calculate the wiring state of the power line is as follows:
performing a lateral search and a longitudinal search on each element using a breadth-first search model starting from the first element of the data matrix:
if the transverse search finds that other non-zero elements exist, marking the power line numbers corresponding to the elements and all the non-zero elements as a short circuit at the host side;
if the longitudinal search finds the element identical to the element, marking the element and the power line numbers corresponding to all the elements identical to the element as a slave side short circuit;
if the element which is the same as the element is not found in the longitudinal search, marking the power line label information corresponding to the element as normal wiring;
after the transverse search and the longitudinal search of all elements of the data matrix are completed, judging whether a power line number does not exist, if not, judging that the power line number is disconnected, and marking the power line number as disconnected.
Further, when the elements are searched transversely and longitudinally, the marked power line numbers are skipped and no search is performed any more; therefore, the resource expense of the processor can be effectively saved, the searching speed and efficiency are improved, and even on low-power-consumption processors such as a singlechip and the like, the line sequence result can be rapidly obtained, so that the searching efficiency is greatly improved; the method is more obvious especially when the number of the power lines is large and meanwhile, the fault connection, the disconnection and the short circuit exist, so that the time for operators to wait for results is effectively shortened, and the working efficiency is improved.
Furthermore, after the analysis slave machine calculates the wiring state of the power line, the analysis result can be visually displayed by using a mode of upper computer communication or screen display according to the field condition, so that the efficiency and the accuracy of the analysis process are improved.
Meanwhile, after the analysis slave machine calculates the wiring state of the power line, the calculated wiring state of the power line can be sent to the analysis host machine through a carrier signal, so that the analysis host machine synchronously displays the result, the analysis result is confirmed for the second time through a program, and the testing personnel at the two ends of the master and slave can conveniently check the wiring situation in time under the remote test.
Example 2
This embodiment gives a specific example.
In this embodiment, a wiring process inspection is performed on 10 power lines in the three-phase four-wire low-voltage metering cabinet, wherein the power line 2 and the power line 3 have a short circuit condition on the wire inlet side, and meanwhile, the wire inlet and the wire outlet of the power line 3 are disconnected, the wire inlet and the wire outlet of the power line 6 are disconnected, the power line 9 and the power line 10 are short-circuited on the wire outlet side, and meanwhile, the wire inlet and the wire outlet of the power line 9 are disconnected, as shown in fig. 3.
And (3) leading the analytic host to be connected with the measuring point, leading the analytic slave to be connected with the measuring point, and clicking to start detection after the number of the input measuring lines M=10, wherein the specific detection process is as follows:
the analysis host firstly judges that the short circuit condition exists on the analysis host side, namely the incoming line side, through self-checking, the short circuit power lines are 2 and 3, the information is recorded in an abnormal condition buffer zone, the data length n=2, and the number of abnormal wires is the number of abnormal wires;
after the analysis host side checks, carrier data is transmitted sequentially from the power line 1 through the power line carrier.
In a first preset period, the carrier data transmitted by the power line 1 is (1, 0); after the slave receives the carrier data (1, 0) transmitted by the power line 1, the carrier data (1, 0) is arranged in the first row.
In the second preset period, the carrier data sent by the power line 2 is (2, 3), and after the slave receives the carrier data (2, 3) sent by the power line 2, the carrier data (2, 3) are arranged in the second row.
In the third preset period, the carrier data sent by the power line 3 is (3, 2), and the analysis slave machine does not receive the received carrier data (3, 2) through the power line 3 because the incoming line and the outgoing line of the power line 3 are disconnected, a timeout mechanism is started, when the disconnection timeout time is less than (10-2) t, the carrier data received by the power line 3 is continuously recorded, and when the timeout time is greater than (10-2) t, the recording of the carrier data received by the power line 3 is stopped.
In a fourth preset period, the carrier data transmitted by the power line 4 is (4, 0); after the slave receives the carrier data (4, 0) transmitted by the power line 4, the carrier data (4, 0) is arranged in the third row.
In the fifth preset period, the carrier data sent by the power line 5 is (5, 0), and after the slave receives the carrier data (5, 0) sent by the power line 5, the carrier data (5, 0) is arranged in the fourth row.
In the sixth preset period, the carrier data sent by the power line 6 is (6, 0), and the analysis slave does not receive the carrier data (5, 0) sent by the power line 6 because the power line 6 is broken, and also starts a start timeout mechanism, when the break timeout time is less than (10-4) x t, the carrier data received by the power line 6 is continuously recorded, and when the timeout time is greater than (10-4) x t, the recording of the carrier data received by the power line 6 is stopped.
In the seventh preset period, the carrier data transmitted by the power line 7 is (7, 0); after the slave receives the carrier data (7, 0) transmitted by the power line 7, the carrier data (7, 0) is arranged in the fifth row.
In the eighth preset period, the carrier data transmitted by the power line 8 is (8, 0), and after the slave receives the carrier data (8, 0) transmitted by the power line 8, the carrier data (8, 0) is arranged in the sixth row.
In the ninth preset period, the carrier data sent by the power line 9 is (9, 0), and because the power line 9 and the power line 10 are short-circuited at the outgoing line side, the incoming line and the outgoing line of the power line 9 are disconnected, so that the analysis slave also starts a timeout mechanism, when the disconnection timeout time is less than (10-6) x t, the carrier data received by the power line 9 is continuously recorded, and when the timeout time is greater than (10-6) x t, the recording of the carrier data received by the power line 9 is stopped.
In the tenth preset period, the carrier data sent by the power line 10 is (10, 0), after the slave receives the carrier data (10, 0) sent by the power line 10, the carrier data (10, 0) is arranged in the seventh row, meanwhile, the power line 9 and the power line 10 are short-circuited on the outgoing line side, so that the outgoing line end of the power line 9 also receives the carrier data (10, 0), the disconnection timeout time is less than (10-6) t, the carrier data received by the power line 9 is recorded, the carrier data (8, 0) is arranged in the eighth row, and the recording of the carrier data received by the power line 9 is stopped.
After all timeout mechanisms are completed, only 8 carrier data are found to be received, and 0 is used for supplementing, and finally a data matrix of 2×10 is formed, as shown in the following table.
1 0
2 3
4 0
5 0
7 0
8 0
10 0
10 0
0 0
0 0
After the data matrix is obtained, the analysis slave machine starts to analyze the wiring condition.
Specifically, the analysis slave machine starts to execute breadth search from the first element of the first row of the data matrix, specifically including transverse search and longitudinal search, and the search results are as follows: if the transverse search does not find that other non-zero elements exist, and the longitudinal search does not find the elements identical to the elements, marking the power line reference numeral 1 corresponding to the elements as normal wiring;
performing breadth search on the first element of the second row, wherein the search result is as follows: the transverse search finds that other non-zero elements 3 except 2 are unexpected, the longitudinal search does not find the elements identical to the elements, and then the situation that the power lines 2 and 3 are short-circuited on the analysis host side is judged, and the power line labels 2 and 3 are marked as the short circuit on the host side;
performing breadth search on the first element of the third line, wherein the search result is as follows: if the transverse search does not find that other non-zero elements exist, and the longitudinal search does not find the elements identical to the elements, marking the power line label 4 corresponding to the elements as normal wiring;
performing breadth search on the first element of the fourth line, wherein the search result is as follows: if the transverse search does not find that other non-zero elements exist, and the longitudinal search does not find the elements identical to the elements, marking the power line label 5 corresponding to the elements as normal wiring;
performing breadth search on the first element of the fifth line, wherein the search result is as follows: if the transverse search does not find that other non-zero elements exist, and the longitudinal search does not find the elements identical to the elements, marking the power line reference numeral 7 corresponding to the elements as normal wiring;
performing breadth search on the first element of the sixth row, wherein the search result is as follows: if the transverse search does not find that other non-zero elements exist, and the longitudinal search does not find the elements identical to the elements, marking the power line label 8 corresponding to the elements as normal wiring;
performing breadth search on the first element of the seventh row, wherein the search result is: the transverse search does not find that other non-zero elements exist, the longitudinal search finds that the same element as the element exists in the eighth row, and the power line number corresponding to the element is 10, and since the seventh row element and the eighth row element are data received by the power line received by the slave side in the 10 th preset period, the power line 9 and the power line 10 are not judged to be in a misconnection condition, specifically the power line 10 is normal, the power line 9 is shorted with the power line 10 at the slave side, and the power lines 9 and 10 are marked as being shorted at the slave side.
After the search is completed, the power line 6 is marked as open if the power line number 6 is found to be absent.
After the search is finished, the wiring condition is sent back to the analysis host computer through the power line, so that a person can conveniently check the analysis result through the analysis host computer and the analysis slave computer display screen.
It can be seen that, since the slave side in the present application orders the carrier data according to the receiving order, and the power line state is determined according to the number in the carrier data in the later stage, it is possible to avoid the influence of the confusion of the power line arrangement of the slave side and the slave side.
Taking the wiring process inspection of 10 power lines in the three-phase four-wire low-voltage metering cabinet as an example, wherein the power line 7 of the host side is correspondingly connected with the 8 th port of the slave side, and the power line 8 of the host side is correspondingly connected with the 7 th port of the slave side; since the transmission sequence of the host side is from the power line 1 to the power line 10, when the slave side monitors that the 8 th port receives data in the seventh preset period, it can be determined that the eighth port of the slave side is correspondingly connected with the power line 7 of the host side; when the slave side monitors that the seventh port receives data in the eighth preset period, it can be determined that the power line 8 of the master side is correspondingly connected to the seventh port of the slave side.
So that even if the arrangement of the power lines 7 and 8 on the master side and the power lines 7 and 8 on the slave side is disordered, the implementation of the present application is not affected.
Example 3
The present embodiment provides a power line sequence analysis device, as shown in fig. 4, including:
the mode switching module is used for controlling the master control module to switch between a master mode and a slave mode;
the main control module is used for controlling the number distribution module, the self-checking module and the carrier data forming module to work in a host mode and controlling the hardware carrier module to work in the host mode; when in the slave mode, the data receiving module, the data matrix constructing module and the resolving module are controlled to work, and the hardware carrier module is controlled to work in the slave mode;
the number distribution module is used for obtaining the number of the power lines to be analyzed and distributing a number for each power line;
the data matrix construction module is used for acquiring the number of the power lines of the group of power lines and constructing a data matrix according to the number of the power lines;
the self-checking module is used for detecting whether a short circuit condition exists in the power line of the analysis host side or not in a mode of sequentially sending self-checking signals;
the carrier data composing module is used for attaching the shorting line number data to the power line number data to compose carrier data when the shorting condition exists, and composing the power line number data to the carrier data when the shorting condition does not exist;
the hardware carrier module is used for sending out carrier data in a power line carrier mode and receiving the wiring state of a power line in a host mode; or in the slave mode, receiving carrier data through a power line carrier mode and transmitting a power line wiring state;
the data receiving module is used for recording the carrier data into the data matrix after receiving the carrier data;
and the resolving module is used for searching the data matrix by using the breadth-first algorithm to resolve the wiring state of the power line after the carrier data is received.
When the power line sequence analysis device works in a host mode, the power line sequence analysis device controls the number distribution module, the self-checking module and the carrier data composition module to work and controls the hardware carrier module to work in the host mode. At this time, the workflow of the power line sequence analysis device is as follows: and acquiring the number of the power lines to be analyzed, and sequentially distributing a number for each power line from 1 through the number distribution module. And after receiving the analysis start instruction, controlling the self-built module to detect whether the short circuit condition exists in the power line of the analysis host side in a mode of sequentially sending self-checking signals, and if the short circuit condition exists, for example, 2 and 3 short circuits exist, namely, the maximum abnormal short circuit quantity of the host side is 2. At this time, the carrier data composing module is controlled to generate carrier data comprising 2 elements, specifically, the shorting line number data is added to the power line number data to compose carrier data, and the carrier data is sent to the analysis slave through power line carrier communication; if the short circuit condition does not exist, carrier data comprising 2 elements is generated, and at the moment, the carrier data oil power line number data and 0 are formed. And then the carrier data is sent to other power line sequence analysis devices working in the slave mode through the hardware carrier module.
When the power line sequence analysis device works in the slave mode, the data receiving module, the data matrix construction module and the resolving module are controlled to work, and the hardware carrier module is controlled to work in the slave mode. At this time, the workflow of the power line sequence analysis device is as follows: acquiring the power line number M of the group of power lines through the data matrix construction module; receiving carrier data sent by other power line sequence analysis devices working in a slave mode through the hardware carrier module; after receiving carrier data sent by the analysis host through a power line i, sending the carrier data to a data matrix construction module to construct an N.times.M data matrix; after the carrier data is received, controlling the resolving module to use a breadth first algorithm to search a data matrix to resolve the wiring state of the power line; and sending the settlement result to the analysis host computer through the hardware carrier module.
Example 4
The embodiment provides a power line sequence analysis system, which comprises an analysis host computer and an analysis slave computer;
the analysis host is a power line sequence analysis device working in an analysis host mode;
the analysis slave is a power line sequence analysis device working in an analysis slave mode;
the power line sequence analysis device is the power line sequence analysis device.
Example 5
The present invention also provides an electronic device including:
at least one computing unit;
at least one memory coupled to the at least one computing unit and storing instructions for execution by the at least one computing unit, which when executed by the at least one computing unit, cause the apparatus to perform the steps of the power line sequence parsing method of embodiment 1.
Example 6
The present invention also provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the power line sequence analysis method described in embodiment 1.
Finally, it should be noted that the above-mentioned embodiments are only for illustrating the technical scheme of the present invention and are not limiting; while the invention has been described in detail with reference to the preferred embodiments, those skilled in the art will appreciate that: modifications may be made to the specific embodiments of the present invention or equivalents may be substituted for part of the technical features thereof; without departing from the spirit of the invention, it is intended to cover the scope of the invention as claimed.

Claims (10)

1. The utility model provides a power line sequence analysis method, is applied to the analysis slave machine, the analysis slave machine corresponds with the analysis host computer, operates respectively in a set of power line both ends, and is connected with this set of power line respectively, its characterized in that includes:
acquiring the number of power lines of the group of power lines;
after receiving the carrier data sent by the analysis host, arranging the carrier data according to a receiving sequence to form a data matrix; the data matrix comprises N x M elements, wherein N is the number of abnormal wiring conditions at the host side, M is the number of power lines of the group of power lines, and the carrier data comprises at least one power line number;
after the carrier data is received, searching a data matrix by using a breadth-first algorithm to calculate the wiring state of the power line, and sending the wiring state to an analysis host;
and finishing single analysis, and waiting for obtaining new power line numbers.
2. The power line sequence analysis method according to claim 1, wherein the step of searching the data matrix using the breadth-first algorithm to calculate the power line connection state comprises:
performing a lateral search and a longitudinal search on each element using a breadth-first search model starting from the first element of the data matrix:
if the transverse search finds that other non-zero elements exist, marking the power line numbers corresponding to the elements and all the non-zero elements as a short circuit at the host side;
if the longitudinal search finds the element identical to the element, marking the element and the power line numbers corresponding to all the elements identical to the element as a slave side short circuit;
if the element which is the same as the element is not found in the longitudinal search, marking the power line label information corresponding to the element as normal wiring;
after the transverse search and the longitudinal search of all elements of the data matrix are completed, judging whether a power line number does not exist, if not, judging that the power line number is disconnected, and marking the power line number as disconnected.
3. The method for power line sequence analysis according to claim 2, wherein,
when the elements are searched horizontally and longitudinally, the marked power line numbers are not searched any more.
4. The method according to claim 1 or 2, wherein when monitoring carrier data, it is further required to determine whether the carrier data is received completely, and if not, a communication timeout mechanism is triggered, where timeout time= (M-i) ×t, i is the number of carrier data already recorded, and t is 1/transmission baud rate.
5. The power line sequence analysis method according to claim 1, wherein the carrier data is generated and transmitted by an analysis host; the carrier data generation steps are as follows:
acquiring the number M of the power lines to be analyzed, and sequentially distributing a number for each power line from 1;
after receiving an analysis start instruction, detecting whether a short circuit condition exists in a power line of an analysis host side in a mode of sequentially sending self-checking signals, if the short circuit condition exists, attaching short circuit line number data to the power line number data to form carrier data, and sending the carrier data to the analysis slave through power line carrier communication; and if the short circuit condition does not exist, the power line number data is used as carrier data and is sent to the analysis slave machine through power line carrier communication.
6. The power line sequence analysis method according to claim 1 or 2, characterized in that: after the power line number is acquired, whether the power line number is larger than a power line number threshold value is also judged, and if so, a new power line number is acquired again.
7. A power line sequence analysis device, comprising:
the mode switching module is used for controlling the master control module to switch between a master mode and a slave mode;
the main control module is used for controlling the number distribution module, the self-checking module and the carrier data forming module to work in a host mode and controlling the hardware carrier module to work in the host mode; when in the slave mode, the data receiving module, the data matrix constructing module and the resolving module are controlled to work, and the hardware carrier module is controlled to work in the slave mode;
the number distribution module is used for obtaining the number of the power lines to be analyzed and distributing a number for each power line;
the data matrix construction module is used for acquiring the number of the power lines of the group of power lines and constructing a data matrix according to the number of the power lines;
the self-checking module is used for detecting whether a short circuit condition exists in the power line of the analysis host side or not in a mode of sequentially sending self-checking signals;
the carrier data composing module is used for attaching the shorting line number data to the power line number data to compose carrier data when the shorting condition exists, and composing the power line number data to the carrier data when the shorting condition does not exist;
the hardware carrier module is used for sending out carrier data in a power line carrier mode and receiving the wiring state of a power line in a host mode; or in the slave mode, receiving carrier data through a power line carrier mode and transmitting a power line wiring state;
the data receiving module is used for recording the carrier data into the data matrix after receiving the carrier data;
and the resolving module is used for searching the data matrix by using the breadth-first algorithm to resolve the wiring state of the power line after the carrier data is received.
8. The power line sequence analysis system is characterized by comprising an analysis host computer and an analysis slave computer;
the analysis host is a power line sequence analysis device working in an analysis host mode;
the analysis slave is a power line sequence analysis device working in an analysis slave mode;
the power line sequence analysis devices are all the power line sequence analysis devices according to claim 7.
9. An electronic device, comprising:
at least one computing unit;
at least one memory coupled to the at least one computing unit and storing data for
Instructions executed by the at least one computing unit, which when executed by the at least one computing unit, cause the apparatus to perform the steps of the power line sequence analysis method of any one of claims 1 to 6.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, implements the steps of the power line sequence analysis method of any one of claims 1 to 6.
CN202311431718.1A 2023-10-31 2023-10-31 Power line sequence analysis method, system and medium Pending CN117592963A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311431718.1A CN117592963A (en) 2023-10-31 2023-10-31 Power line sequence analysis method, system and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311431718.1A CN117592963A (en) 2023-10-31 2023-10-31 Power line sequence analysis method, system and medium

Publications (1)

Publication Number Publication Date
CN117592963A true CN117592963A (en) 2024-02-23

Family

ID=89920944

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311431718.1A Pending CN117592963A (en) 2023-10-31 2023-10-31 Power line sequence analysis method, system and medium

Country Status (1)

Country Link
CN (1) CN117592963A (en)

Similar Documents

Publication Publication Date Title
CN105652852B (en) A kind of Inspection and monitoring system of high voltage transducer power unit and its mainboard
CN109143033B (en) Automatic testing system for whole satellite interface
CN103532738B (en) The defining method of a kind of port connection relationship and device
CN109976318B (en) Internet-based electric energy metering fault diagnosis and troubleshooting expert system
CN103048581A (en) Cable testing device
CN110930538A (en) Method and system for visualizing fault information of vehicle
CN111948489A (en) Intelligent substation secondary equipment board card-level abnormal defect diagnosis and positioning method and system
CN112202613B (en) Optical cable fault processing method, device, equipment and computer readable storage medium
CN107271854B (en) Dual-redundancy equipotential cable network mixed wire testing device and testing method
CN117592963A (en) Power line sequence analysis method, system and medium
CN115208807B (en) POE switch test system and method
CN108632109B (en) Network communication quality obtaining method, device and system
CN115598445A (en) Electrical fault detection method and device based on hardware-in-the-loop
CN106569922B (en) Electric quantity management IC burning calibration verification method and device
CN108152652A (en) A kind of cable insulation test method
CN107834311A (en) Network interface plug-in and pull-off device, network interface insert-pull detection system and method
CN106169815B (en) It stands end automated system operator workstation method for monitoring operation states and system
CN203224587U (en) Cable testing device
CN105044552A (en) Fault diagnosis method, system and device for distribution network automation system
CN111044823A (en) Multi-parameter integrated test system and method for complex electronic equipment
CN110865276A (en) Fault indicator parallel detection system and detection method
CN118171431B (en) Intelligent secondary line calibration method and system
CN112114544B (en) Comprehensive joint debugging communication data analysis device and method for platform door system
CN210376650U (en) Cable testing device
CN210090582U (en) Invisible fault positioning system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination