KR910002796B1 - Power timer device with electronic watch - Google Patents

Power timer device with electronic watch Download PDF

Info

Publication number
KR910002796B1
KR910002796B1 KR1019880004675A KR880004675A KR910002796B1 KR 910002796 B1 KR910002796 B1 KR 910002796B1 KR 1019880004675 A KR1019880004675 A KR 1019880004675A KR 880004675 A KR880004675 A KR 880004675A KR 910002796 B1 KR910002796 B1 KR 910002796B1
Authority
KR
South Korea
Prior art keywords
time
mode
key
repeat
power
Prior art date
Application number
KR1019880004675A
Other languages
Korean (ko)
Other versions
KR890016441A (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 터보테크 주식회사
Priority to KR1019880004675A priority Critical patent/KR910002796B1/en
Publication of KR890016441A publication Critical patent/KR890016441A/en
Application granted granted Critical
Publication of KR910002796B1 publication Critical patent/KR910002796B1/en

Links

Images

Classifications

    • GPHYSICS
    • G04HOROLOGY
    • G04CELECTROMECHANICAL CLOCKS OR WATCHES
    • G04C23/00Clocks with attached or built-in means operating any device at preselected times or after preselected time-intervals
    • G04C23/14Mechanisms continuously running to relate the operation(s) to the time of day
    • G04C23/18Mechanisms continuously running to relate the operation(s) to the time of day for operating one device at a number of different times

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Electric Clocks (AREA)

Abstract

This clock/Timer enploys -processor, can control time as exactly as second unit and has a variety of power ON/OFF functions. Also it is able to set a combinations of ON, OFF, ON-OFF, OFF- ON and repeat modes on a keyboard (details not shown). this system comprises μ-processor (2), keyboard (5), time displayer (3), mode-displayer (4), relay (6) and power supply (1). The μ-processor has program capable of setting mode abovementioned. The keyboard has keys of programming (PR,OG), slow-set (SS), Fast- ser (FS), elear (CLR), Time set (Ts) and enter (ENT).

Description

전자시계 겸용 전원 타이머장치Power supply timer device for both electronic clock

제1a도는 본 발명의 블럭 다이어그램(Block Diagram), 제1b도는 본 발명의 시간표시부, 제1c도는 본 발명에 사용되는 키-보드(Key-Board), 제1d도는 본 발명에 사용되는 전원출력부 회로도.FIG. 1A is a block diagram of the present invention, FIG. 1B is a time display of the present invention, FIG. 1C is a key board used in the present invention, and FIG. 1D is a power output part used in the present invention. Schematic.

제2a도, 제2b도, 제2c도는 종래 타이머의 타임챠트(Time Chart) 및 본 발명의 타임챠트. 제2d도, 제2e도, 제2f도, 제2g도, 제2h도, 제2i도, 제2j도는 본 발명의 추가된 기능에 타임챠트.2A, 2B, and 2C are time charts of a conventional timer and a time chart of the present invention. Figures 2d, 2e, 2f, 2g, 2h, 2i, and 2j show time charts for added functionality of the present invention.

제3도는 마이크로세서에 내장된 주 프로그램의 순서도(flow chart)로서, 제3a도는 모드선택시 순서도, 제3b도는 현재 시간 수정(TS)모드의 순서도, 제3c도는 온(ON)모드의 순서도, 제3d도는 오프(OFF) 모드의 순서도, 제3e도는 온-오프(ON-OFF) 모드의 순서도, 제3f도는 반복(Repeat) 모드의 순서도, 제3g도는 온/반복(ON/Repeat) 모드의 순서도, 제3h도는 오프/반복(OFF/Repeat) 모드의 순서도, 제3i도는 온-오프/반복(ON-OFF/Repeat) 모드의 순서도.Figure 3 is a flow chart of the main program embedded in the microprocessor, Figure 3a is a flow chart when the mode is selected, Figure 3b is a flow chart of the current time correction (TS) mode, Figure 3c is a flow chart of the ON mode, FIG. 3d is a flow chart of the OFF mode, FIG. 3e is a flow chart of the ON-OFF mode, FIG. 3f is a flow chart of the Repeat mode, and FIG. 3g is a flow chart of the ON / Repeat mode. Figure 3h is a flowchart of the OFF / Repeat mode, and Figure 3i is a flowchart of the ON-OFF / Repeat mode.

제4a도는 마이크로 프로세서에 내장된 가로채기(Interrupt) 프로그램의 순서도, 제4b도는 가로채기(Interrupt) 프로그램에 의한 계전기 제어순서도, 제4c도는 온/반복(ON/Repeat) 모드에서의 계전기 제어순서도, 제4d도는 오프/반복(OFF/Repeat) 모드에서의 계전기 제어순서도, 제4e도는 가로채기(Interrupt) 프로그램에서의 반복 제어순서도.4a is a flow chart of an interrupt program built in the microprocessor, FIG. 4b is a flow chart of a relay control by an interrupt program, and FIG. 4c is a flow chart of a relay control in an ON / Repeat mode. FIG. 4d is a relay control flow chart in the OFF / Repeat mode, and FIG. 4e is a repeat control flow chart in the interrupt program.

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

1 : 전원부 1' : 보조전원(Battery)1: Power 1 ': Auxiliary power (Battery)

2 : 마이크로 프로세서(Micro Processor) 3 : 시간표시부(FND)2: Micro Processor 3: Time Display Part (FND)

4 : 동작모드표시부(Mode LED) 5 : 키-보드(Key-Board)4: Operation mode display part (Mode LED) 5: Key-Board

6 : 계전기(RELAY) 7 : 콘센터6: relay (relay) 7: cone center

8 : 수정발진자(X-TAL)8: crystal oscillator (X-TAL)

본 발명은 마이크로 프로세서(Micro Processor)를 이용한 전자식 타이머장치에 관한 것으로서, 특히 초단위의 정확한 시간제어가 가능하며 이에 따라서 다양한 전원 개폐제어기능을 가지는 한편, 키-보드 상에서의 모드(Mode)선택에따라 셋팅(setting)된 시간 값에 의해 전원의 온(ON), 오프(OFF), 온-오프(ON-OFF), 오프-온(OFF-ON), 반복(Repeat) 및 이 네가지 기능과 함께 어떠한 조합의 기능도 한번에 제어가 가능하도록 하는 전자시계 겸용 전원 타이머장치에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic timer device using a microprocessor, and in particular, accurate time control in seconds is possible, and accordingly, various power supply opening and closing control functions are provided. Power ON, OFF, ON-OFF, OFF-ON, Repeat, and four functions by the time value set accordingly. The present invention relates to an electronic clock power supply timer device that allows any combination of functions to be controlled at one time.

기존에도 여러종류의 타이머가 개발되어 사용되고 있으나, 기계적인 타이머는 수동조작후 일정한 시간이 경과되면 온(ON)되거나 반대로 일정한 시간이 지나면 접점의 오프(OFF)가 되는 그 동작이 단순한 형태인 것이며, 기계식 타이머의 경우 최대 장입시간이 설정되어져 있어 지속적인 타이머 동작이 어려운 난점이 있다.Various types of timers have been developed and used in the past, but mechanical timers have a simple operation that turns on when a certain time elapses after manual operation or, conversely, turns off a contact after a certain time, In the case of a mechanical timer, the maximum charging time is set, which makes it difficult to continuously operate the timer.

또한 일반 가정제품에 사용되는 여러가지 타이머 장치는 시간셋팅이 따라 "온"상태를 유지하다가 셋팅시간이 되면 "오프"되어 그 상태를 지속적으로 유지하게 되어 있고 반대로 "오프"상태에서 셋팅시간이 되면 "온"상태를 계속적으로 유지하는가 하면 "오프"상태의 처음 셋팅시간에서 "온"상태로 되고 두번째 셋팅시간에 "오프"되도록 된 것이 대다수이다.In addition, various timer devices used in general household products are kept "on" during the time setting, and are "off" when the setting time is reached. On the contrary, when the setting time is reached in the "off" state, In many cases, the "on" state is continuously maintained or "on" at the first setting time of the "off" state and "off" at the second setting time.

이러한 타이머는 일반적으로 가전제품에 내장되어 사용자에게 매우 펀리한 기능을 제공하면서 여러가지로 다양하게 사용되어 왔으나, 전술한 타이머는 그 기능이 단순하고 대부분 전원개폐시간을 임의로 조절할 수 없을 뿐 아니라 정확한 시간제어가 불가하며 물품에 내장되어 있어, 특정제품에 대해서만 타이머기능을 부여할 수 밖에 없는 사용상의 제한요소가 발생되고 있다.These timers are generally embedded in home appliances and have been used in various ways while providing a very funky function to the user. However, the above-described timers are simple in their functions, and most of them cannot control the power switching time arbitrarily. There is a limiting factor in use, which is impossible because it is embedded in the product, which can only give a timer function to a specific product.

상기와 같은 제반문제점을 해소하고자 안출된 본 발명은 일반적인 디지탈 전자시계의 모든 기능을 가지며 사용자가 본 발명의 시계후면에 설치된 전원콘센트(7)에 피 제어기기(전기제품)을 접속시켜 필요로 하는 전원의 개폐시간을 시계전면에 설치된 키-보드(5)의 조작에 의해서 셋팅된 시간에 전원 개폐기능을 수행하게함으로서 피제어기기(전자제품)의 전원을 공급 또는 차단하여 임의로 조절할 수 있게 하고, 종래의 단순한 기능은 물론 임의의 시간마다 반복적인 전원개폐 및 특정시간 동안만의 반복과 온, 오프 등을 수행할 수 있도록 하여 사용자에게 편리함을 극대화시키는 동시에, 전력 및 모든 에너지의 낭비를 극소화하여 자원을 효과적으로 사용하고자 하는데 본 발명의 목적이 있다.The present invention devised to solve the above problems has all the functions of a general digital electronic clock and the user needs to connect a control device (electrical product) to a power outlet 7 installed on the back of the clock of the present invention. By performing the power opening and closing function at the time set by the operation of the key board 5 installed on the front of the clock, the power can be arbitrarily adjusted by supplying or cutting off the power of the controlled device (electronic product), As well as the conventional simple function, it is possible to perform repeated power on and off at any time and to repeat and turn on and off for a specific time, maximizing convenience for the user and minimizing waste of power and all energy. It is an object of the present invention to use effectively.

이하 첨부된 도면에 의해 본 발명의 구성을 상세히 설명하면 다음과 같다.Hereinafter, the configuration of the present invention with reference to the accompanying drawings in detail.

본 발명은 제1a도, 제1b도, 제1c도에 있어서, 전원부(1)에 마이크로 프로세서(Micro Processor)(2)를 연결하되, 마이크로 프로세서의 입/출력 포트(I/O Port)에는 각각 시간표시부(3)와 시간셋트(TS), 온모드(ON), 오프모드(OFF), 프로그램모드(PRO), 반복모드(RPT), 온/오프 모드(ON/OFF)로 된 동작모드표시부(4) 및 프로그램키(PROG), 슬로우셋트키(SS), 패스트 셋트키(FS), 클리어키(CLR), 현재시간셋트기(TS), 엔터키(ENT)로 이루어진 키-보드(Key-Board)(5)와 계전기(RELAY)(6)을 접속하고 계전기(6)의 동작에 의해 전원이 인가되는 콘센트(7)를 계전기(6)에 2차측에 결합한 구성을 이루는 것이다.1A, 1B, and 1C, a microprocessor (2) is connected to the power supply unit (1), and the input / output ports (I / O ports) of the microprocessor are respectively. Operation mode display unit with time display section 3, time set (TS), on mode (ON), off mode (OFF), program mode (PRO), repeat mode (RPT), and on / off mode (ON / OFF) (4) Key board consisting of PROG, PROG, Slow Set Key (SS), Fast Set Key (FS), Clear Key (CLR), Current Time Set (TS) and Enter Key (ENT). -The board (5) and the relay (RELAY) 6 is connected, and the outlet 7 to which power is applied by the operation of the relay 6 is coupled to the relay 6 on the secondary side.

상기와 같은 구성으로 이루어지는 본 발명의 작용 및 효과를 첨부된 도면에 의해 상세히 살펴보면 다음과 같다.Looking at the operation and effects of the present invention made of the above configuration in detail by the accompanying drawings as follows.

제1도에 있어서 전원부(1)는 입력전원코드에 가정용 교류전원(100/200VAC)이 가해지면 정전압회로는 전자시계 및 타이머회로의 동작에 필요한 직류전원(5VDC)을 만들어 마이크로 프로세서(2)에 전원을 인가하게 되고 정전시에 대처할 수 있도록 보조전원(Battery Back-up)(1')을 두며, 시간표시부(3)는 디스플레이(FND 또는 LCD)를 이용하여 현재시각 및 타이머의 동작시간을 표시하게 되고, 키-보드(Key-Board)(5)는 6개의 키스위치를 보유하되, 프로그램키(PROG)는 동작모드를 설정하게 되며, 슬로우셋트키(SS)와 패스트셋트키(FS)는 해당모드에서의 시간셋팅시 사용되며 클리어키(CLR)는 셋팅된 시간을 지울때 사용하고 엔터키(ENT)는 셋팅완료를 표시하며 현재 시간셋트키(TS)는 전자시계의 현재시각을 셋팅시킬때 사용된다.In FIG. 1, when the AC power source (100 / 200VAC) is applied to the input power cord, the power supply unit 1 generates a DC power supply (5VDC) necessary for the operation of the electronic clock and the timer circuit to the microprocessor 2. A battery back-up 1 'is provided to apply power and cope with a power failure, and the time display unit 3 displays the current time and operation time of the timer using a display (FND or LCD). Key-board (5) has six key switches, the program key (PROG) to set the operation mode, the slow set key (SS) and fast set key (FS) It is used to set the time in the relevant mode.Clear key (CLR) is used to delete the set time.Enter key (ENT) indicates the setting completion and current time set key (TS) sets the current time of the electronic clock. When used.

시간의 계산은 크리스탈 발진부(8)에 의해 주파수를 카운트하고 마이크로 프로세서(2)에서 가로채기(Interrupt)기능을 이용하여 소프트웨어로 처리되고 있으며 제1d도와 같이 출력전원콘센트(7)의 전원공급 및 차단은 전력트랜지스터(Q)에 의하여 구동되는 계전기(6)의 접점단속에 의해서 결정되도록 작용한다.The calculation of time is processed by software using the Interrupt function in the microprocessor 2 to count the frequency by the crystal oscillator 8 and to supply and cut off the output power outlet 7 as shown in FIG. Acts to be determined by the contact interruption of the relay 6 driven by the power transistor Q.

또한 모드설정, 시간셋팅, 현재시간표시, 계전기구동 등의 모든 기능이 마이크로 프로세서(2)의 소프트웨어에서 처리되고 이를 위해서 일정간격으로 발진을 행하는 크리스탈 발진부(8)(X-TAL)에 의한 발진주파를 주파수 카운터에서 하드웨어적으로 가로채기(Interrupt) 기능을 발생시키게 되어 있다.In addition, the oscillation frequency by the crystal oscillator 8 (X-TAL) that all functions such as mode setting, time setting, present time display, relay start, etc. are processed by the software of the microprocessor 2 and oscillates at a predetermined interval for this purpose. Is to generate the hardware interrupt function in the frequency counter.

전술된 각 타이머기능의 선택 및 동작원리를 소프트웨어와 함께 첨부도면에 의거 좀더 구체적으로 설명하면 다음과 같다.The selection and operation principle of each timer function described above will be described in more detail based on the accompanying drawings with software.

제2도 내지 제4도에 있어서 초기에 전원이 인가되면 필요한 데이터구조 및 하드웨어를 초기화하고(스텝 101) 이때부터 가로채기(Interrupt) 기능을 수행하게 하며 최초에는 현재시간 표시모드(TS)에서 작동한다. 키-보드(5)의 프로그램키(PROG)에 의해서 작동모드가 변환되며 현재시간을 맞출 경우는 현재 시간표시모드(TS)를 셋트(스텝 102)시킨후 슬로우셋트키(SS)와 패스트셋트키(FS)를 이용하여 현재시간을 시간표시부(3)에 나타나게 하는 동작을 수행하게 되는 바, 이는 기존의 전자시계와 유사함을 알 수 있으며, 평상시 타이머는 일반시계와 같은 기능을 수행하도록 되어있다.2 to 4, when the power is initially applied, it initializes the necessary data structures and hardware (step 101), and then performs an interrupt function from this time, and initially operates in the present time display mode TS. do. The operation mode is changed by the program key PROG of the key board 5, and if the current time is set, set the current time display mode TS (step 102), and then set the slow set key (SS) and the fast set key. By using (FS) to perform the operation to display the current time on the time display unit 3, it can be seen that it is similar to the existing electronic clock, the usual timer is to perform the same function as the normal clock. .

다음으로 프로그램(PROG)에 의해 가질 수 있는 각각의 모드를 설명하면 다음과 같다.Next, each mode which can be possessed by the program PROG is explained as follows.

첫째는 온(ON) 시간 모드로서, 이 모드는 제3a도 및 제3b도에 도시된 순서도와 같이 모드데이타변화(스텝 105)에 의해 "온"시간 포인터가 셋트(스텝 201)되면 해당램프(온모드)가 온(ON)(스텝 202)되게 되며 "온"시간 데이타를 변경(스텝 203)하여 어떤시간(θt)에 맞추어 놓은 후 엔터키(ENT)로 프로그램을 이탈하면 해당램프(온모드)가 오프(OFF)되어(스텝 205) 제2a도에 나타낸 타임챠트(Time Chart)와 같이 현재시간으로 부터 콘센트(7)의 출력전원이 오프(OFF)를 유지하다가 셋팅된 시간, 즉 θt의 시간에 전원이 온되어 출력을 얻을 수 있는 모드이다.The first is the ON time mode. This mode is the flow chart shown in FIGS. 3A and 3B. When the "on" time pointer is set (step 201) by the mode data change (step 105), the corresponding lamp ( ON mode is turned ON (step 202). After changing the "ON" time data (step 203) to a certain time (θt) and leaving the program with the Enter key (ENT), the corresponding lamp (ON mode) ) Is turned off (step 205), and the output power of the outlet 7 remains OFF from the current time as shown in the time chart shown in FIG. This mode is to turn on the power and get the output.

둘째로 오프(OFF) 시간 모드에 대해 알아보면, 이 모드의 작용은 전술한 온(ON) 모드와 유사하며 단지, 제2b도에서 보는 타임챠트와 같이 현재시간으로부터 온 상태의 출력을 보내던 타이머가 오프(OFF) 모드로 셋팅된 시간 즉 t에 이르게 되면 타이머의 출력이 중단되게 되어 피제어기기가 오프되는 모드이다.Secondly, in regard to the OFF time mode, the operation of this mode is similar to the ON mode described above, except that a timer that sends an output from the current time, such as the time chart shown in FIG. When the time set to OFF mode, i.e., t is reached, the timer output is interrupted and the controlled device is turned off.

셋째로 온-오프(ON-OFF) 시간 모드인데, 이 모드는 온시간모드와 오프시간모드의 두모드에 두번의 시간을 셋팅(스텝 403), (스텝 408)하게 되며 온 시간이 오프시간보다 작을때는 제2b도에 타임챠트와 같이 출력전원이 오프된 상태에서 θt의 시간에 이르러 온되고 θt시간에서 오프되는 작동을 하게 되는 모드이다.Thirdly, it is ON-OFF time mode, which sets two times (step 403) and (step 408) in two modes, on time mode and off time mode. When it is small, as shown in the time chart in FIG.

넷째는 오프-온(OFF-ON)시간 모드로서, 이 모드는 세번째 모드 설명에서 출력전원이 온으로 된 상태 즉, 계전기(RELAY)(6)가 닫힌 상태에서 t6의 시간동안 출력전원이 오프되는 모드이다.(제2d도)Fourth is the OFF-ON time mode. In this mode, the output power is turned off during the time t 6 when the output power is turned on in the third mode description, that is, when the relay (RELAY) 6 is closed. (Diagram 2d)

다섯번째로는 반복(Rep)시간 모드의 경우, 이 모드는 출력전원의 온-오프를 계속해서 반복시킬때 사용하며, 이때는 오프시간을 따로 셋팅시킬 필요가 없이 출력전원의 온시간(ON-RPO)과 주기(RPT)의 두번 셋팅(스텝 503), (스텝 508)으로 작동이 이루어지며, 제2e도와 제2f도에 도시된 타임챠트와 같이 동작되고 주기(RPT)는 반복시키고자 하는 시간 즉, θH시간이 되고 온시간(ON-RPO)은 반복주기(RPT)에서 전원이 출력되는 시간 간격을 말한다. 이 온시간(ON-RPO)은 현재 시간부터 바로 반복모드를 수행하는 것이 후자에 설명될 부분과 다음 점임을 밝혀둔다.Fifthly, in the Rep time mode, this mode is used to continuously repeat the on-off of the output power. In this case, there is no need to set the off time separately. The operation is performed by setting two times (step 503) and (step 508) of the cycle (RPT) and the time chart shown in FIGS. 2e and 2f, and the cycle (RPT) is a time to repeat , θH time and ON-RPO is the time interval that the power is output in the repetition period (RPT). This ON-RPO points out that performing the repeat mode directly from the current time is the next and next point.

즉, 이 모드는 θH시간의 주기내에서 θH시간만큼은 온시간이 되어 주기내에서 온-오프를 반복하며 이 주기는 계속 반복되게 되는 모드이다.That is, this mode is a mode in which the on-off period is repeated as long as? H time in the period of? H time, and the period is repeated repeatedly.

여섯번째는 온/반복(ON/Rep)시간 모드인데, 다섯번째로 설명된 반복모드를 특정시간 즉, αH시간이 경과된 후부터 온/반복(ON/Rep)을 시키고자할때 사용되며, 온시간모드셋트(1항), 반복시간 모드셋팅(5항)의 3회 셋팅에 의해서 반복모드를 수행(스텝 206)하게 되어 타이머는 온 시간이 될때까지 즉, αH시간이 경과하기 전까지 출력전원을 오프상태로 유지하다가 온모드셋팅시간(θt)으로부터 반복모드를 수행하게 된다.(제2g도)The sixth is the ON / Rep time mode. The fifth mode is used when you want the ON / Rep to be repeated after a certain time, that is, the αH time. The repeat mode is executed (step 206) by setting three times of the time mode set (item 1) and the repetition time mode set (item 5), and the timer stops output power until the on time, i.e., the αH time elapses. The repetitive mode is performed from the on-mode setting time θt while being kept off (Fig. 2g).

일곱번째로는 오프반복(OFF/Rep) 시간 모드로서, 여섯번째로 설명된 모드와 유사하나 단지 오프모드로 설정된 시간까지 즉, βH시간동안 반복모드를 수행하며 θt시간부터 γH시간동안 출력전원을 오프시키게 되는 모드로 여섯번째로 설명된 모드와 상충되는 작동을 하는 것이다.(제2h도)The seventh is the OFF / Rep time mode, which is similar to the sixth mode described, but performs the repetitive mode only for the time set to the off mode, that is, βH time, and turns the output power from θt time to γH time. The mode to be turned off is to operate contrary to the sixth mode described (Figure 2h).

여덟번째로는 온-오프반복(ON-OFF/Rep) 시간 모드인데, 이 모드는 온 시간과 오프시간의 대소에 따라 두가지 모드(스텝 902), (스텝 903)로 작용되며, 온모드(αH시간 설정), 반복모드(βH시간), 오프모드(γH시간)의 4회의 시간을 셋팅하며 특정시간동안(βH시간) 전원을 온-오프시키게 되는 반복모드를 수행(스텝 411)하는 모드이다.Eighth, there is an ON-OFF / Rep time mode, which operates in two modes (step 902) and (step 903) depending on the magnitude of the on time and the off time. Time setting), the repetition mode (βH time) and the off mode (γH time) are set four times, and the repetitive mode which turns on / off the power for a specific time (βH time) is a mode (step 411).

온시간이 오프시간보다 작은 경우는 현재시간부터 전원이 오프상태를 유지하다가 온 시간부터 반복모드를 수행하며(제2i도), 반대의 경우에는 현재시간부터 반복모드를 수행하다 오프시간부터 온시간까지 출력 전원이 오프상태를 유지하며 온시간부터 다시 반복모드를 수행하게 된다.(제2j도)If the on time is less than the off time, the power is kept off from the current time and the repeat mode is executed from the on time (Fig. 2i), otherwise the repeat mode is performed from the current time. The output power remains off until the on-time repeats to the repeat mode (Fig. 2j).

이러한 시간 셋팅 및 모드선택, 표시시간 포인터변환 등은 소프트웨어의 주 프로그램에서(제3a도, 제3b도, 제3c도, 제3d도, 제3e도, 제3f도, 제3g도, 제3h도, 제3i도) 수행하게 되며, 시간 셋팅시 착오가 발생하면 클리어(CLR)키로서 현재 모드의 시간 데이타를 모두 지울 수 있다. 각 모드 및 현재 수행동작 표시는 동작모드 표시부(4)에서 발광다이오드(LED)의 점등상태로 사용자가 알 수 있으며, 계전기(6)의 구동상태, 시간계산 및 비교, 동작모드표시부(4)의 발광다이오드(LED) 제어 및 시간표시부(3)의 동작상태는 가로채기 프로그램(Interrupt Program)에서 (제5a도, 제5b도, 제5c도, 제5d도, 제5e도) 행하여 지도록 된다. 즉, 통상에 가로채기의 형태는 하드웨어적으로 행하여 지는 것을 순서도(제5a도)를 참조하면 알 수 있다.Such time setting, mode selection, and display time pointer conversion are performed in the main program of the software (Figs. 3a, 3b, 3c, 3d, 3e, 3f, 3g, and 3h). , FIG. 3i). If an error occurs during time setting, all time data of the current mode can be deleted using the clear (CLR) key. Each mode and the present performing operation display can be seen by the user as the lighting state of the light emitting diode (LED) in the operation mode display unit 4, the driving state, time calculation and comparison of the relay 6, the operation mode display unit 4 The operation state of the light emitting diode (LED) control and time display section 3 is performed in the interrupt program (FIGS. 5a, 5b, 5c, 5d, 5e). In other words, it can be seen from the flowchart (Fig. 5A) that the interception is usually performed in hardware.

