CN112887893A - Loudspeaker using method, device and medium - Google Patents
Loudspeaker using method, device and medium Download PDFInfo
- Publication number
- CN112887893A CN112887893A CN202110148486.3A CN202110148486A CN112887893A CN 112887893 A CN112887893 A CN 112887893A CN 202110148486 A CN202110148486 A CN 202110148486A CN 112887893 A CN112887893 A CN 112887893A
- Authority
- CN
- China
- Prior art keywords
- frequency domain
- loudspeaker
- value
- impedance value
- domain reference
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 48
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 claims abstract description 37
- 238000005259 measurement Methods 0.000 claims description 64
- 238000012545 processing Methods 0.000 description 12
- 238000004891 communication Methods 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 4
- 230000002035 prolonged effect Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 230000009466 transformation Effects 0.000 description 4
- 238000007726 management method Methods 0.000 description 3
- 239000000047 product Substances 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 239000007795 chemical reaction product Substances 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007257 malfunction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R29/00—Monitoring arrangements; Testing arrangements
- H04R29/001—Monitoring arrangements; Testing arrangements for loudspeakers
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B21/00—Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
- G08B21/18—Status alarms
- G08B21/24—Reminder alarms, e.g. anti-loss alarms
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R2499/00—Aspects covered by H04R or H04S not otherwise provided for in their subgroups
- H04R2499/10—General applications
- H04R2499/11—Transducers incorporated or for use in hand-held devices, e.g. mobile phones, PDA's, camera's
Landscapes
- Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- Emergency Management (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Otolaryngology (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
The disclosure relates to a speaker using method, device and medium. The method is applied to the terminal and comprises the following steps: acquiring a frequency domain reference impedance value of the loudspeaker; acquiring a frequency domain measured impedance value of the loudspeaker; and when the difference value between the frequency domain measured impedance value and the frequency domain reference impedance value is larger than a set threshold value, determining that the loudspeaker has a fault and automatically interrupting the work of the loudspeaker. By adopting the method, the user is reminded to stop using the loudspeaker and/or automatically stop working of the loudspeaker when the loudspeaker is determined to be fed with water, so that the aim of protecting the loudspeaker is fulfilled.
Description
Technical Field
The present disclosure relates to the field of speaker technologies, and in particular, to a speaker using method, device, and medium.
Background
At present, users increasingly use electronic terminal products, most of which have a multimedia playing function, and therefore, speakers are basically integrated. Therefore, the service life of the loudspeaker determines the service life of the electronic terminal product to a certain extent.
During the use of electronic end products by users, the end products are often exposed to water for various reasons, which leads to water ingress into the speakers. When the loudspeaker is used when water enters, the pronunciation of the loudspeaker is affected, the service life of the loudspeaker is seriously affected, and therefore the use of an electronic terminal product is finally affected.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a speaker using method, apparatus, and medium.
According to a first aspect of the embodiments of the present disclosure, there is provided a speaker using method, the method being applied to a terminal, the terminal including the speaker, the method including:
acquiring a frequency domain reference impedance value of the loudspeaker;
acquiring a frequency domain measured impedance value of the loudspeaker;
and when the difference value between the frequency domain measured impedance value and the frequency domain reference impedance value is larger than a set threshold value, determining that the loudspeaker has a fault and automatically interrupting the work of the loudspeaker.
Wherein the obtaining of the frequency domain reference impedance value of the loudspeaker comprises:
acquiring time domain reference voltage and time domain reference current in a first set time period when the loudspeaker is in a normal working state under the condition that water does not enter the loudspeaker;
converting the time domain reference voltage and the time domain reference current into a frequency domain to obtain corresponding frequency domain reference voltage and frequency domain reference current;
calculating to obtain frequency domain reference impedance based on the frequency domain reference voltage and the frequency domain reference current;
and selecting the peak value of the frequency domain reference impedance as the reference impedance value.
Wherein the obtaining a frequency domain measured impedance value for the loudspeaker comprises:
acquiring time-domain measurement voltage and time-domain measurement current of the loudspeaker within a second set time period;
converting the time domain measurement voltage and the time domain measurement current into a frequency domain to obtain corresponding frequency domain measurement voltage and frequency domain measurement current;
calculating to obtain frequency domain measurement impedance based on the frequency domain measurement voltage and the frequency domain measurement current;
and selecting the peak value of the frequency domain measured impedance as the measured impedance value.
Wherein the method further comprises:
and sending out prompt information for indicating that the loudspeaker is in failure.
Wherein the value of the set threshold is 1 ohm.
The value range of the first set time period is 0.01 second to 1 second, and the value range of the second set time period is 0.01 second to 1 second.
According to a second aspect of the embodiments of the present disclosure, there is provided a speaker using apparatus, the apparatus being applied to a terminal including the speaker, the apparatus including:
a first obtaining module configured to obtain a frequency domain reference impedance value of the speaker;
a second obtaining module configured to obtain a frequency domain measured impedance value of the speaker;
a first determination module configured to determine that the speaker is malfunctioning and to automatically interrupt operation of the speaker when a difference between the frequency domain measured impedance value and the frequency domain reference impedance value is greater than a set threshold.
Wherein the first obtaining module is further configured to:
acquiring time domain reference voltage and time domain reference current in a first set time period when the loudspeaker is in a normal working state under the condition that water does not enter the loudspeaker;
converting the time domain reference voltage and the time domain reference current into a frequency domain to obtain corresponding frequency domain reference voltage and frequency domain reference current;
calculating to obtain frequency domain reference impedance based on the frequency domain reference voltage and the frequency domain reference current;
and selecting the peak value of the frequency domain reference impedance as the reference impedance value.
Wherein the second obtaining module is further configured to:
acquiring time-domain measurement voltage and time-domain measurement current of the loudspeaker within a second set time period;
converting the time domain measurement voltage and the time domain measurement current into a frequency domain to obtain corresponding frequency domain measurement voltage and frequency domain measurement current;
calculating to obtain frequency domain measurement impedance based on the frequency domain measurement voltage and the frequency domain measurement current;
and selecting the peak value of the frequency domain measured impedance as the measured impedance value.
Wherein the apparatus further comprises a prompt module arranged to:
and sending out prompt information for indicating that the loudspeaker is in failure.
Wherein the value range of the set threshold is 1 ohm.
The value range of the first set time period is 0.01 second to 1 second, and the value range of the second set time period is 0.01 second to 1 second.
According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus provided with a speaker, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to implement the following steps when executing the executable instructions:
acquiring a frequency domain reference impedance value of the loudspeaker;
acquiring a frequency domain measured impedance value of the loudspeaker;
and when the difference value between the frequency domain measured impedance value and the frequency domain reference impedance value is larger than a set threshold value, determining that the loudspeaker has a fault and automatically interrupting the work of the loudspeaker.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium having instructions which, when executed by a processor of an apparatus, enable the apparatus to perform a method of speaker usage, the method comprising:
acquiring a frequency domain reference impedance value of the loudspeaker;
acquiring a frequency domain measured impedance value of the loudspeaker;
and when the difference value between the frequency domain measured impedance value and the frequency domain reference impedance value is larger than a set threshold value, determining that the loudspeaker has a fault and automatically interrupting the work of the loudspeaker.
In the method of the present disclosure, a reference impedance value of the speaker is obtained, and a measured impedance value of the speaker is obtained, where the reference impedance value and the measured impedance value are both impedance values in a frequency domain, the reference impedance value is compared with the measured impedance value, and when a difference between the measured impedance value and the reference value is greater than a set threshold, it is determined that the speaker is in water supply, and the speaker stops working. Therefore, whether the loudspeaker enters water is detected in real time when the loudspeaker is used, if the loudspeaker enters water, a user is reminded to stop using the loudspeaker and/or automatically stop working of the loudspeaker, damage to the loudspeaker caused by the loudspeaker is avoided when the loudspeaker enters water, and the purpose of protecting the loudspeaker is achieved. By adopting the method, the service life of the loudspeaker can be prolonged, the service life of the electronic terminal equipment is further prolonged, and the use experience of a user is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a flow chart illustrating a method of speaker usage according to an exemplary embodiment.
Fig. 2 is a flow chart illustrating a method of speaker usage according to an exemplary embodiment.
Fig. 3 is a block diagram illustrating a speaker using apparatus according to an exemplary embodiment.
FIG. 4 is a block diagram illustrating an apparatus in accordance with an example embodiment.
FIG. 5 is a block diagram illustrating an apparatus in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
When the water is fed into the loudspeaker, the sounding of the loudspeaker is affected, and the service life of the loudspeaker is seriously affected. Therefore, it is desirable to detect whether or not the speaker is being fed with water in real time during use of the speaker.
The present disclosure provides a loudspeaker using method, which is to detect whether the loudspeaker is in water or not in real time when the loudspeaker is used, so as to avoid damage to the loudspeaker caused by continuous use of the loudspeaker when the loudspeaker is in water. Specifically, a reference impedance value of the loudspeaker is obtained, a measured impedance value of the loudspeaker is obtained, the reference impedance value and the measured impedance value are impedance values in a frequency domain, the reference impedance value and the measured impedance value are compared, when the difference value between the measured impedance value and the reference value is larger than a set threshold value, water inflow of the loudspeaker is determined, and the loudspeaker stops working.
The method is applied to the electronic terminal equipment provided with the loudspeaker. The electronic terminal device can be a mobile phone, a PAD, a sound, a wearable device and the like.
Fig. 1 is a flowchart illustrating a speaker using method according to an exemplary embodiment, the method being applied to a terminal including a speaker, as shown in fig. 1, the method including the steps of:
102, acquiring a frequency domain measured impedance value of the loudspeaker;
and 103, when the difference value between the frequency domain measured impedance value and the frequency domain reference impedance value is larger than a set threshold value, determining that the loudspeaker has a fault and automatically interrupting the work of the loudspeaker.
Repeated experimental research shows that the frequency domain impedance value of the loudspeaker in the water inlet state is larger than that in the normal state. The larger the water inflow, the larger the deviation of the frequency domain impedance from the normal value. Therefore, the method judges whether the loudspeaker enters water or not by comparing the frequency domain impedance value measured in real time with the normal value.
In steps 101 and 102, when detecting whether the loudspeaker is flooded, it is necessary to obtain a frequency domain reference impedance value when the loudspeaker normally operates without flooding and obtain a frequency domain measured impedance value of the loudspeaker in real time. The frequency domain reference impedance value is an impedance value of the loudspeaker in normal work, and the frequency domain measured impedance value is obtained by real-time measurement and calculation of a measuring instrument in the work of the loudspeaker. It should be noted that the frequency domain reference impedance value and the frequency domain measured impedance value are both impedance values in the frequency domain, that is, impedance values in the frequency domain calculated by the frequency domain voltage across the speaker and the frequency domain current flowing through the speaker.
In step 103, after the water is fed into the loudspeaker, the frequency domain impedance of the loudspeaker during operation is greater than the frequency domain impedance of the loudspeaker during normal operation without water feeding. Therefore, it is possible to determine whether the speaker is flooded and the degree of flooding by calculating the difference between the frequency domain measured impedance value and the frequency domain reference impedance value and determining whether the difference is greater than a set threshold value. If the frequency domain measured impedance value is larger than the frequency domain reference impedance value, but the difference value of the two impedance values does not reach the set threshold value, the fact that the loudspeaker has water inflow is indicated, but the water inflow degree is light, and the loudspeaker cannot be seriously influenced by using the loudspeaker. If the difference value of the two values reaches or even exceeds the set threshold value, the water inlet of the loudspeaker is serious, the loudspeaker cannot be used continuously, and otherwise, the service life of the loudspeaker is influenced.
In the method, the working voltage and current of the loudspeaker are measured in real time to obtain a measured impedance value in a frequency domain, and then the measured impedance value in the frequency domain and a reference impedance value in the frequency domain are compared to judge whether the loudspeaker enters water or not, if the situation that the loudspeaker enters water is determined, a user is reminded to stop using the loudspeaker and/or automatically stop working of the loudspeaker, and the purpose of protecting the loudspeaker is achieved.
In an alternative embodiment, the obtaining the frequency domain reference impedance value of the loudspeaker includes:
acquiring time domain reference voltage and time domain reference current in a first set time period when the loudspeaker is in a normal working state under the condition that water does not enter the loudspeaker;
converting the time domain reference voltage and the time domain reference current into a frequency domain to obtain corresponding frequency domain reference voltage and frequency domain reference current;
calculating to obtain frequency domain reference impedance based on the frequency domain reference voltage and the frequency domain reference current;
and selecting the peak value of the frequency domain reference impedance as the reference impedance value.
Since the frequency domain reference impedance value and the frequency domain measured impedance value used for determining whether water enters are both impedance values in the frequency domain, the frequency domain reference voltage and the frequency domain reference current need to be obtained by performing time-frequency transformation, such as fourier transformation, on the time domain reference voltage and the time domain reference current in the first set time period. It should be noted that the time-domain reference voltage and the time-domain reference current obtained here, and the corresponding frequency-domain reference voltage and the frequency-domain reference current are all presented in the form of a voltage curve or a current curve. And dividing the frequency domain reference voltage by the frequency domain reference current to calculate the frequency domain reference impedance. The peak value, i.e. the maximum value, of the frequency domain reference impedance is selected as the reference impedance value.
In an alternative embodiment, the obtaining a frequency domain measured impedance value of the loudspeaker includes:
acquiring time-domain measurement voltage and time-domain measurement current of the loudspeaker within a second set time period;
converting the time domain measurement voltage and the time domain measurement current into a frequency domain to obtain corresponding frequency domain measurement voltage and frequency domain measurement current;
calculating to obtain frequency domain measurement impedance based on the frequency domain measurement voltage and the frequency domain measurement current;
and selecting the peak value of the frequency domain measured impedance as the measured impedance value.
In this embodiment, the frequency domain measured impedance value of the loudspeaker is obtained in real time by the time domain measured voltage and the time domain measured current at the present time and in a period of time before the present time. Similarly to the above manner of obtaining the reference impedance value, the obtained time-domain measurement voltage and time-domain measurement current in the second set time period are subjected to time-frequency transformation, such as fourier transformation, to obtain a frequency-domain measurement voltage and a frequency-domain measurement current. And dividing the frequency domain measurement voltage by the frequency domain measurement current to obtain the frequency domain measurement impedance. The peak value, i.e. the maximum value, of the frequency domain measured impedance is selected as the measured impedance value.
In an alternative embodiment, the method further comprises:
and sending out prompt information for indicating that the loudspeaker is in failure.
In this embodiment, determining to stop operation of the speaker may be represented by the terminal provided with the speaker sending a prompt to the user indicating that the user has entered water into the speaker and please stop using the speaker. For example, the prompt message may be displayed on a display screen of the terminal, or in the case where an indicator lamp is provided on the terminal, the indicator lamp may be blinked to indicate a malfunction of the terminal. Because the loudspeaker intakes at this moment, then no longer adopt the mode of sending the chimes of doom to indicate the user. In addition, the operation of the loudspeaker can be automatically interrupted while the prompt message is sent, for example, the power supply circuit of the loudspeaker is automatically disconnected, so that the situation that the user continues to use the loudspeaker without noticing the prompt message is prevented, and the damage to the loudspeaker is caused.
In an alternative embodiment, the set threshold value ranges from 1 ohm.
When the difference value between the measured impedance value and the reference impedance value is small, the water inlet condition of the loudspeaker is light, and the service life of the loudspeaker is not influenced by using the loudspeaker. The setting of the threshold value here is therefore very important. If the set threshold is too low, some unnecessary speakers are interrupted to be used, so that the use experience of a user is influenced; if the set threshold value is too high, the loudspeaker is still not used for alarming when the water inlet condition of the loudspeaker is serious, and the service life of the loudspeaker is influenced.
It has been found through a number of experiments that this can be avoided when the threshold is set to 1 ohm. The set threshold is set for different speaker configurations and terminal configurations.
In an optional embodiment, the first set time period ranges from 0.01 second to 1 second, and the second set time period ranges from 0.01 second to 1 second.
The value ranges of the first set time period and the second set time period are both 0.01 second to 1 second, and the first set time period and the second set time period can be the same or different. For example, the first set period of time and the second set period of time are both set to 0.1 second. Namely, the voltage and the corresponding current within 0.1 second when the loudspeaker normally works are selected to calculate the reference impedance value, and when the measured impedance of the loudspeaker is detected in real time, the voltage and the corresponding current within the current time and 0.1 second before the current time are selected to calculate the measured impedance value. And setting the value ranges of the first set time period and the second set time period according to the speaker configuration, the terminal configuration and the practical application scene.
Specific embodiments according to the present disclosure are described below in conjunction with specific application scenarios. In this embodiment, the speaker using method includes the steps of:
208, selecting a frequency domain to measure the impedance Rf2The peak value of (a) is taken as the measured impedance value.
Step 209 calculates the difference between the measured impedance value and the reference impedance value.
And step 210, when the difference value is larger than 1 ohm, displaying prompt information on a display screen of the terminal to indicate a user to stop using the loudspeaker.
The present disclosure also provides a speaker using apparatus, the apparatus is applied to a terminal, the terminal includes the speaker, the apparatus includes:
a first obtaining module 301 configured to obtain a frequency domain reference impedance value of the speaker;
a second obtaining module 302 configured to obtain a frequency domain measured impedance value of the loudspeaker;
a first determining module 303 configured to determine that the speaker is malfunctioning and to automatically interrupt the operation of the speaker when the difference between the frequency domain measured impedance value and the frequency domain reference impedance value is greater than a set threshold.
In an alternative embodiment, the first obtaining module 301 is further configured to:
acquiring time domain reference voltage and time domain reference current in a first set time period when the loudspeaker is in a normal working state under the condition that water does not enter the loudspeaker;
converting the time domain reference voltage and the time domain reference current into a frequency domain to obtain corresponding frequency domain reference voltage and frequency domain reference current;
calculating to obtain frequency domain reference impedance based on the frequency domain reference voltage and the frequency domain reference current;
and selecting the peak value of the frequency domain reference impedance as the reference impedance value.
In an alternative embodiment, the second obtaining module 302 is further configured to:
acquiring time-domain measurement voltage and time-domain measurement current of the loudspeaker within a second set time period;
converting the time domain measurement voltage and the time domain measurement current into a frequency domain to obtain corresponding frequency domain measurement voltage and frequency domain measurement current;
calculating to obtain frequency domain measurement impedance based on the frequency domain measurement voltage and the frequency domain measurement current;
and selecting the peak value of the frequency domain measured impedance as the measured impedance value.
In an alternative embodiment, the apparatus further comprises a prompting module configured to:
and sending out prompt information for indicating that the loudspeaker is in failure.
In an alternative embodiment, the set threshold value is 1 ohm.
In an optional embodiment, the first set time period ranges from 0.01 second to 1 second, and the second set time period ranges from 0.01 second to 1 second.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
In the method of the present disclosure, a reference impedance value of the speaker is obtained, and a measured impedance value of the speaker is obtained, where the reference impedance value and the measured impedance value are both frequency domain impedance values, the reference impedance value is compared with the measured impedance value, and when a difference between the measured impedance value and the reference value is greater than a set threshold value, it is determined that the speaker is in water supply, and the speaker stops working. Therefore, whether the loudspeaker enters water is detected in real time when the loudspeaker is used, if the loudspeaker enters water, a user is reminded to stop using the loudspeaker and/or automatically stop working of the loudspeaker, damage to the loudspeaker caused by the loudspeaker is avoided when the loudspeaker enters water, and the purpose of protecting the loudspeaker is achieved. By adopting the method, the service life of the loudspeaker can be prolonged, the service life of the electronic terminal equipment is further prolonged, and the use experience of a user is improved.
Fig. 4 is a block diagram illustrating an apparatus 400 configured with a speaker according to an example embodiment.
Referring to fig. 4, the apparatus 400 may include one or more of the following components: a processing component 402, a memory 404, a power component 406, a multimedia component 408, an audio component 410, an interface for input/output (I/O) 412, a sensor component 414, and a communication component 416.
The processing component 402 generally controls overall operation of the apparatus 400, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 402 can include one or more modules that facilitate interaction between the processing component 402 and other components. For example, the processing component 402 can include a multimedia module to facilitate interaction between the multimedia component 408 and the processing component 402.
The memory 404 is configured to store various types of data to support operations at the device 400. Examples of such data include instructions for any application or method operating on the device 400, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 404 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The multimedia component 408 includes a screen that provides an output interface between the device 400 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 408 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 400 is in an operational mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 410 is configured to output and/or input audio signals. For example, audio component 410 includes a Microphone (MIC) configured to receive external audio signals when apparatus 400 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 404 or transmitted via the communication component 416. In some embodiments, audio component 410 also includes a speaker for outputting audio signals.
The I/O interface 412 provides an interface between the processing component 402 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 414 includes one or more sensors for providing various aspects of status assessment for the apparatus 400. For example, the sensor component 414 can detect the open/closed state of the device 400, the relative positioning of components, such as a display and keypad of the apparatus 400, the sensor component 414 can also detect a change in the position of the apparatus 400 or a component of the apparatus 400, the presence or absence of user contact with the apparatus 400, orientation or acceleration/deceleration of the apparatus 400, and a change in the temperature of the apparatus 400. The sensor assembly 414 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 414 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 416 is configured to facilitate wired or wireless communication between the apparatus 400 and other devices. The apparatus 400 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 416 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 416 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 400 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 404 comprising instructions, executable by the processor 420 of the apparatus 400 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium having instructions therein, which when executed by a processor of a mobile terminal, enable the mobile terminal to perform a speaker usage method, the method comprising: acquiring a frequency domain reference impedance value of the loudspeaker; acquiring a frequency domain measured impedance value of the loudspeaker; and when the difference value between the frequency domain measured impedance value and the frequency domain reference impedance value is larger than a set threshold value, determining that the loudspeaker has a fault and automatically interrupting the work of the loudspeaker.
Fig. 5 is a block diagram illustrating a speaker using apparatus 500 according to an exemplary embodiment. For example, the apparatus 500 may be provided as a server. Referring to fig. 5, the apparatus 500 includes a processing component 522 that further includes one or more processors and memory resources, represented by memory 532, for storing instructions, such as applications, that are executable by the processing component 522. The application programs stored in memory 532 may include one or more modules that each correspond to a set of instructions. Further, the processing component 522 is configured to execute instructions to perform the above-described method: acquiring a frequency domain reference impedance value of the loudspeaker; acquiring a frequency domain measured impedance value of the loudspeaker; and when the difference value between the frequency domain measured impedance value and the frequency domain reference impedance value is larger than a set threshold value, determining that the loudspeaker has a fault and automatically interrupting the work of the loudspeaker.
The apparatus 500 may also include a power component 526 configured to perform power management of the apparatus 500, a wired or wireless network interface 550 configured to connect the apparatus 500 to a network, and an input/output (I/O) interface 558. The apparatus 500 may operate based on an operating system stored in the memory 532, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.
Claims (14)
1. A speaker using method, the method being applied to a terminal including the speaker, the method comprising:
acquiring a frequency domain reference impedance value of the loudspeaker;
acquiring a frequency domain measured impedance value of the loudspeaker;
and when the difference value between the frequency domain measured impedance value and the frequency domain reference impedance value is larger than a set threshold value, determining that the loudspeaker has a fault and automatically interrupting the work of the loudspeaker.
2. The method of claim 1, wherein the obtaining frequency domain reference impedance values for the loudspeaker comprises:
acquiring time domain reference voltage and time domain reference current in a first set time period when the loudspeaker is in a normal working state under the condition that water does not enter the loudspeaker;
converting the time domain reference voltage and the time domain reference current into a frequency domain to obtain corresponding frequency domain reference voltage and frequency domain reference current;
calculating to obtain frequency domain reference impedance based on the frequency domain reference voltage and the frequency domain reference current;
and selecting the peak value of the frequency domain reference impedance as the reference impedance value.
3. The method of claim 1, wherein the obtaining frequency domain measured impedance values for the loudspeaker comprises:
acquiring time-domain measurement voltage and time-domain measurement current of the loudspeaker within a second set time period;
converting the time domain measurement voltage and the time domain measurement current into a frequency domain to obtain corresponding frequency domain measurement voltage and frequency domain measurement current;
calculating to obtain frequency domain measurement impedance based on the frequency domain measurement voltage and the frequency domain measurement current;
and selecting the peak value of the frequency domain measured impedance as the measured impedance value.
4. The method of claim 1, wherein the method further comprises:
and sending out prompt information for indicating that the loudspeaker is in failure.
5. The method of claim 1, wherein the set threshold value is 1 ohm.
6. The method according to claim 2 or 3, wherein the first set time period is in a range of 0.01 seconds to 1 second, and the second set time period is in a range of 0.01 seconds to 1 second.
7. A speaker using apparatus, the apparatus being applied to a terminal including the speaker, the apparatus comprising:
a first obtaining module configured to obtain a frequency domain reference impedance value of the speaker;
a second obtaining module configured to obtain a frequency domain measured impedance value of the speaker;
a first determination module configured to determine that the speaker is malfunctioning and to automatically interrupt operation of the speaker when a difference between the frequency domain measured impedance value and the frequency domain reference impedance value is greater than a set threshold.
8. The apparatus of claim 7, wherein the first obtaining module is further configured to:
acquiring time domain reference voltage and time domain reference current in a first set time period when the loudspeaker is in a normal working state under the condition that water does not enter the loudspeaker;
converting the time domain reference voltage and the time domain reference current into a frequency domain to obtain corresponding frequency domain reference voltage and frequency domain reference current;
calculating to obtain frequency domain reference impedance based on the frequency domain reference voltage and the frequency domain reference current;
and selecting the peak value of the frequency domain reference impedance as the reference impedance value.
9. The apparatus of claim 7, wherein the second acquisition module is further configured to:
acquiring time-domain measurement voltage and time-domain measurement current of the loudspeaker within a second set time period;
converting the time domain measurement voltage and the time domain measurement current into a frequency domain to obtain corresponding frequency domain measurement voltage and frequency domain measurement current;
calculating to obtain frequency domain measurement impedance based on the frequency domain measurement voltage and the frequency domain measurement current;
and selecting the peak value of the frequency domain measured impedance as the measured impedance value.
10. The apparatus of claim 7, wherein the apparatus further comprises a hint module configured to:
and sending out prompt information for indicating that the loudspeaker is in failure.
11. The apparatus of claim 7, wherein the set threshold value is 1 ohm.
12. The apparatus according to claim 8 or 9, wherein the first set time period has a value in a range of 0.01 seconds to 1 second, and the second set time period has a value in a range of 0.01 seconds to 1 second.
13. An apparatus provided with a speaker, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to implement the following steps when executing the executable instructions:
acquiring a frequency domain reference impedance value of the loudspeaker;
acquiring a frequency domain measured impedance value of the loudspeaker;
and when the difference value between the frequency domain measured impedance value and the frequency domain reference impedance value is larger than a set threshold value, determining that the loudspeaker has a fault and automatically interrupting the work of the loudspeaker.
14. A non-transitory computer readable storage medium in which instructions, when executed by a processor of an apparatus, enable the apparatus to perform a method of speaker usage, the method comprising:
acquiring a frequency domain reference impedance value of the loudspeaker;
acquiring a frequency domain measured impedance value of the loudspeaker;
and when the difference value between the frequency domain measured impedance value and the frequency domain reference impedance value is larger than a set threshold value, determining that the loudspeaker has a fault and automatically interrupting the work of the loudspeaker.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110148486.3A CN112887893A (en) | 2021-02-03 | 2021-02-03 | Loudspeaker using method, device and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110148486.3A CN112887893A (en) | 2021-02-03 | 2021-02-03 | Loudspeaker using method, device and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112887893A true CN112887893A (en) | 2021-06-01 |
Family
ID=76056928
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110148486.3A Pending CN112887893A (en) | 2021-02-03 | 2021-02-03 | Loudspeaker using method, device and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112887893A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117939383A (en) * | 2024-02-08 | 2024-04-26 | 上海傅里叶半导体有限公司 | Speaker fault detection circuit and method and electronic equipment |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104640052A (en) * | 2013-11-14 | 2015-05-20 | 恩智浦有限公司 | Loudspeaker polarity detector |
CN106534567A (en) * | 2016-11-30 | 2017-03-22 | 努比亚技术有限公司 | Loudspeaker phonate hole draining apparatus and method and mobile terminal |
CN106572410A (en) * | 2015-10-08 | 2017-04-19 | 联发科技股份有限公司 | method for entering power saving mode and portable device thereof |
CN106851515A (en) * | 2017-03-03 | 2017-06-13 | 广东欧珀移动通信有限公司 | Loudspeaker sound hole blockage detection method and device |
CN107005775A (en) * | 2014-12-17 | 2017-08-01 | 唯听助听器公司 | The method and hearing aid device system of operating hearing aid system |
CN107734427A (en) * | 2017-09-13 | 2018-02-23 | 广州市迪士普信息科技有限公司 | A kind of guard method and device according to voice coil loudspeaker voice coil temperature rise adjust automatically speaker volume |
CN108063999A (en) * | 2017-11-14 | 2018-05-22 | 维沃移动通信有限公司 | A kind of dust-proof network detecting method, mobile terminal |
CN108307284A (en) * | 2017-12-29 | 2018-07-20 | 青岛海信移动通信技术股份有限公司 | A kind of method, device and mobile terminal of automatic detection loud speaker |
CN109089190A (en) * | 2018-10-26 | 2018-12-25 | Oppo广东移动通信有限公司 | Impedance curve determines method, apparatus, storage medium and terminal device |
US20190028805A1 (en) * | 2016-03-25 | 2019-01-24 | Yamaha Corporation | Speaker Operation Checking Device and Method |
CN109358999A (en) * | 2018-10-15 | 2019-02-19 | 广东小天才科技有限公司 | Water inflow detection method of intelligent terminal, intelligent terminal and storage medium |
CN109655735A (en) * | 2018-12-07 | 2019-04-19 | 武汉市聚芯微电子有限责任公司 | Power amplifier chips evaluation board and power amplifier chips evaluation board system |
-
2021
- 2021-02-03 CN CN202110148486.3A patent/CN112887893A/en active Pending
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104640052A (en) * | 2013-11-14 | 2015-05-20 | 恩智浦有限公司 | Loudspeaker polarity detector |
CN107005775A (en) * | 2014-12-17 | 2017-08-01 | 唯听助听器公司 | The method and hearing aid device system of operating hearing aid system |
CN106572410A (en) * | 2015-10-08 | 2017-04-19 | 联发科技股份有限公司 | method for entering power saving mode and portable device thereof |
US20190028805A1 (en) * | 2016-03-25 | 2019-01-24 | Yamaha Corporation | Speaker Operation Checking Device and Method |
CN106534567A (en) * | 2016-11-30 | 2017-03-22 | 努比亚技术有限公司 | Loudspeaker phonate hole draining apparatus and method and mobile terminal |
CN106851515A (en) * | 2017-03-03 | 2017-06-13 | 广东欧珀移动通信有限公司 | Loudspeaker sound hole blockage detection method and device |
CN107734427A (en) * | 2017-09-13 | 2018-02-23 | 广州市迪士普信息科技有限公司 | A kind of guard method and device according to voice coil loudspeaker voice coil temperature rise adjust automatically speaker volume |
CN108063999A (en) * | 2017-11-14 | 2018-05-22 | 维沃移动通信有限公司 | A kind of dust-proof network detecting method, mobile terminal |
CN108307284A (en) * | 2017-12-29 | 2018-07-20 | 青岛海信移动通信技术股份有限公司 | A kind of method, device and mobile terminal of automatic detection loud speaker |
CN109358999A (en) * | 2018-10-15 | 2019-02-19 | 广东小天才科技有限公司 | Water inflow detection method of intelligent terminal, intelligent terminal and storage medium |
CN109089190A (en) * | 2018-10-26 | 2018-12-25 | Oppo广东移动通信有限公司 | Impedance curve determines method, apparatus, storage medium and terminal device |
CN109655735A (en) * | 2018-12-07 | 2019-04-19 | 武汉市聚芯微电子有限责任公司 | Power amplifier chips evaluation board and power amplifier chips evaluation board system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117939383A (en) * | 2024-02-08 | 2024-04-26 | 上海傅里叶半导体有限公司 | Speaker fault detection circuit and method and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105828281B (en) | Equipment connection method and device | |
US10610152B2 (en) | Sleep state detection method, apparatus and system | |
CN107493500B (en) | Multimedia resource playing method and device | |
EP3125512A1 (en) | Silent ring indication while listening music over a headset | |
CN113300664B (en) | Method, device and medium for determining motor driving signal | |
CN105446616A (en) | Screen display control method, apparatus and device | |
KR101824825B1 (en) | Screen protection method and apparatus | |
CN108538258B (en) | Method and device for adjusting backlight current and display equipment | |
CN111200304A (en) | Temperature detection circuit, method and device of wireless charging coil and storage medium | |
EP3176984A1 (en) | Method and device for processing information | |
CN108462784A (en) | In Call method of adjustment and device | |
CN106406175B (en) | Door opening reminding method and device | |
CN106253996B (en) | Sensitivity attenuation test method and device | |
CN109521923B (en) | Floating window control method and device and storage medium | |
CN106209471A (en) | Fault feedback method and device | |
CN109769191B (en) | Audio output detection method and device and electronic equipment | |
CN108600503B (en) | Voice call control method and device | |
EP3125514A1 (en) | Method and device for state notification | |
CN112887893A (en) | Loudspeaker using method, device and medium | |
CN106877451B (en) | Charging port short-circuit protection method and device | |
CN105204841B (en) | Range method of adjustment and device | |
CN113395648B (en) | Sound outlet hole abnormal state detection method and device | |
CN107039054B (en) | The way of recording and device | |
CN106446827B (en) | Iris recognition function detection method and device | |
CN113727248B (en) | Method, device and medium for playing audio with a speaker |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210601 |