Batch quality detection method for gas meter circuit board and gas meter quality control system

Through the batch quality inspection method and quality control system of gas meter circuit boards, the problems of limited host computer performance and complex inspection in the existing system are solved, efficient quality inspection and data analysis are achieved, and quality inspection efficiency and data are improved. Transmission security.

CN118861484APending Publication Date: 2024-10-29CHINA POWER IND INTERNET CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410890745.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-04
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

The existing gas meter quality control system has limited performance and data analysis capabilities of the host computer, and each host computer only controls one circuit board, resulting in complex and high-cost inspections. Workers operating multiple machine positions are prone to errors and the quality inspection efficiency is low.

Method used

A batch quality inspection method is adopted to obtain continuous inspection data of multiple circuit boards, calculate voltage stability, timing deviation, standard gas concentration accuracy and network stability index scores, and perform normalization processing and weight calculation , obtain the total quality score and implement batch quality inspection. At the same time, a gas meter quality control system is designed, including data collection, integration, storage, analysis and visualization units, using the R485 protocol and local area network for data collection and analysis to improve data transmission stability and analysis capabilities.

Benefits of technology

It improves the efficiency of quality inspection of gas meter circuit boards, reduces operational complexity and cost, enhances data analysis capabilities, reduces the probability of worker misoperation, and achieves more accurate product quality assessment and control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118861484A_ABST
    Figure CN118861484A_ABST
Patent Text Reader

Abstract

The invention relates to a batch quality detection method for a gas meter circuit board and a gas meter quality control system, and the method comprises the steps: carrying out the calculation based on different detection data in an obtained detection data set; obtaining a voltage stability index score, a timing deviation index score, a standard gas concentration accuracy index score and a network stability index score of the batch of circuit boards, and performing normalization processing on corresponding detection data of each circuit board at each moment according to each detection index; calculating entropy weights corresponding to the detection indexes according to the plurality of normalized data corresponding to the detection indexes, and successively obtaining index weights corresponding to the detection indexes; and finally, calculating according to the voltage stability index score, the timing deviation index score, the standard gas concentration accuracy index score, the network stability index score and the corresponding index weights to obtain the total mass fraction of the batch of circuit boards. By adopting the method, the quality inspection efficiency of the gas board circuit meter can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of circuit board quality detection, and in particular to a batch quality detection method for gas meter circuit boards and a gas meter quality control system. Background Art

[0002] The existing gas meter quality control system is generally based on a host computer, which is connected by a host computer and a detection board. The gas meter circuit board on the detection board is tested and data is monitored, and the gas meter circuit data is analyzed by the host computer software, and the analysis result data is displayed on the host computer screen, so as to realize the detection and quality control of the gas meter. Its advantage is that the data transmission is stable and safe, and it does not need to go through complex network transmission. The disadvantage is that the host computer has limited performance and data analysis capabilities. Generally, it only provides the pass and fail results of the product, and one host computer only controls one circuit board. One host computer also needs to be equipped with a display screen, which is costly. In addition, when workers detect products, they need to operate multiple positions at the same time, which is complicated and error-prone. Summary of the invention

[0003] Based on this, it is necessary to provide a batch quality inspection method and a gas meter quality control system for gas meter circuit boards that can effectively improve quality inspection efficiency in response to the above technical problems.

[0004] A batch quality detection method for gas meter circuit boards, the method comprising:

[0005] Acquire a detection data set of the gas meter circuit boards of the batch to be detected, wherein the detection data set includes detection data of multiple consecutive moments related to different detection indicators of multiple circuit boards;

[0006] Calculate the voltage stability index score, timing deviation index score, standard gas concentration accuracy index score and network stability index score of the batch of circuit boards based on different test data in the test data set;

[0007] Based on the detection data set, normalizing the corresponding detection data of each circuit board at each moment for each detection index to obtain a plurality of normalized data corresponding to each detection index;

[0008] Calculating according to a plurality of normalized data corresponding to each of the detection indicators to obtain an entropy weight value corresponding to the detection indicator;

[0009] Calculate the ratio of the entropy weight of each detection indicator to the entropy weight of all detection indicators, and use the ratio as the indicator weight of the corresponding detection indicator;

[0010] The total quality score of the batch of circuit boards is obtained by calculating the voltage stability index score, the timing deviation index score, the standard gas concentration accuracy index score, the network stability index score and the corresponding index weights to complete the batch quality inspection.

[0011] In one embodiment, the detection data in the detection data set is detection data corresponding to the indicator in the indicator detection instruction collected by each circuit board according to the indicator detection instruction within a preset detection time and at a preset interval time.

[0012] In one embodiment, when different detection index scores are calculated based on different detection data in the detection data set:

[0013] The score of each indicator is calculated based on the preset standard value and the relevant test data in the test data set, and the calculation adopts the following formula:

[0014]

[0015] In the above formula, M represents a certain detection index score, Mnt represents the relevant detection data of the nth circuit board corresponding to the detection index at the tth time, N represents the total number of gas meter circuit boards in the batch to be tested, and T represents the preset detection time.

[0016] In one embodiment, in the process of calculating the scores of different inspection indicators, the circuit board is judged as defective according to the preset standard value, maximum deviation value and corresponding inspection data of the inspection indicator. If it is judged as a defective product, the total quality score is not calculated based on all the inspection data corresponding to the circuit board.

[0017] In one embodiment, when normalizing the corresponding detection data of each circuit board at each moment for each detection index:

[0018] For each of the detection indicators, the corresponding detection data of each circuit board at each moment is normalized according to the maximum detection data and the minimum detection data of the detection indicator in the detection data set.

[0019] In one embodiment, the calculation is performed based on the multiple normalized data corresponding to each of the detection indicators to obtain the entropy weight value corresponding to the detection indicator, using the following formula:

[0020]

[0021] In the above formula, P represents the entropy weight of a certain detection index, GP i It represents the normalized data corresponding to a certain detection index on the nth circuit board at the tth time.

[0022] The present application also provides a gas meter quality control system, the system comprising a data acquisition unit, a data integration unit, a data storage unit, a data analysis unit, a data management unit and a visualization unit;

[0023] The data acquisition unit collects original detection data of a batch of gas meter circuit boards through multiple tooling boards using the R485 protocol communication protocol, and multiple gas meter circuit boards are plugged into each of the tooling boards;

[0024] The data integration unit integrates and processes the original detection data collected by the data collection unit and sends the integrated data to the data storage unit;

[0025] The analysis unit extracts the integrated detection data from the data storage unit and processes the data using the batch quality detection method to obtain the total quality score of the batch of circuit boards, and sends the total quality score to the visualization unit;

[0026] The data management unit is used to manage the detection data in the data storage unit;

[0027] The visualization unit is used to visualize the total mass score.

[0028] In one embodiment, the system is installed on a server in a local area network.

[0029] In one embodiment, the data acquisition unit sends an index detection instruction to each of the tooling boards;

[0030] Each of the tooling boards collects corresponding detection data from each circuit board according to the specific detection index in the index detection instruction, and then sends the data to the data acquisition unit.

[0031] In one embodiment, the data acquisition unit writes a unique number into each circuit board.

[0032] A batch quality detection device for gas meter circuit boards, the device comprising:

[0033] A detection data acquisition module, used to acquire a detection data set of the gas meter circuit boards of the batch to be detected, wherein the detection data set includes detection data of multiple consecutive moments related to different detection indicators of multiple circuit boards;

[0034] An index score obtaining module, used to calculate respectively based on different detection data in the detection data set to obtain the voltage stability index score, timing deviation index score, standard gas concentration accuracy index score and network stability index score of the batch of circuit boards;

[0035] A data normalization module, used for normalizing the corresponding detection data of each circuit board at each moment according to each detection index based on the detection data set, so as to obtain a plurality of normalized data corresponding to each detection index;

[0036] A module for obtaining the entropy value of the detection index, used for calculating the entropy value corresponding to the detection index according to a plurality of normalized data corresponding to each of the detection indexes;

[0037] An indicator weight obtaining module is used to calculate the ratio of the entropy value of each detection indicator to the entropy value of all detection indicators, and use the ratio as the indicator weight of the corresponding detection indicator;

[0038] The total quality score obtaining module is used to calculate the total quality score of the batch of circuit boards according to the voltage stability index score, the timing deviation index score, the standard gas concentration accuracy index score, the network stability index score and the corresponding index weights to complete the batch quality inspection.

[0039] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0040] Acquire a detection data set of the gas meter circuit boards of the batch to be detected, wherein the detection data set includes detection data of multiple consecutive moments related to different detection indicators of multiple circuit boards;

[0041] Calculate the voltage stability index score, timing deviation index score, standard gas concentration accuracy index score and network stability index score of the batch of circuit boards based on different test data in the test data set;

[0042] Based on the detection data set, normalizing the corresponding detection data of each circuit board at each moment for each detection index to obtain a plurality of normalized data corresponding to each detection index;

[0043] Calculating according to a plurality of normalized data corresponding to each of the detection indicators to obtain an entropy weight value corresponding to the detection indicator;

[0044] Calculate the ratio of the entropy weight of each detection indicator to the entropy weight of all detection indicators, and use the ratio as the indicator weight of the corresponding detection indicator;

[0045] The total quality score of the batch of circuit boards is obtained by calculating the voltage stability index score, the timing deviation index score, the standard gas concentration accuracy index score, the network stability index score and the corresponding index weights to complete the batch quality inspection.

[0046] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following steps:

[0047] Acquire a detection data set of the gas meter circuit boards of the batch to be detected, wherein the detection data set includes detection data of multiple consecutive moments related to different detection indicators of multiple circuit boards;

[0048] Calculate the voltage stability index score, timing deviation index score, standard gas concentration accuracy index score and network stability index score of the batch of circuit boards based on different test data in the test data set;

[0049] Based on the detection data set, normalizing the corresponding detection data of each circuit board at each moment for each detection index to obtain a plurality of normalized data corresponding to each detection index;

[0050] Calculating according to a plurality of normalized data corresponding to each of the detection indicators to obtain an entropy weight value corresponding to the detection indicator;

[0051] Calculate the ratio of the entropy weight of each detection indicator to the entropy weight of all detection indicators, and use the ratio as the indicator weight of the corresponding detection indicator;

[0052] The total quality score of the batch of circuit boards is obtained by calculating the voltage stability index score, the timing deviation index score, the standard gas concentration accuracy index score, the network stability index score and the corresponding index weights to complete the batch quality inspection.

[0053] The batch quality inspection method and gas meter quality control system for gas meter circuit boards are calculated based on different inspection data in the obtained inspection data set to obtain the voltage stability index score, timing deviation index score, standard gas concentration accuracy index score and network stability index score of the batch of circuit boards. The corresponding inspection data of each circuit board at each moment are normalized for each inspection index, and the entropy value corresponding to the inspection index is calculated according to the multiple normalized data corresponding to each inspection index, and the index weights of the corresponding inspection index are successively obtained. Finally, the voltage stability index score, timing deviation index score, standard gas concentration accuracy index score, network stability index score and the corresponding index weights are calculated to obtain the total quality score of the batch of circuit boards. This method can effectively improve the quality inspection efficiency of gas board circuit meters. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 This is an application environment diagram of a batch quality detection method for gas meter circuit boards in one embodiment;

[0055] Figure 2A schematic diagram of the structure of a gas meter quality control system in one embodiment;

[0056] Figure 3 A schematic diagram of the connection between the gas meter quality control system and each tooling board in an embodiment;

[0057] Figure 4 It is a structural block diagram of a batch quality detection device for gas meter circuit boards in one embodiment;

