KR960004804B1 - On-line management system and driving method of a vending machine - Google Patents
On-line management system and driving method of a vending machine Download PDFInfo
- Publication number
- KR960004804B1 KR960004804B1 KR1019920015756A KR920015756A KR960004804B1 KR 960004804 B1 KR960004804 B1 KR 960004804B1 KR 1019920015756 A KR1019920015756 A KR 1019920015756A KR 920015756 A KR920015756 A KR 920015756A KR 960004804 B1 KR960004804 B1 KR 960004804B1
- Authority
- KR
- South Korea
- Prior art keywords
- vending machine
- control unit
- signal
- transmission
- demodulation control
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07F—COIN-FREED OR LIKE APPARATUS
- G07F11/00—Coin-freed apparatus for dispensing, or the like, discrete articles
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)
Abstract
Description
제 1 도는 이 발명의 실시예에 따른 자동 판매기의 온라인 관리 시스템의 전체 블럭도이고,1 is an overall block diagram of an online management system of a vending machine according to an embodiment of the present invention,
제 2 도는 이 발명의 실시예에 따른 송신신호 필터부의 중폭부와 수신신호 필터부의 상세 회로도이고,2 is a detailed circuit diagram of a medium width part of a transmission signal filter part and a reception signal filter part according to an embodiment of the present invention;
제 3도는 이 발명의 실시예에 따른 송수신 절환부와 통화 회로부의 상세회로도이고,3 is a detailed circuit diagram of a transmission / reception switching unit and a communication circuit unit according to an embodiment of the present invention.
제 4 도는 이 발명의 실시예에 따른 데이터 입출력부와 어드레스 디코더의 회로도이고,4 is a circuit diagram of a data input / output unit and an address decoder according to an embodiment of the present invention.
제 5 도는 이 발명의 실시예에 따른 자판기 컨트롤러의 동작 순서도이고,5 is an operation flowchart of the vending machine controller according to the embodiment of the present invention,
제 6 도는 이 발명의 실시예에 따른 자판기측 변복조 제어부의 동작 순서도이다.6 is a flowchart illustrating an operation of the vending machine side demodulation control unit according to the embodiment of the present invention.
이 발명은 자동 판매기(줄임말로 "자판기"라 한다)의 온라인(on-line) 관리 시스템 및 구동방법에 관한 것으로서, 더욱 상세하게 말하자면 관리자가 자동 판매기의 이상발생, 현재의 매상집계, 현재의 동작상태등에 관한 정보를 전화회선을 통해 제공받아서 이를 누적 연산집계하고 데이터를 일정기간 보관할 수 있고 또한 다수의 자동 판매기를 효율적으로 원격 관리할 수 있는 자동 판매기의 온라인 관린 시스템 및 구동방법에 관한 것이다.The present invention relates to an on-line management system and a driving method of a vending machine (abbreviated as "vending machine"), and more specifically, an administrator causes an abnormality of the vending machine, current sales accounting, and current operation. The present invention relates to an online management system and a driving method of a vending machine that can receive information on status and the like through a telephone line, accumulate and aggregate data and store data for a certain period of time, and efficiently remotely manage a plurality of vending machines.
일정한 장소에 설치된 뒤에, 판매하는 사람이 계속 상주하지 않아도 구매자의 간단한 조작에 따라 자동으로 여러가지 상품을 판매할 수 있는 자동 판매기와 파매자와 구매자 사이의 새로운 판매방식으로서 널리 보급되고 있는 추세이다.After being installed in a certain place, there is a trend that is widely used as a new sales method between the vending machine and the seller and the buyer who can automatically sell various products according to the simple operation of the buyer even if the seller does not stay permanently.
이러한 자동 판매기는, 자동 판매기를 관리하고 있는 관리자가 자동 판매기가 설치되어 있는 장소를 방문하여 자동 판매기의 동작상태를 점검하고 상품의 제고량을 파악한 뒤에, 고장이 발생한 곳을 수리하고 품절된 상품을 보충함으로서 이를 관리할 수가 있다.The vending machine manages the vending machine and repairs the product that is out of stock after the manager who manages the vending machine visits the place where the vending machine is installed, checks the operation status of the vending machine, grasps the quantity of the product. You can manage this by supplementing it.
그러나 상기한 종래의 자동 판매기는 관리자가 직접 자동 판매기의 설치 장소를 방문하여 자동판매기의 동작상태와 상품의 품질상태를 점검하였으므로 많은 인력 및 시간이 낭비될 뿐만 아니라, 자동 판매기가 고장이 발생되었거나 상품이 품절되었을 경우에 고장수리 및 상품의 보충을 제때에 하지 못함으로써 매상이 감소되었으며, 심야와 같이 판매가 거의 일어나지 않는 시간에도 자동판매기를 계속 구동시킴으로써 필요없이 많은 전력이 소모되는 등의 결함이 있다.However, the above-mentioned conventional vending machine not only wastes a lot of manpower and time because the manager visits the vending machine installation site and checks the operation state of the vending machine and the quality of the product. When this product is out of stock, sales are reduced by failing to repair and replenish goods on time, and there is a defect such that a lot of power is consumed without the need by continuing to run the vending machine even at a time when sales are rarely generated, such as at night.
이러한 결함을 제거하기 위해서, 자동 판매기가 고장이 발생되거나 상품이 품절될 경우에 이를 즉시 전화선로를 이용하여 관리자에게 알림으로써 관리자가 제때에 고장수리 및 상품보충을 하도록 하는 통신 점검장치에 관한 기술이 대한민국 특허출원 공개번호 제90-11230호(출원일자 : 서기 1988년 12월 30일)의 "자동판매기의 통신 점검장치"에서 개시된 바 있다.In order to eliminate such defects, there is a technology related to a communication check device that allows an administrator to repair and replenish goods in a timely manner by notifying the manager using a telephone line immediately when a vending machine breaks down or a product is out of stock. Korean Patent Application Publication No. 90-11230 (application date: December 30, 1988 AD) has been disclosed in the "communication check device of the vending machine".
상기한 "자동 판매기의 통신 점검장치"는 자동 판매기의 고장 및 재료의 부족이 발생하였을 경우에 전화선로를 이용하여 관리자에게 알리고 또한 관리자의 제어에 따라 매상집계를 관리자에게 알림으로써 자동판매기의 관리를 원격으로 제어할 수 있는 동작 특성을 갖는다.The above-mentioned "communication checking device of the vending machine" is used to notify the manager by using the telephone line in case of the failure of the vending machine and the shortage of materials, and also to manage the vending machine by notifying the manager of the sales amount under the control of the manager. Has operating characteristics that can be controlled remotely.
그러나 상기한 종래의 "자동 판매기의 통신 점검장치"는 데이터를 전화회선을 이용하여 송수신하는 경우에 필수적으로 요구되는 데이터의 변복조 과정에 대한 구체적인 수단이 제시되어 있지 않음으로써 이를 실시하기가 매우 어려운 단점이 있다.However, the conventional "communication checking device of a vending machine" has a disadvantage that it is very difficult to carry out the specific means for the data demodulation and demodulation process, which is essential when data is transmitted and received using a telephone line. There is this.
또한 상기한 종래의 "자동 판매기의 통신 점검장치"는 하나의 마이컴으로써 자동판매기의 동작과 원격데이터 통신에 관한 모든 동작을 제어하기 때문에, 사용자가 자판기를 구입할 경우에 원격 데이터 통신 기능을 부가적으로 선택하지 못하는 불편함이 있다.In addition, the conventional " communication checking device of the vending machine " controls all operations related to the vending machine and the remote data communication with a single microcomputer, so that when the user purchases the vending machine, the remote data communication function is additionally added. There is inconvenience that cannot choose.
따라서 이 발명의 목적은 상기한 종래의 단점을 해결하기 위한것으로서,전화회선을 통하여 다수의 자동판매기를 원격으로 제어할 수 있는 구체적인 변복조 제어회로를 이용하여 시스템을 구성함으로써 관리자가 자동 판매기의 이상발생, 현제의 매상집계, 현재의 동작상태 등에 관한 정보를 컴퓨터를 통하여 손쉽게 관리할 수 있는 자동 판매기의 온라인 관리 시스템 및 구동방법을 제공하는데 있다.Accordingly, an object of the present invention is to solve the above-mentioned disadvantages, and by configuring a system using a specific modulation / demodulation control circuit that can remotely control a plurality of vending machines through a telephone line, an administrator causes an abnormality of the vending machine. In addition, the present invention provides an online management system and a driving method of a vending machine that can easily manage information on a current sales amount, a current operating state, and the like through a computer.
상기한 목적을 달성하기 위한 이 발명의 구성은, 자판기측 변복조 제어부의 호출이 있거나 자판기에 장애가 발생하였거나 일정한 통신간격 시간이 될 때마다 자판기의 장애 코드(error code)와 자판기의 현재 동작상태 및 현재 매상집계 등에 관한 정보를 자판기측 변복조 제어부에 전송하는 자판기 컨트롤러와 ; 자판기 컨트롤러로부터 호출이 있거나 관리자측 변복조 제어부로부터 호출이 있을 경우에 자판기 컨트롤러로부터 데이터를 전송받아 이를 DTMF(Dual Tone Multi Frequency) 신호로 변조하여 전화회선을 통해 관리자측 변복조 제어부로 전송하는 자판기측 변복조 제어부와 ; 전화회선을 통해 전송되어 온 자판기측 변복조 제어부의 정보신호를 수신하여 이를 컴퓨터에 전송하는 관리자측 변복조 제어부와 ; 관리자측 변복조 제어부와 컴퓨터 사이에 연결되어 데이터의 양방향 전송을 위한 통로를 형성하는 데이타 입출력부와 ; 데이타 입출력부에 연결되어 관리자측 변복조 제어부와 정보를 송수시하는 컴퓨터와 ; 컴퓨터의 어드레스 출력신호에따라 데이타 입출력부의 장치 번지를 지정하는 어드레스 디코더(address decoder)로 이루어진다.In order to achieve the above object, the present invention provides an error code of the vending machine, an error code of the vending machine, and a current operation state of the vending machine whenever there is a call from the vending machine side modulation / demodulation control unit, a failure of the vending machine, or a constant communication interval time. A vending machine controller for transmitting information on the sales aggregation, etc., to the vending machine side demodulation control unit; When there is a call from the vending machine controller or a call from the manager side demodulation control unit, the machine receives the data from the vending machine controller and modulates it into a dual tone multi frequency (DTMF) signal and transmits the data to the manager side demodulation control unit via a telephone line. Wow ; A manager side demodulation control unit which receives the information signal of the vending machine side demodulation control unit transmitted through the telephone line and transmits it to a computer; A data input / output unit connected between the manager side demodulation control unit and a computer to form a passage for bidirectional transmission of data; A computer connected to the data input / output unit for transmitting and receiving information to and from the manager side demodulation control unit; It consists of an address decoder which designates the device address of the data input / output unit according to the address output signal of the computer.
상기한 목적을 달성하기 위한 이 발명의 다른 구성은, 자판기측 변복조 제어부의 전원이 인가되면 초기화를 실행한 뒤에 자판기측 변복조 제어부가 장착되어 있는지를 판단하고, 자판기측 변복조 제어부가 장착되어있을 경우에 자판기 고유번호, 관리자측 전화번호, 통신간격 시간 등을 변경할 것인지를 판단하여 이를 변경하는 경우에 새로운 값으로 재설정하고, 자판기에 장애가 발생되었는지를 판단하여 장애가 발생되지 않았을 경우에 통신간격 시간이 되었는지를 검사하고, 통신간격 시간이 되지 않았을 경우에 자판기측 변복조 제어부로부터 호출이 있는지를 검사하고, 자판기에 장애가 발생되었거나 통신간격 시간이 되었거나 자판기측 변복조 제어부로부터 호출이 있을 경우에 자판기 장애코드, 자판기 동작상태, 매상집계 등에 관한정보를 자판기측 변복조 제어부로 전송하고, 자판기의 판매를 제어한 뒤에 변복조 제어부 장착 검사단계로 분기함으로써 위의 과정을 계속적으로 반복하는 자판기 컨트롤러측과 ; 전원이 인가되면 초기화를 실행한 뒤에 자판기측 변복조 제어부 역활을 하는 보드의 도작상태를 스스로 자기진단하고, 자기진단한 결과를 자판기 컨트롤러에 전송함으로써 자판기 컨트롤러에 전송함으로써 자판기 컨트롤러에 연결된 표시장치를 통해 보드의 동작상태를 표시한 뒤에 관리자측으로부터 호출이 있는지를 검사하고, 관리자측의 호출이 없을 경우에 자판기 컨트롤러로부터 호출이 있는지를 판단하고, 자판기 컨트롤러로부터 호출이 있거나 관리자층으로부터의 호출이 있을 경우에 자판기 컨트롤러로부터 자판기 장애코드, 자판기 동작상태, 매상집계 등에 관한 정보를 수신하고, 관리자측을 다이얼링한 뒤에 자판기 컨트롤러로부터 수신하 정보를 관리자측으로 전송하고, 전송이 제대로 완료되었는지를 확인한 뒤에 정보가 제대로 전송되었을 경우에 관리자측 호출 검사단계로 분기함으로써 위의 과정을 계속적으로 반복하는 자판기 변복조 제어부 제어부측 구동방법으로 이루어진다.According to another aspect of the present invention for achieving the above object, when the power supply of the vending machine side demodulation control unit is applied, it is determined whether the vending machine side demodulation control unit is mounted after the initialization and the vending machine side demodulation control unit is mounted. Determine whether to change the vending machine's unique number, the administrator's phone number, the communication interval time, etc., and change it to a new value when changing it, and determine whether the communication interval has been reached when the failure has not occurred. If the communication interval time has not been reached, check if there is a call from the vending machine demodulation control section.If the vending machine has failed, the communication interval has timed or if there is a call from the machine Information about the sales, A vending machine controller side which continuously transmits to the vending machine side demodulation control unit and repeats the above process by controlling the sale of the vending machine and then branching to the step of mounting and controlling the demodulation control unit; When the power is applied, after initializing, it self-diagnoses the drawing status of the board acting as the vending machine modulation / demodulation control unit, and transmits the self-diagnosis result to the vending machine controller to transmit it to the vending machine controller. After displaying the operation status of the system, it is checked whether there is a call from the administrator side, if there is no call from the administrator side, it is determined whether there is a call from the vending machine controller, and when there is a call from the vending machine controller or a call from the manager layer. Receives information on the vending machine fault code, vending machine operation status, sales counting, etc. from the vending machine controller, dials the manager side, transmits the received information from the vending machine controller to the manager side, and confirms that the transmission is completed correctly. By a branch to the checking step, if the administrator side call eoteul consists of a vending machine modem controller-side control drive method for continuously repeating the above procedure.
상기한 구성에 의한 이 발명을 용이하게 실시할 수 있는 바람직한 실시예를 첨부된 도면을 참조로 하여 상세히 설명한다.With reference to the accompanying drawings, a preferred embodiment that can easily implement this invention by the above-described configuration will be described in detail.
제 1 도는 이 발명의 실시예에 따른 자동 판매기의 온라인 관리 시스템의 전체 블럭도이다.1 is an overall block diagram of an online management system of a vending machine according to an embodiment of the present invention.
제 1 도에 도시되어 있듯이 이 발명의 실시예에 따른 자동 판매기의 온라인 관리 시스템의 구성은, 자동 판매기에 설치되어 있는 자판기 컨트롤러(10)와, 자판기 컨트롤러(10)와 입출력단이 서로 연결되어 있는 자판기측 변복조 제어부(20A)와, 전화회전(30)을 통해 자판기측 변복조 제어부(20A)와 연결되어 있는관리자측 변복조 제어부(20B)와, 관리자측 변복조 제어부(20B)에 연결되어 있는 송수신신호 증폭부(40)와, 송수신신호 증폭부(40)의 출력단에 입력단이 연결되어 있는 스피커(50)와, 관리자측 변복조 제어부(20B)와 서로 입출력단이 연결되어 있는 데이타 입출력부(60)와, 데이터 입출력부(60)와 서로 입출력단이 연결되어 있는 개인용 컴퓨터(personal computer, PC) (70)와, 개인용 컴퓨터(70)에 입력단이 연결되어 있고 데이터 입출력부(60)에 출력단이 연걸되어 있는 어드레스 디코더(80)와, 개인용 컴퓨터(70)의 출력단에 입력단이 연결되어 있는 출력장치(90)로 이루어진다.As shown in FIG. 1, the online management system of the vending machine according to the embodiment of the present invention includes a vending machine controller 10 installed in the vending machine, a vending machine controller 10 and an input / output end connected to each other. Transmit and receive signal amplification connected to the vending machine side demodulation control unit 20A, the manager side demodulation control unit 20B connected to the vending machine side demodulation control unit 20A via the telephone rotation 30, and the manager side modulation and demodulation control unit 20B. A unit 40, a speaker 50 having an input terminal connected to an output terminal of the transmission / reception signal amplifier unit 40, a data input / output unit 60 having an input / output terminal connected to the manager side demodulation control unit 20B, and A personal computer (PC) 70 having an input / output terminal connected to the data input / output unit 60 and an input terminal connected to the personal computer 70, and an output terminal connected to the data input / output unit 60. An address decoder 80 and an output device 90 having an input terminal connected to an output terminal of the personal computer 70.
상기한 자판기측 변복조 제어부(20A)와 관리자측 변복조 제어부(20B)의 구성은, 마이크로 컨트롤러(micro-controller) (21)와, 마이크로 컨트롤러(21)의 출력단에 입력단이 연결되어 있는 송신신호 발생부(22)와, 송신신호 발생부(22)의 출력단에 입력단이 연결되어 있는 송신신호 필터부(23)와, 송신신호 필터부(23)의 출력단에 입력단이 연결되어 있는 증폭부(24)와, 마이크로 컨트롤러(21)의 출력단에 입력단이 연결되어 있는 송수신부 절환부(25)와, 송수신 절환부(25)와 증폭부(24)의 출력단에 연결되어 있는 통화 회로부(26)와, 통화 회로부(26)에 연결되어 있는 수신신호 필터부(27)와, 수신신호 필터부(27)의 출력단에 입력단이 연결되어 있고 마이크로 컨트롤러(21)에 출력단이 연결되어 있는 수신신호 분석부(28)로 서로 동일하게 이루어진다.The configuration of the vending machine side demodulation control unit 20A and the manager side demodulation control unit 20B includes a micro-controller 21 and a transmission signal generator having an input terminal connected to an output terminal of the micro controller 21. 22, a transmission signal filter unit 23 having an input terminal connected to the output terminal of the transmission signal generator 22, an amplifying unit 24 having an input terminal connected to the output terminal of the transmission signal filter unit 23, and A transmitter / receiver switching unit 25 having an input terminal connected to an output terminal of the microcontroller 21, a communication circuit unit 26 connected to an output terminal of the transmission / reception switching unit 25 and the amplifier unit 24, and a communication circuit unit. To the received signal filter unit 27 connected to the receiving signal filter unit 27, and to an output terminal of the received signal filter unit 27, and to an output terminal connected to the microcontroller 21. Are made identical to each other.
이 발명의 실시예에서는 상기한 마이크로 컨트롤러(1)로서 도시바(TOSHIBA)사의 TMP47C660 칩을 사용하고 있으며, 송신신호 발생부(22)로서는 내셔널 세미컨덕터(National Semiconductor)사의 TP5088 칩(DTMF Generator for Binary Data)을 사용하고 있고, 수신신호 분석부(28)로서는 KT3170 칩을 사용히고 있으나 이 발명의 기술적 법위는 여기에 한정되지 않는다.In the embodiment of the present invention, the TMP47C660 chip manufactured by Toshiba Corp. is used as the microcontroller 1, and as the transmission signal generator 22, a TP5088 chip (DTMF Generator for Binary Data, manufactured by National Semiconductor) is used. ) And the KT3170 chip is used as the reception signal analyzer 28, but the technical scope of the present invention is not limited thereto.
제 2 도는 이 발명의 실시예에 따른 송신신호 필터부와 증폭부와 수신신호로 필터부의 상세 회로도이다.2 is a detailed circuit diagram of a filter unit including a transmission signal filter unit, an amplifier unit and a reception signal according to an embodiment of the present invention.
제 2 도에 도시되어 있듯이 이 발명의 실시예에 따른 송신신호로 필터부(23)의 구성은, 송신신호 발생부(22)와 접지 사이에 연결된 저항 (R231)과, 송신신호 발생부(22)에 한쪽단자가 연결되어 있는 커패시터(C231), 커패시터(C231)의 다른 한쪽단자에 한쪽단자가 연결되어 있는 저항(R232)과, 저항(R232)의 다른 한쪽단자와 접지 사이에 연결되어 있는 캐패시터(C232)와, 저항(R232)과 커패시터(C232)의 접속점에 한쪽단자가 연결되어 있는 저항(R233)과, 저항(R233)의 다른 한쪽단자와 접지 사이에 연결되어 있는 커패시터(C233)와, 저항(R233)과 커패시터(C233)의 접속점에 한쪽단자가 연결되어 있는 저항(R234)과, 저항(R234)의 다른 한쪽단자와 접지 사이에 연결되어 있는 커패시터(C234)와 저항(R234)과 커패시터(C234)의 접속점에 한쪽단자가 연결되어 있는 저항(R235)으로 이루어진다.As shown in FIG. 2, the configuration of the filter unit 23 with the transmission signal according to the embodiment of the present invention includes a resistor R231 connected between the transmission signal generator 22 and the ground, and the transmission signal generator 22. FIG. Capacitor (C231) having one terminal connected to the resistor), a resistor (R232) having one terminal connected to the other terminal of the capacitor (C231), and a capacitor connected between the other terminal of the resistor (R232) and the ground. (C232), a resistor (R233) having one terminal connected to the connection point of the resistor (R232) and the capacitor (C232), a capacitor (C233) connected between the other terminal of the resistor (R233) and ground, A resistor R234 having one terminal connected to the connection point of the resistor R233 and the capacitor C233, and the capacitor C234, resistor R234 and the capacitor connected between the other terminal of the resistor R234 and the ground. A resistor R235 is connected to one terminal of the connection point C234.
또한 제 2 도에 도시되어 있듯이 이 발명의 실시예에 따른 증폭부(24)의 구성은, 송신신호 필터부(23)의 저항(R235)의 다른 한쪽단자와 접지사이에 연결된 저항(R241)과, 저항(R235, R241)의 접속점에 비반전 입력단자가 연결되고 반전 입력단자는 접지된 연산 증폭기(OP241)와, 연산증폭기(OP241)의 출력단자에 한쪽단자가 연결된 커패시커(C241)와, 커패시터(C241)의 다른 한쪽단자에 한쪽단자가 연결된 저항(R242)으로 이루어진다.Also, as shown in FIG. 2, the configuration of the amplifier 24 according to the embodiment of the present invention includes a resistor R241 connected between the other terminal of the resistor R235 of the transmission signal filter unit 23 and the ground. A capacitor C241 having a non-inverting input terminal connected to a connection point of the resistors R235 and R241 and an inverting input terminal connected to a grounded operational amplifier OP241 and one terminal connected to an output terminal of the operational amplifier OP241, The resistor R242 is connected to one terminal of the other terminal of the capacitor C241.
또한 제 2 도에 도시되어 있듯이 발명의 실시예 따른 수신신호 필터부(27)의 구성은, 송신신호 증폭부(24)의 저항(R242)의 다른 한쪽단자에 한쪽단자가 연결된 저항(R271)과, 저항(R271)의 다른 한쪽단자와 접지사이에 연결된 커패시터(C271)와, 저항(R271)과 커패시터(C217)의 접속점에 한쪽단자가 연결된 저항(R272)과, 저항(R272)의 다른 한쪽단자와 접지 사이에 연결된 커패시터(C272)와, 저항(R272)과 커패시터(C272)의 접속점에 한쪽단자가 연결된 저항(R273)과, 저항(R273)의 다른 한쪽단자에 한쪽단자가 연결된 커패시터(C273)와, 커패시터(C273)의 다른 한쪽단자에 한쪽단자가 연결되어 수신신호 분석부(28)에 다른 한쪽단자가 연결된 저항(R274)으로 이루어진다.Also, as shown in FIG. 2, the configuration of the reception signal filter unit 27 according to the embodiment of the present invention includes a resistor R271 having one terminal connected to the other terminal of the resistor R242 of the transmission signal amplifier 24. A capacitor C271 connected between the other terminal of the resistor R271 and ground, a resistor R272 having one terminal connected to a connection point between the resistor R271 and the capacitor C217, and the other terminal of the resistor R272. A capacitor C272 connected between the ground and the ground, a resistor R273 having one terminal connected to the connection point between the resistor R272 and the capacitor C272, and a capacitor C273 having one terminal connected to the other terminal of the resistor R273. And a resistor R274 having one terminal connected to the other terminal of the capacitor C273 and the other terminal connected to the reception signal analyzer 28.
제 3 도는 이 발명의 실시예에 따른 송수신 절환부와 통화 회로부의 상세회로도이다.3 is a detailed circuit diagram of a transmission / reception switching unit and a communication circuit unit according to an embodiment of the present invention.
제 3 도에 도시되어 있듯이 이 발명의 실시에에 따른 송수신 절환부(25)의 구성은, 마이크로 컨트롤러(21)의 접지 사이에 직렬로 연결된 저항(R251, R252)과, 저항(R21, R252)의 접속점에 베이스가 연결되고 에미터는 접지된 트랜지스터(Q251)와, 전원전압(Vcc)에 캐소드가 연결되고 트랜지스터(Q251)의 컬렉터에 애노드가 연결된 다이오드(D251)와, 다이오드(D251)의 캐소드와 애노드 사이에 코일단자가 연결된 릴레이(RY251)와, 마이크로 컨트롤러(21)와 접지 사이에 직렬로 연결된 저항(R253, R254)과, 저항(R253,R254)의 접속점에 베이스가 연결되고 에미터는 접지된 트랜지스터(Q252)와, 트랜지스터(Q252)의 컬렉터에 한쪽단자가 연결된 저항(R255)으로 이루어진다.As shown in FIG. 3, the configuration of the transmission / reception switching unit 25 according to the embodiment of the present invention includes the resistors R251 and R252 and the resistors R21 and R252 connected in series between the grounds of the microcontroller 21. The base is connected to the junction of the emitter and the emitter is grounded transistor (Q251), the cathode is connected to the power supply voltage (Vcc), the anode of the diode (D251) connected to the collector of the transistor (Q251), and the cathode of the diode (D251) and The base is connected to the relay (RY251) having the coil terminal connected between the anode, the resistors R253 and R254 connected in series between the microcontroller 21 and the ground, and the connection point of the resistors R253 and R254, and the emitter is grounded. A transistor Q252 and a resistor R255 having one terminal connected to the collector of the transistor Q252.
또한 제 3 도에 도시되어 있듯이 이 발명의 실시예에 따른 통화회로부(26)의 구성은, 전화회선(30)과 접지 사이에 각각 연결된 커패시터쌍(C268, C269)과, 전화회전(30)과 송수신 절환부(25)의 릴레이(RY251)의 스위치 단자 사이에 연결된 라인필터 코일(F261)과, 송수신 절환부(25)의 릴레이(RY251)의 스위치 단자에 한쪽단자가 연결된 커패시터(C261)와, 커패시터(C261)의 다른 한쪽단자에 연결된 브리지 다이오드(B261)와, 브리지 다이오드(B261)의 출력단자 상단에 병렬로 연결된 커패시터(C262) 및 제너 다이오드(Z262)와, 브리지 다이오드(B261)의 출력단자에 한쪽단자가 연결된 저항(R261)과, 저항(R621)의 다른 한쪽단자에 발광 다이오드가 연결되어 있는 광결합 소자(P261)와, 광결합 소자(P261)의 수광 트랜지스터 컬렉터와 전원전압(Vcc) 사이에 연결된 저항(R262)과, 광결합 소자(P261)의 수광 트랜지스터 컬렉터와 에미터 사이에 연결되어있는 캐패시터(C263)와, 송수신 절환부(25)의 릴레이(RY251)와 라인필터 코일(F261) 사이에 연결되어 있는 커패시터(C264)와, 송수신 절환부(25)의 릴레이(RY251)와, 라인필터 코일(F261) 사이에 연결되어 있는 브리지 다이오드(B262)와, 브리지 다이오드(B262)에 에미터가 연결되어있는 트랜지스터(Q261)와, 트랜지스터(Q261)의 에미터와 베이스 사이에 연결되어 있는 저항(RR263)과, 트랜지스터(Q261)의 베이스에 한쪽단자가 연결된 저항(R264)과, 송수신 절환부(25)의 저항(R255)의 다른 한쪽단자와 전원전압(Vcc) 사이에 발광 다이오드가 연결되고 브리지 다이오드(B262)와 저항(R264)의 다른 한쪽단자 사이에 수광 트랜지스터가 연결된 광결합 소자(P262)와, 트랜지스터(Q261)의 컬렉터와 브리지 다이오드(B262) 사이에 연결된 저항(R265)과, 트랜지스터(Q261)의 컬렉터와 브리지 다이오드(B262)사이에 직렬로 연결된 커패시터(C262, C266)와, 캐패시터(C266)의 양쪽단자 사이에 연결된 트랜스포머(T261)와, 트랜스포모(T261)의 양쪽단자 사이에 연결된 캐패시터(C267)로 이루어진다.Also, as shown in FIG. 3, the configuration of the call circuit unit 26 according to the embodiment of the present invention includes a pair of capacitors C268 and C269 connected between the telephone line 30 and the ground, and the telephone rotation 30 and A line filter coil F261 connected between the switch terminals of the relay RY251 of the transmission / reception switching unit 25, a capacitor C261 having one terminal connected to the switch terminal of the relay RY251 of the transmission / reception switching unit 25, The bridge diode B261 connected to the other terminal of the capacitor C261, the capacitor C262 and the zener diode Z262 connected in parallel to the output terminal of the bridge diode B261, and the output terminal of the bridge diode B261. A resistor R261 having one terminal connected thereto, an optical coupling element P261 having a light emitting diode connected to the other terminal of the resistor R621, a light receiving transistor collector and a power supply voltage Vcc of the optical coupling element P261. A resistor R262 connected between the light coupling element P26 A capacitor C263 connected between the light-receiving transistor collector and the emitter of 1), a capacitor C264 connected between the relay RY251 of the transmission / reception switching unit 25 and the line filter coil F261, and a transmission / reception The bridge diode B262 connected between the relay RY251 of the switching unit 25 and the line filter coil F261, the transistor Q261 having an emitter connected to the bridge diode B262, and a transistor ( A resistor RR263 connected between the emitter and the base of Q261, a resistor R264 having one terminal connected to the base of the transistor Q261, and the other terminal of the resistor R255 of the transmission / reception switching unit 25. And the light-emitting diode connected between the power supply voltage Vcc and the light-emitting transistor P262 connected between the bridge diode B262 and the other terminal of the resistor R264, the collector and the bridge diode of the transistor Q261. R connected between (B262) 265, the capacitors C262 and C266 connected in series between the collector of the transistor Q261 and the bridge diode B262, a transformer T261 connected between both terminals of the capacitor C266, and a transformer T261. It consists of a capacitor (C267) connected between both terminals of.
제 4 도는 이 발명의 실시예에 따른 데이터 입출력부와 어드레스 디코더의 회로도이다.4 is a circuit diagram of a data input / output unit and an address decoder according to an embodiment of the present invention.
제 4 도에 도시되어 있듯이 이 발명의 실시예에 따른 데이터 입출력부(60)의 구성은, 관리자측 변복조 제어부(20B)의 마이크로 컨트롤러(21)에 입출력단자(PA0~PA3, PC4~PC7)가 연결되어 있고 시스템 버스의 독출 버스 쓰기 신호선(/RD, WR)에 입력단자(/RD, WR)가 각각 연결되어 있는 프로그래머블 주변장치 인터페이스(61)와, 프로그래머블 주변장치 인터페이스(61)의 데이터 단자(D0~D7)에 입출력단자(B1~B8)가 연결되어 있고 시스템 버스의 데이터 신호선(D0~D7)에 입출력단자(A1~A8)가 연결되어 있고 어드레스 디코더(80)의 출력단자에 게이트 단자(/G)가 연결되어 있는 버스 트랜시버(62)로 이루어진다.As shown in FIG. 4, the configuration of the data input / output unit 60 according to the embodiment of the present invention is such that the input / output terminals PA0 to PA3 and PC4 to PC7 are connected to the microcontroller 21 of the manager side modulation / demodulation control unit 20B. A programmable peripheral interface 61 connected to the read bus write signal lines / RD and WR of the system bus, respectively, and a data terminal of the programmable peripheral interface 61; Input / output terminals B1 to B8 are connected to D0 to D7, and input and output terminals A1 to A8 are connected to data signal lines D0 to D7 of the system bus, and a gate terminal is connected to an output terminal of the address decoder 80. / G) consists of a bus transceiver 62 to which it is connected.
이 발명의 실시예에서는 상기한 프로그래머블 주변장치 인터페이스(61)로서 인텔(Intel)사의 8255A 칩((Programmable Peripheral Interface, PPI)을 사용하고 있으며, 버스 트랜시버(62)로서는 74LS245 칩(Octal Bus Transceivers with 3-State Outputs)을 사용하고 있으나 이 발명의 기술적 법위는 여기에 한정되지 않는다.In the embodiment of the present invention, an 8255A chip (Programmable Peripheral Interface (PPI)) manufactured by Intel (Intel) is used as the programmable peripheral interface 61, and the 74LS245 chip (Octal Bus Transceivers with 3) is used as the bus transceiver 62. -State Outputs), but the technical legislation of the present invention is not limited thereto.
또한 제 4 도에 도시되어 있듯이 이 발명의 실시예에 따른 어드레스 디코더(80)의 구성은, 전원전압(Vcc)과 접지 사이에 연결된 캐패시터(C81)와, 시스템 버스의 어드레스 인에이블 신호선(AEN)에 게이트단자(/G)가 연결되어 있고 시스템 버스의 어드레스 신호선(A2~A9)에 입력단자(P0~P7)가 연결되어 있고 전원전압(Vcc)에 입력단자(Q2, Q3, Q6, Q7)가 연결되어 있고 접지에 입력단자(Q0, Q1, Q4, Q5)가 연결되어 있는 비교기(81)로 이루어진다.Also, as shown in FIG. 4, the configuration of the address decoder 80 according to the embodiment of the present invention includes a capacitor C81 connected between the power supply voltage Vcc and the ground, and the address enable signal line AEN of the system bus. Is connected to the gate terminal (/ G), the input terminals P0 to P7 are connected to the address signal lines A2 to A9 of the system bus, and the input terminals Q2, Q3, Q6 and Q7 are connected to the power supply voltage Vcc. Is connected, and the comparator 81 is connected to the input terminals Q0, Q1, Q4, and Q5 to ground.
이 발명의 실시예서는 상기한 비교기(81)로서 74LS688 칩(8-Bit Identity Comparators)을 사용하고 있으나 이 발명의 기술적 범위는 여기에 한정되지 않는다.The embodiment of the present invention uses 74LS688 chip (8-Bit Identity Comparators) as the comparator 81 described above, but the technical scope of the present invention is not limited thereto.
제 5 도는 이 발명의 실시예에 따른 자판기 컨트롤러의 동작 순서도이다.5 is an operation flowchart of the vending machine controller according to the embodiment of the present invention.
제 5 도에 도시되어 있듯이 이 발명의 실시예에 따른 자판기 컨트롤러의 동작은, 전원이 인가되면 초기화를 실행하는 시작단계(51)와, 자판기측 변복조 제어부가 장착되어 있는지를 판단하는 단계(520)와, 자판기측 변복조 제어부가 장착되어 있을 경우에 자판기 고유번호, 관리자측 전화번호, 통신간격 시간등을 변경할 것인지를 판단하는 단계(530)와, 자판기 고유번호, 관리자측 전화번호, 통신간격 시간등을 변경하는경우에 이를 재설정하는 단계(540)와, 자판기에 장애가 발생되었는지를 판단하는 단계(550)와, 자판기에 장애가 발생되지 않았을 경우에 통신간격 시간이 되었는지를 검사하는 단계(560)와, 통신간격 시간이 되지 않았을 경우에 자판기측 변복조 제어부로부터의 호출이 있는지를 검사하는 단계(570)와, 자판기에 장애가 발생되었거나 통신간격 시간이 되었거나 자판기측 변복조 제어부로부터 호출이 있을 경우에 자판기 장애코드, 자판기 동작상태, 매상집계 등에 관한 정보를 자판기측 변복조 제어부로 전송하는 단계(580)와, 자판기의 판매를 제어한 뒤에 변복조 제어부 장착 검사단계(520)로 분기함으로써 위의 과정을 계속적으로 반복하는 단계(590)으로 이루어진다.As shown in FIG. 5, the operation of the vending machine controller according to the exemplary embodiment of the present invention includes a start step 51 of performing initialization when power is applied and a step 520 of determining whether the vending machine side demodulation control unit is mounted. Determining whether to change the vending machine unique number, the administrator side phone number, the communication interval time, etc., when the vending machine side modulation and demodulation control unit is mounted, and the vending machine unique number, the administrator side phone number, the communication interval time, etc. In the case of changing the step of resetting it (540), the step of determining whether the failure of the vending machine (550), the step of checking whether the communication interval time when the failure of the vending machine has occurred (560), Checking whether there is a call from the vending machine side demodulation control unit when the communication interval time has not elapsed, and the vending machine has a failure or the communication interval. When the time comes or there is a call from the vending machine demodulation control unit, transmitting information on the vending machine failure code, the vending machine operation state, the sales total, etc. to the vending machine side demodulation control unit (580), and after the vending machine is controlled, the modulation and demodulation control unit is mounted. Branching to the inspection step 520 consists of a step 590 of continuously repeating the above process.
제 6 도는 이 발명의 실시예에 따른 자판기측 변복조 제어부의 동작 순서도이다.6 is a flowchart illustrating an operation of the vending machine side demodulation control unit according to the embodiment of the present invention.
제 6 도에 도시되어 있듯이 이 발명의 실시예에 따른 자판기측 변복조 제어부의 동작은, 전원이 인가되면 초기화를 실행하는 시작단계(610)와, 자판기측 변복조 제어부 역활을 하는 보드의 동작상태를 스스로 자기판단하는 단계(620)와 자기진단한 결과를 자판기 컨트롤러에 전송함으로써 자판기 컨트롤러에 연결된 표시장치를 통해 보드의 동작상태를 표시하는 단계(630)와, 관리자측으로부터 호출이 있는지를 검사하는 단계(640)와, 관리자측의 호출이 없을 경우에 자판기 컨트롤러로부터 호출이 있는지를 판단하는 단계(650)와, 자판기 컨트롤러로부터 호출이 있거나 관리자측으로부터의 호출이 있을 경우에 자판기 컨트롤러로부터 자판기 장애코드, 자판기 동작상태, 매상집계 등에 관한 정보를 수신하는 단계(660)와, 관리자측을 다이얼링한 뒤에 자판기 컨트롤러로부터 수신한 정보를 관리자측으로 전송하는 단계(670)와, 전송이 제대로 완료되었는지를 확인한 뒤에 정보가 제대로 전송되었을 경우에 관리자측 호울 검사단계(640)로 분기함으로써 위의 과정을 계속적으로 반복하는단계(680)로 이루어진다.As shown in FIG. 6, the operation of the vending machine side demodulation control unit according to an embodiment of the present invention includes a start step 610 of performing initialization when power is applied, and an operation state of a board serving as the vending machine side demodulation control unit. In operation 620, and transmitting the self-diagnosis result to the vending machine controller, displaying the operation state of the board through the display device connected to the vending machine controller 630, and checking whether there is a call from the manager. 640, a step 650 of determining whether there is a call from the vending machine controller when there is no call from the manager side, a vending machine fault code from the vending machine controller when there is a call from the vending machine controller or a call from the manager side. Receiving information on the operation status, the sales aggregate, etc. (660) and the vending machine after dialing the administrator side Step 670 of transmitting the information received from the controller to the manager side, and if the information is properly transmitted after confirming that the transmission is completed properly, branching to the manager side hole inspection step 640 to continuously repeat the above process Step 680 is made.
상기한 구성 및 동작순서에 의한 이 발명의 실시예에 따른 자동 판매기의 온라인 관리 시스템 및 구동방법의 작용은 다음과 같다.The operation of the online management system and the driving method of the vending machine according to the embodiment of the present invention by the above configuration and operation sequence are as follows.
자동 판매기에 전원이 인가되면 자판기 컨트롤러(10)의 내부 메모리에 저장되어 있는 프로그램이 실행됨으로써 자판기 컨트롤러(10)가 동작을 시작한다.When power is applied to the vending machine, the program stored in the internal memory of the vending machine controller 10 is executed to start the vending machine controller 10.
자판기 컨트롤러(10)의 동작이 시작되면 자판기 컨트롤러(10)는 먼저 변수를 초기화한 뒤에 자판기측 변복조 제어부(20A)가 장착되어 있는지를 검사한다.When the operation of the vending machine controller 10 starts, the vending machine controller 10 first initializes the variable and then checks whether the vending machine side modulation / demodulation control unit 20A is mounted.
자판기에 자판기측 변복조 제어부(20A)가 연결되어 있으면, 자판기 컨트롤러(10)는 자판기측 변복조 제어부(20A)의 마이크로 컨트롤러(21)로부터 자기진단 결과에 대한 정보를 전송받아 이를 디스플레이 장치(도시되지 않음)에 표시한 뒤에 사용자가 자판기 고유번호, 관리자측 번화번호, 통신간격 시간 등을 변경할 것인지를 검사한다.When the vending machine side demodulation control unit 20A is connected to the vending machine, the vending machine controller 10 receives information about the self-diagnosis result from the microcontroller 21 of the vending machine side demodulation control unit 20A and displays the display device (not shown). ), Check whether the user changes the vending machine's unique number, administrator's number, and communication interval time.
자판기에 자판기측 변복조 제어부(20A)가 장착되어 있을 경우에, 전원이 자판기에 인가되면 자판기측 변복조 제어부(20A)의 마이크로 컨트롤러(21)의 내부 메모리에 저장되어 있는 프로그램이 실생됨으로써 자판기측 변복조 제어부(20A)의 마이크로 컨트롤러(21)가 동작을 시작한다. 자판기측 변복조 제어부(20A)의 마이크로 컨트롤러(21)가 동작되면 자판기측 변복조 제어부(20A)의 마이크로 컨트롤러(21)는 초기화를 실행한 뒤에, 자기진단을 실시하고 그 결과를 자판기 컨트롤러(10)로 전송함으로써 자판기 컨트롤러(10)에 의해 자판기측 변복조 제어부(20A)가 이상없이 장착되어 있음을 디스플레이 장치에 표시하도록 한다.When the vending machine side demodulation control unit 20A is attached to the vending machine, when power is applied to the vending machine side, the program stored in the internal memory of the microcontroller 21 of the vending machine side demodulation control unit 20A is executed to generate the vending machine side demodulation control unit. The microcontroller 21 of 20A starts operation. When the microcontroller 21 of the vending machine side demodulation control unit 20A is operated, the microcontroller 21 of the vending machine side demodulation control unit 20A executes self-diagnosis after performing initialization and returns the result to the vending machine controller 10. By the transmission, the vending machine controller 10 causes the display device to display that the vending machine side modulation / demodulation control unit 20A is properly installed.
자판기 컨트롤러(10)는 사용자가 자판기 고유번호, 관리자측 전화번호, 통신간격 시간등을 변경하고자 할경우에, 상기한 정보를 키보드와 같은 입력장치(도시되지 않음)를 통해 입력받아 새로운 값으로 변경함으로써 자판기 고유번호, 관리자측 전화번호, 통신간격 시간 등을 재설정한다.The vending machine controller 10 receives the above information through an input device (not shown) such as a keyboard and changes it to a new value when the user wants to change the vending machine unique number, the manager's phone number, and the communication interval time. By resetting the vending machine unique number, the manager's phone number, the communication interval time.
다음에 자판기 컨트롤러(10)는 자판기에 설치된 다양한 종류의 센서(도시되지 않음)로부터 자판기에 장애가 발생되었는가를 검사한 뒤에, 만약에 장애가 발생되었으면 이에 해당하는 장애코드와 현재의 자판기 동작상태 및 매상집계 금액 등에 관한 정보를 자판기측 변복조 제어부(20A)의 마이크로 컨트롤러(21)로 전송한다.Next, the vending machine controller 10 checks whether the vending machine has failed from various types of sensors (not shown) installed in the vending machine, and if the vending machine has failed, the corresponding fault code and the current vending machine operating state and sales aggregate Information on the amount of money and the like is transmitted to the microcontroller 21 of the vending machine side demodulation control section 20A.
만약 자판기에 장애가 발생되지 않았을 경우에는 자판기 컨트롤러(10)는 사용자에 의해 미리 일정하게 설정되어져 있는 통신간격 시간이 되었는지를 검사한 뒤에, 만약에 통신간격 시간이 되었으면 역시 현재의 자판기 동작상태 및 매상집계 금액 등에 관한 정보를 자판기측 변복조 제어부 (20A)의 마이크로 컨트롤러(21)로 전송한다.If there is no failure in the vending machine, the vending machine controller 10 checks whether the communication interval time is set by the user in advance, and if the communication interval time is reached, the current vending machine operation state and the sales total Information about the amount of money and the like is transmitted to the microcontroller 21 of the vending machine side demodulation control section 20A.
통신간격 시간이 되지 않았을 경우에 자판기 콘트롤러(10)는 자판기측 변복조 제어부(20A)의 마이크로 건트롤러(21)로부터 호출이 있는지를 검사한 뒤에, 자판기측 변복조 제어부(20A)의 마이크로 컨트롤러(21)로부터 호출이 있으면 현재의 자판기 동작상태 및 매상집계 금액 등에 관한 정보를 자판기측 변복조 제어부(20A)의 마이크로 컨트롤러(21)로 전송한다.When the communication interval time has not elapsed, the vending machine controller 10 checks whether there is a call from the micro gun controller 21 of the vending machine side demodulation control unit 20A, and then the microcontroller 21 of the vending machine side demodulation control unit 20A. When a call is received from the controller, information on the current vending machine operation state and the amount of sales accumulated amount is transmitted to the microcontroller 21 of the vending machine side modulation / demodulation control unit 20A.
그러나 자판기측 변복조 제어부(20A)가 장착되어 있지 않거나, 자판기측 변복조 제어부(20A)가 장착되어 있더라도 마이크로 컨트롤러(21)로부터 호출이 없으면, 자판기 컨트롤러(10)는 자판기의 판매를 제어하는 루틴을 실행한 뒤에 자판기측 변복조 제어부(20A)가 장착되어 있는지를 검사하는 단계로 분기함으로써 전원의 공급이 멈출 때까지 상기한 동작을 반복적으로 계속하게 된다.However, if there is no call from the microcontroller 21 even if the vending machine side demodulation control unit 20A is not mounted or if the vending machine side demodulation control unit 20A is mounted, the vending machine controller 10 executes a routine for controlling the vending machine sales. After that, branching to the step of checking whether the vending machine side modulation / demodulation control unit 20A is mounted is repeated repeatedly until the supply of power is stopped.
자판기측 변복조 제어부(20A)의 마이크로 컨트롤러(21)는 진단결과를 자판기 컨트롤러(10)로 전송한 뒤에 관리자측 변복조 제어부(20B)로부터 호출이 있는지를 검사한다.The microcontroller 21 of the vending machine side demodulation control unit 20A transmits the diagnosis result to the vending machine controller 10 and checks whether there is a call from the manager side demodulation control unit 20B.
자판기측 변복조 제어부(20A)가 관리자측 변복조 제어부(20B)로부터의 호출이 있는 것을 검사하는 방법은 인터럽트에 의해 행해지는데 이것의 상세한 동작은 다음과 같다.A method of checking that the vending machine side demodulation control unit 20A has made a call from the manager side demodulation control unit 20B is performed by an interrupt, and the detailed operation thereof is as follows.
관리자측 변복조 제어부(20B)로부터의 호출 및 정보신호가 전화회선(30)을 통해 통화 회로부(26)로 입력되면, 상기한 호출 및 정보신호가 통화 회로부(26)의 커패시터쌍(C268,C269)과 라인필터 코일(F261)을 통해 노이즈가 제거된 뒤에 송수신 절환부(25)의 릴레이(RY251)를 거쳐 브리지 다이오드(B261)로 입력된다.When a call and information signal from the manager side modulation / demodulation control unit 20B is input to the call circuit section 26 through the telephone line 30, the call and information signal is inputted to the capacitor pairs C268 and C269 of the call circuit section 26. After the noise is removed through the line filter coil F261, the signal is input to the bridge diode B261 through the relay RY251 of the transmission / reception switching unit 25.
통화 회로부(26)의 브리지 다이오드(B261)는 상기한 신호의 입력이 있을 경우에 이를 전파정류하여 직류전압 신호로 변환한 뒤에 광결합 소자(P261)로 출력함으로써 광결합 소자(P261)를 구동시킨다.The bridge diode B261 of the communication circuit unit 26, when there is an input of the above-mentioned signal, performs full-wave rectification, converts it into a DC voltage signal, and outputs it to the optical coupling element P261 to drive the optical coupling element P261. .
광결합 소자(P261)가 구동되면 커패시터(C263)에 충전되어 있던 전압이 방전됨으로써 로우상태의 인터럽트(/NT) 신호가 자판기측 변복조 제어부(20A)의 마이크로 컨트롤러(21)로 입력된다.When the optical coupling element P261 is driven, the voltage charged in the capacitor C263 is discharged so that the low interrupt (/ NT) signal is input to the microcontroller 21 of the vending machine side modulation / demodulation control unit 20A.
따라서 자판기측 변복조 제어부(20A)의 마이크로 컨트롤러(21)는 상기한 인터럽트 신호(/NT)를 검사함으로써 관리자측 변복조 제어부(20B)의 호출이 있음을 감지해낸다.Therefore, the microcontroller 21 of the vending machine side demodulation control unit 20A detects the call of the manager side demodulation control unit 20B by checking the interrupt signal / NT described above.
관리자측 변복조 제어부(20B)로부터 호출이 있는 경우에 자판기측 변복조 제어부(20A)의 마이크로 컨트롤러(21)는 하이상태의 신호를 송수신 절환부(25)로 출력함으로써 송수신 절환부(25)의 트랜지스터(Q251, Q252)를 턴온시킨다.When there is a call from the manager side demodulation control section 20B, the microcontroller 21 of the vending machine side demodulation control section 20A outputs a high state signal to the transmission and reception switching section 25 so that the transistor of the transmission and reception switching section 25 can be Q251, Q252) is turned on.
송수신 절환부(25)의 트랜지스터(Q251)가 턴온되면 릴레이(RY251)가 동작됨으로써 통화 회로부(26)내에서 릴레이(RY251)와 브리지 다이오드(B261)와의 연결통로가 릴레이(R261)와 브리지 다이오드(B262)와의 연결통로로 절환된다. 또한 송수신 절환부(25)의 트랜지스터(Q252)가 턴온되면 광결합 소자(P262)가 동작됨으로써 트랜지스터(Q261)가 턴온된다.When the transistor Q251 of the transmission / reception switching unit 25 is turned on, the relay RY251 is operated so that a connection path between the relay RY251 and the bridge diode B261 in the communication circuit unit 26 is connected to the relay R261 and the bridge diode ( B262) is connected to the connecting passage. In addition, when the transistor Q252 of the transmission / reception switching unit 25 is turned on, the optical coupling element P262 is operated to turn on the transistor Q261.
릴레이(R251)가 동작됨으로써 통화 회로부(26)내에서 릴레이(RY251)와 브리지 다이오드(B262)와의 연결통로가 형성되면, 브리지 다이오드(B261)에는 입력신호가 차단됨으로써 광결합 소자(P261)가 턴오프되고 따라서 전원전압(Vcc)에 의해 충전된 커패시터(C263)의 하이상태의 신호가 인터럽트 신호(/NT)로서 마이크로 컨트롤러(21)로 입력된다.When the relay R251 is operated to form a connection path between the relay RY251 and the bridge diode B262 in the call circuit unit 26, the input signal is blocked in the bridge diode B261, thereby turning on the optical coupling element P261. The high state signal of the capacitor C263 which is turned off and thus charged by the power supply voltage Vcc is input to the microcontroller 21 as the interrupt signal / NT.
이와 동시에 전화회선(30)을 통해 통화 회로부(26)로 입력된 관리자측 변복조 제어부(20B)의 정보신호는 라인필터 코일(F261)과 송수신 절환부(25)의 릴레이(RY251)와 통화 회로부(26)의 브리지 다이오드(B262)를 지나 트랜지스터(Q261)와 트랜스포머(T261)를 거쳐 수신신호 필터부(27)로 전송된다.At the same time, the information signal of the manager-side modulation / demodulation control unit 20B inputted to the call circuit unit 26 through the telephone line 30 is transmitted to the line filter coil F261, the relay RY251 of the transmission / reception switching unit 25 and the call circuit unit ( After the bridge diode B262 of the transistor 26, the transistor Q261 and the transformer T261 are transmitted to the reception signal filter 27.
수신신호 필터부(27)로 입력된 신호는 수신신호 필터부(27)에 의해 노이즈가 제거된 뒤에 수신신호 분석부(28)로 출력된다.The signal input to the reception signal filter unit 27 is output to the reception signal analysis unit 28 after the noise is removed by the reception signal filter unit 27.
수신신호 분석부(28)는 입력된 신호가 어떠한 명령인지를 분석한 뒤에 그 결과를 자판기측 변복조 제어부(20A)의 마이크로 컨트롤러(21)로 출력한다. 마이크로 컨트롤러(21)는 수신신호 분석부(28)로부터 입력된 명령신호에 따라 제어동작을 실행한다.The received signal analyzing unit 28 analyzes what command the input signal is, and then outputs the result to the microcontroller 21 of the vending machine side demodulation control unit 20A. The microcontroller 21 executes a control operation according to the command signal input from the received signal analyzer 28.
만약에 관리자측 변복조 제어부(20B)로부터 호출이 없으면, 자판기측 변복조 제어부(20A)의 마이크로컨트롤러(21)는 자판기 컨트롤러(10)로부터의 호출이 있는지를 검사한다.If there is no call from the manager side demodulation control section 20B, the microcontroller 21 of the vending machine side demodulation control section 20A checks whether there is a call from the vending machine controller 10.
관리자측 변복조 제어부(20B)로부터 호출이 있거나, 자판기 컨트롤러(10)로부터의 호출이있으면, 자판기측 변복조 제어부(20A)의 마이크로 컨트롤러(21)는 자판기 컨트롤러(10)를 호출함으로써 자판기 컨트롤러(10)로부터 현재의 자판기 동작상태 및 매상집계 금액 등에 관한 정보를 전송받는다.If there is a call from the manager side demodulation control unit 20B or a call from the vending machine controller 10, the microcontroller 21 of the vending machine side demodulation control unit 20A calls the vending machine controller 10 to call the vending machine controller 10. Information is received from the current vending machine operating state and the amount of sales aggregated from.
다음에 자판기측 변복조 제어부(20A)의 마이크로 컨트롤러(21)는 전화회선(30)을 통해서 관리자측을 다이얼링함으로써 상기한 정보를 관리자측 변복조 제어부(20B)로 전송한다. 자판기측 변복조 제어부(20A)에 의해 행해지는 정보의 전송과정은 다음과 같다.Next, the microcontroller 21 of the vending machine side demodulation control unit 20A transmits the above information to the manager side demodulation control unit 20B by dialing the manager side via the telephone line 30. The transmission process of the information performed by the vending machine side modulation / demodulation control unit 20A is as follows.
자판기측 변복조 제어부(20A)의 마이크로 컨트롤러(21)는 상기한 정보에 관한 데이터 신호를 송신신호 발생부(22)로 전송한다.The microcontroller 21 of the vending machine side modulation / demodulation control unit 20A transmits a data signal relating to the above information to the transmission signal generator 22.
송신신호 발생부(22)는 마이크로 컨트롤러(21)로부터 전송받은 디지틀 정보신호를 DTMF 신호로 변조한뒤에 이를 송신신호 필터부(23)로 출력한다. 따라서 상기한 송신신호 발생부(22)의 출력신호는 송신신호 필터부(23)를 거치면서 고주파 및 저주파 노이즈가 제거된 뒤에 증폭부(24)로 입력된다.The transmission signal generator 22 modulates the digital information signal received from the microcontroller 21 into a DTMF signal and outputs the same to the transmission signal filter 23. Therefore, the output signal of the transmission signal generator 22 is input to the amplifier 24 after the high frequency and low frequency noise is removed while passing through the transmission signal filter 23.
증폭부(24)로 입력된 DTMF 신호는 저항(R241)에 의해 입력레벨이 조정되어 연산 증폭기(OP241)를 거치면서 신호가 증폭된 뒤에 통화 회로부(26)로 출력된다.The DTMF signal input to the amplifier 24 is adjusted to an input level by the resistor R241, and is then output to the call circuit unit 26 after the signal is amplified while passing through the operational amplifier OP241.
이때 자판기측 변복조 제어부(20A)의 마이크로 컨트롤러(21)는 하이상태의 신호를 송수신 절환부(25)로 출력함으로써 송수신 절환부(25)의 트랜지스터(Q251, Q252)를 턴온시킨다. 송수신 절환부(25)의 트랜지스터(Q252)가 턴온되면 릴레이(RY251)가 동작됨으로써 통화 회로부(26)내에서 릴레이(RY251))와 브리지 다이오드(B261)와의 연결통로가 릴레이 (R261)와 브리지 다이오드(B262)와의 연결통로로 절환된다. 또한 송수신 절환부(25)의 트랜지스터(Q252)가 턴온되면 광결합 소자(P262)가 동작됨으로써 트랜지스터(Q261)가 턴온된다.At this time, the microcontroller 21 of the vending machine side modulation / demodulation control unit 20A outputs a high state signal to the transmission / reception switching unit 25 to turn on the transistors Q251 and Q252 of the transmission / reception switching unit 25. When the transistor Q252 of the transmission / reception switching unit 25 is turned on, the relay RY251 is operated so that the connection path between the relay RY251 and the bridge diode B261 in the communication circuit unit 26 is connected to the relay R261 and the bridge diode. It is switched to the connecting passage with (B262). In addition, when the transistor Q252 of the transmission / reception switching unit 25 is turned on, the optical coupling element P262 is operated to turn on the transistor Q261.
릴레이(RY251)가 동작됨으로써 통화 회로부(26)내에서 릴레이(R261)와 브리지 다이오드(B262)와의 연결통로가 형성되면, 브리지 다이오드(B261)에는 입력신호가 차단됨으로써 광결합 소자(P261)가 턴오프되고 따라서 전원전압(Vcc)에 의해 충전된 커패시터(C263)의 하이상태의 신호가 인터럽트 신호(/INT)로서 마이크로 컨트롤러(21)로 입력된다.When the relay RY251 is operated to form a connection path between the relay R261 and the bridge diode B262 in the call circuit unit 26, the input signal is blocked in the bridge diode B261, so that the optical coupling element P261 is turned on. The high state signal of the capacitor C263 that is turned off and thus charged by the power supply voltage Vcc is input to the microcontroller 21 as the interrupt signal / INT.
이와 동시에 송신신호 증폭부(24)로부터 출력되어 통화 회로부(26)의 트랜스포머(T261)로 입력된 DTMF 신호는 턴온된 트랜지스터(Q261)를 거쳐 브리지 다이오드(B261)와 릴레이(RY251)와 라인필터 코일(F261)을 지나 전화회선(30)을 통해 관리자측 변복조 제어부(20B)로 전송된다.At the same time, the DTMF signal output from the transmission signal amplifying unit 24 and input to the transformer T261 of the communication circuit unit 26 passes through the turned-on transistor Q261, the bridge diode B261, the relay RY251, and the line filter coil. It passes to F261 and is transmitted to the manager side demodulation control unit 20B via the telephone line 30.
송신이 끝나면 자판기측 변복조 제어부(20A)의 마이크로 컨트롤러(21)는 전송이 완료되었는지를 확인한 뒤에, 전송이 완료되었으면 로우상태의 신호를 송수신 절환부(25)로 출력함으로써 송수신 절환부(25)의 트랜지스터(Q251, Q252)가 턴오프되도록 한다. 송수신 절환부(25)의 트랜지스터(Q251, Q252)가 턴오프되면, 송수신 절환부(25)의 릴레이(RY251)가 원위치로 회복되며 또한 통화 회로부(26)의 광결합 소자(P262)의 동작이 차단된다.After the transmission is completed, the microcontroller 21 of the vending machine side demodulation control unit 20A checks whether the transmission is completed, and if the transmission is completed, outputs a low signal to the transmission / reception switching unit 25 so that the transmission and reception switching unit 25 The transistors Q251 and Q252 are turned off. When the transistors Q251 and Q252 of the transmission / reception switching unit 25 are turned off, the relay RY251 of the transmission / reception switching unit 25 is restored to its original position, and the operation of the optical coupling element P262 of the communication circuit unit 26 is stopped. Is blocked.
전화회선(30)을 통해 전송된 자판기측 변복조 제어부(20A)의 정보신호의 송수신에 관한 관리자측 변복조제어부(20B)의 동작은 자판기측 변복조 제어부(20A)의 데이터 송수신에 관한 동작과 동일하므로 이에 대한 설명은 중복을 피하기 위하여 생략한다. 다만, 자판기측 변복조 제어부(20A)의 동작은 송신에 관한 동작이 주류를 이루고 있으며 관리자측 변복조 제어부(20B)의 동작은 수신에 관한 동작이 주류를 이루고 있는 것이 차이점이라 하면 차이점이라 할 수가 있다.The operation of the manager side demodulation control unit 20B regarding the transmission and reception of the information signal of the vending machine side demodulation control unit 20A transmitted through the telephone line 30 is the same as the operation related to data transmission and reception of the vending machine side demodulation control unit 20A. The description is omitted to avoid duplication. However, the operation of the vending machine side modulation / demodulation control unit 20A is mainly performed in terms of transmission, and the operation of the manager side modulation / demodulation control unit 20B is different in that the operation related to reception is mainstream.
전화회선(30)을 통해 송수신되는 정보신호는 관리자측 변복조 제어부(20B)에 연결되어 있는 송수신신호 증폭부(40)를 통해 증폭되며, 송수신신호 증폭부(40)에 의해 증폭된 전기적 신호는 스피커(50)로 입력되어 가청신호로 변환됨으로써 데이터의 송수신 상황을 관리자가 청각적으로 점검할 수 있도록 한다.The information signal transmitted / received through the telephone line 30 is amplified by the transmit / receive signal amplifier 40 connected to the manager side demodulation control unit 20B, and the electrical signal amplified by the transmit / receive signal amplifier 40 is a speaker. It is inputted to 50 and converted into an audible signal, so that the administrator can visually check the transmission and reception of data.
관리자측 변복조 제어부(20B)의 마이크로 컨트롤러(21)로 전송된 정보신호는 다시 개인용 컴퓨터(70)로 전송되어 저장됨으로써, 관리자에 의해 관리되고 있는 여러개의 자판기의 현재 동작상태 및 매상집계 상태를 관리자가 쉽게 종합적으로 인지할 수 있고 또한 데이터를 편집 보관하여 자료화함으로써 자판기를 효율적으로 관리, 운영할 수가 있다.The information signal transmitted to the microcontroller 21 of the manager side modulation / demodulation control unit 20B is transmitted to the personal computer 70 again and stored, thereby managing the current operating state and the sales aggregation state of the various vending machines managed by the manager. Can be easily and comprehensively recognized, and the data can be edited, archived and documented to efficiently manage and operate the vending machine.
개인용 컴퓨터(70)는 어드레스버스(A2~A9)를 통해 330H~333H 번지를 지정함으로써 어드레스 디코더(80)로 하여금 데이터 입출력부(60)의 프로그래머블 주변장치 인터페이스(61)와 버스 트랜시버(62)를 동작 시키도록 한다.The personal computer 70 assigns the addresses 330H to 333H through the address buses A2 to A9 to cause the address decoder 80 to connect the programmable peripheral interface 61 and the bus transceiver 62 of the data input / output unit 60. Let it work.
다음에 개인용 컴퓨터(70)는 독출 신호(/RD)와 쓰기 신호(WR)를 이용하여 데이터 입출력부(60)의 버스 트랜시버(62)의 데이터 전송 방향을 결정하면서 데이터 버스(D0~D7)를 통하여 정보를 송수신한다.The personal computer 70 then uses the read signal / RD and the write signal WR to determine the data transfer direction of the bus transceiver 62 of the data input / output unit 60, and select the data buses D0 to D7. Send and receive information through
개인용 컴퓨터(70)는 데이터 입출력부(60)를 통해 전송받은 다수의 관리자측 데이타 복조부(20B)의 마이크로 컨트롤러(21)의 정보신호를 편집하여 자료화한 뒤에 이를 출력장치를 통하여 출력함으로써 관리자가 이를 쉽게 종합적으로 알아볼 수 있도록 한다.The personal computer 70 edits the information signals of the microcontroller 21 of the plurality of manager-side data demodulators 20B received through the data input / output unit 60, edits them, and outputs them through an output device. This makes it easy to comprehensively recognize this.
이상에서와 같이 이 발명의 실시예에서, 전화회선을 통하여 다수의 자동 판매기를 원격으로 제어할 수 있는 구체적인 변복조 제어회로를 이용하여 시스템을 구성함으로써 관리자가 자동 판매기의 이상발생, 현재의 매상집계, 원간 및 연간 매상 누적집계, 현재의 동작상태 등에 관한 정보를 손쉽게 관리할 수 있는 효과를 가진 자동 판매기의 온라인 관리 시스템 및 구동방법을 제공할 수가 있다. 이 발명의 이러한 효과는 자동 판매기 분야에서 이용될 수 있다.As described above, in the embodiment of the present invention, by configuring the system by using a specific modulation and demodulation control circuit that can remotely control a plurality of vending machines through a telephone line, the administrator has an abnormal occurrence of the vending machine, the current sales total, It is possible to provide an online management system and a driving method of a vending machine having an effect of easily managing information on the interval and annual sales accumulation, the current operation state, and the like. This effect of the invention can be used in the field of vending machines.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019920015756A KR960004804B1 (en) | 1992-08-31 | 1992-08-31 | On-line management system and driving method of a vending machine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019920015756A KR960004804B1 (en) | 1992-08-31 | 1992-08-31 | On-line management system and driving method of a vending machine |
Publications (2)
Publication Number | Publication Date |
---|---|
KR940004465A KR940004465A (en) | 1994-03-15 |
KR960004804B1 true KR960004804B1 (en) | 1996-04-13 |
Family
ID=19338780
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019920015756A KR960004804B1 (en) | 1992-08-31 | 1992-08-31 | On-line management system and driving method of a vending machine |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR960004804B1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100368816C (en) * | 2004-04-05 | 2008-02-13 | 中国计量学院 | Testing plan of product on-line noise and method of constructing equivalent testing relation by related international requirement |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100583743B1 (en) * | 2002-08-09 | 2006-05-25 | 주진관 | Advertising method using vending machine and internet |
-
1992
- 1992-08-31 KR KR1019920015756A patent/KR960004804B1/en not_active IP Right Cessation
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100368816C (en) * | 2004-04-05 | 2008-02-13 | 中国计量学院 | Testing plan of product on-line noise and method of constructing equivalent testing relation by related international requirement |
Also Published As
Publication number | Publication date |
---|---|
KR940004465A (en) | 1994-03-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA2104797C (en) | Monitoring apparatus and system | |
JP2788135B2 (en) | Automatic pulse reading and recording device | |
US6882712B1 (en) | Method and apparatus for setting programmable features of an appliance | |
JPH09252242A (en) | Detection switch and detection switch system | |
US5459507A (en) | Terminal device for a catv system having a read out function | |
CN101977128B (en) | Interface detection method and device for communication equipment | |
CN110493669B (en) | Network resource checking method, device, equipment and computer storage medium | |
KR960004804B1 (en) | On-line management system and driving method of a vending machine | |
EP0755037A1 (en) | Photoelectric smoke detector and disaster monitoring system using the photoelectric smoke detector | |
US6693529B2 (en) | Fire alarm system | |
CN108986099A (en) | Manual operator detection device | |
JPH03166674A (en) | Laser scanner safety device and method | |
US5630058A (en) | Network connected device protection | |
CN113049946B (en) | Board card test system | |
CN105547643A (en) | Optical-electric module detection method | |
US20100320940A1 (en) | Monitoring Device and Method of Monitoring Programmable Lamps | |
CN116471169A (en) | Abnormal equipment self-positioning method, bus interference equipment positioning method and system | |
CN114755223A (en) | Electronic equipment wiring monitoring method, device and system | |
CN115904398A (en) | Calibration data burning method, calibration data burning device, terminal and storage medium | |
JPH09326871A (en) | Transmission controller | |
CN110796793A (en) | Steam flow monitoring heat supply network system and steam flow monitoring method | |
US6735297B1 (en) | System for maintaining PBX license key information in the event of a hardware failure reducing MTTR | |
JPH1083217A (en) | Combustion equipment repair support system | |
JP2810514B2 (en) | Bar code reader and its inspection method | |
JPH11298620A (en) | Centralized monitor system and centralized monitor center for the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
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: 20000112 Year of fee payment: 5 |
|
LAPS | Lapse due to unpaid annual fee |