KR910002296B1 - Timer controller - Google Patents
Timer controller Download PDFInfo
- Publication number
- KR910002296B1 KR910002296B1 KR1019870009450A KR870009450A KR910002296B1 KR 910002296 B1 KR910002296 B1 KR 910002296B1 KR 1019870009450 A KR1019870009450 A KR 1019870009450A KR 870009450 A KR870009450 A KR 870009450A KR 910002296 B1 KR910002296 B1 KR 910002296B1
- Authority
- KR
- South Korea
- Prior art keywords
- interruption
- signal
- timer
- microcomputer
- output
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G04—HOROLOGY
- G04G—ELECTRONIC TIME-PIECES
- G04G99/00—Subject matter not provided for in other groups of this subclass
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K17/00—Electronic switching or gating, i.e. not by contact-making and –breaking
- H03K17/28—Modifications for introducing a time delay before switching
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Measurement Of Predetermined Time Intervals (AREA)
- Electric Clocks (AREA)
- Control Of Combustion (AREA)
Abstract
내용 없음.No content.
Description
제1도는 본 발명의 한 실시예에 의한 타이머 제어장치의 구성도.1 is a block diagram of a timer control apparatus according to an embodiment of the present invention.
제2도는 본 실시예의 동작을 설명하는 흐름도.2 is a flowchart for explaining the operation of this embodiment.
제3도는 본 발명을 석유연소 난방기의 타이머에 이용한 한 실시예의 제어회로 블럭도.3 is a block diagram of an embodiment of the control circuit using the present invention in a timer for a petroleum combustion heater.
제4a도는 종래의 타이머 장치를 설명하기 의한 구성도.4A is a block diagram illustrating a conventional timer device.
제4b도는 증래 장치의 동작을 설명하는 흐름도.4B is a flowchart for explaining the operation of the apparatus.
제5a도는 잡음이 교류 전원 출력에 중첩한 경우의 전압 파형도.5A is a voltage waveform diagram when noise is superimposed on an AC power output.
제5b도는 상기 교류 전원 출력의 전파 정류 파형도.5B is a full wave rectification waveform diagram of the AC power output.
제5c도는 상기 전파 정류 출력을 구형 정형하여 생성한 개입중단 신호 파형도.5C is an interruption signal waveform diagram generated by spherically shaping the full-wave rectification output.
제5d도는 정상적인 개입중단 신호 파형도.5d is a normal interrupt signal waveform.
* 도면의 주요부분에 대한 설명* Description of the main parts of the drawings
1 : 개입중단 신호 la : 마이크로 컴퓨터1: interrupt signal la: microcomputer
2 : 개입중단 제어수단 3 : 한시계수 수단2: intervention interrupt control means 3: one hour number means
4 : 기억수단4: memory means
본 발명은, 교류전원 출력으로부터 개입중단 신호를 발생시키고, 상기 개입중단 신호를 마이크로 컴퓨터로 계수하여 타이머 출력으로 하는 타이머 제어장치에 관한 것이다.The present invention relates to a timer control device for generating an interruption stop signal from an AC power supply output, counting the interruption stop signal with a microcomputer to produce a timer output.
제4a도는, 예를들면 1982년 9월 1일 미쓰비시 전기 주식회사 반도제 사업부가 발행한 "미쯔비시 원칩 4 비트 PROM 마이크로 컴퓨터 사용자 매뉴얼 MELPS 4 P185"에 기제된 마이크로 컴퓨터 응용의 타이머 회로기술의 일예이다. 제4a도에 있어서, 마이크로 컴퓨터(이후, 마이콤이라 칭함, la)의 개입중단 단자(INT)에 전파정류된 60Hz의 고류전원 출력을 접속하여 100m 초의 기준 타이머를 만드는 회로가 설명이 되어 있다. 상기 회로에 있어서는, 교류전원 60Hz의 전파정류 출력을 개입중단 신호(1)로 하였을 때, 1초간에 120회의 개입중단 신호가 마이콤에 입력이 되므로, 마이콤에서 개입중단 회수를 12회 카운트하는 것으로 1/100초=100m초를 측정할 수 있다. 개입중단 타이밍은 제4a도에 도시하는 바와같이 교류 파형의 입상에지가 전압레벨(VIH)로 된 때에 행해진다.FIG. 4A is an example of a microcomputer application timer circuit technology described in, for example, the "Mitsubishi One-Chip 4-Bit PROM Microcomputer User Manual MELPS 4 P185" issued by Mitsubishi Electric Co., Ltd., a semiconductor company on September 1, 1982. In FIG. 4A, a circuit is described in which a high frequency power output of 60 Hz is connected to the interruption interrupt terminal INT of a microcomputer (hereinafter referred to as a microcomputer) to make a reference timer of 100 m seconds. In the above circuit, when the full-wave rectification output of the AC power supply 60 Hz is set as the
다음에 제4b도에 도시하는 흐름도에 의거하여 마이콤의 타이머 동작을 설명한다. 개입중단 신호(1)가 개입중단 단자(INT)를 거쳐서 마이콤(1a)에 받아들여지면, 마이콤(la)의 프로그램은 개입중단 처리의 INT-ENTRY(S-2)로 이동, 자동적으로개입중단 금지로 된다. 그래서, 이제까지 실시하고 있던 처리결과를 격납한 레지스터 내용을 메모리로 복귀한다(S-3). 다음으로 개입중단 신호를 1개 입력할 때 마다, 12진 카운터의 프리셋 값을 1개 감산한다(S-4). 이와같이, 감산을 계속하여, 12진 카운터가 영으로 되었을때, 제차의 카운터 동작에 대비하여 l2진 카운터에 12를 프리셋한다(S-5). 그래서,100m초 측정한 것을 도시하는 플래그를 1로 한다(S-6).Next, the timer operation of the microcomputer will be described based on the flowchart shown in FIG. 4B. When the
그후, 메모리에 복귀하고 있던 레지스터 내용을 재차 레지스터로 되돌려(S-7), 개입중단 금지를 해제한다(S-8). 그래서, 최후로 프로그램을, 개입중단 처리가 실시되기 전의 번지로 되돌려 준다(S-9).Thereafter, the contents of the registers returned to the memory are returned to the registers again (S-7), and the prohibition of interruption is canceled (S-8). Thus, the program is finally returned to the address before the interruption processing was performed (S-9).
이상과 같이하여, 상용전원 주파수를 이용하여, 비교적 정확한 타이머를 실현할 수가 있다.As described above, a relatively accurate timer can be realized by using a commercial power supply frequency.
종래의 타이머 장치는 이상과 같이 구성이 되어 있기 때문에, 예를들면 제5a도에 도시하는 바와같은 정현파 교류 출력의 영교차 부근에 잡음이 발생하여, 상기 교류출력을 전파정류(제5b도)로 한후, 트랜지스터 등으로 구형파 정형(제5c도)하여 개입중단 신호를 생성한 경우, 정규의 개입증단 신호의 다른 잡음 성분에 의한 개입중단 신호가 중첩되어, 정상시(제5b도) 보다도 많은 개입중단 신호가 마이콤에 받아들여져, 타이머 출력에 에러가 생기는 문제가 있었다.Since the conventional timer device is configured as described above, for example, noise is generated in the vicinity of the zero crossing of the sinusoidal AC output as shown in FIG. 5A, and the AC output is subjected to full-wave rectification (FIG. 5B). Then, when the interruption signal is generated by square wave shaping (Fig. 5C) with a transistor or the like, the interruption signal due to other noise components of the regular intervention proof signal is superimposed, resulting in more intervention than normal (Fig. 5B). There was a problem that the stop signal was received by the microcomputer and an error occurred in the timer output.
본 발명은 상기하는 바와같은 문제점을 해소하기 위해서 행해진 것으로 교류전원에 잡음이 중첩되고, 개입중단 신호가 정상시 보다도 많이 발생한 경우에 있어서도, 정상인 타이머 출력을 내는 타이머 제어장치를 얻는 것을 목적으로 한다.The present invention has been made to solve the above problems, and an object of the present invention is to obtain a timer control device that produces a normal timer output even when noise is superimposed on an AC power supply and an interruption interruption signal occurs more than normal.
본 발명에 따르는 타이머 장치에서는, 마이콤 내장의 개입중단 제어수단이 개입중단 신호를 받아들인 후, 다음 주기의 개입중단 신호입력에 이르기까지 개입중단을 금지함과 동시에, 개입중단 허가 마다의 개입중단 신호를 한시계수 수단에 입력하여 타이머 출력으로 하고, 또다시 개입중단 금지시에 발생한 개입중단 신호를 기억수단에 격납하여 한시계수 동작완료와 함께 기억수단 내용을 클리어 하는 것이다.In the timer device according to the present invention, after the interruption control means of the built-in microcomputer receives the interruption interruption signal, the interruption interruption is prevented until the next interruption input signal is input, and the interruption interruption signal for each interruption permission is given. Is input to the hourly clock means to output the timer, and the interruption signal generated when the interruption is prohibited is stored in the memory means to clear the contents of the memory means with the completion of the one-hour clock operation.
본 발명에 의한 타이머 제어장치에 의하면, 개입증단 신호는 전원 주파수 신호이며, 대부분의 개입중단 신호발생 주기는 판명이 되어져 있기 때문에, 개입중단 제어수단은 상기 주기에 발생한 개입중단 신호를 정상의 개입중단 신호로서 한시계수 수단에 입력하여, 타이머 동작에 제공한다. 또한, 극단적으로 짧은 주기, 즉개입중단 금지기간에 발생한 개입중단 신호는 잡음 성분에 의한 개입중단 신호로서 기억수단에 유지되고, 타이머 동작완료와 함께 상기 기억수단 내용을 클리어하여, 잡음에 의한 개입중단 신호를 제거한다.According to the timer control apparatus according to the present invention, since the intervention proof signal is a power source frequency signal and most of the interruption interruption signal generation cycles have been found, the interruption interruption control means normally intervenes the interruption interruption signals generated in the cycles. The stop signal is input to the clockwise means and provided to the timer operation. In addition, the interruption interruption signal generated during an extremely short period, i.e., the interruption interruption period, is held in the storage means as an interruption interruption signal by the noise component, and the contents of the storage means are cleared with the completion of the timer operation to interrupt the interruption by noise. Remove the signal.
제1도는 본 발명에 의한 타이머 제어장치의 한 실시예의 전제 구성도이다. 이 실시예는 제1도에서 명백한 바와같이, 마이콤(la)내에 교류전원 출력의 각 주기신호를 개입중단 신호(1)와 같이 입력함과 동시에, 개입중단 신호입력후, 다음 주기의 개입중단 신호 입력에 이르기까지 기간을 개입중단 금지기간으로 하는 개입중단 제어수단(2)과, 개입중단 신호를 미리 설정한 회수계수를 한후, 계수값을 타이머 출력으로 하여 출력하는 한시계수 수단(3)과, 개입중단 금지기간에 발생한 개입중단 신호를 기억함과 동시에, 한시계수 수단(3)의 신호(5)에 의거하여 기억내용을 클리어하는 기억수단(4)를 구비하고 있다.1 is a preliminary block diagram of an embodiment of a timer control device according to the present invention. As shown in FIG. 1, this embodiment inputs each cycle signal of the AC power output in the microcomputer la together with the
다음에, 본 발명의 한 실시예를 제2도에 도시하는 흐름도에 의거하여 설명하다. 마이콤(la)의 개입중단 단자(INF)에 전원 주파수, 즉 60Hz의 전파정류를 접속하여, l00m초의 기준 타이머를 만든다. 개입중단 신호(1)는 60Hz시는 1초간에 120회 발생하므로, 개입중단 회수를 12회 카운트할때 마다 100m초를 측정할 수 있다. 개입중단 신호(1)가 접수되면 마이콤의 프로그램은 개입중단 처리의 INF ENTER(S-2)로 이동, 자동적으로 개입중단 금지로 된다. 그래서 실시하고 있던 처리결과를 격납한 레지스터의 내용을 메모리에 격납한다(S-3). 다음으로 12진 카운터의 프레셋 값에서 1을 감산한다(S-4). 12진 카운터가 영으로 되면, 12신 카운터롤 12로 세트하여(S-5),l00m초 측정한 일을 도시하는 플래그를 1로 한다(S-6). 다음으로 개입중단 접수한후, 발생한 개입중단 신호는 잡음에 의하는 것으로서 클리어한다(S-10).Next, an embodiment of the present invention will be described based on the flowchart shown in FIG. A reference frequency of l00 m seconds is made by connecting a power supply frequency, that is, a full-wave rectification of 60 Hz, to the interrupt interrupt terminal INF of the microcomputer la. Since the
다음으로 메모리에 격납하여 있던 레지스터의 내용을 래지스터로 되돌려(S-7), 개입중단 금지를 해제한다(S-8). 마지막으로 프로그램을 개입중단 처리가 실시되기 전의 번지로 되돌려준다(S-9). 이와같이 하여 잡음에 의한 개입중단 신호의 영향을 제거할 수가 있다.Next, the contents of the registers stored in the memory are returned to the register (S-7), and the prohibition of interruption is released (S-8). Finally, the program is returned to the address before the interruption processing (S-9). In this way, the influence of the interrupt signal due to noise can be eliminated.
잡음에 의한 개입중단기 신호가 정규의 개입중단 신호 직전에 발생한 경우는 잡음에 의한 개입중단 신호가인가되어, 계수되나 정규의 개입중단 신호가 제거되어, 카운트되는 회수는 잡음에 의한 개입중단 신호의 영향을 받지 아니한 때와같다. 정규의 개입중단 신호는 일반적으로는, 교류전원 출력이 0볼트에 가까운 전압으로 발생하도록 설정한다. 따라서 잡음에 의한 개입중단 신호의 발생은 정규의 개입중단 신호와 시간차가 적다. 본 실시예에서는 개입중단 금지로 하고 있는 시간이 짧으나, 1m초 정도로도 충분한 효과가 기대된다. 또한 개입중단 금지 시간이 5m초 정도면, 보다 효과가 있다.If the interrupt signal caused by noise occurs immediately before the normal interrupt signal, the interrupt signal due to noise is applied and counted. Same as when I did not receive. Normal interruption signals are typically set such that the AC power output is generated at a voltage close to zero volts. Therefore, the generation of the interrupt signal due to noise has a small time difference from the normal interrupt signal. In this embodiment, although the time for interrupting interruption is short, a sufficient effect is expected to be about 1 m second. Also, if the interruption prohibition time is about 5m seconds, it is more effective.
제3도는 본 실시예에 의한 타이머 제여장치를 석유연소 난방기의 제어회로에 적용한 경우의 회로 블럭도이다.3 is a circuit block diagram when the timer applying device according to the present embodiment is applied to a control circuit of a petroleum combustion heater.
석유연소 난방기는 일반적으로, 시계 기능을 갖춘 오하요 타이머(상표명)을 보유하고 있고, 장시간을 계수할 필요가 있으며, 상용전원의 잡음에 의해 시계가 진행하는 불편한 상태가 발생하는 일이 있다. 또한 연소량의 제어에 있어서 정확한 타이머를 필요로 한다. 연량 제어에 있어서 타이머가 부정확하면, 연표량과 공기의 밸런스가 무너져, 불완전 연소를 하거나 연소량이 과대 또는 과소하게 되거나 하는 문제가 있다.Oil-fired heaters generally have a Ohyo timer (trade name) with a clock function, it is necessary to count a long time, and an uncomfortable state in which the clock progresses may occur due to the noise of commercial power. In addition, accurate timers are required for controlling the amount of combustion. If the timer is inaccurate in the amount of fuel control, there is a problem that the balance between the amount of lead and the air is broken, resulting in incomplete combustion or an excessive or excessive amount of combustion.
거기에서 본 발명을 이용하므로서, 정도가 높은 시계기능을 갖고, 또한 완전한 석유연소 난방기가 실현된다.By using the present invention therein, a highly accurate clock function and a complete petroleum combustion heater are realized.
이상과 같이 본 발명에 의하면, 교류전원 출력에 의거하여 마이크로 컴퓨터의 개입중단 신호를 생성하여, 이 개입중단 신호를 마이크로 컴퓨터에 계수시켜 상기 계수출력치를 타이머 출력으로 하는 타이머 장치에 더해서, 상기 교류전원 출력에 중첩된 잡음성분에 의한 개입중단 신호와 정규의 개입중단 신호를 판별할 수 있는 구성으로 하였기 때문에, 잡음성분에 의한 오타이머 출력을 배제할 정도가 높은 타이머 출력값이 얻어지는 타이머 제어장치가 제공된다.According to the present invention as described above, in addition to the timer device that generates the interruption signal of the microcomputer based on the AC power output, counts the interruption signal to the microcomputer, and sets the count output value to the timer output. Since the interruption signal and the normal interruption signal due to the noise component superimposed on the output can be discriminated, a timer control device is provided which obtains a timer output value high enough to exclude the error timer output due to the noise component. .
Claims (1)
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP44813 | 1987-02-27 | ||
JP87-44813 | 1987-02-27 | ||
JP62044813A JPS63211918A (en) | 1987-02-27 | 1987-02-27 | Timer controller |
Publications (2)
Publication Number | Publication Date |
---|---|
KR880010358A KR880010358A (en) | 1988-10-08 |
KR910002296B1 true KR910002296B1 (en) | 1991-04-11 |
Family
ID=12701868
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019870009450A KR910002296B1 (en) | 1987-02-27 | 1987-08-28 | Timer controller |
Country Status (2)
Country | Link |
---|---|
JP (1) | JPS63211918A (en) |
KR (1) | KR910002296B1 (en) |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4583865A (en) * | 1984-12-17 | 1986-04-22 | Honeywell | Real time clock synchronization |
-
1987
- 1987-02-27 JP JP62044813A patent/JPS63211918A/en active Pending
- 1987-08-28 KR KR1019870009450A patent/KR910002296B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
JPS63211918A (en) | 1988-09-05 |
KR880010358A (en) | 1988-10-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4405982A (en) | Arrangement for monitoring the function of a programmable electronic switching circuit | |
TW349190B (en) | Electronic timepiece comprising a generator driven by a spring barrel | |
US4584507A (en) | Motor speed control arrangement | |
KR910002296B1 (en) | Timer controller | |
KR960032138A (en) | Microcomputer | |
US5063355A (en) | Timer circuit | |
JPS57106926A (en) | Program stole detecting system | |
KR900002606A (en) | Fault Detection and Recovery Method for Real-Time Clocks | |
SU980098A1 (en) | Microprogramme processor | |
KR950009111A (en) | How to read power supply frequency of microwave oven | |
SU1396264A1 (en) | Pulse selector | |
KR950015032A (en) | Clock Counting Method for Periodic Timeout Interrupts | |
SU1229600A1 (en) | Device for measuring temperature | |
SU881995A1 (en) | Pulse duration discriminator | |
SU1366976A1 (en) | Device for checking gain factor of inverters | |
SU1483410A1 (en) | Device for monitoring inverter gain factor | |
JPS61274514A (en) | Method and apparatus for counting contact output | |
SU1126928A1 (en) | Device for consecutive program control | |
SU1132280A1 (en) | Device for monitoring parameters | |
JPH0141944B2 (en) | ||
JPS6019205B2 (en) | Protective relay device | |
JPS5692604A (en) | Interpolation device for output of pulse generator | |
JPH0552791U (en) | Clock counter | |
JPS58182582A (en) | Time generating device | |
JPS6341951A (en) | Microcomputer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
G160 | Decision to publish patent application | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 19980331 Year of fee payment: 8 |
|
LAPS | Lapse due to unpaid annual fee |