WO2016173353A1 - Washing machine failure detection and processing method - Google Patents

Washing machine failure detection and processing method Download PDF

Info

Publication number
WO2016173353A1
WO2016173353A1 PCT/CN2016/077510 CN2016077510W WO2016173353A1 WO 2016173353 A1 WO2016173353 A1 WO 2016173353A1 CN 2016077510 W CN2016077510 W CN 2016077510W WO 2016173353 A1 WO2016173353 A1 WO 2016173353A1
Authority
WO
WIPO (PCT)
Prior art keywords
washing machine
value
processing method
register
rom
Prior art date
Application number
PCT/CN2016/077510
Other languages
French (fr)
Chinese (zh)
Inventor
杨林
陈瑜
薛凯
方大丰
于亮亮
Original Assignee
青岛海尔洗衣机有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 青岛海尔洗衣机有限公司 filed Critical 青岛海尔洗衣机有限公司
Priority to KR1020177033725A priority Critical patent/KR20180013898A/en
Priority to US15/570,586 priority patent/US20180135224A1/en
Priority to JP2017556666A priority patent/JP6697483B2/en
Priority to EP16785784.6A priority patent/EP3290558B1/en
Publication of WO2016173353A1 publication Critical patent/WO2016173353A1/en

Links

Classifications

    • DTEXTILES; PAPER
    • D06TREATMENT OF TEXTILES OR THE LIKE; LAUNDERING; FLEXIBLE MATERIALS NOT OTHERWISE PROVIDED FOR
    • D06FLAUNDERING, DRYING, IRONING, PRESSING OR FOLDING TEXTILE ARTICLES
    • D06F33/00Control of operations performed in washing machines or washer-dryers 
    • D06F33/30Control of washing machines characterised by the purpose or target of the control 
    • D06F33/47Responding to irregular working conditions, e.g. malfunctioning of pumps 
    • DTEXTILES; PAPER
    • D06TREATMENT OF TEXTILES OR THE LIKE; LAUNDERING; FLEXIBLE MATERIALS NOT OTHERWISE PROVIDED FOR
    • D06FLAUNDERING, DRYING, IRONING, PRESSING OR FOLDING TEXTILE ARTICLES
    • D06F33/00Control of operations performed in washing machines or washer-dryers 
    • DTEXTILES; PAPER
    • D06TREATMENT OF TEXTILES OR THE LIKE; LAUNDERING; FLEXIBLE MATERIALS NOT OTHERWISE PROVIDED FOR
    • D06FLAUNDERING, DRYING, IRONING, PRESSING OR FOLDING TEXTILE ARTICLES
    • D06F2103/00Parameters monitored or detected for the control of domestic laundry washing machines, washer-dryers or laundry dryers
    • D06F2103/18Washing liquid level
    • DTEXTILES; PAPER
    • D06TREATMENT OF TEXTILES OR THE LIKE; LAUNDERING; FLEXIBLE MATERIALS NOT OTHERWISE PROVIDED FOR
    • D06FLAUNDERING, DRYING, IRONING, PRESSING OR FOLDING TEXTILE ARTICLES
    • D06F2105/00Systems or parameters controlled or affected by the control systems of washing machines, washer-dryers or laundry dryers
    • D06F2105/52Changing sequence of operational steps; Carrying out additional operational steps; Modifying operational steps, e.g. by extending duration of steps
    • DTEXTILES; PAPER
    • D06TREATMENT OF TEXTILES OR THE LIKE; LAUNDERING; FLEXIBLE MATERIALS NOT OTHERWISE PROVIDED FOR
    • D06FLAUNDERING, DRYING, IRONING, PRESSING OR FOLDING TEXTILE ARTICLES
    • D06F33/00Control of operations performed in washing machines or washer-dryers 
    • D06F33/30Control of washing machines characterised by the purpose or target of the control 
    • D06F33/44Control of the operating time, e.g. reduction of overall operating time
    • DTEXTILES; PAPER
    • D06TREATMENT OF TEXTILES OR THE LIKE; LAUNDERING; FLEXIBLE MATERIALS NOT OTHERWISE PROVIDED FOR
    • D06FLAUNDERING, DRYING, IRONING, PRESSING OR FOLDING TEXTILE ARTICLES
    • D06F33/00Control of operations performed in washing machines or washer-dryers 
    • D06F33/30Control of washing machines characterised by the purpose or target of the control 
    • D06F33/46Control of the energy or water consumption
    • DTEXTILES; PAPER
    • D06TREATMENT OF TEXTILES OR THE LIKE; LAUNDERING; FLEXIBLE MATERIALS NOT OTHERWISE PROVIDED FOR
    • D06FLAUNDERING, DRYING, IRONING, PRESSING OR FOLDING TEXTILE ARTICLES
    • D06F37/00Details specific to washing machines covered by groups D06F21/00 - D06F25/00
    • D06F37/42Safety arrangements, e.g. for stopping rotation of the receptacle upon opening of the casing door

