KR960003256B1 - Method for reading power frequency in microwave-oven - Google Patents

Method for reading power frequency in microwave-oven Download PDF

Info

Publication number
KR960003256B1
KR960003256B1 KR1019930019905A KR930019905A KR960003256B1 KR 960003256 B1 KR960003256 B1 KR 960003256B1 KR 1019930019905 A KR1019930019905 A KR 1019930019905A KR 930019905 A KR930019905 A KR 930019905A KR 960003256 B1 KR960003256 B1 KR 960003256B1
Authority
KR
South Korea
Prior art keywords
value
count
frequency
cycle
time
Prior art date
Application number
KR1019930019905A
Other languages
Korean (ko)
Other versions
KR950009111A (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 KR1019930019905A priority Critical patent/KR960003256B1/en
Publication of KR950009111A publication Critical patent/KR950009111A/en
Application granted granted Critical
Publication of KR960003256B1 publication Critical patent/KR960003256B1/en

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24CDOMESTIC STOVES OR RANGES ; DETAILS OF DOMESTIC STOVES OR RANGES, OF GENERAL APPLICATION
    • F24C7/00Stoves or ranges heated by electric energy
    • F24C7/08Arrangement or mounting of control or safety devices

Abstract

delaying a stabilizing time of initial power input stage, when an interrupt is generated every 1 period of power frequency; presetting a predetermined set value every period of the power frequency, and starting a down count after counting the delay time; counting 1 period time by down counting a time from the predetermined preset value every period of the power frequency; checking whether one period counting value is at a range of 50Hz; if it is not at the reference range, checking whether 1 period counting value is at a range of 60Hz; and finishing the read of the frequency by setting a corresponding frequency flag in case of the both range of 50Hz and 60Hz.

Description

전자레인지의 전원주파수 판독방법How to read power supply frequency of microwave oven

제1도는 본 발명에 의한 전자레인지의 전원주파수 판독방법을 실현시키는 마이컴이 포함된 제어회로 블록도.1 is a block diagram of a control circuit including a microcomputer for realizing the power frequency reading method of the microwave oven according to the present invention.

제2도는 본 발명에 따른 전자레인지의 전원주파수 판독방법의 제어흐름도.2 is a control flowchart of a method for reading a power frequency of a microwave oven according to the present invention.

제3도는 본 발명에 따른 1주기 카운트 제어흐름도.3 is a 1 cycle count control flow chart according to the present invention.

제4a도 내지 제4c도는 본 발명에 따른 전원주파수 판독 타이밍도.4A to 4C are power frequency read timing diagrams according to the present invention.

제5도는 본 발명에 다른 전원주파수 판독 50Hz와 60Hz의 허용 한계범위 설명도.5 is an explanatory diagram of tolerance limits of power supply frequency readings 50 Hz and 60 Hz according to the present invention.

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

1 : 펄스발생부 2 : 키보드1: Pulse generator 2: Keyboard

3 : 마이컴 4 : 표시부3: microcomputer 4: display unit

5 : 부하구동부5: load driving part

본 발명은 전자레인지의 전원주파수 판독방법에 관한 것으로, 특히 전원주파수가 50Hz인지 60Hz인지를 판단할때에 판단 횟수를 복수번 수행하여 전원주파수 판별의 정확성과 신뢰도를 향상시키도록 한 전자레인지의 전원주파수 판독방법에 관한 것이다.The present invention relates to a method for reading a power frequency of a microwave oven, and in particular, when determining whether the power frequency is 50 Hz or 60 Hz, a plurality of determinations are performed to improve the accuracy and reliability of power frequency discrimination. A frequency reading method.

일반적으로, 전자레인지는 요리수행시에 가열시간 등을 제어하여 요리수행을 하는데, 그 가열시간을 체크하기 위해서는 시간진행을 해야하며, 시간 진행을 위해서 수정발진기 등 정밀한 발진기를 사용할 수가 있으나, 이러한 발진기는 고가이기 때문에 전자레인지의 원가 상승요인이 된다. 그러므로, 통상 입력되는 전원주파수를 카운트하여 시간을 진행시키도록 하고 있다.In general, a microwave oven performs cooking by controlling a heating time, etc., when performing a cooking process. To check the heating time, a microwave must be processed, and a precise oscillator such as a crystal oscillator can be used for time progressing. Because of the high price, it is a cost increase factor for microwave ovens. Therefore, the input power frequency is normally counted to advance the time.

그런데, 전원주파수는 지역에 따라 50Hz 또는 60Hz의 주파수를 가지고 있으므로, 그 전원주파수가 50Hz 인지 또는 60Hz인지를 판별하여 해당주파수를 세트하고, 이후, 전원주파수의 펄스를 카운트하여 그 세트된 주파수(50Hz 또는 60Hz)에 따라 시간을 진행시키게 된다.However, since the power frequency has a frequency of 50 Hz or 60 Hz depending on the region, it is determined whether the power frequency is 50 Hz or 60 Hz, and the corresponding frequency is set. Then, the pulse of the power frequency is counted to set the frequency (50 Hz). Or 60 Hz).

종래에는 사용자가 50Hz인지 60Hz인지를 판단하여 주파수 세트용 딥스위치 등을 절환시키는 방법이 있고, 초기에 전원주파수를 읽어들여 마이컴 자체에서 판별하는 방법이 있다.Conventionally, there is a method of switching a frequency set dip switch by determining whether a user is 50 Hz or 60 Hz, and there is a method of initially reading a power supply frequency and discriminating from the microcomputer itself.

즉, 전원주파수가 60Hz인 경우에는 전원주파수의 1주기가 16.6m sec이고, 50Hz인 경우에는 20m sec이므로, 마이컴은 초기에 전원주파수를 읽어들여 1주기 기간의 시간이 20m sec인지 16.6m sec인지에 따라 50Hz 또는 60Hz로 판단하여 주파수를 세트시키게 된다.That is, when the power frequency is 60Hz, one cycle of power frequency is 16.6m sec, and when 50Hz is 20m sec, the microcomputer initially reads the power frequency to determine whether the period of one cycle is 20m sec or 16.6m sec. According to the 50Hz or 60Hz judged to set the frequency.

그러나, 사용자가 선택하는 방식은 지역에 따라 사용되는 주파수에 맞게 선택 절환시켜야 하므로, 불편하고 신뢰성이 떨어지며, 마이컴의 한포트를 소비하게 되며, 제조작업시에 작업공수가 증가되는 단점이 있다.However, the user's selection method has to be switched according to the frequency used according to the region, it is inconvenient and unreliable, and consumes a port of the microcomputer, there is a disadvantage that the workmanship increases during the manufacturing operation.

또한, 초기 전원입력시에 마이컴이 전원주파수의 1주기 시간을 카운트하여 주파수를 판별하는 방식은 초기 불안정한 전원주파수만으로 주파수를 판독하는 경우가 생기므로, 판독에러가 발생될 수 있으며, 이로인해 필드 크래임(FILD CLAIM)이 걸리는 경우가 종종 생기는 문제점이 있다.In addition, the method in which the microcomputer counts the frequency of one cycle of the power frequency at the initial power input to read the frequency only at the initial unstable power frequency may cause a read error. There is a problem that often takes a FILD CLAIM.

본 발명의 목적은 이와같은 종래 문제점을 개선하기 위하여 파워온후 전원 안정시간을 고려하여 소정시간동안 자연시간을 둔후, 주파수 판독을 실행하도록 하고, 주파수 판독을 2회 연속 실시하여 2회 모두 동일한 주파수로 판독된 경우에만 주파수 판독을 완료하도록 함으로써, 전원주파수를 정확하게 판독할 수 있게 한 전자레인지의 전원주파수 판독방법을 제공하기 위한 것이다.An object of the present invention is to improve the conventional problem, after taking the natural time for a predetermined time in consideration of the power-stable time after power-on, to perform a frequency reading, and to perform the frequency reading twice in succession, both at the same frequency The present invention is to provide a method for reading a power supply frequency of a microwave oven in which the frequency reading is completed only when it is read, thereby enabling the power supply frequency to be read accurately.

이와같은 본 발명의 목적은 전원주파수의 1주기마다 발생되는 인터럽트가 걸리면, 전원입력 초기의 안정화 시간을 지연시키기 위한 지연시간을 카운트하는 지연시간 카운트과정과, 지연시간 카운트후에 전원주파수 매 주기마다 소정 프리세트값을 1주기 카운터에 프리세트시키고 다운카운트를 시작시키는 다운카운트 프리세트과정과, 지연시간 카운트후에 전원주파수 매 주기마다 소정 프리세트값에서 일정한 시간 간격으로 다운카운트하여 1주기 시간을 카운트 하는 1주기 카운트과정과, 그 1주기 카운트값이 50Hz 기준값 범위내에 있는지를 판단하는 50Hz 판단 과정과, 50Hz로 판단되지 않는 경우에 상기 1주기 카운트값이 60Hz 기준값 범위내에 있는지를 판단하는 60Hz 판단과정과, 상기 50Hz 판단된 경우 및 60Hz로 판단된 경우에 각각 2회 동일한 주파수로 판단될때에 해당 주파수 플래그를 세트시켜 주파수 판독을 완료하는 과정을 수행하도록 함으로써, 달성되는 것이다.Such an object of the present invention is a delay time counting process for counting a delay time for delaying the stabilization time at the initial stage of power input when an interrupt is generated every one cycle of the power frequency, and a predetermined time every cycle of the power frequency after the delay time count. The down count preset process of presetting the preset value to a one-period counter and starting the down count, and counting one cycle time by counting down at a predetermined time interval from a predetermined preset value every cycle of the power frequency after counting the delay time. A one-cycle counting process, a 50-Hz determination process for determining whether the one-cycle count value is within the 50 Hz reference value range, and a 60-Hz determination process for determining whether the one-cycle count value is within the 60 Hz reference value range when not determined to be 50 Hz; When the 50Hz and 60Hz are determined to be the same frequency twice To set the flag only when the frequency by to perform the step of completing the reading frequency will be achieved.

이하, 본 발명에 의한 전원주파수 판독방법의 실시예를 첨부된 도면을 참조해서 상세히 설명하면 다음과 같다.Hereinafter, an embodiment of a power frequency reading method according to the present invention will be described in detail with reference to the accompanying drawings.

제1도는 본 발명에 의한 전원주파수 판독방법을 실현시키기 위한 전자레인지의 제어회로 블럭도로서, 이에 도시된 바와같이 전원의 주파수를 클럭신호로서 입력시키는 클럭발생부(1)와, 요리제어를 위한 키입력을 하기 위한 키보드(2)와, 그 키보드의 입력에 따라 요리제어를 하고, 상기 클럭발생부(1)를 통해 입력되는 전원클럭신호에 의거해서 전원주파수를 판독함과 아울러 시간을 진행시키는 마이컴(3)과, 그 마이컴(3)의 제어에 의해 요리시간 및 요리진행상태를 표시하기 위한 표시부(4)와, 상기 마이컴(3)의 제어에 의해 마그네트론, 턴테이블모터, 히터 및 고내 등등 전자레인지의 부하들을 각각 제어하기 위한 부하구동부(5)등이 포함되어 구성된다.1 is a control circuit block diagram of a microwave oven for realizing a power frequency reading method according to the present invention. As shown therein, a clock generator 1 for inputting a frequency of a power source as a clock signal, and for cooking control, The keyboard 2 for key input, cooking control according to the input of the keyboard, and reading the power frequency based on the power clock signal inputted through the clock generator 1 and progressing time The microcomputer 3, the display unit 4 for displaying the cooking time and the cooking progress state under the control of the microcomputer 3, the magnetron, the turntable motor, the heater and the inside of the cabinet under the control of the microcomputer 3 It is configured to include a load driver 5 for controlling the loads of the range, respectively.

이와같이 구성된 하드웨어에 의하면, 클럭발생부(1)에서는 전원을 클럭신호로 변화시켜서 마이컴(3)에 입력시키게 되고, 그 마이컴(3)은 전원입력 초기에 전원주파수의 1주기간의 시간을 체크하여 50Hz인지 60Hz인지를 판별하여 주파수를 세트시키고, 그 주파수 세트 이후에 전원주파수의 클럭신호를 카운트하여 시간을 진행시키게 된다. 그리고, 키보드(2)를 통해 입력된 요리선택신호에 의거해서 부하구동부(5)를 통해 부하를 제어하여 요리제어를 하게 된다.According to the hardware configured as described above, the clock generator 1 converts the power into a clock signal and inputs it to the microcomputer 3. The frequency is set by determining whether the frequency is 60Hz, and the clock signal of the power frequency is counted to advance time after the frequency set. Then, the load is controlled by the load driving unit 5 based on the cooking selection signal input through the keyboard 2 to control cooking.

이와같이 상기 마이컴(3)이 수행하는 전원주파수 판독방법은 제2도에 도시된 바와같이 먼저, 전원주파수의 1주기마다 발생되는 인터럽트가 걸리면, 전원입력 초기의 안정화 시간을 지연시키기 위한 지연시간을 카운트하는 지연시칸 카운트과정을 수행한다.As described above, in the power frequency reading method performed by the microcomputer 3, as shown in FIG. 2, when an interrupt generated every one cycle of the power frequency is applied, the delay time for delaying the stabilization time of the initial power input is counted. A delayed time slot count process is performed.

이때, 상기 마이컴(3)은, 클럭발생부(1)의 전원클럭신호중 상승에지와 상승에지 또는 하강에지와 하강에지마다 인터럽트를 발생시켜 그 인터럽트에 의해 전원주파수 판별을 하게 된다.At this time, the microcomputer 3 generates an interrupt for each rising edge and rising edge or falling edge and falling edge of the power clock signal of the clock generator 1 to determine the power frequency by the interrupt.

그 지연시간 카운트 과정은 전원클럭신호에 따른 인터럽트가 걸리면, 주파수 체크가 완료되었는지를 판단하는 단계를 수행하고, 주파수 체크가 완료되지 않은 경우에 지연시간 카운트가 완료되었는지를 판단하는 단계를 수행한다. 지연시간 카운트가 완료되지 않은 경우에는 지연시간 카운트값을 1증가(D=D+1)시킨후 그 지연시간 카운트값(D)이 초기 안정화 시간에 대한 소정의 지연기준값(‘25회’) 이상인지를 판단하는 단계를 수행하며, 그 지연시간 카운트값이 상기 설정된 지연 기준값 이상이 된 경우에는 초기 안정화 시간이 경과된 것으로 판단하여 지연시간 카운트 완료를 세트시키는 단계를 수행한다.In the delay time counting process, when an interrupt according to the power clock signal is applied, a step of determining whether a frequency check is completed is performed, and when the frequency check is not completed, a step of determining whether a delay time count is completed is performed. If the delay time count is not completed, increase the delay time count by 1 (D = D + 1), and the delay time count value (D) is greater than or equal to the predetermined delay reference value ('25 times') for the initial stabilization time. If it is determined that the delay time count is greater than or equal to the set delay reference value, it is determined that the initial stabilization time has elapsed and the delay time count is completed.

이와같이 전원 클럭신호에 따른 인터럽트가 발생될 때마다 지연시간 카운트값(D)을 증가시켜 초기 안정화 시간(예 : 0.5초)에 대한 소정의 기준값(‘25회’) 이상이 되면, 지연시간 카운트 완료후에 1주기 카운트가 시작되었는지를 체크하는 단계를 수행하고, 1주기 카운트가 시작되지 않았다면, 다운카운트 프리세트 과정을 수행하며, 이는 1주기 카운트 시작을 세트시키고, 그 1주기 카운트 값(T3CNT)을 소정의 프리세트값(‘FF’)으로 프리세트(T3CNT=FF)시키는 단계를 수행하며, 이어서, 그 1주기 카운터의 카운트 간격을 소정시간으로 세트(TMREG3=‘31’ ; 0.2m sec)시킨 후 그 1주기 카운터(TIMER3)를 시작시키는 단계를 수행하고, 리턴한다.When the interrupt according to the power clock signal is generated in this manner, the delay time count value D is increased to reach the predetermined reference value ('25 times') for the initial stabilization time (for example, 0.5 seconds). Afterwards, a step of checking whether one cycle count has started is performed, and if one cycle count has not been started, a down count preset process is performed, which sets the beginning of one cycle count, and sets the one cycle count value (T3CNT). Preset (T3CNT = FF) to a predetermined preset value ('FF'), and then set the count interval of the one cycle counter for a predetermined time (TMREG3 = '31'; 0.2 m sec). After that, a step of starting the one cycle counter TIMER3 is performed and returned.

이와같이 지연시간 카운트후에 전원주파수 매 주기마다 인터럽트가 걸려 상기 다운카운터 프리세트과정에 의해 1주기 카운터가 프리세트되며, 소정 프리세트값(헥사값 ‘FF’)에서 일정한 시간 간격(예 ; 0.2m sec)으로 다운카운트하여 1주기 시간을 카운트 하는 1주기 카운트과정을 수행하는데, 다운카운트를 시작하는 1주기 카운터(TIMER3)의 다운카운트 동작은 제3도에 도시된 바와같이 카운트 간격(0.2m sec)이 세트되고, 주파수 체크가 완료되지 않은 경우에는 그 카운트 간격마다 1주기 카운트값(T3CNT)을 1씩 감소(T3CNT=T3CNT-1)시켜 다운카운트하는 단계를 수행한다.In this way, after the delay time is counted, an interrupt is generated every cycle of the power frequency, and the one-period counter is preset by the down counter preset process, and a predetermined time interval (for example, 0.2 m sec) is set at a predetermined preset value (hexa value 'FF'). 1 cycle is performed to count one cycle time by counting down, and the down count operation of the one cycle counter (TIMER3) that starts the down count is performed as shown in FIG. Is set, and if the frequency check is not completed, a step of counting down one cycle count value T3CNT by one (T3CNT = T3CNT-1) for each count interval is performed.

이어서, 인터럽트가 걸릴때마다 상기 1주기 카운트값이 50Hz 기준값 범위내에 있는지를 판단하는 50Hz 판단 과정과, 50Hz로 판단되지 않는 경우에 상기 1주기 카운트값이 60Hz 기준값 범위내에 있는지를 판단하는 60Hz 판단 과정을 수행하는데, 정상적인 전원주파수인 경우에 60Hz에서는 1주기가 16.6m sec이고, 50Hz에서는 1주기가 20m sec이다. 즉, 제4a도 내지 제4c도에 도시된 바와같이 1주기 카운터(TIMER3)의 일정한 시간간격(0.2m sec)을 주기로 카운트한 횟수가 83회이면, 16.6m sec로서, 60Hz 주파수이고, 1주기 카운터(TIMER3)의 일정한 시간간격(0.2m sec)을 주기로 카운트한 횟수가 100회이면 20m sec로서 50Hz 주파수이다.Subsequently, a 50 Hz determination process determines whether the one cycle count value is within a 50 Hz reference value range whenever an interrupt is applied, and a 60 Hz determination process determines whether the one cycle count value is within a 60 Hz reference value range when it is not determined to be 50 Hz. At 60Hz, one cycle is 16.6m sec at 60Hz, and one cycle is 20msec at 50Hz. That is, as shown in FIGS. 4A to 4C, when the number of times of counting a predetermined time interval (0.2 m sec) of the one cycle counter TIMER3 is 83 times, 16.6 m sec, 60 Hz frequency, 1 cycle If the number of times the counter TIMER3 is counted at a constant time interval (0.2 m sec) is 100, the frequency is 20 m sec, which is 50 Hz.

따라서, 약간의 여유마진을 주어 제5도에 도시된 바와같이 15.6m sec에서 17.6m sec 범위내에서는 60Hz로 판단하고, 19m sec에서 21m sec 범위내에서는 50Hz로 판단하게 된다. 즉, 상기 1주기 카운터(TIMER3)의 다운카운터값(T3CNT)이 헥사값 ‘FF’에서부터 0.2m sec단위로 다운카운트하여 15.6m sec인 헥사값 ‘B1’에서 17.6m sec인 헥사값 ‘A7’의 범위내에 있으며, 60Hz로 판단하고, 상기 다운카운터값(T3CNT)이 19m sec인 헥사값 ‘AO’에서 21m sec 헥사값 ‘96’의 범위내에 있으며, 50Hz로 판단하게 된다.Thus, as shown in FIG. 5, a slight margin is determined as 60 Hz within the range of 15.6 m sec to 17.6 m sec, and 50 Hz within the range of 19 m sec to 21 m sec. That is, the down counter value T3CNT of the 1-period counter TIMER3 is down counted from the hexadecimal 'FF' in 0.2m sec units, and the hexadecimal value 'A7' having a 17.6m sec. In the range of, it is determined as 60Hz, the down counter value (T3CNT) is in the range of hexa value 'AO' of 19m sec to 21m sec hexa value '96', it is determined as 50Hz.

이를 실행시키기 위해서는 전원 인터럽트가 걸리면, 상기 1주기 카운터(TIMER3)의 다운카운트값(T3CNT)을 읽어(T3CNT=A)들이는 단계를 수행하고, 그 다운카운트값(A=T3CNT)과 50Hz 제1한계값(헥사값 ‘96’)을 비교하는 단계를 수행하며, 그 비교결과 상기 카운트값(A)이 그 제1한계값보다 작은 경우(A<‘96’)에는 1주기 카운트시간이 21m sec를 넘는 것이므로, 이를 무시하고 다시 상기 1주기 카운터를 프리세트시키는 단계를 수행하고 리턴하며, 상기 카운트값(A)이 그 제1한계값과 같거나 큰 경우에는 다시 상기 카운트값(A)과 50Hz 제2한계값(헥사값으로 ‘AO’)을 비교하는 단계를 수행한다.In order to execute this, when a power interrupt occurs, a step (T3CNT = A) of reading the down count value T3CNT of the one cycle counter TIMER3 is performed, and the down count value A = T3CNT and the first 50 Hz are performed. Comparing the threshold value (hexa value '96'), and when the count value A is smaller than the first limit value (A <'96 '), one cycle count time is 21m sec. Ignores this and performs the step of presetting the one-period counter again and returns. If the count value A is equal to or greater than the first limit value, the count value A and the 50 Hz are again set. Comparing the second limit value ('AO' in hexa).

그 50Hz 제2한계값과의 비교결과 상기 카운트값(A)이 상기 50Hz 제2한계값(‘AO’)과 같거나 작은 경우에는 50Hz 한계값 범위내에 있는 것이므로, 50Hz 판단에 대한 주파수 판독 과정을 수행한다. 즉, 50Hz 체크가 시작되었는지를 판단하는 단계를 수행하고, 50Hz 체크가 시작되지 않았으면, 50Hz 체크 시작을 세트시킨후 상기 1주기 카운터의 프리세트 단계를 수행한후 리턴하는 단계를 수행한다. 이때, 2회연속 동일한 주파수로 판독한 경우에만 해당주파수로 세트시키기 위해서 60Hz 체크 시작은 리세트시킨다. 만약, 상기 50Hz 체크 시작이 세트되어 있으면, 직전 인터럽트에서 50Hz에 대한 주파수 판독이 있었던 경우이므로, 50Hz 플래그를 세트시킨후 주파수 체크를 세트시켜 주파수판독을 완료하는 단계를 수행한다.When the count value A is equal to or smaller than the 50 Hz second limit value 'AO' as a result of the comparison with the 50 Hz second limit value, the frequency reading process for the 50 Hz determination is performed. Perform. That is, the step of determining whether the 50 Hz check is started is performed, and if the 50 Hz check is not started, the step of setting the 50 Hz check start and performing the preset step of the one-period counter is returned. At this time, 60Hz check start is reset in order to set the frequency only when the reading is performed twice at the same frequency. If the start of the 50 Hz check is set, since there is a frequency reading for 50 Hz at the last interrupt, the step of completing the frequency reading by setting the frequency check after setting the 50 Hz flag is performed.

한편, 상기 50Hz 판단결과 상기 1주기 카운트값이(A)이 50Hz 제1한계값과 50Hz 제2한계값의 범위내에 있지 아니하고, 상기 50Hz 제2한계값(‘AO’)보다 큰 경우에는 60Hz 한계값과 비교하여 60Hz인지를 판단하는 과정을 수행한다.On the other hand, as a result of the 50 Hz determination, if the one cycle count value (A) is not within the range of the 50 Hz first limit value and the 50 Hz second limit value and is larger than the 50 Hz second limit value 'AO', the 60 Hz limit is determined. Determining whether it is 60Hz by comparing with the value.

상기 다운카운트값(A=T3CNT)과 60Hz 제1한계값(헥사값 ‘A7’)을 비교하는 단계를 수행하며, 그 비교결과 상기 카운트값(A)이 그 제1한계값보다 작은 경우(A<‘A7’)에는 1주기 카운트시간이 17.6m sec에서 19m sec 사이에 있는 경우이므로, 이를 무시하고 다시 상기 1주기 카운터를 프리세트시키는 단계를 수행하고 리턴하며, 상기 카운트값(A)이 그 제1한계값(‘A7’)과 같거나 큰 경우에는 다시 상기 카운트값(A)과 60Hz 제2한계값(헥사값으로 ‘B1’)을 비교하는 단계를 수행한다.Comparing the down count value (A = T3CNT) with a 60 Hz first limit value (hex value 'A7'), and when the count value A is smaller than the first limit value (A) <'A7') is a case where the one cycle count time is between 17.6 m sec and 19 m sec, and ignores it and performs the step of presetting the one cycle counter again, and returns the count value A. When the first limit value 'A7' is equal to or larger than the first limit value 'A7', the step of comparing the count value A with the second 60Hz second limit value ('B1' in hexa) is performed.

그 60Hz 제2한계값과의 비교결과 상기 카운트값(A)이 상기 60Hz 제2한계값(‘B1’)보다 큰 경우에는 60Hz 한계값 범위내에 있지 않는 것으로, 다시 상기 1주기 카운터를 프리세트시키는 단계를 수행하고 리턴하며, 그 60Hz 제2한계값과의 비교결과 상기 카운트값(A)이 상기 60Hz 제2한계값(‘B1’)과 같거나 작은 경우에는 60Hz 한계값 범위내에 있는 것이므로, 60Hz 판단에 대한 주파수 판독 과정을 수행한다. 즉, 60Hz 체크가 시작되었는지를 판단하는 단계를 수행하고, 60Hz 체크가 시작되지 않았으면, 60Hz 체크 시작을 세트시킨후 상기 1주기 카운터의 프리세트 단계를 수행한후 리턴하는 단계를 수행한다. 이때, 2회 연속 동일한 주파수로 판독한 경우에만 해당주파수로 세트시키기 위해서 50Hz 체크 시작은 리세트시킨다. 만약, 상기 60Hz 체크 시작이 세트되어 있으면, 직전 인터럽트에서 60Hz에 대한 주파수 판독이 있었던 경우이므로, 60Hz 플래그를 세트시킨후 주파수 체크를 세트시켜 주파수판독을 완료하는 단계를 수행한다.When the count value A is larger than the 60 Hz second limit value 'B1' as a result of the comparison with the 60 Hz second limit value, it is not within the 60 Hz limit value range, and the preset period counter is preset again. Performing the step and returning, if the count value A is less than or equal to the 60Hz second limit value 'B1' as a result of the comparison with the 60Hz second limit value, it is within the 60Hz limit value range. Perform a frequency reading process for the decision. That is, a step of determining whether a 60 Hz check has been started is performed, and if a 60 Hz check has not been started, a step of setting a 60 Hz check start and performing a preset step of the one-period counter is returned. At this time, the 50 Hz check start is reset to set the frequency only when the frequency is read twice at the same frequency. If the start of the 60 Hz check is set, since there is a frequency reading for 60 Hz in the last interrupt, the step of setting the frequency check after completing the 60 Hz flag is set to complete the frequency reading.

따라서, 전원입력 초기에 0.5초정도 지연시켜 초기 안정화시간이 경과된후부터 매주기마다 1주기 카운트를 시작하고, 인터럽트가 걸릴때마다 그 1주기 카운트값이 50Hz 범위내에 있는지 60Hz 범위내에 있는지를 판단하여 해당 주파수의 범위내에 2회 연속 속한 경우에만 해당주파수 플래그를 세트시켜 주파수를 판독하게 된다.Therefore, delay about 0.5 seconds at the beginning of power input, and start counting every cycle after the initial stabilization time has elapsed, and determine whether the count value is within the range of 50Hz or 60Hz each time an interrupt is applied. The frequency is set by reading the frequency flag only if the frequency falls twice within the range of the frequency.

이에따라 본 발명에 의하면, 전원의 초기 안정화 시간이 경과된후에 주파수 판독을 시작하므로, 초기 불안정에 따른 오판독을 방지할 수 있다. 또한, 해당주파수의 판독 범위를 약간의 여유를 두되, 중첩이나 에러없이 판단할 수 있는 범위를 설정하므로, 엉뚱한 잡음 등은 무시하게 되며, 미세한 변동 등은 여유마진으로 포함시켜 판독하며, 아울러 2회연속 동일한 주파수로 판독되어야만 해당주파수로 판독을 완료하므로, 정확하게 주파수를 판독할 수 있어서, 신뢰성을 향상시키는 효과가 있다.Accordingly, according to the present invention, since the frequency reading is started after the initial stabilization time of the power supply has elapsed, it is possible to prevent misreading due to the initial instability. In addition, the reading range of the frequency is set slightly, but the range that can be judged without overlapping or error is set so that extraneous noise, etc. are ignored, and minute fluctuations are included as a margin and read out. Since the reading is completed at the same frequency only after being read at the same frequency continuously, the frequency can be read accurately, thereby improving the reliability.

Claims (5)

전원주파수의 1주기마다 발생되는 인터럽트가 걸리면, 전원입력 초기의 안정화 시간을 지연시키기 위한 지연시간을 카운트하는 지연시간 카운트과정과, 지연시간 카운트후에 전원주파수 매주기마다 소정 프리세트값을 1주기 카운터에 프리세트시키고 다운카운트를 시작시키는 다운카운트 프리세트과정과, 지연시간 카운트후에 전원주파수 매주기마다 소정 프리세트값에서 일정한 시간 간격으로 다운카운트하여 1주기 시간을 카운트 하는 1주기 카운트과정과, 그 1주기 카운트값이 50Hz 기준값 범위내에 있는지를 판단하는 50Hz 판단 과정과, 50Hz로 판단되지 않는 경우에 상기 1주기 카운트값이 60Hz 기준값 범위내에 있는지를 판단하는 60Hz 판단 과정과, 상기 50Hz로 판단된 경우 및 60Hz로 판단된 경우에 각각 2회 동일한 주파수로 판단될 때에만 해당주파수 플래그를 세트시켜 주파수 판독을 완료하는 주파수 세트과정을 수행하도록 이루어진 것을 특징으로 하는 전자레인지의 전원주파수 판독방법.When an interrupt is generated every one cycle of the power supply frequency, a delay time counting process for counting a delay time for delaying the stabilization time at the initial stage of power input is performed, and a predetermined preset value is counted for each cycle of the power supply frequency after the delay time counting. A down count preset process for presetting the down count and starting a down count; and a one cycle counting process for counting one cycle time by counting down a predetermined time interval from a predetermined preset value every cycle of the power frequency after counting the delay time; 50 Hz determination process for determining whether one cycle count value is within the 50 Hz reference value range, 60 Hz determination process for determining whether the one cycle count value is within the 60 Hz reference value range when it is not judged to be 50 Hz, and when it is determined as 50 Hz And the frequency only when the frequency is determined to be the same frequency twice, respectively, when judged as 60Hz Power frequency reading method of the microwave oven to set the flag, characterized in that configured to perform a frequency set process to complete the read frequency. 제1항에 있어서, 상기 지연시간 카운트과정은, 전원클럭신호에 따른 인터럽트가 걸리면, 주파수 체크가 완료되었는지를 판단하는 단계와, 주파수 체크가 완료되지 않은 경우에 지연시간 카운트가 완료되었는지를 판단하는 단계와, 지연시간 카운트가 완료되지 않은 경우에는 지연시간 카운트값을 1증가(D=D+1)시킨후 그 지연시간 카운트값(D)이 초기 안정화 시간에 대한 소정의 지연기준값 이상인지를 판단하는 단계와, 그 지연시킨 카운트값이 상기 설정된 지연기준값 이상이 된 경우에는 초기 안정화 시간이 경과된 것으로 판단하여 지연시간 카운트 완료를 세트시키는 단계를 수행하도록 이루어진 것을 특징으로 하는 전자레인지의 전원주파수 판독방법.The method of claim 1, wherein the delay time counting process includes determining whether a frequency check is completed when an interrupt is generated according to a power clock signal, and determining whether the delay time count is completed when the frequency check is not completed. If the delay time count is not completed, increase the delay time count value by one (D = D + 1), and determine whether the delay time count value (D) is greater than or equal to a predetermined delay reference value for the initial stabilization time. And determining that the initial stabilization time has elapsed when the delayed count value is greater than or equal to the set delay reference value, and setting the completion of the delay time count. Way. 제1항에 있어서, 상기 다운 카운트 프리세트 과정은, 상기 시간지연 카운트 완료후에 1주기 카운트가 시작되었는지를 체크하는 단계와, 1주기 카운트가 시작되지 않았다면, 1주기 카운트 시작을 세트시키고, 그 1주기 카운트값(T3CNT)을 소정의 프리세트값(‘FF’)으로 프리세트(T3CNT=FF) 시키는 단계와, 그 1주기 카운터의 카운트 간격을 소정시간으로 세트시킨후 그 1주기 카운터(TIMER3)의 동작을 시작시키는 단계를 수행하도록 이루어진 것을 특징으로 하는 전자레인지의 전원주파수 판독방법.The method of claim 1, wherein the down count preset process comprises: checking whether one cycle count has started after completion of the time delay count, and setting one cycle count start if one cycle count has not started, Presetting the period count value T3CNT to a predetermined preset value 'FF' (T3CNT = FF), setting the count interval of the one cycle counter to a predetermined time, and then executing the one cycle counter (TIMER3). The power frequency reading method of the microwave oven, characterized in that configured to perform the step of starting the operation. 제1항에 있어서, 상기 50Hz 판단 과정은, 상기 1주기 카운터(TIMER3)의 다운카운트값(T3CNT)을 읽어(T3CNT=A)들이는 단계와, 그 다운카운트값(A=T3CNT)과 50Hz 제1한계값(헥사값 ‘96’)을 비교하는 단계와, 그 비교결과 상기 카운트값(A)이 그 제1한계값보다 작은 경우(A<‘96’)에는 상기 1주기 카운터를 프리세트시키는 단계를 수행하고 리턴하며, 상기 카운트값(A)이 그 제1한계값과 같거나 큰 경우에는 다시 상기 카운트값(A)과 50Hz 제2한계값(헥사값으로 ‘AO’)을 비교하는 단계를 수행하도록 이루어진 것을 특징으로 하는 전자레인지의 전원주파수 판독방법.The method of claim 1, wherein the determining of the 50 Hz includes reading (T3CNT = A) the down count value T3CNT of the one-period counter TIMER3, and setting the down count value A = T3CNT and the 50 Hz. Comparing the one limit value (hexa value '96'), and when the count value A is smaller than the first limit value (A &lt; 96 '), the one period counter is preset. Performing the step and returning, if the count value A is equal to or greater than the first limit value, comparing the count value A with the second 50Hz limit value ('AO' in hexa) Power frequency reading method of a microwave oven, characterized in that made to perform. 제1항에 있어서, 상기 60Hz 판단 과정은, 상기 50Hz 판단결과 상기 다운카운트값(A)이 상기 50Hz 제2한계값(‘AO’)보다 큰 경우에는 상기 다운카운트값(A=T3CNT)과 60Hz 제1한계값(헥사값 ‘A7’)을 비교하는 단계와, 그 비교결과 상기 카운트값(A)이 그 제1한계값보다 작은 경우(A<‘A7’)에는 상기 1주기 카운터를 프리세트시키는 단계를 수행하고 리턴하며, 상기 카운트값(A)이 그 제1한계값(‘A7’)과 같거나 큰 경우에는 다시 상기 카운트값(A)과 60Hz 제2한계값(헥사값으로 ‘B1’)을 비교하는 단계를 수행하도록 이루어진 것을 특징으로 하는 전자레인지의 전원주파수 판독방법.According to claim 1, The 60Hz determination process, If the down count value (A) is greater than the 50Hz second limit value ('AO') as a result of the 50Hz determination, the down count value (A = T3CNT) and 60Hz Comparing the first limit value (hex value 'A7'), and when the count value A is smaller than the first limit value (A <'A7') as a result of the comparison, the one period counter is preset. And if the count value A is equal to or greater than the first limit value 'A7', the count value A and the 60Hz second limit value (hexadecimal value 'B1') are performed. The power frequency reading method of the microwave oven, characterized in that to perform the step of comparing ').
KR1019930019905A 1993-09-27 1993-09-27 Method for reading power frequency in microwave-oven KR960003256B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019930019905A KR960003256B1 (en) 1993-09-27 1993-09-27 Method for reading power frequency in microwave-oven

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019930019905A KR960003256B1 (en) 1993-09-27 1993-09-27 Method for reading power frequency in microwave-oven

Publications (2)

Publication Number Publication Date
KR950009111A KR950009111A (en) 1995-04-21
KR960003256B1 true KR960003256B1 (en) 1996-03-07

Family

ID=19364745

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019930019905A KR960003256B1 (en) 1993-09-27 1993-09-27 Method for reading power frequency in microwave-oven

Country Status (1)

Country Link
KR (1) KR960003256B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100667210B1 (en) * 2001-12-08 2007-01-12 삼성전자주식회사 Microwave oven and control method thereof
KR100453242B1 (en) * 2002-10-10 2004-10-15 삼성전자주식회사 Microwave oven and control method thereof

Also Published As

Publication number Publication date
KR950009111A (en) 1995-04-21

Similar Documents

Publication Publication Date Title
US4158432A (en) Control of self-test feature for appliances or electronic equipment operated by microprocessor
US5438180A (en) Electronic input control for a cooking oven having independent selection of function and sentence programming
US4158431A (en) Self-test feature for appliances or electronic systems operated by microprocessor
KR960003256B1 (en) Method for reading power frequency in microwave-oven
EP0507670A1 (en) A process for controlling a reserve-cooking operation of a microwave oven
EP0928125B1 (en) Method and apparatus for compensating temperature of microwave oven
USRE31864E (en) Self-test feature for appliance or electronic systems operated by microprocessor
US5357087A (en) Method for controlling a power relay for actuating a magnetron of a microwave oven
KR940000314B1 (en) Standing time displaying method for electronic range
KR960008184A (en) Humidity Sensor Lead Time Control Method of Microwave Oven
KR100423137B1 (en) Cooking code control method of microwave oven
KR930008948B1 (en) Electronic range
KR930000930B1 (en) Quick cooking method of electronic range
KR960003263B1 (en) Time counting method in microwave-oven
KR100239512B1 (en) Cooking time display method using gas sensor of microwave oven
JPH02130322A (en) Heating cooker
KR960007115B1 (en) Method for compensating power in microwave oven
JPS6330891Y2 (en)
KR100276028B1 (en) Method for displaying cooking menu and time of microwave oven
KR940007231B1 (en) Probe bar indicator of a microwave range
KR900000055B1 (en) Cooking control apparatus for electronic range
KR0128557B1 (en) Weight sensing &amp; automatic cooking control method of microwave-oven
KR100259376B1 (en) Cooking control apparatus of mcrowave oven and method therof
KR0123439B1 (en) Input frequency control method for refrigerator
KR0162127B1 (en) Memory key control method of microwave oven

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: 20110302

Year of fee payment: 16

LAPS Lapse due to unpaid annual fee