CN109413728B - Terminal equipment and signal processing method - Google Patents
Terminal equipment and signal processing method Download PDFInfo
- Publication number
- CN109413728B CN109413728B CN201811653130.XA CN201811653130A CN109413728B CN 109413728 B CN109413728 B CN 109413728B CN 201811653130 A CN201811653130 A CN 201811653130A CN 109413728 B CN109413728 B CN 109413728B
- Authority
- CN
- China
- Prior art keywords
- audio
- frequency
- power consumption
- digital signal
- signal processor
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72442—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- Telephone Function (AREA)
Abstract
The invention provides a terminal device and a signal processing method, wherein the terminal device comprises: a digital signal processor, a notch filter module, and an audio amplifier, wherein: the input end of the notch filtering module is connected with the output end of the digital signal processor, the output end of the notch filtering module is connected with the input end of the audio amplifier, the notch filtering module is used for carrying out notch filtering processing on signals with specific frequency in audio signals output by the digital signal processor, the specific frequency is the frequency with power consumption value larger than preset power consumption value in a frequency power consumption curve of an audio system, wherein the audio system comprises the digital signal processor, the audio amplifier, an application processor of the terminal equipment and a loudspeaker of the terminal equipment. Therefore, the notch filtering module can perform notch filtering on the audio frequency with the frequency with poor audio system response, and therefore power consumption of the terminal equipment is reduced.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a terminal device and a signal processing method.
Background
With the increasing demand of users for entertainment, music, video and games have become essential entertainment items in daily life of users, so that users can get appropriate relaxation after work and study. The terminal equipment needs to use an audio system in the process of playing music, video or games. The audio system responds differently to different frequencies of audio, and to some frequencies of audio, the audio response is poor, resulting in a higher power consumption of the terminal device at that frequency.
Disclosure of Invention
The embodiment of the invention provides a terminal device and a signal processing method, which aim to solve the problem that the terminal device consumes more power.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a terminal device, including: a digital signal processor, a notch filter module, and an audio amplifier, wherein:
the input end of the notch filtering module is connected with the output end of the digital signal processor, the output end of the notch filtering module is connected with the input end of the audio amplifier, the notch filtering module is used for carrying out notch filtering processing on signals with specific frequency in audio signals output by the digital signal processor, the specific frequency is the frequency with power consumption value larger than preset power consumption value in a frequency power consumption curve of an audio system, wherein the audio system comprises the digital signal processor, the audio amplifier, an application processor of the terminal equipment and a loudspeaker of the terminal equipment.
In a second aspect, an embodiment of the present invention further provides a signal processing method, which is applied to the terminal device, where the method includes:
and performing notch filtering processing on a signal with a specific frequency in the audio signal output by the digital signal processor, wherein the specific frequency is a frequency with a power consumption value larger than a preset power consumption value in a frequency power consumption curve of the audio system.
In a third aspect, an embodiment of the present invention further provides a terminal device, which includes a processor, a memory, and a computer program stored in the memory and operable on the processor, where the computer program, when executed by the processor, implements the steps of the signal processing method.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the steps of the signal processing method.
The terminal device of the embodiment of the invention comprises: a digital signal processor, a notch filter module, and an audio amplifier, wherein: the input end of the notch filtering module is connected with the output end of the digital signal processor, the output end of the notch filtering module is connected with the input end of the audio amplifier, the notch filtering module is used for carrying out notch filtering processing on signals with specific frequency in audio signals output by the digital signal processor, the specific frequency is the frequency with power consumption value larger than preset power consumption value in a frequency power consumption curve of an audio system, wherein the audio system comprises the digital signal processor, the audio amplifier, an application processor of the terminal equipment and a loudspeaker of the terminal equipment. Therefore, the notch filtering module can perform notch filtering on the audio frequency with the frequency with poor audio system response, and therefore power consumption of the terminal equipment is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is one of structural diagrams of a terminal device provided in an embodiment of the present invention;
fig. 2 is a second structural diagram of a terminal device according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of amplitude-frequency characteristics provided by an embodiment of the present invention;
FIG. 4 is a second schematic diagram illustrating amplitude-frequency characteristics according to an embodiment of the present invention;
fig. 5 is a third structural diagram of a terminal device according to an embodiment of the present invention;
fig. 6 is a flowchart of a signal processing method according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of the relationship between frequency and power consumption provided by an embodiment of the present invention;
fig. 8 is a fourth structural diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a structural diagram of a terminal device according to an embodiment of the present invention, as shown in fig. 1, including: digital signal processor 1, notch filter module 2 and audio amplifier 3, wherein: the input end of the notch filter module 2 is connected with the output end of the digital signal processor 1, the output end of the notch filter module 2 is connected with the input end of the audio amplifier 3, the notch filter module 2 is used for performing notch filter processing on a signal with a specific frequency in an audio signal output by the digital signal processor 1, the specific frequency is a frequency with a power consumption value larger than a preset power consumption value in a frequency power consumption curve of an audio system, wherein the audio system comprises the digital signal processor 1, the audio amplifier 3, an application processor of a terminal device and a loudspeaker of the terminal device.
In this embodiment, the notch filter module 2 may perform notch filtering on signals with specific frequencies in the audio signals, and may also perform transmission on signals with frequencies other than the specific frequencies in the audio signals, that is, transmit the signals with frequencies other than the specific frequencies in the audio signals to the audio amplifier 3. The specific frequency is a frequency with a power consumption value larger than a preset power consumption value in a frequency power consumption curve of the audio system, and can be understood as a frequency with a specific frequency with a relatively poor response of the audio system, that is, when the audio system plays audio with the specific frequency, the power consumption of the terminal device is relatively high.
In this way, the notch filter module 2 can perform notch filtering processing on a signal of a specific frequency in the audio signal output by the digital signal processor 1, thereby reducing power consumption of the terminal device. And, can also adjust the parameter of the trapped wave filter module 2, thus guarantee that audibility and tone quality are not influenced.
In this embodiment, the terminal Device may be a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
Optionally, the specific frequency is a frequency with a maximum power consumption value in the frequency power consumption curve.
In this embodiment, the specific frequency is a frequency with the largest power consumption value in the frequency power consumption curve, and the notch filtering processing is performed on the signal with the specific frequency, so that the power consumption of the terminal device can be reduced to the greatest extent, and the terminal device can be used for a longer time.
Optionally, as shown in fig. 2, the notch filter module 2 includes a resistor R, an inductor L, and a capacitor C;
the first end of the resistor R is connected with the output end of the digital signal processor 1, and the second end of the resistor R is connected with the input end of the audio amplifier 3;
a first end of the inductor L is connected with a second end of the resistor R, and a second end of the inductor L is connected with a first end of the capacitor C;
the second end of the capacitor C is grounded;
the terminal device further comprises a control module 4, wherein the control module 4 comprises a first switch unit 41, a second switch unit 42 and a third switch unit 43;
a first end of the resistor R is connected to the output end of the digital signal processor 1 through the first switch unit 41, and a second end of the resistor R is connected to the input end of the audio amplifier 3 through the second switch unit 42;
the output terminal of the digital signal processor 1 is connected to the input terminal of the audio amplifier 3 through the third switching unit 43;
in the case where both the first switching unit 41 and the second switching unit 42 are turned on, the third switching unit 43 is turned off;
in the case where both the first switching unit 41 and the second switching unit 42 are turned off, the third switching unit 43 is turned on.
In this embodiment, the resistor R, the inductor L, and the capacitor C may implement a notch filtering function according to the above connection manner, and may rapidly attenuate an input signal at a certain frequency point, at this time, refer to fig. 3, where fig. 3 is a schematic diagram of an amplitude-frequency characteristic provided by an embodiment of the present invention. As shown in fig. 3, at a frequency f0Where the signal is notch filtered.
Referring to fig. 4 again, fig. 4 is a schematic diagram of amplitude-frequency characteristics according to an embodiment of the present invention. After the resistor R, the inductor L and the capacitor C are connected in the above connection manner, the resistor R, the inductor L and the capacitor C can be considered together as a notch filter, and relevant parameters of the notch filter are as follows:
substituting L-120 uH, C-200 uF into (1) can yield:
can solve f0=1027(Hz)。
Substituting R ═ 68m Ω, L ═ 120uH, and C ═ 200uF into (2), we can obtain:
further, Q ≈ 11.4 can be solved.
Q is a quality factor and determines the bandwidth and gain of the filtering, the larger Q the better the selectivity of the circuit, the narrower the passband the higher the gain, i.e. the width and height of the peak in fig. 4.
And then all the data are substituted into (3), so that the following data can be obtained: f. of0At 1027Hz, the gain is 0.035, about-29 dB, i.e., f in FIG. 40The corresponding gain at 1027 Hz. Also, in fig. 4, it can be seen that in the steady state region, the gain is 0dB, i.e., no gain; the gain is about-29 dB around 1027 Hz. Thus, the signal with the frequency of about 1KHz can be accurately subjected to notch filtering.
Of course, in a specific situation, different resistors, inductors or capacitors can be selected according to actual needs to perform notch filtering on signals with different frequencies, so that audio with frequencies with poor response of an audio system can be subjected to notch filtering, and power consumption of terminal equipment can be reduced. The resistor R, the inductor L, and the capacitor C may be adjustable resistors R, inductors L, and capacitors C. Therefore, under the same audio system, directional notch filtering of different frequency points (frequency bands) is carried out aiming at different audios, and higher power saving benefit is obtained.
In this embodiment, the digital signal processor 1 may input the analog audio signal subjected to the digital signal processing and the pulse width modulation. When the control module 4 selects the normal mode, the audio signal may be transmitted to the audio amplifier 3 through only the third switching unit 43 and output by the audio amplifier 3. When the control module 4 selects the filtering mode, the audio signal may be transmitted to the audio amplifier 3 through only the first and second switching units 41 and 42 and output by the audio amplifier 3.
Therefore, different paths can be selected according to actual needs to transmit the audio signals, namely whether the audio signals need to be subjected to notch filtering or not can be selected according to actual conditions, and therefore the terminal equipment can be more intelligent.
Optionally, as shown in fig. 5, the first switch unit 41 is a first PMOS transistor Q1, the second switch unit 42 is a second PMOS transistor Q2, and the third switch unit 43 is an NMOS transistor Q3;
the source electrode of the first PMOS tube Q1 is connected with the output end of the digital signal processor 1, and the drain electrode of the first PMOS tube Q1 is connected with the first end of the resistor R;
the source of the second PMOS transistor Q2 is connected to the second end of the resistor R, and the drain of the second PMOS transistor Q2 is connected to the input of the audio amplifier 3;
the source electrode of the NMOS tube Q3 is connected with the output end of the digital signal processor 1, and the drain electrode of the NMOS tube Q3 is connected with the input end of the audio amplifier 3;
the grid electrode of the first PMOS transistor Q1, the grid electrode of the second PMOS transistor Q2 and the grid electrode of the NMOS transistor Q3 are all connected to a control end.
In this embodiment, when the gate of the first PMOS transistor Q1, the gate of the second PMOS transistor Q2, and the gate of the NMOS transistor Q3 receive the first control signal, the source and the drain of the first PMOS transistor Q1 are turned on, the source and the drain of the second PMOS transistor Q2 are turned on, and the source and the drain of the NMOS transistor Q3 are turned off;
when the gate of the first PMOS transistor Q1, the gate of the second PMOS transistor Q2, and the gate of the NMOS transistor Q3 receive the second control signal, the source and the drain of the first PMOS transistor Q1 are disconnected, the source and the drain of the second PMOS transistor Q2 are disconnected, and the source and the drain of the NMOS transistor Q3 are connected.
In this embodiment, the processor may determine whether notch filtering is required. If the notch filtering is needed, a low-potential signal (i.e., a first control signal) may be sent by the processor to the gate of the first PMOS transistor Q1, the gate of the second PMOS transistor Q2, and the gate of the NMOS transistor Q3, then the source and the drain of the first PMOS transistor Q1 are turned on, the source and the drain of the second PMOS transistor Q2 are turned on, and the source and the drain of the NMOS transistor Q3 are turned off, so as to enter the filtering mode.
Of course, if the notch filtering is not required, a high-level signal (i.e., a second control signal) may be sent by the processor to the gate of the first PMOS transistor Q1, the gate of the second PMOS transistor Q2, and the gate of the NMOS transistor Q3, and then the source and the drain of the first PMOS transistor Q1 are disconnected, the source and the drain of the second PMOS transistor Q2 are disconnected, and the source and the drain of the NMOS transistor Q3 are connected, thereby entering the normal mode.
Thus, by adjusting the control signal, it is possible to dynamically select whether or not to perform filtering notching. For example, the filtering mode may be turned on in a low power or power saving mode, and the normal mode may be turned on in a high power or non-power saving mode, so that the terminal device is more intelligent.
The grid electrode of the first PMOS tube Q1, the grid electrode of the second PMOS tube Q2 and the grid electrode of the NMOS tube Q3 are all connected to a control end, so that different control can be carried out through one control signal, the complexity of a circuit is reduced, and the probability of circuit errors can be reduced. It should be noted that the control terminal may be a port of the processor, or may be a port of another controller besides the processor. The first control signal and the second control signal may be signals transmitted by the processor, or may be control signals transmitted by a controller other than the processor, and the like, and the present embodiment is not limited thereto.
A terminal device according to an embodiment of the present invention includes: digital signal processor 1, notch filter module 2 and audio amplifier 3, wherein: the input end of the notch filter module 2 is connected with the output end of the digital signal processor 1, the output end of the notch filter module 2 is connected with the input end of the audio amplifier 3, the notch filter module 2 is used for performing notch filter processing on a signal with a specific frequency in an audio signal output by the digital signal processor 1, the specific frequency is a frequency with a power consumption value larger than a preset power consumption value in a frequency power consumption curve of an audio system, wherein the audio system comprises the digital signal processor 1, the audio amplifier 3, an application processor of a terminal device and a loudspeaker of the terminal device. In this way, the notch filter module 2 may perform notch filtering on a signal of a specific frequency in the audio signal output from the digital signal processor 1, thereby reducing power consumption of the terminal device. And, can also adjust the parameter of the trapped wave filter module 2, thus guarantee that audibility and tone quality are not influenced.
Referring to fig. 6, fig. 6 is a flowchart of a signal processing method according to an embodiment of the present invention. As shown in fig. 6, the method comprises the following steps:
In this embodiment, the signal of the specific frequency in the audio signal may be a signal with a relatively poor response of the audio system at the specific frequency. Thus, the signal of the specific frequency in the audio signal output by the digital signal processor is subjected to notch filtering, and the power consumption of the terminal equipment can be reduced.
Optionally, before notch filtering the signal of a specific frequency in the audio signal output by the digital signal processor, the method further includes:
and acquiring the frequency power consumption curve.
In this embodiment, the obtaining of the frequency power consumption curve may be a frequency power consumption curve obtained by performing frequency sweeping on a motherboard of the audio system after the intelligent power amplifier and the speaker are selected, or may be directly reading a stored frequency power consumption curve, and the like.
In this embodiment, after the frequency power consumption curve is obtained, a specific frequency may be determined in the frequency power consumption curve, where the specific frequency is a frequency in the frequency power consumption curve of the audio system, where a power consumption value is greater than a preset power consumption value. Therefore, the notch filtering processing can be carried out on the audio signal with larger power consumption value of the audio system under some frequencies, and the power consumption of the terminal equipment is reduced.
Referring to fig. 7 again, fig. 7 is a schematic diagram illustrating a relationship between frequency and power consumption according to an embodiment of the invention. As shown in fig. 7, the audio system needs to consume higher power consumption when playing audio of 1.0KHz and 2.8KHz, so that notch filtering can be performed on audio signals of 1.0KHz or 2.8KHz, thereby reducing power consumption of the terminal device.
Optionally, the specific frequency is a frequency with a maximum power consumption value in the frequency power consumption curve.
In this embodiment, the specific frequency is a frequency with the largest power consumption value in the frequency power consumption curve, and the notch filtering processing is performed on the signal with the specific frequency, so that the power consumption of the terminal device can be reduced to the greatest extent, and the terminal device can be used for a longer time.
Optionally, the notch filtering processing of the signal with a specific frequency in the audio signal output by the digital signal processor includes:
and under the condition that the terminal equipment is in a power saving mode, performing notch filtering processing on a signal with a specific frequency in the audio signal output by the digital signal processor.
In this embodiment, when the terminal device is in the power saving mode, the notch filtering process is performed on the signal with the specific frequency in the audio signal output by the digital signal processor, so that the terminal device can maintain a longer service time, and a user has better experience.
Optionally, the method further includes:
and under the condition that the terminal equipment is not in the power saving mode, directly transmitting a signal with a specific frequency in the audio signals output by the digital signal processor to an audio amplifier.
In this embodiment, when the terminal device is not in the power saving mode, it can also be understood that the terminal device is in the normal mode, and then the signal with the specific frequency in the audio signal output by the digital signal processor can be directly transmitted to the audio amplifier without performing the notch filtering process.
The signal processing method of the embodiment of the invention performs notch filtering processing on the signal with the specific frequency in the audio signal output by the digital signal processor, wherein the specific frequency is the frequency with the power consumption value larger than the preset power consumption value in the frequency power consumption curve of the audio system, thereby reducing the power consumption of the terminal equipment.
Referring to fig. 8, fig. 8 is a schematic diagram of a hardware structure of a terminal device for implementing various embodiments of the present invention, where the terminal device 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, a processor 810, and a power supply 811. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 8 does not constitute a limitation of the terminal device, and that the terminal device may include more or fewer components than shown, or combine certain components, or a different arrangement of components. In the embodiment of the present invention, the terminal device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 810 is configured to control the notch filtering module to perform notch filtering on a signal with a specific frequency in the audio signal output by the digital signal processor, where the specific frequency is a frequency with a power consumption value greater than a preset power consumption value in a frequency power consumption curve of the audio system, so as to reduce power consumption of the terminal device.
Optionally, the processor 810 is further configured to obtain the frequency power consumption curve.
Optionally, the specific frequency is a frequency with a maximum power consumption value in the frequency power consumption curve.
Optionally, the processor 810 is further configured to control the notch filtering module to perform notch filtering processing on a signal with a specific frequency in the audio signal output by the digital signal processor, when the terminal device is in the power saving mode.
Optionally, the processor 810 is further configured to, when the terminal device is not in the power saving mode, control the control module to directly transmit a signal with a specific frequency in the audio signal output by the digital signal processor to the audio amplifier.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 801 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 810; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 801 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 801 can also communicate with a network and other devices through a wireless communication system.
The terminal device provides wireless broadband internet access to the user through the network module 802, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 803 may convert audio data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into an audio signal and output as sound. Also, the audio output unit 803 may also provide audio output related to a specific function performed by the terminal apparatus 800 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.
The input unit 804 is used for receiving an audio or video signal. The input Unit 804 may include a Graphics Processing Unit (GPU) 8041 and a microphone 8042, and the Graphics processor 8041 processes image data of a still picture or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 806. The image frames processed by the graphics processor 8041 may be stored in the memory 809 (or other storage medium) or transmitted via the radio frequency unit 801 or the network module 802. The microphone 8042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 801 in case of a phone call mode.
The terminal device 800 also includes at least one sensor 805, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 8061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 8061 and/or the backlight when the terminal device 800 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal device posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 805 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 806 is used to display information input by the user or information provided to the user. The Display unit 806 may include a Display panel 8061, and the Display panel 8061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 807 is operable to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device. Specifically, the user input unit 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 8071 (e.g., operations by a user on or near the touch panel 8071 using a finger, a stylus, or any other suitable object or accessory). The touch panel 8071 may include two portions of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 810, receives a command from the processor 810, and executes the command. In addition, the touch panel 8071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 8071, the user input unit 807 can include other input devices 8072. In particular, other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 8071 can be overlaid on the display panel 8061, and when the touch panel 8071 detects a touch operation on or near the touch panel 8071, the touch operation is transmitted to the processor 810 to determine the type of the touch event, and then the processor 810 provides a corresponding visual output on the display panel 8061 according to the type of the touch event. Although in fig. 8, the touch panel 8071 and the display panel 8061 are two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 8071 and the display panel 8061 may be integrated to implement the input and output functions of the terminal device, and this is not limited herein.
The interface unit 808 is an interface for connecting an external device to the terminal apparatus 800. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 808 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal apparatus 800 or may be used to transmit data between the terminal apparatus 800 and an external device.
The memory 809 may be used to store software programs as well as various data. The memory 809 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 809 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 810 is a control center of the terminal device, connects various parts of the whole terminal device by using various interfaces and lines, and performs various functions of the terminal device and processes data by running or executing software programs and/or modules stored in the memory 809 and calling data stored in the memory 809, thereby performing overall monitoring of the terminal device. Processor 810 may include one or more processing units; preferably, the processor 810 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 810.
In addition, the terminal device 800 includes some functional modules that are not shown, and are not described in detail here.
Preferably, an embodiment of the present invention further provides a terminal device, which includes a processor 810, a memory 809, and a computer program stored in the memory 809 and capable of running on the processor 810, where the computer program, when executed by the processor 810, implements each process of the signal processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the signal processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (10)
1. A terminal device, comprising: a digital signal processor, a notch filter module, and an audio amplifier, wherein:
the input end of the notch filtering module is connected with the output end of the digital signal processor, the output end of the notch filtering module is connected with the input end of the audio amplifier, the notch filtering module is used for performing notch filtering processing on a signal with a specific frequency in an audio signal output by the digital signal processor, the specific frequency is a frequency with poor audio system response, and the power consumption of the terminal equipment is large when the audio system plays audio with the specific frequency; selecting a frequency with a power consumption value larger than a preset power consumption value in a frequency power consumption curve of the audio system as the specific frequency, wherein the audio system comprises the digital signal processor, the audio amplifier, an application processor of the terminal equipment and a loudspeaker of the terminal equipment; the notch filtering module comprises a resistor, an inductor and a capacitor;
the first end of the resistor is connected with the output end of the digital signal processor, and the second end of the resistor is connected with the input end of the audio amplifier;
the first end of the inductor is connected with the second end of the resistor, and the second end of the inductor is connected with the first end of the capacitor;
the second end of the capacitor is grounded;
the terminal equipment further comprises a control module, wherein the control module comprises a first switch unit, a second switch unit and a third switch unit;
the first end of resistance with digital signal processor's output is connected, the second end of resistance with audio amplifier's input is connected, includes: the first end of the resistor is connected with the output end of the digital signal processor through the first switch unit, and the second end of the resistor is connected with the input end of the audio amplifier through the second switch unit;
the output end of the digital signal processor is connected with the input end of the audio amplifier through the third switching unit;
the third switching unit is turned off when the first switching unit and the second switching unit are both turned on;
the third switching unit is turned on when both the first and second switching units are turned off.
2. The terminal device according to claim 1, wherein the specific frequency is a frequency with a largest power consumption value in the frequency power consumption curve.
3. The terminal device of claim 1, wherein the first switch unit is a first PMOS transistor, the second switch unit is a second PMOS transistor, and the third switch unit is an NMOS transistor;
the source electrode of the first PMOS tube is connected with the output end of the digital signal processor, and the drain electrode of the first PMOS tube is connected with the first end of the resistor;
the source electrode of the second PMOS tube is connected with the second end of the resistor, and the drain electrode of the second PMOS tube is connected with the input end of the audio amplifier;
the source electrode of the NMOS tube is connected with the output end of the digital signal processor, and the drain electrode of the NMOS tube is connected with the input end of the audio amplifier;
the grid electrode of the first PMOS tube, the grid electrode of the second PMOS tube and the grid electrode of the NMOS tube are all connected to a control end.
4. A signal processing method applied to the terminal device according to any one of claims 1 to 3, the method comprising:
performing notch filtering processing on a signal with a specific frequency in an audio signal output by a digital signal processor, wherein the specific frequency is a frequency with poor response of an audio system, and the power consumption of the terminal equipment is high when the audio system plays audio with the specific frequency; and selecting the frequency with the power consumption value larger than a preset power consumption value in the frequency power consumption curve of the audio system as the specific frequency.
5. The method of claim 4, wherein prior to said notch filtering signals of particular frequencies in the audio signal output by the digital signal processor, the method further comprises:
and acquiring the frequency power consumption curve.
6. The method of claim 5, wherein the specific frequency is a frequency with a maximum power consumption value in the frequency power consumption curve.
7. The method of claim 5, wherein said notch filtering the signal of a specific frequency in the audio signal output from the digital signal processor comprises:
and under the condition that the terminal equipment is in a power saving mode, performing notch filtering processing on a signal with a specific frequency in the audio signal output by the digital signal processor.
8. The method of claim 7, further comprising:
and under the condition that the terminal equipment is not in the power saving mode, directly transmitting a signal with a specific frequency in the audio signals output by the digital signal processor to an audio amplifier.
9. A terminal device, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, implements the steps of the signal processing method according to any one of claims 4 to 8.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the signal processing method according to any one of claims 4 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811653130.XA CN109413728B (en) | 2018-12-29 | 2018-12-29 | Terminal equipment and signal processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811653130.XA CN109413728B (en) | 2018-12-29 | 2018-12-29 | Terminal equipment and signal processing method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109413728A CN109413728A (en) | 2019-03-01 |
CN109413728B true CN109413728B (en) | 2022-01-04 |
Family
ID=65461760
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811653130.XA Active CN109413728B (en) | 2018-12-29 | 2018-12-29 | Terminal equipment and signal processing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109413728B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112969127B (en) * | 2021-02-19 | 2022-11-18 | 联想(北京)有限公司 | Electronic equipment and audio output method |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7912228B2 (en) * | 2003-07-18 | 2011-03-22 | Volkswagen Ag | Device and method for operating voice-supported systems in motor vehicles |
JP5278219B2 (en) * | 2009-07-17 | 2013-09-04 | ヤマハ株式会社 | Howling canceller |
US9386371B2 (en) * | 2012-06-08 | 2016-07-05 | Apple Inc. | Psychoacoustic adaptive notch filtering |
CN105992097B (en) * | 2015-01-29 | 2020-05-26 | 联想(北京)有限公司 | Audio processing method and audio processing device |
CN106797234B (en) * | 2016-09-09 | 2020-04-24 | 香港应用科技研究院有限公司 | Noise filtering system, PLC receiver and method for filtering power line noise |
CN108449499B (en) * | 2018-03-12 | 2020-06-26 | Oppo广东移动通信有限公司 | Voice call data processing method and device, storage medium and mobile terminal |
-
2018
- 2018-12-29 CN CN201811653130.XA patent/CN109413728B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN109413728A (en) | 2019-03-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109768810B (en) | Signal processing circuit, terminal equipment and signal processing method | |
CN111385714B (en) | Method for determining voice coil temperature of loudspeaker, electronic device and storage medium | |
CN107562406B (en) | Volume adjusting method, mobile terminal and computer readable storage medium | |
CN109905812B (en) | Input power control method and device and terminal equipment | |
CN110855313B (en) | Signal control method and electronic equipment | |
CN111324235A (en) | Screen refreshing frequency adjusting method and electronic equipment | |
CN110045807B (en) | Voltage control method and terminal | |
CN108196815B (en) | Method for adjusting call sound and mobile terminal | |
CN110266323B (en) | Signal control circuit, terminal equipment and signal control method | |
CN110830861B (en) | Telephone receiver control method and device and electronic equipment | |
CN109788402B (en) | Audio signal processing method and audio signal processing device | |
CN111225315B (en) | Audio playing device, audio playing method and electronic equipment | |
CN107786751A (en) | A kind of method for broadcasting multimedia file and mobile terminal | |
CN111093137B (en) | Volume control method, volume control equipment and computer readable storage medium | |
CN111124346B (en) | Electronic equipment and volume adjusting method thereof | |
CN111614329A (en) | Power amplifier, electronic equipment, voltage control method and device | |
CN108879856B (en) | Charging method and terminal | |
CN109921959A (en) | A kind of parameter regulation means and communication equipment | |
CN111261128B (en) | Screen brightness adjusting method and electronic equipment | |
CN109413728B (en) | Terminal equipment and signal processing method | |
CN110677770B (en) | Sound production control method, electronic device, and medium | |
CN109348366B (en) | Method for adjusting volume by using electrical parameters and mobile terminal | |
CN109067429B (en) | Control method and terminal equipment | |
CN109270352B (en) | Amplitude adjusting method and sound generating device | |
CN108900942B (en) | Play control method and electronic equipment |
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 |