A garbage can weighing method and system based on dynamic dithering compensation
Patent Information
- Application Number
- CN202411987542.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2026-09-04
- Estimated Expiration
- 2044-12-31
AI Technical Summary
[0004]本发明的目的是克服现有技术的不足,为更好的有效解决虽然垃圾车在垃圾桶称重过程中大多数情况下处于停车状态,但车辆仍会产生抖动,且这种抖动会导致称重数据持续波动,同时垃圾桶在称重过程中角度的变化也会影响称重精度的问题,提供了一种基于动态抖动补偿的垃圾桶称重方法及系统,其实现了该垃圾桶称重方法及系统具有在垃圾车的称重模组中加入加速度传感器和陀螺仪并实时监测垃圾车的抖动幅度和频率从而消除抖动对垃圾桶称重影响的功能,这使得在夹持器和抬升臂上安装应变传感器并测量因垃圾重量引起的机械臂应变从而能间接精确计算出垃圾桶重量,这种通过多传感器融合和动态补偿能显著提高称重精度
[0024]本发明的有益效果是:本发明的一种基于动态抖动补偿的垃圾桶称重方法及系统,首先在垃圾车的称重模组上安装加速度传感器并获得抖动误差,再在垃圾车的称重模组上安装陀螺仪并获得垃圾桶倾斜角度引起的倾斜误差,接着根据抖动误差和倾斜误差建立重量信号抖动模型并获得应变传感器测量重量,再使用卡尔曼滤波器对应变传感器测量重量进行动态滤波并获得滤波后垃圾桶重量,随后基于滤波后垃圾桶重量、抖动误差和倾斜误差计算补偿后垃圾桶重量,完成垃圾桶称重作业;本发明实现了该垃圾桶称重方法及系统具有在垃圾车的称重模组中加入加速度传感器和陀螺仪并实时监测垃圾车的抖动幅度和频率从而消除抖动对垃圾桶称重影响的功能,这使得在夹持器和抬升臂上安装应变传感器并测量因垃圾重量引起的机械臂应变从而能间接精确计算出垃圾桶重量,这种通过多传感器融合和动态补偿能显著提高称重精度,且卡尔曼滤波器和动态补偿算法能实时处理数据从而使得该垃圾桶称重方法及系统能适用于不同工况下的垃圾车称重场景,有效的消除了车辆抖动和角度变化对垃圾桶称重的影响。
Smart Images

Figure CN119637301B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of garbage bin weighing technology, specifically to a garbage bin weighing method and system based on dynamic vibration compensation. Background Technology
[0002] The garbage collection method of the garbage truck is as follows: (1) Position the garbage bin, the garbage truck drives along the predetermined route and stops next to the garbage bin; (2) Lift the garbage bin, the clamp opens to cover and clamp two standard garbage bins, and the tray supports the lower edge of the garbage bin; (3) Lift and clamp, the lifting arm rises vertically to a certain height, the clamp and the tray clamp the upper edge of the garbage bin; (4) Discharge the garbage, the lifting arm continues to rise and tilts to make the garbage bin flip over, and the garbage is dumped into the truck bed; (5) Reset and lower, after the dumping is completed, the lifting arm resets, the clamp releases the garbage bin and puts it back on the ground.
[0003] Currently, although garbage trucks are mostly stationary during the weighing process of garbage bins, the vehicles still vibrate, and this vibration causes continuous fluctuations in the weighing data. At the same time, changes in the angle of the garbage bin during the weighing process also affect the weighing accuracy. Therefore, it is necessary to design a garbage bin weighing method and system based on dynamic vibration compensation. Summary of the Invention
[0004] The purpose of this invention is to overcome the shortcomings of existing technologies and to better and more effectively solve the problem that although garbage trucks are mostly stationary during the garbage bin weighing process, the vehicles still vibrate, and this vibration causes continuous fluctuations in the weighing data. Furthermore, changes in the angle of the garbage bin during the weighing process also affect the weighing accuracy. This invention provides a garbage bin weighing method and system based on dynamic vibration compensation. This method and system incorporates an accelerometer and gyroscope into the garbage truck's weighing module to monitor the amplitude and frequency of the garbage truck's vibration in real time, thereby eliminating the impact of vibration on the garbage bin weighing. This allows for the installation of strain sensors on the gripper and lifting arm to measure the strain of the robotic arm caused by the weight of the garbage, thus indirectly and accurately calculating the weight of the garbage bin. This multi-sensor fusion and dynamic compensation significantly improves weighing accuracy.
[0005] To achieve the above objectives, the technical solution adopted by the present invention is as follows:
[0006] A method for weighing trash cans based on dynamic jitter compensation includes the following steps:
[0007] Step A: Install an acceleration sensor on the weighing module of the garbage truck and obtain the vibration error;
[0008] Step B: Install a gyroscope on the weighing module of the garbage truck and obtain the tilt error caused by the tilt angle of the garbage bin;
[0009] Step C: Establish a weight signal jitter model based on jitter error and tilt error to obtain the weight measured by the strain sensor;
[0010] Step D: Use a Kalman filter to dynamically filter the weight measured by the strain sensor and obtain the filtered weight of the trash can.
[0011] Step E: Calculate the compensated weight of the trash can based on the filtered weight, shaking error, and tilting error, and complete the trash can weighing operation.
[0012] The aforementioned method for weighing garbage bins based on dynamic vibration compensation involves step A, where an accelerometer is installed on the weighing module of the garbage truck to obtain the vibration error. Specifically, the accelerometer measures the vehicle's vertical acceleration a(t), and the vibration error ΔW is... vibration As shown in formula (1),
[0013] ΔW vibration =K a ·a(t)+k ω ·ω(t)(1)
[0014] Among them, K a k is the coefficient representing the influence of acceleration on weight error. ω ω(t) is the coefficient of influence of angular velocity on weight error, and ω(t) is the angular velocity of the vehicle.
[0015] In the aforementioned method for weighing garbage bins based on dynamic jitter compensation, step B involves installing a gyroscope on the weighing module of the garbage truck and obtaining the tilt error ΔW caused by the tilt angle of the garbage bin. angle Specifically, a gyroscope is used to measure the tilt angle of the trash can, and the tilt error ΔW angle As shown in formula (2),
[0016] ΔW angle =W true ·(1-cosθ)(2)
[0017] Among them, W true θ represents the actual weight of the trash can, and θ is the tilt angle measured by the gyroscope.
[0018] In the aforementioned method for weighing trash cans based on dynamic vibration compensation, step C involves establishing a weight signal vibration model based on vibration error and tilt error to obtain the weight measured by the strain sensor, where the strain sensor measures the weight W. tmeasured As shown in formula (3),
[0019] W tmeasured =W true +ΔW vibration +ΔW angle (3).
[0020] In the aforementioned method for weighing trash cans based on dynamic jitter compensation, step D involves using a Kalman filter to dynamically filter the weight measured by the strain sensor and obtain the filtered weight of the trash can. The dynamic filtering process includes state prediction, covariance prediction, Kalman gain calculation, state update, and covariance update. The input data to the Kalman filter is the weight W measured by the strain sensor. tmeasured The acceleration a(t), angular velocity ω(t), and tilt angle θ are the values of the trash can, while the output data of the Kalman filter is the weight W of the trash can after filtering. filtered .
[0021] In the aforementioned method for weighing trash cans based on dynamic jitter compensation, step E involves calculating the compensated weight of the trash can based on the filtered weight, jitter error, and tilt error, thus completing the trash can weighing operation. The compensated weight of the trash can is W. compensated As shown in formula (4),
[0022] W compensated =W filtered -ΔW vibration -ΔW angle .
[0023] A garbage bin weighing system based on dynamic jitter compensation includes a jitter error calculation module, a tilt error calculation module, a weight signal jitter model construction module, a dynamic filtering module, and a garbage bin weight acquisition module. The jitter error calculation module installs an accelerometer on the weighing module of the garbage truck to obtain the jitter error. The tilt error calculation module installs a gyroscope on the weighing module of the garbage truck to obtain the tilt error caused by the tilt angle of the garbage bin. The weight signal jitter model construction module establishes a weight signal jitter model based on the jitter error and tilt error and obtains the weight measured by a strain sensor. The dynamic filtering module uses a Kalman filter to dynamically filter the weight measured by the strain sensor and obtains the filtered garbage bin weight. The garbage bin weight acquisition module calculates the compensated garbage bin weight based on the filtered garbage bin weight, the jitter error, and the tilt error, and completes the garbage bin weighing operation.
[0024] The beneficial effects of this invention are as follows: This invention provides a method and system for weighing garbage bins based on dynamic jitter compensation. First, an accelerometer is installed on the weighing module of the garbage truck to obtain the jitter error. Then, a gyroscope is installed on the weighing module to obtain the tilt error caused by the tilt angle of the garbage bin. Next, a weight signal jitter model is established based on the jitter error and tilt error, and the weight measured by a strain sensor is obtained. Then, a Kalman filter is used to dynamically filter the weight measured by the strain sensor to obtain the filtered garbage bin weight. Finally, based on the filtered garbage bin weight, the jitter error, and the tilt error, the compensated garbage bin weight is calculated, completing the garbage bin weighing operation. This invention achieves the goal of... The garbage bin weighing method and system incorporates an accelerometer and gyroscope into the weighing module of the garbage truck to monitor the amplitude and frequency of the truck's vibration in real time, thereby eliminating the impact of vibration on the garbage bin weighing. This allows for the installation of strain sensors on the gripper and lifting arm to measure the strain of the robotic arm caused by the weight of the garbage, thus indirectly and accurately calculating the weight of the garbage bin. This multi-sensor fusion and dynamic compensation significantly improves weighing accuracy. Furthermore, the Kalman filter and dynamic compensation algorithm can process data in real time, making the garbage bin weighing method and system applicable to garbage truck weighing scenarios under different working conditions, effectively eliminating the impact of vehicle vibration and angle changes on garbage bin weighing. Attached Figure Description
[0025] Figure 1 This is a flowchart of a garbage bin weighing method and system based on dynamic shaking compensation according to the present invention. Detailed Implementation
[0026] The present invention will now be further described with reference to the accompanying drawings.
[0027] like Figure 1 As shown, a method for weighing trash cans based on dynamic vibration compensation according to the present invention includes the following steps:
[0028] Step A involves installing an accelerometer on the weighing module of the garbage truck and obtaining the vibration error. Specifically, the accelerometer measures the vehicle's vertical acceleration a(t), while the vibration error ΔW is calculated. vibration As shown in formula (1),
[0029] ΔW vibration =K a ·a(t)+k ω ·ω(t)(1)
[0030] Among them, K a k is the coefficient representing the influence of acceleration on weight error. ω ω(t) is the coefficient of influence of angular velocity on weight error, and ω(t) is the angular velocity of the vehicle.
[0031] Step B: Install a gyroscope on the weighing module of the garbage truck and obtain the tilt error ΔW caused by the tilt angle of the garbage bin. angle Specifically, a gyroscope is used to measure the tilt angle of the trash can, and the tilt error ΔW angle As shown in formula (2),
[0032] ΔW angle =W true ·(1-cosθ)(2)
[0033] Among them, W true θ represents the actual weight of the trash can, and θ is the tilt angle measured by the gyroscope.
[0034] Step C: Establish a weight signal jitter model based on jitter error and tilt error to obtain the weight measured by the strain sensor, where the weight measured by the strain sensor is W. tmeasured As shown in formula (3),
[0035] W tmeasured =W true +ΔW vibration +ΔW angle (3).
[0036] Step D involves using a Kalman filter to dynamically filter the weight measured by the strain sensor and obtain the filtered weight of the trash can. The dynamic filtering process includes state prediction, covariance prediction, Kalman gain calculation, state update, and covariance update. The input data to the Kalman filter is the weight W measured by the strain sensor. tmeasured The acceleration a(t), angular velocity ω(t), and tilt angle θ are the values of the trash can, while the output data of the Kalman filter is the weight W of the trash can after filtering. filtered .
[0037] Step E: Calculate the compensated weight of the trash can based on the filtered weight, shaking error, and tilt error, thus completing the trash can weighing operation. The compensated weight of the trash can is W. compensated As shown in formula (4),
[0038] W compensated =W filtered -ΔW vibration -ΔW angle .
[0039] A garbage bin weighing system based on dynamic jitter compensation includes a jitter error calculation module, a tilt error calculation module, a weight signal jitter model construction module, a dynamic filtering module, and a garbage bin weight acquisition module. The jitter error calculation module installs an accelerometer on the weighing module of the garbage truck to obtain the jitter error. The tilt error calculation module installs a gyroscope on the weighing module of the garbage truck to obtain the tilt error caused by the tilt angle of the garbage bin. The weight signal jitter model construction module establishes a weight signal jitter model based on the jitter error and tilt error and obtains the weight measured by a strain sensor. The dynamic filtering module uses a Kalman filter to dynamically filter the weight measured by the strain sensor and obtains the filtered garbage bin weight. The garbage bin weight acquisition module calculates the compensated garbage bin weight based on the filtered garbage bin weight, the jitter error, and the tilt error, and completes the garbage bin weighing operation.
[0040] In summary, the present invention provides a method and system for weighing garbage bins based on dynamic jitter compensation. First, an accelerometer is installed on the weighing module of the garbage truck to obtain the jitter error. Then, a gyroscope is installed on the weighing module to obtain the tilt error caused by the tilt angle of the garbage bin. Next, a jitter model of the weight signal is established based on the jitter error and the tilt error, and the weight measured by a strain sensor is obtained. Then, a Kalman filter is used to dynamically filter the weight measured by the strain sensor to obtain the filtered weight of the garbage bin. Finally, based on the filtered weight of the garbage bin, the jitter error, and the tilt error, the compensated weight of the garbage bin is calculated, completing the garbage bin weighing operation. This invention realizes the weighing of garbage bins... The weighing method and system incorporates an accelerometer and gyroscope into the weighing module of the garbage truck to monitor the amplitude and frequency of the truck's vibration in real time, thereby eliminating the impact of vibration on the weighing of the garbage bins. This allows for the installation of strain sensors on the gripper and lifting arm to measure the strain of the robotic arm caused by the weight of the garbage, thus indirectly and accurately calculating the weight of the garbage bins. This multi-sensor fusion and dynamic compensation significantly improves weighing accuracy, and the Kalman filter and dynamic compensation algorithm can process data in real time, making the garbage bin weighing method and system applicable to garbage truck weighing scenarios under different working conditions, effectively eliminating the impact of vehicle vibration and angle changes on the weighing of garbage bins.
[0041] The foregoing has shown and described the basic principles, main features, and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The embodiments and descriptions in the specification are merely illustrative of the principles of the invention. Various changes and modifications can be made to the invention without departing from its spirit and scope, and all such changes and modifications fall within the scope of the present invention as claimed. The scope of protection of the present invention is defined by the appended claims and their equivalents.
Claims
1. A method for weighing trash cans based on dynamic vibration compensation, characterized in that: Includes the following steps, Step A involves installing an accelerometer on the weighing module of the garbage truck and obtaining the vibration error. Specifically, the accelerometer measures the vehicle's vertical acceleration a(t), while the vibration error ΔW is calculated. vibration As shown in Formula 1, ΔW vibration =K a ⋅a(t)+k ω ⋅ω(t); Formula 1; Among them, K a k is the coefficient representing the influence of acceleration on weight error. ω ω(t) is the coefficient of influence of angular velocity on weight error, where ω(t) is the angular velocity of the vehicle. Step B involves installing a gyroscope on the weighing module of the garbage truck to obtain the tilt error caused by the tilt angle of the garbage bin. Specifically, the gyroscope is used to measure the tilt angle of the garbage bin, and the tilt error ΔW is calculated. angle As shown in Formula 2 ΔW angle =W true ·(1−cosθ); Formula 2; Among them, W true θ represents the actual weight of the trash can, and θ is the tilt angle measured by the gyroscope. Step C: Establish a weight signal jitter model based on jitter error and tilt error to obtain the weight measured by the strain sensor, where the weight measured by the strain sensor is W. tmeasured As shown in Formula 3 W tmeasured =W true +ΔW vibration +ΔW angle ;Formula 3; Step D involves using a Kalman filter to dynamically filter the weight measured by the strain sensor and obtain the filtered weight of the trash can. The dynamic filtering process includes state prediction, covariance prediction, Kalman gain calculation, state update, and covariance update. The input data to the Kalman filter is the weight W measured by the strain sensor. tmeasured The acceleration a(t), angular velocity ω(t), and tilt angle θ are the values of the trash can, while the output data of the Kalman filter is the weight W of the trash can after filtering. filtered ; Step E: Calculate the compensated weight of the trash can based on the filtered weight, shaking error, and tilt error, thus completing the trash can weighing operation. The compensated weight of the trash can is W. compensated As shown in Formula 4, W compensated =W filtered −ΔW vibration −ΔW angle ;Official 4.
2. A garbage bin weighing system based on dynamic vibration compensation, wherein the weighing process of the garbage bin weighing system is based on the garbage bin weighing method of claim 1, characterized in that: It includes a jitter error calculation module, a tilt error calculation module, a weight signal jitter model construction module, a dynamic filtering module, and a garbage bin weight acquisition module. The jitter error calculation module is used to install an acceleration sensor on the weighing module of the garbage truck and obtain the jitter error. The tilt error calculation module is used to install a gyroscope on the weighing module of the garbage truck and obtain the tilt error caused by the tilt angle of the garbage bin. The weight signal jitter model construction module is used to establish a weight signal jitter model based on jitter error and tilt error and obtain the weight measured by the strain sensor. The dynamic filtering module is used to dynamically filter the weight measured by the strain sensor using a Kalman filter and obtain the filtered weight of the trash can. The trash can weight acquisition module is used to calculate the compensated trash can weight based on the filtered trash can weight, shaking error, and tilting error, and to complete the trash can weighing operation.
Citation Information
Patent Citations
Sanitation vehicle-mounted dynamic weighing method and system
CN116151574A
Compression garbage truck weighing device and system
CN208516212U