CN115134709B - Signal processing method and device and electronic equipment - Google Patents

Signal processing method and device and electronic equipment Download PDF

Info

Publication number
CN115134709B
CN115134709B CN202211062013.2A CN202211062013A CN115134709B CN 115134709 B CN115134709 B CN 115134709B CN 202211062013 A CN202211062013 A CN 202211062013A CN 115134709 B CN115134709 B CN 115134709B
Authority
CN
China
Prior art keywords
output signal
audio
audio output
digital converter
value
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
CN202211062013.2A
Other languages
Chinese (zh)
Other versions
CN115134709A (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.)
Hongjing Microelectronics Technology Co ltd
Original Assignee
Hongjing Microelectronics Technology 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 Hongjing Microelectronics Technology Co ltd filed Critical Hongjing Microelectronics Technology Co ltd
Priority to CN202211062013.2A priority Critical patent/CN115134709B/en
Publication of CN115134709A publication Critical patent/CN115134709A/en
Application granted granted Critical
Publication of CN115134709B publication Critical patent/CN115134709B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/02Speech enhancement, e.g. noise reduction or echo cancellation
    • G10L21/0208Noise filtering
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/03Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 characterised by the type of extracted parameters
    • G10L25/21Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 characterised by the type of extracted parameters the extracted parameters being power information
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/78Detection of presence or absence of voice signals
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/12Analogue/digital converters
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/78Detection of presence or absence of voice signals
    • G10L2025/783Detection of presence or absence of voice signals based on threshold decision

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Quality & Reliability (AREA)
  • Theoretical Computer Science (AREA)
  • Analogue/Digital Conversion (AREA)

Abstract

The disclosure provides a signal processing method, a signal processing device and an electronic device, wherein the method comprises the following steps: acquiring an audio output signal of each sound channel of the audio analog-to-digital converter in the current detection time period; acquiring an amplitude difference value of the audio output signal and a corresponding reference output signal in unit time; under the condition that the absolute values of all the amplitude difference values in the current detection time period are less than or equal to a preset threshold value, determining that the audio output signal is a coupling noise signal, and performing noise reduction processing on the audio output signal and outputting the audio output signal; and under the condition that the absolute value of the amplitude difference value in any unit time is greater than a preset threshold value in the current detection time period, determining the audio output signal as an effective audio output signal, and outputting the audio output signal. According to the technical scheme disclosed by the invention, the coupled noise can be inhibited when no effective audio input signal is input into the audio analog-to-digital converter, so that the noise reduction effect is achieved.

Description

