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

Signal processing method and device and electronic equipment Download PDF

Info

Publication number
CN115134709A
CN115134709A CN202211062013.2A CN202211062013A CN115134709A CN 115134709 A CN115134709 A CN 115134709A CN 202211062013 A CN202211062013 A CN 202211062013A CN 115134709 A CN115134709 A CN 115134709A
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.)
Granted
Application number
CN202211062013.2A
Other languages
Chinese (zh)
Other versions
CN115134709B (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)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (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 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 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 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 an electronic system or a terminal device design scheme to generate coupling noise, and the noise can be obviously heard after an audio terminal is amplified, particularly when no audio analog signal is input. For example, in the design scheme of the main board of the multimedia electronic terminal such as the computer host, the television and the like, when the audio analog-to-digital converter does not input the audio analog signal, the level of the analog audio input interface is a direct current level, and due to interference of other devices around the system, the situation that the 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 the interference noise, so that the 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 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;
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 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 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 flow chart of a signal processing method according to an embodiment of the present disclosure;
fig. 2 is a schematic flow chart of another signal processing method according to an embodiment of the disclosure;
fig. 3 is a schematic flowchart of another signal processing method according to an embodiment of the 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," 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 step S11, acquiring the audio output signal of each channel of the audio analog-to-digital converter in the current detection time period.
And step S12, acquiring the amplitude difference value of the audio output signal and the corresponding reference output signal in unit time.
And step S13, determining the audio output signal as a coupling 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 carrying out noise reduction processing on the audio output signal and outputting the audio output signal.
And step S14, 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 a preset threshold value in the current detection time period.
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, the audio output signal output by each channel of the audio analog-to-digital converter in the current detection time period is read, wherein the detection time 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 each of the read audio output signals output during the current detection period, a signal peak value (amplitude value) of the audio output signal output by the channel during the current detection time period may be determined, the signal peak value may include a maximum peak value and a minimum peak value, and compares the signal peak value of the audio output signal output by the channel in the current detection time period with the preset amplitude value of the reference output signal corresponding to the channel, to obtain an amplitude difference value per unit time between the audio output signal of the channel output in the current detection period and the corresponding reference output signal, the amplitude difference value may include a difference value between a maximum peak value of the audio output signal and an amplitude value of the reference output signal, and a difference 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 adc is applied to an electronic system or a terminal device (e.g., a computer host, a television, etc.), the coupling noise signal refers to a noise signal generated by the audio adc being subjected to interference coupling by other devices in the system or the device, the effective audio output signal refers to a signal output by the audio adc after performing analog-to-digital conversion 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 adc 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 coupled noise signal is determined, no effective audio input signal is input at present, 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, 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.
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 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 step 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 step S22, reading the audio output signal of each channel of the audio analog-to-digital converter under the state that the audio input end is closed.
Step S23, for each channel, determining whether an absolute value of an amplitude value of an audio output signal of the channel in a state where an audio input terminal is closed 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 performing 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 greater, 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 Offset calibration is required, so step S24 is executed 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 less 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 less 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.
In the case 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, 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 step 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 closed state may further include: and adjusting the absolute value of the amplitude value of the audio output signal of the channel in the audio input end closed state to a value less than or equal to the target value so as to obtain a reference output signal corresponding to the channel, wherein the adjusted audio output signal of the channel in the audio input end closed state is the reference output signal corresponding to the 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 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 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, a preset threshold is set 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 may be performed by a register.
It should be noted that, the execution sequence of the above steps S31 and S32 is not specifically limited in the embodiment of the present disclosure, and the above steps S31 and S32 may be performed simultaneously, or step S32 may be performed after step S31 is performed, or step S31 may be performed after step S32 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, in combination with 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 coupled noise signal when absolute values of all 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 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 the closed state of an audio input end; 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 channel in the audio input end closed state as a reference output signal corresponding to the 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 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 determining that the audio output signal is a coupled noise signal, the signal detection module 503 may send an enable signal to the noise suppression module 504 through the register 507 to trigger the noise suppression module 504 to start operation, perform noise reduction processing on the audio output signal, and output the 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 device 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.
A signal processing device 602, 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 processor 71 and 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.
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 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 the 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.
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 case of a remote computer, 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, the electronic circuitry that can execute the computer-readable program instructions implements aspects of the present disclosure by utilizing the state information of the computer-readable program instructions to personalize the electronic circuitry, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA).
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 which 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. It will, therefore, 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 (11)

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 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 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.
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 0 to obtain and output the adjusted audio output signal.
3. The method of claim 1, wherein prior to said obtaining the audio output signal for each channel of the audio analog-to-digital converter within a 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
and controlling the audio input end of the audio analog-to-digital converter to be opened.
4. The method of claim 3, wherein the performing amplitude adjustment processing on the audio output signal of the channel with the audio input terminal 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.
5. The method of claim 3, 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.
6. 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;
setting the preset threshold based on the amplitude value of the reference output signal.
7. 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; 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.
8. The apparatus of claim 7, further comprising: 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 the audio input end closed state; 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 larger than a 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-digital converter to be opened.
9. The apparatus of claim 8, 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-to-digital converter to be opened.
10. The apparatus of claim 7, further comprising: a parameter setting module to: setting the detection time period based on an audio clock period of the audio analog-to-digital converter; setting the preset threshold based on the amplitude value of the reference output signal.
11. 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 7 to 10 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 true CN115134709A (en) 2022-09-30
CN115134709B 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 (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020118614A1 (en) * 2001-01-25 2002-08-29 Watt Charles R. Detector input dark current offset calibration in an optical disk drive
US20140126734A1 (en) * 2012-11-02 2014-05-08 Bose Corporation Providing Ambient Naturalness in ANR Headphones
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
CN112601159A (en) * 2020-12-10 2021-04-02 深圳市中科蓝讯科技股份有限公司 Audio calibration circuit and audio equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020118614A1 (en) * 2001-01-25 2002-08-29 Watt Charles R. Detector input dark current offset calibration in an optical disk drive
US20140126734A1 (en) * 2012-11-02 2014-05-08 Bose Corporation Providing Ambient Naturalness in ANR Headphones
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
CN112601159A (en) * 2020-12-10 2021-04-02 深圳市中科蓝讯科技股份有限公司 Audio calibration circuit and audio equipment

Also Published As

Publication number Publication date
CN115134709B (en) 2023-01-10

Similar Documents

Publication Publication Date Title
KR102157034B1 (en) Systems and methods for protecting a speaker from overexcursion
CN105245195B (en) For the technology of distortion reduction multiband compressor reducer protected with sound quality
EP1630790B1 (en) Method and device for extending the audio signal band
CN105519133A (en) Signal processing for MEMS capacitive transducers
US20070150261A1 (en) Audio signal noise reduction device and method
US20170325024A1 (en) Speaker protection from overexcursion
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
US9444657B2 (en) Dynamically calibrating the offset of a receiver with a decision feedback equalizer (DFE) while performing data transport operations
US20140211336A1 (en) Automatic gain control loop adaptation for enhanced nyquist data pattern detection
KR102663366B1 (en) Mems microphone
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
US10622971B2 (en) Method and device for adjusting passband width of filter
US9350463B2 (en) Electronic device, communication method, audio device and amplifier device using pulse density modulation for communication
US10135548B2 (en) System, apparatus, and method for at least mitigating a signal reflection
US9070371B2 (en) Method and system for peak limiting of speech signals for delay sensitive voice communication
EP3419308B1 (en) Audio reproduction device
US20080253585A1 (en) Apparatus and method for controlling volume
KR20170024807A (en) Semiconductor Apparatus and Receiver Therefor
US20180192188A1 (en) Input of time delay values to signal processor
US20230353937A1 (en) Circuitry for and Methods of Gain Control

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