CN219305002U - Earphone detection circuit and earphone box - Google Patents

Earphone detection circuit and earphone box Download PDF

Info

Publication number
CN219305002U
CN219305002U CN202223487422.5U CN202223487422U CN219305002U CN 219305002 U CN219305002 U CN 219305002U CN 202223487422 U CN202223487422 U CN 202223487422U CN 219305002 U CN219305002 U CN 219305002U
Authority
CN
China
Prior art keywords
earphone
contact
capacitor
detection circuit
switching tube
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202223487422.5U
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202223487422.5U priority Critical patent/CN219305002U/en
Application granted granted Critical
Publication of CN219305002U publication Critical patent/CN219305002U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Dc-Dc Converters (AREA)

Abstract

The present disclosure relates to an earphone detection circuit and an earphone box. The earphone detection circuit includes: the power supply, the first contact, the second contact, the first capacitor, the first switch tube and the control unit; the power supply is respectively connected with the first end of the first capacitor and the first contact, the second end of the first capacitor is respectively connected with the first end of the first switch tube and the second contact, the second end of the first switch tube is connected with the control unit, the third end of the first switch tube is grounded, and the first contact and the second contact are used for respectively contacting with the positive elastic sheet corresponding to the positive conductive sheet and the negative elastic sheet corresponding to the negative conductive sheet of the earphone when the earphone is positioned in the earphone groove; the control unit is used for determining whether the earphone is put into the box according to the working state of the first switch tube. Therefore, whether the earphone is put into the box or not is determined by utilizing the alternating electric signal generated by the first capacitor when the earphone is put into the box, the sensitivity of the detection of the earphone is improved, the problem of false detection is effectively avoided, and the efficiency of the detection of the earphone into the box is improved.

Description

Earphone detection circuit and earphone box
Technical Field
The disclosure relates to the technical field of wearable devices, and in particular relates to an earphone detection circuit and an earphone box.
Background
With the development of bluetooth technology and wireless technology, wireless headphones such as TWS (True Wireless Stereo ) headphones are rapidly developed, and the requirement of users on the long endurance of the wireless headphones is further improved. Because the wireless earphone is small in size and small in battery capacity, the endurance of the wireless earphone is low. Although the charging box can charge the wireless earphone, the earphone is required to be placed in the charging box, the charging box can charge the earphone only when detecting the earphone, if the charging box does not timely detect that the wireless earphone is placed in the charging box, the charging box is not timely charged, the using time of the wireless earphone cannot be ensured, and the experience of a user can be influenced.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides an earphone detection circuit and an earphone box.
According to a first aspect of embodiments of the present disclosure, there is provided an earphone detection circuit, including: the power supply, the first contact, the second contact, the first capacitor, the first switch tube and the control unit;
the power supply is respectively connected with the first end of the first capacitor and the first contact, the second end of the first capacitor is respectively connected with the first end of the first switch tube and the second contact, the second end of the first switch tube is connected with the control unit, and the third end of the first switch tube is grounded, wherein the first contact and the second contact are used for respectively contacting with a positive elastic sheet corresponding to a positive conductive sheet and a negative elastic sheet corresponding to a negative conductive sheet of the earphone when the earphone is positioned in the earphone groove;
the control unit is used for determining whether the earphone is put into the box according to the working state of the first switch tube.
Optionally, the circuit further comprises: and the first end of the second capacitor is connected with the second end of the first capacitor and the second contact respectively, and the second end of the second capacitor is connected with the first end of the first switch tube.
Optionally, the circuit further comprises: the first end of the first resistor is connected with the second end of the second capacitor, the first end of the first switch tube and the first end of the second resistor respectively, and the second end of the second resistor is grounded.
Optionally, the earphone includes left earphone and right earphone, first contact includes first left contact and first right contact, the second contact includes second left contact and second right contact, first electric capacity includes electric capacity C1 and electric capacity C2, and first switch tube includes switch tube Q1 and switch tube Q2, wherein, first left contact with the second left contact is used for when left earphone is located the earphone inslot respectively with positive shell fragment that the positive pole conducting strip of left earphone corresponds and the negative shell fragment that the negative pole conducting strip corresponds contact, first right contact and second right contact are used for when right earphone is located the earphone inslot respectively with the positive shell fragment that the positive pole conducting strip of right earphone corresponds and the negative shell fragment that the negative pole conducting strip corresponds contact.
Optionally, the earphone detection circuit further includes a second switching tube, a first end of the second switching tube is connected with the control unit, a second end of the second switching tube is connected with the second contact, and a third end of the second switching tube is grounded;
the control unit is also used for controlling the second switch tube to be conducted when the earphone is detected to be in the box, so that the power supply charges the earphone.
Optionally, the earphone detection circuit further includes a third resistor, a first end of the third resistor is connected to the first end of the second switch tube, and a second end of the third resistor is grounded.
Optionally, the earphone detection circuit further includes a current detection unit, and the current detection unit is connected to the third end of the second switching tube.
Optionally, the current detection unit includes a sampling resistor and a current monitor, wherein a first end of the sampling resistor is respectively connected with a third end of the second switching tube and a first voltage pin of the current monitor, a second end of the sampling resistor is connected with a second voltage pin of the current monitor, and the current monitor is used for outputting a current signal according to a voltage difference between the first voltage pin and the second voltage pin and a resistance value of the sampling resistor.
Optionally, the earphone detection circuit further comprises a prompt device, and the control unit is respectively connected with the current monitor and the prompt device;
the control unit is used for controlling the prompting device to output first prompting information when the first switching tube is in a conducting state so as to prompt that the earphone is in a box; and
the control unit is used for receiving the current signal sent by the current monitor and controlling the prompting equipment to output corresponding second prompting information according to the charging current represented by the current signal.
According to a second aspect of embodiments of the present disclosure, there is provided a headphone case including a headphone case body and a headphone detection circuit as described in the first aspect of embodiments of the present disclosure.
The earphone detection circuit provided by the embodiment of the disclosure can comprise the following beneficial effects:
by adopting the earphone detection circuit, the alternating electric signal generated by the first capacitor is used for controlling the first switch tube to be conducted when the earphone is put into the box, so that the control unit can determine whether the earphone is put into the box according to the working state of the first switch tube, the sensitivity of earphone box-in detection is improved, the problem of false detection is effectively avoided, and the efficiency of earphone box-in detection is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a block diagram illustrating a headset detection circuit according to an exemplary embodiment.
Fig. 2 is a circuit diagram illustrating a headset detection circuit according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
At present, various methods for detecting the earphone in the box exist, including non-contact in-box detection and contact in-box detection. Wherein, non-contact type is gone into box detection such as hall sensor detection, infrared sensor detection etc. contact type is gone into box detection such as mechanical bullet needle contact detection.
The infrared sensor detection is, for example, by mounting the light emitter and the receiver face-to-face on both sides of a slot. The illuminator emits infrared light, the receiver can receive the light when the cover is opened, the light in the cover closing time slot is blocked, and the receiver can not receive the light or receives weak light, so that whether the earphone is put into the box or not can be determined according to the intensity of the received light. The scheme has the advantages of high detection speed, high power consumption, easiness in being influenced by factors such as dust and water vapor, and low detection efficiency. The Hall sensor detects the magnetic field change by utilizing the Hall effect, and compared with reed and mechanical switches, the digital output is clean and stable, jitter and impact are not generated, the service life is long, and vibration is resistant; compared with the detection of the infrared sensor, the detection mode is free from pollution or corrosion of oil stain, dust, water vapor and salt fog, low in power consumption, small in size, light in weight and convenient to install, but high in use cost, and meanwhile the weight of the earphone side is increased. The mechanical spring needle contact detection has the advantages that the mechanical spring needle is simple in structure and high in precision requirement, but short in service life, is easily affected by dust, water vapor, vibration and other factors, is easy to rust, and is extremely easy to produce metal fatigue damage.
In view of the above, the disclosure provides an earphone detection circuit and an earphone box, which utilize an alternating electric signal generated during charging and discharging of a capacitor to detect whether an earphone is put into the box, so as to improve the sensitivity of the earphone box-in detection, effectively avoid the problem of false detection and improve the efficiency of the earphone box-in detection.
Fig. 1 is a block diagram illustrating a headset detection circuit according to an exemplary embodiment. As shown in fig. 1, the earphone detection circuit may include a power supply 101, a first contact 102, a second contact 103, a first capacitor 104, a first switching tube 105, and a control unit 106. The power supply 101 is connected to a first end of the first capacitor 104 and the first contact 102, a second end of the first capacitor 104 is connected to a first end of the first switch tube 105 and the second contact 103, a second end of the first switch tube 105 is connected to the control unit 106, and a third end of the first switch tube 105 is grounded, where the first contact 102 and the second contact 103 are used to contact with a positive elastic sheet 201 corresponding to a positive conductive sheet and a negative elastic sheet 202 corresponding to a negative conductive sheet of the earphone 20 when the earphone 20 is located in the earphone slot. The control unit 106 is configured to determine whether the earphone 20 is in the box according to the operation state of the first switch tube 105.
In the present disclosure, the positive spring 201 corresponding to the positive conductive sheet refers to a spring next to the positive conductive sheet, and the negative spring 202 corresponding to the negative conductive sheet refers to a spring next to the negative conductive sheet.
The operation principle of the earphone detection circuit shown in fig. 1 is as follows: when the earphone 20 is put into the box, the positive spring piece 201 corresponding to the positive conductive piece of the earphone 20 contacts the first contact 102, and the negative spring piece 202 corresponding to the negative conductive piece of the earphone contacts the second contact 103. The first capacitor 104 is charged at the moment of contact, and then the first capacitor 104 is discharged, at which time an alternating signal is generated. The alternating signal is transmitted to the first switching tube 105, and the first switching tube 105 is turned on. Accordingly, the control unit 106 determines that the earphone is put into the box when determining that the first switching tube 105 is in the on state.
By adopting the earphone detection circuit, the alternating electric signal generated by the first capacitor is used for controlling the first switch tube to be conducted when the earphone is put into the box, so that the control unit can determine whether the earphone is put into the box according to the working state of the first switch tube, the sensitivity of earphone box-in detection is improved, the problem of false detection is effectively avoided, and the efficiency of earphone box-in detection is improved.
In practical applications, the headphones include a left headphone and a right headphone, and detecting whether the headphones are in the box generally includes detecting whether the left headphone is in the box and whether the right headphone is in the box. Thus, in one embodiment, the headphones comprise a left headphone and a right headphone. The first contact 102 comprises a first left contact and a first right contact, the second contact comprises a second left contact and a second right contact, wherein the first left contact and the second left contact are used for being respectively contacted with a positive elastic sheet corresponding to a positive conductive sheet and a negative elastic sheet corresponding to a negative conductive sheet of the left earphone when the left earphone is positioned in the earphone slot, and the first right contact and the second right contact are used for being respectively contacted with the positive elastic sheet corresponding to the positive conductive sheet and the negative elastic sheet corresponding to the negative conductive sheet of the right earphone when the right earphone is positioned in the earphone slot. The first capacitor includes a capacitor C11 and a capacitor C12, and the first switching tube 105 includes a switching tube Q11 and a switching tube Q12.
Furthermore, the first switching tube may be a semiconductor switching tube. For example, the first switching transistor may be selected from one of a triode and a MOS transistor. In this embodiment, the first switching transistor is an N-type MOS transistor, and the control unit 106 is a chip MCU.
Fig. 2 is a circuit diagram illustrating a headset detection circuit according to an exemplary embodiment. As shown in fig. 2, the power supply 101 is a power VCC, and the circuit structure for detecting whether the left earphone is in the box is as follows: the power supply VCC is respectively connected with a first end and a first left contact of the capacitor C11, a second end of the capacitor C11 is respectively connected with a grid electrode and a second left contact of the switching tube Q11, a drain electrode of the switching tube Q11 is connected with a first GPIO (General Purpose Input/Output Port, general purpose input/Output pin) of the chip MCU, and a source electrode of the switching tube Q11 is grounded. Similarly, the circuit structure for detecting whether the right earphone is in the box is as described above, and will not be described here again.
When the left earphone is put into the box, the positive elastic piece corresponding to the positive conductive piece of the left earphone is contacted with the first left contact, and the positive elastic piece corresponding to the negative conductive piece of the left earphone is contacted with the second left contact. The capacitor C11 charges and discharges to generate an alternating signal. The alternating signal is transmitted to the gate of the switching tube Q11, so that the switching tube Q11 is turned on, and the first GPIO (i.e., GPIO1 in fig. 2) of the chip MCU is pulled down, and the external interrupt signal of the GPIO1 interface is triggered. And the chip MCU determines whether the left earphone is put into the box according to the read GPIO1 interface level signal. For example, if the external interrupt signal of the GPIO1 interface is set to be at a high level, the chip MCU determines that the left earphone is in the box when reading that the level signal of the GPIO1 interface is at a high level. If the external interrupt signal of the GPIO1 interface is set to be at a low level, the chip MCU determines that the left earphone is put into the box when the level signal of the GPIO1 interface is read to be at the low level. Similarly, when the right earphone is put into the box, the positive spring piece corresponding to the positive conductive piece of the right earphone is contacted with the first right contact, and the positive spring piece corresponding to the negative conductive piece of the right earphone is contacted with the second right contact. Capacitor C12 charges and discharges to generate an alternating signal. The alternating signal is transmitted to the gate of the switching tube Q12, so that the switching tube Q12 is turned on, and the second GPIO (i.e., GPIO2 in fig. 2) of the chip MCU is pulled down, and the external interrupt signal of the GPIO2 interface is triggered. And the chip MCU determines whether the right earphone is put into the box according to the read GPIO2 interface level signal.
It will be appreciated that the battery in the headset keeps the first switching tube in an on state after the headset is in the box. For example, after the left earphone is put into the box, a voltage difference exists between the gate and the source of the switching tube Q11, the switching tube Q11 is turned on, or after the right earphone is put into the box, a voltage difference exists between the gate and the source of the switching tube Q12, and the switching tube Q12 is turned on. Therefore, after the earphone is put into the box, the whole earphone detection circuit is still in an electrified state, so that the power consumption of the earphone detection circuit is increased, and the service life of the earphone detection circuit is shortened.
Considering that the battery within the headset outputs direct current after the headset is in the box, the headset detection circuit may also include a second capacitor in some embodiments. And a first end of the second capacitor is connected to the second end of the first capacitor 104 and the second contact 103, respectively, and a second end of the second capacitor is connected to the first end of the first switching tube 105. Considering that the headphones comprise a left headphone and a right headphone, similarly, the second capacitance comprises a capacitance C21 and a capacitance C22.
As shown in fig. 2, a first end of the capacitor C21 is connected to the second end of the capacitor C11 and the second left contact, and a second end of the capacitor C21 is connected to the gate of the switching tube Q11. Thus, at the moment when the left earphone is put into the box, the switching tube Q11 is turned on. After the left earphone is put into the box, the capacitor C21 blocks the direct current from passing through, and the switch tube Q11 is not conducted. Similarly, a first terminal of the capacitor C22 is connected to the second terminal of the capacitor C12 and the second right contact, respectively, and a second terminal of the capacitor C22 is connected to the gate of the switching transistor Q12. Thus, at the moment when the right earphone is put into the box, the switching tube Q12 is turned on. After the right earphone is put into the box, the capacitor C22 blocks the direct current from passing through, and the switch tube Q12 is not conducted. Therefore, the power consumption of the switching tube can be reduced, and the service life of the earphone detection circuit can be prolonged.
In practical applications, when the on voltage of the first switch tube is larger, the first switch tube is easy to burn, so in order to avoid the problem that the first switch tube is damaged due to the larger voltage, in some embodiments, the earphone detection circuit may further include a first resistor and a second resistor, where the first end of the first resistor is connected to the second end of the first capacitor, the first end of the second capacitor and the second contact, the second end of the first resistor is connected to the second end of the second capacitor, the first end of the first switch tube and the first end of the second resistor, and the second end of the second resistor is grounded.
As shown in fig. 2, the first resistor includes a resistor R11 and a resistor R12, and the second resistor includes a resistor R21 and a resistor R22. The first end of the resistor R11 is connected to the second end of the capacitor C11, the first end of the capacitor C21 and the second left contact, the second end of the resistor R11 is connected to the second end of the capacitor C21, the gate of the switch tube Q11 and the first end of the resistor R21, and the second end of the resistor R21 is grounded. Similarly, the first end of the resistor R12 is connected to the second end of the capacitor C12, the first end of the capacitor C22 and the second right contact, and the second end of the resistor R12 is connected to the second end of the capacitor C22, the gate of the switching tube Q12 and the first end of the resistor R22, respectively, and the second end of the resistor R22 is grounded. By adjusting the size of the resistor R11 and the resistor R21, the voltage difference between the grid electrode and the source electrode of the switching tube Q11 can be controlled, and the switching tube Q11 is prevented from being damaged due to overlarge voltage difference. And by adjusting the sizes of the resistor R12 and the resistor R22, the voltage difference between the grid electrode and the source electrode of the switching tube Q12 can be controlled, and the switching tube Q12 is prevented from being damaged due to overlarge voltage difference.
Therefore, by adopting the earphone detection circuit, the damage of the first switch tube can be ensured by adjusting the resistance values of the first resistor and the second resistor, and the service life of the earphone detection circuit is further prolonged.
In practice, the earphone needs to be charged after the earphone is put into the box, so in some embodiments, the earphone detection circuit can also be used to control the power supply to charge the earphone after the earphone is detected to be put into the box. The earphone detection circuit further comprises a second switching tube. The first end of the second switching tube is connected with the control unit, the second end of the second switching tube is connected with the second contact, and the third end of the second switching tube is grounded. The control unit is also used for controlling the second switch tube to be conducted when the earphone is detected to be in the box, so that the power supply charges the earphone.
Similarly, the second switching tube may be a semiconductor switching tube. For example, the second switching transistor may be selected from one of a triode and a MOS transistor. In this embodiment, the second switching transistor is exemplified as an N-type MOS transistor. Similarly, to achieve control of the left and right earphone charging, respectively, the second switching tube may include a switching tube Q21 and a switching tube Q22.
Illustratively, as shown in fig. 2, the gate of the switching transistor Q21 is connected to the third GPIO (i.e., GPIO 3) of the chip MCU, and the drain of the switching transistor Q21 is connected to the second left contact. When the chip MCU detects that the left earphone is put into the box, the SWITCH signal SWITCH1 is output through the GPIO3, so that the SWITCH tube Q21 is controlled to be conducted through the SWITCH signal SWITCH 1. When the switching tube Q21 is turned on, the power supply VCC charges the left earphone.
Similarly, the gate of the switching transistor Q22 is connected to the fourth GPIO (i.e., GPIO 4) of the chip MCU, and the drain of the switching transistor Q22 is connected to the second right contact. When the chip MCU detects that the right earphone is put into the box, the SWITCH signal SWITCH2 is output through the GPIO4, so that the SWITCH tube Q22 is controlled to be conducted through the SWITCH signal SWITCH 2. When the switching tube Q22 is turned on, the power supply VCC charges the right earphone.
Therefore, the earphone detection circuit can be used for detecting the earphone entering box and charging the earphone after entering the box, so that the cost of the earphone detection circuit is reduced.
In addition, in order to avoid the excessive driving current of the second switching tube, in some embodiments, the earphone detection circuit further includes a third resistor, a first end of the third resistor is connected to the first end of the second switching tube, and a second end of the third resistor is grounded. That is, the third resistor is used to shunt to reduce the driving current of the second switching tube. Similarly, as shown in fig. 2, the third resistor includes a resistor R31 and a resistor R32. The first end of the resistor R31 is connected with the grid electrode of the switch tube Q21, and the second end of the resistor R31 is grounded. A first terminal of the resistor R32 is connected to the gate of the switching transistor Q22, and a second terminal of the resistor R32 is grounded. Therefore, the driving current of the second switching tube can be reduced, and the second switching tube is prevented from being burnt out due to overlarge power.
In the present disclosure, the earphone detecting circuit may further include a current detecting unit, where the current detecting power source is connected to the third terminal of the second switching tube, for detecting a charging current of the earphone. The current detection circuit may include a sampling resistor and a current monitor, for example. The first end of the sampling resistor is respectively connected with the third end of the second switching tube and the first voltage pin of the current monitor, the second end of the sampling resistor is connected with the second voltage pin of the current monitor, and the current monitor is used for outputting a current signal according to the pressure difference between the first voltage pin and the second voltage pin and the resistance value of the sampling resistor. The sampling resistor comprises a resistor R41 and a resistor R42, and the current monitor is a chip LTC2990.
As shown in fig. 2, a first terminal of the resistor R41 is connected to the source of the switching transistor Q21 and the voltage pin V11 of the chip LTC2990, respectively, and a second terminal of the resistor R41 is connected to the voltage pin V21 of the chip LTC2990. The first terminal of resistor R42 is connected to the source of switch Q22 and voltage pin V12 of chip LTC2990, respectively, and the second terminal of resistor R42 is connected to voltage pin V22 of chip LTC2990. In this way, the chip LTC2990 may determine the charging current according to the voltage difference between the voltage pin V11 and the voltage pin V21 and the resistance value of the resistor R41, and output the current signal of the left earphone according to the charging current. Similarly, the chip LTC2990 may determine a charging current according to a voltage difference between the voltage pin V21 and the voltage pin V22 and a resistance value of the resistor R42, and output a current signal of the right earphone according to the charging current.
In some embodiments, the current monitor is connected to the control unit, e.g., the SCL pin and the SDA pin of the chip LTC2990 are connected to the SCL pin and the SDA pin, respectively, in the chip MCU. The chip LTC2990 sends a current signal to the chip MCU, and the chip MCU determines whether to continue to charge the earphone according to the charging current represented by the current signal. For example, if the charging current is greater than or equal to the preset current threshold, it is determined that the earphone is fully charged, and at this time, the chip MCU outputs switching information to control the second switching tube to be non-conductive, and controls the power VCC to stop charging the earphone.
Furthermore, in order to facilitate the user in knowing that the headset has been put in the box and/or the state of charge of the headset, in some embodiments the headset detection circuit further comprises a reminder device, the control unit being connected to the current monitor and the reminder device, respectively. The control unit is used for controlling the prompting device to output first prompting information when the first switching tube is in a conducting state so as to prompt that the earphone is in the box; and the control unit is used for receiving the current signal sent by the current monitor and controlling the prompting equipment to output corresponding second prompting information according to the current represented by the current signal. The prompting device can be a light prompting device, a voice prompting device, a text prompting device and the like.
As shown in fig. 2, the prompting device is an indicator light, the PWM pin of the chip MCU is connected to the indicator light, and the SCL pin and the SDA pin of the chip LTC2990 are respectively connected to the SCL pin and the SDA pin in the chip MCU. For example, the chip MCU controls the indicator lights to light up when it is determined that the headphones are in the box. For example, the brightness and/or the lighting color of the prompting lamp are preset to enable the earphone to be put into the box, so that the chip MCU controls the prompting lamp to be lighted with the brightness and/or the lighting color when the earphone is detected to be put into the box, and a user can conveniently know that the earphone is put into the box.
Also for example, the user may also learn the magnitude of the earphone charging current by using the second prompt information output by the indicator light. For example, the corresponding relation between the different charging current values and the brightness and/or the lighting color of the indicator lamp is preset, and when the chip MCU receives the current signal sent by the chip LTC2990 through the SCL pin and the SDA pin, the brightness and/or the lighting color of the indicator lamp corresponding to the charging current is controlled to light according to the charging current value represented by the current signal.
Therefore, by adopting the earphone detection circuit, the user can be prompted to enter the box through the first prompt information output by the prompt device, and the user is prompted to charge the earphone through the second prompt information output by the prompt device, so that the user can know the charge state of the earphone conveniently, and the intellectualization of charging the earphone is improved.
Based on the same conception, the present disclosure also provides an earphone box including an earphone box body and an earphone detection circuit provided by the present disclosure.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. An earphone detection circuit, comprising: the power supply, the first contact, the second contact, the first capacitor, the first switch tube and the control unit;
the power supply is respectively connected with the first end of the first capacitor and the first contact, the second end of the first capacitor is respectively connected with the first end of the first switch tube and the second contact, the second end of the first switch tube is connected with the control unit, and the third end of the first switch tube is grounded, wherein the first contact and the second contact are used for respectively contacting with a positive elastic sheet corresponding to a positive conductive sheet and a negative elastic sheet corresponding to a negative conductive sheet of the earphone when the earphone is positioned in the earphone groove;
the control unit is used for determining whether the earphone is put into the box according to the working state of the first switch tube.
2. The headset detection circuit of claim 1, wherein the circuit further comprises: and the first end of the second capacitor is connected with the second end of the first capacitor and the second contact respectively, and the second end of the second capacitor is connected with the first end of the first switch tube.
3. The headset detection circuit of claim 2, wherein the circuit further comprises: the first end of the first resistor is connected with the second end of the second capacitor, the first end of the first switch tube and the first end of the second resistor respectively, and the second end of the second resistor is grounded.
4. A headset detection circuit according to any of claims 1-3 wherein the headset comprises a left headset and a right headset, the first contact comprises a first left contact and a first right contact, the second contact comprises a second left contact and a second right contact, the first capacitor comprises a capacitor C1 and a capacitor C2, the first switching tube comprises a switching tube Q1 and a switching tube Q2, wherein the first left contact and the second left contact are adapted to be in contact with a positive spring and a negative spring, respectively, corresponding to the positive conductive tab and the negative conductive tab of the left headset when the left headset is in the headset slot, and the first right contact and the second right contact are adapted to be in contact with a positive spring and a negative spring, respectively, corresponding to the positive conductive tab and the negative conductive tab of the right headset when the right headset is in the headset slot.
5. A headset detection circuit according to any of claims 1-3 further comprising a second switching tube, a first end of the second switching tube being connected to the control unit, a second end of the second switching tube being connected to the second contact, a third end of the second switching tube being grounded;
the control unit is also used for controlling the second switch tube to be conducted when the earphone is detected to be in the box, so that the power supply charges the earphone.
6. The headphone detection circuit of claim 5, further comprising a third resistor, a first end of the third resistor connected to the first end of the second switching tube, and a second end of the third resistor connected to ground.
7. The headphone detection circuit of claim 5, further comprising a current detection unit coupled to a third terminal of the second switching tube.
8. The earphone detection circuit according to claim 7, wherein the current detection unit comprises a sampling resistor and a current monitor, a first end of the sampling resistor is connected to a third end of the second switching tube and a first voltage pin of the current monitor, a second end of the sampling resistor is connected to a second voltage pin of the current monitor, and the current monitor is configured to output a current signal according to a voltage difference between the first voltage pin and the second voltage pin and a resistance value of the sampling resistor.
9. The headset detection circuit of claim 8 further comprising a prompting device, the control unit being coupled to the current monitor and the prompting device, respectively;
the control unit is used for controlling the prompting device to output first prompting information when the first switching tube is in a conducting state so as to prompt that the earphone is in a box; and
the control unit is used for receiving the current signal sent by the current monitor and controlling the prompting equipment to output corresponding second prompting information according to the charging current represented by the current signal.
10. A headphone case characterized in that the headphone case comprises a headphone case body and a headphone detection circuit as claimed in any one of claims 1 to 9.
CN202223487422.5U 2022-12-26 2022-12-26 Earphone detection circuit and earphone box Active CN219305002U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202223487422.5U CN219305002U (en) 2022-12-26 2022-12-26 Earphone detection circuit and earphone box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202223487422.5U CN219305002U (en) 2022-12-26 2022-12-26 Earphone detection circuit and earphone box

Publications (1)

Publication Number Publication Date
CN219305002U true CN219305002U (en) 2023-07-04

Family

ID=86985389

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202223487422.5U Active CN219305002U (en) 2022-12-26 2022-12-26 Earphone detection circuit and earphone box

Country Status (1)

Country Link
CN (1) CN219305002U (en)

Similar Documents

Publication Publication Date Title
US11871796B2 (en) Voltage output circuit for electronic cigarette and electronic cigarette using circuit
KR20080025522A (en) Apparatus for automatically detecting battery polarity
US8913361B2 (en) Overvoltage protection circuit and portable electronic device comprising same
CN219305002U (en) Earphone detection circuit and earphone box
CN104425998A (en) Power socket and electric shock prevention circuit thereof
JP2011000930A (en) Lamp driving device and disconnection detecting method of lamp
CN111864838A (en) Self-adaptive battery polarity charging circuit and charger
CN108279361B (en) Test method and test circuit for charging port of intelligent terminal
CN102904325A (en) Integrated charger of mobile terminal and method for charging mobile terminal
CN212410835U (en) Detection circuit of alternating current input line and socket with detection circuit
JP2001222991A (en) Secondary battery, method to identify battery, charging equipment and electric apparatus therewith
CN210807531U (en) Switch loop detection device
JP5960364B1 (en) Direction indication system and direction indication device
CN204465032U (en) Control device and the charging system of charging equipment charging
CN109217856A (en) A kind of power electronic switching
CN218941379U (en) Identification circuit for multiple batteries and strong light flashlight
CN219512388U (en) Switch circuit for detecting backlight circuit
JP3733953B2 (en) Abnormality detection device for battery pack
TW201338341A (en) Charge indicator circuit
CN115632449B (en) Device and method for detecting quick charge state of battery
CN201766808U (en) Electromagnetic wave eliminating device
JP2003174731A (en) Charger and electric apparatus
CN209860307U (en) Data patch cord
CN117420429A (en) On-off detection circuit, control method, switching device and on-off detection controller
KR790001952Y1 (en) Emergency device of battery

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant