CN106250527A - Alloy designations recognition methods based on pearson correlation coefficient - Google Patents

Alloy designations recognition methods based on pearson correlation coefficient Download PDF

Info

Publication number
CN106250527A
CN106250527A CN201610635461.5A CN201610635461A CN106250527A CN 106250527 A CN106250527 A CN 106250527A CN 201610635461 A CN201610635461 A CN 201610635461A CN 106250527 A CN106250527 A CN 106250527A
Authority
CN
China
Prior art keywords
trade mark
value
element set
content
correlation coefficient
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.)
Granted
Application number
CN201610635461.5A
Other languages
Chinese (zh)
Other versions
CN106250527B (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.)
Taizhou Gaoshitong Intelligent Technology Co ltd
Original Assignee
Tec Sonde Energy Technology And Service 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 Tec Sonde Energy Technology And Service Co Ltd filed Critical Tec Sonde Energy Technology And Service Co Ltd
Priority to CN201610635461.5A priority Critical patent/CN106250527B/en
Publication of CN106250527A publication Critical patent/CN106250527A/en
Application granted granted Critical
Publication of CN106250527B publication Critical patent/CN106250527B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures

Abstract

The invention discloses a kind of alloy designations recognition methods based on pearson correlation coefficient, the method determines coupling element set for (1);(2) test sample constituent content information to be identified by spectrogrph, and extract each constituent content value X in coupling element seti;(3) each element upper content limit X in certain trade mark in coupling element set is extractedmaxiValue, lower limit XminiValue;(4) structure actual match vector VrealWith perfect match vector Videal: (5) calculate actual match vector VrealWith perfect match vector VidealBetween pearson correlation coefficient;(6) step (3) (5) is repeated, until calculating the pearson correlation coefficient of all trades mark in trade mark storehouse, the affiliated trade mark that the trade mark is sample to be identified that correlation coefficient is maximum.The method calculating process is simple and operation result is normalization data, dimensionless, its numerical value circle is between 1 to 1, and value is 1 to show that this trade mark fits like a glove with this measurement result, in the case of other, closer to 1, numerical value shows that matching degree is the highest, closer to 1, numerical value shows that matching degree is the lowest.

Description

