WO2020133954A1 - Digital performance analysis method and device - Google Patents

Digital performance analysis method and device Download PDF

Info

Publication number
WO2020133954A1
WO2020133954A1 PCT/CN2019/091610 CN2019091610W WO2020133954A1 WO 2020133954 A1 WO2020133954 A1 WO 2020133954A1 CN 2019091610 W CN2019091610 W CN 2019091610W WO 2020133954 A1 WO2020133954 A1 WO 2020133954A1
Authority
WO
WIPO (PCT)
Prior art keywords
metal
sampling data
product
group
detection rate
Prior art date
Application number
PCT/CN2019/091610
Other languages
French (fr)
Chinese (zh)
Inventor
徐东
吴正
Original Assignee
帝沃检测技术(上海)有限公司
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 帝沃检测技术(上海)有限公司 filed Critical 帝沃检测技术(上海)有限公司
Publication of WO2020133954A1 publication Critical patent/WO2020133954A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N27/00Investigating or analysing materials by the use of electric, electrochemical, or magnetic means
    • G01N27/72Investigating or analysing materials by the use of electric, electrochemical, or magnetic means by investigating magnetic variables
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01VGEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS
    • G01V3/00Electric or magnetic prospecting or detecting; Measuring magnetic field characteristics of the earth, e.g. declination, deviation
    • G01V3/38Processing data, e.g. for analysis, for interpretation, for correction
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Definitions

  • the invention relates to the field of metal detectors, in particular to a digital performance analysis method and equipment.
  • the signal value of a normal product may jump within 100, when mixed with a certain size of metal foreign objects (such as 1.5mm), it will produce a larger signal that may be 300 or even 500.
  • the set threshold is 300, then any product whose signal value exceeds 300 is considered unqualified, that is, the metal detector determines that it has metal; at the same time, due to various reasons, even if the same foreign object passes repeatedly
  • the signal value generated each time is also different.
  • the current threshold setting is usually set according to the user's experience, but this threshold selected based on experience is different due to the uncertainty of the metal detector, the use environment and the feeling of each person.
  • the purpose of the present invention is to provide a digital performance analysis method and equipment, which selects a threshold based on reliable quantitative data, which not only meets the needs of low false detection rate but also realizes scientific monitoring of low missed detection rate.
  • a digital performance analysis method includes: acquiring a set of metal-free product sampling data and at least one set of metal-containing product sampling data; based on the metal-free product sampling data and the metal-containing product sampling data Distribution rule, calculate the product misdetection rate group corresponding to the metal-free product sampling data and the missing detection rate group corresponding to each group of metal-containing product sampling data; according to the product misdetection rate group, each group contains Metal product sampling data corresponding to the requirements of the missed detection rate group and false detection missed detection rate, select the corresponding value as the threshold.
  • appropriate thresholds are selected according to the requirements of false detection rate and missed detection rate, so that the selection of thresholds is supported by effective quantitative data ,
  • the selected threshold is more in line with the actual use requirements, reduce the false detection rate, missed detection rate, improve the monitoring efficiency of product quality and the quality of quality management work.
  • the product misdetection rate group corresponding to the metal-free product sampling data and each group of metal-containing product sampling are calculated
  • the missing detection rate group corresponding to each data includes: when the sampling data of the metal-free product and the sampling data of the metal-containing product conform to the normal distribution law, according to a preset normal formula, a preset limit parameter, the Sampling data of metal-free products and sampling data of each of the metal-containing products to calculate the product misdetection rate group corresponding to the metal-free product sampling data and the corresponding missing detection of each group of metal-containing product sampling data Rate group.
  • a preset normal formula may be used to calculate the missed detection rate group and the false detection rate group.
  • the preset limit parameter, the metal-free product sampling data and each of the metal-containing product sampling data the corresponding data of the metal-free product sampling data is calculated
  • the product false detection rate group and the corresponding missing detection rate group of each group of metal-containing product sampling data include: according to the metal-free product sampling data, calculate the corresponding product (signal) average and product standard deviation; For each group of metal-containing product sampling data, calculate the metal (signal) average and metal standard deviation corresponding to each group of metal-containing product sampling data; according to the product average, the product standard deviation, The preset limit parameter and the preset normal formula to calculate the product false detection rate group corresponding to the metal-free product sampling data; according to the preset limit parameter, the preset normal formula and each group of the The metal mean value and metal standard deviation corresponding to the metal-containing product sampling data are respectively calculated to obtain the missing detection rate group corresponding to each group of metal-containing product sampling data.
  • the preset limit parameters include: a minimum threshold, a maximum threshold, and a threshold interval value.
  • the setting of the maximum/small threshold can eliminate unnecessary data calculation and reduce the amount of calculation.
  • selecting the corresponding value as the threshold includes: according to each group containing Metal product sampling data corresponding to the missed detection rate group and the product misdetection rate group, draw a corresponding graph; according to the false detection missed detection rate requirements, select the corresponding value from the graph as a threshold.
  • the step S1 obtaining a set of metal-free product sampling data and at least one set of metal-containing product sampling data includes: when a certain time interval is reached, obtaining a set of metal-free product sampling data and at least one set of Metal product sampling data;
  • Step S2 calculates the product false detection rate corresponding to the metal-free product sampling data according to the distribution rule of the metal-free product sampling data and the metal-containing product sampling data
  • the missing detection rate group corresponding to the sampling data of each group and each group of metal-containing product sampling data includes: according to the distribution rule of the sampling data of the metal-free product and the sampling data of the metal-containing product obtained at a certain time interval, the calculated Describe the product false detection rate group corresponding to the metal-free product sampling data and the corresponding missing detection rate group for each group of metal-containing product sampling data.
  • the sampling data is periodically obtained, and the threshold value is periodically monitored, so that the threshold value of the metal detector meets actual production requirements.
  • the step S3 selects the corresponding value as the threshold according to the requirements of the product misdetection rate group, each group of metal-containing product sampling data corresponding to the missed detection rate group and the false detection missed detection rate, and further includes: The set threshold meets the requirements of the false detection and miss detection rate, this threshold is still used; when the set threshold does not meet the requirements of the false detection and miss detection rate, according to the product false detection rate group, each group contains metal The product sampling data corresponding to the requirements of the missed detection rate group and the false detection missed detection rate, re-select the corresponding value to update or prompt to update the threshold.
  • the present invention also provides a digital performance analysis device, including: an acquisition module for acquiring a set of metal-free product sampling data and at least one set of metal-containing product sampling data; a calculation module for calculating according to the metal-free product Product sampling data and the distribution law of the metal-containing product sampling data, the product misdetection rate group corresponding to the metal-free product sampling data and the corresponding missing detection rate of each group of metal-containing product sampling data are calculated Group; a selection module, used to select the corresponding value as the threshold according to the requirements of the product false detection rate group, the corresponding leakage detection rate group and the false detection leakage detection rate of each group of metal-containing product sampling data.
  • an appropriate threshold is selected according to the requirements of false detection and missed detection rate, so that the selection of the threshold is supported by effective quantitative data.
  • the threshold is more in line with the actual use requirements, reducing the false detection rate and missed detection rate, and improving the monitoring of product quality.
  • the calculation module is configured to calculate a product false detection rate group corresponding to the metal-free product sampling data according to the distribution rule of the metal-free product sampling data and the metal-containing product sampling data
  • the missing detection rate group corresponding to each group of metal-containing product sampling data includes: the calculation module, when the metal-free product sampling data and the metal-containing product sampling data conform to the normal distribution law, according to A preset normal formula, a preset limit parameter, the sampling data of the metal-free product and the sampling data of each metal-containing product, and the product misdetection rate group corresponding to the sampling data of the metal-free product is calculated Each group of metal-containing product sampling data corresponds to the corresponding missed detection rate group.
  • the calculation module calculates the metal-free product sampling data according to a preset normal formula, a preset limit parameter, the metal-free product sampling data and each metal-containing product sampling data
  • the corresponding product false detection rate group and the corresponding missing detection rate group for each group of metal-containing product sampling data include: the calculation module, calculating the corresponding product average and product standard based on the metal-free product sampling data Difference; and, according to each group of the metal-containing product sampling data, calculate the metal mean and metal standard deviation corresponding to each group of the metal-containing product sampling data; and, according to the product average, the product The standard deviation, the preset limit parameter and the preset normal formula to calculate the product false detection rate group corresponding to the metal-free product sampling data; and, according to the preset limit parameter and the preset normal formula
  • the metal mean value and metal standard deviation corresponding to the sampling data of each group of metal-containing products are respectively calculated, and the missed detection rate group corresponding to the sampling data of each group of metal-containing products is calculated respectively.
  • the selection module is configured to select the corresponding value as the threshold according to the requirements of the product false detection rate group, the corresponding missing detection rate group and the false detection leakage detection rate of each group of metal-containing product sampling data, including:
  • the drawing sub-module is used to draw the corresponding curve graph according to the corresponding missing detection rate group and the product false detection rate group of each group of metal-containing product sampling data; It is required to select the corresponding value from the graph as the threshold.
  • a camera module for real-time acquisition of the working state of the metal detector; the acquisition module is further used for identifying a set of metal-free product sampling data based on the real-time acquired working state of the metal detector and Sampling data for at least one set of metal-containing products.
  • the working state of the metal detector is obtained through the camera module to obtain the sampling data, the application range is wider, and the compatibility is higher.
  • the acquisition module is further configured to acquire a set of product sampling data containing no metal and at least one set of product sampling data containing metal when a certain time interval is reached.
  • the selection module is further configured to use the threshold when the set threshold meets the requirements of the false detection and miss detection rate; and, when the set threshold does not meet the requirements of the false detection and miss detection rate, Then, according to the requirements of the product misdetection rate group, each group of metal-containing product sampling data corresponding to the missed detection rate group and the false detection missed detection rate, the corresponding value is reselected to update or prompt to update the threshold.
  • the invention selects a suitable threshold value according to the requirements of the false detection rate and the missed detection rate according to the distribution rules of the metal-free product sampling data and the metal-containing product sampling data, so that the selection of the threshold is supported by effective quantitative data, and the selected threshold It is more in line with the actual use requirements, reduces the false detection rate, controls the missed detection rate, and improves product quality monitoring.
  • FIG. 3 is an interface display diagram of an embodiment of sampling data and preset limit parameters of the present invention.
  • 5 is a schematic diagram of an embodiment of the lowest limit value when selecting a threshold
  • FIG. 6 is a schematic diagram of the highest limit value when selecting the threshold value in FIG. 5;
  • FIG. 7 is a schematic structural diagram of an embodiment of a digital performance analysis device of the present invention.
  • FIG. 8 is a schematic structural diagram of another embodiment of the digital performance analysis device of the present invention.
  • FIG. 9 is a flowchart of another embodiment of the digital performance analysis method of the present invention.
  • the working principle of the metal detector is electromagnetic induction technology. There is a specially designed electromagnetic coil inside the metal detector. When the metal ball passes, it will cause changes in the electromagnetic field. The receiving circuit part detects this weak signal change, combined with a certain technology Means, through certain analysis and processing, the final determination of whether there is metal foreign matter in the product, and the threshold setting is the basis for the metal detector judgment.
  • the false detection rate refers to the rate at which normal products are judged to contain metals when the threshold is too low.
  • the missed detection rate is the rate at which products containing metals are judged to be normal products when the threshold is too high, thus failing to detect. Therefore, the reasonable setting of the threshold is very important.
  • the set threshold is getting lower and lower. This threshold has been approaching the normal signal value area of the product, such as 200, 190, 180, 130, 120, 100, 90, etc. Threshold After a gradual decrease, it will lead to an increase in false detections. Excessively high false detection rates will bring greater economic losses. The selection of thresholds based on experience alone cannot meet production needs and improve quality.
  • the digital performance analysis method is equivalent to an arithmetic program, which can be installed on the metal detector, or can be installed on another independent device to serve each metal detector.
  • FIG. 1 shows an embodiment of the present invention.
  • a digital performance analysis method includes:
  • S101 Obtain a set of sampling data of products containing no metal and at least one set of sampling data of products containing metal.
  • the sampling data of products without metal refers to the data obtained by the product itself passing through the metal detector.
  • sampling data refers to the data contained in the products containing related metal-over-metal detectors.
  • the implementation method is to put three different metals into the product to test the corresponding groups of metal-containing Product sampling data.
  • the number of sampled data in each group is set according to the actual accuracy, and can be any number.
  • metal balls for example: 1.5mm diameter iron beads, 2.0mm non-ferrous metal beads, 2.5mm stainless steel beads
  • the number of sampled data should be as much as possible, for example: set 200, 150, etc. in each group to improve Accuracy.
  • metal detectors due to the current technical reasons, the detection of metal detectors will be different due to the different shapes of metal foreign objects. For example: a wire with a diameter of 1mm and a length of 10mm may be detected at an angle , But it may not be detected after rotating a certain angle (for example: 90 degrees), so it is recommended to use the sphere as a standard.
  • the sampled data is obtained by the metal detector.
  • the program corresponding to the digital performance analysis method runs on the metal detector, it can be called directly; when this program is run on equipment other than the metal detector, it can be sent by the metal detector. It can also be identified by the camera module during the monitoring process of the metal detector.
  • the specific acquisition method of sampling data is not limited here.
  • S102 calculates the product misdetection rate group corresponding to the metal-free product sampling data and the missing detection corresponding to each group of metal-containing product sampling data according to the distribution rules of the metal-free product sampling data and the metal-containing product sampling data Rate group.
  • the product misdetection rate group is composed of the product misdetection rate corresponding to the sampling data of products containing no metal at different thresholds; a group of missed detection rate group refers to the corresponding missed detection of a group of metal-containing product sampling data at different thresholds Rate composition.
  • S103 selects the corresponding value as the threshold according to the product misdetection rate group, the corresponding misdetection rate group corresponding to each group of metal-containing product sampling data, and the actual misdetection miss detection rate requirements.
  • the false detection and missed detection rate requirements are determined according to the actual situation, for example: the false detection rate is required to be less than 0.1%, and the missed detection rate is also required to be less than 0.1%. Choose the value that satisfies less than 0.1% at the same time as the threshold.
  • S103 selects the corresponding value as the threshold according to the requirements of the product misdetection rate group, the corresponding misdetection rate group and the misdetection miss rate of each metal-containing product sampling data, including:
  • the calculated missed detection rate groups and product misdetection rate groups are drawn into corresponding graphs, so that users can intuitively understand the false detection rate and missed detection rate corresponding to each value, and understand the threshold value conveniently and quickly. Choose a reason.
  • the product false detection rate group is drawn to the left curve, and the three groups of metal-containing product sampling data corresponding to the missing detection rate group are drawn to the right three curves, when the false detection rate is required to be below 1 ⁇ It can be seen from Figures 5 and 6 that as long as the t value is set between 233 and 327, the product false detection rate of less than 1 ⁇ and the metal leakage detection rate can be ensured at the same time to ensure good production.
  • the threshold can be increased appropriately while ensuring the safe detection rate of the metal, as long as it does not exceed 327, that is, the adjustable range of the site is allowed to be 233-327, rather than relying on people The sense that the quantified numerical range improves quality control standards and quality.
  • an appropriate threshold is selected according to the requirements of the false detection rate and the missing detection rate, so that the selection of the threshold is supported by effective quantitative data.
  • the threshold value is more in line with the actual use requirements, reducing the false detection rate and missed detection rate, and improving the more accurate monitoring of product quality.
  • FIG. 2 shows another embodiment of the present invention.
  • a digital performance analysis method includes:
  • S201 acquires a set of sampling data of products containing no metal and at least one set of sampling data of products containing metal.
  • S202 calculates the product false detection rate group corresponding to the metal-free product sampling data and the missed detection corresponding to each group of metal-containing product sampling data according to the distribution rules of the metal-free product sampling data and the metal-containing product sampling data Rate groups include:
  • the preset normal formula and the preset limit parameters include: minimum threshold, maximum threshold and threshold interval value
  • metal-free product sampling data and each metal-containing product sampling data calculate the product misdetection rate group corresponding to the metal-free product sampling data and the corresponding missing detection rate group for each group of metal-containing product sampling data .
  • the preset limit parameter refers to the threshold range of the metal detector, and an appropriate minimum threshold, maximum threshold, and threshold interval value are set according to actual detection requirements.
  • the maximum threshold can be set to 1500, the minimum threshold is 5, and the threshold interval value is 1.
  • these data can be flexibly changed, for example: the maximum threshold is set to 1400, the minimum threshold is 10, the threshold interval value is 3 and so on. If the maximum threshold exceeds the value corresponding to the largest metal block, it is meaningless, and only unnecessary calculations are done. Therefore, the corresponding preset limit parameters can be set according to the actual metal detection requirements.
  • the normal distribution law has its corresponding statistical formula, which can be set as a preset normal formula for subsequent calculations.
  • S212 calculates according to a preset normal formula, a preset limit parameter (the preset limit parameter includes: a minimum threshold, a maximum threshold, and a threshold interval value), sampling data of metal-free products and sampling data of each metal-containing product
  • a preset limit parameter includes: a minimum threshold, a maximum threshold, and a threshold interval value
  • sampling data of metal-free products and sampling data of each metal-containing product include:
  • S2121 calculates the corresponding product average and product standard deviation based on the sampling data of products that do not contain metals
  • S2122 calculates the metal average and metal standard deviation corresponding to each group of metal sampling data according to the metal sampling data of each group.
  • the average value is the sum of the sampled data divided by the total number.
  • the standard deviation is calculated according to the following formula:
  • is the standard deviation
  • is the average value
  • ⁇ i is the ith data in a group of product sampling data
  • N is the total number of a group of product sampling data.
  • S2123 calculates the product false detection rate group corresponding to the metal-free product sampling data based on the product average, product standard deviation, preset limit parameters and preset normal formula;
  • S2124 calculates the leak detection rate group corresponding to each group of metal-containing product sampling data according to the preset limit parameters, the preset normal formula, and the respective metal average and metal standard deviation of each group of metal-containing product sampling data.
  • the preset normal formula is:
  • is the standard deviation
  • is the average value
  • x is the threshold
  • the threshold interval value is used for incremental calculation
  • F is the calculated probability.
  • Substituting different values of x into the above formula can calculate the sum of the probabilities less than or equal to the value of x. For products, values below x are normal, and values above x are false detections; for metals, values above x The value belongs to detection, and the value lower than x belongs to missing detection.
  • S203 selects the corresponding value as the threshold according to the product misdetection rate group, the corresponding misdetection rate group of each metal-containing product sampling data, and the actual misdetection leak detection rate requirements.
  • S203 selects the corresponding value as the threshold according to the product misdetection rate group, the corresponding misdetection rate group of each metal-containing product sampling data, and the false detection miss detection rate requirements, including:
  • S213 draws the corresponding curve chart according to the corresponding missing detection rate group and product false detection rate group of each group of metal-containing product sampling data; S223 selects the corresponding value from the curve chart as the threshold according to the requirements of the false detection leakage detection rate .
  • a digital performance analysis method includes:
  • S301 When a certain time interval is reached, acquire (preferably, the closest to the current time) a set of metal-free product sampling data and at least one set of metal-containing product sampling data.
  • S302 calculates the product false detection rate group corresponding to the metal-free product sampling data and each group of metal-containing product sampling data according to the distribution rules of the metal-free product sampling data and the metal-containing product sampling data obtained at a certain time interval The corresponding missed detection rate group.
  • S303 selects the corresponding value as the threshold according to the requirements of the product misdetection rate group, the corresponding misdetection rate group and the misdetection miss rate of each metal-containing product sampling data.
  • the threshold value selection in this embodiment may be periodically performed when actually used, and when a certain time interval is set sufficiently small, real-time monitoring may be achieved.
  • the metal detector selects a set of metal-free product sampling data and at least one set of metal-containing product sampling data based on the sampling data obtained in real time, and performs real-time/periodical calculations. Choose reasonable data as the threshold.
  • the metal detector When other equipment is used to monitor the threshold of the metal detector, it can monitor the metal detector in real time, obtain each sampling data in real time, select a set of product sampling data without metal and at least one set of product sampling data with metal for real-time /Periodic calculation, select reasonable data as threshold for metal detector.
  • a certain amount of data closest to the current time is taken for analysis, so that the calculation result is more in line with the current situation.
  • each group of metal-containing product sampling data corresponding to the missed detection rate group and the false detection missed detection rate selecting the corresponding value as the threshold includes:
  • the metal detector has been set with a threshold (may be a value set based on experience or a value selected based on the result calculated in real time), and put into actual product monitoring
  • a threshold may be a value set based on experience or a value selected based on the result calculated in real time
  • the currently set threshold may not meet the low miss detection rate of the metal and the low false detection rate of the product.
  • the product false detection rate group corresponding to the metal-free product sampling data is calculated and each group of metal-containing product sampling data corresponds to each The missed detection rate group includes:
  • the preset limit parameters the sampling data of metal-free products and the sampling data of each metal-containing product, The product misdetection rate group corresponding to the metal-free product sampling data and the missing detection rate group corresponding to each group of metal-containing product sampling data are calculated.
  • the preset limit parameters, the metal-free product sampling data and the metal-containing product sampling data, the product false detection rate group and each corresponding to the metal-free product sampling data are calculated
  • Groups of metal-containing product sampling data corresponding to the missing detection rate group include:
  • the preset limit parameters include: minimum threshold, maximum threshold and threshold interval value
  • the preset normal formula the product error corresponding to the sample data of metal-free products is calculated Inspection rate group
  • the leak detection rate group corresponding to the sample data of each group of metal-containing products is calculated.
  • the selection of the corresponding value as the threshold includes:
  • periodic/real-time monitoring is performed on the selection of the threshold to ensure that the threshold set by the metal detector can meet the actual production needs.
  • FIG. 7 shows an embodiment of a digital performance analysis device of the present invention, including:
  • the obtaining module 10 is used to obtain a set of sampling data of products containing no metal and at least one set of sampling data of products containing metal.
  • the sampling data of products without metal refers to the data obtained by the product itself passing through the metal detector.
  • sampling data refers to the data contained in the products containing related metal-over-metal detectors.
  • the implementation method is to put three different metals into the product to test the corresponding groups of metal-containing Product sampling data.
  • the number of sampled data in each group is set according to the actual accuracy, and can be any number. For example, as shown in Fig. 3, there are 4 sets of sampling data, one of which is the product sampling data of metal-free products, and the other three are the sampling data of metal-containing products. Each group has 100 data.
  • metal balls for example: 1.5mm diameter iron beads, 2.0mm non-ferrous metal beads, 2.5mm stainless steel beads.
  • metal detection ⁇ Obtained Due to the influence of various complex and inevitable objective factors, such as speed when passing, relative machine position, running track, conveyor belt, vibration, product temperature, ambient temperature, power supply voltage, atmospheric pressure, static electricity, complex electromagnetic in the workshop The environment and so on cause the signal of the metal ball to be almost the same every time it passes. Therefore, the number of sampled data should be as much as possible, for example: set 200, 150, etc. in each group to improve accuracy.
  • metal detectors due to the current technical reasons, the detection of metal detectors will be different due to the different shapes of metal foreign objects. For example: a wire with a diameter of 1mm and a length of 10mm may be detected at an angle , But it may not be detected after rotating a certain angle (for example: 90 degrees), so it is recommended to use the sphere as a standard.
  • Sampling data is obtained through metal detector monitoring.
  • the program corresponding to the digital performance analysis method runs on the metal detector, it can be directly called; when this program runs on equipment other than the metal detector, it can be sent by the metal detector It can also be identified by the camera module during the monitoring process of the metal detector.
  • the specific acquisition method of sampling data is not limited here.
  • the digital performance analysis device further includes: a camera module for real-time acquisition of the working state of the metal detector; the acquisition module 10 is further used for The working status of the metal detector acquired in real time identifies a set of product sampling data without metal and at least one set of product sampling data with metal.
  • the camera module is composed of several camera devices, and each camera device is used to monitor one or more metal detectors, and it photographs the working state of the metal detector (for example: test results when testing products and products containing metals)
  • Recognition and interpretation by the acquisition module 10 for example, the conversion of pictures to values according to the captured pictures, to obtain a set of product sampling data without metal and at least one set of product sampling data with metal.
  • the functions of the acquisition module 10, the calculation module 20, and the selection module 30 can be performed by one computer/server.
  • the camera device is connected to the computer/server (for example: each camera transmits the captured video signal to the computer/server via a network device through a high-speed data communication line.
  • the high-speed data communication line can be Ethernet, corporate LAN, or the Internet , Can also be various high-speed communication lines including USB) to ensure data transmission between the two.
  • the camera device can also work independently, and it automatically reminds when it finds that the false detection rate and the missing detection rate of the metal detector need to be adjusted.
  • the calculation module 20 is used to calculate the product misdetection rate group corresponding to the metal-free product sampling data and each group of metal-containing product sampling data according to the distribution rule of the metal-free product sampling data and the metal-containing product sampling data The corresponding missed detection rate group.
  • the selection module 30 is used to select the corresponding value as the threshold according to the requirements of the product false detection rate group, the corresponding missing detection rate group of each group of metal-containing product sampling data, and the actual false detection leakage detection rate.
  • the false detection and missed detection rate requirements are determined according to the actual situation, for example: the false detection rate is required to be less than 0.1%, and the missed detection rate is also required to be less than 0.1%. Choose the value that satisfies less than 0.1% at the same time as the threshold.
  • the selection module 30 is configured to select the corresponding value as the threshold according to the product false detection rate group, the corresponding missing detection rate group of each group of metal-containing product sampling data, and the actual false detection missing detection rate requirements:
  • the drawing sub-module 31 is used to draw a corresponding graph according to the corresponding missing detection rate group and product false detection rate group of each group of metal-containing product sampling data;
  • the selection sub-module 32 is used to select the corresponding value from the graph as the threshold according to the false detection and miss detection rate requirements.
  • the calculated missed detection rate groups and product misdetection rate groups are drawn into corresponding graphs, so that users can intuitively understand the false detection rate and missed detection rate corresponding to each value, and understand the threshold value conveniently and quickly. Choose a reason.
  • an appropriate threshold is selected according to the requirements of the false detection rate and the missing detection rate, so that the selection of the threshold is supported by effective quantitative data.
  • the threshold is more in line with the actual use requirements, reducing the false detection rate and the missed detection rate, and improving the monitoring of product quality.
  • FIG. 8 shows another embodiment of a digital performance analysis device, including:
  • the obtaining module 10 is configured to obtain a set of product sampling data without metal and at least one set of product sampling data with metal.
  • the digital performance analysis device further includes: a camera module 40 for acquiring the working state of the metal detector in real time; the acquisition module 10 It is further used to identify a set of metal-free product sampling data and at least one set of metal-containing product sampling data based on the working status of the metal detector acquired in real time.
  • the calculation module 20 is used to calculate the product misdetection rate group corresponding to the metal-free product sampling data and each group of metal-containing product sampling data according to the distribution rule of the metal-free product sampling data and the metal-containing product sampling data
  • the corresponding missed detection rate groups include:
  • the calculation module 20 when the sampling data of the product containing no metal and the sampling data of the product containing metal conform to the normal distribution law, according to the preset normal formula and the preset limit parameters (the preset limit parameters include: the minimum threshold, the maximum threshold and (Threshold interval value), metal-free product sampling data and each metal-containing product sampling data, the product misdetection rate group corresponding to the metal-free product sampling data and the corresponding leakage of each group of metal-containing product sampling data are calculated. Inspection rate group.
  • the preset limit parameter refers to the threshold range of the metal detector, and an appropriate minimum threshold, maximum threshold, and threshold interval value are set according to actual detection requirements.
  • the maximum threshold can be set to 1500, the minimum threshold is 5, and the threshold interval value is 1.
  • these data can be flexibly changed, for example: the maximum threshold is set to 1400, the minimum threshold is 10, the threshold interval value is 3 and so on.
  • the normal distribution law has its corresponding statistical formula, which can be set as a preset normal formula for subsequent calculations.
  • the calculation module 20 calculates the product false detection rate corresponding to the metal-free product sampling data according to the preset normal formula, the preset limit parameters, the metal-free product sampling data and the metal-containing product sampling data
  • the missing detection rate groups corresponding to the sampling data of each group and each group of metal-containing products include:
  • the calculation module 20 calculates the corresponding product average and product standard deviation based on the sampling data of the metal-free products; and, based on the sampling data of each group of metal-containing products, calculates the corresponding metal average of each group of metal-containing product sampling data Value and metal standard deviation; and, based on the product average, product standard deviation, preset limit parameters and preset normal formula, the product misdetection rate group corresponding to the product sampling data is calculated; and, according to the preset limit parameters, Suppose the normal formula and the metal mean value and metal standard deviation corresponding to the sampling data of each group of metal-containing products, respectively, and calculate the missing detection rate group corresponding to each group of metal-containing product sampling data.
  • the average value is the sum of the sampled data divided by the total number. For example: there are 150 data in a set of product sampling data, then add the 150 data and divide by 150 to get the average value of the product. Similarly, the average value of the metal corresponding to each group of metal sampling data.
  • the standard deviation is calculated according to the formula in the corresponding method embodiment described above. Please refer to the corresponding method embodiment, which will not be repeated here.
  • the preset normal formula please refer to the corresponding method embodiment. Substituting different values of x into the preset normal formula can calculate the sum of the probabilities less than or equal to the value of x. For products, below the value of x is normal, high The x value is a false detection; for metals, a value higher than x is detected, and a value lower than x is missed. For specific examples, please refer to the corresponding method embodiments, which will not be repeated here.
  • the selection module 30 is used to select the corresponding value as the threshold according to the product misdetection rate group, the corresponding misdetection rate group and the misdetection miss detection rate requirements of each group of metal-containing product sampling data.
  • the selection module 30 is configured to select the corresponding value as the threshold based on the product misdetection rate group, the corresponding misdetection rate group and the misdetection miss rate requirement of each metal-containing product sampling data, including:
  • the drawing sub-module 31 is used to draw a corresponding graph according to the corresponding missing detection rate group and product false detection rate group of each group of metal-containing product sampling data;
  • the selection sub-module 32 is used to select the corresponding value from the graph as the threshold according to the false detection and miss detection rate requirements.
  • the metal detector can be monitored by cameras and other devices to obtain sampling data, and the implementation methods are diversified to meet the application requirements of different occasions.
  • a digital performance analysis device includes:
  • the acquiring module 10 is configured to acquire (preferably, the closest to the current time) a set of metal-free product sampling data and at least one set of metal-containing product sampling data when a certain time interval is reached;
  • the calculation module 20 is used to calculate the product misdetection rate group corresponding to the metal-free product sampling data and each group of metal-containing product sampling data according to the distribution rule of the metal-free product sampling data and the metal-containing product sampling data The corresponding missing detection rate group;
  • the selection module 30 is used to select the corresponding value as the threshold according to the requirements of the product misdetection rate group, the corresponding misdetection rate group and the misdetection miss rate of each metal-containing product sampling data.
  • the threshold value selection in this embodiment may be periodically performed when actually used, and when a certain time interval is set sufficiently small, real-time monitoring may be achieved.
  • the metal detector selects a set of metal-free product sampling data and at least one set of metal-containing product sampling data based on the sampling data obtained in real time, and performs real-time/periodical calculations. Choose reasonable data as the threshold.
  • the metal detector When other equipment is used to monitor the threshold of the metal detector, it can monitor the metal detector in real time, obtain each sampling data in real time, select a set of product sampling data without metal and at least one set of product sampling data with metal for real-time /Periodic calculation, giving reasonable suggestions for metal detectors as thresholds.
  • a certain amount of data closest to the current time is taken for analysis, so that the calculation result is more in line with the current situation.
  • the selection module 30 is used to select the corresponding value as the threshold according to the requirements of the product false detection rate group, the corresponding leakage detection rate group and the false detection leakage detection rate of each group of metal-containing product sampling data, including:
  • the selection module 30 is used when the set threshold meets the requirements of false detection and miss detection rate, and the threshold is still used; and, when the set threshold does not meet the requirements of false detection and miss detection rate, according to the product misdetection rate group, Each group of metal-containing product sampling data corresponds to the requirements of the missed detection rate group and the false detection missed detection rate, and re-select the corresponding value to update or prompt to update the threshold.
  • the metal detector has been set with a threshold (may be a value set based on experience or a value selected based on the result calculated in real time), and put into actual product monitoring
  • a threshold may be a value set based on experience or a value selected based on the result calculated in real time
  • the currently set threshold may not meet the low miss detection rate of the metal and the low false detection rate of the product.
  • the calculation module 20 is configured to calculate the product false detection rate group corresponding to the metal-free product sampling data and the metal-containing product sampling data distribution product corresponding to the metal-free product sampling data and each group of metal-containing products
  • the corresponding missed detection rate groups of product sampling data include:
  • Calculation module 20 when the sampling data of metal-free products and the sampling data of metal-containing products conform to the normal distribution law, according to the preset normal formula, the preset limit parameters, the sampling data of metal-free products and the metal-containing product For product sampling data, calculate the product misdetection rate group corresponding to the metal-free product sampling data and the missing detection rate group corresponding to each group of metal-containing product sampling data.
  • the calculation module 20 calculates the product misdetection corresponding to the metal-free product sampling data according to the preset normal formula, the preset limit parameters, the metal-free product sampling data and the metal-containing product sampling data
  • the rate group and each group of metal-containing product sampling data corresponding to the missing detection rate group include:
  • the calculation module 20 calculates the corresponding product average and product standard deviation based on the sampling data of the metal-free products; and, based on the sampling data of each group of metal-containing products, calculates the corresponding metal average of each group of metal-containing product sampling data Value and metal standard deviation; and, based on the product average, product standard deviation, preset limit parameters (the preset limit parameters include: minimum threshold, maximum threshold, and threshold interval value) and the preset normal formula, the calculated metal-free).
  • the preset limit parameters include: minimum threshold, maximum threshold, and threshold interval value
  • the preset normal formula the calculated metal-free
  • the selection module 30 is configured to select the corresponding value as the threshold according to the requirements of the product misdetection rate group, the corresponding misdetection rate group and the misdetection miss rate of each metal-containing product sampling data, including:
  • the drawing sub-module 31 is used to draw a corresponding graph according to the corresponding missing detection rate group and product false detection rate group of each group of metal-containing product sampling data;
  • the selection sub-module 32 is used to select the corresponding value from the graph as the threshold according to the requirement of false detection and miss detection rate.
  • the digital performance analysis device when the digital performance analysis device is a non-metal detector device, the digital performance analysis device may further include: a camera module 40 for acquiring the working state of the metal detector in real time; The obtained working state of the metal detector identifies a set of sampling data of products without metal and at least one set of sampling data of products with metal.
  • periodic/real-time monitoring is performed on the selection of the threshold to ensure that the threshold set by the metal detector can meet the actual production needs.

Abstract

Disclosed are a digital performance analysis method and device. The method comprises: acquiring a set of sample data of products containing no metal and at least one set of sample data of products containing metal; according to the distribution law of the sample data of the products containing no metal and the sample data of the products containing metal, calculating a product fall-out ratio set corresponding to the sample data of the products containing no metal and an omission ratio set corresponding to each set of sample data of the products containing metal; selecting a corresponding value as a threshold according to the product fall-out ratio set, the omission ratio set corresponding to each set of sample data of the products containing metal and the requirements of the fall-out ratio and omission ratio. By means of the method and device, the selection of a threshold is supported by effective quantized data, and a selected threshold is more in tune with actual usage requirements, thereby reducing the fall-out ratio, ensuring the omission ratio and improving the monitoring of product quality.

Description

数字性能分析方法及设备Digital performance analysis method and equipment 技术领域Technical field
本发明涉及金属探测器领域,尤其涉及一种数字性能分析方法及设备。The invention relates to the field of metal detectors, in particular to a digital performance analysis method and equipment.
背景技术Background technique
现在很多领域(例如:食品、制药、橡胶、化工等)都会监测生产过程中可能混入产品中的金属异物,其原理是:当产品中混有一定尺寸的金属异物时,金属探测器将会产生一个更大的信号,在用户使用时,通过设定不同的信号阈值让该金属探测器来实现对金属异物的监测和判断。Now many fields (for example: food, pharmaceutical, rubber, chemical, etc.) will monitor the metal foreign objects that may be mixed into the product during the production process. The principle is that when a certain size of metal foreign objects are mixed in the product, the metal detector will produce A larger signal is used by the user to set the different signal thresholds to allow the metal detector to monitor and judge metal foreign objects.
例如,正常产品的信号值可能在100以内跳动,当混有一定尺寸的金属异物时(比如1.5mm),将产生一个更大的可能是300甚至500的信号。此时,如果设定的阈值是300,那么任何信号值超过300的产品,都被认为不合格,即金属探测器判定它有金属;同时,因为各种原因的影响,即使同一个异物重复通过金属探测器,每次产生的信号值也是不同的。For example, the signal value of a normal product may jump within 100, when mixed with a certain size of metal foreign objects (such as 1.5mm), it will produce a larger signal that may be 300 or even 500. At this time, if the set threshold is 300, then any product whose signal value exceeds 300 is considered unqualified, that is, the metal detector determines that it has metal; at the same time, due to various reasons, even if the same foreign object passes repeatedly For metal detectors, the signal value generated each time is also different.
现在的阈值设定通常都是根据使用者的经验自行设置,但是这种凭经验选择的阈值在使用过程中因金属探测器的精度不同、使用环境不同以及每个人的感觉不同等各种不确定的、难以量化的因素影响,存在很大的不稳定性,没有明确的、可量化的依据,无法满足低误检率、低漏检率的高品质监测的需求。The current threshold setting is usually set according to the user's experience, but this threshold selected based on experience is different due to the uncertainty of the metal detector, the use environment and the feeling of each person. The influence of factors that are difficult to quantify, there is great instability, there is no clear and quantifiable basis, and it cannot meet the needs of high-quality monitoring with low false detection rate and low missed detection rate.
发明内容Summary of the invention
本发明的目的是提供一种数字性能分析方法及设备,根据可靠的量化数据选择阈值,既满足低误检率,又实现低漏检率的科学监测的需求。The purpose of the present invention is to provide a digital performance analysis method and equipment, which selects a threshold based on reliable quantitative data, which not only meets the needs of low false detection rate but also realizes scientific monitoring of low missed detection rate.
本发明提供的技术方案如下:The technical solutions provided by the present invention are as follows:
一种数字性能分析方法,包括:获取一组不含金属的产品采样数据和至少一组含金属的产品采样数据;根据所述不含金属的产品采样数据和所 述含金属的产品采样数据的分布规律,计算得到所述不含金属的产品采样数据对应的产品误检率组和每组含金属的产品采样数据各自对应的漏检率组;根据所述产品误检率组、每组含金属的产品采样数据各自对应的漏检率组和误检漏检率的要求,选择相应的数值作为阈值。A digital performance analysis method includes: acquiring a set of metal-free product sampling data and at least one set of metal-containing product sampling data; based on the metal-free product sampling data and the metal-containing product sampling data Distribution rule, calculate the product misdetection rate group corresponding to the metal-free product sampling data and the missing detection rate group corresponding to each group of metal-containing product sampling data; according to the product misdetection rate group, each group contains Metal product sampling data corresponding to the requirements of the missed detection rate group and false detection missed detection rate, select the corresponding value as the threshold.
在上述技术方案中,根据不含金属的产品采样数据和含金属的产品采样数据的分布规律,按照误检率、漏检率的要求选择合适的阈值,使阈值的选择得到有效的量化数据支撑,选择的阈值更符合实际使用需求,降低误检率、漏检率,提高产品质量的监测效率和品质管理工作的质量。In the above technical solutions, according to the distribution rules of sampling data of metal-free products and sampling data of metal-containing products, appropriate thresholds are selected according to the requirements of false detection rate and missed detection rate, so that the selection of thresholds is supported by effective quantitative data , The selected threshold is more in line with the actual use requirements, reduce the false detection rate, missed detection rate, improve the monitoring efficiency of product quality and the quality of quality management work.
进一步,所述的根据不含金属的产品采样数据和所述含金属的产品采样数据的分布规律,计算得到不含金属的产品采样数据对应的产品误检率组和每组含金属的产品采样数据各自对应的漏检率组包括:当所述不含金属的产品采样数据和所述含金属的产品采样数据符合正态分布规律时,根据预设正态公式、预设界限参数、所述不含金属的产品采样数据和各所述含金属的产品采样数据,计算得到所述不含金属的产品采样数据对应的产品误检率组和每组含金属的产品采样数据各自对应的漏检率组。Further, according to the distribution rule of the metal-free product sampling data and the metal-containing product sampling data, the product misdetection rate group corresponding to the metal-free product sampling data and each group of metal-containing product sampling are calculated The missing detection rate group corresponding to each data includes: when the sampling data of the metal-free product and the sampling data of the metal-containing product conform to the normal distribution law, according to a preset normal formula, a preset limit parameter, the Sampling data of metal-free products and sampling data of each of the metal-containing products to calculate the product misdetection rate group corresponding to the metal-free product sampling data and the corresponding missing detection of each group of metal-containing product sampling data Rate group.
在上述技术方案中,当符合正态分布规律时,可采用预设正态公式计算漏检率组和误检率组。In the above technical solution, when the normal distribution law is met, a preset normal formula may be used to calculate the missed detection rate group and the false detection rate group.
进一步,所述的根据预设正态公式、预设界限参数、所述不含金属的产品采样数据和各所述含金属的产品采样数据,计算得到所述不含金属的产品采样数据对应的产品误检率组和每组含金属的产品采样数据各自对应的漏检率组包括:根据所述不含金属的产品采样数据,计算对应的产品(信号的)平均值和产品标准差;根据每组所述含金属的产品采样数据,计算每组所述含金属的产品采样数据各自对应的金属(信号的)平均值和金属标准差;根据所述产品平均值、所述产品标准差、所述预设界限参数和预设正态公式,计算得到所述不含金属的产品采样数据对应的产品误检率组;根据所述预设界限参数、预设正态公式和每组所述含金属的产品采样数据各自对应的金属平均值和金属标准差,分别计算得到每组含金属的产品采样数据对应的漏检率组。Further, according to the preset normal formula, the preset limit parameter, the metal-free product sampling data and each of the metal-containing product sampling data, the corresponding data of the metal-free product sampling data is calculated The product false detection rate group and the corresponding missing detection rate group of each group of metal-containing product sampling data include: according to the metal-free product sampling data, calculate the corresponding product (signal) average and product standard deviation; For each group of metal-containing product sampling data, calculate the metal (signal) average and metal standard deviation corresponding to each group of metal-containing product sampling data; according to the product average, the product standard deviation, The preset limit parameter and the preset normal formula to calculate the product false detection rate group corresponding to the metal-free product sampling data; according to the preset limit parameter, the preset normal formula and each group of the The metal mean value and metal standard deviation corresponding to the metal-containing product sampling data are respectively calculated to obtain the missing detection rate group corresponding to each group of metal-containing product sampling data.
在上述技术方案中,明确了各采样数据符合正态分布规律时的详细计算方式,保证了数据的精确性,进一步保证了阈值的合理性。In the above technical solution, the detailed calculation method when each sampled data conforms to the normal distribution law is clarified, which ensures the accuracy of the data and further ensures the rationality of the threshold.
进一步,所述预设界限参数包括:最小阈值、最大阈值和阈值间隔值。Further, the preset limit parameters include: a minimum threshold, a maximum threshold, and a threshold interval value.
在上述技术方案中,最大/小阈值的设定可以杜绝不必要的数据计算,减少计算量。In the above technical solution, the setting of the maximum/small threshold can eliminate unnecessary data calculation and reduce the amount of calculation.
进一步,所述的根据所述产品误检率组、每组含金属的产品采样数据各自对应的漏检率组和误检漏检率要求,选择相应的数值设为阈值包括:根据每组含金属的产品采样数据各自对应的漏检率组和所述产品误检率组,绘制对应的曲线图;根据误检漏检率要求,从所述曲线图上选择相应的数值作为阈值。Further, according to the product misdetection rate group, each group of metal-containing product sampling data corresponding to the respective missed detection rate group and false detection missed detection rate requirements, selecting the corresponding value as the threshold includes: according to each group containing Metal product sampling data corresponding to the missed detection rate group and the product misdetection rate group, draw a corresponding graph; according to the false detection missed detection rate requirements, select the corresponding value from the graph as a threshold.
在上述技术方案中,以曲线图的方式呈现,让使用者更直观、清楚地了解阈值选择的原因。In the above technical solution, it is presented in the form of a graph, so that the user can understand the reason of threshold selection more intuitively and clearly.
进一步,所述步骤S1获取一组不含金属的产品采样数据和至少一组含金属的产品采样数据包括:当达到一定时间间隔时,获取一组不含金属的产品采样数据和至少一组含金属的产品采样数据;所述步骤S2根据所述不含金属的产品采样数据和所述含金属的产品采样数据的分布规律,计算得到所述不含金属的产品采样数据对应的产品误检率组和每组含金属的产品采样数据各自对应的漏检率组包括:根据一定时间间隔获取的所述不含金属的产品采样数据和所述含金属的产品采样数据的分布规律,计算得到所述不含金属的产品采样数据对应的产品误检率组和每组含金属的产品采样数据各自对应的漏检率组。Further, the step S1 obtaining a set of metal-free product sampling data and at least one set of metal-containing product sampling data includes: when a certain time interval is reached, obtaining a set of metal-free product sampling data and at least one set of Metal product sampling data; Step S2 calculates the product false detection rate corresponding to the metal-free product sampling data according to the distribution rule of the metal-free product sampling data and the metal-containing product sampling data The missing detection rate group corresponding to the sampling data of each group and each group of metal-containing product sampling data includes: according to the distribution rule of the sampling data of the metal-free product and the sampling data of the metal-containing product obtained at a certain time interval, the calculated Describe the product false detection rate group corresponding to the metal-free product sampling data and the corresponding missing detection rate group for each group of metal-containing product sampling data.
在上述技术方案中,周期性地获取采样数据,对阈值进行周期性地监测,使金属探测器的阈值满足实际生产需求。In the above technical solution, the sampling data is periodically obtained, and the threshold value is periodically monitored, so that the threshold value of the metal detector meets actual production requirements.
进一步,所述步骤S3根据所述产品误检率组、每组含金属的产品采样数据各自对应的漏检率组和误检漏检率的要求,选择相应的数值作为阈值进一步包括:当已设置的阈值符合所述误检漏检率的要求,仍采用此阈值;当已设置的阈值不符合所述误检漏检率的要求,则根据所述产品误检率组、每组含金属的产品采样数据各自对应的漏检率组和误检漏检率的要 求,重新选择相应的数值更新或提示更新所述阈值。Further, the step S3 selects the corresponding value as the threshold according to the requirements of the product misdetection rate group, each group of metal-containing product sampling data corresponding to the missed detection rate group and the false detection missed detection rate, and further includes: The set threshold meets the requirements of the false detection and miss detection rate, this threshold is still used; when the set threshold does not meet the requirements of the false detection and miss detection rate, according to the product false detection rate group, each group contains metal The product sampling data corresponding to the requirements of the missed detection rate group and the false detection missed detection rate, re-select the corresponding value to update or prompt to update the threshold.
在上述技术方案中,当已设置的阈值不符合当前的情况时,可进行调整,使金属探测器的检测结果时刻满足生产要求。In the above technical solution, when the set threshold does not meet the current situation, it can be adjusted so that the detection result of the metal detector always meets the production requirements.
本发明还提供一种数字性能分析设备,包括:获取模块,用于获取一组不含金属的产品采样数据和至少一组含金属的产品采样数据;计算模块,用于根据所述不含金属的产品采样数据和所述含金属的产品采样数据的分布规律,计算得到所述不含金属的产品采样数据对应的产品误检率组和每组含金属的产品采样数据各自对应的漏检率组;选择模块,用于根据所述产品误检率组、每组含金属的产品采样数据各自对应的漏检率组和误检漏检率的要求,选择相应的数值作为阈值。The present invention also provides a digital performance analysis device, including: an acquisition module for acquiring a set of metal-free product sampling data and at least one set of metal-containing product sampling data; a calculation module for calculating according to the metal-free product Product sampling data and the distribution law of the metal-containing product sampling data, the product misdetection rate group corresponding to the metal-free product sampling data and the corresponding missing detection rate of each group of metal-containing product sampling data are calculated Group; a selection module, used to select the corresponding value as the threshold according to the requirements of the product false detection rate group, the corresponding leakage detection rate group and the false detection leakage detection rate of each group of metal-containing product sampling data.
在上述技术方案中,根据不含金属的产品采样数据和含金属的产品采样数据的分布规律,按照误检漏检率要求选择合适的阈值,使阈值的选择得到有效的量化数据支撑,选择的阈值更符合实际使用需求,降低误检率和漏检率,提高产品质量的监测。In the above technical solution, according to the distribution rules of the sampling data of metal-free products and the sampling data of metal-containing products, an appropriate threshold is selected according to the requirements of false detection and missed detection rate, so that the selection of the threshold is supported by effective quantitative data. The threshold is more in line with the actual use requirements, reducing the false detection rate and missed detection rate, and improving the monitoring of product quality.
进一步,所述计算模块,用于根据所述不含金属的产品采样数据和所述含金属的产品采样数据的分布规律,计算得到所述不含金属的产品采样数据对应的产品误检率组和每组含金属的产品采样数据各自对应的漏检率组包括:所述计算模块,当所述不含金属的产品采样数据和所述含金属的产品采样数据符合正态分布规律时,根据预设正态公式、预设界限参数、所述不含金属的产品采样数据和各所述含金属的产品采样数据,计算得到所述不含金属的产品采样数据对应的产品误检率组和每组含金属的产品采样数据各自对应的漏检率组。Further, the calculation module is configured to calculate a product false detection rate group corresponding to the metal-free product sampling data according to the distribution rule of the metal-free product sampling data and the metal-containing product sampling data The missing detection rate group corresponding to each group of metal-containing product sampling data includes: the calculation module, when the metal-free product sampling data and the metal-containing product sampling data conform to the normal distribution law, according to A preset normal formula, a preset limit parameter, the sampling data of the metal-free product and the sampling data of each metal-containing product, and the product misdetection rate group corresponding to the sampling data of the metal-free product is calculated Each group of metal-containing product sampling data corresponds to the corresponding missed detection rate group.
进一步,所述计算模块,根据预设正态公式、预设界限参数、所述不含金属的产品采样数据和各所述含金属的产品采样数据,计算得到所述不含金属的产品采样数据对应的产品误检率组和每组含金属的产品采样数据各自对应的漏检率组包括:所述计算模块,根据所述不含金属的产品采样数据,计算对应的产品平均值和产品标准差;以及,根据每组所述含金属的产品采样数据,计算每组所述含金属的产品采样数据各自对应的金属 平均值和金属标准差;以及,根据所述产品平均值、所述产品标准差、所述预设界限参数和预设正态公式,计算得到所述不含金属的产品采样数据对应的产品误检率组;以及,根据所述预设界限参数、预设正态公式和每组所述含金属的产品采样数据各自对应的金属平均值和金属标准差,分别计算得到每组含金属的产品采样数据对应的漏检率组。Further, the calculation module calculates the metal-free product sampling data according to a preset normal formula, a preset limit parameter, the metal-free product sampling data and each metal-containing product sampling data The corresponding product false detection rate group and the corresponding missing detection rate group for each group of metal-containing product sampling data include: the calculation module, calculating the corresponding product average and product standard based on the metal-free product sampling data Difference; and, according to each group of the metal-containing product sampling data, calculate the metal mean and metal standard deviation corresponding to each group of the metal-containing product sampling data; and, according to the product average, the product The standard deviation, the preset limit parameter and the preset normal formula to calculate the product false detection rate group corresponding to the metal-free product sampling data; and, according to the preset limit parameter and the preset normal formula The metal mean value and metal standard deviation corresponding to the sampling data of each group of metal-containing products are respectively calculated, and the missed detection rate group corresponding to the sampling data of each group of metal-containing products is calculated respectively.
进一步,所述选择模块,用于根据所述产品误检率组、每组含金属的产品采样数据各自对应的漏检率组和误检漏检率的要求,选择相应的数值作为阈值包括:绘图子模块,用于根据每组含金属的产品采样数据各自对应的漏检率组和所述产品误检率组,绘制对应的曲线图;选择子模块,用于根据误检漏检率的要求,从所述曲线图上选择相应的数值作为阈值。Further, the selection module is configured to select the corresponding value as the threshold according to the requirements of the product false detection rate group, the corresponding missing detection rate group and the false detection leakage detection rate of each group of metal-containing product sampling data, including: The drawing sub-module is used to draw the corresponding curve graph according to the corresponding missing detection rate group and the product false detection rate group of each group of metal-containing product sampling data; It is required to select the corresponding value from the graph as the threshold.
进一步,还包括:摄像模块,用于实时获取金属探测器的工作状态;所述获取模块,进一步用于根据实时获取的金属探测器的工作状态,识别出一组不含金属的产品采样数据和至少一组含金属的产品采样数据。Further, it also includes: a camera module for real-time acquisition of the working state of the metal detector; the acquisition module is further used for identifying a set of metal-free product sampling data based on the real-time acquired working state of the metal detector and Sampling data for at least one set of metal-containing products.
在上述技术方案中,通过摄像模块获取金属探测器的工作状态以获取采样数据,应用范围更广泛,兼容性更高。In the above technical solution, the working state of the metal detector is obtained through the camera module to obtain the sampling data, the application range is wider, and the compatibility is higher.
进一步,所述获取模块,进一步用于当达到一定时间间隔时,获取一组不含金属的产品采样数据和至少一组含金属的产品采样数据。Further, the acquisition module is further configured to acquire a set of product sampling data containing no metal and at least one set of product sampling data containing metal when a certain time interval is reached.
进一步,所述选择模块,进一步用于当已设置的阈值符合所述误检漏检率的要求,仍采用此阈值;以及,当已设置的阈值不符合所述误检漏检率的要求,则根据所述产品误检率组、每组含金属的产品采样数据各自对应的漏检率组和误检漏检率的要求,重新选择相应的数值更新或提示更新所述阈值。Further, the selection module is further configured to use the threshold when the set threshold meets the requirements of the false detection and miss detection rate; and, when the set threshold does not meet the requirements of the false detection and miss detection rate, Then, according to the requirements of the product misdetection rate group, each group of metal-containing product sampling data corresponding to the missed detection rate group and the false detection missed detection rate, the corresponding value is reselected to update or prompt to update the threshold.
与现有技术相比,本发明的数字性能分析方法及设备有益效果在于:Compared with the prior art, the beneficial effects of the digital performance analysis method and device of the present invention are:
本发明根据不含金属的产品采样数据和含金属的产品采样数据的分布规律,按照误检率、漏检率的要求选择合适的阈值,使阈值的选择得到有效的量化数据支撑,选择的阈值更符合实际使用需求,降低误检率、控制漏检率,提高产品质量的监测。The invention selects a suitable threshold value according to the requirements of the false detection rate and the missed detection rate according to the distribution rules of the metal-free product sampling data and the metal-containing product sampling data, so that the selection of the threshold is supported by effective quantitative data, and the selected threshold It is more in line with the actual use requirements, reduces the false detection rate, controls the missed detection rate, and improves product quality monitoring.
附图说明BRIEF DESCRIPTION
下面将以明确易懂的方式,结合附图说明优选实施方式,对一种数字性能分析方法及设备的上述特性、技术特征、优点及其实现方式予以进一步说明。In the following, the preferred embodiments will be described in a clear and easy-to-understand manner with reference to the drawings, and the above-mentioned characteristics, technical characteristics, advantages and implementation of a digital performance analysis method and device will be further described.
图1是本发明数字性能分析方法一个实施例的流程图;1 is a flowchart of an embodiment of the digital performance analysis method of the present invention;
图2是本发明数字性能分析方法另一个实施例的流程图;2 is a flowchart of another embodiment of the digital performance analysis method of the present invention;
图3是本发明采样数据和预设界限参数一个实施例的界面展示图;FIG. 3 is an interface display diagram of an embodiment of sampling data and preset limit parameters of the present invention;
图4是本发明根据产品误检率组和三组含金属的产品采样数据对应的漏检率组绘制的曲线图;4 is a graph of the present invention drawn according to the product misdetection rate group and the missed detection rate group corresponding to three sets of metal-containing product sampling data;
图5是选择阈值时最低界限值的一个实施例的示意图;5 is a schematic diagram of an embodiment of the lowest limit value when selecting a threshold;
图6是图5选择阈值时最高界限值的示意图;6 is a schematic diagram of the highest limit value when selecting the threshold value in FIG. 5;
图7是本发明数字性能分析设备一个实施例的结构示意图;7 is a schematic structural diagram of an embodiment of a digital performance analysis device of the present invention;
图8是本发明数字性能分析设备另一个实施例的结构示意图;8 is a schematic structural diagram of another embodiment of the digital performance analysis device of the present invention;
图9是本发明数字性能分析方法又一个实施例的流程图。9 is a flowchart of another embodiment of the digital performance analysis method of the present invention.
附图标号说明:Description of Drawing Symbols:
10.获取模块,20.计算模块,30.选择模块,31.绘图子模块,32.选择子模块,40.摄像模块。10. Acquisition module, 20. Calculation module, 30. Selection module, 31. Drawing submodule, 32. Selection submodule, 40. Camera module.
具体实施方式detailed description
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对照附图说明本发明的具体实施方式。显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图,并获得其他的实施方式。In order to more clearly explain the embodiments of the present invention or the technical solutions in the prior art, the specific embodiments of the present invention will be described below with reference to the drawings. Obviously, the drawings in the following description are only some embodiments of the present invention. For a person of ordinary skill in the art, without paying any creative labor, other drawings can be obtained from these drawings and obtained Other implementations.
为使图面简洁,各图中只示意性地表示出了与本发明相关的部分,它们并不代表其作为产品的实际结构。另外,以使图面简洁便于理解,在有些图中具有相同结构或功能的部件,仅示意性地绘示了其中的一个,或仅标出了其中的一个。在本文中,“一个”不仅表示“仅此一个”,也可以表示“多于一个”的情形。In order to make the drawings simple, the figures only show the parts related to the present invention, they do not represent the actual structure of the product. In addition, in order to make the drawings concise and easy to understand, in some drawings, components having the same structure or function are only schematically illustrated, or only one of them is marked. In this article, "one" not only means "only this one", but also means "more than one".
金属探测器的工作原理是电磁感应技术,金属探测器内部有一个特殊设计的电磁线圈,当金属小球通过时,将引起电磁场的变化,接收电路部分检测这个微弱的信号变化,结合一定的技术手段,通过一定的分析与处理,最终判断产品中是否存在金属异物,而阈值的设定就是金属探测器判断的依据。误检率是指当阈值太低时,将正常产品判定为含金属的比率。漏检率就是当阈值太高时,将含有金属的产品判定为正常产品,从而漏检的比率。因此,阈值的合理设定非常重要。The working principle of the metal detector is electromagnetic induction technology. There is a specially designed electromagnetic coil inside the metal detector. When the metal ball passes, it will cause changes in the electromagnetic field. The receiving circuit part detects this weak signal change, combined with a certain technology Means, through certain analysis and processing, the final determination of whether there is metal foreign matter in the product, and the threshold setting is the basis for the metal detector judgment. The false detection rate refers to the rate at which normal products are judged to contain metals when the threshold is too low. The missed detection rate is the rate at which products containing metals are judged to be normal products when the threshold is too high, thus failing to detect. Therefore, the reasonable setting of the threshold is very important.
随着灵敏度越来越高的要求,设定的阈值越来越低,这个阈值一直在向产品的正常信号值区域靠近,比如200,190,180,130,120,100,90等等,阈值逐渐降低后,会导致误检增加,过高的误检率会带来较大的经济损失,仅凭经验选择阈值又无法满足生产需求、提高品质质量。With the requirement of higher and higher sensitivity, the set threshold is getting lower and lower. This threshold has been approaching the normal signal value area of the product, such as 200, 190, 180, 130, 120, 100, 90, etc. Threshold After a gradual decrease, it will lead to an increase in false detections. Excessively high false detection rates will bring greater economic losses. The selection of thresholds based on experience alone cannot meet production needs and improve quality.
数字性能分析方法相当于一个运算的程序,其可以安装于金属探测器上,也可以安装于另一台独立的设备上为各金属探测器服务。The digital performance analysis method is equivalent to an arithmetic program, which can be installed on the metal detector, or can be installed on another independent device to serve each metal detector.
图1示出了本发明的一个实施例,一种数字性能分析方法,包括:FIG. 1 shows an embodiment of the present invention. A digital performance analysis method includes:
S101获取一组不含金属的产品采样数据和至少一组含金属的产品采样数据。S101 Obtain a set of sampling data of products containing no metal and at least one set of sampling data of products containing metal.
具体的,不含金属的产品采样数据是指产品本身过金属探测器得到的数据。Specifically, the sampling data of products without metal refers to the data obtained by the product itself passing through the metal detector.
阈值的选择与应用场合密切相关,因此,含金属的产品采样数据的组数根据想要检测的金属数量而定。含金属的产品采样数据是指产品中包含了相关金属过金属探测器得到的数据。The choice of threshold is closely related to the application. Therefore, the number of samples of metal-containing product sampling data depends on the number of metals to be detected. Sampling data of metal-containing products refers to the data contained in the products containing related metal-over-metal detectors.
例如:想检测产品中是否会存在铁,则可获取一组含铁的产品采样数据,具体方式为产品中含有铁球过金属探测器获取;或者,想检测产品中是否会存在铁、非铁的金属、不锈钢,则需要获取三组含金属的产品采样数据,分别为铁、非铁的金属和不锈钢,实现方式为分别将三种不同的金属放到产品中测试得到对应的各组含金属的产品采样数据。For example: if you want to detect the presence of iron in the product, you can obtain a set of sampling data of the product containing iron, the specific method is that the product contains an iron ball through the metal detector; or, you want to detect whether there is iron or non-iron in the product Metal, stainless steel, you need to obtain three sets of metal-containing product sampling data, respectively ferrous, non-ferrous metals and stainless steel, the implementation method is to put three different metals into the product to test the corresponding groups of metal-containing Product sampling data.
每组的采样数据个数根据实际精度设置,可以为任意个数。例如:如图3所示,有4组采样数据,其中一组为不含金属的产品采样数据,另外 三组为含金属的产品采样数据,每组有100个数据。The number of sampled data in each group is set according to the actual accuracy, and can be any number. For example, as shown in Figure 3, there are 4 sets of sampling data, one of which is the product sampling data of metal-free products, and the other three are the sampling data of metal-containing products, each of which has 100 data.
一般测试含金属的产品采样数据时,是将金属小球(例如:1.5mm直径的铁珠、2.0mm的非铁质金属珠、2.5mm的不锈钢珠)放入产品中,当它们通过金属探测器时,由于各种复杂的、不可避免的客观因素的影响,如通过时的速度、相对机器的位置、运行轨迹、输送带、震动、产品温度、环境温度、供电电压、大气压、静电、车间复杂的电磁环境等等,导致金属小球每次通过时,信号几乎不可能每次都相同,因此,采样数据的数量尽可能多一点,例如:每组设置200个,150个等,以提高精确度。Generally, when testing the sampling data of products containing metals, metal balls (for example: 1.5mm diameter iron beads, 2.0mm non-ferrous metal beads, 2.5mm stainless steel beads) are put into the product when they pass the metal detection Due to various complicated and unavoidable objective factors, such as speed when passing, relative machine position, running track, conveyor belt, vibration, product temperature, ambient temperature, power supply voltage, atmospheric pressure, static electricity, workshop The complex electromagnetic environment, etc., causes the signal to be almost the same every time the metal ball passes, therefore, the number of sampled data should be as much as possible, for example: set 200, 150, etc. in each group to improve Accuracy.
需要注意的是,考虑到金属探测器因为现在的技术原因在检测时会因为金属异物的形状不同而使结果存在区别,例如:直径1mm,长度为10mm的金属丝,可能在一个角度能检测到,但旋转一定角度后(例如:90度)可能无法检测到,因此,建议使用球形作为标准。It should be noted that due to the current technical reasons, the detection of metal detectors will be different due to the different shapes of metal foreign objects. For example: a wire with a diameter of 1mm and a length of 10mm may be detected at an angle , But it may not be detected after rotating a certain angle (for example: 90 degrees), so it is recommended to use the sphere as a standard.
采样数据通过金属探测器得到,当数字性能分析方法对应的程序运行于金属探测器上时,直接调用即可;当此程序运行于金属探测器以外的设备上时,可由金属探测器发送得到,也可通过摄像模块监测金属探测器的测试过程自行识别得到等。在此不限制采样数据的具体获取方式。The sampled data is obtained by the metal detector. When the program corresponding to the digital performance analysis method runs on the metal detector, it can be called directly; when this program is run on equipment other than the metal detector, it can be sent by the metal detector. It can also be identified by the camera module during the monitoring process of the metal detector. The specific acquisition method of sampling data is not limited here.
S102根据不含金属的产品采样数据和含金属的产品采样数据的分布规律,计算得到不含金属的产品采样数据对应的产品误检率组和每组含金属的产品采样数据各自对应的漏检率组。S102 calculates the product misdetection rate group corresponding to the metal-free product sampling data and the missing detection corresponding to each group of metal-containing product sampling data according to the distribution rules of the metal-free product sampling data and the metal-containing product sampling data Rate group.
具体的,当得到不含金属的产品采样数据和各组含金属的产品采样数据后,分析确定采样数据的分布规律,再选择合适的公式计算产品误检率组和漏检率组,为后续选择合适的阈值打下基础。Specifically, after obtaining the sampling data of metal-free products and the sampling data of each group of metal-containing products, analyze and determine the distribution rule of the sampling data, and then select the appropriate formula to calculate the product misdetection rate group and the missed detection rate group. Choose the appropriate threshold to lay the foundation.
产品误检率组是由不含金属的产品采样数据在不同阈值时对应的产品误检率组成;一组漏检率组是指一组含金属的产品采样数据在不同阈值时对应的漏检率组成。The product misdetection rate group is composed of the product misdetection rate corresponding to the sampling data of products containing no metal at different thresholds; a group of missed detection rate group refers to the corresponding missed detection of a group of metal-containing product sampling data at different thresholds Rate composition.
S103根据产品误检率组、每组含金属的产品采样数据各自对应的漏检率组和实际的误检漏检率要求,选择相应的数值作为阈值。S103 selects the corresponding value as the threshold according to the product misdetection rate group, the corresponding misdetection rate group corresponding to each group of metal-containing product sampling data, and the actual misdetection miss detection rate requirements.
具体的,误检漏检率要求根据实际情况决定,例如:误检率要求低于 0.1%,同时漏检率也要低于0.1%,则从产品误检率组和各组漏检率组中选择同时满足低于0.1%的数值作为阈值。Specifically, the false detection and missed detection rate requirements are determined according to the actual situation, for example: the false detection rate is required to be less than 0.1%, and the missed detection rate is also required to be less than 0.1%. Choose the value that satisfies less than 0.1% at the same time as the threshold.
大多数时候满足误检率、漏检率要求的是一个数值范围,这个时候可任意选择此数值范围中的一个数值作为阈值。Most of the time, it is a value range that meets the requirements for the false detection rate and the missed detection rate. At this time, a value in this value range can be arbitrarily selected as the threshold.
优选地,S103根据产品误检率组、每组含金属的产品采样数据各自对应的漏检率组和误检漏检率的要求,选择相应的数值作为阈值包括:Preferably, S103 selects the corresponding value as the threshold according to the requirements of the product misdetection rate group, the corresponding misdetection rate group and the misdetection miss rate of each metal-containing product sampling data, including:
根据每组含金属的产品采样数据各自对应的漏检率组和产品误检率组,绘制对应的曲线图;根据误检漏检率要求,从曲线图上选择相应的数值作为阈值。Draw the corresponding graphs according to the corresponding missed detection rate group and product misdetection rate group of each group of metal-containing product sampling data; according to the false detection missed detection rate requirements, select the corresponding value from the graph as the threshold.
具体的,将计算得到的各漏检率组和产品误检率组绘制成对应的曲线图,让使用者直观地了解各数值对应的误检率、漏检率,方便、快速地理解阈值的选择原因。Specifically, the calculated missed detection rate groups and product misdetection rate groups are drawn into corresponding graphs, so that users can intuitively understand the false detection rate and missed detection rate corresponding to each value, and understand the threshold value conveniently and quickly. Choose a reason.
如图5、6所示,产品误检率组绘制成了左边的曲线,三组含金属的产品采样数据对应的漏检率组绘制成了右边三条曲线,当误检率要求为1‰以下时,从图5、6可看出只要确保将t值设置在233-327之间时,将可以同时确保低于1‰的产品误检率、以及金属的漏检率,保证良好生产。在以质量为第一因素考虑时,应尽量靠近233,这样不仅保证了产品误检率不会高于1‰,同时保证金属探测器的最大检出能力;当生产中由于干扰、温度、现场电磁环境开始缓慢影响设备导致信号增大时,可以适当增加阈值同时保证满足金属的安全检出率,因为只要不超过327即可,即现场的可调节范围允许在233-327,而不是靠人的感觉,量化数值范围提高了品控标准和质量。As shown in Figures 5 and 6, the product false detection rate group is drawn to the left curve, and the three groups of metal-containing product sampling data corresponding to the missing detection rate group are drawn to the right three curves, when the false detection rate is required to be below 1‰ It can be seen from Figures 5 and 6 that as long as the t value is set between 233 and 327, the product false detection rate of less than 1‰ and the metal leakage detection rate can be ensured at the same time to ensure good production. When considering quality as the first factor, it should be as close as possible to 233, which not only ensures that the false detection rate of the product will not exceed 1‰, but also ensures the maximum detection capability of the metal detector; when the production is due to interference, temperature, site When the electromagnetic environment begins to slowly affect the device and the signal increases, the threshold can be increased appropriately while ensuring the safe detection rate of the metal, as long as it does not exceed 327, that is, the adjustable range of the site is allowed to be 233-327, rather than relying on people The sense that the quantified numerical range improves quality control standards and quality.
本实施例中根据不含金属的产品采样数据和含金属的产品采样数据的分布规律,按照误检率、漏检率的要求选择合适的阈值,使阈值的选择得到有效的量化数据支撑,选择的阈值更符合实际使用需求,降低误检率、漏检率,提高对产品质量的更准确监测。In this embodiment, according to the distribution rules of sampling data of metal-free products and sampling data of metal-containing products, an appropriate threshold is selected according to the requirements of the false detection rate and the missing detection rate, so that the selection of the threshold is supported by effective quantitative data. The threshold value is more in line with the actual use requirements, reducing the false detection rate and missed detection rate, and improving the more accurate monitoring of product quality.
图2示出了本发明的另一个实施例,一种数字性能分析方法,包括:FIG. 2 shows another embodiment of the present invention. A digital performance analysis method includes:
S201获取一组不含金属的产品采样数据和至少一组含金属的产品采 样数据。S201 acquires a set of sampling data of products containing no metal and at least one set of sampling data of products containing metal.
S202根据不含金属的产品采样数据和含金属的产品采样数据的分布规律,计算得到不含金属的产品采样数据对应的产品误检率组和每组含金属的产品采样数据各自对应的漏检率组包括:S202 calculates the product false detection rate group corresponding to the metal-free product sampling data and the missed detection corresponding to each group of metal-containing product sampling data according to the distribution rules of the metal-free product sampling data and the metal-containing product sampling data Rate groups include:
S212当不含金属的产品采样数据和含金属的产品采样数据符合正态分布规律时,根据预设正态公式、预设界限参数(预设界限参数包括:最小阈值、最大阈值和阈值间隔值)、不含金属的产品采样数据和各含金属的产品采样数据,计算得到不含金属的产品采样数据对应的产品误检率组和每组含金属的产品采样数据各自对应的漏检率组。S212 When the sampling data of the product containing no metal and the sampling data of the product containing metal conform to the normal distribution law, according to the preset normal formula and the preset limit parameters (the preset limit parameters include: minimum threshold, maximum threshold and threshold interval value) ), metal-free product sampling data and each metal-containing product sampling data, calculate the product misdetection rate group corresponding to the metal-free product sampling data and the corresponding missing detection rate group for each group of metal-containing product sampling data .
具体的,预设界限参数是指金属探测器的阈值范围,根据实际检测需求设置合适的最小阈值、最大阈值和阈值间隔值。Specifically, the preset limit parameter refers to the threshold range of the metal detector, and an appropriate minimum threshold, maximum threshold, and threshold interval value are set according to actual detection requirements.
例如:若需要检测的金属为不锈钢和铁,如图3所示,可以将最大阈值设为1500,最小阈值为5,阈值间隔值为1。当然,这些数据可以灵活变动,例如:最大阈值设为1400,最小阈值为10,阈值间隔值为3等。最大阈值若超出最大的金属块对应的值就失去意义,只是做无用多余的计算而已,因此,可根据实际金属的检测需求设置相应的预设界限参数。For example, if the metal to be detected is stainless steel and iron, as shown in FIG. 3, the maximum threshold can be set to 1500, the minimum threshold is 5, and the threshold interval value is 1. Of course, these data can be flexibly changed, for example: the maximum threshold is set to 1400, the minimum threshold is 10, the threshold interval value is 3 and so on. If the maximum threshold exceeds the value corresponding to the largest metal block, it is meaningless, and only unnecessary calculations are done. Therefore, the corresponding preset limit parameters can be set according to the actual metal detection requirements.
正态分布规律有其对应的统计公式,可将其设置为预设正态公式供后续的计算使用。The normal distribution law has its corresponding statistical formula, which can be set as a preset normal formula for subsequent calculations.
优选地,S212根据预设正态公式、预设界限参数(预设界限参数包括:最小阈值、最大阈值和阈值间隔值)、不含金属的产品采样数据和各含金属的产品采样数据,计算得到不含金属的产品采样数据对应的产品误检率组和每组含金属的产品采样数据各自对应的漏检率组包括:Preferably, S212 calculates according to a preset normal formula, a preset limit parameter (the preset limit parameter includes: a minimum threshold, a maximum threshold, and a threshold interval value), sampling data of metal-free products and sampling data of each metal-containing product The product misdetection rate group corresponding to the metal-free product sampling data and the corresponding missing detection rate group for each group of metal-containing product sampling data include:
S2121根据不含金属的产品采样数据,计算对应的产品平均值和产品标准差;S2121 calculates the corresponding product average and product standard deviation based on the sampling data of products that do not contain metals;
S2122根据每组含金属的产品采样数据,计算每组金属采样数据各自对应的金属平均值和金属标准差。S2122 calculates the metal average and metal standard deviation corresponding to each group of metal sampling data according to the metal sampling data of each group.
具体的,平均值就是采样数据的总和除以总个数。Specifically, the average value is the sum of the sampled data divided by the total number.
例如:一组不含金属的产品采样数据中有200个数据,则将这200个 数据相加后,除以200,得到产品平均值。同理为每组含金属的产品采样数据对应的金属平均值。For example, if there are 200 data in a set of sample data of metal-free products, add the 200 data and divide by 200 to get the average value of the product. Similarly, the average value of metal corresponding to the sampling data of each group of metal-containing products.
标准差则根据如下公式计算得到:The standard deviation is calculated according to the following formula:
Figure PCTCN2019091610-appb-000001
Figure PCTCN2019091610-appb-000001
σ为标准差,μ为平均值,μ i为一组产品采样数据中第i个数据,N为一组产品采样数据的总个数。 σ is the standard deviation, μ is the average value, μ i is the ith data in a group of product sampling data, and N is the total number of a group of product sampling data.
S2123根据产品平均值、产品标准差、预设界限参数和预设正态公式,计算得到不含金属的产品采样数据对应的产品误检率组;S2123 calculates the product false detection rate group corresponding to the metal-free product sampling data based on the product average, product standard deviation, preset limit parameters and preset normal formula;
S2124根据预设界限参数、预设正态公式和每组含金属的产品采样数据各自对应的金属平均值和金属标准差,分别计算得到每组含金属的产品采样数据对应的漏检率组。S2124 calculates the leak detection rate group corresponding to each group of metal-containing product sampling data according to the preset limit parameters, the preset normal formula, and the respective metal average and metal standard deviation of each group of metal-containing product sampling data.
具体的,预设正态公式为:Specifically, the preset normal formula is:
Figure PCTCN2019091610-appb-000002
Figure PCTCN2019091610-appb-000002
σ为标准差,μ为平均值,x则为阈值,最小阈值≤x≤最大阈值,以阈值间隔值进行递增计算,F为计算得到的概率。σ is the standard deviation, μ is the average value, x is the threshold, the minimum threshold ≤ x ≤ the maximum threshold, the threshold interval value is used for incremental calculation, and F is the calculated probability.
将不同的x值代入上述公式,可计算得到小于等于x值的概率总和,对于产品来说,低于x值是正常情况,高于x值属于误检情况;对于金属来说,高于x值属于检出,低于x值属于漏检。Substituting different values of x into the above formula can calculate the sum of the probabilities less than or equal to the value of x. For products, values below x are normal, and values above x are false detections; for metals, values above x The value belongs to detection, and the value lower than x belongs to missing detection.
假设有3组含金属的产品采样数据(a、b、c组)和一组不含金属的产品采样数据(d组),将不含金属的产品采样数据、产品标准差、产品平均值和预设界限参数逐个代入上述公式计算出来的产品概率总和的数据组为Fd[x],则产品误检率组为1-Fd[x]。例如:计算出来当x=500时,Fd[x]=0.9代表了产品的正常通过概率,而其对应的产品误检率则为1-0.9=0.1;当x=1000时,Fd[x]=0.98,其对应的产品误检率则为1-0.98=0.02……Assuming that there are 3 sets of metal-containing product sampling data (groups a, b, c) and a set of metal-free product sampling data (group d), the metal-free product sampling data, product standard deviation, product average and The preset limit parameters are substituted into the data set of the product probability sum calculated by the above formula one by one as Fd[x], and the product false detection rate group is 1-Fd[x]. For example: when x=500, Fd[x]=0.9 represents the normal passing probability of the product, and the corresponding product false detection rate is 1-0.9=0.1; when x=1000, Fd[x] =0.98, the corresponding product false detection rate is 1-0.98=0.02......
将a组含金属的产品采样数据、金属标准差、金属平均值和预设界限参数逐个代入上述公式计算出来的概率总和的数据组为Fa[x],即a组含 金属的产品采样数据对应的漏检率组,同理得到b组和c组含金属的产品采样数据对应的漏检率组Fb[x]和Fc[x],根据1-Fd[x]、Fa[x]、Fb[x]和Fc[x]绘制的曲线图如图4所示。Substitute the sampling data, metal standard deviation, metal average value and preset limit parameters of group a metal-containing products into the sum of the probability calculated by the above formula one by one as Fa[x], that is, the sampling data of group a metal-containing products The missed detection rate group of the same, the same as the b and c group of metal-containing product sampling data corresponding to the missed detection rate group Fb[x] and Fc[x], according to 1-Fd[x], Fa[x], Fb The graphs drawn by [x] and Fc[x] are shown in Figure 4.
需要注意的是,虽然本实施例说了S2121-S2124的先后顺序,但是并不限制一定是这个顺序,只要能够计算得到产品误检率组和每组含金属的产品采样数据对应的漏检率组即可。It should be noted that although this embodiment describes the sequence of S2121-S2124, it is not limited to this sequence, as long as the product misdetection rate group and the missed detection rate corresponding to each group of metal-containing product sampling data can be calculated Group only.
S203根据产品误检率组、每组含金属的产品采样数据各自对应的漏检率组和实际的误检漏检率要求,选择相应的数值作为阈值。S203 selects the corresponding value as the threshold according to the product misdetection rate group, the corresponding misdetection rate group of each metal-containing product sampling data, and the actual misdetection leak detection rate requirements.
优选地,S203根据产品误检率组、每组含金属的产品采样数据各自对应的漏检率组和误检漏检率要求,选择相应的数值作为阈值包括:Preferably, S203 selects the corresponding value as the threshold according to the product misdetection rate group, the corresponding misdetection rate group of each metal-containing product sampling data, and the false detection miss detection rate requirements, including:
S213根据每组含金属的产品采样数据各自对应的漏检率组和产品误检率组,绘制对应的曲线图;S223根据误检漏检率的要求,从曲线图上选择相应的数值作为阈值。S213 draws the corresponding curve chart according to the corresponding missing detection rate group and product false detection rate group of each group of metal-containing product sampling data; S223 selects the corresponding value from the curve chart as the threshold according to the requirements of the false detection leakage detection rate .
具体的解释与上述实施例相同,在此不再赘述。The specific explanation is the same as in the above embodiment, and will not be repeated here.
本实施例中针对符合正态分布规律的采样数据给出了具体的概率计算方式,得到了量化的数据支撑,使挑选的作为阈值的数值更符合实际监测需求。In this embodiment, a specific probability calculation method is given for the sampling data that conforms to the normal distribution law, and quantitative data support is obtained, so that the selected value as the threshold value is more in line with actual monitoring needs.
在本发明的又一个实施例中,如图9所示,一种数字性能分析方法,包括:In yet another embodiment of the present invention, as shown in FIG. 9, a digital performance analysis method includes:
S301当达到一定时间间隔时,获取(优选地,距离当前时间最近的)一组不含金属的产品采样数据和至少一组含金属的产品采样数据。S301 When a certain time interval is reached, acquire (preferably, the closest to the current time) a set of metal-free product sampling data and at least one set of metal-containing product sampling data.
S302根据一定时间间隔获取的不含金属的产品采样数据和含金属的产品采样数据的分布规律,计算得到不含金属的产品采样数据对应的产品误检率组和每组含金属的产品采样数据各自对应的漏检率组。S302 calculates the product false detection rate group corresponding to the metal-free product sampling data and each group of metal-containing product sampling data according to the distribution rules of the metal-free product sampling data and the metal-containing product sampling data obtained at a certain time interval The corresponding missed detection rate group.
S303根据产品误检率组、每组含金属的产品采样数据各自对应的漏检率组和误检漏检率的要求,选择相应的数值作为阈值。S303 selects the corresponding value as the threshold according to the requirements of the product misdetection rate group, the corresponding misdetection rate group and the misdetection miss rate of each metal-containing product sampling data.
具体的,本实施例的阈值选择在实际使用时可周期性地进行,当一定时间间隔设置的足够小时,可实现实时监测。Specifically, the threshold value selection in this embodiment may be periodically performed when actually used, and when a certain time interval is set sufficiently small, real-time monitoring may be achieved.
当相应程序运行于金属探测器上,金属探测器根据实时获取的各采样数据,选择一组不含金属的产品采样数据和至少一组含金属的产品采样数据,进行实时/周期性地计算,选择合理的数据作为阈值。When the corresponding program is run on the metal detector, the metal detector selects a set of metal-free product sampling data and at least one set of metal-containing product sampling data based on the sampling data obtained in real time, and performs real-time/periodical calculations. Choose reasonable data as the threshold.
当采用其他设备来监测金属探测器的阈值时,其可实时监测金属探测器,实时获取各采样数据,选择一组不含金属的产品采样数据和至少一组含金属的产品采样数据,进行实时/周期性地计算,为金属探测器选择合理的数据作为阈值。When other equipment is used to monitor the threshold of the metal detector, it can monitor the metal detector in real time, obtain each sampling data in real time, select a set of product sampling data without metal and at least one set of product sampling data with metal for real-time /Periodic calculation, select reasonable data as threshold for metal detector.
优选地,当各采样数据的数量更新时,取距离当前时间最近的一定数量的数据进行分析,使计算结果更符合当前情况。Preferably, when the amount of each sampled data is updated, a certain amount of data closest to the current time is taken for analysis, so that the calculation result is more in line with the current situation.
S303根据产品误检率组、每组含金属的产品采样数据各自对应的漏检率组和误检漏检率的要求,选择相应的数值作为阈值包括:S303 According to the requirements of the product misdetection rate group, each group of metal-containing product sampling data corresponding to the missed detection rate group and the false detection missed detection rate, selecting the corresponding value as the threshold includes:
S313当已设置的阈值符合误检漏检率的要求,仍采用此阈值;S313 When the set threshold meets the requirements of false detection and miss detection rate, this threshold is still adopted;
S323当已设置的阈值不符合误检漏检率的要求,则根据产品误检率组、每组含金属的产品采样数据各自对应的漏检率组和误检漏检率的要求,重新选择相应的数值更新或提示更新阈值。S323 When the set threshold does not meet the requirements of false detection and miss detection rate, then re-select according to the requirements of the product false detection rate group, each group of metal-containing product sampling data corresponding to the corresponding false detection rate group and false detection leak detection rate The corresponding value is updated or the threshold is updated.
具体的,实时/周期性监测的话,说明金属探测器已经被设置了一个阈值(可能为根据经验设置一个值,也可能为根据实时计算出来的结果选择的一个值),投入到实际产品监测中,实际使用过程中由于干扰、温度、现场电磁环境可能会缓慢影响金属探测器导致信号增大时,当前设置的阈值可能无法满足金属的低漏检率和产品的低误检率。Specifically, in real-time/periodical monitoring, it means that the metal detector has been set with a threshold (may be a value set based on experience or a value selected based on the result calculated in real time), and put into actual product monitoring In the actual use process, due to interference, temperature, and the on-site electromagnetic environment may slowly affect the metal detector and cause the signal to increase, the currently set threshold may not meet the low miss detection rate of the metal and the low false detection rate of the product.
因此,可根据最新计算出来的产品误检率组、每组含金属的产品采样数据各自对应的漏检率组和误检漏检率的要求来确认已设置的阈值是否需要调整,若其符合误检漏检率的要求,则不需要调整,若其不符合,则需要重新选择一个数据作为新的阈值(具体的实现过程可自动选择一个新的阈值,或者,发出提示,让工作人员知道需要调整),满足生产要求。Therefore, you can confirm whether the set threshold needs to be adjusted according to the latest calculated product false detection rate group, the corresponding leakage detection rate group and the false detection leakage detection rate requirements of each group of metal-containing product sampling data, if it meets the requirements The requirements for false detection and missed detection rate do not need to be adjusted. If it does not meet the requirement, you need to re-select a data as a new threshold (the specific implementation process can automatically select a new threshold, or send a prompt to let the staff know Need to adjust) to meet production requirements.
可选地,根据不含金属的产品采样数据和含金属的产品采样数据的分布规律,计算得到不含金属的产品采样数据对应的产品误检率组和每组含金属的产品采样数据各自对应的漏检率组包括:Optionally, according to the distribution rule of the metal-free product sampling data and the metal-containing product sampling data, the product false detection rate group corresponding to the metal-free product sampling data is calculated and each group of metal-containing product sampling data corresponds to each The missed detection rate group includes:
当不含金属的产品采样数据和含金属的产品采样数据符合正态分布规律时,根据预设正态公式、预设界限参数、不含金属的产品采样数据和各含金属的产品采样数据,计算得到不含金属的产品采样数据对应的产品误检率组和每组含金属的产品采样数据各自对应的漏检率组。When the sampling data of metal-free products and the sampling data of metal-containing products conform to the normal distribution law, according to the preset normal formula, the preset limit parameters, the sampling data of metal-free products and the sampling data of each metal-containing product, The product misdetection rate group corresponding to the metal-free product sampling data and the missing detection rate group corresponding to each group of metal-containing product sampling data are calculated.
可选地,根据预设正态公式、预设界限参数、不含金属的产品采样数据和各含金属的产品采样数据,计算得到不含金属的产品采样数据对应的产品误检率组和每组含金属的产品采样数据各自对应的漏检率组包括:Optionally, according to the preset normal formula, the preset limit parameters, the metal-free product sampling data and the metal-containing product sampling data, the product false detection rate group and each corresponding to the metal-free product sampling data are calculated Groups of metal-containing product sampling data corresponding to the missing detection rate group include:
根据不含金属的产品采样数据,计算对应的产品平均值和产品标准差;Calculate the corresponding product average and product standard deviation based on the sampling data of products that do not contain metals;
根据每组含金属的产品采样数据,计算每组含金属的产品采样数据各自对应的金属平均值和金属标准差;According to the sampling data of each group of metal-containing products, calculate the corresponding metal average and metal standard deviation of each group of metal-containing product sampling data;
根据产品平均值、产品标准差、预设界限参数(预设界限参数包括:最小阈值、最大阈值和阈值间隔值)和预设正态公式,计算得到不含金属的产品采样数据对应的产品误检率组;According to the product average value, product standard deviation, preset limit parameters (the preset limit parameters include: minimum threshold, maximum threshold and threshold interval value) and the preset normal formula, the product error corresponding to the sample data of metal-free products is calculated Inspection rate group;
根据预设界限参数、预设正态公式和每组含金属的产品采样数据各自对应的金属平均值和金属标准差,分别计算得到每组含金属的产品采样数据对应的漏检率组。According to the preset limit parameters, the preset normal formula, and the metal average and metal standard deviation corresponding to the sample data of each group of metal-containing products, respectively, the leak detection rate group corresponding to the sample data of each group of metal-containing products is calculated.
可选地,根据产品误检率组、每组含金属的产品采样数据各自对应的漏检率组和误检漏检率的要求,选择相应的数值设为阈值包括:Optionally, according to the requirements of the product false detection rate group, the corresponding missing detection rate group and the false detection leakage detection rate of each group of metal-containing product sampling data, the selection of the corresponding value as the threshold includes:
根据每组含金属的产品采样数据各自对应的漏检率组和产品误检率组,绘制对应的曲线图;Draw the corresponding graph according to the corresponding missing detection rate group and product false detection rate group of each group of metal-containing product sampling data;
根据误检漏检率的要求,从曲线图上选择相应的数值作为阈值。According to the requirement of false detection miss detection rate, select the corresponding value from the graph as the threshold.
本实施与上述各方法实施例相同的解释部分在此不再赘述,请参见上述各方法实施例。The same explanation part of this embodiment as the above method embodiments is not repeated here, please refer to the above method embodiments.
本实施例中,对阈值的选择进行周期性/实时的监测,时刻保证金属探测器设置的阈值能够满足实际生产的需求。In this embodiment, periodic/real-time monitoring is performed on the selection of the threshold to ensure that the threshold set by the metal detector can meet the actual production needs.
图7示出了本发明的一个数字性能分析设备的实施例,包括:FIG. 7 shows an embodiment of a digital performance analysis device of the present invention, including:
获取模块10,用于获取一组不含金属的产品采样数据和至少一组含 金属的产品采样数据。The obtaining module 10 is used to obtain a set of sampling data of products containing no metal and at least one set of sampling data of products containing metal.
具体的,不含金属的产品采样数据是指产品本身过金属探测器得到的数据。Specifically, the sampling data of products without metal refers to the data obtained by the product itself passing through the metal detector.
阈值的选择与应用场合密切相关,因此,含金属的产品采样数据的组数根据想要检测的金属数量而定。含金属的产品采样数据是指产品中包含了相关金属过金属探测器得到的数据。The choice of threshold is closely related to the application. Therefore, the number of samples of metal-containing product sampling data depends on the number of metals to be detected. Sampling data of metal-containing products refers to the data contained in the products containing related metal-over-metal detectors.
例如:想检测产品中是否会存在铁,则可获取一组含铁的产品采样数据,具体方式为产品中含有铁球过金属探测器获取;或者,想检测产品中是否会存在铁、非铁的金属、不锈钢,则需要获取三组含金属的产品采样数据,分别为铁、非铁的金属和不锈钢,实现方式为分别将三种不同的金属放到产品中测试得到对应的各组含金属的产品采样数据。For example: if you want to detect the presence of iron in the product, you can obtain a set of sampling data of the product containing iron, the specific method is that the product contains an iron ball through the metal detector; or, you want to detect whether there is iron or non-iron in the product Metal, stainless steel, you need to obtain three sets of metal-containing product sampling data, respectively ferrous, non-ferrous metals and stainless steel, the implementation method is to put three different metals into the product to test the corresponding groups of metal-containing Product sampling data.
每组的采样数据个数根据实际精度设置,可以为任意个数。例如:如图3所示,有4组采样数据,其中一组为不含金属的产品采样数据,另外三组为含金属的产品采样数据,每组有100个数据。The number of sampled data in each group is set according to the actual accuracy, and can be any number. For example, as shown in Fig. 3, there are 4 sets of sampling data, one of which is the product sampling data of metal-free products, and the other three are the sampling data of metal-containing products. Each group has 100 data.
一般测试含金属的产品采样数据时,是将金属小球(例如:1.5mm直径的铁珠、2.0mm的非铁质金属珠、2.5mm的不锈钢珠。)放入产品,让它们通过金属探测器获取。由于各种复杂的、不可避免的客观因素的影响,如通过时的速度、相对机器的位置、运行轨迹、输送带、震动、产品温度、环境温度、供电电压、大气压、静电、车间复杂的电磁环境等等,导致金属小球每次通过时,信号几乎不可能每次都相同,因此,采样数据的数量尽可能多一点,例如:每组设置200个,150个等,以提高精确度。Generally, when testing the sampling data of products containing metals, metal balls (for example: 1.5mm diameter iron beads, 2.0mm non-ferrous metal beads, 2.5mm stainless steel beads.) are put into the product and let them pass the metal detection器取。 Obtained. Due to the influence of various complex and inevitable objective factors, such as speed when passing, relative machine position, running track, conveyor belt, vibration, product temperature, ambient temperature, power supply voltage, atmospheric pressure, static electricity, complex electromagnetic in the workshop The environment and so on cause the signal of the metal ball to be almost the same every time it passes. Therefore, the number of sampled data should be as much as possible, for example: set 200, 150, etc. in each group to improve accuracy.
需要注意的是,考虑到金属探测器因为现在的技术原因在检测时会因为金属异物的形状不同而使结果存在区别,例如:直径1mm,长度为10mm的金属丝,可能在一个角度能检测到,但旋转一定角度后(例如:90度)可能无法检测到,因此,建议使用球形作为标准。It should be noted that due to the current technical reasons, the detection of metal detectors will be different due to the different shapes of metal foreign objects. For example: a wire with a diameter of 1mm and a length of 10mm may be detected at an angle , But it may not be detected after rotating a certain angle (for example: 90 degrees), so it is recommended to use the sphere as a standard.
采样数据通过金属探测器监测得到,当数字性能分析方法对应的程序运行于金属探测器上时,直接调用即可;当此程序运行于金属探测器以外的设备上时,可由金属探测器发送得到,也可通过摄像模块监测金属探测 器的测试过程自行识别得到等。在此不限制采样数据的具体获取方式。Sampling data is obtained through metal detector monitoring. When the program corresponding to the digital performance analysis method runs on the metal detector, it can be directly called; when this program runs on equipment other than the metal detector, it can be sent by the metal detector It can also be identified by the camera module during the monitoring process of the metal detector. The specific acquisition method of sampling data is not limited here.
当数字性能分析方法对应的程序不运行于金属探测器上时,可选地,数字性能分析设备还包括:摄像模块,用于实时获取金属探测器的工作状态;获取模块10,进一步用于根据实时获取的金属探测器的工作状态,识别出一组不含金属的产品采样数据和至少一组含金属的产品采样数据。When the program corresponding to the digital performance analysis method does not run on the metal detector, optionally, the digital performance analysis device further includes: a camera module for real-time acquisition of the working state of the metal detector; the acquisition module 10 is further used for The working status of the metal detector acquired in real time identifies a set of product sampling data without metal and at least one set of product sampling data with metal.
具体的,摄像模块由若干个摄像装置组成,每个摄像装置用于监测一个或多个金属探测器,其拍摄金属探测器的工作状态(例如:测试产品、包含金属的产品时的测试结果),由获取模块10进行识别和解读(例如:根据摄像的图片进行图片到数值的转换),得到一组不含金属的产品采样数据和至少一组含金属的产品采样数据。Specifically, the camera module is composed of several camera devices, and each camera device is used to monitor one or more metal detectors, and it photographs the working state of the metal detector (for example: test results when testing products and products containing metals) Recognition and interpretation by the acquisition module 10 (for example, the conversion of pictures to values according to the captured pictures), to obtain a set of product sampling data without metal and at least one set of product sampling data with metal.
而获取模块10、计算模块20和选择模块30的功能可由一台计算机/服务器完成。摄像装置与计算机/服务器通信连接(例如:每个摄像头通过高速数据通信线经网络设备将拍摄的视频信号传输到计算机/服务器,高速数据通信线可以是以太网,企业局域网,也可以是国际互联网,还可以是包括USB在内的各种高速通信线),保证两者之间的数据传输。当然,摄像装置也可独立工作,发现金属探测器的误检率、漏检率需要调整时,自动发出提醒。The functions of the acquisition module 10, the calculation module 20, and the selection module 30 can be performed by one computer/server. The camera device is connected to the computer/server (for example: each camera transmits the captured video signal to the computer/server via a network device through a high-speed data communication line. The high-speed data communication line can be Ethernet, corporate LAN, or the Internet , Can also be various high-speed communication lines including USB) to ensure data transmission between the two. Of course, the camera device can also work independently, and it automatically reminds when it finds that the false detection rate and the missing detection rate of the metal detector need to be adjusted.
计算模块20,用于根据不含金属的产品采样数据和含金属的产品采样数据的分布规律,计算得到不含金属的产品采样数据对应的产品误检率组和每组含金属的产品采样数据各自对应的漏检率组。The calculation module 20 is used to calculate the product misdetection rate group corresponding to the metal-free product sampling data and each group of metal-containing product sampling data according to the distribution rule of the metal-free product sampling data and the metal-containing product sampling data The corresponding missed detection rate group.
具体的,当得到不含金属的产品采样数据和各组含金属的产品采样数据后,分析确定采样数据的分布规律,再选择合适的公式计算产品误检率组和漏检率组,为后续选择合适的阈值打下基础。Specifically, after obtaining the sampling data of metal-free products and the sampling data of each group of metal-containing products, analyze and determine the distribution rule of the sampling data, and then select the appropriate formula to calculate the product misdetection rate group and the missed detection rate group. Choose the appropriate threshold to lay the foundation.
选择模块30,用于根据产品误检率组、每组含金属的产品采样数据各自对应的漏检率组和实际的误检漏检率的要求,选择相应的数值作为阈值。The selection module 30 is used to select the corresponding value as the threshold according to the requirements of the product false detection rate group, the corresponding missing detection rate group of each group of metal-containing product sampling data, and the actual false detection leakage detection rate.
具体的,误检漏检率要求根据实际情况决定,例如:误检率要求低于0.1%,同时漏检率也要低于0.1%,则从产品误检率组和各组漏检率组中 选择同时满足低于0.1%的数值作为阈值。Specifically, the false detection and missed detection rate requirements are determined according to the actual situation, for example: the false detection rate is required to be less than 0.1%, and the missed detection rate is also required to be less than 0.1%. Choose the value that satisfies less than 0.1% at the same time as the threshold.
大多数时候满足误检率、漏检率要求的是一个数值范围,则可任意选择此数值范围中的一个数值作为阈值。Most of the time, it is a value range that meets the requirements for the false detection rate and the missed detection rate. You can arbitrarily choose one of the values in this value range as the threshold.
优选地,选择模块30,用于根据产品误检率组、每组含金属的产品采样数据各自对应的漏检率组和实际的误检漏检率的要求,选择相应的数值作为阈值包括:Preferably, the selection module 30 is configured to select the corresponding value as the threshold according to the product false detection rate group, the corresponding missing detection rate group of each group of metal-containing product sampling data, and the actual false detection missing detection rate requirements:
绘图子模块31,用于根据每组含金属的产品采样数据各自对应的漏检率组和产品误检率组,绘制对应的曲线图;The drawing sub-module 31 is used to draw a corresponding graph according to the corresponding missing detection rate group and product false detection rate group of each group of metal-containing product sampling data;
选择子模块32,用于根据误检漏检率要求,从曲线图上选择相应的数值作为阈值。The selection sub-module 32 is used to select the corresponding value from the graph as the threshold according to the false detection and miss detection rate requirements.
具体的,将计算得到的各漏检率组和产品误检率组绘制成对应的曲线图,让使用者直观地了解各数值对应的误检率、漏检率,方便、快速地理解阈值的选择原因。具体的例子可参见对应的方法实施例,在此不再赘述。Specifically, the calculated missed detection rate groups and product misdetection rate groups are drawn into corresponding graphs, so that users can intuitively understand the false detection rate and missed detection rate corresponding to each value, and understand the threshold value conveniently and quickly. Choose a reason. For specific examples, please refer to the corresponding method embodiments, which will not be repeated here.
本实施例中根据不含金属的产品采样数据和含金属的产品采样数据的分布规律,按照误检率、漏检率的要求选择合适的阈值,使阈值的选择得到有效的量化数据支撑,选择的阈值更符合实际使用需求,降低误检率和漏检率,提高产品质量的监测。In this embodiment, according to the distribution rules of sampling data of metal-free products and sampling data of metal-containing products, an appropriate threshold is selected according to the requirements of the false detection rate and the missing detection rate, so that the selection of the threshold is supported by effective quantitative data. The threshold is more in line with the actual use requirements, reducing the false detection rate and the missed detection rate, and improving the monitoring of product quality.
图8示出了另一个数字性能分析设备的实施例,包括:FIG. 8 shows another embodiment of a digital performance analysis device, including:
获取模块10,用于获取一组不含金属的产品采样数据和至少一组含金属的产品采样数据。The obtaining module 10 is configured to obtain a set of product sampling data without metal and at least one set of product sampling data with metal.
可选地,当数字性能分析方法对应的程序不运行于金属探测器上时,可选地,数字性能分析设备还包括:摄像模块40,用于实时获取金属探测器的工作状态;获取模块10,进一步用于根据实时获取的金属探测器的工作状态,识别出一组不含金属的产品采样数据和至少一组含金属的产品采样数据。Optionally, when the program corresponding to the digital performance analysis method does not run on the metal detector, optionally, the digital performance analysis device further includes: a camera module 40 for acquiring the working state of the metal detector in real time; the acquisition module 10 It is further used to identify a set of metal-free product sampling data and at least one set of metal-containing product sampling data based on the working status of the metal detector acquired in real time.
具体的解释与上述设备实施例相同,在此不再赘述。The specific explanation is the same as the above device embodiment, and will not be repeated here.
计算模块20,用于根据不含金属的产品采样数据和含金属的产品采样数据的分布规律,计算得到不含金属的产品采样数据对应的产品误检率 组和每组含金属的产品采样数据各自对应的漏检率组包括:The calculation module 20 is used to calculate the product misdetection rate group corresponding to the metal-free product sampling data and each group of metal-containing product sampling data according to the distribution rule of the metal-free product sampling data and the metal-containing product sampling data The corresponding missed detection rate groups include:
计算模块20,当不含金属的产品采样数据和含金属的产品采样数据符合正态分布规律时,根据预设正态公式、预设界限参数(预设界限参数包括:最小阈值、最大阈值和阈值间隔值)、不含金属的产品采样数据和各含金属的产品采样数据,计算得到不含金属的产品采样数据对应的产品误检率组和每组含金属的产品采样数据各自对应的漏检率组。The calculation module 20, when the sampling data of the product containing no metal and the sampling data of the product containing metal conform to the normal distribution law, according to the preset normal formula and the preset limit parameters (the preset limit parameters include: the minimum threshold, the maximum threshold and (Threshold interval value), metal-free product sampling data and each metal-containing product sampling data, the product misdetection rate group corresponding to the metal-free product sampling data and the corresponding leakage of each group of metal-containing product sampling data are calculated. Inspection rate group.
具体的,预设界限参数是指金属探测器的阈值范围,根据实际检测需求设置合适的最小阈值、最大阈值和阈值间隔值。Specifically, the preset limit parameter refers to the threshold range of the metal detector, and an appropriate minimum threshold, maximum threshold, and threshold interval value are set according to actual detection requirements.
例如:若需要检测的金属为不锈钢和铁,如图3所示,可以将最大阈值设为1500,最小阈值为5,阈值间隔值为1。当然,这些数据可以灵活变动,例如:最大阈值设为1400,最小阈值为10,阈值间隔值为3等。For example, if the metal to be detected is stainless steel and iron, as shown in FIG. 3, the maximum threshold can be set to 1500, the minimum threshold is 5, and the threshold interval value is 1. Of course, these data can be flexibly changed, for example: the maximum threshold is set to 1400, the minimum threshold is 10, the threshold interval value is 3 and so on.
正态分布规律有其对应的统计公式,可将其设置为预设正态公式供后续的计算使用。The normal distribution law has its corresponding statistical formula, which can be set as a preset normal formula for subsequent calculations.
优选地,计算模块20,根据预设正态公式、预设界限参数、不含金属的产品采样数据和各含金属的产品采样数据,计算得到不含金属的产品采样数据对应的产品误检率组和每组含金属的产品采样数据各自对应的漏检率组包括:Preferably, the calculation module 20 calculates the product false detection rate corresponding to the metal-free product sampling data according to the preset normal formula, the preset limit parameters, the metal-free product sampling data and the metal-containing product sampling data The missing detection rate groups corresponding to the sampling data of each group and each group of metal-containing products include:
计算模块20,根据不含金属的产品采样数据,计算对应的产品平均值和产品标准差;以及,根据每组含金属的产品采样数据,计算每组含金属的产品采样数据各自对应的金属平均值和金属标准差;以及,根据产品平均值、产品标准差、预设界限参数和预设正态公式,计算得到产品采样数据对应的产品误检率组;以及,根据预设界限参数、预设正态公式和每组含金属的产品采样数据各自对应的金属平均值和金属标准差,分别计算得到每组含金属的产品采样数据对应的漏检率组。The calculation module 20 calculates the corresponding product average and product standard deviation based on the sampling data of the metal-free products; and, based on the sampling data of each group of metal-containing products, calculates the corresponding metal average of each group of metal-containing product sampling data Value and metal standard deviation; and, based on the product average, product standard deviation, preset limit parameters and preset normal formula, the product misdetection rate group corresponding to the product sampling data is calculated; and, according to the preset limit parameters, Suppose the normal formula and the metal mean value and metal standard deviation corresponding to the sampling data of each group of metal-containing products, respectively, and calculate the missing detection rate group corresponding to each group of metal-containing product sampling data.
具体的,平均值就是采样数据的总和除以总个数。例如:一组产品采样数据中有150个数据,则将这150个数据相加后,除以150,得到产品平均值。同理为每组金属采样数据对应的金属平均值。Specifically, the average value is the sum of the sampled data divided by the total number. For example: there are 150 data in a set of product sampling data, then add the 150 data and divide by 150 to get the average value of the product. Similarly, the average value of the metal corresponding to each group of metal sampling data.
标准差则根据上述对应方法实施例中的公式计算得到,请参见对应的 方法实施例,在此不再赘述。The standard deviation is calculated according to the formula in the corresponding method embodiment described above. Please refer to the corresponding method embodiment, which will not be repeated here.
预设正态公式请参见对应的方法实施例,将不同的x值代入预设正态公式,可计算得到小于等于x值的概率总和,对于产品来说,低于x值是正常情况,高于x值属于误检情况;对于金属来说,高于x值属于检出,低于x值属于漏检。具体的例子可参见对应的方法实施例,在此不再赘述。For the preset normal formula, please refer to the corresponding method embodiment. Substituting different values of x into the preset normal formula can calculate the sum of the probabilities less than or equal to the value of x. For products, below the value of x is normal, high The x value is a false detection; for metals, a value higher than x is detected, and a value lower than x is missed. For specific examples, please refer to the corresponding method embodiments, which will not be repeated here.
选择模块30,用于根据产品误检率组、每组含金属的产品采样数据各自对应的漏检率组和误检漏检率要求,选择相应的数值作为阈值。The selection module 30 is used to select the corresponding value as the threshold according to the product misdetection rate group, the corresponding misdetection rate group and the misdetection miss detection rate requirements of each group of metal-containing product sampling data.
优选地,选择模块30,用于根据产品误检率组、每组含金属的产品采样数据各自对应的漏检率组和误检漏检率要求,选择相应的数值作为阈值包括:Preferably, the selection module 30 is configured to select the corresponding value as the threshold based on the product misdetection rate group, the corresponding misdetection rate group and the misdetection miss rate requirement of each metal-containing product sampling data, including:
绘图子模块31,用于根据每组含金属的产品采样数据各自对应的漏检率组和产品误检率组,绘制对应的曲线图;The drawing sub-module 31 is used to draw a corresponding graph according to the corresponding missing detection rate group and product false detection rate group of each group of metal-containing product sampling data;
选择子模块32,用于根据误检漏检率要求,从曲线图上选择相应的数值作为阈值。The selection sub-module 32 is used to select the corresponding value from the graph as the threshold according to the false detection and miss detection rate requirements.
具体实施过程与上述设备实施例中的具体实施过程相同,在此不再详细描述。The specific implementation process is the same as the specific implementation process in the above device embodiment, and will not be described in detail here.
本实施例中针对符合正态分布规律的采样数据给出了具体的概率计算方式,得到了量化的数据支撑,使挑选的作为阈值的数值更符合实际监测需求。In this embodiment, a specific probability calculation method is given for the sampling data that conforms to the normal distribution law, and quantitative data support is obtained, so that the selected value as the threshold value is more in line with actual monitoring needs.
当阈值的选择方法对应的程序由非金属探测器设备执行时,可通过摄像头等设备监测金属探测器以获取采样数据,实现方式多样化,满足不同场合的应用需求。When the procedure corresponding to the threshold selection method is executed by a non-metal detector device, the metal detector can be monitored by cameras and other devices to obtain sampling data, and the implementation methods are diversified to meet the application requirements of different occasions.
在本发明的又一个设备实施例中,一种数字性能分析设备包括:In yet another device embodiment of the present invention, a digital performance analysis device includes:
获取模块10,用于当达到一定时间间隔时,获取(优选地,距离当前时间最近的)一组不含金属的产品采样数据和至少一组含金属的产品采样数据;The acquiring module 10 is configured to acquire (preferably, the closest to the current time) a set of metal-free product sampling data and at least one set of metal-containing product sampling data when a certain time interval is reached;
计算模块20,用于根据不含金属的产品采样数据和含金属的产品采样数据的分布规律,计算得到不含金属的产品采样数据对应的产品误检率 组和每组含金属的产品采样数据各自对应的漏检率组;The calculation module 20 is used to calculate the product misdetection rate group corresponding to the metal-free product sampling data and each group of metal-containing product sampling data according to the distribution rule of the metal-free product sampling data and the metal-containing product sampling data The corresponding missing detection rate group;
选择模块30,用于根据产品误检率组、每组含金属的产品采样数据各自对应的漏检率组和误检漏检率的要求,选择相应的数值作为阈值。The selection module 30 is used to select the corresponding value as the threshold according to the requirements of the product misdetection rate group, the corresponding misdetection rate group and the misdetection miss rate of each metal-containing product sampling data.
具体的,本实施例的阈值选择在实际使用时可周期性地进行,当一定时间间隔设置的足够小时,可实现实时监测。Specifically, the threshold value selection in this embodiment may be periodically performed when actually used, and when a certain time interval is set sufficiently small, real-time monitoring may be achieved.
当相应程序运行于金属探测器上,金属探测器根据实时获取的各采样数据,选择一组不含金属的产品采样数据和至少一组含金属的产品采样数据,进行实时/周期性地计算,选择合理的数据作为阈值。When the corresponding program is run on the metal detector, the metal detector selects a set of metal-free product sampling data and at least one set of metal-containing product sampling data based on the sampling data obtained in real time, and performs real-time/periodical calculations. Choose reasonable data as the threshold.
当采用其他设备来监测金属探测器的阈值时,其可实时监测金属探测器,实时获取各采样数据,选择一组不含金属的产品采样数据和至少一组含金属的产品采样数据,进行实时/周期性地计算,为金属探测器给出合理的数据作为阈值的建议。When other equipment is used to monitor the threshold of the metal detector, it can monitor the metal detector in real time, obtain each sampling data in real time, select a set of product sampling data without metal and at least one set of product sampling data with metal for real-time /Periodic calculation, giving reasonable suggestions for metal detectors as thresholds.
优选地,当各采样数据的数量更新时,取距离当前时间最近的一定数量的数据进行分析,使计算结果更符合当前情况。Preferably, when the amount of each sampled data is updated, a certain amount of data closest to the current time is taken for analysis, so that the calculation result is more in line with the current situation.
选择模块30,用于根据产品误检率组、每组含金属的产品采样数据各自对应的漏检率组和误检漏检率的要求,选择相应的数值作为阈值包括:The selection module 30 is used to select the corresponding value as the threshold according to the requirements of the product false detection rate group, the corresponding leakage detection rate group and the false detection leakage detection rate of each group of metal-containing product sampling data, including:
选择模块30,用于当已设置的阈值符合误检漏检率的要求,仍采用此阈值;以及,当已设置的阈值不符合误检漏检率的要求,则根据产品误检率组、每组含金属的产品采样数据各自对应的漏检率组和误检漏检率的要求,重新选择相应的数值更新或提示更新阈值。The selection module 30 is used when the set threshold meets the requirements of false detection and miss detection rate, and the threshold is still used; and, when the set threshold does not meet the requirements of false detection and miss detection rate, according to the product misdetection rate group, Each group of metal-containing product sampling data corresponds to the requirements of the missed detection rate group and the false detection missed detection rate, and re-select the corresponding value to update or prompt to update the threshold.
具体的,实时/周期性监测的话,说明金属探测器已经被设置了一个阈值(可能为根据经验设置一个值,也可能为根据实时计算出来的结果选择的一个值),投入到实际产品监测中,实际使用过程中由于干扰、温度、现场电磁环境可能会缓慢影响金属探测器导致信号增大时,当前设置的阈值可能无法满足金属的低漏检率和产品的低误检率。Specifically, in real-time/periodical monitoring, it means that the metal detector has been set with a threshold (may be a value set based on experience or a value selected based on the result calculated in real time), and put into actual product monitoring In the actual use process, due to interference, temperature, and the on-site electromagnetic environment may slowly affect the metal detector and cause the signal to increase, the currently set threshold may not meet the low miss detection rate of the metal and the low false detection rate of the product.
因此,可根据最新计算出来的产品误检率组、每组含金属的产品采样数据各自对应的漏检率组和误检漏检率的要求来确认已设置的阈值是否 需要调整,若其符合误检漏检率的要求,则不需要调整,若其不符合,则需要重新选择一个数据作为新的阈值(具体的实现过程可自动选择一个新的阈值,或者,发出提示,让工作人员知道需要调整),满足生产要求。Therefore, you can confirm whether the set threshold needs to be adjusted according to the latest calculated product false detection rate group, the corresponding leakage detection rate group and the false detection leakage detection rate requirements of each group of metal-containing product sampling data, if it meets the requirements The requirements for false detection and missed detection rate do not need to be adjusted. If it does not meet the requirement, you need to re-select a data as a new threshold (the specific implementation process can automatically select a new threshold, or send a prompt to let the staff know Need to adjust) to meet production requirements.
可选地,计算模块20,用于根据不含金属的产品采样数据和含金属的产品采样数据的分布规律,计算得到不含金属的产品采样数据对应的产品误检率组和每组含金属的产品采样数据各自对应的漏检率组包括:Optionally, the calculation module 20 is configured to calculate the product false detection rate group corresponding to the metal-free product sampling data and the metal-containing product sampling data distribution product corresponding to the metal-free product sampling data and each group of metal-containing products The corresponding missed detection rate groups of product sampling data include:
计算模块20,当不含金属的产品采样数据和含金属的产品采样数据符合正态分布规律时,根据预设正态公式、预设界限参数、不含金属的产品采样数据和各含金属的产品采样数据,计算得到不含金属的产品采样数据对应的产品误检率组和每组含金属的产品采样数据各自对应的漏检率组。Calculation module 20, when the sampling data of metal-free products and the sampling data of metal-containing products conform to the normal distribution law, according to the preset normal formula, the preset limit parameters, the sampling data of metal-free products and the metal-containing product For product sampling data, calculate the product misdetection rate group corresponding to the metal-free product sampling data and the missing detection rate group corresponding to each group of metal-containing product sampling data.
可选地,计算模块20,根据预设正态公式、预设界限参数、不含金属的产品采样数据和各含金属的产品采样数据,计算得到不含金属的产品采样数据对应的产品误检率组和每组含金属的产品采样数据各自对应的漏检率组包括:Optionally, the calculation module 20 calculates the product misdetection corresponding to the metal-free product sampling data according to the preset normal formula, the preset limit parameters, the metal-free product sampling data and the metal-containing product sampling data The rate group and each group of metal-containing product sampling data corresponding to the missing detection rate group include:
计算模块20,根据不含金属的产品采样数据,计算对应的产品平均值和产品标准差;以及,根据每组含金属的产品采样数据,计算每组含金属的产品采样数据各自对应的金属平均值和金属标准差;以及,根据产品平均值、产品标准差、预设界限参数(预设界限参数包括:最小阈值、最大阈值和阈值间隔值)和预设正态公式,计算得到不含金属的产品采样数据对应的产品误检率组;以及,根据预设界限参数、预设正态公式和每组含金属的产品采样数据各自对应的金属平均值和金属标准差,分别计算得到每组含金属的产品采样数据对应的漏检率组。The calculation module 20 calculates the corresponding product average and product standard deviation based on the sampling data of the metal-free products; and, based on the sampling data of each group of metal-containing products, calculates the corresponding metal average of each group of metal-containing product sampling data Value and metal standard deviation; and, based on the product average, product standard deviation, preset limit parameters (the preset limit parameters include: minimum threshold, maximum threshold, and threshold interval value) and the preset normal formula, the calculated metal-free The product false detection rate group corresponding to the product sampling data of the product; and, according to the preset limit parameters, the preset normal formula and the metal average and metal standard deviation corresponding to each group of metal-containing product sampling data, each group is calculated separately Missing detection rate group corresponding to metal-containing product sampling data.
可选地,选择模块30,用于根据产品误检率组、每组含金属的产品采样数据各自对应的漏检率组和误检漏检率的要求,选择相应的数值作为阈值包括:Optionally, the selection module 30 is configured to select the corresponding value as the threshold according to the requirements of the product misdetection rate group, the corresponding misdetection rate group and the misdetection miss rate of each metal-containing product sampling data, including:
绘图子模块31,用于根据每组含金属的产品采样数据各自对应的漏检率组和产品误检率组,绘制对应的曲线图;The drawing sub-module 31 is used to draw a corresponding graph according to the corresponding missing detection rate group and product false detection rate group of each group of metal-containing product sampling data;
选择子模块32,用于根据误检漏检率要求,从曲线图上选择相应的数 值作为阈值。The selection sub-module 32 is used to select the corresponding value from the graph as the threshold according to the requirement of false detection and miss detection rate.
可选地,当数字性能分析设备为非金属探测器的设备时,数字性能分析设备还可包括:摄像模块40,用于实时获取金属探测器的工作状态;获取模块10,进一步用于根据实时获取的金属探测器的工作状态,识别出一组不含金属的产品采样数据和至少一组含金属的产品采样数据。Optionally, when the digital performance analysis device is a non-metal detector device, the digital performance analysis device may further include: a camera module 40 for acquiring the working state of the metal detector in real time; The obtained working state of the metal detector identifies a set of sampling data of products without metal and at least one set of sampling data of products with metal.
本实施与上述各设备实施例相同的解释部分在此不再赘述,请参见上述各方法实施例。The same explanation part of this embodiment as the above device embodiments is not repeated here, please refer to the above method embodiments.
本实施例中,对阈值的选择进行周期性/实时的监测,时刻保证金属探测器设置的阈值能够满足实际生产的需求。In this embodiment, periodic/real-time monitoring is performed on the selection of the threshold to ensure that the threshold set by the metal detector can meet the actual production needs.
应当说明的是,上述实施例均可根据需要自由组合。以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。It should be noted that the above embodiments can be freely combined as needed. The above is only the preferred embodiment of the present invention. It should be pointed out that for those of ordinary skill in the art, without departing from the principles of the present invention, several improvements and retouches can be made. These improvements and retouches also It should be regarded as the protection scope of the present invention.

Claims (14)

  1. 一种数字性能分析方法,其特征在于,包括以下步骤:A digital performance analysis method, characterized in that it includes the following steps:
    S1获取一组不含金属的产品采样数据和至少一组含金属的产品采样数据;S1 Obtain a set of sample data of metal-free products and at least one set of sample data of metal-containing products;
    S2根据所述不含金属的产品采样数据和所述含金属的产品采样数据的分布规律,计算得到所述不含金属的产品采样数据对应的产品误检率组和每组含金属的产品采样数据各自对应的漏检率组;S2 calculates the product misdetection rate group corresponding to the metal-free product sampling data and each group of metal-containing product sampling according to the distribution rule of the metal-free product sampling data and the metal-containing product sampling data The missing detection rate group corresponding to the data;
    S3根据所述产品误检率组、每组含金属的产品采样数据各自对应的漏检率组和误检漏检率的要求,选择相应的数值作为阈值。S3 selects the corresponding value as the threshold according to the requirements of the product misdetection rate group, the corresponding misdetection rate group and the misdetection miss rate of each metal-containing product sampling data.
  2. 如权利要求1所述的数字性能分析方法,其特征在于,所述的根据所述不含金属的产品采样数据和所述含金属的产品采样数据的分布规律,计算得到所述不含金属的产品采样数据对应的产品误检率组和每组含金属的产品采样数据各自对应的漏检率组包括:The digital performance analysis method according to claim 1, characterized in that, based on the distribution rule of the sampling data of the metal-free product and the sampling data of the metal-containing product, the metal-free product is calculated The product false detection rate group corresponding to the product sampling data and the corresponding missing detection rate group for each group of metal-containing product sampling data include:
    当所述不含金属的产品采样数据和所述含金属的产品采样数据符合正态分布规律时,根据预设正态公式、预设界限参数、所述不含金属的产品采样数据和各所述含金属的产品采样数据,计算得到所述不含金属的产品采样数据对应的产品误检率组和每组含金属的产品采样数据各自对应的漏检率组。When the sampling data of the metal-free product and the sampling data of the metal-containing product conform to the normal distribution law, according to a preset normal formula, a preset limit parameter, the sample data of the metal-free product and each Based on the sampling data of metal-containing products, the product misdetection rate group corresponding to the sampling data of metal-free products and the missing detection rate group corresponding to each group of metal-containing product sampling data are calculated.
  3. 如权利要求2所述的数字性能分析方法,其特征在于,所述的根据预设正态公式、预设界限参数、所述不含金属的产品采样数据和各所述含金属的产品采样数据,计算得到所述不含金属的产品采样数据对应的产品误检率组和每组含金属的产品采样数据各自对应的漏检率组包括:The digital performance analysis method according to claim 2, characterized in that, according to a preset normal formula, a preset limit parameter, the sampling data of the metal-free product and the sampling data of each of the metal-containing products Calculate that the product false detection rate group corresponding to the metal-free product sampling data and the corresponding missing detection rate group of each group of metal-containing product sampling data include:
    根据所述不含金属的产品采样数据,计算对应的产品平均值和产品标准差;Calculate the corresponding product average and product standard deviation based on the sampling data of the metal-free products;
    根据每组所述含金属的产品采样数据,计算每组所述含金属的产品 采样数据各自对应的金属平均值和金属标准差;According to the sampling data of each group of metal-containing products, calculate the respective metal average and metal standard deviation corresponding to the sampling data of each group of metal-containing products;
    根据所述产品平均值、所述产品标准差、所述预设界限参数和预设正态公式,计算得到所述不含金属的产品采样数据对应的产品误检率组;Calculate the product misdetection rate group corresponding to the metal-free product sampling data according to the product average value, the product standard deviation, the preset limit parameter and the preset normal formula;
    根据所述预设界限参数、预设正态公式和每组所述含金属的产品采样数据各自对应的金属平均值和金属标准差,分别计算得到每组含金属的产品采样数据对应的漏检率组。According to the preset limit parameter, the preset normal formula and the metal average and metal standard deviation corresponding to each group of the metal-containing product sampling data, respectively calculate the leak detection corresponding to each group of metal-containing product sampling data Rate group.
  4. 如权利要求2所述的数字性能分析方法,其特征在于,所述预设界限参数包括:最小阈值、最大阈值和阈值间隔值。The digital performance analysis method according to claim 2, wherein the preset limit parameters include: a minimum threshold, a maximum threshold, and a threshold interval value.
  5. 如权利要求1所述的数字性能分析方法,其特征在于,所述的根据所述产品误检率组、每组含金属的产品采样数据各自对应的漏检率组和误检漏检率的要求,选择相应的数值设为阈值包括:The digital performance analysis method according to claim 1, characterized in that, according to the product misdetection rate group, each group of metal-containing product sampling data corresponds to the respective misdetection rate group and misdetection miss rate As required, selecting the corresponding value as the threshold includes:
    根据每组含金属的产品采样数据各自对应的漏检率组和所述产品误检率组,绘制对应的曲线图;Draw the corresponding graph according to the corresponding missing detection rate group and the product false detection rate group of each group of metal-containing product sampling data;
    根据误检漏检率的要求,从所述曲线图上选择相应的数值作为阈值。According to the requirement of false detection miss detection rate, the corresponding value is selected from the graph as the threshold.
  6. 如权利要求1-5任一所述的数字性能分析方法,其特征在于:The digital performance analysis method according to any one of claims 1 to 5, wherein:
    所述步骤S1获取一组不含金属的产品采样数据和至少一组含金属的产品采样数据包括:The step S1 of acquiring a set of metal-free product sampling data and at least one set of metal-containing product sampling data includes:
    当达到一定时间间隔时,获取一组不含金属的产品采样数据和至少一组含金属的产品采样数据;When a certain time interval is reached, obtain a set of sample data of metal-free products and at least one set of sample data of metal-containing products;
    所述步骤S2根据所述不含金属的产品采样数据和所述含金属的产品采样数据的分布规律,计算得到所述不含金属的产品采样数据对应的产品误检率组和每组含金属的产品采样数据各自对应的漏检率组包括:Step S2 calculates the product misdetection rate group corresponding to the metal-free product sampling data and each group of metal-containing products according to the distribution rule of the metal-free product sampling data and the metal-containing product sampling data The corresponding missed detection rate groups of product sampling data include:
    根据一定时间间隔获取的所述不含金属的产品采样数据和所述含金属的产品采样数据的分布规律,计算得到所述不含金属的产品采样数据对应的产品误检率组和每组含金属的产品采样数据各自对应的漏检率 组。According to the distribution rules of the metal-free product sampling data and the metal-containing product sampling data acquired at a certain time interval, the product misdetection rate group corresponding to the metal-free product sampling data and each group containing Metal product sampling data corresponding to the missing detection rate group.
  7. 如权利要求6所述的数字性能分析方法,其特征在于,所述步骤S3根据所述产品误检率组、每组含金属的产品采样数据各自对应的漏检率组和误检漏检率的要求,选择相应的数值作为阈值进一步包括:The digital performance analysis method according to claim 6, wherein the step S3 is based on the product misdetection rate group, the respective misdetection rate group and misdetection miss detection rate of each group of metal-containing product sampling data Requirements, selecting the corresponding value as the threshold further includes:
    当已设置的阈值符合所述误检漏检率的要求,仍采用此阈值;When the set threshold meets the requirements of the false detection and miss detection rate, this threshold is still adopted;
    当已设置的阈值不符合所述误检漏检率的要求,则根据所述产品误检率组、每组含金属的产品采样数据各自对应的漏检率组和误检漏检率的要求,重新选择相应的数值更新或提示更新所述阈值。When the set threshold does not meet the requirements of the false detection and detection rate, according to the product false detection rate group, each group of metal-containing product sampling data corresponding to the corresponding detection rate group and false detection and detection rate requirements , Reselect the corresponding value to update or prompt to update the threshold.
  8. 一种数字性能分析设备,其特征在于,包括:A digital performance analysis device, characterized in that it includes:
    获取模块,用于获取一组不含金属的产品采样数据和至少一组含金属的产品采样数据;An acquisition module for acquiring a set of sample data of products containing no metal and at least one set of sample data of products containing metal;
    计算模块,用于根据所述不含金属的产品采样数据和所述含金属的产品采样数据的分布规律,计算得到所述不含金属的产品采样数据对应的产品误检率组和每组含金属的产品采样数据各自对应的漏检率组;The calculation module is used to calculate the product misdetection rate group corresponding to the metal-free product sampling data and each group containing Metal product sampling data corresponding to the missing detection rate group;
    选择模块,用于根据所述产品误检率组、每组含金属的产品采样数据各自对应的漏检率组和误检漏检率的要求,选择相应的数值作为阈值。The selection module is used to select the corresponding value as the threshold value according to the requirements of the product false detection rate group, the corresponding leakage detection rate group and the false detection leakage detection rate of each group of metal-containing product sampling data.
  9. 如权利要求8所述的数字性能分析设备,其特征在于,所述计算模块,用于根据所述不含金属的产品采样数据和所述含金属的产品采样数据的分布规律,计算得到所述不含金属的产品采样数据对应的产品误检率组和每组含金属的产品采样数据各自对应的漏检率组包括:The digital performance analysis device according to claim 8, wherein the calculation module is configured to calculate the distribution according to the distribution rule of the sampling data of the metal-free product and the sampling data of the metal-containing product The product false detection rate group corresponding to the metal-free product sampling data and the corresponding missing detection rate group for each group of metal-containing product sampling data include:
    所述计算模块,当所述不含金属的产品采样数据和所述含金属的产品采样数据符合正态分布规律时,根据预设正态公式、预设界限参数、所述不含金属的产品采样数据和各所述含金属的产品采样数据,计算得到所述不含金属的产品采样数据对应的产品误检率组和每组含金属的产品采样数据各自对应的漏检率组。The calculation module, when the sampling data of the metal-free product and the sampling data of the metal-containing product conform to the normal distribution law, according to a preset normal formula, a preset limit parameter, the metal-free product Sampling data and each of the metal-containing product sampling data are calculated to obtain a product misdetection rate group corresponding to the metal-free product sampling data and a missing detection rate group corresponding to each group of metal-containing product sampling data.
  10. 如权利要求9所述的数字性能分析设备,其特征在于,所述计算模块,根据预设正态公式、预设界限参数、所述不含金属的产品采样数据和各所述含金属的产品采样数据,计算得到所述不含金属的产品采样数据对应的产品误检率组和每组含金属的产品采样数据各自对应的漏检率组包括:The digital performance analysis device according to claim 9, wherein the calculation module is based on a preset normal formula, a preset limit parameter, sampling data of the metal-free product and each of the metal-containing products Sampling data, and calculating the product misdetection rate group corresponding to the metal-free product sampling data and the missing detection rate group corresponding to each group of metal-containing product sampling data include:
    所述计算模块,根据所述不含金属的产品采样数据,计算对应的产品平均值和产品标准差;以及,根据每组所述含金属的产品采样数据,计算每组所述含金属的产品采样数据各自对应的金属平均值和金属标准差;以及,根据所述产品平均值、所述产品标准差、所述预设界限参数和预设正态公式,计算得到所述不含金属的产品采样数据对应的产品误检率组;以及,根据所述预设界限参数、预设正态公式和每组所述含金属的产品采样数据各自对应的金属平均值和金属标准差,分别计算得到每组含金属的产品采样数据对应的漏检率组。The calculation module calculates the corresponding product average and product standard deviation based on the sampling data of the metal-free product; and calculates each group of the metal-containing product based on each group of the metal-containing product sampling data The metal average value and metal standard deviation corresponding to the sampled data; and, based on the product average value, the product standard deviation, the preset limit parameter, and the preset normal formula, calculate the metal-free product The product false detection rate group corresponding to the sampled data; and, based on the preset limit parameter, the preset normal formula, and the metal mean and metal standard deviation corresponding to each group of the metal-containing product sample data, respectively, calculated The missing detection rate group corresponding to the sampling data of each metal-containing product.
  11. 如权利要求8所述的数字性能分析设备,其特征在于,所述选择模块,用于根据所述产品误检率组、每组含金属的产品采样数据各自对应的漏检率组和误检漏检率的要求,选择相应的数值作为阈值包括:The digital performance analysis device according to claim 8, characterized in that the selection module is configured to, based on the product false detection rate group, each group of metal-containing product sampling data, corresponding to the respective missing detection rate group and false detection For the requirement of missed detection rate, the selection of the corresponding value as the threshold includes:
    绘图子模块,用于根据每组含金属的产品采样数据各自对应的漏检率组和所述产品误检率组,绘制对应的曲线图;A drawing sub-module, used to draw a corresponding graph according to the missing detection rate group and the product false detection rate group corresponding to each group of metal-containing product sampling data;
    选择子模块,用于根据误检漏检率要求,从所述曲线图上选择相应的数值作为阈值。A selection sub-module is used to select a corresponding value from the graph as a threshold according to the requirement of false detection and miss detection rate.
  12. 如权利要求8所述的数字性能分析设备,其特征在于,还包括:The digital performance analysis device according to claim 8, further comprising:
    摄像模块,用于实时获取金属探测器的工作状态;The camera module is used to obtain the working status of the metal detector in real time;
    所述获取模块,进一步用于根据实时获取的金属探测器的工作状态,识别出一组不含金属的产品采样数据和至少一组含金属的产品采样数据。The acquisition module is further used to identify a set of metal-free product sampling data and at least one set of metal-containing product sampling data based on the working status of the metal detector acquired in real time.
  13. 如权利要求8-12任一所述的数字性能分析设备,其特征在于,所述获取模块,进一步用于当达到一定时间间隔时,获取一组不含金属的产品采样数据和至少一组含金属的产品采样数据。The digital performance analysis device according to any one of claims 8 to 12, wherein the acquisition module is further configured to acquire a set of metal-free product sampling data and at least one set of Metal product sampling data.
  14. 如权利要求13所述的数字性能分析设备,其特征在于,所述选择模块,进一步用于当已设置的阈值符合所述误检漏检率的要求,仍采用此阈值;以及,当已设置的阈值不符合所述误检漏检率的要求,则根据所述产品误检率组、每组含金属的产品采样数据各自对应的漏检率组和误检漏检率的要求,重新选择相应的数值更新或提示更新所述阈值。The digital performance analysis device according to claim 13, wherein the selection module is further configured to use the threshold value when the set threshold value meets the requirements of the false detection and missed detection rate; and, when it has been set The threshold value does not meet the requirements of the false detection and leakage detection rate, and then re-select according to the requirements of the product false detection rate group, the corresponding leakage detection rate group and the false detection leakage detection rate of each group of metal-containing product sampling data The corresponding value is updated or prompted to update the threshold.
PCT/CN2019/091610 2018-12-27 2019-06-17 Digital performance analysis method and device WO2020133954A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811610109.1 2018-12-27
CN201811610109.1A CN109613108B (en) 2018-12-27 2018-12-27 Threshold selection method and equipment

Publications (1)

Publication Number Publication Date
WO2020133954A1 true WO2020133954A1 (en) 2020-07-02

Family

ID=66012734

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/091610 WO2020133954A1 (en) 2018-12-27 2019-06-17 Digital performance analysis method and device

Country Status (2)

Country Link
CN (1) CN109613108B (en)
WO (1) WO2020133954A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109613108B (en) * 2018-12-27 2022-09-20 帝沃检测技术(上海)有限公司 Threshold selection method and equipment
CN110308491B (en) * 2019-05-29 2021-11-05 浙江大华技术股份有限公司 Article detection method, article detection device, storage medium, and electronic device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1488933A (en) * 2002-08-22 2004-04-14 丰田自动车株式会社 Good-or-not decision device, decision programme, method and multi-variable statistical analyzing device
CN101840003A (en) * 2010-03-05 2010-09-22 清华大学 Green channel open vehicle radar detection method for metal contraband articles
CN103576206A (en) * 2012-07-31 2014-02-12 上海太易检测技术有限公司 Metal detector
US20150234075A1 (en) * 2012-02-10 2015-08-20 Illinois Tool Works Inc. Metal detector
CN108885193A (en) * 2016-03-25 2018-11-23 码科泰克株式会社 Failure detector and the defect inspection method for utilizing failure detector
CN109613108A (en) * 2018-12-27 2019-04-12 帝沃检测技术(上海)有限公司 Threshold selection method and equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4444240B2 (en) * 2006-06-15 2010-03-31 アンリツ産機システム株式会社 X-ray foreign object detection device
CN104700345B (en) * 2015-01-16 2017-10-17 天津科技大学 Set up the method that Ben Fude laws threshold library improves semi-fragile watermarking authentication checks rate
CN107361763B (en) * 2017-08-09 2020-10-09 广东虹勤通讯技术有限公司 Electrocardiogram data R wave detection method and device
CN108364017B (en) * 2018-01-24 2019-11-05 华讯方舟科技有限公司 A kind of picture quality classification method, system and terminal device
CN108918427B (en) * 2018-06-06 2021-07-30 北京云端光科技术有限公司 Method, apparatus, storage medium, and electronic device for detecting substance

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1488933A (en) * 2002-08-22 2004-04-14 丰田自动车株式会社 Good-or-not decision device, decision programme, method and multi-variable statistical analyzing device
CN101840003A (en) * 2010-03-05 2010-09-22 清华大学 Green channel open vehicle radar detection method for metal contraband articles
US20150234075A1 (en) * 2012-02-10 2015-08-20 Illinois Tool Works Inc. Metal detector
CN103576206A (en) * 2012-07-31 2014-02-12 上海太易检测技术有限公司 Metal detector
CN108885193A (en) * 2016-03-25 2018-11-23 码科泰克株式会社 Failure detector and the defect inspection method for utilizing failure detector
CN109613108A (en) * 2018-12-27 2019-04-12 帝沃检测技术(上海)有限公司 Threshold selection method and equipment

Also Published As

Publication number Publication date
CN109613108B (en) 2022-09-20
CN109613108A (en) 2019-04-12

Similar Documents

Publication Publication Date Title
WO2020133954A1 (en) Digital performance analysis method and device
Moschitta et al. Performance comparison of advanced techniques for voltage dip detection
CN108965055A (en) A kind of network flow abnormal detecting method taking a method based on historical time
CN106464988B (en) Energy management system
CN101539533A (en) Automatic detecting device and method for battery internal defect
CN112149860A (en) Automatic anomaly detection method and system
CN113344133A (en) Method and system for detecting abnormal fluctuation of time sequence behavior
CN114511991A (en) Mine dust intelligent analysis and treatment system and method
CN111398339B (en) Method and system for analyzing and judging heating defects of composite insulator of on-site overhead line
CN111157840A (en) Fault waveform similarity judging method, control device and storage medium
CN113934536A (en) Data acquisition method facing edge calculation
CN110046585A (en) A kind of gesture identification method based on environment light
CN116937818A (en) High-voltage direct-current power distribution cabinet monitoring system for monitoring inside in real time
CN116317103A (en) Power distribution network voltage data processing method
TW201908995A (en) Adaptive machine utilization rate analysis system and method
CN116309344A (en) Insulator abnormality detection method, device, equipment and storage medium
JP2018107992A (en) Power usage information collection system and method
CN106335977A (en) Tap water chlorination control method and system
CN102034022A (en) Signal processing method and system based on frequency multiplication analysis
CN115065704A (en) Intelligent monitoring, analyzing and early warning system for intelligent factory construction equipment instrument
CN106600449B (en) Automatic power trend identification method
CN110907544B (en) Identification method for abnormal step data of content of dissolved gas in transformer oil
CN111751609A (en) Method and system for 50Hz track signal detection and state identification
CN116449898B (en) Remote temperature and humidity control system for switch cabinet
CN115374572B (en) Process stability analysis system and method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19905608

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19905608

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 21/10/2021)

122 Ep: pct application non-entry in european phase

Ref document number: 19905608

Country of ref document: EP

Kind code of ref document: A1