Definitions

  • the present invention belongs to the technical field of washing machines, and in particular to a washing machine fault detection processing method.
  • the current washing machine software program detection method only performs related processing on the threshold control signal, and uses two 10-port detection gate-off signals, and reads the gate-off signal input port every 10 ms, if it is read for 100 ms continuously. If the input signal is unchanged, the two 10-port signals are assigned to the buffer register after non-calculation. If there is a 10-port detection threshold, it is considered that the door is slamming, and the display panel communicates with the power control board. With the CRC 8-bit check, the display panel receives the threshold or communicates with the power control board for 3 seconds, then the motor is stopped.
  • This method can not detect other faults of the washing machine, such as the motor has been rotating all the way or has been reversed, washing is not stopped; or the dehydration is not limited; or the water is not only the same phenomenon, or the whole machine is in the state of water, washing, dehydration, etc. There is no alarm on the upper cover, there are hidden dangers caused by the user, etc., which causes the above-mentioned faults in the washing machine during the washing process, and the fault is detected without any flaws, and there is a safety hazard.
  • the present invention proposes a washing machine fault detection and processing method, which can solve the above problems.
  • a washing machine fault detection processing method includes the following steps:
  • each running process of the washing machine corresponds to a subroutine, and each of the subprograms is initially assigned a logical register, the running process at least including a water filling process, washing Process, dehydration process;
  • step (13) after the execution system is reset, the current water level value detected by the water level sensor is read, and the current water level value is compared with the set water level value, if the current water level value is greater than or equal to If the water level value is set, the water injection process is skipped and the next process of the water injection process is performed. If the current water level value is zero, the dehydration process is performed.
  • the zero crossing interruption detecting step is further included:
  • comparison ⁇ is within the range of [Tl-Atl, Tl+Atl], and if so, it is determined that the zero-crossing interrupt is normal; otherwise, it is determined that the zero-crossing interrupt is abnormal;
  • the method further includes: determining an interrupt detection step:
  • the washing machine When it is detected that the washing machine is slamming the upper cover during operation, the washing machine does not perform an alarm and/or stops the step of running the current subroutine, it is determined that the interrupt is abnormal and the system reset is performed.
  • the DC fault detection step of the single chip RAM is further included:
  • the value of the test address is saved and the interrupt is closed.
  • one of the values of 0x55 or Oxaa is assigned to the first test address, and another value of 0x55 or Oxaa is assigned to the next test address.
  • the data in the two test addresses are respectively read and compared with the written data. If they are not equal, the RAM is considered to have a problem and the exception processing is performed; if they are equal, the other test addresses are detected in the same manner until all are The test address is detected.
  • the method further includes the step of detecting the fault of the single chip register:
  • the method further includes the step of detecting the ROM, calculating a CRC-16 checksum of the ROM area code, and comparing the calculation structure with a fixed CRC-16 checksum stored in the ROM, if not, I think there is a problem with the ROM and I am doing exception handling.
  • the CRC-16 calculation is performed to obtain a check value, until all the data in the ROM is calculated, and all the ROM areas are obtained. CRC-16 check value.
  • the method further includes the step of processing the special function register: periodically, the configuration register of the function module used by the single chip is repeatedly assigned according to the set value.
  • the washing machine fault detection processing method of the present invention can prevent the internal operation error of the washing machine algorithm, prevent the water from entering, the empty bucket state, the washing, etc.
  • the mode occurs, which ensures the safe operation of the washing machine and reduces the possibility of personal injury caused by the malfunction of the washing machine.
  • FIG. 1 is a flow chart of a PC pointer detecting step in an embodiment of a washing machine failure detecting processing method according to the present invention
  • FIG. 2 is a flow chart of a zero-crossing interruption detecting step in an embodiment of a washing machine failure detecting processing method according to the present invention.
  • PC program counter, the full text referred to as PC
  • RAM random access memory Abbreviation for Random Access Memory, referred to as RAM in full;
  • ROM Read only memory Abbreviation for Read Only Memory, the full text is referred to as ROM;
  • CRC-16 refers to 16-bit cyclic redundancy check code
  • Embodiment 1 provides a washing machine fault detection processing method, including the following steps: [0039] PC pointer detecting step, as shown in FIG. 1:
  • each running process of the washing machine corresponds to a subroutine, and each of the subroutine runs is initially assigned a logical register, and the running process at least includes a water filling process and a washing process. Dehydration process;
  • the value of the PC pointer always points to the address of the running point of the current program. If the PC pointer is abnormal during the operation of the washing machine, the control fails, and the washing machine will continue to run for a certain period of time, such as washing.
  • the washing machine fault detection and processing method is detected by the PC pointer, and the operation safety problem can be detected and detected, and corresponding processing is taken to prevent the washing machine from appearing.
  • the internal operation of the algorithm is wrong, resulting in incorrect operation mode such as water intake and empty bucket washing, which ensures the safe operation of the washing machine and reduces the possibility of personal injury caused by the washing machine failure.
  • step S13 after the execution system is reset, in order to prevent the executed program from being repeatedly executed, such as the water injection process, if it has been filled, there is no need to inject water again, preventing further generation. A new fault occurs. Therefore, in this embodiment, by reading the current water level value detected by the water level sensor, the current water level value is compared with the set water level value. If the current water level value is greater than or equal to the set water level value, the water injection is skipped. Process, the next process of performing the water injection process, if in the washing state and the current water level value is zero, the dehydration process is performed.
  • step S11 and step S12 Since at least one complete subroutine is run through step S11 and step S12, it can be judged that at least the water injection process is performed. If the current water level value is zero, there is no need to refill water, wash, etc., and the dehydration process is directly executed, thereby avoiding Water and electricity are wasted, and washing is saved.
  • the zero-cross interrupt detection step is further included in this embodiment:
  • the frequency of the commercial frequency power supply is 50 Hz.
  • the hardware circuit is used to introduce the mains signal to the external interrupt port of the MCU.
  • the interrupt is a zero-crossing interrupt, and the signal period is normally 20 ms. In the program, the signal period and the MCU are used.
  • the device compares to determine if the interrupt or zero-crossing interrupt is normal. If the abnormality occurs in the zero-crossing interruption, it may be that the washing machine is running continuously or continuously reversed, and it is not easy to be discovered by the user.
  • the washing machine fault detection processing method of the embodiment can detect the zero-crossing abnormality and Controls the execution of a system reset to protect the safe operation of the washing machine.
  • the step of detecting the interrupt is further included:
  • the fixed interruption is used to detect the normal operation of the washing machine, the top cover of the washing machine, the cover of the whole machine, or other unsatisfactory conditions that the washing machine continues to operate, and can be controlled to stop operation, and Alarm to prevent damage to the user. If there is a problem with the interruption, it will cause a wash. The normal operation of the clothes machine does not alarm and does not stop running. There is a safety hazard. This embodiment further ensures the safe operation of the washing machine by detecting the fixed interruption.
  • the DC fault detecting step of the single-chip RAM is also included.
  • the value of the test address is saved and the interrupt is closed, and the value of the test address is saved in order to resume the program according to the originally written value after the detection is completed, by not stopping the interrupt, in order to prevent Detecting ⁇ generates an interrupt.
  • the test value written into the RAM is treated as a normal value. First, assign one value of 0x55 or Oxaa to the first test address, and assign 0x55 to the next test address. Another value in Oxaa, the data in the two test addresses are read separately, and compared with the written data. If not, the RAM is considered to have a problem, and the exception processing is performed; if they are equal, the other method is used in the same manner.
  • the test address is tested until all test addresses have been detected.
  • the value written by 0x55 is: 01010101
  • the value written by 0xaa is: 10101010.
  • 0x55 and Oxaa are respectively assigned to two adjacent RAM addresses, and the difference is numerically distinguished. , to prevent two addresses from being assigned the same value and a judgment error, to achieve the detection of the two addresses, improving the detection efficiency.
  • After all the addresses have been detected it is necessary to start from the first address and re-write another value that is not written by the address. For example, if the first address is first assigned 0x55, then only part of it can be written. The bit is written with 1. Therefore, the second assignment value should be assigned 0xaa, that is, the bit assigned to 0 in the first pass is assigned a value of 1 in the second pass, which enables all bits to be effectively detected.
  • the method further includes: detecting a failure of the single chip register:
  • [0059] further comprising the step of detecting the ROM, calculating a CRC-16 checksum of the ROM area code, and comparing the calculation structure with a fixed CRC-16 checksum stored in the ROM, if not, the ROM is considered to have Problem, exception handling.
  • the CRC is an error check code characterized in that the length of the information field and the check field can be arbitrarily selected. Polynomial calculations can be performed on the data, and the results obtained are appended to the frame.
  • the receiving device also performs a similar algorithm to ensure the correctness and integrity of the data transmission. In this embodiment, because the ROM area code length is long, the 8-bit CRC cannot meet the length requirement, and the 32-bit CRC causes computational waste.
  • the 16-bit CRC check is preferably used for the ROM area code.
  • And detection that is, CRC-16, CRC-16 checksum detection can prevent errors in the program written to the ROM area, and the washing machine operates normally and safely only if the program is correct.
  • the washing machine fault detection processing method of the embodiment further includes the step of processing the special function register: periodically configuring the configuration register of the function module used by the single chip to perform repeated assignment according to the set value.
  • Special registers generally control the input and output ports of the MCU. In order to prevent errors in the input and output ports defined in the program during operation, such as the input port becoming an output port, or the output port becoming an input port, an error will occur. Therefore, the method does not stop assigning values, even if there is an error in the intermediate process, the correct value of the method can be changed by the repeated assignment of the method, and the correct operation of the program is not affected.

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 t1, 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.

Description

说明书 发明名称:一种洗衣机故障检测处理方法 技术领域  Description: A washing machine fault detection and processing method
[0001] 本发明属于洗衣机技术领域, 具体地说, 是涉及一种洗衣机故障检测处理方法 背景技术  [0001] The present invention belongs to the technical field of washing machines, and in particular to a washing machine fault detection processing method.
[0002] 现在的洗衣机软件程序检测方法, 仅对门幵关控制信号进行相关处理, 利用 2 个 10口检测门幵关信号, 每 10ms扫描读取一次门幵关信号输入口, 如果连续 100 ms读取的输入信号不变, 则把 2个 10口的信号进行与非计算后赋值给缓冲寄存器 , 只要有一个 10口检测到门幵, 则认为是门打幵, 显示板与电源控制板通讯, 利用 CRC 8位校验, 显示板收到门幵或连续 3秒与电源控制板通讯不上, 则控制 电机停转。 该方法无法检测到洗衣机的其他故障, 如电机一直正转或者一直反 转、 洗涤不止; 或者脱水不止; 或者进水不止等类似现象、 或者整机在进水、 洗涤、 脱水等状态, 打幵上盖均不报警, 存在用户使用安全隐患等, 导致洗衣 机在洗涤过程中若出现上述故障, 没有及吋的进行故障査出, 存在安全隐患。 技术问题  [0002] The current washing machine software program detection method only performs related processing on the threshold control signal, and uses two 10-port detection gate-off signals, and reads the gate-off signal input port every 10 ms, if it is read for 100 ms continuously. If the input signal is unchanged, the two 10-port signals are assigned to the buffer register after non-calculation. If there is a 10-port detection threshold, it is considered that the door is slamming, and the display panel communicates with the power control board. With the CRC 8-bit check, the display panel receives the threshold or communicates with the power control board for 3 seconds, then the motor is stopped. This method can not detect other faults of the washing machine, such as the motor has been rotating all the way or has been reversed, washing is not stopped; or the dehydration is not limited; or the water is not only the same phenomenon, or the whole machine is in the state of water, washing, dehydration, etc. There is no alarm on the upper cover, there are hidden dangers caused by the user, etc., which causes the above-mentioned faults in the washing machine during the washing process, and the fault is detected without any flaws, and there is a safety hazard. technical problem
[0003] 本发明为了解决目前没有专门针对洗衣机运行过程中程序故障进行检测的技术 问题, 提出了一种洗衣机故障检测处理方法, 可以解决上述问题。  [0003] In order to solve the technical problem that the program fault is not specifically detected during the operation of the washing machine, the present invention proposes a washing machine fault detection and processing method, which can solve the above problems.
问题的解决方案  Problem solution
技术解决方案  Technical solution
[0004] 为了解决上述技术问题, 本发明采用以下技术方案予以实现:  [0004] In order to solve the above technical problem, the present invention is implemented by the following technical solutions:
[0005] 一种洗衣机故障检测处理方法, 包括以下步骤: [0005] A washing machine fault detection processing method includes the following steps:
[0006] PC指针检测步骤 [0006] PC pointer detection step
[0007] (11) 、 分别对洗衣机的各运行过程进行检测, 洗衣机的每个运行过程对应一 个子程序, 在各子程序运行初始分别为逻辑寄存器赋值, 所述运行过程至少包 括注水过程、 洗涤过程、 脱水过程;  [0007] (11), respectively, detecting each running process of the washing machine, each running process of the washing machine corresponds to a subroutine, and each of the subprograms is initially assigned a logical register, the running process at least including a water filling process, washing Process, dehydration process;
[0008] (12) 、 在各子程序运行结束后分别检测逻辑寄存器的当前值是否与赋值相同 , 若当前值与赋值不同, 贝 lj判断为 PC指针故障, 并根据赋值记录当前故障出现 于洗衣机的哪个运行过程; [0008] (12), after the end of each subroutine, respectively, check whether the current value of the logical register is the same as the assignment value If the current value is different from the assignment value, the shell lj determines that the PC pointer is faulty, and records which running process of the washing machine occurs according to the assignment;
[0009] (13) 、 当判断为 PC指针故障吋, 等待吋间 tl, 并继续检测逻辑寄存器的当前 值是否与赋值相同, 若相同, 则继续执行该子程序, 否则执行系统复位。  [0009] (13), when it is determined that the PC pointer is faulty, wait for the time t1, and continue to detect whether the current value of the logical register is the same as the assignment. If the same, continue to execute the subroutine, otherwise perform a system reset.
[0010] 进一步的, 所述步骤 (13) 中, 所述执行系统复位后, 读取水位传感器检测的 当前水位值, 将当前水位值与设定水位值进行比较, 若当前水位值大于或等于 设定水位值, 则跳过注水过程, 执行注水过程的下一过程, 若当前水位值为零 , 则执行脱水过程。  [0010] Further, in the step (13), after the execution system is reset, the current water level value detected by the water level sensor is read, and the current water level value is compared with the set water level value, if the current water level value is greater than or equal to If the water level value is set, the water injection process is skipped and the next process of the water injection process is performed. If the current water level value is zero, the dehydration process is performed.
[0011] 进一步的, 还包括过零中断检测步骤:  [0011] Further, the zero crossing interruption detecting step is further included:
[0012] (21) 、 设定过零中断周期 Tl, 检测加载在电机上信号的实际过零中断周期 Τ  [0012] (21), setting the zero-crossing interrupt period Tl, detecting the actual zero-crossing interruption period of the signal loaded on the motor Τ
[0013] (22) 、 比较 Τ是否在 [Tl-Atl,Tl+Atl]区间范围内, 若是, 则判断为过零中断 正常, 否则, 判断为过零中断异常; [0013] (22), comparison Τ is within the range of [Tl-Atl, Tl+Atl], and if so, it is determined that the zero-crossing interrupt is normal; otherwise, it is determined that the zero-crossing interrupt is abnormal;
[0014] (23) 、 当判断为过零中断异常吋, 则执行系统复位。 [0014] (23) When it is determined that the zero-crossing interrupt is abnormal, a system reset is performed.
[0015] 进一步的, 还包括定吋中断检测步骤: [0015] Further, the method further includes: determining an interrupt detection step:
[0016] 当检测到洗衣机在运行过程中打幵上盖吋, 洗衣机并未执行报警和 /或停止当 前运行子程序的步骤, 则判断为定吋中断异常, 执行系统复位。  [0016] When it is detected that the washing machine is slamming the upper cover during operation, the washing machine does not perform an alarm and/or stops the step of running the current subroutine, it is determined that the interrupt is abnormal and the system reset is performed.
[0017] 进一步的, 还包括单片机 RAM的 DC故障检测步骤: [0017] Further, the DC fault detection step of the single chip RAM is further included:
[0018] 周期性对单片机 RAM所有地址采用棋盘法循环检测; [0018] periodically check all the addresses of the single-chip RAM using a checkerboard loop detection;
[0019] 检测前先把测试地址的数值保存并关闭中断, 首先给第一个测试地址赋值 0x55 或者 Oxaa中的其中一个值, 同吋给下一测试地址赋值 0x55或者 Oxaa中的另外一个 值, 再分别将两测试地址中数据读取, 并与写入的数据进行比较, 若不等则认 为 RAM有问题, 进行异常处理; 若相等, 采用同样的方式将其他测试地址进行 检测, 直至将所有测试地址检测完毕。  [0019] Before the detection, the value of the test address is saved and the interrupt is closed. First, one of the values of 0x55 or Oxaa is assigned to the first test address, and another value of 0x55 or Oxaa is assigned to the next test address. Then, the data in the two test addresses are respectively read and compared with the written data. If they are not equal, the RAM is considered to have a problem and the exception processing is performed; if they are equal, the other test addresses are detected in the same manner until all are The test address is detected.
[0020] 进一步的, 还包括对单片机寄存器故障检测步骤:  [0020] Further, the method further includes the step of detecting the fault of the single chip register:
[0021] 周期性对所有寄存器采用棋盘法循环检测;  [0021] periodically using a checkerboard loop detection for all registers;
[0022] 逐一对各个寄存器写入 0x55或者 Oxaa中的其中一个值后再读取, 并比较读取的 值与写入的值是否一致, 然后写入 0x55或者 Oxaa中的另外一个值后再读取, 并比 较读取的值与写入的值是否一致, 只有两次比较结果均一致吋, 得出该寄存器 正常的结论, 否则该寄存器具有故障, 报寄存器故障。 [0022] Write one value of 0x55 or Oxaa to each register one by one and then read, and compare whether the read value is consistent with the written value, and then write another value in 0x55 or Oxaa before reading Take, compare Whether the read value is consistent with the written value, only two comparison results are consistent, and the conclusion that the register is normal is obtained. Otherwise, the register has a fault and reports a register failure.
[0023] 进一步的, 还包括对 ROM检测的步骤, 计算 ROM区代码的 CRC-16校验和, 并 将计算结构与 ROM中存储的固定的 CRC-16校验和进行比较, 若不一致, 则认为 ROM有问题, 进行异常处理。  [0023] Further, the method further includes the step of detecting the ROM, calculating a CRC-16 checksum of the ROM area code, and comparing the calculation structure with a fixed CRC-16 checksum stored in the ROM, if not, I think there is a problem with the ROM and I am doing exception handling.
[0024] 进一步的, 对 ROM检测的步骤中, 每次取 ROM里的 32字节的数据进行 CRC- 16 计算得到一个校验值, 直到 ROM里的所有数据计算完, 得出所有 ROM区的 CRC- 16校验值。  [0024] Further, in the step of detecting the ROM, each time the 32-byte data in the ROM is taken, the CRC-16 calculation is performed to obtain a check value, until all the data in the ROM is calculated, and all the ROM areas are obtained. CRC-16 check value.
[0025] 进一步的, 还包括对特殊功能寄存器处理的步骤: 周期性的对单片机用到的功 能模块的配置寄存器按照设定值进行重复赋值。  [0025] Further, the method further includes the step of processing the special function register: periodically, the configuration register of the function module used by the single chip is repeatedly assigned according to the set value.
发明的有益效果  Advantageous effects of the invention
有益效果  Beneficial effect
[0026] 与现有技术相比, 本发明的优点和积极效果是: 本发明的洗衣机故障检测处理 方法, 能够防止出现洗衣机算法内部运行错误, 防止进水不止、 空桶状态一直 洗涤等错误运行模式发生, 保障了洗衣机的安全运行, 降低了因洗衣机故障对 人身带来伤害的可能性。  Compared with the prior art, the advantages and positive effects of the present invention are: The washing machine fault detection processing method of the present invention can prevent the internal operation error of the washing machine algorithm, prevent the water from entering, the empty bucket state, the washing, etc. The mode occurs, which ensures the safe operation of the washing machine and reduces the possibility of personal injury caused by the malfunction of the washing machine.
[0027] 结合附图阅读本发明实施方式的详细描述后, 本发明的其他特点和优点将变得 更加清楚。  Other features and advantages of the present invention will become more apparent from the detailed description of the embodiments.
对附图的简要说明  Brief description of the drawing
附图说明  DRAWINGS
[0028] 为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实施例或 现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的 附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创 造性劳动的前提下, 还可以根据这些附图获得其他的附图。  [0028] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings to be used in the embodiments or the prior art description will be briefly described below, and obviously, in the following description The drawings are only some of the embodiments of the present invention, and those skilled in the art can obtain other drawings based on these drawings without any creative work.
[0029] 图 1是本发明所提出的洗衣机故障检测处理方法的一种实施例中 PC指针检测步 骤流程图;  1 is a flow chart of a PC pointer detecting step in an embodiment of a washing machine failure detecting processing method according to the present invention;
[0030] 图 2是本发明所提出的洗衣机故障检测处理方法的一种实施例中过零中断检测 步骤流程图。 实施该发明的最佳实施例 2 is a flow chart of a zero-crossing interruption detecting step in an embodiment of a washing machine failure detecting processing method according to the present invention. BEST MODE FOR CARRYING OUT THE INVENTION
本发明的最佳实施方式  BEST MODE FOR CARRYING OUT THE INVENTION
[0031] 下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是全部 的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有做出创造性劳 动前提下所获得的所有其他实施例, 都属于本发明保护的范围。  The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. example. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
[0032] 术语解释:  [0032] Explanation of terms:
[0033] PC: 程序计数器, 全文简称 PC;  [0033] PC: program counter, the full text referred to as PC;
[0034] RAM: 随机存取存储器 Random Access Memory的缩写,全文简称 RAM;  [0034] RAM: random access memory Abbreviation for Random Access Memory, referred to as RAM in full;
[0035] ROM: 只读存储器 Read Only Memory的缩写,全文简称 ROM; [0035] ROM: Read only memory Abbreviation for Read Only Memory, the full text is referred to as ROM;
[0036] CRC: 循环冗余校验码 Cyclic Redundancy [0036] CRC: Cyclic Redundancy Check Code Cyclic Redundancy
Check的缩写, 全文简称 CRC, CRC-16指 16位循环冗余校验码;  Abbreviation of Check, the full name is CRC, CRC-16 refers to 16-bit cyclic redundancy check code;
[0037] DC: 模数转换。 [0037] DC: Analog to digital conversion.
[0038] 实施例一, 本实施例提出了一种洗衣机故障检测处理方法, 包括以下步骤: [0039] PC指针检测步骤, 如图 1所示:  [0038] Embodiment 1 This embodiment provides a washing machine fault detection processing method, including the following steps: [0039] PC pointer detecting step, as shown in FIG. 1:
[0040] Sl l、 分别对洗衣机的各运行过程进行检测, 洗衣机的每个运行过程对应一个 子程序, 在各子程序运行初始分别为逻辑寄存器赋值, 所述运行过程至少包括 注水过程、 洗涤过程、 脱水过程;  [0040] Sl l, respectively, detecting each running process of the washing machine, each running process of the washing machine corresponds to a subroutine, and each of the subroutine runs is initially assigned a logical register, and the running process at least includes a water filling process and a washing process. Dehydration process;
[0041] S12、 在各子程序运行结束后分别检测逻辑寄存器的当前值是否与赋值相同, 若当前值与赋值不同, 则判断为 PC指针故障, 并根据赋值记录当前故障出现于 洗衣机的哪个运行过程;  [0041] S12: After the end of each subroutine operation, respectively, whether the current value of the logical register is the same as the assignment value. If the current value is different from the assignment value, it is determined that the PC pointer is faulty, and according to the assignment, the current fault occurs in which operation of the washing machine. Process
[0042] S13、 当判断为 PC指针故障吋, 等待吋间 tl, 并继续检测逻辑寄存器的当前值 是否与赋值相同, 若相同, 则继续执行该子程序, 否则执行系统复位。  [0042] S13. When it is determined that the PC pointer is faulty, wait for the time t1, and continue to detect whether the current value of the logical register is the same as the assignment. If the same, continue to execute the subroutine, otherwise perform a system reset.
[0043] PC指针的值总是指向当前程序的运行点的地址, 洗衣机运行过程中, 若程序出 现 PC指针异常, 控制失效, 洗衣机会发生某一运行过程持续进行, 如洗涤不止 [0043] The value of the PC pointer always points to the address of the running point of the current program. If the PC pointer is abnormal during the operation of the washing machine, the control fails, and the washing machine will continue to run for a certain period of time, such as washing.
; 或者脱水不止; 或者进水不止等现象。 上述故障轻则对电机或者其他硬件造 成损坏, 重者产生事故, 威胁用户人身安全。 本洗衣机故障检测处理方法通过 P C指针检测, 能够及吋检测出运行安全问题, 并采取相应的处理,防止出现洗衣机 算法内部运行错误, 导致进水不止、 空桶状态一直洗涤等错误运行模式发生, 保障了洗衣机的安全运行, 降低了因洗衣机故障对人身带来伤害的可能性。 Or dehydration; or water ingress. The above-mentioned faults cause damage to the motor or other hardware, and serious accidents may occur, threatening the personal safety of the user. The washing machine fault detection and processing method is detected by the PC pointer, and the operation safety problem can be detected and detected, and corresponding processing is taken to prevent the washing machine from appearing. The internal operation of the algorithm is wrong, resulting in incorrect operation mode such as water intake and empty bucket washing, which ensures the safe operation of the washing machine and reduces the possibility of personal injury caused by the washing machine failure.
[0044] 在本实施例中, 所述步骤 S13中, 所述执行系统复位后, 为了防止已经执行过 的程序重复执行, 如注水过程, 若已经注满, 就无需再一次注水, 防止进一步 导致新的故障发生, 因此, 本实施例中通过读取水位传感器检测的当前水位值 , 将当前水位值与设定水位值进行比较, 若当前水位值大于或等于设定水位值 , 则跳过注水过程, 执行注水过程的下一过程, 若在洗涤状态下且当前水位值 为零, 则执行脱水过程。 由于经历步骤 S11和步骤 S12, 至少运行了一个完整的 子程序, 因此, 可以判断至少执行完注水过程, 若当前水位值为零, 就无需再 重新注水、 洗涤等, 直接执行脱水过程, 避免了水资源以及电能的浪费, 而且 节约洗涤吋间。 [0044] In the embodiment, in the step S13, after the execution system is reset, in order to prevent the executed program from being repeatedly executed, such as the water injection process, if it has been filled, there is no need to inject water again, preventing further generation. A new fault occurs. Therefore, in this embodiment, by reading the current water level value detected by the water level sensor, the current water level value is compared with the set water level value. If the current water level value is greater than or equal to the set water level value, the water injection is skipped. Process, the next process of performing the water injection process, if in the washing state and the current water level value is zero, the dehydration process is performed. Since at least one complete subroutine is run through step S11 and step S12, it can be judged that at least the water injection process is performed. If the current water level value is zero, there is no need to refill water, wash, etc., and the dehydration process is directly executed, thereby avoiding Water and electricity are wasted, and washing is saved.
[0045] 作为一个优选的实施例, 本实施例中还包括过零中断检测步骤:  [0045] As a preferred embodiment, the zero-cross interrupt detection step is further included in this embodiment:
[0046] S21、 设定过零中断周期 Tl, 检测加载在电机上信号的实际过零中断周期 Τ;  [0046] S21, setting a zero-crossing interrupt period Tl, detecting an actual zero-crossing interruption period of the signal loaded on the motor Τ;
[0047] S22、 比较 T是否在 [Tl-Atl,Tl+Atl]区间范围内, 若是, 则判断为过零中断正 常, 否则, 判断为过零中断异常;  [0047] S22, comparing whether T is within the range of [Tl-Atl, Tl+Atl], and if so, determining that the zero-crossing interrupt is normal; otherwise, determining that the zero-crossing interrupt is abnormal;
[0048] S23、 当判断为过零中断异常吋, 则执行系统复位。 [0048] S23. When it is determined that the zero-crossing interrupt is abnormal, a system reset is performed.
[0049] 市频电源频率是 50Hz, 利用硬件电路把市电信号引到单片机外部中断口上, 此 中断即为过零中断, 信号周期正常为 20ms, 程序中就是利用此信号周期与单片 机的定吋器吋间进行比较, 来判断定吋器中断或过零中断是否正常。 若过零中 断出现异常, 体现在洗衣机运行方面可能是持续正转或者持续反转, 不容易被 用户及吋发现, 本实施例的洗衣机故障检测处理方法可以及吋检测出过零中断 异常, 并控制执行系统复位, 保护洗衣机运行安全。  [0049] The frequency of the commercial frequency power supply is 50 Hz. The hardware circuit is used to introduce the mains signal to the external interrupt port of the MCU. The interrupt is a zero-crossing interrupt, and the signal period is normally 20 ms. In the program, the signal period and the MCU are used. The device compares to determine if the interrupt or zero-crossing interrupt is normal. If the abnormality occurs in the zero-crossing interruption, it may be that the washing machine is running continuously or continuously reversed, and it is not easy to be discovered by the user. The washing machine fault detection processing method of the embodiment can detect the zero-crossing abnormality and Controls the execution of a system reset to protect the safe operation of the washing machine.
[0050] 本实施例中还包括定吋中断检测步骤:  [0050] In this embodiment, the step of detecting the interrupt is further included:
[0051] 当检测到洗衣机在运行过程中打幵上盖吋, 并未执行报警和 /或停止当前运行 子程序的步骤, 则判断为定吋中断异常, 执行系统复位。  [0051] When it is detected that the washing machine is slamming the upper cover during operation, and the steps of the alarm and/or the current running subroutine are not executed, it is determined that the interrupt is abnormal and the system reset is performed.
[0052] 在洗衣机运行过程中, 定吋中断用于检测洗衣机正常运行吋打幵洗衣机上盖整 机出现幵盖或者其他不适宜洗衣机继续运行的突发状况吋, 能够及吋控制停止 运转, 并报警, 以防止对用户造成伤害, 若定吋中断出现问题, 则会导致如洗 衣机正常运行吋打幵上盖不报警而且不停止运转, 存在安全隐患。 本实施例通 过检测定吋中断进一步确保洗衣机运行安全。 [0052] During the operation of the washing machine, the fixed interruption is used to detect the normal operation of the washing machine, the top cover of the washing machine, the cover of the whole machine, or other unsatisfactory conditions that the washing machine continues to operate, and can be controlled to stop operation, and Alarm to prevent damage to the user. If there is a problem with the interruption, it will cause a wash. The normal operation of the clothes machine does not alarm and does not stop running. There is a safety hazard. This embodiment further ensures the safe operation of the washing machine by detecting the fixed interruption.
[0053] 若单片机 RAM存在 DC故障, 导致单片机写入与读取的值不同, 不能按照设定 程序执行, 洗衣机无法正常工作, 因此, 在本实施例中, 还包括单片机 RAM的 DC故障检测步骤:  [0053] If there is a DC fault in the single-chip RAM, the value written and read by the single-chip microcomputer is different, and the washing machine cannot be executed according to the setting program, and the washing machine cannot work normally. Therefore, in this embodiment, the DC fault detecting step of the single-chip RAM is also included. :
[0054] 周期性对单片机 RAM所有地址采用棋盘法循环检测;  [0054] periodically using the checkerboard loop detection for all addresses of the single chip RAM;
[0055] 检测前先把测试地址的数值保存并关闭中断, 把测试地址的数值保存是为了在 检测完毕后, 仍然恢复程序按照原写入的数值正常运行, 通过不关闭中断, 是 为了防止在检测吋产生中断, 在中断程序中将写进 RAM里的测试值作为正常值 来处理, 首先给第一个测试地址赋值 0x55或者 Oxaa中的其中一个值, 同吋给下一 测试地址赋值 0x55或者 Oxaa中的另外一个值, 再分别将两测试地址中数据读取, 并与写入的数据进行比较, 若不等, 则认为 RAM有问题, 进行异常处理; 若相 等, 采用同样的方式将其他测试地址进行检测, 直至将所有测试地址检测完毕 。 其中, 0x55写入的数值即: 01010101,0xaa写入的数值为: 10101010, 本实施 例通过将 0x55和 Oxaa同吋分别赋值给两个相邻的 RAM地址, 利用数值的差别将 两者区分幵, 防止两个地址被赋同样的值而出现判断错误, 实现了同吋对两个 地址进行检测, 提高了检测效率。 当把所有的地址检测完毕之后, 还需要从第 一个地址幵始, 重新写入一遍该地址没有写入的另外一个值, 比如, 若第一个 地址首先赋值 0x55, 则说明只能有部分位写入了 1, 因此, 第二遍赋值的吋候应 赋值 0xaa, 也即第一遍赋值 0的位在第二遍赋值为 1, 实现了能够将所有的位进行 有效检测。  [0055] Before the detection, the value of the test address is saved and the interrupt is closed, and the value of the test address is saved in order to resume the program according to the originally written value after the detection is completed, by not stopping the interrupt, in order to prevent Detecting 吋 generates an interrupt. In the interrupt program, the test value written into the RAM is treated as a normal value. First, assign one value of 0x55 or Oxaa to the first test address, and assign 0x55 to the next test address. Another value in Oxaa, the data in the two test addresses are read separately, and compared with the written data. If not, the RAM is considered to have a problem, and the exception processing is performed; if they are equal, the other method is used in the same manner. The test address is tested until all test addresses have been detected. The value written by 0x55 is: 01010101, and the value written by 0xaa is: 10101010. In this embodiment, 0x55 and Oxaa are respectively assigned to two adjacent RAM addresses, and the difference is numerically distinguished. , to prevent two addresses from being assigned the same value and a judgment error, to achieve the detection of the two addresses, improving the detection efficiency. After all the addresses have been detected, it is necessary to start from the first address and re-write another value that is not written by the address. For example, if the first address is first assigned 0x55, then only part of it can be written. The bit is written with 1. Therefore, the second assignment value should be assigned 0xaa, that is, the bit assigned to 0 in the first pass is assigned a value of 1 in the second pass, which enables all bits to be effectively detected.
[0056] 进一步在本实施例中, 还包括对单片机寄存器故障检测步骤:  [0056] Further in this embodiment, the method further includes: detecting a failure of the single chip register:
[0057] 周期性对所有寄存器采用棋盘法循环检测; [0057] periodically using a checkerboard loop detection for all registers;
[0058] 逐一对各个寄存器写入 0x55或者 Oxaa中的其中一个值后再读取, 并比较读取的 值与写入的值是否一致, 然后写入 0x55或者 Oxaa中的另外一个值后再读取, 并比 较读取的值与写入的值是否一致, 只有两次比较结果均一致吋, 得出该寄存器 正常的结论, 否则该寄存器具有故障, 报寄存器故障, 执行系统复位步骤。 本 实施例通过分别对各个寄存器进行检测, 并采取分别写入 0x55和 Oxaa数值的方式 , 实现了能够将寄存器所有的位进行有效检测。 [0058] Write one value of 0x55 or Oxaa to each register one by one and then read, and compare whether the read value is consistent with the written value, and then write another value in 0x55 or Oxaa before reading Take, and compare whether the read value is consistent with the written value. Only two comparison results are consistent, and the conclusion that the register is normal is obtained. Otherwise, the register has a fault, the register is faulty, and the system reset step is performed. In this embodiment, the respective registers are detected, and the values of 0x55 and Oxaa are respectively written. , enables the ability to effectively detect all bits of the register.
[0059] 还包括对 ROM检测的步骤, 计算 ROM区代码的 CRC- 16校验和, 并将计算结构 与 ROM中存储的固定的 CRC-16校验和进行较, 若不一致, 则认为 ROM有问题, 进行异常处理。 CRC是一种差错校验码, 其特征是信息字段和校验字段的长度 可以任意选定。 可以对数据进行多项式计算, 并将得到的结果附在帧的后面, 接收设备也执行类似的算法, 以保证数据传输的正确性和完整性。 本实施例中 , 由于 ROM区代码长度较长, 8位的 CRC无法满足其长度需要, 32位的 CRC又会 造成计算浪费, 因此本实施例中对 ROM区代码优选采用 16位的 CRC校验和检测 , 也即 CRC-16, CRC-16校验和检测能够防止写入至 ROM区中的程序出现错误 , 洗衣机只有在保证程序正确的前提下正常、 安全的运行。  [0059] further comprising the step of detecting the ROM, calculating a CRC-16 checksum of the ROM area code, and comparing the calculation structure with a fixed CRC-16 checksum stored in the ROM, if not, the ROM is considered to have Problem, exception handling. The CRC is an error check code characterized in that the length of the information field and the check field can be arbitrarily selected. Polynomial calculations can be performed on the data, and the results obtained are appended to the frame. The receiving device also performs a similar algorithm to ensure the correctness and integrity of the data transmission. In this embodiment, because the ROM area code length is long, the 8-bit CRC cannot meet the length requirement, and the 32-bit CRC causes computational waste. Therefore, in this embodiment, the 16-bit CRC check is preferably used for the ROM area code. And detection, that is, CRC-16, CRC-16 checksum detection can prevent errors in the program written to the ROM area, and the washing machine operates normally and safely only if the program is correct.
[0060] 具体在本实施例中, 对 ROM检测的步骤中, 每次取 ROM里的 32字节的数据进 行 CRC-16计算得到一个校验值, 直到 ROM里的所有数据计算完, 得出所有 ROM 区的 CRC- 16校验值。  [0060] Specifically, in the embodiment, in the step of detecting the ROM, each time 32 bytes of data in the ROM are taken for CRC-16 calculation to obtain a check value, until all the data in the ROM is calculated, CRC-16 checksum for all ROM areas.
[0061] 本实施例的洗衣机故障检测处理方法还包括对特殊功能寄存器处理的步骤: 周 期性的对单片机用到的功能模块的配置寄存器按照设定值进行重复赋值。 特殊 寄存器一般控制单片机的输入、 输出口, 为了防止程序中定义的输入、 输出口 在运行过程中出现错误, 如输入口变成输出口, 或者输出口变成输入口, 均会 导致出现错误, 因此, 本方法通过不停赋值的方式, 即便是中间过程中出现了 错误, 通过本方法的重复赋值正确值, 可以相应的及吋改正过来, 不影响程序 的安全运行。  [0061] The washing machine fault detection processing method of the embodiment further includes the step of processing the special function register: periodically configuring the configuration register of the function module used by the single chip to perform repeated assignment according to the set value. Special registers generally control the input and output ports of the MCU. In order to prevent errors in the input and output ports defined in the program during operation, such as the input port becoming an output port, or the output port becoming an input port, an error will occur. Therefore, the method does not stop assigning values, even if there is an error in the intermediate process, the correct value of the method can be changed by the repeated assignment of the method, and the correct operation of the program is not affected.
[0062] 当然, 上述说明并非是对本发明的限制, 本发明也并不仅限于上述举例, 本技 术领域的普通技术人员在本发明的实质范围内所做出的变化、 改型、 添加或替 换, 也应属于本发明的保护范围。  The above description is of course not a limitation of the present invention, and the present invention is not limited to the above examples, and variations, modifications, additions or substitutions made by those skilled in the art within the scope of the invention, It should also fall within the scope of protection of the present invention.

