Method, device and equipment for weighing kitchen waste hanging barrel mechanism

By using a single weighing sensor and a preset sampling interval in a food waste truck, combined with stable detection conditions, the weight difference between the rising and falling states of the garbage bin is calculated, thus solving the accuracy and reliability problems of the weighing system in the food waste truck and achieving precise weighing.

CN122429901APending Publication Date: 2026-07-21CHENGDU YIWEI NEW ENERGY VEHICLE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CHENGDU YIWEI NEW ENERGY VEHICLE CO LTD
Filing Date
2026-06-24
Publication Date
2026-07-21

AI Technical Summary

Technical Problem

The existing multi-sensor solution for the hanging bin weighing system of food waste trucks suffers from signal interference, cumulative errors, and long-term zero drift, resulting in low weighing accuracy.

Method used

By using a single weighing sensor combined with preset sampling intervals and stable detection conditions, the net weight of kitchen waste is calculated by determining the weight difference between the rising and falling states of the trash can, thus avoiding reliance on proximity switches or position switches.

Benefits of technology

It achieves accurate weighing of kitchen waste, improves the reliability and stability of the weighing system, and avoids measurement deviations associated with multi-sensor solutions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122429901A_ABST
    Figure CN122429901A_ABST
Patent Text Reader

Abstract

The application provides a kind of kitchen waste hanging barrel mechanism weighing method, device and equipment, it is related to new energy special automobile technical field.The method comprises: in the working process of kitchen waste hanging barrel mechanism, with preset sampling interval, the weight value is collected by weighing sensor.According to the weight value and the preset stable detection condition, the first weight value corresponding to the rising state and the second weight value corresponding to the falling state of the garbage can are determined.The difference between the first weight value and the second weight value is determined, and the difference is used as the net weight of kitchen waste.The method is used to improve the accuracy, reliability and stability of kitchen waste weighing system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of new energy special vehicle technology, and more specifically, to a weighing method, device and equipment for a kitchen waste hanging bin mechanism. Background Technology

[0002] Currently, with the electrification of commercial vehicles in my country, an increasing number of municipal sanitation vehicles are also transitioning to new energy. Food waste trucks, as specialized collection and transportation vehicles for food waste and kitchen scraps, are currently undergoing this electrification process, placing higher demands on their informatization and intelligentization. The informatization and intelligentization of food waste trucks primarily involves the weighing of food waste, as operating companies need to determine collection fees based on the weight of the waste collected; this also serves as a source and basis for precise data processing. However, maintaining the reliability and long-term stability of the weighing system during the collection and transportation of food waste remains a challenge.

[0003] In the existing technology, the weighing system of the hanging bins on food waste trucks is mostly retrofitted, which is difficult to modify. In order to achieve accurate weighing, it is often necessary to use multiple sensors such as weighing sensors, proximity switches, and position switches to obtain position and weight signals.

[0004] However, multi-sensor solutions suffer from problems such as signal interference, cumulative installation errors, and long-term zero-point drift, resulting in lower weighing accuracy. Summary of the Invention

[0005] The purpose of this application is to provide a weighing method, device and equipment for a food waste hanging bin mechanism, which solves the problems of conventional food waste weighing systems having many sensors but low accuracy, poor reliability and stability.

[0006] In a first aspect, a weighing method is provided for a food waste hanging bin mechanism, wherein the food waste hanging bin mechanism is equipped with a weighing sensor; the method may include: During the operation of the food waste hanging bin mechanism, the weight value is collected by the weighing sensor at preset sampling intervals; Based on the weight value and the preset stable detection conditions, determine the first weight value corresponding to the rising state and the second weight value corresponding to the falling state of the trash can; The difference between the first weight value and the second weight value is determined, and the difference is taken as the net weight of the kitchen waste.

[0007] Secondly, a weighing device is provided for a food waste hanging bin mechanism, wherein the food waste hanging bin mechanism is equipped with a weighing sensor; the device may include: The sampling module is used to collect weight values ​​through the weighing sensor at preset sampling intervals during the operation of the food waste hanging bin mechanism. The detection module is used to determine the first weight value corresponding to the rising state and the second weight value corresponding to the falling state of the trash can based on the weight value and preset stable detection conditions. The determination module is used to determine the difference between the first weight value and the second weight value, and to use the difference as the net weight of the kitchen waste.

