Method and apparatus for discharging foreign matter in loudspeaker, device, and medium

By obtaining the desired motion waveform of the speaker diaphragm and driving the speaker, the technical problem of foreign objects discharge in the speaker is solved, and the effective discharge of foreign objects and the power consumption of the speaker is achieved.

WO2025118688A1PCT designated stage expired Publication Date: 2025-06-12GOERTEK INC
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/113339
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-12-06
Filing Date
2024-08-20
Publication Date
2025-06-12

AI Technical Summary

Technical Problem

Foreign objects (such as dust and liquid) in the speaker are easily entered into the housing of the electronic device, resulting in the degradation or damage of the speaker's performance. How to effectively discharge these foreign objects has become a technical problem that needs to be solved urgently.

Method used

By obtaining the desired motion waveform of the speaker diaphragm, the driving voltage waveform is determined, and the speaker is driven according to the waveform, so that the diaphragm provides as much driving force/air pressure as possible in the direction of the foreign object discharge, thereby ejecting the foreign object.

Benefits of technology

With the same power consumption, the effective discharge of foreign objects in the speaker is achieved, avoiding the degradation or damage of the speaker's performance, and taking into account the power consumption management of the speaker.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024113339_12062025_PF_FP_ABST
    Figure CN2024113339_12062025_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of loudspeakers, and discloses a method and apparatus for discharging foreign matter in a loudspeaker, a device, and a medium. The method comprises: acquiring a desired motion waveform of a diaphragm of a loudspeaker; on the basis of the desired motion waveform, determining a driving voltage waveform; and driving the loudspeaker according to the driving voltage waveform. The desired motion waveform is a desired displacement waveform or a desired acceleration waveform, a maximum amplitude when the corresponding diaphragm having the desired motion waveform moves toward a first direction is greater than a maximum amplitude when the diaphragm moves toward a second direction, and the first direction is a direction from the diaphragm to a sound outlet hole and is opposite to the second direction. By means of the method, the diaphragm can, at the same power consumption, provide the greatest possible driving force / air pressure to foreign matter in the direction of discharging foreign matter, so that the foreign matter in the loudspeaker can be discharged from the sound outlet hole.
Need to check novelty before this filing date? Find Prior Art

Description

Method, device, equipment and medium for removing foreign matter from loudspeaker Technical Field

[0001] The present application relates to the technical field of loudspeakers, and more specifically, to a method for discharging foreign matter from a loudspeaker, a device for discharging foreign matter from a loudspeaker, an electronic device, and a computer-readable storage medium. Background Art

[0002] Currently, electronic devices with speakers have become increasingly widely used, such as mobile phones and smart watches.

[0003] Typically, a speaker is enclosed in the housing of an electronic device, and an opening is required in the housing directly opposite the speaker, which serves as the sound outlet for the speaker. However, foreign matter from the outside (for example, dust and / or liquid, etc.) can easily enter the housing of the electronic device through the sound outlet and adhere to the speaker. If foreign matter attached to the speaker is not cleaned for a long time, it will cause the speaker performance to deteriorate or even be damaged. Therefore, how to remove foreign matter attached to the speaker has become a technical problem that needs to be solved urgently.

[0004] Summary of the Invention

[0005] One object of the present application is to provide a new technical solution for removing foreign matter from a loudspeaker.

[0006] According to a first aspect of the present application, a method for removing foreign matter from a speaker is provided, the method comprising:

[0007] Obtaining the desired motion waveform of the speaker diaphragm;

[0008] determining a driving voltage waveform according to the desired motion waveform;

[0009] driving the speaker according to the driving voltage waveform;

[0010] Among them, the expected motion waveform is an expected displacement waveform or an expected acceleration waveform, and the maximum amplitude of the corresponding diaphragm of the expected motion waveform when moving in the first direction is greater than the maximum amplitude when moving in the second direction, and the first direction is the direction from the diaphragm to the sound outlet and is opposite to the second direction.

[0011] Optionally, obtaining the expected motion waveform of the loudspeaker diaphragm includes:

[0012] Get the fundamental wave and harmonic components;

[0013] A desired motion waveform of the speaker diaphragm is generated according to the fundamental wave and the harmonic components.

[0014] Optionally, the frequency of the fundamental wave is 200 Hz.

[0015] Optionally, driving the speaker according to the driving voltage waveform includes:

[0016] The speaker is driven at a fixed period according to the driving voltage waveform.

[0017] Optionally, the method further includes:

[0018] Get the current temperature of the speaker;

[0019] Driving the speaker according to the driving voltage waveform includes:

[0020] When the current temperature is less than or equal to a preset temperature, the speaker is driven according to the driving voltage waveform.

[0021] Optionally, the foreign object in the speaker is liquid, and the method further includes:

[0022] Get the current speaker humidity;

[0023] Driving the speaker according to the driving voltage waveform includes:

[0024] When the current speaker humidity is greater than the current ambient humidity and the deviation from the current ambient humidity is greater than a preset deviation, the speaker is driven according to the driving voltage waveform.

[0025] According to a second aspect of the present application, a device for removing foreign matter from a speaker is provided, the device comprising:

[0026] An acquisition module, used to obtain a desired motion waveform of the loudspeaker diaphragm;

[0027] a determination module, configured to determine a driving voltage waveform according to the expected motion waveform;

[0028] A driving module, configured to drive the speaker according to the driving voltage waveform;

[0029] Among them, the expected motion waveform is an expected displacement waveform or an expected acceleration waveform, and the maximum amplitude of the corresponding diaphragm of the expected motion waveform when moving in the first direction is greater than the maximum amplitude when moving in the second direction, and the first direction is the direction from the diaphragm to the sound outlet and is opposite to the second direction.

[0030] Optionally, the acquisition module is specifically configured to:

[0031] Get the fundamental wave and harmonic components;

[0032] A desired motion waveform of the speaker diaphragm is generated according to the fundamental wave and the harmonic components.

[0033] According to a third aspect of the present application, an electronic device is provided, comprising the device for discharging foreign matter from a speaker according to any one of the second aspects; or

[0034] The electronic device includes a memory and a processor, the memory is used to store computer instructions, and the processor is used to call the computer instructions from the memory to execute the method for removing foreign matter from a speaker as described in any one of the first aspects.

[0035] According to a fourth aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method for removing foreign matter from a speaker according to any one of the first aspects is implemented.

[0036] In an embodiment of the present application, a method for expelling foreign matter from a loudspeaker is provided, comprising: obtaining a desired motion waveform of the loudspeaker diaphragm; determining a driving voltage waveform based on the desired motion waveform; and driving the loudspeaker according to the driving voltage waveform; wherein the desired motion waveform is a desired displacement waveform or a desired acceleration waveform, and the maximum amplitude of the corresponding diaphragm of the desired motion waveform when moving in a first direction is greater than the maximum amplitude when moving in a second direction, and the first direction is the direction from the diaphragm to the sound outlet and is opposite to the second direction. This method can achieve the same power consumption, in which the diaphragm provides the greatest possible driving force / air pressure to the foreign matter in the direction of foreign matter expulsion, thereby allowing the foreign matter in the loudspeaker to be expelled from the sound outlet. In addition, the method for expelling foreign matter from a loudspeaker provided in an embodiment of the present application also takes into account the power consumption of the loudspeaker when expelling foreign matter.

[0037] Other features and advantages of the present application will become apparent from the following detailed description of exemplary embodiments of the present application with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the application and, together with the description, serve to explain the principles of the application.

[0039] FIG1 is a schematic flow chart of a method for removing foreign matter from a speaker provided in an embodiment of the present application;

[0040] FIG2 is a schematic diagram of a desired motion waveform of one cycle provided by an embodiment of the present application;

[0041] FIG3 is a schematic diagram of a driving voltage sub-waveform provided in an embodiment of the present application;

[0042] FIG4 is a schematic diagram of a driving voltage waveform provided in an embodiment of the present application;

[0043] FIG5 is a schematic structural diagram of a device for removing foreign matter from a speaker provided in an embodiment of the present application;

[0044] FIG6 is a schematic structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0045] Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. It should be noted that unless otherwise specifically stated, the relative arrangements of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present application.

[0046] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present disclosure, its application, or uses.

[0047] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered part of the specification.

[0048] In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.

[0049] It should be noted that like reference numerals and letters refer to like items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0050] An embodiment of the present application provides a method for removing foreign matter from a speaker. As shown in FIG1 , the method includes the following steps S1100 to S1300 .

[0051] S1100: Obtain a desired motion waveform of a loudspeaker diaphragm.

