KR20170098467A - Apparatus and method for providing usb interface between potable device and external device - Google Patents

Apparatus and method for providing usb interface between potable device and external device Download PDF

Info

Publication number
KR20170098467A
KR20170098467A KR1020160020395A KR20160020395A KR20170098467A KR 20170098467 A KR20170098467 A KR 20170098467A KR 1020160020395 A KR1020160020395 A KR 1020160020395A KR 20160020395 A KR20160020395 A KR 20160020395A KR 20170098467 A KR20170098467 A KR 20170098467A
Authority
KR
South Korea
Prior art keywords
terminal
external device
usb
portable terminal
switch
Prior art date
Application number
KR1020160020395A
Other languages
Korean (ko)
Other versions
KR102371501B1 (en
Inventor
임국찬
신덕문
전진수
조익환
윤찬민
Original Assignee
에스케이텔레콤 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 에스케이텔레콤 주식회사 filed Critical 에스케이텔레콤 주식회사
Priority to KR1020160020395A priority Critical patent/KR102371501B1/en
Publication of KR20170098467A publication Critical patent/KR20170098467A/en
Application granted granted Critical
Publication of KR102371501B1 publication Critical patent/KR102371501B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • G06F13/4072Drivers or receivers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4022Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • G06F13/4081Live connection to bus, e.g. hot-plugging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/38Universal adapter
    • G06F2213/3812USB port controller
    • H02J2007/0062

Abstract

The present invention provides a universal serial bus (USB) interface device between a portable terminal and an external device, capable of executing a charging mode and an on-the-go (OTG) mode in parallel; and a method thereof. According to the present invention, a USB interface device installed inside an external device connected to a portable terminal through a USB cable comprises: a voltage bus terminal to maintain a high value by a battery output voltage of the external device; a comparison terminal connected to a power terminal of the portable terminal by a power pin of the USB cable; a switch disposed between a USB_ID terminal and the ground; a comparison circuit comparing a value of the voltage bus terminal with a value of the comparison terminal to generate a control signal to turn on the switch when a comparison result is equal to or greater than a predetermined threshold; and a delay circuit to transfer the generated control signal to the switch after delay of a predetermined time. The USB_ID terminal can be set to output the high value before the switch is turned on.

Description

휴대 단말과 외부 기기 간의 USB 인터페이스 장치 및 그 방법{APPARATUS AND METHOD FOR PROVIDING USB INTERFACE BETWEEN POTABLE DEVICE AND EXTERNAL DEVICE}TECHNICAL FIELD [0001] The present invention relates to a USB interface device between a portable terminal and an external device,

본 발명은 휴대용 단말과 외부 기기 간의 인터페이스 기법에 관한 것으로, 더욱 상세하게는 스마트폰 등의 휴대용 단말과 외장형 인코더(External Encoder) 등의 외부 기기 간의 USB 인터페이스를 제공할 수 있는 휴대 단말과 외부 기기 간의 USB 인터페이스 장치 및 그 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an interface technique between a portable terminal and an external device, and more particularly, to a portable terminal capable of providing a USB interface between a portable terminal such as a smart phone and an external device such as an external encoder, To a USB interface device and a method thereof.

최근 들어, 인코더 등을 활용하는 개인 방송 등의 서비스가 광범위하게 확산되면서 인코더와 휴대 단말을 연결시켜 무선통신망(예컨대, 3G망, LTE망 등)을 통해 개인 방송을 실시간으로 브로트캐스팅해주는 서비스 모델이 속속 등장하고 있다.Recently, a service model for real-time broadcasting of personal broadcasting through a wireless communication network (e.g., 3G network, LTE network, etc.) by connecting an encoder and a mobile terminal with a widespread spread of services such as personal broadcasting using an encoder or the like It is emerging one after another.

잘 알려진 바와 같이, 인코더와 휴대 단말을 이용하여 개인 방송 등을 브로드캐스팅하기 위해서는 OTG 커넥터(예컨대, USB 2.0 OTG 커넥터)를 통해 인코더와 휴대 단말을 물리적으로 연결(접속)시켜야 한다. 여기에서, OTG 커넥터는 전원 핀, 2개의 데이터 핀, USB_ID 핀 및 접지 핀을 포함하는 5핀 구조를 갖는다.As is well known, in order to broadcast personal broadcasting using an encoder and a mobile terminal, an encoder and a portable terminal must be physically connected (connected) through an OTG connector (for example, a USB 2.0 OTG connector). Here, the OTG connector has a 5-pin structure including a power pin, two data pins, a USB_ID pin, and a ground pin.

그리고, OTG 커넥터는 USB_ID 핀의 상태(하이(H) 레벨 또는 로우(L) 레벨 상태)에 따라 하나의 동작 모드를 실행, 즉 충전 모드 또는 OTG 모드 중 어느 한 모드를 실행할 수 있다.Then, the OTG connector can execute one operation mode according to the state of the USB_ID pin (high (H) level or low (L) level state), i.e., either the charging mode or the OTG mode.

여기에서, 충전 모드는, 예컨대 외부 기기의 내장 배터리에 충전된 전원을 이용하여 휴대 단말의 배터리를 충전하거나 혹은 그 반대의 방향으로 충전하는 모드를 의미할 수 있고, OTG 모드는 인코더에서 생성되거나 혹은 저장되어 있는 데이터를 휴대 단말로 전송하는 모드를 의미할 수 있다.Here, the charging mode may mean a mode of charging the battery of the portable terminal using a power source charged in the built-in battery of the external device, or charging the battery in the opposite direction, and the OTG mode may be generated in the encoder And means for transmitting the stored data to the portable terminal.

한편, OTG 커넥터를 통해 연결된 인코더와 휴대 단말을 이용하여 생방송을 브로드캐스팅할 때 휴대 단말과 인코더 중 어느 한 기기에서 배터리가 거의 소진되는 상황이 발생할 수 있는데, 이러한 상황이 발생하는 경우, 종래에는 생방송의 브로드캐스팅을 위한 OTG 모드를 일시 중단시킨 후 OTG 커넥터를 충전 모드로 절환시켜 어느 한 기기를 충전해야만 했었다.Meanwhile, when a live broadcast is broadcast using an encoder and a portable terminal connected through an OTG connector, a battery may be exhausted in one of the portable terminal and the encoder. In such a situation, I had to suspend the OTG mode for broadcasting and then switch the OTG connector to charging mode to charge one device.

즉, 휴대 단말과 인코더를 OTG 커넥터로 연결하여 생방송을 브로드캐스팅하는 경우, 종래에는 두 기기 중 어느 한 기기의 배터리 상황에 따라 생방송의 브로드캐스팅이 일시적으로 중단되는 상황이 발생될 수 있었다.That is, when broadcasting a live broadcast by connecting the portable terminal and the encoder to the OTG connector, broadcasting of live broadcasts may be temporarily stopped depending on the battery status of any one of the two devices.

대한민국 공개특허 제10-2015-0072248호(공개일 : 2015. 06. 29.)Korean Patent Publication No. 10-2015-0072248 (Disclosure Date: June 29, 2015)

본 발명은 휴대용 단말과 외부 기기가 연결될 때 휴대용 단말이 충전 모드로 동작되도록 하고 이후 기 설정된 일정시간을 지연시켜 USB_ID 핀을 OTG 모드로 활성화시킴으로써, 충전 모드와 OTG 모드를 병행 실행할 수 있는 휴대 단말과 외부 기기 간의 USB 인터페이스 장치 및 그 방법을 제안하고자 한다.The present invention relates to a portable terminal capable of executing a charging mode and an OTG mode in parallel by activating a portable terminal in a charging mode when a portable terminal and an external device are connected and then activating a USB_ID pin in an OTG mode by delaying a predetermined time period A USB interface device between external devices and a method thereof are proposed.

본 발명이 해결하고자 하는 과제는 상기에서 언급한 것으로 제한되지 않으며, 언급되지 않은 또 다른 해결하고자 하는 과제는 아래의 기재들로부터 본 발명이 속하는 통상의 지식을 가진 자에 의해 명확하게 이해될 수 있을 것이다.The problems to be solved by the present invention are not limited to those mentioned above, and another problem to be solved by the present invention can be clearly understood by those skilled in the art from the following description will be.

본 발명은, 일 관점에 따라, 휴대용 단말과 USB 케이블에 의해 연결되는 외부 기기의 내부에 마련되는 USB 인터페이스 장치에 있어서, 상기 외부 기기의 배터리 출력 전압에 의해 하이값을 유지하는 전압 버스 단자와, 상기 휴대용 단말의 전원단과 상기 USB 케이블의 전원 핀에 의해 연결되는 비교 단자와, 상기 USB 케이블의 USB_ID V 핀과 연결되는 USB_ID 단자와, 상기 USB_ID 단자와 그라운드 사이에 마련된 스위치와, 상기 전압 버스 단자와 상기 비교 단자의 값을 비교하여, 소정 임계치 이상의 차이가 나는 경우 상기 스위치를 온 시키는 제어 신호를 생성하는 비교 회로와, 생성된 상기 제어 신호를 소정 시간 지연시킨 뒤, 상기 스위치에 전달하는 지연 회로를 포함하며, 상기 USB_ID 단자는 상기 스위치가 온 되기 전에는 하이 값을 갖도록 설정되어 있는 외부 기기의 내부에 마련되는 인터페이스 장치를 제공한다.According to an aspect of the present invention, there is provided a USB interface device provided inside an external device connected to a portable terminal through a USB cable, the USB interface device comprising: a voltage bus terminal for maintaining a high value by a battery output voltage of the external device; A comparison terminal connected by a power terminal of the portable terminal and a power pin of the USB cable, a USB_ID terminal connected to a USB_ID V pin of the USB cable, a switch provided between the USB_ID terminal and a ground, A comparison circuit for comparing the value of the comparison terminal to generate a control signal for turning on the switch when the difference exceeds a predetermined threshold value and a delay circuit for delaying the generated control signal for a predetermined time and then transmitting the delayed control signal to the switch And the USB_ID terminal is connected to an external device which is set to have a high value before the switch is turned on And an interface device provided inside the device.

본 발명은, 다른 관점에 따라, USB 케이블에 의해 연결되는 휴대용 단말과 외부 기기 간의 USB 인터페이스 방법에 있어서, 상기 외부 기기가 상기 휴대용 단말에 플러그 인(Plug in)될 때, 상기 휴대용 단말이 충전 모드로 동작되도록 상기 외부 기기의 배터리 전압을 통해 전압 버스 단자를 하이값으로 유지시키는 단계와, 상기 전압 버스 단자의 값과 이 전압 버스 단자에 연결된 비교 단자의 값 간의 차이를 비교하여, 소정 임계치 이상의 차이가 날 때 USB_ID 단자의 레벨 값 변경을 위한 제어 신호를 발생시키는 단계와, 발생된 상기 제어 신호를 소정 시간 지연시킨 후 상기 USB_ID 단자와 그라운드 사이에 마련된 스위치에 인가하여 상기 스위치를 온 시킴으로써 상기 USB_ID 단자를 하이값에서 로우값으로 변경하는 단계를 포함하는 외부 기기와 휴대용 단말간의 USB 인터페이스 방법을 제공한다.According to another aspect of the present invention, there is provided a USB interface method between a portable terminal and an external device connected by a USB cable, wherein when the external device is plugged into the portable terminal, The method comprising the steps of: maintaining the voltage bus terminal at a high value through the battery voltage of the external device so as to operate the voltage bus terminal; comparing the value of the voltage bus terminal with a value of a comparison terminal connected to the voltage bus terminal, Generating a control signal for changing a level value of a USB_ID terminal when the USB_ID terminal is turned on, applying a control signal generated by delaying the generated control signal to a switch provided between the USB_ID terminal and the ground to turn on the switch, Changing from a high value to a low value between an external device and a portable terminal Provides a USB interface method.

본 발명은 휴대용 단말과 외부 기기가 연결될 때 휴대용 단말이 충전 모드로 동작되도록 하고 이후 기 설정된 일정시간을 지연시켜 USB_ID 핀을 OTG 모드로 활성화시킴으로써, 충전 모드와 OTG 모드를 병행 실행시킬 수 있으며, 이를 통해 단말 사용자들의 다양한 서비스 만족도를 효과적으로 증진시킬 수 있다.The present invention enables the portable terminal to operate in the charging mode when the portable terminal is connected to the external device and then to activate the USB_ID pin in the OTG mode by delaying the predetermined period of time to execute the charging mode and the OTG mode in parallel. The service satisfaction of the terminal users can be effectively improved.

도 1은 본 발명의 실시 예1에 따른 휴대 단말과 외부 기기 간의 USB 인터페이스 장치에 대한 구성도이다.
도 2는 본 발명의 실시 예1에 따라 휴대용 단말과 외부 기기 간의 연동 모드를 제어하는 주요 과정을 도시한 순서도이다.
도 3은 본 발명의 실시 예2에 따른 휴대 단말과 외부 기기 간의 USB 인터페이스 장치에 대한 구성도이다.
도 4는 본 발명의 실시 예3에 따른 휴대 단말과 외부 기기 간의 USB 인터페이스 장치에 대한 구성도이다.
도 5는 본 발명의 실시 예5에 따른 휴대 단말과 외부 기기 간의 USB 인터페이스 장치에 대한 구성도이다.
도 6은 본 발명에 따라 휴대용 단말과 외부 기기가 브로드캐스트 모드를 수행 중일 때 각 기기의 배터리 잔량에 의거하여 배터리 최적화를 자동 제어하는 주요 과정을 도시한 순서도이다.
1 is a configuration diagram of a USB interface device between a portable terminal and an external device according to the first embodiment of the present invention.
2 is a flowchart illustrating a main procedure for controlling an interworking mode between a portable terminal and an external device according to the first embodiment of the present invention.
3 is a configuration diagram of a USB interface device between a portable terminal and an external device according to the second embodiment of the present invention.
4 is a configuration diagram of a USB interface device between a portable terminal and an external device according to the third embodiment of the present invention.
5 is a configuration diagram of a USB interface device between a portable terminal and an external device according to the fifth embodiment of the present invention.
FIG. 6 is a flowchart illustrating a main process of automatically controlling battery optimization based on remaining battery power of each device when a portable terminal and an external device are performing a broadcast mode according to the present invention.

먼저, 본 발명의 장점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술되는 실시 예들을 참조하면 명확해질 것이다. 여기에서, 본 발명은 이하에서 개시되는 실시 예들에 한정되는 것이 아니라 서로 다른 다양한 형태로 구현될 수 있으며, 단지 본 실시 예들은 본 발명의 개시가 완전하도록 하고, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 발명의 범주를 명확하게 이해할 수 있도록 하기 위해 예시적으로 제공되는 것이므로, 본 발명의 기술적 범위는 청구항들에 의해 정의되어야 할 것이다.First, the advantages and features of the present invention, and how to accomplish them, will be clarified with reference to the embodiments to be described in detail with reference to the accompanying drawings. While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments, but, on the contrary, It will be understood by those of ordinary skill in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

아울러, 아래의 본 발명을 설명함에 있어서 공지 기능 또는 구성 등에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략할 것이다. 그리고, 후술되는 용어들은 본 발명에서의 기능을 고려하여 정의된 용어들인 것으로, 이는 사용자, 운용자 등의 의도 또는 관례 등에 따라 달라질 수 있음은 물론이다. 그러므로, 그 정의는 본 명세서의 전반에 걸쳐 기술되는 기술사상을 토대로 이루어져야 할 것이다.In the following description of the present invention, detailed description of known functions and configurations incorporated herein will be omitted when it may make the subject matter of the present invention rather unclear. It is to be understood that the following terms are defined in consideration of the functions of the present invention, and may be changed according to intentions or customs of a user, an operator, and the like. Therefore, the definition should be based on the technical idea described throughout this specification.

이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시 예에 대하여 상세하게 설명한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

[실시 예1][Example 1]

도 1은 본 발명의 실시 예1에 따른 휴대 단말과 외부 기기 간의 USB 인터페이스 장치에 대한 구성도이다.1 is a configuration diagram of a USB interface device between a portable terminal and an external device according to the first embodiment of the present invention.

도 1을 참조하면, 본 실시 예의 연동 모드 제어 장치(120)는, 외부 기기(예컨대, 외장형 인코더 등)에 장착될 수 있는 것으로, 5핀 구조의 OTG 커넥터(121), 전압차 발생부(122), 비교 회로(123), 지연 회로(124) 및 스위치(125) 등을 포함할 수 있다. 이때, OTG 커넥터(121)를 구성하는 P1은 전원 핀을, P2와 P3은 데이터 핀을, P4는 USB_ID 핀을, P5는 접지 핀을 각각 나타낸다.1, the interlocking mode control device 120 of the present embodiment can be mounted on an external device (for example, an external encoder or the like) and includes an OTG connector 121 of a 5-pin structure, a voltage difference generator 122 A comparison circuit 123, a delay circuit 124, a switch 125, and the like. At this time, P1 constituting the OTG connector 121 is a power supply pin, P2 and P3 are data pins, P4 is a USB_ID pin, and P5 is a ground pin.

여기에서, USB_ID 핀(P4)의 상태가 하이(H) 레벨일 때 도시 생략된 외부 기기 내 제어기로부터의 모드 제어에 따라 휴대용 단말(110)과 외부 기기 간의 충전 모드가 실행되고, USB_ID 핀(P4)의 상태가 로우(L) 레벨일 때 제어기로부터의 모드 제어에 따라 휴대용 단말(110)과 외부 기기 간의 OTG 모드(ON The Go), 즉 데이터 핀(P2, P3)을 통해 외부 기기의 데이터(예컨대, 인코더로 촬영한 동영상 등)가 휴대용 단말(110)로 전송되는 등의 OTG 모드가 실행된다. 이때, OTG 모드는, 예컨대 USB 데이터 통신 모드로 정의될 수 있다.Here, when the state of the USB_ID pin P4 is at the H level, the charge mode is executed between the portable terminal 110 and the external device according to the mode control from the controller in the external device (not shown), and the USB_ID pin P4 (ON The Go) between the portable terminal 110 and the external device, that is, the data of the external device through the data pins P2 and P3 in accordance with the mode control from the controller For example, a moving picture photographed by an encoder) is transmitted to the portable terminal 110, or the like. At this time, the OTG mode may be defined, for example, as a USB data communication mode.

그리고, 전압차 발생부(122)는 USB 케이블(도시 생략)의 전원 핀(P1)에 의해 휴대용 단말의 전원단과 연결되는 비교 단자(I1)와 V_BUS 상의 전압 버스 단자(I2)에 저항(R1)을 포함할 수 있는 것으로, USB 케이블을 통해 외부 기기가 휴대용 단말(110)에 연결되어 휴대용 단말(110)이 충전 모드로 동작될 때, 비교 단자(I1)와 전압 버스 단자(I2) 간의 전압차를 발생시키는 등의 기능을 제공할 수 있다.The voltage difference generating unit 122 generates a voltage difference between the comparison terminal I1 connected to the power terminal of the portable terminal by the power supply pin P1 of the USB cable (not shown) and the voltage bus terminal I2 on the V_BUS, When an external device is connected to the portable terminal 110 through the USB cable and the portable terminal 110 is operated in the charging mode, the voltage difference between the comparison terminal I1 and the voltage bus terminal I2 And the like can be provided.

여기에서, 충전 모드는, 예컨대 외부 기기의 내장 배터리에 충전된 전원을 이용하여 휴대용 단말(110)의 배터리가 충전되는 모드를 의미할 수 있다. 그리고, 휴대용 단말(110)은 이동 통신망(예컨대, 3G망, LTE망 등)을 통해 무선 통신이 가능한 단말, 예컨대 휴대폰, 스마트폰, PMP, 스마트패드, 스마트북, 태블릿 PC, 넷북, 노트북 등과 무선 단말을 의미할 수 있다.Here, the charging mode may mean a mode in which the battery of the portable terminal 110 is charged using a power source charged in the built-in battery of the external device, for example. The portable terminal 110 is connected to a terminal capable of wireless communication via a mobile communication network (e.g., 3G network, LTE network, etc.) such as a mobile phone, a smart phone, a PMP, a smart pad, a smart book, a tablet PC, a netbook, May refer to a terminal.

그리고, 전압 버스 단자(I2)는 USB 케이블을 통해 외부 기기가 휴대용 단말(110)에 연결될 때 외부 기기의 배터리 출력 전압에 의해 하이값으로 유지될 수 있다. 또한, 스위치(125)의 출력 측에 마련되어 있는 USB_ID 단자(I3)는 USB 케이블의 USB_ID 핀(P4)과 연결되어 있다.The voltage bus terminal I2 can be maintained at a high value by the battery output voltage of the external device when the external device is connected to the portable terminal 110 via the USB cable. Also, the USB_ID terminal I3 provided on the output side of the switch 125 is connected to the USB_ID pin P4 of the USB cable.

다음에, 비교 회로123)는, 예컨대 전압 비교기 등을 포함할 수 있는 것으로, 비교 단자(I1)와 전압 버스 단자(I2) 간의 전압차가 소정 임계치 이상일 때 USB_ID 핀(P4)의 상태 변경(예컨대, 하이(H) 레벨 상태에서 로우(L) 레벨 상태로 변경)을 위한 변경 제어신호를 발생하는 등의 기능을 제공할 수 있다.The comparison circuit 123 may include a voltage comparator or the like and may change the state of the USB_ID pin P4 when the voltage difference between the comparison terminal I1 and the voltage bus terminal I2 is equal to or greater than a predetermined threshold, And a change control signal for changing from a high (H) level state to a low (L) level state).

다음에, 지연 회로(124)는 비교 회로(123)로부터 출력되는 변경(절환) 제어신호를 기 설정된 소정시간 동안 지연(시정수에 기반한 시간 지연)시켜 출력하는 등의 기능을 제공할 수 있는데, 이를 위해 저항(R2)과 커패시터(C1)로 된 RC 회로를 포함할 수 있다. 여기에서, 시정수에 의한 시간 지연은, 예컨대 50mSec - 80mSec의 범위를 가질 수 있다.Next, the delay circuit 124 may provide a function of outputting a change (switching) control signal output from the comparison circuit 123 for a predetermined time period (time delay based on time constant) For this purpose, it may include an RC circuit consisting of a resistor R2 and a capacitor C1. Here, the time delay due to the time constant may have a range of, for example, 50 mSec to 80 mSec.

또한, 스위치(125)는, 예컨대 그 입력단이 지연 회로(124)의 출력단에 연결되고 출력단이 USB_ID 핀(P4)에 연결된 전자스위치(예컨대, 트랜지스터(TR1))를 포함할 수 있는 것으로, 지연 회로(124)로부터 출력되는 지연된 변경 제어신호에 따라, 충전 모드의 실행을 유지하는 상태에서 휴대용 단말(110)과 외부 기기 간의 OTG 모드(즉, 데이터 통신 모드)가 실행되도록 USB_ID 핀(P4)을 하이값에서 로우값(OTG 모드 활성화 상태)로 변경시키는 등의 기능을 제공할 수 있다.The switch 125 may also include an electronic switch (e.g., transistor TR1) whose input is connected to the output of the delay circuit 124 and whose output is connected to the USB_ID pin P4, (I.e., a data communication mode) between the portable terminal 110 and the external device in the state where the execution of the charging mode is maintained in accordance with the delayed change control signal output from the USB control unit 124, Value to a low value (the OTG mode activation state), and the like.

그리고, 지연된 변경 제어신호에 의해 스위치(125)가 온되면, USB_ID 핀(P4)이 하이 레벨(H)에서 로우(L) 레벨 상태로 변경되면, USB_ID 핀(P4)의 변경 상태를 실시간으로 인식하는 외부 기기의 제어기(도시 생략)가 휴대용 단말의 충전 모드를 유지하는 상태에서 휴대용 단말(110)이 OTG 모드로 동작되도록 제어함으로써, 외부 기기의 데이터(예컨대, 인코더로 촬영한 동영상 등)가 데이터 핀(P2, P3)을 통해 휴대용 단말(110)로 전송되는 OTG 모드(데이터 통신 모드)가 실행될 수 있다.When the switch 125 is turned on by the delayed change control signal and the USB_ID pin P4 is changed from the high level to the low level state, the change state of the USB_ID pin P4 is recognized in real time (Not shown) of the external device maintains the charging mode of the portable terminal, the data of the external device (for example, a moving picture photographed by the encoder) The OTG mode (data communication mode) transmitted to the portable terminal 110 via the pins P2 and P3 can be executed.

