CN207718366U - A kind of USB principals and subordinates and power switching system - Google Patents

A kind of USB principals and subordinates and power switching system Download PDF

Info

Publication number
CN207718366U
CN207718366U CN201721770488.1U CN201721770488U CN207718366U CN 207718366 U CN207718366 U CN 207718366U CN 201721770488 U CN201721770488 U CN 201721770488U CN 207718366 U CN207718366 U CN 207718366U
Authority
CN
China
Prior art keywords
resistance
usb
pin
otg
power switching
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201721770488.1U
Other languages
Chinese (zh)
Inventor
洪炳林
陈星辉
张代祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujian Xinghai Communication Technology Co Ltd
Original Assignee
Fujian Xinghai Communication Technology Co Ltd
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 Fujian Xinghai Communication Technology Co Ltd filed Critical Fujian Xinghai Communication Technology Co Ltd
Priority to CN201721770488.1U priority Critical patent/CN207718366U/en
Application granted granted Critical
Publication of CN207718366U publication Critical patent/CN207718366U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Power Sources (AREA)

Abstract

The utility model provides a kind of USB principals and subordinates and power switching system, including usb circuit, OTG_ID control circuits, power switching circuit and main control module, the main control module is connect with usb circuit, OTG_ID control circuits and power switching circuit respectively, the usb circuit is additionally coupled to power switching circuit, and the OTG_ID control circuits are additionally coupled to socket CN2.The utility model saves interface resource, reduces cost, improves the reliability of circuit and reduces the complexity of design, with the simultaneously batch shipment on vehicle-mounted multimedia terminal product, prodigious convenience is brought for debugging.

Description

A kind of USB principals and subordinates and power switching system
Technical field
The utility model is related to electroporation field more particularly to a kind of USB principals and subordinates and power switching systems.
Background technology
Only there are one USB interface (USB on vehicle-mounted multimedia terminal panel:It is English Universal Serial Bus (logical With universal serial bus) abbreviation, be an external bus standard, for being connected and communicate with for specification computer and external equipment).From production Product functionally consider, are to need this USB interface being designed as USB main equipment mouth, for connecing USB flash disk, to read and write the content of USB flash disk, The function needs to drag down OTG_ID, at the same vehicle-mounted multimedia terminal toward USB interface for 5V power supplys.But it is examined from production debugging Consider, during debugging, which needs to connect computer from equipment mouth as USB, and program, the function are downloaded from computer Need to draw high OTG_ID, at the same computer by USB interface toward vehicle-mounted multimedia terminal for 5V power supplys.(wherein, OTG_ID:USB Otg standard adds power management (saving power consumption) function, it had allowed equipment both on the basis of completely compatible USB2.0 standards Host is can be used as, peripheral hardware operation (dual-purpose OTG) is also can be used as.When USB OTG technologies can realize no host equipment and equipment it Between data transmission.)
Realize that USB interface can not only be used for USB main equipment mouth, but also as USB from equipment mouth, traditional way is in vehicle It carries and designs two USB interfaces on multimedia terminal, one is used as USB main equipment mouth, another is as USB from equipment mouth.USB master Equipment mouth powers and connects USB flash disk to read and write USB flash disk content outward.USB connects computer from equipment mouth, and program is downloaded from computer.It is this to do Method needs two USB interfaces, occupies interface resource, of high cost.
Invention content
The technical problems to be solved in the utility model is to provide a kind of USB principals and subordinates and power switching system, saves and connect Mouth resource, reduces cost, improves the reliability of circuit and reduces the complexity of design, is used in vehicle-mounted multimedia terminal product Upper and batch shipment brings prodigious convenience for debugging.
The utility model is realized in this way:
A kind of USB principals and subordinates and power switching system, including usb circuit, OTG_ID control circuits, power switching circuit And main control module, the main control module are connect with usb circuit, OTG_ID control circuits and power switching circuit respectively, institute It states usb circuit and is additionally coupled to power switching circuit, the OTG_ID control circuits are additionally coupled to socket CN2.
Further, the power switching circuit includes power management chip U16, diode D3, resistance R79, resistance R274, resistance R55, capacitance C236, capacitance C171 and capacitance C183, the model of the power management chip U16 SY6288AAAC;
The first pin of the power management chip U16 respectively with the anode of diode D3, one end of capacitance C171, capacitance One end of C183 and usb circuit connection, the cathode connection of the 5th pin and diode D3 of the power management chip U16 To power supply, the 4th pin of the power management chip U16 respectively with one end of capacitance C236, one end of resistance R274 and resistance One end of R79 connects, and the other end of the resistance R79 is connected to the OTG_DRV pins of main control module, the power management chip The third pin of U16 is connected to one end of resistance R55, the second pin of the power management chip U16, capacitance C236 it is another The other end at end, the other end of capacitance C171, the other end of capacitance C183, the other end of resistance R274 and resistance R5 is grounded.
Further, the OTG_ID control circuits include two-way TVS diode ED29, resistance R34 7 and resistance R34 8, One end of the resistance R34 7 is connected to power supply, and the other end of the resistance R34 7 and one end of resistance R34 8 are connected to master control The OTG_ID1 pins of module, the other end of the resistance R34 8 respectively with one end of two-way TVS diode ED29 and socket CN2 Single port connection, the another port ground connection of the other end of the two-way TVS diode ED29 and socket CN2.
Further, the usb circuit includes USB interface U852, resistance R66 and resistance R68, the USB interface The model NC/USB3130-30-A of U852;
The first pin of the USB interface U852 is connected to power switching circuit, the second pin of the USB interface U852 The OTG_DM pins of main control module are connected to by resistance R66, the third pin is connected to main control module by resistance R68 OTG_DP pins, the 4th pin, the 6th pin and the 7th pin of the USB interface U852 are grounded.
Further, the usb circuit further includes ESD protection chips U104, the type of the ESD protection chips U104 Number it is ESDR0502B, the first pin of ESD protection chip U104 is connected to the third pin of the USB interface U852, institute The second pin for stating ESD protection chips U104 is connected to the second pin of the USB interface U852, and the ESD protects chip The third pin of U104 is grounded.
The utility model has the advantage of:The utility model is applied on vehicle-mounted multimedia terminal, and interface money is saved Source keeps vehicle-mounted multimedia terminal product more flexible when test and use, and USB interface is made full use of to belong to principal and subordinate Property, OTG_ID1 can be drawn high or dragged down by OTG_ID (socket CN2), and main control module (CPU) recognizes the electricity of OTG_ID1 After flat, control OTG_DRV inputs, and then switched between principal and subordinate to control USB interface by power supply chip U16, while in 5V In power supply, when vehicle-mounted multimedia terminal is as USB main equipment, vehicle-mounted multimedia terminal passes through power supply chip U16 (SY6280AAAC) it powers outward, USB flash disk can be connect, to read and write the content of USB flash disk;When vehicle-mounted multimedia terminal as USB from equipment When, computer provides power supply by USB interface and diode to vehicle-mounted multimedia terminal, thus when downloading program, vehicle Carrying multimedia terminal can take electricity to complete program burn writing by USB interface, be not necessarily to external power supply.
Description of the drawings
The utility model is further described in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is a kind of structural schematic diagram of USB principals and subordinates and power switching system of the utility model.
Fig. 2 is the physical circuit connection diagram of power switching circuit in the utility model.
Fig. 3 is the physical circuit connection diagram of OTG_ID control circuits in the utility model.
Fig. 4 is the physical circuit connection diagram of usb circuit in the utility model.
Specific implementation mode
The utility model is made with reference to specific embodiment and being further described in detail, but the structure of the utility model It is not limited in following embodiment.
Refering to Figure 1, a kind of USB principals and subordinates of the utility model and power switching system, including usb circuit, OTG_ID control circuits, power switching circuit and main control module, the main control module are controlled with usb circuit, OTG_ID respectively Circuit and power switching circuit connection processed, the usb circuit are additionally coupled to power switching circuit, the OTG_ID controls electricity Road is additionally coupled to socket CN2.
As shown in Fig. 2, the power switching circuit includes power management chip U16, diode D3, resistance R79, resistance R274, resistance R55, capacitance C236, capacitance C171 and capacitance C183, the model of the power management chip U16 SY6288AAAC;
The first pin of the power management chip U16 respectively with the anode of diode D3, one end of capacitance C171, capacitance One end of C183 and usb circuit connection, the cathode connection of the 5th pin and diode D3 of the power management chip U16 To power supply, the 4th pin of the power management chip U16 respectively with one end of capacitance C236, one end of resistance R274 and resistance One end of R79 connects, and the other end of the resistance R79 is connected to the OTG_DRV pins of main control module, the power management chip The third pin of U16 is connected to one end of resistance R55, the second pin of the power management chip U16, capacitance C236 it is another The other end at end, the other end of capacitance C171, the other end of capacitance C183, the other end of resistance R274 and resistance R5 is grounded.
As shown in figure 3, the OTG_ID control circuits include two-way TVS diode ED29, resistance R34 7 and resistance R34 8, One end of the resistance R34 7 is connected to power supply, and the other end of the resistance R34 7 and one end of resistance R34 8 are connected to master control The OTG_ID1 pins of module, the other end of the resistance R34 8 respectively with one end of two-way TVS diode ED29 and socket CN2 Single port connection, the another port ground connection of the other end of the two-way TVS diode ED29 and socket CN2.
As shown in figure 4, the usb circuit includes USB interface U852, resistance R66, resistance R68 and ESD protection chip The model NC/USB3130-30-A of U104, the USB interface U852, the model of the ESD protection chips U104 ESDR0502B;
The first pin of the USB interface U852 is connected to power switching circuit, the second pin of the USB interface U852 The OTG_DM pins of main control module are connected to by resistance R66, the third pin is connected to main control module by resistance R68 OTG_DP pins, the 4th pin, the 6th pin and the 7th pin of the USB interface U852 are grounded;The ESD protects chip The first pin of U104 is connected to the third pin of the USB interface U852, and the second pin of the ESD protection chips U104 connects It is connected to the second pin of the USB interface U852, the third pin ground connection of the ESD protection chips U104.
The operation principle of the utility model is as follows:
The utility model is to be used for vehicle-mounted multimedia terminal, by a usb circuit, OTG_ID control circuits, is supplied Electrical switching circuit and main control module (CPU) are constituted.
1, when vehicle-mounted multimedia terminal needs to connect USB flash disk, OTG_ID1 is hanging, and OTG_ID1 is pulled up resistance R34 7 and draws high, Vehicle-mounted multimedia terminal is needed toward USB interface as main equipment for 5V power supplys.OTG_ID1 is detection port, when CPU is detected When OTG_ID1 is high level, CPU draws high OTG_DRV, and control power management chip U16 (SY6288AAAC) inputs 5V and arrives VBUS0, USB interface just obtain 5V power supplys, and to which USB flash disk also obtains 5V power supplys, the wherein SET pins of power management chip U16 connect The resistance R55 of 13K resistance values, the resistance determine USB interface VBUS0 output maximum current, by formula Ilim (A)= 6800/R55 (ohm)=6800/13000=0.52A is calculated.Power management chip U16 is USB current limiting switches, can be effective Prevent damage caused by overcurrent and short circuit.
2, when vehicle-mounted multimedia terminal needs to download program by USB interface, electricity is artificially controlled by OTG_ID The OTG_ID of road controls OTG_ID1, and OTG_ID1 is dragged down, vehicle-mounted multimedia terminal according to OTG_ID1 judge to need as from Equipment provides USB power source without vehicle-mounted multimedia terminal, so CPU drags down OTG_DRV, closes power management chip U16 (SY6288AAAC) it exports.At this point, the 5V power supplys that the USB interface of computer Gong comes over supply VCC_5V by diode D3, it should VCC_5V is converted to each road voltage of CPU needs by the power management chip U16 of vehicle-mounted multimedia terminal, ensures that CPU is normal Power supply provides power supply to download program.To realize the switching of power supply.
The advantages of the utility model, is as follows:
The utility model is applied on vehicle-mounted multimedia terminal, and interface resource is saved, and vehicle-mounted multimedia terminal is made to produce Product are more flexible when test and use, make full use of USB interface to have principal and subordinate's attribute, can pass through OTG_ID (sockets CN2) draw high or drag down OTG_ID1, after main control module (CPU) recognizes the level of OTG_ID1, control OTG_DRV inputs, into And switched to control USB interface between principal and subordinate by power supply chip U16, while in 5V power supplies, working as vehicle-mounted multimedia terminal When as USB main equipment, vehicle-mounted multimedia terminal is powered outward by power supply chip U16 (SY6280AAAC), can meet U Disk, to read and write the content of USB flash disk;When vehicle-mounted multimedia terminal as USB from equipment when, computer passes through USB interface and two poles Pipe provides power supply to vehicle-mounted multimedia terminal, to which when downloading program, vehicle-mounted multimedia terminal can be taken by USB interface Electricity completes program burn writing, is not necessarily to external power supply.
Although the foregoing describe specific embodiment of the present utility model, those familiar with the art answers Working as understanding, we are merely exemplary described specific embodiment, rather than for the limit to the scope of the utility model Fixed, those skilled in the art modification and variation equivalent made by the spirit according to the utility model all should Cover in the scope of the claimed protection of the utility model.

Claims (5)

1. a kind of USB principals and subordinates and power switching system, it is characterised in that:Including usb circuit, OTG_ID control circuits, supply Electrical switching circuit and main control module, the main control module are electric with usb circuit, OTG_ID control circuits and power switching respectively Road connects, and the usb circuit is additionally coupled to power switching circuit, and the OTG_ID control circuits are additionally coupled to socket CN2.
2. a kind of USB principals and subordinates as described in claim 1 and power switching system, it is characterised in that:The power switching circuit Including power management chip U16, diode D3, resistance R79, resistance R274, resistance R55, capacitance C236, capacitance C171 and capacitance C183, the model SY6288AAAC of the power management chip U16;
The first pin of the power management chip U16 respectively with the anode of diode D3, one end of capacitance C171, capacitance C183 One end and usb circuit connection, the 5th pin of the power management chip U16 and the cathode of diode D3 are connected to electricity Source, the 4th pin of the power management chip U16 respectively with one end of capacitance C236, one end of resistance R274 and resistance R79 One end connection, the other end of the resistance R79 is connected to the OTG_DRV pins of main control module, the power management chip U16 Third pin be connected to one end of resistance R55, the second pin of the power management chip U16, the other end of capacitance C236, The other end of capacitance C171, the other end of capacitance C183, the other end of resistance R274 and resistance R5 the other end be grounded.
3. a kind of USB principals and subordinates as claimed in claim 2 and power switching system, it is characterised in that:The OTG_ID controls electricity Road includes two-way TVS diode ED29, resistance R34 7 and resistance R34 8, and one end of the resistance R34 7 is connected to power supply, described The other end of resistance R34 7 and one end of resistance R34 8 are connected to the OTG_ID1 pins of main control module, the resistance R34 8 The other end is connect with the Single port of one end of two-way TVS diode ED29 and socket CN2 respectively, the two-way TVS diode The other end of ED29 and the another port ground connection of socket CN2.
4. a kind of USB principals and subordinates as claimed in claim 3 and power switching system, it is characterised in that:The usb circuit packet Include USB interface U852, resistance R66 and resistance R68, the model NC/USB3130-30-A of the USB interface U852;
The first pin of the USB interface U852 is connected to power switching circuit, and the second pin of the USB interface U852 passes through Resistance R66 is connected to the OTG_DM pins of main control module, and the third pin is connected to the OTG_ of main control module by resistance R68 DP pins, the 4th pin, the 6th pin and the 7th pin of the USB interface U852 are grounded.
5. a kind of USB principals and subordinates as claimed in claim 4 and power switching system, it is characterised in that:The usb circuit is also Including ESD protection chips U104, the model ESDR0502B, the ESD protection chips U104 of the ESD protection chips U104 The first pin be connected to the third pin of the USB interface U852, the second pin of the ESD protection chips U104 is connected to The second pin of the USB interface U852, the third pin ground connection of the ESD protection chips U104.
CN201721770488.1U 2017-12-18 2017-12-18 A kind of USB principals and subordinates and power switching system Active CN207718366U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201721770488.1U CN207718366U (en) 2017-12-18 2017-12-18 A kind of USB principals and subordinates and power switching system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201721770488.1U CN207718366U (en) 2017-12-18 2017-12-18 A kind of USB principals and subordinates and power switching system

Publications (1)

Publication Number Publication Date
CN207718366U true CN207718366U (en) 2018-08-10

Family

ID=63056315

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201721770488.1U Active CN207718366U (en) 2017-12-18 2017-12-18 A kind of USB principals and subordinates and power switching system

Country Status (1)

Country Link
CN (1) CN207718366U (en)

Similar Documents

Publication Publication Date Title
US10204069B2 (en) USB PHY adapter IC with and circuit VBUS present output
CN102750252B (en) USB/UART interface multiplexing circuit and use the electronic equipment of this circuit
CN105281398B (en) Portable equipment, CA cable assembly and USB system
CN106066840A (en) A kind of method switching electronic equipment master slave mode and a kind of electronic equipment
CN204633058U (en) USB Type-C connector modules
CN204836132U (en) Serial interface on communication equipment's veneer switches control circuit
CN204028959U (en) A kind of portable IC card supplements read write line with money
CN204243155U (en) A kind of centralized battery management system framework
CN103219042B (en) Circuit and the memory circuitry of burning program is realized by USB interface
CN103546114A (en) Circuit and method for adjusting pull-up voltage of bus according to pull-up voltage of slave unit
CN207718366U (en) A kind of USB principals and subordinates and power switching system
CN103473208B (en) Transmission system
CN107153456A (en) OTG connections control method, OTG connection control devices and electronic equipment
CN106774769A (en) The changing method and device of a kind of terminal work mode, handheld terminal
CN203643893U (en) Terminal equipment
CN203658990U (en) Debugging device for central processing unit
CN204633059U (en) USB Type-C connector modules
CN209249821U (en) USB network hub
CN201667067U (en) USB interface
CN204808314U (en) USB concentrator
CN204480237U (en) A kind of connector, universal serial bus device and intelligent terminal
CN209433399U (en) Usb circuit and electronic equipment
CN209388295U (en) A kind of usb circuit and electronic equipment for realizing while charging and powering
CN209401012U (en) A kind of USB interface power control
CN102364452A (en) Realization method for thermal plugging use of PS2 interface keyboard and mouse

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant