The invention discloses a method for judging the water fullness state of a pressure
barrel by a water purifier through a gravity sensor, and relates to the technical field of the water purifier, a household direct drinking fountain and a commercial drinking fountain. The method comprises the following steps that a gravity sensor device is added onto the pressure
barrel arranged inside the water purifier, the weight of the pressure
barrel is collected through the gravity sensor, an
electric control plate arranged on the water purifier receives the weight information of the pressure barrel collected by the
gravity sensing device, when the collected weight information of the pressure barrel reaches the set upper limit, the
electric control plate judges that the pressure barrel is full of water, the
electric control plate controls the water purifier to stop the water preparation, when the collected weight information of the pressure barrel reaches 1 / 2 to 2 / 3 of the upper limit, the electric control plate judges that the pressure barrel is not full of water, and the electric control plate controls the water purifier to produce water. The method has the advantages that the part of a high-
pressure switch is omitted from a
machine, and the problems of
sanitation, precision, loss, service life and the like of the high-
pressure switch per se are avoided. In addition, the judgment is made through the
gravity sensing, the precision can reach 0.1g, and the judging precision is high.