[0008] Thirdly, an electronic device is provided, which includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; Memory, used to store computer programs; When a processor executes a program stored in memory, it implements any of the steps described in the first aspect above.

[0009] Fourthly, a computer-readable storage medium is provided, wherein a computer program is stored therein, and when executed by a processor, the computer program implements the steps of any of the methods described in the first aspect above.

[0010] This application provides a weighing method, apparatus, and equipment for a food waste hanging bin mechanism. During the operation of the food waste hanging bin mechanism, weight values ​​are collected by a weighing sensor at preset sampling intervals. Based on the weight values ​​and preset stable detection conditions, a first weight value corresponding to the rising state and a second weight value corresponding to the falling state of the garbage bin are determined. The difference between the first and second weight values ​​is determined and used as the net weight of the food waste. In this solution, the weight sampling calculation method does not rely on proximity switches or position switches to achieve accurate measurement of the hanging bin's weight. As long as the accuracy of the weighing sensor can be guaranteed, this application can better achieve accurate weighing of food waste and effectively avoid measurement deviations caused by proximity switch or position switch failures, signal interference, etc., significantly improving the reliability and stability of the entire weighing system. It solves the problems of conventional food waste weighing systems having many sensors but low accuracy, poor reliability, and poor stability. Attached Figure Description

[0011] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments of this application will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0012] Figure 1 A schematic flowchart illustrating a weighing method for a food waste hanging bin mechanism provided in this application embodiment; Figure 2A schematic flowchart illustrating another weighing method for a food waste hanging bin mechanism provided in this application embodiment; Figure 3 A schematic flowchart illustrating another weighing method for a food waste hanging bin mechanism provided in this application embodiment; Figure 4 A schematic flowchart illustrating another weighing method for a food waste hanging bin mechanism provided in this application embodiment; Figure 5 A flowchart illustrating another weighing method for a food waste hanging bin mechanism provided in this application; Figure 6 A schematic diagram of the rising stage of a kitchen kitchen hanging bucket provided in this application embodiment; Figure 7 A schematic diagram of the structure of a weighing method for a food waste hanging bin mechanism provided in an embodiment of this application; Figure 8 A schematic diagram illustrating a weighing scenario for a food waste hanging bin mechanism provided in this application embodiment; Figure 9 A schematic diagram of the weighing device for a food waste hanging bin mechanism provided in this application embodiment; Figure 10 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0013] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application. Unless otherwise defined, the technical or scientific terms used in this application should have the ordinary meaning understood by those skilled in the art. The words "first," "second," and similar terms used in this application do not indicate any order, quantity, or importance, but are only used to distinguish different components. The words "comprising" or "including," etc., mean that the element or object preceding the word covers the element or object listed after the word and its equivalents, but do not exclude other elements or objects. The words "connected," "coupled," or "connected," etc., are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up," "down," "left," "right," etc., are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0014] The weighing method for the food waste hanging bin mechanism provided in this application embodiment can be applied to a weighing acquisition controller, electronic equipment, terminal equipment, or a weighing device or equipment for the food waste hanging bin mechanism, or other devices or equipment that can execute this embodiment, and there are no limitations on this.

[0015] The terminal can be a user equipment (UE) such as a mobile phone, smartphone, laptop computer, digital broadcast receiver, personal digital assistant (PDA), or tablet computer (PAD), handheld device, in-vehicle device, wearable device, computing device, or other processing device connected to a wireless modem, mobile station (MS), or mobile terminal. This terminal has the ability to communicate with one or more core networks via a radio access network (RAN).

[0016] The preferred embodiments of this application are described below with reference to the accompanying drawings. It should be understood that the preferred embodiments described herein are for illustration and explanation only and are not intended to limit this application. Furthermore, the embodiments and features in the embodiments of this application can be combined with each other without conflict.

[0017] Figure 1 This is a schematic flowchart illustrating a weighing method for a food waste hanging bin mechanism provided in an embodiment of this application. Figure 1 As shown, the food waste hanging bin mechanism is equipped with a weighing sensor; the method may include: Step S101: During the operation of the food waste hanging bin mechanism, the weight value is collected by the weighing sensor at a preset sampling interval.

[0018] For example, the food waste bin-hanging mechanism of a food waste truck includes a hanging tooth plate and a lifting mechanism. A weighing sensor is installed between the hanging tooth plate and the lifting mechanism. The force path is as follows: the weight of the waste bin, hanging on the hanging tooth plate, the hanging tooth plate transmitting force to the weighing sensor, the weighing sensor transmitting force to the lifting mechanism, and the lifting mechanism transmitting force to the food waste truck body. Therefore, one end of the weighing sensor is connected to the hanging tooth plate, and the other end is connected to the lifting mechanism. The sensor is connected in series in the force path, and the entire weight of the waste bin must pass through the weighing sensor in order for the weighing sensor to measure the accurate force, thereby achieving real-time weighing of the food waste bin.

[0019] In this step, during the operation of the food waste hanging bin mechanism, the weight value output by the weighing sensor is collected in real time according to the preset sampling interval, so that the weight value can be collected at multiple sampling times in both the rising and falling states.

[0020] Step S102: Based on the weight value and the preset stable detection conditions, determine the first weight value corresponding to the rising state and the second weight value corresponding to the falling state of the trash can.

[0021] For example, preset stability detection conditions are used to detect whether the current state is rising or falling. In this step, the rising or falling process is identified based on the weight value and the preset stability detection conditions. Finally, the weight values ​​sampled during the rising state are averaged to obtain a first weight value, and the weight values ​​sampled during the falling and stabilizing phase are averaged to obtain a second weight value.

[0022] Step S103: Determine the difference between the first weight value and the second weight value, and use the difference as the net weight of the kitchen waste.

[0023] For example, the difference between the first and second weight values ​​is obtained, and this difference is used as the net weight of the food waste. Further, an RFID electronic tag is installed on the garbage bin, and an RFID reader is installed on the food waste truck. During the upward movement of the food waste bin-hanging mechanism, the RFID electronic tag on the garbage bin can be read first by the RFID reader, thereby binding the weight to the garbage bin. The data will be displayed on the truck's screen. After obtaining the net weight of the food waste corresponding to the RFID electronic tag, based on the mapping relationship between the RFID electronic tag and the net weight of the food waste, the RFID electronic tag and the net weight of the food waste are uploaded to the cloud management platform in encrypted form in real time to form a weighing record. The uploaded data includes two stages of original sample data packets for cloud verification. Optionally, this application is an edge computing mode, and this application runs on the weighing acquisition controller. The method provided in this application collects weight values ​​through a weighing sensor at preset sampling intervals during the operation of the food waste bin-hanging mechanism. Based on the weight values ​​and preset stable detection conditions, a first weight value corresponding to the upward state of the waste bin and a second weight value corresponding to the downward state are determined. The difference between the first and second weight values ​​is determined and used as the net weight of the food waste. In this solution, the weight sampling calculation method does not rely on proximity switches or position switches to achieve accurate measurement of the bin's weight. As long as the accuracy of the weighing sensor can be guaranteed, this application can better achieve accurate weighing of food waste and effectively avoid measurement deviations caused by proximity switch or position switch failures, signal interference, etc., significantly improving the reliability and stability of the entire weighing system. It solves the problems of conventional food waste weighing systems having many sensors but low accuracy, poor reliability, and poor stability.

[0024] Figure 2 A flowchart illustrating a weighing method for a food waste hanging bin mechanism provided in this application is shown below. Figure 2 As shown, in this embodiment... Figure 1Based on the embodiments, the method is described in detail below, and the method includes: Step S201: During the operation of the food waste hanging bin mechanism, the weight value is collected by the weighing sensor at a preset sampling interval.

[0025] For example, this step is the same as step S101 above, and will not be repeated here.

[0026] Step S202: Based on the weight value and the preset stable detection conditions, determine the first weight value corresponding to the rising state and the second weight value corresponding to the falling state of the trash can.

[0027] In one example, the rising state includes a rising stabilization phase; based on the weight value and preset stabilization detection conditions, the first weight value corresponding to the trash can in the rising state is determined, including: determining the weight change between the weight value at the current sampling time and the weight value at the previous sampling time; based on the preset stabilization detection conditions, if it is determined that the weight change of adjacent sampling points for a preset number of consecutive times is less than a preset first threshold, then the rising stabilization phase in the rising state is determined; the first weight value corresponding to the trash can in the rising stabilization phase is determined.

[0028] In one example, the descent state includes a stabilization phase. Based on the weight value and preset stabilization detection conditions, the second weight value corresponding to the trash can in the descent state is determined, including: determining the weight change between the weight value at the current sampling time and the weight value at the previous sampling time; based on the preset stabilization detection conditions, if it is determined that the weight change of adjacent sampling points for a preset number of consecutive times is less than a preset second threshold, then the stabilization phase in the descent state is determined; and the second weight value corresponding to the trash can in the stabilization phase is determined.

[0029] In one example, determining the first weight value of the trash can during the rising and stabilizing phase includes: determining multiple consecutive sets of sampled data that meet the first threshold during the rising and stabilizing phase; determining the average value of the multiple consecutive sets of sampled data, and using the average value as the first weight value.

[0030] In one example, determining the second weight value of the trash can during the stabilization phase of descent includes: determining multiple consecutive sets of sampled data that satisfy the second threshold during the stabilization phase; determining the average value of the multiple consecutive sets of sampled data, and using the average value as the second weight value.

[0031] In one example, if it is determined that there are no consecutive preset number of adjacent sampling points whose weight changes are all less than a preset first threshold, then the first time difference between the current sampling time and the first preset valid sampling time is determined; if it is determined that the first time difference is greater than or equal to the preset first time threshold, then the weight value obtained by sampling the first time threshold is used as the first weight value of the rising and stabilizing phase.

[0032] In one example, if it is determined that the weight change of adjacent sampling points for a consecutive preset number of times is less than a preset second threshold, then the second time difference between the current sampling time and the second preset valid sampling time is determined. If it is determined that the second time difference is greater than or equal to the preset second time threshold, then the weight value sampled at the second time threshold is used as the second weight value for the descent stabilization phase.

[0033] For example, preset stability detection conditions are used to detect whether the current state is rising or falling, and can further detect the rising stability phase of the rising process or the falling stability phase of the falling process. During operation, stable weight sampling calculation can be performed according to the preset stability detection conditions, that is, the uniform rising state is determined by software algorithm, and the food waste is weighed and sampled. The specific method is as follows: (1) Based on the weight value at each sampling time, construct a weight sampling data array. For example, if the sampling data transmission frequency of the weighing sensor is 100ms, construct an array. .

[0034] (2) Figure 3 A flowchart illustrating another weighing method for a food waste hanging bin mechanism provided in this application is shown below. Figure 3 As shown, the system is powered on; data validity verification is performed; the previous weight value is initialized, and the first preset time T0 (i.e., the first preset valid sampling time) is recorded; the current weight is read, and the difference between the current weight and the previous weight is calculated; the current weight is assigned to the previous weight; for each group... The range threshold is determined from the 10 sampled data points, and counting begins. Based on each count, the weight change between the current sampling time and the previous sampling time is determined. The 10 counts constitute a set. If three consecutive groups If the weight change is less than a preset first threshold (e.g., 0.5 kg), then it is considered that three consecutive groups... The corresponding weighing data are in a steady state, and three consecutive sets are determined. The corresponding sampling time is the rising and stable phase in the rising state, so the rising state is locked; the stable weight sampling calculation is performed, that is, the arithmetic mean of the three sets of data is used as the first weight value. First weight value This is the obtained stable measurement of the rising state, the first weight value. as follows:

[0035] If it is determined that the weight change of adjacent sampling points for a consecutive preset number of times is less than a preset first threshold, then the first time difference between the current sampling time and the first preset valid sampling time T0 is determined. If it is determined that the first time difference is greater than or equal to the preset first time threshold, then the rising state cannot be locked, and the weight value obtained by sampling at the first time threshold is taken as the first weight value of the rising stable phase. This first weight value is the obtained rising state stable measurement. For example, if the preset first time threshold is 3s, the weight value sampled at the 3rd second is taken as the first weight value of the rising stable phase.

[0036] Optional, Figure 4 A flowchart illustrating another weighing method for a food waste hanging bin mechanism provided in this application is shown below. Figure 4 As shown, the process includes: starting; reading weighing sensor data; data validity verification; if the validity verification is successful, writing the data to the data storage. Polling write; for each group Perform range calculation; determine if Ai / A(i+1) / A(i+2) (i.e. / / If the range of three consecutive sets is less than or equal to 0.5 kg, then calculate the average of the three sets of data to obtain the stable weight sampling and weighing.

[0037] Therefore, it can not only determine the uniform rising state based on the threshold stability calculation of continuous sampling data, but also provides a redundancy scheme. When the rising state cannot be locked, the time mode is used as the basis to obtain the weight data that meets the threshold accuracy of stable quality sampling calculation.

[0038] In determining the descent state, a stable sampling value for the empty bin's weight is established. After the food waste bin is tipped over and poured into the truck, it will tip back to its original position, moving in a manner similar to accelerated descent, uniform descent, and decelerated descent. To ensure accurate measurement of food waste and kitchen scraps (the weight poured into the truck), this application uses a software algorithm to calculate and collect the stable weight of the empty bin. The difference between this stable weight and the total weight of the waste in the rising state (the total weight of the waste + the bin) is counted as the weight of the food waste. Specifically, Figure 5 A flowchart illustrating another weighing method for a food waste hanging bin mechanism provided in this application is shown below. Figure 5 As shown, this includes: A rising state determination has been triggered: valid. At this point, the current array is determined based on the rising state determination. This includes 5 data points; reading weighing sensor data; data validity verification; if valid, reading the current weight, calculating the absolute value of the difference between the current quantity and the previous weight, and recording the moment when the absolute value first exceeds a preset weight threshold (e.g., 20kg) as the second preset valid sampling moment T1; assigning the current weight to the previous weight; and based on preset stable detection conditions, performing sampling on each group of data. Five sampled data points are used to determine the range threshold, which determines the weight change between the current and previous sampled weight values ​​(i.e., current weight - previous weight). Counting then begins. Based on each count, the weight change between the current and previous sampled weight values ​​is determined. Five counts form a group. If the weight change of adjacent sampled points for a preset number of consecutive times is less than a preset second threshold (e.g., 0.2 kg), the descent state is locked, and the descent stabilization phase is further determined. Stable weight sampling calculation is performed, which determines the average of multiple consecutive groups of sampled data that meet the second threshold in the descent stabilization phase. This average is used as the second stable weight value, which is the obtained stable weight calculation for the descent state. The descent state lock flag is reset after completing one ascent and descent cycle.

[0039] If it is determined that the weight change of adjacent sampling points for a consecutive preset number of times is less than the preset second threshold, the descent state cannot be locked, and the second time difference between the current sampling time and the second preset effective sampling time T1 is determined. If the second time difference is determined to be greater than or equal to the preset second time threshold, the weight value sampled at the second time threshold is used as the second weight value for the descent stabilization phase. For example, if the preset second time threshold is also 3s, the weight value sampled at the 3rd second is used as the second weight value for the descent stabilization phase. The preset second time threshold and the preset first time threshold can be the same or different, and this is not limited. Therefore, when the descent state cannot be locked, the weight data that meets the threshold accuracy for stable mass sampling calculation is obtained based on the time pattern.

[0040] The first and second thresholds are obtained based on the matching and calibration of sensor accuracy with the dynamic weighing process of food waste, and are determined according to the overall target accuracy. When the sensor accuracy is different, recalibration is required. The accuracy of the weighing sensor can only represent the static weighing accuracy, but the dynamic weighing process is affected by many factors, such as the deviation of the mounting structure, the timing of dynamic sampling, and the effects of acceleration and deceleration during the lifting of the bin due to differences in vehicle hydraulic system parameters. Based on experience in lifting food waste bins upwards, the general lifting time is 7-10 seconds. Excluding the initial acceleration and the final deceleration, there is a 4-5 second uniform lifting phase in the middle. Using three sets, it is equivalent to only needing to collect the 3-second uniform lifting phase, which is sufficient to meet the accuracy requirements and has wider applicability.

[0041] Optionally, the sampling interval can be any value between 50ms and 200ms, and the sampling interval can be adaptively adjusted according to the signal frequency output by the weighing sensor. The product of the number N of consecutive samplings and the sampling interval constitutes a sliding time window. The length of this sliding time window is between 0.5 seconds and 2 seconds, and this length is dynamically adjusted according to the historical movement speed of the bucket mechanism, thereby adaptively determining the sampling interval for each group of samples. The number of values ​​included. The first threshold can be calibrated and normalized for different weighing sensor ranges, taking 0.1% to 0.5% of the sensor's full scale as the first threshold, so that the first threshold is related to the sensor's range and is more universal.

[0042] Optionally, if it is determined that the weight change of adjacent sampling points for a consecutive preset number of times is less than a preset first threshold, a backup sampling mode is activated, that is, the moving average of the last three sets of data before the current time is used as the first weight value, and this weighing is recorded as "low confidence weighing". If it is determined that the weight change of adjacent sampling points for a consecutive preset number of times is less than a preset second threshold, a backup sampling mode is activated, that is, the moving average of the last three sets of data before the current time is used as the second weight value, and this weighing is recorded as "low confidence weighing".

[0043] Step S203: Determine the difference between the first weight value and the second weight value, and use the difference as the net weight of the kitchen waste.

[0044] For example, the difference between a first weight value and a second weight value is determined, and this difference is used as the net weight of the food waste. Furthermore, this difference can be fused with historical net weight data using a Kalman filter to output a filtered net weight of the food waste, thus suppressing random fluctuations.

[0045] Step S204: Determine the average weight of the rising and falling states respectively; based on the average weight of the rising and falling states, identify the order of the rising and falling states: if the average weight of the rising state is less than the average weight of the falling state, issue an alarm for abnormal weighing order.

[0046] For example, the two stages are labeled as a full-load stage and an empty-load stage, respectively, and the order of the two stages is automatically determined based on the relationship between the average weights of the two stages. If the average weight of the ascending stage determined first is greater than that of the descending stage determined later, then the stage is determined as full-load first and the stage as empty later; otherwise, an alarm for abnormal weighing sequence is issued.

[0047] The method provided in this application embodiment collects weight values ​​through a weighing sensor at preset sampling intervals during the operation of the food waste hanging bin mechanism. Based on the weight values ​​and preset stable detection conditions, a first weight value corresponding to the rising state and a second weight value corresponding to the falling state of the waste bin are determined. The difference between the first and second weight values ​​is determined and used as the net weight of the food waste. The average weight values ​​for the rising and falling states are determined separately. Based on the average weight values ​​for the rising and falling states, the order of the rising and falling states is identified: if the average weight value for the rising state is less than the average weight value for the falling state, a weighing sequence abnormality alarm is issued. This solution does not rely on proximity switches or position switches for weight sampling calculation to achieve accurate measurement of the hanging bin's weight. As long as the accuracy of the weighing sensor can be guaranteed, this application can better achieve accurate weighing of food waste and effectively avoid measurement deviations caused by proximity switch or position switch failures, signal interference, etc., significantly improving the reliability and stability of the entire weighing system. It solves the problems of conventional food waste weighing systems having many sensors but low accuracy, poor reliability, and poor stability.

[0048] In one embodiment, Figure 6 This application provides a schematic diagram of the rising stage (vt) of a kitchen waste bin, as shown in the embodiment of the present application. Figure 6 As shown, it includes: the acceleration phase before 2 seconds, the rising and stabilizing phase from 2 seconds to 6 seconds, and the deceleration phase from 6 seconds to 7 seconds.

[0049] In one embodiment, Figure 7 A schematic diagram of the structure of a weighing method for a food waste hanging bin mechanism provided in this application embodiment is shown below. Figure 7 As shown, the accuracy of the weighing sensor meets the C6 level specified in the International Organization of Legal Metrology (OIML) R60 standard, including: weighing display screen; weighing acquisition controller + 4G communication module; weighing sensor; RFID card reader; RFID electronic tag on the trash can; and kitchen waste weighing cloud platform.

[0050] In one embodiment, Figure 8 This application provides a schematic diagram of a weighing scenario for a food waste hanging bin mechanism, as shown in the embodiments of this application. Figure 8 As shown, 1 represents the toothed plate, 2 represents the weighing sensor, and 3 represents the lifting mechanism; a weighing sensor 2 is installed between the toothed plate 1 and the lifting mechanism 3 to achieve real-time weighing of the kitchen waste bin (including grease waste).

[0051] Corresponding to the above method, this application embodiment also provides a weighing device for a kitchen waste hanging bin mechanism, such as... Figure 9 As shown, the food waste hanging bin mechanism is equipped with a weighing sensor; the device includes: The sampling module 41 is used to collect weight values ​​through a weighing sensor at preset sampling intervals during the operation of the food waste hanging bin mechanism. The detection module 42 is used to determine the first weight value corresponding to the rising state and the second weight value corresponding to the falling state of the trash can based on the weight value and the preset stable detection conditions. The determination module 43 is used to determine the difference between the first weight value and the second weight value, and the difference is used as the net weight of the kitchen waste.

[0052] The functions of each functional unit of the weighing device of the kitchen waste hanging bin mechanism provided in the above embodiments of this application can be realized through the above methods and steps. Therefore, the specific working process and beneficial effects of each unit in the weighing device of the kitchen waste hanging bin mechanism provided in the embodiments of this application will not be repeated here.

[0053] This application also provides an electronic device, such as... Figure 10 As shown, it includes a processor 510, a communication interface 520, a memory 530, and a communication bus 540, wherein the processor 510, the communication interface 520, and the memory 530 communicate with each other through the communication bus 540.

[0054] Memory 530 is used to store computer programs; The processor 510 performs the above steps when executing the program stored in the memory 530.

[0055] The communication bus mentioned above can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in the diagram, but this does not mean that there is only one bus or one type of bus.

[0056] The communication interface is used for communication between the aforementioned electronic devices and other devices.

[0057] The memory may include random access memory (RAM) or non-volatile memory (NVM), such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.

[0058] The processors mentioned above can be general-purpose processors, including central processing units (CPUs), network processors (NPs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.

[0059] The implementation methods and beneficial effects of the various components of the electronic device in the above embodiments for solving the problem can be found in [reference needed]. Figure 1 The steps in the illustrated embodiments are used to implement the electronic device. Therefore, the specific working process and beneficial effects of the electronic device provided in this application will not be repeated here.

[0060] In another embodiment provided in this application, a computer-readable storage medium is also provided, which stores instructions that, when executed on a computer, cause the computer to perform the weighing method of the food waste hanging bin mechanism described in any of the above embodiments.

[0061] In another embodiment provided in this application, a computer program product containing instructions is also provided, which, when run on a computer, causes the computer to execute the weighing method of the food waste hanging bin mechanism described in any of the above embodiments.

[0062] Those skilled in the art will understand that the embodiments in this application can be provided as methods, systems, or computer program products. Therefore, the embodiments in this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the embodiments in this application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0063] This application describes embodiments of methods, apparatus (systems), and computer program products according to embodiments of this application with reference to flowchart illustrations and / or block diagrams. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0064] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0065] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0066] Although preferred embodiments have been described in this application, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of this application.

[0067] Obviously, those skilled in the art can make various modifications and variations to the embodiments of this application without departing from the spirit and scope of the embodiments of this application. Therefore, if these modifications and variations to the embodiments of this application fall within the scope of the claims in this application and their equivalents, then this application also intends to include these modifications and variations.

Claims

1. A weighing method for a kitchen waste hanging bin mechanism, characterized in that, The food waste hanging bin mechanism is equipped with a weighing sensor; the method includes: During the operation of the food waste hanging bin mechanism, the weight value is collected by the weighing sensor at preset sampling intervals; Based on the weight value and the preset stable detection conditions, determine the first weight value corresponding to the rising state and the second weight value corresponding to the falling state of the trash can; The difference between the first weight value and the second weight value is determined, and the difference is taken as the net weight of the kitchen waste.

2. The method as described in claim 1, characterized in that, The rising state includes a rising stability phase; based on the weight value and preset stability detection conditions, a first weight value corresponding to the rising state of the trash can is determined, including: Determine the weight change between the current sampling time and the previous sampling time; Based on the preset stability detection conditions, if it is determined that the weight change of adjacent sampling points for a consecutive preset number of times is less than the preset first threshold, then the rising stability stage in the rising state is determined. Determine the first weight value of the trash can during the stable rising phase.

3. The method as described in claim 1, characterized in that, The descent state includes a stable descent phase; based on the weight value and preset stability detection conditions, a second weight value corresponding to the trash can in the descent state is determined, including: Determine the weight change between the current sampling time and the previous sampling time; Based on the preset stable detection conditions, if it is determined that the weight change of adjacent sampling points for a preset number of consecutive times is less than the preset second threshold, then the descent stable stage in the descent state is determined. Determine the second weight value of the trash can during the stable descent phase.

4. The method as described in claim 2, characterized in that, Determine the first weight value of the trash can during the stable rising phase, including: Determine multiple consecutive sets of sampled data that satisfy the first threshold during the rising and stabilizing phase; The average value of multiple consecutive sets of sampled data is determined, and the average value is used as the first weight value.

5. The method as described in claim 3, characterized in that, Determine the second weight value of the trash can during the steady descent phase, including: Determine multiple consecutive sets of sampled data that satisfy the second threshold during the stabilization phase of the descent; The average value of multiple consecutive sets of sampled data is determined, and the average value is used as the second weight value.

6. The method as described in claim 2, characterized in that, The method further includes: If it is determined that the weight change of adjacent sampling points for a consecutive preset number of times is less than the preset first threshold, then the first time difference between the current sampling time and the first preset valid sampling time is determined. If it is determined that the first time difference is greater than or equal to a preset first time threshold, then the weight value obtained by sampling the first time threshold is used as the first weight value of the rising and stabilizing phase.

7. The method as described in claim 3, characterized in that, The method further includes: If it is determined that the weight change of adjacent sampling points for a consecutive preset number of times is less than the preset second threshold, then the second time difference between the current sampling time and the second preset valid sampling time is determined. If it is determined that the second time difference is greater than or equal to the preset second time threshold, then the weight value obtained by sampling the second time threshold is used as the second weight value of the descent stabilization phase.

8. The method according to any one of claims 1-7, characterized in that, The method further includes: Determine the average weight for the rising state and the falling state respectively; Based on the average weight of the rising and falling states, identify the order of the rising and falling states: If the average weight during the rising phase is less than the average weight during the falling phase, an alarm for abnormal weighing sequence is issued.

9. A weighing device for a kitchen waste hanging bin mechanism, characterized in that, The food waste hanging bin mechanism is equipped with a weighing sensor; the device includes: The sampling module is used to collect weight values ​​through the weighing sensor at preset sampling intervals during the operation of the food waste hanging bin mechanism. The detection module is used to determine the first weight value corresponding to the rising state and the second weight value corresponding to the falling state of the trash can based on the weight value and preset stable detection conditions. The determination module is used to determine the difference between the first weight value and the second weight value, and to use the difference as the net weight of the kitchen waste.

10. An electronic device, characterized in that, The electronic device includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, when executing a program stored in memory, implements the method of any one of claims 1-8.