[0052] Among them, the expected motion waveform is an expected displacement waveform or an expected acceleration waveform, and the maximum amplitude of the expected motion waveform corresponding to the diaphragm moving in the first direction is greater than the maximum amplitude when moving in the second direction. The first direction is the direction from the diaphragm to the sound outlet and is opposite to the second direction.

[0053] In an embodiment of the present application, the speaker is enclosed in a shell, and an opening is provided on the shell. The opening serves as a sound outlet of the speaker and is opposite to the diaphragm surface of the speaker.

[0054] The diaphragm first moves in a first direction, i.e., toward the sound outlet, and then moves in a second direction, i.e., away from the sound outlet, during a vibration cycle. Alternatively, the diaphragm first moves in the second direction, and then moves in the first direction during a vibration cycle.

[0055] The desired motion waveform is the desired amount of movement of the speaker's diaphragm at different times. Specifically, if the desired motion waveform is a desired displacement waveform, then the desired motion waveform is the desired displacement value of the speaker's diaphragm at different times. Furthermore, if the desired motion waveform is a desired acceleration waveform, then the desired motion waveform is the desired acceleration value of the speaker's diaphragm at different times.

[0056] In the embodiment of the present application, it is expected that the maximum amplitude of the diaphragm corresponding to the motion waveform when moving in the first direction is greater than the maximum amplitude when moving in the second direction, that is, the bilateral amplitude of the speaker diaphragm is asymmetric.

[0057] Specifically, when the desired motion waveform is a displacement waveform, the maximum displacement value of the diaphragm corresponding to the desired motion waveform when moving in the first direction is greater than the maximum displacement value when moving in the second direction. Similarly, when the desired motion waveform is an acceleration waveform, the maximum acceleration value of the diaphragm corresponding to the desired motion waveform when moving in the first direction is greater than the maximum acceleration value when moving in the second direction. That is, in this embodiment of the present application, the desired motion waveform is an asymmetric waveform.

[0058] In one example, the waveform of one cycle of the desired motion waveform can be exemplarily shown in Figure 2. When the desired motion waveform is a displacement waveform, a displacement value greater than or equal to 0 refers to a displacement value for movement in a first direction, and a displacement value less than 0 refers to a displacement value for movement in a second direction. Furthermore, when the desired motion waveform is an acceleration waveform, an acceleration value greater than or equal to 0 refers to an acceleration value for movement in the first direction, and an acceleration value less than 0 refers to an acceleration value for movement in the second direction.

[0059] It is understandable that the foreign matter attached to the speaker includes foreign matter attached to the speaker diaphragm and foreign matter attached to the non-diaphragm part of the speaker (for example, the space between the sound outlet and the diaphragm).

[0060] The average value of the speaker diaphragm's bilateral excitation amplitude is defined as the mean amplitude. A larger mean amplitude indicates higher power consumption. Therefore, for the same mean amplitude, or equivalent power consumption, the larger amplitude of an asymmetric bilateral excitation will be larger than either side of a symmetric bilateral excitation amplitude. In other words, for the same power consumption, the more asymmetric the amplitude, the greater the larger amplitude of the bilateral excitation, and the greater the driving force / air pressure exerted on the foreign object.

[0061] Based on the above, if the maximum amplitude of the diaphragm moving in the first direction corresponding to the desired motion waveform is greater than the maximum amplitude of the diaphragm moving in the second direction, then, for a foreign object attached to the diaphragm, the driving force provided by the diaphragm to the foreign object in the first direction will be greater than the driving force provided by the diaphragm to the foreign object in the second direction at the same power consumption. In other words, at the same power consumption, the diaphragm provides the greatest possible driving force in the first direction.

[0062] For foreign objects attached to a part of the speaker other than the diaphragm, the air pressure provided by the diaphragm in the first direction toward the foreign object is greater than the air pressure provided by the diaphragm in the second direction, at the same power consumption. In other words, the diaphragm provides the highest possible air pressure in the first direction, at the same power consumption.

[0063] Since the first direction is the direction of the speaker diaphragm pointing towards the sound outlet, and foreign matter can be discharged from the sound outlet, under the same power consumption, the diaphragm provides the greatest possible driving force / air pressure to the foreign matter in the direction of foreign matter discharge, so that foreign matter attached to the diaphragm can be discharged from the sound outlet.

