Circuit for detecting device insertion and extraction and related electronic device

CN117330999BActive Publication Date: 2026-10-27SHENZHEN INJOINIC TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211197027.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-30
Publication Date
2026-10-27
Estimated Expiration
2042-06-30

AI Technical Summary

Technical Problem

现有的补点仓的电子设备对子设备的插拔检测的灵敏度较低,影响了用户体验度

Benefits of technology

[0007]可以看出,在如图2所示的电路结构中,由于高电位输出电路的驱动能力非常弱,所以插入的设备输入阻抗非常大时,也能够把电路输出的电平拉低,即具有超高的灵敏度,且耗电非常低;并由于低电位输出电路具有防倒灌功能,这保证了高电位输出电路的上拉不会因低电位输出电路漏电拉低而引起误触发,而低电位输出电路的驱动能力很强,所以有设备插入后仍然能够把输出电平维持住,使得设备双方都能检测到插入状态,从而提高插拔的灵敏度及输出电平稳定,提高用户体验度。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117330999B_ABST
    Figure CN117330999B_ABST
Patent Text Reader

Abstract

The application provides a circuit for detecting equipment plugging and a related electronic device. The circuit for detecting equipment plugging comprises a discharge output circuit, at least one plugging detection circuit module and at least one output channel matched with the at least one plugging detection circuit module. One end of the discharge output circuit is connected with the at least one plugging detection circuit module, and the other end of the at least one plugging detection circuit module is connected with the at least one output channel matched with the at least one plugging detection circuit module. The at least one output channel is connected with the power supply end of at least one sub-equipment outside. The technical scheme provided by the application has the advantages of high sensitivity and stable output level.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of electronic devices, and more specifically to a circuit and related electronic devices for detecting device insertion and removal. Background Technology

[0002] Currently, there are many electronic devices on the market equipped with charging cases (such as True Wireless Stereo (TWS) earbuds or lavalier wireless microphones). In these systems, the charging case charges its own battery via an external power source, and then boosts the voltage from its own battery to charge the sub-devices. When the charging case is not charging a sub-device, it is in a low-power state, so it needs to detect the insertion / removal signal of the sub-device to trigger charging or other actions. After the sub-device is fully charged, the charging case needs to reduce its own power consumption, i.e., the charging case stops boosting the voltage and switches to a stable voltage signal for the sub-device. Existing charging case electronic devices have low sensitivity to sub-device insertion / removal detection, which affects the user experience. Summary of the Invention

[0003] This invention provides a circuit and related electronic equipment for detecting device insertion and removal, which can improve the sensitivity of sub-device insertion and removal detection and enhance user experience.

[0004] In a first aspect, embodiments of the present invention provide a circuit for detecting device insertion and removal, the circuit comprising: a discharge output circuit, at least one insertion and removal detection circuit module, and at least one output channel associated with the at least one insertion and removal detection circuit module.

[0005] The discharge output circuit is connected to one end of at least one insertion / removal detection circuit module, and the other end of the at least one insertion / removal detection circuit module is connected to at least one output channel of its counterpart. The at least one output channel is connected to the power supply terminal of at least one external sub-device.

[0006] This application also provides an electronic device, which includes the circuit described above for detecting device insertion and removal. Implementing the embodiments of the present invention has the following beneficial effects:

[0007] It can be seen that, in such Figure 2 In the circuit structure shown, because the driving capability of the high-potential output circuit is very weak, it can still pull down the output level of the circuit even when the input impedance of the inserted device is very high, thus exhibiting extremely high sensitivity and very low power consumption. Furthermore, because the low-potential output circuit has an anti-backflow function, it ensures that the pull-up of the high-potential output circuit will not be falsely triggered due to leakage current in the low-potential output circuit. On the other hand, the driving capability of the low-potential output circuit is very strong, so it can still maintain the output level after a device is inserted, allowing both devices to detect the insertion status. This improves the sensitivity of insertion and removal, the stability of the output level, and enhances the user experience. Attached Figure Description

[0008] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0009] Figure 1 This is a circuit diagram for detecting the insertion and removal of a device;

[0010] Figure 2 This is a circuit diagram of another testing device plugging and unplugging provided in this application;

[0011] Figure 3 This is a circuit diagram of another type of testing device plugging and unplugging provided in this application. Detailed Implementation

[0012] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0013] The terms "first," "second," "third," and "fourth," etc., used in the specification, claims, and accompanying drawings of this invention are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or apparatuses.

[0014] In this document, the term "embodiment" means that a particular feature, result, or characteristic described in connection with an embodiment may be included in at least one embodiment of the invention. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0015] See Figure 1 , Figure 1 This is a circuit diagram illustrating the insertion and removal of a power supply compartment detection sub-device, as shown below. Figure 1As shown, the circuit may specifically include: comparator U1, voltage source (+5V), current source I0, and comparison voltage V. ref ;in,

[0016] The output of comparator U1 is the output level DET detected by the sub-device, and the positive input of comparator U1 is connected to the comparison voltage V. ref The negative input of comparator U1 is connected to the output pin V of the compensation module. out Output pin V out It is also connected to a current source I0 and a voltage source, and this output pin V out It is also connected to the power supply of external sub-devices.

[0017] See also Figure 1 The circuit shown detects insertion and removal based on the following principle:

[0018] A pull-up is V BAT The current source I0 has a very weak driving capability. When no sub-device (such as headphones) is inserted into the charging module, V out Maintaining a high level, when the sub-device is inserted into the replenishment module, V out The voltage level is pulled low, and comparator U1 is used to determine V. out Comparison voltage V ref The size, and thus comparator U1 through V out High and low level changes are used to detect device insertion and removal.

[0019] like Figure 1 In the circuit structure shown, when the driving capability of the current source I0 is too weak, V will be affected after the sub-device is inserted into the power supply compartment. out The voltage level cannot be maintained at a high level, meaning the sub-device cannot detect that it has been inserted. When the drive of the current source I0 is increased, and the input impedance of the sub-device is high, V cannot be maintained. out When the voltage level is pulled low, the charging bay cannot detect the insertion of the sub-device. At this point, reducing the output impedance of the sub-device can reduce the voltage. out Pulling the level low to trigger insertion, but this also increases the risk of... Figure 1 The circuit structure shown consumes a lot of power, and the output impedance of the sub-device needs to be adjusted to make V... out The level is maintained at the level required by the sub-device to detect the required level in the warehouse. It is not very flexible in debugging. This technology cannot balance sensitivity and power consumption well, and the entire circuit needs a large adjustment margin to be compatible with multiple sub-devices.

[0020] See Figure 2 , Figure 2 The circuit diagram for the plugging and unplugging of the power supply compartment detection sub-device provided in this application is as follows: Figure 2 As shown, the circuit for plugging and unplugging the power replenishment chamber detection sub-device may specifically include:

[0021] The system includes a discharge output circuit, at least one insertion / removal detection circuit module, and at least one output channel associated with the insertion / removal detection circuit module. The discharge output circuit is connected to one end of the insertion / removal detection circuit module, and the other end of the insertion / removal detection circuit module is connected to the at least one output channel associated with it. The at least one output channel is connected to the power supply terminal of at least one external sub-device.

[0022] For example, if there are two or more insertion / removal detection circuit modules, then the two or more insertion / removal detection circuit modules are connected in parallel.

[0023] like Figure 2 As shown, this application proposes a multi-channel device insertion / removal detection circuit system structure. Each detection circuit has the same circuit design. Taking one circuit as an example, it includes: a pass switch, a high-potential output circuit, a low-potential output circuit, and a signal detection circuit, wherein:

[0024] The circuit switch is used to disconnect the power supply path from the discharge output circuit to the sub-device and switch to the plug-in / plug-out detection state.

[0025] High-potential output circuit: Its function is to provide a weak high-potential pull-up.

[0026] Low-potential output circuit: Its function is to provide a strong low-potential pull-up and to prevent backflow.

[0027] It should be noted that the high-potential output circuit here can be a current source with a voltage higher than that of the low-potential output circuit, and similarly, the low-potential output circuit can be a current source with a voltage lower than that of the high-potential output circuit.

[0028] Signal detection circuit: Its function is to detect changes in the level on the output channel.

[0029] like Figure 2 The principle of sub-device insertion detection in the circuit shown is as follows:

[0030] 1. First, disconnect the circuit breaker to put the system in plug-in / plug-out detection mode, and then activate the high-potential output circuit, low-potential output circuit, and signal detection circuit. When the device is not plugged in, due to the pull-up effect of the high-potential output circuit, the signal detection circuit detects that the output channel level is higher than the threshold and sends a signal indicating that the device is unplugged.

