Method for rapidly generating ledger data map and overhauling defects of pre-control equipment family
Technical Field
The invention relates to the technical field of electrical equipment, in particular to a maintenance method for quickly generating a ledger data map and pre-controlling equipment family defects.
Background
In an industrial system, information such as functional position type, model, manufacturer, equipment parameters, defect information, operation and maintenance information and the like is used as key fields of ledger data, and ledger data IDs are used as main keys to be organized together. It is worth noting that the standing book data belongs to mass data, and in the past, due to the lack of effective means for mining, the value of the mass standing book data is not mined, but becomes the maintenance burden of production technicians.
The model data can change along with the upgrading of manufacturer products, and the problem of irregular entry of ledger data also exists simultaneously. Therefore, the related information and the decision of the spare parts always depend on the experience of personnel, a method for visually displaying and reflecting is lacked, the information of the spare parts is difficult to obtain from massive ledger data, the spare parts are easy to be repeatedly purchased, and the stock spare parts cannot be reused, so that the production and the operation are not facilitated.
In the past, the data quality of the machine account data can be controlled only by on-site checking and checking, and the data quality problem can be found only by on-site checking and comparing by production technicians, so that the improvement can be promoted, and time and labor are wasted. The bottleneck of data quality problem and standing book data presentation problem makes it all the more can't talk about to know the equipment family defect through the analysis of huge amount of standing book data.
In the graph theory, the adjacent matrix can store data of all vertex data and relations (edges or arcs) between vertexes in the graph by using a two-dimensional array, the two-dimensional array is called as the adjacent matrix, and it is not difficult to imagine that if a standard method can be used for converting any two-dimensional table into the adjacent matrix and then converting the adjacent matrix into the graph, an effective method is undoubtedly provided for rapidly forming the graph by the account data.
After the standing book data map is quickly formed according to the incidence relation of the standing book data fields, the standing book data map can be imagined. Undoubtedly, production technicians can simply and conveniently find the relation among the fields of the ledger according to the graph and the clue, so that the production technicians can conveniently perform transverse comparison, the data quality problem can be found by the production technicians, and the family defects of the equipment can be found by the production technicians.
The invention combines engineering experience, fully considers the characteristics of the standing book data, standardizes the method for forming the map, and combines computer control, so that the quality of the standing book data is improved, the familial defects of the equipment are found, automatic detection and control are realized for the maintenance method for pre-controlling the development of the familial defects of the equipment, the familial defects of the equipment to which the standing book data belong are exposed in advance, and technical support is provided for the familial defect elimination work of the equipment. The risk can be effectively avoided, and reliable technical guarantee is provided for industrial safe and stable production.
Disclosure of Invention
In order to overcome the defects in the prior art, the invention aims to provide an overhauling method for quickly generating a ledger data map and pre-controlling equipment family defects.
The purpose of the invention is realized by the following technical scheme.
The invention provides an overhauling method for quickly generating a standing book data map and pre-controlling equipment family defects, which is used for forming a two-dimensional table according to the incidence relation of standing book data fields, converting the two-dimensional table into an adjacent matrix, generating the standing book data map through the adjacent matrix, comprehensively considering the characteristics of standing book data by utilizing the standing book data map and combining engineering experience, improving the quality of the standing book data, finding the equipment family defects and providing the overhauling method for the development of the pre-controlling equipment family defects.
The invention provides a maintenance method for quickly generating a ledger data map and pre-controlling equipment family defects, which comprises the following steps of:
(1.1) form two-dimensional table B containing all standing book data fields0;
(1.2) forming a two-dimensional table B consisting of function position types, equipment models, manufacturers and technical parameter fields according to the specified range1According to two-dimensional table B1Form standing book data map T1;
(1.3) according to the standing book data map T1Acquiring the information of potential mutual spare parts and the quality condition of the ledger data by the associated equipment model, manufacturer and technical parameters in the same functional position type, and correcting the ledger data with data quality problems;
(1.4) forming a two-dimensional table B consisting of equipment types, equipment models, function positions, defect representations, defect causes, and treatment measure fields according to the specified range2According to two-dimensional table B2Form standing book data map T2;
(1.5) according to the standing book data map T2And acquiring the defects of the equipment family by using the functional position type, defect appearance, defect reason and treatment field associated with the same type and model, and forming a targeted maintenance method for pre-controlling the development of the defects of the equipment family according to the treatment field.
Further, the step (1.1) forms a second machine account data field containing all machine account data fieldsDimension table B0Ledger fields include the following:
(2.1) equipment ledger data ID;
(2.2) equipment category;
(2.3) equipment model;
(2.4) a manufacturer;
(2.5) technical parameters;
(2.6) a functional location type;
(2.7) defect appearance;
(2.8) defect cause;
(2.9) treatment measures;
and (2.10) equipment operation and maintenance department.
Further, the step (1.1) forms a two-dimensional table B containing all standing book data fields0Is a two-dimensional table formed with the device ledger data ID as a primary key.
Further, the step (1.2) and the step (1.4) of forming the standing book data map according to the two-dimensional table comprise the following steps:
(4.1) acquiring the row number M and the column number N of the two-dimensional table B, wherein M belongs to [1, + ∞ ], and N belongs to [1, + ∞);
(4.2) taking the unique value according to the column, namely combining the same data in the same column into one data;
(4.3) obtaining the number O of the unique values of 1-N columns after the unique values are taken according to the columns;
(4.4) numbering each unique value according to 1 to O, and writing the numbers back to the two-dimensional table B to form a new two-dimensional table BB, wherein the BB is an M multiplied by N matrix;
(4.5) setting the adjacent matrix TT as a sparse matrix of all zeros of O multiplied by O;
(4.6) setting i to 1;
(4.7) setting j to 1;
(4.8) TT (BB (i, j), BB (i, j +1)) is assigned a value of 1;
(4.9) adding 1 to the value of j, if the value of j is not more than N-1, then going to execute the step (4.8), otherwise, going to execute the step (4.10);
(4.10) adding 1 to the value of i, if the value of i is not more than M, then the step (4.7) is executed, otherwise, the step (4.11) is executed;
(4.11) obtaining the adjacency matrix TT of the two-dimensional table B;
(4.12) setting i to 1;
(4.13) setting j to 1;
(4.14) if TT (i, j) is not equal to 1, drawing a line from the ith point to the jth point, converting the node number into the original machine account data according to the two-dimensional table BB, and otherwise, executing the step (4.15);
(4.15) adding 1 to the value of j, if the value of j is not more than N, then the step (4.13) is executed, otherwise, the step (4.16) is executed;
(4.16) adding 1 to the value of i, if the value of i is not more than N, then switching to execution (4.13), otherwise, switching to execution (4.17);
and (4.17) obtaining the standing book data map of the two-dimensional table B.
Further, it is characterized in that the specified range in step (1.2) and step (1.4) is specified ledger data obtained by searching for a condition index in the ledger data field.
Further, the step (1.3) of obtaining the information of potential mutual spare parts and the quality condition of the account data according to the associated equipment model, the manufacturer and the technical parameters in the same functional position type means that the equipment represented by the account data in the same functional position type can play the same role, if a plurality of different account data exist, the equipment represented by the plurality of different account data can be mutually spare parts (namely can be mutually replaced) through comparing different account data in the same field, and if no data quality problem exists; if there is a data quality problem, the error field can be located quickly.
Further, the step (1.5) of obtaining the device family defect according to the functional position type, the defect representation, the defect reason and the processing measure field associated with the same type and the same model means that the defect representation and the defect reason field of the ledger data corresponding to the functional position type associated with the same type and the same model are both device family defects, and the corresponding processing measure is an overhaul method for pre-controlling the development of the device family defects.
Compared with the prior art, the invention has the following advantages and effects:
(1) the invention provides a standardization implementation method for forming a two-dimensional table according to the incidence relation of the standing book data fields, converting the two-dimensional table into an adjacent matrix, and then generating a standing book data map through the adjacent matrix, so that the automatic generation of the quickly generated standing book data map is realized;
(2) the invention combines engineering experience, takes the characteristics of the standing book data into full consideration, provides a method for transversely comparing different standing book data with the same field, and provides an effective technical means for acquiring data quality information and information of mutual spare parts;
(3) the invention provides a maintenance method for acquiring the defects of the equipment family through the functional position type, the defect representation, the defect reasons and the processing measure field which are associated with the same type and model in the map, and forming targeted pre-control on the development of the defects of the equipment family according to the processing measure field.
Drawings
Fig. 1 is a flowchart of an overhaul method for rapidly generating a ledger data map and pre-controlling device family defects in embodiment 1 of the present invention.
FIG. 2 is a two-dimensional table B of the example1Standing book data map T1。
FIG. 3 is a two-dimensional table B of the example2Standing book data map T2。
Detailed Description
The following description of the embodiments of the present invention is provided in connection with the accompanying drawings and examples, but the invention is not limited thereto. It is noted that the processes described below, if not specifically described in detail, are all realizable or understandable by those skilled in the art with reference to the prior art.
Example 1
The following example analysis is performed on the ledger data of southern power grid peak-shaving frequency modulation power generation ltd. With reference to the flow of fig. 1, the method for rapidly generating the ledger data map and repairing the defects of the pre-control equipment family comprises the following steps:
step 1, forming a two-dimensional table B containing all standing book data fields0(as shown in table 1);
TABLE 1
Step 2, searching conditions in the standing book data field (the type of the function position is factory change) "&&"voltage class ═ 10 kV"&&"rated capacity of 50 MVA"&&Dry type) index to obtain a two-dimensional table B composed of function location type, device model, manufacturer, technical parameter fields as shown in table 21(as shown in table 2);
TABLE 2
According to two-dimensional table B1Form standing book data map T1Obtained by the following steps:
(2.1) obtaining two-dimensional table B1The number of rows M and columns N, M being 4 and N being 5;
(2.2) taking the unique value according to the column, namely combining the same data in the same column into one data;
(2.3) obtaining the number O of the unique values of 1-N columns as 11 after the unique values are taken according to the columns;
(2.4) numbering each unique value from 1 to 11 and writing the numbers back into the two-dimensional table B to form a new two-dimensional table BB, which is a 4 x 5 matrix,
(2.5) setting the adjacent matrix TT as a sparse matrix of 11 multiplied by 11 all zeros;
(2.6) setting i to 1;
(2.7) setting j to 1;
(2.8) TT (BB (i, j), BB (i, j +1)) is assigned a value of 1;
(2.9) adding 1 to the value of j, if the value of j is not more than N-1, then the step (3.8) is executed, otherwise, the step (2.10) is executed;
(2.10) adding 1 to the value of i, if the value of i is not more than M, then the step (2.7) is executed, otherwise, the step (2.11) is executed;
(2.11) obtaining a two-dimensional TableB1Is adjacent to the matrix TT. The matrix TT is a sparse matrix, and the following elements are elements with the numerical value of 1: TT (1,5), TT (2,5), TT (3,5), TT (4,5), TT (5,6), TT (5,7), TT (7,8), TT (7,9), TT (6,10), TT (7,10), TT (8,11), TT (9,11) and TT (10, 11).
(2.12) setting i to 1;
(2.13) setting j to 1;
(2.14) if TT (i, j) is not equal to 1, drawing a line from the ith point to the jth point, converting the node number into the original machine account data according to the two-dimensional table BB, and otherwise, executing the step (2.15);
(2.15) adding 1 to the value of j, if the value of j is not more than N, then the step (2.13) is executed, otherwise, the step (2.16) is executed;
(2.16) adding 1 to the value of i, if the value of i is not more than N, then switching to execution (2.13), otherwise, switching to execution (2.17);
(2.17) obtaining two-dimensional Table B1Standing book data map T1(as shown in fig. 2). FIG. 2 is a two-dimensional table B of the example1Standing book data map T1According to the ledger data map T1And the information of potential mutual spare parts and the quality condition of the ledger data are obtained by the associated equipment model, manufacturer information and technical parameters in the same functional position type, and the ledger data with data quality problems are corrected.
Step 3, according to the standing book data atlas T1And the information of potential mutual spare parts and the quality condition of the ledger data are obtained by the associated equipment model, manufacturer information and technical parameters in the same functional position type, and the ledger data with data quality problems are corrected.
Through standing book data map T1The same functional position type plant use change can be easily found, the correct writing method of the model name of the SCB10-400/10 can be presumed to be SCB10-400/10 according to the associated equipment model, the Hainan golden disk and the Hainan golden disk electric limited company can be inferred to be the same manufacturer according to the manufacturer information, the accurate name of the Hainan golden disk electric limited company is the Hainan golden disk electric limited company, similarly, the vacant information can be the Hainan golden disk electric limited company according to the analysis condition, and the account data of the data quality problem can be further enteredAnd (5) correcting the rows. Meanwhile, it can be seen that the devices represented by the four pieces of standing book data in the same functional position type have the same technical parameters and should play the same role, and the devices represented by the four pieces of different standing book data can be spare parts for each other.
Step 4, forming a two-dimensional table B composed of equipment types, equipment models, function positions, defect representations, defect reasons and processing measure fields according to the specified range, wherein the two-dimensional table B is shown in table 32;
TABLE 3
According to two-dimensional table B2Form standing book data map T2Obtained by the following steps:
(4.1) obtaining two-dimensional table B2The number of rows M and columns N, M being 4 and N being 6;
(4.2) taking the unique value according to the column, namely combining the same data in the same column into one data;
(4.3) obtaining the number O of the unique values of 1-N columns as 12 after the unique values are taken according to the columns;
(4.4) numbering each unique value from 1 to 12 and writing the numbers back into the two-dimensional table B to form a new two-dimensional table BB, which is a 4 x 6 matrix,
(4.5) setting the adjacent matrix TT as a sparse matrix of 12 x 12 all zeros;
(4.6) setting i to 1;
(4.7) setting j to 1;
(4.8) TT (BB (i, j), BB (i, j +1)) is assigned a value of 1;
(4.9) adding 1 to the value of j, if the value of j is not more than N-1, then the step (4.8) is executed, otherwise, the step (4.10) is executed;
(4.10) adding 1 to the value of i, if the value of i is not more than M, then the step (4.7) is executed, otherwise, the step (4.11) is executed;
(4.11) obtaining two-dimensional Table B2Is a sparse matrix TTThe following elements are elements with a value of 1: TT (1,2), TT (2,3), TT (2,4), TT (2,5), TT (2,6), TT (5,7), TT (3,8), TT (6,9), TT (4,10), TT (7,11), TT (8,11), TT (9,11), TT (10,11) and TT (11, 12).
(4.12) setting i to 1;
(4.13) setting j to 1;
(4.14) if TT (i, j) is not equal to 1, drawing a line from the ith point to the jth point, converting the node number into the original machine account data according to the two-dimensional table, and otherwise, executing the step (4.15);
(4.15) adding 1 to the value of j, if the value of j is not more than N, then the step (4.13) is executed, otherwise, the step (4.16) is executed;
(4.16) adding 1 to the value of i, if the value of i is not more than N, then switching to execution (4.13), otherwise, switching to execution (4.17);
(4.17) obtaining two-dimensional Table B2Standing book data map T2(as shown in fig. 3). FIG. 3 is a two-dimensional table B of the example2Standing book data map T2According to the ledger data map T2And the fields of the functional position type, the defect representation, the defect reason and the treatment measure related to the same product type and model number know that the defect of the equipment family is unqualified joint insulation.
Step 5, according to the standing book data atlas T2And in the method, functional position types, defect representations, defect reasons and treatment measure fields related to the same type and model are used for knowing that the defect of the equipment family is that the joint is unqualified in insulation, targeted pre-control measures are formed according to the treatment measure fields to enhance the frequency of infrared inspection observation, and the joint is replaced when next maintenance is carried out.
And (4) conclusion:
therefore, the invention provides a standardization implementation method for forming the two-dimensional table according to the incidence relation of the standing book data fields, converting the two-dimensional table into the adjacent matrix, and then generating the standing book data map through the adjacent matrix, so that the automatic generation of the quickly generated standing book data map is realized. The invention combines engineering experience, takes the characteristics of the standing book data into full consideration, provides transverse comparison through different standing book data with the same field, and provides an effective technical means for acquiring data quality information and information of mutual spare parts. The invention also obtains the defects of the equipment family through the functional position type, defect representation, defect reason and treatment field which are associated with the same type and model in the map, and forms a targeted maintenance method for pre-controlling the development of the defects of the equipment family according to the treatment field.
The above examples are only preferred embodiments of the present invention, which are intended to be illustrative and not limiting, and those skilled in the art should understand that they can make various changes, substitutions and alterations without departing from the spirit and scope of the invention.