본 발명의 모드선택에 따른 계전기의 제어형태에 대해 상세히 알아보면, 제5b도에 있어서 어떤 형태의 모드를 선택하느냐에 따라서 계전기의 제어 형태가 달라지게 되는데(스텝 701에서 스텝 704) 반복 모드일 경우는 앞에서 설명된 반복제어(스텝 705)가 행하여지며, 온-오프 모드일 경우는 마이크로 프로세서(2)에서 두시간 값을 비교하는 단계가 이루어지게 되는데 온시간보다 오프시간이 클 경우(스텝 708)에는 현재 시간과 온시간을 비교하게되며(스텝 709) 현재시간보다 온시간모드가 클 경우 즉, 타이머에 기억된 계전기 온시간에 아직 현재시간이 도달하지 아니한 때에는 계전기는 오프상태(스텝 710)로서 콘센트(7)에는 출력전원이 없는 상태가 되는 것이다.When the control mode of the relay according to the mode selection of the present invention is described in detail, the control mode of the relay varies depending on which type of mode is selected in FIG. 5B (step 701 to step 704). The repetitive control (step 705) described above is performed, and in the on-off mode, the step of comparing the two time values is performed in the microprocessor 2, but if the off time is larger than the on time (step 708). When the on time mode is larger than the current time, that is, when the current time has not yet reached the relay on time stored in the timer, the relay is turned off (step 710). In 7), there is no output power.

