KR930004411B1 - Time adjustable method using encoder switch - Google Patents

Time adjustable method using encoder switch Download PDF

Info

Publication number
KR930004411B1
KR930004411B1 KR1019900012621A KR900012621A KR930004411B1 KR 930004411 B1 KR930004411 B1 KR 930004411B1 KR 1019900012621 A KR1019900012621 A KR 1019900012621A KR 900012621 A KR900012621 A KR 900012621A KR 930004411 B1 KR930004411 B1 KR 930004411B1
Authority
KR
South Korea
Prior art keywords
time
encoder switch
counter
input
time data
Prior art date
Application number
KR1019900012621A
Other languages
Korean (ko)
Other versions
KR920004932A (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 KR1019900012621A priority Critical patent/KR930004411B1/en
Publication of KR920004932A publication Critical patent/KR920004932A/en
Application granted granted Critical
Publication of KR930004411B1 publication Critical patent/KR930004411B1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B11/00Automatic controllers
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B6/00Heating by electric, magnetic or electromagnetic fields
    • H05B6/64Heating using microwaves
    • H05B6/66Circuits
    • H05B6/68Circuits for monitoring or control

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Electric Ovens (AREA)

Abstract

The method sets a cooking time using an encoder switch which has 36 contacts. The method includes steps: (A) checking that the current mode is a cooking time set mode, storing a current time data, and resetting a counter; (B) comparing the input time data with the stored time data; (C) checking rotating the direction of an encoder switch when the input time data and the stored time data are not identical; and (D) increasing a counter for the clockwise rotating of an encoder switch and decreasing a counter for the counter clockwise rotating of an encoder switch.

Description

엔코더 스위치를 이용한 시간조절 방법Time adjustment method using encoder switch

제1도는 종래의 회로도.1 is a conventional circuit diagram.

제2도는 종래 가변저항의 회전각에 따른 마이콤의 디지탈 데이타와 표시값의 관계를 나타낸 도표.2 is a table showing the relationship between the digital data of the microcomputer and the display value according to the rotation angle of the conventional variable resistor.

제3도는 본 발명이 적용되는 전자레인지의 회로구성도.3 is a circuit diagram of a microwave oven to which the present invention is applied.

제4도는 본 발명의 시간조절 방법을 보인 신호흐름도.4 is a signal flow diagram showing a time adjustment method of the present invention.

제5도는 엔코더 스위치의 회전에 따른 스텝 변화와 표시값의 관계를 나타낸 도표.5 is a diagram showing the relationship between the step change and the display value according to the rotation of the encoder switch.

본 발명은 마이콤을 구비한 전자제품에 있어서 사용자가 원하는 시간을 정확하고 간편하게 입력시킬 수 있는 시간조절 방법에 관한 것으로, 특히 전자레인지의 조리시간 설정시 엔코더 스위치(Encoder switch)를 사용하여 시간조절을 용이하게 하는 엔코더 스위치를 이용한 시간조절 방법에 관한 것이다.The present invention relates to a time adjustment method that allows a user to input the desired time accurately and easily in an electronic product equipped with a microcomputer, and in particular, the time adjustment is performed by using an encoder switch when setting a cooking time of a microwave oven. It relates to a time adjustment method using an encoder switch to facilitate.

일반적으로 전자레인지에서는 조리시간을 설정할 때 숫자키를 누르거나 가변저항을 회전시켜 시간을 입력시키도록 되어있다.In general, in the microwave oven, when setting the cooking time, press the numeric keys or rotate the variable resistor to input the time.

그럼데 가변저항을 사용할 경우에는 회전각이 제한되어 있기 때문에 상기 가변저항을 미세 각도로 회전시켜도 표시판의 시간은 빠르게 변화하여 특정한 시간을 선택하는데 어려움이 있었다.However, when the variable resistor is used, since the rotation angle is limited, even when the variable resistor is rotated at a fine angle, the time of the display panel changes rapidly, making it difficult to select a specific time.

즉, 종래에는 제1도에 도시된 바와 같이 직류전원단자(B+)에 연결된 가변저항(VR)을 마이콤(1)에 연결하여 가변저항(VR)을 회전시킴에 따라 0∼5V의 아날로그 전압이 마이콤(1)에 입력되도록 하였다.That is, in the related art, as shown in FIG. 1, analog voltage of 0 to 5 V is obtained by rotating the variable resistor VR by connecting the variable resistor VR connected to the DC power supply terminal B + to the microcomputer 1. This microcomputer 1 was inputted.

이 때 마이콤(1)에 입력된 아날로그 전압은 내장되어 있는 아날로그/디지탈 변환기에 의해 0∼255까지의 디지탈 데이타로 변환되고, 마이콤(1)에서는 가변저항(VR)의 위치에 의해 결정된 데이타에 해당하는 시간을 표시판에 표시하게 된다.At this time, the analog voltage input to the microcomputer 1 is converted into digital data from 0 to 255 by the built-in analog / digital converter, and the microcomputer 1 corresponds to the data determined by the position of the variable resistor VR. The time to do is displayed on the display panel.

제2도는 이러한 관계를 구체적으로 설명하기 위한 것으로, 가변저항(VR)의 회전각에 따른 마이콤(1)의 디지탈 데이타와 표시값의 관계를 나타낸 것이다.2 illustrates the relationship in detail, and illustrates the relationship between the digital data of the microcomputer 1 and the display value according to the rotation angle of the variable resistor VR.

이에 도시된 바와 같이, 종래의 전자레인지는 60개의 표시 데이타를 필요로 하며, 조리시간 설정용 타이머, 즉 가변저항(VR)은 0°∼300°까지 회전시킬 수 있으므로 회전각을 5°씩 변화시킬 때마다 디지탈 데이타는 4레벨씩 가변되고, 이에 따라 표시판의 숫자도 증감된다.As shown in the drawing, the conventional microwave oven requires 60 pieces of display data, and the cooking time setting timer, that is, the variable resistor VR can rotate from 0 ° to 300 °, so that the rotation angle is changed by 5 °. Each time, the digital data is varied by four levels, thereby increasing and decreasing the number of display panels.

그러나 이러한 방식은 타이머를 미세 각도로 회전시켜도 표시판의 시간이 빠르게 변화하므로 사용자가 원하는 시간을 선택하는데 어려움이 있었으며, 사용자의 세심한 주의가 요구되었다.However, this method has a difficulty in selecting a desired time because the time of the display panel changes rapidly even when the timer is rotated at a fine angle, and requires careful attention of the user.

또한 조리시간 입력모드의 초기에 표시판에는 0이 나타나지만 타이머의 위치가 0°에 있지 않으면 타이머를 돌림과 동시에 바로 중간값이 나타나므로 타이머를 역회전시켜 시간을 재조정해야 하는 문제점이 있었다.In addition, in the initial stage of the cooking time input mode, 0 appears on the display panel, but if the position of the timer is not at 0 °, the median value is immediately displayed as soon as the timer is rotated.

따라서 본 발명의 목적은 복수개의 접점을 가지는 엔코더 스위치를 사용하여 접점에서만 스위치가 정지되도록 함으로써 사용자의 조리시간 설정이 정확하고 용이해지도록 하는 엔코더 스위치를 이용한 시간조절 방법을 제공하는데 있다.Accordingly, an object of the present invention is to provide a time adjustment method using an encoder switch that allows the user to stop the switch only at the contact point by using an encoder switch having a plurality of contacts so that the user's cooking time can be set accurately and easily.

이와 같은 목적을 가지는 본 발명은 연속회전이 가능하고 360° 내에 36개의 접점을 가지는 엔코더 스위치를 구비한다.The present invention having the above object is provided with an encoder switch capable of continuous rotation and having 36 contacts within 360 °.

그리고 조리시간 입력 모드인지를 판별한 후 최초입력, 즉 현재의 시간을 기억하고 카운터를 리세트시키는 단계와, 시간 입력시 기억된 시간과 새로 입력한 시간이 같은지를 판별하여 같지 않을 경우에 엔코더 스위치가 시계방향으로 회전되었는지를 판별하는 단계와, 엔코더 스위치가 시계방향으로 회전되었으며 카운터를 상승카운트하고, 시계방향으로 회전되지 않았을 경우에는 카운터를 하강 카운트하는 단계들을 수행하게 된다.After determining whether the cooking time is in the input mode, the first input, that is, storing the current time and resetting the counter, and determining whether the stored time and the newly input time are the same at the time input are not the same. Determining whether is rotated clockwise, and if the encoder switch is rotated clockwise and counts up the counter, and if it is not rotated clockwise, steps to count down the counter.

이하, 첨부된 도면을 참조하여 본 발명의 시간조절 방법을 상세히 설명하면 다음과 같다.Hereinafter, the time adjustment method of the present invention with reference to the accompanying drawings in detail as follows.

제3도는 본 발명이 적용되는 전자레인지의 회로 구성도로서 이에 도시된 바와 같이, 전원단자(B+)에 연결된 엔코더 스위치(10)를 카운터가 내장된 마이콤(20)에 접속하고, 상기 마이콤(20)의 두 입력단자와 전원단자(B+) 사이에 저항(R1)(R2)을 각각 접속하여 구성하였다.3 is a circuit diagram of a microwave oven to which the present invention is applied. As shown in FIG. 3, an encoder switch 10 connected to a power supply terminal B + is connected to a microcomputer 20 having a built-in counter. A resistor R 1 and R 2 were connected between the two input terminals of power supply 20 and the power supply terminal B + , respectively.

여기서, 엔코더 스위치(10)는 시계방향 또는 반시계방향으로 연속해서 회전시킬 수 있으며, 360° 내에 36개의 접점을 가지면서 접점에서만 스위치가 정지하도록 설계되어 있어 조정하기가 매우 편리하다.Here, the encoder switch 10 can be rotated continuously in a clockwise or counterclockwise direction, and has 36 contacts within 360 ° and is designed to stop the switch only at the contacts, which is very convenient to adjust.

또한 엔코더 스위치(10)를 시계방향으로 회전시키면 00→01→10→11→00→01→10→11…의 디지탈 신호가 반복적으로 마이콤(20)에 입력되고, 반시계방향으로 회전시키면 00→11→10→01→00→11→10→01…의 데이타가 반복적으로 입력된다.Further, when the encoder switch 10 is rotated clockwise, 00 → 01 → 10 → 11 → 00 → 01 → 10 → 11... Digital signal is repeatedly input to the microcomputer 20, and rotates counterclockwise, 00? 11? 10? 01? 00? 11? 10? Data is repeatedly input.

제4도는 본 발명의 엔코더 스위치를 이용한 시간조절 방법을 보인 신호흐름도이다.4 is a signal flow diagram showing a time adjustment method using the encoder switch of the present invention.

먼저, 단계(101)에서 마이콤(20)은 조리시간 입력모드인지를 판별하고, 시간입력모드가 아닐 경우에는 마이콤(20)내에 기억되어 있는 프로그램에 따라 다음의 공정을 수행한다.First, in step 101, the microcomputer 20 determines whether it is a cooking time input mode, and if it is not the time input mode, the microcomputer 20 performs the following process according to the program stored in the microcomputer 20.

조리시간 입력모드일 경우에는 단계(102)에서 최초 입력인지를 판별하고, 최초 입력일 경우에는 단계(103)에서 엔코더 스위치(10)로부터 출력된 현재의 시간 데이타를 기억하며, 단계(104)에서 카운터를 리세트시킨다.In the case of the cooking time input mode, it is determined whether it is the first input in step 102; in the case of the first input, the current time data output from the encoder switch 10 is stored in step 103, and in step 104 Reset.

이 상태에서 사용자가 엔코더 스위치(10)를 회전시켜 조리시간을 설정하게 되면 마이콤(20)의 두 입력단자를 통해서는 새로운 시간 데이타가 입력되고, 단계(105)에서 마이콤(20)은 기억되어 있는 시간 데이타와 새로 입력된 시간 데이타가 같은지를 판별하여 같지 않을 경우에 단계(106)에서 엔코더 스위치(10)가 시계 방향으로 회전되었는지를 판별하게 된다.When the user sets the cooking time by rotating the encoder switch 10 in this state, new time data is input through the two input terminals of the microcomputer 20, and in step 105 the microcomputer 20 is stored. If the time data and the newly input time data are the same, it is determined that the encoder switch 10 is rotated clockwise in step 106 if it is not the same.

엔코더 스위치(10)가 시계방향으로 회전되었을 경우에는 단계(107)에서 최초로 입력된 데이타에 비해 변화된 스텝(step)만큼 카운터를 상승 카운트하고, 반시계방향으로 회전되었을 경우에는 단계(108)에서 초기치에 비해 변화된 스텝만큼 카운터를 하강 카운트하며, 상기와 같이 마이콤(20)에서는 데이타가 바뀔때마다 스텝의 중감을 카운트하여 제5도에 도시된 바와 같이 변화된 스텝에 해당하는 시간을 표시판에 표시하게 된다.If the encoder switch 10 is rotated in the clockwise direction, the counter is counted up by a changed step compared to the data first input in step 107. If the encoder switch 10 is rotated in the counterclockwise direction, the initial value is increased in step 108. The counter counts down as much as the changed step, and as described above, the microcomputer 20 counts the weight of the step every time the data changes, and displays the time corresponding to the changed step on the display panel as shown in FIG. .

특히, 본 발명에서는 전자레인지의 조리시간 입력방법을 예로 들어 설명하였으나, 마이콤을 구비한 다양한 전자제품에 응용하여 시간이나 데이타를 입력시키는 방법으로 활용할 수도 있다.In particular, the present invention has been described as an example of a cooking time input method of the microwave oven, but may be used as a method of inputting time or data by applying to various electronic products equipped with a microcomputer.

이상에서와 같이 본 발명은 연속 회전이 가능하고 접점에서만 정지되는 엔코더 스위치를 사용하므로 시간을 맞추기가 매우 편리하고, 엔코더 스위치에서 디지탈 신호가 출력되므로 노이즈의 영향을 받지 않아 시간 설정이 정확하며, 초기치에서 변화된 스텝을 카운트하므로 시간을 재조정해야 하는 불편을 없앨 수 있는 효과가 있다.As described above, the present invention uses an encoder switch capable of continuous rotation and stops only at a contact point, so it is very convenient to adjust the time, and since the digital signal is output from the encoder switch, the time setting is accurate because it is not affected by noise, and the initial value is Since the number of steps changed is counted at, the inconvenience of having to readjust the time is eliminated.

Claims (1)

엔코더 스위치의 회전을 감지하여 입력된 시간을 표시판에 포시하는 시간조절 방법에 있어서, 조리시간 입력 모드인지를 판별한 후 최초로 입력된 시간 데이타를 기억하고 카운터를 리세트시키는 단계와, 시간 입력시 기억되어 있는 시간 데이타와 새로 입력된 시간 데이타가 같은지를 판별하여 같지 않을 경우에 엔코더 스위치가 시계방향으로 회전되었는지를 판별하는 단계와, 엔코더 스위치가 시계방향으로 회전되었을 경우에 카운터를 상승 카운트하고, 반시계방향으로 회전되었을 경우에는 카운터를 하강 카운트하는 단계들로 제어함을 특징으로 하는 엔코더 스위치를 이용한 시간조절 방법.A time adjusting method for detecting the rotation of an encoder switch and displaying the input time on a display panel, the method comprising: determining whether the cooking time is input mode, storing the first input time data, and resetting the counter; Determining whether the encoder switch is rotated clockwise if the time data and the newly input time data are the same, and counting up the counter when the encoder switch is rotated clockwise, If it is rotated clockwise, the time adjustment method using an encoder switch characterized in that the control by the step of counting the counter falling.
KR1019900012621A 1990-08-16 1990-08-16 Time adjustable method using encoder switch KR930004411B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019900012621A KR930004411B1 (en) 1990-08-16 1990-08-16 Time adjustable method using encoder switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019900012621A KR930004411B1 (en) 1990-08-16 1990-08-16 Time adjustable method using encoder switch

Publications (2)

Publication Number Publication Date
KR920004932A KR920004932A (en) 1992-03-28
KR930004411B1 true KR930004411B1 (en) 1993-05-27

Family

ID=19302397

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019900012621A KR930004411B1 (en) 1990-08-16 1990-08-16 Time adjustable method using encoder switch

Country Status (1)

Country Link
KR (1) KR930004411B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100966649B1 (en) * 2003-09-29 2010-06-29 엘지전자 주식회사 A encoder signal input method

Also Published As

Publication number Publication date
KR920004932A (en) 1992-03-28

Similar Documents

Publication Publication Date Title
JPS62206455A (en) Voltage divider for voltage measuring apparatus
US4578635A (en) Device for measuring and indicating changes in the resistance of a living body
US3039685A (en) Electronic counter
US3916327A (en) Output circuit for a voltage-divider device
US4001555A (en) Signal processing apparatus
KR930004411B1 (en) Time adjustable method using encoder switch
JPH0245382B2 (en)
US3932794A (en) Revolution speed controller using both analog and digital control
US5119347A (en) Method and timing device for measuring time intervals
US4466127A (en) Entry apparatus of digital value in memory
US4209975A (en) Time adjusting means for electronic timepiece
US4192993A (en) Static digital data entry method and apparatus for a timer or clock
GB2159646A (en) Time-interval generating apparatus
US3764783A (en) Delay-interval selection for a digital delay generator
US3811100A (en) Channel selector and indicator for multi-channel receiver
JP2739741B2 (en) Electronic analog timer
KR890004657Y1 (en) Display circuit of analog/digital conversion
JPH05327478A (en) Highest counting speed variable counter device
JPS6141348Y2 (en)
US4277747A (en) Wide range digital meter
US3737818A (en) Matrix tuning system
JP2671762B2 (en) Electronic timer
KR900004449B1 (en) Cooking device
JPS5756775A (en) High frequecy heater
KR910002293Y1 (en) Contrast and volume adjustable apparatus for computer monitor

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

Year of fee payment: 18

EXPY Expiration of term