[go: up one dir, main page]

CN112738307B - Electronic equipment - Google Patents

Electronic equipment Download PDF

Info

Publication number
CN112738307B
CN112738307B CN202011601508.9A CN202011601508A CN112738307B CN 112738307 B CN112738307 B CN 112738307B CN 202011601508 A CN202011601508 A CN 202011601508A CN 112738307 B CN112738307 B CN 112738307B
Authority
CN
China
Prior art keywords
electronic device
earphone
switch
signal processing
gating
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
CN202011601508.9A
Other languages
Chinese (zh)
Other versions
CN112738307A (en
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011601508.9A priority Critical patent/CN112738307B/en
Publication of CN112738307A publication Critical patent/CN112738307A/en
Application granted granted Critical
Publication of CN112738307B publication Critical patent/CN112738307B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/40Circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/03Constructional features of telephone transmitters or receivers, e.g. telephone hand-sets
    • 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
    • H04R2420/00Details of connection covered by H04R, not provided for in its groups
    • H04R2420/09Applications of special connectors, e.g. USB, XLR, in loudspeakers, microphones or headphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2499/00Aspects covered by H04R or H04S not otherwise provided for in their subgroups
    • H04R2499/10General applications
    • H04R2499/11Transducers incorporated or for use in hand-held devices, e.g. mobile phones, PDA's, camera's

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Headphones And Earphones (AREA)
  • Telephone Function (AREA)

Abstract

本申请公开了一种电子设备,包括:耳机接口,所述耳机接口包括耳机引脚;音频模块;选通开关,所述选通开关包括至少两个开关件,所述至少两个开关件的第一端与所述音频模块的输出端连接,每一开关件的第二端通过与各自相对应的信号处理电路与所述耳机接口的同一耳机引脚连接;以及,控制模块,所述控制模块与所述选通开关的控制端连接;其中,所述控制模块根据所述电子设备的使用状态,控制所述选通开关的一个开关件闭合。该方法使得电子设备可以根据其使用状态的不同,控制选通开关中对应的开关件闭合,以使用对应的信号处理电路处理电子设备传输给耳机设备的音频信号,在去除音频信号中的TDD noise的同时,尽可能提升音频信号性能,提升用户体验。

Figure 202011601508

The present application discloses an electronic device, comprising: an earphone jack, the earphone jack includes an earphone pin; an audio module; a gating switch, the gating switch includes at least two switch parts, and the at least two switch parts The first end is connected to the output end of the audio module, and the second end of each switch is connected to the same earphone pin of the earphone interface through a corresponding signal processing circuit; and, the control module, the control module The module is connected to the control terminal of the strobe switch; wherein, the control module controls a switch part of the strobe switch to close according to the use state of the electronic device. This method enables the electronic device to control the corresponding switch in the strobe switch to close according to the different use states, so as to use the corresponding signal processing circuit to process the audio signal transmitted from the electronic device to the earphone device, and remove the TDD noise in the audio signal At the same time, the audio signal performance is improved as much as possible to enhance the user experience.

Figure 202011601508

Description

电子设备Electronic equipment

技术领域technical field

本公开涉及音频信号处理领域,尤其涉及一种电子设备。The present disclosure relates to the field of audio signal processing, and in particular to an electronic device.

背景技术Background technique

随着人们生活需求的不断提升,耳机设备几乎已经成为人们生活的必需品。在生活中,用户通过将耳机设备与电子设备连接,可以方便的听取电子设备播放的多媒体数据以及通话数据。With the continuous improvement of people's living needs, earphone equipment has almost become a necessity of people's life. In daily life, a user can conveniently listen to multimedia data and call data played by the electronic device by connecting the earphone device to the electronic device.

目前的电子设备,例如,手机、平板电脑等设备在与耳机设备连接时,一般是通过耳机接口,例如,3.5mm耳机接口与耳机设备连接,以传输音频数据、通话数据等数据至耳机设备。在现有的设计中,通常是将天线设计在耳机接口附近,当电子设备连接耳机设备后,耳机设备的传输线相当于一条天线,在该种情况下,在使用电子设备接打电话时,电子设备上的时分失真(TDD,TimeDivisionDistortion)噪声(noise),即,TDD noise将会辐射到音频数据的传输通路,即耳机通路中,进而使得用户在使用耳机设备接打电话时听到TDDnoise,严重影响用户体验。因此,现有的电子设备在其耳机通路中一般会连接有用于去除噪声的信号处理电路,例如,在耳机通路中串接磁珠(magnetic bead)以消除电子设备在使用过程中可能产生的TDD noise。Current electronic devices, such as mobile phones, tablet computers, etc., are generally connected to the earphone device through an earphone jack, for example, a 3.5mm earphone jack, to transmit data such as audio data and call data to the earphone device. In the existing design, the antenna is usually designed near the earphone interface. When the electronic device is connected to the earphone device, the transmission line of the earphone device is equivalent to an antenna. In this case, when the electronic device is used to make a call, the electronic Time Division Distortion (TDD, TimeDivisionDistortion) noise (noise) on the device, that is, TDD noise will radiate to the audio data transmission path, that is, the earphone path, so that the user can hear TDD noise when using the earphone device to make a call, which is serious affect user experience. Therefore, the existing electronic equipment is generally connected with a signal processing circuit for noise removal in the earphone path, for example, a magnetic bead is connected in series in the earphone path to eliminate TDD that may be generated during the use of the electronic equipment. noise.

然而,在实现本申请的过程中,发明人发现,由于磁珠的磁滞效应,音频信号在经过磁珠后会产生失真现象,可能存在损害音频信号性能,降低用户体验的问题。However, in the process of implementing the present application, the inventors found that due to the hysteresis effect of the magnetic beads, the audio signal will be distorted after passing through the magnetic beads, which may damage the performance of the audio signal and reduce the user experience.

发明内容Contents of the invention

本公开实施例提供了一种电子设备,以解决现有技术中的电子设备在传输音频信号时,可能存在的损害音频信号性能的问题。The embodiment of the present disclosure provides an electronic device to solve the problem that the performance of the audio signal may be damaged when the electronic device in the prior art transmits the audio signal.

为了解决上述技术问题,本公开是这样实现的:In order to solve the above-mentioned technical problems, the present disclosure is implemented as follows:

第一方面,本公开实施例提供一种电子设备,包括:In a first aspect, an embodiment of the present disclosure provides an electronic device, including:

耳机接口,所述耳机接口包括耳机引脚;an earphone interface, the earphone interface includes an earphone pin;

音频模块;audio module;

选通开关,所述选通开关包括至少两个开关件,所述至少两个开关件的第一端与所述音频模块的输出端连接,每一开关件的第二端通过与各自相对应的信号处理电路与所述耳机接口的同一耳机引脚连接;以及,A strobe switch, the strobe switch includes at least two switch elements, the first end of the at least two switch elements is connected to the output end of the audio module, and the second end of each switch element is connected to the corresponding The signal processing circuit is connected to the same earphone pin of the earphone jack; and,

控制模块,所述控制模块与所述选通开关的控制端连接;a control module, the control module is connected to the control terminal of the strobe switch;

其中,所述控制模块根据所述电子设备的使用状态,控制所述选通开关的一个开关件闭合。Wherein, the control module controls a switch member of the gate switch to close according to the use state of the electronic device.

可选地,所述耳机接口包括多个所述耳机引脚,所述电子设备包括多个所述选通开关,多个所述耳机引脚与多个所述选通开关一一对应连接。Optionally, the earphone interface includes a plurality of earphone pins, the electronic device includes a plurality of strobe switches, and the plurality of earphone pins are connected to the plurality of strobe switches in a one-to-one correspondence.

可选地,对应于同一选通开关的不同信号处理电路的匹配阻抗互不相同。Optionally, the matching impedances of different signal processing circuits corresponding to the same gating switch are different from each other.

可选地,所述选通开关对应的至少部分信号处理电路包括磁珠。Optionally, at least part of the signal processing circuits corresponding to the gate switches include magnetic beads.

可选地,所述电子设备的使用状态包括第一使用状态,所述第一使用状态为通过所述耳机接口连接耳机设备,并输出用户通话数据至所述耳机设备的使用状态;Optionally, the use state of the electronic device includes a first use state, and the first use state is a use state in which an earphone device is connected through the earphone interface, and user call data is output to the earphone device;

所述根据所述电子设备的使用状态,控制所述选通开关的一个开关件闭合,包括:According to the use status of the electronic equipment, controlling a switch member of the strobe switch to be closed includes:

在所述电子设备的使用状态为所述第一使用状态的情况下,获取所述电子设备传输用户通话数据时所使用的通信网络的网络信息;When the use state of the electronic device is the first use state, acquiring network information of a communication network used by the electronic device to transmit user call data;

根据所述网络信息,从所述选通开关中确定目标开关件,其中,所述目标开关件的第二端连接有与所述网络信息对应的信号处理电路;determining a target switch from the gating switches according to the network information, wherein the second end of the target switch is connected to a signal processing circuit corresponding to the network information;

控制所述目标开关件闭合。The target switch element is controlled to be closed.

可选地,所述电子设备的使用状态包括第二使用状态,所述第二使用状态为通过所述耳机接口连接耳机设备,并输出音频数据至所述耳机设备的第二使用状态;Optionally, the use state of the electronic device includes a second use state, the second use state is a second use state in which an earphone device is connected through the earphone interface and audio data is output to the earphone device;

所述根据所述电子设备的使用状态,控制所述选通开关的一个开关件闭合,包括:According to the use status of the electronic equipment, controlling a switch member of the strobe switch to be closed includes:

在所述电子设备的使用状态为所述第二使用状态的情况下,控制所述选通开关中第二端连接的信号处理电路为导线的开关件闭合。When the use state of the electronic device is the second use state, the signal processing circuit connected to the second end of the gating switch is controlled to close the switch element of the wire.

可选地,所述音频模块和所述控制模块响应于同一处理器的控制。Optionally, the audio module and the control module are responsive to the control of the same processor.

可选地,多个所述耳机引脚包括以下至少一种:用于传输左声道信号的第一耳机引脚、用于传输右声道信号的第二耳机引脚、用于接地的第三耳机引脚以及用于传输参考信号的第四耳机引脚。Optionally, the plurality of earphone pins include at least one of the following: a first earphone pin for transmitting a left channel signal, a second earphone pin for transmitting a right channel signal, a second earphone pin for grounding Three headphone pins and a fourth headphone pin for transmitting reference signals.

根据本公开的实施例,在电子设备中,在耳机接口和音频模块之间设置选通开关,该选通开关包括至少两个开关件,每一开关件的第二端通过与各自相对应的信号处理电路与耳机接口的同一耳机引脚连接;该电子设备的控制模块与该选通开关的控制端连接,可以根据该电子设备的使用状态,控制选通开关的一个开关件闭合,以使得电子设备可以根据其使用状态的不同,控制对应的开关件闭合,以使用对应的信号处理电路处理电子设备传输给耳机设备的音频信号,并在去除音频信号中的TDD noise的同时,尽可能提升音频信号性能,提升用户体验。According to an embodiment of the present disclosure, in the electronic device, a gating switch is provided between the earphone jack and the audio module, and the gating switch includes at least two switching elements, and the second end of each switching element passes through the corresponding The signal processing circuit is connected to the same earphone pin of the earphone interface; the control module of the electronic device is connected to the control terminal of the strobe switch, and can control a switch part of the strobe switch to close according to the use status of the electronic device, so that The electronic device can control the corresponding switch to close according to the different use states, so as to use the corresponding signal processing circuit to process the audio signal transmitted from the electronic device to the earphone device, and to improve the TDD noise as much as possible while removing the TDD noise in the audio signal. Audio signal performance to enhance user experience.

通过以下参照附图对本公开的示例性实施例的详细描述,本公开的其他特征及其优点将会变得清楚。Other features of the present disclosure and advantages thereof will become apparent through the following detailed description of exemplary embodiments of the present disclosure with reference to the accompanying drawings.

附图说明Description of drawings

被结合在说明书中并构成说明书的一部分的附图示出了本公开的实施例,并且连同其说明一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate the embodiments of the disclosure and together with the description serve to explain the principles of the disclosure.

图1是本公开实施例提供的电子设备中的第一音频信号处理电路示意图。Fig. 1 is a schematic diagram of a first audio signal processing circuit in an electronic device provided by an embodiment of the present disclosure.

图2是本公开实施例提供的电子设备中的第二音频信号处理电路示意图。Fig. 2 is a schematic diagram of a second audio signal processing circuit in an electronic device provided by an embodiment of the present disclosure.

图3是本公开实施例提供的电子设备中的第三音频信号处理电路示意图。Fig. 3 is a schematic diagram of a third audio signal processing circuit in an electronic device provided by an embodiment of the present disclosure.

图4是本公开实施例提供的电子设备中的音频信号处理流程示意图。Fig. 4 is a schematic diagram of an audio signal processing flow in an electronic device provided by an embodiment of the present disclosure.

具体实施方式Detailed ways

下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present disclosure with reference to the accompanying drawings in the embodiments of the present disclosure. Apparently, the described embodiments are part of the embodiments of the present disclosure, not all of them. Based on the embodiments in the present disclosure, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present disclosure.

请参看图1,其是本公开实施例提供的电子设备中的第一音频信号处理电路示意图。如图1所示,针对现有电子设备在通过耳机接口传输用户通话数据给耳机设备的过程中,可能传输TDD noise到耳机通路,进而影响音频信号性能的问题,为了去除电子设备上的TDD noise,一般可以在音频模块102,例如,编译码器(CODEC,Coder-DECoder)和耳机接口104之间固定串接磁珠103,其中,根据耳机接口中包括的耳机引脚数量的不同,可以分别对应的设置对应数量的磁珠;在具体实施时,可以由控制模块101,例如,中央处理器将音频模块生成的音频信号传输给磁珠103,通过磁珠103去除音频信号中的TDD noise并传输给耳机接口104,以提升耳机设备中传输的音频信号的性能。Please refer to FIG. 1 , which is a schematic diagram of a first audio signal processing circuit in an electronic device provided by an embodiment of the present disclosure. As shown in Figure 1, in the process of transmitting the user's call data to the headset device through the headset interface, the existing electronic equipment may transmit TDD noise to the headset channel, thereby affecting the performance of the audio signal. In order to remove the TDD noise on the electronic device Generally, the magnetic bead 103 can be fixedly connected in series between the audio module 102, for example, a codec (CODEC, Coder-DECoder) and the earphone interface 104, wherein, according to the difference in the number of earphone pins included in the earphone interface, it can be respectively Correspondingly set the corresponding number of magnetic beads; in specific implementation, the audio signal generated by the audio module can be transmitted to the magnetic beads 103 by the control module 101, for example, the central processing unit, and the TDD noise in the audio signal can be removed by the magnetic beads 103 and The audio signal is transmitted to the earphone interface 104, so as to improve the performance of the audio signal transmitted in the earphone device.

然而,由于磁珠的磁滞效应,应用图1所示电路的电子设备虽然可以去除音频信号中的TDD noise,然而,其也会导致音频信号失真,同样可能损害音频信号的性能,降低用户使用耳机设备的体验。However, due to the hysteresis effect of the magnetic beads, although the electronic device using the circuit shown in Figure 1 can remove the TDD noise in the audio signal, it will also cause distortion of the audio signal, which may also damage the performance of the audio signal and reduce the use of the user. Experience with headset devices.

需要说明的是,TDD noise是电子设备,尤其是移动终端设备中常见的一种噪声,其产生的原因是电子设备的射频发射模块的功率放大器(Power Amplify)端以每1/217秒,即,217Hz的频率发射全球移动通信系统(GSM,Global System for MobileCommunications)信号时,产生的包络线(envelope)杂音。It should be noted that TDD noise is a common type of noise in electronic equipment, especially in mobile terminal equipment. , When the frequency of 217Hz transmits the Global System for Mobile Communications (GSM, Global System for Mobile Communications) signal, the envelope (envelope) noise is generated.

针对上述问题,为了在去除TDD noise的同时,尽可能的提升耳机设备中传输的音频信号的性能,即,为了提升耳机音频信号的总谐波失真加噪声(THD+N)性能,本公开实施例提供一种电子设备,包括:耳机接口,所述耳机接口包括耳机引脚;音频模块;选通开关,所述选通开关包括至少两个开关件,所述至少两个开关件的第一端与所述音频模块的输出端连接,每一开关件的第二端通过与各自相对应的信号处理电路与所述耳机接口的同一耳机引脚连接;以及,控制模块,所述控制模块与所述选通开关的控制端连接;其中,所述控制模块根据所述电子设备的使用状态,控制所述选通开关的一个开关件闭合。In view of the above problems, in order to improve the performance of the audio signal transmitted in the earphone device as much as possible while removing the TDD noise, that is, in order to improve the total harmonic distortion plus noise (THD+N) performance of the earphone audio signal, the present disclosure implements An example provides an electronic device, including: an earphone jack, the earphone jack includes an earphone pin; an audio module; a gating switch, the gating switch includes at least two switch elements, the first of the at least two switch elements end is connected to the output end of the audio module, and the second end of each switch is connected to the same earphone pin of the earphone interface through a corresponding signal processing circuit; and, the control module, the control module and The control terminal of the gate switch is connected; wherein, the control module controls a switch part of the gate switch to close according to the use state of the electronic device.

在本实施例中,电子设备,可以为手机、平板电脑等移动终端设备。In this embodiment, the electronic device may be a mobile terminal device such as a mobile phone or a tablet computer.

耳机接口,是设置在电子设备中的、用于与耳机设备连接以从传输音频信号至耳机设备中的接口,例如,可以为3.5mm耳机接口。The earphone jack is an interface provided in the electronic device for connecting with the earphone device to transmit audio signals to the earphone device, for example, it may be a 3.5mm earphone jack.

音频模块,是设置在电子设备中的、用于输出音频信号的模块,其中,该模块中一般包括编译码器,即,用于对电子设备输出的音频信号进行编码、压缩,以及对电子设备接收的音频信号进行解码的电子元件。An audio module is a module set in an electronic device for outputting audio signals, wherein the module generally includes a codec, that is, for encoding and compressing the audio signal output by the electronic device, and converting the audio signal output by the electronic device An electronic component that decodes received audio signals.

在具体实施时,耳机接口中一般可以有多个耳机引脚,即,本实施例所述耳机接口可以包括多个所述耳机引脚,与之相对应的,所述电子设备还可以包括多个所述选通开关,多个所述耳机引脚与多个所述选通开关一一对应连接。During specific implementation, there may generally be multiple earphone pins in the earphone jack, that is, the earphone jack in this embodiment may include multiple earphone pins, and correspondingly, the electronic device may also include multiple earphone pins. a plurality of said gating switches, and a plurality of said earphone pins are connected to a plurality of said gating switches in one-to-one correspondence.

在具体实施时,该多个耳机引脚,例如,可以有用于传输左声道信号的第一耳机引脚、用于传输右声道信号的第二耳机引脚、用于接地的第三耳机引脚以及用于传输参考信号,例如,传输耳机接口的参考电压给芯片的第四耳机引脚,此处不做特殊限定。In specific implementation, the plurality of earphone pins, for example, may have a first earphone pin for transmitting left channel signals, a second earphone pin for transmitting right channel signals, and a third earphone pin for grounding. The pin and the fourth earphone pin used to transmit the reference signal, for example, transmit the reference voltage of the earphone interface to the chip, are not specifically limited here.

选通开关,是包括至少两个开关件的开关,该开关可以响应于连接的控制模块,例如,中央处理器(CPU,Central Processing Unit)的控制,控制某一开关件闭合。在具体实施时,可以将该多个选通开关设置为一多路程控开关(multi-channel program-controlled switch),该多路程控开关的每一路分别实现每一选通开关的功能。The gating switch is a switch comprising at least two switching elements, and the switch can control a certain switching element to be closed in response to the control of a connected control module, for example, a central processing unit (CPU, Central Processing Unit). In specific implementation, the plurality of gating switches can be set as a multi-channel program-controlled switch, and each channel of the multi-channel program-controlled switch realizes the function of each gating switch respectively.

所述电子设备的使用状态,可以根据电子设备通过耳机接口连接耳机设备后、输出的音频信号的类型确定,例如,该使用状态可以为输出用户通话数据的第一使用状态,以及,还可以为输出音频数据,即,播放音乐或视频中的音频数据的第二使用状态。The use state of the electronic device may be determined according to the type of audio signal output after the electronic device is connected to the earphone device through the headphone jack. For example, the use state may be the first use state for outputting user call data, and may also be Outputting audio data, that is, playing the second usage state of audio data in music or video.

需要说明的是,在具体实施时,本实施例提供的电子设备中的音频模块和控制模块可以响应于同一处理器的控制,或者,也可以由不同的处理器控制,此处不做特殊限定。It should be noted that, during specific implementation, the audio module and the control module in the electronic device provided in this embodiment may respond to the control of the same processor, or may be controlled by different processors, and there is no special limitation here. .

在本实施例中,对应于同一选通开关的不同信号处理电路的匹配阻抗互不相同,即,在本实施例所述的、与选通开关的至少两个开关件各自对应的信号处理电路中,部分信号处理电路可以包括具有不同阻抗的磁珠,以根据电子设备的不同使用状态,使用对应的信号处理电路去除音频信号中的对应TDD noise,即,选通开关对应的至少部分信号处理电路包括磁珠。In this embodiment, the matching impedances of different signal processing circuits corresponding to the same gating switch are different from each other, that is, the signal processing circuits in this embodiment corresponding to at least two switching elements of the gating switch respectively Among them, part of the signal processing circuit may include magnetic beads with different impedances, so as to use the corresponding signal processing circuit to remove the corresponding TDD noise in the audio signal according to the different use states of the electronic device, that is, at least part of the signal processing corresponding to the gating switch The circuit includes ferrite beads.

请参看图2,其是本公开实施例提供的电子设备中的第二音频信号处理电路示意图。如图2所示,在具体实施时,可以在电子设备的音频模块102,例如,编译码器和耳机接口104的至少一个耳机引脚之间分别对应的设置一个选通开关105,例如,在编译码器和分别用于传输左声道信号的第一耳机引脚、用于传输右声道信号的第二耳机引脚、用于接地的第三耳机引脚以及用于传输参考信号的第四耳机引脚之间均设置一个选通开关。Please refer to FIG. 2 , which is a schematic diagram of a second audio signal processing circuit in an electronic device provided by an embodiment of the present disclosure. As shown in FIG. 2 , during specific implementation, a strobe switch 105 can be set correspondingly between the audio module 102 of the electronic device, for example, the codec and at least one earphone pin of the earphone interface 104, for example, in The codec and the first earphone pin for transmitting the left channel signal, the second earphone pin for transmitting the right channel signal, the third earphone pin for grounding and the first earphone pin for transmitting the reference signal A strobe switch is provided between the four earphone pins.

如图2所示,在该实施例中,同一选通开关105可以包含两个开关件,一个开关件连接的第一信号处理电路可以直接为导线,即,阻抗为接近于零的电路,而另一开关件连接的第二信号处理电路可以为包括磁珠103,即,具备去除电子设备产生的TDD noise功能的电路,需要说明的是,为方便说明,在图2中仅对对应第一耳机引脚的选通开关进行了标识,以及,在图2中仅对一个信号处理电路中的磁珠进行了标识,应当理解的是,图中与标识出的105处于对应电路对应位置的电子元件也为一选通开关105,以及图中与标识出的103处于对应电路对应位置的电子元件也为磁珠103。As shown in Figure 2, in this embodiment, the same gating switch 105 can include two switch elements, and the first signal processing circuit connected to one switch element can be directly a wire, that is, a circuit whose impedance is close to zero, and The second signal processing circuit connected to the other switching element may include a magnetic bead 103, that is, a circuit with the function of removing TDD noise generated by electronic equipment. It should be noted that, for the convenience of description, only the corresponding first The strobe switch of the earphone pin is marked, and only the magnetic bead in one signal processing circuit is marked in Fig. 2. It should be understood that the electron in the corresponding position of the circuit corresponding to the marked 105 in the figure is The component is also a gating switch 105 , and the electronic component in the corresponding circuit corresponding to the marked 103 is also a magnetic bead 103 .

在该实施例中,在电子设备为第一使用状态,即,电子设备为通过耳机接口连接耳机设备,并输出音乐或视频中的音频数据至耳机设备中的使用状态时,可以由控制模块,例如,可以由中央处理器向选通开关的控制端发送连接有第一信号处理电路,即,直接为导线的、阻抗接近于零的电路的开关件闭合,从而使得音乐或视频中的音频数据不会由于磁珠的处理而产生失真,影响用户体验。In this embodiment, when the electronic device is in the first use state, that is, when the electronic device is connected to the headphone device through the headphone jack and outputs the audio data in the music or video to the use state of the headphone device, the control module can For example, the central processing unit may send to the control end of the strobe switch that the switch part connected with the first signal processing circuit, that is, a circuit with a direct wire and an impedance close to zero, is closed, so that the audio data in music or video There will be no distortion due to the processing of magnetic beads, which will affect the user experience.

在该实施例中,在电子设备为第二使用状态,即,电子设备为通过耳机接口连接耳机设备,并输出用户通话数据至耳机设备中的使用状态时,可以由控制模块向选通开关的控制端发送连接有第二信号处理电路的开关件闭合,以通过第二信号处理电路中包括的磁珠去除用户通话数据中的TDD noise,提升对应音频信号性能,提升用户体验。需要说明的是,关于如何判断电子设备是否在输出用户通话数据,由于现有技术中有详细说明,此处不再赘述。In this embodiment, when the electronic device is in the second use state, that is, when the electronic device is connected to the earphone device through the earphone interface, and outputs the user call data to the use state of the earphone device, the control module can send a signal to the strobe switch. The control terminal sends the switch connected to the second signal processing circuit to close, so as to remove the TDD noise in the user call data through the magnetic beads included in the second signal processing circuit, improve the performance of the corresponding audio signal, and improve the user experience. It should be noted that how to determine whether the electronic device is outputting the user's call data is described in detail in the prior art and will not be repeated here.

根据图2内容可知,在该实施例中,电子设备可以根据其使用状态的不同,切换对应的信号处理电路对电子设备输出至耳机设备的音频信号进行自适应的处理,从而提升耳机信号的THD+N性能,提升用户体验。According to the content of Figure 2, in this embodiment, the electronic device can switch the corresponding signal processing circuit to perform adaptive processing on the audio signal output from the electronic device to the headphone device according to the different usage status, thereby improving the THD of the headphone signal +N performance, improve user experience.

请参看图3,其是本公开实施例提供的第三音频信号处理电路示意图,其中,在图3中,将与每一耳机引脚一一对应的多个选通开关以一多路程控开关进行示意。如图3所示,由于在实际中,电子设备的射频发射模块根据其使用的通信网络的不同,其发射功率也不同,进而其产生的TDD noise也不同,而由于同一信号处理电路,例如,包括同一磁珠的信号处理电路所具备的去噪能力,即抗干扰能力相对比较固定,例如,同一磁珠,其可能滤除GSM1800的TDD noise,但不能完全滤除GSM900的TDD noise。因此,如图3所示,在具体实施时,为了进一步提升电子设备输出的音频信号的性能,以提升用户体验,在电子设备的多路程控开关的每一路中,可以分别对应连接有不同的匹配阻抗,例如,包括不同阻抗磁珠,例如,磁珠103-1、磁珠103-2、…、磁珠103-n的信号处理电路,在具体实施时,在电子设备的使用状态为第一使用状态,即,通过耳机接口连接耳机设备,并输出用户通话数据至耳机设备的使用状态的情况下,控制该多路程控开关的每一路中连接有对应的信号处理电路的开关件闭合,以自适应的对不同类型的音频信号进行处理,提升音频信号性能。Please refer to FIG. 3, which is a schematic diagram of a third audio signal processing circuit provided by an embodiment of the present disclosure, wherein, in FIG. Make a gesture. As shown in Figure 3, because in practice, the radio frequency transmitting module of an electronic device has different transmitting power according to the communication network it uses, and thus the TDD noise generated by it is also different, and because the same signal processing circuit, for example, The denoising capability of the signal processing circuit including the same magnetic bead, that is, the anti-interference ability is relatively fixed. For example, the same magnetic bead may filter out the TDD noise of GSM1800, but cannot completely filter out the TDD noise of GSM900. Therefore, as shown in FIG. 3 , in order to further improve the performance of the audio signal output by the electronic device and enhance the user experience during specific implementation, each channel of the multi-program switch of the electronic device may have different corresponding connections. Impedance matching, for example, a signal processing circuit including magnetic beads with different impedances, for example, magnetic beads 103-1, magnetic beads 103-2, ..., magnetic beads 103-n, in specific implementation, when the use state of the electronic device is the first A use state, that is, when the headphone device is connected through the headphone interface, and the user's call data is output to the use state of the headphone device, the switch member connected to the corresponding signal processing circuit in each channel of the multi-program switch is controlled to be closed, Adaptively process different types of audio signals to improve audio signal performance.

请参看图4,其实本公开实施例提供的音频信号处理流程示意图。如图4所示,该处理包括步骤S4100-S4300,以下予以详细说明。Please refer to FIG. 4 , which is actually a schematic diagram of an audio signal processing flow provided by an embodiment of the present disclosure. As shown in FIG. 4, the process includes steps S4100-S4300, which will be described in detail below.

步骤S4100,在所述电子设备的使用状态为所述第一使用状态的情况下,获取所述电子设备传输用户通话数据时所使用的通信网络的网络信息。Step S4100, if the use state of the electronic device is the first use state, acquire network information of a communication network used by the electronic device to transmit user call data.

具体来讲,在电子设备的使用状态为第一使用状态的情况下,可以获取电子设备在传输用户通话数据时所使用的通信网络的网络信息,该网络信息,例如,为GSM900、GSM1800、GSM1900以及其他频段或者其他通信网络的其他频段。Specifically, when the use state of the electronic device is the first use state, the network information of the communication network used by the electronic device when transmitting the user's call data can be obtained. The network information is, for example, GSM900, GSM1800, GSM1900 And other frequency bands or other frequency bands of other communication networks.

步骤S4200,根据所述网络信息,从所述选通开关中确定目标开关件,其中,所述目标开关件的第二端连接有与所述网络信息对应的信号处理电路。Step S4200, according to the network information, determine a target switch element from the gating switches, wherein the second end of the target switch element is connected to a signal processing circuit corresponding to the network information.

在获取到电子设备使用的通信网络的网络信息之后,可以根据该网络信息,从选通开关中确定目标开关件,即,连接有与该网络信息对应的信号处理电路的开关件。After the network information of the communication network used by the electronic device is acquired, the target switch can be determined from the gating switches according to the network information, that is, the switch connected with the signal processing circuit corresponding to the network information.

在本实施例中,所述与网络信息对应的信号处理电路,是能够去除电子设备的射频发射模块在使用该网络信息对应的通信网络传输通话数据时、产生的TDD noise的电路,即,具有不同的阻抗,例如,不同阻抗磁珠的信号处理电路。In this embodiment, the signal processing circuit corresponding to the network information is a circuit capable of removing the TDD noise generated when the radio frequency transmitting module of the electronic device transmits call data using the communication network corresponding to the network information, that is, it has Different impedances, for example, signal processing circuits of different impedance magnetic beads.

请参看表1以及表2,其分别是不同系列不同型号的磁珠对THD+N性能的影响示意表,以及,不同系列不同型号的磁珠对应于不同网络信息的阻抗示意图。Please refer to Table 1 and Table 2, which are schematic diagrams of the influence of different series and types of magnetic beads on THD+N performance, and schematic diagrams of the impedance of different series and different types of magnetic beads corresponding to different network information.

Figure BDA0002869508250000061
Figure BDA0002869508250000061

表1Table 1

Figure BDA0002869508250000062
Figure BDA0002869508250000062

表2Table 2

根据表1和表2可知,在具体实施时,HD系列磁珠在高频900MHz/1800MHz下阻抗较BD系列要大,其去除TDD noise的能力强于BD系列,但是,容易加深音频信号失真现象。According to Table 1 and Table 2, it can be seen that in actual implementation, the impedance of HD series magnetic beads is higher than that of BD series at high frequency 900MHz/1800MHz, and its ability to remove TDD noise is stronger than that of BD series, but it is easy to deepen audio signal distortion. .

因此,在具体实施时,在电子设备处于第一使用状态的情况下,可以根据其传输用户通话数据时所使用的通信网络的网络信息,控制选通开关中连接有对应信号处理电路的开关件闭合,即,执行步骤S4300,控制所述目标开关件闭合,以在去除耳机通路中的TDDnoise的同时,提升耳机信号的THD+N性能。Therefore, in actual implementation, when the electronic device is in the first use state, it is possible to control the switching element connected to the corresponding signal processing circuit in the strobe switch according to the network information of the communication network used when it transmits the user's call data. Closing, that is, executing step S4300 to control the target switch to close, so as to improve the THD+N performance of the headphone signal while removing the TDD noise in the headphone channel.

根据本公开的实施例,在电子设备中,在耳机接口和音频模块之间设置选通开关,该选通开关包括至少两个开关件,每一开关件的第二端通过与各自相对应的信号处理电量与耳机接口的同一耳机引脚连接;该电子设备的控制模块与该选通开关的控制端连接,可以根据该电子设备的使用状态,控制选通开关的一个开关件闭合,以使得电子设备可以根据其使用状态的不同,控制对应的开关件闭合,以使用对应的信号处理电路处理电子设备传输给耳机设备的音频信号,从而在去除音频信号中的TDD noise的同时,尽可能提升音频信号性能,以提升用户体验。According to an embodiment of the present disclosure, in the electronic device, a gating switch is provided between the earphone jack and the audio module, and the gating switch includes at least two switching elements, and the second end of each switching element passes through the corresponding The signal processing power is connected to the same earphone pin of the earphone interface; the control module of the electronic device is connected to the control terminal of the strobe switch, and can control a switch part of the strobe switch to close according to the use status of the electronic device, so that The electronic device can control the corresponding switch to close according to the different use status, so as to use the corresponding signal processing circuit to process the audio signal transmitted from the electronic device to the earphone device, so as to improve the TDD noise as much as possible while removing the TDD noise in the audio signal. Audio signal performance to enhance user experience.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the technical solution of the present disclosure can be embodied in the form of a software product in essence or the part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to enable a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in various embodiments of the present disclosure.

上面结合附图对本公开的实施例进行了描述,但是本公开并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本公开的启示下,在不脱离本公开宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本公开的保护之内。The embodiments of the present disclosure have been described above in conjunction with the accompanying drawings, but the present disclosure is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Under the inspiration of the present disclosure, without departing from the purpose of the present disclosure and the protection scope of the claims, many forms can be made, all of which are within the protection of the present disclosure.

Claims (8)

1. An electronic device, comprising:
an earphone interface comprising an earphone pin;
an audio module;
the gating switch comprises at least two switching pieces, the first ends of the at least two switching pieces are connected with the output end of the audio module, and the second end of each switching piece is connected with the same earphone pin of the earphone interface through a signal processing circuit corresponding to each switching piece; and the number of the first and second groups,
the control module is connected with the control end of the gating switch;
wherein the control module controls one switching element of the gating switch to be closed according to the using state of the electronic equipment,
the matching impedances of the signal processing circuits corresponding to the at least two switching elements are different from each other.
2. The electronic device of claim 1, wherein the headphone interface comprises a plurality of the headphone pins, the electronic device comprises a plurality of the gating switches, and the plurality of headphone pins are connected to the plurality of gating switches in a one-to-one correspondence.
3. The electronic device of claim 2, wherein the matching impedances of different signal processing circuits corresponding to the same gating switch are different from each other.
4. The electronic device of claim 1, wherein at least a portion of the signal processing circuitry corresponding to the gating switch comprises a magnetic bead.
5. The electronic device according to claim 1, wherein the use status of the electronic device comprises a first use status, the first use status is a use status in which a headset device is connected through the headset interface and user call data is output to the headset device;
the controlling of the closing of one switching element of the gating switch according to the using state of the electronic equipment comprises the following steps:
acquiring network information of a communication network used by the electronic equipment when the electronic equipment transmits user call data under the condition that the use state of the electronic equipment is the first use state;
determining a target switching element from the gating switch according to the network information, wherein a second end of the target switching element is connected with a signal processing circuit corresponding to the network information;
and controlling the target switch piece to be closed.
6. The electronic device according to claim 1, wherein the use status of the electronic device includes a second use status, and the second use status is a second use status in which a headphone device is connected through the headphone interface and audio data is output to the headphone device;
the controlling of the closing of one switching element of the gating switch according to the using state of the electronic equipment comprises the following steps:
and under the condition that the use state of the electronic equipment is the second use state, controlling a signal processing circuit connected with the second end of the gating switch to close a switch piece of a lead.
7. The electronic device of claim 1, wherein the audio module and the control module are responsive to control of the same processor.
8. The electronic device of claim 2, wherein the plurality of earpiece pins comprises at least one of: the earphone comprises a first earphone pin used for transmitting a left channel signal, a second earphone pin used for transmitting a right channel signal, a third earphone pin used for grounding and a fourth earphone pin used for transmitting a reference signal.
CN202011601508.9A 2020-12-29 2020-12-29 Electronic equipment Active CN112738307B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011601508.9A CN112738307B (en) 2020-12-29 2020-12-29 Electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011601508.9A CN112738307B (en) 2020-12-29 2020-12-29 Electronic equipment

Publications (2)

Publication Number Publication Date
CN112738307A CN112738307A (en) 2021-04-30
CN112738307B true CN112738307B (en) 2023-02-24

Family

ID=75611668

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011601508.9A Active CN112738307B (en) 2020-12-29 2020-12-29 Electronic equipment

Country Status (1)

Country Link
CN (1) CN112738307B (en)

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6597786B1 (en) * 2000-05-19 2003-07-22 Kuan-Nong Lin Headset/hand-free operating mode selecting and switching system for telephone
US7149552B2 (en) * 2003-09-19 2006-12-12 Radeum, Inc. Wireless headset for communications device
US7818036B2 (en) * 2003-09-19 2010-10-19 Radeum, Inc. Techniques for wirelessly controlling push-to-talk operation of half-duplex wireless device
CN101075736A (en) * 2006-05-18 2007-11-21 金宝电子工业股份有限公司 Electrostatic discharge protection device and method thereof
CN102143262B (en) * 2010-02-03 2014-03-26 深圳富泰宏精密工业有限公司 Electronic device and method for switching audio input channel thereof
CN102957980B (en) * 2011-08-18 2017-08-11 中兴通讯股份有限公司 Headphone device, earphone and the method using Headphone device process signal
CN102572635A (en) * 2012-01-29 2012-07-11 华为终端有限公司 Earphone, terminal and method capable of switching earphone modes
CN103379400A (en) * 2012-04-18 2013-10-30 鸿富锦精密工业(深圳)有限公司 Earphone detecting circuit and electronic apparatus having same
WO2013180942A1 (en) * 2012-05-30 2013-12-05 Stealthwear, Inc. Wireless headset switching system
EP3407621B1 (en) * 2012-06-29 2021-12-22 FINEWELL Co., Ltd. Stereo earphone
CN103974157B (en) * 2013-01-30 2018-09-28 国基电子(上海)有限公司 The electronic device and earphone power cord powered by earphone interface
CN104244160A (en) * 2013-06-21 2014-12-24 鸿富锦精密工业(深圳)有限公司 Electronic device capable of being debugged through earphone port
CN203968176U (en) * 2014-06-17 2014-11-26 深圳市中兴移动通信有限公司 Ear plug device
CN108666826B (en) * 2017-03-31 2020-06-23 中兴通讯股份有限公司 Adapter, terminal equipment and adapter system
CN111182147A (en) * 2019-12-30 2020-05-19 Oppo广东移动通信有限公司 Terminal including multi-type earphone interface, terminal control method and device

Also Published As

Publication number Publication date
CN112738307A (en) 2021-04-30

Similar Documents

Publication Publication Date Title
US9699548B2 (en) Miniature loudspeaker module, method for enhancing frequency response thereof, and electronic device
CN110719548B (en) Audio processing device, audio crosstalk processing method and device
CN105100330B (en) The method and mobile terminal of a kind of equipment effects,sound optimization
US11611825B2 (en) Audio signal processing method and apparatus
CN108769864B (en) Audio equalization processing method and device and electronic equipment
CN110809214A (en) Audio playing method, audio playing device and terminal equipment
JP2017525289A (en) Method and device for processing audio signals for communication devices
CN106941643B (en) A multifunctional intelligent audio control method
CN210274510U (en) Protection device for preventing mobile terminal from being eavesdropped
CN112738307B (en) Electronic equipment
CN109298846B (en) Audio transmission method, device, electronic device and storage medium
CN102256202A (en) Mobile terminal and method for realizing compatibility of hearing aid by same
CN113347307B (en) Method for suppressing leakage, related device and computer readable storage medium
CN106131333B (en) Terminal current adjusting method, call circuit and mobile terminal
CN204633989U (en) Earphone socket and electronic equipment
CN104639719A (en) Calling method and communication terminal
CN104869512A (en) Earphone plugging noise suppression circuit
CN105246017B (en) A kind of audio digital signal processor and system
CN205812113U (en) A kind of terminal unit
CN115334408A (en) Main control device, control method and medium capable of flexibly switching audio modes
CN115835094A (en) Audio signal processing method, system, device, product and medium
WO2018166271A1 (en) Fm earphone jack circuit, audio terminal and control method therefor
US20150208164A1 (en) Downlink transmission device for audio signals and electronic signature token
CN204948330U (en) Speaker circuit and mobile terminal
KR20120121057A (en) Apparatus and method for recognizing earphone in potable terminal

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
GR01 Patent grant
GR01 Patent grant