Weighing method of load-carrying truck with anti-vibration function

文档序号:1935271 发布日期:2021-12-07 浏览:18次 中文

阅读说明:本技术 一种具有抗振动功能的载重卡车称重方法 (Weighing method of load-carrying truck with anti-vibration function ) 是由 杨星东 于 2021-08-02 设计创作,主要内容包括:本发明公开了一种具有抗振动功能的载重卡车称重方法,包括如下步骤:S1、使用压力传感器采集初始重量信号;S2、采用FIR滤波算法对初始重量信号进行滤波处理,得到预处理重量信号;S3、将预处理重量信号进行称重计算得到载重卡车实时重量;S4、采用均值滤波算法对载重卡车实时重量进行滤波处理,得到载重卡车真实重量;S5、载重卡车真实重量显示或输出。该具有抗振动功能的载重卡车称重方法解决现有技术中无法获取载重卡车通过称重平台中间时重量的问题。(The invention discloses a weighing method of a load-carrying truck with a vibration resisting function, which comprises the following steps: s1, acquiring an initial weight signal by using a pressure sensor; s2, filtering the initial weight signal by adopting an FIR filtering algorithm to obtain a preprocessed weight signal; s3, weighing the preprocessed weight signals to obtain the real-time weight of the truck; s4, carrying out filtering processing on the real-time weight of the truck by adopting a mean filtering algorithm to obtain the real weight of the truck; and S5, displaying or outputting the actual weight of the load-carrying truck. The weighing method of the load-carrying truck with the anti-vibration function solves the problem that the weight of the load-carrying truck passing through the middle of the weighing platform cannot be obtained in the prior art.)

1. A weighing method of a load-carrying truck with a vibration resisting function is characterized by comprising the following steps:

s1, acquiring an initial weight signal by using a pressure sensor;

s2, filtering the initial weight signal by adopting an FIR filtering algorithm to obtain a preprocessed weight signal;

s3, weighing the preprocessed weight signals to obtain the real-time weight of the truck;

s4, carrying out filtering processing on the real-time weight of the truck by adopting a mean filtering algorithm to obtain the real weight of the truck;

and S5, displaying or outputting the actual weight of the load-carrying truck.

2. The method for weighing a load-carrying truck with anti-vibration function according to claim 1, wherein the step S4 comprises the steps of:

s41, establishing a sampling buffer area with the time length of 1 second, wherein the data number of the buffer area is n, and the buffer area is updated once every time a new measured value is sampled;

s42, finding out the maximum value Max and the minimum value Min of the buffer area through comparison, when Max-Min is less than D, the sample data in the buffer area is the target value, and the weighted average value of all the sample values in the buffer area at the moment is the real weight of the truck.

3. The method as claimed in claim 1, wherein the FIR filtering algorithm in step S2 is a low pass FIR filtering algorithm with a cut-off frequency of 10 Hz.

4. The method for weighing a load-carrying truck with anti-vibration function as claimed in claim 1, wherein the mean value filtering algorithm in step S4 is a sliding mean value filtering algorithm.

Technical Field

The invention relates to the field of weighing, in particular to a weighing method of a load-carrying truck with a vibration resisting function.

Background

The Chinese patent discloses a method and a system for dynamic weighing of a vehicle with application number CN201611121333.5 under the condition of uniform motion, which comprises the following steps; the weighing sensor obtains dynamic weighing data signals, filtering processing is carried out on the dynamic weighing data through a moving average method, random errors generated after weighing platform vibration and vehicle vibration are superposed are restrained, and the filtered data signals are obtained. However, the method error can be caused by the filtering of the moving average method, so that the B-spline least square method calculation is carried out, the filtered data signal is fitted, the scale body vibration signal is eliminated, and the method error caused by the moving average filtering is reduced. And finally, respectively substituting the original dynamic weighing signal of the vehicle on the scale and the dynamic weighing signal of the vehicle just before the scale is off the scale into a least square fitting curve to perform least square fitting, and solving the difference value of the original dynamic weighing signal of the vehicle on the scale and the dynamic weighing signal of the vehicle just before the scale is off the scale to obtain the dynamic weighing signal after the automobile vibration and the scale body vibration are eliminated. And the length range of the scale body loader in the system for dynamic weighing under the uniform motion of the vehicle can be calculated by combining the vibration characteristics of the vehicle. Although weighing can be achieved, there are still disadvantages:

when the load-carrying truck passes through the platform, the weight of the load-carrying truck (front, back, left and right, and the like) is not uniformly distributed, so that the weight of the load-carrying truck passing through the middle part of the weighing platform is required to be acquired, and the weight acquisition cannot be correctly realized.

Disclosure of Invention

The invention provides a weighing method of a load-carrying truck with an anti-vibration function, and solves the problem that the weight of the load-carrying truck passing through the middle of a weighing platform cannot be obtained in the prior art.

In order to achieve the purpose, the invention adopts the following technical scheme:

the invention discloses a weighing method of a load-carrying truck with a vibration resisting function, which comprises the following steps:

s1, acquiring an initial weight signal by using a pressure sensor;

s2, filtering the initial weight signal by adopting an FIR filtering algorithm to obtain a preprocessed weight signal;

s3, weighing the preprocessed weight signals to obtain the real-time weight of the truck;

s4, carrying out filtering processing on the real-time weight of the truck by adopting a mean filtering algorithm to obtain the real weight of the truck;

and S5, displaying or outputting the actual weight of the load-carrying truck.

Preferably, step S4 includes the steps of:

s41, establishing a sampling buffer area with the time length of 1 second, wherein the data number of the buffer area is n, and the buffer area is updated once every time a new measured value is sampled;

s42, finding out the maximum value Max and the minimum value Min of the buffer area through comparison, when Max-Min is less than D, the sample data in the buffer area is the target value, and the weighted average value of all the sample values in the buffer area at the moment is the real weight of the truck.

Preferably, the FIR filtering algorithm in step S2 is a low-pass FIR filtering algorithm, and the cutoff frequency is 10 Hz.

Preferably, the mean filtering algorithm in step S4 is a sliding mean filtering algorithm.

Compared with the prior art, the invention has the following beneficial effects:

the method can realize the collection of the weight of the truck in the movement process, is convenient for collecting the weight of the truck in the movement process in practical application, and provides convenience for the road bridge to detect the driving.

Additional advantages, objects, and features of the invention will be set forth in part in the description which follows and in part will become apparent to those having ordinary skill in the art upon examination of the following or may be learned from practice of the invention.

Drawings

FIG. 1 is a graph of the initial weight signal obtained in step S1;

FIG. 2 is a graph of the preprocessed weight signals obtained in step S2;

FIG. 3 is a real-time weight map of the truck in step S3;

fig. 4 is a graph of the real-time weight of the load-carrying truck and the corresponding relationship between the load-carrying truck and the load-carrying truck passing through the weighing platform for the purpose of step S4.

Detailed Description

In order to make the technical means, the creation characteristics, the achievement purposes and the functions of the invention clearer and easier to understand, the invention is further explained by combining the drawings and the detailed implementation mode:

as shown in fig. 1 to 4, the invention discloses a weighing method of a load-carrying truck with anti-vibration function, which comprises the following steps:

s1, acquiring an initial weight signal by using a pressure sensor;

s2, filtering the initial weight signal by adopting an FIR filtering algorithm to obtain a preprocessed weight signal ADi

S3, weighing the preprocessed weight signals to obtain the real-time weight of the truck;

W=K*(ADi-A0)

in the above formula, W is the real-time weight of the truck, ADiRepresenting the preprocessed weight signal at time i, K and A0Are all constant (by weighing a truck of known truck real-time weight W, obtaining a pre-processed weight signal ADiAt least 3 groups of the above masses, wherein the real-time weights W of the trucks in each group of trucks are different, and the constants K and A are obtained by statistical analysis0. Due to the pre-processing of the weight signal AD in this stepiA certain difference exists between the real-time weight W of the load-carrying truck, so that the difference needs to be calculated according to the difference, and the real-time weight W of the load-carrying truck is detected;

s4, carrying out filtering processing on the real-time weight of the truck by adopting a mean filtering algorithm to obtain the real weight of the truck;

and S5, displaying or outputting the actual weight of the load-carrying truck.

Step S1 includes the following steps: s11, sampling by the pressure sensor to obtain a sampling value X ═ { X ═ X1,x2,x3,…,xi… }; s12, the method comprises the following steps: s121, before the load-carrying truck strides over the measuring platform, the distance K from the liquid level of the colored liquid to the position of the infrared measuring device is obtained by using the infrared measuring device0(ii) a S122, when the truck reaches the measuring platform, the distance k from the liquid level of the colored liquid to the position of the infrared measuring device is obtained by using the infrared measuring device at the ith momenti(ii) a S123, calculating average vibration amplitudeN denotes that there are N k measurementsiA value; s124, calculating the average time interval T of the average vibration amplitude F; s125, correcting the sampled value X ═ X by using the formula one1,x2,x3,…,xi,…},xiExpressed as the sampled value at the ith time and corrected initial weight signal Y ═ Y1,y2,y3,…,yi,…},yiExpressed as initial weight at time iThe signal, formula one is:

Y=a3X3+a2X2+a1X+b3F3+b2F2+b1F+

c3T3+c2T2+c1T+d3K0 3+d2K0 2+d1K0+a0

in the above formula, a3,a2,a1,b3,b2,b1,c3,c2,c1,d3,d2,d1,a0Are all constants.

The constant is obtained by placing the measuring platform on a supporting plane, and the level meter obtains the distance K from the liquid level of the colored liquid to the position of the infrared measuring device by using the infrared measuring device0(ii) a Then, using a load truck with an accurate known initial weight signal, the load truck is driven onto a measuring platform with a pressure sensor and a level meter, and the level meter uses an infrared measuring device to obtain the distance k from the liquid level of the colored liquid to the position of the infrared measuring device at the ith momentiAnd simultaneously sampling by the pressure sensor to obtain a sampling value X ═ X1,x2,x3,…,xi… }; then, at least more than 10 groups of data of the load-carrying trucks with different initial weight signals are obtained by adopting the previous two groups of data; finally, obtaining a constant a through a regression algorithm3,a2,a1,b3,b2,b1,c3,c2,c1,d3,d2,d1,a0

Install the spirit level at measuring platform, the spirit level includes: the infrared measuring device is used for measuring the distance from the liquid level of the colored liquid to the position of the infrared measuring device. Since the measuring platform is not placed at every position with the same levelnessThe levelness at the location of the measuring platform directly affects the measurement of the weight, so that the influence of the levelness on the measuring result needs to be discharged, and the measuring result needs to be corrected. Therefore, before the load-carrying truck strides over the measuring platform, the distance K from the liquid level of the colored liquid to the position of the infrared measuring device is obtained by using the infrared measuring device0

When the truck reaches the measuring platform, the distance k from the liquid level of the colored liquid to the position of the infrared measuring device is obtained by using the infrared measuring device at the ith momentiSince the truck is subjected to vibrations when arriving at the measuring platform, the vibrations can also form waves, k, in the coloured liquid pages1And also the vibrations, which have a great influence on the sampled value x, and to avoid this, it is therefore necessary to eliminate the vibrations. A string k can be obtained when each truck arrives at the measuring platformiValue, calculate the toggle amplitude … k of the infrared pagei-K0…, calculating average vibration amplitude(N denotes that there are N k measurementsiValue), the average time interval T at which the average vibration amplitude F occurs is calculated (first, judgment k when the average time interval T is calculatediIf the time sequence is equal to F, recording an ordered time data string i'; secondly, finding out the minimum min (i ') in the ordered time data string i'; thirdly, from min (i '), subtracting the next sequential time data from the previous sequential time data in the sequential time data string i' to obtain a time interval; fourthly, averaging all the time intervals to obtain an average time interval T).

In the first bulletin, the gradienter is utilized, so that the influence of the placement position of the measuring platform on the gradienter is eliminated, the influence of vibration on an initial weight signal is also eliminated, and the accuracy of a measured value is improved.

The FIR filtering algorithm in step S2 is a low-pass FIR filtering algorithm with a cutoff frequency of 10 Hz. Step S2 includes the following steps:

the second calculation formula of the FIR filtering algorithm is as follows:

(3.705 e-07 herein is the fractional expression);

this step yields a preprocessed weight signal M ═ M1,m2,m3,…,mi,…},miRepresented as the preprocessed weight signal at time i.

The effect of step S2 is: during the filtration, because card load truck causes the interference such as collection platform vibration, rocking and noise, the interference signal such as vibration, rocking and noise has specific frequency, and approximate frequency range is: 1-10 khz; and the weight signal frequency of a load truck is approximately: 0-10 hz, and the two frequencies are greatly different, so the interference filtering function is realized by using the method (low-pass FIR filtering algorithm).

The average filtering algorithm in step S4 is a sliding average filtering algorithm. And step S4 includes the steps of:

s41, establishing a sampling buffer area with the time length of 1 second, wherein the data number of the buffer area is n, and the buffer area is updated once every time a new measured value is sampled;

s42, finding out the maximum value Max and the minimum value Min of the buffer area through comparison, when Max-Min is less than D, the sample data in the buffer area is the target value, and the weighted average value of all the sample values in the buffer area at the moment is the real weight of the truck. D is a set deviation range value, the value of D can be 10-20 kg, and D is adjusted according to the situation of the site.

Finally, the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all of them should be covered in the claims of the present invention.

10页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:车载称重方法、装置、处理设备及系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类