[0058] Figure 5 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0059] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0060] The gas meter quality control system is generally implemented based on a host computer, which is connected by a host computer and a detection board. The gas meter circuit board on the detection board is tested and data is monitored, and the gas meter circuit data is analyzed by the host computer software. However, due to the limited performance of the host computer, limited data analysis capabilities, and one host computer only controls one circuit board, workers need to operate multiple positions when testing a batch of products, which is complicated and prone to errors.

[0061] In view of the above problems, in one embodiment, Figure 1 As shown, a batch quality detection method for gas meter circuit boards is provided, comprising the following steps:

[0062] Step S100, obtaining a test data set of gas meter circuit boards of a batch to be tested, wherein the test data set includes test data of multiple consecutive moments related to different test indicators of multiple circuit boards.

[0063] Step S110, calculating respectively based on different detection data in the detection data set to obtain the voltage stability index score, timing deviation index score, standard gas concentration accuracy index score and network stability index score of the batch of circuit boards.

[0064] Step S120 , based on the detection data set, normalize the corresponding detection data of each circuit board at each moment for each detection index to obtain a plurality of normalized data corresponding to each of the detection indicators.

[0065] Step S130, performing calculations based on a plurality of normalized data corresponding to each detection index to obtain an entropy weight value corresponding to the detection index.

[0066] Step S140, calculating the ratio of the entropy weight of each detection indicator to the entropy weight of all detection indicators, and using the ratio as the indicator weight of the corresponding detection indicator.

[0067] Step S150, calculating according to the voltage stability index score, the timing deviation index score, the standard gas concentration accuracy index score and the network stability index score and the corresponding index weights, to obtain the total quality score of the batch of circuit boards to complete the batch quality inspection.

[0068] In this method, analysis and monitoring are carried out from four dimensions: voltage stability, circuit board timing deviation, standard gas concentration accuracy, and network stability.

[0069] In step S100, the test data in the test data set is the test data of the corresponding indicators in the indicator detection instruction collected by each circuit board according to the indicator detection instruction within the preset detection time and at the preset interval. In other words, the four detection indicators are not collected at the same time for each circuit board, but are tested accordingly according to the specific detection indicator instruction.

[0070] For example, when the indicator detection indicator instruction is to collect detection data related to the voltage stability detection indicator, the detection data obtained at this time is voltage data. Similarly, the detection data also includes timing deviation data related to the timing deviation indicator, standard gas concentration data related to the standard gas concentration accuracy indicator, and network delay data related to the network stability indicator.

[0071] In this embodiment, it is assumed that a batch consists of N gas meter circuit boards, each circuit board collects data once per second, and each circuit board monitors for T seconds.

[0072] In step S110, when different detection index scores are calculated based on different detection data in the detection data set: for each index score, it is calculated according to the preset standard value and the relevant detection data in the detection data set, and the calculation adopts the following formula:

[0073]

[0074] In the above formula, M represents a certain detection index score, Mnt represents the relevant detection data of the nth circuit board corresponding to the detection index at the tth time, N represents the total number of gas meter circuit boards in the batch to be tested, and T represents the preset detection time.

[0075] Specifically, when calculating the voltage stability index score, the standard voltage value is set to Vstandard, and the maximum voltage deviation is set to Vmax. The voltage of the circuit board n collected for the tth time is Vnt, and the voltage quality score within the monitoring time, that is, the voltage stability index score, is:

[0076]

[0077] Specifically, when calculating the timing deviation index score, the timing deviation standard value is set to Sstandard, and the maximum timing deviation is set to Smax. The timing deviation of the t-th acquisition circuit board n is Snt, and the voltage quality score within the monitoring time, that is, the timing deviation index score, is:

[0078]

[0079] Specifically, when calculating the standard gas concentration accuracy index score, the standard deviation value of the standard gas concentration is set to Dstandard, and the maximum deviation value is Dmax. The standard gas concentration of the circuit board n collected for the tth time is Dnt, and the voltage quality score within the monitoring time, that is, the standard gas concentration accuracy index score, is:

[0080]

[0081] Specifically, when calculating the network stability index score, the network standard delay is set to Wstandard, and the maximum deviation value is Wmax. The network delay of the t-th acquisition circuit board n is Wnt, and the voltage quality score within the monitoring time, that is, the network stability index score, is:

[0082]

[0083] In this embodiment, in the process of calculating the scores of different inspection indicators, the circuit board is judged as defective according to the preset standard value, maximum deviation value and corresponding inspection data of the inspection indicator. If it is judged as a defective product, the total quality score is not calculated based on all the inspection data corresponding to the circuit board.

[0084] Specifically, before calculating the scores of each test index, it is also determined whether the circuit board is qualified by using the acquired test data. If it is unqualified, it is a defective product. The circuit board determined to be a defective product will no longer participate in subsequent calculations.

[0085] Furthermore, when calculating the voltage stability index score, if Vnt-Vstandard>Vmax, the circuit board is judged as a defective product and does not participate in subsequent calculations, and the number of defective products is increased by 1. When calculating the timing deviation index score, if Snt-Sstandard>Smax, the circuit board is judged as a defective product and does not participate in subsequent calculations, and the number of defective products is increased by 1. Similarly, when calculating the other two scores, if Dnt-Dstandard>Dmax, or Wnt-Wstandard>Wmax, the circuit board is judged as a defective product and does not participate in subsequent calculations, and the number of defective products is increased by 1. In fact, when calculating the scores of each test index, the circuit boards of each gas meter are preliminarily screened for defective products through the test data. Finally, the defective rate of this batch of products can be calculated.

[0086] In step S120, when normalizing the corresponding detection data of each circuit board at each moment for each detection indicator: for each detection indicator, the corresponding detection data of each circuit board at each moment is normalized according to the maximum detection data and the minimum detection data of the detection indicator in the detection data set.

[0087] Specifically, when normalizing the voltage detection data, the following formula is used:

[0088]

[0089] In the above formula, GVnt represents the normalized value of the voltage detection data of circuit board n collected for the tth time.

[0090] Specifically, when normalizing the timing deviation detection data, the following formula is used:

[0091]

[0092] In the above formula, GSnt represents the normalized value of the timing deviation detection data of the circuit board n collected for the tth time.

[0093] Specifically, when normalizing the standard gas concentration detection data, the following formula is used:

[0094]

[0095] In the above formula, GDnt represents the normalized value of the standard gas concentration detection data of circuit board n collected for the tth time.

[0096] Specifically, when normalizing the network delay detection data, the following formula is used:

[0097]

[0098] In the above formula, GWn represents the normalized value of the network delay detection data of circuit board n collected for the tth time.

[0099] In step S130, calculation is performed based on a plurality of normalized data corresponding to each detection index to obtain the entropy weight value corresponding to the detection index, using the following formula:

[0100]

[0101] In the above formula, P represents the entropy weight of a certain detection index, GP i It represents the normalized data corresponding to a certain detection index on the nth circuit board at the tth time.

[0102] Specifically, the voltage entropy value Pv is calculated using the following formula:

[0103]

[0104] Specifically, the timing deviation entropy value Ps is calculated using the following formula:

[0105]

[0106] Specifically, the standard gas concentration entropy value Pd is calculated using the following formula:

[0107]

[0108] Specifically, the network delay entropy value Pw is calculated using the following formula:

[0109]

[0110] In step S140, the ratio of the entropy value of each detection index to the entropy value of all detection indexes is calculated, and the ratio is used as the index weight of the corresponding detection index, where voltage weight: Tv = Pv / Pv + Ps + Pd + Pw, timing deviation weight: Ts = Ps / Pv + Ps + Pd + Pw, standard gas concentration weight: Td = Pd / Pv + Ps + Pd + Pw, network delay weight: Tw = Pw / Pv + Ps + Pd + Pw.

[0111] In step S150, the total quality score is obtained by calculating the voltage stability index score, the timing deviation index score, the standard gas concentration accuracy index score, the network stability index score and the corresponding index weights, using the following formula:

[0112] T=Tv*Qv+Ts*Qs+Td*Ds+Tw*Ws

[0113] In this embodiment, the quality of different batches of products can be compared from the total quality score, and the quality score of each part in the batch can be compared from the scores of the sub-items, so that the source of parts procurement can be adjusted to improve product quality.

[0114] like Figure 2As shown, the present application also provides a gas meter quality control system, which includes a data acquisition unit, a data integration unit, a data storage unit, a data analysis unit, a data management unit and a visualization unit, wherein the data acquisition unit uses the R485 protocol communication protocol to collect original test data from a batch of gas meter circuit boards through multiple tooling boards, and multiple gas meter circuit boards are plugged into each tooling board. The data integration unit integrates and processes the original test data collected by the acquisition unit and sends it to the data storage unit. The analysis unit extracts the integrated test data from the data storage unit and processes it using the above-mentioned batch quality detection method to obtain the total quality score of the batch of circuit boards, and sends the total quality score to the visualization unit. The data management unit is used to manage the test data in the data storage unit, and the visualization unit is used to visualize the total quality score.

[0115] In this embodiment, the data acquisition module uses the R485 protocol to collect data from multiple tooling boards (gas meter circuit boards), such as Figure 3 As shown, the data is then uploaded to the quality control platform server (i.e., the quality control platform in the figure) through Ethernet through the Ethernet device. At the same time, the data acquisition module is responsible for writing a unique number to the gas meter circuit board on the tooling board. After the data is collected, it is uploaded to the data integration module for data integration.

[0116] In this embodiment, the system is installed on a server in the local area network, namely, the above-mentioned command platform server.

[0117] In this embodiment, the data acquisition unit is also responsible for sending index detection instructions to each tooling board, and each tooling board collects corresponding detection data from each circuit board according to the specific detection index in the index detection instruction, and then sends it to the data acquisition unit.

[0118] In this embodiment, the data integration unit is mainly responsible for integrating the data. Since the inspected products may be inspected in different areas, the data integration unit integrates the product data collected from different areas according to the product codes to form complete product inspection data.

[0119] Specifically, the data storage unit is used to store the integrated detection data and provide it to the data analysis unit, the visualization unit, and the data management unit for use.

[0120] Specifically, the data analysis unit is used to analyze and monitor the gas meter data, determine whether the gas meter has quality problems and the quality index of the batch of products, mainly from the voltage stability, circuit board timing deviation, standard gas concentration accuracy, network stability and other dimensions for analysis and monitoring, and use the above-mentioned batch quality detection method for gas meter circuit boards to process the detection data, so as to obtain the total quality of the batch of gas meter circuit boards. Among them, the specific content of the implementation method in the data analysis unit can be found in the above definition of the batch quality detection method for gas meter circuit boards, which will not be repeated here.

[0121] Specifically, the data management unit provides system administrators with basic data management functions such as displaying and managing equipment data, test result data, test batch data, and product data.

[0122] Specifically, the visualization unit provides production line workers with functions such as real-time display of test data, test operation, and display of test results. The visualization unit can be a computer screen or a flat panel display.

[0123] In the gas meter quality control system, a data analysis server is built in the local area network, and the gas meter circuit board data is collected through the R485 protocol, and the data of multiple detection boards are transmitted to the data analysis server, which not only ensures the stability and security of data transmission, but also improves the data analysis capability. At the same time, a product quality evaluation algorithm based on the power of entropy method is proposed to calculate the quality index of each product, improve the accuracy of product quality control, and thus guide the production line to replace product parts and improve product quality. At the same time, unified data management reduces the operational complexity of the work, improves the efficiency of workers, and effectively reduces the probability of workers' misoperation.

[0124] It should be understood that although Figure 1 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0125] In one embodiment, Figure 4As shown, a batch quality detection device for gas meter circuit boards is provided, comprising: a detection data acquisition module 200, an index score acquisition module 210, a data normalization module 220, a detection index weight value acquisition module 230, an index weight acquisition module 240 and a total quality score acquisition module 250, wherein:

[0126] The detection data acquisition module 200 is used to acquire a detection data set of the gas meter circuit boards of the batch to be detected, wherein the detection data set includes detection data of multiple consecutive moments related to different detection indicators of multiple circuit boards;

[0127] An index score obtaining module 210 is used to calculate the voltage stability index score, the timing deviation index score, the standard gas concentration accuracy index score and the network stability index score of the batch of circuit boards based on different detection data in the detection data set;

[0128] A data normalization module 220 is used to normalize the corresponding detection data of each circuit board at each moment according to each detection index based on the detection data set to obtain a plurality of normalized data corresponding to each detection index;

[0129] The module 230 for obtaining the entropy value of the detection index is used to calculate the entropy value corresponding to the detection index according to the multiple normalized data corresponding to each detection index;

[0130] The indicator weight obtaining module 240 is used to calculate the ratio of the entropy value of each detection indicator to the entropy value of all detection indicators, and use the ratio as the indicator weight of the corresponding detection indicator;

[0131] The total quality score obtaining module 250 is used to calculate the total quality score of the batch of circuit boards according to the voltage stability index score, the timing deviation index score, the standard gas concentration accuracy index score, the network stability index score and the corresponding index weights to complete the batch quality inspection.

[0132] For the specific definition of the batch quality detection device for gas meter circuit boards, please refer to the definition of the batch quality detection method for gas meter circuit boards mentioned above, which will not be repeated here. Each module in the above-mentioned batch quality detection device for gas meter circuit boards can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0133] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 5As shown. The computer device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a batch quality detection method for gas meter circuit boards is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a key, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.

[0134] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0135] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0136] Acquire a detection data set of the gas meter circuit boards of the batch to be detected, wherein the detection data set includes detection data of multiple consecutive moments related to different detection indicators of multiple circuit boards;

[0137] Calculate the voltage stability index score, timing deviation index score, standard gas concentration accuracy index score and network stability index score of the batch of circuit boards based on different test data in the test data set;

[0138] Based on the detection data set, normalizing the corresponding detection data of each circuit board at each moment for each detection index to obtain a plurality of normalized data corresponding to each detection index;

[0139] Calculating according to a plurality of normalized data corresponding to each of the detection indicators to obtain an entropy weight value corresponding to the detection indicator;

[0140] Calculate the ratio of the entropy weight of each detection indicator to the entropy weight of all detection indicators, and use the ratio as the indicator weight of the corresponding detection indicator;

[0141] The total quality score of the batch of circuit boards is obtained by calculating the voltage stability index score, the timing deviation index score, the standard gas concentration accuracy index score, the network stability index score and the corresponding index weights to complete the batch quality inspection.

[0142] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0143] Acquire a detection data set of the gas meter circuit boards of the batch to be detected, wherein the detection data set includes detection data of multiple consecutive moments related to different detection indicators of multiple circuit boards;

[0144] Calculate the voltage stability index score, timing deviation index score, standard gas concentration accuracy index score and network stability index score of the batch of circuit boards based on different test data in the test data set;

[0145] Based on the detection data set, normalizing the corresponding detection data of each circuit board at each moment for each detection index to obtain a plurality of normalized data corresponding to each detection index;

[0146] Calculating according to a plurality of normalized data corresponding to each of the detection indicators to obtain an entropy weight value corresponding to the detection indicator;

[0147] Calculate the ratio of the entropy weight of each detection indicator to the entropy weight of all detection indicators, and use the ratio as the indicator weight of the corresponding detection indicator;

[0148] The total quality score of the batch of circuit boards is obtained by calculating the voltage stability index score, the timing deviation index score, the standard gas concentration accuracy index score, the network stability index score and the corresponding index weights to complete the batch quality inspection.

