Driving method and system of sounding device and mobile device

文档序号:1848046 发布日期:2021-11-16 浏览:17次 中文

阅读说明:本技术 一种发声器件的驱动方法、系统及移动设备 (Driving method and system of sounding device and mobile device ) 是由 蓝睿智 于 2021-07-22 设计创作,主要内容包括:本发明提供了一种发声器件的驱动方法、系统及移动设备,所述方法包括:获取当前环境的大气压信息;根据所述当前环境的大气压信息更新位移预测模型;获取第一驱动电压;根据所述第一驱动电压,通过更新后的位移预测模型对所述发声器件的振动部进行位移预测得到预测结果;判断所述预测结果是否超出预设的位移阈值,若所述预测结果超出预设的位移阈值,则将所述第一驱动电压进行压缩得到第二驱动电压;将所述第二驱动电压输出驱动所述发声器件工作。与相关技术相比,本发明的发声器件的驱动方法可以使发声器件适用于不同气压的环境中,确保发声器件的可靠性。(The invention provides a driving method, a system and mobile equipment of a sounding device, wherein the method comprises the following steps: acquiring atmospheric pressure information of the current environment; updating a displacement prediction model according to the atmospheric pressure information of the current environment; acquiring a first driving voltage; according to the first driving voltage, displacement prediction is carried out on the vibration part of the sounding device through an updated displacement prediction model to obtain a prediction result; judging whether the prediction result exceeds a preset displacement threshold value or not, and if the prediction result exceeds the preset displacement threshold value, compressing the first driving voltage to obtain a second driving voltage; and driving the sounding device to work by the second driving voltage output. Compared with the prior art, the driving method of the sounding device can enable the sounding device to be suitable for environments with different air pressures, and ensures the reliability of the sounding device.)

1. A method of driving a sound producing device, comprising the steps of:

acquiring atmospheric pressure information of the current environment;

updating a displacement prediction model according to the atmospheric pressure information of the current environment;

acquiring a first driving voltage;

according to the first driving voltage, displacement prediction is carried out on the vibration part of the sounding device through an updated displacement prediction model to obtain a prediction result;

judging whether the prediction result exceeds a preset displacement threshold value or not, and if the prediction result exceeds the preset displacement threshold value, compressing the first driving voltage to obtain a second driving voltage;

and driving the sounding device to work by the second driving voltage output.

2. The method according to claim 1, wherein the obtaining of the atmospheric pressure information of the current environment is obtained by a barometric pressure sensor.

3. The method of driving a sound device according to claim 1, wherein the step of obtaining atmospheric pressure information of the current environment comprises:

acquiring current driving voltage information and current information of the sounding device;

and calculating to obtain the atmospheric pressure information according to the voltage information and the current information.

4. The method of driving a sounder device according to claim 1, further comprising the steps of:

acquiring temperature information of the sounding device;

judging whether the temperature information exceeds a preset temperature threshold value or not, and if the temperature information exceeds the preset temperature threshold value, compressing the second driving voltage to obtain a third driving voltage;

and driving the sounding device to work by the third driving voltage output.

5. The method for driving a sound device according to claim 4, wherein the step of obtaining temperature information of the sound device comprises:

acquiring current driving voltage information and current information of the sounding device;

and calculating according to the voltage information and the current information to obtain the temperature information.

6. A drive system for a sound device, comprising:

the air pressure acquisition module is used for acquiring the air pressure information of the current environment;

the voltage acquisition module is used for acquiring a first driving voltage;

the displacement prediction module is used for updating a displacement prediction model according to the atmospheric pressure information of the current environment and predicting the displacement of the vibration part of the sounding device through the updated displacement prediction model according to the first driving voltage to obtain a prediction result;

the displacement protection module is used for judging whether the prediction result exceeds a preset displacement threshold value or not, and if the prediction result exceeds the preset displacement threshold value, compressing the first driving voltage to obtain a second driving voltage;

