CN107643472B - Method for calculating difference degree of short circuit break table - Google Patents

Method for calculating difference degree of short circuit break table Download PDF

Info

Publication number
CN107643472B
CN107643472B CN201710823123.9A CN201710823123A CN107643472B CN 107643472 B CN107643472 B CN 107643472B CN 201710823123 A CN201710823123 A CN 201710823123A CN 107643472 B CN107643472 B CN 107643472B
Authority
CN
China
Prior art keywords
short
typec
tables
difference
points
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.)
Active
Application number
CN201710823123.9A
Other languages
Chinese (zh)
Other versions
CN107643472A (en
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.)
CHANGZHOU TONGHUI ELECTRONICS Co Ltd
Original Assignee
CHANGZHOU TONGHUI ELECTRONICS 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 CHANGZHOU TONGHUI ELECTRONICS Co Ltd filed Critical CHANGZHOU TONGHUI ELECTRONICS Co Ltd
Priority to CN201710823123.9A priority Critical patent/CN107643472B/en
Publication of CN107643472A publication Critical patent/CN107643472A/en
Application granted granted Critical
Publication of CN107643472B publication Critical patent/CN107643472B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a method for calculating the difference degree of a short-circuit list, which comprises the following steps: 1) scanning short circuit breaking tables of known TypeC wires in all directions and recording the short circuit breaking tables as a table N; n is an integer greater than or equal to 1; 2) scanning the TypeC wire to be tested to obtain a short open circuit table of the TypeC wire, and recording the short open circuit table as a table M; 3) respectively converting the table N and the table M into a relation table of an undirected graph, and recording the relation table as a table Ni and a table Mi; 4) subtracting the table Ni from the table Mi respectively to obtain two groups of tables which are recorded as the table Ni-Mi and the table Mi-Ni respectively; 5) the square sum of all values in Table Ni-Mi and Table Mi-Ni was calculated to obtain the degree of difference. The invention obtains the insertion direction by digitizing the difference degree between the two short break meters and then comparing the difference degree.

Description

Method for calculating difference degree of short circuit break table
Technical Field
The invention relates to the field of electronic testing, and particularly relates to a method for testing a TypeC wire, in particular to a method for calculating the difference degree of a short-circuit break table.
Background
Today TypeC wire is in wider and wider use and develops more and more rapidly, from the earliest single-headed TypeC to the current double-headed TypeC. The method has the biggest characteristic that the method has no insertion direction, and both forward insertion and backward insertion can be used, thereby greatly facilitating each user. While there is no distinction between forward and reverse insertion for the user, there is a distinction for the test because the short break tables for forward and reverse insertion are not the same. Then face-to-face and anti-face 2 cases are required for the single-headed TypeC, while face-to-face, anti-face, anti-face 4 cases are required for the double-headed TypeC. There are 8 cases where the two TypeC heads of the latest generation TypeC wire are different. How to accurately judge the current insertion direction of the wire becomes a key technical problem.
In the prior art, a method for judging the current insertion direction of a wire rod is as follows: and comparing the short circuit list of the to-be-tested element with the known standard short circuit list in various directions to determine which difference is the smallest and which direction is the same.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: a method for calculating the difference degree of short-circuit breaking meters is disclosed, which includes digitizing the difference degree between two short-circuit breaking meters, and comparing the difference degrees to obtain the insertion direction.
The technical scheme adopted by the invention is as follows: a method for calculating the difference degree of a short-circuit list comprises the following steps:
1) scanning short circuit breaking tables of known TypeC wires in all directions and recording the short circuit breaking tables as a table N; n is an integer greater than or equal to 1;
2) scanning the TypeC wire to be tested to obtain a short open circuit table of the TypeC wire, and recording the short open circuit table as a table M;
3) respectively converting the table N and the table M into a relation table of an undirected graph, and recording the relation table as a table Ni and a table Mi;
4) subtracting the table Ni from the table Mi respectively to obtain two groups of tables which are recorded as the table Ni-Mi and the table Mi-Ni respectively;
5) the square sum of all values in Table Ni-Mi and Table Mi-Ni was calculated to obtain the degree of difference.
Further, in step 3), the method for converting the table N and the table M into the relational tables of the undirected graph respectively includes: the relationship between the points of the wire and the points is listed by a table.
In step 4), the table Ni and the table Mi are subtracted from each other, the same point is marked as 0, and the different points are marked as ± 1.
Further, when the table Ni and the table Mi are subtracted from each other, the position with a dot minus the position without a dot is marked as 1; the position without dots minus the position with dots is noted as-1.
The invention has the beneficial effects that: the insertion direction is derived by digitizing the degree of difference between the two short trip meters and then by comparing the degree of difference.
Drawings
The invention is further illustrated with reference to the following figures and examples.
FIG. 1 is a schematic diagram showing the connection and disconnection of 2 sets of wires;
FIG. 2 is an undirected graph of a set of points (a) - (d);
FIG. 3 is an undirected graph of another set of points (a) - (c).
Detailed Description
The invention will now be described in further detail with reference to the drawings and preferred embodiments. These drawings are simplified schematic views illustrating only the basic structure of the present invention in a schematic manner, and thus show only the constitution related to the present invention.
The short disconnection table of the wire rod can be regarded as an unweighted undirected graph in graph theory mathematics, and the relation between points is not directional and has no weight. As shown in fig. 2, is an undirected graph of group 1 points,
from the relationship of each point in fig. 2, the set of undirected graphs is organized as a matrix table as follows:
the table lists the relationship of each point to other points, see table 1:
1
2 3
3 2
4 5 6
5 4 6
6 4 5
7 8 9 10
8 7 9 10
9 7 8 10
10 7 8 9
TABLE 1
As shown in FIG. 3, is an undirected graph of group 2 points: from the relationship of each point in fig. 3, the set of undirected graphs is organized as a matrix table as follows, see table 2:
1 2 3
2 1 3
3 1 2
4 5 6
5 4 6
6 4 5
7 8 9 10
8 7 9 10
9 7 8 10
10 7 8 9
TABLE 2
Table 1 minus table 2, if the same point is noted as 0, the different points are noted as ± 1, since there is no weight, it is noted as ± 1.
Then there are
0 -1 -1 0
0 -1 0 0
0 -1 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
TABLE 3
In the same way, subtracting table 1 from table 2, we have:
0 1 1 0
0 1 0 0
0 1 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
TABLE 4
Then the difference x12+x22+x32+…xn2
Where x1 to xn are all values in tables 3 and 4.
So the difference between table 1 and table 2 is (-1)2+(-1)2+(-1)2+(-1)2+12+12+12+12=8。
The above is a method for calculating the difference degree by using an unweighted undirected graph, and then the difference degree between 2 short break tables can be calculated by using the method, for example, as follows:
as shown in fig. 1, the difference was calculated by taking 2 sets of lines, i.e., 4 lines and 8 points.
Firstly, the short break table of 2 groups of lines is arranged out: see tables 5 and 6
1 2
3 4
5 6
7 8
TABLE 5
1 2
3 6
4 5
7 8
TABLE 6
The short trip tables shown in tables 5 and 6 are then converted into the relational table of the undirected graph: see tables 7 and 8
1 2
2 1
3 4
4 3
5 6
6 5
7 8
8 7
TABLE 7
1 2
2 1
3 6
4 5
5 4
6 3
7 8
8 7
TABLE 8
The two tables are then subtracted from each other to yield tables 9 and 10:
0 0
0 0
0 1
0 1
0 1
0 1
0 0
0 0
TABLE 9
0 0
0 0
0 1
0 1
0 1
0 1
0 0
0 0
Watch 10
Then the degree of difference is 12+12+12+12+12+12+12+12=8。
The calculation principle for calculating the difference degree of the short break table is as above, and the difference degree value between two short break tables can be comprehensively calculated.
And finally, comparing the obtained difference values, and finding out the difference value of the minimum value from the difference values, wherein the table corresponding to the difference values is the insertion direction of the Typec wire, and then the Typec wire is tested according to each item in the table.
While particular embodiments of the present invention have been described in the foregoing specification, various modifications and alterations to the previously described embodiments will become apparent to those skilled in the art from this description without departing from the spirit and scope of the invention.

Claims (4)

