The invention relates to a washing
machine and a control method. A sealed inner tub is installed inside a washing
machine shell. The inner tub is communicated with a water inlet source of the washingmachine through a water inlet tube, a constant volume box is arranged on a water inlet tube, when the
water level inside the constant volume box reaches a high
water level, a water inlet is closed, awater outlet is opened, water flows into the inner tub; when the
water level inside the constant volume box reaches the low water level, the water inlet is opened, and the water outlet is closed; thecorresponding water level of the inner tub is obtained by detecting the opening frequency of the water outlet of the constant volume box. According to the device and method, the constant volume box isarranged on the water inlet
pipe of the washing
machine, water is drained to the inner tub after water is stored in the constant volume box, the drainage frequency of the constant volume box is detected, and the precise water level in the inner tub of the washing machine can be obtained; meanwhile, a water level detecting device of the washing machine is arranged on the water inlet
pipe of the inner tub, and the washing machine with the dual functions of inner tub rotation and water containing can work normally; in addition, the inner tub does not need to be sleeved with an outer tub, the volume of the inner tub is increased, and the washing capacity of the washing machine is improved.