KR930008565B1 - Operating control method of machinery - Google Patents

Operating control method of machinery Download PDF

Info

Publication number
KR930008565B1
KR930008565B1 KR1019900012400A KR900012400A KR930008565B1 KR 930008565 B1 KR930008565 B1 KR 930008565B1 KR 1019900012400 A KR1019900012400 A KR 1019900012400A KR 900012400 A KR900012400 A KR 900012400A KR 930008565 B1 KR930008565 B1 KR 930008565B1
Authority
KR
South Korea
Prior art keywords
program
level
signal
monitoring signal
inverting
Prior art date
Application number
KR1019900012400A
Other languages
Korean (ko)
Other versions
KR910006810A (en
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 린나이 코리아 주식회사
Publication of KR910006810A publication Critical patent/KR910006810A/en
Application granted granted Critical
Publication of KR930008565B1 publication Critical patent/KR930008565B1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B11/00Automatic controllers
    • G05B11/01Automatic controllers electric

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Debugging And Monitoring (AREA)
  • Testing And Monitoring For Control Systems (AREA)
  • Programmable Controllers (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The machine operation controlling method by a main processing program formed of plural modules built in a microcomputer includes the steps of inverting the level of an operation monitor signal to first and second level according to first and second WD program arranged between different modules for supplying the operation monitor signal of the microcomputer to the microcomputer, supplying a signal for satisfying a condition to invert the level of the monitor signal from the first to second level by the second WD (watch dog) program according to a first check program, supplying a signal for satisfying a condition to invert the level of the monitor signal from the second to first level by the first WD program, starting to count time by sensing the inversion of the monitor signal from the second to first level, and supplying a reset signal to a reset terminal of the microcomputer when the counted time exceeds a predetermined time, thereby improving reliability.

Description

기기동작 제어방법Device operation control method

제 1 도는 본 발명의 실시예를 나타낸 가스급탕 목욕탕 시스템에 있어서의 리모콘의 제어계통의 구성을 나타낸 블럭도.1 is a block diagram showing the configuration of the control system of the remote control in the gas hot water bath system according to the embodiment of the present invention.

제 2 도는 본 실시예의 리모콘에 있어서의 감시장치 타이머 회로를 나타낸 회로도.2 is a circuit diagram showing a monitoring device timer circuit in the remote control of this embodiment.

제 3 도는 본 실시예의 리모콘에 있어서의 메모리에 기억된 시스템 프로그램의 구성을 나타낸 도.3 is a diagram showing the configuration of a system program stored in a memory of the remote control of this embodiment.

제 4 도는 본 실시예의 리모콘에 있어서의 제 1 체크프로그램에 의한 동작을 나타낸 플로우챠트.4 is a flowchart showing the operation by the first check program in the remote control of this embodiment.

제 5 도는 본 실시예의 제 2 체크프로그램에 의한 동작을 나타낸 플로우챠트도.5 is a flowchart showing the operation by the second check program of this embodiment.

제 6 도는 본 실시예의 리모콘의 동작을 나타낸 플로우챠트도이다.6 is a flowchart showing the operation of the remote controller of this embodiment.

* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings

10 : 리모콘(제어장치) 15a : 타이머부(타이머회로)10: remote controller (control device) 15a: timer unit (timer circuit)

15b : 리세트 회로 16 : 출력동작설정 프로그램(설정프로그램)15b: Reset circuit 16: Output operation setting program (setting program)

30 : 반주문 LSI(마이크로 컴퓨터)30: Semi-Order LSI (Microcomputer)

32 : RAM 51a : 주처리 프로그램32: RAM 51a: main processing program

50b : 인터럽트 프로그램(인터럽트처리 프로그램)50b: interrupt program (interrupt processing program)

61∼65 : WD 카운터 증가 프로그램(체크 포인트)61-65: WD counter increment program (check point)

66 : 제 1 체크프로그램(WD 프로그램)66: first check program (WD program)

67 : 제 2 체크프로그램(WD 프로그램)67: second check program (WD program)

본 발명은 감시장치(Watchdog) 타이머(이하 WD 타이머라 함) 회로를 구비한 마이크로 컴퓨터를 이용한 기기동작 제어방법에 관한 것이다.The present invention relates to a device operation control method using a microcomputer having a watchdog timer (hereinafter referred to as a WD timer) circuit.

마이크로 컴퓨터를 이용한 기기동작 제어방법에서는 오동작에 대한 대책이 강구되어 있고, 그 하나로서 입력신호가 하이레벨 또는 로우레벨에 고정되었을 때, 리세트 신호를 출력하는 WD 타이머 회로를 구비한 것이다.In a device operation control method using a microcomputer, countermeasures against malfunctions are taken, and one of them includes a WD timer circuit that outputs a reset signal when an input signal is fixed at a high level or a low level.

이러한 제어방법에서는 제어프로그램중에 마이크로 컴퓨터로부터 하이레벨을 출력하기 위한 프로그램(모듈)과 로우레벨을 출력하기 위한 프로그램(모듈)을 조립해 두고, 제어프로그램의 실행에 있어서 동일부분이 반복 트레이스되어, WD 타이머 회로에의 출력이 하이레벨 또는 로우레벨의 어느하나에 고정되었을 경우에 WD 타이머 회로로부터 마이크로 프로세서의 리세스 단자에 신호를 송출시키고 있다.In this control method, a program (module) for outputting a high level and a program (module) for outputting a low level are assembled in a control program, and the same part is repeatedly traced in the execution of the control program. When the output to the timer circuit is fixed at either the high level or the low level, a signal is sent from the WD timer circuit to the recess terminal of the microprocessor.

이 경우, 하이레벨을 출력하는 모듈과 로우레벨을 출력하는 모듈이 서로 제어 프로그램중의 떨어진 곳에 배치되어 있다.In this case, the module for outputting the high level and the module for outputting the low level are arranged at a distance from each other in the control program.

또, 하이레벨 또는 로우레벨의 출력을 지시하기 위한 정보는 RAM 에 플래그로서 기억되어 있다.Moreover, the information for instructing the high level or low level output is stored as a flag in RAM.

그러나, 이와 같은 것에서는 제어 프로그램을 완전히 트레이스 할 수 없어도 각 레벨을 출력하기 위한 모듈이 교대로 트레이스 되면, WD 타이머회로가 리세트 신호를 송출하는 일이 없어지기 때문에 작동상태에 따라서는 이상 작동임에도 불구하고 마이크로 컴퓨터를 리세트할 수 없는 경우가 발생할 가능성이 있다.However, in such a case, if the module for outputting each level is alternately traced even if the control program cannot be completely traced, the WD timer circuit does not transmit the reset signal, so it may be abnormal depending on the operating state. Nevertheless, there is a possibility that a microcomputer cannot be reset.

또 WD 타이머 회로에는 출력정보는 플래그 즉 1 비트의 정보로 기억되어 있기 때문에 신뢰성이 낮고, 만일 RAM에 이상이 발생했을 경우에 그것을 발견하기 어려운 문제가 있다.In addition, since the output information is stored in the WD timer circuit as a flag, that is, one bit of information, the reliability is low, and there is a problem that it is difficult to find it when an abnormality occurs in RAM.

본 발명은 WD 타이머 회로를 구비한 마이크로 컴퓨터에 의한 기기동작 제어방법으로서, 그 신뢰성을 향상시키는 것을 목적으로 한다.An object of the present invention is to control a device operation by a microcomputer having a WD timer circuit, and to improve its reliability.

청구항 1의 발명은 복수의 모듈로 구성되어 마이크로 컴퓨터내에 내장된 주처리프로그램에 의하여 기기의 동작을 제어하는 기기동작 제어방법에 있어서, 상기 주처리프로그램내 상기 복수의 각기 상이한 모듈들 사이에 배치되어 상기 마이크로 컴퓨터의 동작감시신호를 상기 마이크로 컴퓨터로부터 송출시키는 제 1 및 제 2 WD 프로그램에 의하여 상기 감시신호의 레벨을 각기 상반되는 제 1 레벨과 제 2 레벨로 각각 반전시키는 단계 ; 상기 제 1 WD 프로그램으로부터 상기 제 2 WD 프로그램까지의 사이에서 상기 주처리프로그램에 각기 상이한 모듈 사이의 다른 부분에 배치된 제 1 체크프로그램에 의하여, 상기 제 2 WD 프로그램이 상기 감시 신호를 제 1 레벨로부터 제 2 레벨로 반전시키는 조건을 만족시키는 신호를 제공하는 단계 ; 상기 제 2 WD 프로그램으로부터 상기 제 1 WD 프로그램까지의 사이에서 상기 주처리프로그램의 각기 상이한 모듈사이의 다른 부분에 배치된 제 2 체크프로그램에 의하여, 상기 제 1 WD 프로그램이 상기 감시신호를 제 2 레벨로부터 제 1 레벨로 반전시키는 조건을 만족시키는 신호를 제공하는 단계 ; 상기 감시신호가 제 2 레벨로부터 제 1 레벨로 반전되는 것을 검지하여 시간의 계수를 개시하는 단계 ; 및 상기 계수시간이 소정의 시간은 초과하였을 때 상기 마이크로 컴퓨터의 리셋트단자에 리셋트신호를 송출하는 단계를 포함하는 것을 기술적 수단으로 한다.The invention of claim 1 is a device operation control method for controlling the operation of a device by means of a main processing program built in a microcomputer comprising a plurality of modules, the main processing program being arranged between the plurality of different modules in the main processing program. Inverting the level of the monitoring signal to the first and second levels which are opposite to each other by first and second WD programs for transmitting the operation monitoring signal of the microcomputer from the microcomputer; The first WD program causes the supervisory signal to first level the monitoring signal by means of a first check program disposed between different modules in the main processing program from the first WD program to the second WD program. Providing a signal that satisfies a condition for inverting from the to the second level; The first WD program sets the monitoring signal to a second level by means of a second check program disposed between different modules of the main processing program between the second WD program and the first WD program. Providing a signal that satisfies a condition for inverting from the first level to a first level; Detecting the inversion of the monitoring signal from the second level to the first level and starting a count of time; And transmitting a reset signal to a reset terminal of the microcomputer when the counting time exceeds a predetermined time.

청구항 2의 발명은 청구항 1의 발명에 있어서 상가 제 1 및 제 2 의 WD 프로그램은 상기 주 프로그램에 대하여 시계 기구에 의해 내부 인터럽트하는 인터럽트 처리 프로그램을 구비하고, 상기 감시신호를 각각 반전시키는 출력동작의 설정 프로그램이 상기 인터럽트 처리 프로그램내에 마련된 것을 기술적 수단으로 한다.The invention of claim 2 is that, in the invention of claim 1, the first and second WD programs are provided with an interrupt processing program which internally interrupts the main program by a clock mechanism. It is assumed that the setting program is provided in the interrupt processing program as a technical means.

청구항 3의 발명은 청구항 1 또는 2의 발명에 있어서, 상기 제 1 및 제 2 의 WD 프로그램은, 상기 제 2 WD 프로그램의 실행으로부터 상기 제 1 WD 프로그램의 실행까지의 경과시간, 또는 상기 제 1 WD 프로그램의 실행으로부터 상기 제 2 WD 프로그램의 실행까지의 경과시간이 각각 소정시간 이내인지 여부를 판별하여, 상기 소정시간을 초과했을 경우에는 상기 감시신호의 레벨의 반전동작을 행하지 않는 것을 기술적 수단으로 한다.The invention of claim 3 is the invention of claim 1 or 2, wherein the first and second WD programs are elapsed time from execution of the second WD program to execution of the first WD program, or the first WD. The technical means is to determine whether the elapsed time from the execution of the program to the execution of the second WD program is within a predetermined time, and not to invert the level of the monitoring signal when the predetermined time is exceeded. .

청구항 4의 발명은 복수의 모듈로 구성되어 있으며 마이크로 컴퓨터내에 내장된 주처리프로그램에 의하여 기기의 동작을 제어하는 기기동작 제어방법에 있어서, 상기 주처리프로그램내 상기 복수의 각기 상이한 모듈들 사이에 배치되어 상기 마이크로 컴퓨터의 동작감시신호를 상기 마이크로 컴퓨터로부터 송출시키는 제 1 및 제 2 WD 프로그램에 의하여 상기 감시신호의 레벨을 각기 상반되는 제 1 레벨과 제 2 레벨로 각각 반전시키는 단계 ; 상기 제 1 WD 프로그램으로부터 상기 제 2 WD 프로그램까지의 사이에서 상기 주처리프로그램의 각기 상이한 모듈 사이의 다른 부분에 배치된 제 1 체크프로그램에 의하여, 상기 제 2 WD 프로그램이 상기 감시신호를 제 1 레벨로부터 제 2 레벨로 반전시키는 조건을 만족시키는 신호를 복수비트의 워드데이타로서 제공하는 단계 ; 상기 제 2 WD 프로그램로부터 상기 제 1 WD 프로그램까지의 사이에서 상기 주처리프로그램의 각기 상이한 모듈사이의 다른 부분에 배치된 제 2 체크프로그램에 의하여, 상기 제 1 WD 프로그램이 상기 감시신호를 제 2 레벨로부터 제 1 레벨로 반전시키는 조건을 만족시키는 신호를 복수비트의 워드데이타로서 제공하는 단계 ; 상기 감시신호가 제 2 레벨로부터 제 1 레벨로 반전되는 것을 검지하여 시간의 계수를 개시하는 단계 ; 및 상기 계수시간이 소정의 시간을 초과하였을 때 상기 마이크로 컴퓨터의 리셋트단자에 리셋트신호를 송출하는 단계를 포함하는 것을 특징으로 하는 기기동작 제어방법을 기술적 수단으로 한다.The invention of claim 4 is a device operation control method comprising a plurality of modules and controlling the operation of the device by means of a main processing program embedded in a microcomputer, wherein the plurality of modules are arranged between the plurality of different modules in the main processing program. And inverting the level of the monitoring signal to the first and second levels respectively opposite by the first and second WD programs for transmitting the operation monitoring signal of the microcomputer from the microcomputer; The first WD program causes the monitoring signal to first level by a first check program disposed between different modules of the main processing program from the first WD program to the second WD program. Providing a signal satisfying a condition for inverting from the second level to the second level as a plurality of bits of word data; The first WD program sets the monitoring signal to the second level by a second check program disposed between different modules of the main processing program from the second WD program to the first WD program. Providing a signal satisfying a condition for inverting from the first level to the first level as a plurality of bits of word data; Detecting the inversion of the monitoring signal from the second level to the first level and starting a count of time; And transmitting a reset signal to a reset terminal of the microcomputer when the counting time exceeds a predetermined time.

본 발명의 청구항 1의 발명에서는 각 모듈이 트레이스된 순서가 판별되기 때문에, 각 모듈간의 체크 포인트중 트레이스 되지 않는 것이 있었거나 트레이스의 순서가 틀렸을 경우에는 이상상태로서 검지되고, 그에 따라 마이크로 컴퓨터가 리세트 된다.In the invention of claim 1 of the present invention, since the order in which each module is traced is determined, when the check points between the modules are not traced or the order of the traces is incorrect, the microcomputer detects an abnormal state. Is set.

또 청구항 2의 발명에서는 정상 작동시에는 시계기구의 신호에 의하여 인터럽트 처리가 행해지면, 출력동작을 위한 설정이 행해지지만 시계기구에 의한 정상적인 인터럽터 처리가 행해지지 않는 이상 경우에는 출력동작이 정지되어 버리기 때문에 출력이 고정된다. 따라서 타이머 회로에 의한 동일 출력의 계시시간이 소정시간 이상이 되어, 리세트 회로에 의한 리세트가 행해진다.In the invention of claim 2, if interrupt processing is performed by a signal of a clock mechanism during normal operation, setting for output operation is made, but the output operation is stopped unless normal interrupter processing by the clock mechanism is performed. The output is fixed. Therefore, the time of the same output by the timer circuit is equal to or longer than the predetermined time, and the reset by the reset circuit is performed.

또, 청구항 3의 발명에서는 체크포인트 간의 경과 시간이 소정시간 이내인지의 여부가 판별되기 때문에, 예를 들면 각 모듈 또는 그 일부가 정상적으로 트레이스 되지 않고 반복하여 트레이스 되었을 경우에는 계시시간이 길어져 이상이 검출된다.Further, in the invention of claim 3, it is determined whether the elapsed time between checkpoints is within a predetermined time. For example, when each module or a part thereof is repeatedly traced without being normally traced, the counting time becomes longer and an abnormality is detected. do.

한편 청구항 4의 발명에서는 출력정보가 워드 데이터로서 RAM에 기억되기 때문에 RAM에 이상이 있어 잘못하여 정보가 기억되면, 출력동작이 행해지지 않는다. 따라서, 출력이 고정되어 리세트가 행해진다.On the other hand, in the invention of claim 4, since the output information is stored in the RAM as word data, if the RAM is abnormal and the information is stored incorrectly, the output operation is not performed. Therefore, the output is fixed and reset is performed.

청구항 1의 발명에서는 각 출력을 위한 WD 프로그램이 트레이스 되어 있어도, 다른 부분에서 트레이스 순서의 이상, 트레이스 누락등의 이상이 있었을 경우에 WD 타이머 회로가 작동하여 마이크로 컴퓨터를 리세트하기 때문에 종래에 비하여 이상동작을 발견하기 쉽다.In the invention of claim 1, even if the WD program for each output is traced, the WD timer circuit operates and resets the microcomputer when there is an abnormality in the trace sequence, a missing trace, or the like in another part. Easy to find action

청구항 2의 발명에서는 주처리 프로그램이 정상적으로 트레이스 되고 있어도, 클럭등의 시계기구에 의한 외부 인터럽트가 정상적으로 행해지지 않는 경우에는 마이크로 컴퓨터가 리세트되기 때문에, 이상동작을 더욱 발견하기 쉽다.In the invention of claim 2, even if the main processing program is normally traced, when an external interrupt by a clock mechanism such as a clock is not normally performed, the microcomputer is reset, thus making it easier to detect abnormal operation.

청구항 3의 발명에서는 트레이스 이상에 의하여 주처리 프로그램의 일부만을 반복하여 트레이스 하여, 그 후 자동적으로 다음의 모듈등에 이행하여 버리는 것과 같은 이상이 있었을 경우에 그것을 감지할 수가 있다.According to the invention of claim 3, when a part of the main processing program is traced repeatedly by a trace error and then automatically shifted to the next module or the like, it can be detected.

청구항 4의 발명에서는 트레이스 이상과는 달리 RAM에 이상이 있는 경우에 그것을 검지할 수 있다.In the invention of claim 4, unlike the trace error, when there is an error in the RAM, it can be detected.

다음에 본 발명을 가스급탕 목욕탕 시스템(1)에 있어서 리모트 콘트롤러로서의 메인 리모콘(10) 밑 목욕탕 리모콘(20)에 각각 적용한 실시예에 의거하여 설명한다.Next, this invention is demonstrated based on the Example which applied to the bath remote control 20 under the main remote control 10 as a remote controller in the gas hot water bath system 1, respectively.

이 가스급탕 목욕탕 시스템(1)은 송풍기를 구비한 버너의 연소열에 의하여 수관식의 열교환기를 가열하여 급탕을 행함과 동시에 욕조에의 자동 탕수 채우기 기능, 욕조내의 탕수를 펌프에 의하여 순환시켜 별도로 설치된 목욕탕 버너에 의한 자동 추가 가열기능 및 욕조내의 수위 저하기에 탕수를 추가하는 자동 탕수추가 기능을 구비한 복합 급탕장치이고, 제어장치(2)에 의하여 송풍기 및 비례밸브 등을 제어하여 버너의 연소량 및 연소시간을 조절함과 동시에 순환용 펌프 및 수관중에 배치된 전환밸브 및 개폐밸브를 제어한다.This gas hot water bath system (1) is a hot water bath that is heated by the combustion heat of a burner equipped with a blower to heat the water pipe type heat exchanger to perform hot water supply, and to automatically fill the hot water into the bathtub, and to circulate the hot water in the bathtub by a pump. It is a composite hot water supply device with automatic additional heating function by the burner and automatic hot water adding function to add hot water to the water level in the bathtub, and controlling the blower and the proportional valve by the control device (2) to burn and burn the burner. At the same time, it controls the switching valve and on / off valve arranged in the circulation pump and water pipe.

제어장치(2)에는 제 1 도에 나타낸 바와 같이 주 리모콘(10)과 목욕탕 리모콘(20)이 접속되고, 각 리모콘으로부터의 신호에 따라 가스급탕 목욕탕 시스템(1)을 운전한다.As shown in FIG. 1, the main remote control 10 and the bathroom remote control 20 are connected to the control apparatus 2, and the gas hot water bath system 1 is operated according to the signal from each remote control.

주리모콘(10)은 주로 부엌같은 조작이 용이한 장소에 고정되고, 목욕탕 리모콘(20)은 주로 욕실내와 같이 다른 장소에 대하여 우선적인 조작을 필요로 하는 장소에 고정되고, 각 리모콘(10, 20)은 가스급탕 목욕탕시스템(1)의 제어장치(2)와의 사이를 2 개의 전선으로 각각 서로 병렬로 접속되어 제어장치(2)와의 사이에서 신호의 전송을 행하여, 가스급탕 목욕탕 시스템(1)의 운전상태를 설정하고, 그 내용을 표시함과 동시에 운전상태에 따라 운전내용을 표시한다.The main remote controller 10 is mainly fixed to a place where operation is easy, such as a kitchen, and the bathroom remote control 20 is fixed to a place requiring preferential operation with respect to other places, such as a bathroom, respectively. 20 is connected to the control device 2 of the gas hot water bath system 1 in parallel with each other by two wires, and transmits a signal between the control device 2 and the gas hot water bath system 1. Set the operation status of, display the contents and display the operation contents according to the operation status.

각 리모콘(10, 20)은 각각 스위치 군(11, 21), 표시회로(12, 22), 통신 인터페이스(14, 24)의 각 회로와, 각 리모콘의 중심이 되는 반주문 LSI(30, 40)와, 이에 부수된 회로로 이루어진다.Each of the remote controllers 10 and 20 is a circuit of the switch groups 11 and 21, the display circuits 12 and 22, and the communication interfaces 14 and 24, respectively, and the semi-order LSIs 30 and 40 which are the centers of the remote controllers. ) And a circuit attached thereto.

이하 주리모콘(10)에 대하여 설명하지만, 목욕탕 리모콘에 있어서도 동일하기 때문에 목욕탕 리모콘(20)에 대해서는 설명을 생략한다.Although the main remote control 10 is demonstrated below, since it is the same also in the bathroom remote control, description is abbreviate | omitted about the bathroom remote control 20. FIG.

스위치 군(11)은 제어장치(2)에 대하여 출탕 온도의 설정, 탕수 채우기의 설정, 추가 가열의 설정, 급탕량(탕수 채우기량)의 설정, 급탕개시 시각의 설정등의 각종의 설정 및 운전상태의 지시등의 필요한 신호를 가하기 위한 복수의 스위치로 이루어지고, 매트릭스 회로를 거쳐 반주문 LSI(30)와 각각 접속된다.The switch group 11 performs various settings and operations such as setting the tapping temperature, setting the hot water filling, setting additional heating, setting the hot water supply amount (water filling amount), setting the start time of the hot water supply, and the like for the control device 2. It consists of a plurality of switches for applying necessary signals such as status indicators, and is connected to the semi-order LSI 30 via a matrix circuit, respectively.

또 목욕탕 리모콘(20)의 스위치 군(21)에는 스위치 군(11)의 각 스위치에 부가하여 더 우선적으로 조작을 행하기 위한 우선 스위치가 설치되어 있다.In addition, the switch group 21 of the bathroom remote control 20 is provided with a priority switch for performing the operation more preferentially in addition to each switch of the switch group 11.

표시회로(12)는 설정온도등의 설정상태 및 운전 상태등을 LED 표시부에 표시하기 위한 회로이다. LED 표시부에는 설정온도를 표시하기 위한 7세그먼트 형의 LED와, 운전, 연소를 점등 표시하기 위한 포인트 형의 LED가 있다.The display circuit 12 is a circuit for displaying the set state of the set temperature lamp and the operation state lamp on the LED display unit. The LED display section includes a 7-segment type LED for displaying the set temperature and a point type LED for lighting the operation and combustion.

통신 인터페이스(14)는 각 리모콘의 스위치 군 (11)에 의한 조작신호에 의거하여 각각 작성된 병렬비트의 설정용 데이터를 직렬비트의 통신용 데이터로 변환하여 송출하고, 제어장치(2) 및 다른쪽의 리모콘에 전송한다. 또 다른쪽의 리모콘에 의한 직렬비트의 통신용 데이터를 수신했을 경우에는 그것을 병렬비트의 설정용 데이터로 변환한다.The communication interface 14 converts and transmits the parallel bit setting data created on the basis of the operation signal by the switch group 11 of each remote controller into serial bit communication data, and transmits the data to the control device 2 and the other. Send to the remote control. When the other remote controller receives the serial bit communication data, it converts it to the parallel bit setting data.

반주문 LSI(30)는 프로그램 가능 논리회로 소자로서 설치된 논리 LSI 이고, 중앙처리부(CPU) (31), 메모리(32), 입출력부(33)를 주구성으로 하고, 도시하지 않은 클럭발생회로와 제 2 도에 나타낸 WD 타이머회로(15)를 구비하고 있다.The semi-order LSI 30 is a logic LSI provided as a programmable logic circuit element, and has a central processing unit (CPU) 31, a memory 32, and an input / output unit 33 as main components, and a clock generation circuit (not shown). The WD timer circuit 15 shown in FIG. 2 is provided.

메모리(32)는 불휘발성 메모리 ROM과, 논리연산에 필요한 데이터를 일시 기억하는 RAM 으로 이루어지고, ROM 내에는 리모콘에 필요한 제어를 행하기 위한나 제어 데이터를 포함하는 시스템 프로그램(50)이 기억되어 있다.The memory 32 is composed of a nonvolatile memory ROM and a RAM for temporarily storing data necessary for logical operation. In the ROM, a system program 50 for performing a control necessary for a remote controller or including control data is stored. have.

이 시스템 프로그램(50)에는 제 3 도에 나타낸 바와 같이 설정상태의 모드 변경등의 처리를 위한 모드 처리 프로그램(51), 표시회로(12)의 LED 및 7 세그먼트 LED를 각각 구동하기 위한 7 세그먼트 출력 프로그램 (52) 및 LED 출력 프로그램(53), 통신 인터페이스(14)에 수신된 신호를 처리하기위한 수신 데이터 편집 프로그램(54), 스위치군(11)에 의한 설정에 대응하여 설정신호등을 송신하기 위한 송신처리 프로그램(55), 또 에러가 발생했을 경우의 처리를 행하기위한 에러처리 프로그램(56)의 각 프로그램이 각각 모듈로 설치되어 있다.As shown in FIG. 3, the system program 50 has a seven-segment output for driving a mode processing program 51 for processing a mode change in a set state, an LED of the display circuit 12, and a seven-segment LED, respectively. The program 52 and the LED output program 53, the reception data editing program 54 for processing the signal received by the communication interface 14, and the setting signal for transmitting the setting signal in response to the setting by the switch group 11 Each program of the transmission processing program 55 and the error processing program 56 for processing when an error occurs is provided as a module.

또 이들의 각 프로그램의 사이에는 각 프로그램의 모듈이 각각 트레이스 되었을 경우에는 그것에 연속하여 반드시 트레이스 되도록 작성된 체크 포인트로서 WD 카운터를 증가시키는 WD 카운터 증가 프로그램 (61∼65)이 설치되고, 다시 WD 카운터 증가 프로그램(63, 65)에는 각 WD 카운터 증가 프로그램(63, 65)에 이어서 마찬가지로 트레이스되는 제 1 체크프로그램(66), 제 2 체크프로그램(67)이 WD 프로그램으로서 설치되어 있다.In between each of these programs, a WD counter increment program (61 to 65) for incrementing the WD counter as a check point written to be continuously traced when a module of each program is traced separately is installed. In the programs 63 and 65, the first check program 66 and the second check program 67 which are similarly traced after the respective WD counter increment programs 63 and 65 are provided as WD programs.

시스템 프로그램(50)에 있어서는 이상의 프로그램(51∼56, 61∼67)을 주처리 프로그램(50a)으로 하고 있고, 그외에 클럭 발생회로의 신호에 의거하여 소정시간(T)간격으로 주처리 프로그램(50a)에 대하여 인터럽트를 행하는 인터럽트 루틴 프로그램(50b)이 있다.In the system program 50, the above programs 51 to 56 and 61 to 67 are used as the main processing program 50a. In addition, the main processing program (at intervals of a predetermined time T) is based on the signal of the clock generation circuit. There is an interrupt routine program 50b which interrupts 50a).

제 1 체크프로그램(66)은 시스템 프로그램(50)내의 모드 처리 프로그램(51)으로부터 WD 카운터 증가 프로그램(63)까지의 트레이스가 정확하게 행해졌는지 여부를 판별하기 위한 WD 프로그램, 제 4 도에 나타낸 바와 같이 다음의 처리를 행한다.The first check program 66 is a WD program for determining whether the trace from the mode processing program 51 to the WD counter increment program 63 in the system program 50 has been correctly performed, as shown in FIG. The following processing is performed.

제 1 체크프로그램(66)에의 트레이스가 개시되면 에러세트되어 있는지 여부가 판별되고, 에로세트 되어 있지 않은 경우(스텝 1에 있어서 NO)에는, WD 카운터가「3」인지 여부가 판별된다.When the trace to the first check program 66 is started, it is determined whether or not an error is set, and when not set (NO in step 1), it is determined whether or not the WD counter is "3".

WD 카운터가「3」인 경우(스텝 2에서 YES)에는, 적어도 모드 처리 프로그램(51)으로부터 WD 카운터 증가 프로그램(63)까지의 트레이스가 정확한 순서로 행해졌음을 나타내는 것이기 때문에 다음의 판별로서 모드처리 프로그램(51)의 트레이스가 개시되고 부터의 경과시간(t1)이 50mS 이하인지 여부가 판별된다(스텝 3).If the WD counter is "3" (YES in step 2), it indicates that at least the trace from the mode processing program 51 to the WD counter increment program 63 has been performed in the correct order. It is determined whether or not the elapsed time t1 from the start of the trace of the program 51 is 50 mS or less (step 3).

여기서는 모드처리 프로그램(51)내지 WD 카운터 증가 프로그램(63)까지의 트레이스에 필요한 시간은 정상적으로는 20∼30 수 mS 정도이기 때문에 예를 들면 어떤 모듈만을 잘못으로 반복하여 트레이스 했을 경우에는 경과시간(t1)이 길어지므로 이상으로 판별할 수가 있다. WD 카운터가「3」이 아닌 경우(스텝 2에서 NO)이거나, 경과시간(t1)이 50mS를 초과하는 겨우(스텝 3에서 NO)에는 각각 이상으로 판별되어 에러세트 된다(스텝 4).Since the time required for tracing from the mode processing program 51 to the WD counter increment program 63 is normally about 20 to 30 mS, e.g., when only one module is traced by mistake, elapsed time (t1) Since this becomes long, abnormality can be discriminated. When the WD counter is not "3" (NO in step 2) or when the elapsed time t1 exceeds 50 mS (NO in step 3), an abnormality is determined and an error is set (step 4).

경과시간(t1)이 50mS 이하인 경우에는 WD 타이머회로(15)에의 출력이 온인지 여부가 판별되고, 온인 경우(스텝 5에서 YES)에는 WD 타이머회로(15)에의 출력동작의 설정이 행해져 있는지 여부가 판별된다(스텝 6).If the elapsed time t1 is 50 mS or less, it is determined whether or not the output to the WD timer circuit 15 is on, and if it is on (YES in step 5), is the output operation to the WD timer circuit 15 set? Is determined (step 6).

이 출력동작의 설정을 위한 출력동작 설정 프로그램(16)은 제 3 도에 나타낸 바와 같이 인터럽트 루틴 프로그램(50b)으로서 설치된 스위치 입력을 위한 프로그램이나, 다이나믹 점등을 위한 프로그램내에 조립되어 있는 것이다.The output operation setting program 16 for setting this output operation is incorporated in a program for switch input provided as an interrupt routine program 50b or a program for dynamic lighting as shown in FIG.

이들의 인터럽트 루틴 프로그램(50b)의 인터럽트는 클럭 발생회로로부터의 신호에 따라 100mS 주기로 행해지기 때문에 트레이스가 정상인 경우에는 WS 타이머회로(15)에의 출력동작의 설정이 100mS 주기로 행해지게 된다.Interrupts of these interrupt routine programs 50b are performed in 100mS cycles in accordance with signals from the clock generation circuit. When the trace is normal, the output operation to the WS timer circuit 15 is set in 100mS cycles.

이 경우 출력동작의 설정을 나타내는 정보는 동작정보로서 메모리(32)내의 RAM에 복수비트에 의한 워드 데이터의 형태로 기억되어 있다.In this case, the information representing the setting of the output operation is stored in the RAM in the memory 32 in the form of word data with multiple bits as the operation information.

스텝 6에 있어서의 판별에서, RAM에 기억된 비트수에 따른 소정의 정보로서 판독되는 경우에는 RAM이 정상인 것으로 판별되고, 일부의 비트에 대하여 틀린 정보가 기억되어 있는 경우에는 RAM이 불량 또는 이상이라는 것이 판별될 수 있다.In the determination in step 6, when it is read as predetermined information according to the number of bits stored in the RAM, it is determined that the RAM is normal, and when incorrect information is stored for some bits, the RAM is bad or abnormal. Can be determined.

출력 동작의 설정이 행해지고 있는 경우(스텝 6에 있어서의 YES)에는, 출력동작의 설정을 클리어(해제)하여(스텝 7), WD 타이머회로(15)에의 출력을 오프로 한다(스텝 8).When the output operation is set (YES in step 6), the output operation is cleared (released) (step 7), and the output to the WD timer circuit 15 is turned off (step 8).

한편 에러세트 되어 있는 경우(스텝 1에서 YES)에는, 제 1 체크프로그램(66)에 있어서 일체의 판별처리가 생략되어 WD 타이머회로(15)에의 오프 출력이 행해지지 않는다.On the other hand, if an error is set (YES in step 1), any discrimination processing is omitted in the first check program 66, and the off-output to the WD timer circuit 15 is not performed.

마찬가지로 WD 타이머회로(15)에의 출력이 오프인 경우(스텝 5에서 NO), 출력동작이 행해져 있지 않은 경우에(스텝 6에서 NO)에는, WD 타이머회로(15)에의 오프출력이 행해지지 않는다.Similarly, when the output to the WD timer circuit 15 is off (NO in step 5), and when the output operation is not performed (NO in step 6), the off output to the WD timer circuit 15 is not performed.

제 1 체크프로그램(66)에 의한 상기 처리가 종료되면 수신 데이터 편집 프로그램(54)에의 트레이스로 이행된다.When the process by the first check program 66 ends, the process shifts to a trace to the received data editing program 54.

제 2 체크프로그램(67)은 시스템 프로그램(50)내의 제 1 체크프로그램(66)의 다음 수신 데이터 편집 프로그램(54)에서 에러 처리 프로그램(56)까지의 트레이스가 정확하게 행해졌는지 여부를 판별하기 위한 WD 프로그램으로, 제 5 도에 나타낸 바와 같이 다음의 처리를 행한다.The second check program 67 is a WD for determining whether the trace from the next received data editing program 54 of the first check program 66 in the system program 50 to the error processing program 56 has been correctly performed. The program performs the following processing as shown in FIG.

제 2 체크프로그램(67)에 의한 처리는 제 1 체크프로그램(66)에 의한 처리와 거의 동일한 것으로 에러세트되어 있는지 여부의 판별(스텝 11), WD 카운터의 판별(스텝 12), 수신데이터 편집 프로그램(54)의 트레이스가 개시되고 나서부터의 경과시간(t2)의 판별(스텝 14), WD 타이머 회로(15)에의 출력의 판별(스텝 16), WD 타이머회로(15)에의 출력 동작의 설정의 유무의 판별(스텝 17)과, 각 판별 결과에 따른 에러세트(스텝 15), 출력동작 설정의 해제(스텝 18), WD 타이머회로(15)에의 온 출력동작(스텝 19)이 있고, 스텝 12에서 WD 카운터의 판별에서는 카운터의 값이「5」인가의 여부가, 또 스텝 16의 출력 판별에서는 오프인지 여부가 판별된다.The processing by the second check program 67 is almost the same as the processing by the first check program 66, determining whether the error is set (step 11), determining the WD counter (step 12), and receiving data editing program. The determination of the elapsed time t2 from the start of the trace at 54 (step 14), the determination of the output to the WD timer circuit 15 (step 16), and the setting of the output operation to the WD timer circuit 15 The presence / absence determination (step 17), the error set (step 15) according to each determination result, the cancellation of the output operation setting (step 18), and the ON output operation (step 19) to the WD timer circuit 15 are performed. In the WD counter discrimination, whether or not the value of the counter is " 5 " is determined.

또, 스텝 12의 다음에는 스텝 13으로서 WD 카운터를 리세트하기 위한 동작이 설치되어 있다.In addition, after step 12, an operation for resetting the WD counter is provided as step 13.

중앙 처리부(31)는 마이크로 컴퓨터로서의 중심부이고, 메모리(32)내의 상기 시스템 프로그램에 의거하여, 논리 연산을 행하여 리모콘으로서 필요한 제어를 한다.The central processing unit 31 is a central part as a microcomputer, and performs logical operations on the basis of the system program in the memory 32 to perform necessary control as a remote controller.

입출력부(33)는 복수조의 입력포트, 출력 래치 및 출력포트, 또 A/D 변환기, D/A변환기 또는 아날로그 인터페이스를 가지고 있고, 스위치군(11), 표시회로(12), 통신 인터페이스(14)의 각 회로와 중앙처리부(31)와의 사이에서 신호 또는 데이터를 교환한다.The input / output unit 33 has a plurality of sets of input ports, output latches and output ports, an A / D converter, a D / A converter or an analog interface, and includes a switch group 11, a display circuit 12, and a communication interface 14. Signals and data are exchanged between the circuits in the circuit) and the central processing unit 31.

반주문 LSI(30)에는 상기한 바와 같이, 그 부속회로로서 중앙처리부(31)의 작동상태의 감시를 위하여 WD 타이머회로(15)가 구비되어 있다.As described above, the semi-order LSI 30 is provided with a WD timer circuit 15 for monitoring the operating state of the central processing unit 31 as its accessory circuit.

WD 타이머회로(15)는 반주문 LSI(30)의 WD 단자(34)로부터 WD 프로그램의 제 1 체크프로그램(66) 또는 제 2 체크프로그램(67)에 의하여 출력되는 신호가 온 또는 오프에 고정되어버려, 타이머부(15a)에의 입력신호가 일정시간(1∼수초간)이상 변화되지 않는 경우에 중앙처리부(31)의 동작을 리세트하는 리세트 단자(35)에 리세트회로(15b)에 의한 로우레벨의 리세트 신호를 송출하는 것이다.The WD timer circuit 15 has a signal output from the WD terminal 34 of the semi-order LSI 30 by the first check program 66 or the second check program 67 of the WD program fixed on or off. If the input signal to the timer unit 15a does not change for a predetermined time (1 to several seconds), the reset circuit 15b is provided to the reset terminal 35 for resetting the operation of the central processing unit 31. The low level reset signal is transmitted.

주 리모콘(10)에서는 스위치군(11)에 의한 설정 변경이 있었을 경우에 설정 상태를 표시회로(12)에 표시를 행함과 동시에 그 설정신호에 의거하여 제어장치(2)에의 설정용 데이터를 작성하고, 그것을 통신 인터페이스(14)에서 통신용 데이터로 변환하여 제어장치(2)에 전송한다.In the main remote controller 10, when there is a setting change by the switch group 11, the setting state is displayed on the display circuit 12, and the setting data to the control device 2 is created on the basis of the setting signal. The data is converted into communication data by the communication interface 14 and transmitted to the control device 2.

또 다른쪽의 리모콘에 의하여 설정 내용의 변경이 있었을 경우에는 그 통신용 데이터를 수신하여 그것에 의거하여 표시회로(12)의 표시내용을 새로운 설정내용으로 변경한다.When the setting contents are changed by the other remote controller, the communication data is received and the display contents of the display circuit 12 are changed to the new setting contents based on the communication data.

이상의 구성으로 이루어진 주 리모콘(10)이 작동하는 경우에는 제 3 도에 나타낸 주처리 프로그램(50a)의 순서로 제 6 도와 같이 트레이스 및 처리가 행해지고, 그 사이에 100mS가 경과하면 인터럽트 루틴 프로그램(50b)에 의한 인터럽트가 행해지고, 그때 출력동작의 설정이 행해진다.When the main remote controller 10 having the above configuration operates, trace and processing are performed in the order of the main processing program 50a shown in FIG. 3 as shown in FIG. 6, and when 100 mS has elapsed between them, the interrupt routine program 50b. Is interrupted, and the output operation is set at that time.

이하, 인터럽트가 행해지고, 출력동작의 설정이 있었을 경우에 대하여 간단하게 설명한다.The following briefly describes the case where interruption is performed and output operation is set.

스텝 21의 모드처리를 종료하면 스텝 22에 있어서의 WD 카운터 증가가 행해지고, WD 카운터가「1」이 된다.When the mode process of step 21 is complete | finished, the WD counter increment in step 22 is performed, and a WD counter turns to "1".

이하 마찬가지로 스텝(23)의 7세그먼트 출력의 다음에는 스텝 24에 있어서 WD 카운터가「2」가 되고, 스텝(25)의 LED 출력의 다음에는 스텝 26에 있어서의 WD 카운터가「3」이 된다.The WD counter becomes "2" in step 24 after the seven-segment output of step 23 similarly, and the WD counter in step 26 becomes "3" after the LED output of step 25 hereafter.

그후 스텝 27의 제 1 체크가 제 4 도와 같이 행해진다. 여기서 스텝 1, 2, 3, 5의 각 판별에 있어서 각각 이상이 없고, 스텝 6에서 YES이면 스텝 7에서 RAM 에 기억된 동작정보가 해제되고 이어서 스텝 8에서 오프동작이 행해진다.Thereafter, the first check in step 27 is performed as in the fourth degree. If there is no abnormality in each of the determinations of steps 1, 2, 3, and 5, and if YES in step 6, the operation information stored in the RAM is released in step 7, and then the off operation is performed in step 8.

또, 스텝 28에 있어서 수신데이터 편집이 행해지고, 스텝 29에서 WD 카운터「4」가 되고, 스텝 30에서 송신처리가 행해지고, 스텝 31에서 WD 카운터가「5」가 되고, 다시 스텝 32에서 에러 처리가 행해진다.In step 28, the reception data is edited, the WD counter "4" is performed in step 29, the transmission process is performed in step 30, the WD counter becomes "5" in step 31, and the error processing is performed again in step 32. Is done.

그후 스텝 33의 제 2 체크가 제 5 도와 같이 행해진다. 여기서 스텝 11, 12의 판별에 있어서 이상이 없고, 스텝 13에서 WD 카운터가 세트된 후 다시 스텝 14, 16에 있어서 이상이 없는 경우에는 출력동작의 설정이 상기한 스텝 7에서 해제되어 있기 때문에 스텝 17에서 NO가 된다. 이 결과 출력의 온동작은 행해지지 않는다.Thereafter, the second check in step 33 is performed with the fifth degree. If there is no abnormality in the determination of steps 11 and 12, and if there is no abnormality in steps 14 and 16 after the WD counter is set in step 13, the setting of the output operation is canceled in step 7 described above. Becomes NO at. As a result, the ON operation of the output is not performed.

마찬가지로 스텝 33의 다음에 다시 스텝 21 이후를 트레이스하는 경우 스텝 27에 있어서의 제 1 체크에서는 스텝 6에서 NO가 되어 출력의 오프 동작은 행해지지 않는다.Similarly, in the case of tracing step 21 or later after step 33, the first check in step 27 becomes NO in step 6, and the output off operation is not performed.

이와 같이 출력의 동작은 일단 행해지면 100mS 경과할 때까지는 행해지지 않으나, 그외의 판별은 그 사이에도 모두 행해진다.In this way, the output operation is not performed until 100mS has elapsed once, but all other determinations are performed in the meantime.

따라서 예를 들면 주처리 프로그램 (50a)의 각 프로그램을 정확하게 트레이스 하지 않고, 트레이스 하지 않은 프로그램이 있었을 경우나, 트레이스의 순서가 틀렸을 경우에는 제 1 체크의 스텝 2 또는 제 2 체크의 스텝 12에 있어서 각각의 WD 카운터의 값이 틀리기 때문에 에러세트 되게하고, 에러세트의 경우에는 출력동작을 행하기 위한 스텝 8 과 스텝 19의 처리가 동시에 행해지지 않기 때문에, WD 타이머 회로(15)에의 출력이 고정되고 중앙처리부(31)가 리세트된다.Therefore, for example, in the case where there is a program that does not trace each program of the main processing program 50a correctly, and there is a program that does not trace, or the order of the traces is wrong, in step 2 of the first check or step 12 of the second check Since the value of each WD counter is wrong, the error is set, and in the case of the error set, the output to the WD timer circuit 15 is fixed because the processing of Step 8 and Step 19 for performing the output operation is not performed at the same time. The central processing unit 31 is reset.

마찬가지로 주 프로그램(50a)의 각 프로그램을 정확하게 트레이스 하지 않고, 일정한 프로그램만이 반복하여 트레이스 되었을 경우에는 스텝 3 또는 스텝 14에서 각 경과시간(t1, t2)이 50mS를 초과하기 때문에 에러세트 됨으로써 마찬가지로 중앙처리부(13)가 리세트된다.Similarly, if only a certain program is repeatedly traced without accurately tracing each program of the main program 50a, since each elapsed time t1 and t2 exceeds 50 mS in step 3 or step 14, an error is set. The processing unit 13 is reset.

또 출력동작의 설정 프로그램이 인터럽트 루틴 프로그램(50b)내에 설치되어 있기 때문에 인터럽트가 정상적으로 행해지지 않는 경우에도 스텝 8 또는 스텝 19에 의한 출력동작이 되지 않기 때문에 출력이 고정되어버려 중앙처리부(31)가 리세트된다.Since the output operation setting program is provided in the interrupt routine program 50b, the output operation is fixed because the output operation is not performed in Step 8 or 19 even when the interrupt is not normally performed. Reset.

또, 출력동작의 설정은 메모리(32)의 RAM 내에 복수비트에 의한 워드 데이터로서 기억되고, 그 동작정보에 의거하여 출력동작의 설정이 있는지 여부를 판별하기 때문에 RAM에 이상이 있어 동작정보가 불완전한 경우에는 출력동작이 행해지지 않게 되고 출력이 고정되어 버려 중앙처리부(31)가 리세트 된다.In addition, the setting of the output operation is stored as a plurality of bits of word data in the RAM of the memory 32, and it is determined whether or not there is a setting of the output operation based on the operation information. Therefore, the RAM is abnormal and the operation information is incomplete. In this case, the output operation is not performed, the output is fixed, and the central processing unit 31 is reset.

이상과 같이 본 실시에에서는 주처리 프로그램의 트레이스 이상, 인터럽트 이상, RAM 이상의 WD 타이머 회로(15)가 작동하여 중앙처리부(31)가 리세트되기 때문에 잡음의 혼입등에 의한 일시적인 동작이상이 있었을 경우에는 용이하게 정상적인 동작으로 복귀할 수 있다.As described above, in the present embodiment, since the WD timer circuit 15 of the main processing program trace abnormality, interrupt abnormality, RAM abnormality is operated and the central processing unit 31 is reset, there is a temporary operation abnormality due to noise mixing or the like. It is easy to return to normal operation.

따라서 신뢰성이 높은 리모콘이 만들어질 수가 있다.Therefore, a reliable remote controller can be made.

또 가스급탕 기기의 동작제어방법 관계에 한하지 않고, 석유에 의한 것이나 난방기, 냉방을 위한 기타의 공조장치 또는 각종 전기 기기의 동작 제어방법에도 적용할 수 있다.Moreover, it is not limited to the operation control method of a gas water supply apparatus, but it can apply also to the operation control method of oil-based, a heater, other air conditioning apparatuses for cooling, or various electric apparatuses.

Claims (4)

복수의 모듈로 구성되어 마이크로 컴퓨터내에 내장된 주처리프로그램에 의하여 기기의 동작을 제어하는 기기동작 제어방법에 있어서, 상기 주처리프로그램내 상기 복수의 각기 상이한 모듈들 사이에 배치되어 상기 마이크로 컴퓨터의 동작감시신호를 상기 마이크로 컴퓨터로부터 송출시키는 제 1 및 제 2 WD 프로그램에 의하여 상기 감시신호의 레벨을 각기 상반되는 제 1 레벨과 제 2 레벨로 각각 반전시키는 단계 ; 상기 제 1 WD 프로그램으로부터 상기 제 2 WD 프로그램까지의 사이에서 상기 주처리프로그램의 각기 상이한 모듈사이의 다른 부분에 배치된 제 1 체크프로그램에 의하여, 상기 제 2 WD 프로그램이 상기 감시신호를 제 1 레벨로부터 제 2 레벨로 반전시키는 조건을 만족시키는 신호를 제공하는 단계 ; 상기 제 2 WD 프로그램으로부터 상기 제 1 WD 프로그램까지의 사이에서 상기 주처리프로그램의 각기 상이한 모듈사이의 다른 부분에 배치된 제 2 체크프로그램에 의하여, 상기 제 1 WD 프로그램이 상기 감시신호를 제 2 레벨로부터 제 1 레벨로 반전시키는 조건을 만족시키는 신호를 제공하는 단계 ; 상기 감시신호가 제 2 레벨로부터 제 1 레벨로 반전되는 것을 검지하여 시간의 계수를 개시하는 단계 ; 및 상기 계수시간이 소정의 시간을 초과하였을 때 상기 마이크로 컴퓨터의 리셋트단자에 리셋트신호를 송출하는 단계를 포함하는 것을 특징으로 하는 기기동작 제어방법.An apparatus operation control method comprising a plurality of modules to control an operation of a device by a main processing program embedded in a micro computer, the method of controlling an operation of the micro computer disposed between the plurality of different modules in the main processing program. Inverting the level of the monitoring signal to the first and second levels opposite to each other by a first and a second WD program for transmitting the monitoring signal from the microcomputer; The first WD program causes the monitoring signal to first level by a first check program disposed between different modules of the main processing program from the first WD program to the second WD program. Providing a signal that satisfies a condition for inverting from the to the second level; The first WD program sets the monitoring signal to a second level by means of a second check program disposed between different modules of the main processing program between the second WD program and the first WD program. Providing a signal that satisfies a condition for inverting from the first level to a first level; Detecting the inversion of the monitoring signal from the second level to the first level and starting a count of time; And transmitting a reset signal to a reset terminal of the microcomputer when the counting time exceeds a predetermined time. 제 1 항에 있어서, 상기 제 1 및 제 2 의 WD 프로그램은 상기 주 프로그램에 대하여 시계 기구에 의해 내부 인터럽트하는 인터럽트 처리 프로그램을 구비하고, 상기 감시신호를 각각 반전시키는 출력동작의 설정 프로그램이 상기 인터럽트 처리 프로그램내에 마련된 것을 특징으로 하는 기기동작 제어방법.2. The program according to claim 1, wherein the first and second WD programs have an interrupt processing program which internally interrupts the main program by a clock mechanism, and a program for setting an output operation for inverting the monitoring signal, respectively; An apparatus operation control method characterized in that provided in a processing program. 제 1 항 또는 제 2 항에 있어서, 상기 제 1 및 제 2 의 WD 프로그램은, 상기 제 2 WD 프로그램의 실행으로부터 상기 제 1 WD 프로그램의 실행까지의 경과시간, 또는 상기 제 1 WD 프로그램의 실행으로부터 상기 제 2 WD 프로그램의 실행까지의 경과시간이 각각 소정시간 이내인지 여부를 판별하여, 상기 소정시간을 초과했을 경우에는 상기 감시신호의 레벨의 반전동작을 행하지 않는 것을 특징으로 하는 기기동작 제어방법.The method according to claim 1 or 2, wherein the first and second WD programs are configured by: elapsed time from execution of the second WD program to execution of the first WD program, or from execution of the first WD program. And determining whether the elapsed time until the execution of the second WD program is within a predetermined time, and if the predetermined time is exceeded, inverting the level of the monitoring signal is not performed. 복수의 모듈로 구성되어 마이크로 컴퓨터내에 내장된 주처리프로그램에 의하여 기기의 동작을 제어하는 기기동작 제어방법에 있어서, 상기 주처리프로그램내 상기 복수의 각기 상이한 모듈들 사이에 배치되어 상기 마이크로 컴퓨터의 동작감시신호를 상기 마이크로 컴퓨터로부터 송출시키는 제 1 및 제 2 WD 프로그램에 의하여 상기 감시신호의 레벨을 각기 상반되는 제 1 레벨과 제 2 레벨로 각각 반전시키는 단계 ; 상기 제 1WD 프로그램으로부터 상기 제 2 WD 프로그램까지의 사이에서 상기 주처리프로그램의 각기 상이한 모들상이의 다른 부분에 배치된 제1 체크프로그램에 의하여, 상기 제2 WD 프로그램이 상기 감시신호를 제 1 레벨로부터 제 2 레벨로 반전시키는 조건을 만족시키는 신호를 복수비트의 워드데이타로서 제공되는 단계 ; 상기 제 2 WD 프로그램으로부터 상기 제 1 WD 프로그램까지의 사이에서 상기 주처리프로그램의 상기 상이한 모듈사이의 다른 부분에 배치된 제 2 체크프로그램에 의하여, 상기 제 1 WD 프로그램이 상기 감시신호를 제 2 레벨로부터 WPL 1 레벨로 반전시키는 조건을 만족시키는 신호를 복수비트의 워드데이타로서 제공되는 단계 ; 상기 감시신호가 제 2 레벨로부터 제 1 레벨로 반전되는 것을 검지하여 시간의 계수를 개시하는 단계 ; 및 상기 계수시간이 소정의 시간을 초과하였을 때 상기 마이크로 컴퓨터의 리셋트단자에 리셋트신호를 송출하는 단계를 포함하는 것을 특징으로 하는 기기동작 제어방법.An apparatus operation control method comprising a plurality of modules to control an operation of a device by a main processing program embedded in a micro computer, the method of controlling an operation of the micro computer disposed between the plurality of different modules in the main processing program. Inverting the level of the monitoring signal to the first and second levels opposite to each other by a first and a second WD program for transmitting the monitoring signal from the microcomputer; By means of a first check program arranged in different parts of the different processing modes of the main processing program from the first WD program to the second WD program, the second WD program causes the monitoring signal to be output from the first level. Providing a signal satisfying a condition for inverting to a second level as a plurality of bits of word data; The first WD program causes the monitoring signal to be leveled second by means of a second check program disposed between the second WD program and the first WD program between the different modules of the main processing program. Providing a signal that satisfies the condition for inverting from the WPL 1 level to a plurality of bits of word data; Detecting the inversion of the monitoring signal from the second level to the first level and starting a count of time; And transmitting a reset signal to a reset terminal of the microcomputer when the counting time exceeds a predetermined time.
KR1019900012400A 1989-09-05 1990-08-13 Operating control method of machinery KR930008565B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP1-231212 1989-09-05
JP1231212A JPH0392938A (en) 1989-09-05 1989-09-05 Controller

Publications (2)

Publication Number Publication Date
KR910006810A KR910006810A (en) 1991-04-29
KR930008565B1 true KR930008565B1 (en) 1993-09-09

Family

ID=16920088

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019900012400A KR930008565B1 (en) 1989-09-05 1990-08-13 Operating control method of machinery

Country Status (2)

Country Link
JP (1) JPH0392938A (en)
KR (1) KR930008565B1 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5595157A (en) * 1979-01-10 1980-07-19 Nec Corp Supervisory unit for program getting out of control
JPS60205757A (en) * 1984-03-30 1985-10-17 Toshiba Corp Detection for program runaway
JPS61296422A (en) * 1985-06-25 1986-12-27 Canon Inc Coordinate input device
JPS6414644A (en) * 1987-07-08 1989-01-18 Fuji Electric Co Ltd Watch-dog time-out detecting method

Also Published As

Publication number Publication date
JPH0392938A (en) 1991-04-18
KR910006810A (en) 1991-04-29

Similar Documents

Publication Publication Date Title
US4829596A (en) Programmable controller with fiber optic input/output module
JP4454672B2 (en) On-vehicle electronic control device having a supervisory control circuit
US6049741A (en) Method of predicting a failure and control unit and load controlling system using the same
US5042002A (en) Programmable controller with a directed sequencer
CZ288586B6 (en) Diagnostic system for sensing and displaying functions of a motor vehicle heating apparatus
JP3758519B2 (en) Water heater
US4965714A (en) Apparatus for providing configurable safe-state outputs in a failure mode
KR100701486B1 (en) Control apparatus and self-diagnostic method for electronic control system
KR930008565B1 (en) Operating control method of machinery
CN108073100B (en) Automatic detection system and detection method for home appliance main control board
CA2119142C (en) System controller and remote fault annunciator with cooperative storage, sharing, and presentation of fault data
JPH0658628A (en) Capacity deterioration detecting method for circulating pump in hot-water boiler
JP3553703B2 (en) Hot water floor heating system
JPS58182391A (en) Remote control device
JP2927312B2 (en) Automatic commissioning device in hot water heating system
JPS6014376B2 (en) test equipment
KR20100035462A (en) Apparatus for mornitoring transmission controll unit
KR930003034B1 (en) Distinguishing device of remote controller
JP3569729B2 (en) Hot water floor heating system
JPH116628A (en) Control device for heating and hot-water supplying machine
JPS60120124A (en) Abnormality detecting device for air-conditioning machine
JPH0282345A (en) Runaway stop method for multiprocessor system and device using the method
JP2001263700A (en) Hot water feeder, central heating system utilizing the heater and method for diagnosing these devices
KR20240011463A (en) System and method for monitoring of dual mcu
JPS58163013A (en) Sequence controller

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
AMND Amendment
E601 Decision to refuse application
J2X1 Appeal (before the patent court)

Free format text: APPEAL AGAINST DECISION TO DECLINE REFUSAL

AMND Amendment
G160 Decision to publish patent application
B701 Decision to grant
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20040825

Year of fee payment: 12

LAPS Lapse due to unpaid annual fee