and the power amplification module is used for outputting the second driving voltage to drive the sounding device to work.

7. The system as claimed in claim 6, wherein the air pressure obtaining module is an air pressure sensor.

8. The drive system of claim 6, wherein the air pressure acquisition module comprises:

the first voltage information acquisition unit is used for acquiring the current driving voltage information of the sounding device;

the first current information acquisition unit is used for acquiring the current driving current information of the sounding device;

and the air pressure calculation unit is used for calculating the air pressure information of the current environment according to the driving voltage information, the driving current information and a preset air pressure calculation model.

9. The drive system of claim 6, further comprising:

the temperature acquisition module is used for acquiring temperature information of the sounding device;

the temperature protection module is used for judging whether the temperature information exceeds a preset temperature threshold value or not, and if the temperature information exceeds the preset temperature threshold value, compressing the second driving voltage to obtain a third driving voltage;

and the power amplification module outputs the third driving voltage to drive the sounding device to work.

10. The drive system of claim 9, wherein the temperature acquisition module comprises:

the second voltage information acquisition unit is used for acquiring the current driving voltage information of the sounding device;

the second current information acquisition unit is used for acquiring the current driving current information of the sounding device;

and the temperature calculation unit is used for calculating the temperature information of the current environment according to the driving voltage information, the driving current information and a preset temperature calculation model.

11. A mobile device comprising a sounder device and a drive system for driving the sounder device, wherein the drive system is a drive system according to any one of claims 6 to 10.

[ technical field ] A method for producing a semiconductor device

The invention relates to the field of electroacoustic conversion, in particular to a driving method and system of a sounding device and mobile equipment.

[ background of the invention ]

The rapid development and popularization of portable intelligent terminal equipment, and multimedia applications such as video entertainment and the like are receiving more and more attention. Good sound playback is an important part of the user experience of multimedia applications. The wide use of the large-amplitude miniature sound production device and the intelligent power amplifier greatly improves the sound reproduction effect of the portable intelligent terminal.

In practice, to achieve greater loudness, miniature sounders are often driven by smart power amplifiers (SmartPA), operating at amplitudes near the physical displacement limits. However, when the use scene is located in a high altitude area, the physical performance of the sounding device changes due to the reduction of the atmospheric pressure, so that the processing of the sounding device protection, the accelerator (speakerpost) and the like in SmartPA fails. The amplitude of the sound device may exceed the physical displacement limit at this time, causing the device to fail.

Therefore, there is a need to provide a new sound generation device to solve the above-mentioned drawbacks.

[ summary of the invention ]

The invention aims to provide a driving method of a sounding device which is suitable for environmental change and is not easy to damage.

In order to achieve the above object, the present invention provides a driving method of a sound generating device, comprising the steps of:

acquiring atmospheric pressure information of the current environment;

updating a displacement prediction model according to the atmospheric pressure information of the current environment;

acquiring a first driving voltage;

according to the first driving voltage, displacement prediction is carried out on the vibration part of the sounding device through an updated displacement prediction model to obtain a prediction result;

judging whether the prediction result exceeds a preset displacement threshold value or not, and if the prediction result exceeds the preset displacement threshold value, compressing the first driving voltage to obtain a second driving voltage;

and driving the sounding device to work by the second driving voltage output.

Preferably, the acquiring of the atmospheric pressure information of the current environment is acquired by an atmospheric pressure sensor.

Preferably, the step of acquiring atmospheric pressure information of the current environment includes:

acquiring current driving voltage information and current information of the sounding device;

and calculating to obtain the atmospheric pressure information according to the voltage information and the current information.

Preferably, the method further comprises the steps of:

acquiring temperature information of the sounding device;

judging whether the temperature information exceeds a preset temperature threshold value or not, and if the temperature information exceeds the preset temperature threshold value, compressing the second driving voltage to obtain a third driving voltage;

and driving the sounding device to work by the third driving voltage output.

Preferably, the step of acquiring temperature information of the sound production device includes:

acquiring current driving voltage information and current information of the sounding device;

and calculating according to the voltage information and the current information to obtain the temperature information.

The invention also provides a driving system of the sounding device, which comprises:

the air pressure acquisition module is used for acquiring the air pressure information of the current environment;

the voltage acquisition module is used for acquiring a first driving voltage;

the displacement prediction module is used for updating a displacement prediction model according to the atmospheric pressure information of the current environment and predicting the displacement of the vibration part of the sounding device through the updated displacement prediction model according to the first driving voltage to obtain a prediction result;

the displacement protection module is used for judging whether the prediction result exceeds a preset displacement threshold value or not, and if the prediction result exceeds the preset displacement threshold value, compressing the first driving voltage to obtain a second driving voltage;

and the power amplification module is used for outputting the second driving voltage to drive the sounding device to work.

Preferably, the air pressure obtaining module is an air pressure sensor.

Preferably, the air pressure obtaining module includes:

the first voltage information acquisition unit is used for acquiring the current driving voltage information of the sounding device;

the first current information acquisition unit is used for acquiring the current driving current information of the sounding device;

and the air pressure calculation unit is used for calculating the air pressure information of the current environment according to the driving voltage information, the driving current information and a preset air pressure calculation model.

Preferably, the drive system further includes:

the temperature acquisition module is used for acquiring temperature information of the sounding device;

the temperature protection module is used for judging whether the temperature information exceeds a preset temperature threshold value or not, and if the temperature information exceeds the preset temperature threshold value, compressing the second driving voltage to obtain a third driving voltage;

and the power amplification module outputs the third driving voltage to drive the sounding device to work.

Preferably, the temperature acquisition module includes:

the second voltage information acquisition unit is used for acquiring the current driving voltage information of the sounding device;

the second current information acquisition unit is used for acquiring the current driving current information of the sounding device;

and the temperature calculation unit is used for calculating the temperature information of the current environment according to the driving voltage information, the driving current information and a preset temperature calculation model.

Compared with the prior art, according to the driving method of the sounding device, the atmospheric pressure information of the current environment is obtained, and the displacement prediction module is updated according to the atmospheric pressure information, so that the displacement prediction model can update the prediction of the vibration part of the sending device according to the change of the environment, and the situation that the displacement of the vibration part cannot be accurately predicted due to the change of the physical performance of the sounding device caused by the change of the environment is avoided. Therefore, the displacement prediction model can predict based on the first driving voltage according to the updated displacement prediction model, the prediction result is transmitted to the displacement protection module, and the displacement protection module compresses the first driving voltage according to the prediction result, so that the sounding device can work in a proper voltage, and the reliability of the sounding device is ensured.

[ description of the drawings ]

In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without inventive efforts, wherein:

FIG. 1 is a schematic flow chart of a driving method for a sound device according to the present invention;

FIG. 2 is a schematic flow chart illustrating another driving method of the sound device according to the present invention;

FIG. 3 is a schematic structural diagram of a driving system according to the present invention;

FIG. 4 is a schematic structural diagram of another drive system of the present invention;

FIG. 5 is a schematic structural diagram of another driving system according to the present invention;

fig. 6 is a schematic structural diagram of a mobile device according to the present invention.

[ detailed description ] embodiments

The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

Example one

Referring to fig. 1, the present invention provides a driving method of a sound generating device, including the steps of:

101. and acquiring atmospheric pressure information of the current environment.

Specifically, since the sound generating device is generally disposed in a mobile device such as a mobile phone or a tablet, the sound generating device in this embodiment may be a MEMS speaker, or may be other types of speakers. When a user carries the device to different environments, the atmospheric pressure of the environment changes accordingly, and in this embodiment, the atmospheric pressure information of the current environment is obtained as real-time information.

102. Updating a displacement prediction model according to the atmospheric pressure information of the current environment;

