KR20020091945A - Apparatus and method for detecting insertion of smart media therein - Google Patents
Apparatus and method for detecting insertion of smart media therein Download PDFInfo
- Publication number
- KR20020091945A KR20020091945A KR1020010030765A KR20010030765A KR20020091945A KR 20020091945 A KR20020091945 A KR 20020091945A KR 1020010030765 A KR1020010030765 A KR 1020010030765A KR 20010030765 A KR20010030765 A KR 20010030765A KR 20020091945 A KR20020091945 A KR 20020091945A
- Authority
- KR
- South Korea
- Prior art keywords
- smart media
- terminal
- detection
- smart
- media
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/0013—Methods or arrangements for sensing record carriers, e.g. for reading patterns by galvanic contacts, e.g. card connectors for ISO-7816 compliant smart cards or memory cards, e.g. SD card readers
- G06K7/0056—Methods or arrangements for sensing record carriers, e.g. for reading patterns by galvanic contacts, e.g. card connectors for ISO-7816 compliant smart cards or memory cards, e.g. SD card readers housing of the card connector
- G06K7/0069—Methods or arrangements for sensing record carriers, e.g. for reading patterns by galvanic contacts, e.g. card connectors for ISO-7816 compliant smart cards or memory cards, e.g. SD card readers housing of the card connector including means for detecting correct insertion of the card, e.g. end detection switches notifying that the card has been inserted completely and correctly
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/0013—Methods or arrangements for sensing record carriers, e.g. for reading patterns by galvanic contacts, e.g. card connectors for ISO-7816 compliant smart cards or memory cards, e.g. SD card readers
- G06K7/0056—Methods or arrangements for sensing record carriers, e.g. for reading patterns by galvanic contacts, e.g. card connectors for ISO-7816 compliant smart cards or memory cards, e.g. SD card readers housing of the card connector
- G06K7/0065—Methods or arrangements for sensing record carriers, e.g. for reading patterns by galvanic contacts, e.g. card connectors for ISO-7816 compliant smart cards or memory cards, e.g. SD card readers housing of the card connector comprising keyboard or display, e.g. a pocket calculator sized casing suitable for off-line checking the remaining money on a smart banking card
Abstract
Description
본 발명은 스마트미디어의 삽입검출장치 및 그 방법에 관한 것으로, 더욱 상세하게는 스마트미디어의 삽입상태를 정확히 검출할 수 있는 삽입검출장치 및 그 방법에 관한 것이다.The present invention relates to an apparatus and method for detecting insertion of smart media, and more particularly, to an insertion detection apparatus and method for accurately detecting an insertion state of smart media.
스마트미디어(smart media)는 스마트미디어메모리카드(smart media memory card: SMC)라고도 하는 메모리카드의 일종으로서, 플래쉬메모리 타입의 저장장치이다. 스마트미디어가 삽입되며, 삽입된 스마트미디어에 대해 데이터의 독출 및 기록을 수행하는 스마트미디어 독출/기록장치로는 MP3 플레이어, 디지털카메라, 전자수첩, 핸드폰, PDA 등이 있다.Smart media is a type of memory card, also called a smart media memory card (SMC), and is a flash memory type storage device. Smart media is inserted, and smart media reading / recording devices that read and record data on the inserted smart media include MP3 players, digital cameras, electronic notebooks, mobile phones, PDAs, and the like.
스마트미디어 독출/기록장치의 한 예로, 종래 MP3 플레이어(40)에 삽입된 스마트미디어의 삽입검출장치 및 방법이 도 1을 참조하여 이하에 설명된다. 종래 스마트미디어의 삽입검출장치는 삽입검출부(26) 및 마이콤(30)으로 구성된다. 도면에서, 참조번호 10은 스마트미디어를 지시하고, 참조번호 20은 스마트미디어소켓을 지시한다. 스마트미디어(10)는 Vcc단자(12a), 접지단자(12b), 다수의 콘트롤/데이터 단자들(14)을 포함한다.As an example of the smart media reading / recording apparatus, an apparatus and method for detecting a smart media inserted into the conventional MP3 player 40 will be described below with reference to FIG. Conventional smart media insertion detection device is composed of an insertion detection unit 26 and the microcomputer (30). In the drawing, reference numeral 10 designates a smart media, and reference numeral 20 designates a smart media socket. The smart media 10 includes a Vcc terminal 12a, a ground terminal 12b, and a plurality of control / data terminals 14.
스마트미디어소켓(20)은 다수의 접촉핀들(22), 콘트롤/데이터버스 연결단자들(24) 및 삽입검출단자들(26)을 가진다. 접촉핀들(22)은 스마트미디어(10)의 각 단자들에 대응하도록, 스마트미디어(10)의 삽입방향(I)을 따라 2단으로 배열되어 있다. 접촉핀들(22)은 콘트롤/데이터버스연결단자들(24) 및 삽입검출단자들(26)과 내부적으로 연결되어 있다. 콘트롤/데이터버스연결단자들(24)은 MP3 플레이어(40)의 데이터/콘트롤버스(32, 34)에 연결되어 있다. 삽입검출단자들(26)은 삽입여부표시단자(a1)와 접지단자(a2)로 구성된다. 삽입여부표시단자(a1)는 풀업저항(R1)을통해 전원(Vcc)과 연결되어있다. 마이콤(30)의 검출단자(m1)는 풀업저항(R1)과 병렬로 삽입여부표시단자(a1)에 연결된다.The smart media socket 20 has a plurality of contact pins 22, control / databus connection terminals 24 and insertion detection terminals 26. The contact pins 22 are arranged in two stages along the insertion direction I of the smart media 10 so as to correspond to respective terminals of the smart media 10. The contact pins 22 are internally connected to the control / data bus connection terminals 24 and the insertion detection terminals 26. The control / data bus connection terminals 24 are connected to the data / control buses 32 and 34 of the MP3 player 40. The insertion detecting terminal 26 is composed of an insertion indication display terminal a1 and a ground terminal a2. The insertion indication terminal a1 is connected to the power supply Vcc through a pullup resistor R1. The detection terminal m1 of the microcomputer 30 is connected to the insertion state display terminal a1 in parallel with the pull-up resistor R1.
상기한 바와같은 종래 스마트미디어 삽입검출장치의 동작이 이하에 설명된다. 스마트미디어(10)가 스마트미디어소켓(20)에 삽입되지 않은 경우, 스마트미디어소켓(20)의 삽입여부표시단자(a1)의 논리레벨은 풀업저항(R1)에 의해 하이상태를 유지하고 있다. 따라서, 마이콤(30)의 검출단자(m1)에서는 하이 레벨이 검출된다. 이때 스마트미디어소켓(20)의 콘트롤/데이터버스연결단자들(24)은 오픈된 상태이다. 그러므로, MP3 플레이어(40)는 콘트롤/데이터버스(32, 34)를 통해, 내장된 플래쉬 메모리(flash memory)(35)에 대한 데이터 독출 및 기록 동작을 수행한다.The operation of the conventional smart media insertion detection device as described above is described below. When the smart media 10 is not inserted into the smart media socket 20, the logic level of the insertion or non-display terminal a1 of the smart media socket 20 is kept high by the pull-up resistor R1. Therefore, the high level is detected at the detection terminal m1 of the microcomputer 30. At this time, the control / data bus connection terminal 24 of the smart media socket 20 is open. Therefore, the MP3 player 40 performs data reading and writing operations to the built-in flash memory 35 through the control / data buses 32 and 34.
한편, 스마트미디어(10)가, 도 1에 도시된 삽입방향(I)으로 스마트미디어소켓(20)의 끝까지 삽입되는 경우, 삽입여부표시단자(a1)와 접지단자(a2)는 기구적으로 도통되고, 스마트미디어소켓(20)의 접촉핀들(22)이 스마트미디어(10)의 Vcc단자(12a), 접지단자(12b) 및 다수의 콘트롤/데이터 단자들(14)과 각각 연결된다. 이와 같이, 스마트미디어(10)가 스마트미디어소켓(20)에 완전히 삽입된 경우, 따라서, 마이콤(30)의 검출단자(m1)에서는 로우레벨이 검출된다. 검출단자(m1)에서 로우레벨이 검출되면, 마이콤(30)은 스마트미디어(10)가 스마트미디어소켓(20)에 삽입되었음을 인지한다. 그에 따라, 콘트롤/데이터버스(32, 34)를 통해, 스마트미디어(10)에 대해 데이터 독출/기록 동작을 수행할 수 있도록 제어한다. 즉, 스마트미디어(10)가 스마트미디어소켓(20)에 완전히 삽입된 것이 확인된 상태에서, 마이콤(30)은 외부명령에 의해 스마트미디어(10)에 대한 데이터 독출/기록 동작명령이 수신되면, 플래쉬메모리(35)를 디스인에이블시키고 콘트롤/데이터버스(32, 34)를 통해 스마트미디어(10)에 대한 데이터 독출/기록 동작을 수행할 수 있도록 준비한다.On the other hand, when the smart media 10 is inserted to the end of the smart media socket 20 in the insertion direction (I) shown in Figure 1, the insertion status display terminal (a1) and the ground terminal (a2) is electrically conductive. The contact pins 22 of the smart media socket 20 are connected to the Vcc terminal 12a, the ground terminal 12b, and the plurality of control / data terminals 14 of the smart media 10, respectively. As described above, when the smart media 10 is completely inserted into the smart media socket 20, the low level is detected at the detection terminal m1 of the microcomputer 30. When the low level is detected at the detection terminal m1, the microcomputer 30 recognizes that the smart media 10 is inserted into the smart media socket 20. Accordingly, the control / data buses 32 and 34 control data read / write operations to the smart media 10. That is, when it is confirmed that the smart media 10 is completely inserted into the smart media socket 20, the microcomputer 30 receives a data read / write operation command for the smart media 10 by an external command. The flash memory 35 is disabled and prepared to perform a data read / write operation on the smart media 10 through the control / data buses 32 and 34.
한편, 스마트미디어(10)가 스마트미디어소켓(20)으로부터 인출되는 경우, 삽입여부표시단자(a1)와 접지단자(a2)는 기구적으로 디스커넥트되고, 스마트미디어(10)의 Vcc단자(12a), 접지단자(12b), 및 다수의 콘트롤/데이터 단자들(14)과 스마트미디어소켓(20)의 접촉단자들(22)과의 연결이 끊어진다. 그에 따라, 마이콤(30)의 검출단자(m1)에서는 하이레벨이 검출된다. 즉, 마이콤(30)은 스마트미디어(10)가 스마트미디어소켓(20)으로부터 인출되었음을 인지한다.On the other hand, when the smart media 10 is withdrawn from the smart media socket 20, the insertion status display terminal (a1) and the ground terminal (a2) is mechanically disconnected, the Vcc terminal 12a of the smart media 10 ), The ground terminal 12b, and the plurality of control / data terminals 14 and the contact terminals 22 of the smart media socket 20 are disconnected. As a result, the high level is detected at the detection terminal m1 of the microcomputer 30. That is, the microcomputer 30 recognizes that the smart media 10 is withdrawn from the smart media socket 20.
그러나, 스마트미디어(10)의 Vcc단자(12a) 및 접지단자(12b)는 스마트미디어(10)의 삽입진행방향(I)과 직교하는 방향으로 넓게 배치된 연속면 형상이므로, 스마트미디어(10)가 완전히 삽입되지 않거나 완전히 인출되지 않는 경우, 스마트미디어소켓(20)의 접촉핀들(22)이 스마트미디어(10)의 Vcc단자(12a) 또는 접지단자(12b)에 의해 서로 쇼트되는 경우가 발생할 수 있다. 따라서, 콘트롤/데이터버스(32, 34)에는 하이 또는 로우 신호가 인가되게 된다. 이때, MP3 플레이어(40)가 스마트미디어(10)와 동일한 콘트롤/데이터 버스(32, 34)를 사용하는 디바이스, 예를들면 내장된 플래쉬 메모리(35)에 대해 데이터의 독출 및 기록 동작을 수행하는 경우, 오류가 발생할 수 있는 문제점이 있다. 즉, 콘트롤/데이터 버스(32, 34)에는 이미 하이 또는 로우 신호가 인가되어 있는 상태이므로, 내장된 플래쉬 메모리(35)에 대해 원하는 데이터를 독출/기록하지 못하게 될 수 있는 것이다.However, since the Vcc terminal 12a and the ground terminal 12b of the smart media 10 have a continuous surface shape disposed in a direction orthogonal to the insertion progress direction I of the smart media 10, the smart media 10 Is not fully inserted or not fully drawn out, the contact pins 22 of the smart media socket 20 may be shorted to each other by the Vcc terminal 12a or the ground terminal 12b of the smart media 10. have. Therefore, a high or low signal is applied to the control / data buses 32 and 34. At this time, the MP3 player 40 reads and writes data to a device using the same control / data buses 32 and 34 as the smart media 10, for example, the built-in flash memory 35. In this case, there is a problem that an error may occur. That is, since a high or low signal is already applied to the control / data buses 32 and 34, it may be impossible to read / write desired data to the built-in flash memory 35.
이러한 문제점을 해결하기 위하여, 종래에는 스마트미디어소켓(20)의 콘트롤버스연결단자들의 말단에 콘트롤버스용버퍼를 마련하고, 데이터버스연결단자들의 말단에 데이터버스용버퍼를 마련하여, 마이콤의 검출단자(m1)에서 검출된 신호에 따라 콘트롤버스용버퍼 및 데이터버스용버퍼 각각과 콘트롤버스 및 데이터버스 각각을 접속할지의 여부를 제어하도록 하였다.In order to solve this problem, conventionally, a control bus buffer is provided at the end of the control bus connection terminals of the smart media socket 20, and a data bus buffer is provided at the end of the data bus connection terminals, thereby detecting the detection terminal of the microcomputer. According to the signal detected at (m1), it is controlled whether or not each of the control bus buffer and the data bus buffer and each of the control bus and the data bus are connected.
그러나, 상기한 바와 같이 스마트미디어의 삽입여부에 따라 동작가능상태가 되는 두 개의 버퍼를 사용하는 경우, 두 개의 버퍼를 부가함으로써 공간점유 및 고비용의 문제가 있었다.However, when using two buffers to be operable according to whether the smart media is inserted as described above, there are problems of space occupancy and high cost by adding two buffers.
상기 문제점을 해결하기 위한 본 발명에 따르면, 스마트미디어의 삽입/불완전삽입/인출여부를 정확히 검출할 수 있는 스마트미디어 삽입검출장치 및 방법이 제공된다.According to the present invention for solving the above problems, there is provided a smart media insertion detection device and method that can accurately detect whether the insertion / incomplete insertion / withdrawal of the smart media.
또한, 스마트미디어와 동일한 콘트롤/데이터 버스를 사용하는 디바이스에 대한 데이터의 독출/기록 동작의 오류를 방지할 수 있는 스마트미디어 삽입검출장치 및 방법이 제공된다.In addition, there is provided a smart media insertion detection apparatus and method capable of preventing an error in data read / write operation for a device using the same control / data bus as the smart media.
또한, 저비용으로 스마트미디어와 동일한 콘트롤/데이터 버스를 사용하는 디바이스에 대한 데이터의 독출/기록 동작의 오류를 방지할 수 있는 스마트미디어 삽입검출장치 및 방법이 제공된다.In addition, there is provided a smart media insertion detection apparatus and method that can prevent an error in data read / write operation for a device using the same control / data bus as the smart media at low cost.
도 1은 종래 스마트미디어 삽입검출장치의 구성을 도시한 도면이고;1 is a view showing the configuration of a conventional smart media insertion detection device;
도 2는 본 발명에 따른 스마트미디어 삽입검출장치의 구성을 도시한 도면이고;2 is a view showing the configuration of a smart media insertion detection apparatus according to the present invention;
도 3은 도 2에 도시된 구성에 의해, 각 모드별로 마이콤의 검출단자들의 논리레벨을 나타내는 표이고; 및FIG. 3 is a table showing the logic level of the detection terminals of the microcomputer for each mode by the configuration shown in FIG. 2; FIG. And
도 4는 도 2에 도시된 구성에 적용되는 스마트미디어 삽입검출방법을 도시한 순서도이다.4 is a flowchart illustrating a smart media insertion detection method applied to the configuration shown in FIG. 2.
* 도면의 주요부분에 대한 부호의 설명 *Explanation of symbols on the main parts of the drawings
10 : 스마트미디어 30 : 제어부10: smart media 30: control unit
35 : 플래쉬메모리 50 : 표시부35 flash memory 50 display unit
60 : 스마트미디어소켓60: Smart Media Socket
상기 목적을 달성하기 위한 본 발명에 따르면, 스마트미디어가 삽입되며, 삽입된 상기 스마트미디어에 대해 데이터의 독출 및 기록을 수행하는 스마트미디어 독출/기록장치용 스마트미디어 삽입검출장치는 상기 스마트미디어가 소정의 완전삽입위치에 해당되는 제1위치 및 상기 제1위치와 다른 제2위치에 위치되어 있는지의 여부를 검출할 수 있는 복수의 삽입검출부; 및 상기 복수의 삽입검출부의 검출결과, 상기 제1위치에서 상기 스마트미디어가 검출되지 않고 상기 제2위치에서 상기 스마트미디어가 검출되는 경우에는 불완전삽입상태로 판단하는 마이콤;을 포함하는 것을 특징으로 한다.According to the present invention for achieving the above object, a smart media insertion detection device for a smart media read / write device for performing the reading and recording of the data to the inserted smart media, the smart media is predetermined A plurality of insertion detection units capable of detecting whether the first position corresponds to a complete insertion position of the second position and whether the position is at a second position different from the first position; And a microcomputer that determines that the smart media is incompletely inserted when the smart media is not detected at the first position and the smart media is not detected at the first position as a result of the detection of the plurality of insertion detectors. .
스마트미디어 독출/기록장치의 스마트미디어 삽입검출장치는 상기 스마트미디어의 불완전삽입 여부를 표시하는 표시부;를 더 구비하는 것을 특징으로 한다.The smart media insertion detecting apparatus of the smart media reading / recording device may further include a display unit which displays whether the smart media is incompletely inserted.
상기 본 발명에 따르면, 스마트미디어의 삽입/불완전삽입/인출여부를 정확히 검출할 수 있다. 또한, 스마트미디어와 동일한 콘트롤/데이터 버스를 사용하는 디바이스에 대한 데이터의 독출/기록 동작의 오류를 방지할 수 있다. 또한, 버퍼를 사용하지 않고 저항만을 사용하므로 비용이 저렴한 장점이 있다.According to the present invention, it is possible to accurately detect whether the insertion / incomplete insertion / withdrawal of the smart media. In addition, it is possible to prevent an error in data read / write operation for a device using the same control / data bus as the smart media. In addition, since only a resistor is used without using a buffer, there is an advantage of low cost.
한편, 상기 목적을 달성하기 위한 본 발명에 따르면, 스마트미디어가 삽입되며, 삽입된 상기 스마트미디어에 대해 데이터의 독출 및 기록을 수행하는 스마트미디어 독출/기록장치의 스마트미디어 삽입검출방법은, 상기 스마트미디어가, 소정의 완전삽입위치에 해당되는 제1위치에 존재하는지의 여부 및 상기 제1위치와 다른 제2위치에 존재하는지의 여부를 검출하는 단계; 및 상기 제1위치에서 상기 스마트미디어가 검출되지 않고 상기 제2위치에서 상기 스마트미디어가 검출되는 경우에는불완전삽입상태로 판단하는 단계;를 포함하는 것을 특징으로 한다.On the other hand, according to the present invention for achieving the above object, the smart media is inserted, and the smart media insertion detection method of the smart media reading / recording device for reading and recording data to the inserted smart media, the smart Detecting whether the media exists in a first position corresponding to a predetermined complete insertion position and whether the media is in a second position different from the first position; And when the smart media is not detected at the first position and the smart media is detected at the second position, determining the incomplete insertion state.
스마트미디어 독출/기록장치의 스마트미디어 삽입검출방법은 상기 스마트미디어의 상기 불완전삽입여부를 표시하는 단계;를 더 포함한다.The smart media insertion detection method of the smart media read / write device further includes indicating whether the smart media is incompletely inserted.
이하에 본 발명에 따른 스마트카드 삽입검출장치 및 방법이 도 2 내지 4를 참조하여 아래에 설명될 것이다. 도면에서 종래기술과 동일한 구성요소에 대하여는 동일한 참조번호를 사용하고 그 상세한 설명은 생략하기로 한다.The smart card insertion detection apparatus and method according to the present invention will be described below with reference to Figs. In the drawings, the same reference numerals are used for the same components as those in the prior art, and a detailed description thereof will be omitted.
도 2를 참조하면, 본 발명에 따른 스마트미디어 삽입검출장치는 삽입검출부, 마이콤(30) 및 표시부(50)를 포함한다. 삽입검출부는 스마트미디어(10)가 소정의 완전삽입위치에 해당하는 제1위치(P1), 및 제1위치(P1)와 다른 제2위치(P2)에 위치되어 있는지의 여부를 검출한다. 삽입검출부는 제1위치검출부(26) 및 제2위치검출부(28)를 포함한다. 제1위치검출부(26)는 제1위치검출단자(a1), 접지단자(a2) 및 제1접속부(b1)를 포함한다. 제1접속부(b1)는 스마트미디어(10)가 스마트미디어소켓(60)에 완전히 삽입되어 제1위치(P1)에 위치되는 경우 제1위치검출단자(a1)와 접지단자(a2)를 기구적으로 접속시킬 수 있으며, 스마트미디어(10)가 스마트미디어소켓(60)으로부터 인출되는 경우 제1위치검출단자(a1)와 접지단자(a2)를 기구적으로 단락시킬 수 있는 형상으로 제작된다. 제1접속부(b1)는 예를들면, 그 일측이 제1위치검출단자(a1)와 연결된 상태로 스마트미디어소켓(60)의 내측단부에 고정되어 있고, 타측은 스마트미디어(10)가 스마트미디어소켓(60)으로부터 인출되는 경우 복원력에 의해 제1위치검출단자(a1)와 접지단자(a2) 사이의 접속을 디스커넥트할 수 있는 판스프링(b1)일 수 있음은 물론이다. 제1위치검출단자(a1)는 풀업저항(R1)을통해 전원(Vcc)에 연결된다. 제1위치검출단자(a1)는 전원(Vcc)과 병렬로 마이콤(30)의 완전삽입검출단자(m2)에 연결된다. 제1위치검출단자(a1)는 스마트미디어(10)가 완전삽입위치에 해당되는 제1위치(P1)에 존재하는지의 여부를 검출한다.Referring to FIG. 2, the smart media insertion detection apparatus according to the present invention includes an insertion detection unit, a microcomputer 30, and a display unit 50. The insertion detecting unit detects whether the smart media 10 is located at a first position P1 corresponding to a predetermined complete insertion position and at a second position P2 different from the first position P1. The insertion detection unit includes a first position detection unit 26 and a second position detection unit 28. The first position detecting unit 26 includes a first position detecting terminal a1, a ground terminal a2, and a first connecting portion b1. The first connection part b1 mechanically connects the first position detecting terminal a1 and the ground terminal a2 when the smart media 10 is completely inserted into the smart media socket 60 and positioned at the first position P1. When the smart media 10 is withdrawn from the smart media socket 60, the first position detecting terminal a1 and the ground terminal a2 can be mechanically shorted. For example, the first connection part b1 is fixed to the inner end of the smart media socket 60 with one side connected to the first position detection terminal a1, and the other side is connected to the smart media 10 by the smart media. It may be a plate spring b1 that can disconnect the connection between the first position detecting terminal a1 and the ground terminal a2 by restoring force when drawn out from the socket 60. The first position detection terminal a1 is connected to the power supply Vcc through a pull-up resistor R1. The first position detection terminal a1 is connected to the fully inserted detection terminal m2 of the microcomputer 30 in parallel with the power supply Vcc. The first position detection terminal a1 detects whether the smart media 10 exists at the first position P1 corresponding to the fully inserted position.
제2위치검출부(28)는 스마트미디어(10)가 스마트미디어소켓(60)에 대하여 불완전하게 삽입 또는 인출되어 완전삽입위치인 제1위치(P1)와 인출위치인 제3위치(P3) 사이의 제2위치(P2)에 위치하는 경우를 검출한다. 제2위치검출부(28)는 스마트미디어소켓(60)의 삽입구(21)에 인접된 부위에 설치된다. 제2위치검출부(28)는 제2위치검출단자(a3), 접지단자(a4) 제2접속부(b2)를 포함한다. 제2접속부(b2)는, 스마트미디어(10)가 스마트미디어소켓(60)에 대하여 불완전삽입 또는 불완전인출되어 제1위치(P1)와 제3위치(P3) 사이에 위치되는 경우, 제2위치검출단자(a3)와 접지단자(a4)를 기구적으로 접속시킬 수 있도록 형성된다. 또한, 제2접속부(b2)는 스마트미디어(10)가 스마트미디어소켓(60)으로부터 인출되는 경우 제2위치검출단자(a3)와 접지단자(a4)를 기구적으로 단락시킬 수 있는 형상으로 제작된다. 제2접속부(b2)는 예를들면, 그 일측이 제2위치검출단자(a3)와 연결된 상태로 스마트미디어소켓(60)의 내측단부에 고정되어 있고, 타측은 스마트미디어(10)가 스마트미디어소켓(60) 외측으로 인출되는 경우 복원력에 의해 제2위치검출단자(a3)와 접지단자(a4) 사이의 접속을 디스커넥트할 수 있는 판스프링(b2)일 수 있음은 물론이다. 제2위치검출단자(a3)는 풀업저항(R2)을 통해 전원(Vcc)에 연결된다. 제2위치검출단자(a3)는 전원(Vcc)과 병렬로 마이콤(30)의 불완전삽입검출단자(m2)에 연결된다. 제2위치검출단자(a3)는 스마트미디어(10)가 불완전삽입위치에 해당되는 제2위치(P2)에 존재하는지의 여부를 검출한다.The second position detection unit 28 is a smart media 10 is incompletely inserted or withdrawn with respect to the smart media socket 60 between the first position (P1) of the complete insertion position and the third position (P3) of the extraction position. The case where it is located in 2nd position P2 is detected. The second position detection unit 28 is installed at a portion adjacent to the insertion opening 21 of the smart media socket 60. The second position detection unit 28 includes a second position detection terminal a3, a ground terminal a4, and a second connection unit b2. The second connection part b2 is the second position when the smart media 10 is incompletely inserted or incompletely drawn out with respect to the smart media socket 60 and positioned between the first position P1 and the third position P3. It is formed so that the detection terminal a3 and the ground terminal a4 can be mechanically connected. In addition, the second connection part b2 is manufactured in a shape capable of mechanically shorting the second position detecting terminal a3 and the ground terminal a4 when the smart media 10 is withdrawn from the smart media socket 60. do. For example, the second connection part b2 is fixed to the inner end of the smart media socket 60 with one side connected to the second position detecting terminal a3, and the other side is connected to the smart media 10 by the smart media. It may be a plate spring (b2) that can disconnect the connection between the second position detection terminal (a3) and the ground terminal (a4) by the restoring force when drawn out of the socket (60). The second position detection terminal a3 is connected to the power supply Vcc through a pull-up resistor R2. The second position detection terminal a3 is connected to the incomplete insertion detection terminal m2 of the microcomputer 30 in parallel with the power supply Vcc. The second position detection terminal a3 detects whether the smart media 10 exists at the second position P2 corresponding to the incomplete insertion position.
마이콤(30)은, 제1위치검출부(26) 및 제2위치검출부(28)의 검출결과, 제1위치(P1)에서 스마트미디어(10)가 검출되지 않고, 제2위치(P2)에서 스마트미디어(10)가 검출되는 경우에는 불완전삽입상태로 판단한다.As a result of the detection of the first position detection unit 26 and the second position detection unit 28, the microcomputer 30 does not detect the smart media 10 at the first position P1, but the smart at the second position P2. When the media 10 is detected, it is determined as an incomplete insertion state.
표시부(50)는 스마트미디어(10)의 불완전삽입여부를 표시한다. 표시부(50)는 경보음향을 출력할 수 있는 스피커, 경보메시지를 표시하기 위한 표시창 또는 경보신호를 디스플레이할 수 있는 모니터 등이 될 수 있을 것이다.The display unit 50 indicates whether the smart media 10 is incompletely inserted. The display unit 50 may be a speaker capable of outputting an alarm sound, a display window for displaying an alarm message, or a monitor capable of displaying an alarm signal.
도 2 및 3을 참조하여, 본 발명에 따른 스마트미디어 삽입검출장치의 동작이 이하에 설명된다.2 and 3, the operation of the smart media insertion detection apparatus according to the present invention will be described below.
먼저, 스마트미디어(10)가 스마트미디어소켓(60)에 삽입되지 않은 경우, 제2접속부(b2) 및 제1접속부(b1)는 도2에 실선으로 표시되어 있으며, 각각 제2위치검출단자(a3) 및 제1위치검출단자(a1)에만 연결되어 있는 상태이다. 그에 따라, 제1위치검출단자(a1)에 연결된 마이콤(30)의 완전삽입검출단자(m1) 및 제2위치검출단자(a3)에 연결된 마이콤(30)의 불완전삽입검출단자(m2)에는 각각 풀업저항들(R1, R2)을 거쳐 전원(Vcc)이 인가된다. 따라서, 완전삽입검출단자(m1) 및 불완전삽입검출단자(m2)의 논리레벨은 하이상태가 된다. 이때, 마이콤(30)은 콘트롤버스(32)와 데이터버스(34)를 통해 플래쉬메모리(35)에 대해 데이터 독출/기록을 수행하도록 스마트미디어소켓(60)의 입/출력을 제한한다.First, when the smart media 10 is not inserted into the smart media socket 60, the second connecting portion b2 and the first connecting portion b1 are shown in solid lines in FIG. 2, and the second position detecting terminal ( It is in the state connected only to a3) and the 1st position detection terminal a1. Accordingly, the fully inserted detection terminal m1 of the microcomputer 30 connected to the first position detection terminal a1 and the incomplete insertion detection terminal m2 of the microcomputer 30 connected to the second position detection terminal a3, respectively. The power supply Vcc is applied through the pullup resistors R1 and R2. Therefore, the logic levels of the full insertion detection terminal m1 and the incomplete insertion detection terminal m2 go high. At this time, the microcomputer 30 limits the input / output of the smart media socket 60 to perform data read / write on the flash memory 35 through the control bus 32 and the data bus 34.
한편, 스마트미디어(10)가 스마트미디어소켓(60)의 제 2위치(P2)까지 삽입되는 경우, 제2접속단자(b2)는, 도2의 점선으로 표시된바와 같이 제2위치검출단자(a3) 및 접지단자(a4)를 도통시킨다. 따라서, 도 3에 도시된 바와 같이, 마이콤(30)의 불완전삽입검출단자(m2)의 논리레벨은 로우가 되는 반면, 제1위치검출단자(a1) 및 접지단자(a2)는 아직 도통되지 않은 상태이므로, 마이콤(30)의 완전삽입검출단자(m1)의 논리레벨은 하이상태로 남아있다. 이 때, 마이콤(30)은 콘트롤버스(32)와 데이터버스(34)를 통해 어떤 데이터도 이동할수 없도록, 스마트미디어소켓(60) 및 플래쉬메모리(35)의 입/출력을 제한한다.On the other hand, when the smart media 10 is inserted to the second position P2 of the smart media socket 60, the second connection terminal b2 is the second position detection terminal a3 as indicated by the dotted line in FIG. ) And ground terminal (a4) are conducted. Therefore, as shown in FIG. 3, the logic level of the incomplete insertion detection terminal m2 of the microcomputer 30 goes low, while the first position detection terminal a1 and the ground terminal a2 have not yet been conducted. Since it is a state, the logic level of the fully inserted detection terminal m1 of the microcomputer 30 remains high. At this time, the microcomputer 30 restricts the input / output of the smart media socket 60 and the flash memory 35 so that no data can move through the control bus 32 and the data bus 34.
스마트미디어(10)가 스마트미디어소켓(60)의 제1위치(P1)까지 삽입되는 경우, 제1접속단자(b1)는, 도2에 점선으로 표시된 바와 같이 제1위치검출단자(a1) 및 접지단자(a2)를 도통시킨다. 따라서, 도 3에 도시된 바와 같이, 마이콤(30)의 완전삽입검출단자(m1)의 논리레벨은 로우가 된다. 또한, 제2위치검출단자(a3) 및 접지단자(a4)는 제2접속단자(b2)에 의해 이미 도통된 상태이므로, 마이콤(30)의 불완전삽입검출단자(m2)의 논리레벨은 로우상태로 남아있다. 이 때, 마이콤(30)은 외부명령에 따라 콘트롤버스(32)와 데이터버스(34)를 통해 스마트미디어(10)에 대하여 데이터를 독출/기록할 수 있록 플래쉬메모리(35)의 입/출력을 제한한다.When the smart media 10 is inserted to the first position P1 of the smart media socket 60, the first connection terminal b1 is connected to the first position detection terminal a1 and as indicated by the dotted line in FIG. The ground terminal a2 is conducted. Therefore, as shown in FIG. 3, the logic level of the fully inserted detection terminal m1 of the microcomputer 30 goes low. In addition, since the second position detecting terminal a3 and the grounding terminal a4 have already been conducted by the second connecting terminal b2, the logic level of the incomplete insertion detecting terminal m2 of the microcomputer 30 is low. Remains as. At this time, the microcomputer 30 inputs / outputs the flash memory 35 to read / write data to and from the smart media 10 through the control bus 32 and the data bus 34 according to an external command. Restrict.
한편, 스마트미디어소켓(60)으로부터 스마트미디어(10)를 인출하는 경우, 스마트미디어(10)는 먼저 제1위치(P1)로부터 제2위치(P2)까지 인출된다. 제1접속단자(b1)는 그 복원력에 의해 원위치로 돌아와 제1위치검출단자(a1) 및 접지단자(a2)를 단락시킨다. 그에 따라 마이콤(30)의 완전삽입검출단자(m1)의 논리레벨은 하이가 된다. 이때, 제2위치검출단자(a3) 및 접지단자(a4)는 제2접속부(b2)에 의해 여전히 도통된 상태이므로, 마이콤(30)의 불완전삽입검출단자(m2)의 논리레벨은 로우상태로 남아있다. 따라서, 마이콤(30)은 스마트미디어(10)가 스마트미디어소켓(60)으로부터 불완전인출된 상태임을 인지하고, 표시부(50)를 통해 스마트미디어(10)가 불완전인출상태임을 표시한다.On the other hand, when withdrawing the smart media 10 from the smart media socket 60, the smart media 10 is first drawn from the first position (P1) to the second position (P2). The first connecting terminal b1 returns to its original position by the restoring force and short-circuits the first position detecting terminal a1 and the ground terminal a2. As a result, the logic level of the fully inserted detection terminal m1 of the microcomputer 30 becomes high. At this time, since the second position detecting terminal a3 and the grounding terminal a4 are still conducting by the second connecting portion b2, the logic level of the incomplete insertion detecting terminal m2 of the microcomputer 30 is kept low. Remains. Accordingly, the microcomputer 30 recognizes that the smart media 10 is incompletely drawn out from the smart media socket 60 and displays the smart media 10 in an incompletely drawn out state through the display unit 50.
도 4를 참조하여, 본 발명에 따른 스마트미디어의 삽입검출방법을 이하에 설명한다. 스마트미디어의 삽입검출방법은 제1위치(P1) 및 제2위치(P2)에 스마트미디어(10)가 존재하는지의 여부를 검출하는 단계(S20), 및 제1위치(P1)에서 스마트미디어(10)가 검출되지 않고 제2위치(P2)에서 스마트미디어(10)가 검출되는 경우에는 불완전삽입상태로 판단하는 단계(S30)를 포함한다.With reference to Figure 4, the insertion detection method of the smart media according to the present invention will be described. The method for detecting the insertion of smart media includes detecting whether the smart media 10 exists at the first position P1 and the second position P2 (S20), and at the first position P1, the smart media ( If 10) is not detected and the smart media 10 is detected at the second position P2, the method may include determining an incomplete insertion state (S30).
검출단계(S20)는 불완전삽입여부검출단계(S22) 및 완전삽입여부검출단계(S24)를 포함한다. 단계 S22에서, 제2위치검출부(28)에 연결된 불완전삽입검출단자(m2)의 논리레벨이 로우인 경우, 단계 S24로 진행한다. 완전삽입여부검출단계(S24)에서, 제1위치검출부(26)에 연결된 완전삽입검출단자(m1)의 논리레벨이 로우인 경우, 스마트미디어(10)는 스마트미디어소켓(60)의 제1위치(P1)에 존재하게 된다. 따라서, 완전삽입모드가 되고, 이때 콘트롤/데이터 버스(32, 34)를 통해 스마트미디어(10)에 대해 데이터의 독출/기록을 수행한다(S40). 단계 S40이 완료되면, 완전삽입여부검출단계(S24)로 진행하여 스마트미디어(10)가 스마트미디어소켓(60)으로부터 인출되는지의 여부를 검출한다.The detection step S20 includes an incomplete insertion detection step S22 and a complete insertion detection step S24. In step S22, when the logic level of the incomplete insertion detection terminal m2 connected to the second position detection unit 28 is low, the flow advances to step S24. In the complete insertion detection step S24, when the logic level of the fully inserted detection terminal m1 connected to the first position detection unit 26 is low, the smart media 10 is located at the first position of the smart media socket 60. It exists at (P1). Therefore, the full insertion mode is entered, and at this time, data is read / recorded to the smart media 10 through the control / data buses 32 and 34 (S40). When step S40 is completed, the process proceeds to full insertion detection step S24 to detect whether the smart media 10 is withdrawn from the smart media socket 60.
한편, 완전삽입여부검출단계(S24)에서, 완전삽입검출단자(m1)의 논리레벨이 하이인 경우, 불완전삽입판단단계(S30)를 수행한다. 불완전삽입판단단계(S30)에서는 콘트롤/데이터 버스(32, 34)를 통해 어떠한 데이터의 입/출력도 발생하지 않도록 플래쉬메모리(35)의 입/출력단자 및 스마트미디어소켓(60)의 입/출력단자들을 제한한다. 다음으로, 표시부(50)를 통해 스마트미디어(10)가 스마트미디어소켓(60)으로 부터 불완전삽입/이탈되었음을 표시한(S50) 후, 불완전삽입여부검출단계(S22)로 진행한다.On the other hand, in the complete insertion detection step (S24), if the logic level of the full insertion detection terminal (m1) is high, the incomplete insertion determination step (S30) is performed. In the incomplete insertion determination step (S30), the input / output terminal of the flash memory 35 and the input / output of the smart media socket 60 so that no input / output of any data occurs through the control / data bus (32, 34) Limit the terminals. Next, after the smart media 10 indicates that the smart media 10 is incompletely inserted / detached from the smart media socket 60 through the display unit 50, the process proceeds to the incomplete insertion detection step S22.
불완전삽입여부검출단계(S22)에서, 불완전삽입검출단자(m2)의 논리레벨이 하이인 경우, 마이콤(30)은 스마트미디어(10)가 스마트미디어소켓(60)으로부터 완전히 인출된 것으로 판단하고 종료한다.In the incomplete insertion detection step (S22), when the logic level of the incomplete insertion detection terminal (m2) is high, the microcomputer 30 determines that the smart media 10 is completely withdrawn from the smart media socket 60, and ends. do.
상기한 본 발명에 따르면, 스마트미디어의 삽입/불완전삽입/인출여부를 정확히 검출할 수 있는 효과가 있다. 또한, 스마트미디어와 동일한 콘트롤/데이터 버스를 사용하는 디바이스에 대한 데이터의 독출/기록 동작의 오류를 방지할 수 있는 효과가 있다. 추가로, 버퍼를 사용하지 않고 저항만을 사용하기때문에 저비용으로 스마트미디어와 동일한 콘트롤/데이터 버스를 사용하는 디바이스에 대한 데이터의 독출/기록 동작의 오류를 방지하는 효과가 있다.According to the present invention described above, there is an effect that can accurately detect whether the insertion / incomplete insertion / withdrawal of the smart media. In addition, there is an effect that it is possible to prevent the error of the read / write operation of data for the device using the same control / data bus as the smart media. In addition, since only resistors are used without using buffers, there is an effect of preventing errors in data read / write operations for devices using the same control / data bus as smart media at low cost.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR10-2001-0030765A KR100444890B1 (en) | 2001-06-01 | 2001-06-01 | Apparatus and method for detecting insertion of smart media therein |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR10-2001-0030765A KR100444890B1 (en) | 2001-06-01 | 2001-06-01 | Apparatus and method for detecting insertion of smart media therein |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20020091945A true KR20020091945A (en) | 2002-12-11 |
KR100444890B1 KR100444890B1 (en) | 2004-08-18 |
Family
ID=27707517
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR10-2001-0030765A KR100444890B1 (en) | 2001-06-01 | 2001-06-01 | Apparatus and method for detecting insertion of smart media therein |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100444890B1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101245291B1 (en) * | 2012-03-14 | 2013-03-19 | 주식회사 포티스 | Apparatus for controlling power and sensing over current running to smartcard |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS61251978A (en) * | 1985-05-01 | 1986-11-08 | Omron Tateisi Electronics Co | Card reader |
JPH09319838A (en) * | 1995-12-29 | 1997-12-12 | Daewoo Electron Co Ltd | Smart card system |
KR19990049275A (en) * | 1997-12-12 | 1999-07-05 | 전주범 | Smart card loading device of internet set-top box |
KR19990056797A (en) * | 1997-12-29 | 1999-07-15 | 전주범 | Smart card interface method |
KR20000009441A (en) * | 1998-07-24 | 2000-02-15 | 구자홍 | Apparatus for preventing wrong operation caused by removal of external memory card |
JP3905992B2 (en) * | 1999-03-23 | 2007-04-18 | 株式会社東芝 | Digital data recording device |
-
2001
- 2001-06-01 KR KR10-2001-0030765A patent/KR100444890B1/en not_active IP Right Cessation
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101245291B1 (en) * | 2012-03-14 | 2013-03-19 | 주식회사 포티스 | Apparatus for controlling power and sensing over current running to smartcard |
Also Published As
Publication number | Publication date |
---|---|
KR100444890B1 (en) | 2004-08-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7543757B2 (en) | Semiconductor device | |
US5561628A (en) | IC card and a method for parallel processing flash memories | |
KR20130043662A (en) | Detection of cable connections for electronic devices | |
US6487610B2 (en) | Direct processor access via an external multi-purpose interface | |
US6264483B1 (en) | Methods and apparatus for preventing damage to memory cards, memory card connectors and other electronic devices | |
US9570446B1 (en) | Semiconductor device | |
CN109298266B (en) | Test system, test method, test apparatus, and storage medium | |
US20130111268A1 (en) | Testing device capable of simulating plugging and unplugging operations and method thereof | |
KR100897601B1 (en) | Memory module for preventing system failure and System including the same | |
CN109147861B (en) | Hard disk in-place detection device and method | |
KR100444890B1 (en) | Apparatus and method for detecting insertion of smart media therein | |
CN100585611C (en) | Unit card reader control chip and its method for checking interference | |
US7375541B1 (en) | Testing method utilizing at least one signal between integrated circuits, and integrated circuit and testing system thereof | |
CN110471875B (en) | Electronic device capable of distinguishing type of connecting device | |
US5943277A (en) | Apparatus and method for recognizing the state of connection of terminals | |
CN101118512A (en) | Quickflashing storing card test apparatus with multiple interface | |
CN112596983A (en) | Monitoring method for connector in server | |
WO2023221390A1 (en) | Anti-fuse circuit and method for real-time verification of burning state of anti-fuse unit | |
US8047437B2 (en) | Card access apparatus and electronic apparatus implementing the same | |
KR101456788B1 (en) | Device for detecting cassette and medium processing device thereof | |
US20060073729A1 (en) | Optical storage apparatuses | |
US8230275B2 (en) | Use of parity bits to detect memory installation defects | |
CN110221844A (en) | Display device | |
KR100198754B1 (en) | Electronic card insertion detecting method and apparatus | |
JP4111294B2 (en) | IC card reader system and firmware operation method in keyboard controller of IC card reader system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
N231 | Notification of change of applicant | ||
E902 | Notification of reason for refusal | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20080604 Year of fee payment: 5 |
|
LAPS | Lapse due to unpaid annual fee |