따라서, 본 실시 예에 따른 연동 모드 제어 장치는 RC 회로의 시정수에 기반한 지연 시간만큼의 시간차를 두고 충전 모드와 OTG 모드가 각각 실행시키는 방식으로 두 모드의 병행 실행을 실현할 수 있다.Therefore, the interlocking mode control apparatus according to the present embodiment can realize the parallel execution of the two modes in such a manner that the charging mode and the OTG mode are executed with a delay time as long as the delay time based on the time constant of the RC circuit.

다음에, 외부 기기가 휴대용 단말에 연결될 때 본 실시 예에 따라 휴대용 단말과 외부 기기 간의 연동 모드를 제어하는 일련의 과정들에 대하여 설명한다.Next, a description will be given of a series of processes for controlling the interworking mode between the portable terminal and the external device according to the present embodiment when the external device is connected to the portable terminal.

도 2는 본 발명의 실시 예1에 따라 휴대용 단말과 외부 기기 간의 연동 모드를 제어하는 주요 과정을 도시한 순서도이다.2 is a flowchart illustrating a main procedure for controlling an interworking mode between a portable terminal and an external device according to the first embodiment of the present invention.

도 2를 참조하면, OTG 커넥터(121)를 통해 외장형 인코더 등의 외부 기기가 USB 케이블을 통해 휴대용 단말(110)에 연결되면(단계 202), USB_ID 핀(P4)의 상태가 하이(H) 레벨로 되는데, 이러한 USB_ID 핀(P4)의 하이 레벨 감지를 통해 휴대용 단말은 충전 모드로 동작하게 된다(단계 204).2, when an external device such as an external encoder is connected to the portable terminal 110 via the USB cable through the OTG connector 121 (step 202), the state of the USB_ID pin P4 is set to the H level The portable terminal operates in the charging mode through the high level detection of the USB_ID pin P4 (step 204).

이때, 둘 사이에 저항(R1)이 게재되어 있는 비교 단자(I1)와 전압 버스 단자(I2) 사이에 전압차가 발생하게 되는데, 비교 단자(I1)가 비교 회로(123)의 일측 입력으로 인가되고 전압 버스 단자(I2)가 비교 회로(123)의 타측 입력으로 인가됨으로써 양단간의 전압차가 감지(검출)된다(단계 206).At this time, a voltage difference is generated between the comparison terminal I1 and the voltage bus terminal I2 where the resistor R1 is placed between them. The comparison terminal I1 is applied to one input of the comparison circuit 123 The voltage bus terminal I2 is applied to the other input of the comparison circuit 123 to detect (detect) the voltage difference between both terminals (step 206).

그리고, 비교 회로(123)에서는 비교 단자(I1)와 전압 버스 단자(I2) 사이의 전압차가 소정 임계치 이상일 때(단계 208), USB_ID 핀(P4)의 상태 변경(예컨대, 하이(H) 레벨 상태에서 로우(L) 레벨 상태로 변경)을 위한 변경 제어신호를 발생하여 지연 회로(124)의 입력으로 전달한다(단계 210).In the comparison circuit 123, when the voltage difference between the comparison terminal I1 and the voltage bus terminal I2 is equal to or larger than a predetermined threshold value (step 208), the state of the USB_ID pin P4 is changed (for example, To a low (L) level state) and delivers the change control signal to the input of the delay circuit 124 (step 210).

다음에, 지연 회로(124)에서는 비교 회로(123)로부터 출력되는 변경 제어신호를 기 설정된 소정시간 동안 지연(예컨대 50mSec - 80mSec 범위의 지연), 즉 시정수에 기반하여 지연시키며(단계 212), 지연된 변경 제어신호는 스위치(125)의 입력(예컨대, 트랜지스터(TR1)의 게이트 입력)으로 인가된다.Next, in the delay circuit 124, the change control signal output from the comparison circuit 123 is delayed (step 212) based on a predetermined delay time (e.g., delay of 50 mSec to 80 mSec), that is, The delayed change control signal is applied to the input of switch 125 (e.g., the gate input of transistor TR1).

그 결과, 스위치(125)가 온되어 USB_ID 핀(P4)이 하이 레벨(H)에서 로우(L) 레벨 상태로 변경, 즉 휴대용 단말에서의 충전 모드 동작을 유지하는 상태에서 휴대용 단말(110)에서 OTG 모드(데이터 통신 모드)가 실행되도록 USB_ID 핀(P4)의 레벨 상태가 하이값에서 로우값으로 변경된다(단계 214).As a result, when the switch 125 is turned on and the USB_ID pin P4 is changed from the high level (H) to the low (L) level state, that is, in the state where the charging mode operation in the portable terminal is maintained, The level state of the USB_ID pin P4 is changed from the high value to the low value so that the OTG mode (data communication mode) is executed (step 214).

따라서, USB_ID 핀(P4)의 레벨 변경에 따라 휴대용 단말이 충전 모드로 유지되면서 휴대용 단말(110)이 OTG 모드를 실행하게 되며, 이를 통해 외부 기기의 데이터(예컨대, 인코더로 촬영한 동영상 등)가 데이터 핀(P2, P3)을 통해 휴대용 단말(110)로 전송될 수 있다.Accordingly, when the portable terminal is maintained in the charging mode in accordance with the level change of the USB_ID pin P4, the portable terminal 110 executes the OTG mode, and the data of the external device (for example, moving pictures photographed by the encoder) And transmitted to the portable terminal 110 via the data pins P2 and P3.

[실시 예2][Example 2]

도 3은 본 발명의 실시 예2에 따른 휴대 단말과 외부 기기 간의 USB 인터페이스 장치에 대한 구성도이다.3 is a configuration diagram of a USB interface device between a portable terminal and an external device according to the second embodiment of the present invention.

도 3을 참조하면, 본 실시 예의 연동 모드 제어 장치는 USB 케이블의 전원 핀(P1)과 비교 단자(I1) 사이에 연결되어, 외부 기기로부터 휴대용 단말로 충전 모드의 수행 또는 비수행을 선택할 수 있도록 온오프 가능한 조작 스위치(310)를 추가적으로 구성하는 특징을 제외한 나머지 구성들은 각 구성부재가 수행하는 기능 등의 측점에서 볼 때 실시 예1의 대응하는 구성부재들과 실질적으로 동일하다.3, the interlocking mode control device of the present embodiment is connected between the power supply pin P1 of the USB cable and the comparison terminal I1 so that the external device can select the execution or non-execution of the charge mode from the external device to the portable terminal The rest of the configurations are substantially the same as the corresponding constituent members of the first embodiment from the viewpoint of the functions or the like performed by each of the constituent members, except for the features that further constitute the on / off operation switch 310.

따라서, 이해의 증진을 위한 혼돈을 피하기 위하여 도 1에 도시된 구성부재들과 실질적으로 동일한 기능을 수행하는 도 3의 동일 구성부재들에 대해서는 도 1의 구성부재들과 동일한 참조번호로 정의 및 기재한다.Therefore, to avoid confusion for the enhancement of understanding, the same constituent members of FIG. 3 that perform substantially the same function as the constituent members of FIG. 1 are defined and referenced by the same reference numerals as the constituent members of FIG. do.

그리고, 명세서의 간결화를 위한 불필요한 중복 기재를 피하기 위하여, 도 1에 도시된 구성부재들과 실질적으로 동일한 도 3의 대응 구성부재들에 대해서는 기능 등의 상세 설명을 생략한다.In order to avoid unnecessary redundant description for the sake of simplification of the specification, the detailed description of functions and the like is omitted for the corresponding constituent members of Fig. 3 that are substantially the same as the constituent members shown in Fig.

여기에서, 본 실시 예에 새롭게 추가되는 모드 스위치(310)는 사용자 조작을 통해 온 또는 오프로 스위칭될 수 있으며, 이를 통해 휴대용 단말에서의 충전 모드의 수행 또는 비수행을 선택할 수 있다.Here, the mode switch 310 newly added to the present embodiment can be switched on or off through a user operation, thereby enabling selection of execution or non-execution of the charge mode in the portable terminal.

즉, 사용자는 휴대용 단말에서의 충전 모드의 실행이 필요치 않다고 판단될 경우, 모드 스위치(310)를 오프시킴으로써 휴대용 단말에서의 충전 모드 실행 자체를 원천적으로 차단시킬 수 있다.That is, when it is determined that the execution of the charging mode in the portable terminal is not required, the user can essentially shut off the charging mode execution in the portable terminal by turning off the mode switch 310.

[실시 예3][Example 3]

도 4는 본 발명의 실시 예3에 따른 휴대 단말과 외부 기기 간의 USB 인터페이스 장치에 대한 구성도이다.4 is a configuration diagram of a USB interface device between a portable terminal and an external device according to the third embodiment of the present invention.

도 4를 참조하면, 본 실시 예의 연동 모드 제어 장치는 USB 케이블의 전원 핀(P1)과 비교 단자(I1) 사이에 연결되어, 외부 기기로부터 휴대용 단말로 충전 모드의 수행 또는 비수행을 선택할 수 있도록 온오프 가능한 제 1 조작 스위치(410)와 USB_ID 핀(P4)과 USB_ID 단자(I3) 사이에 연결되어, 외부 기기와 휴대용 단말 사이의 데이터 통신의 수행 또는 비수행을 선택할 수 있도록 온오프 가능한 제 2 조작 스위치(420)를 추가적으로 구성하는 특징을 제외한 나머지 구성들은 각 구성부재가 수행하는 기능 등의 측점에서 볼 때 실시 예1의 대응하는 구성부재들과 실질적으로 동일하다.4, the interlocking mode control device of the present embodiment is connected between the power supply pin P1 of the USB cable and the comparison terminal I1 so that the external device can select the execution or non-execution of the charge mode from the external device to the portable terminal A first operation switch 410 capable of being turned on and off and a second operation switch 410 connected between the USB_ID pin P4 and the USB_ID terminal I3 so as to enable or disable data communication between the external device and the portable terminal, The remaining configurations other than the features constituting the additional operation switch 420 are substantially the same as the corresponding constituent members of the first embodiment in terms of functions and the like performed by the respective constituent members.

따라서, 이해의 증진을 위한 혼돈을 피하기 위하여 도 1에 도시된 구성부재들과 실질적으로 동일한 기능을 수행하는 도 4의 동일 구성부재들에 대해서는 도 1의 구성부재들과 동일한 참조번호로 정의 및 기재한다.Accordingly, to avoid confusion for the enhancement of understanding, the same constituent members of FIG. 4 that perform substantially the same function as the constituent members of FIG. 1 are defined and referenced by the same reference numerals as the constituent members of FIG. do.

그리고, 명세서의 간결화를 위한 불필요한 중복 기재를 피하기 위하여, 도 1에 도시된 구성부재들과 실질적으로 동일한 도 4의 대응 구성부재들에 대해서는 기능 등의 상세 설명을 생략한다.In order to avoid unnecessary redundant description for the sake of simplification of the specification, detailed description of functions and the like is omitted for the corresponding constituent members of Fig. 4, which are substantially the same as the constituent members shown in Fig.

여기에서, 본 실시 예에 새롭게 추가되는 제 1 모드 스위치(410)는 사용자 조작을 통해 온 또는 오프로 스위칭될 수 있으며, 이를 통해 휴대용 단말에서의 충전 모드의 수행 또는 비수행을 선택할 수 있다.Here, the first mode switch 410 newly added to the present embodiment can be switched on or off through a user operation, thereby enabling selection or non-execution of the charging mode in the portable terminal.

즉, 사용자는 휴대용 단말에서의 충전 모드의 실행이 필요치 않다고 판단될 경우, 모드 스위치(410)를 오프시킴으로써 휴대용 단말에서의 충전 모드 실행 자체를 원천적으로 차단시킬 수 있다.That is, when it is determined that the execution of the charging mode in the portable terminal is not necessary, the user can essentially shut off the charging mode execution in the portable terminal by turning the mode switch 410 off.

또한, 본 실시 예에 새롭게 추가되는 제 2 모드 스위치(420)는 사용자 조작을 통해 온 또는 오프로 스위칭될 수 있으며, 이를 통해 외부 기기와 휴대용 단말 간의 OTG 모드(데이터 통신 모드)의 수행 또는 비수행을 선택할 수 있다.In addition, the second mode switch 420 newly added to the present embodiment can be switched on or off through a user operation, thereby performing OTG mode (data communication mode) between the external device and the portable terminal, Can be selected.

즉, 사용자는 OTG 모드의 실행이 필요치 않다고 판단될 경우, 제 2 모드 스위치(420)를 오프시킴으로써 OTG 모드의 실행 자체를 원천적으로 차단시킬 수 있다.That is, when it is determined that the execution of the OTG mode is not necessary, the user can essentially shut off the execution of the OTG mode by turning off the second mode switch 420. [

따라서, 본 실시 예에 따르면, 사용자는 제 1 및 제 2 모드 스위치(410, 420) 모두를 온 상태로 위치시킴으로써 충전 모드와 OTG 모드가 병행 실행되도록 할 수 있고, 제 1 모드 스위치(410)를 온 상태로 위치시키고 제 2 모드 스위치(420)를 오프 상태로 위치시킴으로써 충전 모드만이 선택 실행되도록 할 수 있으며, 제 1 모드 스위치(410)를 오프 상태로 위치시키고 제 2 모드 스위치(420)를 온 상태로 위치시킴으로써 OTG 모드만이 선택 실행되도록 할 수 있다.Therefore, according to the present embodiment, the user can cause both the first mode switch 410 and the second mode switch 410 to be in the on state, thereby allowing the charge mode and the OTG mode to be executed in parallel, and the first mode switch 410 The first mode switch 410 is placed in the OFF state and the second mode switch 420 is set in the OFF state. Only the OTG mode can be selected and executed.

[실시 예4][Example 4]

도 5는 본 발명의 실시 예4에 따른 휴대 단말과 외부 기기 간의 USB 인터페이스 장치에 대한 구성도이다.5 is a configuration diagram of a USB interface device between a portable terminal and an external device according to a fourth embodiment of the present invention.

도 5를 참조하면, 본 실시 예의 연동 모드 제어 장치는 USB 케이블의 전원 핀(P1)과 비교 단자(I1) 사이에 제 1 모드 스위치(510)가 연결되고, USB_ID 핀(P4)과 USB_ID 단자(I3) 사이에 제 2 모드 스위치(520)가 연결되는 구성 측면에서만 볼 때, 상술한 실시 예3의 장치와 동일하지만, 제 1 및 제 2 모드 스위치(510, 520)가 사용자 조작(수동 조작)이 아닌 제어부(530)로부터의 제어 지령에 따라 자동으로 수행된다는 점에 있어서 차이를 갖는다.5, a first mode switch 510 is connected between a power supply pin P1 and a comparison terminal I1 of a USB cable, and a USB_ID pin P4 and a USB_ID terminal I3, the first and second mode switches 510 and 520 are operated by a user operation (manual operation) in the same manner as the apparatus of the third embodiment described above only in terms of the configuration in which the second mode switch 520 is connected between the first mode switch 510 and the second mode switch 520, But is performed automatically in accordance with a control command from the control unit 530. [

여기에서, 제어부(530)는, 예컨대 외부 기기의 전반적인 동작 제어를 수행하는 마이크로프로세서 등을 포함할 수 있는 것으로, 제 1 및 제 2 모드 스위치(510, 520)의 스위칭 제어(온/오프 제어)를 위해, 외부로부터의 제어 지령에 따라 그에 상응하는 제 1 및 제 2 스위칭 신호를 선택적 또는 동시에 발생시켜 제 1 모드 스위치(510) 및/또는 제 2 모드 스위치(520)에 제공하는 등의 기능을 제공할 수 있다. 여기에서, 제어 지령은, 예컨대 사용자 인터페이스에 따라 휴대용 단말로부터 생성되어 USB 케이블을 통해 외부 기기 내의 제어부(530)로 전달된 지령 데이터일 수 있다.The control unit 530 may include, for example, a microprocessor that performs overall operation control of an external device. The control unit 530 performs switching control (on / off control) of the first and second mode switches 510 and 520, A function of selectively or simultaneously generating first and second switching signals corresponding to control commands from the outside and providing the first and second switching signals to the first mode switch 510 and / or the second mode switch 520 . Here, the control command may be command data generated from the portable terminal according to a user interface, for example, and transmitted to the control unit 530 in the external device via the USB cable.

즉, 본 실시 예의 연동 모드 제어 장치는 제 1 및 제 2 모드 스위치(510, 520)의 각 스위칭을 수동 조작이 아닌 자동 제어로 수행한다는 점만 다를 뿐 각 모드 스위치의 실제적인 기능(선택적인 모드 개폐 기능)은 실시 예3의 각 모드 스위치에서의 기능과 실질적으로 동일하다.That is, the interlocking mode control device of the present embodiment differs from the interlocking mode control device of this embodiment only in that each switching of the first and second mode switches 510 and 520 is performed by automatic control rather than manual operation, Function) is substantially the same as the function in each mode switch of the third embodiment.

따라서, 본 실시 예에 따르면, 제 1 및 제 2 모드 스위치(510, 520) 모두를 온 상태로 자동 제어함으로써 충전 모드와 OTG 모드가 병행 실행되도록 할 수 있고, 제 1 모드 스위치(510)를 온 상태로 자동 제어하고 제 2 모드 스위치(520)를 오프 상태로 자동 제어함으로써 충전 모드만이 선택 실행되도록 할 수 있으며, 제 1 모드 스위치(510)를 오프 상태로 자동 제어하고 제 2 모드 스위치(520)를 온 상태로 자동 제어함으로써 OTG 모드만이 선택 실행되도록 할 수 있다.Therefore, according to the present embodiment, both the first mode switch 510 and the second mode switch 510 are automatically controlled to be turned on, thereby enabling the charging mode and the OTG mode to be performed in parallel, The first mode switch 510 is automatically controlled to be in the off state and the second mode switch 520 is automatically controlled to be in the OFF state, ) Can be automatically controlled to be ON so that only the OTG mode can be selected and executed.

한편, 본 실시 예의 연동 모드 제어 장치는 브로드캐스트 모드를 수행 중일 때 휴대용 단말 및 외부 기기의 배터리 잔량에 의거하여 배터리 최적화를 자동 실행, 즉 휴대용 단말에서 외부 기기로 전원을 공급하거나, 외부 기기에서 휴대용 단말로 전원을 공급하거나 혹은 휴대용 단말과 외부 기기 간에 전원 교환을 차단하도록 기술적 구성을 더 포함할 수 있다.On the other hand, the interlocking mode control device of the present embodiment automatically performs battery optimization based on the battery remaining amount of the portable terminal and the external device when performing the broadcast mode, that is, supplies power to the external device from the portable terminal, And may further include a technical configuration for supplying power to the terminal or for interrupting power exchange between the portable terminal and the external device.

도 6은 본 발명에 따라 휴대용 단말과 외부 기기가 브로드캐스트 모드를 수행 중일 때 각 기기의 배터리 잔량에 의거하여 배터리 최적화를 자동 제어하는 주요 과정을 도시한 순서도이다.FIG. 6 is a flowchart illustrating a main process of automatically controlling battery optimization based on remaining battery power of each device when a portable terminal and an external device are performing a broadcast mode according to the present invention.

도 6을 참조하면, 휴대용 단말과 외부 기기 간에 브로드캐스트 모드가 수행될 때(단계 602), 휴대용 단말에서는 기 설정된 일정 주기로 자신의 배터리 잔량 정보를 OTG 커넥터를 통해 외부 기기의 제어부로 전달하며, 외부 기기의 제어부에서는 기 설정된 일정 주기로 전달되는 휴대용 단말의 배터리 잔량 정보를 수집한다(단계 604). 여기에서, 휴대용 단말의 배터리 잔량은 % 단위로 표현될 수 있다. 이때, 설명의 편의와 이해의 증진을 위해, 휴대용 단말과 외부 기기 간에는 전원교환이 차단된 상태(즉, 전원교환 차단 모드의 수행 상태)라고 가정한다.Referring to FIG. 6, when the broadcast mode is performed between the portable terminal and the external device (step 602), the portable terminal transmits its remaining battery level information to the controller of the external device through the OTG connector at predetermined intervals, The control unit of the device collects the remaining battery level information of the portable terminal, which is transmitted at a predetermined cycle (Step 604). Here, the battery remaining amount of the portable terminal can be expressed in units of%. At this time, for convenience of explanation and understanding, it is assumed that the power supply is interrupted between the portable terminal and the external device (i.e., the power supply interrupting mode is performed).

그리고, 외부 기기의 제어부에서는 휴대용 단말의 배터리 잔량(t1)과 자신의 배터리 잔량(t2)을 비교하여 두 배터리 잔량 간에 차이가 발생하는 지의 여부를 체크한다(단계 606).Then, the controller of the external device compares the battery remaining amount t1 of the portable terminal with the battery remaining amount t2 of the portable terminal, and checks whether or not a difference between the remaining battery remaining amounts occurs (step 606).

상기 단계(606)에서의 체크 결과, t1>t2 또는 t2>t1 중의 어느 한 조건일 때, 휴대용 단말의 배터리 잔량(t1)이 외부 기기의 배터리 잔량(t2)보다 크면서 그 잔량 차이(△t1)가 기 설정된 제 1 충전 기준 값(n1)을 초과하는지 혹은 외부 기기의 배터리 잔량(t2)이 휴대용 단말의 배터리 잔량(t1)보다 크면서 그 잔량 차이(△t2)가 기 설정된 제 2 충전 기준 값(n2)을 초과하는지의 여부를 체크한다(단계 608). 여기에서, 제 1 및 제 2 충전 기준 값(n1, n2)은, 예컨대 두 배터리 잔량 간의 차이 10%, 15%, 20% 중 어느 하나의 값으로 설정될 수 있다.If the battery remaining amount t1 of the portable terminal is larger than the battery remaining amount t2 of the external device and the remaining amount difference? T1 Is greater than a preset first charging reference value n1 or the battery remaining amount t2 of the external device is larger than the battery remaining amount t1 of the portable terminal and the remaining amount difference? It is checked whether or not the value n2 is exceeded (step 608). Here, the first and second charging reference values n1 and n2 may be set to any value of, for example, 10%, 15%, or 20% of the difference between the remaining amounts of two batteries.

상기 단계(608)에서의 체크 결과, △t1≥n1의 조건이 충족되면 외부 기기의 제어부에서는 충전 모드1, 즉 휴대용 단말의 배터리 전원으로 외부 기기의 배터리를 충전시키는 충전 모드1이 실행되도록 제어하고, △t1≥n1의 조건이 충족되면 외부 기기의 제어부에서는 충전 모드2, 즉 외부 기기의 배터리 전원으로 휴대용 단말의 배터리를 충전시키는 충전 모드2가 실행되도록 제어한다(단계 610).As a result of the checking in step 608, if the condition of? T1? N1 is satisfied, the controller of the external device controls the charging mode 1, that is, the charging mode 1 for charging the battery of the external device with the battery power of the portable terminal If the condition of? T1? N1 is satisfied, the controller of the external device controls the charging mode 2, that is, charging mode 2 for charging the battery of the portable terminal with the battery power of the external device to be executed (step 610).

즉, 본 실시 예에 따르면, 휴대용 단말과 외부 기기의 각 배터리 잔량의 차이가 기 설정된 충전 기준 값을 초과할 때 충전 모드1 또는 충전 모드2를 선택 실행하며, 이러한 충전 모드의 선택 실행을 통해 브로드캐스트 모드를 수행 중인 휴대용 단말과 외부 기기간의 배터리 사용 환경이 최적화되도록 제어할 수 있다.That is, according to the present embodiment, the charging mode 1 or the charging mode 2 is selected and executed when the difference between the remaining battery levels of the portable terminal and the external device exceeds the predetermined charging reference value, The battery usage environment between the portable terminal performing the cast mode and the external device can be controlled to be optimized.

한편, 상기 단계(608)에서의 체크 결과, △t1≥n1 조건 또는 △t1≥n1 조건 중 어느 하나도 충족(성립)되지 않은 것으로 판단될 때, 외부 기기의 제어부에서는 전원교환 차단 상태를 그대로 유지한다(단계 612). 여기에서, 두 배터리 잔량 간의 차이가 기 설정된 충전 기준 값을 초과하지 않을 때 두 기기(휴대용 단말과 외부 기기) 간에 전원교환 차단 상태를 유지시키는 것은 충전을 위한 5V 승압 동작으로 인한 배터리 소모를 최소화하기 위해서이다.On the other hand, when it is determined in step 608 that any one of the conditions of? T1? N1 and? T1? N1 is satisfied (not established), the controller of the external device maintains the power- (Step 612). Here, when the difference between the two battery residual amounts does not exceed the predetermined charging reference value, maintaining the power shutoff state between the two devices (portable terminal and external device) minimizes the battery consumption due to the 5V step-up operation for charging It is for.

이상의 설명은 본 발명의 기술사상을 예시적으로 설명한 것에 불과한 것으로서, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자라면 본 발명의 본질적인 특성에서 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경 등이 가능함을 쉽게 알 수 있을 것이다. 즉, 본 발명에 개시된 실시 예들은 본 발명의 기술 사상을 한정하기 위한 것이 아니라 설명하기 위한 것으로서, 이러한 실시 예에 의하여 본 발명의 기술 사상의 범위가 한정되는 것은 아니다.It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present invention as defined by the following claims. It is easy to see that this is possible. That is, the embodiments disclosed in the present invention are not intended to limit the scope of the present invention but to limit the scope of the present invention.

따라서, 본 발명의 보호 범위는 후술되는 청구범위에 의하여 해석되어야 하며, 그와 동등한 범위 내에 있는 모든 기술사상은 본 발명의 권리범위에 포함되는 것으로 해석되어야 할 것이다.Therefore, the scope of protection of the present invention should be construed in accordance with the following claims, and all technical ideas within the scope of equivalents should be interpreted as being included in the scope of the present invention.

본 발명의 실시 예에 의하면, 휴대용 단말과 외부 기기가 연결될 때 휴대용 단말이 충전 모드로 동작되도록 하고 이후 기 설정된 일정시간을 지연시켜 USB_ID 핀을 OTG 모드로 활성화시킴으로써, 충전 모드와 OTG 모드를 병행 실행시킬 수 있는 휴대 단말과 외부 기기 간의 USB 인터페이스 장치를 제공할 수 있다.According to the embodiment of the present invention, when the portable terminal and the external device are connected, the portable terminal is operated in the charging mode, and then the USB_ID pin is activated in the OTG mode by delaying the predetermined period of time to execute the charging mode and the OTG mode in parallel It is possible to provide a USB interface device between a portable terminal and an external device that can be used.

이러한 기술적 구성을 포함하는 본 발명은, 충전 모드와 OTG 모드를 병행 실행시킴으로써 단말 사용자들의 다양한 서비스 만족도를 효과적으로 증진시킬 수 있다.The present invention including such a technical configuration can effectively improve various service satisfaction of terminal users by executing the charging mode and the OTG mode in parallel.

121 : OTG 커넥터
122 : 전압차 발생부
123 : 비교 회로
124 : 지연 회로
125 : 스위치
I1 : 비교 단자
I2 : 전압 버스 단자
I3 : USB_ID 단자
121: OTG connector
122: voltage difference generator
123: comparator circuit
124: delay circuit
125: Switch
I1: comparison terminal
I2: Voltage bus terminal
I3: USB_ID terminal

Claims (10)

휴대용 단말과 USB 케이블에 의해 연결되는 외부 기기의 내부에 마련되는 USB 인터페이스 장치에 있어서,
상기 외부 기기의 배터리 출력 전압에 의해 하이값을 유지하는 전압 버스 단자와,
상기 휴대용 단말의 전원단과 상기 USB 케이블의 전원 핀에 의해 연결되는 비교 단자와,
상기 USB 케이블의 USB_ID V 핀과 연결되는 USB_ID 단자와,
상기 USB_ID 단자와 그라운드 사이에 마련된 스위치와,
상기 전압 버스 단자와 상기 비교 단자의 값을 비교하여, 소정 임계치 이상의 차이가 나는 경우 상기 스위치를 온 시키는 제어 신호를 생성하는 비교 회로와,
생성된 상기 제어 신호를 소정 시간 지연시킨 뒤, 상기 스위치에 전달하는 지연 회로를 포함하며,
상기 USB_ID 단자는 상기 스위치가 온 되기 전에는 하이 값을 갖도록 설정되어 있는
외부 기기의 내부에 마련되는 인터페이스 장치.
1. A USB interface device provided inside an external device connected to a portable terminal by a USB cable,
A voltage bus terminal for maintaining a high value by a battery output voltage of the external device,
A comparison terminal connected by a power supply terminal of the portable terminal and a power supply pin of the USB cable,
A USB_ID terminal connected to the USB_ID V pin of the USB cable,
A switch provided between the USB ID terminal and the ground,
A comparing circuit for comparing a value of the voltage bus terminal with a value of the comparison terminal to generate a control signal for turning on the switch when a difference of a predetermined threshold or more is reached,
And a delay circuit for delaying the generated control signal for a predetermined time and transmitting the delayed control signal to the switch,
The USB_ID terminal is set to have a high value before the switch is turned on
An interface device provided inside the external device.
제 1 항에 있어서,
상기 비교 회로는,
전압 비교기를 포함하는
외부 기기의 내부에 마련되는 인터페이스 장치.
The method according to claim 1,
The comparison circuit comprising:
Voltage comparator
An interface device provided inside the external device.
제 1 항에 있어서,
상기 지연 회로는,
시정수에 기반하여 상기 제어 신호를 소정 시간 동안 지연시키는 RC 회로를 포함하는
외부 기기의 내부에 마련되는 인터페이스 장치.
The method according to claim 1,
Wherein the delay circuit comprises:
And an RC circuit for delaying the control signal for a predetermined time based on a time constant
An interface device provided inside the external device.
제 1 항에 있어서,
상기 스위치는,
상기 제어 신호의 인가 여부에 따라 온 또는 오프되는 전자스위치를 포함하는
외부 기기의 내부에 마련되는 인터페이스 장치.
The method according to claim 1,
Wherein the switch comprises:
And an electronic switch which is turned on or off according to whether or not the control signal is applied
An interface device provided inside the external device.
제 1 항에 있어서,
상기 전압 버스 단자와 상기 비교 회로 사이에 연결된 저항을 더 포함하는
외부 기기의 내부에 마련되는 인터페이스 장치.
The method according to claim 1,
And a resistor coupled between the voltage bus terminal and the comparison circuit
An interface device provided inside the external device.
제 1 항에 있어서,
상기 USB 케이블의 전원 핀과 상기 비교 단자 사이에 연결되어, 상기 외부 기기로부터 상기 휴대용 단말로 충전 모드의 수행 또는 비수행을 선택할 수 있도록 온오프 가능한 조작 스위치
를 더 포함하는 외부 기기의 내부에 마련되는 인터페이스 장치.
The method according to claim 1,
An operation switch which is connected between a power supply pin of the USB cable and the comparison terminal so as to enable the portable terminal to perform charging mode or non-
Wherein the interface device is provided inside the external device.
제 1 항에 있어서,
상기 USB 케이블의 전원 핀과 상기 비교 단자 사이에 연결되어, 상기 외부 기기로부터 상기 휴대용 단말로 충전 모드의 수행 또는 비수행을 선택할 수 있도록 온오프 가능한 제 1 조작 스위치와,
상기 USB_ID 핀과 상기 USB_ID 단자 사이에 연결되어, 상기 외부 기기와 상기 휴대용 단말 사이의 데이터 통신의 수행 또는 비수행을 선택할 수 있도록 온오프 가능한 제 2 조작 스위치
를 더 포함하는 외부 기기의 내부에 마련되는 인터페이스 장치.
The method according to claim 1,
A first operation switch which is connected between a power supply pin of the USB cable and the comparison terminal and is capable of being switched from the external device to the portable terminal to perform charging mode or non-charging mode;
And a second operation switch which is connected between the USB_ID pin and the USB_ID terminal and can be turned on and off so that data communication between the external device and the portable terminal can be performed or non-
Wherein the interface device is provided inside the external device.
제 1 항에 있어서,
상기 USB 케이블의 전원 핀과 상기 비교 단자 사이에 연결되며, 제 1 스위칭 신호에 따라 상기 휴대용 단말에서의 충전 모드의 수행 또는 비수행을 선택하도록 온오프되는 제 1 스위치와,
상기 USB_ID 핀과 상기 USB_ID 단자 사이에 연결되며, 제 2 스위칭 신호에 따라 상기 외부 기기와 상기 휴대용 단말 사이의 데이터 통신의 수행 또는 비수행을 선택할 수 있도록 온오프 가능한 제 2 스위치와,
상기 제 1 및 제 2 스위칭 신호를 발생시키는 제어부
를 더 포함하는 외부 기기의 내부에 마련되는 인터페이스 장치.
The method according to claim 1,
A first switch which is connected between a power supply pin of the USB cable and the comparison terminal and which is turned on and off according to a first switching signal to select the charging mode or non-charging mode of the portable terminal;
A second switch which is connected between the USB_ID pin and the USB_ID terminal and can be turned on or off so as to enable or disable data communication between the external device and the portable terminal according to a second switching signal,
The control unit generates the first and second switching signals.
Wherein the interface device is provided inside the external device.
제 8 항에 있어서,
상기 제어부는,
사용자 인터페이스에 따라 상기 휴대용 단말로부터 생성되어 상기 외부 기기 내 상기 제어부로 전달되는 제어 지령에 의해 동작하는
외부 기기의 내부에 마련되는 인터페이스 장치.
9. The method of claim 8,
Wherein,
And a control unit which is operated by a control command generated from the portable terminal according to a user interface and transmitted to the control unit in the external device
An interface device provided inside the external device.
USB 케이블에 의해 연결되는 휴대용 단말과 외부 기기 간의 USB 인터페이스 방법에 있어서,
상기 외부 기기가 상기 휴대용 단말에 플러그 인(Plug in)될 때, 상기 휴대용 단말이 충전 모드로 동작되도록 상기 외부 기기의 배터리 전압을 통해 전압 버스 단자를 하이값으로 유지시키는 단계와,
상기 전압 버스 단자의 값과 이 전압 버스 단자에 연결된 비교 단자의 값 간의 차이를 비교하여, 소정 임계치 이상의 차이가 날 때 USB_ID 단자의 레벨 값 변경을 위한 제어 신호를 발생시키는 단계와,
발생된 상기 제어 신호를 소정 시간 지연시킨 후 상기 USB_ID 단자와 그라운드 사이에 마련된 스위치에 인가하여 상기 스위치를 온 시킴으로써 상기 USB_ID 단자를 하이값에서 로우값으로 변경하는 단계
를 포함하는 외부 기기와 휴대용 단말간의 USB 인터페이스 방법.
A USB interface method between a portable terminal and an external device connected by a USB cable,
Maintaining the voltage bus terminal at a high value through the battery voltage of the external device so that the portable terminal is operated in a charging mode when the external device is plugged into the portable terminal;
Comparing the difference between the value of the voltage bus terminal and the value of the comparison terminal connected to the voltage bus terminal to generate a control signal for changing the level value of the USB_ID terminal when the difference exceeds a predetermined threshold value,
Changing the USB_ID terminal from a high value to a low value by turning on the switch by applying the generated control signal to a switch provided between the USB_ID terminal and the ground after delaying the generated control signal for a predetermined time
A USB interface method between an external device and a portable terminal.
KR1020160020395A 2016-02-22 2016-02-22 Apparatus and method for providing usb interface between potable device and external device KR102371501B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020160020395A KR102371501B1 (en) 2016-02-22 2016-02-22 Apparatus and method for providing usb interface between potable device and external device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020160020395A KR102371501B1 (en) 2016-02-22 2016-02-22 Apparatus and method for providing usb interface between potable device and external device

Publications (2)

Publication Number Publication Date
KR20170098467A true KR20170098467A (en) 2017-08-30
KR102371501B1 KR102371501B1 (en) 2022-03-07

Family

ID=59760556

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020160020395A KR102371501B1 (en) 2016-02-22 2016-02-22 Apparatus and method for providing usb interface between potable device and external device

Country Status (1)

Country Link
KR (1) KR102371501B1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032984A (en) * 2018-05-31 2018-12-18 广州吉欧电子科技有限公司 A kind of method and USB OTG equipment of multiplexing USB interface
CN109101447A (en) * 2018-07-17 2018-12-28 努比亚技术有限公司 A kind of method and terminal that OTG function executes parallel with charge function
CN109359079A (en) * 2018-10-16 2019-02-19 福建实达电脑设备有限公司 A kind of the simulation pull-plug device and method of automatic maintenance USB connection
KR20190038180A (en) * 2017-09-29 2019-04-08 주식회사 케이티앤지 Method and device for charging

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002163044A (en) * 2000-11-29 2002-06-07 Canon Inc Portable information terminal equipment, charging equipment, method for electric power supply, and storage medium
KR100905795B1 (en) * 2008-01-17 2009-07-02 (주)블루버드 소프트 Mobile device of supporting uart and usb communication using same connector and operating method there-of
KR20140126491A (en) * 2013-04-23 2014-10-31 삼성전자주식회사 power supply circuit and method for controlling thereof
KR20150019134A (en) * 2013-08-12 2015-02-25 엘지전자 주식회사 Embedded battery type mobile terminal and battery over discharge preventing method thereof
KR20150072248A (en) 2013-12-19 2015-06-29 김경민 USB OTG memory device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002163044A (en) * 2000-11-29 2002-06-07 Canon Inc Portable information terminal equipment, charging equipment, method for electric power supply, and storage medium
KR100905795B1 (en) * 2008-01-17 2009-07-02 (주)블루버드 소프트 Mobile device of supporting uart and usb communication using same connector and operating method there-of
KR20140126491A (en) * 2013-04-23 2014-10-31 삼성전자주식회사 power supply circuit and method for controlling thereof
KR20150019134A (en) * 2013-08-12 2015-02-25 엘지전자 주식회사 Embedded battery type mobile terminal and battery over discharge preventing method thereof
KR20150072248A (en) 2013-12-19 2015-06-29 김경민 USB OTG memory device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20190038180A (en) * 2017-09-29 2019-04-08 주식회사 케이티앤지 Method and device for charging
CN109032984A (en) * 2018-05-31 2018-12-18 广州吉欧电子科技有限公司 A kind of method and USB OTG equipment of multiplexing USB interface
CN109101447A (en) * 2018-07-17 2018-12-28 努比亚技术有限公司 A kind of method and terminal that OTG function executes parallel with charge function
CN109101447B (en) * 2018-07-17 2021-09-14 努比亚技术有限公司 Method and terminal for parallel execution of OTG function and charging function
CN109359079A (en) * 2018-10-16 2019-02-19 福建实达电脑设备有限公司 A kind of the simulation pull-plug device and method of automatic maintenance USB connection

Also Published As

Publication number Publication date
KR102371501B1 (en) 2022-03-07

Similar Documents

Publication Publication Date Title
CN104578277B (en) For the method for charging for electronic equipment and electronic equipment
KR20170098467A (en) Apparatus and method for providing usb interface between potable device and external device
JP2010529548A5 (en)
CN104065124B (en) There is the mobile terminal of false battery functi on and the method for enable, forbidden energy vacation battery thereof
CN104065144B (en) The system and method for USB charger output voltage and electric current is adjusted with VBUS signal dynamics
CN103685953A (en) Shooting device, mobile terminal and watch
CN101853970A (en) Method and device for charging through universal serial bus (USB) interface
CN104882941A (en) Electronic equipment, and control method therefor
CN104716750A (en) Low-energy-consumption wireless power supply method and relevant device and system
CN104467109A (en) Method for supplying power to electronic equipment and electronic equipment
CN105576753A (en) Information processing method and electronic equipment
JP2003032910A (en) Terminal unit
CN105786157A (en) Electronic device and control method thereof
CN104426186A (en) Charging control method and electronic equipment
KR20200038244A (en) Charging device test board, test system and test method
CN112910038A (en) Power conversion device and method and electronic equipment
CN105375538A (en) Quick charging device
WO2016173081A1 (en) Method and device for implementing connection control
US9831698B2 (en) Mobile power supply terminal and power supply method thereof
CN110729788A (en) Power supply control method, system and equipment
CN113672067B (en) Lightning docking station and configuration device
KR102408409B1 (en) Apparatus for supplying operation power of external device by using potable device
CN204858641U (en) Charger data line and charger
CN105762884B (en) Method for charging electronic device and electronic device
CN109638930B (en) Battery charging control method and power supply system

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant