Connection detection system
By using resistor loop detection level status in electronic device connections, the problems of long connection detection time and high power consumption are solved, and fast and low power consumption connection detection and duplex communication are achieved.
Patent Information
- Application Number
- CN201911364362.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-12-25
- Publication Date
- 2024-12-13
- Estimated Expiration
- 2039-12-25
AI Technical Summary
In the prior art, it takes a long time to detect the electronic device connection process and requires software assistance, resulting in increased power consumption.
A connection detection system is designed, using the resistive circuit between the positive electrode contacts, communication contacts and negative electrode contacts between the first and second electronic devices to determine the connection situation by controlling the chip detection level state, forming a voltage divided Loops to shorten the connection detection time and independently complete the detection through the charging control circuit to reduce power consumption.
It realizes the rapid determination of the connection status of electronic devices in hardware circuits, shortens the connection detection time, reduces the power consumption of electronic devices, and supports duplex communication function.
Smart Images

Figure CN110907862B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of electronic technology, and in particular to a connection detection system. Background Art
[0002] In the prior art, there is the following scenario: during the connection process of two electronic devices, either electronic device needs to unidirectionally detect whether it is successfully connected to the other electronic device before proceeding to the next step. For example, when a wireless headset is placed in a charging box for charging, the wireless headset needs to unidirectionally detect whether it is successfully connected to the charging box, and the charging box also needs to unidirectionally detect whether it is successfully connected to the wireless headset. Only after both confirm that they are successfully connected to each other, the charging box will charge the wireless headset. This detection process is unidirectional, takes a long time to detect, and requires software assistance, resulting in increased power consumption of electronic devices. Summary of the invention
[0003] The main purpose of the present invention is to provide a connection detection system, which aims to solve the problem in the prior art that a long detection time is required during the connection process of an electronic device and the power consumption of the electronic device is increased.
[0004] To achieve the above-mentioned purpose, the present invention proposes a connection detection system, which includes: a first electronic device, the first electronic device includes a first control chip and a first positive contact, a first communication contact and a first negative contact connected to the first control chip, 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; a second electronic device, the second electronic device includes a second control chip and a second positive contact, a second communication contact and a second negative contact connected to the second control chip, a third resistor is connected between the second communication contact and a power supply, and the second negative contact is grounded; wherein the first positive contact and the second positive contact are correspondingly turned on or off, the first communication contact and the second communication contact are correspondingly turned on or off, the first negative contact and the second negative contact are correspondingly turned on or off, the first control chip detects the level state of the first negative contact to determine whether the first electronic device is connected to 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 to the first electronic device.
[0005] Furthermore, when the first positive contact and the second positive contact are correspondingly conducted, and the first negative contact and the second negative contact are correspondingly conducted, a first voltage divider circuit is formed between the first positive contact, the second 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 to determine that the first electronic device is connected to the second electronic device.
[0006] Furthermore, when the first communication contact and the second communication contact are correspondingly conducted and the first negative contact and the second negative contact are correspondingly conducted, a second voltage divider circuit is formed between the power supply, the second communication contact, the first 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 to determine that the second electronic device is connected to the first electronic device.
[0007] Furthermore, the first electronic device also includes: a charging control circuit, the charging control circuit is connected to the first control chip and the first negative contact, and the charging control circuit is used to lower the level of the first negative contact under the control of the first control chip.
[0008] Furthermore, the charging control circuit includes a field effect transistor; the gate 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; and the drain of the field effect transistor is grounded.
[0009] Furthermore, a first connection point is provided between the first control chip and the first negative electrode contact; the charging control circuit comprises a sampling resistor, one end of the sampling resistor is connected to the first connection point, and the other end of the sampling resistor is connected to the source of the field effect transistor.
[0010] Furthermore, a second connection point is provided 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.
[0011] Further, the connection detection system is a third electronic device, and 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; wherein, the first positive contact and the third positive contact are correspondingly turned on or off, the first communication contact and the third communication contact are correspondingly turned on or off, the first negative contact and the third negative contact are correspondingly turned on or off, the first control chip detects the level state of the first negative contact to determine whether the first electronic device is connected to 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 to the first electronic device.
[0012] Further, the first electronic device also includes a fourth communication contact and a fourth negative contact connected to 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 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; wherein, the first positive contact and the third positive contact are correspondingly turned on or off, the third communication contact and the fourth communication contact are correspondingly turned on or off, the third negative contact and the fourth negative contact are correspondingly turned on or off, the first control chip detects the level state of the fourth negative contact to determine whether the first electronic device is connected to 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 to the first electronic device.
[0013] Furthermore, the first electronic device is a charging box, and the second electronic device is a wireless headset.
[0014] In the present invention, when the first electronic device is connected to the second electronic device, a first voltage divider circuit is formed between the first positive contact, the second positive contact, the second control chip, the second negative contact, the first negative contact, the second resistor and the ground, and the level state of the first negative contact jumps from a low level when the first electronic device and the second electronic device are not connected to a high level. When the first control chip detects that the first negative contact is in a high level state, it is determined that the first electronic device is connected to the second electronic device; a second voltage divider circuit is formed between the power supply, the second communication contact, the first communication contact, the first resistor, the first negative contact, the second negative contact and the ground, and the second communication contact is pulled down to a low level by the first resistor. At this time, the second control chip detects that the second communication contact is in a low level state, thereby determining that the second electronic device is connected to the first electronic device, and the first electronic device and the second electronic device simultaneously detect whether they are connected to each other, thereby shortening the connection detection time of the first electronic device and the second electronic device, and the implementation of this embodiment is independently completed by hardware circuits, the circuit is simple, easy to debug, and the power consumption of the first electronic device and the second electronic device can be reduced. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.
[0016] Figure 1 A circuit diagram of a first embodiment of a connection detection system according to the present invention;
[0017] Figure 2 A circuit diagram of a second embodiment of a connection detection system according to the present invention;
[0018] Figure 3 FIG. 4 is a circuit diagram of a third embodiment of a connection detection system according to the present invention.
[0019] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0020] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0021] It should be noted that all directional indications in the embodiments of the present invention (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0022] In addition, the descriptions of "first", "second", etc. in the present invention are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0023] See also Figure 1The present invention proposes a connection detection system 100. In a first embodiment, the connection detection system 100 includes: a first electronic device 10, 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 the ground; a second electronic device 20, 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 the power supply VCC, and the second negative contact T23 is grounded; wherein, the first positive contact T11 and the second positive contact T21 are correspondingly turned on or off, the first communication contact T12 and the second communication contact T22 are correspondingly turned on or off, the first negative contact T13 and the second negative contact T23 are correspondingly turned on or off, the first control chip 11 detects the 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 the level state of the second communication contact T22 to detect whether the second electronic device 20 is connected to the first electronic device 10.
[0024] In this embodiment, the first electronic device 10 may be a charging box (not shown) of a wireless headset (not shown), or other types of electronic devices, and the second electronic device 20 may be a wireless headset (such as a TWS headset, a true wireless Bluetooth headset), or other types of electronic devices. The following description will take the first electronic device 10 as a charging box for wireless headsets and the second electronic device 20 as a wireless headset as an example.
[0025] 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 is connected to the second positive contact T21, the first communication contact T12 is connected to the second communication contact T22, and the first negative contact T13 is connected to the second negative contact T23. At this time, the first positive contact T11 is connected to the second positive contact T21, the first communication contact T12 is connected to the second communication contact T22, and the first negative contact T13 is connected to the second negative contact T23. A first voltage divider circuit (not shown) is formed between the 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. After voltage division by the second control chip 21 and the second resistor R2, the voltage at the first negative contact T13 is the voltage across the second resistor R2, that is, at this time, the level state of the first negative contact T13 is a high level, that is, the level state of the first negative contact T13 jumps from a low level when the first electronic device 10 and the second electronic device 20 are not connected to a high level. The first control chip 11 detects that the first negative contact T13 is in a high level state, then determines that the first electronic device 10 and the second electronic device 20 are connected, that is, determines that the wireless headset is placed in the charging box. Specifically, the voltage drop generated on the second control chip 21 is caused by the circuit inside the second control chip 21. There is an integrated circuit (not shown) in the second electronic device 20. There is a PN junction (not shown) between the positive and negative electrodes of the integrated circuit. The PN junction makes the voltage drop of the second electronic device 20 in the loop relatively low, generally between 0.15V-0.7V. The following is explained by taking the voltage drop of the second electronic device as 0.2V as an example. The second resistor R2 can be set to a larger resistance value, for example, the resistance value of the second resistor R2 is 1 megahertz, that is, the voltage drop generated on the second control chip 21 will be smaller than the voltage drop generated on the second resistor R2. For example, the 5V voltage at the first positive contact T11 is reduced by 0.2V after passing through the second control chip 21, and the voltage output of the first negative contact T13 is 4.8V. Relative to the entire system, the 4.8V is considered to be a high level by the first control chip 11, that is, the first control chip 11 will detect that the level state of the first negative contact T13 is a high level.
[0026] 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, and 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 supply VCC through the third resistor R3, and the level state of the second communication contact T22 is a high level; after the second electronic device 20 is placed in the first electronic device 10, the first communication contact T12 is connected to the second communication contact T22 correspondingly, and the first communication contact T13 is connected to the second communication contact T22 correspondingly. When a negative contact T13 is correspondingly turned on with the second negative contact T23, a second voltage divider circuit (not shown) is formed between the power supply 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, and 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). At this time, the second control chip 21 detects that the second communication contact T22 is in a low level state, thereby determining that the second electronic device 20 is connected to the first electronic device 10.
[0027] In summary, in this embodiment, when the first electronic device 10 is connected to the second electronic device 20, a first voltage-dividing 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, and the level state of the first negative contact T13 changes from a low level when the first electronic device 10 and the second electronic device 20 are not connected to a high level. The first control chip 11 detects that the first negative contact T13 is in a high level state, and then determines that the first electronic device 10 is connected to the second electronic device 20; at the same time, the power supply VCC, the second communication contact T22, the first communication contact T12, the first resistor R1, the first negative contact T23, the first negative contact T13, the second resistor R2 and the ground. A second voltage-dividing circuit is formed between point T13, the second negative contact T23 and the ground. The second communication contact T22 changes from a high level when the first electronic device 10 and the second electronic device 20 are not connected to a low level. At this time, the second control chip 21 detects that the second communication contact T22 is in a low level state, thereby judging 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 they are connected to each other, thereby shortening the connection detection time between the first electronic device 10 and the second electronic device 20, and the implementation method of this embodiment is independently completed by a hardware circuit, the circuit is simple, easy to debug, and can reduce the power consumption of the first electronic device 10 and the second electronic device 20.
[0028] Furthermore, the first electronic device 10 also includes: a charging control circuit 12, the charging control circuit 12 is connected to the first control chip 11 and the first negative contact T13, and the charging control circuit 12 is used to lower the level of the first negative contact T13 under the control of the first control chip 11.
[0029] In this embodiment, after the first electronic device 10 is connected to the second electronic device 20, the first negative contact T13 is at a high level, such as the above-mentioned 4.8V. Although there is a voltage difference of 0.2V between the 4.8V of the first negative contact T13 and the 5V of the first positive contact T11, such a small voltage difference is not enough to realize charging the second electronic device 20 through the first electronic device 10. Therefore, in order to realize charging of the second electronic device 20 by the first electronic device 10, the charging control circuit 12 is set 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 circuit 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. The charging control circuit 12 of this embodiment will be described in detail below. It can be understood that any design that achieves the above result through conversion of circuit form should be included in the protection scope of the present invention.
[0030] Furthermore, the charging 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; and the drain of the field effect transistor Q is grounded.
[0031] 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, and the drain of the field effect transistor Q is grounded. 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 to turn on the field effect transistor Q, that is, the source and drain of the field effect transistor Q are turned on. Because the drain is grounded, the first negative contact T13 is pulled down to a low level, so that a complete charging circuit is formed between the first positive contact T11 and the first negative contact T13, so that the first electronic device 10 charges the second electronic device 20. It can be understood that the field effect transistor Q can also be a P-channel field effect transistor Q, and any design that achieves the above results by changing the type and number of transistors should be included in the protection scope of the present invention.
[0032] Furthermore, a first connection point A1 is provided 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.
[0033] In this embodiment, a first connection point A1 is provided 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 the ground; an analog-to-digital converter is provided in the first control chip 11, and the connection end between the first control chip 11 and the first negative contact T13 can be set as a voltage collection end of the analog-to-digital converter, and the analog-to-digital converter collects the voltage of the first negative contact T13. Under different charging states, the charging current of the second electronic device 20 by the first electronic device 10 is adjusted. The sizes are different, the current flowing through the sampling resistor Rdet is also different, and the voltage drop generated on the first negative contact T13 is also different. When the second electronic device 20 is almost fully charged, the second electronic device 20 will automatically stop charging. At this time, the voltage on the first negative contact T13 is the smallest. By collecting the voltage of the first negative contact T13 and setting a suitable threshold, when the collected 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 fully charged, and the first control chip 11 outputs a low level to the gate of the field effect transistor Q to control the field effect transistor Q to turn 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.
[0034] During the charging process, if the user suddenly takes out the second electronic device 20, the voltage of the first negative contact T13 will directly become close to a level of 0V, and the first control chip 11 determines that the second electronic device 20 is taken out. After detecting that the second electronic device 20 is taken out, the first control chip 11 turns off the field effect transistor Q, and the first negative contact T13 becomes a low level state again. The first electronic device 10 can resume connection detection of the second electronic device 20 (in this embodiment, the charging box detects the entry of the wireless headset into the box).
[0035] 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 closed, and the first negative contact T13 is at a high level; if the second electronic device 20 is suddenly taken out in this case, the first negative contact T13 will return to a low level, and the first electronic device 10 will consider that the second electronic device 20 is taken out. From the above description, it can be seen that the first electronic device 10 can determine whether the second electronic device 20 is placed in or taken out regardless of whether it is in a charging state.
[0036] When the second electronic device 20 is taken out of the first electronic device 10, the second communication contact T22 at the second electronic device 20 returns to a high level state. 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 of the first electronic device 10.
[0037] In summary, it can be seen that: regardless of whether the first electronic device 10 has power, the second control chip 21 can determine whether the second electronic device 20 is placed in or taken out of the first electronic device 10; regardless of whether the second electronic device 20 has power, the first control chip 11 can determine whether the second electronic device 20 is placed in or taken out of the first electronic device 10. This solves the problem in the prior art that the wireless headset and the charging box can detect whether the other party is placed in or taken out only when both the wireless headset and the charging box have power.
[0038] 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 open, and then realizes half-duplex communication between the first communication contact T12 and the second communication contact T22 through serial communication, and the start, stop and transmission control commands of the communication are controlled by the pre-set communication protocol. When the first communication contact T12 sends a signal, the second communication contact T22 receives it. After the first communication contact T12 completes sending, the first communication contact T12 changes to the receiving mode and the second communication contact T22 changes to the sending mode to realize the reverse transmission of the signal. The above method can realize the duplex communication function of the first electronic device 10 and the second electronic device 20, and can realize more complex communication functions, solving the problem that the existing technology basically controls the earphones with the earphone box, and the earphone box and the wireless earphone can only perform simplex communication, and cannot realize complex communication functions. Furthermore, the present invention uses an independent port to realize the signal communication of a single line, and the power consumption of the in-and-out box detection method of the wireless earphone is basically negligible, which is suitable for the in-and-out box detection and communication control between the TWS wireless earphone and the charging box. The communication method between the first electronic device 10 and the second electronic device 20 may adopt the UART communication protocol or other proposed protocols, and both may realize the communication interaction function.
[0039] Furthermore, a second connection point A2 is provided between the first control chip 11 and the first connection point A1; the charging 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.
[0040] In this embodiment, by providing a second connection point A2 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, the noise of the voltage signal collected from the first negative contact T13 is filtered out by the filter capacitor C, thereby improving the accuracy of voltage signal collection. In addition, a pull-up resistor R7 is further provided between the gate of the field effect transistor Q and the ground, and a current limiting resistor R8 is further provided between the first connection point A1 and the second connection point A2.
[0041] See also Figure 2Based on the above first embodiment, a second real-time embodiment of the present invention is proposed. Further, the connection detection system 100 includes a third electronic device 30, and 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 the power supply VCC, and the third negative contact T33 is grounded; wherein the first positive contact T11 and the third positive contact T31 are respectively conductive. Or disconnected, the first communication contact T12 and the third communication contact T32 are connected or disconnected correspondingly, the first cathode contact T13 and the third cathode contact T33 are connected or disconnected correspondingly, the first control chip 11 detects the level state of the first cathode 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 the level state of the third communication contact T32 to detect whether the third electronic device 30 is connected to the first electronic device 10.
[0042] In this embodiment, the first electronic device 10 is a charging box, and one of the second electronic device 20 and the third electronic device 30 is a left-ear wireless headset, and the other is a right-ear wireless headset. 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 box entry and exit detection, charging method and communication method with the third electronic device 30 of the third electronic device 30 are the same as those of the second electronic device 20, which will not be repeated here. The beneficial effect of this embodiment is that no matter whether the user puts the left-ear wireless headset or the right-ear wireless headset into the charging box, the charging box can realize the box entry and exit detection and charging of the left-ear wireless headset or the right-ear wireless headset, and realize the communication control between the charging box and the left-ear wireless headset or the right-ear wireless headset.
[0043] See also Figure 3Based on the above first embodiment, a third real-time embodiment of the present invention is proposed, wherein 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 the ground; the connection detection system 100 is a third electronic device 30, and 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, and a third communication contact T32 is connected to the power supply VCC. A fourth resistor R4 is connected, and the third negative contact T33 is grounded; wherein, 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 the 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 the level state of the third communication contact T32 to detect whether the third electronic device 30 is connected to the first electronic device 10.
[0044] In this embodiment, the first electronic device 10 is a charging box, and one of the second electronic device 20 and the third electronic device 30 is a left-ear wireless headset, and the other is a right-ear wireless headset. 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. The in-and-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 will not be repeated here. The beneficial effect of this embodiment is that the user can put the left-ear wireless headset and the right-ear wireless headset into the charging box at the same time. Through the charging box of this embodiment, the in-and-out box detection and charging of the left-ear wireless headset and the right-ear wireless headset can be realized simultaneously, and the communication control between the charging box and the left-ear wireless headset and the right-ear wireless headset can be realized. The in-and-out box detection of the left-ear wireless headset and the right-ear wireless headset is independent of each other and does not interfere with each other; the charging process of the left-ear wireless headset and the right-ear wireless headset is independent of each other and does not interfere with each other; the communication control between the left-ear wireless headset, the right-ear wireless headset and the charging box is independent of each other and does not interfere with each other.
[0045] The above description is only a preferred embodiment of the present invention, and does not limit the patent scope of the present invention. All equivalent structural changes made by using the contents of the present invention specification and drawings under the inventive concept of the present invention, or directly / indirectly applied in other related technical fields are included in the patent protection scope of the present invention.
Claims
1. A connection detection system, characterized in that: The connection detection system comprises: a first electronic device, the first electronic device comprising a first control chip and a first positive contact, a first communication contact and a first negative contact connected to the first control chip, a first resistor connected between the first communication contact and the first negative contact, and a second resistor connected between the first negative contact and ground; a second electronic device, the second electronic device comprising a second control chip and a second positive contact, a second communication contact and a second negative contact connected to the second control chip, a third resistor being connected between the second communication contact and a power source, and the second negative contact being grounded; Among them, the first positive contact and the second positive contact are correspondingly turned on or off, the first communication contact and the second communication contact are correspondingly turned on or off, the first negative contact and the second negative contact are correspondingly turned on or off, the first control chip detects the level state of the first negative contact to determine whether the first electronic device is connected to 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 to the first electronic device.
2. The connection detection system according to claim 1, characterized in that: When the first positive contact and the second positive contact are correspondingly conducted, and the first negative contact and the second negative contact are correspondingly conducted, a first voltage divider circuit is formed between the first positive contact, the second 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 to determine that the first electronic device is connected to the second electronic device.
3. The connection detection system according to claim 2, characterized in that: When the first communication contact is connected to the second communication contact and the first negative contact is connected to the second negative contact, a second voltage divider circuit is formed between the power supply, the second communication contact, the first 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 to determine that the second electronic device is connected to the first electronic device.
4. The connection detection system according to claim 3, characterized in that: The first electronic device further includes: A charging control circuit is connected to the first control chip and the first negative electrode contact, and is used to pull down the level of the first negative electrode contact under the control of the first control chip.
5. The connection detection system according to claim 4, characterized in that: The charging control circuit includes a field effect transistor; The gate of the field effect transistor is connected to the first control chip; The source of the field effect transistor is connected to the first cathode contact; The drain of the field effect transistor is grounded.
6. The connection detection system according to claim 5, characterized in that: A first connection point is provided between the first control chip and the first negative contact; The charging control circuit comprises a sampling resistor, one end of which is connected to the first connection point, and the other end of which is connected to the source of the field effect transistor.
7. The connection detection system according to claim 6, characterized in that: A second connection point is provided 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 according to claim 1, characterized in that: The connection detection system is 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 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; Among them, the first positive contact and the third positive contact are correspondingly turned on or off, the first communication contact and the third communication contact are correspondingly turned on or off, the first negative contact and the third negative contact are correspondingly turned on or off, the first control chip detects the level state of the first negative contact to determine whether the first electronic device is connected to 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 to the first electronic device.
9. The connection detection system according to claim 1, characterized in that: The first electronic device further includes a fourth communication contact and a fourth cathode contact connected to the first control chip, a fifth resistor is connected between the fourth communication contact and the fourth cathode contact, and a sixth resistor is connected between the fourth cathode contact and the ground; The connection detection system is 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 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; Among them, the first positive contact and the third positive contact are correspondingly turned on or off, the third communication contact and the fourth communication contact are correspondingly turned on or off, the third negative contact and the fourth negative contact are correspondingly turned on or off, the first control chip detects the level state of the fourth negative contact to determine whether the first electronic device is connected to 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 to the first electronic device.
10. The connection detection system according to any one of claims 1 to 9, characterized in that: The first electronic device is a charging box, and the second electronic device is a wireless headset.