[0064] S1200 : Determine a driving voltage waveform according to a desired motion waveform.

[0065] In the embodiment of the present application, the speaker is driven by a driving voltage, and under the driving voltage, the diaphragm of the speaker vibrates. The driving voltage waveform in the above S1200 is specifically: a driving voltage waveform obtained based on the expected motion waveform that can drive the speaker to move according to the expected motion waveform.

[0066] In one embodiment of the present application, the specific implementation of S1200 may include: obtaining speaker model parameters; obtaining a driving voltage sub-waveform based on a desired motion waveform of one cycle and the speaker model parameters; and composing the driving voltage waveform in S1200 from multiple driving voltage sub-waveforms. That is, the driving voltage waveform in S1200 is a combination of multiple driving voltage sub-waveforms.

[0067] The model parameters of the loudspeaker are inherent parameters of the loudspeaker and are known in advance. In addition, the present application does not limit the number of driving voltage sub-waveforms in the driving voltage waveform.

[0068] In one example, taking the expected motion waveform of one cycle shown in FIG. 2 as an example, the driving voltage sub-waveform obtained based on the above S1200 may be as shown in FIG. 3 .

[0069] S1300: Drive the speaker according to the driving voltage waveform.

[0070] In the embodiment of the present application, a driving voltage is input to the speaker according to the driving voltage waveform to drive the speaker. The diaphragm of the speaker vibrates, and the motion waveform formed when the diaphragm vibrates matches the desired motion waveform in the above-mentioned S1100. In this way, under the same power consumption, the diaphragm provides the greatest possible driving force / air pressure to the foreign matter in the direction of foreign matter discharge, which allows the foreign matter in the speaker to be discharged from the sound outlet. Based on this, it can be understood that the method for discharging foreign matter from the speaker provided in the embodiment of the present application also takes into account the power consumption of the speaker when discharging foreign matter.

[0071] In an embodiment of the present application, a method for expelling foreign matter from a loudspeaker is provided, comprising: obtaining a desired motion waveform of the loudspeaker diaphragm; determining a driving voltage waveform based on the desired motion waveform; and driving the loudspeaker according to the driving voltage waveform; wherein the desired motion waveform is a desired displacement waveform or a desired acceleration waveform, and the maximum amplitude of the corresponding diaphragm of the desired motion waveform when moving in a first direction is greater than the maximum amplitude when moving in a second direction, and the first direction is the direction from the diaphragm to the sound outlet and is opposite to the second direction. This method can achieve the same power consumption, in which the diaphragm provides the greatest possible driving force / air pressure to the foreign matter in the direction of foreign matter expulsion, thereby allowing the foreign matter in the loudspeaker to be expelled from the sound outlet. In addition, the method for expelling foreign matter from a loudspeaker provided in an embodiment of the present application also takes into account the power consumption of the loudspeaker when expelling foreign matter.

[0072] In one embodiment of the present application, the above-mentioned S1100 can be specifically implemented through the following S1110 and S1111.

[0073] S1110 , obtaining fundamental wave and harmonic components.

[0074] In one embodiment of the present application, the lower the fundamental frequency, the longer the duration of a single fundamental cycle, and the longer the duration of the driving force / air pressure provided by the diaphragm to the foreign object when moving in the first direction. Therefore, the possibility of foreign matter being expelled is greater. However, a fundamental frequency that is too low will also result in excessive driving voltage and power consumption required to produce the same amplitude, exceeding the limitations of the speaker hardware. Therefore, after weighing the above pros and cons, a frequency of 200Hz is selected as the fundamental frequency. That is, the fundamental frequency is 200Hz.

[0075] Of course, the frequency of the fundamental wave can also be other values, and this application does not limit the specific value of the fundamental wave frequency.

[0076] S1111 . Generate a desired motion waveform of the speaker diaphragm according to the fundamental wave and harmonic components.

[0077] In the embodiment of the present application, for any fundamental wave, a certain harmonic component is superimposed thereon, so that the desired motion waveform of one cycle obtained after superposition can exhibit the asymmetric characteristics of positive and negative amplitudes as shown in FIG2 .

[0078] Based on the above S1110 and S1111, a simple and fast method for obtaining a desired motion waveform is provided.

[0079] In one embodiment of the present application, the above S1300 can be implemented according to the following S1310.

[0080] S1310 , driving the speaker at a fixed period according to the driving voltage waveform.

[0081] In one embodiment of the present application, the duration of the cycle in S1310 is exemplarily 0.1s. It should be noted that in the embodiment of the present application, the specific value of the duration of the cycle in S1310 is not limited.

[0082] In this embodiment of the present application, by periodically driving the speaker according to the driving voltage waveform, it is possible to repeatedly drive the speaker for a period of time and then stop for a period of time. This can prevent the speaker from overheating and being damaged. In other words, in this embodiment, the safety of the speaker is ensured while removing the object.

[0083] In combination with the embodiment shown in S1310 above, based on the example shown in FIG3 , a driving voltage waveform formed by combining multiple driving voltage sub-waveforms is shown in FIG4 .

[0084] In one embodiment of the present application, the method for removing foreign matter from a speaker provided in the embodiment of the present application further includes the following S1400.

[0085] S1400: Obtain the current temperature of the speaker.

[0086] In one embodiment of the present application, a temperature sensor may be provided near the speaker, and the temperature of the speaker may be acquired based on the temperature sensor. In this embodiment of the present application, the temperature of the speaker at the current moment is recorded as the current temperature.

[0087] Based on the above S1400, the above S1300 can be specifically implemented through the following S1320.

[0088] S1320: When the current temperature is less than or equal to the preset temperature, drive the speaker according to the driving voltage waveform.

[0089] In the embodiment of the present application, the preset temperature is the maximum temperature of the speaker that can ensure the safe operation of the speaker.

[0090] When the speaker is driven according to the driving voltage waveform, it generates heat. To prevent damage to the speaker caused by excessive temperature, the speaker is driven according to the driving voltage waveform only when the current temperature is less than or equal to a preset temperature. This means that in this embodiment, the speaker's safety is ensured while removing the object.

[0091] Corresponding to S1320 above, if the current temperature is greater than the preset temperature, the step of driving the speaker according to the driving voltage waveform is stopped. This prevents damage to the speaker due to overheating. When the step of driving the speaker according to the driving voltage waveform is stopped, the speaker dissipates heat, thereby lowering the speaker temperature. If the speaker temperature drops to less than or equal to the preset temperature, S1320 above is triggered to expel the foreign object from the speaker.

[0092] In one embodiment of the present application, the foreign matter in the speaker is liquid, and the method for removing the foreign matter from the speaker provided in the embodiment of the present application further includes the following S1500.

[0093] S1500: Get the current speaker humidity.

[0094] In one embodiment of the present application, a humidity sensor may be provided in the speaker, and the humidity of the speaker may be obtained based on the humidity sensor. In the embodiment of the present application, the humidity of the speaker at the current moment is recorded as the current speaker humidity.

[0095] Based on the above S1500, the above S1300 can be specifically implemented through the following S1330.

[0096] S1330: When the current speaker humidity is greater than the current ambient humidity and the deviation from the current ambient humidity is greater than a preset deviation, drive the speaker according to the driving voltage waveform.

[0097] In one embodiment of the present application, a humidity sensor that is in contact with the environment can be provided on the speaker or the electronic device where the speaker is located, and the humidity of the environment in which the speaker is located can be obtained based on the humidity sensor. In this embodiment of the present application, the humidity of the environment at the current moment is recorded as the current environment humidity.

[0098] Furthermore, the above-mentioned preset deviation can be set based on experience.

[0099] In this embodiment of the present application, if the current speaker humidity is greater than the current ambient humidity, and the deviation from the current ambient humidity is greater than a preset deviation, it indicates that there is liquid foreign matter in the speaker. At this point, the speaker is driven according to the drive voltage waveform to cause the diaphragm to vibrate, thereby expelling the liquid foreign matter. In other words, in this embodiment of the present application, the speaker is driven to cause the diaphragm to vibrate only when liquid foreign matter is attached to the speaker. This avoids unnecessary energy consumption in the speaker.

[0100] Corresponding to the above S1330, when the current speaker humidity is less than the current ambient humidity, or when the current speaker humidity is greater than the current ambient humidity, but the deviation from the current ambient humidity is less than or equal to the preset deviation, it means that the speaker humidity is equivalent to the ambient humidity, and there is no liquid foreign matter in the speaker. At this time, the step of driving the speaker according to the driving voltage waveform is not executed.

[0101] The embodiment of the present application further provides a device 500 for removing foreign matter from a speaker, as shown in FIG5 , comprising:

[0102] An acquisition module 510 is configured to acquire a desired motion waveform of a loudspeaker diaphragm;

[0103] A determination module 520 is configured to determine a driving voltage waveform according to the desired motion waveform;

[0104] A driving module 530, configured to drive the speaker according to the driving voltage waveform;

[0105] Among them, the expected motion waveform is an expected displacement waveform or an expected acceleration waveform, and the maximum amplitude of the corresponding diaphragm of the expected motion waveform when moving in the first direction is greater than the maximum amplitude when moving in the second direction, and the first direction is the direction from the diaphragm to the sound outlet and is opposite to the second direction.

[0106] In one embodiment of the present application, the device for discharging foreign matter from the speaker may be, for example, the speaker itself.

[0107] This device can achieve the maximum possible driving force / air pressure on the diaphragm in the direction of foreign matter expulsion while maintaining the same power consumption. This allows foreign matter attached to the speaker to be expelled from the sound outlet. Furthermore, the foreign matter expulsion device provided in the embodiment of the present application not only expel foreign matter but also takes into account the power consumption of the speaker.

[0108] In one embodiment of the present application, the acquisition module 510 is specifically configured to:

[0109] Get the fundamental wave and harmonic components;

[0110] A desired motion waveform of the speaker diaphragm is generated according to the fundamental wave and the harmonic components.

[0111] In one embodiment of the present application, the frequency of the fundamental wave is 200 Hz.

[0112] In one embodiment of the present application, the driving module 530 is specifically configured to:

[0113] The speaker is driven at a fixed period according to the driving voltage waveform.

[0114] In one embodiment of the present application, the acquisition module 510 is further configured to:

[0115] Get the current temperature of the speaker;

[0116] In the embodiment of the present application, the driving module 530 is specifically configured to:

[0117] When the current temperature is less than or equal to a preset temperature, the speaker is driven according to the driving voltage waveform.

[0118] In one embodiment of the present application, the acquisition module 510 is further configured to:

[0119] Get the current speaker humidity;

[0120] In the embodiment of the present application, the driving module 530 is specifically configured to:

[0121] When the current speaker humidity is greater than the current ambient humidity and the deviation from the current ambient humidity is greater than a preset deviation, the speaker is driven according to the driving voltage waveform.

[0122] The present application also provides an electronic device 600, which includes the device 500 for removing foreign matter from a speaker provided by any of the above-mentioned device embodiments.

[0123] Alternatively, as shown in Figure 6, the electronic device 600 includes a memory 610 and a processor 620, the memory 610 is used to store computer instructions, and the processor 620 is used to call the computer instructions from the memory 610 to execute the method for removing foreign matter from a speaker as described in any one of the above method embodiments.

[0124] In the embodiment of the present application, the electronic device 600 is specifically an electronic device including a speaker. For example, the electronic device 600 can be a mobile phone, a smart watch, a tablet computer, or a speaker.

[0125] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the computer program implements the method for removing foreign matter from a speaker according to any one of the above method embodiments.

[0126] The present application may be a system, method and / or computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present application.

[0127] A computer-readable storage medium can be a tangible device that can hold and store instructions for use by an instruction execution device. A computer-readable storage medium can be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination thereof. As used herein, a computer-readable storage medium is not to be construed as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through an electrical wire.

[0128] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions to be stored in the computer-readable storage medium in each computing / processing device.

[0129] The computer program instructions for performing the operation of the present application can be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data or source code or object code written in any combination of one or more programming languages, wherein the programming language includes object-oriented programming languages ​​such as Smalltalk, C++, and conventional procedural programming languages ​​such as "C" language or similar programming languages. Computer-readable program instructions can be executed completely on the user's computer, partially on the user's computer, executed as an independent software package, partially on the user's computer and partially on a remote computer, or executed completely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer by any type of network including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (such as by using an Internet service provider to connect to the Internet). In certain embodiments, by utilizing the state information of computer-readable program instructions to personalize electronic circuits, such as programmable logic circuits, field programmable gate arrays (FPGAs) or programmable logic arrays (PLAs), the electronic circuits can execute computer-readable program instructions, thereby realizing various aspects of the present application.

[0130] Various aspects of the present application are described herein with reference to flowcharts and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It should be understood that each block of the flowcharts and / or block diagrams, and combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer-readable program instructions.

[0131] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device is generated that implements the functions / actions specified in one or more blocks in the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, where these instructions cause the computer, programmable data processing device, and / or other device to operate in a specific manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing various aspects of the functions / actions specified in one or more blocks in the flowchart and / or block diagram.

[0132] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more blocks in the flowchart and / or block diagram.

[0133] The flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a part of a module, program segment or instruction, and the part of the module, program segment or instruction contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that implementation by hardware, implementation by software, and implementation by a combination of software and hardware are all equivalent.

[0134] The embodiments of the present application have been described above. The above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terms used herein are selected to best explain the principles of the embodiments, practical applications, or technical improvements to technologies in the market, or to enable other persons skilled in the art to understand the embodiments disclosed herein. The scope of this application is defined by the appended claims.

Claims

1. A method for removing foreign matter from a speaker, characterized in that: The method comprises: Obtaining the expected motion waveform of the speaker diaphragm; Determining a driving voltage waveform according to the desired motion waveform; driving the speaker according to the driving voltage waveform; Among them, the expected motion waveform is an expected displacement waveform or an expected acceleration waveform, and the maximum amplitude of the corresponding diaphragm of the expected motion waveform when moving in a first direction is greater than the maximum amplitude when moving in a second direction, and the first direction is the direction from the diaphragm to the sound outlet and is opposite to the second direction.

2. The method according to claim 1, characterized in that The obtaining of the expected motion waveform of the loudspeaker diaphragm comprises: Get the fundamental wave and harmonic components; A desired motion waveform of the speaker diaphragm is generated according to the fundamental wave and the harmonic components.

3. The method according to claim 2, characterized in that The frequency of the fundamental wave is 200 Hz.

4. The method according to claim 1, characterized in that: The step of driving the speaker according to the driving voltage waveform comprises: The speaker is driven at a fixed period according to the driving voltage waveform.

5. The method according to claim 1, characterized in that The method further comprises: Get the current temperature of the speaker; The step of driving the speaker according to the driving voltage waveform comprises: When the current temperature is less than or equal to a preset temperature, the speaker is driven according to the driving voltage waveform.

6. The method according to claim 1, characterized in that The foreign object in the speaker is liquid, and the method further includes: Get the current speaker humidity; The step of driving the speaker according to the driving voltage waveform comprises: When the current speaker humidity is greater than the current ambient humidity and the deviation from the current ambient humidity is greater than a preset deviation, the speaker is driven according to the driving voltage waveform.

7. A device for removing foreign matter from a speaker, characterized in that: The device comprises: An acquisition module, used for acquiring a desired motion waveform of a loudspeaker diaphragm; A determination module, used to determine a driving voltage waveform according to the expected motion waveform; A driving module, used to drive the speaker according to the driving voltage waveform; Among them, the expected motion waveform is an expected displacement waveform or an expected acceleration waveform, and the maximum amplitude of the corresponding diaphragm of the expected motion waveform when moving in a first direction is greater than the maximum amplitude when moving in a second direction, and the first direction is the direction from the diaphragm to the sound outlet and is opposite to the second direction.

8. The device according to claim 7, characterized in that The acquisition module is specifically used for: Get the fundamental wave and harmonic components; A desired motion waveform of the speaker diaphragm is generated according to the fundamental wave and the harmonic components.

9. An electronic device, characterized in that: The electronic device comprises the device for discharging foreign matter in a speaker as claimed in claim 7 or 8; or, The electronic device comprises a memory and a processor, wherein the memory is used to store computer instructions, and the processor is used to call the computer instructions from the memory to execute the method for removing foreign matter from a speaker as described in any one of claims 1-6.

10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor, the method for removing foreign matter from a speaker according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Method for removing foreign matters in loudspeaker and mobile terminal

    CN106792423A

  • A loudspeaker drainage method and device

    CN109698989A

  • Loudspeaker control device and associated sound broadcasting equipment

    CN111010651A

  • Method, device and equipment for discharging foreign matters in loudspeaker and medium

    CN117812506A

  • Method and apparatus for dealing with blockage of ventilation holes of loudspeaker, and terminal device

    EP3582515A1