CN117278904A - Earphone control circuit, earphone control method and electronic equipment - Google Patents

Earphone control circuit, earphone control method and electronic equipment Download PDF

Info

Publication number
CN117278904A
CN117278904A CN202311451412.2A CN202311451412A CN117278904A CN 117278904 A CN117278904 A CN 117278904A CN 202311451412 A CN202311451412 A CN 202311451412A CN 117278904 A CN117278904 A CN 117278904A
Authority
CN
China
Prior art keywords
control
earphone
circuit
driving circuit
control signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311451412.2A
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.)
Honor Device Co Ltd
Original Assignee
Honor Device 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 Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202311451412.2A priority Critical patent/CN117278904A/en
Publication of CN117278904A publication Critical patent/CN117278904A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1041Mechanical or electronic switches, or control elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2201/00Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
    • H04R2201/10Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups

Abstract

The application provides an earphone control circuit, an earphone control method and electronic equipment, when earphone is pulled out from the electronic equipment, earphone can be made to power down fast to can reduce or eliminate the POP sound that pulls out the production, help promoting the user to the experience sense of electronic equipment. The earphone control circuit comprises a processing circuit, a control switch and a driving circuit, wherein the control switch is connected with the processing circuit and the driving circuit; when the earphone is connected with the driving circuit, a power signal output by the processing circuit is transmitted to the driving circuit through the control switch, and the driving circuit is used for supplying power to the earphone according to the power signal; the processing circuit is used for outputting a first control signal to the control switch when the earphone is disconnected with the driving circuit; the control switch is used for controlling the processing circuit to stop outputting the power supply signal to the driving circuit according to the first control signal.

Description

Earphone control circuit, earphone control method and electronic equipment
Technical Field
The embodiment of the application relates to the technical field of electronic equipment, in particular to an earphone control circuit, an earphone control method and electronic equipment.
Background
With the increasing popularity of the universal serial bus (universal serial bus Type C, USB Type-C) interface (referred to simply as Type-C interface), more and more electronic devices cancel the analog earphone (e.g., 3.5mm earphone) interface, but the analog earphone does not exit the market, for example, the electronic device may connect with the analog earphone through the Type-C interface to transmit audio signals to the analog earphone.
For an electronic device supporting an analog earphone or an electronic device supporting the analog earphone through a Type-C interface, a sound similar to a POP or a current sound (such sound is called POP sound) is usually generated in the process of pulling the analog earphone out of the electronic device, and the POP sound greatly influences the experience of a user on the electronic device. Therefore, how to reduce or eliminate POP sound generated by pulling out is a technical problem to be solved.
Disclosure of Invention
The embodiment of the application provides an earphone control circuit, an earphone control method and electronic equipment, which enable a driving circuit to be powered down quickly, so that the earphone can be powered down quickly, POP sound generated by pulling out can be reduced or eliminated, and the experience of a user on the electronic equipment is improved.
In a first aspect, an embodiment of the present application provides an earphone control circuit, where the earphone control circuit includes a processing circuit, a control switch, and a driving circuit, where the control switch is connected to the processing circuit and the driving circuit; when the earphone is connected with the driving circuit, a power signal output by the processing circuit is transmitted to the driving circuit through the control switch, and the driving circuit is used for supplying power to the earphone according to the power signal; the processing circuit is used for outputting a first control signal to the control switch when the earphone is disconnected with the driving circuit; the control switch is used for controlling the processing circuit to stop outputting the power supply signal to the driving circuit according to the first control signal. That is, when the earphone is pulled out, the control switch can control the driving circuit to be powered down according to the first control signal, so that the driving circuit can be powered down quickly, the earphone can be powered down quickly, and further POP sound generated by pulling out can be reduced or eliminated, and the experience of a user on the electronic equipment is improved.
With reference to the earphone control circuit provided in the first aspect, in some embodiments, the processing circuit includes a control signal output end, where the control signal output end is configured to output a first control signal to the control switch; the control switch comprises a control end, the control end is connected to the control signal output end, and when the control switch receives the first control signal, the control processing circuit is electrically disconnected from the driving circuit. Therefore, the processing circuit is controlled to be electrically disconnected from the driving circuit by the control switch, so that the processing circuit stops outputting the power supply signal to the driving circuit, the driving circuit can be powered down quickly, and the earphone can be powered down quickly.
With reference to the earphone control circuit provided in the first aspect, in some embodiments, the processing circuit further includes a power supply terminal, that is, the processing circuit includes a control signal output terminal and a power supply terminal, where the power supply terminal is configured to output a power supply signal to supply power to the driving circuit; the control switch further comprises a first conductive terminal and a second conductive terminal, that is, the control switch comprises a control terminal, a first conductive terminal and a second conductive terminal. The control end is connected with the control signal output end, the first conductive end is connected with the power supply end, and the second conductive end is connected with the driving circuit; when the control end of the control switch receives a first control signal output by the control signal output end, the control switch controls the second conductive end to be electrically disconnected from the driving circuit, so that the processing circuit does not supply power to the driving circuit, the driving circuit can be powered down quickly, and the earphone can be powered down quickly.
In combination with the earphone control circuit provided in the first aspect, in some embodiments, the control switch is a first transistor, the first transistor including a gate, a drain, and a source; the grid electrode is used as a control end and is connected with the control signal output end; the drain electrode is used as a second conducting end and is connected with the driving circuit; the source electrode is used as a first conductive end and is connected to the power supply end. When the grid electrode of the first transistor receives a first control signal, the first transistor is cut off, the power supply end is electrically disconnected with the driving circuit, the processing circuit does not supply power to the driving circuit any more, and therefore the driving circuit can be powered down quickly, and the earphone can be powered down quickly.
With reference to the earphone control circuit provided in the first aspect, in some embodiments, the processing circuit includes a control signal output end, where the control signal output end is configured to output a first control signal to the control switch; the control switch comprises a control end, the control end is connected to the control signal output end, and when the control switch receives the first control signal, the control processing circuit and the driving circuit are connected to the grounding end. The processing circuit and the driving circuit are connected to the grounding end, so that the processing circuit does not supply power to the determining circuit, the driving circuit can be powered down quickly, and the earphone can be powered down quickly.
With reference to the earphone control circuit provided in the first aspect, in some embodiments, the processing circuit further includes a power supply terminal, that is, the processing circuit includes a control signal output terminal and a power supply terminal, where the power supply terminal is configured to output a power supply signal to supply power to the driving circuit; the control switch further comprises a first conductive terminal and a second conductive terminal, that is, the control switch comprises a control terminal, a first conductive terminal and a second conductive terminal. The control end is connected with the control signal output end, the first conductive end is connected with the power supply end and the driving circuit, and the second conductive end is connected with the grounding end; when the control end of the control switch receives a first control signal output by the control signal output end, the control processing circuit and the driving circuit are connected to the grounding end, so that the processing circuit does not supply power to the determining circuit, the driving circuit does not supply power to the earphone, and the earphone can be powered down rapidly.
In combination with the earphone control circuit provided in the first aspect, in some embodiments, the control switch is a second transistor, where the second transistor includes a gate, a drain, and a source, and the gate is used as a control end and connected to the control signal output end; the drain electrode is used as a first conductive end and is connected with the power supply end and the driving circuit; the source electrode is used as a second conductive end and is connected to the grounding end. When the grid electrode of the second transistor receives the first control signal, the second transistor is conducted, so that the processing circuit and the driving circuit are electrically connected with the grounding end through the drain electrode and the source electrode, that is, the processing circuit and the driving circuit are connected with the grounding end through the conducted second transistor. Therefore, the voltage of the power supply signal output by the power supply end is quickly lowered, the driving circuit can be quickly powered down, and the earphone can be quickly powered down.
In combination with the earphone control circuit provided in the first aspect, in some embodiments, the earphone control circuit further includes a current limiting unit, where one end of the current limiting unit is connected to the source of the second transistor, and the other end of the current limiting unit is connected to the ground, that is, the current limiting unit is connected to the source of the second transistor and the ground. Under the condition that the second transistor is conducted, the drain electrode and the source electrode of the second transistor are electrically conducted with the grounding end through the current limiting unit, so that the power supply end and the driving circuit are electrically conducted with the grounding end, the voltage of a power supply signal output by the power supply end is quickly lowered, the driving circuit can be quickly powered down, and the earphone can be quickly powered down. The current limiting unit is used for limiting the current from the power supply end to the grounding end when the second transistor is conducted so as to prevent the second transistor from being burnt out due to overlarge current of the power supply signal. The current limiting unit may be a current limiting resistor.
In combination with the earphone control circuit provided in the first aspect, in some embodiments, the processing circuit is further configured to output a second control signal to the control switch when it is identified that the earphone is connected to the driving circuit; the control switch is also used for controlling the processing circuit to be electrically connected with the driving circuit according to the second control signal, so that the processing circuit can supply power to the driving circuit. Wherein the level of the second control signal is different from the level of the first control signal. That is, the control signals with different levels make the processing circuit electrically connected to or disconnected from the driving circuit.
In combination with the earphone control circuit provided in the first aspect, in some embodiments, a level of the first control signal is a high level, and a level of the second control signal is a low level. That is, the high level control signal causes the processing circuit to no longer supply power to the driving circuit to power down the earphone; the low level control signal uses the processing circuit to power the driving circuit to power up the earphone. The control signal may be a headset interrupt signal.
In combination with the earphone control circuit provided in the first aspect, in some embodiments, the control switch includes one or more of an N-type transistor, a P-type transistor, and a switch. The N-type transistor may be the second transistor, and the P-type transistor may be the first transistor. That is, the control switch may be one transistor, or may be a combination of a plurality of transistors or switches, for example, the control switch includes one N-type transistor and one P-type transistor. For the control switch is a transistor or a switch, the circuit structure is simple and easy to realize.
In a second aspect, an embodiment of the present application provides a method for controlling an earphone, where the method is applied to an electronic device, and the electronic device includes a processing circuit, a control switch, and a driving circuit; when the earphone is inserted into the electronic device, the processing circuit is used for outputting a power signal and transmitting the power signal to the driving circuit through the control switch, and the driving circuit is used for supplying power to the earphone according to the power signal. The method may include: the processing circuit outputs a first control signal in response to the earphone being pulled out of the electronic device and disconnected from the driving circuit; the control switch receives the first control signal and controls the processing circuit to stop outputting the power supply signal to the driving circuit according to the first control signal. That is, when the earphone is pulled out, the control switch can control the driving circuit to be powered down according to the first control signal, so that the driving circuit can be powered down quickly, the earphone can be powered down quickly, and further POP sound generated by pulling out can be reduced or eliminated, and the experience of a user on the electronic equipment is improved.
In some embodiments, in response to the earphone being plugged into the electronic device and connected to the drive circuit, the processing circuit outputs a second control signal after the earphone is unplugged from the electronic device and after the earphone is powered down; the control switch receives the second control signal and controls the processing circuit to output a power signal to the driving circuit according to the second control signal, so that the processing circuit can supply power to the driving circuit. Wherein the level of the second control signal is different from the level of the first control signal. That is, the control signals with different levels make the processing circuit electrically connected to or disconnected from the driving circuit.
In some embodiments, the level of the first control signal is high and the level of the second control signal is low in combination with the method provided in the second aspect. That is, the high level control signal causes the processing circuit to no longer supply power to the driving circuit to power down the earphone; the low level control signal uses the processing circuit to power the driving circuit to power up the earphone. The control signal may be a headset interrupt signal.
In some embodiments, the control switch includes one or more of an N-type transistor, a P-type transistor, and a switch. That is, the control switch may be one transistor, or may be a combination of a plurality of transistors or switches, for example, the control switch includes one N-type transistor and one P-type transistor. For the control switch is a transistor or a switch, the circuit structure is simple and easy to realize.
In a third aspect, an embodiment of the present application provides an electronic device, where the electronic device includes the first aspect and an earphone control circuit provided by any one of possible implementation manners of the first aspect.
Drawings
Fig. 1 is a schematic diagram of an application scenario provided in an embodiment of the present application;
FIG. 2 is a schematic diagram of the pins of a circular plug of an analog earphone;
fig. 3A is a schematic circuit diagram of a current earphone control circuit;
fig. 3B is a waveform diagram of an earphone inserted into the electronic device 100;
fig. 3C is a waveform diagram of the earphone being pulled out of the electronic device 100;
fig. 4 is a schematic circuit diagram of an earphone control circuit according to an embodiment of the present application;
fig. 5 is a schematic circuit diagram of another earphone control circuit according to an embodiment of the present disclosure;
fig. 6 is a waveform diagram of a headset according to an embodiment of the present application pulled out of the electronic device 100;
fig. 7 is an exemplary diagram of an earphone control circuit provided in an embodiment of the present application;
fig. 8 is an exemplary diagram of another earphone control circuit provided in an embodiment of the present application;
fig. 9 is a hardware configuration diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The terms "first," "second," "third," and the like in embodiments of the present application are distinguished from different objects and are not used to describe a particular order. Furthermore, the terms "comprising," "including," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion. For example, a series of steps or elements may be included, or alternatively, steps or elements not listed or, alternatively, other steps or elements inherent to such process, method, article, or apparatus may be included.
For the electronic equipment supporting the analog earphone or the electronic equipment supporting the analog earphone through the Type-C interface, when the analog earphone is inserted into the electronic equipment, the probability of POP sound generation by insertion is low because the electronic equipment has time delay such as software starting and the like for the power-on logic of the external earphone circuit module; however, when the analog earphone is pulled out from the electronic device, since the signal such as audio is always in communication, the pulling-out is a physical operation at the moment, and thus the probability of POP sound generation is high.
In view of this, the embodiment of the application provides an earphone control circuit, an earphone control method and an electronic device, which are beneficial to improving the experience of users on the electronic device by adding a control switch in the circuit structure of the electronic device to reduce or eliminate POP sound generated by the pull-out of an analog earphone. That is, the POP sound generated by the analog earphone pulling can be reduced or eliminated without improving the software flow of the electronic device.
In order to make the technical solution of the present application clearer, the application scenario of the embodiment of the present application is described first.
For example, please refer to fig. 1, which is an exemplary diagram of an application scenario provided in an embodiment of the present application. The application scenario may include an electronic device 100, a Type-C adapter 200, and a headset 300.
The electronic device 100 may be a mobile phone, a tablet computer; the electronic device 100 may also be a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook, a cellular telephone, a personal digital assistant (personal digital assistant, PDA), an augmented reality (augmented reality, AR) device, a Virtual Reality (VR) device, an artificial intelligence (artificial intelligence, AI) device, a wearable device, a vehicle-mounted device, a smart home device, and/or a smart city device; the electronic device 100 may also be a playback device such as a music player, walkman, etc. The embodiment of the application does not particularly limit the specific type of the electronic device. The application scenario shown in fig. 1 takes an electronic device 100 as a mobile phone.
The Type-C adapter 200 comprises a Type-C plug and a simulated earphone jack, and the Type-C plug is connected with the simulated earphone jack through a data line. The Type-C plug is engaged with the Type-C interface and is configured to be inserted into the Type-C interface of the electronic device 100; the simulated earphone jack is matched with the round plug of the simulated earphone and is used for being inserted into the round plug of the simulated earphone. After the Type-C plug is inserted into the Type-C interface of the electronic device 100 and the analog earphone plug is inserted into the analog earphone hole, the electronic device 100 is connected with the analog earphone, and the electronic device 100 can transmit audio signals to the analog earphone.
The earphone 300 refers to an analog earphone that may be understood as an earphone without a Type-C plug, or as a generally cylindrical plug 3.5mm earphone. The analog earphone may be connected to the electronic device 100 through the Type-C adapter 200. Headphones referred to in the embodiments of the present application are analog headphones.
The scenario shown in fig. 1 (1) is that a Type-C plug has been plugged into the Type-C interface of the electronic device 100, and a circular plug of the headset 300 is to be plugged into an analog headset jack. The scenario may be understood as a scenario in which the headset 300 is to be inserted into the electronic device 100. In this embodiment, the earphone 300 may be directly plugged into the 3.5mm earphone jack of the electronic device 100 through the round plug of the earphone 300, or may be plugged into the Type-C interface of the electronic device 100 through the Type-C adapter 200 by the earphone 300.
The scenario shown in fig. 1 (2) is that the Type-C plug has been plugged into the Type-C interface of the electronic device 100, and the circular plug of the headset 300 is to be pulled out of the analog headset jack. The scenario may be understood as a scenario in which the headset 300 is to be pulled out of the electronic device 100. In the embodiment of the application, the earphone 300 may be directly pulled out of the 3.5mm earphone jack of the electronic device 100 by pulling out the earphone 300 from the electronic device 100, or may be pulled out of the analog earphone jack of the Type-C adapter 200 by pulling out the earphone 300 from the electronic device 100 instead of pulling out the Type-C plug from the electronic device 100.
That is, the embodiment of the application can be applied to a scenario in which the earphone is directly plugged into and pulled out of the electronic device, a scenario in which the earphone is plugged into and pulled out of the electronic device through the Type-C adapter, and a scenario in which the earphone is plugged into and pulled out of the electronic device through other types of adapters.
Please refer to fig. 2, which is a schematic diagram of the pins of the circular plug of the analog earphone. The round plug of the analog earpiece includes four pins, pin sleve, pin RING2, pin RING1 and pin TIP, respectively. As shown in fig. 2 (1), pin SLEEVE is used for ground, pin RING2 is used for implementing a microphone function, pin RING1 is used for implementing a right channel function, and pin TIP is used for implementing a left channel function. As shown in fig. 2 (2), pin SLEEVE is used to implement the microphone function, pin RING2 is used to ground, pin RING1 is used to implement the right channel function, and pin TIP is used to implement the left channel function. The bold lines in fig. 2 represent the front view effect of the insulating ring.
Before describing the earphone control circuit provided in the embodiment of the present application, a current earphone control circuit is described.
Fig. 3A is a schematic circuit diagram of a current earphone control circuit. The headphone control circuit is a partial circuit structure of the electronic apparatus 100, and includes a processing circuit 301 and a driving circuit 302. Wherein the processing circuit 301 is configured to supply power to the driving circuit 302 when the earphone is inserted into the electronic device, so that the driving circuit 302 supplies power to the earphone.
The driving circuit 302 is an earphone circuit on the electronic device 100 for realizing the function of the earphone circuit. The driving circuit may also be described as a headphone driving circuit, a headphone hardware circuit, or the like. The driving circuit 302 is used to power up or power down the earphone. The driving circuit 302 can realize the power-on of the earphone under the condition of power supply; the drive circuit 302 can realize the power-down of the earphone without power supply.
The processing circuit 301 may include a control signal module 301a for providing a high level or low level control signal, which refers to a headset interrupt signal, which may also be described as hp_eint. For example, the control signal module 301a provides a control signal of a high level before the earphone is inserted into the electronic device 100; when the earphone is inserted into the electronic device 100, the control signal module 301a changes the control signal from a high level to a low level, and then provides the control signal of the low level; when the earphone is pulled out from the electronic device 100, the control signal module 301a changes the control signal from a low level to a high level, and then supplies the control signal of the high level.
Optionally, the processing circuit 301 may also include other modules, such as an audio module and an application processor (Application Processor, AP) module, etc. The audio module is used for realizing audio functions, such as audio codec, etc. The audio module may further include a power supply V1, a software switch, a hardware gate, a register, a power supply V2 to power the driving circuit 302, and the like inside the audio module. The power supply supplying power to the audio module may be referred to as a total power supply V0 of the audio module, and the total power supply V0 of the audio module may be included in the processing circuit 301 or may be external to the processing circuit 301. The AP module may implement the functions of the AP, and an operating system, a user interface, an application program, etc. of the electronic device 100 are all executed on the AP. For convenience of description, the total power supply V0 of the audio module will be simply referred to as V0, and the power supply V2 for supplying power to the driving circuit 302 will be simply referred to as V2.
The processing circuit 301 may be an integrated circuit (Integrated Circuit, IC), such as a codec (codec) IC, a power management unit (Power Management Unit, PMU) IC, etc., and the processing circuit 301 may also be a System On Chip (SOC) etc.
The processing circuit 301 includes a power supply terminal 3011 and a control signal output terminal 3012. The power supply terminal 3011 is used to supply power to the drive circuit 302. The control signal output terminal 3012 may be understood as an output terminal of the control signal module 301a for outputting a control signal.
Taking the example that the control signal module 301a provides the control signal of the high level before the earphone is inserted into the electronic device 100, when the earphone is inserted into the electronic device 100, the elastic piece in the analog earphone jack of the electronic device 100 is short-circuited with the Ground (GND), so that the control signal module 301a changes the control signal from the high level to the low level. The driving circuit 302 includes a spring and GND in the analog earphone jack, and when the earphone is inserted into the electronic device 100, the spring in the driving circuit 302 is shorted with GND, so that the control signal module 301a changes the control signal from high level to low level, and the control signal module 301a outputs the control signal of low level.
For example, see the waveform diagram of the earphone shown in fig. 3B inserted into the electronic device 100. In fig. 3B, the voltage of the control signal is always high until the earphone is inserted, and immediately goes low when the earphone is inserted; the voltage of V2 is low until the earphone is inserted, and becomes high after a period of time (i.e., a time difference shown by a dotted line) in which the earphone is inserted; the voltage of mic_p is low until the earphone is inserted, and goes high after a certain period of time (i.e., the time difference shown by the dotted line) until the earphone is inserted. That is, the change in the voltage of mic_p coincides with the change in the voltage of V2. Where mic_p refers to the pin in the analog headphone jack that matches pin SLEEVE shown in fig. 2 (2). The time difference shown by the dotted line can be understood as the jitter elimination time, which ranges from 250ms to 260ms, and fig. 3A is an example of 260 ms. The debounce time can also be understood as the delay time between V2 and the actual insertion time.
When the earphone is pulled out from the electronic device 100, the elastic piece in the analog earphone jack of the electronic device 100 is separated from GND, so that the control signal module 301a changes the control signal from low level to high level, and the control signal module 301a outputs the control signal of high level.
For example, see the waveform diagram of the earphone shown in fig. 3C being pulled out from the electronic device 100. In fig. 3C, the voltage of the control signal is low until pulled out and becomes high after pulled out, but the voltage of V2 is high after pulled out and remains high for a period of time (fig. 3C is an example of this period of time being 2 ms) and becomes low after this period of time. During this 2ms, if pin SLEEVE, pin RING1 or pin TIP of the headset were shorted to GND in the analog headset jack while the headset was unplugged, POP tones would be generated since the headset was not fully powered down.
It will be appreciated that based on the circuit configuration shown in fig. 3A, POP sound is generated when the earphone is pulled out from the electronic device 100. Therefore, the embodiment of the application provides an earphone control circuit, which can reduce or eliminate POP sound generated by pulling out.
The following describes a headset control circuit provided in an embodiment of the present application.
Fig. 4 is a schematic circuit diagram of an earphone control circuit according to an embodiment of the present application. The earphone control circuit is a partial circuit structure of the electronic device 100, and includes a processing circuit 301, a driving circuit 302, and a control switch 303. The processing circuit 301 includes a control signal module 301a, which is specifically described with reference to fig. 3A.
The control switch 303 is connected to the processing circuit 301 and the driving circuit 302. For the earphone inserted into the electronic device 100 (that is, the earphone is electrically connected to the driving circuit 302), the control switch 303, the processing circuit 301, and the driving circuit 302 are electrically connected, so that the processing circuit 301 can supply power to the driving circuit 302. Wherein, the electrical connection refers to circuit connection, i.e. the circuit is connected and can transmit voltage and current.
When the earphone is inserted into the electronic device 100, the elastic sheet in the driving circuit 302 is short-circuited with GND, so that the driving circuit 302 is electrically connected to the earphone, so that the driving circuit 302 can supply power to the earphone. The drive circuit 302 powers the headset, it being understood that the drive circuit 302 provides a power signal to the headset. Based on the circuit connection between the driving circuit 302 and the earphone and the electrical connection among the control switch 303, the processing circuit 301 and the driving circuit 302, the power signal output by the processing circuit 301 can be transmitted to the driving circuit 302 through the control switch 303, so that the driving circuit 302 supplies power to the earphone according to the power signal.
When the earphone is pulled out from the electronic device 100, the elastic piece in the driving circuit 302 is separated from GND, so that the circuit connection between the driving circuit 302 and the earphone is disconnected. The processing circuit 301 outputs a first control signal to the control switch 303 upon recognizing that the earphone is disconnected from the driving circuit 302. The level of the first control signal is different from the level before the earphone is disconnected from the driving circuit 302, for example, the first control signal is at a high level, and the control signal before the earphone is disconnected from the driving circuit 302 is at a low level; for another example, the first control signal is low and the control signal before the earphone is disconnected from the driving circuit 302 is high. The embodiment of the application takes the high level as an example of the first control signal. Specifically, the control signal module 301a changes the control signal from a low level to a high level upon recognizing that the earphone is disconnected from the driving circuit 302, and outputs a first control signal.
When the control switch 303 receives the first control signal, the control processing circuit 301 stops outputting the power signal to the driving circuit 302 according to the first control signal. That is, the control switch 303 controls the processing circuit 301 to stop supplying power to the driving circuit 302 in accordance with the first control signal. In the circuit structure shown in fig. 4, the control switch 303 controls the processing circuit 301 to be electrically disconnected from the driving circuit 302 according to the first control signal, that is, the circuit path between the processing circuit 301 and the driving circuit 302 is disconnected, so that the processing circuit 301 no longer supplies power to the driving circuit 302, and thus the driving circuit 302 no longer supplies power to the earphone, so that the earphone can be powered down quickly.
The processing circuit 301 comprises a control signal output 3012, the control signal output 3012 being adapted to output a control signal to the control switch 303. The control signal output 3012 is for outputting a first control signal to the control switch 303 when the headset is pulled out of the electronic device 100. That is, the control signal output terminal 3012 is used to output the first control signal to the control switch 303.
The processing circuit 301 further comprises a power supply terminal 3011, the power supply terminal 3011 being adapted to output a power supply signal for supplying to the driving circuit 302.
As shown in fig. 4, the control switch 303 includes a control terminal 3031, a first conductive terminal 3032 and a second conductive terminal 3033. Wherein the control terminal 3031 is connected to the control signal output terminal 3012, the first conductive terminal 3032 is connected to the power supply terminal 3011, and the second conductive terminal 3033 is connected to the driving circuit 302. When the control terminal 3031 receives the first control signal, it controls the first conductive terminal 3032 to be electrically disconnected from the second conductive terminal 3033, so that the processing circuit 301 is electrically disconnected from the driving circuit 302.
After the earphone is pulled out from the electronic device 100 and then inserted into the electronic device 100, the elastic sheet in the driving circuit 302 is short-circuited with GND, so that the driving circuit 302 is electrically connected with the earphone. The processing circuit 301 outputs a second control signal to the control switch upon recognizing that the earphone is in circuit connection with the driving circuit 302. Specifically, the control signal module 301a changes the control signal from a high level to a low level upon recognizing that the earphone is electrically connected to the driving circuit 302, and outputs a second control signal.
When the control switch 303 receives the second control signal, it controls the processing circuit 301 and the driving circuit 302 to be electrically connected according to the second control signal. That is, the control switch 303 controls the processing circuit 301 to supply power to the driving circuit 302 according to the second control signal. Specifically, the control terminal 3031 controls the first conductive terminal 3032 to be electrically connected to the second conductive terminal 3033 when receiving the second control signal, so that the processing circuit 301 is electrically connected to the driving circuit 302.
For example, see the waveform diagram of the earphone shown in fig. 6 pulled from the electronic device 100. In fig. 6, the voltage of the control signal is low until the control signal is pulled out, and becomes high after a certain period of time of pulling out; the voltage of V2 is always high before the extraction and becomes low after a certain period of extraction. The period of time indicated by the dashed line in fig. 6 can be understood as the voltage change time of V2, which ranges from 330 microseconds to 330 microseconds, and is exemplified in fig. 6. The value range is smaller than the value range of the jitter elimination time, so that POP sound generated by extraction can be effectively reduced, and even any POP sound can be avoided. In fig. 6, there is a slight delay between the voltage change of the control signal and the voltage change of V2, which may be a delay reflected by the control switch 303 or a delay of the transmission of the first control signal.
Comparing fig. 6 and fig. 3C, it can be known that after the voltage signal of the control signal changes from low level to high level, the high level of V2 in fig. 3C changes to low level after lasting 2ms, which is much longer than the voltage change time of V2 in fig. 6 by 330 microseconds, so that POP sound generated by pulling can be effectively reduced or avoided by adopting the embodiment of the present application.
Fig. 5 is a schematic circuit diagram of another earphone control circuit according to an embodiment of the present application. The earphone control circuit is a partial circuit structure of the electronic device 100, and includes a processing circuit 301, a driving circuit 302, and a control switch 303. The processing circuit 301 includes a control signal module 301a, which is specifically described with reference to fig. 3A.
The control switch 303 is connected to the processing circuit 301 and the driving circuit 302. For the earphone inserted into the electronic device 100 (that is, the earphone is electrically connected to the driving circuit 302), the control switch 303, the processing circuit 301, and the driving circuit 302 are electrically connected, so that the processing circuit 301 can supply power to the driving circuit 302.
When the earphone is inserted into the electronic device 100, the elastic sheet in the driving circuit 302 is short-circuited with GND, so that the driving circuit 302 is electrically connected to the earphone, so that the driving circuit 302 can supply power to the earphone.
When the earphone is pulled out from the electronic device 100, the elastic piece in the driving circuit 302 is separated from GND, so that the circuit connection between the driving circuit 302 and the earphone is disconnected. The processing circuit 301 outputs a first control signal to the control switch 303 upon recognizing that the earphone is disconnected from the driving circuit 302. Specifically, the control signal module 301a changes the control signal from a low level to a high level upon recognizing that the earphone is disconnected from the driving circuit 302, and outputs a first control signal.
When the control switch 303 receives the first control signal, the control processing circuit 301 stops outputting the power signal to the driving circuit 302 according to the first control signal. That is, the control switch 303 controls the processing circuit 301 to stop supplying power to the driving circuit 302 in accordance with the first control signal. In the circuit structure shown in fig. 5, the control switch 303 controls the processing circuit 301 and the driving circuit 302 to be connected to GND according to the first control signal, that is, the processing circuit 301 and the driving circuit 302 are controlled to be grounded, so that the processing circuit 301 no longer supplies power to the driving circuit 302, and thus the driving circuit 302 no longer supplies power to the earphone, so that the earphone can be powered down quickly.
The processing circuit 301 comprises a control signal output 3012, the control signal output 3012 being adapted to output a control signal to the control switch 303. The processing circuit 301 further comprises a power supply terminal 3011, the power supply terminal 3011 being adapted to output a power supply signal for supplying to the driving circuit 302.
As shown in fig. 5, the control switch 303 includes a control terminal 3031, a first conductive terminal 3032 and a second conductive terminal 3033. Wherein the control terminal 3031 is connected to the control signal output terminal 3012, the first conductive terminal 3032 is connected to the power supply terminal 3011 and the driving circuit 302, and the second conductive terminal 3033 is connected to GND. When the control terminal 3031 receives the first control signal, it controls the first conductive terminal 3032 to be electrically connected to the second conductive terminal 3033 and to be grounded, so that the processing circuit 301 no longer supplies power to the driving circuit 302.
Optionally, the circuit structure shown in fig. 5 may further include a current limiting unit, where the current limiting unit is connected to the second conductive terminal 3033 and GND; the first conductive terminal 3032 and the second conductive terminal 3033 are electrically connected to GND by a current limiting unit. The current limiting unit is configured to limit the current magnitude of the power supply terminals 3011 to GND when the first conductive terminal 3032 and the second conductive terminal 3033 are electrically connected. That is, the current limiting unit is used to avoid the situation that V2 is pulled out to flow. The current limiting unit may be a current limiting resistor, and the size of the current limiting resistor is related to the voltage and current of the power signal output by the power supply terminal 3011. For example, the resistance of the current limiting resistor is not greater than the ratio of the voltage to the current of the power signal output from the power supply terminal 3011. After the earphone is pulled out from the electronic device 100 and then inserted into the electronic device 100, the elastic sheet in the driving circuit 302 is short-circuited with GND, so that the driving circuit 302 is electrically connected with the earphone. The processing circuit 301 outputs a second control signal to the control switch upon recognizing that the earphone is in circuit connection with the driving circuit 302.
When the control switch 303 receives the second control signal, it controls the processing circuit 301 and the driving circuit 302 to be electrically connected according to the second control signal. That is, the control switch 303 controls the processing circuit 301 to supply power to the driving circuit 302 according to the second control signal. Specifically, when the control terminal 3031 receives the second control signal, it controls the first conductive terminal 3032 to be electrically disconnected from the second conductive terminal 3033, so that the processing circuit 301 is electrically connected to the driving circuit 302. For example, see the waveform diagram of the earphone shown in fig. 6 pulled from the electronic device 100. In fig. 6, the voltage of the control signal is low until the control signal is pulled out, and becomes high after a certain period of time of pulling out; the voltage of V2 is always high before the extraction and becomes low after a certain period of extraction. The period of time indicated by the dashed line in fig. 6 can be understood as the voltage change time of V2, which ranges from 330 microseconds to 330 microseconds, and is exemplified in fig. 6. The value range is smaller than the value range of the jitter elimination time, so that POP sound generated by extraction can be effectively reduced, and even any POP sound can be avoided. In fig. 6, there is a slight delay between the voltage change of the control signal and the voltage change of V2, which may be a delay reflected by the control switch 303 or a delay of the transmission of the first control signal.
Comparing fig. 6 and fig. 3C, it can be known that after the voltage signal of the control signal changes from low level to high level, the high level of V2 in fig. 3C changes to low level after lasting 2ms, which is much longer than the voltage change time of V2 in fig. 6 by 330 microseconds, so that POP sound generated by pulling can be effectively reduced or avoided by adopting the embodiment of the present application.
Based on the circuit structures shown in fig. 4 and fig. 5, the voltage change time of V2 is 330 microseconds, and considering the difference between the structures in fig. 4 and fig. 5, the voltage change time of V2 may be slightly different, but the voltage change time is in microseconds.
The following illustrates an earphone control circuit provided in an embodiment of the present application.
For example, see an exemplary diagram of an earphone control circuit shown in fig. 7. Fig. 7 replaces the control switch 303 of fig. 4 with a first transistor, which is a P-type transistor. The first transistor includes a gate (G), a drain (D), and a source (S). The gate (G) serves as the control terminal 3031 in fig. 4, the drain (D) serves as the second conductive terminal 3033 in fig. 4, and the source (S) serves as the first conductive terminal 3032 in fig. 4. When the first transistor receives the first control signal, the first transistor is turned off, so that the power supply end 3011 is electrically disconnected from the driving circuit 302, and the processing circuit 301 does not supply power to the driving circuit 302 any more, so that the driving circuit 302 can be powered down quickly, and the earphone can be powered down quickly. When the first transistor receives the second control signal, the first transistor is turned on, so that the power supply terminal 3011 is electrically connected to the driving circuit 302, and the processing circuit 301 supplies power to the driving circuit 302, so that the driving circuit 302 can supply power to the earphone.
For example, see an exemplary diagram of another earphone control circuit shown in fig. 8. Fig. 8 replaces the control switch 303 in fig. 5 with a second transistor, which is an N-type transistor. The second transistor includes a gate electrode (G), a drain electrode (D), and a source electrode (S). The gate (G) serves as the control terminal 3031 in fig. 5, the drain (D) serves as the first conductive terminal 3032 in fig. 5, the source (S) serves as the second conductive terminal 3033 in fig. 5, and the source (S) is connected to GND through the current limiting resistor 3034. When the second transistor receives the first control signal, the second transistor is turned on, and the processing circuit 301 and the driving circuit 302 are grounded, so that the processing circuit 301 does not supply power to the driving circuit 302 any more, and the driving circuit 302 can be powered down quickly, and the earphone can be powered down quickly. When the second transistor receives the second control signal, the second transistor is turned off, so that the power supply end 3011 is electrically connected to the driving circuit 302, and the processing circuit 301 supplies power to the driving circuit 302, so that the driving circuit 302 can supply power to the earphone.
In fig. 7, a P-type transistor is taken as an example, in fig. 8, an N-type transistor is taken as an example, and a transistor is added on the basis of fig. 3A, so that POP sound generated when the earphone is pulled out can be reduced or eliminated, the modification to fig. 3A is small, the implementation is easy, and the cost is low. Alternatively, the control switch may use a combination of a P-type transistor and an N-type transistor, and the specific combination structure is not limited in the embodiments of the present application. Alternatively, the control switch may be a switch or a switch chip, etc. for realizing the function of single pole double throw. In other words, the control switch may comprise one or more of an N-type transistor, a P-type transistor, a switch.
The embodiment of the application also provides a headset control method which is applied to the electronic equipment, wherein the electronic equipment comprises a processing circuit, a control switch and a driving circuit; when the earphone is inserted into the electronic device, the processing circuit is used for outputting a power signal and transmitting the power signal to the driving circuit through the control switch, and the driving circuit is used for supplying power to the earphone according to the power signal. When the earphone is pulled out from the electronic equipment, the earphone is disconnected with the driving circuit, and the processing circuit outputs a first control signal; the control switch receives the first control signal and controls the processing circuit to stop outputting the power supply signal to the driving circuit according to the first control signal. That is, when the earphone is pulled out, the control switch can control the driving circuit to be powered down according to the first control signal, so that the driving circuit can be powered down quickly, the earphone can be powered down quickly, and further POP sound generated by pulling out can be reduced or eliminated, and the experience of a user on the electronic equipment is improved.
After the earphone is pulled out from the electronic equipment and the earphone is powered down, when the earphone is inserted into the electronic equipment again, the earphone is connected with the driving circuit, and the processing circuit outputs a second control signal; the control switch receives the second control signal and controls the processing circuit to output a power signal to the driving circuit according to the second control signal, so that the processing circuit can supply power to the driving circuit.
Fig. 9 exemplarily shows a hardware configuration diagram of the electronic device 100.
The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio processing module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identity module (subscriber identification module, SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It should be understood that the illustrated structure of the embodiment of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an AP, a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors. In the present embodiment, the processor 110 may implement the functions of a processing circuit.
The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transfer data between the electronic device 100 and a peripheral device. And can also be used for connecting with a headset, and playing audio through the headset. The interface may also be used to connect other electronic devices, such as AR devices, etc. In this embodiment of the application, the USB Type C interface is used for connecting the analog earphone through the Type-C adapter.
It should be understood that the interfacing relationship between the modules illustrated in the embodiments of the present invention is only illustrative, and is not meant to limit the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also use different interfacing manners, or a combination of multiple interfacing manners in the foregoing embodiments.
The charge management module 140 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charge management module 140 may receive a charging input of a wired charger through the USB interface 130. In some wireless charging embodiments, the charge management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used for connecting the battery 142, and the charge management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 to power the processor 110, the internal memory 121, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be configured to monitor battery capacity, battery cycle number, battery health (leakage, impedance) and other parameters. In other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charge management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution for wireless communication including 2G/3G/4G/5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be provided in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional module, independent of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc., as applied to the electronic device 100. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
In some embodiments, antenna 1 and mobile communication module 150 of electronic device 100 are coupled, and antenna 2 and wireless communication module 160 are coupled, such that electronic device 100 may communicate with a network and other devices through wireless communication techniques. The wireless communication techniques may include the Global System for Mobile communications (global system for mobile communications, GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR techniques, among others. The GNSS may include a global satellite positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a beidou satellite navigation system (beidou navigation satellite system, BDS), a quasi zenith satellite system (quasi-zenith satellite system, QZSS) and/or a satellite based augmentation system (satellite based augmentation systems, SBAS).
The electronic device 100 implements display functions through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The internal memory 121 may include one or more random access memories (random access memory, RAM) and one or more non-volatile memories (NVM).
The random access memory may include static random-access memory (SRAM), dynamic random-access memory (dynamic random access memory, DRAM), synchronous dynamic random-access memory (synchronous dynamic random access memory, SDRAM), double data rate synchronous dynamic random-access memory (double data rate synchronous dynamic random access memory, DDR SDRAM, e.g., fifth generation DDR SDRAM is commonly referred to as DDR5 SDRAM), etc. The nonvolatile memory may include a disk storage device, a flash memory (flash memory).
The random access memory may be read directly from and written to by the processor 110, may be used to store executable programs (e.g., machine instructions) for an operating system or other on-the-fly programs, may also be used to store data for users and applications, and the like.
The nonvolatile memory may store executable programs, store data of users and applications, and the like, and may be loaded into the random access memory in advance for the processor 110 to directly read and write.
The external memory interface 120 may be used to connect external non-volatile memory to enable expansion of the memory capabilities of the electronic device 100. The external nonvolatile memory communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and video are stored in an external nonvolatile memory.
The electronic device 100 may implement audio functions through an audio processing module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playing, recording, etc.
The audio processing module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio processing module 170 may also be used to encode and decode audio signals. In some embodiments, the audio processing module 170 may be disposed in the processor 110, or some functional modules of the audio processing module 170 may be disposed in the processor 110.
The speaker 170A, also referred to as a "horn," is used to convert audio electrical signals into sound signals. The electronic device 100 may listen to music, or to hands-free conversations, through the speaker 170A.
A receiver 170B, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal. When electronic device 100 is answering a telephone call or voice message, voice may be received by placing receiver 170B in close proximity to the human ear.
Microphone 170C, also referred to as a "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can sound near the microphone 170C through the mouth, inputting a sound signal to the microphone 170C.
The earphone interface 170D is used to connect a wired earphone. The headset interface 170D may be a USB interface 130 or a 3.5mm open mobile electronic device platform (open mobile terminal platform, OMTP) standard interface, a american cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 180A is used to sense a pressure signal, and may convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The gyro sensor 180B may be used to determine a motion gesture of the electronic device 100. The air pressure sensor 180C is used to measure air pressure. The magnetic sensor 180D includes a hall sensor. The electronic device 100 may detect the opening and closing of the flip cover using the magnetic sensor 180D. The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). A distance sensor 180F for measuring a distance. The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The ambient light sensor 180L is used to sense ambient light level. The fingerprint sensor 180H is used to collect a fingerprint. The temperature sensor 180J is for detecting temperature. The touch sensor 180K, also referred to as a "touch device". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is for detecting a touch operation acting thereon or thereabout. The bone conduction sensor 180M may acquire a vibration signal.
The keys 190 include a power-on key, a volume key, etc. The keys 190 may be mechanical keys. Or may be a touch key. The electronic device 100 may receive key inputs, generating key signal inputs related to user settings and function controls of the electronic device 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration alerting as well as for touch vibration feedback. The indicator 192 may be an indicator light, may be used to indicate a state of charge, a change in charge, a message indicating a missed call, a notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card may be inserted into the SIM card interface 195, or removed from the SIM card interface 195 to enable contact and separation with the electronic device 100. The electronic device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support Nano SIM cards, micro SIM cards, and the like.
The term "User Interface (UI)" in the description and claims of the present application and in the drawings is a media interface for interaction and information exchange between an application program or an operating system and a user, which enables conversion between an internal form of information and a form acceptable to the user. The user interface of the application program is source code written in a specific computer language such as java, extensible markup language (extensible markup language, XML) and the like, the interface source code is analyzed and rendered on the terminal equipment, and finally the interface source code is presented as content which can be identified by a user, such as a picture, characters, buttons and the like. Controls (controls), also known as parts (widgets), are basic elements of a user interface, typical controls being toolbars (toolbars), menu bars (menu bars), text boxes (text boxes), buttons (buttons), scroll bars (scrollbars), pictures and text. The properties and content of the controls in the interface are defined by labels or nodes, such as XML specifies the controls contained in the interface by nodes of < Textview >, < ImgView >, < VideoView >, etc. One node corresponds to a control or attribute in the interface, and the node is rendered into visual content for a user after being analyzed and rendered. In addition, many applications, such as the interface of a hybrid application (hybrid application), typically include web pages. A web page, also referred to as a page, is understood to be a special control embedded in an application program interface, and is source code written in a specific computer language, such as hypertext markup language (hyper text markup language, GTML), cascading style sheets (cascading style sheets, CSS), java script (JavaScript, JS), etc., and the web page source code may be loaded and displayed as user-recognizable content by a browser or web page display component similar to the browser function. The specific content contained in a web page is also defined by tags or nodes in the web page source code, such as GTML defines elements and attributes of the web page by < p >, < img >, < video >, < canvas >.
A commonly used presentation form of the user interface is a graphical user interface (graphic user interface, GUI), which refers to a user interface related to computer operations that is displayed in a graphical manner. It may be an interface element such as an icon, a window, a control, etc. displayed in a display screen of the electronic device, where the control may include a visual interface element such as an icon, a button, a menu, a tab, a text box, a dialog box, a status bar, a navigation bar, a Widget, etc.
As used in the specification and the appended claims, the singular forms "a," "an," "the," and "the" are intended to include the plural forms as well, unless the context clearly indicates to the contrary. It should also be understood that the term "and/or" as used in this application refers to and encompasses any or all possible combinations of one or more of the listed items. As used in the above embodiments, the term "when …" may be interpreted to mean "if …" or "after …" or "in response to determination …" or "in response to detection …" depending on the context. Similarly, the phrase "at the time of determination …" or "if detected (a stated condition or event)" may be interpreted to mean "if determined …" or "in response to determination …" or "at the time of detection (a stated condition or event)" or "in response to detection (a stated condition or event)" depending on the context.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present application, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber line), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk), etc.
Those of ordinary skill in the art will appreciate that implementing all or part of the above-described method embodiments may be accomplished by a computer program to instruct related hardware, the program may be stored in a computer readable storage medium, and the program may include the above-described method embodiments when executed. And the aforementioned storage medium includes: ROM or random access memory RAM, magnetic or optical disk, etc.