[0149] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0150] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0151] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A batch quality detection method for gas meter circuit boards. It is characterized in that The method comprises: Acquire a detection data set of the gas meter circuit boards of the batch to be detected, wherein the detection data set includes detection data of multiple consecutive moments related to different detection indicators of multiple circuit boards; Calculate the voltage stability index score, timing deviation index score, standard gas concentration accuracy index score and network stability index score of the batch of circuit boards based on different test data in the test data set; Based on the detection data set, normalizing the corresponding detection data of each circuit board at each moment for each detection index to obtain a plurality of normalized data corresponding to each detection index; Calculating according to a plurality of normalized data corresponding to each of the detection indicators to obtain an entropy weight value corresponding to the detection indicator; Calculate the ratio of the entropy weight of each detection indicator to the entropy weight of all detection indicators, and use the ratio as the indicator weight of the corresponding detection indicator; The total quality score of the batch of circuit boards is obtained by calculating the voltage stability index score, the timing deviation index score, the standard gas concentration accuracy index score, the network stability index score and the corresponding index weights to complete the batch quality inspection.

2. The batch quality detection method according to claim 1, It is characterized in that The detection data in the detection data set are detection data corresponding to the indicators in the indicator detection instruction, which are collected by each circuit board according to the indicator detection instruction within a preset detection time and at a preset interval time.

3. The batch quality detection method according to claim 1, It is characterized in that When different detection index scores are calculated based on different detection data in the detection data set: The score of each indicator is calculated based on the preset standard value and the relevant test data in the test data set, and the calculation adopts the following formula: In the above formula, M represents a certain detection index score, Mnt represents the relevant detection data of the nth circuit board corresponding to the detection index at the tth time, N represents the total number of gas meter circuit boards in the batch to be tested, and T represents the preset detection time.

4. The batch quality detection method according to claim 1, It is characterized in that In the process of calculating the scores of different inspection indicators, the circuit board is also judged as defective according to the preset standard value, maximum deviation value and corresponding inspection data of the inspection indicator. If it is judged as a defective product, the total quality score is not calculated based on all the inspection data corresponding to the circuit board.

5. The batch quality detection method according to claim 1, It is characterized in that When normalizing the corresponding detection data of each circuit board at each moment according to each detection index: For each of the detection indicators, the corresponding detection data of each circuit board at each moment is normalized according to the maximum detection data and the minimum detection data of the detection indicator in the detection data set.

6. The batch quality detection method according to claim 1, It is characterized in that The calculation is performed based on the multiple normalized data corresponding to each of the detection indicators to obtain the entropy weight value corresponding to the detection indicator, using the following formula: In the above formula, P represents the entropy weight of a certain detection index, GP i It represents the normalized data corresponding to a certain detection index on the nth circuit board at the tth time.

7. Gas meter quality control system, It is characterized in that The system includes a data acquisition unit, a data integration unit, a data storage unit, a data analysis unit, a data management unit and a visualization unit; The data acquisition unit collects original detection data of a batch of gas meter circuit boards through multiple tooling boards using the R485 protocol communication protocol, and multiple gas meter circuit boards are plugged into each of the tooling boards; The data integration unit integrates and processes the original detection data collected by the data collection unit and then sends the integrated data to the data storage unit; The analysis unit extracts the integrated detection data from the data storage unit and processes the data using the batch quality detection method according to any one of claims 1 to 6 to obtain a total quality score of the batch of circuit boards, and sends the total quality score to the visualization unit; The data management unit is used to manage the detection data in the data storage unit; The visualization unit is used to visualize the total mass score.

8. The gas meter quality control system according to claim 7, It is characterized in that The system is installed on a server in a local area network.

9. The gas meter quality control system according to claim 8, It is characterized in that The data acquisition unit sends an index detection instruction to each of the tooling boards; Each of the tooling boards collects corresponding detection data from each circuit board according to the specific detection index in the index detection instruction, and then sends the data to the data acquisition unit.

10. The gas meter quality control system according to claim 9, It is characterized in that The data acquisition unit writes a unique number into each circuit board.