Ultramicro copper alloy wire counting method, device, equipment, medium and product
By constructing a polynomial model, combining line diameter and weighing data, predicting the line diameter and total weight of copper alloy wires, the problems of manual counting error and traditional weighing deviation are solved, and more efficient and accurate copper alloy wire counting is achieved.
Patent Information
- Application Number
- CN202510168403.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-17
- Publication Date
- 2025-06-06
AI Technical Summary
During the production process of copper alloy wires, workers are prone to errors in counting manually, and the traditional weighing method has deviations in the calculation results due to line diameter differences, which affects production efficiency and accuracy.
Using the method of constructing a polynomial model, the measured line diameter is combined with weighing, and the line diameter distribution is curved through the polynomial equation, the line diameter is predicted and the expected total weight is calculated, and the actual number of roots is determined.
The efficiency and accuracy of copper alloy wire counting is improved, the probability of error occurs is reduced, and the intelligent operation of calculating the total number of twisted copper wires in ultra-micro copper alloy wires is realized, which enhances the stability of the quality control link.
Smart Images

Figure CN120104945A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of copper alloy wire quality control, and in particular to an ultra-fine copper alloy wire counting method, device, equipment, medium and product. Background Art
[0002] Copper alloy wires are widely used in aerospace, new energy power, information and communication and other fields. For different scenarios and fields, factories will produce different specifications in the process of producing and twisting copper alloy wires. The wire diameter range and positive and negative tolerances of copper alloy wires of different specifications are different. Workers also need to measure the wire diameter when counting manually, which may lead to a decrease in energy and miscounting, resulting in losses in the production process. In addition, the traditional manual counting process is prone to the situation where the number is too large and the number is too small. However, by using the method of weighing to measure the total weight first and then dividing it by the weight of a single wire, due to the difference in the wire diameter of each wire, the calculated result value deviates from the actual data. Summary of the invention
[0003] The purpose of this application is to provide a method, device, equipment, medium and product for counting ultrafine copper alloy wires, which can improve the efficiency and accuracy of counting ultrafine copper alloy wires.
[0004] To achieve the above objectives, this application provides the following solutions:
[0005] In a first aspect, the present application provides a method for counting ultrafine copper alloy wires, comprising:
[0006] A plurality of ultrafine copper alloy wires are selected from the batch to be tested as sampling copper wires;
[0007] According to the preset length, a sampling copper wire segment is cut from each sampling copper wire;
[0008] Determine the wire diameter of each sampled copper wire segment;
[0009] Arrange the sampled copper wire segments in ascending order according to the wire diameters, and sequentially number all the sampled copper wire segments based on the ascending order result;
[0010] A polynomial model was constructed with the serial number of the sampled copper wire segment as the independent variable and the wire diameter of the sampled copper wire segment as the dependent variable.
[0011] According to the number and wire diameter of each sampled copper wire segment, the coefficients of the polynomial model are determined by using the least square method to obtain an initial wire diameter prediction model;
[0012] The wire diameter prediction model is updated according to the number of sampled copper wire segments and the standard number of ultrafine copper alloy wires in the batch to be tested to obtain a wire diameter prediction model;
[0013] Assume that the batch to be tested includes len_new virtual copper alloy wires; len_new is the standard number of ultrafine copper alloy wires in the batch to be tested;
[0014] Substitute 1 to len_new as independent variables into the wire diameter prediction model to obtain the wire diameter prediction value of each virtual copper alloy wire;
[0015] Determining the predicted weight of each virtual copper alloy wire in the batch to be tested according to the preset length and the predicted value of the wire diameter of each virtual copper alloy wire;
[0016] Determine the sum of the predicted weights of all virtual copper alloy wires as the predicted total weight of the batch to be tested;
[0017] The actual number of ultrafine copper alloy wires in the batch to be tested is determined according to the standard number of ultrafine copper alloy wires in the batch to be tested, the predicted total weight of the batch to be tested and the actual total weight of the batch to be tested.
[0018] Optionally, the polynomial model is:
[0019] y=a 0 +a 1 x+...+a n x n ;
[0020] Among them, y is the wire diameter of the sampled copper wire segment, x is the number of the sampled copper wire segment, and a 0 , a 1 , a 2 , ..., a n are the coefficients to be determined of the polynomial model, and n is the highest degree of the polynomial.
[0021] Optionally, the wire diameter prediction model is:
[0022]
[0023] Among them, y' is the predicted value of the wire diameter of the virtual copper alloy wire, x' is the serial number of the virtual copper alloy wire, and len is the number of sampled copper wire segments.
[0024] Optionally, the predicted weight of a single piece is:
[0025] w=π*(y') 2 *L*ρ;
[0026] Wherein, w is the predicted weight of a single wire, L is the preset length, and ρ is the average density of the copper alloy wire.
[0027] Optionally, the actual number of ultrafine copper alloy wires in the batch to be tested is:
[0028] y" = round(len_new*w / wreal );
[0029] Wherein, y" is the actual number of ultrafine copper alloy wires in the batch to be tested, round(*) indicates rounding, and w real is the actual total weight of the batch to be tested.
[0030] Optionally, after determining the actual number of ultrafine copper alloy wires in the batch to be tested according to the standard number of ultrafine copper alloy wires in the batch to be tested, the predicted total weight of the batch to be tested and the actual total weight of the batch to be tested, the method further includes:
[0031] Determine the difference between the actual number of ultrafine copper alloy wires in the batch to be tested and the standard number of ultrafine copper alloy wires in the batch to be tested, and the ratio of the actual number of ultrafine copper alloy wires in the batch to be tested to the standard number of ultrafine copper alloy wires in the batch to be tested is used as the judgment amount;
[0032] Whether the batch to be tested is qualified is determined based on the judgment amount and the judgment amount threshold.
[0033] In a second aspect, the present application provides an ultrafine copper alloy wire counting device. Optionally, the ultrafine copper alloy wire counting device applies the ultrafine copper alloy wire counting method. The ultrafine copper alloy wire counting device includes:
[0034] An isolation protection module is used to isolate the external environment;
[0035] A wire diameter measurement module is used to obtain the wire diameter of the sampled copper wire segment;
[0036] Weighing measurement module, used to obtain the actual total weight of the batch to be tested;
[0037] The data calculation and processing module is used to determine the actual number of ultra-fine copper alloy wires in the batch to be tested based on the wire diameter of the sampled copper wire segment and the actual total weight of the batch to be tested.
[0038] In a third aspect, the present application provides a computer device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the above-mentioned ultrafine copper alloy wire counting method.
[0039] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which implements the above-mentioned ultrafine copper alloy wire counting method when executed by a processor.
[0040] In a fifth aspect, the present application provides a computer program product, including a computer program, which implements the above-mentioned ultrafine copper alloy wire counting method when executed by a processor.
[0041] According to the specific embodiments provided in this application, this application discloses the following technical effects:
[0042] The present application provides a method, device, equipment, medium and product for counting ultrafine copper alloy wires. The method of constructing a function model is adopted to combine the measurement of wire diameter with weighing, and a polynomial equation is used to perform curve fitting on the wire diameter distribution. The wire diameter of the remaining wires is predicted by the wire diameter of some known wires, and the expected total weight when the number of wires that meet the standard is calculated according to the predicted wire diameter size, and the actual number of wires is calculated according to the relationship between the expected total weight and the actual weight. The method solves the problem that workers need to count again due to the large number of wires being too small when counting manually, and the possibility of large deviations occurring directly through weighing and counting. The method has better adaptive ability, helps to obtain more accurate results in counting applications, and realizes intelligent operation for calculating the total number of twisted copper wires in ultrafine copper alloy wires. The method effectively enhances the stability of the quality control link of ultrafine copper alloy wires, further reduces the probability of errors, creates favorable conditions for improving production efficiency, and strongly promotes the precise management and efficient operation of the production process of ultrafine copper alloy wires.
[0043] In addition, the counting device of ultrafine copper alloy wire provides a platform and environment for counting ultrafine copper alloy wire, which can improve the stability and reliability of the equipment and ensure the accuracy of the detection work, because the equipment can work continuously and stably without interference and damage, making the detection results more reliable, avoiding the problem of inaccurate detection results caused by equipment damage, thereby improving the quality of the entire detection process. At the same time, the wire diameter measurement module and the weighing measurement module are used as important links in parameter evaluation to make the counting results more accurate, realize data flow and collaborative work between different modules, and improve the work efficiency and automation of the entire system. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0045] Figure 1 This is a flow chart of a method for counting ultrafine copper alloy wires in one embodiment of the present application;
[0046] Figure 2 This is a schematic diagram of the structure of an ultrafine copper alloy wire counting device in one embodiment of the present application;
[0047] Figure 3 This is a working flow chart of an ultrafine copper alloy wire counting device in one embodiment of the present application;
[0048] Figure 4 This is a flow chart of a method for determining the actual number of ultrafine copper alloy wires in a batch to be tested in one embodiment of the present application;
[0049] Figure 5 This is a flow chart of a method for updating a wire diameter initial prediction model in one embodiment of the present application;
[0050] Figure 6 This is a fitting curve diagram of the numbering and wire diameter of the first batch of ultrafine copper alloy wires in one embodiment of the present application;
[0051] Figure 7 This is a fitting curve diagram of the numbering and wire diameter of the second batch of ultrafine copper alloy wires in one embodiment of the present application;
[0052] Figure 8 This is a fitting curve diagram of the numbering and wire diameter of the third batch of ultrafine copper alloy wires in one embodiment of the present application;
[0053] Fig. 9 This is a fitting curve diagram of the numbering and wire diameter of the fourth batch of ultrafine copper alloy wires in one embodiment of the present application;
[0054] Fig.10 This is a fitting curve diagram of the numbering and wire diameter of the fifth batch of ultrafine copper alloy wires in one embodiment of the present application. DETAILED DESCRIPTION
[0055] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0056] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0057] In an exemplary embodiment, Figure 1 As shown, a method for counting ultrafine copper alloy wires is provided, comprising:
[0058] Step 101: extract a plurality of ultrafine copper alloy wires from a batch to be tested as sampling copper wires.
[0059] Step 102: According to a preset length, a sampling copper wire segment is cut from each sampling copper wire.
[0060] Step 103: Determine the wire diameter of each sampled copper wire segment.
[0061] Step 104: Arrange the sampled copper wire segments in ascending order according to the wire diameters, and sequentially number all the sampled copper wire segments based on the ascending order result.
[0062] Step 105: A polynomial model is constructed with the serial number (or serial number) of the sampled copper wire segment as the independent variable and the wire diameter of the sampled copper wire segment as the dependent variable. The polynomial model is:
[0063] y=a 0 +a 1 x+...+a n x n .
[0064] Among them, y is the wire diameter of the sampled copper wire segment, x is the number of the sampled copper wire segment, and a 0 , a 1 , a 2 , ..., a n are the coefficients to be determined of the polynomial model, and n is the highest degree of the polynomial.
[0065] Step 106: According to the serial number and wire diameter of each sampled copper wire segment, the coefficients of the polynomial model are determined by using the least square method to obtain an initial wire diameter prediction model.
[0066] Step 107: Update the initial wire diameter prediction model according to the number of sampled copper wire segments and the standard number of ultrafine copper alloy wires in the batch to be tested to obtain a wire diameter prediction model. The wire diameter prediction model is:
[0067]
[0068] Among them, y' is the predicted value of the wire diameter of the virtual copper alloy wire, x' is the serial number of the virtual copper alloy wire, and len is the number of sampled copper wire segments.
[0069] Step 108: Assume that the batch to be tested includes len_new virtual copper alloy wires, where len_new is the standard number of ultrafine copper alloy wires in the batch to be tested.
[0070] Step 109: Substitute 1 to len_new as independent variables into the wire diameter prediction model to obtain a predicted value of the wire diameter of each virtual copper alloy wire.
[0071] Step 1010: Determine the predicted weight of each virtual copper alloy wire in the batch to be tested based on the preset length and the predicted value of the wire diameter of each virtual copper alloy wire. The predicted weight of each virtual copper alloy wire is:
[0072] w=π*(y') 2 *L*ρ.
[0073] Wherein, w is the predicted weight of a single wire, L is the preset length, and ρ is the average density of the copper alloy wire.
[0074] Step 1011: Determine the sum of the predicted weights of all virtual copper alloy wires as the predicted total weight of the batch to be tested.
[0075] Step 1012: Determine the actual number of ultrafine copper alloy wires in the batch to be tested based on the standard number of ultrafine copper alloy wires in the batch to be tested, the predicted total weight of the batch to be tested, and the actual total weight of the batch to be tested. The actual number of ultrafine copper alloy wires in the batch to be tested is:
[0076] y" = round(len_new*w / w real ).
[0077] Wherein, y” is the actual number of ultrafine copper alloy wires in the batch to be tested, round(*) indicates rounding, and w real is the actual total weight of the batch to be tested.
[0078] Step 1013: Determine the difference between the actual number of ultrafine copper alloy wires in the batch to be tested and the standard number of ultrafine copper alloy wires in the batch to be tested, and the ratio of the actual number of ultrafine copper alloy wires in the batch to be tested to the standard number of ultrafine copper alloy wires in the batch to be tested is used as the judgment value. Determine whether the batch to be tested is qualified based on the judgment value and the judgment value threshold.
[0079] like Figure 2 In an exemplary embodiment, an ultrafine copper alloy wire counting device is provided. The ultrafine copper alloy wire counting device applies the ultrafine copper alloy wire counting method described above. The ultrafine copper alloy wire counting device comprises:
[0080] The isolation protection module is used to isolate the external environment. The isolation protection module is used to isolate the external environment and protect other vulnerable equipment modules inside from collision or interference, so as to avoid inaccurate detection results due to equipment damage.
[0081] The wire diameter measurement module is used to obtain the wire diameter of the sampled copper wire segment. The wire diameter measurement module is used to measure the diameter of the copper alloy wire and record and save all data to facilitate the use of the data by subsequent modules.
[0082] Weighing measurement module, used to obtain the actual total weight of the batch to be tested. Weighing measurement module, used to measure the weight of copper alloy wire with high resolution and high accuracy. Light copper alloy wires can be measured with higher accuracy and recorded.
[0083] The data calculation and processing module is used to determine the actual number of ultrafine copper alloy wires in the batch to be tested according to the wire diameter of the sampled copper wire segment and the actual total weight of the batch to be tested. The data calculation and processing module is used for counting and quantity verification of ultrafine copper alloy wires.
[0084] The visual display and analysis module is used to visually display the quantity of copper wire in each batch and the verification status.
[0085] like Figure 3 The working process of the ultra-fine copper alloy wire counting device is as follows:
[0086] Step 1: Place a sample of the copper alloy wire on the workbench of the measuring module, and after calibrating the measuring module instrument, use a diameter gauge to measure the wire diameter of the twisted copper wire in the batch of copper alloy wires, and save the data for this section.
[0087] Step 2: First, calibrate and peel the 1 / 10,000 scale of the weighing and measuring module. Then, use the copper wire that has been tested for wire diameter in step 1 for weight detection. Cut the copper wire at a specified length from the top of the wire. Place the cut turn of ultra-fine copper alloy wire on the disk of the weighing and measuring module to measure the weight and record the data.
[0088] Step 3: Export the raw data from the storage device connected to the wire diameter measurement module, group the data according to the batch number of the copper alloy wire, classify the data belonging to the same batch into one category, and distinguish the data differences between different production batches.
[0089] Step 4: Calculate the number of strands in the batch of ultrafine copper alloy wires by using the curve fitting method, such as Figure 4 , the specific steps are as follows:
[0090] S1: Data preprocessing: The wire diameter data of the same batch are collected. Since the process of twisting each copper wire after drawing is random and the order of measuring the wire diameter is disordered, it will cause great inconvenience to the subsequent analysis and processing. The entire segment of data needs to be re-sorted. The specific sorting method is to sort in ascending order according to the wire diameter size, so that the chaotic and disordered data will become orderly and easy to analyze and process.
[0091] S2: Constructing a polynomial model: For a given set of data points, we need to find a suitable polynomial function to describe the relationship between these data points as accurately as possible. Assuming that we want to perform n-order polynomial fitting, the form of the polynomial is:
[0092] y=a 0 +a 1 x+...+a n x n .
[0093] Among them, y is the wire diameter of the sampled copper wire segment, x is the number of the sampled copper wire segment, and a 0 , a 1 , a 2 , ..., a n are the coefficients to be determined of the polynomial model, and n is the highest degree of the polynomial.
[0094] When determining the degree of the polynomial, start with a lower degree, such as (first-degree polynomial, i.e., linear function) and then gradually increase the degree to fit more complex data forms. In the process of gradually increasing the degree, observe the changes in the fitting effect. Introduce indicators such as root mean square error (RMSE) and mean absolute error (MAE) to quantify the fitting effect and select the most appropriate n value.
[0095] The root mean square error (RMSE) is calculated as:
[0096] Among them, y i is the actual data value, is the value predicted by the polynomial model, and m is the number of data points. RMSE measures the degree of deviation between the predicted value and the actual value. The smaller the value, the better the fitting effect. The calculation formula of mean absolute error (MAE) is:
[0097] S3: The general form of the known polynomial model is y = a 0 +a 1 x+...+a n x n ; For a given set of data points, each data point can be represented as (x 1 ,y 1 ),i=1,2,...m, m is the total number of data points.
[0098] Substituting each data point into the polynomial generates a series of equations. Specifically, for a data point (x 1 ,y 1 ),have For (x 2 ,y 2 ), then And so on. We get a system of equations consisting of m equations.
[0099] The least square method is introduced to solve the coefficients so that the sum of the squares of the vertical distances from all data points to the fitting curve is minimized. 1 ,y 1 ), which fits the curve The vertical distance d i pass Calculate. Construct the square sum function of all vertical distances, whose expression is Solve the coefficients to minimize the sum of the squares of the vertical distances from all data points to the fitting curve, and solve the polynomial equation (i.e. the initial prediction model for wire diameter) y = a 0 +a 1 x+...+a n x n.
[0100] S4: Update the polynomial prediction equation: Figure 5 , obtain the initial prediction model of the wire diameter, the horizontal axis x is the serial number of the copper wire, obtain the number of sampled copper wire segments and the standard number, modify the definition domain of the equation independent variable x from [0, len] to [0, len_new], where len is the number of sampled copper wire segments and len_new is the standard number. Estimate the copper wire diameter of this batch through the measured copper wire diameter, and modify the polynomial equation to:
[0101]
[0102] That is, the wire diameter prediction model, where y' is the predicted value of the wire diameter of the virtual copper alloy wire, x' is the serial number of the virtual copper alloy wire, and len is the number of sampled copper wire segments.
[0103] S5: Prediction by polynomial equations.
[0104] According to a specific numbering rule, the internal copper wires are discretely arranged starting from 1 until the len_newth copper wire. For each copper wire, the relevant data needs to be predicted through the established polynomial equation.
[0105] For the wire diameter prediction of each copper wire, the calculation is performed according to the equation y'. Each copper wire numbered from 1 to len_new is substituted into the wire diameter prediction model in turn, and the predicted wire diameter size corresponding to the first copper wire to the last copper wire is calculated. It represents the wire diameter of each copper wire predicted by the fitting curve, arranged from small to large.
[0106] By w = π * (y') 2 *L*ρ predicts the expected weight of each copper wire. All data are combined, and the weight data of each copper wire are summed up to get the total weight of the batch of copper alloy wires.
[0107] S6: Final count and data comparison: Compare the combined total weight with the weighing measurement data and calculate the final count by the formula y" = round (len_new*w / w real ) Calculate the total number of copper alloy wires in this batch.
[0108] Step 5, compare the data with the standard root number of the production batch, determine whether there is a problem with the production of the batch, and perform subsequent processing.
[0109] The prediction results of the number of ultrafine copper alloy wires from different batches are shown in Table 1. The fitting curves of the number and wire diameter of ultrafine copper alloy wires from different batches are shown in Table 1. Figures 6 to 10 shown.
[0110] Table 1 Prediction results of the number of copper alloy wires in different batches
[0111] Batch No. Standard root number Wire diameter Actual number of roots Actual weight Predicted weight Calculate the number of roots 1 100 0.1mm 100 1.2817g 1.2817g 100 2 80 0.08mm 80 0.6614g 0.6614g 80 3 71 0.08mm 71 0.5864g 0.5860g 71 4 65 0.06mm 65 0.3061g 0.3059g 65 5 56 0.08mm 56 0.4623g 0.4628g 56
[0112] In Table 1, Example 1: Detect the number of stranded wires in a batch of copper alloy wires. The specific parameters are: the cut length is 20 cm, the standard number of the batch is 100, the actual number of wires is 100, and the weight detected by weighing is 0.8252 g. The wire diameter specification is 0.08 mm with a tolerance of 0.03% and the wire diameters of 35 wires are detected. The predicted wire diameter of each wire is as follows: Figure 6 As shown, the total weight calculated based on the predicted wire diameter is 0.8259g, and the number of strands after calculation by the formula is 100. Example 2: Detect the number of stranded wires in a batch of copper alloy wires. The specific parameters are: the cut length is 20cm, the standard number of the batch is 65 strands, the actual number of strands is 65 strands, and the weight detected by weighing is 0.4718g. The wire diameter specification is 0.06mm with a tolerance of 0.03% and the wire diameter of 25 of the wires is detected. The predicted wire diameter of each strand is as follows Fig. 9 As shown, the total weight calculated based on the predicted wire diameter is 0.4716g, and the number of wires is 65 after calculation by the formula.
[0113] In an exemplary embodiment, a computer device is provided, which may be a server or a terminal. The computer device includes a processor, a memory, an input / output interface (I / O for short) and a communication interface. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface is connected to the system bus via the input / output interface. 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, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a method for counting ultrafine copper alloy wires is implemented.
[0114] In an exemplary embodiment, a computer-readable storage medium is provided, storing a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0115] In an exemplary embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0116] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0117] Those of ordinary skill 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 the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM may be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0118] The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. The non-relational database may include a distributed database based on blockchain, etc., but is not limited thereto. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but is not limited thereto.
[0119] 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.
[0120] This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and core ideas of this application; at the same time, for those skilled in the art, according to the ideas of this application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting this application.
Claims
1. A method for counting ultrafine copper alloy wires, characterized in that: include: A plurality of ultrafine copper alloy wires are selected from the batch to be tested as sampling copper wires; According to the preset length, a sampling copper wire segment is cut from each sampling copper wire; Determine the wire diameter of each sampled copper wire segment; Arrange the sampled copper wire segments in ascending order according to the wire diameters, and sequentially number all the sampled copper wire segments based on the ascending order result; A polynomial model was constructed with the serial number of the sampled copper wire segment as the independent variable and the wire diameter of the sampled copper wire segment as the dependent variable. According to the number and wire diameter of each sampled copper wire segment, the coefficients of the polynomial model are determined by using the least square method to obtain an initial wire diameter prediction model; The wire diameter prediction model is updated according to the number of sampled copper wire segments and the standard number of ultrafine copper alloy wires in the batch to be tested to obtain a wire diameter prediction model; Assume that the batch to be tested includes len_new virtual copper alloy wires; len_new is the standard number of ultrafine copper alloy wires in the batch to be tested; Substitute 1 to len_new as independent variables into the wire diameter prediction model to obtain the wire diameter prediction value of each virtual copper alloy wire; Determining the predicted weight of each virtual copper alloy wire in the batch to be tested according to the preset length and the predicted value of the wire diameter of each virtual copper alloy wire; Determine the sum of the predicted weights of all virtual copper alloy wires as the predicted total weight of the batch to be tested; The actual number of ultrafine copper alloy wires in the batch to be tested is determined according to the standard number of ultrafine copper alloy wires in the batch to be tested, the predicted total weight of the batch to be tested and the actual total weight of the batch to be tested.
2. The method for counting ultrafine copper alloy wires according to claim 1, characterized in that: The polynomial model is: y=a0+a1x+...+a n x n ; Among them, y is the wire diameter of the sampled copper wire segment, x is the number of the sampled copper wire segment, a0, a1, a2, ..., a n are the coefficients to be determined of the polynomial model, and n is the highest degree of the polynomial.
3. The method for counting ultrafine copper alloy wires according to claim 2, characterized in that: The wire diameter prediction model is: Among them, y' is the predicted value of the wire diameter of the virtual copper alloy wire, x' is the serial number of the virtual copper alloy wire, and len is the number of sampled copper wire segments.
4. The method for counting ultrafine copper alloy wires according to claim 3, characterized in that: The predicted weight of a single piece is: w=π*(y') 2 *L*p; Wherein, w is the predicted weight of a single wire, L is the preset length, and ρ is the average density of the copper alloy wire.
5. The method for counting ultrafine copper alloy wires according to claim 4, characterized in that: The actual number of ultrafine copper alloy wires in the batch to be tested is: y”=round(len_new*w / w real ); Wherein, y" is the actual number of ultrafine copper alloy wires in the batch to be tested, round(*) indicates rounding, and w real is the actual total weight of the batch to be tested.
6. The method for counting ultrafine copper alloy wires according to claim 1, characterized in that: After determining the actual number of ultrafine copper alloy wires in the batch to be tested according to the standard number of ultrafine copper alloy wires in the batch to be tested, the predicted total weight of the batch to be tested and the actual total weight of the batch to be tested, the method further includes: Determine the difference between the actual number of ultrafine copper alloy wires in the batch to be tested and the standard number of ultrafine copper alloy wires in the batch to be tested, and the ratio of the actual number of ultrafine copper alloy wires in the batch to be tested to the standard number of ultrafine copper alloy wires in the batch to be tested is used as the judgment amount; Whether the batch to be tested is qualified is determined based on the judgment amount and the judgment amount threshold.
7. An ultra-fine copper alloy wire counting device, characterized in that: The ultrafine copper alloy wire counting device applies the ultrafine copper alloy wire counting method according to any one of claims 1 to 6, and the ultrafine copper alloy wire counting device comprises: An isolation protection module is used to isolate the external environment; A wire diameter measurement module is used to obtain the wire diameter of the sampled copper wire segment; Weighing measurement module, used to obtain the actual total weight of the batch to be tested; The data calculation and processing module is used to determine the actual number of ultra-fine copper alloy wires in the batch to be tested based on the wire diameter of the sampled copper wire segment and the actual total weight of the batch to be tested.
8. A computer device comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method for counting ultrafine copper alloy wires according to any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the ultrafine copper alloy wire counting method according to any one of claims 1 to 6 is implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the ultrafine copper alloy wire counting method according to any one of claims 1 to 6 is implemented.