CN109547894B - Amplitude adjustment method and device for electroacoustic device and mobile terminal - Google Patents

Amplitude adjustment method and device for electroacoustic device and mobile terminal Download PDF

Info

Publication number
CN109547894B
CN109547894B CN201811246876.9A CN201811246876A CN109547894B CN 109547894 B CN109547894 B CN 109547894B CN 201811246876 A CN201811246876 A CN 201811246876A CN 109547894 B CN109547894 B CN 109547894B
Authority
CN
China
Prior art keywords
electroacoustic device
air pressure
pressure value
amplitude
input signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811246876.9A
Other languages
Chinese (zh)
Other versions
CN109547894A (en
Inventor
刘勰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201811246876.9A priority Critical patent/CN109547894B/en
Publication of CN109547894A publication Critical patent/CN109547894A/en
Application granted granted Critical
Publication of CN109547894B publication Critical patent/CN109547894B/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Circuit For Audible Band Transducer (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application discloses an amplitude adjusting method and device for an electroacoustic device and a mobile terminal, and solves the problem that the amplitude of the electroacoustic device exceeds the limit due to air pressure. The method comprises the following steps: acquiring the air pressure value of the environment where the electroacoustic device is located; based on the air pressure value, the intensity or cut-off frequency of the input signal corresponding to the electroacoustic device is adjusted, so that the working amplitude of the electroacoustic device is not larger than the limit amplitude, the amplitude of the electroacoustic device is prevented from exceeding, and the problem that the amplitude of the electroacoustic device exceeds the limit due to air pressure is solved.

Description

Amplitude adjustment method and device for electroacoustic device and mobile terminal
Technical Field
The invention relates to the field of terminals, in particular to an amplitude adjustment method and device for an electroacoustic device and a mobile terminal.
Background
With the popularization of mobile terminals, the use regions and environments of the mobile terminals are more and more extensive, and different regions or different environments have obvious air pressure differences, for example, the air pressure in plateau regions is obviously lower than that in coastal regions, and sometimes the air pressure difference can reach 0.6 standard atmospheric pressure.
At present, electroacoustic devices, such as a moving coil receiver and a moving coil speaker, are generally installed in a mobile terminal. In order to ensure the normal operation of the electroacoustic device, the electroacoustic device generally has certain amplitude limitation, and the amplitude is not allowed to exceed the limit when the electroacoustic device operates.
However, when entering a low-pressure environment, the amplitude of the electroacoustic device can be increased significantly or even exceeded, and the amplitude exceeding easily generates noise or even damages the electroacoustic device. Therefore, it is necessary to provide a method capable of protecting the electroacoustic device under different air pressures for such a case.
Disclosure of Invention
The embodiment of the application provides an amplitude adjusting method and device for an electroacoustic device and a mobile terminal, and solves the problem that the amplitude of the electroacoustic device exceeds the limit due to air pressure.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, there is provided an amplitude adjustment method for an electroacoustic device, including: acquiring the air pressure value of the environment where the electroacoustic device is located; based on the air pressure value, adjusting the intensity or cut-off frequency of an input signal corresponding to the electroacoustic device so that the working amplitude of the electroacoustic device is not greater than a limit amplitude.
In a second aspect, there is provided an amplitude adjustment apparatus for an electroacoustic device, comprising: the air pressure value acquisition module is used for acquiring the air pressure value of the environment where the electroacoustic device is located; and the amplitude adjusting module is used for adjusting the intensity or cut-off frequency of the input signal corresponding to the electroacoustic device based on the air pressure value so that the working amplitude of the electroacoustic device is not greater than the limit amplitude.
In a third aspect, a mobile terminal is provided, comprising a processor, a memory and a computer program stored on the memory and being executable on the processor, the computer program, when executed by the processor, implementing the steps of the method according to the first aspect.
In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, realizes the steps of the method according to the first aspect.
In the embodiment of the application, the air pressure value of the environment where the electroacoustic device is located is obtained, and based on the obtained air pressure value, the input signal intensity or the cut-off frequency corresponding to the electroacoustic device is adjusted, so that the working amplitude of the electroacoustic device is not greater than the limit amplitude, the amplitude overrun of the electroacoustic device can be avoided, and the problem of the amplitude overrun of the electroacoustic device caused by the air pressure is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
fig. 1 is a schematic flow chart of an amplitude adjustment method for an electroacoustic device according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a loudspeaker to which the amplitude adjustment method of the electroacoustic device provided by the embodiment of the present invention is applied;
FIG. 3 is a schematic diagram of a hardware structure for implementing an amplitude adjustment method for an electroacoustic device according to an embodiment of the present invention;
FIG. 4 is another diagram of the hardware structure for implementing the amplitude adjustment method of the electroacoustic device according to the embodiment of the present invention;
fig. 5 is still another schematic diagram of a hardware structure for implementing the amplitude adjustment method of the electroacoustic device according to the embodiment of the present invention;
fig. 6 is a next schematic diagram of a hardware configuration for implementing the amplitude adjustment method of the electroacoustic device according to the embodiment of the present invention;
fig. 7 is a schematic structural diagram of an amplitude adjustment apparatus for an electroacoustic device according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but 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.
As shown in fig. 1, an embodiment of the present invention provides an amplitude adjustment method for an electroacoustic device, including the following steps:
s102: and acquiring the air pressure value of the environment where the electroacoustic device is located.
The electroacoustic device mentioned in the embodiments of the present specification may specifically be a moving-coil electroacoustic device, and includes not only a receiver (also referred to as a handset) for converting an audio electrical signal into an acoustic signal, but also a speaker (also referred to as a loudspeaker) for emitting sound.
Specific locations for the environment where the electroacoustic device is located, such as plateau, mountain with altitude, beach, etc.; other environments are also possible, such as, for example, a low temperature and low pressure laboratory environment, an enclosed cabin environment, and so forth.
The pressure value of the environment in which the electroacoustic device is located may be an atmospheric pressure value of the environment in which the electroacoustic device is located, and may be in units of Pa, such as 101.325kPa, 90kPa, and the like; it may also be in standard atmospheric units, e.g., 0.6 standard atmospheric pressure, 0.8 standard atmospheric pressure, 1 standard atmospheric pressure, and so forth.
When the air pressure value of the environment where the electroacoustic device is located is obtained in step S102, there may be various embodiments as follows:
the air pressure value of the environment where the electroacoustic device is located can be obtained based on the output value of the preset barometer, for example, the electroacoustic device is located in the mobile terminal, the barometer is installed on the mobile terminal, that is, the barometer and the electroacoustic device are located in the same environment, and the air pressure value of the environment where the electroacoustic device is located is obtained through the air pressure value output by the barometer.
The air pressure value of the environment where the electroacoustic device is located can be obtained from a preset port based on the geographic position information of the electroacoustic device, for example, the electroacoustic device is located in the mobile terminal, a positioning device is installed on the mobile terminal and can obtain the geographic position information of the mobile terminal in real time, and then the air pressure value of the environment where the electroacoustic device is located is obtained from a port provided by the network weather station based on the geographic position information of the mobile terminal.
The air pressure value input by the user can be used as the air pressure value of the environment where the electroacoustic device is located.
Certainly, in order to improve the accuracy of the obtained air pressure value, the embodiment may further obtain the air pressure value of the environment where the electroacoustic device is located by combining a plurality of obtaining modes, and then average the obtained plurality of air pressure values to be used as the air pressure value of the environment where the electroacoustic device is located, so that the accuracy of the obtained air pressure value is improved; in addition, the embodiment provides multiple implementation modes for acquiring the air pressure value, and the implementation is simple and easy.
S104: and adjusting the intensity or cut-off frequency of an input signal corresponding to the electroacoustic device based on the air pressure value, so that the working amplitude of the electroacoustic device is not greater than the limit amplitude.
Step S104 may specifically determine the input signal strength matching the acquired air pressure value; the amplitude of the electroacoustic device is then adjusted based on the input signal strength to be no greater than a limit amplitude.
In this embodiment, a plurality of input signal intensities with which a plurality of barometric pressure values are respectively matched are stored in advance, and the plurality of barometric pressure values and the plurality of matched input signal intensities are positively correlated, that is, the greater the barometric pressure value is, the greater the input signal intensity is; conversely, the smaller the air pressure value, the smaller the input signal strength.
In the embodiment, the input signal intensity is controlled by the input resistor of the electroacoustic device, the working amplitude of the electroacoustic device can be adjusted by adjusting the resistance value of the input resistor without exceeding the limit, the electroacoustic device is realized by pure hardware, the electroacoustic device is simple and reliable, and the tone quality of the electroacoustic device cannot be influenced.
Optionally, the step S104 may specifically determine a cut-off frequency matched with the air pressure value; adjusting the amplitude of the electroacoustic device to be no greater than a limit amplitude based on the cutoff frequency.
In this embodiment, the cut-off frequency may be controlled by a filter capacitor of the electroacoustic device; meanwhile, a plurality of cut-off frequencies respectively matched with a plurality of air pressure values are stored in advance, and the plurality of air pressure values and the matched cut-off frequencies are inversely related.
The implementation mode can adjust the working amplitude of the electroacoustic device not to exceed the limit by adjusting the capacitive reactance of the filter capacitor, is realized by pure hardware, is simple and reliable, and cannot influence the tone quality of the electroacoustic device.
The embodiment of the present application shows two specific implementations of the foregoing step S104. Of course, it should be understood that step S104 may also be implemented in other ways, and this is not limited by this embodiment of the application.
In the embodiment of the application, the air pressure value of the environment where the electroacoustic device is located is obtained, and the input signal intensity or the cut-off frequency corresponding to the electroacoustic device is adjusted based on the obtained air pressure value, so that the working amplitude of the electroacoustic device is not greater than the limit amplitude, the amplitude of the electroacoustic device is prevented from exceeding, and the problem that the amplitude of the electroacoustic device exceeds due to air pressure is solved.
Optionally, in the above embodiment, the air pressure value of the environment where the electroacoustic device is located may be obtained before the electroacoustic device operates, and the working amplitude of the electroacoustic device is adjusted not to be greater than the limit amplitude based on the air pressure value, so that the electroacoustic device can be protected in advance.
Optionally, in the above embodiment, when the electroacoustic device operates, the air pressure value of the environment where the electroacoustic device is located may be obtained in real time, and the operating amplitude of the electroacoustic device is adjusted to be not greater than the limit amplitude based on the air pressure value, so that more accurate real-time protection of the electroacoustic device is achieved.
In order to describe the amplitude adjustment method of the electroacoustic device provided in the embodiments of the present application in detail, two specific embodiments will be described below.
The following description will be given taking an electroacoustic device as a speaker, and it is understood that the following embodiments are also applicable to other electroacoustic devices such as a receiver.
Fig. 2 is a loudspeaker provided in an embodiment of the present application, as shown in fig. 2, mainly including:
the support 201, which is mainly used for fixing the magnet 202 and the diaphragm 204, is the main structural support function of the whole speaker unit.
The magnet 202, which may be a permanent magnet, is fixed to the lower bracket 201 and mainly functions to generate a stable magnetic field environment.
The coil 203, which may be formed by winding a thin copper wire, is fixed under the diaphragm 204 and wraps the magnet 202. When the coil 203 is energized, it generates magnetism, and generates magnetic force with the magnet 202 to push the coil 202 to drive the diaphragm 204 to move. The coil 203 is connected to an external circuit (not shown) through a spring plate below the holder 201, and an input signal is transmitted to the coil 203 through the external circuit.
And the diaphragm 204 is fixed on the bracket 201, the lower part of the diaphragm is connected with the coil 203, and the diaphragm 204 pushes air to generate sound when moving.
When the loudspeaker shown in fig. 2 works, an input signal is accessed from the outside, and passes through the coil 203 of the loudspeaker, at this time, under the interaction between the magnetic field generated by the coil 203 and the permanent magnet 202, the coil 203 generates displacement and pushes the diaphragm 204, and the diaphragm 204 pushes the air to generate sound with a specific frequency, i.e., generate sound.
Extreme cases of speaker operation: there is a maximum limit, i.e., an upper limit, of the displacement of the loudspeaker diaphragm 204. When the amplitude upper limit (namely, the limit amplitude) is not exceeded, the loudspeaker works normally, and when the amplitude upper limit is exceeded, the loudspeaker diaphragm 204 is excessively deformed, so that permanent damage or complete failure is caused; on the other hand, excessive stretching of the diaphragm 204 may cause peeling of the coil 203 or disconnection to cause damage to the speaker.
Based on the speaker shown in fig. 2, the problem of amplitude overrun when the speaker is in a low-pressure environment can be solved by intelligently reducing the strength of the input signal input to the speaker, which will be described in detail below.
This embodiment may be implemented by modeling the loudspeaker system before it is possible to identify the corresponding input signal strength at which the loudspeaker reaches a limit amplitude for different air pressure values.
Alternatively, as shown in fig. 3, when the power amplifier PA (power amplifier for short) of the speaker uses analog input, the input signal may be attenuated by connecting resistors in series in the input path, that is, the larger the resistance value of the series connection is, the smaller the input signal strength is. Therefore, the requirement for the strength of the input signal under different air pressure values can be converted into the requirement for the impedance value of the input resistor.
In one embodiment, the air pressure values, the input signal strengths, and the associated resistance values are shown in table 1, where in table 1, a plurality of air pressure values are positively correlated with a plurality of matched input signal strengths; the plurality of input signal strengths are inversely related to the matched input resistance.
TABLE 1
Air pressure value Input signal strength Resistance value of series connection
1 standard atmospheric pressure 500mV 0R
0.8 standard atmosphere 400mV 30R
0.7 standard atmosphere 300mV 60R
0.6 standard atmosphere 200mV 90R
Through the above operation, the embodiment can obtain the air pressure value of the environment where the electroacoustic device is located before the loudspeaker works or when the loudspeaker works, and match the air pressure value with the air pressure value in table 1, and the working amplitude of the loudspeaker is not greater than the limit amplitude by selecting the corresponding resistance value.
As shown in fig. 3, in the embodiment of the present application, the following architecture shown in fig. 3 may be adopted for the power amplifier PA using an analog input. The change of the resistance value of the input path can be realized by matching a plurality of analog switches with different resistors. When the input impedance becomes high, the intensity of the input signal received by the input port of the power amplifier PA is relatively reduced, and under the condition that the amplification factor of the power amplifier PA is not changed, the intensity of the input signal to the loudspeaker is reduced, so that the purposes of reducing the output volume and reducing the working amplitude of the loudspeaker are achieved.
Optionally, as for the power amplifier PA with digital signal input, as shown in fig. 4, a plurality of resistors may be integrated inside the power amplifier PA, and different resistance values are selected by the control mode of the integrated circuit bus IIC or the general input/output port GPIO, so as to achieve the effect of reducing the hardware size.
The workflow of this embodiment will be described below with reference to table 1: acquiring an air pressure value of the environment where the loudspeaker is located before the loudspeaker works or when the loudspeaker works;
if the air pressure value is greater than or equal to the standard atmospheric pressure, the analog switch controls the access of the 0R resistor;
if the pressure value is less than the standard atmospheric pressure and greater than or equal to 0.8 standard atmospheric pressure, the analog switch controls the access of the 30R resistor;
if the pressure value is less than 0.8 standard atmospheric pressure and greater than or equal to 0.7 standard atmospheric pressure, the analog switch controls the 60R resistor to be switched in;
if the pressure value is less than 0.7 standard atmospheric pressure and greater than or equal to 0.6 standard atmospheric pressure, the analog switch controls the 90R resistor to be connected;
and if the pressure value is less than 0.6 standard atmospheric pressure, controlling the loudspeaker to stop playing so as to protect the loudspeaker.
The embodiment of the application is realized in a pure hardware mode, and the realization is simple and reliable; the input signal intensity is reduced by serially connecting resistors, and the external sound quality of the loudspeaker cannot be influenced.
Optionally, the embodiment of the application can also be applied to a receiver.
Under the condition of not influencing the reliability of software and the whole machine, the amplitude adjustment of the loudspeaker under the condition of low air pressure is realized through the cooperation of a hardware circuit; the air pressure sensor can be automatically adapted according to different air pressures, and manual configuration of a consumer is not needed; enabling consumers to use speakers and receivers normally in high altitude areas (low pressure) without fear of risk of damage.
Based on the speaker shown in fig. 2, the problem of amplitude overrun when the speaker is in a low-pressure environment can be solved by intelligently adjusting the filter parameters of the input electrical signal, which will be described in detail below.
This embodiment may be implemented by modeling the speaker system before it is possible to identify the corresponding cut-off frequency at which the speaker reaches a limit amplitude for different air pressure values.
Considering that the large-intensity part of the speaker is mainly concentrated in the low-frequency region and the middle-high frequency region has a small amplitude, if the low-frequency part can be processed separately, the adjustment of the speaker operation amplitude can be realized.
This embodiment may be implemented by modeling the speaker system before it is possible to identify the corresponding cut-off frequency at which the speaker reaches a limit amplitude for different air pressure values.
In one embodiment, the air pressure values, cut-off frequencies, and associated capacitance values are set forth in table 2, wherein a plurality of air pressure values are inversely related to a matching plurality of cut-off frequencies; the plurality of cutoff frequencies are inversely related to the matching capacitance values.
TABLE 2
Air pressure value Cut-off frequency Parallel capacitance values
1 standard atmospheric pressure 250Hz 2uF
0.8 standard atmosphere 500Hz 1uF
0.7 standard atmosphere 700Hz 0.71uF
0.6 standard atmosphere 900Hz 0.56uF
As shown in fig. 5, in the embodiment of the present application, the following architecture shown in fig. 5 may be adopted for the power amplifier PA using the analog input. The signal attenuation is carried out by adjusting the input filter capacitor mode, namely the requirement on the input intensity of the low-frequency electric signal under different air pressures can be converted into the capacitance value of the parallel capacitor. The capacitor has 2 functions, one function is used for isolating direct current signals, and the other function is used as a high-pass filter, namely, the capacitor attenuates low-frequency signals; the formula is calculated according to the following cut-off frequency:
Figure BDA0001840736710000081
when the capacitance value C isInput deviceWhen changed, the value of F is changed, i.e. by adjusting CInput deviceAt RInput deviceF may be changed without change.
When F is larger, the lower frequency is more attenuated, and the larger amplitude of the loudspeaker obtained from the amplitude law of the loudspeaker is generally the lower frequency part, so that the lower frequency can be suppressed by increasing F, and the working amplitude of the loudspeaker can be reduced.
Through the operation, the embodiment can obtain the air pressure value of the environment where the electroacoustic device is located before the loudspeaker works or when the loudspeaker works, and when the air pressure value is identified to be changed, the working amplitude of the loudspeaker is not larger than the limit amplitude by changing the value (capacitive reactance) of the capacitor.
Optionally, as shown in fig. 6, for a power amplifier PA with digital signal input, a capacitor may be integrated into the power amplifier PA, and different capacitance values may be selected by an adjustment manner of an integrated circuit bus IIC or a general purpose input/output port GPIO.
The embodiment of the application is realized in a pure hardware mode, and the realization is simple and reliable; the cut-off frequency is increased in a parallel capacitor mode, and the external sound quality of the loudspeaker cannot be influenced; as shown in fig. 6, a plurality of capacitors may be integrated inside the power amplifier PA, so as to reduce the hardware size. Optionally, the embodiment of the application can also be applied to a receiver.
Under the condition of not influencing the reliability of software and the whole machine, the working amplitude of the loudspeaker under the condition of low air pressure is adjusted through the cooperation of the sensor and the hardware circuit; the air pressure sensor can be automatically adapted according to different air pressures, and manual configuration of a consumer is not needed; enabling consumers to use speakers and receivers normally in high altitude areas (low pressure) without fear of risk of damage.
The workflow of this embodiment will be described below with reference to table 2: acquiring an air pressure value of the environment where the loudspeaker is located before the loudspeaker works or when the loudspeaker works;
if the air pressure value is greater than or equal to the standard atmospheric pressure, the analog switch controls the 2uF capacitor to be connected;
if the pressure value is less than the standard atmospheric pressure and greater than or equal to 0.8 standard atmospheric pressure, the analog switch controls the access of the 1uF capacitor;
if the pressure value is less than 0.8 standard atmospheric pressure and greater than or equal to 0.7 standard atmospheric pressure, the analog switch controls the access of the 0.71uF capacitor;
if the pressure value is less than 0.7 standard atmospheric pressure and greater than or equal to 0.6 standard atmospheric pressure, the analog switch controls the access of the 0.56uF capacitor;
and if the pressure value is less than 0.6 standard atmospheric pressure, controlling the loudspeaker to stop playing so as to protect the loudspeaker.
The amplitude adjustment method of the electroacoustic device according to the embodiment of the present application is described in detail above with reference to fig. 1 to 6. The electroacoustic device amplitude adjusting apparatus 700 according to the embodiment of the present application will be described in detail with reference to fig. 7, and fig. 7 is a schematic structural view of the electroacoustic device amplitude adjusting apparatus 700 according to the embodiment of the present application. As shown in fig. 7, the amplitude adjustment apparatus 700 for an electroacoustic device includes:
an air pressure value obtaining module 702, configured to obtain an air pressure value of an environment where the electroacoustic device is located;
an amplitude adjustment module 704 may be configured to adjust an input signal strength or a cutoff frequency corresponding to the electroacoustic device based on the barometric pressure value such that an operating amplitude of the electroacoustic device is not greater than a limit amplitude.
In the embodiment of the application, the air pressure value of the environment where the electroacoustic device is located is obtained, and the input signal intensity or the cut-off frequency corresponding to the electroacoustic device is adjusted based on the obtained air pressure value, so that the working amplitude of the electroacoustic device is not greater than the limit amplitude, the amplitude overrun of the electroacoustic device can be avoided, and the problem of the amplitude overrun of the electroacoustic device caused by the air pressure is solved.
Optionally, as an embodiment, the amplitude adjustment module 704 may be configured to determine an input signal strength matching the air pressure value, where the input signal strength is controlled by an input resistance of the electroacoustic device;
the operating amplitude of the electroacoustic device is not greater than a limit amplitude based on the input signal strength.
Optionally, as an embodiment, the amplitude adjustment module 704 may be configured to determine a cut-off frequency matched to the air pressure value, where the cut-off frequency is controlled by a filter capacitance of the electroacoustic device;
the operating amplitude of the electroacoustic device is not greater than a limit amplitude based on the cutoff frequency.
Optionally, as an embodiment, the air pressure value obtaining module 702 may be configured to obtain an air pressure value of an environment where the electroacoustic device is located before the electroacoustic device operates; or
And acquiring the air pressure value of the environment where the electroacoustic device is located when the electroacoustic device works.
Optionally, as an embodiment, the air pressure value obtaining module 702 may be configured to perform at least one of the following:
acquiring an air pressure value of the environment where the electroacoustic device is located based on an output value of a preset barometer; and
and acquiring the air pressure value of the environment where the electroacoustic device is located based on the geographical position information of the electroacoustic device.
The electroacoustic device amplitude adjusting apparatus 700 according to the embodiment of the present application may refer to the flow of the electroacoustic device amplitude adjusting method corresponding to the foregoing of the embodiment of the present application, and each unit/module and the other operations and/or functions in the electroacoustic device amplitude adjusting apparatus 700 are not described herein again for brevity in order to implement the corresponding flow of the electroacoustic device amplitude adjusting method.
Fig. 8 is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, where the mobile terminal 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 mobile terminal architecture illustrated in fig. 8 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components. In the embodiment of the present application, the mobile terminal 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 obtain an air pressure value of an environment where the electroacoustic device is located, and adjust an input signal intensity or a cutoff frequency corresponding to the electroacoustic device based on the air pressure value, so that a working amplitude of the electroacoustic device is not greater than a limit amplitude.
Through the atmospheric pressure value that acquires the environment that the electroacoustic device is located to based on the atmospheric pressure value that acquires, the input signal intensity or the cut-off frequency that adjust and the electroacoustic device corresponds makes the working amplitude of electroacoustic device be not more than the limit amplitude, can avoid the electroacoustic device amplitude transfinite, solves the problem that the electroacoustic device amplitude transfinites because of atmospheric pressure causes.
It should be understood that, in the embodiment of the present application, 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 mobile terminal provides the user with wireless broadband internet access 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 mobile terminal 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 mobile terminal 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 mobile terminal 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 posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); 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 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. 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 mobile terminal, in some embodiments, the touch panel 8071 and the display panel 8061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 808 is an interface through which an external device is connected to the mobile terminal 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 external devices and transmit the received input to one or more elements within the mobile terminal 800 or may be used to transmit data between the mobile terminal 800 and external devices.
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 mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal 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 integrally monitoring the mobile terminal. 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.
The mobile terminal 800 may also include a power supply 811 (e.g., a battery) for powering the various components, and the power supply 811 may be logically coupled to the processor 810 via a power management system that may be used to manage charging, discharging, and power consumption.
In addition, the mobile terminal 800 includes some functional modules that are not shown, and thus, are not described in detail herein.
Preferably, an embodiment of the present application further provides a mobile terminal, 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 above-mentioned electroacoustic device amplitude control method embodiment, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
The embodiment of the present application 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 processes of the above-mentioned electroacoustic device amplitude control method embodiment, and can achieve the same technical effects, 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 (8)

1. An amplitude adjustment method for an electroacoustic device, comprising:
acquiring the air pressure value of the environment where the electroacoustic device is located;
adjusting the intensity or cut-off frequency of an input signal corresponding to the electroacoustic device based on the air pressure value so that the working amplitude of the electroacoustic device is not greater than a limit amplitude;
the adjusting, based on the air pressure value, an input signal strength corresponding to the electroacoustic device such that an operating amplitude of the electroacoustic device is not greater than a limit amplitude comprises:
determining an input signal strength that matches the air pressure value, wherein the input signal strength is controlled by an input resistance of the electroacoustic device, wherein the air pressure value is positively correlated with the input signal strength, and wherein the input signal strength is negatively correlated with the input resistance; causing an operating amplitude of the electroacoustic device to be no greater than a limit amplitude based on the input signal strength;
adjusting a cutoff frequency corresponding to the electroacoustic device based on the air pressure value such that an operating amplitude of the electroacoustic device is not greater than a limit amplitude, comprising:
determining a cutoff frequency that matches the air pressure value, wherein the cutoff frequency is controlled by a filter capacitance of the electroacoustic device, wherein the air pressure value is inversely related to the cutoff frequency, and wherein the cutoff frequency is inversely related to a capacitance value of the filter capacitance; the operating amplitude of the electroacoustic device is not greater than a limit amplitude based on the cutoff frequency.
2. The method of claim 1, wherein said obtaining an air pressure value of an environment in which the electroacoustic device is located comprises:
acquiring the air pressure value of the environment where the electroacoustic device is located before the electroacoustic device works; or
And acquiring the air pressure value of the environment where the electroacoustic device is located when the electroacoustic device works.
3. The method of any of claims 1 to 2, wherein said obtaining a barometric pressure value of an environment in which the electroacoustic device is located comprises at least one of:
acquiring an air pressure value of the environment where the electroacoustic device is located based on an output value of a preset barometer; and
and acquiring the air pressure value of the environment where the electroacoustic device is located based on the geographical position information of the electroacoustic device.
4. An amplitude adjustment apparatus for an electroacoustic device, comprising:
the air pressure value acquisition module is used for acquiring the air pressure value of the environment where the electroacoustic device is located;
the amplitude adjusting module is used for adjusting the intensity or cut-off frequency of an input signal corresponding to the electroacoustic device based on the air pressure value so that the working amplitude of the electroacoustic device is not greater than a limit amplitude;
the amplitude adjustment module is configured to determine an input signal strength matched to the air pressure value, where the input signal strength is controlled by an input resistance of the electroacoustic device, the air pressure value is positively correlated to the input signal strength, and the input signal strength is negatively correlated to the input resistance; causing an operating amplitude of the electroacoustic device to be no greater than a limit amplitude based on the input signal strength;
the amplitude adjustment module is configured to determine a cut-off frequency matched to the air pressure value, where the cut-off frequency is controlled by a filter capacitor of the electroacoustic device, the air pressure value is inversely related to the cut-off frequency, and the cut-off frequency is inversely related to a capacitance value of the filter capacitor; the operating amplitude of the electroacoustic device is not greater than a limit amplitude based on the cutoff frequency.
5. The apparatus of claim 4,
the air pressure value acquisition module is used for acquiring the air pressure value of the environment where the electroacoustic device is located before the electroacoustic device works; or
And acquiring the air pressure value of the environment where the electroacoustic device is located when the electroacoustic device works.
6. The device according to any of the claims 4 to 5,
the air pressure value obtaining module is used for executing at least one of the following steps:
acquiring an air pressure value of the environment where the electroacoustic device is located based on an output value of a preset barometer; and
and acquiring the air pressure value of the environment where the electroacoustic device is located based on the geographical position information of the electroacoustic device.
7. A mobile terminal, comprising: memory, processor and computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the method according to any one of claims 1 to 3.
8. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 3.
CN201811246876.9A 2018-10-24 2018-10-24 Amplitude adjustment method and device for electroacoustic device and mobile terminal Active CN109547894B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811246876.9A CN109547894B (en) 2018-10-24 2018-10-24 Amplitude adjustment method and device for electroacoustic device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811246876.9A CN109547894B (en) 2018-10-24 2018-10-24 Amplitude adjustment method and device for electroacoustic device and mobile terminal

Publications (2)

Publication Number Publication Date
CN109547894A CN109547894A (en) 2019-03-29
CN109547894B true CN109547894B (en) 2021-06-29

Family

ID=65844808

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811246876.9A Active CN109547894B (en) 2018-10-24 2018-10-24 Amplitude adjustment method and device for electroacoustic device and mobile terminal

Country Status (1)

Country Link
CN (1) CN109547894B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110662153B (en) * 2019-10-31 2021-06-01 Oppo广东移动通信有限公司 Loudspeaker adjusting method and device, storage medium and electronic equipment
CN112235700B (en) * 2020-10-30 2022-05-17 Oppo广东移动通信有限公司 Amplitude adjustment method for electroacoustic device, terminal device and readable storage medium
CN112616108B (en) * 2020-12-14 2023-12-22 Oppo广东移动通信有限公司 Audio output method, device, system, storage medium and electronic equipment
CN113132850B (en) * 2021-04-28 2023-05-26 Oppo广东移动通信有限公司 Speaker parameter configuration method and related device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5974153A (en) * 1997-05-19 1999-10-26 Qsound Labs, Inc. Method and system for sound expansion
EP1463277A2 (en) * 2003-03-29 2004-09-29 Lg Electronics Inc. System and method for improving sound quality of a multifunction device MFD in a mobile communication terminal
CN101674513A (en) * 2009-09-21 2010-03-17 青岛海信移动通信技术股份有限公司 Consumer electronic product
CN107211207A (en) * 2015-12-08 2017-09-26 华为技术有限公司 The method of user equipment and the loudspeaker in driving user equipment
CN107948822A (en) * 2017-12-23 2018-04-20 广州市尊浪电器有限公司 A kind of intelligent-induction sound equipment
CN108040316A (en) * 2017-11-24 2018-05-15 维沃移动通信有限公司 A kind of amplitude detection method and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5974153A (en) * 1997-05-19 1999-10-26 Qsound Labs, Inc. Method and system for sound expansion
EP1463277A2 (en) * 2003-03-29 2004-09-29 Lg Electronics Inc. System and method for improving sound quality of a multifunction device MFD in a mobile communication terminal
CN101674513A (en) * 2009-09-21 2010-03-17 青岛海信移动通信技术股份有限公司 Consumer electronic product
CN107211207A (en) * 2015-12-08 2017-09-26 华为技术有限公司 The method of user equipment and the loudspeaker in driving user equipment
CN108040316A (en) * 2017-11-24 2018-05-15 维沃移动通信有限公司 A kind of amplitude detection method and mobile terminal
CN107948822A (en) * 2017-12-23 2018-04-20 广州市尊浪电器有限公司 A kind of intelligent-induction sound equipment

Also Published As

Publication number Publication date
CN109547894A (en) 2019-03-29

Similar Documents

Publication Publication Date Title
CN109547894B (en) Amplitude adjustment method and device for electroacoustic device and mobile terminal
CN109168108B (en) Amplitude adjusting method and device for electroacoustic device and mobile terminal
CN107562406B (en) Volume adjusting method, mobile terminal and computer readable storage medium
CN109905812B (en) Input power control method and device and terminal equipment
CN108196815B (en) Method for adjusting call sound and mobile terminal
CN109788402B (en) Audio signal processing method and audio signal processing device
CN110855313B (en) Signal control method and electronic equipment
CN108289270B (en) Loudspeaker and mobile terminal
CN107888765B (en) Method for switching scene mode and mobile terminal
CN110012143B (en) Telephone receiver control method and terminal
CN108848267B (en) Audio playing method and mobile terminal
CN111459447B (en) Volume adjustment display method and electronic equipment
CN108307123B (en) Exposure adjusting method and mobile terminal
CN107749306B (en) Vibration optimization method and mobile terminal
CN111093137B (en) Volume control method, volume control equipment and computer readable storage medium
CN111225315B (en) Audio playing device, audio playing method and electronic equipment
CN111124346B (en) Electronic equipment and volume adjusting method thereof
CN109873894B (en) Volume adjusting method and mobile terminal
CN111614329A (en) Power amplifier, electronic equipment, voltage control method and device
CN108879856B (en) Charging method and terminal
CN111182118A (en) Volume adjusting method and electronic equipment
CN108540659B (en) Method, terminal and computer readable storage medium for reducing TDD noise influence
CN108093119B (en) Strange incoming call number marking method and mobile terminal
CN109348366B (en) Method for adjusting volume by using electrical parameters and mobile terminal
CN109270352B (en) Amplitude adjusting method and sound generating device

Legal Events

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