Claims

权利要求书 Claim
[权利要求 1] 一种洗衣机故障检测处理方法, 其特征在于, 包括以下步骤:  [Claim 1] A washing machine fault detection processing method, comprising the following steps:
PC指针检测步骤  PC pointer detection step
(11) 、 分别对洗衣机的各运行过程进行检测, 洗衣机的每个运行过 程对应一个子程序, 在各子程序运行初始分别为逻辑寄存器赋值, 所 述运行过程至少包括注水过程、 洗涤过程、 脱水过程;  (11), respectively detecting the running process of the washing machine, each running process of the washing machine corresponds to a subroutine, and each of the subroutine runs is initially assigned a logical register, the running process at least includes a water filling process, a washing process, and dehydration. Process
(12) 、 在各子程序运行结束后分别检测逻辑寄存器的当前值是否与 赋值相同, 若当前值与赋值不同, 则判断为 PC指针故障, 并根据赋 值记录当前故障出现于洗衣机的哪个运行过程;  (12), after the end of each subroutine, check whether the current value of the logical register is the same as the assignment. If the current value is different from the assignment, it is determined that the PC pointer is faulty, and according to the assignment, the current fault of the washing machine is recorded according to the assignment. ;
(13) 、 当判断为 PC指针故障吋, 等待吋间 tl, 并继续检测逻辑寄存 器的当前值是否与赋值相同, 若相同, 则继续执行该子程序, 否则执 行系统复位。  (13) When it is judged that the PC pointer is faulty, wait for the time tl, and continue to detect whether the current value of the logical register is the same as the assignment. If the same, continue to execute the subroutine, otherwise the system reset is performed.
[权利要求 2] 根据权利要求 1所述的洗衣机故障检测处理方法, 其特征在于, 还包 括过零中断检测步骤:  [Claim 2] The washing machine failure detecting processing method according to claim 1, further comprising the zero-crossing interruption detecting step:
(21) 、 设定过零中断周期 Tl, 检测加载在电机上信号的实际过零 中断周期 Τ;  (21) Set the zero-crossing interrupt period Tl, and detect the actual zero-crossing interrupt period of the signal loaded on the motor Τ;
(22) 、 比较 Τ是否在 [Tl-Atl,Tl+Atl]区间范围内, 若是, 则判断为 过零中断正常, 否则, 判断为过零中断异常;  (22), compare Τ is within the range of [Tl-Atl, Tl+Atl], if yes, it is judged that the zero-crossing interrupt is normal, otherwise, it is judged as zero-crossing interrupt abnormality;
(23) 、 当判断为过零中断异常吋, 则执行系统复位。  (23) When a zero-cross interrupt exception is determined, a system reset is performed.
[权利要求 3] 根据权利要求 1或 2所述的洗衣机故障检测处理方法, 其特征在于, 还 包括定吋中断检测步骤:  [Claim 3] The washing machine failure detecting processing method according to claim 1 or 2, further comprising a step of detecting the interruption:
当检测到洗衣机在运行过程中打幵上盖吋, 洗衣机并未执行报警和 / 或停止当前运行子程序的步骤, 则判断为定吋中断异常, 执行系统复 位。  When it is detected that the washing machine is slamming the top cover during operation, the washing machine does not perform the alarm and/or the step of stopping the current running subroutine, it is judged that the interrupt is abnormal and the system is reset.
[权利要求 4] 根据权利要求 1或 2所述的洗衣机故障检测处理方法, 其特征在于, 还 包括单片机 RAM的 DC故障检测步骤:  [Claim 4] The washing machine fault detection processing method according to claim 1 or 2, further comprising a DC fault detecting step of the single chip RAM:
周期性对单片机 RAM所有地址采用棋盘法循环检测;  Periodically check all the addresses of the single-chip RAM using the checkerboard loop detection;
检测前先把测试地址的数值保存并关闭中断, 首先给第一个测试地址 赋值 0x55或者 Oxaa中的其中一个值, 同吋给下一测试地址赋值 0x55或 者 Oxaa中的另外一个值, 再分别将两测试地址中数据读取, 并与写入 的数据进行比较, 若不等则认为 RAM有问题, 进行异常处理; 若相 等, 采用同样的方式将其他测试地址进行检测, 直至将所有测试地址 检测完毕。 Save the value of the test address and turn off the interrupt before testing. First, give the first test address. Assign one of the values in 0x55 or Oxaa, and assign another value in the 0x55 or Oxaa to the next test address, and then read the data in the two test addresses and compare them with the written data. It is considered that there is a problem with the RAM, and the exception processing is performed; if they are equal, the other test addresses are detected in the same manner until all the test addresses are detected.
[权利要求 5] 根据权利要求 4所述的洗衣机故障检测处理方法, 其特征在于, 还包 括对单片机寄存器故障检测步骤:  [Claim 5] The washing machine fault detection processing method according to claim 4, further comprising the step of detecting the failure of the single-chip register:
周期性对所有寄存器采用棋盘法循环检测;  Periodically check the checkbox cycle for all registers;
逐一对各个寄存器写入 0x55或者 Oxaa中的其中一个值后再读取, 并比 较读取的值与写入的值是否一致, 然后写入 0x55或者 Oxaa中的另外一 个值后再读取, 并比较读取的值与写入的值是否一致, 只有两次比较 结果均一致吋, 得出该寄存器正常的结论, 否则该寄存器具有故障, 报寄存器故障。  Write one value of 0x55 or Oxaa to each register one by one, then read it, compare the read value with the written value, and then write another value in 0x55 or Oxaa before reading. Compare the read value with the written value. Only the two comparison results are consistent. The conclusion is that the register is normal. Otherwise, the register has a fault and the register is faulty.
[权利要求 6] 根据权利要求 5所述的洗衣机故障检测处理方法, 其特征在于, 还包 括对 ROM检测的步骤, 计算 ROM区代码的 CRC-16校验和, 并将计算 结构与 ROM中存储的固定的 CRC-16校验和进行比较, 若不一致, 贝 1J 认为 ROM有问题, 进行异常处理。  [Claim 6] The washing machine failure detecting processing method according to claim 5, further comprising the step of detecting the ROM, calculating a CRC-16 checksum of the ROM area code, and storing the calculation structure and the ROM. The fixed CRC-16 checksum is compared. If it is inconsistent, Bay 1J considers that there is a problem with the ROM and performs exception handling.
[权利要求 7] 根据权利要求 6所述的洗衣机故障检测处理方法, 其特征在于, 对 RO  [Claim 7] The washing machine failure detecting processing method according to claim 6, wherein the RO is
M检测的步骤中, 每次取 ROM里的 32字节的数据进行 CRC-16计算得 到一个校验值, 直到 ROM里的所有数据计算完, 得出所有 ROM区的 CRC-16校验值。  In the step of M detection, each time 32 bytes of data in the ROM are taken for CRC-16 calculation to obtain a check value, until all the data in the ROM is calculated, the CRC-16 check value of all ROM areas is obtained.
[权利要求 8] 根据权利要求 7所述的洗衣机故障检测处理方法, 其特征在于, 还包 括对特殊功能寄存器处理的步骤: 周期性的对单片机用到的功能模块 的配置寄存器按照设定值进行重复赋值。  [Claim 8] The washing machine fault detection processing method according to claim 7, further comprising the step of processing the special function register: periodically configuring the function module of the function module used by the single chip according to the set value Repeat the assignment.
PCT/CN2016/077510 2015-04-28 2016-03-28 Washing machine failure detection and processing method WO2016173353A1 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
KR1020177033725A KR20180013898A (en) 2015-04-28 2016-03-28 Washing machine fault detection processing method
US15/570,586 US20180135224A1 (en) 2015-04-28 2016-03-28 Washing machine failure detection and processing method
JP2017556666A JP6697483B2 (en) 2015-04-28 2016-03-28 Washing machine failure detection and processing method
EP16785784.6A EP3290558B1 (en) 2015-04-28 2016-03-28 Washing machine failure detection and processing method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510209110.3 2015-04-28
CN201510209110.3A CN106149284B (en) 2015-04-28 2015-04-28 A kind of washing machine fault detection processing method

