US 12,258,742 B2
Liquid dispenser sensing distance self-learning method, an electronic device, and a storage medium
Wenjie Ren, Shanghai (CN); and Fei Shen, Shanghai (CN)
Assigned to Shanghai Kohler Electronics, Ltd., Shanghai (CN)
Filed by Shanghai Kohler Electronics, Ltd., Shanghai (CN)
Filed on Sep. 8, 2023, as Appl. No. 18/244,030.
Claims priority of application No. 202211107528.X (CN), filed on Sep. 13, 2022.
Prior Publication US 2024/0084567 A1, Mar. 14, 2024
Int. Cl. G08B 25/00 (2006.01); A47K 5/12 (2006.01); E03C 1/05 (2006.01); G08B 5/36 (2006.01); G08B 21/18 (2006.01)
CPC E03C 1/057 (2013.01) [A47K 5/1217 (2013.01); G08B 5/36 (2013.01); G08B 21/18 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A liquid dispenser sensing distance self-learning method, comprising:
in response to a self-learning request, entering a self-learning mode;
in the self-learning mode, determining a shortest distance between a reference object and a sensing component;
in the self-learning mode, determining and storing a sensing distance based on the shortest distance, wherein a liquid dispenser dispenses liquid when the liquid dispenser is in a working state and when a distance between the reference object and the sensing component is detected to be less than or equal to the sensing distance;
in the self-learning mode, identifying, by a first indication device, a state of the self-learning mode;
in response to a sensing request, entering a sensing mode;
in the sensing mode, detecting the distance between the reference object and the sensing component;
in the sensing mode, comparing the detected distance with the sensing distance; and
in the sensing mode, identifying, by a second indication device, a comparison result of the detected distance and the sensing distance.