KR100252921B1 - Voltage control method of analog/digital interface circuit for vending machine - Google Patents

Voltage control method of analog/digital interface circuit for vending machine Download PDF

Info

Publication number
KR100252921B1
KR100252921B1 KR1019950036200A KR19950036200A KR100252921B1 KR 100252921 B1 KR100252921 B1 KR 100252921B1 KR 1019950036200 A KR1019950036200 A KR 1019950036200A KR 19950036200 A KR19950036200 A KR 19950036200A KR 100252921 B1 KR100252921 B1 KR 100252921B1
Authority
KR
South Korea
Prior art keywords
voltage
interface circuit
temperature
value
analog
Prior art date
Application number
KR1019950036200A
Other languages
Korean (ko)
Other versions
KR970022855A (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 KR1019950036200A priority Critical patent/KR100252921B1/en
Publication of KR970022855A publication Critical patent/KR970022855A/en
Application granted granted Critical
Publication of KR100252921B1 publication Critical patent/KR100252921B1/en

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F9/00Details other than those peculiar to special kinds or types of apparatus

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Apparatus For Making Beverages (AREA)

Abstract

PURPOSE: Provided is a voltage adjusting method in an analog/digital interface circuit for a coffee vending machine which adjusts the output voltage of an A/D interface circuit rapidly so that it is helpful in minimizing errors. CONSTITUTION: The voltage adjusting method in the analog/digital interface circuit for the coffee vending machine is characterized by displaying an integer value for current water temperature and voltage correction as mode selection in a deep switch. The voltage adjuster is comprised of a thermistor sensor(11) which prints out a resistance value as the temperature of warm or cool water; an A/D interface circuit(12) which changes resistance values and prints an analog signal; an A/D converter(13) which converts analog voltage in the A/D interface circuit to digital voltage; a CPU(14) which changes digital voltage into temperature to print it or print voltage value; a temperature display part(15) which is comprised of 5 digits 7 segments to show temperature change value or voltage value; and a deep switch(16) which converts to temperature display mode or error correction mode to display temperature change value or voltage value.

Description

커피자판기용 아날로그/디지탈(A/D) 인터페이스회로의 전압조정방법Voltage adjustment method of analog / digital (A / D) interface circuit for coffee machine

제1도는 종래의 커피자판기의 온도측정장치에 대한 구성블록도.1 is a block diagram illustrating a temperature measuring device of a conventional coffee machine.

제2도는 본 발명의 커피자판기용 A/D 인터페이스회로의 전압조정방법을 나타낸 구성블록도.2 is a block diagram showing a voltage adjusting method of the A / D interface circuit for a coffee machine of the present invention.

제3도는 본 발명의 커피자판기용 A/D 인터페이스회로의 전압조정방법의 동작 플로우챠트.3 is an operation flowchart of a voltage adjusting method of the A / D interface circuit for a coffee machine of the present invention.

〈도면의 주요부분에 대한 부호의 설명〉<Explanation of symbols for main parts of drawing>

11 : 서미스터센서 12 : A/D 인터페이스회로11: Thermistor sensor 12: A / D interface circuit

13 : A/D변환부 14 : CPU13: A / D converter 14: CPU

15 : 온도표시부 15 : 딥 스위치부15: temperature display unit 15: dip switch unit

본 발명은 커피자판기의 전압조정방법에 관한 것으로, 특히 A/D 인터페이스회로의 출력전압을 빠르고 간편하게 하여 오차가 최소가 되게 조정할 수 있도록 한 커피자판기용 A/D 인터페이스회로의 전압조정방법에 관한 것이다.The present invention relates to a voltage adjusting method of a coffee machine, and more particularly, to a voltage adjusting method of an A / D interface circuit for a coffee machine to adjust the output voltage of the A / D interface circuit quickly and simply to minimize errors. .

일반적으로 커피자판기는 현재의 온수 및 냉수온도를 표시하기 위하여 온도에 따라 저항값이 변하는 특성을 가진 서미스터(Thermister)를 사용한다.In general, the coffee machine uses a thermistor having a characteristic of changing the resistance value according to the temperature in order to display the current hot and cold water temperature.

온도에 따라 가변하는 서미스터의 저항값은 A/D 인터페이스회로에 의해 A/D변환기의 유효 입력범위내의 전압으로 변환된다.The resistance value of the thermistor which varies with temperature is converted into a voltage within the effective input range of the A / D converter by the A / D interface circuit.

또한 서미스터는 자체 오차를 가지며 이러한 오차를 보정하기 위해 A/D 인터페이스회로내에 가변저항을 부가하여 전압조정과 오차보정을 한다.In addition, the thermistor has its own error. To compensate for this error, a thermistor is added to the A / D interface circuit to adjust the voltage and correct the error.

제1도에 도시된 도면을 참조하여 종래의 커피자판기의 온도측정장치를 설명하면 다음과 같다.Referring to the drawing shown in FIG. 1, a temperature measuring apparatus of a conventional coffee vending machine will be described.

종래의 커피자판기의 온도측정장치는 현재의 온수 및 냉수의 온도에 따라 저항값이 변화하고 이를 출력하는 서미스터센서(1)와, 상기 서미스터센서(1)의 저항값을 일정 전압으로 변환하여 아날로그 신호로 출력하는 A/D 인터페이스회로(2)와, 상기 A/D 인터페이스회로(2)에서 출력된 아날로그의 일정 전압을 디지탈의 일정 전압으로 변환하는 A/D변환부(3)와, 상기 A/D 변환부(3)에서 변환된 디지탈의 일정 전압을 온도로 환산하여 이를 출력하는 CPU(4)와, 상기 CPU(4)의 디스플레이 제어신호에 의해 현재의 온수 및 냉수의 온도를 표시하는 2디지트 7세그먼트로 된 온도표시부(5)로 구성된다.The temperature measuring device of the conventional coffee machine has a thermistor sensor (1) for changing the resistance value according to the current temperature of hot and cold water and outputs it, and converts the resistance value of the thermistor sensor (1) into a constant voltage to convert an analog signal. An A / D interface circuit 2 for outputting a digital signal, an A / D converter 3 for converting an analog constant voltage output from the A / D interface circuit 2 into a digital constant voltage, and the A / D interface circuit 2 CPU 4 converting the constant voltage of the digital converted by the D converter 3 into a temperature and outputting the same, and 2 digits indicating the current temperature of hot and cold water by the display control signal of the CPU 4. It consists of a temperature display part 5 which consists of seven segments.

상기와 같이 구성된 종래의 커피자판기의 온도측정장치에 대한 동작은 먼저 서미스터센서(1)에서 현재 온수 및 냉수의 온도를 서미스터 저항값으로 측정하여 A/D 인터페이스회로(2)에 출력하고, 이 A/D 인터페이스회로(2)에 입력된 서미스터 저항값은 일정 전압의 아날로그 신호로 변환되어 A/D 변환부(3)에 출력한다.The operation of the temperature measuring device of the conventional coffee vending machine configured as described above first measures the temperature of the current hot water and cold water in the thermistor sensor 1 as the thermistor resistance value and outputs it to the A / D interface circuit 2. The thermistor resistance value input to the / D interface circuit 2 is converted into an analog signal of a predetermined voltage and output to the A / D converter 3.

상기 A/D 변환부(3)에 입력된 일정 전압으로 변환된 아날로그신호는 디지탈 신호로 변환되어 CPU(4)의 연산을 거쳐 온도표시부(5)에 서미스터 저항값에 대응하는 온도를 2디지트 7세그먼트에 디스플레이한다.The analog signal converted to the constant voltage input to the A / D converter 3 is converted into a digital signal, and the temperature corresponding to the thermistor resistance value is converted to 2 digits 7 in the temperature display unit 5 through the calculation of the CPU 4. Display in segment.

상기와 같은 종래의 커피자판기의 온도측정장치는 실제로 발생하는 서미스터 저항값의 오차와 A/D 인터페이스회로의 고유 오차로 인하여 정확한 출력전압을 얻을 수 없기때문에 현재 온수 및 냉수의 온도가 부정확했으며 이러한 오차를 보정하기 위하여 A/D 인터페이스회로의 내부에 있는 가변저항의 조정으로 전압조정을 할 경우 테스터나 오실로스코프로 직접 전압을 측정하는 불편함과 시간이 많이 걸리는 문제점이 있다.The temperature measuring device of the conventional coffee vending machine as described above cannot obtain an accurate output voltage due to the error in the thermistor resistance and the inherent error in the A / D interface circuit. To adjust the voltage by adjusting the variable resistor inside the A / D interface circuit to correct the problem, it is inconvenient and time-consuming to measure the voltage directly with a tester or an oscilloscope.

본 발명은 상기와 같은 문제점을 해결하기 위해 발명한 것으로, 디스플레이 소자를 5디지트 7세그먼트로 대체하여 A/D 인터페이스회로의 출력전압이 정확하고 편리하게 조정 가능하도록 한 커피자판기용 A/D 인터페이스회로의 전압조정방법을 제공하는데 그 목적이 있다.The present invention has been invented to solve the above problems, the A / D interface circuit for the coffee machine to replace the display element with 5 digit 7 segments so that the output voltage of the A / D interface circuit can be accurately and conveniently To provide a voltage adjusting method of

상기와 같은 목적을 달성하기 위한 본 발명의 커피자판기용 A/D 인터페이스회로의 전압조정방법은 딥 스위치의 모드선택에 따라 온수 및 냉수를 포함한 현재 수온의 정수값 또는 전압보정을 위한 정수값을 디스플레이함을 특징으로 한다.Voltage adjustment method of the coffee machine A / D interface circuit of the present invention for achieving the above object is to display the integer value of the current water temperature, including hot or cold water or the integer value for voltage correction according to the mode selection of the dip switch It is characterized by.

첨부된 제2도 및 제3도의 도면을 참조하여 본 발명의 커피자판기용 A/D 인터페이스회로의 전압조정방법을 설명하면 다음과 같다.The voltage adjusting method of the A / D interface circuit for the coffee machine of the present invention will be described with reference to the accompanying drawings of FIGS. 2 and 3 as follows.

본 발명의 커피자판기용 A/D 인터페이스회로의 전압조정장치는 현재의 온수 및 냉수의 온도에 따라 저항값이 변화하고, 이를 출력하는 서미스터센서(11)와, 서미스터센서(11)의 저항값을 일정 전압으로 변환하여 아날로그 신호를 출력하는 A/D 인터페이스회로(12)와, 상기 A/D 인터페이스회로(12)에서 출력된 아날로그의 일정전압을 디지탈의 일정 전압으로 변환하는 A/D 변환부(13)와, 상기 A/D 변환부(13)에서 변환된 디지탈의 일정 전압을 온도로 환산하여 이를 출력하거나 또는 전압값을 출력하는 CPU(4)와, 상기 CPU(14)의 온도 환산값 또는 전압값 디스플레이하는 5디지트 7세그먼트로 된 온도표시부(15)와, 상기 온도표시부(15)에 온도환산값 또는 전압값이 디스플레이 되도록 온도표시모드 또는 오차보정모드로 전환하는 딥 스위치부(16)로 이루어진다.The voltage adjusting device of the A / D interface circuit for a coffee machine of the present invention changes the resistance value according to the current temperature of hot and cold water, and outputs the resistance values of the thermistor sensor 11 and the thermistor sensor 11. An A / D interface circuit 12 for converting a constant voltage and outputting an analog signal, and an A / D converter for converting a constant voltage of an analog output from the A / D interface circuit 12 into a digital constant voltage ( 13), the CPU 4 for converting the digital constant voltage converted by the A / D converter 13 into a temperature and outputting the same or outputting a voltage value, and the temperature conversion value of the CPU 14 or With a temperature display unit 15 of 5 digit 7 segment to display the voltage value, and the dip switch unit 16 to switch to the temperature display mode or error correction mode so that the temperature conversion value or voltage value is displayed on the temperature display unit 15 Is done.

상기와 같이 구성된 본 발명의 커피자판기용 A/D 인터페이스회로의 전압조정장치의 동작은 먼저 딥스위치(16)에 의한 정상 판매의 온도표시모드일 경우 서미스터센서(11)에서 온수 및 냉수를 포함한 현재의 수온을 서미스터 저항값으로 측정하여 A/D 인터페이스회로(12)에 출력하고 이 A/D 인터페이스회로(12)에 입력된 서미스터 저항값은 일정 전압의 아날로그 신호로 변환하여 A/D 변환부(13)에 출력한다.The operation of the voltage adjusting device of the A / D interface circuit for the coffee machine of the present invention configured as described above first includes the hot water and the cold water in the thermistor sensor 11 in the normal display temperature display mode by the dip switch 16. The temperature of water is measured by the thermistor resistance value and output to the A / D interface circuit 12. The thermistor resistance value input to the A / D interface circuit 12 is converted into an analog signal of a predetermined voltage and converted into an A / D conversion unit ( 13).

상기 A/D 변환부(13)에 입력된 일정 전압으로 변환된 아날로그 신호는 디지탈 신호로 변환되어 CPU(14)의 온도환산과정을 거치고, 환산된 이 온도값을 온도표시부(15)의 5디지트 7세그먼트에 디스플레이 한다.The analog signal converted to the constant voltage input to the A / D converter 13 is converted into a digital signal and subjected to the temperature conversion process of the CPU 14, and the converted temperature value is converted into 5 digits of the temperature display unit 15. Display in 7 segments.

여기서 실제로 서미스터센서(11)와 A/D 인터페이스회로(12)에서 고유 오차가 발생하고 이들 오차로 인해 정확한 출력전압을 얻을 수 없기때문에 정확한 수온을 측정할 수 없다.In this case, since the intrinsic error occurs in the thermistor sensor 11 and the A / D interface circuit 12 and the accurate output voltage cannot be obtained due to these errors, accurate water temperature cannot be measured.

이러한 오차는 A/D 인터페이스회로(12)의 내부에 있는 가변저항으로 조정하여 보정할 수 있다.This error can be corrected by adjusting the variable resistor inside the A / D interface circuit 12.

한편 상기와 같은 오차보정을 위해 딥 스위치부(16)를 오차 보정모드로 할 경우 상기 A/D 인터페이스회로(12)에서 변환된 일정 전압의 아날로그 신호가 A/D 변환부(13)에 의해 디지탈 신호로 변환되어 상기 CPU(14)의 전압 환산과정을 거치고 환산된 이 전압을 온도표시부(15)의 5디지트 7세그먼트에 디스플레이한다.On the other hand, when the dip switch unit 16 is set to the error correction mode for the error correction as described above, the analog signal of the constant voltage converted by the A / D interface circuit 12 is digitally converted by the A / D converter 13. The signal is converted into a signal and subjected to the voltage conversion process of the CPU 14, and the converted voltage is displayed on 5 digit 7 segments of the temperature display unit 15.

이때 상기 CPU(14)는 서미스터의 특성 테이블(저항과 온도와의 관계)로 부터 특정 온도에 대응하는 서미스터의 저항값과 A/D 인터페이스회로(12)의 출력전압을 환산하여 알 수 있도록 소프트웨어처리가 되어있다.At this time, the CPU 14 converts the resistance value of the thermistor corresponding to the specific temperature and the output voltage of the A / D interface circuit 12 from the characteristic table of the thermistor (relationship between the resistance and the temperature). Has become.

상기 온도표시부(15)에 나타난 A/D 인터페이스회로(12)의 현전압이 정확하도록 A/D 인터페이스회로(12)의 가변저항을 조정하여 수온의 오차를 보정할 수 있다.The error of the water temperature can be corrected by adjusting the variable resistance of the A / D interface circuit 12 so that the current voltage of the A / D interface circuit 12 shown in the temperature display unit 15 is accurate.

상기와 같은 본 발명의 CPU 동작을 나타낸 방법은 먼저 딥 스위치(16)의 모드상태값을 리드하여(S10) 정상판매의 온수표시모드일 경우(S20) 서미스터센서(11)에서 감지된 수온이 A/D 인터페이스회로(12)를 거치고 A/D 변환부(13)에 의해 수온이디지탈값으로 나타난다.The method showing the CPU operation of the present invention as described above first reads the mode state value of the dip switch 16 (S 10 ) when the hot water display mode of normal sales (S 20 ) the water temperature detected by the thermistor sensor 11 This A / D interface circuit 12 passes through the A / D conversion unit 13 to represent the water temperature digital value.

또한 CPU(14)에서 상기 디지탈값에 대한 온도 정수값으로 환산되어 온도표시부(15)에 현재 수온을 디스플레이한다(S30).Also it displays the current temperature in the CPU (14) is converted to a temperature value constant temperature display unit 15 for the digital values from the (S 30).

한편, 전압조정모드일 경우(S40) 상기 A/D 인터페이스회로(12)의 내부 가변저항으로 정확한 출력전압을 조정하여 A/D 변환부(13)를 거치고 상기 CPU(14)에서 전압 정수값으로 환산하여 온도표시부(15)에 디스플레이한다(S50).On the other hand, in the voltage adjustment mode (S 40 ) by adjusting the correct output voltage with the internal variable resistor of the A / D interface circuit 12, the A / D conversion unit 13, the voltage constant value in the CPU 14 Converted to display on the temperature display unit 15 (S 50 ).

이때 온도표시부(15)에 디스플레이된 전압을 보면서 오차를 보정한다.At this time, the error is corrected while viewing the voltage displayed on the temperature display unit 15.

그리고, 정상판매의 온수 및 냉수 모드일 경우(S60) 상기 정상판매의 온수모드와 같은 과정으로 수행하여 온수 및 냉수의 온도를 상기 온도표시부(15)에 디스플레이한다(S70).Then, in the hot water and cold water mode of the normal sale (S 60 ) by performing the same process as the hot water mode of the normal sale to display the temperature of the hot water and cold water on the temperature display unit 15 (S 70 ).

상기 과정의 각각 실행모드가 끝나면 처음으로 되돌아가 다시 실행함은 물론 상기 실행모드가 아닐 경우도 처음으로 되돌아가 실행한다.After each execution mode in the above process, the process returns to the beginning and executes again.

상기와 같은 본 발명의 커피자판기용 A/D 인터페이스회로의 전압조정방법은 커피자판기 내부의 전압조정방법으로 오차를 보정함으로써 기타 측정기기로 전압을 조정하는 불편함을 해소할 수 있으며 시간을 단축시키는 효과가 있다.The voltage adjustment method of the A / D interface circuit for the coffee machine of the present invention as described above can eliminate the inconvenience of adjusting the voltage with other measuring devices by correcting the error by the voltage adjustment method inside the coffee machine and reducing the time. It works.

Claims (1)

딥 스위치의 모드선택에 따라 온수 및 냉수를 포함한 현재 수온의 정수값 또는 전압보정을 위한 정수값을 디스플레이함을 특징으로 하는 커피자판기용 A/D 인터페이스회로의 전압조정방법.A method of adjusting the voltage of an A / D interface circuit for a coffee machine, characterized by displaying an integer value for voltage correction or a current water temperature including hot and cold water according to a mode selection of a dip switch.
KR1019950036200A 1995-10-19 1995-10-19 Voltage control method of analog/digital interface circuit for vending machine KR100252921B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019950036200A KR100252921B1 (en) 1995-10-19 1995-10-19 Voltage control method of analog/digital interface circuit for vending machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019950036200A KR100252921B1 (en) 1995-10-19 1995-10-19 Voltage control method of analog/digital interface circuit for vending machine

Publications (2)

Publication Number Publication Date
KR970022855A KR970022855A (en) 1997-05-30
KR100252921B1 true KR100252921B1 (en) 2000-04-15

Family

ID=19430708

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019950036200A KR100252921B1 (en) 1995-10-19 1995-10-19 Voltage control method of analog/digital interface circuit for vending machine

Country Status (1)

Country Link
KR (1) KR100252921B1 (en)

Also Published As

Publication number Publication date
KR970022855A (en) 1997-05-30

Similar Documents

Publication Publication Date Title
US5001657A (en) Radiation thermometer
JP3502423B2 (en) Signal processing circuit correction device
KR100252921B1 (en) Voltage control method of analog/digital interface circuit for vending machine
JP3432920B2 (en) Temperature measurement circuit
JP3362193B2 (en) Measuring equipment
JPS60169729A (en) Calibrating method of temperature sensitive element and temperature measuring method using temperature sensitive element
JPH0545231A (en) Temperature measuring device
JP3084579B2 (en) Temperature sensor linearization processing method
JPH11174022A (en) Blood-glucose level measuring device
KR101946800B1 (en) Calorimeter
JPS60187833A (en) Temperature detection apparatus
JPH0599961A (en) Measurement device
RU2082129C1 (en) Converter of pressure to electric signal
JPH0868696A (en) Temperature measuring apparatus
JPH0565805B2 (en)
JP2504753B2 (en) Electronic thermometer
SU1089432A1 (en) Device for measuring temperature and temperature difference
KR0173105B1 (en) Weight measuring apparatus having adjusting function of zero value and span value
CN2257924Y (en) Multifunctional thermo detector
JPH064307Y2 (en) Temperature compensation circuit for pressure measuring instrument
SU1177687A1 (en) Digital thermometer for remote temperature measurement
JPH1137827A (en) Measuring device of load
KR0152887B1 (en) Hot water temperature setting number display circuit for automatic vending machine
JPS5847002B2 (en) Digital strain measurement device
KR930004430Y1 (en) Water-temperature indicating circuit in vending machine

Legal Events

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

Payment date: 20120120

Year of fee payment: 13

LAPS Lapse due to unpaid annual fee