Washing machine failure detection and processing method
Abstract
Disclosed is a washing machine failure detection and processing method, comprising the following steps: a PC pointer detection step: respectively detecting various running processes of a washing machine; respectively detecting whether a current value of a logical register is the same as an assigned value after the running of various subprograms is ended, and if the current value is different from the assigned value, judging that a PC pointer fails, and keeping a record of a current failure occurring in which running process of the washing machine according to the assigned value; and when it is judged that the PC pointer fails, waiting for a time t 1, and continuing to detect whether the current value of the logical register is the same as the assigned value, and if so, continuing to execute the subprogram, otherwise executing system resetting. In the washing machine failure detection and processing method in the present invention, an internal running error is prevented from occurring in an algorithm of a washing machine, a failure is detected by a system before being found by a user, and a corresponding security control measure is adopted, thereby guaranteeing the secure running of the washing machine.
Claims
exact text as granted — not AI-modified1 . A washing machine failure detection and processing method, comprising:
PC pointer detection step: ( 11 ) detecting the programs which service various washing machine running procedures respectively, in which each of the program corresponds to a subroutine, and the value of a logic register is being assigned when each of the subroutine execution initiates, wherein the programs at least include water supply program, washing program and the spin-dry program; ( 12 ) detecting whether the current value of the logic register is identical to the assigned value when each of the subroutine completes execution, if the current value and the assigned value are different, it is determined that the PC pointer error occurs, and the program in which the error occurred is stored according to the assigned value; ( 13 ) when the PC pointer error is determined, delaying t 1 , and then continually detecting whether the current value of the logic register is same with the assigned value, if identical, executing the subroutine continually, otherwise resetting the system.
2 . The washing machine failure detection and processing method according to claim 1 , further comprising:
Zero-crossing interrupt detection step: ( 21 ) Setting the zero-crossing interrupt period T 1 and detecting the actual period T of the zero-crossing interrupt of the motor signal; ( 22 ) Determining whether the zero-crossing interrupt T belongs to the range of [T 1 -Δt 1 ,T 1 +Δt 1 ], if it is in the range, the zero-crossing interrupt is regular, otherwise the zero-crossing interrupt is irregular; ( 23 ) If the zero interrupt is irregular, resetting the system.
3 . The washing machine failure detection and processing method according to claim 1 , further comprising:
fixed cycle interrupt detection step: when it is detected that the upper cover of the washing machine is opened while the alarm fails to properly function and/or the procedure for terminating the current running subroutine is not timely executed, the fixed cycle interrupt error occurs, resetting the system.
4 . The washing machine failure detection and processing method according to claim 1 , further comprising:
DC fault detection step of the RAM of the SCM: detecting all of the addresses of the RAM of the SCM cyclically by the chessboard detection method; storing the data of addresses to be detected and disabling the interrupts before the detection; firstly assigning either 0x55 or 0xaa to the first address to be detected while assigning the other value to the sequent address to be detected, and then reading data from the two addresses and comparing them against the assigned written data respectively, if neither an exact match found, a RAM error occurs and the exceptional handling is executed; if the data are match, detecting the other addresses of the RAM cyclically with the same method until all of the addresses are detected.
5 . The washing machine failure detection and processing method according to claim 4 , further comprising:
SCM register error detection step: detecting all registers cyclically by the chessboard detection method; writing either 0x55 or 0xaa in each of the register subsequently and then reading the output, comparing the written data against the data read out to confirm whether the output is same as the original written data; and then writing the other value of 0x55 or 0xaa in and then read the output, comparing the written data and the data read out to confirm whether the output is same as the original written data; if the exact match is found in both comparisons, the register is regular; otherwise a register error occurs.
6 . The washing machine failure detection and processing method according to claim 5 , further comprising:
ROM detection step: calculating the CRC-16 checksum of the area code of ROM, and then comparing the result with the fixed CRC-16 checksum stored in the ROM, if a mismatch found, ROM error occurs and the exception handling is executed.
7 . The washing machine failure detection and processing method according to claim 6 , further comprising:
in the ROM detection step, calculating the CRC16 check value of a 32-bit data extracted from the ROM every time, and the CRC16 check value of all of the ROM areas are produced until all of the ROM data calculation completed.
8 . The washing machine failure detection and processing method according to claim 7 , further comprising:
special function register processing step: periodically assigning set values repeatedly to the configuration registers of the functional modules used in the SCM.
9 . The washing machine failure detection and processing method according to claim 2 , further comprising:
fixed cycle interrupt detection step: when it is detected that the upper cover of the washing machine is opened while the alarm fails to properly function and/or the procedure for terminating the current running subroutine is not timely executed, the fixed cycle interrupt error occurs, resetting the system.
10 . The washing machine failure detection and processing method according to claim 2 , further comprising:
DC fault detection step of the RAM of the SCM: detecting all of the addresses of the RAM of the SCM cyclically by the chessboard detection method; storing the data of addresses to be detected and disabling the interrupts before the detection; firstly assigning either 0x55 or 0xaa to the first address to be detected while assigning the other value to the sequent address to be detected, and then reading data from the two addresses and comparing them against the assigned written data respectively, if neither an exact match found, a RAM error occurs and the exceptional handling is executed; if the data are match, detecting the other addresses of the RAM cyclically with the same method until all of the addresses are detected.Join the waitlist — get patent alerts
Track US2018135224A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.