Signal processing method and device and electronic equipment
Technical Field
The present disclosure relates to the field of signal processing technologies, and in particular, to a signal processing method and apparatus, and an electronic device.
Background
The audio analog-to-digital converter is easily interfered by peripheral devices in the design scheme of an electronic system or terminal equipment to generate coupling noise, and the noise can be obviously heard after the audio terminal is amplified, particularly when no audio analog signal is input. For example, in a design scheme of a motherboard of a multimedia electronic terminal such as a computer host, a television and the like, when an audio analog signal is not input to an audio analog-to-digital converter, a level of an analog audio input interface is a direct current level, and due to interference of other devices around the system, a situation that an alternating current signal is coupled to the analog audio input interface occurs, so that noise output is generated, and the multimedia terminal such as the computer host, the television and the like usually has power amplifier equipment which amplifies interference noise, so that a human ear can hear obvious noise.
Disclosure of Invention
The present disclosure provides a signal processing method, a signal processing apparatus and an electronic device, which are capable of effectively improving a phenomenon that an audio analog-to-digital converter is easily interfered by peripheral devices to generate coupling noise.
In a first aspect, the present disclosure provides a signal processing method for an audio analog-to-digital converter, the signal processing method comprising:
acquiring an audio output signal of each sound channel of the audio analog-to-digital converter in the current detection time period;
acquiring the amplitude difference value of the audio output signal and the corresponding reference output signal in unit time;
under the condition that the absolute values of all the amplitude difference values in the current detection time period are less than or equal to a preset threshold value, determining the audio output signal as a coupled noise signal, and performing noise reduction processing on the audio output signal and outputting the audio output signal;
and under the condition that the absolute value of the amplitude difference value in any unit time is larger than the preset threshold value in the current detection time period, determining the audio output signal as an effective audio output signal, and outputting the audio output signal.
In a second aspect, the present disclosure provides a signal processing apparatus comprising:
the first acquisition module is used for acquiring an audio output signal of each sound channel of the audio analog-to-digital converter in the current detection time period;
the second acquisition module is used for acquiring the amplitude difference value of the audio output signal and the corresponding reference output signal in unit time;
the signal detection module is used for determining the audio output signal as a coupled noise signal under the condition that the absolute values of all the amplitude difference values in the current detection time period are less than or equal to a preset threshold value, and triggering the noise suppression module to perform noise reduction processing on the audio output signal and output the audio output signal; and under the condition that the absolute value of the amplitude difference value in any unit time is greater than the preset threshold value in the current detection time period, determining the audio output signal as an effective audio output signal, and outputting the audio output signal.
In a third aspect, the present disclosure provides an electronic device comprising:
the audio analog-to-digital converter is used for performing analog-to-digital conversion processing on an audio input signal input by the audio input end to obtain an audio output signal;
the signal processing device comprises the signal processing device and is used for processing the audio output signal output by the audio analog-to-digital converter.
According to the technical scheme of the signal processing method, the signal processing device and the electronic equipment provided by the embodiment of the disclosure, when the audio analog-to-digital converter has no effective audio input signal input, namely no effective audio signal output, the detected audio output signal is a coupling noise signal, and the coupling noise is suppressed, so that the noise reduction effect is achieved; when the audio analog-to-digital converter has effective audio input signals, namely effective audio signals are output, the output signals are not further processed, so that the distortion phenomenon of the output audio can be favorably prevented, and the adverse effects on the quality and the performance parameters of the effective audio output signals are prevented.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the principles of the disclosure and not to limit the disclosure. The above and other features and advantages will become more apparent to those skilled in the art by describing in detail exemplary embodiments thereof with reference to the attached drawings, in which:
fig. 1 is a schematic flowchart of a signal processing method according to an embodiment of the disclosure;
fig. 2 is a schematic flow chart of another signal processing method provided in the embodiment of the present disclosure;
fig. 3 is a schematic flow chart of another signal processing method provided in the embodiment of the present disclosure;
FIG. 4 is a waveform diagram of an audio output signal of one channel of an audio ADC;
fig. 5 is a block diagram of a signal processing apparatus according to an embodiment of the disclosure;
fig. 6 is a block diagram of an electronic device according to an embodiment of the present disclosure;
fig. 7 is a block diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
To facilitate a better understanding of the technical aspects of the present disclosure, exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, wherein various details of the embodiments of the present disclosure are included to facilitate an understanding, and they should be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Embodiments of the present disclosure and features of embodiments may be combined with each other without conflict.
As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," 8230; \8230 "; when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. The terms "connected" or "coupled" and the like are not restricted to physical or mechanical connections, but may include electrical connections, whether direct or indirect.
Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and the present disclosure, and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
Fig. 1 is a schematic flow chart of a signal processing method according to an embodiment of the present disclosure.
The embodiment of the present disclosure provides a signal processing method, which is applied to an Audio analog-to-digital converter (Audio ADC) and is used for performing signal detection and processing on an Audio output signal of the Audio ADC. Referring to fig. 1, the signal processing method may include: step S11 to step S14.
And S11, acquiring an audio output signal of each channel of the audio analog-to-digital converter in the current detection time period.
And S12, acquiring the amplitude difference value of the audio output signal and the corresponding reference output signal in unit time.
And S13, under the condition that the absolute values of all the amplitude difference values in the current detection time period are less than or equal to a preset threshold value, determining the audio output signal as a coupled noise signal, and performing noise reduction processing on the audio output signal and outputting the audio output signal.
And S14, under the condition that the absolute value of the amplitude difference value in any unit time is greater than a preset threshold value in the current detection time period, determining the audio output signal as an effective audio output signal, and outputting the audio output signal.
In the embodiment of the present disclosure, an Audio input end of the Audio Analog-to-Digital converter is configured to receive an Audio input signal, where the Audio input signal is an Analog Audio signal (Analog Audio), the Audio Analog-to-Digital converter is configured to perform Analog-to-Digital conversion on the Audio input signal input by the Audio input end to obtain and output an Audio output signal, and the Audio output signal is a Digital Audio signal (Digital Audio). Where the audio output signal is typically in the form of a signed number, the audio output signal illustratively has a maximum value of 7FFF and a minimum value of 8000.
In the embodiment of the present disclosure, the audio analog-to-digital converter may be a mono audio analog-to-digital converter, a two-channel audio analog-to-digital converter, or a multi-channel audio analog-to-digital converter, which is not particularly limited by the embodiment of the present disclosure.
In step S11, an audio output signal output by each channel of the audio analog-to-digital converter in a current detection period is read, wherein the detection period may be set in advance.
In some embodiments, the audio output signal output by each channel of the audio analog-to-digital converter during the current detection period may be read and buffered by a preset Register (Register).
In step S12, for the read audio output signal output by each channel in the current detection time period, a signal peak value (amplitude value) of the audio output signal output by the channel in the current detection time period may be determined, where the signal peak value may include a maximum peak value and a minimum peak value, and the signal peak value of the audio output signal output by the channel in the current detection time period is compared with a preset amplitude value of a reference output signal corresponding to the channel to obtain an amplitude difference value in unit time between the audio output signal output by the channel in the current detection time period and the corresponding reference output signal, and the amplitude difference value may include a difference value between the maximum peak value of the audio output signal and the amplitude value of the reference output signal, and a difference value between the minimum peak value of the audio output signal and the amplitude value of the reference output signal.
In step S13, for each channel, if the absolute values of all the amplitude difference values corresponding to the channel in the current detection time period are less than or equal to the preset threshold, it is determined that the audio output signal output by the channel in the current detection time period is a coupled noise signal, and the audio output signal output by the channel in the current detection time period is subjected to noise reduction processing and output.
In step S14, for each channel, if the absolute value of the amplitude difference value in any unit time corresponding to the channel exists in the current detection time period and is greater than the preset threshold, it is determined that the audio output signal output by the channel in the current detection time period is a valid audio output signal, and the audio output signal output by the channel in the current detection time period is directly output without further processing.
In the embodiment of the present disclosure, the audio analog-to-digital converter is applied to an electronic system or a terminal device (for example, a computer host, a television, etc.), the coupled noise signal refers to a noise signal generated by the audio analog-to-digital converter due to interference coupling of other devices in the system or the device, the effective audio output signal refers to a signal output by the audio analog-to-digital converter after analog-to-digital conversion processing is performed on an actually input effective audio input signal, and the effective audio input signal refers to a signal that actually needs to be input to the audio analog-to-digital converter for processing.
In an actual test, the amplitude value of the coupling noise signal is greatly different from the amplitude value of the effective audio output signal, and the embodiment of the disclosure judges whether the audio output signal in the current detection time is the effective audio output signal or the coupling noise signal according to the comparison condition of the amplitude difference value of the audio output signal and the reference output signal in unit time and a preset threshold value by utilizing the difference between the amplitude value of the coupling noise signal and the amplitude value of the effective audio output signal; when the coupling noise signal is determined, no effective audio input signal is input currently, and at the moment, human ears are sensitive to noise, so that noise reduction and suppression processing are required to be carried out and then output; when the valid audio output signal is determined, the valid audio input signal is currently input, and the human ear is relatively insensitive to noise, so that the valid audio output signal is directly output without any processing.
According to the technical scheme of the signal processing method provided by the embodiment of the disclosure, when the audio analog-to-digital converter has no effective audio input signal input, that is, no effective audio signal output, the detected audio output signal is a coupling noise signal, and the coupling noise is suppressed, so that the noise reduction effect is achieved; when the audio analog-to-digital converter has effective audio input signals, namely effective audio signals are output, the output signals are not further processed, so that the output audio is prevented from being distorted, and the quality and performance parameters of the effective audio output signals are prevented from being adversely affected.
In some embodiments, to improve the output error of the audio analog-to-digital converter, the output signal of the audio analog-to-digital converter without an audio input is offset calibrated. Fig. 2 is a schematic flowchart of another signal processing method provided by the embodiment of the disclosure, and exemplarily, referring to fig. 2, before the step of acquiring the audio output signal of each channel of the audio analog-to-digital converter in the current detection time period, that is, before step S11, the signal processing method further includes: step S21 to step S26.
And S21, controlling the audio input end of the audio analog-to-digital converter to be closed.
In step S21, the audio input terminal of the audio analog-to-digital converter is controlled to be turned off, and in the off state, the audio input terminal of the audio analog-to-digital converter does not receive any audio input signal.
And S22, reading the audio output signal of each channel of the audio analog-to-digital converter in the state that the audio input end is closed.
Step S23, for each channel, determining whether an absolute value of an amplitude value of the audio output signal of the channel in the audio input end closed state is greater than a target value, if so, performing step S24, otherwise, performing step S25.
The target value may be set according to actual needs, and may be set to a smaller value in order to reduce the output error, and for example, the target value may be set to 1.
Step S24, performing amplitude adjustment processing on the audio output signal of the channel in the audio input end closed state to obtain a reference output signal corresponding to the channel, and executing step S26.
When the absolute Value of the amplitude Value of the audio output signal of the channel in the audio input end closed state is greater than the target Value, it indicates that the output error (Offset Value) of the channel in the audio input end closed state is large, the amplitude Value of the audio output signal of the channel in the audio input end closed state is the Offset Value (Offset Value), and the Offset calibration needs to be performed, so step S24 is performed to perform amplitude adjustment processing on the audio output signal of the channel in the audio input end closed state, and the adjustment target may be that the absolute Value of the amplitude Value of the audio output signal of the channel in the audio input end closed state is smaller than or equal to the target Value, so as to obtain a reference output signal corresponding to the channel, and the absolute Value of the amplitude Value of the reference output signal is smaller than or equal to the target Value.
Step S25, determining the audio output signal of the channel in the audio input end closed state as the reference output signal corresponding to the channel, and executing step S26.
When the absolute value of the amplitude value of the audio output signal of the channel in the audio input end closed state is less than or equal to the target value, it indicates that the output error (offset value) of the channel in the audio input end closed state is small, and the amplitude value of the audio output signal of the channel in the audio input end closed state is the offset value, so that it is not necessary to perform offset calibration, so step S25 is performed to determine the audio output signal of the channel in the audio input end closed state as the reference output signal corresponding to the channel.
And S26, controlling the audio input end of the audio analog-to-digital converter to be opened.
After determining the reference output signal corresponding to each channel, controlling the audio input end of the audio analog-to-digital converter to be turned on, wherein in the turned-on state, the audio input end of the audio analog-to-digital converter can receive the audio input signal.
According to the embodiment of the disclosure, the output signal of the audio analog-to-digital converter under the condition of no audio input is subjected to offset calibration in the above manner, so that the output error of the audio analog-to-digital converter is calibrated to be zero or near the zero value, thereby effectively improving the output error of the audio analog-to-digital converter, and being beneficial to improving the interference and influence of the larger output error on the coupling noise detection effect.
In some embodiments, in step S24, performing amplitude adjustment processing on the audio output signal of the channel in the audio input end off state may further include: and adjusting the absolute value of the amplitude value of the audio output signal of the sound channel in the closed state of the audio input end to be a value less than or equal to a target value so as to obtain a reference output signal corresponding to the sound channel, wherein the adjusted audio output signal of the sound channel in the closed state of the audio input end is the reference output signal corresponding to the sound channel.
Fig. 3 is a schematic flowchart of another signal processing method provided by an embodiment of the present disclosure, and in some embodiments, referring to fig. 3, before the step of acquiring an audio output signal of each channel of an audio analog-to-digital converter in a current detection time period, that is, before step S11, the signal processing method further includes: step S31 and step S32.
Step S31, setting a detection time period based on the audio clock period of the audio analog-to-digital converter.
The number of the detection time periods may be at least one, and the time length of the detection time period may be an integer multiple of an audio clock cycle of the audio analog-to-digital converter, for example, the detection time period may be configured to be 1 audio clock cycle, 2 audio clock cycles, or n audio clock cycles, where n > 2, and the detection time period may be specifically set according to an actual detection frequency requirement, which is not particularly limited in this disclosure.
Step S32, setting a preset threshold value based on the amplitude value of the reference output signal.
For example, the preset threshold (threshold) may be determined according to an absolute value of a difference between the preset value and the amplitude value of the reference output signal, and the preset threshold is the absolute value. The preset value can be determined according to the amplitude value of the coupling noise signal obtained by the audio analog-to-digital converter through actual test under the condition that no effective audio input signal is input. For example, the preset threshold may be a value range of 20 to 30.
In some embodiments, the setting of the detection time period may be performed by a register, and the setting of the preset threshold value may be performed by a register.
It should be noted that, in the embodiment of the present disclosure, the execution sequence of the step S31 and the step S32 is not particularly limited, and the step S31 and the step S32 may be performed simultaneously, or the step S31 may be performed first and then the step S32 is performed, or the step S32 may be performed first and then the step S31 is performed.
The embodiment of the disclosure can be beneficial to improving the effectiveness, effect and efficiency of the detection signal through the setting of the detection time period, and the coupling noise signal and the effective audio output signal can be conveniently identified and distinguished through the setting of the preset threshold value.
In some embodiments, in step S13, performing noise reduction processing on the audio output signal and outputting, may further include: and adjusting the amplitude value of the audio output signal to 0 to obtain and output the adjusted audio output signal. Namely, the audio output signal with the amplitude value of 0 is output, so that the effects of noise reduction and coupling noise suppression are achieved.
Fig. 4 is a waveform diagram of an audio output signal of a channel of an audio analog-to-digital converter, assuming that a current detection time period is a detection time period 1, and a situation of the audio output signal output by the channel in the detection time period 1 is as shown in fig. 4, and with reference to fig. 4, according to a technical solution of the signal processing method according to the embodiment of the present disclosure, an absolute value of a difference between an amplitude value of the audio output signal output by the channel in the detection time period 1 and an amplitude value of a corresponding reference output signal is greater than a preset threshold th, so that the audio output signal currently output by the channel is detected to be an effective audio output signal without performing noise reduction processing on the audio output signal.
It is understood that the above-mentioned method embodiments of the present disclosure can be combined with each other to form a combined embodiment without departing from the logic of the principle, which is limited by the space, and the detailed description of the present disclosure is omitted. Those skilled in the art will appreciate that in the above methods of the specific embodiments, the specific order of execution of the steps should be determined by their function and possibly their inherent logic.
In addition, the present disclosure also provides a signal processing apparatus, an electronic device, and a computer-readable storage medium, where the signal processing apparatus is configured to implement the signal processing method provided by the present disclosure, and both the electronic device and the computer-readable storage medium may be configured to implement the signal processing method provided by the present disclosure, and the corresponding technical solutions and descriptions thereof and the corresponding descriptions thereof in the method section are omitted for details.
Fig. 5 is a block diagram of a signal processing apparatus according to an embodiment of the present disclosure, and referring to fig. 5, an embodiment of the present disclosure provides a signal processing apparatus 500, where the signal processing apparatus 500 is configured to perform signal detection and processing on an audio output signal of an audio analog-to-digital converter, and the signal processing apparatus 500 includes: a first acquisition module 501, a second acquisition module 502, a signal detection module 503, and a Noise reduction (Audio Noise reduction) module 504.
A first obtaining module 501, configured to obtain an audio output signal of each channel of the audio analog-to-digital converter in a current detection time period.
The second obtaining module 502 is configured to obtain an amplitude difference between the audio output signal and the corresponding reference output signal in a unit time.
The signal detection module 503 is configured to determine that the audio output signal is a coupling noise signal when the absolute values of all the amplitude difference values in the current detection time period are less than or equal to a preset threshold, and trigger the noise suppression module 504 to perform noise reduction processing on the audio output signal and output the audio output signal; and under the condition that the absolute value of the amplitude difference value in any unit time is greater than a preset threshold value in the current detection time period, determining the audio output signal as an effective audio output signal, and outputting the audio output signal.
In some embodiments, the signal processing apparatus 500 further comprises: an output Offset calibration (DC Offset calibration) module 505. Wherein the output offset calibration module 505 is configured to: controlling an audio input end of the audio analog-to-digital converter to be closed; reading an audio output signal of each sound channel of the audio analog-to-digital converter in an audio input end closed state; for each channel, under the condition that the absolute value of the amplitude value of the audio output signal of the channel in the audio input end closed state is larger than a target value, carrying out amplitude adjustment processing on the audio output signal of the channel in the audio input end closed state to obtain a reference output signal corresponding to the channel; determining the audio output signal of the sound channel in the audio input end closed state as a reference output signal corresponding to the sound channel under the condition that the absolute value of the amplitude value of the audio output signal of the sound channel in the audio input end closed state is less than or equal to a target value; and controlling the audio input end of the audio analog-to-digital converter to be opened.
In some embodiments, the signal processing apparatus 500 further comprises: a parameter setting module 506, the parameter setting module 506 being configured to: setting a detection time period based on an audio clock period of an audio analog-to-digital converter; the preset threshold is set based on the amplitude value of the reference output signal.
In some embodiments, the signal processing apparatus 500 further comprises: a register 507. When the audio output signal is determined to be a coupling noise signal, the signal detection module 503 may send an enable signal to the noise suppression module 504 through the register 507, so as to trigger the noise suppression module 504 to start working, perform noise reduction processing on the audio output signal, and output the processed audio output signal.
In some embodiments, the parameter setting module 506 may perform setting of the detection time period and the preset threshold value through the register 507.
For specific description, reference may be made to relevant description in the signal processing method of the foregoing embodiment, and details are not repeated here.
Fig. 6 is a block diagram of an electronic device according to an embodiment of the present disclosure, and as shown in fig. 6, an embodiment of the present disclosure provides an electronic device 600, where the electronic device 600 includes: an audio analog-to-digital converter 601 and a signal processing means 602.
The audio analog-to-digital converter 601 is configured to perform analog-to-digital conversion on an audio input signal input by the audio input end to obtain an audio output signal.
The signal processing device 602 is configured to perform signal processing on the audio output signal output by the audio analog-to-digital converter.
The signal processing apparatus 602 may include the signal processing apparatus provided in the foregoing embodiment, and for specific description of the signal processing apparatus, reference may be made to the description of the signal processing apparatus in the foregoing embodiment, and details are not described here again.
Illustratively, the electronic device can be a multimedia electronic terminal device such as a computer host, a television and the like.
Fig. 7 is a block diagram of an electronic device according to an embodiment of the present disclosure, and referring to fig. 7, an embodiment of the present disclosure provides an electronic device including: at least one processor 71; at least one memory 72, and one or more I/O interfaces 73 coupled between the processor 71 and the memory 72; the memory 72 stores one or more computer programs executable by the at least one processor 71, and the one or more computer programs are executed by the at least one processor 71 to enable the at least one processor 71 to perform the signal processing method described above.
The disclosed embodiments also provide a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the above-mentioned signal processing method. The computer readable storage medium may be a volatile or non-volatile computer readable storage medium, among others.
The disclosed embodiments also provide a computer program product comprising computer readable code or a non-volatile computer readable storage medium carrying computer readable code, which when run in a processor of an electronic device, the processor in the electronic device performs the above-mentioned signal processing method.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, or suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer-readable storage media, which may include computer storage media (or non-transitory media) and communication media (or transitory media).
The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable program instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, random Access Memory (RAM), read Only Memory (ROM), erasable Programmable Read Only Memory (EPROM), static Random Access Memory (SRAM), flash memory or other memory technology, portable compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by the computer. In addition, communication media typically embodies computer readable program instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as is well known to those skilled in the art.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations of the present disclosure may be assembler instructions, instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, aspects of the disclosure are implemented by personalizing an electronic circuit, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA), with state information of computer-readable program instructions, which can execute the computer-readable program instructions.
The computer program product described herein may be embodied in hardware, software, or a combination thereof. In an alternative embodiment, the computer program product is embodied in a computer storage medium, and in another alternative embodiment, the computer program product is embodied in a Software product, such as a Software Development Kit (SDK) or the like.
Various aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Example embodiments have been disclosed herein, and although specific terms are employed, they are used and should be interpreted in a generic and descriptive sense only and not for purposes of limitation. In some instances, features, characteristics and/or elements described in connection with a particular embodiment may be used alone or in combination with features, characteristics and/or elements described in connection with other embodiments, unless expressly stated otherwise, as would be apparent to one skilled in the art. Accordingly, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the scope of the disclosure as set forth in the appended claims.

Claims (9)

1. A method of signal processing, the method comprising:
acquiring an audio output signal of each sound channel of the audio analog-to-digital converter in the current detection time period;
acquiring the amplitude difference value of the audio output signal and the corresponding reference output signal in unit time;
under the condition that the absolute values of all the amplitude difference values in the current detection time period are less than or equal to a preset threshold value, determining that the audio output signal is a coupled noise signal, and performing noise reduction processing on the audio output signal and outputting the audio output signal;
determining the audio output signal as an effective audio output signal and outputting the audio output signal under the condition that the absolute value of the amplitude difference value in any unit time is greater than the preset threshold value in the current detection time period;
before the obtaining of the audio output signal of each channel of the audio analog-to-digital converter within the current detection time period, the method further comprises:
controlling the audio input end of the audio analog-to-digital converter to be closed;
reading an audio output signal of each sound channel of the audio analog-to-digital converter in an audio input end closed state;
when the absolute value of the amplitude value of the audio output signal of the sound channel in the audio input end closed state is larger than the target value, carrying out amplitude adjustment processing on the audio output signal of the sound channel in the audio input end closed state to obtain the reference output signal corresponding to the sound channel; and
controlling an audio input end of the audio analog-to-digital converter to be opened;
before the obtaining of the audio output signal of each channel of the audio analog-to-digital converter within the current detection time period, the method further comprises: setting the preset threshold based on the amplitude value of the reference output signal.
2. The method of claim 1, wherein the performing noise reduction processing on the audio output signal and outputting the audio output signal comprises:
and adjusting the amplitude value of the audio output signal to be 0 to obtain and output the adjusted audio output signal.
3. The method of claim 1, wherein performing amplitude adjustment processing on the audio output signal of the channel with the audio input in an off state comprises:
and adjusting the absolute value of the amplitude value of the audio output signal of the sound channel in the audio input end closed state to be less than or equal to the value of the target value so as to obtain the reference output signal corresponding to the sound channel.
4. The method of claim 1, wherein after said reading the audio output signal of each channel of the audio analog-to-digital converter with the audio input off, the method further comprises:
determining the audio output signal of the channel in the audio input end closed state as the reference output signal corresponding to the channel when the absolute value of the amplitude value of the audio output signal of the channel in the audio input end closed state is less than or equal to the target value; and
and controlling the audio input end of the audio analog-to-digital converter to be opened.
5. The method of claim 1, wherein prior to said obtaining an audio output signal for each channel of the audio analog-to-digital converter for a current detection time period, the method further comprises:
setting the detection time period based on an audio clock period of the audio analog-to-digital converter.
6. A signal processing apparatus, characterized in that the apparatus comprises:
the first acquisition module is used for acquiring an audio output signal of each sound channel of the audio analog-to-digital converter in the current detection time period;
the second acquisition module is used for acquiring the amplitude difference value of the audio output signal and the corresponding reference output signal in unit time;
the signal detection module is used for determining the audio output signal as a coupled noise signal under the condition that the absolute values of all the amplitude difference values in the current detection time period are less than or equal to a preset threshold value, and triggering the noise suppression module to perform noise reduction processing on the audio output signal and output the audio output signal; determining the audio output signal as an effective audio output signal and outputting the audio output signal under the condition that the absolute value of the amplitude difference value in any unit time is greater than the preset threshold value in the current detection time period;
the device further comprises: an output offset calibration module; the output offset calibration module is to: controlling the audio input end of the audio analog-to-digital converter to be closed; reading an audio output signal of each sound channel of the audio analog-to-digital converter in an audio input end closed state; when the absolute value of the amplitude value of the audio output signal of the sound channel in the audio input end closed state is larger than the target value, carrying out amplitude adjustment processing on the audio output signal of the sound channel in the audio input end closed state to obtain the reference output signal corresponding to the sound channel and control the audio input end of the audio analog-to-digital converter to be opened;
the device further comprises: a parameter setting module to set the preset threshold based on the amplitude value of the reference output signal.
7. The apparatus of claim 6, wherein the output offset calibration module is further configured to: and under the condition that the absolute value of the amplitude value of the audio output signal of the sound channel in the audio input end closed state is less than or equal to the target value, determining the audio output signal of the sound channel in the audio input end closed state as the reference output signal corresponding to the sound channel, and controlling the audio input end of the audio analog-digital converter to be opened.
8. The apparatus of claim 6, wherein the parameter setting module is further configured to: setting the detection time period based on an audio clock period of the audio analog-to-digital converter.
9. An electronic device, characterized in that the device comprises:
the audio analog-to-digital converter is used for performing analog-to-digital conversion processing on an audio input signal input by the audio input end to obtain an audio output signal;
signal processing apparatus comprising a signal processing apparatus according to any one of claims 6 to 8 for signal processing an audio output signal output by an audio analog-to-digital converter.
CN202211062013.2A 2022-09-01 2022-09-01 Signal processing method and device and electronic equipment Active CN115134709B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211062013.2A CN115134709B (en) 2022-09-01 2022-09-01 Signal processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211062013.2A CN115134709B (en) 2022-09-01 2022-09-01 Signal processing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN115134709A CN115134709A (en) 2022-09-30
CN115134709B true CN115134709B (en) 2023-01-10

Family

ID=83388036

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211062013.2A Active CN115134709B (en) 2022-09-01 2022-09-01 Signal processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN115134709B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104702221A (en) * 2015-03-29 2015-06-10 安徽财经大学 PWM (pulse width modulation) audio power amplifier
CN106060714A (en) * 2016-05-26 2016-10-26 惠州华阳通用电子有限公司 Control method and device for reducing sound source noises
CN108282719A (en) * 2018-02-07 2018-07-13 合肥联宝信息技术有限公司 A kind of control method and equipment of voice signal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6950380B2 (en) * 2001-01-25 2005-09-27 Dphi Acquisitions, Inc. Detector input dark current offset calibration in an optical disk drive digital servo
US8798283B2 (en) * 2012-11-02 2014-08-05 Bose Corporation Providing ambient naturalness in ANR headphones
CN112601159B (en) * 2020-12-10 2022-03-15 深圳市中科蓝讯科技股份有限公司 Audio calibration circuit and audio equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104702221A (en) * 2015-03-29 2015-06-10 安徽财经大学 PWM (pulse width modulation) audio power amplifier
CN106060714A (en) * 2016-05-26 2016-10-26 惠州华阳通用电子有限公司 Control method and device for reducing sound source noises
CN108282719A (en) * 2018-02-07 2018-07-13 合肥联宝信息技术有限公司 A kind of control method and equipment of voice signal

Also Published As

Publication number Publication date
CN115134709A (en) 2022-09-30

Similar Documents

Publication Publication Date Title
KR102157034B1 (en) Systems and methods for protecting a speaker from overexcursion
US9363599B2 (en) Systems and methods for protecting a speaker
CN101924525B (en) High performance voice frequency amplifying circuit
US9992571B2 (en) Speaker protection from overexcursion
EP1630790B1 (en) Method and device for extending the audio signal band
US7711557B2 (en) Audio signal noise reduction device and method
US20150008962A1 (en) Signal envelope processing
CN105519133A (en) Signal processing for MEMS capacitive transducers
US20080292114A1 (en) Audio reproducing apparatus
US7528650B2 (en) Multi-channel digital amplifier, signal processing method thereof, and audio reproducing system having the same
CN107395149B (en) Audio signal processing method, device and integrated circuit
US9478235B2 (en) Voice signal processing device and voice signal processing method
US11694700B2 (en) Method, apparatus and device for processing sound signal
EP2200340A1 (en) Sound processing methods and apparatus
CN115134709B (en) Signal processing method and device and electronic equipment
KR20140110943A (en) Waveform shaping for audio amplifiers
US20150043753A1 (en) Systems and Methods for Noise Reduction
CN102893334B (en) For offseting the method and apparatus with gain correction
US20190245522A1 (en) Method and device for adjusting passband width of filter
US10135548B2 (en) System, apparatus, and method for at least mitigating a signal reflection
EP3419308B1 (en) Audio reproduction device
US20080253585A1 (en) Apparatus and method for controlling volume
US9070371B2 (en) Method and system for peak limiting of speech signals for delay sensitive voice communication
GB2559012A (en) Speaker protection excursion oversight
EP3094007B1 (en) Apparatus and method for reducing peak to average ratio in wireless communication system

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