CN106961059A - Two-sided identification switching circuit and magnetic connector applied to magnetic connector - Google Patents
Two-sided identification switching circuit and magnetic connector applied to magnetic connector Download PDFInfo
- Publication number
- CN106961059A CN106961059A CN201610019148.9A CN201610019148A CN106961059A CN 106961059 A CN106961059 A CN 106961059A CN 201610019148 A CN201610019148 A CN 201610019148A CN 106961059 A CN106961059 A CN 106961059A
- Authority
- CN
- China
- Prior art keywords
- magnetic force
- pin
- interface
- circuit
- magnetic
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01R—ELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
- H01R31/00—Coupling parts supported only by co-operation with counterpart
- H01R31/06—Intermediate parts for linking two coupling parts, e.g. adapter
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01R—ELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
- H01R13/00—Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
- H01R13/02—Contact members
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01R—ELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
- H01R13/00—Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
- H01R13/62—Means for facilitating engagement or disengagement of coupling parts or for holding them in engagement
- H01R13/6205—Two-part coupling devices held in engagement by a magnet
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01R—ELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
- H01R13/00—Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
- H01R13/66—Structural association with built-in electrical component
- H01R13/665—Structural association with built-in electrical component with built-in electronic circuit
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01R—ELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
- H01R13/00—Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
- H01R13/66—Structural association with built-in electrical component
- H01R13/665—Structural association with built-in electrical component with built-in electronic circuit
- H01R13/6683—Structural association with built-in electrical component with built-in electronic circuit with built-in sensor
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01R—ELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
- H01R13/00—Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
- H01R13/66—Structural association with built-in electrical component
- H01R13/70—Structural association with built-in electrical component with built-in switch
Landscapes
- Engineering & Computer Science (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Details Of Connecting Devices For Male And Female Coupling (AREA)
Abstract
The present invention discloses the two-sided identification switching circuit and magnetic connector applied to magnetic connector, and the two-sided identification switching circuit includes:Magnetic force interface is inputted, it has two direction signal pins for being configured to varying level;Magnetic force interface is exported, it is adapted with the input magnetic force interface and with detecting pin corresponding with the direction signal pin of the input magnetic force interface;Recognition control circuit, for detect it is described output magnetic force interface the detecting pin level with determine it is described output magnetic force interface and the input magnetic force interface connection status and produce corresponding switch-over control signal;Switching circuit, for being switched over according to the switch-over control signal to the circuit connection of the magnetic connector.The present invention solves the problems such as conventional magnetic connector circuit is unstable, efficiency is low, high cost, circuit complicated, technology difficulty is big, significantly improves the stability and circuit switching efficiency of circuit, reduces the cost and technology difficulty of product.
Description
Technical field
Two-sided identification switching circuit the present invention relates to magnetic connector and applied to magnetic connector, particularly
The two-sided identification of magnetic connector and circuit switched techniques.
Background technology
Electrical connection between current electronic equipment depends on connector, and such as mobile phone is usually required by connection
The equipment such as device and power supply adaptor, PC are plugged.In order to lift user experience, technical staff's design
Magnetic connector.In the Chinese utility model patent application CN201520088692.X (applyings date:2015.02.06;
Applicant:Hei Yu Science and Technology Ltd.s of Shenzhen) in disclose a kind of electric connecting device with interface head.
Figure 13 of this application shows the mated condition of electric connecting device and electronic installation.The electric connecting device is included all the time
The T-shaped interface head (magnetic connector) that is plugged on the charging inlet of mobile phone and it is connected with original-pack data wire
Magnetic data line, pass through the adhesive between the magnetic force interface of interface head and the magnetic force interface of magnetic data line
Mobile phone is connected with original-pack data wire, so that plug operation is replaced with into magnetic attraction operation.Magnetic force is connected
In automatic pick under magneticaction user can be allow need not to connect after the magnetic force interface of device is adjacent to each other
Mouth alignment grafting, so that attended operation is simplified.A pair of the pin of usual interface necessary 1 when connector is connected
It should connect, for example, have two USB interface matched each other A and USB interface B, interface A power positive cathode pipe
Pin needs the power positive cathode pin with interface B to contact the power circuit for constituting connection respectively.Interface A signal
Pin D+, D- must also be contacted with interface B corresponding signal pin D+, D-, could so form connection
Signal circuit, could normal work after connector connection.If reverse interface connect, respective pin just often without
, there is the situation of such as interface A D+ pins and interface B D- pins contacts in method correspondence, therefore circuit is with regard to nothing
Method is normally connected.This be also the standard interfaces such as USB, HDMI can only one side grafting the reason for.But one side
Grafting can make troubles to attended operation.Therefore, grafting operation is simplified in order to further, it is necessary to connect magnetic force
The positive and negative of device automatic identification interface is connect, and always circuit is switched over automatically according to the connection side of interface,
Ensure the correct connection of power circuit and signal circuit.Existing magnetic connector, is all largely only on the market
It can carry out that two-sided charging can not transmit data or one side charging one side passes data to equipment, it is only very small by one
Part can accomplish that the magnetic data line identification method of the two-sided two-sided charging of transmission data is extremely complex and mode is not steady enough
It is fixed, and existing volume is larger on the market can not be applicable various accessories (for example:Protect shell), while excessive
Circuit volume causes magnetic force inadequate.And current circuit cost is higher, product selling at exorbitant prices itself is caused.
The content of the invention
It is an object of the present invention to provide being applied to that a kind of high efficiency, low cost, small volume, performance are stablized
The two-sided identification switching circuit of magnetic connector.
It is a further object to provide a kind of high efficiency, low cost, small volume, can double-side plug-in magnetic
Power connector.
The present invention is realizes that a technical scheme that its technical purpose is provided is that a kind of magnetic force that is applied to of construction is connected
The two-sided identification switching circuit of device, it includes:Magnetic force interface is inputted, it has two and is configured to varying level
Direction signal pin;The output magnetic force interface being adapted with the input magnetic force interface, it has and the input
The signal pin of magnetic force interface detects pin correspondingly;Recognition control circuit, for detecting the output magnetic
The level of the detecting pin of power interface with determine it is described output magnetic force interface and the input magnetic force interface company
Connect state and produce corresponding switch-over control signal;Switching circuit, for according to the switch-over control signal to institute
The circuit connection for stating magnetic connector is switched over.
Optionally, it is described input magnetic force interface direction signal pin in a pin configuration be it is hanging, it is another
Individual pin is connected to the ground.
Optionally, the output magnetic force interface includes the first conducting magnetic iron and the second conducting magnetic iron of mutual insulating,
Wherein described first conducting magnetic iron ground connection;Also, the recognition control circuit is by detecting second conductive magnetism
The level of iron with determine it is described input magnetic force interface and the output magnetic force interface attracting state.
Optionally, the power pin of the direction signal pin of the input magnetic force interface and the input magnetic force interface
Multiplexing.
Optionally, the pin placed in the middle in the input magnetic force interface pin and a short circuit in signal pin, and
And, pin placed in the middle and power pin or ground pin short circuit in the output magnetic force interface pin.
Further, the switching circuit includes:Power supply switch circuit, for the connection of Switching power circuit,
And signal switching circuit, the connection for switching signal circuit.
Further, the data exchange circuit includes multiway analog switch chip.
The present invention to realize that another technical scheme that its technical purpose is provided is to construct a kind of magnetic connector,
It has two-sided identification switching circuit, and the two-sided identification switching circuit includes:Magnetic force interface is inputted, it has two
The individual direction signal pin for being configured to varying level;The output magnetic force interface being adapted with the input magnetic force interface,
There is the signal pin with the input magnetic force interface to detect pin correspondingly for it;Recognition control circuit, is used
In the level for the detecting pin for detecting the output magnetic force interface to determine the output magnetic force interface and described
Input the connection status of magnetic force interface and produce corresponding switch-over control signal;Switching circuit, for according to described
Circuit connection of the switch-over control signal to the magnetic connector is switched over.
Further, the magnetic connector can include interface head and turn being adapted to the interface head
Device is connect, wherein, the interface head is suitable to be plugged in the input interface of electronic installation with by plug-in type interface
Magnetic attraction interface is converted to, the adapter is magnetic force patchcord, magnetic force adapter or magnetic force adapter.
Further, the output magnetic force interface, recognition control circuit and switching circuit are arranged at the adapter
Interior, the input magnetic force interface is arranged in the interface head.
Optionally, it is described input magnetic force interface direction signal pin in a pin configuration be it is hanging, it is another
Individual pin ground connection.
Optionally, the output magnetic force interface includes the first conducting magnetic iron and the second conducting magnetic iron of mutual insulating,
Wherein described first conducting magnetic iron ground connection;Also, the recognition control circuit is by detecting second conductive magnetism
The level of iron with determine it is described input magnetic force interface and the output magnetic force interface attracting state.
Optionally, the power pin of the direction signal pin of the input magnetic force interface and the input magnetic force interface
Multiplexing.
Optionally, the pin placed in the middle in the input magnetic force interface pin and a short circuit in signal pin, and
And, pin placed in the middle and power pin or ground pin short circuit in the output magnetic force interface pin.
Further, the switching circuit includes:Power supply switch circuit, for the connection of Switching power circuit,
And signal switching circuit, the connection for switching signal circuit.
Further, the data exchange circuit includes multiway analog switch chip.
The beneficial effects of the invention are as follows:When the input magnetic force interface and the output magnetic force interface adhesive, institute
The pin for stating input magnetic force interface is electrically connected with the pin of the output magnetic force interface, and the recognition control circuit leads to
Cross the level for detecting pin that detection is electrically connected with the direction signal pin with varying level, and according to measuring
Electrical level judging currently inputs the connection status of magnetic force interface and output magnetic force interface, and correspondingly sends control signal
To drive the switching circuit to switch over circuit connection.So that magnetic force interface is inserted in positive grafting and reverse side
Circuit can be connected normally when connecing.
Brief description of the drawings
Fig. 1 is the use state schematic diagram of the magnetic connector of the present invention;
Fig. 2 a are the decomposing schematic representations of the use state of the magnetic connector of the present invention, and wherein adapter turns for magnetic force
Joint;
Fig. 2 b are the use state decomposing schematic representations of the magnetic connector of the present invention, and wherein adapter is transferred for magnetic force
Line;
Fig. 2 c are the schematic perspective views of another magnetic force patchcord as adapter;
Fig. 2 d are a kind of schematic perspective views of magnetic force adapter as adapter;
Fig. 2 e are the schematic perspective views of another magnetic force patchcord as adapter;
Fig. 3 shows the circuit block diagram of the two-sided identification switching circuit according to an embodiment of the invention;
Fig. 4 is the circuit theory diagrams of the two-sided identification switching circuit in the first embodiment of the present invention;
Fig. 5 is the circuit theory diagrams of the two-sided identification switching circuit in the second embodiment of the present invention;
Fig. 6 is the circuit theory diagrams of the two-sided identification switching circuit in the third embodiment of the present invention;
Fig. 7 is the circuit theory diagrams of the two-sided identification switching circuit in the fourth embodiment of the present invention;
Fig. 8 is the circuit theory diagrams of the two-sided identification switching circuit in the fifth embodiment of the present invention.
Embodiment
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein from beginning
Same or similar element or element with same or like function are represented to same or similar label eventually.Under
The embodiment that face is described by reference to accompanying drawing is exemplary, is only used for explaining the present invention, and it is not intended that right
The limitation of the present invention.
The present invention provides a kind of magnetic connector 1000.The magnetic connector 1000 includes the (example of adapter 300
Such as adapter 300a, 300b, 300c, 300d, 300e) and interface first 200.The adapter 300
Coordinate with first 200 magnetic of the interface.As shown in Fig. 1 to Fig. 2 d, the adapter 300 can be used
Magnetic force patchcord 300b, 300c, 300e, magnetic force adapter 300a or magnetic force adapter 300d.Magnetic force is transferred
Head 300a structure is referred to the Chinese utility model patent application CN201520710661.3 of the applicant.Magnetic
Power patchcord 300b, 300c concrete structure are referred to the Chinese utility model patent application of the applicant
CN201520088692.X and Chinese design patent application CN201530092748.4.Magnetic force adapter 300d
Concrete structure be referred to Chinese design patent application CN201530328101.7 and the China of the applicant
Utility application CN201520088692.X (with reference to Fig. 9-Figure 11 in the patent document).The application is led to
The mode quoted is crossed by the Chinese utility model patent application CN201520088692.X (applyings date:2015.02.06;
Applicant:Hei Yu Science and Technology Ltd.s of Shenzhen) full text be hereby incorporated by.
In combination with Fig. 1 and Fig. 2 a, the magnetic connector 1000 includes interface first 200 and connect with described
The magnetic force adapter 300a that mouth adapter 200 is adapted to.Wherein, the interface first 200 can be with
The adapter of all kinds of USB interfaces such as Micro-USB interfaces, the Type-C interfaces of USB 3.1 or lightning Interface Matching,
Suitable for be plugged on electronic installation 400 charging and/or input interface in using by plug-in type interface conversion as magnetic attraction
Interface.The concrete structure of interface first 200 is referred to Chinese utility model patent application
CN201520088692.X, the application is by reference by Chinese utility model patent application
CN201520088692.X (the applyings date:2015.02.06;Applicant:Hei Yu Science and Technology Ltd.s of Shenzhen)
Full text be hereby incorporated by.The concrete structure of interface head can also be with reference to Chinese utility model patent application
T-shaped charging adapter described in CN2015210621554, the application is practical new by the China by reference
Type patent application (the applying date:2015-12-17;Applicant:Hei Yu Science and Technology Ltd.s of Shenzhen) full text
It is hereby incorporated by.
The magnetic force adapter 300a be used for first 200 adhesive of the interface, magnetic force adapter 300a is also
With the grafting of inserted terminal 520 of the adaptation data line 500 of electronic installation 400.The second of adaptation data line 500 inserts
End 510 is connect to be suitable to and Universal USB interface grafting.So, magnetic force adapter and interface of the invention
Head relies on magnetic attraction so that the adaptation data line of electronic installation, magnetic force adapter, interface head, electronics
Device is sequentially connected electrically.
As shown in Figure 2 b, adapter is magnetic force patchcord 300b.Magnetic force patchcord 300b has magnetic end 301b
With USB ends 302b.Because authentication module is built in interface first 200, so magnetic force patchcord 300b
Magnetic end 301b volume can be smaller;Moreover, the interface head for Lightning interfaces is with using
Magnetic force patchcord 300b can be shared in the interface head of USB interface.As shown in Figure 2 e, adapter is using outer
See simpler magnetic force patchcord 300e.Magnetic force patchcord 300e has magnetic end 301e and USB ends
302e.Because authentication module is built in interface first 200, so magnetic force patchcord 300e magnetic end
Portion 301e volume can be smaller;Moreover, the interface head for Lightning interfaces is with being used for all kinds of USB
The interface head of interface can share magnetic force patchcord 300e.
As shown in Figure 2 c, adapter is magnetic force patchcord 300c.Magnetic force patchcord 300c has magnetic end 301c
With data wire inserted terminal 302c.Magnetic end 301c and interface first 200 rear portion hard contact adhesive;Number
According to line inserted terminal 302c and the second of the adaptation data line 500 of electronic installation (being, for example, iPhone mobile phones) 400
The grafting of inserted terminal 520.Because authentication module is built in interface first 200, so magnetic force patchcord 300c
Magnetic end 301c volume can be smaller;Moreover, the interface head for Lightning interfaces is with using
Magnetic force patchcord 300c can be shared in the interface head of USB interface.
As shown in Figure 2 d, adapter is magnetic force adapter 300d.Magnetic force adapter 300d has magnetic contact site
301d.Magnetic contact site 301d and interface first 200 rear portion hard contact adhesive.Due to authentication mould
Block is built in interface first 200, so magnetic force adapter 300d volume can be smaller;Moreover, being used for
The interface head of Lightning interfaces can share magnetic force adapter with the interface head for USB interface
300d。
The present invention also provides a kind of two-sided identification switching circuit applied to foregoing magnetic connector.Fig. 3 is shown
According to the circuit block diagram of the two-sided identification switching circuit of an embodiment of the invention.As shown in figure 3, two-sided
Recognize switching circuit 100 include input interface circuit 110, recognition control circuit 130, data exchange circuit 140,
Power supply switch circuit 150, output magnetic force interface 160 and input magnetic force interface 170.
The data pins of input interface circuit 110 pass through data exchange circuit 140 and output magnetic force interface 160
Data pins are connected.The power circuit of input interface circuit 110 passes through power supply switch circuit 150 and output magnetic force
The power pin of interface 160 is connected.
Recognition control circuit 130 and output magnetic force interface 160, power supply switch circuit 150 and data exchange circuit
140 electrical connections.Power supply switch circuit 150 and data exchange circuit 140 constitute switching circuit, for cutting respectively
Change power circuit and data circuit.
Magnetic force interface 160 is exported in addition to power positive cathode pin and data pins, is also detectd with least two
Test tube pin, input magnetic force interface 170 is in addition to power positive cathode pin and data pins, also with least two
Individual direction signal pin corresponding with detecting pin.Magnetic force interface 160 is exported to be suitable to and input magnetic force interface 170
Adhesive.When exporting magnetic force interface 160 with input magnetic force 170 adhesive of interface, the detecting pin is believed with direction
The electrical connection of number pin, the power positive cathode pin of output magnetic force interface 160, data pins respectively with input magnetic force
The power positive cathode pin of interface 170, data pins contact.
When exporting magnetic force interface 160 with input magnetic force 170 adhesive of interface, recognition control circuit 130 passes through inspection
The level for the detecting pin for exporting magnetic force interface 160 is surveyed to judge currently to export magnetic force interface 160 and input magnetic force
The closure of interface 170, and electricity is exported to power supply switch circuit 150 and data exchange circuit 140 respectively
Source switch-over control signal and data switch-over control signal (the two is referred to as switch-over control signal).Power supply switch circuit
150 and data switching circuit 140 according to switch-over control signal to input interface circuit 110 with output magnetic force interface
Circuit connection between 160 is switched over.Specific switching mode will be elaborated in the following embodiments.
In certain embodiments, two-sided identification switching circuit 100 may also include ID circuits 120 so as to apple interface
With usb compatible.ID circuits 120 can use prior art, not repeat.Preferably, ID circuits
The ID circuits used in the 120 C48 data wires produced using Apple Inc..Certainly, ID circuits 120 can also
Using other known authentication circuit, as long as the authentication between electronic equipment can be realized and loaded.
With reference to Fig. 2 a- Fig. 2 d, in certain embodiments, the input interface electricity in two-sided identification switching circuit 100
Road 110, recognition control circuit 130, data exchange circuit 140, power supply switch circuit 150, output magnetic force connect
Mouth 160 can be arranged in foregoing adapter 300a, 300b, 300c, 300d, 300e.Meanwhile, it is two-sided
Input magnetic force interface 170 in identification switching circuit 100 may be disposed in foregoing interface first 200.When
When interface first 200 is plugged in electronic installation 400, input magnetic force interface 170 is electrically connected with electronic installation 400
Connect.
When magnetic force adapter 300a is as adapter, two-sided identification switching circuit 100 passes through input interface circuit
110 electrically connect with the patchcord 500 that is adapted to of electronic installation 400.When magnetic force patchcord 300b is as adapter,
USB ends 302b is configured to, output magnetic force interface 160 is configured to magnetic end 301b.As magnetic force patchcord 300c
During as adapter, the input interface circuit 110 of input interface circuit 110 is configured to data wire inserted terminal 302c,
Output magnetic force interface 160 is configured to magnetic end 301c.When magnetic force adapter 300d is as adapter, input
The input interface circuit 110 of interface circuit 110 can be configured to a USB or lightning interface, output magnetic force interface 160
It can be configured to magnetic contact site 301d.
When output magnetic force interface 160 and the adhesive of input magnetic force interface 170, electronic installation 400 can be turned by interface
Joint 200, adapter 300a, 300b, 300c, 300d, 300e are connected with power supply or other electronic equipments.
In some different embodiments, each unit module of two-sided identification switching circuit 100 can be integrated in electricity
Sub- device interior, i.e. power supply switch circuit 150, data exchange circuit 140 and/or input magnetic force interface 170 with
Power circuit both positive and negative polarity and signal circuit D+, D- in electronic equipment are joined directly together, so as to simplify adapter
And/or interface head.
Fig. 4 is the circuit theory diagrams of the two-sided identification switching circuit in the first embodiment of the present invention.Such as Fig. 4 institutes
Show, this first embodiment is applied to apple equipment and the equipment of other compatible USB standards.Input interface circuit 110
Including usb 1 12, usb 1 12 has power circuit pin V+ and V-, and data circuit pin
D+ and D-.Usb 1 12 also has the MC pins electrically connected with metal-back, the MC pins and power pin
V- is connected and is grounded.The power pins V+ of usb 1 12 by ID by occurring the P-MOS that circuit 120 is controlled
(metal-oxide semiconductor (MOS)) transistor AND gate connection terminal V+ is connected.The data pin D+ of usb 1 12 and
D- is connected with the IC1 of data exchange circuit 140 input pin.Usb 1 12 can meet USB standard
All kinds of interfaces, for example, USB A classes, B classes or C class interfaces.In certain embodiments, input interface electricity
Road 110 can also include other interfaces in addition to USB interface, and the Lightning of for example, Apple Inc. connects
Mouthful.
Recognition control circuit 130 includes Micro-processor MCV, and MCU can use single-chip microcomputer, programmable logic array
Deng microcontroller implementation.MCU two input ports CSS, OSS are connected to connection terminal V+ by pullup resistor,
And be connected respectively with exporting detecting pin CSS, OSS of magnetic force interface 160.When output magnetic force interface 160 not with
When inputting the connection of magnetic force interface 170, MCU input ports CSS, OSS are H and (in this manual, are letter
Just for the sake of, represent that current potential is in high level and " L " represents that current potential is in low level with " H ").
The pin of input magnetic force interface 170 put in order for:Pin 1 is that direction signal pin MC, pin 2 are
Positive source pin V+, pin 3 are that data pins D-, pin 4 are that ID signal pins ID, pin 5 are several
It is that power cathode pin V-, pin 7 are direction signal pin NC according to pin D+, pin 6.Input magnetic force interface
170 also include the conductive contact surfaces 172 that conductive magneto-conductive material is made, and this conductive contact surfaces 172 is connected to direction letter
Vacant state inside number pin MC ends, direction signal pin NC.
The pin of output magnetic force interface 160 put in order for:Pin 1 is that detecting pin CSS, pin 2 are compound
Type power pin V1, pin 3 are that composite data pin D1, pin 4 are ID signal pins ID, pin 5
It is composite power supply pin V2 for composite data pin D2, pin 6, and pin 7 is detecting pin OSS.
Exporting magnetic force interface 160 also has conducting magnetic iron surface 162, during for input interface circuit 110 for USB interface,
Conducting magnetic iron surface 162 is connected to power cathode.It is that (lightning connects lightning interface for input interface circuit 110
Mouthful be a kind of interface for mobile device that Apple Inc. formulates, hereinafter referred to as Lightning) magnetic force connect
Device, conducting magnetic iron surface 162 is connected to dedicated pin X, and (after Lightning is accessed, this pin is connected to electricity
Source negative pole).
Switching circuit includes power supply switch circuit 150 and signal switching circuit 140.Wherein, power supply switch circuit
150 include P-MOS transistor Q1 and Q2, and N-MOS transistors Q3 and Q4.Q1 and Q2 source electrode with
Power positive end V+ is connected, and Q3 and Q4 source electrode are connected with power cathode GND ends.Q1, Q2, Q3 and Q4's
Grid is respectively with recognizing that input pin IP1, IN1, IP2, IN2 of control signal 130 are connected.Q1's and Q3
Drain and be connected with exporting the composite power supply pin V1 of magnetic force interface 160, Q2 and Q4 drain electrode and output magnetic force
The composite power supply pin V2 of interface 160 is connected.Signal switching circuit 140 includes two-way analog switch IC1,
The signal terminals of IC1 input pin DP1, DP2, DN1, DN2 respectively with being drawn by input interface circuit 110
D1- is connected with D1+, and IC1 output pin DP and DN is respectively with exporting the pin 5 of magnetic force interface 160 and managing
Pin 3 be connected, for output magnetic force interface 160 and input interface circuit 110 between data circuit connect into
Row switching.
(that is, magnetic force interface 160 is exported when output magnetic force interface 160 is connected with the front of input magnetic force interface 170
Pin 1 contacted with inputting the pin 1 of magnetic force interface 170, the pin 7 of output magnetic force interface 160 and input
The pin 7 of magnetic force interface 170 is contacted), detecting pin CSS is contacted with direction signal pin MC, detects pin
OSS is contacted with direction signal pin NC, and conducting magnetic iron surface 162 is contacted with conductive contact surfaces 172, is then made
Obtain conducting magnetic iron surface 162 and power cathode is introduced into conductive contact surfaces 172, connect because MC pins are connected to conduction
Contacting surface 172, so MC pins are L, then the CSS pins for exporting magnetic force interface 160 are L, due to NC pins
Vacantly, so the OSS pins of output magnetic force interface 160 are H.I.e. when CSS=H (high level), OSS=L (low electricity
It is flat) when, MCU judges that connection status accesses as front.MCU out-put supply switching signals IP1=L, IP2=H, IN1=L,
IN2=H, control Q1, Q4 conducting is opened, Q2, Q3 cut-off so that the composite power supply of output magnetic force interface 160
Pin V1 is connected to positive source V+ ends by P-MOS transistors Q1, and composite power supply pin V2 passes through N-MOS
Transistor Q4 is connected to power cathode GND ends.Meanwhile, MCU output data switch-over control signal S=0, OE=0,
Control analog switch control data passage so that the D1 of output magnetic force interface 160 is connected with the D1- of input interface
Connect, D2 is connected with the D1+ of input interface.So as to realize the switching of power supply and data circuit so that circuit is obtained
Normally to connect.
(that is, magnetic force interface 160 is exported when output magnetic force interface 160 is connected with the input reverse side of magnetic force interface 170
Pin 1 contacted with inputting the pin 7 of magnetic force interface 170, the pin 7 of output magnetic force interface 160 and input
The pin 1 of magnetic force interface 170 is contacted), detecting pin CSS is contacted with direction signal pin NC, detects pin
OSS is contacted with direction signal pin MC, and conducting magnetic iron surface 162 is contacted with conductive contact surfaces 172, is then made
Obtain conducting magnetic iron surface 162 and power cathode is introduced into conductive contact surfaces 172, connect because MC pins are connected to conduction
Contacting surface 172, so MC pins are L.Then the detecting pin OSS of output magnetic force interface 160 is L, due to NC
Pin is hanging, so CSS pins are H.I.e. when OSS=H (high level), CSS=L (low level), MCU judges
Accessed for reverse side.MCU out-put supply switch-over control signal IP1=H, IP2=L, IN1=H, IN2=L, control Q2,
Q3 conductings unlatching, Q1, Q4 cut-off so that P-MOS is passed through at the composite power source pin V2 ends of output magnetic force interface 160
Transistor Q2 is connected to positive source V+ ends, and V1 ends are connected to power cathode GND by N-MOS transistors Q3
End.Meanwhile, MCU output data switch-over control signal S=1, OE=0 control analog switch control data passage,
So that the type signal pin D1 that meets of output magnetic force interface 160 is connected with D1+, exports magnetic force interface 160
Meet type signal pin D2 with the D1- of input interface to be connected.So as to realize power supply and the passage positive and negative of data
Switching, completes the normal connection of power supply and data circuit.
When exporting magnetic force interface 160 with 170 disengaging of interface of input magnetic force, MCU detection signal recovers acquiescence shape
State, the level combinations that MCU detects CSS, OSS are:When CSS=H, OSS=H, then closing control signal is exported,
That is IP1=H, IP2=H, IN1=L, IN2=L, S=0, OE=1.Now data channel is latched as high-impedance state,
Positive source passage is turned off.When MCU detects the level combinations of mistake:When CSS=L, OSS=L, equally
The control signal of output can be closed.Avoiding the identification signal of mistake causes power supply mistake to damage load equipment.
In first embodiment, thus it is possible to vary the pin of output magnetic force interface 160 and input magnetic force interface 170 is arranged,
I.e. first exchanges with the 5th pin, second exchanges with the 4th pin;Or first pin and the second pin exchange,
4th pin is exchanged with the 5th pin;Or first pin and the 4th pin exchange, the second pin and the 5th pin
Exchange.The demand for exchanging the scheme that can also meet this circuit of these three modes.
Fig. 5 is the circuit theory diagrams of the two-sided identification switching circuit in the second embodiment of the present invention, such as Fig. 5 institutes
Show:The pin of input magnetic force interface 170 put in order for:First pin is positive source pin V+, the second pipe
Pin is that data pins D-, three-prong are that ID signal pins, the 4th pin are data pins D+, the 5th pin
For power cathode pin V-.Wherein, power cathode pin V- and the short circuit of conductive contact surfaces 172.
Export the compatible USB standard of magnetic force interface 160, its pin put in order for:First pin is compound electricity
Source capsule pin V1, the second pin are that composite data pin D1, three-prong are ID signal pins ID, the 4th pipe
Pin is that composite data pin D2, the 5th pin are composite power supply pin V2.Wherein, to positive source pin
V+ and power cathode pin V- are multiplexed, and are used as the MCU core of direction signal pin and recognition control circuit 130
Piece is connected.MCU determines to export magnetic force by detecting positive source pin V+ and power cathode pin V- level
The connection status of interface 160 and output magnetic force interface 170.Also, export the conducting magnetic iron of magnetic force interface 160
The conducting magnetic iron of (magnet surface is conductive material) output magnetic force interface 160 is separated into two portions of mutual insulating
Point:First conducting magnetic iron 164 and the second conducting magnetic iron 166, the first conducting magnetic iron 164 and access identification signal end
Sub- ACC connections.Second conducting magnetic iron 166 with being connected to power supply (for input the circuit of magnetic force interface 160 be
Lightning magnetic force adapter is connected to dedicated pin X-tube pin, and (after Lightning is accessed, this pin connects
It is connected to power cathode)).
MCU two input ports V1, V2 respectively pass through the side of P-MOS transistor Q5, Q6 resistors in series
Formula is pulled to positive source (because apple equipment does not allow positive source directly to there is path with negative pole), to detect
First pin of magnetic data line and identification signal V1, V2 of the 5th pin, because Q5 and Q6 source electrode is connected
To positive source, grid is connected to power cathode GND by resistor, so Q5, Q6 are always conducting state.
Therefore, when exporting magnetic force interface 160 not with input magnetic force 170 adhesive of interface, V1, V2 are H.
When output magnetic force interface 160 is connected with the front of input magnetic force interface 170, output magnetic force interface 160
First conducting magnetic iron 164 is by inputting the conducting magnetic iron 166 of conductive contact surfaces 172 and second of magnetic force interface 170
Short circuit.Because the second conducting magnetic iron 166 is connected to power cathode GND ends, ACC ends are forced drawing and are
L.Therefore when MCU detects ACC=L, you can judge output magnetic force interface 160 and input magnetic force interface 170
In attracting state.The conductive contact surfaces 172 and power pin V- for inputting magnetic force interface 170 simultaneously are also L.
The V2 ends of output magnetic force interface 160 are connected to input magnetic force by inputting the power cathode V- of magnetic force interface 170 and connect
The conductive contact surfaces 172 of mouth 170.It is worth noting that, for apple equipment, output magnetic force interface 160
V2 ends, then by low pressure drop diode D, can be connected to by inputting the power cathode V- of magnetic force interface 170
The conductive contact surfaces 172 of magnetic force interface 170 are inputted, V2 is dragged down.Export the V1 ends of magnetic force interface 160 with
It is still high level to input after the positive source V+ contacts of magnetic force interface 170, so MCU pin V1=H.MCU
ACC=L is first detected, then judges V1=H, V2=L, then is determined as positive access.MCU out-put supply switching signals
IP1=L, IP2=H, IN1=L, IN2=H, control Q1, Q4 conducting unlatching, Q2, Q3 cut-off so that output magnetic
The V1 ends of power interface 160 are connected to positive source V+ ends by P-MOS transistors Q1, and V2 passes through N-MOS in end
Transistor Q4 is connected to power cathode GND ends.Meanwhile, MCU output data latch signal OE=0, due to passage
Switch terminal S is connected to output port V2, and now V2 is L, so controllable analog switch IC1 control datas
Passage so that the D1 of output magnetic force interface 160 is connected with the DI- of input interface circuit 110, exports magnetic force
The D2 of interface 160 is connected with the DI+ of input interface circuit 110.Then, the number of input magnetic force interface 170
Data pins D+, D- by exporting magnetic force interface 160 and input interface circuit 110 are able to according to pin D+ and D-
It is connected.So as to realize the passage front switching of power supply and data, the normal connection of power supply and data circuit is completed.
When output magnetic force interface 160 is connected with the input reverse side of magnetic force interface 170, output magnetic force interface 160
First conducting magnetic iron 164 is by inputting the conducting magnetic iron 166 of conductive contact surfaces 172 and second of magnetic force interface 170
Short circuit.Because the second conducting magnetic iron 166 is connected to power cathode GND ends, ACC ends are forced drawing and are
L.Therefore when MCU detects ACC=L, you can judge output magnetic force interface 160 and input magnetic force interface 170
In attracting state.The conductive contact surfaces 172 for inputting magnetic force interface 170 simultaneously pass through the second conducting magnetic iron 166
Drag down.The V1 ends of output magnetic force interface 160 are connected to input by inputting the power cathode V- of magnetic force interface 170
The conductive contact surfaces 172 of magnetic force interface 170.For apple equipment, the V1 ends of output magnetic force interface 160 pass through
The power cathode V- of magnetic force interface 170 is inputted, then by low pressure drop diode D, input magnetic force is connected to and connects
The conductive contact surfaces 172 of mouth 170, i.e., V1 is down for L.Because the inside first for inputting magnetic force interface 170 is managed
Pin V+ does not have power supply supply, so the first pin V1 of output magnetic force interface 160 is vacant state, so MCU
Pin V2 ends remain as high level.MCU first detects access signal ACC=L, then judges V2=H, V1=L,
It then can determine that current connection status accesses for reverse side.MCU out-put supply switch-over control signals IP1=H, IP2=L,
IN1=H, IN2=L, control Q2, Q3 conducting unlatching, Q1, Q4 cut-off so that the V2 of output magnetic force interface 160
End is connected to positive source V+ ends by P-MOS transistors Q2, and V1 ends are connected to by N-MOS transistors Q3
Power cathode GND ends.Meanwhile, MCU output data latch signal OE=0, because passage switch terminal S is connected to
The V2 pins of magnetic force interface 160 are exported, and now V2 is H, so controllable analog switch IC1 control datas
Passage so that the D1 of output magnetic force interface 160 is connected with the DI+ of input interface circuit 110, D2 and input
The DI- of interface circuit 110 is connected.Therefore so that the data pins D+ and D- of input magnetic force interface 170 are obtained
To be corresponded by data pins D+, D- for exporting magnetic force interface 160 and input interface circuit 110.So as to,
The passage reverse side switching of power supply and data is realized, the normal connection of power supply and data is completed.
When exporting magnetic force interface 160 from the input disengaging of magnetic force interface 170, MCU detects ACC and recovers acquiescence shape
State, when MCU detects ACC=H, then close the control signal of output, i.e. IP1=H, IP2=H, IN1=L, IN2=L,
S=0, OE=1.Now data channel is latched as high-impedance state, and positive source passage is turned off.When MCU detections
During to wrong identification signal V1=L, V2=L, the control signal of output can be equally closed, to avoid the knowledge of mistake
Level signal causes power supply mistake to damage load equipment.
In this second embodiment, thus it is possible to vary the pin of output magnetic force interface 160 and input magnetic force interface 170
Arrangement, i.e., first exchanges with the 5th pin, second exchanges with the 4th pin;Or first pin and the second pin
Exchange, the 4th pin is exchanged with the 5th pin;Or first pin and the 4th pin exchange, the second pin and
Five pins are exchanged;Or first conducting magnetic iron 164 and the second conducting magnetic iron 166 exchange.Pair of these four modes
Adjust the demand for the scheme that can also meet this circuit.
Fig. 6 is the circuit theory diagrams of the two-sided identification switching circuit in the third embodiment of the present invention.Such as Fig. 6, defeated
Enter the interface pin of magnetic force interface 170 put in order for:First pin is positive source pin V+, the second pin
It is that ID signal pins, the 4th pin are that data pins D+, the 5th pin are for data pins D-, three-prong
Power cathode pin V-.The conductive contact surfaces 172 for inputting the interface of magnetic force interface 170 are metallic conduction permeability magnetic material,
This current-carrying part is connected to power cathode.
The output magnetic force interface 160 of magnetic force adapter, pin put in order for:First pin is composite power supply
Pin V1, the second pin are that composite data pin D1, three-prong are access signal pin ACC, the 4th pipe
Pin is that composite data pin D2, the 5th pin are composite power supply pin V2.Output magnetic force interface 160 also has
There is conducting magnetic iron 162, be connected internally to power cathode.
The output magnetic force interface 160 of apple equipment and USB device can be unified to be a kind of output interface, it is meant that
Same magnetic data line can compatible apple equipment and USB device.
Concrete operating principle is as follows, and MCU two input ports V1, V2 are respectively pulled to by a resistor
Positive source V+ (because ID signals are connected to load equipment all the time, so need not increase P-MOS does reverse isolation)
To detect the first pin of magnetic data line and identification signal V1, V2 of the 5th pin, input magnetic force is not accessed and is connect
During mouth 170, V1, V2 are H.
When output magnetic force interface 160 is connected with the front of input magnetic force interface 170, output magnetic force interface 160
Power ground GND is connected to the conductive contact surfaces 172 of input magnetic force interface 170 by conducting magnetic iron 162, that is, inputs
The conductive contact surfaces 172 of magnetic force interface 170 are L.The ACC ends of output magnetic force interface 160 are connect by inputting magnetic force
The three-prong ID ends of mouth 170 are connected to conductive contact surfaces 172, and it is L to be forced to draw.Therefore when MCU detections
During to ACC=L, you can judge that output magnetic force interface 160 is in attracting state with input magnetic force interface 170.It is defeated
The V2 ends for going out magnetic force interface 160 are connected to input magnetic force interface by inputting the power cathode V- of magnetic force interface 170
170 conductive contact surfaces 172, the level for being readily apparent that the V2 ends of output magnetic force interface 160 is L.Due to input
First pin V+ of magnetic force interface 170 does not have power supply supply, so the first pin of magnetic connector is hanging shape
State, so MCU pin V1 ends remain as high level.MCU first detects access signal ACC=L, then judges
V1=H, V2=L, then can determine that current connection status accesses for front.MCU out-put supply switch-over control signals
IP1=L, IP2=H, IN1=L, IN2=H, control Q1, Q4 conducting unlatching, Q2, Q3 cut-off so that output magnetic
The V1 ends of power interface 160 are connected to positive source V+ ends by P-MOS transistors Q1, and V2 passes through N-MOS in end
Transistor Q4 is connected to power cathode GND ends.Meanwhile, MCU output data latch signal OE=0, due to passage
Switch terminal S is connected to output port V2, and now V2 is L, so controllable analog switch IC1 control datas
Passage so that the D1 of output magnetic force interface 160 is connected with the DI- of input interface circuit 110, D2 and input
The DI+ of interface circuit 110 is connected.Therefore so that the data pins D+ and D- of input magnetic force interface 170 are obtained
To be corresponded by data pins D+, D- for exporting magnetic force interface 160 and input interface circuit 110.So as to
The front switching of power supply and data channel is realized, the normal connection of power supply and data is completed.
When magnetic data line reverse side accesses load equipment, output magnetic force interface 160 and input magnetic force interface 170
Reverse side is connected, the conducting magnetic iron of output magnetic force interface 160, and power ground GND is connected into input magnetic force interface
170 conductive contact surfaces 172, that is, the conductive contact surfaces 172 for inputting magnetic force interface 170 are L.Output magnetic force connects
The ACC ends of mouth 160 are connected to conductive contact surfaces 172 by inputting the three-prong ACC ends of magnetic force interface 170,
Be forced to draw is L.The V1 ends of output magnetic force interface 160 by inputting the power cathode V- of magnetic force interface 170,
It is connected to the conductive contact surfaces 172 of input magnetic force interface 170.That is V1 is L.Due to input magnetic force interface 170
Inside the first pin V+ there is no power supply supply, so the first pin of magnetic connector be vacant state, so
MCU pin V2 ends are remained as high level.MCU first detect access signal ACC=L, then judge V2=H,
V1=L, then judge that current connection state accesses as reverse side.MCU out-put supply switch-over control signals IP1=H, IP2=L,
IN1=H, IN2=L, control Q2, Q3 conducting unlatching, Q1, Q4 cut-off so that the V2 of output magnetic force interface 160
End is connected to positive source V+ ends by P-MOS transistors Q2, and V1 ends are connected to by N-MOS transistors Q3
Power cathode GND ends.Meanwhile, MCU output data latch signal OE=0, because passage switch terminal S is connected to
Output port V2, and now V2 is H, so controllable analog switch control data passage so that output magnetic force
The D1 of interface 160 is connected with the DI+ of input interface circuit 110, the DI- of D2 and input interface circuit 110
It is connected.Therefore so that the data pins D+ and D- of input magnetic force interface 170 are able to by exporting magnetic force interface
160 correspond with data pins D+, D- of input interface circuit 110.So as to realize the logical of power supply and data
The switching of road front, completes the normal connection of power supply and data.
When magnetic data line departs from from input magnetic force interface 170, MCU detection signal ACC recovers default conditions,
Therefore when MCU detects ACC=H, can determine whether current connection state is disconnection.Now MCU can close output
Control signal, i.e. IP1=H, IP2=H, IN1=L, IN2=L, S=0, OE=1.Now data channel is latched as
High-impedance state, positive source passage is turned off.When MCU detects identification signal V1=L, V2=L of mistake,
It equally can also close the control signal of output.Avoiding the identification signal of mistake causes power supply mistake to damage load equipment.
In the third embodiment, thus it is possible to vary the arrangement of pin, i.e., first and the 5th pin are exchanged, second and
Four pins are exchanged;Or first pin exchanged with the second pin, the 4th pin is exchanged with the 5th pin;Or the
One pin is exchanged with the 4th pin, the second pin is exchanged with the 5th pin.Exchanging for this several ways can also be met
The demand of the scheme of this circuit.
After the interface of apple equipment connection input magnetic force interface 170, the conduction of the interface of input magnetic force interface 170
Contact surface 172 can be connected with power cathode, so the interface of apple equipment input magnetic force interface 170 need not be by power supply
Negative pole is connected to the conductive contact surfaces 172 of the interface of input magnetic force interface 170.
Fig. 7 is the circuit theory diagrams of the two-sided identification switching circuit in the fourth embodiment of the present invention, such as Fig. 7 institutes
Show, the pin of input magnetic force interface 170 put in order for:First pin is that direction signal recognizes pin and power supply
The complexing pin of positive pole pin, first pin is connected internally to three-prong, and the second pin is data pins D-,
Three-prong is positive source pin V+, and the 4th pin is data pins D+, and the 5th pin recognizes for direction signal
The pin V- of pin and power cathode pin multiplexing.
The output magnetic force interface 160 of apple equipment and USB device unites still one for a kind of output interface, it is meant that
Same magnetic data line can compatible apple equipment and USB device.
Export the first, the 5th pin V1, V2 of magnetic force interface 160 and recognize that pin and power supply are positive and negative for direction signal
The compound pin of pole pipe pin.Second pin is data pins D1.Three-prong, i.e. interim pins, be power supply just
Pole pipe pin V+.4th pin is data pins D2.No matter front is accessed or reverse side access, positive source V+
Pass through three-prong access input magnetic force interface 170.
MCU two input ports V1, V2 are connected to power cathode V- by pull-down-resistor, and with exporting magnetic
The first, the 5th pin connection of power interface 160.When not accessing input magnetic force interface 170, V1, V2 are L.
MCU two output ports IN2 and IN1 pass through resitstance voltage divider and N-MOS transistors Q1, Q2 grid respectively
Extremely it is connected.
Data pins D+, D- of input interface circuit 110 are entered to access after row of channels control via analog switch to be exported
The data pins D1 and D2 of magnetic force interface 160, after power cathode V- is controlled by two N-MOS transistors
The pin V1 and V2 of access output magnetic force interface 160.
When magnetic connector front is connected, output magnetic force interface 160 is connected with the front of input magnetic force interface 170.
The positive source V+ of three-prong is connected to due to inputting the pin of inside first of magnetic force interface 170, so output
First pin V1 of magnetic force interface 160 be H, i.e. MCU pin V1 ends be forced draw be H.Due to input magnetic
The pin of inside the 5th of power interface 170 does not have power supply supply, so the 5th pin of output magnetic force interface 160 is
Vacant state, so MCU pin V2 ends are still pulled low as L.I.e. when detecting V1=H, V2=L, MCU
It can determine that current connection state accesses for front.MCU out-put supply switch-over control signal IN1=L, IN2=H, control
N-MOS transistors so that the V2 ends of output magnetic force interface 160 are connected to power cathode V- ends by N-MOS.
Meanwhile, MCU output data switch-over control signal S=0, OE=0 control analog switch IC1 control data passages,
So that the D1 of output magnetic force interface 160 is connected with the DI- of input interface circuit 110, D2 and input interface are electric
The DI+ on road 110 is connected.Therefore so that the data pins D+ and D- of input magnetic force interface 170 are passed through
Data pins D+, D- for exporting magnetic force interface 160 and input interface circuit 110 are corresponded.So as to realize electricity
The passage front switching of source and data, completes the normal connection of power supply and data.
When magnetic data line reverse side is accessed, output magnetic force interface 160 is connected with the input reverse side of magnetic force interface 170.
The positive source V+ of three-prong is connected to due to inputting the pin of inside first of magnetic force interface 170, so output
5th pin of magnetic force interface 160 be H, i.e. MCU pin V1 ends be forced draw be high level.Due to input
The pin of inside the 5th of magnetic force interface 170 does not have power supply supply, so the first pin of output magnetic force interface 160
For vacant state, so MCU pin V1 ends are still pulled low as L.I.e. as V2=H, V1=L, MCU can
Judge that connection status connects as reverse side, MCU exportable power switching control signals IN2=L, IN1=H control N-MOS
Transistor so that the V1 ends of output magnetic force interface 160 are connected to power cathode V- ends by N-MOS.Meanwhile,
MCU output data switch-over control signal S=1, OE=0, control analog switch IC1 control data passages so that defeated
The D1 for going out magnetic force interface 160 is connected with the DI+ of input interface circuit 110, D2 and input interface circuit 110
DI- be connected.Then, the data pins D+ and D- of input magnetic force interface 170 are able to connect by exporting magnetic force
Data pins D+, D- of mouth 160 and input interface circuit 110 are corresponded.So as to realize power supply and data
Passage reverse side switches, and completes the normal connection of power supply and data.
When magnetic connector departs from, output magnetic force interface 160 departs from input magnetic force interface 170.MCU inspection
Survey signal and recover default conditions, V1=L, V2=L.Therefore MCU detects V1, V2 identification signal and is:V1=L,
During V2=L, can determine whether current connection state is off-state.Therefore the exportable closing control signals of MCU, i.e.,
IN1=L, IN2=L, S=0, OE=1.Now data channel is latched as high-impedance state, and power cathode passage is closed
It is disconnected.When MCU detects identification signal V1=H, V2=H of mistake, the control signal of output equally can be also closed.
Avoiding the identification signal of mistake causes power supply mistake to damage load equipment.
In the fourth embodiment, thus it is possible to vary the arrangement of pin, i.e., first and the 5th pin are exchanged, second and
Four pins are exchanged;Or first pin exchanged with the second pin, the 4th pin is exchanged with the 5th pin;Or the
One pin is exchanged with the 4th pin, the second pin is exchanged with the 5th pin.Exchanging for these three modes can also be met
The demand of the scheme of this circuit.
Fig. 8 is the circuit theory diagrams of the two-sided identification switching circuit in the fifth embodiment of the present invention.Such as Fig. 8 institutes
Show, the pin of input magnetic force interface 170 put in order for:First pin is direction signal pin and positive source
The complexing pin V+ of pin, the second pin is data pins D-, and three-prong is positive source pin V-, the 4th
Pin is data pins D+, and the 5th pin is the complexing pin V- of direction signal pin and power cathode pin, should
5th pin is connected internally to three-prong.
It is detection pin and the compound pin of positive source pin to export the first, the 5th pin of magnetic force interface 160
V1, V2, the second pin are data pins D1, and three-prong is power cathode pin GND, and the 4th pin is number
According to pin D2.No matter front is accessed or reverse side access, and the power cathode GND of input interface circuit 110 leads to
Three-prong access input magnetic force interface 170 is crossed, data pins D+, D- enter row of channels via analog switch IC1
The data pins D1 and D2 of access output magnetic force interface 160 after control, positive source V+ pins are by two P-MOS
Transistor accesses the pin V1 or V2 of output magnetic force interface 160 after being controlled.It can easily be seen that apple equipment and
The output magnetic force interface 160 of USB device unites still one for a kind of output interface, it is meant that same magnetic data line
Can compatible apple equipment and USB device.
MCU two input ports V1, V2 are connected to positive source V+ by pullup resistor, and with exporting magnetic force
The first pin and the 5th pin of interface 160 are connected.When output magnetic force interface 160 does not access input magnetic force interface
When 170, V1, V2 are high level.During access input magnetic force interface 170, the of output magnetic force interface 160
Power cathode is connected directly to input magnetic force interface 170 by three-prong.
When magnetic connector front is connected, output magnetic force interface 160 is connected with the front of input magnetic force interface 170.
The power cathode V- of three-prong is connected to due to inputting the pin of inside the 5th of magnetic force interface 170, so output
5th pin V2 of magnetic force interface 160 be low level, i.e. MCU pin V2 ends be forced draw be low level.
Because the pin of inside first for inputting magnetic force interface 170 does not have power supply supply, so output magnetic force interface 160
First pin V1 is vacant state, so MCU pin V1 ends remain as high level.I.e. when MCU is detected
When V1=H, V2=L, MCU can determine that current connection state accesses for front.The exportable power supply switching controls of MCU
Signal IP1=L, IP2=H, control P-MOS transistors so that P-MOS is passed through at the V1 ends of output magnetic force interface 160
It is connected to positive source V+ ends.Meanwhile, MCU output data switch-over control signal S=0, OE=0, control simulation are opened
Close control data passage so that the D1 of output magnetic force interface 160 is connected with the DI- of input interface circuit 110,
D2 is connected with the DI+ of input interface circuit 110.Then, the data pins D+ of input magnetic force interface 170 and
D- is able to correspond by exporting data pins D+, D- of magnetic force interface 160 and input interface circuit 110.
So as to realize the passage front switching of power supply and data, the normal connection of power supply and data is completed.
When magnetic connector reverse side is connected, output magnetic force interface 160 and the Opposite direction connection of input magnetic force interface 170.
The power cathode V- of three-prong is connected to due to inputting the pin of inside the 5th of magnetic force interface 170, so output
First pin V1 of magnetic force interface 160 is low level, then it is low level that MCU pin V1 ends, which are forced to draw,.
Because the pin of inside first for inputting magnetic force interface 170 does not have power supply supply, so output magnetic force interface 160
5th pin V2 is vacant state, then MCU pin V2 ends remain as high level.I.e. when MCU judge V2=H,
During V1=L, MCU can determine that current connection state accesses for reverse side, the exportable power switching control signals of MCU
IP1=H, IP2=L, control P-MOS transistors so that the V2 ends of output magnetic force interface 160 connect by P-MOS
It is connected to positive source V+ ends.Meanwhile, MCU output data switch-over control signal S=1, OE=0 control analog switch
Control data passage so that the D1 of output magnetic force interface 160 is connected with the DI+ of input interface circuit 110,
D2 is connected with the DI- of input interface circuit 110.Then, the data pins D+ of input magnetic force interface 170 and
D- is able to correspond by exporting data pins D+, D- of magnetic force interface 160 and input interface circuit 110.
So as to realize the reverse side switching of power supply and data circuit, the normal connection of power supply and data circuit is realized.
When magnetic connector is disconnected, output magnetic force interface 160 departs from from input magnetic force interface 170, MCU
Detection signal recover default conditions, the identification signal that MCU detects V1, V2 is:When V1=H, V2=H, then
Close the control signal of output, i.e. IP1=H, IP2=H, S=0, OE=1.Now data channel is latched as high resistant
State, positive source passage is turned off.When MCU detects identification signal V1=L, V2=L of mistake, equally
Also the control signal of output can be closed, causes power supply mistake to damage load equipment with the identification signal for avoiding mistake.
In the 5th embodiment, thus it is possible to vary the arrangement of pin, i.e., first and the 5th pin are exchanged, second and
Four pins are exchanged;Or first pin exchanged with the second pin, the 4th pin is exchanged with the 5th pin;Or the
One pin is exchanged with the 4th pin, the second pin is exchanged with the 5th pin.Exchanging for these three modes can also be met
The demand of the scheme of this circuit.
The two-sided recognition control circuit of several stabilizations proposed by the present invention, solves that traditional circuit is unstable, efficiency
The problems such as low, high cost, circuit are complicated, technology difficulty is big, significantly improves the stability of circuit, increase
Circuit conversion efficiency, reduces the cost and technology difficulty of product.
Although the various embodiments described above are described, those skilled in the art once know base
This creative concept, then can make other change and modification to these embodiments, so the foregoing is only this
The embodiment of invention, not thereby limit the present invention scope of patent protection, every utilization description of the invention and
Equivalent structure or equivalent flow conversion that accompanying drawing content is made, or directly or indirectly it is used in other related technologies
Within field, the scope of patent protection for being similarly included in the present invention.
Claims (10)
1. a kind of two-sided identification switching circuit applied to magnetic connector, it is characterised in that including:
Magnetic force interface is inputted, it includes two direction signal pins for being configured to varying level;
The output magnetic force interface being adapted with the input magnetic force interface, it has and the input magnetic force interface
The corresponding detecting pin of the direction signal pin;
Recognition control circuit, for detect the output magnetic force interface the detecting pin level to determine
The connection status of the output magnetic force interface and the input magnetic force interface simultaneously produces corresponding switching control letter
Number;
Switching circuit, is carried out for being connected according to the switch-over control signal to the circuit of the magnetic connector
Switching.
2. being applied to the two-sided identification switching circuit of magnetic connector as claimed in claim 1, its feature exists
In, it is described input magnetic force interface the direction signal pin in a pin configuration be it is hanging, another
Pin is connected to the ground.
3. being applied to the two-sided identification switching circuit of magnetic connector as claimed in claim 1, its feature exists
In the output magnetic force interface includes the first conducting magnetic iron and the second conducting magnetic iron of mutual insulating, wherein institute
State the first conducting magnetic iron ground connection;Also, the recognition control circuit is by detecting second conducting magnetic iron
Level with determine it is described input magnetic force interface and the output magnetic force interface attracting state.
4. being applied to the two-sided identification switching circuit of magnetic connector as claimed in claim 1, its feature exists
In the direction signal pin of the input magnetic force interface is multiplexed with power pin.
5. being applied to the two-sided identification switching circuit of magnetic connector as claimed in claim 1, its feature exists
In the pin placed in the middle in the input magnetic force interface pin and any one pipe in the detection signal pin
Pin placed in the middle and power pin or ground pin short circuit in pin short circuit, also, the output magnetic force interface pin.
6. being applied to the two-sided identification switching circuit of magnetic connector as claimed in claim 1, its feature exists
In the switching circuit includes:
Power supply switch circuit, the connection for Switching power circuit;And
Signal switching circuit, the connection for switching signal circuit.
7. being applied to the two-sided identification switching circuit of magnetic connector as claimed in claim 6, its feature exists
In the data exchange circuit includes multiway analog switch chip.
8. a kind of magnetic connector, it is characterised in that including being applied to described in claim any one of 1-7
The two-sided identification switching circuit of magnetic connector.
9. magnetic connector as claimed in claim 8, it is characterised in that including interface head and with this
The adapter of interface head adaptation, wherein, the interface head is suitable to the input for being plugged on electronic installation
So that by plug-in type interface conversion, as magnetic attraction interface, the adapter is magnetic force patchcord, magnetic force in interface
Adapter or magnetic force adapter.
10. magnetic connector as claimed in claim 9, it is characterised in that the output magnetic force interface,
Recognition control circuit and switching circuit are arranged in the adapter, and the input magnetic force interface is arranged at described
In interface head.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610019148.9A CN106961059A (en) | 2016-01-12 | 2016-01-12 | Two-sided identification switching circuit and magnetic connector applied to magnetic connector |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610019148.9A CN106961059A (en) | 2016-01-12 | 2016-01-12 | Two-sided identification switching circuit and magnetic connector applied to magnetic connector |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106961059A true CN106961059A (en) | 2017-07-18 |
Family
ID=59480802
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610019148.9A Pending CN106961059A (en) | 2016-01-12 | 2016-01-12 | Two-sided identification switching circuit and magnetic connector applied to magnetic connector |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106961059A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108448347A (en) * | 2018-04-18 | 2018-08-24 | 深圳市奇辉精密五金制品有限公司 | A kind of magnetic connector |
CN109904692A (en) * | 2019-02-25 | 2019-06-18 | 维沃移动通信有限公司 | Translation interface and terminal |
CN110045304A (en) * | 2019-04-16 | 2019-07-23 | 维沃移动通信有限公司 | Data wire detection method, terminal device and computer readable storage medium |
CN110824387A (en) * | 2019-10-25 | 2020-02-21 | 苏州浪潮智能科技有限公司 | Device and method for detecting cable connection |
CN112310755A (en) * | 2020-06-23 | 2021-02-02 | 神州融安科技(北京)有限公司 | Charging data transmission circuit, magnetic suction seat and charging data line |
CN112652921A (en) * | 2020-12-15 | 2021-04-13 | 芯讯通无线科技(上海)有限公司 | DC power socket and power plug |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105161925A (en) * | 2015-06-04 | 2015-12-16 | 深圳市黑羽科技有限公司 | Method and device for identifying front and back of magnetic connector |
CN204905623U (en) * | 2015-09-15 | 2015-12-23 | 深圳市黑羽科技有限公司 | Independent adapter and switching subassembly that charges |
-
2016
- 2016-01-12 CN CN201610019148.9A patent/CN106961059A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105161925A (en) * | 2015-06-04 | 2015-12-16 | 深圳市黑羽科技有限公司 | Method and device for identifying front and back of magnetic connector |
CN204905623U (en) * | 2015-09-15 | 2015-12-23 | 深圳市黑羽科技有限公司 | Independent adapter and switching subassembly that charges |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108448347A (en) * | 2018-04-18 | 2018-08-24 | 深圳市奇辉精密五金制品有限公司 | A kind of magnetic connector |
CN109904692A (en) * | 2019-02-25 | 2019-06-18 | 维沃移动通信有限公司 | Translation interface and terminal |
CN110045304A (en) * | 2019-04-16 | 2019-07-23 | 维沃移动通信有限公司 | Data wire detection method, terminal device and computer readable storage medium |
CN110045304B (en) * | 2019-04-16 | 2021-09-28 | 维沃移动通信有限公司 | Data line detection method, terminal device and computer readable storage medium |
CN110824387A (en) * | 2019-10-25 | 2020-02-21 | 苏州浪潮智能科技有限公司 | Device and method for detecting cable connection |
CN110824387B (en) * | 2019-10-25 | 2021-10-26 | 苏州浪潮智能科技有限公司 | Device and method for detecting cable connection |
CN112310755A (en) * | 2020-06-23 | 2021-02-02 | 神州融安科技(北京)有限公司 | Charging data transmission circuit, magnetic suction seat and charging data line |
CN112310755B (en) * | 2020-06-23 | 2022-05-03 | 神州融安科技(北京)有限公司 | Charging data transmission circuit, magnetic suction seat and charging data line |
CN112652921A (en) * | 2020-12-15 | 2021-04-13 | 芯讯通无线科技(上海)有限公司 | DC power socket and power plug |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106961059A (en) | Two-sided identification switching circuit and magnetic connector applied to magnetic connector | |
CN102739234B (en) | Multi-channel digital signal input/output isolating box and power control system | |
WO2021135687A1 (en) | Electronic device and accessory having both quick charging function and audio transmission function | |
CN109150551A (en) | Non-standard POE power supply circuit, power supply unit and method of supplying power to for network interface | |
CN107807892A (en) | A kind of USB TYPE C turn USB3.0 method and adapter | |
WO2018040381A1 (en) | Reversible plugging-recognizing power supply device and smart charging device | |
CN207320876U (en) | A kind of charging circuit and charger | |
CN106502939A (en) | A kind of USB adapters and data transmission set | |
CN206133546U (en) | Storage device's break -make testing arrangement and system | |
CN104363404B (en) | Terminal multiplexing circuit and multimedia terminal equipment | |
CN102244515B (en) | Universal multi-channel switching value converter | |
CN212649180U (en) | Double-interface switching circuit and Type-C concentrator | |
CN107291646B (en) | Network port and serial port multiplexing device and single board | |
CN206162505U (en) | Double -H groove weld SB interface circuit | |
CN207265705U (en) | A kind of electronic device with power supply circuit | |
CN208848054U (en) | A kind of tester of multichannel QC3.0 fast charge agreement | |
CN208384520U (en) | Data collection station | |
CN208272318U (en) | A kind of TYPE C interface patchcord | |
CN203287403U (en) | Signal wiring device | |
CN207098205U (en) | A kind of Multifunctional concentrator | |
CN110474385A (en) | A kind of Split movable power supply | |
CN214314637U (en) | One-to-two quick-charging data line adopting TYPE-C interface input | |
CN206451941U (en) | A kind of multi-function jack suitable for fish jar | |
CN203912096U (en) | Low-cost building intercom device | |
CN208971419U (en) | A kind of motor-drive circuit of communication with the outside world |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20170718 |