Claims (15)

1. An earphone control circuit, the earphone control circuit comprising a processing circuit and a driving circuit; the earphone control circuit is characterized by further comprising a control switch, wherein the control switch is connected with the processing circuit and the driving circuit; when the earphone is connected with the driving circuit, a power signal output by the processing circuit is transmitted to the driving circuit through the control switch, and the driving circuit is used for supplying power to the earphone according to the power signal;
the processing circuit is used for outputting a first control signal to the control switch when the earphone is disconnected with the driving circuit;
the control switch is used for controlling the processing circuit to stop outputting the power supply signal to the driving circuit according to the first control signal.
2. The earphone control circuit of claim 1, wherein the processing circuit comprises a control signal output; the control signal output end is used for outputting the first control signal to the control switch;
the control switch comprises a control end, and the control end is connected with the control signal output end; and when the control switch receives the first control signal, the control switch controls the processing circuit to be electrically disconnected from the driving circuit.
3. The earphone control circuit of claim 2, wherein the processing circuit further comprises a power supply terminal for outputting the power signal;
the control switch further comprises a first conductive end and a second conductive end, wherein the first conductive end is connected with the power supply end, and the second conductive end is connected with the driving circuit; and when the control switch receives the first control signal, the control switch controls the second conductive end to be electrically disconnected from the driving circuit.
4. The earphone control circuit of claim 3, wherein the control switch is a first transistor comprising a gate, a drain, and a source; the grid electrode is used as the control end, the drain electrode is used as the second conductive end, and the source electrode is used as the first conductive end; the first transistor receives the first control signal, the first transistor is cut off, and the power supply end is electrically disconnected from the driving circuit.
5. The earphone control circuit of claim 1, wherein the processing circuit comprises a control signal output; the control signal output end is used for outputting the first control signal to the control switch;
the control switch comprises a control end, and the control end is connected with the control signal output end; when the control switch receives the first control signal, the control switch controls the processing circuit and the driving circuit to be connected to a grounding end; the processing circuit and the driving circuit are connected to the grounding end, and the processing circuit stops outputting the power signal to the driving circuit.
6. The headset control circuit of claim 5 wherein the processing circuit further comprises a power supply terminal for outputting the power signal;
the control switch further comprises a first conductive end and a second conductive end, wherein the first conductive end is connected with the power supply end and the driving circuit, and the second conductive end is connected with the grounding end; when the control switch receives the first control signal, the processing circuit and the driving circuit are controlled to be connected to the grounding end.
7. The earphone control circuit of claim 6, wherein the control switch is a second transistor comprising a gate, a drain, and a source; the grid electrode is used as the control end, the drain electrode is used as the first conductive end, and the source electrode is used as the second conductive end; the second transistor receives the first control signal, the second transistor is conducted, and the processing circuit and the driving circuit are electrically connected with the grounding end through the first conductive end and the second conductive end.
8. The headset control circuit of claim 7 wherein the headset control circuit further comprises a current limiting unit connected to the second conductive terminal and the ground terminal; the first conductive end and the second conductive end are electrically connected with the grounding end through the current limiting unit;
the current limiting unit is used for limiting the current from the power supply end to the grounding end when the second transistor is conducted.
9. The earphone control circuit of any one of claims 1-8, wherein,
the processing circuit is further used for outputting a second control signal to the control switch when the earphone is identified to be connected with the driving circuit;
the control switch is further used for controlling the processing circuit to be electrically conducted with the driving circuit according to the second control signal;
wherein the level of the second control signal is different from the level of the first control signal.
10. The headset control circuit of claim 9 wherein the first control signal is high and the second control signal is low.
11. The headset control circuit of any of claims 1-8 wherein the control switch comprises one or more of an N-type transistor, a P-type transistor, a switch.
12. The earphone control method is characterized by being applied to electronic equipment, wherein the electronic equipment comprises a processing circuit, a control switch and a driving circuit; wherein, when the earphone is plugged into the electronic device, the processing circuit is used for outputting a power signal and transmitting the power signal to the driving circuit through the control switch, and the driving circuit is used for supplying power to the earphone according to the power signal, and the method comprises: the processing circuit outputs a first control signal in response to the earphone being pulled out of the electronic device and disconnected from the drive circuit; the control switch receives the first control signal and controls the processing circuit to stop outputting the power supply signal to the driving circuit according to the first control signal.
13. The method of claim 12, wherein the method further comprises:
in response to the earphone being inserted into the electronic device and connected to the drive circuit, the processing circuit outputs a second control signal;
the control switch receives the second control signal and controls the processing circuit to output the power supply signal to the driving circuit according to the second control signal;
Wherein the level of the second control signal is different from the level of the first control signal.
14. The method of claim 12 or 13, wherein the control switch comprises one or more of an N-type transistor, a P-type transistor, a switch.
15. An electronic device comprising the earphone control circuit according to any one of claims 1-11.
CN202311451412.2A 2023-11-03 2023-11-03 Earphone control circuit, earphone control method and electronic equipment Pending CN117278904A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311451412.2A CN117278904A (en) 2023-11-03 2023-11-03 Earphone control circuit, earphone control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311451412.2A CN117278904A (en) 2023-11-03 2023-11-03 Earphone control circuit, earphone control method and electronic equipment

