The application is a divisional application of a parent application named as 'a method and a terminal for identifying the material feeding amount', wherein the application number is 201910038590.X, the application date is 2019, 1, 16.
Detailed Description
In order to explain technical contents, achieved objects, and effects of the present invention in detail, the following description is made with reference to the accompanying drawings in combination with the embodiments.
The most key concept of the invention is as follows: determining a steady-state point reference value and a wave valley value of the material during weighing from the starting time point of the disc separation to the ending time point of the disc separation, thereby calculating to obtain a plurality of disc separation quantities; and calculating the plate dividing amount with the minimum deviation value of the weight of the material in the production matching proportion from the plurality of plate dividing amounts to obtain the real plate dividing amount of the material.
Referring to fig. 1, the present invention provides a method for accurately identifying a material feeding amount, comprising the following steps:
s1: acquiring a starting time point of material distribution and acquiring an ending time point of the material distribution;
s2: determining a steady-state point reference value and a trough value when the material is weighed from the starting time point of the tray separation to the ending time point of the tray separation;
s3: obtaining a plurality of disc dividing quantities according to the steady-state point reference value and the trough value;
s4: and calculating the disc dividing amount with the minimum deviation value with the weight from the plurality of disc dividing amounts according to the weight required by the material in the preset production matching proportion to obtain the real disc dividing amount of the material.
From the above description, the method for accurately identifying the material feeding amount provided by the invention determines the steady-state point reference value and the wave valley value during the material weighing from the starting time point of the tray separation to the ending time point of the tray separation, so as to calculate and obtain a plurality of tray separation amounts; and calculating the plate dividing amount with the minimum deviation value of the weight of the material in the production matching proportion from the plurality of plate dividing amounts to obtain the real plate dividing amount of the material. In practical use, the invention determines the material dividing starting point and the dividing ending point by collecting electronic signals of the stirrer and the material switch board, finds the steady-state point reference value and the wave trough value of material weighing in the dividing starting point and the dividing ending point, calculates the dividing amount according to the steady-state point reference value and the wave trough value, compares the dividing amount with the weight required by the material in the material production matching proportion, takes the value with the minimum deviation value as the true value of the dividing amount of the material, reduces the influence of the situations of instantaneous instability, signal interference and the like of the electronic weighing value of the weighing device, and ensures that the material feeding amount has high value precision and strong stability.
Further, the S1 is preceded by: and establishing a connection relation with a preset weighing device.
It can be known from the above description that the weight when can divide the dish to the material through this weighing apparatus is gathered, and establishes the relation of connection before gathering to ensure can in time obtain the weight value that the weighing apparatus gathered.
Further, between S1 and S2, there are:
obtaining a weighing time period according to the time from the starting time point to the ending time point;
and acquiring all weight acquisition points acquired by a preset weighing device in the weighing time period.
The weight acquisition point comprises an acquisition time point and a weight value corresponding to the time point.
As can be seen from the above description, by the above method, all weight collection points collected by the weighing machines in the time range from the beginning point of the distribution to the end point of the distribution can be quickly obtained.
Further, the S2 specifically includes:
calculating to obtain a characteristic value of each weight collecting point through a preset formula;
acquiring a minimum value and a maximum value in the characteristic values;
calculating all weight acquisition points through a clustering algorithm according to the minimum value and the maximum value, dividing the weight acquisition points into two types of weight acquisition points, and obtaining a first type of weight acquisition point corresponding to the minimum value and a second type of weight acquisition point corresponding to the maximum value;
obtaining a steady-state point reference value according to the first type weight acquisition point;
obtaining a first oscillogram according to all weight collecting points;
and obtaining the valley value according to the first oscillogram.
From the above description, it can be known that, by the above method, the steady-state point reference value and the trough value of the material sub-trays in the weighing process can be obtained quickly and accurately, the steady-state value can be obtained by calculating the characteristic value corresponding to the weight collecting point, screening the weight collecting point in reverse according to the characteristic value, and calculating by the clustering algorithm, so that the accuracy of the steady-state value calculation is greatly improved.
Further, the preset formula is as follows:
wherein, the hiRepresenting a characteristic value corresponding to an ith weight acquisition point, wherein i is 1, 2, 3, 4, …, N; a is aiRepresenting a weight value at the ith weight acquisition point, said ai+j+1Represents the weight value of the (i + j + 1) th weight acquisition point, tiRepresenting the point in time of acquisition corresponding to the ith weight acquisition point, said ti+j+1Representing the collection time points corresponding to the (i + j + 1) th weight collection point, wherein N is the total number of all weight collection points; and n is the number of preset continuous sampling points.
As can be seen from the above description, in obtaining ai+j+1In the process, since i + j +1 may exceed the range of the weight collection points, the weight collection points beyond the range of the number of the weight collection points need to be removed before calculation; by the way of the above-mentioned calculation,the characteristic value of each weight acquisition point can be quickly calculated to prepare for subsequent calculation of the steady-state value, and the accuracy of the calculation of the steady-state value can be improved by the characteristic value calculated in the mode.
Referring to fig. 2, the present invention further provides a terminal for accurately identifying a material feeding amount, including a memory 1, a processor 2 and a computer program stored in the memory 1 and operable on the processor 2, wherein the processor 2 implements the following steps when executing the computer program:
s1: acquiring a starting time point of material distribution and acquiring an ending time point of the material distribution;
s2: determining a steady-state point reference value and a trough value when the material is weighed from the starting time point of the tray separation to the ending time point of the tray separation;
s3: obtaining a plurality of disc dividing quantities according to the steady-state point reference value and the trough value;
s4: and calculating the disc dividing amount with the minimum deviation value with the weight from the plurality of disc dividing amounts according to the weight required by the material in the preset production matching proportion to obtain the real disc dividing amount of the material.
From the above description, the terminal for accurately identifying the material feeding amount provided by the invention determines the steady-state point reference value and the wave valley value during material weighing from the starting time point of the tray separation to the ending time point of the tray separation, so as to calculate and obtain a plurality of tray separation amounts; and calculating the plate dividing amount with the minimum deviation value of the weight of the material in the production matching proportion from the plurality of plate dividing amounts to obtain the real plate dividing amount of the material. In practical use, the invention determines the material dividing starting point and the dividing ending point by collecting electronic signals of the stirrer and the material switch board, finds the steady-state point reference value and the wave trough value of material weighing in the dividing starting point and the dividing ending point, calculates the dividing amount according to the steady-state point reference value and the wave trough value, compares the dividing amount with the weight required by the material in the material production matching proportion, takes the value with the minimum deviation value as the true value of the dividing amount of the material, reduces the influence of the situations of instantaneous instability, signal interference and the like of the electronic weighing value of the weighing device, and ensures that the material feeding amount has high value precision and strong stability.
Further, the S1 is preceded by: and establishing a connection relation with a preset weighing device.
It can be known from the above description that the weight when can divide the dish to the material through this weighing apparatus is gathered, and establishes the relation of connection before gathering to ensure can in time obtain the weight value that the weighing apparatus gathered.
Further, between S1 and S2, there are:
obtaining a weighing time period according to the time from the starting time point to the ending time point;
and acquiring all weight acquisition points acquired by a preset weighing device in the weighing time period.
The weight acquisition point comprises an acquisition time point and a weight value corresponding to the time point.
From the above description, it can be known that, through the above terminal, all the weight collection points collected by the weighing machines in the time range from the starting time point of the distribution to the ending time point of the distribution can be obtained quickly.
Further, the S2 specifically includes:
calculating to obtain a characteristic value of each weight collecting point through a preset formula;
acquiring a minimum value and a maximum value in the characteristic values;
calculating all weight acquisition points through a clustering algorithm according to the minimum value and the maximum value, dividing the weight acquisition points into two types of weight acquisition points, and obtaining a first type of weight acquisition point corresponding to the minimum value and a second type of weight acquisition point corresponding to the maximum value;
obtaining a steady-state point reference value according to the first type weight acquisition point;
obtaining a first oscillogram according to all weight collecting points;
and obtaining the valley value according to the first oscillogram.
According to the description, the stable-state point reference value and the trough value of the material sub-trays in the weighing process can be quickly and accurately obtained through the terminal, the characteristic values corresponding to the weight acquisition points are calculated, the weight acquisition points are screened in reverse according to the characteristic values, the stable-state values are calculated through a clustering algorithm, and the accuracy of calculating the stable-state values is greatly improved.
Further, the preset formula is as follows:
wherein, the hiRepresenting a characteristic value corresponding to an ith weight acquisition point, wherein i is 1, 2, 3, 4, …, N; a is aiRepresenting a weight value at the ith weight acquisition point, said ai+j+1Represents the weight value of the (i + j + 1) th weight acquisition point, tiRepresenting the point in time of acquisition corresponding to the ith weight acquisition point, said ti+j+1Representing the collection time points corresponding to the (i + j + 1) th weight collection point, wherein N is the total number of all weight collection points; and n is the number of preset continuous sampling points.
As can be seen from the above description, in obtaining ai+j+1In the process, since i + j +1 may exceed the range of the weight collection points, the weight collection points outside the range of the number of the weight collection points need to be removed before calculation; through the calculation mode, the characteristic value of each weight acquisition point can be quickly calculated and prepared for subsequent calculation of the steady-state value, and the accuracy of calculation of the steady-state value can be improved through the characteristic value calculated through the mode.
Referring to fig. 1 and fig. 3, a first embodiment of the present invention is:
the invention provides a method for accurately identifying the material feeding amount, which comprises the following steps:
s0: establishing a connection relation with a preset weighing device;
s1: acquiring a starting time point of material distribution and acquiring an ending time point of the material distribution;
s105: obtaining a weighing time period according to the time from the starting time point to the ending time point; acquiring all weight acquisition points acquired by a preset weighing device in the weighing time period;
s2: determining a reference value, a maximum value and two wave valley values of a steady-state point during material weighing from a starting time point of the tray separation to an ending time point of the tray separation;
wherein, the S2 specifically is:
calculating to obtain a characteristic value of each weight collecting point through a preset formula;
acquiring a minimum value and a maximum value in the characteristic values;
calculating all weight acquisition points through a clustering algorithm according to the minimum value and the maximum value, dividing the weight acquisition points into two types of weight acquisition points, and obtaining a first type of weight acquisition point corresponding to the minimum value and a second type of weight acquisition point corresponding to the maximum value;
obtaining a steady-state point reference value according to the first type weight acquisition point;
obtaining a first oscillogram according to all weight collecting points;
and obtaining the valley value according to the first oscillogram.
Wherein, the preset formula is as follows:
wherein, the hiRepresenting a characteristic value corresponding to an ith weight acquisition point, wherein i is 1, 2, 3, 4, …, N; a is aiRepresenting a weight value at the ith weight acquisition point, said ai+j+1Represents the weight value of the (i + j + 1) th weight acquisition point, tiRepresenting the point in time of acquisition corresponding to the ith weight acquisition point, said ti+j+1Representing the collection time points corresponding to the (i + j + 1) th weight collection point, wherein N is the total number of all weight collection points; n is the number of preset continuous sampling points; when N is less than 20, the value of N is 1; when the N is less than 50 and more than or equal to 20, the value of the N is 2; and when the N is more than or equal to 50, the value of N is 3. Care needs to be taken in calculating it because there is a certain probability that i + j +1 is greater than N. To solve this problem, the out-of-range feature values need to be removed, i.e., not calculated.
The maximum value and the two wave valley values are obtained by the following method: acquiring a maximum weight value, namely a maximum value, of a collection point from the start time to the end time of the distribution;
searching the minimum weight values of all the collection points from the starting time of the materials to the starting time of the stirrer to be valley values, continuously searching for the minimum weight values twice, and finally obtaining two valley values, namely a left valley and a right valley of each disk (as shown in figure 3);
s3: obtaining a plurality of grading quantities according to the steady-state point reference value, the maximum value and the two wave valley values;
wherein, the S3 specifically is:
and subtracting a wave valley value from the steady-state point reference value to obtain a plurality of disc separation quantities.
Each reference value has two divisional disk amounts, that is, a steady-state point divisional disk amount 1 is a steady-state point reference value — a first valley value (left valley), and a steady-state point divisional disk amount 2 is a steady-state point reference value — a second valley value (right valley).
Preferably, the S3 may also be:
acquiring the maximum value of the weight in the weighing time period;
and respectively subtracting a wave valley value from the steady-state point reference value and the maximum value to obtain a plurality of disc separation quantities.
S4: and calculating the disc dividing amount with the minimum deviation value with the weight from the plurality of disc dividing amounts according to the weight required by the material in the preset production matching proportion to obtain the real disc dividing amount of the material.
Referring to fig. 2 and fig. 3, a second embodiment of the present invention is:
the invention provides a terminal for accurately identifying the material feeding amount, which comprises a memory 1, a processor 2 and a computer program which is stored on the memory 1 and can be operated on the processor 2, wherein the processor 2 realizes the following steps when executing the computer program:
s0: establishing a connection relation with a preset weighing device;
s1: acquiring a starting time point of material distribution and acquiring an ending time point of the material distribution;
s105: obtaining a weighing time period according to the time from the starting time point to the ending time point; acquiring all weight acquisition points acquired by a preset weighing device in the weighing time period;
s2: determining a reference value, a maximum value and two wave valley values of a steady-state point during material weighing from a starting time point of the tray separation to an ending time point of the tray separation;
wherein, the S2 specifically is:
calculating to obtain a characteristic value of each weight collecting point through a preset formula;
acquiring a minimum value and a maximum value in the characteristic values;
calculating all weight acquisition points through a clustering algorithm according to the minimum value and the maximum value, dividing the weight acquisition points into two types of weight acquisition points, and obtaining a first type of weight acquisition point corresponding to the minimum value and a second type of weight acquisition point corresponding to the maximum value;
obtaining a steady-state point reference value according to the first type weight acquisition point;
obtaining a first oscillogram according to all weight collecting points;
and obtaining the valley value according to the first oscillogram.
Wherein, the preset formula is as follows:
wherein, the hiRepresenting a characteristic value corresponding to an ith weight acquisition point, wherein i is 1, 2, 3, 4, …, N; a is aiRepresenting a weight value at the ith weight acquisition point, said ai+j+1Represents the weight value of the (i + j + 1) th weight acquisition point, tiRepresenting the point in time of acquisition corresponding to the ith weight acquisition point, said ti+j+1Representing the collection time points corresponding to the (i + j + 1) th weight collection point, wherein N is the total number of all weight collection points; n is the number of preset continuous sampling points; when N is less than 20, the value of N is 1; when the N is less than 50 and more than or equal to 20, the value of the N is 2; and when the N is more than or equal to 50, the value of N is 3. Care needs to be taken in calculating it because there is a certain probability that i + j +1 is greater than N. To solve this problem, out-of-range features need to be removedValue, i.e. a characteristic value that is not calculated to be out of range.
The maximum value and the two wave valley values are obtained by the following method: acquiring a maximum weight value, namely a maximum value, of a collection point from the start time to the end time of the distribution;
searching the minimum weight values of all the collection points from the starting time of the materials to the starting time of the stirrer to be valley values, continuously searching for the minimum weight values twice, and finally obtaining two valley values, namely a left valley and a right valley of each disk;
s3: obtaining a plurality of grading quantities according to the steady-state point reference value, the maximum value and the two wave valley values;
wherein, the S3 specifically is:
and subtracting a wave valley value from the steady-state point reference value to obtain a plurality of disc separation quantities.
Each reference value has two divisional disk amounts, that is, a steady-state point divisional disk amount 1 is a steady-state point reference value — a first valley value (left valley), and a steady-state point divisional disk amount 2 is a steady-state point reference value — a second valley value (right valley).
Preferably, the S3 may also be:
acquiring the maximum value of the weight in the weighing time period;
and respectively subtracting a wave valley value from the steady-state point reference value and the maximum value to obtain a plurality of disc separation quantities.
S4: and calculating the disc dividing amount with the minimum deviation value with the weight from the plurality of disc dividing amounts according to the weight required by the material in the preset production matching proportion to obtain the real disc dividing amount of the material.
In summary, the method and the terminal for accurately identifying the material feeding amount provided by the invention determine the steady-state point reference value and the wave trough value during material weighing from the starting time point of the tray separation to the ending time point of the tray separation, so as to calculate and obtain a plurality of tray separation amounts; and calculating the plate dividing amount with the minimum deviation value of the weight of the material in the production matching proportion from the plurality of plate dividing amounts to obtain the real plate dividing amount of the material. In practical use, the invention determines the material dividing starting point and the dividing ending point by collecting electronic signals of the stirrer and the material switch board, finds the steady-state point reference value and the wave trough value of material weighing in the dividing starting point and the dividing ending point, calculates the dividing amount according to the steady-state point reference value and the wave trough value, compares the dividing amount with the weight required by the material in the material production matching proportion, takes the value with the minimum deviation value as the true value of the dividing amount of the material, reduces the influence of the situations of instantaneous instability, signal interference and the like of the electronic weighing value of the weighing device, and ensures that the material feeding amount has high value precision and strong stability.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all equivalent changes made by using the contents of the present specification and the drawings, or applied directly or indirectly to other related technical fields, are included in the scope of the present invention.