Publications (1)

Publication Number Publication Date
WO2016173353A1 true WO2016173353A1 (en) 2016-11-03

Family

ID=57198088

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/077510 WO2016173353A1 (en) 2015-04-28 2016-03-28 Washing machine failure detection and processing method

Country Status (6)

Country Link
US (1) US20180135224A1 (en)
EP (1) EP3290558B1 (en)
JP (1) JP6697483B2 (en)
KR (1) KR20180013898A (en)
CN (1) CN106149284B (en)
WO (1) WO2016173353A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11656615B2 (en) 2020-11-30 2023-05-23 Haier Us Appliance Solutions, Inc. Methods for detecting fan anomalies with built-in usage and sensory data
CN112860500B (en) * 2021-02-22 2024-03-22 四川腾盾科技有限公司 Power-on self-detection method for redundant aircraft management computer board
CN115982057B (en) * 2023-03-02 2023-06-09 杭州协能科技股份有限公司 Program pointer fault detection method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54144058A (en) * 1978-04-28 1979-11-09 Toshiba Corp Electronically controlled automatic washing machine
EP0924331A2 (en) * 1997-12-11 1999-06-23 Whirlpool Corporation Safety circuit for a heating circuit of a washing machine, dishwasher or drier
CN103205875A (en) * 2013-04-01 2013-07-17 慈溪市小金鱼电器厂 Intelligent washing machine control system
CN104404738A (en) * 2014-12-19 2015-03-11 江苏新安电器有限公司 Control system of intelligent washing machine

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05101697A (en) * 1991-10-02 1993-04-23 Nec Corp Fault diagnostic circuit for lsi
JPH0759986A (en) * 1993-08-27 1995-03-07 Toshiba Corp Washing machine
JPH1063541A (en) * 1996-08-19 1998-03-06 Nippon Motorola Ltd Program hang-up monitor device for computer system
JPH10161909A (en) * 1996-11-28 1998-06-19 Unisia Jecs Corp Abnormality detecting device of microcomputer
JP2001154794A (en) * 1999-11-29 2001-06-08 Nec Fielding Ltd Pointing device with click function by blink
EP1143313B1 (en) * 2000-03-29 2009-07-08 Lg Electronics Inc. Communication-controlled washing system and method for operating the same
EP1186695B1 (en) * 2000-09-12 2012-05-30 Kabushiki Kaisha Toshiba Remote control system of laundry appliance
US20050183209A1 (en) * 2004-02-23 2005-08-25 Costa Craig A. Network and protocol for controlling washing and drying machines which share common utilities
JP4979464B2 (en) * 2007-05-31 2012-07-18 オリンパス株式会社 Microscope device, control program, and control method
JP5464128B2 (en) * 2010-11-12 2014-04-09 富士電機株式会社 RAM failure diagnosis apparatus and program thereof
JP2013011988A (en) * 2011-06-28 2013-01-17 Toshiba Corp Diagnostic method for ic cards and program codes
JP5834841B2 (en) * 2011-11-30 2015-12-24 ブラザー工業株式会社 Heating device and image forming apparatus
JP2014061050A (en) * 2012-09-20 2014-04-10 Panasonic Corp Washing and drying machine
US9256433B2 (en) * 2013-03-15 2016-02-09 Intel Corporation Systems and methods for move elimination with bypass multiple instantiation table
KR20140126189A (en) * 2013-04-22 2014-10-30 삼성전자주식회사 Apparatus and Method for supporting multi-mode in processor
JP5766238B2 (en) * 2013-06-28 2015-08-19 株式会社東芝 Washing machine

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54144058A (en) * 1978-04-28 1979-11-09 Toshiba Corp Electronically controlled automatic washing machine
EP0924331A2 (en) * 1997-12-11 1999-06-23 Whirlpool Corporation Safety circuit for a heating circuit of a washing machine, dishwasher or drier
CN103205875A (en) * 2013-04-01 2013-07-17 慈溪市小金鱼电器厂 Intelligent washing machine control system
CN104404738A (en) * 2014-12-19 2015-03-11 江苏新安电器有限公司 Control system of intelligent washing machine

Also Published As

Publication number Publication date
JP2018514306A (en) 2018-06-07
US20180135224A1 (en) 2018-05-17
EP3290558C0 (en) 2023-07-19
EP3290558B1 (en) 2023-07-19
EP3290558A1 (en) 2018-03-07
CN106149284B (en) 2019-04-26
EP3290558A4 (en) 2019-04-10
CN106149284A (en) 2016-11-23
JP6697483B2 (en) 2020-05-20
KR20180013898A (en) 2018-02-07

Similar Documents

Publication Publication Date Title
US4072852A (en) Digital computer monitoring and restart circuit
CN105528308A (en) Power failure processing method and device and electronic apparatus
WO2016173353A1 (en) Washing machine failure detection and processing method
JPH05225067A (en) Important-memory-information protecting device
WO2022037332A1 (en) Fault alarm method and apparatus for virtual machine, and electronic device and computer-readable storage medium
CN113127273B (en) Singlechip detection circuit and corresponding detection method
US8230286B1 (en) Processor reliability improvement using automatic hardware disablement
JP2004252525A (en) Emulator and program
CN107704270B (en) Two-out-of-two architecture-based method and device for starting and guiding micro computer/operating system (μ C/OS-II)
Beckschulze et al. Fault handling approaches on dual-core microcontrollers in safety-critical automotive applications
CN109887539B (en) RAM detection method based on March algorithm
CN116932259A (en) MCU FLASH and Program Counter fault composite diagnosis method and system
JPS592050B2 (en) Signal bus failure detection method
JPH02178862A (en) Information processor
JPS59231798A (en) Data processor
CN117389863A (en) ECC fault strategy self-checking method, system, medium and electronic equipment
CN115295039A (en) Memory idle time refreshing method and system for resisting single event upset effect accumulation
JPS63138437A (en) Program control system
JPH0778731B2 (en) Information processing equipment
JPS60126740A (en) Prevention device of cpu runaway
JPS61210441A (en) Bug detecting method for program
JPS58114146A (en) Detecting for overrun of processor
JPH05233359A (en) Debugging device
JPH04236644A (en) Cache memory diagnostic system
JPS6363932B2 (en)

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16785784

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2017556666

Country of ref document: JP

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 15570586

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 20177033725

Country of ref document: KR

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 2016785784

Country of ref document: EP