specifically, the driving method of the sounding device comprises displacement prediction and displacement protection, and the displacement prediction is realized through a displacement prediction model. The displacement prediction model predicts the displacement of the vibration part of the sounding device according to the first driving voltage and judges the maximum displacement of the vibration part of the sounding device under the driving of the first driving voltage. Taking an MEMS speaker with a diaphragm as an example, if the environment changes and the atmospheric pressure changes, the physical properties of the diaphragm will change accordingly. When the loudspeaker works in a low-pressure environment, due to the fact that the physical performance of the diaphragm changes, at the moment, a prediction result (simulation displacement) output by the displacement prediction model which is not updated is far smaller than the actual displacement, and therefore displacement protection cannot compress the first driving voltage based on data close to the actual displacement. Which in turn causes the diaphragm to exceed the designed maximum amplitude and the entire sound device to fail. In this embodiment, the displacement prediction model is updated by obtaining the atmospheric pressure information of the current environment, so that the displacement prediction model can predict the first driving voltage based on the atmospheric pressure information of the current environment, and the prediction result is closer to the actual displacement.

103. A first driving voltage is obtained.

In this embodiment, the first driving voltage may be a driving voltage converted based on a sound file or a driving voltage converted based on a signal.

104. And according to the first driving voltage, carrying out displacement prediction on the vibration part of the sounding device through the updated displacement prediction model to obtain a prediction result.

The prediction result is based on the updated displacement prediction model, and the obtained prediction result is closer to the actual displacement.

105. And judging whether the prediction result exceeds a preset displacement threshold value, and if the prediction result exceeds the preset displacement threshold value, compressing the first driving voltage to obtain a second driving voltage.

Specifically, the displacement threshold may be a preset amplitude close to the physical displacement limit of the sound generating device, and when the prediction result exceeds the displacement threshold, it indicates that the amplitude of the vibrating portion of the sound generating device may exceed the physical displacement limit thereof under the driving of the first driving voltage, so that the first driving voltage needs to be compressed to a suitable value, and a second driving voltage is obtained after the compression, and under the driving of the second driving voltage, it is ensured that the amplitude of the vibrating portion does not exceed the physical displacement limit thereof.

106. And driving the sounding device to work by the second driving voltage output.

And finally, outputting the compressed second driving voltage through a power amplification module, and enabling the sounding device to work according to the driving of the second driving voltage.

In this embodiment, the acquiring of the atmospheric pressure information of the current environment is acquired by an atmospheric pressure sensor. The mobile equipment comprises a mobile equipment body, a mobile equipment body and a control device, wherein the mobile equipment body is provided with a plurality of mobile equipment internal parts, and the mobile equipment body is provided with a plurality of mobile equipment internal parts.

As an alternative embodiment, the step of acquiring the atmospheric pressure information of the current environment may further include:

1011. acquiring current driving voltage information and current information of the sounding device;

1012. and calculating to obtain the atmospheric pressure information according to the voltage information and the current information.

Specifically, the current atmospheric pressure information can be calculated according to a preset atmospheric pressure calculation model according to the current voltage information and current information of the sounding device in the working state.

In this embodiment, as shown in fig. 2, the operating temperature of the sound device is also an important factor affecting the performance and the lifetime of the sound device, and therefore, the method for driving the sound device in this embodiment further includes the steps of:

201. acquiring temperature information of a sounding device;

202. judging whether the temperature information exceeds a preset temperature threshold value or not, and if the temperature information exceeds the preset temperature threshold value, compressing the second driving voltage to obtain a third driving voltage;

203. the third driving voltage output is used to drive the sound generating device to operate, and it is noted that step 203 replaces step 106 in consideration of the temperature effect, that is, the final driving voltage of the sound generating device is the third driving voltage.

Further, the step of acquiring the temperature information of the sounding device comprises:

2011. acquiring current driving voltage information and current information of the sounding device;

2022. and calculating according to the voltage information and the current information to obtain the temperature information.

Specifically, the current temperature information can be calculated according to a preset temperature calculation model according to the voltage information and the current information of the current sounding device in the working state.

Compared with the prior art, according to the driving method of the sounding device, the atmospheric pressure information of the current environment is obtained, and the displacement prediction module is updated according to the atmospheric pressure information, so that the displacement prediction model can update the prediction of the vibration part of the sending device according to the change of the environment, and the situation that the displacement of the vibration part cannot be accurately predicted due to the change of the physical performance of the sounding device caused by the change of the environment is avoided. Therefore, the displacement prediction model can predict based on the first driving voltage according to the updated displacement prediction model, the prediction result is transmitted to the displacement protection module, and the displacement protection module compresses the first driving voltage according to the prediction result, so that the sounding device can work in a proper voltage, and the reliability of the sounding device is ensured.

Example two

As shown in fig. 3, the present invention provides a driving system 10 for a sound generating device, comprising:

the air pressure obtaining module 13 is used for obtaining the air pressure information of the current environment;

the voltage acquisition module 1 is used for acquiring a first driving voltage;

the displacement prediction module 3 is used for updating a displacement prediction model according to the atmospheric pressure information of the current environment, and predicting the displacement of the vibration part of the sounding device through the updated displacement prediction model according to the first driving voltage to obtain a prediction result;

the displacement protection module 2 is used for judging whether the prediction result exceeds a preset displacement threshold value or not, and if the prediction result exceeds the preset displacement threshold value, compressing the first driving voltage to obtain a second driving voltage;

and the power amplifier module 6 is used for outputting the second driving voltage to drive the sounding device 7 to work.

The air pressure obtaining module 13 may be an air pressure sensor disposed in the mobile device.

As an alternative embodiment, as shown in fig. 4, the air pressure obtaining module may include:

a first voltage information obtaining unit 131, configured to obtain current driving voltage information of the sound generating device;

a first current information obtaining unit 132, configured to obtain current driving current information of the sound generating device;

and an air pressure calculating unit 133, configured to calculate the atmospheric pressure information of the current environment according to the driving voltage information, the driving current information, and a preset air pressure calculation model.

Specifically, the first voltage information obtaining unit 131 may be a voltage feedback circuit disposed in the power amplifier module 6, the first current information obtaining unit 132 may also be a current feedback circuit disposed in the power amplifier module 6, and the air pressure calculating unit is preset with an air pressure calculating model and can calculate the current working atmospheric pressure (ambient atmospheric pressure) according to the voltage information and the current information.

In this embodiment, as shown in fig. 5, the driving system further includes:

the temperature acquisition module 5 is used for acquiring temperature information of the sounding device;

the temperature protection module 4 is configured to determine whether the temperature information exceeds a preset temperature threshold, and compress the second driving voltage to obtain a third driving voltage if the temperature information exceeds the preset temperature threshold;

and the power amplification module 6 is used for outputting the third driving voltage to drive the sounding device to work.

Specifically, the temperature acquisition module includes:

the second voltage information acquisition unit is used for acquiring the current driving voltage information of the sounding device;

the second current information acquisition unit is used for acquiring the current driving current information of the sounding device;

and the temperature calculation unit is used for calculating the temperature information of the current environment according to the driving voltage information, the driving current information and a preset temperature calculation model.

Here, the second voltage information acquiring unit and the first voltage information acquiring unit 131 may be the same unit, and the second current information acquiring unit and the first current information acquiring unit 132 may be the same unit.

EXAMPLE III

Based on the second embodiment, as shown in fig. 5, the present embodiment may further provide a mobile device 100, which includes a sounding device 7 and a driving system 10 for driving the sounding device 7, wherein the driving system 10 is the driving system described in the second embodiment.

While the foregoing is directed to embodiments of the present invention, it will be understood by those skilled in the art that various changes may be made without departing from the spirit and scope of the invention.

13页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种螺旋形二维声学黑洞隔振降噪结构

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!