Mask apparatus and method for controlling the same
Provided is a mask apparatus. The mask apparatus includes a mask body in which a fan module is provided, a face guard coupled to a rear surface of the rear body so as to be in close contact with user's face and having a breathing space therein, a pressure sensor installed in the mask body to measure a pressure of the breathing space, and a controller configured to compare a current pressure value measured by the pressure sensor to a preset atmospheric pressure estimation, update the atmospheric pressure estimation based on a difference between the current pressure value and the atmospheric pressure estimation, and control a rotation speed of the fan module based on a difference between the updated atmospheric pressure estimation and the current pressure value.
1 . A mask apparatus comprising:
a mask body in which a fan module is provided;
a face guard coupled to a rear surface of a rear body configured to be in close contact with a user's face and having a breathing space therein;
a pressure sensor installed in the mask body to measure a pressure of the breathing space; and
a controller configured to:
compare a current pressure value measured by the pressure sensor to a preset atmospheric pressure estimation;
update the atmospheric pressure estimation based on a difference between the current pressure value and the atmospheric pressure estimation;
control a rotation speed of the fan module based on a difference between the updated atmospheric pressure estimation and the current pressure value;
compare each of a preset atmospheric pressure maximum estimation and a preset atmospheric pressure minimum estimation to the current pressure value;
update the atmospheric pressure estimation according to the comparison result from each of the preset atmospheric pressure maximum estimation and the preset atmospheric pressure minimum estimation to the current pressure value, and
when the preset atmospheric pressure maximum estimation if less than the current pressure value the controller is configured to:
update the preset atmospheric pressure maximum estimation to the current pressure value; and
update the preset atmospheric pressure minimum estimation by reflecting a weight.
2 . The mask apparatus according to claim 1 , wherein the atmospheric pressure estimation is a pressure value defined between a maximum pressure value and a minimum pressure value among pressure values measured by the pressure sensor.
3 . The mask apparatus according to claim 2 , wherein the atmospheric pressure estimation is a pressure value defined between an atmospheric pressure maximum estimation and an atmospheric pressure minimum estimation, which are defined between the maximum pressure value and the minimum pressure value, among the pressure values measured by the pressure sensor.
4 . The mask apparatus according to claim 1 , wherein, when the preset atmospheric pressure maximum estimation exceeds the current pressure value, the controller is configured to compare the preset atmospheric pressure minimum estimation to the current pressure value, and
when the preset atmospheric pressure minimum estimation is equal to or greater than the current pressure value, the controller is configured to: update the preset atmospheric pressure minimum estimation to the current pressure value; and update the preset atmospheric pressure maximum estimation by reflecting the weight.
5 . The mask apparatus according to claim 4 , wherein, when the preset atmospheric pressure maximum estimation exceeds the current pressure value, and the preset atmospheric pressure maximum estimation is less than the current pressure value, the controller is configured to update each of the preset atmospheric pressure maximum estimation and the preset atmospheric pressure maximum estimation by reflecting the weight.
6 . The mask apparatus according to claim 5 , wherein the controller is configured to update the updated atmospheric pressure maximum estimation to an intermediate value of the sum of the updated atmospheric pressure maximum estimation and the updated atmospheric pressure minimum estimation.
7 . The mask apparatus according to claim 6 , wherein, when the updated atmospheric pressure estimation is greater than the current pressure value, the controller is configured to allow the rotation speed of the fan module to increase.
8 . The mask apparatus according to claim 6 , wherein, when the updated atmospheric pressure estimation is less than the current pressure value, the controller is configured to allow the rotation speed of the fan module to decrease or stop an operation of the fan module.