CN-115824372-B - Rice quantity judging method and related device
Abstract
The embodiment of the application discloses a rice quantity judging method which is applied to a rice polisher. The method comprises the steps of obtaining an idle bus current value of a motor of the rice polisher, wherein the idle bus current value is a bus current value when the motor runs empty, collecting a target bus current value of the motor, wherein the target bus current value is a bus current value when the rice polisher is loaded with rice, and calculating according to a difference value of the idle bus current value and the target bus current value based on a first preset relation, wherein the first preset relation is a mathematical relation between the difference value of the idle bus current value and the target bus current value and the rice in the rice polisher.
Inventors
- CHEN YIDONG
- LIU WANG
- OuYang Xumin
- GUO ZHONGYI
Assignees
- 深圳市兆威机电股份有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20221221
Claims (9)
- 1. The rice quantity judging method is applied to a rice polisher and is characterized by comprising the following steps of: Acquiring an idle bus current value of a motor of the rice polisher, wherein the idle bus current value is a bus current value when the motor runs idle; collecting a target bus current value of the motor, wherein the target bus current value is a bus current value when the rice polisher is loaded with rice; calculating according to the difference value of the no-load bus current value and the target bus current value based on a first preset relation to obtain the rice in the rice polisher, wherein the first preset relation is a mathematical relation between the difference value of the no-load bus current value and the target bus current value and the rice; Calculating according to the rice and a gear signal input by a user based on a second preset relation to obtain a target running speed value and a target running time period of the motor, wherein the second preset relation is a relation between the preset rice and the gear signal and the target running speed value and the target running time period; And controlling the motor load to run according to the target running speed value, the target running time period and the rotor position information of the motor acquired in real time.
- 2. The meter quantity judging method according to claim 1, wherein after controlling the motor load operation based on the target operation speed value, the target operation time period, and the rotor position information of the motor collected in real time, the method further comprises: acquiring an acquisition running speed value according to the rotor position information; Judging whether the condition that the collected operation speed value is larger than a speed threshold value and the overspeed operation time period is larger than a first preset time period exists, wherein the speed threshold value is a preset multiple of the target operation speed value, and the overspeed operation time period is a time period for which the collected operation speed value is larger than the speed threshold value; If yes, the motor is controlled to stop running.
- 3. The rice amount judging method according to claim 2, wherein after judging whether or not there is a case where the collection operation speed value is greater than the speed threshold value and the overdrive operation time period is greater than the preset time period, the method further comprises: if not, judging whether the situation that the current value of the target bus is larger than a preset current threshold value and the overcurrent time period is larger than a second preset time period exists, wherein the overcurrent time period is a time period for which the current value of the target bus is larger than the preset current threshold value; And if the motor exists, controlling the motor to stop running.
- 4. The meter quantity judgment method according to claim 3, wherein after judging whether or not there is a case where the target bus current value is greater than a preset current threshold value and an overcurrent period is greater than a second preset period, the method further comprises: If not, judging whether the load operation time period of the motor is smaller than the target operation time period; If the motor is smaller than the preset value, the motor is controlled to continue to operate; and if the motor is not smaller than the preset value, controlling the motor to stop running.
- 5. The rice amount judging method according to claim 4, wherein after controlling the motor to stop operating, the method further comprises: a prompt signal is issued to inform the user.
- 6. The rice amount judging method according to claim 1, wherein before obtaining the no-load bus current value of the motor of the rice polisher, the method further comprises: judging whether the no-load operation times of the motor are zero or not based on an operation instruction input by a user; if the motor is zero, controlling the motor to run in a no-load mode; based on the no-load operation of the motor, collecting and storing the no-load bus current value; and if the current value is not zero, determining that the current value of the idle bus is stored.
- 7. A rice amount judging device applied to a rice polisher, comprising: the obtaining unit is used for obtaining an idle bus current value of a motor of the rice polisher, wherein the idle bus current value is a bus current value when the motor runs idle; The collecting unit is used for collecting a target bus current value of the motor, wherein the target bus current value is a bus current value when the rice polisher is loaded with rice; The calculating unit is used for calculating according to the difference value of the no-load bus current value and the target bus current value based on a first preset relation to obtain the rice in the rice polisher, wherein the first preset relation is a mathematical relation between the difference value of the no-load bus current value and the target bus current value and the rice; the calculating unit is further used for calculating according to the rice and a gear signal input by a user based on a second preset relation to obtain a target running speed value and a target running time period of the motor, wherein the second preset relation is a relation between the preset rice and the gear signal and the target running speed value and the target running time period; And the motor control unit is used for controlling the motor load to run according to the target running speed value, the target running time period and the rotor position information of the motor acquired in real time.
- 8. A rice amount judging device, characterized by comprising: a central processing unit, a memory and an input/output interface; the memory is a short-term memory or a persistent memory; the central processor is configured to communicate with the memory and to execute instruction operations in the memory to perform the method of any of claims 1 to 6.
- 9. A computer readable storage medium comprising instructions which, when run on a computer, cause the computer to perform the method of any one of claims 1 to 6.
Description
Rice quantity judging method and related device Technical Field The embodiment of the application relates to the field of electric appliances, in particular to a rice quantity judging method and a related device. Background In order to ensure the effect of polished rice, the influence of the amount of rice is considered in the process of polished rice. When the rice polisher performs rice polishing operation on different amounts of rice in the same gear, the polished rice effect is likely to be different, and the desired result cannot be achieved. The existing rice polisher utilizes a pressure sensor to detect the rice amount loaded in the rice polisher, and the next operation is performed after the rice amount is obtained, so that the rice polishing effect is improved. However, the rice polisher in the existing scheme uses the pressure sensor to detect and judge the amount of the rice, but the price of the pressure sensor is not low, so that the cost of the rice polisher is high, and the operation cost of the rice polisher is high. Disclosure of Invention The embodiment of the application provides a rice quantity judging method and a related device. A rice quantity judging method is applied to a rice polisher and comprises the following steps: Acquiring an idle bus current value of a motor of the rice polisher, wherein the idle bus current value is a bus current value when the motor runs idle; collecting a target bus current value of the motor, wherein the target bus current value is a bus current value when the rice polisher is loaded with rice; and calculating according to the difference value of the no-load bus current value and the target bus current value based on a first preset relation to obtain the rice in the rice polisher, wherein the first preset relation is a mathematical relation between the difference value of the no-load bus current value and the target bus current value and the rice. Optionally, based on a first preset relation, after calculating according to the difference value between the no-load bus current value and the target bus current value to obtain the rice in the rice polisher, the method further includes: Calculating according to the rice and a gear signal input by a user based on a second preset relation to obtain a target running speed value and a target running time period of the motor, wherein the second preset relation is a relation between the preset rice and the gear signal and the target running speed value and the target running time period; And controlling the motor load to run according to the target running speed value, the target running time period and the rotor position information of the motor acquired in real time. Optionally, after controlling the motor load to operate according to the target operation speed value, the target operation time period and the rotor position information of the motor acquired in real time, the method further includes: acquiring an acquisition running speed value according to the rotor position information; Judging whether the condition that the collected operation speed value is larger than a speed threshold value and the overspeed operation time period is larger than a first preset time period exists, wherein the speed threshold value is a preset multiple of the target operation speed value, and the overspeed operation time period is a time period for which the collected operation speed value is larger than the speed threshold value; If yes, the motor is controlled to stop running. Optionally, after determining whether the collected operation speed value is greater than the speed threshold and the overspeed operation period is greater than the preset period, the method further includes: if not, judging whether the situation that the current value of the target bus is larger than a preset current threshold value and the overcurrent time period is larger than a second preset time period exists, wherein the overcurrent time period is a time period for which the current value of the target bus is larger than the preset current threshold value; And if the motor exists, controlling the motor to stop running. Optionally, after determining whether the target bus current value is greater than a preset current threshold and the overcurrent period is greater than a second preset period, the method further includes: If not, judging whether the load operation time period of the motor is smaller than the target operation time period; If the motor is smaller than the preset value, the motor is controlled to continue to operate; and if the motor is not smaller than the preset value, controlling the motor to stop running. Optionally, after controlling the motor to stop running, the method further includes: a prompt signal is issued to inform the user. Optionally, before acquiring the no-load bus current value of the motor of the rice polisher, the method further includes: judging whether the no-load operation times of the motor are zero or not base