[0031] 2. When the sub-device is inserted, because the drive of the high-potential output circuit is very weak, the level of the output channel is pulled low. The signal detection circuit immediately detects that the level of the output channel is lower than the threshold and sends a signal that the sub-device is inserted. When the level of the output channel continues to be pulled low, the low-potential output circuit begins to provide a strong drive pull-up to stabilize the output channel level. At this time, the sub-device can detect that there is a stable level at its input terminal, that is, the sub-device has detected that it has been inserted into the power supply compartment.

[0032] 3. At this point, the power supply compartment detects that the sub-device has entered the power supply compartment, and the power supply compartment switches to the sub-device removal detection working state, while sub-device 1 is also detected to have been inserted into the power supply compartment.

[0033] like Figure 2 The principle of the device unplug detection in the circuit shown is as follows:

[0034] 1. After the insertion event occurs, the output channel level has been stabilized by the low-potential output circuit, and the signal detection circuit has detected that the output channel level is lower than the detection threshold.

[0035] 2. When the sub-device is unplugged, due to the pull-up of the high-potential output circuit, the level of the output channel is pulled to a high potential. At this time, the signal detection circuit immediately detects that the level of the output channel is higher than the detection threshold. The signal detection circuit sends a signal that the sub-device is unplugged. At this time, the sub-device cannot detect that there is a level at its input terminal, that is, the sub-device detects that it has been unplugged from the charging compartment.

[0036] 3. At this point, the power supply compartment detects that the sub-device has left the power supply compartment, and the power supply compartment switches to the sub-device insertion detection working state, while the sub-device also detects that it has been removed from the power supply compartment.

[0037] In such Figure 2 In the circuit structure shown, because the driving capability of the high-potential output circuit is very weak, it can still pull down the output level of the circuit even when the input impedance of the inserted device is very high, which means it has extremely high sensitivity and very low power consumption. Furthermore, because the low-potential output circuit has a reverse-current protection function, it ensures that the pull-up of the high-potential output circuit will not be pulled down by the leakage current of the low-potential output circuit, thus preventing false triggering. The driving capability of the low-potential output circuit is very strong, so it can still maintain the output level after a device is inserted, allowing both devices to detect the insertion status.

[0038] For example, the above discharge output circuit can specifically be a +5V voltage source.

[0039] For example, the aforementioned circuit switch can be switch S1.

[0040] For example, the aforementioned low-potential output circuit may specifically include: a low-potential current source I. d1The transistor is connected to a switching transistor, with one end connected to the output channel and the other end connected to a low-potential current source I. d1 For example, the switching transistor mentioned above can be a diode or a diode-like transistor.

[0041] For example, the above-mentioned high-potential output circuit may specifically include: a high-potential current source I. a1 .

[0042] For example, the signal detection circuit described above may specifically include a voltage comparator U1.

[0043] For example, the high-potential output circuit, low-potential output circuit, circuit switch, and discharge output circuit described above can also adopt other circuit structures. This application does not limit the specific structure of the high-potential output circuit, low-potential output circuit, circuit switch, and discharge output circuit, as long as the circuits of the high-potential output circuit, low-potential output circuit, circuit switch, and discharge output circuit can realize their corresponding functions.

[0044] See Figure 3 , Figure 3 A circuit diagram for detecting device plugging and unplugging is provided, namely a multi-channel device plugging and unplugging detection circuit system.

[0045] like Figure 3 As shown, this invention proposes a circuit implementation for a multi-channel device insertion / removal detection circuit system. Each detection channel has the same circuit design. Taking one channel as an example, it includes a path switch S1, a voltage comparator U1, and a current source I. a1 / I d1 A diode-like circuit D1 and a voltage comparator U1, wherein:

[0046] Current source I a1 It is a high-potential output circuit.

[0047] Current source I d1 The diode-like circuit D1 is a low-potential output circuit.

[0048] The voltage comparator U1 is the signal detection current.

[0049] The detection principle is explained below:

[0050] Sub-device 1 charging and plug / unplug detection state switching:

[0051] 1. When plug-in / plug-out detection is required, disable S1 and enable I. a1 and I d1 Enter plug-in / plug-out detection state

[0052] 2. When it is necessary to charge sub-device 1, turn off I. a1 and I d1When S1 is turned on, 5V can be output to charge the sub-device.

[0053] Insertion detection:

[0054] 1. Turn off S1 and turn on I a1 and I d1 When sub-device 1 is not inserted, V out1 Current source I d1 Pull-up voltage is V BAT Detection signal V DET1 The output is 0.

[0055] 2. When inserting sub-device 1, due to current source I d1 The current is very small; after all the current flows into the sub-device, V out1 Voltage much lower than V ref1 Detection signal V DET1 The output is 1.

[0056] 3. When sub-device 1 is inserted, V out1 Voltage below V ref1 Afterwards, current source I a1 Provide a larger current to V out1 Voltage clamping at V d Sub-device 1 detected an input voltage of V. d The inserted warehouse is identified, enabling both parties to detect that the warehouse has been inserted.

[0057] Pull-out test:

[0058] 1. With sub-device 1 already inserted into the compartment, V out1 The voltage is Vd. When sub-device 1 is disconnected, it is equivalent to the removal of the load current, V. out1 The voltage rises rapidly, at V out1 Voltage higher than V ref1 At that time, the detection signal V DET1 The output is 0, and the final V out1 Stable at V BAT Voltage.

[0059] 2. After sub-device 1 is unplugged, V out1 Voltage is V BAT Detection signal V DET1 If the input voltage is 0, the charging compartment will detect that sub-device 1 has been pulled out. After sub-device 1 leaves the charging compartment, the input voltage will be 0, which will also indicate that it has been pulled out of the compartment.

[0060] This application also provides an electronic device, the electronic device comprising the above-described components. Figure 2 Or such as Figure 3 The circuit for plugging and unplugging the testing equipment is shown.

[0061] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that the present invention is not limited to the described order of actions, as some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are optional embodiments, and the actions and modules involved are not necessarily essential to the present invention.

[0062] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.

[0063] In the several embodiments provided in this application, it should be understood that the disclosed apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical or other forms.

[0064] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, which may include: flash drive, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.

[0065] The embodiments of the present invention have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.

Claims

1. A circuit for detecting device insertion / removal, characterized in that, The circuit for detecting device insertion and removal includes: a discharge output circuit, at least one insertion and removal detection circuit module, and at least one output channel associated with the at least one insertion and removal detection circuit module. The discharge output circuit is connected to one end of at least one insertion / removal detection circuit module, and the other end of the at least one insertion / removal detection circuit module is connected to at least one output channel of its counterpart. The at least one output channel is connected to the power supply terminal of at least one external sub-device. in, The insertion / removal detection circuit module includes: a pass switch, a high-potential output circuit, a low-potential output circuit, and a signal detection circuit; One end of the circuit switch is connected to the output terminal of the discharge output circuit, and the other end of the circuit switch is connected to the output channel. The output terminals of both the high-potential output circuit and the low-potential output circuit are connected to the output channel. The circuit switch is used to close or open the path for the discharge output circuit to supply power to the sub-device. The high-potential output circuit is used to provide a high-potential weak drive pull-up; The low-potential output circuit is used to provide a strong low-potential pull-up and has an anti-backflow function. The signal detection circuit is used to measure the level change on the output channel; Specifically, the low-potential output circuit includes: a low-potential current source I. d1 The switching transistor has one end connected to the output channel and the other end connected to a low-potential current source I. d1 ; Specifically, the high-potential output circuit includes: a high-potential current source I. a1 .

2. The circuit for detecting device insertion / removal according to claim 1, characterized in that, If the number of at least one insertion / removal detection circuit modules is two or more, then the two or more insertion / removal detection circuit modules are connected in parallel.

3. The circuit for detecting device insertion / removal according to claim 1, characterized in that, The discharge output circuit is specifically a +5V voltage source.

4. The circuit for detecting device insertion / removal according to claim 1, characterized in that, The switching transistor is a diode or a diode-like transistor.

5. The circuit for detecting device insertion / removal according to claim 3, characterized in that, The signal detection circuit specifically includes a voltage comparator U1.

6. An electronic device, characterized in that, The electronic device includes the circuitry for detecting device insertion / removal as described in any one of claims 1-5.

Citation Information

Patent Citations

  • Circuit for detecting plugging of equipment and electronic equipment

    CN114839571A

  • Double-channel plugging detection circuit for TWS Bluetooth earphone charging bin

    CN209930507U