또한 현재시간이 타이머 기억된 시간보다 작은 경우(스텝 709)는 계전기 작동시간이 되었으므로 계전기(6)은 온되게 되어(스텝 711) 타이머는 정시에 작동되게 되는 것이다. 즉, 마이크로 프로세서(2)의 시간 값비교에 의해 릴레이는 구동 또는 차단되게 되는 것이다.When the current time is smaller than the timer stored time (step 709), the relay operation time has been reached, so the relay 6 is turned on (step 711) and the timer is operated on time. That is, the relay is driven or shut off by the time value comparison of the microprocessor 2.

이와같이 온 상태에서의 계전기 제어 또는 오프상태에서의 계전기 제어로(제5c도, 제5d도, 제5e도) 원활한 작동이 이루어지게 되는 것이다.In this way, the relay control in the on state or the relay control in the off state (FIGS. 5C, 5D, and 5E) results in smooth operation.

또한 본 발명은 소비전력을 최소화하기 위해 표시부는 다이나믹 표시법(Dynamic Display)을 사용하며 계전기의 동작은 1분 단위로 조정하게 된다.In addition, in the present invention, the display unit uses a dynamic display to minimize power consumption, and the operation of the relay is adjusted in units of 1 minute.

반복모드 수행시는 반복주기(RPT)가 의사시계(Pseudo-Clock)를 이용하여 반복을 시작할 때마다 이 시계를 셋팅(setting)하여 주기(RPT)를 형성하며 반복주기(RPT)내에서 온 시간과 비교하여 출력전원을 개폐할 수 있도록 되어 있다. (제5b도, 제5c도, 제5d도, 제5e도)When performing the repeat mode, whenever the repetition period (RPT) starts the repetition using a pseudo-clock, this clock is set to form a period (RPT) and the time from the repetition period (RPT) Compared with that, the output power can be opened and closed. (Figure 5b, Figure 5c, Figure 5d, Figure 5e)

이상 전술한 바와같은 동작을 행하는 본 발명의 타이머는 피제어기기(전기제품)의 제어시간이 정확할 뿐아니라 특정시간이 지난후(αH) 출력전원을 반복 개폐시키게 되므로 실내에서 사용되는 난방기구의 일몰시간이후 부터 일출전까지 반복개폐가 가능하며 또한 가정용 취사기구등에도 사용할 수 있어 기존의 전자식 타이머와는 그 기능면에서 월등한 것으로서 프로그램키에 의해 각 모드를 선택한 후 필요한 타이머의 시간을 셋팅하여 동작시키면 표시부는 현재시간을 표시하면서 셋팅된 모드에 따라 출력전원을 온, 오프, 반복, 온/반복, 오프/반복, 온-오프/반복 등의 다양한 제어형태를 통해서 피제어기기를 개폐할 수 있는 유용한 발명으로서, 일반시계기능에 전원개폐기능을 갖는 다기능 전자타이머인 것이다.As described above, the timer of the present invention performing the operation as described above not only makes the control time of the controlled device (electrical product) accurate, but also repeatedly opens and closes the output power after a certain time (αH), so that the sunset of the heating apparatus used indoors It is possible to open and close repeatedly after the time and before sunrise, and it can also be used for home cooking utensils. It is superior to the existing electronic timer in terms of its function. If you select each mode by program key and operate it by setting the required timer time, The display unit displays the current time and is useful for opening and closing the controlled device through various control types such as on, off, repeat, on / repeat, off / repeat, on-off / repeat according to the set mode. An invention is a multifunctional electronic timer having a power switch function in addition to a general clock function.

Claims (1)

전원부(1)에 마이크로 프로세서(2)를 연결하되, 마이크로 프로세서에는 선택모드에 따라 동작이 이루어지는 온(ON), 오프(OFF), 반복(RPT), 온/반복(ON/RPT), 오프/반복(OFF/RPT), 온-오프/반복(ON-OFF/RPT)의 기능을 갖는 프로그램을 내장시키며, 상기 마이크로 프로세서의 입/출력 포트에는 시간표시부(3)와 시간셋트(TS), 온모드(ON), 오프모드(OFF), 프로그램모드(PRO), 반복모드(RPT), 온/오프모드(ON/OFF)로 된 동작모드 표시부(4) 및 프로그램키(PROG), 슬로우셋키(SS), 패스트셋트기(FS), 클리어키(CLR), 시간셋트키(TS), 엔터키(ENT)로 이루어진 키-보드(Key-Board)(5)와 통상의 계전기(6)를 각각 연결하여 이루어지는 것을 특징으로 하는 전자시계 겸용 전원 타이머 장치.The microprocessor 2 is connected to the power supply unit 1, but the microprocessor is turned on, off, repeat (RPT), on / repeat (ON / RPT), off / A program with functions of repeat (OFF / RPT) and ON-OFF / RPT (embedded) is embedded, and the input / output port of the microprocessor includes a time display unit (3), a time set (TS), and an on Operation mode display section 4, program key (PROG), and slow set key (ON), off mode (OFF), program mode (PRO), repeat mode (RPT), on / off mode (ON / OFF) SS-key, fast-set machine (FS), clear key (CLR), time-set key (TS), enter-key (ENT), and the key board (5) and the ordinary relay (6), respectively Electronic clock combined power timer device characterized in that the connection is made.
KR1019880004675A 1988-04-23 1988-04-23 Power timer device with electronic watch KR910002796B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019880004675A KR910002796B1 (en) 1988-04-23 1988-04-23 Power timer device with electronic watch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019880004675A KR910002796B1 (en) 1988-04-23 1988-04-23 Power timer device with electronic watch

Publications (2)

Publication Number Publication Date
KR890016441A KR890016441A (en) 1989-11-29
KR910002796B1 true KR910002796B1 (en) 1991-05-04

Family

ID=19273830

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019880004675A KR910002796B1 (en) 1988-04-23 1988-04-23 Power timer device with electronic watch

Country Status (1)

Country Link
KR (1) KR910002796B1 (en)

Also Published As

Publication number Publication date
KR890016441A (en) 1989-11-29

Similar Documents

Publication Publication Date Title
KR100422799B1 (en) Method of Dynamically lightening Back-lights of Mobile Phone
JPH0687078B2 (en) Modular-electronic timer-
KR910002796B1 (en) Power timer device with electronic watch
CN110346154B (en) Intelligent analog switch system and method for debugging door of metro vehicle
KR910001045B1 (en) Dower imer circuit for with electric watch
KR920000751Y1 (en) Time switch
CN2410726Y (en) Electronic timing switch for gas stove
KR910008170Y1 (en) Timer and slip control circuit
KR910006444Y1 (en) Alarm clock which has a time function
KR940006199B1 (en) Gas consumption control device of co2 laser
US6353579B1 (en) Display illumination for an electronic device
KR940008246A (en) Time switch and control method
KR20020079123A (en) Multipurpose timer
JPH07281797A (en) Power controller
JPH0349477Y2 (en)
JPS6148677B2 (en)
TW477919B (en) Timer capable of controlling power
KR970025281A (en) Power automatic control device and control method using microwave oven
KR20020028714A (en) Microwave oven having power saveing mode
JPH08179063A (en) Luminescent clock
KR800000333Y1 (en) Electronic timer of a pot preparing medicines
JP3081072U (en) Timer device
JPH01255195A (en) Remote controller
SU1095913A1 (en) Electronic game
JPS631464Y2 (en)

Legal Events

Date Code Title Description
A201 Request for examination
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: 20010502

Year of fee payment: 11

LAPS Lapse due to unpaid annual fee