Alloy designations recognition methods based on pearson correlation coefficient
Technical field
The present invention relates to alloy detection field, particularly relate to a kind of alloy designations identification based on pearson correlation coefficient Method.
Background technology
Trade mark identification, refers to contain the actual measurement constituent content information of detected sample with the element of several trades mark in trade mark storehouse Weight range information contrasts, thus it is speculated that go out to detect the relevant information such as the trade mark of object.Trade mark identification is as sending out of alloy detection industry The New function that exhibition gradually derives, this function is very easy to identification and the classification of alloy.
Existing trade mark recognition methods kind is less, generally divides the most several: (1) is according to whether surveying constituent content value Being positioned at the content range that the trade mark specifies and define whether detection object is this trade mark, the method shortcoming is, if certain element That even if content exceeds beyond this scope and few trade mark identification that also can affect detection object.(2) method improved has, and will contain Weight range does suitably to amplify and defines whether detection object is this trade mark with multiple " scopes ".(1), (2) two class algorithms have above Stronger occasionality, the impact of the easy examined error of recognition result, it is difficult to debugging and safeguards.(3) board based on membership function Number recognizer, constructs some membership functions according to different situations, will survey constituent content in the range of degree quantify, The method has more outstanding accuracy and fault-tolerance, but needs in the adjustment of parameter to consider the compatibility between different situations membership function Property, the most not easy care.
Trade mark identification problem also has another form: only provide the trade mark identification problem of constituent content reference value.The most just It is that trade mark storehouse does not provide the element content range information of the trade mark only to provide constituent content reference value.Existing trade mark identification side Method is not for this problem.
Summary of the invention
For above-mentioned deficiency, the present invention provides a kind of alloy designations recognition methods based on pearson correlation coefficient, by phase Closing coefficient to be incorporated in trade mark identification problem, solve traditional algorithm and calculate the problems such as complicated, more difficult maintenance, the most prominent is The method is applicable not only to provide the trade mark identification problem of element content range to be also applied for only providing constituent content reference value Trade mark identification problem.
In order to achieve the above object, the technical solution used in the present invention is as follows: a kind of conjunction based on pearson correlation coefficient Gold medal recognition methods, it is characterised in that specifically include following steps:
(1) coupling element set is determined;
Taking certain alloy sample is sample to be identified, if trade mark storehouse has n the trade mark, and the respectively trade mark 1, the trade mark 2 ... board Number n;
Take the whole elements contained by each trade mark, constitute the element set contained by this trade mark, finally give A1, A2……An;
Take A1, A2 ... the union of An i.e. obtains the element set A having content in trade mark storehouse;
Take the common factor of the element set B having the element set A of content and spectrogrph to be capable of identify that in trade mark storehouse, obtain mating element Collection C;
(2) test sample constituent content information to be identified by spectrogrph, and extract each constituent content in coupling element set Value Xi, and then obtain actual measurement constituent content vector X, X=[X1,X2,…,Xn], wherein, n is the individual of element in coupling element set C Number, i is positive integer, 1≤i≤n;
(3) from the constituent content upper and lower limit information that trade mark storehouse is recorded, in extraction coupling element set, each element is at certain board Upper content limit X in numbermaxiValue, lower limit XminiValue;
(4) structure actual match vector VrealWith perfect match vector Videal:
(4.1) each element upper content limit X in certain trade mark in the coupling element set obtained in step (3) is takenmaxiValue, Lower limit XminiValue and actual measurement constituent content value X of each element of acquisition in step (2)iCompare, calculate the preferable unit of each element Cellulose content value vi, such as formula (1);
v i = X max i , ( X i ≥ X max i ) v i = X min i , ( X i ≤ X min i ) v i = X i , ( X min i ≤ X i ≤ X max i ) - - - ( 1 )
(4.2) element at infinity content value v of each element obtained according to step (4.1)i, build element at infinity content vector V, such as formula (2):
V=[v1,v2,…,vn] (2)
(4.3) according to formula (3) and formula (4), actual measurement constituent content vector X step (2) obtained and step (4.2) obtain Element at infinity content vector V merge, obtain actual match vector Vreal;By element at infinity content vector V and himself Merge, obtain perfect match vector Videal:
Vreal=[X, V] ' (3)
Videal=[V, V] ' (4)
(5) actual match vector V is calculatedrealWith perfect match vector VidealBetween pearson correlation coefficient:
Computing formula such as formula (5):
r p = cov ( V 1 , V 2 ) σ V 1 · σ V 2 = E ( V 1 V 2 ) - E ( V 1 ) E ( V 2 ) E ( V 1 2 ) - E 2 ( V 1 ) E ( V 2 2 ) - E 2 ( V 2 ) - - - ( 5 )
In formula: rpFor pearson correlation coefficient;Cov is covariance;σ is standard deviation;E is expectation;
(6) step (3)-(5) are repeated, until calculating the pearson correlation coefficient of all trades mark in trade mark storehouse, then by it The descending sequence of numerical value, the trade mark made number one is the affiliated trade mark of sample to be identified.
Beneficial effects of the present invention is as follows:
1) using the statistical method of maturation, Computing Principle is simple, easily realizes;
2) it is applicable not only to provide the trade mark identification problem of element content range to be also applied for only providing constituent content reference The trade mark identification problem of value;
3) the method calculating process is simple and operation result is normalization data, dimensionless, its numerical value circle in-1 to 1 it Between, value is 1 to show that this trade mark fits like a glove with this measurement result, and in the case of other, closer to 1, numerical value shows that matching degree is the highest, Closer to-1, numerical value shows that matching degree is the lowest, this processes just to necessary follow-up data and provides conveniently.And in traditional method It is usually correlation values the biggest (or the least) and shows that matching effect is the best, and the size of numerical value does not has a fixing scope, Later stage further data process and are difficult to judge the difference between two data.
Accompanying drawing explanation
The present invention is described further with embodiment below in conjunction with the accompanying drawings;
Fig. 1 is the calculation flow chart of the present invention.
Detailed description of the invention
The present embodiment takes any alloy sample S as detected sample, and those skilled in the art are according to detected sample S's Substantially classification chooses certain trade mark storehouse comprising the trade mark belonging to it (if known S is that steel alloy then selects steel alloy trade mark storehouse;As in more detail Ground, it is known that S is that steel alloy subordinate's special-purpose steel then selects this special-purpose steel trade mark storehouse).In the present embodiment, S is certain special-purpose steel, therefore institute Selecting trade mark storehouse is this special-purpose steel trade mark storehouse, has 3 trades mark, respectively P1, P2, P3 in trade mark storehouse.
(1) coupling element set is determined
The acquisition methods having the element set of content in trade mark storehouse is:
1. take the whole elements contained by each trade mark, constitute the element set contained by this trade mark, finally give A1, A2、A3;
2. the union taking A1, A2, A3 i.e. obtains the element set A having content in trade mark storehouse, has and contain in the present embodiment in trade mark storehouse Amount element set A be: 13 (Al), 14 (Si), 15 (P), 16 (S), 22 (Ti), 23 (V), 24 (Cr), 25 (Mn), 26 (Fe), 27 (Co), 28 (Ni), 29 (Cu), 40 (Zr), 41 (Nb), 42 (Mo), 46 (Pd), 72 (Hf), 73 (Ta), 74 (W), totally 19 kinds of units Element;
The element set B that the present embodiment Instrumental is capable of identify that: from No. 22 element tis to No. 92 element U, totally 71 kinds of elements;
Take the common factor of A and B, obtain mate element set C:22 (Ti), 23 (V), 24 (Cr), 25 (Mn), 26 (Fe), 27 (Co), 28 (Ni), 29 (Cu), 40 (Zr), 41 (Nb), 42 (Mo), 46 (Pd), 72 (Hf), 73 (Ta), 74 (W), totally 15 kinds of units Element;
Owing to Fe is " surplus " element (its content range does not does in the trade mark a kind of element of clear stipulaties), in trade mark storehouse Data deficiencies thus it is not done and mates, in like manner, detecting alloy aluminum or during alloyed copper, if database data the most entirely can not to Al and Cu mates.Otherwise, if " surplus " element can also be added coupling element set by all information, participate in pearson phase relation Number calculates.Therefore in this example, final coupling element set is: 22 (Ti), 23 (V), 24 (Cr), 25 (Mn), 27 (Co), 28 (Ni), 29 (Cu), 40 (Zr), 41 (Nb), 42 (Mo), 46 (Pd), 72 (Hf), 73 (Ta), 74 (W), totally 14 kinds of elements;
(2) test sample constituent content information to be identified by spectrogrph, and extract each constituent content in coupling element set Value Xi, thus obtain actual measurement constituent content vector X, X=[X1,X2,…,Xn];Wherein, during n is coupling element set C, element is individual Number, i is positive integer, 1≤i≤n;
(3) from the constituent content upper and lower limit information that trade mark storehouse is recorded, in extraction coupling element set, each element is at certain board Upper content limit X in numbermaxiValue, lower limit XminiValue;Constituent content upper and lower limit information is according to national standard;Now initial data is received Collecting complete, details are shown in Table 1:
(4) structure actual match vector VrealWith perfect match vector Videal:
(4.1) each element is taken in the coupling element set obtained in step (3) in certain trade mark (the most first taking trade mark P1) Upper content limit XmaxiValue, lower limit XminiValue and actual measurement constituent content value X of each element of acquisition in step (2)iCompare, Calculate element at infinity content value v of each elementi, such as formula (1);
v i = X max i , ( X i ≥ X max i ) v i = X min i , ( X i ≤ X min i ) v i = X i , ( X min i ≤ X i ≤ X max i ) - - - ( 1 )
(4.2) element at infinity content value v of each element obtained according to step (4.1)i, build element at infinity content vector V, such as formula (2):
V=[v1,v2,…,vn] (2)
(4.3) according to formula (3) and formula (4), actual measurement constituent content vector X step (2) obtained and step (4.2) obtain Element at infinity content vector V merge, obtain actual match vector Vreal;By element at infinity content vector V and himself Merge, obtain perfect match vector Videal:
Vreal=[X, V] ' (3)
Videal=[V, V] ' (4)
(5) actual match vector V is calculatedrealWith perfect match vector VidealBetween pearson correlation coefficient:
Computing formula such as formula (5):
r p = cov ( V 1 , V 2 ) σ V 1 · σ V 2 = E ( V 1 V 2 ) - E ( V 1 ) E ( V 2 ) E ( V 1 2 ) - E 2 ( V 1 ) E ( V 2 2 ) - E 2 ( V 2 ) - - - ( 5 )
In formula: rpFor pearson correlation coefficient;Cov is covariance;σ is standard deviation;E is expectation;
(6) step (3)-(5) are repeated, until calculating the pearson correlation coefficient of all trades mark in trade mark storehouse, then by it The descending sequence of numerical value, it is clear that the trade mark of detected sample S be most possibly P1, secondly for P2, P3, as shown in table 2:
Calculating process of the present invention is simple and operation result is normalization data, dimensionless, its numerical value circle between-1 to 1, Value is 1 to show that this trade mark fits like a glove with this measurement result, and in the case of other, closer to 1, numerical value shows that matching degree is the highest, number Closer to-1, value shows that matching degree is the lowest, this processes just to necessary follow-up data and provides conveniently.And in traditional method one As be that correlation values the biggest (or the least) shows that matching effect is the best, and the size of numerical value does not has a fixing scope, after Phase further data process and are difficult to judge the difference between two data.

Claims (1)

1. an alloy designations recognition methods based on pearson correlation coefficient, it is characterised in that specifically include following steps:
(1) coupling element set is determined;
Taking certain alloy sample is sample to be identified, if trade mark storehouse has n the trade mark, and the respectively trade mark 1, the trade mark 2 ... trade mark n;
Take the whole elements contained by each trade mark, constitute the element set contained by this trade mark, finally give A1, A2 ... An;
Take A1, A2 ... the union of An i.e. obtains the element set A having content in trade mark storehouse;
Take the common factor of the element set B having the element set A of content and spectrogrph to be capable of identify that in trade mark storehouse, obtain mating element set C.
(2) test sample constituent content information to be identified by spectrogrph, and extract each constituent content value X in coupling element seti, And then obtain actual measurement constituent content vector X, X=[X1,X2,…,Xn], wherein, n is the number of element in coupling element set C, and i is Positive integer, 1≤i≤n.
(3) from the constituent content upper and lower limit information that trade mark storehouse is recorded, in extraction coupling element set, each element is in certain trade mark Upper content limit XmaxiValue, lower limit XminiValue.
(4) structure actual match vector VrealWith perfect match vector Videal:
(4.1) each element upper content limit X in certain trade mark in the coupling element set obtained in step (3) is takenmaxiValue, lower limit XminiValue and actual measurement constituent content value X of each element of acquisition in step (2)iComparing, the element at infinity calculating each element contains Value vi, such as formula (1);
v i = X max i , ( X i ≥ X max i ) v i = X min i , ( X i ≤ X min i ) v i = X i , ( X min i ≤ X i ≤ X max i ) - - - ( 1 )
(4.2) element at infinity content value v of each element obtained according to step (4.1)i, build element at infinity content vector V, as Formula (2):
V=[v1,v2,…,vn] (2)
(4.3) according to formula (3) and formula (4), the reason that actual measurement constituent content vector X step (2) obtained and step (4.2) obtain Think that constituent content vector V merges, obtain actual match vector Vreal;Element at infinity content vector V is carried out with himself Merge, obtain perfect match vector Videal:
Vreal=[X, V] ' (3)
Videal=[V, V] ' (4)
(5) actual match vector V is calculatedrealWith perfect match vector VidealBetween pearson correlation coefficient: computing formula such as formula (5):
r p = cov ( V 1 , V 2 ) σ V 1 · σ V 2 = E ( V 1 V 2 ) - E ( V 1 ) E ( V 2 ) E ( V 1 2 ) - E 2 ( V 1 ) E ( V 2 2 ) - E 2 ( V 2 ) - - - ( 5 )
In formula: rpFor pearson correlation coefficient;Cov is covariance;σ is standard deviation;E is expectation.
(6) step (3)-(5) are repeated, until calculating the pearson correlation coefficient of all trades mark in trade mark storehouse, then by its numerical value Descending sequence, the trade mark made number one is the affiliated trade mark of sample to be identified.
CN201610635461.5A 2016-08-04 2016-08-04 Alloy designations recognition methods based on pearson related coefficient Active CN106250527B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610635461.5A CN106250527B (en) 2016-08-04 2016-08-04 Alloy designations recognition methods based on pearson related coefficient

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610635461.5A CN106250527B (en) 2016-08-04 2016-08-04 Alloy designations recognition methods based on pearson related coefficient

Publications (2)

Publication Number Publication Date
CN106250527A true CN106250527A (en) 2016-12-21
CN106250527B CN106250527B (en) 2019-04-16

Family

ID=58077861

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610635461.5A Active CN106250527B (en) 2016-08-04 2016-08-04 Alloy designations recognition methods based on pearson related coefficient

Country Status (1)

Country Link
CN (1) CN106250527B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018232613A1 (en) * 2017-06-21 2018-12-27 广东虚拟现实科技有限公司 Light source identification method and device
CN109402924A (en) * 2018-12-28 2019-03-01 浙江理工大学上虞工业技术研究院有限公司 A method of improving dyeing process accuracy

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090076739A1 (en) * 2007-08-27 2009-03-19 Pocajt Viktor Method and system to identify metal alloys
CN103267834A (en) * 2013-05-19 2013-08-28 山东出入境检验检疫局检验检疫技术中心 Comprehensive detection and judgment system and method for quality of cast tin-lead solder product
CN105678329A (en) * 2016-01-04 2016-06-15 聚光科技(杭州)股份有限公司 Method for identifying designations

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090076739A1 (en) * 2007-08-27 2009-03-19 Pocajt Viktor Method and system to identify metal alloys
CN103267834A (en) * 2013-05-19 2013-08-28 山东出入境检验检疫局检验检疫技术中心 Comprehensive detection and judgment system and method for quality of cast tin-lead solder product
CN105678329A (en) * 2016-01-04 2016-06-15 聚光科技(杭州)股份有限公司 Method for identifying designations

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018232613A1 (en) * 2017-06-21 2018-12-27 广东虚拟现实科技有限公司 Light source identification method and device
CN109478237A (en) * 2017-06-21 2019-03-15 广东虚拟现实科技有限公司 Light source recognition methods and device
CN109478237B (en) * 2017-06-21 2022-02-22 广东虚拟现实科技有限公司 Light source identification method and device
CN109402924A (en) * 2018-12-28 2019-03-01 浙江理工大学上虞工业技术研究院有限公司 A method of improving dyeing process accuracy

Also Published As

Publication number Publication date
CN106250527B (en) 2019-04-16

Similar Documents

Publication Publication Date Title
CN104374738B (en) A kind of method for qualitative analysis improving identification result based on near-infrared
CN101809619B (en) Physical property value estimating system, age estimating system, gender estimating system, age/gender estimating system, and physical property value estimating method
Saerens et al. Adjusting the outputs of a classifier to new a priori probabilities: a simple procedure
CN104008375B (en) The integrated face identification method of feature based fusion
CN102213759B (en) Characteristic matching method of underground water target based on power spectrum
CN102163281B (en) Real-time human body detection method based on AdaBoost frame and colour of head
CN107153848A (en) Instrument image automatic identifying method based on OpenCV
CN105044590A (en) Single measurement node simulation circuit fault diagnosis method
CN103226714B (en) Based on the sparse coding method strengthened compared with unitary Item coefficient
CN103076317B (en) Liquor vintage identification method
CN101498661A (en) Infrared spectrum characteristic extraction method for high-precision discriminating variety, producing area and growth mode of traditional Chinese medicinal materials
CN104834923B (en) Fingerprint image method for registering based on global information
CN102194106B (en) Human face recognition method used in door access system
CN109784383A (en) A kind of rail cracks recognition methods based on figure characteristic of field and DS evidence theory fusion
CN107145895A (en) Public security crime class case analysis method based on k means algorithms
CN106250527A (en) Alloy designations recognition methods based on pearson correlation coefficient
CN106444665A (en) Fault classification diagnosis method based on non-Gaussian similarity matching
CN106096571A (en) A kind of based on EMD feature extraction with the cell sorting method of rarefaction representation
CN107423715A (en) A kind of footprint automatic identifying method based on multiple features combining decision-making
Vieira et al. Characterization of welding defects by fractal analysis of ultrasonic signals
CN109297928B (en) A kind of method and system detecting soy sauce quality
CN104573668B (en) Facial color and luster adaptability automatic identifying method based on spectral reflectivity
CN101324544A (en) Method for recognizing sample using characteristic fingerprint pattern
CN108776801A (en) It is a kind of based on owing to determine the analog circuit fault features extracting method of blind source separating
CN107179758A (en) A kind of dynamic signal parameter discrimination method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220909

Address after: 318000 room 211, building A13, Xingxing electronic industry base, No. 258, Hongjia street, Jiaojiang District, Taizhou City, Zhejiang Province

Patentee after: Taizhou gaoshitong Intelligent Technology Co.,Ltd.

Address before: No.1 Xingye Road, Huzhen Town, Jinyun County, Lishui City, Zhejiang Province

Patentee before: TEC SONDE ENERGY TECHNOLOGY AND SERVICE Co.,Ltd.

TR01 Transfer of patent right