KR100208711B1 - Facsimile equipment - Google Patents

Facsimile equipment Download PDF

Info

Publication number
KR100208711B1
KR100208711B1 KR1019950064222A KR19950064222A KR100208711B1 KR 100208711 B1 KR100208711 B1 KR 100208711B1 KR 1019950064222 A KR1019950064222 A KR 1019950064222A KR 19950064222 A KR19950064222 A KR 19950064222A KR 100208711 B1 KR100208711 B1 KR 100208711B1
Authority
KR
South Korea
Prior art keywords
time
power
power failure
counter
control
Prior art date
Application number
KR1019950064222A
Other languages
Korean (ko)
Other versions
KR970056744A (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 KR1019950064222A priority Critical patent/KR100208711B1/en
Publication of KR970056744A publication Critical patent/KR970056744A/en
Application granted granted Critical
Publication of KR100208711B1 publication Critical patent/KR100208711B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N1/32101Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00885Power supply means, e.g. arrangements for the control of power supply to the apparatus or components thereof
    • H04N1/00888Control thereof
    • H04N1/00893Control thereof using a back-up supply, e.g. in case of main-supply failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00885Power supply means, e.g. arrangements for the control of power supply to the apparatus or components thereof
    • H04N1/00899Detection of supply level or supply failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N1/32609Fault detection or counter-measures, e.g. original mis-positioned, shortage of paper
    • H04N1/32646Counter-measures
    • H04N1/32651Indicating or reporting

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Electric Clocks (AREA)
  • Facsimiles In General (AREA)

Abstract

[청구범위에 기재된 발명이 속한 기술분야][Technical field to which the invention described in the claims belong]

전원이 패일되어 다시 전원이 공급될 때까지 경과된 시간을 계산하여 현재 시간을 정확히 표시하는 기술이다.It is a technology that displays the current time accurately by calculating the time that elapses from when the power fails to supply power again.

[발명이 해결하고자 하는 기술적 과제][Technical Problem to Solve]

전원패일을 대비하여 시간보정을 위한 별도의 칩을 사용하지 않고 일반 카운터를 이용하여 현재시간을 보정하는 것이다.To prepare for the power failure, the current time is corrected using a general counter without using a separate chip for time compensation.

[발명의 해결방법의 요지][Summary of the solution of the invention]

전원 패일을 검출하여 상기 카운터를 동작시키고, 전원이 복구될 시 상기 카운터의 카운팅값을 읽어들인 후 전원패일시의 시간과 가산에 의해 현재시간을 보정하여 상기 표시수단에 표시한다.When the power failure is detected, the counter is operated, and when the power is restored, the counting value of the counter is read, and the current time is corrected by the time and addition of the power failure and displayed on the display means.

[발명의 중요한 용도][Important Uses of the Invention]

시간을 표시하는 장치의 전원패일 시 현재시간을 보정하여 표시한다.The current time is corrected and displayed when the power failure of the device is displayed.

Description

팩스시스템에서 카운터를 이용한 시간보정장치 및 방법Time correction device and method using counter in fax system

제1도는 본 발명에 따른 시간보정장치의 블록구성도.1 is a block diagram of a time correction device according to the present invention.

제2도는 본 발명에 따른 시간보정을 위한 일 실시예의 제어 흐름도.2 is a control flowchart of an embodiment for time correction according to the present invention.

제3도는 본 발명에 따른 시간보정을 위한 다른 실시예의 제어 흐름도.3 is a control flowchart of another embodiment for time correction according to the present invention.

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

10 : CPU 20 : 전원패일 검출부10: CPU 20: power fail detection unit

30 : 메모리 40 : 카운터30: memory 40: counter

50 : 주파수 발생부 60 : 백업배터리장치50: frequency generator 60: backup battery device

본 발명은 시간표시장치에 관한 것으로, 특히 전원이 패일되어 다시 전원이 공급될 때까지 경과된 시간을 계산하여 현재 시간을 정확히 표시하는 시간보정장치 및 방법에 관한 것이다.The present invention relates to a time display device, and more particularly, to a time correction device and method for accurately displaying the current time by calculating the time that elapses from the power failure until the power supply again.

일반적으로 시간표시장치는 요일, 년, 월, 일, 시간을 표시할 수 있도록 하는 별도의 칩(Chip)을 사용하여 시간을 표시하게 된다. 그러므로 이와 같이 별도의 칩을 사용하여 시간을 표시하는 종래의 시간표시장치는 AC 전원과 관계없이 배터리를 사용하기 때문에 전원패일과 관계없이 항상 현재시간을 표시할 수 있으나, 별도의 칩을 사용함으로 원가의 상승으로 인해 제품의 코스트가 상승되는 문제점이 있었다.In general, the time display device displays time using a separate chip to display the day, year, month, day, and time. Therefore, the conventional time display device that displays the time using a separate chip as described above uses a battery regardless of the AC power, so it can always display the current time regardless of the power failure. Due to the increase in the cost of the product was a problem.

따라서 본 발명의 목적은 상기와 같은 문제점을 해결하기 위한 시간보정장치 및 방법을 제공함에 있다.It is therefore an object of the present invention to provide a time correction device and method for solving the above problems.

본 발명의 다른 목적은 일반 카운터를 이용하여 정전시의 경과시간을 카운팅 한 후 전원이 복구될 시 현재 시간을 보정하여 표시하는 장치 및 방법을 제공함에 있다.Another object of the present invention is to provide an apparatus and method for correcting and displaying a current time when power is restored after counting an elapsed time during a power failure using a general counter.

상기 목적을 달성하기 위한 본 발명의 시간보정장치는 전원패일시 시간보정을 제어처리하며, 백업전원 제어신호와 카운트 인에이블신호 및 표시제어신호를 발생하는 제어수단과, 전원 공급유무를 검출하여 전원패일시 NMI신호를 발생하여 상기 제어수단으로 인가하는 전원패일 검출수단과, 시간보정을 위한 프로그램을 저장하는 롬과 시간보정시 발생되는 주요 파라메터를 일시적으로 저장하는 램으로 구성되어 상기 제어수단의 제어에 의해 억세스하는 메모리수단과, 전원패일시 상기 제어수단의 제어를 받아 전원을 공급하는 백업배터리장치와, 소정의 발진주파수를 발생하는 주파수 발생수단과, 상기 백업배터리장치로부터 전원을 공급받아 상기 제어수단으로부터 발생된 카운트 인에이블신호에 의해 인에이블되어 상기 주파수 발생수단으로부터 발생된 발진주파수에 의해 카운팅 동작을 하는 카운팅수단과, 상기 제어수단의 제어를 받아 현재시간을 표시하는 표시수단으로 구성함을 특징으로 한다.The time correction device of the present invention for achieving the above object is a control process for controlling the time correction at the time of power failure, the control means for generating a backup power control signal, a count enable signal and a display control signal, and detecting the presence or absence of power supply Power failure detection means for generating an NMI signal at the time of failure and applying it to the control means, a ROM for storing a program for time compensation, and a RAM for temporarily storing main parameters generated during time compensation. Memory means to be accessed by the control means, a backup battery device for supplying power under the control of the control means in the event of power failure, frequency generating means for generating a predetermined oscillation frequency, and the power supplied from the backup battery device for the control. Enabled by the count enable signal generated from the means to the frequency generating means Counting means for counting the operation by the generated oscillation frequency and, under the control of said control means and characterized in that it consists of a display means that displays the current time.

상기 목적을 달성하기 위한 본 발명의 시간보정방법은 전원 패일을 검출하여 카운터를 동작시키고, 전원이 복구될 시 상기 카운팅값을 읽어들인 후 전원패일시의 시간과 가산에 의해 현재시간을 보정하여 표시함을 특징으로 한다.In order to achieve the above object, the time correction method of the present invention detects a power failure, operates a counter, reads the counting value when power is restored, corrects and displays the current time by time and addition of the power failure. It is characterized by.

이하 본 발명을 첨부된 도면을 참조하여 상세히 설명한다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

제1도는 본 발명에 따른 시간보정장치의 블록구성도로서, 전원 공급장치(도시하지 않음)로부터 전원 공급유무를 검출하여 전원패일시 NMI(Non Mask Interrupt)신호를 발생하여 상기 CPU(10)로 인가하는 전원패일 검출부(20)와, 상기 전원패일 검출부(20)로부터 출력되는 NMI신호를 감지하여 백업전원 제어신호와 카운트 인에이블신호를 발생하고, 전원이 복구될 시 전원패일 시간을 산출하여 현재시간을 보정하는 CPU(10)와, 시간보정을 위한 프로그램을 저장하는 롬과 시간보정시 발생되는 주요 파라메터를 일시적으로 저장하는 램으로 구성되어 상기 CPU(10)의 제어에 의해 억세스하는 메모리(30)와, 전원패일시 상기 CPU(10)의 제어를 받아 전원을 공급하는 백업배터리장치(60)와, 소정의 발진주파수를 발생하는 주파수 발생부(50)와, 상기 백업배터리장치(60)로부터 전원을 공급받아 상기 CPU(10)의 카운트 인에이블신호에 의해 인에이블되어 상기 주파수 발생부(50)로부터 발생된 발진주파수에 의해 카운팅 동작을 하는 카운터(40)와, 상기 CPU(10)의 제어에 의해 보정된 현재시간을 표시하는 LCD표시부(70)로 구성되어 있다.1 is a block diagram of a time correction device according to the present invention, which detects the presence of power supply from a power supply (not shown) and generates a non-mask interrupt (NMI) signal during power failure to the CPU 10. It detects the applied power fail detection unit 20 and the NMI signal output from the power fail detection unit 20 to generate a backup power control signal and a count enable signal, and calculates the power failure time when power is restored. The memory 10 includes a CPU 10 for correcting time, a ROM for storing a program for time correction, and a RAM for temporarily storing main parameters generated during time correction. The memory 30 is accessed by the control of the CPU 10. ), A backup battery device 60 for supplying power under the control of the CPU 10 in the event of a power failure, a frequency generator 50 for generating a predetermined oscillation frequency, and the backup battery device 60 from the backup battery device 60. power A counter 40 which is supplied and enabled by the count enable signal of the CPU 10 to perform a counting operation by the oscillation frequency generated from the frequency generator 50, and under the control of the CPU 10. LCD display unit 70 for displaying the current time corrected.

제2도는 본 발명에 따른 시간보정을 위한 일 실시예의 제어 흐름도로서, 전원패일시 카운트 인에이블신호를 발생하여 카운팅 동작을 수행하는 카운팅과정과, 상기 카운팅을 수행한 후 전원이 복구될 시 상기 카운팅값을 리드하는 카운팅값 리드과정과, 상기 카운팅값 리드과정에서 카운팅값을 리드한 후 전원패일 경과시간을 산출하는 전원패일 경과시간 산출과정과, 상기 전원패일 경과시간 산출과정에서 산출된 시간을 전원패일시의 시간값과 가산하여 현재 시간값을 보정하여 표시하는 시간표시과정으로 이루어진다.2 is a control flow diagram of an embodiment for time compensation according to the present invention, a counting process of generating a count enable signal during power failure and performing a counting operation, and counting when power is restored after performing the counting. A counting value reading process for reading a value, a power failing elapsed time calculating step for calculating a power failure time after reading a counting value in the counting value reading process, and a time calculated in the counting failure time It consists of a time display process of correcting and displaying the current time value in addition to the time value of the failing time.

제3도는 본 발명에 따른 시간보정을 위한 다른 실시예의 제어 흐름도로서, 전원패일 시 카운트 인에이블신호를 발생하여 카운팅 동작을 수행하는 카운팅과정과, 상기 카운팅을 수행한 후 전원이 복구될 시 상기 카운팅값을 리드하여 저장하는 제1 카운팅값 리드과정과, 상기 카운팅값 리드과정에서 카운팅값을 저장한 후 설정된 시간이 경과될 시 카운팅값을 리드하는 제2 카운팅값 리드과정과, 상기 제2 카운팅값 리드과정에서 리드한 카운팅값을 이용하여 발진주파수를 계산하고, 상기 전원이 복구될 시 저장한 상기 카운팅값을 읽어들여 상기 계산된 발진주파수로 상기 전원패일 경과시간을 산출하는 전원패일 경과시간 산출과정과, 상기 전원패일 경과시간 산출과정에서 산출된 시간을 전원패일시의 시간값과 가산하여 현재 시간값을 보정하여 표시하는 시간표시과정으로 이루어진다.3 is a control flowchart of another embodiment for time compensation according to the present invention, and includes a counting process of generating a count enable signal during power failure to perform a counting operation, and counting when power is restored after the counting operation. A first counting value reading process of reading and storing a value, a second counting value reading process of reading a counting value when a predetermined time elapses after storing a counting value in the counting value reading process, and the second counting value Calculating the oscillation frequency using the counting value read in the reading process, and calculating the elapsed time of the power supply by reading the counting value stored when the power is restored and calculating the elapsed time of the power supply using the calculated oscillation frequency. And corrects and displays the current time value by adding the time calculated in the process of calculating the power failure time with the power failure time. It consists of a time display process.

상술한 제1도 내지 제3도를 참조하여 본 발명의 바람직한 일실시예를 상세히 설명한다.One preferred embodiment of the present invention will be described in detail with reference to FIGS. 1 to 3.

전원패일 검출부(20)는 전원 공급장치(도시하지 않음)로부터 전원 공급유무를 검출하여 전원패일시 NMI(Non Mask Interrupt : 이하 NMI함)신호를 발생하여 상기 CPU(10)로 인가한다. 그러면 CPU(10)는 카운트 인에이블신호를 발생하여 카운터(40)로 인가하는 동시에 백업배터리장치(60)를 구동하여 카운터(40)로 전원이 공급되도록 제어한다. 그러면 주파수 발생부(50)에서는 소정의 발진주파수를 발생하여 카운터(40)의 클럭단자로 인가한다. 상기 카운터(40)는 상기 카운트 인에이블신호에 의해 인에이블되어 상기 클럭단자로 인가되는 소정 발진주파수에 의해 카운팅 동작을 수행한다. 이렇게 카운팅 동작 수행중에 전원이 복구되면 CPU(10)는 이를 감지하여 카운터(40)의 카운팅값을 리드하여 전원패일 경과시간을 산출한 후 현재시간값을 보정하여 LCD표시부(60)로 현재시간값을 표시한다.The power fail detection unit 20 detects the presence or absence of power supply from a power supply device (not shown), generates a NMI (Non Mask Interrupt) signal during power failure, and applies it to the CPU 10. Then, the CPU 10 generates a count enable signal, applies it to the counter 40, and drives the backup battery device 60 to supply power to the counter 40. Then, the frequency generator 50 generates a predetermined oscillation frequency and applies it to the clock terminal of the counter 40. The counter 40 is counted by a predetermined oscillation frequency that is enabled by the count enable signal and applied to the clock terminal. When the power is restored during the counting operation, the CPU 10 detects this, reads the counting value of the counter 40, calculates the power failure time, and corrects the present time value, and then corrects the present time value with the LCD display 60. Is displayed.

이와같이 전원이 패일된 후 전원이 복구될 시 현재 시간값을 보정하여 표시하는 동작을 CPU(10)에서 제어하는 일 실시예를 제2도를 참조하여 설명하면, 먼저 101단계에서 CPU(10)는 전원 패일인가 검사한다. 즉, 전원패일 검출부(20)로부터 NMI간 검출되었는가 검사하여 NMI신호가 검출되면 102단계로 진행한다. 상기 102단계에서 CPU(10)는 카운터(40)의 동작을 시작하기 위한 카운트 인에이블신호를 발생하여 상기 카운터(40)으로 인가한다. 그러면 103단계에서 상기 카운터(40)는 다운 카운팅 동작을 수행한다. 상기 카운터(40)가 다운카운팅 수행중에 104단계에서 CPU(10)는 전원이 복구되는지 검사하여 전원이 복구되지 않으면 상기 103단계로 돌아가 계속해서 다운카운팅 동작을 수행하도록 하고, 전원이 복구되면 105단계로 진행한다. 상기 105단계에서 CPU(10)는 상기 카운터(40)의 카운팅값을 리드하여 메모리(30)의 램영역에 저장하고 106단계로 진행한다. 상기 106단계에서 CPU(10)는 전원패일 경과시간값을 산출한다. 상기 전원패일 경과시간값은 하기 식 1에 의해 산출한다.As described above with reference to FIG. 2, an exemplary embodiment in which the CPU 10 controls an operation of correcting and displaying a current time value when power is restored after power is lost is described. Check for power failure. In other words, if the NMI signal is detected by checking whether the NMI signal is detected from the power fail detection unit 20, the process proceeds to step 102. In step 102, the CPU 10 generates a count enable signal for starting the operation of the counter 40, and applies the count enable signal to the counter 40. In step 103, the counter 40 performs a down counting operation. While the counter 40 is performing down counting, the CPU 10 checks whether the power is restored in step 104. If the power is not restored, the CPU 10 returns to step 103 to continue performing the down counting operation. Proceed to In step 105, the CPU 10 reads the counting value of the counter 40 and stores the counted value in the RAM area of the memory 30. In step 106, the CPU 10 calculates a power failure time value. The power failure time value is calculated by the following equation.

여기서 A1은 카운터(40)의 초기 설정값이다.A1 is an initial setting value of the counter 40 here.

이와같이 전원패일 경과시간을 산출한 후 107단계에서 CPU(10)는 메모리(30)에 저장된 전원패일시의 시간값을 읽어들여 상기 산출된 전원패일 경과시간을 가산하여 현재 시간값을 보정한 후 LCD 표시부(70)을 제어하여 상기 보정한 현재 시간값을 표시한다.After calculating the power failure time, the CPU 10 reads the time value of the power failure time stored in the memory 30 and adds the calculated power failure time to correct the current time value in step 107. The display unit 70 is controlled to display the corrected current time value.

전원이 패일된 후 전원이 복구될 시 현재 시간값을 보정하여 표시하는 동작을 CPU(10)에서 제어하는 다른 실시예를 제3도를 참조하여 설명하면, 201단계에서 CPU(10)는 전원 패일인가 검사한다. 즉, 전원패일 검출부(20)로부터 NMI가 검출되었는가 검사하여 NMI신호가 검출되면 202단계로 진행한다. 상기 202단계에서 CPU(10)는 카운터(40)의 동작을 시작하기 위한 카운트 인에이블신호를 발생하여 상기 카운터(40)로 인가한다. 그러면 203단계에서 상기 카운터(40)는 다운카운팅 동작을 수행한다. 상기 카운터(40)가 다운카운팅 수행중에 204단계에서 CPU(10)는 전원이 복구되는지 검사하여 전원이 복구되지 않으면 상기 203단계로 돌아가 계속해서 다운카운팅 동작을 수행하도록 하고, 전원이 복구되면 205단계로 진행한다. 상기 205단계에서 CPU(10)는 전원 복구된 시점에서 상기 카운터(40)의 다운카운팅값을 리드하여 메모리(30)의 램영역에 저장하고 206단계로 진행한다. 상기 206단계에서 CPU(10)는 전원이 복구된 시점에서 설정된 시간인 256초가 경과되었는가 검사하여 설정된 시간인 256초가 경과 되었으면 207단계로 진행한다. 여기서 설정시간은 발진주파수를 보정하기 위한 시간이며, 256초로 예를 들었으나, 이 값은 가변시킬 수 있다. 상기 207단계에서 CPU(10)는 전원이 복구되고 256초가 경과된 시점에서 카운터(40)의 다운카운팅값을 리드하고 208단계로 진행한다. 상기 208단계에서 CPU(10)는 메모리(30)의 램영역에 저장된 전원복구시 카운팅값을 읽어들여 발진주파수를 하기 식 2에 의해 산출한다.Referring to FIG. 3, another embodiment in which the CPU 10 controls an operation of correcting and displaying a current time value when power is restored after power is lost is described. Check for work. In other words, if the NMI signal is detected from the power supply failure detection unit 20, the process proceeds to step 202. In step 202, the CPU 10 generates a count enable signal for starting operation of the counter 40 and applies it to the counter 40. In step 203, the counter 40 performs a down counting operation. While the counter 40 is performing down counting, the CPU 10 checks whether the power is restored in step 204. If the power is not restored, the CPU 10 returns to step 203 to continue the down counting operation. Proceed to In step 205, the CPU 10 reads the down counting value of the counter 40 in the RAM area of the memory 30 when the power is restored, and proceeds to step 206. In step 206, the CPU 10 checks whether the preset time of 256 seconds has elapsed when the power is restored, and proceeds to step 207 if 256 seconds of the set time has elapsed. Here, the set time is a time for correcting the oscillation frequency, and is given as an example of 256 seconds, but this value can be changed. In step 207, the CPU 10 reads the down counting value of the counter 40 when 256 seconds have elapsed after the power is restored, and proceeds to step 208. In step 208, the CPU 10 reads the counting value at the time of restoring the power stored in the RAM area of the memory 30 and calculates the oscillation frequency by Equation 2 below.

그런후 209단계에서 CPU(10)는 메모리(30)에 저장된 전원복구시 리드한 다운카운팅값을 읽어들인 후 상기 산출된 발진주파수를 이용하여 하기 식 3에 의해 전원패일 경과시간을 산출한다.Then, in step 209, the CPU 10 reads the down counting value read out when the power is stored in the memory 30, and calculates the power failure time using Equation 3 below using the calculated oscillation frequency.

이와같이 전원패일 경과시간을 산출한 후 210단계에서 CPU(10)는 메모리(30)에 저장된 전원패일시의 시간값을 읽어들여 상기 산출된 전원패일 경과시간을 가산하여 현재 시간값을 보정한 후 LCD 표시부(70)를 제어하여 상기 보정한 현재 시간값을 표시한다.After calculating the power failure time in step 210, the CPU 10 reads the time value of the power failure time stored in the memory 30, adds the calculated power failure time, and corrects the current time value. The display unit 70 is controlled to display the corrected current time value.

본 발명에서는 전원패일 경과시간을 산출하기 위해 다운카운터를 예를 들어 설명하였으나 업카운터를 사용하여 전원패일 경과시간을 산출할 수 있다.In the present invention, the down counter is described as an example to calculate the power failure time, but the power failure time may be calculated using the up counter.

또한 본 발명의 실시예에서는 팩스시스템을 예를 들어 설명하였으나 시간장치를 사용하는 모든 장치에 본 발명의 범위를 벗어나지 않고 적용 가능하다.In addition, although the embodiment of the present invention has been described using a fax system as an example, the present invention can be applied to any apparatus using a time apparatus without departing from the scope of the present invention.

상술한 바와 같이 본 발명은 전원이 패일될 시 전원패일 경과시간을 산출하여 전원이 복구될 시 현재시간을 보정하여 표시장치에 표시하는데, 별도의 시간장치에 대한 칩을 사용하지 않고 일반 카운터를 사용함으로 원가를 절감할 수 있는 이점이 있다.As described above, the present invention calculates the elapsed time of the power supply when the power is failed, corrects the current time when the power is restored, and displays the current time on the display device. Instead of using a chip for a separate time device, a general counter is used. As a result, the cost can be reduced.

Claims (5)

전원 공급유무를 검출하여 전원패일시 NMI신호를 발생하여 출력하는 전원패일 검출수단을 구비한 시간을 표시하는 장치에서 카운터를 이용한 시간보정장치에 있어서, 상기 전원패일 검출수단으로부터 출력된 NMI신호가 인가될 시 전원패일로 감지하여 백업전원 제어신호와 카운트 인에이블신호를 발생하고, 전원이 복구될 시 전원패일 시간을 산출하여 현재시간을 보정하도록 제어하는 제어수단과, 시간보정을 위한 프로그램을 저장하는 롬과 시간보정시 발생되는 주요 파라메터를 일시적으로 저장하는 램으로 구성되어 상기 제어수단의 제어에 의해 억세스하는 메모리수단과, 전원패일시 상기 제어수단의 제어를 받아 전원을 공급하는 백업배터리장치와, 소정의 발진주파수를 발생하는 주파수 발생수단과, 상기 백업배터리장치로부터 전원을 공급받아 상기 제어수단으로부터 발생된 카운트 인에이블신호에 의해 인에이블되어 상기 주파수 발생수단으로부터 발생된 발진주파수에 의해 카운팅 동작을 하는 카운팅수단과, 상기 제어수단의 제어를 받아 현재시간을 표시하는 표시수단으로 구성함을 특징으로 하는 시간보정장치.A time correction device using a counter in a device for displaying a time having a power failure detection means for detecting the presence of power supply and generating and outputting an NMI signal when a power failure occurs, wherein the NMI signal output from the power failure detection means is applied. Control means for generating a backup power control signal and a count enable signal by detecting a power failure and calculating a power failure time when power is restored, and storing a program for time correction. A memory device configured to temporarily store main parameters generated during ROM and time compensation, the memory device being accessed by control of the control means, and a backup battery device for supplying power under the control of the control means when a power failure occurs; Frequency generation means for generating a predetermined oscillation frequency and receiving power from the backup battery device A counting means enabled by the count enable signal generated from the control means to perform a counting operation by the oscillation frequency generated from the frequency generating means, and a display means for displaying the current time under the control of the control means; Time correction device characterized in that the configuration. 제1항에 있어서, 상기 카운터는 다운카운터로 구성함을 특징으로 하는 시간보정장치.The time compensation device of claim 1, wherein the counter comprises a down counter. 전원패일 시 시간보정을 제어처리하며, 백업전원 제어신호와 카운트 인에이블신호를 발생하는 제어수단과, 시간보정을 위한 프로그램을 저장하는 롬과 시간보정시 발생되는 주요 파라메터를 일시적으로 저장하는 램으로 구성되어 상기 제어수단의 제어에 의해 억세스하는 메모리수단과, 전원패일시 상기 제어수단의 제어를 받아 전원을 공급하는 백업배터리장치와, 소정의 발진주파수를 발생하는 주파수 발생수단과, 상기 백업배터리장치로부터 전원을 공급받아 상기 제어수단으로부터 발생된 카운트 인에이블신호에 의해 인에이블되어 상기 주파수 발생수단으로부터 발생된 발진주파수에 의해 카운팅 동작을 하는 카운터와, 상기 제어수단의 제어를 받아 현재시간을 표시하는 표시수단을 구비한 시간을 표시하는 장치에서 시간보정방법에 있어서, 전원패일을 검출하여 상기 카운터를 동작시키고, 전원이 복구될 시 상기 카운터의 카운팅값을 읽어들여 전원패일 경과시간을 산출하는 과정과, 상기 산출한 전원패일 경과시간과 전원패일시의 시간값을 가산하에 의해 현재시간을 보정하여 상기 표시수단에 표시함을 특징으로 하는 카운터를 이용한 시간보정방법.Controls time compensation during power failure, controls means for generating backup power control signal and count enable signal, ROM for storing time compensation program, and RAM for temporarily storing key parameters generated during time compensation. Memory means for accessing by control of the control means, a backup battery device for supplying power under the control of the control means in the event of a power failure, frequency generating means for generating a predetermined oscillation frequency, and the backup battery device A counter that is powered by a count enable signal generated from the control means and counts by the oscillation frequency generated by the frequency generating means, and displays a current time under the control of the control means. In the time correction method in the apparatus for displaying the time provided with the display means, Detecting a power failure and operating the counter, when the power is restored, reading the counting value of the counter to calculate the power failure time, adding the calculated power failure time and the power failure time value A time correction method using a counter, characterized in that for correcting the current time to display on the display means. 제3항에 있어서, 상기 카운터의 카운팅값은 다운카운팅값임을 특징으로 하는 카운터를 이용한 시간보정방법.4. The method of claim 3, wherein the counting value of the counter is a down counting value. 시간을 표시하는 장치에서 카운터를 이용한 시간보정장치에 있어서, 전원패일 시 카운트 인에이블신호를 발생하여 카운팅 동작을 수행하는 카운팅과정과, 상기 카운팅을 수행한 후 전원이 복구될 시 상기 카운팅값을 리드하는 카운팅값 리드과정과, 상기 카운팅값 리드과정에서 카운팅값을 리드한 후 전원패일 경과시간을 산출하는 전원패일 경과시간 산출과정과, 상기 전원패일 경과시간 산출과정에서 산출된 시간을 전원패일시의 시간값과 가산하여 현재 시간값을 보정하여 표시하는 시간표시과정으로 이루어짐을 특징으로 하는 시간보정방법.A time correction apparatus using a counter in a device displaying a time, comprising: a counting process of generating a count enable signal when a power failure occurs and performing a counting operation; and reading the counting value when the power is restored after the counting operation. A counting value reading process, a counting value reading process in which the counting value reading process reads the power supply elapsed time calculation step for calculating the power supply elapsed time, and the time calculated in the power supply elapsed time calculating process And a time display process of correcting and displaying the current time value by adding the time value.
KR1019950064222A 1995-12-29 1995-12-29 Facsimile equipment KR100208711B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019950064222A KR100208711B1 (en) 1995-12-29 1995-12-29 Facsimile equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019950064222A KR100208711B1 (en) 1995-12-29 1995-12-29 Facsimile equipment

Publications (2)

Publication Number Publication Date
KR970056744A KR970056744A (en) 1997-07-31
KR100208711B1 true KR100208711B1 (en) 1999-07-15

Family

ID=19446855

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019950064222A KR100208711B1 (en) 1995-12-29 1995-12-29 Facsimile equipment

Country Status (1)

Country Link
KR (1) KR100208711B1 (en)

Also Published As

Publication number Publication date
KR970056744A (en) 1997-07-31

Similar Documents

Publication Publication Date Title
CA2123835A1 (en) Method and apparatus for monitoring volatile memory validity
EP0683443A2 (en) Time correction of an electronic clock
EP0607919B1 (en) Power failure protection for a portable telephone
EP1371208B1 (en) Method of correcting a real-time clock of an electronic apparatus
KR100208711B1 (en) Facsimile equipment
KR100256011B1 (en) Information processing method
US20050134226A1 (en) Battery power measuring system and method for a battery-backed SRAM
JP3294004B2 (en) Dual clock system for information equipment
JPH07146630A (en) Image forming device
JP3250898B2 (en) Numerical controller with data recovery function
JPH0683719A (en) Memory evaporation preventing system
JPH0588785A (en) Reset circuit
JP2687520B2 (en) Battery maintenance device for auxiliary battery
JP3106601B2 (en) measuring device
JP2000003299A (en) Data processor and storage medium
JPS6057450A (en) Processor in breaking of power supply of electronic equipment
JPS6349861A (en) Method for processing battery fault
JPS6180483A (en) Identification card
JPH01311818A (en) Power equipment
JPH04127655A (en) Mobile telephone system
JP2876487B2 (en) Handy type information processing device
JPH04245353A (en) Proper/improper decision method for backup memory
JPS6110784A (en) Electronic timer
JP2618514B2 (en) Power supply for electronic equipment
JP3175962B2 (en) Calendar device

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20070329

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee