Summary of the invention
The purpose of the present invention is to provide a kind of dynamic weighing modification methods of vehicle-mounted Weighing module, existing vehicle-mounted to solve
Weighing technique can not accurately measure the problem of vehicle dynamic weight.
To achieve the above object, the present invention provides a kind of dynamic weighing modification methods of vehicle-mounted Weighing module, to right
Vehicle weight detected is modified when vehicle driving, and provide a kind of has gyro sensor, storage unit and place first
The vehicle-mounted Weighing module of unit is managed, the vehicle-mounted Weighing module is set on vehicle, detects to the weight to vehicle, if
Forward/backward direction when the fixed vehicle is in a horizontal position is X-axis, and left and right directions is Y-axis, and up and down direction is Z axis, described
Storage unit stores the angle of deviation Φ of the vertical direction of gyro sensor and the Z axis when vehicle is in a horizontal position
0, the sideway force coefficient ky of the sideway force coefficient kx of gyro sensor X-direction and gyro sensor Y direction;
Secondly, by gyro sensor obtain vehicle a certain dynamic moment X-axis, Y-axis and Z axis component of acceleration
ax、ay、az, gravity acceleration g and in the vertical direction of a certain dynamic moment gyro sensor and the angle Φ of Z axis;
Angle of deviation Φ is utilized through the processing unit0, the sideway force coefficient kx of X-direction, Y direction sideway force coefficient
Ky, component of acceleration ax、ay、az, gravity acceleration g and angle Φ angular variation correction factor A and acceleration correction system is calculated
Number B;
Vehicle is obtained in the sense weight S at a certain dynamic moment by vehicle-mounted Weighing module;
Using following formula: the actual weight G of vehicle is calculated in G=S/ (A*B).
As a further improvement of the present invention, the sideway force coefficient kx of the X-direction and the sideway force coefficient of Y direction
Ky demarcates acquisition after the completion of vehicle-mounted Weighing module produces, and calibration process is as follows:
Make the weight of the vehicle-mounted Weighing module load constant weight, the weight of the weight is no more than the vehicle-mounted weighing
The range of module;
It controls the vehicle-mounted Weighing module to accelerate along the x axis, and records acceleration ax1It is defeated with vehicle-mounted Weighing module
Interior code value C outx1;
The vehicle-mounted Weighing module is controlled along the x axis with the accelerated motion of another acceleration, and records acceleration ax0And vehicle
Carry the interior code value C of Weighing module outputx0;
It controls the vehicle-mounted Weighing module to accelerate along the y axis, and records acceleration ay1It is defeated with vehicle-mounted Weighing module
Interior code value C outy1;
The vehicle-mounted Weighing module is controlled along the y axis with the accelerated motion of another acceleration, and records acceleration ay0And vehicle
Carry the interior code value C of Weighing module outputy0;
Utilize formula kx=(Cx1-Cx0)/(ax1-ax0)、ky=(Cy1-Cy0)/(ay1-ay0) find out the lateral force system of X-direction
The sideway force coefficient ky of number kx and Y direction.
As a further improvement of the present invention, formula θ=Φ-Φ is utilized0, obtain the gyroscope at a certain dynamic moment
The actual shifts angle θ of gyro sensor when sensor relative vehicle is in a horizontal position.
As a further improvement of the present invention, angular variation correction factor A utilizes formula A=cos θ+kx* through the processing unit
Sin θ is calculated.
As a further improvement of the present invention, acceleration correction coefficient B utilizes B=(kx*ax+ky*ay+ through the processing unit
Gz)/g is calculated.
The beneficial effects of the present invention are: the dynamic weighing modification method of vehicle-mounted Weighing module of the invention, runs vehicle
The weight weighed in the process is modified, while solving the influence of angular variation and acceleration weighing weight, principle of operation letter
Single, the speed of service is fast, and detection accuracy is high.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, combined with specific embodiments below to the present invention
It is described in detail.
The dynamic weighing modification method of vehicle-mounted Weighing module of the invention, to detected when driving on slope to vehicle
Vehicle weight is modified, and implementation step is as follows:
A kind of vehicle-mounted Weighing module with gyro sensor, storage unit and processing unit, the vehicle are provided first
It carries Weighing module to be set on vehicle, detects, set when the vehicle is in a horizontal position to the weight to vehicle
Forward/backward direction is X-axis, and left and right directions is Y-axis, and up and down direction is Z axis, and the storage unit stores the vehicle and is in
The angle of deviation Φ of the vertical direction of gyro sensor and Z axis when horizontal position0, gyro sensor X-direction side
To the sideway force coefficient ky of force coefficient kx and gyro sensor Y direction.
Secondly, by gyro sensor obtain vehicle a certain dynamic moment X-axis, Y-axis and Z axis component of acceleration
ax、ay、az, local gravitational acceleration g and in the vertical direction of a certain dynamic moment gyro sensor and the folder of Z axis
Angle Φ.
Utilize formula θ=Φ-Φ0, show that the gyro sensor relative vehicle at a certain dynamic moment is in horizontal position
The actual shifts angle θ of gyro sensor when setting.
Wherein, consider angle of deviation Φ0Primarily to solving the error that gyro sensor generates during installation.
Angle of deviation Φ is utilized through the processing unit0, the sideway force coefficient kx of X-direction, Y direction sideway force coefficient
Ky, component of acceleration ax、ay、az, gravity acceleration g and angle Φ angular variation correction factor A and acceleration correction system is calculated
Number B.
Wherein, angular variation correction factor A is calculated using formula A=cos θ+kx*sin θ through the processing unit, acceleration
Correction factor B utilizes B=(kx*ax+ky*ay+gz)/g to be calculated through the processing unit.
The formulation process of angular variation correction factor A is as follows:
The vehicle-mounted Weighing module for being loaded with object block is placed on the inclined-plane that inclination angle is α, and the object block is G by gravity1, weight
Power G1It is respectively F in the component perpendicular to inclined-plane and the power for being parallel to inclined-plane1And F2, F1=G1* cos α, F2=G1*sinα.Vehicle-mounted title
It is respectively W that molality block, which detects the power perpendicular to inclined-plane and is parallel to the power on inclined-plane,1And W2, sense weight S1= W1+W2.Know W1
= F1, and the power due to being parallel to inclined-plane can make gyro sensor generate a distortion power, and gyro sensor is caused to detect
Data generate deviation, according to experiment W2= kx*F2, the sideway force coefficient kx of X-direction is that parallel direction power changes system
Number.
Therefore S1=G1*cos α+kx* G1*sin α, therefore G1=S1/(cos α+kx*sin α).
Although vehicle and X-axis, Y-axis and Z axis have an inclination angle, the practical only vertical direction of sensor and Z axis incline
Bevel angle θ can have an impact the measurement result of gyro sensor, it can be considered that G1=S1/(cos θ+kx*sin θ), therefore
A= cosθ+kx*sinθ。
The formulation process of acceleration correction coefficient B is as follows:
The vehicle-mounted Weighing module for being loaded with the weight that quality is m is given it the gun on inclined-plane with acceleration a, gyro sensors
Device detects that local acceleration is g, and acceleration a is respectively a in the component of acceleration of X-axis, Y-axis, Z axisx、ay、az.Then weight is real
Border gravity G2=mg。
If not considering influence of the angle offset to the weight of detection, the vehicle-mounted Weighing module detection gravity is S2=kx*
m*ax+ky*m*ay+m*az, acceleration force can generate twisting resistance to gyro sensor in X-axis and Y-axis, therefore need to consider X-axis side
To sideway force coefficient kx and Y direction sideway force coefficient ky.
It can be obtained from above: G2= S2/(kx*ax+ky*ay+az)/g, therefore available acceleration correction coefficient B=(kx*ax+
ky*ay+gz)/g。
Vehicle is obtained in the sense weight S at a certain dynamic moment by vehicle-mounted Weighing module;
Actual corners offset correction coefficient A and acceleration correction coefficient B are not independent effect institute sense weight, using such as
Lower formula: the actual weight G of vehicle is calculated in G=S/ (A*B).
The sideway force coefficient kx of the X-direction and the sideway force coefficient ky of Y direction have been produced in vehicle-mounted Weighing module
It is obtained at rear calibration, calibration process is as follows:
Make the weight of the vehicle-mounted Weighing module load constant weight, the weight of the weight is no more than the vehicle-mounted weighing
The range of module is general to choose the weight that weight is range half.
It controls the vehicle-mounted Weighing module to accelerate along the x axis, and records acceleration ax1It is defeated with vehicle-mounted Weighing module
Interior code value C outx1。
The vehicle-mounted Weighing module is controlled along the x axis with the accelerated motion of another acceleration, and records acceleration ax0And vehicle
Carry the interior code value C of Weighing module outputx0。
It controls the vehicle-mounted Weighing module to accelerate along the y axis, and records acceleration ay1It is defeated with vehicle-mounted Weighing module
Interior code value C outy1。
The vehicle-mounted Weighing module is controlled along the y axis with the accelerated motion of another acceleration, and records acceleration ay0And vehicle
Carry the interior code value C of Weighing module outputy0。
Utilize formula kx=(Cx1-Cx0)/(ax1-ax0)、ky=(Cy1-Cy0)/(ay1-ay0) find out the lateral force system of X-direction
The sideway force coefficient ky of number kx and Y direction.
The dynamic weighing modification method of vehicle-mounted Weighing module of the invention carries out the weight weighed in vehicle operation
Amendment, while solving the influence of angular variation and acceleration weighing weight, principle of operation is simple, and the speed of service is fast, detection essence
Degree is high.
The above examples are only used to illustrate the technical scheme of the present invention and are not limiting, although referring to preferred embodiment to this hair
It is bright to be described in detail, those skilled in the art should understand that, it can modify to technical solution of the present invention
Or equivalent replacement, without departing from the spirit and scope of the technical solution of the present invention.