1. A method for calculating the difference degree of a short-circuit list is characterized by comprising the following steps:
1) scanning short circuit breaking tables of known TypeC wires in all directions and recording the short circuit breaking tables as a table N; n is an integer greater than or equal to 1;
2) scanning the TypeC wire to be tested to obtain a short open circuit table of the TypeC wire, and recording the short open circuit table as a table M;
3) respectively converting the table N and the table M into a relation table of an undirected graph, and recording the relation table as a table Ni and a table Mi;
4) subtracting the table Ni from the table Mi respectively to obtain two groups of tables which are recorded as the table Ni-Mi and the table Mi-Ni respectively;
5) the square sum of all values in Table Ni-Mi and Table Mi-Ni was calculated to obtain the degree of difference.
2. The method of calculating a shortlist variation as set forth in claim 1, wherein: in the step 3), the method for converting the table N and the table M into the relational tables of the undirected graph respectively comprises the following steps: the relationship between the points of the wire and the points is listed by a table.
3. The method of calculating a shortlist variation as set forth in claim 1, wherein: in the step 4), the table Ni and the table Mi are subtracted from each other, the same point is marked as 0, and different points are marked as ± 1.
4. A method of calculating a difference degree of a short-circuit list according to claim 3, characterized in that: when the table Ni and the table Mi are subtracted from each other, the positions with points are subtracted from the positions without points, and the result is marked as 1; the position without dots minus the position with dots is noted as-1.
CN201710823123.9A 2017-09-13 2017-09-13 Method for calculating difference degree of short circuit break table Active CN107643472B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710823123.9A CN107643472B (en) 2017-09-13 2017-09-13 Method for calculating difference degree of short circuit break table

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710823123.9A CN107643472B (en) 2017-09-13 2017-09-13 Method for calculating difference degree of short circuit break table

Publications (2)

Publication Number Publication Date
CN107643472A CN107643472A (en) 2018-01-30
CN107643472B true CN107643472B (en) 2020-02-18

Family

ID=61111473

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710823123.9A Active CN107643472B (en) 2017-09-13 2017-09-13 Method for calculating difference degree of short circuit break table

Country Status (1)

Country Link
CN (1) CN107643472B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109164373B (en) * 2018-09-12 2020-12-25 常州同惠电子股份有限公司 Method for testing on-off of wire
CN113671416B (en) * 2021-08-23 2024-04-02 常州同惠电子股份有限公司 Scanning method for scanning on-off of TypeC wire

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102082878A (en) * 2009-11-30 2011-06-01 华为技术有限公司 Method and device for detecting false circuit connection
CN103579990B (en) * 2013-10-17 2017-01-25 华南理工大学 Distributed-generation-contained power distribution system fault recovery method based on mixed decision diagram
CN103701665A (en) * 2013-12-27 2014-04-02 华为技术有限公司 Line connection error detecting method and device
CN204732565U (en) * 2015-06-03 2015-10-28 陈伟亚 With the female for connection of measuring ability

Also Published As

Publication number Publication date
CN107643472A (en) 2018-01-30

Similar Documents

Publication Publication Date Title
CN107643472B (en) Method for calculating difference degree of short circuit break table
KR101912742B1 (en) Assessment Method and System of Safety Level of High Voltage Electrical Facilities
CN102723950B (en) A kind of analog to digital converter nonlinear parameter test adapter and method of testing
CN102946253B (en) Data sampling method and system and the application process in parameter identification thereof and system
CN106169124B (en) System-level product reliability comprehensive evaluation confidence inference method
CN104572462A (en) Method for generating metamorphic test case based on adaptive random strategy
CN105469316B (en) Method and system for calculating theoretical line loss between any two points of power distribution network
Tabatabaei et al. A traveling-wave fault location technique for three-terminal lines based on wavelet analysis and recurrent neural network using GPS timing
Aslam et al. Two-stage group acceptance sampling plan for Burr type X percentiles
CN107885696B (en) Method for realizing missing data restoration by utilizing observation sequence similarity
US10014978B2 (en) Method and apparatus for processing a data signal
Li et al. Generating wind power time series based on its persistence and variation characteristics
CN104951098A (en) Matrix key input interface
CN105425094B (en) A kind of PCBA short dots detection method and device
CN110083899B (en) Recursive diagnosis and self-repairing method for radar measured metadata
CN109164373B (en) Method for testing on-off of wire
CN105277852A (en) Classification and identification method of line conditions of power distribution network
CN110598768B (en) Gear fault classification method, classification device and readable storage medium
CN104899364B (en) A kind of standard block system of selection for organs weight
US20080155503A1 (en) Metrics to evaluate process objects
CN108051676A (en) A kind of amplitude of lightning current cumulative probability distribution curve the Fitting Calculation method
CN110221129A (en) A kind of pole tower ground resistance calculation method based on impedance loop test
Mokhlis et al. A comprehensive fault location estimation using voltage sag profile for non-homogenous distribution networks
CN109871559B (en) Analysis method for information fault scanning of power system
CN117313633B (en) Electrical design 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
GR01 Patent grant
GR01 Patent grant