Description of drawings
Fig. 1 is the stereoscopic figure that shows tool USB interface bidirectional electronic device of the present invention.
Fig. 2 is the stereoscopic figure that shows the another side of tool USB interface bidirectional electronic device of the present invention.
Fig. 3 A and Fig. 3 B are the user mode figure that shows the two-in-one USB connector of the present invention respectively.
Fig. 4 is the circuit structure diagram that shows tool USB interface bidirectional electronic device of the present invention.
Fig. 5 is the bridge mode running figure that shows tool USB interface bidirectional electronic device of the present invention.
Fig. 6 is the OTG mode operating figure that shows tool USB interface bidirectional electronic device of the present invention.
Fig. 7 is the OTG conversion bridge mode running figure that shows tool USB interface bidirectional electronic device of the present invention.
Fig. 8 is the OTG interconnection pattern running figure that shows tool USB interface bidirectional electronic device of the present invention.Symbol description
10 tool USB interface bidirectional electronic devices, 101 two-in-one USB connector
101C Vbus terminal 101A USB standard A type public plug
101B USB standard Type B female plug seat 103 housings
105 USB otg controller 105A OTG ID signals
The 105B first switch 105C mains switch
106 storage assemblies, 107 batteries
109 USB electric power source unit, 108 USB/ battery power management unit
1031 framed side wallboards
Be familiar with this technology personage and understand purpose of the present invention, feature and effect for making, now by following specific embodiment, and conjunction with figs., the present invention is illustrated in detail, illustrate as afterwards:
Embodiment
Fig. 1 shows the stereoscopic figure of tool USB interface bidirectional electronic device of the present invention.The two-in-one USB connector 101 of tool USB interface bidirectional electronic device 10 of the present invention be the side that is arranged at housing 103, and connector 101 is made up of a USB standard A type public plug 101A and a USB standard Type B female plug seat 101B.Connector 101 utilizes pivot that it is articulated in housing 103, and connector 101 is can be accommodated in fully in the housing 103, and connector 101 also can be exposed outside housing 103 with USB standard A type public plug 101A by pivot.The principal character of the two-in-one USB connector 101 of the present invention is to be, the user only can select one of them use of pegging graft from this USB standard A type public plug and this USB standard Type B female plug seat.Cooperate Fig. 1 and Fig. 2, when two-in-one USB connector 101 is when being accommodated within the housing fully, the two-in-one USB connector 101 of this moment only has USB standard Type B female plug seat 101B to be used by grafting, because USB standard A type public plug 101A is by the stopping of the framed side wallboard 1031 of housing 101, and make that USB standard A type public plug 101A can't be pegged graft.Or utilize the width A of reduction between the both walls of USB standard A type public plug 101A, and seeing also Fig. 2, width A is reduced to outside USB female plug seat can't be stretched into.Please cooperate referring to Fig. 2, Fig. 3 A, Fig. 3 B, user's two-in-one USB connector 101 that pivots, 101A exposes out with USB standard A type public plug, and the USB standard Type B female plug seat 101B of opposed position collects to housing 103, and makes that USB standard Type B female plug seat 101B can't be pegged graft.The USB standard A type public plug 101A that exposes can be rotated further again, changes the direction of public plug 101A.
Fig. 4 shows the circuit structure diagram of tool USB interface bidirectional electronic device of the present invention.USB otg controller 105 is the states of being pegged graft and using according to the USB standard A type public plug 101A of 2 in 1 connector 101 and USB standard Type B female plug seat 101B, and just deciding is to adopt that a kind of operating mode to operate electronic installation 10.Storage assembly 106 is to connect USB otg controller 105, be to be used for storing data, it for example is MP3 song, digital photograph, archive files, video/audio archive or the like, and the concrete assembly of storage assembly 106 for example is to adopt semiconductor memory, Winchester disk drive, CD-ROM drive, cd-recorder or the like.Battery 107 is the electric power that is used to supply 10 palpuses of two-way storage device, and the concrete assembly of battery 107 for example is to adopt primary cell or secondary cell.USB/ battery power management unit 108 is the Vbus terminal 101C that connect USBOTG controller 105, battery 107,2 in 1 connector 101 at least, and wherein function of USB/ battery power management unit 108 is the electric power whether detecting Vbus terminal 101C exists 5V voltage (or other specified voltage).USB electric power source unit 109 is the electric power of conversion battery 107, and produces the USB electric power source, the electric power of 5V voltage for example, and this USB electric power source is the Vbus terminal 101C that is connected in 2 in 1 connector 101.
According to bidirectional electronic device 10 present user modes is to be in off-mode, or open state, and the stateless that has that whether appears at Vbus terminal 101C by 5V voltage, wherein that a kind of pattern such as bridge mode, OTG pattern, OTG conversion bridge mode, OTG interconnection pattern is adopted in 105 decisions of USB otg controller, is used as the appointment operating mode of bidirectional electronic device 10.The alleged off-mode of the present invention is meant that bidirectional electronic device 10 is to be in to close electricity (Power Off) situation, and open state is meant that bidirectional electronic device 10 is to be in electricity consumption (Power On) situation.The user can utilize mains switch 105C to open or powered-down, and bidirectional electronic device 10 is set in open state or off-mode.
Fig. 5 shows the bridge mode running figure of tool USB interface bidirectional electronic device of the present invention.Bidirectional electronic device 10 was at off-mode before entering bridge mode, and the user is plugged into the electronic installation as host apparatus (Host), for example computer with the USB standard A type public plug 101A of bidirectional electronic device 10.After the grafting, host apparatus supply 5V voltage is in Vbus terminal 101C, and subsequently, USB/ battery power management unit 108 can detect Vbus terminal 101C and have 5V voltage.Then, OTG ID signal 105A is kept high levels (High Level).USB otg controller 105 is set bidirectional electronic device 10 for bridge mode after receiving high levels OTG ID signal 105A.USB/ battery power management unit 108 receives the 5V electric power of Vbus terminal 101C, and gives the internal wiring of bidirectional electronic device 10 with this supply of electric power, and if this electric power is enough abundant, uses it to battery 107 is charged.
Fig. 6 shows the OTG mode operating figure of tool USB interface bidirectional electronic device of the present invention.Will be as the electronic installation of USB device (USB Slave Device), for example carry-on dish, be plugged to the USB standard A type public plug 101A or the USB standard Type B female plug seat 101B of bidirectional electronic device 10, the USB device electronic installation that the present invention is alleged is meant Vbus terminal and no-voltage at itself.Then, with bidirectional electronic device 10 starts.OTG ID signal 105A is kept low level (Low Level).USB electric power source unit 109 kept close (Shutdown), and detecting Vbus terminal 101C is kept in USB/ battery power management unit 108, be maintained to the first switch 105B and activated till (On), and the concrete function of the first switch 105B for example is the carrying out of indication copy function (Copy Procedure).After the first switch 105B activated, USB electric power source unit 109 was produced the USB electric power source by starting (Enable), and this USB electric power source is via the Vbus terminal 101C of 2 in 1 connector 101, and was connected to USB device electronic installation.
Fig. 7 shows the OTG conversion bridge mode running figure of tool USB interface bidirectional electronic device of the present invention.Bidirectional electronic device 10 was at open state before entering OTG conversion bridge mode, and OTG ID signal 105A is in low level (Low Level).USB electric power source unit 109 is to be in to close (Shutdown) state, and USB/ battery power management unit 108 is the states that are in detecting Vbus terminal 101C.Bidirectional electronic device 10 under the above-mentioned state is plugged to the electronic installation as host apparatus.Subsequently, the electronic installation of host apparatus supply 5V voltage is in Vbus terminal 101C, and then, USB/ battery power management unit 108 can detect Vbus terminal 101C and have 5V voltage.Then, OTGID signal 105A is kept high levels (High Level).USB otg controller 105 is set bidirectional electronic device 10 for bridge mode after receiving high levels OTG ID signal 105A.USB/ battery power management unit 108 receives the 5V electric power of Vbus terminal 101C, and gives the internal wiring of bidirectional electronic device 10 with this supply of electric power, and if this electric power is enough abundant, uses it to battery 107 is charged.
Fig. 8 shows the OTG interconnection pattern running figure of tool USB interface bidirectional electronic device of the present invention.Two bidirectional electronic devices 10 were at open state before entering the OTG interconnection pattern, and OTGID signal 105A separately is in low level (Low Level).USB electric power source unit 109 separately all is in closes (Shutdown) state, and USB/ battery power management unit 108 separately all is in the state of detecting Vbus terminal 101C.When the first switch 105B of one of them bidirectional electronic device 10 activated (On) earlier, this bidirectional electronic device 10 promptly is transformed into as host apparatus (Host), and another then is transformed into sub-device (Slave Device).The first switch 105B for example can make copy (Copy) switch, indicates USB otg controller 105 to carry out copy function (Copy Procedure).
Bidirectional electronic device 10 of the present invention can be embodied as MP3 playing device, video play device, carry-on dish, storage device or other portable electron device.
Owing to adopt USB standard A type public plug and USB standard Type B female plug seat, make the present invention can with widely used tool USB interface electronic installation, use together is connected to each other.Again because the design of the special construction between 2 in 1 connector 101 and the housing 103, make the user only can select wherein USB standard A type public plug and USB standard Type B female plug seat one for use, simultaneously, the present invention possesses the ability of automatic judgement operating mode, in view of the above, the present invention is better than the concatenation ability of the known electronic installation of tool USB interface far away.
Though the present invention discloses as above with preferred embodiment, right its is not in order to limiting the present invention, anyly is familiar with this operator, without departing from the spirit and scope of the present invention, when doing a little change and retouching, the change of doing still belongs within the claim of the present invention with retouching.