WO2022227793A1 - Loudspeaker parameter configuration method and related apparatus - Google Patents

Loudspeaker parameter configuration method and related apparatus Download PDF

Info

Publication number
WO2022227793A1
WO2022227793A1 PCT/CN2022/076320 CN2022076320W WO2022227793A1 WO 2022227793 A1 WO2022227793 A1 WO 2022227793A1 CN 2022076320 W CN2022076320 W CN 2022076320W WO 2022227793 A1 WO2022227793 A1 WO 2022227793A1
Authority
WO
WIPO (PCT)
Prior art keywords
air pressure
preset
actual
resonant frequency
target audio
Prior art date
Application number
PCT/CN2022/076320
Other languages
French (fr)
Chinese (zh)
Inventor
王三军
张�成
许逸君
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2022227793A1 publication Critical patent/WO2022227793A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/20Arrangements for obtaining desired frequency or directional characteristics
    • H04R1/22Arrangements for obtaining desired frequency or directional characteristics for obtaining desired frequency characteristic only 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R29/00Monitoring arrangements; Testing arrangements
    • H04R29/001Monitoring arrangements; Testing arrangements for loudspeakers

Definitions

  • the present application relates to the technical field of electronic equipment, in particular to a speaker parameter configuration method and related devices.
  • the structure of the speakers generally includes a front cavity, a rear cavity, a diaphragm and a front cavity pipe.
  • the vibration of the diaphragm is controlled by an electrical signal, thereby producing sound.
  • the existing protection measures are to establish a reference voltage model through preset audio parameters in a normal temperature and normal pressure environment. The reference voltage model will limit the voltage to prevent the diaphragm displacement from exceeding the preset diaphragm displacement, but it is easily limited by hardware.
  • the present application proposes a speaker parameter configuration method and related device, which can configure appropriate audio parameters according to the change of the speaker resonance frequency after eliminating the interference of environmental temperature factors, which is suitable for various environments and saves hardware costs.
  • an embodiment of the present application provides a speaker parameter configuration method, which is applied to an electronic device, and the method includes:
  • mapping relationships includes a corresponding relationship between the ambient temperature measured in advance under a preset air pressure condition and the resonant frequency of the speaker;
  • Target audio parameters are configured according to the actual resonant frequency and the reference resonant frequency, and the target audio parameters are used to make the diaphragm displacement of the speaker not exceed a preset diaphragm displacement.
  • an embodiment of the present application provides a speaker parameter configuration device, which is applied to an electronic device, and the speaker parameter configuration device includes:
  • a detection unit configured to detect the actual resonance frequency of the speaker of the electronic device and the ambient temperature of the space where the electronic device is located;
  • the query unit is configured to query a preset set of mapping relationships to determine the reference resonance frequency corresponding to the ambient temperature, where the set of mapping relationships includes a relationship between the ambient temperature measured in advance under a preset air pressure condition and the resonance frequency of the speaker.
  • a configuration unit configured to configure target audio parameters according to the actual resonant frequency and the reference resonant frequency, where the target audio parameters are used to make the diaphragm displacement of the speaker not exceed a preset diaphragm displacement.
  • an embodiment of the present application provides an electronic device, including a processor, a memory, a speaker, a temperature sensor, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory, And configured to be executed by the above-mentioned processor, the above-mentioned program includes instructions for executing the steps in the first aspect of the embodiments of the present application.
  • an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes a computer to execute the computer program as described in the first embodiment of the present application.
  • an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute as implemented in the present application. Examples include some or all of the steps described in the first aspect.
  • the computer program product may be a software installation package.
  • the actual resonant frequency of the speaker of the electronic device and the ambient temperature of the space where the electronic device is located are detected; then, the preset mapping relationship set is queried to determine the The reference resonant frequency corresponding to the ambient temperature, and the mapping relationship set includes the corresponding relationship between the ambient temperature measured in advance under preset air pressure conditions and the resonant frequency of the speaker; finally, according to the actual resonant frequency and the resonant frequency
  • the reference resonant frequency configures target audio parameters for making the diaphragm displacement of the speaker not exceed a preset diaphragm displacement.
  • the ambient air pressure change can be simulated according to the change of the resonant frequency of the loudspeaker, and then appropriate audio parameters can be configured to increase the performance utilization of the loudspeaker, which is suitable for a variety of environments and saves hardware costs.
  • FIG. 1A is a schematic diagram of a corresponding relationship between a voltage and a resonance frequency according to an embodiment of the present application
  • FIG. 1B is a schematic diagram of a corresponding relationship between temperature and resonant frequency according to an embodiment of the present application
  • FIG. 1C is a schematic diagram of the correspondence between air pressure and resonant frequency according to an embodiment of the present application
  • FIG. 2 is a schematic flowchart of a speaker parameter configuration method provided by an embodiment of the present application
  • FIG. 3 is a schematic flowchart of another speaker parameter configuration method provided by an embodiment of the present application.
  • 4A is a schematic diagram of a diaphragm displacement provided by an embodiment of the present application.
  • 4B is a schematic diagram of another diaphragm displacement provided by an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
  • FIG. 6 is a block diagram of functional units of a loudspeaker parameter configuration device provided by an embodiment of the present application.
  • FIG. 7 is a block diagram of functional units of another speaker parameter configuration apparatus provided in an embodiment of the present application.
  • Resonant frequency refers to the frequency corresponding to the point where the vibration plate vibrates most strongly when the speaker starts to vibrate from the low range.
  • the resonant frequency or resonant frequency of the loudspeaker referred to as F0.
  • the amplitude of the vibration system of the loudspeaker is the largest at the resonant frequency, that is, the diaphragm near the resonant frequency has a preset diaphragm displacement (Maximum excursion of speaker diaphragm, Xmax) under the same voltage.
  • FIG. 1A is a schematic diagram of the corresponding relationship between voltage and resonant frequency provided by an embodiment of the application. It can be seen that as the output power of the speaker decreases, the voltage decreases. is small, the resonant frequency gradually increases; as shown in FIG. 1B , FIG. 1B is a schematic diagram of the corresponding relationship between temperature and resonant frequency provided by the embodiment of the application, it can be seen that as the temperature increases, the resonant frequency gradually decreases; As shown in 1C, FIG. 1C is a schematic diagram of the corresponding relationship between air pressure and resonant frequency provided by an embodiment of the present application.
  • the resonant frequency under low air pressure is lower than the resonant frequency under high air pressure.
  • the resonant frequency is inversely proportional to the voltage
  • the resonant frequency is inversely proportional to the temperature
  • the resonant frequency is proportional to the air pressure.
  • the diaphragm displacement of the speaker When the resonant frequency increases and the other factors remain unchanged, the diaphragm displacement of the speaker will become smaller, so the diaphragm displacement will not exceed the preset diaphragm displacement when the speaker is working normally; when the resonant frequency decreases and other factors remain unchanged, The diaphragm displacement of the speaker will become larger, and at this time, it may exceed the preset diaphragm displacement. Moreover, the reduction of the resonant frequency caused by the low pressure state is often far greater than the reduction of the resonant frequency caused by the temperature increase.
  • the operating amplitude of the existing speaker is generally about 80% of the preset diaphragm displacement. , which greatly loses the performance of the speaker.
  • the embodiment of the present application provides a speaker parameter configuration method and a related device, which can confirm the air pressure state according to the change of the resonant frequency of the speaker after eliminating the interference of the environmental temperature factor, and further configure the appropriate audio frequency according to the air pressure state. parameters, increase speaker performance utilization, suitable for a variety of environments, saving hardware costs.
  • FIG. 2 is a schematic flowchart of a method for configuring loudspeaker parameters provided by an embodiment of the present application, applied to an electronic device, and specifically includes the following steps:
  • Step 201 Detect the actual resonant frequency of the speaker of the electronic device and the ambient temperature of the space where the electronic device is located.
  • the detection of the current actual resonance frequency of the speaker can be performed by a high-speed resonant frequency detector or by a built-in measurement algorithm, which is the prior art, and will not be repeated here.
  • the ambient temperature of the space where the electronic device is located may be acquired through a temperature sensor.
  • Step 202 query a preset set of mapping relationships to determine the reference resonance frequency corresponding to the ambient temperature.
  • the set of mapping relationships includes a correspondence relationship between the ambient temperature and the resonant frequency of the loudspeaker measured in advance under a preset air pressure condition, and the preset air pressure condition may represent a range between 0.9*standard atmospheric pressure and 1.1*standard atmospheric pressure. In the range of 0.9*standard atmospheric pressure to 1.1*standard atmospheric pressure, the relationship between different ambient temperature and resonance frequency is measured to determine the above-mentioned set of mapping relationships. In this way, the preset mapping relationship set can be directly called to find the reference resonance frequency corresponding to the current ambient temperature, where the reference resonance frequency is the resonance frequency corresponding to the ambient temperature under normal pressure.
  • the influence of the ambient temperature on the resonance frequency of the loudspeaker can be excluded. Accuracy of barometric state.
  • Step 203 Configure target audio parameters according to the actual resonant frequency and the reference resonant frequency, where the target audio parameters are used to make the diaphragm displacement of the speaker not exceed a preset diaphragm displacement.
  • the above-mentioned target audio frequency parameter is used to make the diaphragm displacement of the loudspeaker not exceed the preset diaphragm displacement
  • the above-mentioned actual resonance frequency can be compared with the above-mentioned reference resonance frequency, and the magnitude relationship between the actual resonance frequency and the reference resonance frequency can be determined.
  • the actual resonant frequency is greater than or equal to the reference resonant frequency
  • it can be determined that the actual air pressure is greater than or equal to the preset air pressure
  • the actual resonant frequency is less than the reference resonant frequency
  • the difference between the actual resonant frequency and the reference resonant frequency can be obtained, and when the difference is less than or equal to a preset threshold, the actual air pressure at this time can be determined It is only slightly reduced.
  • the diaphragm displacement will not exceed the preset diaphragm displacement; when the difference is greater than the preset threshold, it can be determined that the actual air pressure at this time is greatly reduced.
  • the diaphragm will Exceeding the maximum displacement of the diaphragm, causing the speaker to work abnormally.
  • the above-mentioned preset threshold can be set through experimental data, and can be adjusted according to the material and size of the diaphragm of the speaker, which is not specifically limited here.
  • the resonant frequency of the speaker is affected by the ambient temperature and air pressure, after eliminating the interference of the ambient temperature, the actual air pressure and the actual air pressure of the space where the electronic device is located can be determined according to the actual resonant frequency and the reference resonant frequency.
  • the magnitude relationship between the preset air pressures can be obtained without an air pressure sensor, thereby reducing the hardware cost.
  • the diaphragm displacement of the speaker when the actual air pressure is greater than or equal to the preset air pressure, the diaphragm displacement of the speaker will become smaller under the same voltage condition, so the diaphragm displacement must not exceed the preset diaphragm displacement at this time.
  • Configure preset audio parameters as target audio parameters.
  • the above-mentioned preset audio parameters are used to establish a reference voltage protection model, and the reference voltage protection model is suitable for a normal temperature and normal pressure environment.
  • the reference voltage protection model can limit the output voltage within 5V to avoid the diaphragm displacement exceeding the preset diaphragm displacement of 0.5mm.
  • the diaphragm displacement of the speaker when the actual air pressure is less than the preset air pressure, under the same voltage condition, the diaphragm displacement of the speaker will increase, and there is a risk of exceeding the preset diaphragm displacement.
  • the corresponding relationship between the air pressure measured under the preset temperature condition and the resonant frequency of the speaker determines the target audio parameters corresponding to the actual air pressure for configuration, and the target audio parameters at this time can be used for the target voltage protection model.
  • the voltage protection model can prevent the diaphragm displacement from exceeding the preset diaphragm displacement by automatically attenuating the overall link gain, and can also prevent the diaphragm displacement from exceeding the preset diaphragm displacement by attenuating large audio signals in the low frequency part.
  • This goal The voltage protection model may also be a voltage protection model only applicable to a low pressure environment, which will not be repeated here.
  • the difference between the actual air pressure and the preset air pressure can be obtained, and when the difference between the actual air pressure and the preset air pressure is less than or equal to the preset threshold, it can be determined.
  • the reduction of the actual resonant frequency is very small, and the diaphragm displacement of the speaker will not exceed the preset diaphragm displacement, so the above reference voltage protection model can still be used at this time; between the above actual air pressure and the above preset air pressure
  • the target voltage protection model needs to be called at this time to prevent the diaphragm displacement of the speaker from exceeding the preset diaphragm displacement.
  • the above-mentioned preset threshold may be preset according to the preset diaphragm displacement corresponding to the actual resonance frequency. In this way, it can be ensured that the diaphragm displacement of the loudspeaker does not exceed the preset diaphragm displacement without wasting the performance of the loudspeaker.
  • the target voltage protection model can be directly called, which can greatly improve the reliability of the speaker diaphragm displacement not exceeding the preset diaphragm displacement, but may waste some speaker performance.
  • the actual resonant frequency of the speaker of the electronic device and the ambient temperature of the space where the electronic device is located are detected; then, a preset set of mapping relationships is queried to determine the reference resonant frequency corresponding to the ambient temperature , the set of mapping relationships includes the corresponding relationship between the ambient temperature and the resonant frequency of the loudspeaker measured in advance under a preset air pressure condition; finally, the target audio parameters are configured according to the actual resonant frequency and the reference resonant frequency, Wherein, the above-mentioned target audio parameters are used to make the diaphragm displacement of the speaker not exceed the preset diaphragm displacement.
  • the ambient air pressure change can be simulated according to the change of the resonant frequency of the loudspeaker, and then appropriate audio parameters can be configured to increase the performance utilization of the loudspeaker, which is suitable for a variety of environments and saves hardware costs.
  • FIG. 3 is another speaker parameter configuration method provided by the embodiment of the present application, applied to an electronic device, and specifically includes the following steps:
  • Step 301 the resonant frequency of the loudspeaker under preset air pressure conditions and different temperatures is detected by the control variable method to determine a preset mapping relationship set.
  • the above-mentioned preset mapping relationship set may include the corresponding relationship between the ambient temperature measured in advance under the preset air pressure condition and the resonant frequency of the speaker.
  • Step 302 Detect the actual resonant frequency of the speaker of the electronic device and the ambient temperature of the space where the electronic device is located.
  • Step 303 query a preset set of mapping relationships to determine the reference resonance frequency corresponding to the ambient temperature.
  • Step 304 judging whether the actual resonant frequency is less than the reference resonant frequency.
  • step 305 is executed; if the above-mentioned actual resonance frequency is less than the above-mentioned reference resonance frequency, step 306 is executed.
  • Step 305 calling preset audio parameters as target audio parameters for configuration.
  • the above preset audio parameters can be used to construct a reference voltage protection model under normal temperature and normal pressure.
  • Step 306 Determine whether the difference between the actual resonant frequency and the reference resonant frequency is greater than a preset threshold.
  • step 305 is executed; the difference between the actual resonance frequency and the reference resonance frequency is greater than the preset threshold, and step 307 is executed .
  • Step 307 query the correspondence between the air pressure measured in advance under a preset temperature condition and the resonant frequency of the speaker to determine target audio parameters corresponding to the actual air pressure for configuration.
  • Step 308 detecting the audio playing state.
  • the playback state of the audio can be determined by detecting whether the audio process is closed. When the audio process is closed, it is in the state of audio stop playing, and when the audio process is running, it is in the state of audio playing.
  • Step 309 when the audio playing state is stop playing, adjust the target audio parameter to the preset audio parameter.
  • Step 310 when the audio playing state is playing, continue to call the target voltage protection model corresponding to the target audio parameter.
  • the diaphragm displacement of the loudspeaker under normal temperature and pressure is set to 0.43mm, and the preset diaphragm displacement at this time is 0.45mm.
  • the diaphragm displacement will gain 0.1mm.
  • the diaphragm displacement can be reduced by about 0.1mm by configuring the target audio parameters to attenuate the gain or suppress the low-frequency large audio signal, so that the diaphragm displacement of the speaker is also 0.43mm in a low pressure environment. about.
  • the diaphragm displacement of the speaker under normal temperature and pressure is shown in Figure 4A, and the damped diaphragm displacement after the resonant frequency F0 is reduced is shown in Figure 4B. It can be seen that by configuring the target audio parameters, the diaphragm displacement of the speaker can be prevented from exceeding the preset vibration. membrane displacement.
  • the altitude of the current electronic device can also be obtained through the positioning module of the electronic device, such as GPS, and the set of mapping relationships between altitude and air pressure can be queried to determine the altitude reference air pressure corresponding to the altitude, and further determine the altitude. Whether the reference air pressure belongs to a low air pressure environment, so as to configure the relevant audio parameters of the speaker and prevent the diaphragm displacement of the speaker from exceeding the preset diaphragm displacement.
  • the altitude reference air pressure corresponding to the altitude can be used as a comparison.
  • the lift information can be generated and fed back to the user.
  • the prompt information is used to remind the user of the currently detected air pressure. Status may be abnormal.
  • the ambient air pressure change can be simulated according to the change of the speaker resonance frequency after eliminating the interference of the ambient temperature factor, and then the appropriate audio parameters can be configured, which is suitable for a variety of environments and saves hardware costs.
  • the electronic device 500 includes a processor 501, a communication The interface 502, the memory 503, the speaker 504 and the temperature sensor 505, the processor, the communication interface, the memory, the speaker and the temperature sensor are connected to each other, wherein the electronic device 500 may further comprise a bus 506, the processor 501, the communication interface 502 and the memory 503 can be connected to each other through a bus 506, and the bus 506 can be a Peripheral Component Interconnect (PCI for short) bus or an Extended Industry Standard Architecture (EISA for short) bus or the like.
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • the bus 506 may be divided into an address bus, a data bus, a control bus, and the like. For ease of presentation, only one thick line is used in FIG. 5, but it does not mean that there is only one bus or one type of bus.
  • the memory 503 is used to store a computer program
  • the computer program includes program instructions
  • the speaker 504 includes a diaphragm, which is an electro-acoustic conversion device
  • the temperature sensor 505 is used to obtain the ambient temperature of the current space
  • the processor 501 is configured to invoke the program instructions to perform all or part of the methods described in FIG. 2 or FIG. 3 above.
  • the electronic device includes corresponding hardware structures and/or software modules for executing each function.
  • the present application can be implemented in hardware or in the form of a combination of hardware and computer software, in combination with the units and algorithm steps of each example described in the embodiments provided herein. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
  • the electronic device may be divided into functional units according to the foregoing method examples.
  • each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit.
  • the above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units. It should be noted that the division of units in the embodiments of the present application is illustrative, and is only a logical function division, and other division methods may be used in actual implementation.
  • the speaker parameter configuration device 600 in the embodiment of the present application is described below with reference to FIG. 6 , which is a block diagram of the functional units of the speaker parameter configuration device provided by the embodiment of the application. , applied to electronic equipment, the speaker parameter configuration device 600 includes:
  • a detection unit 610 configured to detect the actual resonance frequency of the speaker of the electronic device and the ambient temperature of the space where the electronic device is located;
  • the query unit 620 is configured to query a preset set of mapping relationships to determine a reference resonance frequency corresponding to the ambient temperature, where the set of mapping relationships includes a relationship between the ambient temperature measured in advance under a preset air pressure condition and the resonance frequency of the speaker the corresponding relationship;
  • the configuration unit 630 is used for wherein, the above-mentioned target audio parameters are used to make the diaphragm displacement of the speaker not exceed the preset diaphragm displacement.
  • the preset mapping relationship set is queried to determine the reference resonant frequency corresponding to the ambient temperature.
  • the set of mapping relationships includes the corresponding relationship between the ambient temperature and the resonant frequency of the loudspeaker measured in advance under a preset air pressure condition; then, determining the location where the electronic device is located according to the actual resonant frequency and the reference resonant frequency The size relationship between the actual air pressure of the space and the preset air pressure; finally, the target audio parameters are configured according to the size relationship between the actual air pressure of the space where the electronic device is located and the preset air pressure, and the target audio parameters Used to make the diaphragm displacement of the loudspeaker not exceed the preset diaphragm displacement.
  • the ambient air pressure change can be simulated according to the change of the resonant frequency of the loudspeaker, and then appropriate audio parameters can be configured to increase the performance utilization of the loudspeaker, which is suitable for a variety of environments and saves hardware costs.
  • the speaker parameter configuration apparatus 700 includes a processing unit 701 and a communication unit 702, wherein the The processing unit 701 is configured to perform any step in the above method embodiments, and when performing data transmission such as sending, the communication unit 702 can be selectively invoked to complete corresponding operations.
  • the speaker parameter configuration apparatus 700 may further include a storage unit 703 for storing program codes and data.
  • the processing unit 701 may be a processor, and the storage unit 703 may be a memory.
  • the processing unit 701 is specifically used for:
  • mapping relationships includes a corresponding relationship between the ambient temperature measured in advance under a preset air pressure condition and the resonant frequency of the speaker;
  • the target audio parameter is configured according to the magnitude relationship between the actual air pressure of the space where the electronic device is located and the preset air pressure, and the target audio parameter is used to make the diaphragm displacement of the speaker not exceed the preset diaphragm displacement.
  • the relationship set includes the corresponding relationship between the ambient temperature and the resonant frequency of the loudspeaker measured in advance under a preset air pressure condition; then, according to the actual resonant frequency and the reference resonant frequency, the space where the electronic device is located is determined.
  • the diaphragm displacement of the speaker is made not to exceed the preset diaphragm displacement.
  • the ambient air pressure change can be simulated according to the change of the resonant frequency of the loudspeaker, and then appropriate audio parameters can be configured to increase the performance utilization of the loudspeaker, which is suitable for a variety of environments and saves hardware costs.
  • Both the speaker parameter configuration apparatus 600 and the speaker parameter configuration apparatus 700 can execute all the speaker parameter configuration methods included in the foregoing embodiments.
  • Embodiments of the present application further provide a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program causes the computer to execute part or all of the steps of any method described in the above method embodiments .
  • Embodiments of the present application further provide a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute any one of the method embodiments described above. some or all of the steps of the method.
  • the computer program product may be a software installation package, and the computer includes an electronic device.
  • the disclosed apparatus may be implemented in other manners.
  • the device embodiments described above are only illustrative.
  • the division of the above-mentioned units is only a logical function division.
  • multiple units or components may be combined or integrated. to another system, or some features can be ignored, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical or other forms.
  • the units described above as separate components may or may not be physically separated, and components shown as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
  • the above-mentioned integrated units if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable memory.
  • the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art, or all or part of the technical solution, and the computer software product is stored in a memory.
  • a computer device which may be a personal computer, a server, or a network device, etc.
  • the aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

Landscapes

  • Health & Medical Sciences (AREA)
  • Otolaryngology (AREA)
  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • General Health & Medical Sciences (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

Provided in the present application are a loudspeaker parameter configuration method and a related apparatus. The method comprises: first, detecting an actual resonant frequency of a loudspeaker of an electronic device and an environment temperature of a space in which the electronic device is located; then, querying a preset mapping relationship set to determine a reference resonant frequency corresponding to the environment temperature, wherein the mapping relationship set comprises a correlation between an environment temperature, which is measured in advance under a preset air pressure condition, and the resonant frequency of the loudspeaker; and finally, configuring a target audio parameter according to the actual resonant frequency and the reference resonant frequency, wherein the target audio parameter is used for preventing a diaphragm displacement of the loudspeaker from exceeding a preset diaphragm displacement. An air pressure change in an environment can be simulated according to a change in the resonant frequency of a loudspeaker after the interference of an environment temperature factor is eliminated, and then an appropriate audio parameter is configured, so as to improve the performance utilization rate of the loudspeaker. The present application is suitable for various environments, and the hardware cost is saved.

Description

扬声器参数配置方法及相关装置Speaker parameter configuration method and related device 技术领域technical field
本申请涉及电子设备技术领域,特别是一种扬声器参数配置方法及相关装置。The present application relates to the technical field of electronic equipment, in particular to a speaker parameter configuration method and related devices.
背景技术Background technique
目前电子设备上一般都会搭载扬声器(即喇叭),扬声器的结构一般包括前腔、后腔、振膜和前腔管道。扬声器在工作时,通过电信号控制振膜的振动,从而发出声音。为保障扬声器持续安全稳定的提供声音信号,不会出现杂音和破音等异常现象,需要防止振膜的位移超过预设振膜位移,而振膜的预设振膜位移受到扬声器谐振频率的影响,现有的保护措施为在常温常压环境下通过预设音频参数建立基准电压模型,该基准电压模型会限制电压以防止振膜位移超过预设振膜位移,但容易受到硬件方面的限制。At present, electronic devices are generally equipped with speakers (that is, speakers), and the structure of the speakers generally includes a front cavity, a rear cavity, a diaphragm and a front cavity pipe. When the speaker is working, the vibration of the diaphragm is controlled by an electrical signal, thereby producing sound. In order to ensure that the speaker can provide sound signals continuously, safely and stably, without abnormal phenomena such as noise and broken sound, it is necessary to prevent the displacement of the diaphragm from exceeding the preset diaphragm displacement, and the preset diaphragm displacement of the diaphragm is affected by the resonant frequency of the speaker. , the existing protection measures are to establish a reference voltage model through preset audio parameters in a normal temperature and normal pressure environment. The reference voltage model will limit the voltage to prevent the diaphragm displacement from exceeding the preset diaphragm displacement, but it is easily limited by hardware.
发明内容SUMMARY OF THE INVENTION
基于上述问题,本申请提出了一种扬声器参数配置方法及相关装置,可以在排除环境温度因素的干扰后根据扬声器谐振频率的变化来配置合适的音频参数,适用于多种环境,节省硬件成本。Based on the above problems, the present application proposes a speaker parameter configuration method and related device, which can configure appropriate audio parameters according to the change of the speaker resonance frequency after eliminating the interference of environmental temperature factors, which is suitable for various environments and saves hardware costs.
第一方面,本申请实施例提供了一种扬声器参数配置方法,应用于电子设备,所述方法包括:In a first aspect, an embodiment of the present application provides a speaker parameter configuration method, which is applied to an electronic device, and the method includes:
检测所述电子设备的所述扬声器的实际谐振频率以及所述电子设备所处空间的环境温度;Detecting the actual resonant frequency of the speaker of the electronic device and the ambient temperature of the space where the electronic device is located;
查询预设的映射关系集合确定所述环境温度对应的基准谐振频率,所述映射关系集合包括预先在预设气压条件下测定的环境温度和所述扬声器的谐振频率之间的对应关系;querying a preset set of mapping relationships to determine a reference resonant frequency corresponding to the ambient temperature, where the set of mapping relationships includes a corresponding relationship between the ambient temperature measured in advance under a preset air pressure condition and the resonant frequency of the speaker;
根据所述实际谐振频率与所述基准谐振频率配置目标音频参数,所述目标音频参数用于使所述扬声器的振膜位移不超过预设振膜位移。Target audio parameters are configured according to the actual resonant frequency and the reference resonant frequency, and the target audio parameters are used to make the diaphragm displacement of the speaker not exceed a preset diaphragm displacement.
第二方面,本申请实施例提供了一种扬声器参数配置装置,应用于电子设备,所述扬声器参数配置装置包括:In a second aspect, an embodiment of the present application provides a speaker parameter configuration device, which is applied to an electronic device, and the speaker parameter configuration device includes:
检测单元,用于检测所述电子设备的所述扬声器的实际谐振频率以及所述电子设备所处空间的环境温度;a detection unit, configured to detect the actual resonance frequency of the speaker of the electronic device and the ambient temperature of the space where the electronic device is located;
查询单元,用于查询预设的映射关系集合确定所述环境温度对应的基准谐振频率,所述映射关系集合包括预先在预设气压条件下测定的环境温度和所述扬声器的谐振频率之间的对应关系;The query unit is configured to query a preset set of mapping relationships to determine the reference resonance frequency corresponding to the ambient temperature, where the set of mapping relationships includes a relationship between the ambient temperature measured in advance under a preset air pressure condition and the resonance frequency of the speaker. Correspondence;
配置单元,用于根据所述实际谐振频率与所述基准谐振频率配置目标音频参数,所述目标音频参数用于使所述扬声器的振膜位移不超过预设振膜位移。A configuration unit configured to configure target audio parameters according to the actual resonant frequency and the reference resonant frequency, where the target audio parameters are used to make the diaphragm displacement of the speaker not exceed a preset diaphragm displacement.
第三方面,本申请实施例提供了一种电子设备,包括处理器、存储器、扬声器、温度传感器、通信接口以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行本申请实施例第一方面中的步骤的指令。In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a speaker, a temperature sensor, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory, And configured to be executed by the above-mentioned processor, the above-mentioned program includes instructions for executing the steps in the first aspect of the embodiments of the present application.
第四方面,本申请实施例提供了一种计算机可读存储介质,其中,上述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本申请实施例第一方面中所描述的部分或全部步骤。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes a computer to execute the computer program as described in the first embodiment of the present application. Some or all of the steps described in an aspect.
第五方面,本申请实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如本申请实施例第一方面中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。In a fifth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute as implemented in the present application. Examples include some or all of the steps described in the first aspect. The computer program product may be a software installation package.
可见,通过上述扬声器参数配置方法及相关装置,首先,检测所述电子设备的所述扬声器的实际谐振频率以及所述电子设备所处空间的环境温度;然后,查询预设的映射关系集合确定所述环境温度对应的基准谐振频率,所述映射关系集合包括预先在预设气压条件下测定的环境温度和所述扬 声器的谐振频率之间的对应关系;最后,根据所述实际谐振频率与所述基准谐振频率配置目标音频参数,所述目标音频参数用于使所述扬声器的振膜位移不超过预设振膜位移。可以在排除环境温度因素的干扰后根据扬声器谐振频率的变化来模拟环境的气压变化,进而配置合适的音频参数,增加扬声器性能利用率,适用于多种环境,节省硬件成本。It can be seen that, through the above speaker parameter configuration method and related device, first, the actual resonant frequency of the speaker of the electronic device and the ambient temperature of the space where the electronic device is located are detected; then, the preset mapping relationship set is queried to determine the The reference resonant frequency corresponding to the ambient temperature, and the mapping relationship set includes the corresponding relationship between the ambient temperature measured in advance under preset air pressure conditions and the resonant frequency of the speaker; finally, according to the actual resonant frequency and the resonant frequency The reference resonant frequency configures target audio parameters for making the diaphragm displacement of the speaker not exceed a preset diaphragm displacement. After excluding the interference of ambient temperature factors, the ambient air pressure change can be simulated according to the change of the resonant frequency of the loudspeaker, and then appropriate audio parameters can be configured to increase the performance utilization of the loudspeaker, which is suitable for a variety of environments and saves hardware costs.
附图说明Description of drawings
为了更清楚地说明本发明实施例技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings used in the description of the embodiments. Obviously, the drawings in the following description are some embodiments of the present invention, which are of great significance to the art For those of ordinary skill, other drawings can also be obtained from these drawings without any creative effort.
图1A为本申请实施例提供的一种电压与谐振频率的对应关系示意图;FIG. 1A is a schematic diagram of a corresponding relationship between a voltage and a resonance frequency according to an embodiment of the present application;
图1B为本申请实施例提供的一种温度与谐振频率的对应关系示意图;FIG. 1B is a schematic diagram of a corresponding relationship between temperature and resonant frequency according to an embodiment of the present application;
图1C为本申请实施例提供的一种气压与谐振频率的对应关系示意图;FIG. 1C is a schematic diagram of the correspondence between air pressure and resonant frequency according to an embodiment of the present application;
图2为本申请实施例提供的一种扬声器参数配置方法的流程示意图;FIG. 2 is a schematic flowchart of a speaker parameter configuration method provided by an embodiment of the present application;
图3为本申请实施例提供的另一种扬声器参数配置方法的流程示意图;FIG. 3 is a schematic flowchart of another speaker parameter configuration method provided by an embodiment of the present application;
图4A为本申请实施例提供的一种振膜位移示意图;4A is a schematic diagram of a diaphragm displacement provided by an embodiment of the present application;
图4B为本申请实施例提供的另一种振膜位移示意图;4B is a schematic diagram of another diaphragm displacement provided by an embodiment of the present application;
图5为本申请实施例提供的一种电子设备的结构示意图;5 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
图6为本申请实施例提供的一种扬声器参数配置装置的功能单元组成框图;FIG. 6 is a block diagram of functional units of a loudspeaker parameter configuration device provided by an embodiment of the present application;
图7为本申请实施例提供的另一种扬声器参数配置装置的功能单元组成框图。FIG. 7 is a block diagram of functional units of another speaker parameter configuration apparatus provided in an embodiment of the present application.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make those skilled in the art better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only It is a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。The terms "first", "second" and the like in the description and claims of the present application and the above drawings are used to distinguish different objects, rather than to describe a specific order. Furthermore, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally also includes For other steps or units inherent to these processes, methods, products or devices.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor a separate or alternative embodiment that is mutually exclusive of other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
为了更好地理解本申请实施例的方案,下面先对本申请实施例可能涉及的相关术语和概念进行介绍。In order to better understand the solutions of the embodiments of the present application, related terms and concepts that may be involved in the embodiments of the present application are first introduced below.
谐振频率,是指扬声器从低音域开始振动时,振动板最强烈振动所在点对应的频率,在测量扬声器单元阻抗特性时,阻抗曲线上阻抗值第一次达到最大值时所对应的频率称为该扬声器的谐振频率或共振频率,简称F0。扬声器在谐振频率处振动系统的振幅最大,即谐振频率附近的振膜在相同电压下具备预设振膜位移(Maximum excursion of speaker diaphragm,Xmax)。Resonant frequency refers to the frequency corresponding to the point where the vibration plate vibrates most strongly when the speaker starts to vibrate from the low range. When measuring the impedance characteristics of the speaker unit, the frequency corresponding to the first time the impedance value on the impedance curve reaches the maximum value is called The resonant frequency or resonant frequency of the loudspeaker, referred to as F0. The amplitude of the vibration system of the loudspeaker is the largest at the resonant frequency, that is, the diaphragm near the resonant frequency has a preset diaphragm displacement (Maximum excursion of speaker diaphragm, Xmax) under the same voltage.
谐振频率会受到电压、温度、气压等因素的影响,如图1A所示,图1A为本申请实施例提供的一种电压与谐振频率的对应关系示意图,可见,随着扬声器输出功率即电压减小,谐振频率逐渐增大;如图1B所示,图1B为本申请实施例提供的一种温度与谐振频率的对应关系示意图,可见,随着温度升高,谐振频率逐渐减小;如图1C所示,图1C为本申请实施例提供的一种气压与谐振 频率的对应关系示意图,可见,在同等电压下,低气压下的谐振频率会小于高气压下的谐振频率。综上,可知,谐振频率与电压成反比,谐振频率与温度成反比,谐振频率与气压成正比。The resonant frequency will be affected by factors such as voltage, temperature, air pressure, etc. As shown in FIG. 1A , FIG. 1A is a schematic diagram of the corresponding relationship between voltage and resonant frequency provided by an embodiment of the application. It can be seen that as the output power of the speaker decreases, the voltage decreases. is small, the resonant frequency gradually increases; as shown in FIG. 1B , FIG. 1B is a schematic diagram of the corresponding relationship between temperature and resonant frequency provided by the embodiment of the application, it can be seen that as the temperature increases, the resonant frequency gradually decreases; As shown in 1C, FIG. 1C is a schematic diagram of the corresponding relationship between air pressure and resonant frequency provided by an embodiment of the present application. It can be seen that, under the same voltage, the resonant frequency under low air pressure is lower than the resonant frequency under high air pressure. To sum up, it can be seen that the resonant frequency is inversely proportional to the voltage, the resonant frequency is inversely proportional to the temperature, and the resonant frequency is proportional to the air pressure.
当谐振频率变大而其余因素不变时,扬声器的振膜位移会变小,因此扬声器正常工作时振膜位移不会超过预设振膜位移;当谐振频率变小而其余因素不变时,扬声器的振膜位移会变大,此时有可能会超过预设振膜位移。而且低气压状态造成的谐振频率变小的幅度往往远远大于温度升高造成的谐振频率变小的幅度。When the resonant frequency increases and the other factors remain unchanged, the diaphragm displacement of the speaker will become smaller, so the diaphragm displacement will not exceed the preset diaphragm displacement when the speaker is working normally; when the resonant frequency decreases and other factors remain unchanged, The diaphragm displacement of the speaker will become larger, and at this time, it may exceed the preset diaphragm displacement. Moreover, the reduction of the resonant frequency caused by the low pressure state is often far greater than the reduction of the resonant frequency caused by the temperature increase.
可见,外界环境中的温度和气压都会影响扬声器工作时的谐振频率,往往很难判断到底是哪个因素引起了谐振频率的变化,现有的扬声器工作振幅一般在预设振膜位移的80%左右,这极大地损失了扬声器的性能。It can be seen that the temperature and air pressure in the external environment will affect the resonant frequency of the speaker during operation. It is often difficult to determine which factor causes the change of the resonant frequency. The operating amplitude of the existing speaker is generally about 80% of the preset diaphragm displacement. , which greatly loses the performance of the speaker.
为解决上述问题,本申请实施例提供了一种扬声器参数配置方法及相关装置,可以在排除环境温度因素的干扰后根据扬声器谐振频率的变化来确认气压状态,进一步根据气压状态来配置合适的音频参数,增加扬声器性能利用率,适用于多种环境,节省硬件成本。In order to solve the above problems, the embodiment of the present application provides a speaker parameter configuration method and a related device, which can confirm the air pressure state according to the change of the resonant frequency of the speaker after eliminating the interference of the environmental temperature factor, and further configure the appropriate audio frequency according to the air pressure state. parameters, increase speaker performance utilization, suitable for a variety of environments, saving hardware costs.
下面结合图2对本申请实施例中的一种扬声器参数配置方法进行说明,图2为本申请实施例提供的一种扬声器参数配置方法的流程示意图,应用于电子设备,具体包括以下步骤:A method for configuring loudspeaker parameters in an embodiment of the present application will be described below with reference to FIG. 2 . FIG. 2 is a schematic flowchart of a method for configuring loudspeaker parameters provided by an embodiment of the present application, applied to an electronic device, and specifically includes the following steps:
步骤201,检测电子设备的所述扬声器的实际谐振频率以及所述电子设备所处空间的环境温度。Step 201: Detect the actual resonant frequency of the speaker of the electronic device and the ambient temperature of the space where the electronic device is located.
其中,检测扬声器当前的实际谐振频率可以通过谐振频率高速测定器进行检测,也可以通过内置的测量算法进行测量,为现有技术,在此不再赘述。其中,可以通过温度传感器获取上述电子设备所在空间的环境温度。The detection of the current actual resonance frequency of the speaker can be performed by a high-speed resonant frequency detector or by a built-in measurement algorithm, which is the prior art, and will not be repeated here. The ambient temperature of the space where the electronic device is located may be acquired through a temperature sensor.
步骤202,查询预设的映射关系集合确定所述环境温度对应的基准谐振频率。 Step 202 , query a preset set of mapping relationships to determine the reference resonance frequency corresponding to the ambient temperature.
其中,所述映射关系集合包括预先在预设气压条件下测定的环境温度和所述扬声器的谐振频率之间的对应关系,预设气压条件可以表示0.9*标准大气压至1.1*标准大气压之间的范围,在0.9*标准大气压至1.1*标准大气压的范围内都测量不同的环境温度与谐振频率的关系以确定上述映射关系集合。如此可以直接调用预设的映射关系集合,找到当前的环境温度对应的基准谐振频率,该基准谐振频率为常压下该环境温度对应的谐振频率。The set of mapping relationships includes a correspondence relationship between the ambient temperature and the resonant frequency of the loudspeaker measured in advance under a preset air pressure condition, and the preset air pressure condition may represent a range between 0.9*standard atmospheric pressure and 1.1*standard atmospheric pressure. In the range of 0.9*standard atmospheric pressure to 1.1*standard atmospheric pressure, the relationship between different ambient temperature and resonance frequency is measured to determine the above-mentioned set of mapping relationships. In this way, the preset mapping relationship set can be directly called to find the reference resonance frequency corresponding to the current ambient temperature, where the reference resonance frequency is the resonance frequency corresponding to the ambient temperature under normal pressure.
通过查询预设的映射关系集合确定所述环境温度对应的基准谐振频率,可以排除环境温度对扬声器的谐振频率的影响,用基准谐振频率与实际谐振频率进行比较来确定气压状态,提升了确定的气压状态的精确性。By querying the preset mapping relationship set to determine the reference resonance frequency corresponding to the ambient temperature, the influence of the ambient temperature on the resonance frequency of the loudspeaker can be excluded. Accuracy of barometric state.
步骤203,根据所述实际谐振频率与所述基准谐振频率配置目标音频参数,所述目标音频参数用于使所述扬声器的振膜位移不超过预设振膜位移。Step 203: Configure target audio parameters according to the actual resonant frequency and the reference resonant frequency, where the target audio parameters are used to make the diaphragm displacement of the speaker not exceed a preset diaphragm displacement.
其中,上述目标音频参数用于使所述扬声器的振膜位移不超过预设振膜位移,可以将上述实际谐振频率与上述基准谐振频率进行对比,可以确定实际谐振频率与基准谐振频率的大小关系,在所述实际谐振频率大于或等于所述基准谐振频率时,则可以确定所述实际气压大于或等于所述预设气压;在所述实际谐振频率小于所述基准谐振频率时,则可以确定所述实际气压小于所述预设气压。Wherein, the above-mentioned target audio frequency parameter is used to make the diaphragm displacement of the loudspeaker not exceed the preset diaphragm displacement, the above-mentioned actual resonance frequency can be compared with the above-mentioned reference resonance frequency, and the magnitude relationship between the actual resonance frequency and the reference resonance frequency can be determined. , when the actual resonant frequency is greater than or equal to the reference resonant frequency, it can be determined that the actual air pressure is greater than or equal to the preset air pressure; when the actual resonant frequency is less than the reference resonant frequency, it can be determined The actual air pressure is less than the preset air pressure.
在一个可能的实施例中,在实际谐振频率小于上述基准谐振频率时,可以获取实际谐振频率与基准谐振频率的差值,在差值小于或等于预设阈值时,可以确定此时的实际气压只是略微降低,扬声器正常工作时振膜位移不会超过预设振膜位移;在差值大于预设阈值时,可以确定此时的实际气压降低较多,扬声器工作在大音量场景时振膜会超过振膜最大位移,导致扬声器工作异常。上述预设阈值可以通过实验数据设置,并根据扬声器的振膜材质、大小等进行相应的调整,在此不做具体限定。In a possible embodiment, when the actual resonant frequency is less than the above-mentioned reference resonant frequency, the difference between the actual resonant frequency and the reference resonant frequency can be obtained, and when the difference is less than or equal to a preset threshold, the actual air pressure at this time can be determined It is only slightly reduced. When the speaker is working normally, the diaphragm displacement will not exceed the preset diaphragm displacement; when the difference is greater than the preset threshold, it can be determined that the actual air pressure at this time is greatly reduced. When the speaker works in a high volume scene, the diaphragm will Exceeding the maximum displacement of the diaphragm, causing the speaker to work abnormally. The above-mentioned preset threshold can be set through experimental data, and can be adjusted according to the material and size of the diaphragm of the speaker, which is not specifically limited here.
可见,由于,扬声器的谐振频率受到环境温度和气压的影响,在排除环境温度的干扰后,可以根据所述实际谐振频率与所述基准谐振频率确定所述电子设备所处空间的实际气压与所述预设气压之间的大小关系,无需气压传感器也可以获取到气压状态,降低了硬件成本。It can be seen that since the resonant frequency of the speaker is affected by the ambient temperature and air pressure, after eliminating the interference of the ambient temperature, the actual air pressure and the actual air pressure of the space where the electronic device is located can be determined according to the actual resonant frequency and the reference resonant frequency. The magnitude relationship between the preset air pressures can be obtained without an air pressure sensor, thereby reducing the hardware cost.
在一个可能的实施例中,由于实际气压大于或等于预设气压时,相同电压条件下,扬声器的振膜位移会变小,所以此时振膜位移必定不会超过预设振膜位移,可以将预设音频参数作为目标音频 参数进行配置。具体的,上述预设音频参数用于建立基准电压保护模型,该基准电压保护模型适用于常温常压环境,举例来说,若基准谐振频率为500Hz,此时每1V电压对应的振膜位移为0.1mm,而此时的预设振膜位移为0.5mm,则该基准电压保护模型可以将输出电压限制在5V以内,避免振膜位移超过预设振膜位移0.5mm。In a possible embodiment, when the actual air pressure is greater than or equal to the preset air pressure, the diaphragm displacement of the speaker will become smaller under the same voltage condition, so the diaphragm displacement must not exceed the preset diaphragm displacement at this time. Configure preset audio parameters as target audio parameters. Specifically, the above-mentioned preset audio parameters are used to establish a reference voltage protection model, and the reference voltage protection model is suitable for a normal temperature and normal pressure environment. For example, if the reference resonant frequency is 500Hz, the diaphragm displacement corresponding to each 1V voltage at this time is 0.1mm, and the preset diaphragm displacement at this time is 0.5mm, then the reference voltage protection model can limit the output voltage within 5V to avoid the diaphragm displacement exceeding the preset diaphragm displacement of 0.5mm.
在一个可能的实施例中,在实际气压小于预设气压时,相同电压条件下,扬声器的振膜位移会变大,此时会有超过预设振膜位移的风险,此时可以查询预先在预设温度条件下测定的气压和所述扬声器的谐振频率之间的对应关系确定与所述实际气压对应的目标音频参数进行配置,此时的目标音频参数可以用于目标电压保护模型,该目标电压保护模型可以通过自动衰减整体链路增益来避免振膜位移超过预设振膜位移,也可以通过衰减低频部分的大音频信号来避免振膜位移超过预设振膜位移,特别的,该目标电压保护模型还可以为只适用于低气压环境的电压保护模型,在此不再赘述。In a possible embodiment, when the actual air pressure is less than the preset air pressure, under the same voltage condition, the diaphragm displacement of the speaker will increase, and there is a risk of exceeding the preset diaphragm displacement. The corresponding relationship between the air pressure measured under the preset temperature condition and the resonant frequency of the speaker determines the target audio parameters corresponding to the actual air pressure for configuration, and the target audio parameters at this time can be used for the target voltage protection model. The voltage protection model can prevent the diaphragm displacement from exceeding the preset diaphragm displacement by automatically attenuating the overall link gain, and can also prevent the diaphragm displacement from exceeding the preset diaphragm displacement by attenuating large audio signals in the low frequency part. In particular, this goal The voltage protection model may also be a voltage protection model only applicable to a low pressure environment, which will not be repeated here.
进一步的,在实际气压小于预设气压时,可以获取实际气压于预设气压的差值,在所述实际气压与所述预设气压之间的差值小于或等于预设阈值时,可以确定此时实际谐振频率减小的幅度很小,扬声器的振膜位移并不会超过预设振膜位移,那么此时可以仍然使用上述基准电压保护模型;在上述实际气压与上述预设气压之间的差值大于预设阈值时,此时需要调用目标电压保护模型,防止扬声器的振膜位移超过预设振膜位移。上述预设阈值可以根据实际谐振频率对应的预设振膜位移预先设置。如此可以在不浪费扬声器性能的情况下保证扬声器的振膜位移不超过预设振膜位移。Further, when the actual air pressure is less than the preset air pressure, the difference between the actual air pressure and the preset air pressure can be obtained, and when the difference between the actual air pressure and the preset air pressure is less than or equal to the preset threshold, it can be determined. At this time, the reduction of the actual resonant frequency is very small, and the diaphragm displacement of the speaker will not exceed the preset diaphragm displacement, so the above reference voltage protection model can still be used at this time; between the above actual air pressure and the above preset air pressure When the difference is greater than the preset threshold, the target voltage protection model needs to be called at this time to prevent the diaphragm displacement of the speaker from exceeding the preset diaphragm displacement. The above-mentioned preset threshold may be preset according to the preset diaphragm displacement corresponding to the actual resonance frequency. In this way, it can be ensured that the diaphragm displacement of the loudspeaker does not exceed the preset diaphragm displacement without wasting the performance of the loudspeaker.
需要说明的是,可以在实际气压小于预设气压时,直接调用目标电压保护模型,如此可以大幅提升扬声器振膜位移不超过预设振膜位移的可靠性,但可能会浪费部分扬声器的性能。It should be noted that when the actual air pressure is less than the preset air pressure, the target voltage protection model can be directly called, which can greatly improve the reliability of the speaker diaphragm displacement not exceeding the preset diaphragm displacement, but may waste some speaker performance.
通过上述方法,首先,检测所述电子设备的所述扬声器的实际谐振频率以及所述电子设备所处空间的环境温度;然后,查询预设的映射关系集合确定所述环境温度对应的基准谐振频率,所述映射关系集合包括预先在预设气压条件下测定的环境温度和所述扬声器的谐振频率之间的对应关系;最后,根据所述实际谐振频率与所述基准谐振频率配置目标音频参数,其中,上述目标音频参数用于使所述扬声器的振膜位移不超过预设振膜位移。可以在排除环境温度因素的干扰后根据扬声器谐振频率的变化来模拟环境的气压变化,进而配置合适的音频参数,增加扬声器性能利用率,适用于多种环境,节省硬件成本。Through the above method, first, the actual resonant frequency of the speaker of the electronic device and the ambient temperature of the space where the electronic device is located are detected; then, a preset set of mapping relationships is queried to determine the reference resonant frequency corresponding to the ambient temperature , the set of mapping relationships includes the corresponding relationship between the ambient temperature and the resonant frequency of the loudspeaker measured in advance under a preset air pressure condition; finally, the target audio parameters are configured according to the actual resonant frequency and the reference resonant frequency, Wherein, the above-mentioned target audio parameters are used to make the diaphragm displacement of the speaker not exceed the preset diaphragm displacement. After excluding the interference of ambient temperature factors, the ambient air pressure change can be simulated according to the change of the resonant frequency of the loudspeaker, and then appropriate audio parameters can be configured to increase the performance utilization of the loudspeaker, which is suitable for a variety of environments and saves hardware costs.
下面结合图3对本申请实施例中的另一种扬声器参数配置方法进行说明,图3为本申请实施例提供的另一种扬声器参数配置方法,应用于电子设备,具体包括以下步骤:Another speaker parameter configuration method in the embodiment of the present application will be described below with reference to FIG. 3 . FIG. 3 is another speaker parameter configuration method provided by the embodiment of the present application, applied to an electronic device, and specifically includes the following steps:
步骤301,通过控制变量法检测在预设气压条件不同温度下扬声器的谐振频率以确定预设映射关系集合。 Step 301 , the resonant frequency of the loudspeaker under preset air pressure conditions and different temperatures is detected by the control variable method to determine a preset mapping relationship set.
其中,上述预设映射关系集合可以包括预先在预设气压条件下测定的环境温度和所述扬声器的谐振频率之间的对应关系。Wherein, the above-mentioned preset mapping relationship set may include the corresponding relationship between the ambient temperature measured in advance under the preset air pressure condition and the resonant frequency of the speaker.
步骤302,检测所述电子设备的所述扬声器的实际谐振频率以及所述电子设备所处空间的环境温度。Step 302: Detect the actual resonant frequency of the speaker of the electronic device and the ambient temperature of the space where the electronic device is located.
步骤303,查询预设的映射关系集合确定所述环境温度对应的基准谐振频率。 Step 303 , query a preset set of mapping relationships to determine the reference resonance frequency corresponding to the ambient temperature.
步骤304,判断所述实际谐振频率是否小于所述基准谐振频率。 Step 304, judging whether the actual resonant frequency is less than the reference resonant frequency.
其中,若上述实际谐振频率大于或等于上述基准谐振频率,则执行步骤305;若上述实际谐振频率小于上述基准谐振频率,则执行步骤306。Wherein, if the above-mentioned actual resonance frequency is greater than or equal to the above-mentioned reference resonance frequency, step 305 is executed; if the above-mentioned actual resonance frequency is less than the above-mentioned reference resonance frequency, step 306 is executed.
步骤305,调用预设音频参数作为目标音频参数进行配置。 Step 305, calling preset audio parameters as target audio parameters for configuration.
其中,上述预设音频参数可以用于构建常温常压下的基准电压保护模型。The above preset audio parameters can be used to construct a reference voltage protection model under normal temperature and normal pressure.
步骤306,判断实际谐振频率小于所述基准谐振频率的差值是否大于预设阈值。Step 306: Determine whether the difference between the actual resonant frequency and the reference resonant frequency is greater than a preset threshold.
其中,若上述实际谐振频率小于上述基准谐振频率的差值小于或等于上述预设阈值,则执行步骤305;上述实际谐振频率小于上述基准谐振频率的差值大于上述预设阈值,则执行步骤307。Wherein, if the difference between the actual resonance frequency and the reference resonance frequency is less than or equal to the preset threshold, step 305 is executed; the difference between the actual resonance frequency and the reference resonance frequency is greater than the preset threshold, and step 307 is executed .
步骤307,查询预先在预设温度条件下测定的气压和所述扬声器的谐振频率之间的对应关系确定与所述实际气压对应的目标音频参数进行配置。 Step 307 , query the correspondence between the air pressure measured in advance under a preset temperature condition and the resonant frequency of the speaker to determine target audio parameters corresponding to the actual air pressure for configuration.
步骤308,检测音频播放状态。 Step 308, detecting the audio playing state.
其中,可以通过检测音频进程是否关闭来判定音频的播放状态。在音频进程关闭时,则处于音频停止播放的状态,在音频进程运行时,则处于音频播放的状态。The playback state of the audio can be determined by detecting whether the audio process is closed. When the audio process is closed, it is in the state of audio stop playing, and when the audio process is running, it is in the state of audio playing.
步骤309,在所述音频播放状态为停止播放时,将所述目标音频参数调整为所述预设音频参数。 Step 309, when the audio playing state is stop playing, adjust the target audio parameter to the preset audio parameter.
如此可以避免工作环境恢复到正常时继续采用目标音频参数导致扬声器声音过小。同时可以继续进行实时的环境温度检测。In this way, it can be avoided that the target audio parameters are continuously used when the working environment returns to normal, resulting in too low speaker sound. At the same time, real-time ambient temperature detection can be continued.
步骤310,在所述音频播放状态为播放时,则继续调用所述目标音频参数对应的目标电压保护模型。 Step 310, when the audio playing state is playing, continue to call the target voltage protection model corresponding to the target audio parameter.
上述未详细说明的步骤可以参见图2中描述的部分或全部方法的步骤,在此不再赘述。For the steps not described in detail above, reference may be made to some or all of the steps of the method described in FIG. 2 , and details are not described herein again.
为便于理解,下面进行举例说明,常温常压下的扬声器的振膜位移设定为0.43mm,此时的预设振膜位移为0.45mm,在低气压环境下,由于实际谐振频率降低导致振膜位移会增益0.1mm,此时可以通过配置目标音频参数衰减该增益或者压制低频的大音频信号来使振膜位移降低0.1mm左右,使得扬声器的振膜位移在低气压环境下也为0.43mm左右。常温常压下的扬声器振膜位移如图4A所示,谐振频率F0降低后衰减的振膜位移如图4B所示,可见,通过配置目标音频参数,可以防止扬声器的振膜位移超过预设振膜位移。In order to facilitate understanding, an example is given below. The diaphragm displacement of the loudspeaker under normal temperature and pressure is set to 0.43mm, and the preset diaphragm displacement at this time is 0.45mm. The diaphragm displacement will gain 0.1mm. At this time, the diaphragm displacement can be reduced by about 0.1mm by configuring the target audio parameters to attenuate the gain or suppress the low-frequency large audio signal, so that the diaphragm displacement of the speaker is also 0.43mm in a low pressure environment. about. The diaphragm displacement of the speaker under normal temperature and pressure is shown in Figure 4A, and the damped diaphragm displacement after the resonant frequency F0 is reduced is shown in Figure 4B. It can be seen that by configuring the target audio parameters, the diaphragm displacement of the speaker can be prevented from exceeding the preset vibration. membrane displacement.
在一个可能的实施例中,还可以通过电子设备的定位模块如GPS获取当前电子设备的海拔高度,并查询海拔高度与气压的映射关系集合确定该海拔高度对应的海拔参考气压,进一步判定该海拔参考气压是否属于低气压环境,以便对扬声器进行相关音频参数的配置,防止扬声器的振膜位移超过预设振膜位移。In a possible embodiment, the altitude of the current electronic device can also be obtained through the positioning module of the electronic device, such as GPS, and the set of mapping relationships between altitude and air pressure can be queried to determine the altitude reference air pressure corresponding to the altitude, and further determine the altitude. Whether the reference air pressure belongs to a low air pressure environment, so as to configure the relevant audio parameters of the speaker and prevent the diaphragm displacement of the speaker from exceeding the preset diaphragm displacement.
如此可以将海拔高度对应的海拔参考气压作为对照,在海拔参考气压与实际谐振频率反映的气压状态差距过大时,可以生成提升信息向用户反馈,该提示信息用于提示用户当前检测出的气压状态可能出现异常。In this way, the altitude reference air pressure corresponding to the altitude can be used as a comparison. When the difference between the altitude reference air pressure and the air pressure state reflected by the actual resonance frequency is too large, the lift information can be generated and fed back to the user. The prompt information is used to remind the user of the currently detected air pressure. Status may be abnormal.
通过上述扬声器参数配置方法,可以在排除环境温度因素的干扰后根据扬声器谐振频率的变化来模拟环境的气压变化,进而配置合适的音频参数,适用于多种环境,节省硬件成本。Through the above speaker parameter configuration method, the ambient air pressure change can be simulated according to the change of the speaker resonance frequency after eliminating the interference of the ambient temperature factor, and then the appropriate audio parameters can be configured, which is suitable for a variety of environments and saves hardware costs.
下面结合图5对本申请实施例中的一种电子设备进行说明,图5为本申请实施例提供的一种电子设备的结构示意图,如图5所示,该电子设备500包括处理器501、通信接口502、存储器503、扬声器504和温度传感器505,所述处理器、通信接口、存储器、扬声器和温度传感器相互连接,其中,电子设备500还可以包括总线506,处理器501、通信接口502和存储器503之间可以通过总线506相互连接,总线506可以是外设部件互连标准(Peripheral Component Interconnect,简称PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,简称EISA)总线等。总线506可以分为地址总线、数据总线、控制总线等。为便于表示,图5中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。所述存储器503用于存储计算机程序,所述计算机程序包括程序指令,所述扬声器504包括振膜,为电声转换器件,所述温度传感器505用于获取当前空间的环境温度,所述处理器501被配置用于调用所述程序指令,执行上述图2或图3中所描述的全部或部分方法。An electronic device in an embodiment of the present application will be described below with reference to FIG. 5, which is a schematic structural diagram of an electronic device provided by an embodiment of the present application. As shown in FIG. 5, the electronic device 500 includes a processor 501, a communication The interface 502, the memory 503, the speaker 504 and the temperature sensor 505, the processor, the communication interface, the memory, the speaker and the temperature sensor are connected to each other, wherein the electronic device 500 may further comprise a bus 506, the processor 501, the communication interface 502 and the memory 503 can be connected to each other through a bus 506, and the bus 506 can be a Peripheral Component Interconnect (PCI for short) bus or an Extended Industry Standard Architecture (EISA for short) bus or the like. The bus 506 may be divided into an address bus, a data bus, a control bus, and the like. For ease of presentation, only one thick line is used in FIG. 5, but it does not mean that there is only one bus or one type of bus. The memory 503 is used to store a computer program, the computer program includes program instructions, the speaker 504 includes a diaphragm, which is an electro-acoustic conversion device, the temperature sensor 505 is used to obtain the ambient temperature of the current space, and the processor 501 is configured to invoke the program instructions to perform all or part of the methods described in FIG. 2 or FIG. 3 above.
上述主要从方法侧执行过程的角度对本申请实施例的方案进行了介绍。可以理解的是,电子设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所提供的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The foregoing mainly introduces the solutions of the embodiments of the present application from the perspective of the method-side execution process. It can be understood that, in order to realize the above-mentioned functions, the electronic device includes corresponding hardware structures and/or software modules for executing each function. Those skilled in the art should easily realize that the present application can be implemented in hardware or in the form of a combination of hardware and computer software, in combination with the units and algorithm steps of each example described in the embodiments provided herein. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
本申请实施例可以根据上述方法示例对电子设备进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本申请实施例中 对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In this embodiment of the present application, the electronic device may be divided into functional units according to the foregoing method examples. For example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units. It should be noted that the division of units in the embodiments of the present application is illustrative, and is only a logical function division, and other division methods may be used in actual implementation.
在采用对应各个功能划分各个功能模块的情况下,下面结合图6对本申请实施例中的扬声器参数配置装置进行说明,图6为本申请实施例提供的一种扬声器参数配置装置的功能单元组成框图,应用于电子设备,该扬声器参数配置装置600包括:In the case where each functional module is divided according to each function, the speaker parameter configuration device in the embodiment of the present application is described below with reference to FIG. 6 , which is a block diagram of the functional units of the speaker parameter configuration device provided by the embodiment of the application. , applied to electronic equipment, the speaker parameter configuration device 600 includes:
检测单元610,用于检测所述电子设备的所述扬声器的实际谐振频率以及所述电子设备所处空间的环境温度;a detection unit 610, configured to detect the actual resonance frequency of the speaker of the electronic device and the ambient temperature of the space where the electronic device is located;
查询单元620,用于查询预设的映射关系集合确定所述环境温度对应的基准谐振频率,所述映射关系集合包括预先在预设气压条件下测定的环境温度和所述扬声器的谐振频率之间的对应关系;The query unit 620 is configured to query a preset set of mapping relationships to determine a reference resonance frequency corresponding to the ambient temperature, where the set of mapping relationships includes a relationship between the ambient temperature measured in advance under a preset air pressure condition and the resonance frequency of the speaker the corresponding relationship;
配置单元630,用于其中,上述目标音频参数用于使所述扬声器的振膜位移不超过预设振膜位移。The configuration unit 630 is used for wherein, the above-mentioned target audio parameters are used to make the diaphragm displacement of the speaker not exceed the preset diaphragm displacement.
可见,首先,检测所述电子设备的所述扬声器的实际谐振频率以及所述电子设备所处空间的环境温度;然后,查询预设的映射关系集合确定所述环境温度对应的基准谐振频率,所述映射关系集合包括预先在预设气压条件下测定的环境温度和所述扬声器的谐振频率之间的对应关系;接着,根据所述实际谐振频率与所述基准谐振频率确定所述电子设备所处空间的实际气压与所述预设气压之间的大小关系;最后,根据所述电子设备所处空间的实际气压与所述预设气压之间的大小关系配置目标音频参数,所述目标音频参数用于使所述扬声器的振膜位移不超过预设振膜位移。可以在排除环境温度因素的干扰后根据扬声器谐振频率的变化来模拟环境的气压变化,进而配置合适的音频参数,增加扬声器性能利用率,适用于多种环境,节省硬件成本。It can be seen that, first, the actual resonant frequency of the speaker of the electronic device and the ambient temperature of the space where the electronic device is located are detected; then, the preset mapping relationship set is queried to determine the reference resonant frequency corresponding to the ambient temperature. The set of mapping relationships includes the corresponding relationship between the ambient temperature and the resonant frequency of the loudspeaker measured in advance under a preset air pressure condition; then, determining the location where the electronic device is located according to the actual resonant frequency and the reference resonant frequency The size relationship between the actual air pressure of the space and the preset air pressure; finally, the target audio parameters are configured according to the size relationship between the actual air pressure of the space where the electronic device is located and the preset air pressure, and the target audio parameters Used to make the diaphragm displacement of the loudspeaker not exceed the preset diaphragm displacement. After excluding the interference of ambient temperature factors, the ambient air pressure change can be simulated according to the change of the resonant frequency of the loudspeaker, and then appropriate audio parameters can be configured to increase the performance utilization of the loudspeaker, which is suitable for a variety of environments and saves hardware costs.
在采用集成的单元的情况下,下面结合图7对本申请实施例中的另一种扬声器参数配置装置700进行详细说明,所述扬声器参数配置装置700包括处理单元701和通信单元702,其中,所述处理单元701,用于执行如上述方法实施例中的任一步骤,且在执行诸如发送等数据传输时,可选择的调用所述通信单元702来完成相应操作。In the case of using an integrated unit, another speaker parameter configuration apparatus 700 in this embodiment of the present application will be described in detail below with reference to FIG. 7 , the speaker parameter configuration apparatus 700 includes a processing unit 701 and a communication unit 702, wherein the The processing unit 701 is configured to perform any step in the above method embodiments, and when performing data transmission such as sending, the communication unit 702 can be selectively invoked to complete corresponding operations.
其中,所述扬声器参数配置装置700还可以包括存储单元703,用于存储程序代码和数据。所述处理单元701可以是处理器,存储单元703可以是存储器。Wherein, the speaker parameter configuration apparatus 700 may further include a storage unit 703 for storing program codes and data. The processing unit 701 may be a processor, and the storage unit 703 may be a memory.
所述处理单元701具体用于:The processing unit 701 is specifically used for:
检测所述电子设备的所述扬声器的实际谐振频率以及所述电子设备所处空间的环境温度;Detecting the actual resonant frequency of the speaker of the electronic device and the ambient temperature of the space where the electronic device is located;
查询预设的映射关系集合确定所述环境温度对应的基准谐振频率,所述映射关系集合包括预先在预设气压条件下测定的环境温度和所述扬声器的谐振频率之间的对应关系;querying a preset set of mapping relationships to determine a reference resonant frequency corresponding to the ambient temperature, where the set of mapping relationships includes a corresponding relationship between the ambient temperature measured in advance under a preset air pressure condition and the resonant frequency of the speaker;
根据所述实际谐振频率与所述基准谐振频率确定所述电子设备所处空间的实际气压与所述预设气压之间的大小关系;determining the magnitude relationship between the actual air pressure of the space where the electronic device is located and the preset air pressure according to the actual resonant frequency and the reference resonant frequency;
根据所述电子设备所处空间的实际气压与所述预设气压之间的大小关系配置目标音频参数,所述目标音频参数用于使所述扬声器的振膜位移不超过预设振膜位移。The target audio parameter is configured according to the magnitude relationship between the actual air pressure of the space where the electronic device is located and the preset air pressure, and the target audio parameter is used to make the diaphragm displacement of the speaker not exceed the preset diaphragm displacement.
首先,检测所述电子设备的所述扬声器的实际谐振频率以及所述电子设备所处空间的环境温度;然后,查询预设的映射关系集合确定所述环境温度对应的基准谐振频率,所述映射关系集合包括预先在预设气压条件下测定的环境温度和所述扬声器的谐振频率之间的对应关系;接着,根据所述实际谐振频率与所述基准谐振频率确定所述电子设备所处空间的实际气压与所述预设气压之间的大小关系;最后,根据所述电子设备所处空间的实际气压与所述预设气压之间的大小关系配置目标音频参数,所述目标音频参数用于使所述扬声器的振膜位移不超过预设振膜位移。可以在排除环境温度因素的干扰后根据扬声器谐振频率的变化来模拟环境的气压变化,进而配置合适的音频参数,增加扬声器性能利用率,适用于多种环境,节省硬件成本。First, detect the actual resonance frequency of the speaker of the electronic device and the ambient temperature of the space where the electronic device is located; then, query a preset set of mapping relationships to determine the reference resonance frequency corresponding to the ambient temperature, and the mapping The relationship set includes the corresponding relationship between the ambient temperature and the resonant frequency of the loudspeaker measured in advance under a preset air pressure condition; then, according to the actual resonant frequency and the reference resonant frequency, the space where the electronic device is located is determined. The size relationship between the actual air pressure and the preset air pressure; finally, configure target audio parameters according to the size relationship between the actual air pressure of the space where the electronic device is located and the preset air pressure, and the target audio parameters are used for The diaphragm displacement of the speaker is made not to exceed the preset diaphragm displacement. After excluding the interference of ambient temperature factors, the ambient air pressure change can be simulated according to the change of the resonant frequency of the loudspeaker, and then appropriate audio parameters can be configured to increase the performance utilization of the loudspeaker, which is suitable for a variety of environments and saves hardware costs.
可以理解的是,由于方法实施例与装置实施例为相同技术构思的不同呈现形式,因此,本申请中方法实施例部分的内容应同步适配于装置实施例部分,此处不再赘述。上述扬声器参数配置装置600和扬声器参数配置装置700均可执行上述实施例包括的全部的扬声器参数配置方法。It can be understood that, since the method embodiment and the device embodiment are different presentation forms of the same technical concept, the content of the method embodiment part in this application should be synchronously adapted to the device embodiment part, and will not be repeated here. Both the speaker parameter configuration apparatus 600 and the speaker parameter configuration apparatus 700 can execute all the speaker parameter configuration methods included in the foregoing embodiments.
本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的 计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤。Embodiments of the present application further provide a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program causes the computer to execute part or all of the steps of any method described in the above method embodiments .
本申请实施例还提供一种计算机程序产品,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤。该计算机程序产品可以为一个软件安装包,上述计算机包括电子设备。Embodiments of the present application further provide a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute any one of the method embodiments described above. some or all of the steps of the method. The computer program product may be a software installation package, and the computer includes an electronic device.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that, for the sake of simple description, the foregoing method embodiments are all expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited by the described action sequence. Because in accordance with the present application, certain steps may be performed in other orders or concurrently. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如上述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the device embodiments described above are only illustrative. For example, the division of the above-mentioned units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated. to another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical or other forms.
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and components shown as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例上述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。The above-mentioned integrated units, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art, or all or part of the technical solution, and the computer software product is stored in a memory, Several instructions are included to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the above-mentioned methods in the various embodiments of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。Those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable memory, and the memory can include: a flash disk , Read-only memory (English: Read-Only Memory, referred to as: ROM), random access device (English: Random Access Memory, referred to as: RAM), magnetic disk or optical disk, etc.
以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The embodiments of the present application have been introduced in detail above, and the principles and implementations of the present application are described in this paper by using specific examples. The descriptions of the above embodiments are only used to help understand the methods and core ideas of the present application; at the same time, for Persons of ordinary skill in the art, based on the idea of the present application, will have changes in the specific implementation manner and application scope. In summary, the contents of this specification should not be construed as limitations on the present application.

Claims (20)

  1. 一种扬声器参数配置方法,其特征在于,应用于电子设备,所述方法包括:A speaker parameter configuration method, characterized in that, applied to electronic equipment, the method comprising:
    检测所述电子设备的所述扬声器的实际谐振频率以及所述电子设备所处空间的环境温度;Detecting the actual resonant frequency of the speaker of the electronic device and the ambient temperature of the space where the electronic device is located;
    查询预设的映射关系集合确定所述环境温度对应的基准谐振频率,所述映射关系集合包括预先在预设气压条件下测定的环境温度和所述扬声器的谐振频率之间的对应关系;querying a preset set of mapping relationships to determine a reference resonant frequency corresponding to the ambient temperature, where the set of mapping relationships includes a corresponding relationship between the ambient temperature measured in advance under a preset air pressure condition and the resonant frequency of the speaker;
    根据所述实际谐振频率与所述基准谐振频率配置目标音频参数,所述目标音频参数用于使所述扬声器的振膜位移不超过预设振膜位移。Target audio parameters are configured according to the actual resonant frequency and the reference resonant frequency, and the target audio parameters are used to make the diaphragm displacement of the speaker not exceed a preset diaphragm displacement.
  2. 根据权利要求1所述的方法,其特征在于,所述查询预设的映射关系集合确定所述环境温度对应的基准谐振频率之前,所述方法还包括:The method according to claim 1, wherein before the querying a preset set of mapping relationships determines the reference resonance frequency corresponding to the ambient temperature, the method further comprises:
    通过控制变量法检测在预设气压条件不同温度下所述扬声器的谐振频率以确定所述预设映射关系集合。The resonant frequencies of the loudspeaker under preset air pressure conditions and different temperatures are detected by a control variable method to determine the preset mapping relationship set.
  3. 根据权利要求1所述的方法,其特征在于,所述根据所述实际谐振频率与所述基准谐振频率配置目标音频参数,包括:The method according to claim 1, wherein the configuring target audio parameters according to the actual resonant frequency and the reference resonant frequency comprises:
    将所述实际谐振频率与所述基准谐振频率进行对比确定对比结果;Comparing the actual resonant frequency with the reference resonant frequency to determine a comparison result;
    根据所述对比结果确定所述电子设备所处空间的实际气压与预设气压之间的大小关系;Determine the magnitude relationship between the actual air pressure and the preset air pressure of the space where the electronic device is located according to the comparison result;
    根据所述实际气压与所述预设气压之间的大小关系配置所述目标音频参数。The target audio parameter is configured according to the magnitude relationship between the actual air pressure and the preset air pressure.
  4. 根据权利要求3所述的方法,其特征在于,所述根据所述实际气压与所述预设气压之间的大小关系配置所述目标音频参数,包括:The method according to claim 3, wherein the configuring the target audio parameter according to the magnitude relationship between the actual air pressure and the preset air pressure comprises:
    在所述实际气压大于或等于所述预设气压时,将预设音频参数配置为所述目标音频参数,所述预设音频参数用于构建基准电压保护模型,所述基准电压保护模型用于通过限制电压大小来防止所述振膜的位移超过所述预设振膜位移;When the actual air pressure is greater than or equal to the preset air pressure, a preset audio parameter is configured as the target audio parameter, the preset audio parameter is used to construct a reference voltage protection model, and the reference voltage protection model is used for Prevent the displacement of the diaphragm from exceeding the preset diaphragm displacement by limiting the magnitude of the voltage;
    在所述实际气压小于所述预设气压时,根据所述实际气压与所述预设气压之间的差值配置所述目标音频参数。When the actual air pressure is less than the preset air pressure, the target audio parameter is configured according to the difference between the actual air pressure and the preset air pressure.
  5. 根据权利要求4所述的方法,其特征在于,所述在所述实际气压小于所述预设气压时,根据所述实际气压与所述预设气压之间的差值配置所述目标音频参数,包括:The method according to claim 4, wherein when the actual air pressure is less than the preset air pressure, the target audio parameter is configured according to the difference between the actual air pressure and the preset air pressure ,include:
    在所述实际气压与所述预设气压之间的差值小于或等于预设阈值时,将所述预设音频参数配置为所述目标音频参数;When the difference between the actual air pressure and the preset air pressure is less than or equal to a preset threshold, configuring the preset audio parameter as the target audio parameter;
    在所述实际气压与所述预设气压之间的差值大于所述预设阈值时,查询预先在预设温度条件下测定的气压和所述扬声器的谐振频率之间的对应关系确定与所述实际气压对应的目标音频参数进行配置,所述目标音频参数用于构建目标电压保护模型。When the difference between the actual air pressure and the preset air pressure is greater than the preset threshold, query the corresponding relationship between the air pressure measured in advance under a preset temperature condition and the resonance frequency of the speaker to determine the corresponding relationship with the preset air pressure. The target audio parameters corresponding to the actual air pressure are configured, and the target audio parameters are used to construct a target voltage protection model.
  6. 根据权利要求4所述的方法,其特征在于,所述在所述实际气压小于所述预设气压时,根据所述实际气压与所述预设气压之间的差值配置所述目标音频参数,包括:The method according to claim 4, wherein when the actual air pressure is less than the preset air pressure, the target audio parameter is configured according to the difference between the actual air pressure and the preset air pressure ,include:
    在所述实际气压与所述预设气压之间的差值小于或等于预设阈值时,将所述预设音频参数配置为所述目标音频参数;When the difference between the actual air pressure and the preset air pressure is less than or equal to a preset threshold, configuring the preset audio parameter as the target audio parameter;
    在所述实际气压与所述预设气压之间的差值大于所述预设阈值时,通过所述目标音频参数调整所述基准保护模型以实现低频部分的音频大信号的衰减或整体链路增益的衰减。When the difference between the actual air pressure and the preset air pressure is greater than the preset threshold, the reference protection model is adjusted through the target audio parameter to achieve attenuation or overall linking of large audio signals in the low frequency part gain attenuation.
  7. 根据权利要求4~6任一项所述的方法,其特征在于,所述根据所述电子设备所处空间的实际气压与所述预设气压之间的大小关系配置目标音频参数之后,所述方法还包括:The method according to any one of claims 4 to 6, wherein after the target audio parameter is configured according to the magnitude relationship between the actual air pressure of the space where the electronic device is located and the preset air pressure, the Methods also include:
    检测音频播放状态;Detect audio playback status;
    在所述音频播放状态为停止播放时,将所述目标音频参数调整为所述预设音频参数。When the audio playing state is stop playing, the target audio parameter is adjusted to the preset audio parameter.
  8. 根据权利要求7所述的方法,其特征在于,所述检测音频播放状态之后,所述方法还包括:The method according to claim 7, wherein after the detecting the audio playing state, the method further comprises:
    在所述音频播放状态为播放时,继续调用所述目标音频参数对应的目标电压保护模型。When the audio playing state is playing, continue to call the target voltage protection model corresponding to the target audio parameter.
  9. 根据权利要求1所述的方法,其特征在于,所述检测所述电子设备的所述扬声器的实际谐振频率以及所述电子设备所处空间的环境温度,包括:The method according to claim 1, wherein the detecting the actual resonant frequency of the speaker of the electronic device and the ambient temperature of the space where the electronic device is located comprises:
    通过谐振频率高速测定器或测量算法检测所述实际谐振频率;Detecting the actual resonant frequency by a resonant frequency high-speed detector or a measurement algorithm;
    通过温度传感器检测所述环境温度。The ambient temperature is detected by a temperature sensor.
  10. 一种扬声器参数配置装置,其特征在于,应用于电子设备,所述扬声器参数配置装置包括:A speaker parameter configuration device, characterized in that, applied to electronic equipment, the speaker parameter configuration device includes:
    检测单元,用于检测所述电子设备的所述扬声器的实际谐振频率以及所述电子设备所处空间的环境温度;a detection unit, configured to detect the actual resonance frequency of the speaker of the electronic device and the ambient temperature of the space where the electronic device is located;
    查询单元,用于查询预设的映射关系集合确定所述环境温度对应的基准谐振频率,所述映射关系集合包括预先在预设气压条件下测定的环境温度和所述扬声器的谐振频率之间的对应关系;The query unit is configured to query a preset set of mapping relationships to determine the reference resonance frequency corresponding to the ambient temperature, where the set of mapping relationships includes a relationship between the ambient temperature measured in advance under a preset air pressure condition and the resonance frequency of the speaker. Correspondence;
    配置单元,用于根据所述实际谐振频率与所述基准谐振频率配置目标音频参数,所述目标音频参数用于使所述扬声器的振膜位移不超过预设振膜位移。A configuration unit configured to configure target audio parameters according to the actual resonant frequency and the reference resonant frequency, where the target audio parameters are used to make the diaphragm displacement of the speaker not exceed a preset diaphragm displacement.
  11. 根据权利要求10所述的装置,其特征在于,在查询预设的映射关系集合确定所述环境温度对应的基准谐振频率之前,所述查询单元还用于:The device according to claim 10, wherein before querying a preset set of mapping relationships to determine the reference resonance frequency corresponding to the ambient temperature, the querying unit is further configured to:
    通过控制变量法检测在预设气压条件不同温度下所述扬声器的谐振频率以确定所述预设映射关系集合。The resonant frequencies of the loudspeaker under preset air pressure conditions and different temperatures are detected by a control variable method to determine the preset mapping relationship set.
  12. 根据权利要求10所述的装置,其特征在于,在根据所述实际谐振频率与所述基准谐振频率配置目标音频参数方面,所述配置单元具体用于:The device according to claim 10, wherein, in terms of configuring target audio parameters according to the actual resonant frequency and the reference resonant frequency, the configuration unit is specifically configured to:
    将所述实际谐振频率与所述基准谐振频率进行对比确定对比结果;Comparing the actual resonant frequency with the reference resonant frequency to determine a comparison result;
    根据所述对比结果确定所述电子设备所处空间的实际气压与预设气压之间的大小关系;Determine the magnitude relationship between the actual air pressure and the preset air pressure of the space where the electronic device is located according to the comparison result;
    根据所述实际气压与所述预设气压之间的大小关系配置所述目标音频参数。The target audio parameter is configured according to the magnitude relationship between the actual air pressure and the preset air pressure.
  13. 根据权利要求12所述的装置,其特征在于,在根据所述实际气压与所述预设气压之间的大小关系配置所述目标音频参数方面,所述配置单元具体用于:The device according to claim 12, wherein, in terms of configuring the target audio parameter according to the magnitude relationship between the actual air pressure and the preset air pressure, the configuration unit is specifically configured to:
    在所述实际气压大于或等于所述预设气压时,将预设音频参数配置为所述目标音频参数,所述预设音频参数用于构建基准电压保护模型,所述基准电压保护模型用于通过限制电压大小来防止所述振膜的位移超过所述预设振膜位移;When the actual air pressure is greater than or equal to the preset air pressure, a preset audio parameter is configured as the target audio parameter, the preset audio parameter is used to construct a reference voltage protection model, and the reference voltage protection model is used for Prevent the displacement of the diaphragm from exceeding the preset diaphragm displacement by limiting the magnitude of the voltage;
    在所述实际气压小于所述预设气压时,根据所述实际气压与所述预设气压之间的差值配置所述目标音频参数。When the actual air pressure is less than the preset air pressure, the target audio parameter is configured according to the difference between the actual air pressure and the preset air pressure.
  14. 根据权利要求13所述的装置,其特征在于,所述在所述实际气压小于所述预设气压时,根据所述实际气压与所述预设气压之间的差值配置所述目标音频参数方面,所述配置单元具体用于:The device according to claim 13, wherein when the actual air pressure is less than the preset air pressure, the target audio parameter is configured according to the difference between the actual air pressure and the preset air pressure In one aspect, the configuration unit is specifically used for:
    在所述实际气压与所述预设气压之间的差值小于或等于预设阈值时,将所述预设音频参数配置为所述目标音频参数;When the difference between the actual air pressure and the preset air pressure is less than or equal to a preset threshold, configuring the preset audio parameter as the target audio parameter;
    在所述实际气压与所述预设气压之间的差值大于所述预设阈值时,查询预先在预设温度条件下测定的气压和所述扬声器的谐振频率之间的对应关系确定与所述实际气压对应的目标音频参数进行配置,所述目标音频参数用于构建目标电压保护模型。When the difference between the actual air pressure and the preset air pressure is greater than the preset threshold, query the corresponding relationship between the air pressure measured in advance under a preset temperature condition and the resonance frequency of the speaker to determine the corresponding relationship with the preset air pressure. The target audio parameters corresponding to the actual air pressure are configured, and the target audio parameters are used to construct a target voltage protection model.
  15. 根据权利要求13所述的装置,其特征在于,所述在所述实际气压小于所述预设气压时,根据所述实际气压与所述预设气压之间的差值配置所述目标音频参数方面,所述配置单元具体用于:The device according to claim 13, wherein when the actual air pressure is less than the preset air pressure, the target audio parameter is configured according to the difference between the actual air pressure and the preset air pressure In one aspect, the configuration unit is specifically used for:
    在所述实际气压与所述预设气压之间的差值小于或等于预设阈值时,将所述预设音频参数配置为所述目标音频参数;When the difference between the actual air pressure and the preset air pressure is less than or equal to a preset threshold, configuring the preset audio parameter as the target audio parameter;
    在所述实际气压与所述预设气压之间的差值大于所述预设阈值时,通过所述目标音频参数调整所述基准保护模型以实现低频部分的音频大信号的衰减或整体链路增益的衰减。When the difference between the actual air pressure and the preset air pressure is greater than the preset threshold, the reference protection model is adjusted through the target audio parameter to achieve attenuation or overall linking of large audio signals in the low frequency part gain attenuation.
  16. 根据权利要求13~15任一项所述的装置,其特征在于,在根据所述电子设备所处空间的实际气压与所述预设气压之间的大小关系配置目标音频参数之后,所述配置单元还用于:The apparatus according to any one of claims 13 to 15, wherein after configuring the target audio parameters according to the magnitude relationship between the actual air pressure of the space where the electronic device is located and the preset air pressure, the configuring Units are also used to:
    检测音频播放状态;Detect audio playback status;
    在所述音频播放状态为停止播放时,将所述目标音频参数调整为所述预设音频参数。When the audio playing state is stop playing, the target audio parameter is adjusted to the preset audio parameter.
  17. 根据权利要求16所述的装置,其特征在于,在所述检测音频播放状态之后,所述配置单元还用于:The device according to claim 16, wherein after the detecting the audio playing state, the configuration unit is further configured to:
    在所述音频播放状态为播放时,继续调用所述目标音频参数对应的目标电压保护模型。When the audio playing state is playing, continue to call the target voltage protection model corresponding to the target audio parameter.
  18. 根据权利要求10所述的装置,其特征在于,在检测所述电子设备的所述扬声器的实际谐振频率以及所述电子设备所处空间的环境温度方面,所述检测单元具体用于:The device according to claim 10, wherein, in terms of detecting the actual resonant frequency of the speaker of the electronic device and the ambient temperature of the space where the electronic device is located, the detection unit is specifically configured to:
    通过谐振频率高速测定器或测量算法检测所述实际谐振频率;Detecting the actual resonant frequency by a resonant frequency high-speed detector or a measurement algorithm;
    通过温度传感器检测所述环境温度。The ambient temperature is detected by a temperature sensor.
  19. 一种电子设备,其特征在于,包括处理器、存储器、扬声器、温度传感器,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行如权利要求1~9任一项所述的方法中的步骤的指令。An electronic device comprising a processor, a memory, a speaker, a temperature sensor, and one or more programs, the one or more programs being stored in the memory and configured by the processor Executing, the program includes instructions for performing the steps in the method of any one of claims 1-9.
  20. 一种计算机存储介质,其特征在于,所述计算机存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时使所述处理器执行如权利要求1~9任一项所述的方法。A computer storage medium, characterized in that the computer storage medium stores a computer program, and the computer program includes program instructions, and the program instructions, when executed by a processor, cause the processor to execute the process according to claims 1 to 9 The method of any one.
PCT/CN2022/076320 2021-04-28 2022-02-15 Loudspeaker parameter configuration method and related apparatus WO2022227793A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110467040.7 2021-04-28
CN202110467040.7A CN113132850B (en) 2021-04-28 2021-04-28 Speaker parameter configuration method and related device

Publications (1)

Publication Number Publication Date
WO2022227793A1 true WO2022227793A1 (en) 2022-11-03

Family

ID=76780571

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/076320 WO2022227793A1 (en) 2021-04-28 2022-02-15 Loudspeaker parameter configuration method and related apparatus

Country Status (2)

Country Link
CN (1) CN113132850B (en)
WO (1) WO2022227793A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116528138A (en) * 2023-06-30 2023-08-01 东莞市金文华数码科技有限公司 Test method and system for acoustic TS parameters

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113132850B (en) * 2021-04-28 2023-05-26 Oppo广东移动通信有限公司 Speaker parameter configuration method and related device
CN113727241A (en) * 2021-08-25 2021-11-30 Oppo广东移动通信有限公司 Audio output control method and device, electronic equipment and storage medium
CN113993050B (en) * 2021-08-26 2022-05-27 地球山(北京)科技有限公司 MEMS speaker unit, MEMS digital speaker and electronic terminal

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013187718A1 (en) * 2012-06-14 2013-12-19 주식회사 이엠텍 Acoustic transducer apparatus having sound pressure adjustment function
CN103500574A (en) * 2012-08-16 2014-01-08 万喻 Intelligent electronic horn and achieving method thereof
CN108848267A (en) * 2018-06-27 2018-11-20 维沃移动通信有限公司 Audio frequency playing method and mobile terminal
CN109547894A (en) * 2018-10-24 2019-03-29 维沃移动通信有限公司 A kind of electro-acoustic element amplitude method of adjustment, device and mobile terminal
CN109997372A (en) * 2016-12-14 2019-07-09 华为技术有限公司 A kind of method and loudspeaker adjusting diaphragm oscillations equilbrium position
US20190305741A1 (en) * 2016-12-22 2019-10-03 Sony Corporation Sound processing device, method, and program
CN110662153A (en) * 2019-10-31 2020-01-07 Oppo广东移动通信有限公司 Loudspeaker adjusting method and device, storage medium and electronic equipment
CN112235700A (en) * 2020-10-30 2021-01-15 Oppo广东移动通信有限公司 Amplitude adjustment method for electroacoustic device, terminal device and readable storage medium
CN112616108A (en) * 2020-12-14 2021-04-06 Oppo广东移动通信有限公司 Audio output method, device, system, storage medium and electronic equipment
CN113132850A (en) * 2021-04-28 2021-07-16 Oppo广东移动通信有限公司 Loudspeaker parameter configuration method and related device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110113694B (en) * 2019-04-30 2021-07-20 广州三星通信技术研究有限公司 Method and apparatus for controlling audio playback in an electronic device
CN111385714B (en) * 2020-03-17 2021-07-27 维沃移动通信有限公司 Method for determining voice coil temperature of loudspeaker, electronic device and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013187718A1 (en) * 2012-06-14 2013-12-19 주식회사 이엠텍 Acoustic transducer apparatus having sound pressure adjustment function
CN103500574A (en) * 2012-08-16 2014-01-08 万喻 Intelligent electronic horn and achieving method thereof
CN109997372A (en) * 2016-12-14 2019-07-09 华为技术有限公司 A kind of method and loudspeaker adjusting diaphragm oscillations equilbrium position
US20190305741A1 (en) * 2016-12-22 2019-10-03 Sony Corporation Sound processing device, method, and program
CN108848267A (en) * 2018-06-27 2018-11-20 维沃移动通信有限公司 Audio frequency playing method and mobile terminal
CN109547894A (en) * 2018-10-24 2019-03-29 维沃移动通信有限公司 A kind of electro-acoustic element amplitude method of adjustment, device and mobile terminal
CN110662153A (en) * 2019-10-31 2020-01-07 Oppo广东移动通信有限公司 Loudspeaker adjusting method and device, storage medium and electronic equipment
CN112235700A (en) * 2020-10-30 2021-01-15 Oppo广东移动通信有限公司 Amplitude adjustment method for electroacoustic device, terminal device and readable storage medium
CN112616108A (en) * 2020-12-14 2021-04-06 Oppo广东移动通信有限公司 Audio output method, device, system, storage medium and electronic equipment
CN113132850A (en) * 2021-04-28 2021-07-16 Oppo广东移动通信有限公司 Loudspeaker parameter configuration method and related device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116528138A (en) * 2023-06-30 2023-08-01 东莞市金文华数码科技有限公司 Test method and system for acoustic TS parameters
CN116528138B (en) * 2023-06-30 2023-09-01 东莞市金文华数码科技有限公司 Test method and system for acoustic TS parameters

Also Published As

Publication number Publication date
CN113132850A (en) 2021-07-16
CN113132850B (en) 2023-05-26

Similar Documents

Publication Publication Date Title
WO2022227793A1 (en) Loudspeaker parameter configuration method and related apparatus
KR101981879B1 (en) Method and apparatus for processing voice signals
EP3084756B1 (en) Systems and methods for feedback detection
WO2021016899A1 (en) Wireless earphone control method and apparatus, wireless earphone, and storage medium
US11997461B2 (en) Proximity detection
US8165308B2 (en) Arrangement and method for determining operational mode of a communication device
WO2017131922A1 (en) Earbud control using proximity detection
TWI790236B (en) Volume adjustment method, device, electronic device and storage medium
CN111385714B (en) Method for determining voice coil temperature of loudspeaker, electronic device and storage medium
US20140341386A1 (en) Noise reduction
WO2016187946A1 (en) Volume control method, electronic device and computer storage medium
KR20210018484A (en) Howling detection technology
CN112272342A (en) Volume automatic adjusting method and device, Bluetooth headset and storage medium
NO345509B1 (en) Proximity detection
US20240171896A1 (en) Earphone and earphone control method
WO2019061292A1 (en) Noise reduction method for terminal and terminal
CN111541975B (en) Audio signal adjusting method and electronic equipment
CN116994596A (en) Howling suppression method and device, storage medium and electronic equipment
US20240187778A1 (en) Hearing device wear state detection method and apparatus, and hearing device and medium
JP2020526064A (en) Adjust speaker volume level
US20210012787A1 (en) Detection and restoration of distorted signals of blocked microphones
US20240236563A1 (en) Proximity detection
CN111669456B (en) Audio adjusting method, storage medium and electronic equipment
CN113691677B (en) Audio output control method and device, electronic equipment and storage medium
CN111741422B (en) Neck-wearing earphone audio calibration method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22794273

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22794273

Country of ref document: EP

Kind code of ref document: A1