Claims (1)
마이컴을 이용하여 구동부(BB)을 제어하는 전기세탁기에 있어서. 구형파 발생회로(CC)에 의해 입력되는구형파를 기준으로 동작하는 외부 인터럽트와 소프트웨어에 의한 내부 인터럽트를 사용하여. 입력전원이 정상으로 입력되면 구형파가 20/16.66[m/s]주기로 마이컴 인터럽트 포트로 입력되어 외부 인터럽트가 걸리면 전원회로부(AA)의 최소용량의 전해콘덴서로지연시킬 수 있는 "x"초 이상 순간 정전되었을 경우 이를 카운트하는 램1(RAM 1)을 초기화하는 단계와, 임의의 다른 램에서 순간정전이 되어서 구동부(BB)를 오프시켰는지의 여부를표시하는 한 비트(BIT)가 1인가를 체크하는 단계와, 정상전원이 입력되면 이 비트(BIT)가 "0"이므로 구동부(BB)제어 및 다른루틴을 수행한 다음 다시 주장치로 복귀시키는 단계와,비트가 "1"이 되면 오동작으로 인터럽트가 수행되는것을 방지하기 위하여 "M"초동안 계속 전원이 인가되고 있는가를 체크하는 단계와, 이때 램 2(RAM 2)가 "M"초가 안되었으면 노이즈에 의한 오동작일지 모르므로 램 2(RAM 2)를 "1"씩 증가시키는 단계와, 전구동부(BB)를 오프시키고 메인루틴으로 복귀시키는 단계와, 램 2(RAM)가 "M"초가 되도록 전원이 정상으로입력되어 계속 외부 인터럽트가 걸리면 전원이 정상이므로 램 2(RAM 2)를 클리어하는 단계와, 이어서 구동부오프표시비트를 클리어하고 구동부 제어 및 다른루틴 수행을 하는 단계로 보내는 단계를 포함하여 이루어진 외부인터럽트와 구동부(BB) 오프표시비트가 "1"인가를 체크하는 단계와, 이 비트가 0이면 정상동작중이므로 램 1(RAM 1)이 "X"초 인가를 체크하는 단계와, "X"초가 않되었으면 램 1(RAM 1)을 "1"씩 증가시키는 단계와,디스플레이등 다른루틴을 수행하고 메인루틴으로복귀하는 단계와, 램 1(RAM 1)이 "X"초가 되면 확실히 순간정전이므로 구동부(BB)오프표시 비트를 "1"로 셋트하는 단계와, 이를 다시 이용하기 위하여 램 1(RAM 1)을 클리어하는 단계와, 전구동부를 오프시키고 메인루틴으로 복귀시키는 단계로포함된 내부 인터럽트로 구성됨을 특징으로 하는 전기세탁기의 순간정전시 오동작 방지회로.In an electric washing machine for controlling the drive unit BB using a microcomputer. Using the external interrupt operated by the square wave input by the square wave generator circuit (CC) and the internal interrupt by software. When the input power is normally input, the square wave is input to the microcomputer interrupt port at 20 / 16.66 [m / s] cycle, and when an external interrupt is applied, the moment is "x" seconds or more that can be delayed by the electrolytic capacitor of the minimum capacity of the power supply circuit (AA). Initializing RAM 1 that counts when power failure occurs, and checks whether a bit BIT indicating whether the driver BB is turned off due to a momentary power failure in any other RAM is checked. And if the normal power is input, this bit is “0”. Then, control the drive BB and perform another routine, and then return to the main device again. If the bit is “1”, the interrupt occurs due to malfunction. Checking if the power is continuously applied for "M" seconds to prevent it from being performed, and if RAM 2 is not "M" seconds, it may be a malfunction due to noise. Increment by "1" And turning off the light bulb eastern part BB and returning to the main routine, and if the power is normally input so that the RAM 2 becomes "M" seconds and the external interrupt continues, the power is normal. Checking whether the external interrupt and the drive (BB) off display bit are "1", including clearing, and then clearing the drive off display bit and sending it to the step of controlling the drive and performing other routines. If this bit is 0, it is normal operation. Then, RAM 1 checks whether "X" second is applied, and if it is not "X" second, increases RAM 1 by "1" and displays Performing other routines and returning to the main routine, and setting the drive (BB) off indication bit to "1" since RAM 1 is "X" seconds. Clearing RAM 1 in order to And an internal interrupt included in turning off the bulb east and returning to the main routine.
※ 참고사항 : 최초출원 내용에 의하여 공개하는 것임.※ Note: The disclosure is based on the initial application.