CN110907862A - Connection detection system - Google Patents

Connection detection system Download PDF

Info

Publication number
CN110907862A
CN110907862A CN201911364362.8A CN201911364362A CN110907862A CN 110907862 A CN110907862 A CN 110907862A CN 201911364362 A CN201911364362 A CN 201911364362A CN 110907862 A CN110907862 A CN 110907862A
Authority
CN
China
Prior art keywords
contact
electronic device
control chip
negative contact
communication
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
Application number
CN201911364362.8A
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.)
Aukey Technology Co Ltd
Original Assignee
Aukey 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 Aukey Technology Co Ltd filed Critical Aukey Technology Co Ltd
Priority to CN201911364362.8A priority Critical patent/CN110907862A/en
Publication of CN110907862A publication Critical patent/CN110907862A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01VGEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS
    • G01V3/00Electric or magnetic prospecting or detecting; Measuring magnetic field characteristics of the earth, e.g. declination, deviation

Landscapes

  • Life Sciences & Earth Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Geology (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Life Sciences & Earth Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Geophysics (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The invention discloses a connection detection system, which comprises: the first electronic equipment comprises a first control chip, and a first positive contact, a first communication contact and a first negative contact which are connected with the first control chip; the second electronic equipment comprises a second control chip, and a second positive contact, a second communication contact and a second negative contact which are connected with the second control chip; the first control chip detects the level state of the first negative contact to judge whether the first electronic device is connected with the second electronic device, and/or the second control chip detects the level state of the second communication contact to detect whether the second electronic device is connected with the first electronic device. The first electronic device and the second electronic device can simultaneously detect the connection with the other side, and have short detection time and low power consumption.

Description

Connection detection system
Technical Field
The invention relates to the technical field of electronics, in particular to a connection detection system.
Background
In the prior art, the following scenarios exist: in the connection process of the two electronic devices, any one electronic device needs to detect whether the connection between the electronic device and the other electronic device is successful in a one-way mode, and then the next operation is carried out. For example, in the charging process of the wireless earphone, the wireless earphone needs to detect whether the wireless earphone is successfully connected with the charging box in a one-way manner, the charging box also needs to detect whether the wireless earphone is successfully connected with the wireless earphone in a one-way manner, and the wireless earphone is charged by the charging box only after the wireless earphone and the charging box both confirm that the wireless earphone is successfully connected with the other side. The detection process is unidirectional, takes a long detection time, and needs software assistance, so that the power consumption of the electronic equipment is increased.
Disclosure of Invention
The invention mainly aims to provide a connection detection system, and aims to solve the problems that in the prior art, long detection time is needed in the connection process of electronic equipment, and the power consumption of the electronic equipment is increased.
In order to achieve the above object, the present invention provides a connection detection system, including: the first electronic device comprises a first control chip, and a first positive contact, a first communication contact and a first negative contact which are connected with the first control chip, wherein a first resistor is connected between the first communication contact and the first negative contact, and a second resistor is connected between the first negative contact and the ground; the second electronic equipment comprises a second control chip, and a second positive contact, a second communication contact and a second negative contact which are connected with the second control chip, wherein a third resistor is connected between the second communication contact and a power supply, and the second negative contact is grounded; the first positive contact and the second positive contact are correspondingly connected or disconnected, the first communication contact and the second communication contact are correspondingly connected or disconnected, the first negative contact and the second negative contact are correspondingly connected or disconnected, the first control chip detects the level state of the first negative contact to judge whether the first electronic device is connected with the second electronic device, and/or the second control chip detects the level state of the second communication contact to detect whether the second electronic device is connected with the first electronic device.
Furthermore, the first positive contact and the second positive contact are correspondingly conducted, when the first negative contact and the second negative contact are correspondingly conducted, a first voltage division loop is formed among the first positive contact, the second control chip, the second negative contact, the first negative contact, the second resistor and the ground, and the first control chip detects that the first negative contact is in a high level state so as to judge that the first electronic equipment is connected with the second electronic equipment.
Further, the first communication contact is correspondingly conducted with the second communication contact, when the first negative contact is correspondingly conducted with the second negative contact, a second voltage division loop is formed among the power supply, the second communication contact, the first resistor, the first negative contact, the second negative contact and the ground, and the second control chip detects that the second communication contact is in a low level state so as to judge that the second electronic device is connected with the first electronic device.
Further, the first electronic device further includes: the charging control circuit is connected to the first control chip and the first negative contact, and the charging control circuit is used for pulling down the level of the first negative contact under the control of the first control chip.
Further, the charge control circuit includes a field effect transistor; the grid electrode of the field effect transistor is connected to the first control chip; the source of the field effect transistor is connected to the first negative contact; the drain of the field effect transistor is grounded.
Furthermore, a first connecting point is arranged between the first control chip and the first negative contact; the charging control circuit comprises a sampling resistor, one end of the sampling resistor is connected to the first connecting point, and the other end of the sampling resistor is connected to the source electrode of the field effect transistor.
Furthermore, a second connection point is arranged between the first control chip and the first connection point; the charging control circuit comprises a filter capacitor, one end of the filter capacitor is connected to the second connection point, and the other end of the filter capacitor is grounded.
Furthermore, the connection detection system includes a third electronic device, the third electronic device includes a third control chip, and a third positive contact, a third communication contact, and a third negative contact connected to the third control chip, a fourth resistor is connected between the third communication contact and the power supply, and the third negative contact is grounded; the first positive contact and the third positive contact are correspondingly connected or disconnected, the first communication contact and the third communication contact are correspondingly connected or disconnected, the first negative contact and the third negative contact are correspondingly connected or disconnected, the first control chip detects the level state of the first negative contact to judge whether the first electronic device is connected with the third electronic device, and/or the third control chip detects the level state of the third communication contact to detect whether the third electronic device is connected with the first electronic device.
Furthermore, the first electronic device further comprises a fourth communication contact and a fourth negative contact which are connected with the first control chip, a fifth resistor is connected between the fourth communication contact and the fourth negative contact, and a sixth resistor is connected between the fourth negative contact and the ground; the connection detection system comprises a third electronic device, the third electronic device comprises a third control chip, and a third positive contact, a third communication contact and a third negative contact which are connected with the third control chip, a fourth resistor is connected between the third communication contact and a power supply, and the third negative contact is grounded; the first positive contact and the third positive contact are correspondingly connected or disconnected, the third communication contact and the fourth communication contact are correspondingly connected or disconnected, the third negative contact and the fourth negative contact are correspondingly connected or disconnected, the first control chip detects the level state of the fourth negative contact to judge whether the first electronic device is connected with the third electronic device, and/or the third control chip detects the level state of the third communication contact to detect whether the third electronic device is connected with the first electronic device.
Further, the first electronic device is a charging box, and the second electronic device is a wireless headset.
In the invention, when the first electronic device is connected with the second electronic device, a first voltage division loop is formed between the first anode contact, the second control chip, the second cathode contact, the first cathode contact, the second resistor and the ground, the level state of the first cathode contact is changed from low level jump when the first electronic device is not connected with the second electronic device to high level, and the first control chip judges that the first electronic device is connected with the second electronic device when detecting that the first cathode contact is in high level state; a second voltage division loop is formed between the power source, the second communication contact, the first resistor, the first cathode contact, the second cathode contact and the ground, the second communication contact is pulled down to be a low level by the first resistor, at the moment, the second control chip detects that the second communication contact is in a low level state, so that the second electronic equipment is judged to be connected with the first electronic equipment, whether the first electronic equipment and the second electronic equipment are simultaneously detected to be connected with each other or not, so that the connection detection time of the first electronic equipment and the second electronic equipment can be shortened, the implementation mode of the embodiment is independently completed by a hardware circuit, the circuit is simple, the debugging is easy, and the power consumption of the first electronic equipment and the power consumption of the second electronic equipment can be reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
FIG. 1 is a schematic circuit diagram of a connection detection system 1 according to an embodiment of the present invention;
FIG. 2 is a schematic circuit diagram of a connection detection system 2 according to an embodiment of the present invention;
FIG. 3 is a circuit diagram of a connection detection system according to embodiment 3 of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that all the directional indicators (such as up, down, left, right, front, and rear … …) in the embodiment of the present invention are only used to explain the relative position relationship between the components, the movement situation, etc. in a specific posture (as shown in the drawing), and if the specific posture is changed, the directional indicator is changed accordingly.
In addition, the descriptions related to "first", "second", etc. in the present invention are for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
Referring to fig. 1, in an embodiment 1 of a connection detection system 100 according to the present invention, the connection detection system 100 includes: a first electronic device 10, wherein the first electronic device 10 includes a first control chip 11, and a first positive contact T11, a first communication contact T12, and a first negative contact T13 connected to the first control chip 11, a first resistor R1 is connected between the first communication contact T12 and the first negative contact T13, and a second resistor R2 is connected between the first negative contact T13 and ground; a second electronic device 20, where the second electronic device 20 includes a second control chip 21, and a second positive contact T21, a second communication contact T22, and a second negative contact T23 connected to the second control chip 21, a third resistor R3 is connected between the second communication contact T22 and a power source VCC, and the second negative contact T23 is grounded; the first positive contact T11 is turned on or off corresponding to the second positive contact T21, the first communication contact T12 is turned on or off corresponding to the second communication contact T22, the first negative contact T13 is turned on or off corresponding to the second negative contact T23, the first control chip 11 detects a level state of the first negative contact T13 to determine whether the first electronic device 10 is connected to the second electronic device 20, and/or the second control chip 21 detects a level state of the second communication contact T22 to determine whether the second electronic device 20 is connected to the first electronic device 10.
In this embodiment, the first electronic device 10 may be a charging box (not shown) of a wireless headset (not shown), or may be other types of electronic devices, the second electronic device 20 may be a wireless headset (e.g., a TWS headset, a true wireless bluetooth fidelity headset), or may be other types of electronic devices, and the following description will take the first electronic device 10 as a charging box of a wireless headset, and the second electronic device 20 as a wireless headset.
In this embodiment, the connection process between the first electronic device 10 and the second electronic device 20 may be a process in which the wireless headset is placed in the charging box and connected, when the second electronic device 20 is not placed in the first electronic device 10, the first positive contact T11 is disconnected from the second positive contact T21, the first communication contact T12 is disconnected from the second communication contact T22, and the first negative contact T13 is disconnected from the second negative contact T23, at this time, the first negative contact T13 is grounded via the second resistor R2, and the first negative contact T13 is at a low level; after the second electronic device 20 is placed in the first electronic device 10, the first positive contact T11 and the second positive contact T21 are correspondingly turned on, the first communication contact T12 and the second communication contact T22 are correspondingly turned on, the first negative contact T13 and the second negative contact T23 are correspondingly turned on, at this time, a first voltage division loop (not shown) is formed between the first positive contact T11, the second positive contact T21, the second control chip 21, the second negative contact T23, the first negative contact T13, the second resistor R2 and the ground, the first control chip 11 controls the first positive contact T11 to output a high level, such as 5V, the voltage at the first negative contact T13 is the voltage at two ends of the second resistor R2 through the second control chip 21 and the second resistor R2, and the voltage division state of the first negative contact T13 is a high level at this time, that is, the level state of the first negative contact T13 changes from low level when the first electronic device 10 and the second electronic device 20 are not connected to each other to high level, and when the first control chip 11 detects that the first negative contact T13 is in high level state, it is determined that the first electronic device 10 and the second electronic device 20 are connected, that is, it is determined that the wireless headset is placed in the charging box. Specifically, the voltage drop generated on the second control chip 21 is caused by a circuit inside the second control chip 21, an integrated circuit (not shown) exists in the second electronic device 21, a PN junction (not shown) exists between an anode and a cathode of the integrated circuit, the PN junction makes the voltage drop of the second electronic device 21 in a loop lower, generally between 0.15V and 0.7V, the voltage drop of the second electronic device is taken as an example to be explained below, the second resistor R2 may have a larger resistance value, for example, the resistance value of the second resistor R2 is 1 megabyte, that is, the voltage drop generated on the second control chip 21 is smaller than the voltage drop generated on the second resistor R2, for example, the voltage of 5V at the first anode contact T11 is reduced by 0.2V after passing through the second control chip 21, and the voltage of the first cathode contact T13 is 4.8V, the 4.8V is regarded as high by the first control chip 11, i.e. the first control chip 11 detects that the level state of the first negative contact T13 is high.
In this embodiment, when the second electronic device 20 is not placed in the first electronic device 10, the first positive contact T11 is disconnected from the second positive contact T21, the first communication contact T12 is disconnected from the second communication contact T22, the first negative contact T13 is disconnected from the second negative contact T23, at this time, the second communication contact T22 is connected to the power source VCC through the third resistor R3, and the level state of the second communication contact T22 is high; after the second electronic device 20 is placed in the first electronic device 10, the first communication contact T12 and the second communication contact T22 are correspondingly turned on, when the first negative contact T13 and the second negative contact T23 are correspondingly turned on, a second voltage division loop (not shown) is formed between the power VCC, the third resistor R3, the second communication contact T22, the first communication contact T12, the first resistor R1, the first negative contact T13, the second negative contact T23 and the ground, the second communication contact T22 is pulled down to a low level by the first resistor R1 (one end of the first resistor R1 is connected to the ground in the second electronic device), and at this time, the second control chip 21 detects that the second communication contact T22 is in a low level state, so as to determine that the second electronic device 20 is connected to the first electronic device 10.
In summary, in this embodiment, when the first electronic device 10 is connected to the second electronic device 20, a first voltage division loop is formed between the first positive contact T11, the second positive contact T21, the second control chip 21, the second negative contact T23, the first negative contact T13, the second resistor R2 and the ground, a level state of the first negative contact T13 is changed from a low level when the first electronic device 10 is not connected to the second electronic device 20 to a high level, and the first control chip 11 determines that the first electronic device 10 is connected to the second electronic device 20 when detecting that the first negative contact T13 is in a high level state; meanwhile, a second voltage division loop is formed between the power source VCC, the second communication contact T22, the first communication contact T12, the first resistor R1, the first negative contact T13, the second negative contact T23 and the ground, the second communication contact T22 is changed from a high level jump to a low level when the first electronic device 10 and the second electronic device 20 are not connected, and at this time, the second control chip 21 detects that the second communication contact T22 is in a low level state, so that it is determined that the second electronic device 20 is connected to the first electronic device 10; the first electronic device 10 and the second electronic device 20 can simultaneously detect whether the first electronic device 10 and the second electronic device 20 are connected with each other, so that the connection detection time of the first electronic device 10 and the second electronic device 20 can be shortened, and the implementation manner of the embodiment is independently completed by hardware circuits, so that the circuit is simple, the debugging is easy, and the power consumption of the first electronic device 10 and the power consumption of the second electronic device 20 can be reduced.
Further, the first electronic device 10 further includes: a charge control circuit 12, the charge control circuit 12 is connected to the first control chip 11 and the first negative contact T13, the charge control circuit 12 is used for pulling down the level of the first negative contact T13 under the control of the first control chip 11.
In this embodiment, since the first negative contact T13 is at a high level after the first electronic device 10 is connected to the second electronic device 20, the voltage of the first negative contact T13 is 4.8V as described above, although a voltage difference of 0.2V exists between 4.8V of the first negative contact T13 and 5V of the first positive contact T11, however, such a small voltage difference is not sufficient to enable charging of the second electronic device 20 by the first electronic device 10, and therefore in order to enable charging of the second electronic device 20 by said first electronic device 10, the charging control circuit 12 is provided between the first control chip 11 and the first negative contact T13, under the control of the first control chip 11, the charging control circuit 12 pulls down the first negative contact T13 to a low level, so that a complete charging loop is formed between the first positive contact T11 and the first negative contact T13, and the first electronic device 10 is enabled to charge the second electronic device 20. The charging control circuit 12 of the present embodiment will be described in detail below, and it should be understood that any design that achieves the above result through the conversion of the circuit form is included in the scope of the present invention.
Further, the charge control circuit 12 includes a field effect transistor Q; the gate of the field effect transistor Q is connected to the first control chip 11; the source of the field effect transistor Q is connected to the first negative contact T13; the drain of the field effect transistor Q is grounded.
In this embodiment, the field effect transistor Q is an N-channel field effect transistor, and the gate of the field effect transistor Q is connected to the first control chip 11, the source of the field effect transistor Q is connected to the first negative contact T13, the drain of the field effect transistor Q is connected to ground, after the first control chip 11 detects that the first electronic device 10 is connected to the second electronic device 20, the first control chip 11 outputs a high level to the gate, so that the field effect transistor Q is conducted, namely the source electrode and the drain electrode of the field effect transistor Q are conducted, because the drain is grounded, the first negative contact T13 is pulled low, so that a complete charging loop is formed between the first positive contact T11 and the first negative contact T13, and the first electronic device 10 charges the second electronic device 20. It is understood that the field effect transistor Q may be a P-channel field effect transistor Q, and any design that can achieve the above result by changing the type and number of transistors is included in the scope of the present invention.
Further, a first connection point a1 is arranged between the first control chip 11 and the first negative contact T13; the charging control circuit 12 includes a sampling resistor Rdet, one end of the sampling resistor Rdet is connected to the first connection point a1, and the other end of the sampling resistor Rdet is connected to the source of the field effect transistor Q.
In this embodiment, a first connection point a1 is disposed between the first control chip 11 and the first negative contact T13, one end of the sampling resistor Rdet is connected to the first connection point a1, and the other end of the sampling resistor Rdet is connected to the source of the field effect transistor Q, that is, the charging current flowing through the first negative contact T13 passes through the sampling resistor Rdet and the field effect transistor Q to ground; an analog-to-digital converter is arranged in the first control chip 11, a connection end between the first control chip 11 and the first negative contact T13 may be set as a voltage acquisition end of the analog-to-digital converter, the analog-to-digital converter acquires a voltage of the first negative contact T13, in different charging states, a charging current of the first electronic device 10 to the second electronic device 20 is different, a current flowing through the sampling resistor Rdet is also different, a voltage drop generated on the first negative contact T13 is also different, when the second electronic device 20 is charged up soon, the second electronic device 20 will stop charging automatically, at this time, the voltage on the first negative contact T13 is the minimum, and by acquiring the voltage of the first negative contact T13 and setting a suitable threshold, when the acquired voltage of the first negative contact T13 is lower than the threshold, the first control chip 11 determines that the second electronic device 20 is charged up, the first control chip 11 outputs a low level to the gate of the field effect transistor Q, controls the field effect transistor Q to be turned off, and the first negative contact T13 returns to a high level, so that the first electronic device 10 stops charging the second electronic device 20.
In the charging process, if the user suddenly takes out the second electronic device 20, the voltage of the first negative contact T13 directly becomes a level close to 0V, the first control chip 11 determines that the second electronic device 20 is taken out, after it is detected that the second electronic device 20 is taken out, the first control chip 11 turns off the field effect transistor Q, the first negative contact T13 changes to a low level state again, and the first electronic device 10 can resume connection detection of the second electronic device 20 (in this embodiment, in-box detection of the charging box on the wireless headset).
When the second electronic device 20 is placed in the first electronic device 10, but the second electronic device 20 is fully charged, the field effect transistor Q remains off, and the first negative contact T13 is at a high level; in this case, if the second electronic device 20 is suddenly taken out, the first negative contact T13 returns to the low level, and the first electronic device 10 considers that the second electronic device 20 is taken out. As can be seen from the above description, the first electronic device 10 can determine whether the second electronic device 20 is put in or taken out, regardless of whether the second electronic device is in the charging state.
When the second electronic device 20 is taken out from the first electronic device 10, the second communication contact T22 at the end of the second electronic device 20 returns to the high level state, and when the second electronic device 20 detects the high level state of the second communication contact T22, the second control chip 21 determines that the second electronic device 20 is taken out from the first electronic device 10.
In conclusion: whether the first electronic device 10 is powered or not, the second control chip 21 can determine whether the second electronic device 20 is put into the first electronic device 10 or taken out of the first electronic device 10; regardless of whether the second electronic device 20 is powered on or not, the first control chip 11 can determine whether the second electronic device 20 is placed in the first electronic device 10 or taken out of the first electronic device 10. Therefore, the problem that in the prior art, only under the condition that the wireless earphone and the charging box are charged, the wireless earphone and the charging box can detect whether the other side is put in or taken out is solved.
In addition, when the first electronic device 10 is connected to the second electronic device 20, the first control chip 11 controls the field effect transistor Q to be turned on, then the first communication contact T12 and the second communication contact T22 implement half-duplex communication through serial communication, the preset communication protocol controls the start, stop, and transmission of communication control commands, and the like, when the first communication contact T12 sends a signal, the second communication contact T22 receives the signal, after the first communication contact T12 finishes sending, the first communication contact T12 is changed to a receiving mode, the second communication contact T22 is changed to a sending mode, and signal reverse transmission is implemented, so that the duplex communication function between the first electronic device 10 and the second electronic device 20 can be implemented, more complex communication functions can be implemented, and the problem that the earphone box control earphone is basically implemented in the prior art is solved, the earphone box and the wireless earphone can only carry out simplex communication and cannot realize complex communication function. Furthermore, the signal communication of a single wire is realized by using an independent port, the power consumption of the in-out box detection mode of the wireless earphone is basically negligible, and the in-out box detection method is suitable for in-out box detection and communication control between the TWS wireless earphone and the charging box. The communication mode of the first electronic device 10 and the second electronic device 20 may adopt a UART communication protocol, and may also adopt other proposed protocols, both of which can implement a communication interaction function.
Further, a second connection point a2 is arranged between the first control chip 11 and the first connection point a 1; the charge control circuit 12 includes a filter capacitor C, one end of the filter capacitor C is connected to the second connection point a2, and the other end of the filter capacitor C is grounded.
In this embodiment, a second connection point a2 is provided between the first control chip 11 and the first connection point a1, one end of the filter capacitor C is connected to the second connection point a2, and the other end of the filter capacitor C is grounded, so that noise of the voltage signal collected from the first negative contact T13 is filtered by the filter capacitor C, and the accuracy of voltage signal collection is improved. In addition, a pull-up resistor R7 is further provided between the gate of the field effect transistor Q and ground, and a current limiting resistor R8 is further provided between the first connection point a1 and the second connection point a 2.
Referring to fig. 2, based on the above embodiment 1, a2 nd real-time example of the present invention is provided, and further, the connection detecting system 100 includes a third electronic device 30, where the third electronic device 30 includes a third control chip 31, and a third positive contact T31, a third communication contact T32, and a third negative contact T33 connected to the third control chip 31, a fourth resistor R4 is connected between the third communication contact T32 and a power source VCC, and the third negative contact T33 is grounded; the first positive contact T11 and the third positive contact T31 are correspondingly turned on or off, the first communication contact T12 and the third communication contact T32 are correspondingly turned on or off, the first negative contact T13 and the third negative contact T33 are correspondingly turned on or off, the first control chip 11 detects a level state of the first negative contact T13 to determine whether the first electronic device 10 is connected to the third electronic device 30, and/or the third control chip 31 detects a level state of the third communication contact T32 to determine whether the third electronic device 30 is connected to the first electronic device 10.
In this embodiment, the first electronic device 10 is a charging box, and in the second electronic device 20 and the third electronic device 30, one of them is a left ear wireless earphone, the other one is a right ear wireless earphone, the second electronic device 20 and the third electronic device 30 share the detection channel and the charging channel in the first electronic device 10, the method for detecting the entrance and the exit of the third electronic device 30 and charging the third electronic device 30 and the method for communicating with the third electronic device 30 are the same as those of the second electronic device 20, not described in detail herein, the present embodiment has the advantages that, no matter the user puts the left ear wireless earphone or the right ear wireless earphone into the charging box, through the charging box, the detection and charging of the in-out box of the left ear wireless earphone or the right ear wireless earphone can be realized, and the communication control between the charging box and the left ear wireless earphone or the right ear wireless earphone can be realized.
Referring to fig. 3, based on the embodiment 1, a real-time example 3 of the present invention is provided, in which the first electronic device 10 further includes a fourth communication contact T14 and a fourth negative contact T15 connected to the first control chip 11, a fifth resistor R5 is connected between the fourth communication contact T14 and the fourth negative contact T15, and a sixth resistor R6 is connected between the fourth negative contact T15 and ground; the connection detection system 100 includes a third electronic device 30, where the third electronic device 30 includes a third control chip 31, and a third positive contact T31, a third communication contact T32, and a third negative contact T33 connected to the third control chip 31, a fourth resistor R4 is connected between the third communication contact T32 and a power source VCC, and the third negative contact T33 is grounded; the first positive contact T11 and the third positive contact T31 are correspondingly turned on or off, the third communication contact T32 and the fourth communication contact T14 are correspondingly turned on or off, the third negative contact T33 and the fourth negative contact T15 are correspondingly turned on or off, the first control chip 11 detects a level state of the fourth negative contact T15 to determine whether the first electronic device 10 is connected to the third electronic device 30, and/or the third control chip 31 detects a level state of the third communication contact T32 to determine whether the third electronic device 30 is connected to the first electronic device 10.
In this embodiment, the first electronic device 10 is a charging box, one of the second electronic device 20 and the third electronic device 30 is a left-ear wireless earphone, the other one of the second electronic device 20 and the third electronic device 30 is a right-ear wireless earphone, the second electronic device 20 and the third electronic device 30 respectively use different detection channels and different charging channels in the first electronic device 10, and the in-out box detection, charging method and communication method of the third electronic device 30 are the same as those of the second electronic device 20, which is not described herein The detection of the left ear wireless earphone and the detection of the right ear wireless earphone in and out boxes are mutually independent and do not interfere with each other; the charging processes of the left ear wireless earphone and the right ear wireless earphone are independent and do not interfere with each other; the left ear wireless earphone, the right ear wireless earphone and the charging box are mutually independent in communication control and do not interfere with each other.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, and all modifications and equivalents of the present invention, which are made by the contents of the present specification and the accompanying drawings, or directly/indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A connection detection system, characterized in that the connection detection system comprises:
the first electronic device comprises a first control chip, and a first positive contact, a first communication contact and a first negative contact which are connected with the first control chip, wherein a first resistor is connected between the first communication contact and the first negative contact, and a second resistor is connected between the first negative contact and the ground;
the second electronic equipment comprises a second control chip, and a second positive contact, a second communication contact and a second negative contact which are connected with the second control chip, wherein a third resistor is connected between the second communication contact and a power supply, and the second negative contact is grounded;
the first positive contact and the second positive contact are correspondingly connected or disconnected, the first communication contact and the second communication contact are correspondingly connected or disconnected, the first negative contact and the second negative contact are correspondingly connected or disconnected, the first control chip detects the level state of the first negative contact to judge whether the first electronic device is connected with the second electronic device, and/or the second control chip detects the level state of the second communication contact to detect whether the second electronic device is connected with the first electronic device.
2. The connection detection system according to claim 1, wherein the first positive contact and the second positive contact are correspondingly conducted, when the first negative contact and the second negative contact are correspondingly conducted, a first voltage division loop is formed among the first positive contact, the second control chip, the second negative contact, the first negative contact, the second resistor and ground, and the first control chip detects that the first negative contact is in a high level state to determine that the first electronic device is connected with the second electronic device.
3. The connection detection system according to claim 2, wherein the first communication contact is in corresponding conduction with a second communication contact, when the first negative contact is in corresponding conduction with the second negative contact, a second voltage division loop is formed among the power supply, the second communication contact, the first resistor, the first negative contact, the second negative contact and ground, and the second control chip detects that the second communication contact is in a low level state to determine that the second electronic device is connected with the first electronic device.
4. The connection detection system of claim 3, wherein the first electronic device further comprises:
the charging control circuit is connected to the first control chip and the first negative contact, and the charging control circuit is used for pulling down the level of the first negative contact under the control of the first control chip.
5. The connection detection system of claim 4, wherein the charge control circuit comprises a field effect transistor;
the grid electrode of the field effect transistor is connected to the first control chip;
the source of the field effect transistor is connected to the first negative contact;
the drain of the field effect transistor is grounded.
6. The connection detection system of claim 5,
a first connecting point is arranged between the first control chip and the first negative contact;
the charging control circuit comprises a sampling resistor, one end of the sampling resistor is connected to the first connecting point, and the other end of the sampling resistor is connected to the source electrode of the field effect transistor.
7. The connection detection system of claim 6,
a second connection point is arranged between the first control chip and the first connection point;
the charging control circuit comprises a filter capacitor, one end of the filter capacitor is connected to the second connection point, and the other end of the filter capacitor is grounded.
8. The connection detection system of claim 1, wherein the connection detection system comprises a third electronic device, the third electronic device comprising a third control chip and a third positive contact, a third communication contact and a third negative contact connected to the third control chip, wherein a fourth resistor is connected between the third communication contact and a power source, and wherein the third negative contact is connected to ground;
the first positive contact and the third positive contact are correspondingly connected or disconnected, the first communication contact and the third communication contact are correspondingly connected or disconnected, the first negative contact and the third negative contact are correspondingly connected or disconnected, the first control chip detects the level state of the first negative contact to judge whether the first electronic device is connected with the third electronic device, and/or the third control chip detects the level state of the third communication contact to detect whether the third electronic device is connected with the first electronic device.
9. The connection detection system according to claim 1, wherein the first electronic device further comprises a fourth communication contact connected to the first control chip and a fourth negative contact, a fifth resistor is connected between the fourth communication contact and the fourth negative contact, and a sixth resistor is connected between the fourth negative contact and ground;
the connection detection system comprises a third electronic device, the third electronic device comprises a third control chip, and a third positive contact, a third communication contact and a third negative contact which are connected with the third control chip, a fourth resistor is connected between the third communication contact and a power supply, and the third negative contact is grounded;
the first positive contact and the third positive contact are correspondingly connected or disconnected, the third communication contact and the fourth communication contact are correspondingly connected or disconnected, the third negative contact and the fourth negative contact are correspondingly connected or disconnected, the first control chip detects the level state of the fourth negative contact to judge whether the first electronic device is connected with the third electronic device, and/or the third control chip detects the level state of the third communication contact to detect whether the third electronic device is connected with the first electronic device.
10. The connection detection system of any one of claims 1-9, wherein the first electronic device is a charging box and the second electronic device is a wireless headset.
CN201911364362.8A 2019-12-25 2019-12-25 Connection detection system Pending CN110907862A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911364362.8A CN110907862A (en) 2019-12-25 2019-12-25 Connection detection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911364362.8A CN110907862A (en) 2019-12-25 2019-12-25 Connection detection system

Publications (1)

Publication Number Publication Date
CN110907862A true CN110907862A (en) 2020-03-24

Family

ID=69827773

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911364362.8A Pending CN110907862A (en) 2019-12-25 2019-12-25 Connection detection system

Country Status (1)

Country Link
CN (1) CN110907862A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112040358A (en) * 2020-08-11 2020-12-04 青岛歌尔智能传感器有限公司 Box-entering detection method, system and computer readable storage medium
CN112351361A (en) * 2020-10-30 2021-02-09 歌尔科技有限公司 Earphone in-out box detection method and earphone box
WO2022121047A1 (en) * 2020-12-08 2022-06-16 威创集团股份有限公司 Detection system and video receiving box

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130108063A1 (en) * 2011-11-01 2013-05-02 Dustin J. Verhoeve Invoking and supporting device testing through audio connectors
CN103167392A (en) * 2011-12-13 2013-06-19 三星电子株式会社 Earphone connection detecting system and mobile device for supporting the system
US20140013012A1 (en) * 2012-07-05 2014-01-09 Apple Inc. Techniques for monitoring contacts in a connector
CN105011484A (en) * 2015-06-04 2015-11-04 潍坊市三田科技有限公司 Intelligent bracelet with dual-Bluetooth modules
CN208368568U (en) * 2018-05-29 2019-01-11 北京摩拜科技有限公司 A kind of battery pack and electrical equipment
CN211669346U (en) * 2019-12-25 2020-10-13 傲基科技股份有限公司 Connection detection system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130108063A1 (en) * 2011-11-01 2013-05-02 Dustin J. Verhoeve Invoking and supporting device testing through audio connectors
CN103167392A (en) * 2011-12-13 2013-06-19 三星电子株式会社 Earphone connection detecting system and mobile device for supporting the system
US20140013012A1 (en) * 2012-07-05 2014-01-09 Apple Inc. Techniques for monitoring contacts in a connector
CN105011484A (en) * 2015-06-04 2015-11-04 潍坊市三田科技有限公司 Intelligent bracelet with dual-Bluetooth modules
CN208368568U (en) * 2018-05-29 2019-01-11 北京摩拜科技有限公司 A kind of battery pack and electrical equipment
CN211669346U (en) * 2019-12-25 2020-10-13 傲基科技股份有限公司 Connection detection system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112040358A (en) * 2020-08-11 2020-12-04 青岛歌尔智能传感器有限公司 Box-entering detection method, system and computer readable storage medium
CN112351361A (en) * 2020-10-30 2021-02-09 歌尔科技有限公司 Earphone in-out box detection method and earphone box
WO2022121047A1 (en) * 2020-12-08 2022-06-16 威创集团股份有限公司 Detection system and video receiving box

Similar Documents

Publication Publication Date Title
CN211669346U (en) Connection detection system
CN110907862A (en) Connection detection system
CN110572736B (en) Wireless earphone, charging box and wireless earphone charging system
JP5717005B2 (en) Method and terminal for selecting an internal circuit according to the status of a USB interface
CN210536885U (en) Earphone charging box circuit, earphone charging box, earphone and communication system
CN203422413U (en) Circuit and system for electric vehicle conduction type charging guide signal detection
CN109066888B (en) Charging control circuit with temperature protection function and electronic product
US10256668B2 (en) Control device, power receiving device, electronic apparatus, and contactless power transmission system
CN107394860B (en) Charging small current detection method for Bluetooth headset
CN107889012B (en) Wireless earphone capable of charging wearable device
EP4027160B1 (en) Universal plug status detection circuit
CN104407687A (en) Reset circuit
CN216056395U (en) Charging circuit, cleaning device and cleaning system
CN104215810A (en) EV (electric vehicle) conductive charge guide signal detection circuit and system
CN205873545U (en) Elevator of terraced device of utensil lock
CN114498831A (en) Electronic device and charging control method
CN104536314B (en) Start control circuit, method and electronic equipment based on near-field communication NFC
CN111200425A (en) Reset circuit and related electronic equipment
CN114336903B (en) Charging circuit, charging device and capsule endoscope charging system
CN212751846U (en) Time division multiplexing circuit and TWS device
CN216816805U (en) Wake-up circuit, detection circuit, control guide circuit, chip and vehicle
CN211930302U (en) Charging circuit, charging box and charging system
CN106253398B (en) A kind of circuit for detecting and charger based on charging
CN212486763U (en) Earphone box-entering detection circuit and TWS earphone
CN205335900U (en) Electronic equipment and externally fill electrical detection circuitry thereof

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