KR20140092547A - USB OTG auto change device - Google Patents
USB OTG auto change device Download PDFInfo
- Publication number
- KR20140092547A KR20140092547A KR1020130004686A KR20130004686A KR20140092547A KR 20140092547 A KR20140092547 A KR 20140092547A KR 1020130004686 A KR1020130004686 A KR 1020130004686A KR 20130004686 A KR20130004686 A KR 20130004686A KR 20140092547 A KR20140092547 A KR 20140092547A
- Authority
- KR
- South Korea
- Prior art keywords
- voltage difference
- host
- usb
- type
- peripheral device
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/382—Information transfer, e.g. on bus using universal interface adapter
- G06F13/387—Information transfer, e.g. on bus using universal interface adapter for adaptation of different data processing systems to different peripheral devices, e.g. protocol converters for incompatible systems, open system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4004—Coupling between buses
- G06F13/4022—Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0042—Universal serial bus [USB]
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Computer Hardware Design (AREA)
- Information Transfer Systems (AREA)
Abstract
Description
본 발명은, 예를 들어, 외부 접속 기기의 유형에 따라 호스트(Host) 또는 주변 기기(Device)로의 역할 변경을 자동으로 수행하기 위한 유에스비 오티지(USB OTG) 자동 변경 장치에 관한 것이다.
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a USB OTG automatic change device for automatically performing a role change to a host or a peripheral device according to the type of an external connection device, for example.
일반적으로 널리 사용되는 유에스비 오티지(USB OTG : Universal Serial Bus On-The-Go)는, 주 컴퓨터의 개입 없이 개인 휴대 정보 단말기(PDA), MP3 플레이어, 스마트 폰 등과 같은 휴대용 기기들 간에서도 동작될 수 있도록 확장된 유에스비(USB) 규격이다. Universal Serial Bus On-The-Go (USB OTG), which is commonly used, operates between handheld devices such as personal digital assistants (PDAs), MP3 players, smart phones, USB (USB) standard that is extended to allow for
그리고, 주변 기기들 간의 점 대 점 통신이 가능하도록 각 기기가 제한적인 범위 내에서 호스트 기능을 수행할 수 있게 하는 HNP(Host Negotiation Protocol)와, 기기들의 배터리 전력 소모를 줄이기 위해 상대방 기기의 요청이 있을 경우에만 연결을 유지하는 SRP(Session Request Protocol) 등의 2 가지 프로토콜이 기존의 USB 2.0 규격에 추가되었다. HNP (Host Negotiation Protocol), which enables each device to perform a host function within a limited range so as to allow point-to-point communication between peripheral devices, and a host negotiation protocol Two protocols have been added to the existing USB 2.0 specification: Session Request Protocol (SRP), which maintains connections only when there is one.
또한, 전송 속도는 LS(Low Speed) 모드의 1.5 Mbps와, FS(Full Speed) 모드의 12Mbps로만 사용되고, HS(High Speed) 모드의 480Mbps에는 사용되지 않으며, 케이블과 커넥터는, 호스트(Host) 또는 주변 기기(Device)를 선택하기 위한 ID 핀이 추가되어 5핀이 사용된다. In addition, the transmission speed is used only at 1.5 Mbps in LS (Low Speed) mode and 12 Mbps in FS (Full Speed) mode and not at 480 Mbps in HS (High Speed) An ID pin for selecting a peripheral device is added and 5 pins are used.
한편, 상기와 같은 유에스비 오티지(USB OTG)는, 호스트(Host)와 주변 기기(Device)의 역할을 선택적으로 변경하게 되는 데, 예를 들어, 도 1에 도시한 바와 같이, OTG 전용 방식이 적용되는 유에스비 오티지 자동 변경 장치(100)에는, 전용 USB OTG IC(10)가 사용된다. The USB OTG selectively changes the role of a host and a peripheral device. For example, as shown in FIG. 1, an OTG exclusive mode A dedicated USB OTG IC 10 is used for the USB interface automatic changing
그리고, 규격으로 정해진 A 타입(A Type) 커넥터(11)를 통해 접속된 외부 접속 기기의 ID 신호를 수신하게 되는 데, 이때, 상기 외부 접속 기기는, 전용 OTG 케이블 커넥터(12)를 통해, 상기 A 타입 커넥터(11)와 접속된다. Then, the external connection device receives the ID signal of the external connection device connected through the A type connector (11) defined by the standard. At this time, the external connection device transmits the ID signal through the dedicated OTG cable connector And is connected to the
한편, 상기 전용 USB OTG IC(10)에서는, 상기 ID 신호에 따라 호스트 또는 주변 기기로의 역할 변경을 수행하게 되는 데, 예를 들어, 상기 ID 신호를 수신한 결과, 상기 외부 접속 기기가, 유에스비 메모리(13) 등과 같은 주변 기기(Device)인 경우, 호스트(Host)로의 역할을 수행하게 된다. Meanwhile, in the dedicated USB OTG IC 10, the role is changed to a host or a peripheral device according to the ID signal. For example, as a result of receiving the ID signal, In the case of a peripheral device such as the
반면, 상기 ID 신호를 수신한 결과, 상기 외부 접속 기기가, 개인용 컴퓨터(14) 또는 스마트 폰(15) 등과 같은 호스트(Host)이면, 주변 기기(Device)로의 역할을 수행하게 된다. On the other hand, as a result of receiving the ID signal, if the external access device is a host such as the
한편, 도 2에 도시한 바와 같이, 모드 스위치 방식이 적용되는 유에스비 오티지 변경 장치(200)에는, 예를 들어, USB IC(20), 모드 스위치(21), A 타입 커넥터(11), 그리고 규격으로 정해진 미니 B(Mini B) 커넥터(22)가 사용된다. 2, for example, the
그리고, 상기 미니 B 커넥터(22)에서는, 도 2에 도시한 바와 같이, 개인용 컴퓨터(14) 등과 같은 호스트(Host)가 접속되면, VBUS 변경 신호로서 ‘1’의 값을 출력하는 반면, 도 3에 도시한 바와 같이, 개인용 컴퓨터(14) 등과 같은 호스트가 접속되지 않으면, VBUS 변경 신호로서 ‘0’의 값을 출력하게 된다.2, the Mini
이에 따라, 사용자가, 상기 미니 B 커넥터(22)에 개인용 컴퓨터(14)를 접속시킨 상태에서, 상기 모드 스위치(21)를 주변 기기(Device) 단자로 전환시키면, 상기 USB IC(20)에서는, 상기 VBUS 변경 신호 1에 의해 주변 기기로의 역할을 수행하게 된다. Accordingly, when the user switches the
반면, 사용자가, 상기 미니 B 커넥터(22)에 개인용 컴퓨터(14)를 접속시키지 않은 상태에서, 상기 모드 스위치(21)를 호스트(Host) 단자로 전환시키면, 상기 USB IC(20)에서는, 상기 VBUS 변경 신호 0에 의해 호스트로의 역할을 수행하게 되는 데, 상기 A 타입 커넥터(11)에는, 도 2 및 도 3에 도시한 바와 같이, USB 메모리(13)가 접속되지 않거나 또는 항상 접속되어 있을 수 있다. On the other hand, when the user switches the
그러나, 상기와 같이 모드 스위치 방식을 적용하는 경우, 사용자의 정확한 수동 선택이 반드시 필요하기 때문에, 사용상 불편한 문제점이 있으며, 또한, 상기와 같이 OTG 전용 방식을 적용하는 경우, 고가격의 전용 USB OTG IC와 전용 OTG 케이블 커넥터 등을 반드시 사용해야만 하는 문제점이 있다.
However, in the case of applying the mode switch method as described above, there is a problem in that it is inconvenient to use because a precise manual selection of the user is necessarily required. In addition, in the case of applying the OTG dedicated method as described above, There is a problem that a dedicated OTG cable connector must be used.
본 발명은, 예를 들어, 전용 USB OTG IC와 전용 OTG 케이블 커넥터 등을 사용하지 않으면서도, 사용자의 수동 선택 없이, 외부 접속 기기의 유형에 따라 호스트(Host) 또는 주변 기기(Device)로의 역할 변경이 자동으로 수행될 수 있도록 하기 위한 유에스비 오티지(USB OTG) 자동 변경 장치를 제공하기 위한 것이다.
The present invention can be applied to a case where a role is changed to a host or a peripheral device according to the type of an external connecting device without manually selecting a user without using a dedicated USB OTG IC and a dedicated OTG cable connector (USB OTG) automatic changing device for enabling the automatic execution of the USB OTG.
본 발명에 따른 유에스비 오티지 자동 변경 장치는, 외부 접속 기기와 노멀 케이블을 통해 접속하는 A 타입 커넥터; 상기 외부 접속 기기의 유형에 상응하는 전압 차를 검출하는 검출기; 상기 검출된 전압 차를 기준 전압 차와 비교하여 결과 값을 카운트하는 카운터; 및 상기 결과 값에 따라, 호스트 또는 주변 기기로의 역할 변경을 자동으로 수행하는 제어기를 포함하여 구성되는 것을 특징으로 하며,An apparatus for automatically changing a USB interface according to the present invention includes: an A-type connector connected to an external device via a normal cable; A detector for detecting a voltage difference corresponding to the type of the external connection device; A counter comparing the detected voltage difference with a reference voltage difference to count a result value; And a controller for automatically performing a role change to a host or a peripheral device according to the resultant value,
또한, 상기 A 타입 커넥터에는, 상기 노멀 케이블을 통해 호스트 또는 주변 기기 중 어느 하나가 접속되는 것을 특징으로 하며,The A-type connector is characterized in that either a host or a peripheral device is connected through the normal cable,
또한, 상기 호스트는, 개인용 컴퓨터와 스마트 폰 중 어느 하나 이상이고, 상기 주변 기기는, 유에스비 메모리인 것을 특징으로 하며,Further, the host may be any one or more of a personal computer and a smart phone, and the peripheral device may be a USB memory,
또한, 상기 검출기는, 상기 외부 접속 기기의 유형이 호스트이면, 영 또는 저 전압 차를 검출하고, 상기 외부 접속 기기의 유형이 주변 기기이면, 고 전압 차를 검출하는 것을 특징으로 하며,The detector detects a zero or low voltage difference when the type of the external connecting device is a host and detects a high voltage difference when the type of the external connecting device is a peripheral device,
또한, 상기 카운터는, 상기 검출된 전압 차가 기준 전압 차 보다 높으면, 카운트 값을 증가시키고, 상기 검출된 전압 차가 기준 전압 차 보다 낮으면, 카운트 값을 감소시키는 것을 특징으로 하며,Further, the counter is characterized by increasing the count value if the detected voltage difference is higher than the reference voltage difference, and decreasing the count value when the detected voltage difference is lower than the reference voltage difference,
또한, 상기 제어기는, 상기 카운트 값이, 기준 카운트 값 이상이면, 상기 외부 접속 기기의 유형이 주변 기기라고 판단하여, 호스트로의 역할 변경을 수행하고, 상기 카운트 값이, 기준 카운트 값 미만이면, 상기 외부 접속 기기의 유형이 호스트라고 판단하여, 주변 기기로의 역할 변경을 수행하는 것을 특징으로 하며,If the count value is less than the reference count value, the controller determines that the type of the external access device is a peripheral device and performs a role change to the host. If the count value is less than the reference count value, Characterized in that it is determined that the type of the external connection device is a host and that the role is changed to a peripheral device,
또한, 상기 검출기와 카운터, 그리고 제어기는, 하나의 USB IC 내에 집적화되어 있는 것을 특징으로 한다.
In addition, the detector, the counter, and the controller are integrated in one USB IC.
본 발명에 따른 유에스비 오티지(USB OTG) 자동 변경 장치는, 예를 들어, 외부 접속 기기의 유형에 상응하는 전압 차를 검출하는 검출기와, 상기 검출된 전압 차를 기준 전압 차와 비교하여 결과 값을 카운트하는 카운터, 그리고 상기 결과 값에 따라, 호스트 또는 주변 기기로의 역할 변경을 자동으로 수행하는 제어기 등을, 하나의 USB IC 내에 집적화함으로써, 고가격의 전용 USB OTG IC와 전용 OTG 케이블 커넥터 등을 사용하지 않아도 되며, 또한, 사용자의 수동 선택이 요구되지 않으므로, 사용상의 편리함은 물론, 제조 원가를 효율적으로 절감할 수 있게 된다.
A USB OTG automatic change device according to the present invention includes, for example, a detector for detecting a voltage difference corresponding to a type of an external connection device, and a controller for comparing the detected voltage difference with a reference voltage difference, And a controller for automatically performing a role change to a host or a peripheral device according to the result value are integrated in one USB IC so that an exclusive USB OTG IC and a dedicated OTG cable connector are provided Moreover, since the manual selection of the user is not required, it is possible to efficiently reduce the manufacturing cost as well as the convenience of use.
도 1은 일반적인 OTG 전용 방식이 적용된 유에스비 오티지(USB OTG) 자동 변경 장치에 대한 실시예를 도시한 것이고,
도 2 및 도 3은 일반적인 모드 스위치 방식이 적용된 유에스비 오티지(USB OTG) 변경 장치에 대한 실시예를 도시한 것이고,
도 4는 본 발명에 따른 유에스비 오티지 자동 변경 장치에 대한 실시예를 도시한 것이고,
도 5는 본 발명에 따른 유에스비 오티지 자동 변경 장치에 대한 구체적인 실시예를 도시한 것이다. 1 shows an embodiment of a USB OTG automatic changing device to which a general OTG exclusive method is applied,
2 and 3 illustrate an embodiment of a USB OTG changing apparatus to which a general mode switching method is applied,
FIG. 4 is a block diagram showing an embodiment of an automatic shutoff device according to the present invention,
FIG. 5 shows a specific embodiment of an automatic USBVision apparatus according to the present invention.
이하, 본 발명에 따른 유에스비 오티지 자동 변경 장치에 대한 바람직한 실시예에 대해, 첨부된 도면을 참조하여 상세히 설명한다. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a preferred embodiment of an automatic shutoff device according to the present invention will be described in detail with reference to the accompanying drawings.
우선, 본 발명에 따른 유에스비 오티지 자동 변경 장치는, 예를 들어, 유에스비 메모리(USB Memory) 등과 같은 주변 기기(Device)가 접속되면, 호스트(Host)로의 역할을 수행하고, 개인용 컴퓨터(PC) 또는 스마트 폰(Smart Phone) 등과 같은 호스트(Host)가 접속되면, 주변 기기(Device)로의 역할을 수행하는 다양한 유형의 전자 기기에 적용될 수 있다. First, when a peripheral device such as a USB memory is connected, the USB device automatically changes the USB interface according to the present invention to serve as a host, Or a smart phone may be connected to a host such as a smart phone or the like, the present invention can be applied to various types of electronic devices that serve as peripheral devices.
도 4는, 본 발명에 따른 유에스비 오티지(USB OTG) 자동 변경 장치에 대한 실시예를 도시한 것으로, 예를 들어, 호스트 또는 주변 기기가 선택적으로 접속될 수 있는 나스(NAS: Network Attached Server) 시스템 등과 같은 다양한 유형의 전자 기기에는, 도 4에 도시한 바와 같이, 유에스비(USB) 규격에서 정해진 A 타입 커넥터(11)와, USB IC(30)가 포함된 유에스비 오티지(USB OTG) 자동 변경 장치(300)가 적용될 수 있다.FIG. 4 illustrates an embodiment of a USB OTG automatic changing device according to the present invention. For example, a network attached server (NAS), to which a host or peripheral device can be selectively connected, System includes an
한편, 상기 유에스비 오티지 자동 변경 장치(300)의 A 타입 커넥터(11)에는, OTG 전용 케이블이 아닌 보편화된 노멀 케이블(Normal Cable)(31)을 통해 다양한 유형의 외부 접속 기기가 연결 접속된다.On the other hand, various types of external connection devices are connected and connected to the
예를 들어, 상기 노멀 케이블(31)을 통해 개인용 컴퓨터(14) 또는 스마트 폰(15) 등과 같은 호스트가 연결 접속되거나, 또는 유에스비 메모리(13) 등과 같은 주변 기기가 연결 접속될 수 있다. For example, a host such as a
그리고, 상기 USB IC(30)는, 전용 USB OTG IC가 아닌 보편화된 USB IC가 사용되며, 상기 USB IC(30) 내에는, 도 4에 도시한 바와 같이, 검출기(30a)와, 카운터(30b), 그리고 제어기(30c) 등이 집적화될 수 있다. 4, a
한편, 상기 검출기(30a)는, 상기 A 타입 커넥터(11)을 통해 접속된 외부 접속 기기의 유형에 따라, 그에 상응하는 전압 차를 검출하기 위한 것으로, 상기 외부 접속 기기의 유형이 호스트(Host)이면, 영(Zero) 또는 저(Low) 전압 차를 검출하고, 상기 외부 접속 기기의 유형이 주변 기기(Device)이면, 고(High) 전압 차를 검출하게 된다.Meanwhile, the
또한, 상기 카운터(30b)는, 상기 검출기(30a)에 의해 검출된 전압 차를 기준 전압 차와 비교하여 결과 값을 카운트하기 위한 것으로, 상기 검출기에서 검출된 전압 차가 기준 전압 차 보다 높으면, 카운트 값을 증가시키고, 상기 검출된 전압 차가 기준 전압 차 보다 낮으면, 카운트 값을 감소시키게 된다.The
그리고, 상기 제어기(30c)는, 상기 카운터의 결과 값에 따라, 호스트 또는 주변 기기로의 역할 변경을 자동으로 수행하기 위한 것으로, 상기 카운터에서 카운트된 값이, 기준 카운트 값 이상이면, 상기 외부 접속 기기의 유형이 주변 기기라고 판단하여, 호스트로의 역할 변경을 수행하게 된다.If the value counted by the counter is equal to or greater than the reference count value, the controller (30c) is configured to automatically perform the role change to the host or the peripheral device according to the result value of the counter. It is determined that the type of the device is a peripheral device, and the role change to the host is performed.
반면, 상기 카운터에서 카운트된 값이, 기준 카운트 값 미만이면, 상기 외부 접속 기기의 유형이 호스트라고 판단하여, 주변 기기로의 역할 변경을 수행하게 되는 데, 이에 대해 상세히 설명하면 다음과 같다.
On the other hand, if the value counted by the counter is less than the reference count value, it is determined that the type of the external access device is the host and the role change to the peripheral device is performed.
도 5는, 본 발명에 따른 유에스비 오티지 자동 변경 장치에 대한 구체적인 실시예를 도시한 것으로, 예를 들어, 도 5에 도시한 바와 같이, 상기 검출기(30a)는, 콘덴서(C)와 저항(R), 그리고 앰프(AMP) 등으로 간소하게 구성될 수 있다.5, the
그리고, 상기 저항(R)과 콘덴서(C)의 좌측에는, 5V의 SUBV가 항상 입력되고, 상기 저항(R)의 우측에는, 상기 A 타입 커넥터(11)를 통해 연결 접속된 외부 접속 기기의 전압이 입력되는 데, 예를 들어, 상기 외부 접속 기기가, 유에스비 메모리(13) 등과 같은 주변 기기이면, 상기 저항(R)의 우측에는 0V가 입력된다. The SUBV of 5 V is always input to the left side of the resistor R and the capacitor C and the voltage of the external connection device connected and connected through the
반면, 상기 외부 접속 기기가, 개인용 컴퓨터(14) 또는 스마트 폰(15) 등과 같은 호스트이면, 상기 저항(R)의 우측에는 5V가 입력되므로, 도 5에 도시한 바와 같이, 상기 저항(R)의 양쪽 단자에는, 5V 또는 0V 중 어느 하나의 전압 차가 발생하게 되며, 상기 5V 또는 0V의 전압 차는, 상기 앰프(AMP)를 거쳐, 상기 카운터(30b)로 출력된다.5, if the external connection device is a host such as the
한편, 상기 카운터(30b)는, 예를 들어, 도 5에 도시한 바와 같이, 업다운 카운터(Up-Down Counter)와 비교기(Comp) 등으로 간소하게 구성될 수 있으며, 상기 앰프(AMP)를 거쳐 출력되는 전압 차는, 상기 비교기(Comp)의 양극(+) 단자의 입력된다.5, the
그리고, 상기 비교기의 음극(-) 단자에는, 사전에 설정된 기준 전압 차, 예를 들어, 0V 보다는 높고 5V 보다는 낮은 기준 전압 차로서 3V가 입력될 수 있는 데, 상기 검출기(30a)에 의해 검출된 전압 차가, 5V 이면, 상기 비교기(Comp)에서는, 하이(High) 신호가 출력되고, 상기 업다운 카운터(Up-Down Counter)에서는, 소정 주기의 클록(Clock) 신호에 맞추어 카운트 값을 1 증가시키게 된다.A reference voltage difference of, for example, 3 V, which is higher than 0 V and lower than 5 V, may be input to the negative terminal of the comparator. The reference voltage difference detected by the
반면, 상기 검출기(30a)에 의해 검출된 전압 차가, 0V 이면, 상기 비교기(Comp)에서는, 로우(Low) 신호가 출력되고, 상기 업다운 카운터(Up-Down Counter)에서는, 소정 주기의 클록(Clock) 신호에 맞추어 카운트 값을 1 감소시키게 된다.On the other hand, when the voltage difference detected by the
즉, 상기 A 타입 커넥터(11)에 호스트가 접속되면, 상기 검출기(30a)에서는 0V의 전압 차를 출력하고, 상기 카운터(30b)에서는, 카운트 값을 1 감소시키는 반면, 상기 A 타입 커넥터(11)에 주변 기기가 접속되면, 상기 검출기(30a)에서는 5V의 전압 차를 출력하고, 상기 카운터(30b)에서는, 카운트 값을 1 증가시키게 된다.That is, when the host is connected to the
그리고, 상기 카운터(30b)에서는, 사전에서 설정된 소정 클록 수(예: 10개)가 입력되는 동안 업다운 카운트된 결과 값을, 상기 제어기(30c)로 출력하게 되는 데, 상기와 같이 소정 클록 수가 입력되는 동안 업다운 카운트 동작을 수행하는 것은, 비정상적인 일시적 전압 검출로 인해 외부 접속 기기의 유형을 잘못 판단하는 것을 방지하기 위한 것이다.Then, the
한편, 상기 제어기(30c)에서는, 상기 카운터(30b)에서 출력되는 카운트 값에 의해, 상기 외부 접속 기기의 유형을 판단하게 되는 데, 예를 들어, 상기 카운트 값이, 사전에 설정된 기준 카운트 값(예: 5) 보다 많으면, 상기 외부 접속 기기가 주변 기기(Device)로 판단하여, 본 발명이 적용된 전자 기기가, 호스트(Host)로의 역할을 수행하도록 한다. On the other hand, the
반면, 상기 카운트 값이, 기준 카운트 값(예: 5) 보다 작으면, 상기 외부 접속 기기가 호스트(Host)로 판단하여, 본 발명이 적용되는 전자 기기가, 주변 기기(Device)로의 역할을 수행하도록 한다. On the other hand, if the count value is smaller than the reference count value (e.g., 5), the external access device is determined as a host, and the electronic device to which the present invention is applied acts as a peripheral device .
이에 따라, 고가격의 전용 USB OTG IC와 전용 OTG 케이블 커넥터 등을 사용하지 않고서도, 외부 접속 기기의 유형에 따라 호스트(Host) 또는 주변 기기(Device)로의 역할 변경을 자동으로 수행할 수 있게 된다.
Accordingly, it is possible to automatically perform a role change to a host or a peripheral device according to the type of an external connection device, without using a dedicated USB OTG IC and a dedicated OTG cable connector.
이상, 전술한 본 발명의 바람직한 실시예는, 예시의 목적을 위해 개시된 것으로, 당업자라면, 이하 첨부된 특허청구범위에 개시된 본 발명의 기술적 사상과 그 기술적 범위 내에서, 또다른 다양한 실시예들을 개량, 변경, 대체 또는 부가 등이 가능할 것이다.
It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit or scope of the invention as defined in the appended claims. , Alteration, substitution, addition, or the like.
100 : USB OTG 자동 변경 장치 10 : 전용 USB OTG IC
11 : A 타입 커넥터 12 ; 전용 OTG 케이블 커넥터
13 : 유에스비 메모리 14 : 개인용 컴퓨터
15 ; 스마트 폰 200 : USB OTG 변경 장치
20 : USB IC 21 : 모드 스위치
22 : 미니 B 커네턱 300 : USB OTG 자동 변경 장치
30 : USB IC 30a : 검출기
30b : 카운터 30c : 제어기 100: USB OTG automatic change device 10: Dedicated USB OTG IC
11: A
13: USB memory 14: Personal computer
15; Smartphone 200: USB OTG changing device
20: USB IC 21: Mode switch
22: Mini Barker Four 300: USB OTG automatic changing device
30:
30b:
Claims (7)
상기 외부 접속 기기의 유형에 상응하는 전압 차를 검출하는 검출기;
상기 검출된 전압 차를 기준 전압 차와 비교하여 결과 값을 카운트하는 카운터; 및
상기 결과 값에 따라, 호스트 또는 주변 기기로의 역할 변경을 자동으로 수행하는 제어기를 포함하여 구성되는 것을 특징으로 하는 유에스비 오티지 자동 변경 장치. An A-type connector which is connected to an external device through a normal cable;
A detector for detecting a voltage difference corresponding to the type of the external connection device;
A counter comparing the detected voltage difference with a reference voltage difference to count a result value; And
And a controller for automatically performing a role change to a host or a peripheral device according to the resultant value.
상기 A 타입 커넥터에는, 상기 노멀 케이블을 통해 호스트 또는 주변 기기 중 어느 하나가 접속되는 것을 특징으로 하는 유에스비 오티지 자동 변경 장치. The method according to claim 1,
Wherein the A type connector is connected to either a host or a peripheral device via the normal cable.
상기 호스트는, 개인용 컴퓨터와 스마트 폰 중 어느 하나 이상이고,
상기 주변 기기는, 유에스비 메모리인 것을 특징으로 하는 유에스비 오티지 자동 변경 장치. 3. The method of claim 2,
The host may be at least one of a personal computer and a smart phone,
Wherein the peripheral device is a USB memory.
상기 검출기는, 상기 외부 접속 기기의 유형이 호스트이면, 영 또는 저 전압 차를 검출하고, 상기 외부 접속 기기의 유형이 주변 기기이면, 고 전압 차를 검출하는 것을 특징으로 하는 유에스비 오티지 자동 변경 장치. The method according to claim 1,
Wherein the detector detects a zero or a low voltage difference when the type of the external connection device is a host and detects a high voltage difference when the type of the external connection device is a peripheral device, .
상기 카운터는, 상기 검출된 전압 차가 기준 전압 차 보다 높으면, 카운트 값을 증가시키고, 상기 검출된 전압 차가 기준 전압 차 보다 낮으면, 카운트 값을 감소시키는 것을 특징으로 하는 유에스비 오티지 자동 변경 장치. The method according to claim 1,
Wherein the counter increases the count value if the detected voltage difference is higher than the reference voltage difference and decreases the count value when the detected voltage difference is lower than the reference voltage difference.
상기 제어기는, 상기 카운트 값이, 기준 카운트 값 이상이면, 상기 외부 접속 기기의 유형이 주변 기기라고 판단하여, 호스트로의 역할 변경을 수행하고,
상기 카운트 값이, 기준 카운트 값 미만이면, 상기 외부 접속 기기의 유형이 호스트라고 판단하여, 주변 기기로의 역할 변경을 수행하는 것을 특징으로 하는 유에스비 오티지 자동 변경 장치. 6. The method of claim 5,
The controller determines that the type of the external access device is a peripheral device and performs a role change to the host when the count value is equal to or greater than the reference count value,
Wherein if the count value is less than the reference count value, it is determined that the type of the external access device is a host and the role change to the peripheral device is performed.
상기 검출기와 카운터, 그리고 제어기는, 하나의 USB IC 내에 집적화되어 있는 것을 특징으로 하는 유에스비 오티지 자동 변경 장치. The method according to claim 1,
Wherein the detector, the counter, and the controller are integrated in one USB IC.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020130004686A KR20140092547A (en) | 2013-01-16 | 2013-01-16 | USB OTG auto change device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020130004686A KR20140092547A (en) | 2013-01-16 | 2013-01-16 | USB OTG auto change device |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20140092547A true KR20140092547A (en) | 2014-07-24 |
Family
ID=51739160
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020130004686A KR20140092547A (en) | 2013-01-16 | 2013-01-16 | USB OTG auto change device |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20140092547A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20190062015A (en) * | 2017-11-28 | 2019-06-05 | 주식회사 빅솔론 | Apparatus for switching usb channel |
EP3614523A3 (en) * | 2018-08-22 | 2020-05-06 | Beijing Xiaomi Mobile Software Co., Ltd. | Charging processing method and terminal device |
CN113448630A (en) * | 2021-03-24 | 2021-09-28 | 深圳怡化电脑股份有限公司 | Driver processing method and device, electronic equipment and medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004094495A (en) * | 2002-08-30 | 2004-03-25 | Seiko Epson Corp | Data transfer controller, electronic apparatus, and power source switching method |
JP2004157604A (en) * | 2002-11-01 | 2004-06-03 | Matsushita Electric Ind Co Ltd | Usb peripheral control method and device |
KR20050026011A (en) * | 2002-07-26 | 2005-03-14 | 모토로라 인코포레이티드 | Dual-role compatible usb hub device and method |
US20080222438A1 (en) * | 2007-03-07 | 2008-09-11 | Peng-Fei Lin | Apparatus For Automatically Detecting And Differentiating Between USB Host And Device |
KR20090084488A (en) * | 2008-02-01 | 2009-08-05 | 삼성전자주식회사 | Method and apparatus for checking device connecting with potable device |
-
2013
- 2013-01-16 KR KR1020130004686A patent/KR20140092547A/en not_active Application Discontinuation
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20050026011A (en) * | 2002-07-26 | 2005-03-14 | 모토로라 인코포레이티드 | Dual-role compatible usb hub device and method |
JP2004094495A (en) * | 2002-08-30 | 2004-03-25 | Seiko Epson Corp | Data transfer controller, electronic apparatus, and power source switching method |
JP2004157604A (en) * | 2002-11-01 | 2004-06-03 | Matsushita Electric Ind Co Ltd | Usb peripheral control method and device |
US20080222438A1 (en) * | 2007-03-07 | 2008-09-11 | Peng-Fei Lin | Apparatus For Automatically Detecting And Differentiating Between USB Host And Device |
KR20090084488A (en) * | 2008-02-01 | 2009-08-05 | 삼성전자주식회사 | Method and apparatus for checking device connecting with potable device |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20190062015A (en) * | 2017-11-28 | 2019-06-05 | 주식회사 빅솔론 | Apparatus for switching usb channel |
EP3614523A3 (en) * | 2018-08-22 | 2020-05-06 | Beijing Xiaomi Mobile Software Co., Ltd. | Charging processing method and terminal device |
US11205906B2 (en) | 2018-08-22 | 2021-12-21 | Beijing Xiaomi Mobile Software Co., Ltd. | Charging processing method, terminal device and storage medium |
CN113448630A (en) * | 2021-03-24 | 2021-09-28 | 深圳怡化电脑股份有限公司 | Driver processing method and device, electronic equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5717005B2 (en) | Method and terminal for selecting an internal circuit according to the status of a USB interface | |
US10318394B2 (en) | USB TYPE-C to legacy USB cable detection | |
US9418032B2 (en) | Adaptive accessory detection and mode negotiation | |
US9153984B2 (en) | Charging device | |
US20200412139A1 (en) | Charge Control Method and Device, and Electronic Device | |
CN106571657B (en) | Terminal, converter, and connection conversion system and method | |
CN108604218B (en) | Method for establishing connection between devices with universal serial bus USB Type-C interface and terminal device | |
JP5283719B2 (en) | Electronic equipment and electronic equipment system | |
JP6022766B2 (en) | Multi-interface memory card and its operation method | |
CN111480152B (en) | Interface configuration method, terminal equipment and interface | |
CN112671084B (en) | USB device and operation method thereof | |
TW201447594A (en) | Electronic device with integrated USB port | |
TW201234184A (en) | Adaptive USB charging method and system | |
CN108228509B (en) | USB interface switching device and electronic equipment | |
CN103389956A (en) | Method and circuit used for dynamically optimizing bus frequency of inter-integrated circuit bus | |
JP2018032221A (en) | Electronic device and control method of the same | |
CN105071484A (en) | Charging method and apparatus of terminal having data exchange function | |
CN108513688A (en) | A kind of switching device and device identification method and equipment identification device | |
KR20140092547A (en) | USB OTG auto change device | |
KR102392278B1 (en) | Power supply apparatus, device, system and method of controlling output of adapter | |
CN108664423B (en) | Electronic device and memory card access method | |
US20140201420A1 (en) | Transmission interface system with detection function and method | |
CN102841877A (en) | Detecting method and automatic detecting circuit of working mode | |
JP6916629B2 (en) | Electronics and control methods | |
US8832341B2 (en) | Dynamically determining a primary or slave assignment based on receiving a power signal from the cable at the port of a device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
E902 | Notification of reason for refusal | ||
E601 | Decision to refuse application |