Method and apparatus for removing dust in sound outlet hole of loudspeaker and terminal device
AssigneeGuangdong Oppo Mobile Telecommunications Corp., Ltd.
InventorLing Ouyang
Life of this patent
Estimating the term…
Abstract
A method and an apparatus for removing dust in a sound outlet hole of a loudspeaker and a terminal device are disclosed. The method includes reading a prestored audio frequency for removing dust; and playing the audio file for removing dust. When the loudspeaker plays the audio file for removing dust, a wind speed in the sound outlet hole is at a maximum.
Claims12
A method for removing dust in a sound outlet hole of a loudspeaker, comprising:
- measuring a natural frequency of the loudspeaker, generating an audio file for removing dust according to the natural frequency, and prestoring the audio file for removing dust;
- reading the prestored audio file for removing dust;
- and
- controlling the loudspeaker to play the audio file for removing dust, to generate air flow in the sound outlet hole, wherein when the loudspeaker plays the audio file for removing dust, a wind speed of the air flow in the sound outlet hole is at a maximum;
- wherein measuring the natural frequency of the loudspeaker, and generating the audio file for removing dust according to the natural frequency comprises:
- inputting exciting currents having a preset current value and various frequencies to a coil of the loudspeaker, to drive a vibration diaphragm of the loudspeaker to vibrate, wherein the air flow is generated in the sound outlet hole under the vibration of the vibration diaphragm;
- recording a frequency of a first exciting current as the natural frequency of the loudspeaker, when a vibration amplitude of the vibration diaphragm excited by the first exciting current is at a maximum;
- and
- generating the audio file for removing dust according to the first exciting current having the natural frequency.
A non-transitory computer-readable storage medium storing a computer program which, when executed by a processor, causes the processor to:
- measure a natural frequency of a loudspeaker, generate an audio file for removing dust according to the natural frequency, and prestore the audio file for removing dust;
- read the prestored audio file for removing dust;
- and
- control the loudspeaker to play the audio file for removing dust, to generate air flow in a sound outlet hole of the loudspeaker, wherein when the loudspeaker plays the audio file for removing dust, a wind speed of the air flow in the sound outlet hole is at a maximum,
- wherein the computer program executed by the processor to measure the natural frequency of the loudspeaker and generate the audio file for removing dust according to the natural frequency is executed by the processor to:
- input exciting currents having a preset current value and various frequencies to a coil of the loudspeaker, to drive a vibration diaphragm of the loudspeaker to vibrate, wherein the air flow is generated in the sound outlet hole under the vibration of the vibration diaphragm;
- record a frequency of a first exciting current as the natural frequency of the loudspeaker, when a vibration amplitude of the vibration diaphragm excited by the first exciting current is at a maximum;
- and
- generate the audio file for removing dust according to the first exciting current having the natural frequency.
A terminal device, comprising a housing, a loudspeaker disposed in the housing, a memory disposed in the housing, and a processor disposed in the housing, wherein the memory stores an audio file for removing dust, and the processor is configured to:
- measure a natural frequency of the loudspeaker, generate an audio file for removing dust according to the natural frequency, and prestore the audio file for removing dust;
- read the prestored audio file for removing dust;
- and
- control the loudspeaker to play the audio file for removing dust, to generate air flow in a sound outlet hole of the loudspeaker;
- wherein when the loudspeaker plays the audio file for removing dust, a wind speed of the air flow through the sound outlet hole is at a maximum;
- wherein the processor carrying out the action of measuring the natural frequency of the loudspeaker and generating the audio file for removing dust according to the natural frequency is configured to:
- input exciting currents having a preset current value and various frequencies to a coil of the loudspeaker, to drive a vibration diaphragm of the loudspeaker to vibrate, wherein the air flow is generated in the sound outlet hole under the vibration of the vibration diaphragm;
- record a frequency of a first exciting current as the natural frequency of the loudspeaker, when a vibration amplitude of the vibration diaphragm excited by the first exciting current is at a maximum;
- and
- generate the audio file for removing dust according to the first exciting current having the natural frequency.
Dependencies are inferred from the claim text.