Publications (1)

Publication Number Publication Date
CN117278904A true CN117278904A (en) 2023-12-22

Family

ID=89206429

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311451412.2A Pending CN117278904A (en) 2023-11-03 2023-11-03 Earphone control circuit, earphone control method and electronic equipment

Country Status (1)

Country Link
CN (1) CN117278904A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090182913A1 (en) * 2008-01-14 2009-07-16 Apple Inc. Data store and enhanced features for headset of portable media device
CN103024632A (en) * 2012-12-30 2013-04-03 青岛歌尔声学科技有限公司 Noise reduction device of earphone
CN204206434U (en) * 2014-12-04 2015-03-11 青岛歌尔声学科技有限公司 For eliminating audio frequency processing circuit and the line control earphone of headset plugging noise
CN205017561U (en) * 2015-08-24 2016-02-03 上海与德通讯技术有限公司 Electronic equipment and suppression circuit of earphone plug plosive thereof
CN105812979A (en) * 2016-04-21 2016-07-27 歌尔声学股份有限公司 Earphone
CN206894876U (en) * 2017-07-03 2018-01-16 上海斐讯数据通信技术有限公司 A kind of earphone insertion POP noise eliminates circuit
CN109218871A (en) * 2017-06-29 2019-01-15 北京小米移动软件有限公司 Earphone interface circuit, audio mould group and electronic equipment
CN210721446U (en) * 2019-11-20 2020-06-09 深圳市腾腾高科电子技术有限公司 Interface detection control device and interface converter
CN214045978U (en) * 2021-02-20 2021-08-24 维沃移动通信有限公司 Earphone socket circuit and electronic equipment
CN114598770A (en) * 2022-03-22 2022-06-07 维沃移动通信有限公司 Earphone, electronic equipment and control method and device of electronic equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090182913A1 (en) * 2008-01-14 2009-07-16 Apple Inc. Data store and enhanced features for headset of portable media device
CN103024632A (en) * 2012-12-30 2013-04-03 青岛歌尔声学科技有限公司 Noise reduction device of earphone
CN204206434U (en) * 2014-12-04 2015-03-11 青岛歌尔声学科技有限公司 For eliminating audio frequency processing circuit and the line control earphone of headset plugging noise
CN205017561U (en) * 2015-08-24 2016-02-03 上海与德通讯技术有限公司 Electronic equipment and suppression circuit of earphone plug plosive thereof
CN105812979A (en) * 2016-04-21 2016-07-27 歌尔声学股份有限公司 Earphone
CN109218871A (en) * 2017-06-29 2019-01-15 北京小米移动软件有限公司 Earphone interface circuit, audio mould group and electronic equipment
CN206894876U (en) * 2017-07-03 2018-01-16 上海斐讯数据通信技术有限公司 A kind of earphone insertion POP noise eliminates circuit
CN210721446U (en) * 2019-11-20 2020-06-09 深圳市腾腾高科电子技术有限公司 Interface detection control device and interface converter
CN214045978U (en) * 2021-02-20 2021-08-24 维沃移动通信有限公司 Earphone socket circuit and electronic equipment
CN114598770A (en) * 2022-03-22 2022-06-07 维沃移动通信有限公司 Earphone, electronic equipment and control method and device of electronic equipment

Similar Documents

Publication Publication Date Title
WO2021213120A1 (en) Screen projection method and apparatus, and electronic device
CN110347269B (en) Empty mouse mode realization method and related equipment
US11683850B2 (en) Bluetooth reconnection method and related apparatus
US11934352B2 (en) Card rendering method and electronic device
WO2021129521A1 (en) Bluetooth communication method and apparatus
CN112468979B (en) SIM card drop recovery method of electronic equipment and electronic equipment
WO2021000817A1 (en) Ambient sound processing method and related device
KR20210040424A (en) Voice control command generation method and terminal
CN106254791A (en) The startup method of photographic head and mobile terminal
CN113937832A (en) Charging cable, and identification method and system of charging cable
CN110955452B (en) Non-invasive interaction method and electronic equipment
CN115622177A (en) Charging method, mobile terminal and storage medium
CN113504887A (en) Volume setting method and electronic equipment
WO2023179123A1 (en) Bluetooth audio playback method, electronic device, and storage medium
KR20210101553A (en) Electronic device and method for recognizing audio output device connected to usb type-c connector using the same
CN117278904A (en) Earphone control circuit, earphone control method and electronic equipment
WO2021254294A1 (en) Method for switching audio output channel, apparatus, and electronic device
CN110806994B (en) Signal transmission method and device
CN115086888A (en) Message notification method and device and electronic equipment
CN114285946B (en) Number portability number display method, electronic equipment and storage medium
WO2022179343A1 (en) Menu list update method and electronic device
CN115793062B (en) Earphone in-place detection method and device
CN114827973B (en) Binaural consistency control method, graphical interface, system and related device
CN115993592B (en) Bluetooth ranging method, electronic equipment and storage medium
CN113271577B (en) Media data playing system, method and related device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination