CN117098038A - Adaptive resonance controlled audio system and method - Google Patents

Adaptive resonance controlled audio system and method Download PDF

Info

Publication number
CN117098038A
CN117098038A CN202310546238.3A CN202310546238A CN117098038A CN 117098038 A CN117098038 A CN 117098038A CN 202310546238 A CN202310546238 A CN 202310546238A CN 117098038 A CN117098038 A CN 117098038A
Authority
CN
China
Prior art keywords
speaker
resonant frequency
electrical characteristic
electronic device
determining
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
Application number
CN202310546238.3A
Other languages
Chinese (zh)
Inventor
D·W·罗宾逊
C·C·霍伊特
J·D·克罗斯比
T·P·西皮拉
T·M·詹森
B·D·沃尔夫森
刘洋
A·K·阿米塔尔林加姆
O·I·艾科鲁尔
O·莱昂哈迪特
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Apple Inc
Original Assignee
Apple Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US18/136,862 external-priority patent/US20230379625A1/en
Application filed by Apple Inc filed Critical Apple Inc
Publication of CN117098038A publication Critical patent/CN117098038A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R9/00Transducers of moving-coil, moving-strip, or moving-wire type
    • H04R9/06Loudspeakers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R9/00Transducers of moving-coil, moving-strip, or moving-wire type
    • H04R9/02Details
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2400/00Loudspeakers
    • H04R2400/11Aspects regarding the frame of loudspeaker transducers

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The present disclosure relates to an audio system and method of adaptive resonance control. Aspects of the subject technology relate to electronic devices having speakers. The electronic device may operate the speaker to generate an audio output at one or more resonant frequencies of the speaker and/or the electronic device. This may allow the electronic device to generate particularly loud audio outputs while reducing the power consumption for generating those audio outputs. For example, to help ensure that the audio output is generated at the resonant frequencies, the electronic device may determine the resonant frequencies prior to generating the audio output. For example, the electronic device may determine the resonant frequency by: one or more electrical characteristics of the electronic component are obtained while operating the speaker, and the resonant frequencies are determined based on the obtained electrical characteristics.

Description

Adaptive resonance controlled audio system and method
Technical Field
The present description relates generally to electronic devices, including, for example, audio systems and methods for adaptive resonance control.
Background
Electronic devices such as computers, media players, cellular telephones, wearable devices, and headphones are typically provided with speakers for producing audio output from the device and a microphone for receiving audio input from the device. However, as devices are implemented with smaller and smaller form factors, integrating speakers into electronic devices (particularly in compact devices such as portable electronic devices) can be challenging. During use, the speaker may become clogged with water or other debris.
Drawings
Some features of the subject technology are set forth in the following claims. For purposes of illustration, however, several aspects of the subject technology are set forth in the following figures.
Fig. 1 illustrates a perspective view of an exemplary electronic device having a speaker in accordance with aspects of the subject technology.
Fig. 2 illustrates a cross-sectional side view of a portion of an exemplary electronic device having a speaker in accordance with aspects of the subject technology.
Fig. 3 illustrates an exemplary graph of acoustic power as a function of acoustic frequency for various speakers having the same form factor in accordance with aspects of the subject technology.
FIG. 4 illustrates an exemplary graph of impedance as a function of acoustic frequency in accordance with aspects of the subject technology.
Fig. 5 illustrates a schematic diagram of an architecture for providing an adaptive resonance controlled audio output in accordance with aspects of the subject technology.
Fig. 6 illustrates a schematic diagram of a process for synthesizing resonance-based audio content based on resonances determined from electrical characteristics of electronic components in accordance with aspects of the subject technology.
FIG. 7 illustrates a schematic diagram of a process for obtaining resonance-based audio content from a database using resonance determined from electrical characteristics of electronic components in accordance with aspects of the subject technology.
Fig. 8 shows a flowchart of exemplary operations that may be performed to operate a speaker in accordance with aspects of the subject technology.
FIG. 9 illustrates a flowchart of exemplary operations that may be performed to provide emergency alerts using an electronic device in accordance with aspects of the subject technology.
Fig. 10 illustrates a cross-sectional view of a portion of an exemplary electronic device having a blocked speaker in accordance with aspects of the subject technology.
Fig. 11 illustrates a cross-sectional side view of a portion of the example electronic device of fig. 10 that has been vented by operating a speaker at a resonant frequency in accordance with aspects of the subject technology.
Fig. 12 illustrates a cross-sectional side view of a portion of the example electronic device of fig. 10 having a remaining portion of an obstruction, in accordance with aspects of the subject technology.
FIG. 13 illustrates a flow diagram of exemplary operations that may be performed for adaptive resonance-based occlusion ejection in accordance with aspects of the subject technology.
FIG. 14 illustrates an electronic system that may be used to implement one or more implementations of the subject technology.
Detailed Description
The detailed description set forth below is intended as a description of various configurations of the subject technology and is not intended to represent the only configurations in which the subject technology may be practiced. The accompanying drawings are incorporated in and constitute a part of this specification. The specific embodiments include specific details for the purpose of providing a thorough understanding of the subject technology. However, it will be clear and apparent to one skilled in the art that the subject technology is not limited to the specific details shown herein and may be practiced without these specific details. In some instances, well-known structures and components are shown in block diagram form in order to avoid obscuring the concepts of the subject technology.
Portable electronic devices (such as mobile phones, portable music players, tablet computers, laptops), wearable devices (such as smartwatches, headphones, earbuds, other wearable devices), etc. typically include one or more audio transducers, such as a microphone for receiving sound input or a speaker for generating sound. However, challenges may arise when implementing speakers into compact electronic devices where space and/or power may be limited.
Aspects of the subject technology may provide for enhanced loudness audio output from a speaker, such as a compact speaker, implemented in an electronic device, such as a compact electronic device (e.g., a wearable electronic device such as a smartwatch). For example, to provide enhanced loudness, content of an audio output from a speaker of an electronic device may be generated and/or modified to appear at one or more resonant peaks of the speaker and/or the electronic device.
In accordance with various aspects of the subject disclosure, to help ensure that the audio output of a speaker appears at the resonant peak of the speaker, the resonant peak of the speaker may be determined in real-time based on measured electrical characteristics (e.g., impedance, resistance, current, etc.) of a component of the electronic device (e.g., voice coil of the speaker). In use, the electronic device may obtain an electrical characteristic of the component, determine a location of one or more resonant peaks of the speaker based on the electrical characteristic, and generate an audio output at the determined resonant peaks.
This may be useful in emergency situations, for example, where the audio output is used as an alert (e.g., an emergency alert) to the location of the electronic device and/or its wearer. Generating the audio output at the formants may enhance the range of audible audio output. Generating the audio output at the formants may also enhance the power efficiency of speaker operation, thereby extending the period of time during which emergency audio output may be generated. According to one or more implementations, an electronic device may be provided with a model that may be fitted to measured electrical characteristics of a component of the electronic device, and from which locations of one or more resonance peaks may be obtained.
An exemplary electronic device including a speaker is shown in fig. 1. In the example of fig. 1, the electronic device 100 has been implemented using a housing that is small enough to be portable and carried or worn by a user (e.g., the electronic device 100 of fig. 1 may be a handheld electronic device such as a tablet or cellular phone or a smart phone, or a wearable device such as a smart watch, pendant device, headlamp device, etc.). In the example of fig. 1, electronic device 100 includes a display such as display 110 mounted on a front face of housing 106. Electronic device 100 may include one or more input/output devices (such as a touch screen incorporated into display 110), buttons, switches, dials, crowns, and/or other input/output components disposed on or after display 110 or on or after other portions of housing 106. The display 110 and/or the housing 106 may include one or more openings to accommodate buttons, speakers, light sources, or cameras (as examples).
In the example of fig. 1, the housing 106 includes an opening 108. For example, the opening 108 may form a port for an audio component. In the example of fig. 1, the opening 108 forms a speaker port of the speaker 114, which is disposed within the housing 106. In this example, the speaker 114 is offset from the opening 108, and sound from the speaker may be routed to and through the opening 108 by one or more internal device structures (as discussed in further detail below).
In the example of fig. 1, display 110 also includes an opening 112. For example, the opening 112 may form a port for an audio component. In the example of fig. 1, the opening 112 forms a speaker port of a speaker 114 that is disposed within the housing 106 and behind a portion of the display 110. In this example, the speaker 114 is offset from the opening 112, and sound from the speaker may be routed to and through the opening 112 by one or more device structures.
In various implementations, the housing 106 and/or the display 110 may also include other openings, such as openings for one or more microphones, one or more pressure sensors, one or more light sources, or other components that receive signals from or provide signals to an environment external to the housing 106. Openings such as opening 108 and/or opening 112 may be open ports or may be covered in whole or in part with a permeable membrane or mesh structure that allows air and/or sound to pass through the opening. Although two openings (e.g., opening 108 and/or opening 112) are shown in fig. 1, this is merely illustrative. One opening 108, two openings 108, or more than two openings 108 may be provided on one or more sidewalls of the housing 106, on a rear surface of the housing 106, and/or on a front surface of the housing 106. One opening 112, two openings 112, or more than two openings 112 may be provided in the display 110. In some implementations, one or more sets of openings in the housing 106 and/or sets of openings 112 in the display 110 may be aligned with a single port of an audio component within the housing 106. The housing 106, which may sometimes be referred to as a shell, may be formed of plastic, glass, ceramic, fiber composite, metal (e.g., stainless steel, aluminum, etc.), other suitable materials, or a combination of any two or more of these materials.
The configuration of the electronic device 100 of fig. 1 is merely illustrative. In other implementations, the electronic device 100 may be a computer, such as a computer integrated into a display (such as a computer monitor), a laptop computer, a media player, a gaming device, a navigation device, a computer monitor, a television, headphones, an ear bud, or other electronic equipment. As discussed herein, in some implementations, the electronic device 100 may be provided in the form of a wearable device, such as a smart watch. In one or more implementations, the housing 106 can include one or more interfaces for mechanically coupling the housing 106 to straps or other structures for securing the housing 106 to a wearer.
For example, fig. 2 shows a cross-sectional side view of a portion of an electronic device 100 that includes a speaker 114. In this example, the speaker 114 may include a front volume 209 and a back volume 211. The front volume 209 and the back volume 211 may be separated by a sound generating component 215, such as a membrane or an actuatable component of a microelectromechanical system (MEMS) speaker. The front volume 209 may be fluidly and acoustically coupled (e.g., via an acoustic conduit 206) to the opening 108 in the housing 106. In one or more implementations, the acoustic duct 206 may be formed by a speaker housing 200 of the speaker module 201 in which the speaker 114 is disposed. In one or more other implementations, the acoustic duct 206 may be formed, in whole or in part, from one or more other device structures that direct sound generated by the speaker 114 through the opening 108 to an environment outside of the housing 106. In the example of fig. 2, speaker 114 is offset from opening 108. However, in one or more other implementations, the speaker 114 may be aligned with the opening 108. In one or more implementations, the speaker 114 may be of a cross-sectional area less than, for example, 200mm 2 Less than 100mm 2 Or less than 50mm 2 Is provided.
In the example of fig. 2, speaker 114 includes speaker circuitry 222. The speaker circuitry may include, for example, voice coil 203, magnets, and/or other speaker circuitry. In one or more implementations, the electronic device 100 may also include other circuitry, such as device circuitry 224. The device circuitry 224 may include one or more processors, memories, acoustic components, haptic components, mechanical components, electronic components, or any other suitable components of an electronic device. In one or more implementations, the device circuitry 224 may also include one or more sensors, such as inertial sensors (e.g., one or more accelerometers, gyroscopes, and/or magnetometers), heart rate sensors, blood oxygen sensors, positioning sensors, microphones, and so forth. Speaker 114, speaker housing 200, sound generating component 215, speaker circuit 222, and/or other portions and/or components of electronic device 100 in the vicinity of speaker 114 may have resonance characteristics that individually and/or in combination generate acoustic resonances for the audio output of speaker 114.
The audio output of speaker 114 may also affect the electrical characteristics of one or more electronic components of electronic device 100. For example, the audio output of speaker 114 and/or the mechanical operation used to generate the audio output may affect the resistance, impedance, capacitance, current, and/or other electrical characteristics of speaker circuitry 222 (e.g., voice coil 203) and/or device circuitry 224. When the audio output includes content at one or more resonances (e.g., mechanical and/or acoustic resonances) of the speaker 114, speaker housing 200, opening 108, and/or other features of the electronic device 100, the impact on the electrical characteristics of the speaker circuitry 222 (e.g., voice coil 203) and/or device circuitry 224 may be increased. For this reason, measuring one or more electrical characteristics of one or more electronic components of electronic device 100 (e.g., speaker circuit 222 and/or device circuit 224 during electronic components and/or speaker operation) may provide information that may be used to determine one or more resonance peaks of the audio output of speaker 114.
In accordance with various aspects of the subject disclosure, an audio output may then be generated at the determined resonance peak to provide an audio output of enhanced (e.g., maximum) loudness.
Fig. 3 shows an exemplary graph of various curves 300, each curve indicating the acoustic power output from a speaker 114 of an electronic device 100 as a function of the acoustic frequency of audio output from the speaker 114 of the electronic device 100. A plurality of curves 300 indicates acoustic power versus frequency for a plurality of respective speakers 114 implemented in a plurality of respective electronic devices 100. In this example, each electronic device 100/speaker 114 combination generates an audio output having a resonance peak 302, a resonance peak 304, and a resonance peak 306. For example, the resonant peaks 302, 304, 306 may be generated by various mechanical and/or acoustic resonances of the speaker 114, the speaker enclosure 200, the opening 108, and/or other features of the electronic device 100 in the vicinity of the electronic device 100. For example, the resonant peak 304 may correspond to a mechanical resonance of the speaker 114 itself. As another example, the resonance peak 306 may correspond to an acoustic resonance of the front port 210 of the speaker 114 (e.g., the front port formed by the opening 108 and/or the speaker housing 200). In this example, each electronic device 100/speaker 114 combination generates an audio output having three resonance peaks. However, this is illustrative, and other arrangements of speakers, speaker housings, speaker ports, device housings, etc., may cause the speakers to generate audio outputs having less than three or more than three resonance peaks at the same or different frequencies and/or amplitudes, such as those shown in fig. 3.
As shown in fig. 3, even an electronic device 100/speaker 114 having the same form factor (e.g., the form factor shown in fig. 2) may have a change in the location (in frequency) of the resonant peak 304. For example, the inset in fig. 3 shows that the formants 304-a of one electronic device 100/speaker 114 combination may occur at a different frequency than the formants 304-B of another electronic device 100/speaker 114 combination, even though the two electronic device 100/speaker 114 combinations have the same form factor. For example, such differences may be due to mechanical tolerances in speaker module 201, housing 106, speaker 114, and/or speaker circuit 222, and/or the installation of speaker module 201 within housing 106.
Furthermore, even the curve 300 (e.g., including the location of the resonant peak in frequency) of a single electronic device 100/speaker 114 combination may change over time. For example, during operation, voice coil 203 (e.g., included in speaker circuit 222) may heat up, which may alter the mechanical resonance properties of voice coil 203 itself and/or other surrounding speakers and/or device components. Such a change in the mechanical resonance properties of the speaker circuit may cause the result of an acoustic resonance peak (e.g., resonance peak 304) of the audio output to change. In one or more implementations, the locations (in frequency) of the resonant peaks, such as resonant peak 302, resonant peak 304, and resonant peak 306, may change over time (e.g., during operation of speaker 114 to generate an audio output and/or over the lifetime of an electronic device) from one or more other of the resonant peaks. For example, the frequency location of a first resonant peak (e.g., resonant peak 304) generated by the mechanical resonance may be shifted during operation of speaker 114, while the frequency location of a second resonant peak (e.g., resonant peak 306) may remain unchanged, or may be shifted in different directions and/or by different amounts from the first resonant peak during operation of speaker 114.
In some use cases, it may be desirable to be able to generate the loudest possible sound with the speaker 114 using the lowest amount of power. For example, in an emergency situation in which a user (e.g., wearer) of electronic device 100 is out of contact or has become inactive or motionless, it may be useful to be able to output an emergency alert using speaker 114. For example, to allow an emergency alert to be heard from the maximum possible distance, it may be desirable to generate the loudest possible sound using speaker 114. However, because it may take time for another person to hear the emergency alert, it may be desirable to be able to continue and/or repeat the emergency alert for a long period of time. To meet these competing desires for loudness and power conservation, electronic device 100 may generate an audio output at one or more resonant frequencies of electronic device 100 and/or speaker 114 (e.g., at a resonant peak such as at one or more of resonant peaks 302, 304, and/or 306).
However, as described herein and shown in fig. 3, the location of the resonant peak may vary from device to device and/or may change over time. Thus, the fixed audio content intended to be output at the resonance peak may alternatively be output at a frequency distant from the resonance peak. This may be disadvantageous because reducing the 3dB of audio power may be audibly different for the listener, and reducing the 6dB of audio power may reduce the range in which a person can hear the audio output by half. For example, the audio output may be generated by speaker 114 at the frequency of formants 304-a, where the audio output is expected to be generated at the formants of the speaker and thus may be heard by a person at a distance of 600 feet from the electronic device. However, in this example, if the actual resonance peak of speaker 114 that generated the audio output is at the location of resonance peak 304-B, the audio output may only be actually heard by the person at a distance of 300 feet. This may reduce the efficiency of the audio output and the power usage of the speaker 114.
For these and other reasons, it may be helpful in many use cases to measure in real time the formants at or around the time when the audio output is generated and to modify the audio output to be generated at the measured formants.
Fig. 4 shows an exemplary graph demonstrating the effect of generating an audio output at various frequencies on the electrical characteristics (e.g., impedance in this example) of an electronic component. In the example of fig. 4, the measured impedance 400 of the electronic components of the electronic device 100 (e.g., the speaker circuit 222 or the device circuit 224) is shown as varying with the audio output frequency. For example, when the speaker generates an audio output over a range of frequencies, the measured impedance 400 may be obtained from the voice coil 203 of the speaker 114. Fig. 4 also shows a modeled impedance 402 in the same frequency range as the frequency range of the measured impedance 400. For example, the modeled impedance 402 may be generated from a parameterized model that has been fitted to the measured impedance 400.
In one or more implementations, the modeled impedance 402 may be generated from a parametric curve in which one or more of the parameters are or are associated with resonant peaks of one or more components or features of the speaker 114 and/or the electronic device 100. In the example of fig. 4, both the measured impedance 400 and the modeled impedance 402 include a resonance peak 404 and a resonance peak 406 in the respective impedances. For example, when the audio output of speaker 114 includes content at the mechanical resonance of speaker 114 itself, a resonance peak 404 in the impedance may be generated. As another example, when the audio output of speaker 114 includes content at acoustic resonance of a front port of speaker 114 (e.g., a front port formed by opening 108 in speaker housing 200 and/or housing 106), a resonance peak 406 in impedance may be generated.
In one or more implementations, the measured impedance 400 may be obtained by measuring the impedance of the speaker circuit 222 (e.g., voice coil 203 of the speaker) while outputting audio output at various frequencies with the speaker 114 (e.g., by generating a frequency sweep or white noise with the speaker 114). In one or more implementations, parameters of the modeled impedance 402 may be fitted to the measured impedance 400. In one or more implementations, a confidence in the fit can be determined. In one or more implementations, one or more of the fitting parameters (e.g., one or more parameters including one or more resonance peaks indicative of impedance and/or one or more acoustic resonance peaks of the electronic device 100/speaker 114 combination) may be provided to a content generator that generates and/or modifies content of the upcoming audio output (e.g., for an emergency alert). In one or more implementations, the parameters may be provided to the content generator upon determining that the confidence in the fit meets a confidence threshold.
In one or more implementations, the parameterized model that generates the modeled impedance 402 may be a complex model that fits both the measured electrical characteristic and the phase of the measured electrical characteristic. In various implementations, the parameters of the model may be single-valued parameters or may be frequency-dependent parameters. In one or more implementations, all parameters of the model may be fitted using all measured data in the measured impedance 400 over the entire frequency range of the data. In one or more other implementations, some parameters, such as mechanical resonance parameters, may be fitted to a first portion of the measured impedance 400 in a first frequency range, and other parameters, such as acoustic resonance parameters, may be fitted to a second portion of the data in the measured impedance 400 in a second (e.g., different) frequency range. In one or more implementations, all parameters of the model may be fitted using a single electrical characteristic (e.g., voltage, current, resistance, or impedance) over the entire frequency range of the measured electrical characteristic. In one or more other implementations, a first electrical characteristic (e.g., resistance) may be measured and modeled in a first frequency range, and a second electrical characteristic (e.g., impedance) may be measured and modeled in a second (e.g., different) frequency range.
In one or more use cases, the fitting of the parameters of the model may fail. For example, in use cases where debris and/or fluid enters the housing 106 through the opening 108 (e.g., and restricts movement of a diaphragm or other sound generating component of the speaker 114), the speaker 114 and/or a front port of the speaker may not exhibit resonance at locations where the model includes resonance peaks. For example, the parameterized model may model mechanical resonance peaks in the frequency range between 400 hertz (Hz) and 700Hz and acoustic resonance peaks in the frequency range between 1kHz and 4kHz, as examples. Thus, failure of the model to fit the measured electrical characteristic (e.g., to within a confidence threshold) (e.g., due to lack of resonance in the expected frequency range due to debris or liquid) may indicate that the speaker 114 and/or the opening 108 are blocked or otherwise obstructed. As discussed in further detail below, a blockage or obstruction of speaker 114 and/or opening 108 may be detected in other ways, including but not limited to detecting an electrical characteristic that is different from (e.g., less than) an expected value of the electrical characteristic, or detecting a change (e.g., a drop) in the electrical characteristic.
In one or more implementations, determining that the speaker 114 and/or the opening 108 are blocked or otherwise obstructed may cause the electronic device 100 to determine not to generate an audio output with the speaker 114. In one or more other implementations, the speaker 114 may be alternatively operated in an attempt to clear a blockage or obstruction (e.g., by generating movement of a speaker diaphragm to expel liquid from the speaker housing 200). As discussed in further detail below, in one or more implementations, the resonance of a speaker that is blocked or otherwise blocked (e.g., which may be different from the unblocked/unblocked resonance of the speaker) may be determined, and the speaker 114 may be operated at that resonance to expel or clear the blockage or obstruction.
Fig. 5 illustrates an exemplary architecture (e.g., with an electronic device 100) for providing an adaptive resonance-based audio output. Portions of the architecture of fig. 5 may be implemented in software or hardware, including by one or more processors and memory devices containing instructions that, when executed by a processor, cause the processor to perform the operations described herein. For example, in fig. 5, a rectangular box may indicate that speaker 114 and electronic component 500 may be hardware components, and a trapezoidal box may indicate that resonance estimator 502 and content generator 504 may be implemented in software, including by one or more processors and memory devices containing instructions that, when executed by the processors, cause the processors to perform the operations described herein.
In the example of fig. 5, speaker 114 generates audio output. For example, the audio output may be an audio output used to determine a formant of speaker 114 and/or electronic device 100. For example, the audio output may be white noise that spans the frequency range of interest, or an audio output that sweeps across the frequency range of interest. The audio output used to determine the formants may be generated separately from other audio outputs (e.g., the emergency alert audio output or the output of user-selected content) or may be provided in combination with one or more other audio outputs (e.g., as background noise in combination with the other audio outputs).
As shown in fig. 5, generating an audio output with speaker 114 may result in acoustic feedback and/or mechanical feedback to electronic component 500. For example, the electronic component 500 may be the speaker circuit 222 (e.g., voice coil 203) and/or the device circuit 224 of fig. 2. For example, the acoustic feedback may include acoustic vibrations of the electronic component 500 due to audio output from the speaker 114. For example, the mechanical feedback may include vibrations of the electronic component 500 due to mechanical motion and/or vibrations of the speaker 114 for generating the audio output. When the audio output from speaker 114 is generated at the resonant peak of electronic device 100 and/or speaker 114, the effects of acoustic feedback and/or mechanical feedback on the electronic component may be increased, as indicated, for example, by resonant peak 404 and resonant peak 406 of fig. 4.
As shown in fig. 5, one or more electrical characteristics of the electronic component 500 may be obtained during the generation of the audio output by the speaker 114 (e.g., while the electronic component 500 is receiving acoustic and/or mechanical feedback). For example, the electrical characteristics may include measured current, voltage, resistance, impedance, phase, or other electrical characteristics of the electronic component 500. As discussed herein in connection with, for example, fig. 4, the electrical characteristics of the electronic component 500 may vary with the frequency of the audio output.
In the example of fig. 5, the obtained electrical characteristics of the electronic component 500 may be used by the resonance estimator 502 at the electronic device 100 to determine one or more resonance frequencies (e.g., resonance frequencies of the resonance peaks 302, 304, and/or 306 of fig. 3) of the speaker 114 and/or the electronic device 100. For example, the resonance estimator 502 may adjust parameters of a parameterized model of the electrical characteristic of the electronic component 500 to fit the measured electrical characteristic. The adjusted parameters may then be used to determine one or more resonant frequencies of speaker 114 and/or electronic device 100. In one or more implementations, one or more of the adjustable parameters of the parameterized model may be a resonant frequency. In one or more other implementations, one or more of the adjustable parameters of the parametric model may be other parameters (e.g., physical parameters and/or electrical parameters) that may be mapped to the resonant frequency of the audio output by the resonance estimator 502.
In the example of fig. 5, the resonance information obtained by the resonance estimator 502 may be provided to the content generator 504. For example, the resonance information may include one or more of the following: the adjusted parameters of the parameterized model, the one or more resonant frequencies, and/or other information from which the one or more resonant frequencies may be derived. As shown, the content generator 504 may use the resonance information to generate resonance-based audio content and may provide the resonance-based audio content for subsequent audio output by the speaker 114. For example, the output generator may generate resonance-based audio content that includes content at one or more resonance peaks determined by the resonance estimator 502 from the electrical characteristics.
The operations shown in fig. 5 may be performed once (e.g., during manufacture or prior to generation of the emergency alert audio output) or may be repeated two, three, or more times. In one or more implementations, the operations of fig. 5 may be performed before each repetition of the audio output is repeated. For example, at a cross-sectional area of less than about 100mm 2 In the speaker of (a), the audio output of tens of tones or other sounds over a period of about ten seconds may result in the generation of theThe voice coil of an audio output speaker heats up by an amount that can cause the resonant frequency of the speaker to change (e.g., to a lower frequency). Thus, it may be advantageous to determine the location of the resonant peak of speaker 114 and/or electronic device 100 repeatedly and/or at various times during the operation and/or lifetime of electronic device 100. In one or more implementations, the operations of fig. 5 may be performed during emergency alert audio output (e.g., by adding low-level white noise to a relatively high-level output for an emergency alert or intermittently adding low-level white noise between the outputs, and measuring the resulting effect on the electrical characteristics of electronic component 500).
In various implementations, the content generator 504 may generate new audio content based on the resonance information and/or may modify existing audio content based on the resonance information.
For example, FIG. 6 illustrates an implementation of content generator 504 to generate new audio content based on resonance information. In this example, content generator 504 may receive synthesizer functions (e.g., in addition to resonance information from the resonance estimator). For example, the synthesizer function may include code corresponding to an encoding recipe for generating audio content at one or more desired frequencies. For example, the content generator 504 may provide resonance information as an input to the synthesizer function and may generate resonance-based audio content as a resulting output of the synthesizer function.
In one or more implementations, the synthesizer function may be implemented as an encoding recipe that defines a duration, a cadence, a timbre, a gain envelope, and/or other acoustic characteristics of one or more tones at one or more respective frequencies that each correspond to one or more resonant frequencies of speaker 114 (e.g., and/or resonant frequencies of other features of electronic device 100). For example, the synthesizer function (e.g., encoding recipe) may define one or more frequencies of one or more tones in the resonance-based audio content by identifying one or more corresponding half-tone bins into which the one or more resonance frequencies fall and setting the frequency of the output tone to the half-tone frequency of the identified bin. In various implementations, the duration, cadence, and/or other acoustic characteristics of the output tone (e.g., gain envelope) may be fixed and predetermined in the synthesizer function, or may be adjustable based on the resonant frequency (e.g., adjustable in a manner defined by the synthesizer function). For example, the gain envelope defined by the synthesizer function may define fade-in and/or fade-out characteristics of the output tone. The fade-in and/or fade-out characteristics may be fixed or may be frequency dependent. In one or more implementations, the synthesizer function may be encoded to determine the duration of the output tone for loudness optimization. In various implementations, the resonance-based audio content generated based on the synthesizer function may include a single tone, an interval (e.g., two tones), a chord, or any other combination of tones having characteristics (e.g., duration, tempo, gain envelope, etc.) defined by the synthesizer function. Synthesizing resonance-based audio content (e.g., on the fly) may provide computational efficiency in terms of memory (e.g., flash memory) and/or other computing resources (e.g., processing power) as compared to, for example, playing back audio files and/or pitch shifting existing audio. Because the resonance-based audio content in the example of fig. 6 is code-generated, the electronic device may also perform power-efficient operations, such as turning off one or more amplifiers between tones, which saves static power. In the example of fig. 6, the synthesizer function is shown provided to the content generator 504. However, in one or more implementations, the synthesizer function may be stored as part of the content generator 504.
As another example, fig. 7 illustrates a specific implementation of the content generator 504 obtaining resonance-based audio content from the audio content database 700. In this example, content generator 504 obtains existing resonance-based audio content for one or more resonance frequencies as indicated by the resonance information from a database of various resonance-based audio content files that have been previously stored at electronic device 100 in connection with respective resonance frequencies. In the example of fig. 7, the content generator 504 provides a content request to the audio content database 700 and obtains resonance-based audio content in response to the content request. For example, the content request may include one or more resonant frequencies and/or one or more indexes corresponding to the one or more resonant frequencies, and the previously stored resonance-based audio content in the audio content database 700 may be indexed or otherwise stored in association with the one or more resonant frequencies and/or the one or more indexes for retrieval from the database using the one or more resonant frequencies and/or the one or more indexes. In one or more implementations, the content generator 504 and/or the audio content database 700 may store a lookup table by which resonance-based audio content for each particular resonance frequency may be located.
In the example of fig. 7, the audio content database 700 stores resonance-based audio content for each resonance frequency. However, in one or more other implementations, the audio content database 700 may store audio content of a single audio output at or near a given resonant frequency, and the content generator 504 may modify (e.g., pitch shift) the stored audio content based on the resonance information to obtain audio output at one or more resonant frequencies different from the resonant frequency associated with the stored audio content.
In various implementations, the resonance-based audio content may be resonance-based audio content for one particular resonance frequency, or may be resonance-based audio content optimized for multiple resonance frequencies (e.g., including audio content at and/or near multiple resonance frequencies). In one or more implementations, the resonance-based audio content may be the content of an emergency alert from electronic device 100. In one or more implementations, the emergency alert may be triggered by user input, or may be triggered by one or more sensors of electronic device 100 (e.g., fall detection sensors using one or more accelerometers, heart rate sensors, blood oxygen sensors, etc.). In various implementations, the resonance-based audio content may include a series of rising or falling notes (e.g., where one or more notes are at a resonance frequency), an audio frequency sweep, or a multi-tone output (as examples).
Fig. 8 illustrates a flow diagram of an exemplary process for operating a speaker of an electronic device in accordance with one or more implementations. For purposes of explanation, the process 800 is described herein primarily with reference to the electronic device 100 and speaker 114 of fig. 1 and 2. However, process 800 is not limited to electronic device 100 and speaker 114 in fig. 1 and 2, and one or more blocks (or operations) of process 800 may be performed by one or more other components and other suitable devices. For further explanation purposes, the blocks of process 800 are described herein as occurring sequentially or linearly. However, multiple blocks of process 800 may occur in parallel. Furthermore, the blocks of process 800 need not be performed in the order shown, and/or one or more blocks of process 800 need not be performed and/or may be replaced by other operations.
In the example of fig. 8, at block 802, electrical characteristics of an electronic component (e.g., electronic component 500) of an electronic device (e.g., electronic device 100) may be obtained. For example, electrical characteristics may be obtained during electronic components of the electronic device and/or speaker operation. For example, the electrical characteristic may include at least one of voltage, current, resistance, or impedance. For example, the electronic components may include components (e.g., speaker circuit 222 or components thereof) of a speaker (e.g., speaker 114) of an electronic device, such as a voice coil of the speaker (e.g., speaker circuit that receives mechanical and/or acoustic feedback when the speaker is operated to generate an audio output). The electrical characteristics may be determined simultaneously during operation of the electronic component and/or as part of a speaker operating the electronic device. As another example, the electronic component may be a component of an electronic device (e.g., device circuitry 224) that is separate from the speaker and receives mechanical and/or acoustic feedback when the speaker is being operated to generate an audio output.
At block 804, the electronic device may determine a resonant frequency of a speaker of the electronic device based on the electrical characteristic. For example, determining the resonant frequency of the speaker based on the electrical characteristic may include: the model is adjusted based on the electrical characteristics, and a resonant frequency is obtained from the adjusted model. For example, the model may be a parameterized model of the electrical characteristic over a frequency range in which the electrical characteristic is obtained, and adjusting the model may include: one or more parameters of the model are adjusted to fit the obtained electrical characteristics (e.g., as described herein in connection with fig. 4 and 5). In one or more implementations, more than one resonant frequency may be determined based on the electrical characteristics.
At block 806, an audio output may be generated with the speaker using the resonant frequency. In one or more implementations, generating the audio output includes: the audio content is synthesized by the electronic device (e.g., by the content generator 504 using a synthesizer function) at the resonant frequency (e.g., as discussed herein in connection with fig. 6), and the synthesized audio content is output with a speaker. For example, synthesizing audio content at a resonant frequency may include: the audio content is synthesized according to an encoding recipe that defines the duration and frequency of the tones, the frequencies of which correspond to half-tones bins corresponding to the resonant frequencies (e.g., as described herein in connection with fig. 6). Synthesizing audio content at the resonant frequency may further include: the cadence of the tones in the audio content is defined according to the encoding recipe.
In one or more other implementations, generating the audio output includes: obtaining an audio file stored at the electronic device (e.g., from a database such as audio content database 700 of fig. 7); shifting a pitch of audio content in the audio file based on the resonant frequency; and outputs audio content having a pitch shifted based on the resonance frequency through the speaker. For example, shifting the pitch of the audio file may include: the pitch of the output tone or other output sound indicated by the audio file for output at a first frequency is shifted to the determined resonant frequency, the first frequency being different from the determined resonant frequency.
In one or more implementations, an electronic device can detect an emergency condition and generate an audio output in response to detecting the emergency condition. In one or more use cases, detecting the emergency condition may include: in some use cases user input is received for activating an emergency alert output. In other use cases, detecting an emergency condition may include: an emergency condition is detected with a sensor of the electronic device (e.g., an inertial sensor such as an accelerometer, a heart rate sensor, a blood oxygen sensor, a microphone, or another sensor). For example, detecting an emergency condition may include: a fall and/or lack of movement of a user or wearer of the electronic device is detected.
In one or more implementations, the process 800 may further include: the change in the electrical characteristic is detected when the audio output is generated with the speaker. For example, the speaker itself, its components, and/or nearby or surrounding components may heat up due to operation of the speaker to generate an audio output, which may result in a change in one or more electrical characteristics of the electronic component. In one or more implementations, the process 800 may further include: an updated resonant frequency different from the resonant frequency is determined based on the detected change in the electrical characteristic. For example, heating of the voice coil of the speaker may cause the resonant frequency of the speaker (e.g., due to mechanical resonance) to shift in frequency (e.g., downward) during operation of the speaker. In one or more implementations, the process 800 may further include: the audio output is modified based on the updated resonant frequency. For example, modifying the audio output based on the updated resonant frequency may include: the pitch of one or more tones or other sounds in an existing audio file used to generate the audio output is shifted to a different pitch corresponding to the updated resonant frequency. As another example, modifying the audio output based on the updated resonant frequency may include: a new audio file is obtained from the audio content database, the new audio file comprising audio content at the updated resonant frequency. As another example, modifying the audio output based on the updated resonant frequency may include: new audio content is synthesized at the updated resonant frequency using the synthesizer function.
In one or more implementations, determining the resonant frequency at block 804 may include: a first resonant frequency and a second resonant frequency (e.g., and/or one or more additional resonant frequencies) of the speaker are determined. In one or more implementations, the first resonant frequency is attributable to a mechanical resonance of the speaker and the second resonant frequency is attributable to an acoustic resonance of a front port of the speaker. In one or more implementations, generating the audio output may include: an audio output is generated based on the first resonant frequency and the second resonant frequency. For example, generating the audio output based on the first resonant frequency and the second resonant frequency may include: audio content including tones at the first resonant frequency and the second resonant frequency is synthesized, selected from a database, or modified.
In one or more implementations, determining an updated resonant frequency that is different from the resonant frequency may include: a first change in the first resonant frequency and a second change in the second resonant frequency are determined, the first change being different from the second change. For example, the first variation and/or the second variation may be due to variations in mechanical and/or acoustic resonance shifts, respectively, such as due to heating of the speaker and/or electronic components. In one or more implementations, modifying the audio output based on the updated resonant frequency may include: a first portion of the audio output (e.g., one or more first tones) is modified based on the first variation and a second portion of the audio output (e.g., one or more second tones) is modified based on the second variation. For example, modifying the first portion of the audio output based on the first variation may include: for example, shifting a pitch of one or more tones of the audio output to a first updated resonant frequency, the first updated resonant frequency determined by applying a first change in the first resonant frequency. Modifying the second portion of the audio output based on the second variation may include: for example, shifting the pitch of one or more other tones of the audio output to a second updated resonant frequency, the second updated resonant frequency determined by applying a second change in the second resonant frequency. In various use cases, the first variation may be greater than the second variation or in a different direction than the second variation.
In one or more implementations, the process 800 may further include: debris in (e.g., or above) a speaker port of the speaker is detected based on the change in the electrical characteristic, and the speaker is operated to clear the debris. In one or more implementations, in response to detecting debris based on the electrical characteristic or a change in the electrical characteristic, the electronic device may determine not to generate an audio output (e.g., until the electronic device determines that the debris has been removed or cleared). In one or more other implementations, the frequency of the audio output from the speaker may be modified to account for the new resonant frequency of the detected debris.
Fig. 9 illustrates a flow diagram of an exemplary process for generating an emergency alert with an electronic device according to one or more implementations. For purposes of explanation, the process 900 is described herein primarily with reference to the electronic device 100 and speaker 114 of fig. 1 and 2. However, process 900 is not limited to electronic device 100 and speaker 114 in fig. 1 and 2, and one or more blocks (or operations) of process 900 may be performed by one or more other components and other suitable devices. For further explanation purposes, the blocks of process 900 are described herein as occurring sequentially or linearly. However, multiple blocks of process 900 may occur in parallel. Moreover, the blocks of process 900 need not be performed in the order shown, and/or one or more blocks of process 900 need not be performed and/or may be replaced by other operations.
In the example of fig. 9, at block 902, an electronic device (e.g., electronic device 100) may receive an emergency alert trigger. For example, in one or more implementations, the electronic device may include one or more sensors, and the emergency alert triggers include sensor-based triggers based on sensor signals from the sensors. For example, the electronic device may include inertial sensors such as accelerometers, heart rate sensors, blood oxygen sensors, microphones, and/or other sensors. Using one or more of the sensors, the electronic device may generate an emergency alert trigger by detecting a fall or inactivity period of, for example, a user or wearer of the electronic device. As another example, the emergency alert trigger may be a user input such as a user input (e.g., a button press, a dial rotation, an input to a touch-sensitive surface, a voice input, and/or any combination thereof) for initiating an emergency alert.
At block 904, the electronic device may determine a resonant frequency of a speaker of the electronic device based on an electrical characteristic of a component of the speaker in response to the emergency alert trigger. For example, determining the resonant frequency may include performing any or all of the operations described herein in connection with the resonant estimator 502 of fig. 5 and/or the block 804 of fig. 8.
At block 906, the electronic device may generate an emergency alert including audio content with a speaker at a resonant frequency. For example, the electronic device may synthesize audio content at a resonant frequency, may obtain a previously stored audio file including the audio content at the resonant frequency, and/or may modify the content of an existing audio file to shift the pitch of the content to the resonant frequency. Generating the emergency alert may include performing any or all of the operations described herein in connection with content generator 504 of fig. 5 and/or block 806 of fig. 8.
In various examples described herein, determining the resonant frequency based on the electrical characteristic, such as the impedance, includes deriving the resonant frequency by adjusting or fitting a parameterized model of the impedance. However, in one or more use cases where the speaker is blocked by liquid (e.g., water) or other debris, the dynamic nature of the blockage (e.g., the amount, positioning, and/or composition of the blockage) may make it difficult or impossible to model the impedance of the blocked speaker. Thus, in some other examples, the resonant frequency of a speaker blocked by liquid or other debris may be determined by: the speaker is operated in a range of output frequencies, a value of the electrical characteristic is measured at each of the output frequencies, and the resonance frequency is determined by selecting an output frequency having a highest value of the electrical characteristic among the measured values of the electrical characteristic.
For example, fig. 10 shows a use case in which the speaker 114 of the electronic device 100 is blocked by a blocking object 1000. For example, the obstruction 1000 may be a liquid (e.g., water, oil, or any other fluid) and/or other debris (e.g., dust, dirt, sand, etc.) that has entered the front port 210 (e.g., and/or entered the front volume 209 of the acoustic conduit 206 and/or speaker 114) by the opening 108. As one illustrative example, when the electronic device 100 is splashed or submerged in water (e.g., when the wearer of the smart watch swims, washes dishes or hands, is exposed to rain, or otherwise bumps into water), water may flow into the front port 210 and block the speaker 114.
The presence of the obstruction 1000 in the front port 210 may change the acoustic properties of the speaker 114, the acoustic conduit 206, and/or the front port 210. For example, the obstruction 1000 may alter the resonance of the speaker 114, the acoustic conduit 206, and/or the front port 210. In one or more implementations, this change in resonance can be used to detect the presence of obstruction 1000. For example, the obstruction 1000 may be detected by detecting a change in the resonant frequency of the speaker 114, the acoustic conduit 206, and/or the front port 210 (e.g., a drop such as up to or exceeding ten, twenty, thirty, forty, or fifty percent), and/or by detecting a change in a corresponding electrical characteristic of an electronic component (e.g., the electronic component 500) of an electronic device as described herein. As another example, the blockage 1000 may be detected by determining that the value of the electrical characteristic is different from (e.g., as low as, for example, up to or more than ten, twenty, thirty, forty, or fifty percent lower than) the value of the electrical characteristic expected when the speaker 114, acoustic conduit 206, and/or front port 210 are not blocked. As another example, obstruction 1000 may be detected by determining that a current value of an electrical characteristic fails to fit to a model of the electrical characteristic as described herein (e.g., by attempting to fit the model to the current value and determining that the fit fails statistically).
In one or more implementations, when the obstruction 1000 is detected, the electronic device 100 can determine a current resonant frequency of the speaker 114, the acoustic conduit 206, and/or the front port 210 when the speaker 114 is blocked. The electronic device 100 may then operate the speaker 114 at a frequency based on the determined resonant frequency (e.g., by vibrating the sound generating component 215 at that frequency) to expel or exclude the obstruction 1000.
For example, fig. 11 shows an exemplary use case in which at least a portion 1100 of the obstruction 1000 is expelled from the front port 210 via the opening 108 by the speaker 114 operating at a frequency that has been determined based on the resonant frequency. Fig. 11 also shows how the amount of obstruction 1000 decreases as the portion 1100 is expelled. In one or more use cases, the positioning of the obstruction 1000 may also be changed during or after the operation of the speaker 114 to exclude the portion 1100 of the obstruction. Such changes in the amount and/or positioning of the obstruction 1000 may also change the acoustic properties of the speaker 114, the acoustic conduit 206, and/or the front port 210, including changing the resonant frequency of the speaker 114, the acoustic conduit 206, and/or the front port 210, which may reduce the effectiveness of speaker operation to continue to expel the obstruction 1000.
In one or more implementations, while the remainder of the obstruction 1000 remains in the front port 210, the electronic device 100 may periodically determine an updated resonant frequency of the speaker 114, the acoustic conduit 206, and/or the front port 210, and operate the speaker 114 at a new frequency based on the updated resonant frequency to continue to expel the remainder of the obstruction 1000. For example, fig. 12 illustrates an exemplary use case where the remainder of the obstruction 1000 remains in the front port 210 after the expulsion shown in fig. 11. In this exemplary use case of fig. 12, the electronic device 100 may determine an updated resonant frequency of the speaker 114, the acoustic duct 206, and/or the front port 210 with the remainder of the obstruction 1000 in the front port 210. For example, the updated resonant frequency may differ by as much as or more than three, five, or ten percent (as examples) from the previous resonant frequency used in the draining operation shown in fig. 11. For example, a resonant frequency of about 800 hertz (Hz) without obstructions may drop below 400Hz with obstructions, and in some use cases may vary between 25Hz and 150Hz between iterations of obstruction expelling operations.
The electronic device 100 may then operate the speaker at a new frequency based on the updated resonant frequency to continue to expel the remainder of the obstruction 1000. The electronic device 100 may iteratively determine an updated resonant frequency, determine an output frequency based on the resonant frequency, and operate the speaker 114 at the determined output frequency to expel the obstruction 1000. In one or more implementations, the electronic device 100 may continue to iteratively perform these obstruction expelling operations with iteratively updated resonant frequencies until an expelling termination threshold has been reached. As one illustrative example, the discharge termination threshold may be a threshold (e.g., an expected value) of an electrical characteristic (e.g., current, voltage, or impedance) above which an obstruction is determined to be absent and below which the obstruction is determined to be present. For another example, the iterative draining process may continue until the model of the electrical characteristic may again successfully (e.g., statistically) fit to the current value of the electrical characteristic.
In one or more implementations, for each determined resonant frequency, determining an output frequency at which to operate speaker 114 to exclude obstruction 1000 may include determining that the output frequency is the same as the resonant frequency. However, in one or more implementations, as the resonant frequency changes, if the resonant frequency is within a human-audible frequency range, outputting the changing resonant frequency without modification may cause speaker 114 to output an acoustically objectionable sound combination that may be disturbing or otherwise undesirable to a user of the electronic device. Thus, in one or more implementations, the electronic device 100 may determine the resonant frequency and then determine the output frequency of the operating speaker 114 by selecting the frequency closest to the resonant frequency from among notes or tones that include a major scale or a minor scale of the previous output frequency.
For example, if speaker 114 is recently operated (e.g., in a previous iteration of the blockage expelling operation with speaker 114) at a first output frequency corresponding to a tone in a large scale, the output frequency of the current iteration of the blockage expelling operation may be selected as another tone from the same large scale that is closest in frequency to the current resonant frequency of speaker 114, acoustic duct 206, and/or front port 210. In this way, the efficiency of using the resonant frequency to exclude or expel obstructions may be combined with the pitch of the predetermined pattern (e.g., a large scale or a small scale) to generate an acoustically pleasing output (e.g., a melody or melody-like output) from the speaker during the excluding or expelling operation. In various implementations, tone switching in the large or small scale may be performed discontinuously (e.g., by starting the output of the new tone without outputting any intervening tones after stopping the output of the previous tone) or gradually (e.g., by providing an output that sweeps one or more frequencies between the previous tone and the new tone, which may also cause the output to pass through one or more resonant frequencies on a path between tones selected to be near the resonant frequency). In various implementations, the output frequency may be determined by the content generator 504 as described herein by obtaining a file having audio content at the determined output frequency from the audio content database 700 (e.g., using a lookup table) or by synthesizing audio content at the determined output frequency (e.g., as described herein in connection with fig. 6).
In various examples described herein, the resonant frequency of the speaker 114, the acoustic duct 206, and/or the front port 210 may be determined by fitting parameters of a model of the electrical characteristics of the electronic component (e.g., the electronic component 500) to the current measurements of the electrical characteristics. However, in use cases where the speaker 114, the acoustic conduit 206, and/or the front port 210 are blocked (e.g., blocked by the blockage 1000), as described herein, the acoustic properties (e.g., including resonant frequency) of the speaker 114, the acoustic conduit 206, and/or the front port 210 may be changed to such an extent: a model of the electrical characteristic (which is mechanically and/or acoustically implemented by operation of the speaker 114 as described herein in connection with fig. 5) cannot be successfully fitted to the current value of the electrical characteristic. Thus, in one or more implementations, determining the resonant frequency of the speaker 114, the acoustic duct 206, and/or the front port 210 may be performed based on the determined value of the electrical characteristic without using a model of the electrical characteristic.
For example, in one or more implementations, the speaker 114 may be operated at multiple frequencies (e.g., by outputting noise content including multiple frequencies or by outputting sweeps over an acoustic frequency range), and electrical characteristics (e.g., current, voltage, and/or impedance) may be measured at each of the multiple frequencies during output. The highest frequency of the values of the electrical characteristics among the measured electrical characteristics may be determined as the current resonant frequency of the blocked speaker 114, acoustic duct 206, and/or front port 210.
In one or more implementations, the electrical characteristic may be an impedance of the electronic component 500 (e.g., the voice coil 203 of the speaker 114), and measuring the impedance may include measuring a voltage across the voice coil and deriving the impedance using the measured voltage and a known current through the voice coil. In one or more other implementations, the current through the voice coil may be a fixed current and the voltage may act as a proxy for impedance (since the current does not change), and the electrical characteristic of the peak indicative resonant frequency may be the voltage on the voice coil.
In one or more implementations, a low noise high gain circuit (e.g., a low amplitude mode output driver) for an amplifier of speaker 114 may be used (e.g., using a fixed current) to operate speaker 114 at a plurality of frequencies to determine a peak electrical characteristic value from which a resonant frequency may be determined. For example, using a low amplitude mode output driver to operate the speaker 114 at multiple frequencies may allow the speaker 114 to operate at an amplitude low enough that the output of the speaker at the multiple frequencies may be inaudible to a user of the electronic device (e.g., even if one or more of the multiple frequencies are within a human audible frequency range). In one or more implementations, the low-amplitude mode driver may provide a low-level differential current output and may quickly enter and exit the low-amplitude mode (e.g., in less than two milliseconds or less than five milliseconds) so that each measurement of the resonant frequency of a blocked speaker may be quickly performed.
Fig. 13 illustrates a flow diagram of an exemplary process for obstruction evacuation using one or more resonant frequencies of a speaker in accordance with one or more implementations. For purposes of explanation, the process 1300 is described herein primarily with reference to the electronic device 100 and speaker 114 of fig. 1 and 2. However, process 1300 is not limited to electronic device 100 and speaker 114 in fig. 1 and 2, and one or more blocks (or operations) of process 1300 may be performed by one or more other components and other suitable devices. For further explanation purposes, the blocks of process 1300 are described herein as occurring sequentially or linearly. However, multiple blocks of process 1300 may occur in parallel. Moreover, the blocks of process 11300 need not be performed in the order shown, and/or one or more blocks of process 1300 need not be performed and/or may be replaced by other operations.
In the example of fig. 13, at block 1302, an electronic device (e.g., electronic device 100) may determine a resonant frequency of a speaker (e.g., speaker 114) when the speaker is blocked by a blockage (e.g., blockage 1000). For example, determining the resonant frequency may include: the speaker is operated at a plurality of output frequencies, and a resonance frequency is determined based on a peak value of an electrical characteristic of an electronic component (e.g., the electronic component 500) of a device including the speaker.
At block 1304, the electronic device may operate a speaker to expel the obstruction based on the resonant frequency. For example, operating the speaker based on the resonant frequency may include: the speaker is operated at a resonant frequency. As another example, operating a speaker based on a resonant frequency may include: determining an output frequency different from the resonant frequency using the resonant frequency and a previous output frequency (e.g., a previous frequency of operating the speaker based on a previously determined resonant frequency during a previous iteration of a blockage discharge operation with the speaker); and operating the speaker at the output frequency. For example, using the resonant frequency and the previous output frequency to determine an output frequency different from the resonant frequency may include: the previous output frequency is used to determine the output frequency in the large scale or the small scale.
In one or more implementations, the resonant frequency may be a first resonant frequency, operating the first portion of the speaker discharge obstruction based on the resonant frequency, and the electronic device may further: determining a second resonant frequency of the speaker after draining the first portion of the obstruction and when the speaker is obstructed by a remaining second portion of the obstruction (e.g., as in the example of fig. 12), the second resonant frequency being different from the first resonant frequency; and operating the speaker based on the second resonant frequency to expel a remaining second portion of the obstruction.
In one or more implementations, before determining the resonant frequency and when the speaker is blocked by the blockage, the electronic device may obtain a value of an electrical characteristic of an electronic component (e.g., electronic component 500) of the electronic device that includes the speaker, and determine the resonant frequency of the speaker based on the value of the electrical characteristic. For example, the electrical characteristic may be or include at least one of voltage, current, or impedance. For example, the electronic components may include components of a speaker. For example, the components of the speaker may include a voice coil of the speaker (e.g., voice coil 203).
In one or more implementations, obtaining the value of the electrical characteristic may include: providing a fixed current through a voice coil of the speaker; obtaining a voltage on a voice coil of the speaker while supplying a fixed current; and determining a resonant frequency of the speaker based on the voltage. In one or more implementations, determining the resonant frequency based on the value of the electrical characteristic may include: operating the speaker at a plurality of frequencies when the speaker is blocked by the blocking object; obtaining a plurality of respective values of the electrical characteristic when operating the speaker at a plurality of frequencies; identifying peaks of a plurality of corresponding values of the electrical characteristic; and determining a resonant frequency based on the peak values of the plurality of respective values (e.g., based on a frequency output by the speaker when the value of the electrical characteristic is the peak value).
In one or more implementations, prior to determining the resonant frequency, the electronic device may detect the obstruction by: comparing the value of the electrical characteristic with an expected value of the electrical characteristic; and detecting an obstruction based on the comparison (e.g., by determining that the value of the electrical characteristic differs from the expected value by a threshold amount based on the comparison). In one or more implementations, the electronic device can detect the obstruction based on a change in a value of the electrical characteristic (e.g., based on the value of the electrical characteristic decreasing by at least a threshold amount) before determining the resonant frequency. In one or more implementations, prior to determining the resonant frequency, the electronic device may detect an obstruction based on a failure of a model (e.g., a parameterized model) of the electrical characteristic to fit a value of the electrical characteristic (e.g., a statistical failure, such as a fitting metric greater than a threshold fitting value).
In one or more implementations, the electronic device may iteratively perform the determining and the operating until the value of the electrical characteristic reaches the end-of-discharge threshold. In one or more implementations, the electronic device may detect the obstruction based on the value of the electrical characteristic prior to determining the resonant frequency; and after operating the speaker based on the resonant frequency, determining that the obstruction has been expelled based on the updated value of the electrical characteristic. For example, the electronic device may determine that the updated value of the electrical characteristic meets an end-of-discharge threshold (e.g., the updated value is higher than or within a threshold range of expected values, and/or a model of the electrical characteristic can be fitted).
As above, one aspect of the present technology is to collect and use data that is available from specific and legal sources to provide user information associated with processing audio and/or non-audio signals. The present disclosure contemplates that in some instances, the collected data may include personal information data that uniquely identifies or may be used to identify a particular person. Such personal information data may include demographic data, location-based data, online identifiers, telephone numbers, email addresses, home addresses, data or records related to the user's health or fitness level (e.g., vital sign measurements, medication information, exercise information), date of birth, or any other personal information.
The present disclosure recognizes that the use of such personal information data in the present technology may be used to benefit users. For example, personal information data may be used to detect emergency conditions and/or generate emergency alerts. Thus, the use of such personal information data may facilitate transactions (e.g., online transactions). In addition, the present disclosure contemplates other uses for personal information data that are beneficial to the user. For example, health and fitness data may be used according to user preferences to provide insight into their overall health condition, or may be used as positive feedback to individuals who use technology to pursue health goals.
The present disclosure contemplates that entities responsible for collecting, analyzing, disclosing, transmitting, storing, or otherwise using such personal information data will adhere to established privacy policies and/or privacy practices. In particular, it would be desirable for such entity implementations and consistent applications to generally be recognized as meeting or exceeding privacy practices required by industries or governments maintaining user privacy. Such information about the use of personal data should be prominent and easily accessible to the user and should be updated as the collection and/or use of the data changes. The user's personal information should be collected only for legitimate use. In addition, such collection/sharing should only occur after receiving user consent or other legal basis specified in the applicable law. In addition, such entities should consider taking any necessary steps to defend and secure access to such personal information data and to ensure that others who have access to personal information data adhere to their privacy policies and procedures. In addition, such entities may subject themselves to third party evaluations to prove compliance with widely accepted privacy policies and practices. In addition, policies and practices should be tailored to the particular type of personal information data being collected and/or accessed and adapted to applicable laws and standards, including jurisdictional-specific considerations that may be employed to impose higher standards. For example, in the united states, the collection or acquisition of certain health data may be governed by federal and/or state law, such as the health insurance flow and liability act (HIPAA); while health data in other countries may be subject to other regulations and policies and should be processed accordingly.
In spite of the foregoing, the present disclosure also contemplates embodiments in which a user selectively prevents use or access to personal information data. That is, the present disclosure contemplates that hardware elements and/or software elements may be provided to prevent or block access to such personal information data. For example, in terms of detecting an emergency condition and/or generating an emergency alert, the present technology may be configured to allow a user to choose to "opt-in" or "opt-out" to participate in the collection of personal information data during or at any time subsequent to the registration service. In addition to providing the "opt-in" and "opt-out" options, the present disclosure also contemplates providing notifications related to accessing or using personal information. For example, the user may be notified that his personal information data will be accessed when the application is downloaded, and then be reminded again just before the personal information data is accessed by the application.
Further, it is an object of the present disclosure that personal information data should be managed and processed to minimize the risk of inadvertent or unauthorized access or use. Once the data is no longer needed, risk can be minimized by limiting the data collection and deleting the data. In addition, and when applicable, included in certain health-related applications, the data de-identification may be used to protect the privacy of the user. De-identification may be facilitated by removing identifiers, controlling the amount or specificity of stored data (e.g., collecting location data at a city level instead of at an address level), controlling how data is stored (e.g., aggregating data among users), and/or other methods such as differentiated privacy, as appropriate.
Thus, while the present disclosure broadly covers the use of personal information data to implement one or more of the various disclosed embodiments, the present disclosure also contemplates that the various embodiments may be implemented without accessing such personal information data. That is, various embodiments of the present technology do not fail to function properly due to the lack of all or a portion of such personal information data.
Fig. 14 illustrates an electronic system 1400 that can be used to implement one or more implementations of the subject technology. Electronic system 1400 may be, and/or be part of, one or more of electronic devices 100 shown in fig. 1. Electronic system 1400 may include various types of computer-readable media and interfaces for various other types of computer-readable media. Electronic system 1400 includes bus 1408, one or more processing units 1412, system memory 1404 (and/or buffers), ROM 1410, persistent storage 1402, input device interface 1414, output device interface 1406, and one or more network interfaces 1416, or a subset and variation thereof.
Bus 1408 generally represents all of the systems, peripherals, and chipset buses that communicatively connect many of the internal devices of electronic system 1400. In one or more implementations, a bus 1408 communicatively connects one or more processing units 1412 with the ROM 1410, the system memory 1404, and the persistent storage device 1402. One or more processing units 1412 retrieve instructions to be executed and data to be processed from these various memory units in order to perform the processes of the subject disclosure. In different implementations, the one or more processing units 1412 may be a single processor or a multi-core processor.
ROM 1410 stores static data and instructions required by one or more processing units 1412 and other modules of electronic system 1400. On the other hand, persistent storage 1402 may be a read-write memory device. Persistent storage 1402 may be a non-volatile memory unit that stores instructions and data even when electronic system 1400 is turned off. In one or more implementations, a mass storage device (such as a magnetic or optical disk and its corresponding disk drive) may be used as persistent storage device 1402.
In one or more implementations, removable storage devices (such as floppy disks, flash memory drives, and their corresponding disk drives) may be used as the permanent storage device 1402. Like persistent storage 1402, system memory 1404 may be a read-write memory device. However, unlike persistent storage 1402, system memory 1404 may be a volatile read-write memory, such as random access memory. The system memory 1404 may store any of the instructions and data that may be needed by the one or more processing units 1412 at run-time. In one or more implementations, the processes of the subject disclosure are stored in system memory 1404, persistent storage 1402, and/or ROM 1410. The one or more processing units 1412 retrieve instructions to be executed and data to be processed from these various memory units in order to perform one or more specific implemented processes.
Bus 1408 is also connected to an input device interface 1414 and an output device interface 1406. The input device interface 1414 enables a user to communicate information and select commands to the electronic system 1400. Input devices that can be used with the input device interface 1414 can include, for example, a microphone, an alphanumeric keyboard, and a pointing device (also referred to as a "cursor control device"). The output device interface 1406 may enable, for example, the display of images generated by the electronic system 1400. Output devices that may be used with output device interface 1406 may include, for example, printers and display devices, such as Liquid Crystal Displays (LCDs), light Emitting Diode (LED) displays, organic Light Emitting Diode (OLED) displays, flexible displays, flat panel displays, solid state displays, projectors, speakers, or speaker modules, or any other device for outputting information. One or more implementations may include a device that serves as both an input device and an output device, such as a touch screen. In these implementations, the feedback provided to the user may be any form of sensory feedback, such as visual feedback, auditory feedback, or tactile feedback; and input from the user may be received in any form, including acoustic, speech, or tactile input.
Finally, as shown in fig. 14, bus 1408 also couples electronic system 1400 to one or more networks and/or to one or more network nodes via one or more network interfaces 1416. In this manner, electronic system 1400 may be part of a computer network, such as a LAN, a wide area network ("WAN") or an intranet, or may be part of a network of networks, such as the Internet. Any or all of the components of electronic system 1400 may be used with the subject disclosure.
According to some aspects of the subject disclosure, there is provided a method comprising: obtaining an electrical characteristic of an electronic component of an electronic device during operation of the electronic component; determining a resonant frequency of a speaker of the electronic device based on the electrical characteristic; and generating an audio output with the speaker using the resonant frequency.
According to other aspects of the subject disclosure, there is provided an electronic device comprising: a speaker; an electronic component; and one or more processors configured to: receiving an emergency alert trigger; responsive to the emergency alert trigger, determining a resonant frequency of the speaker based on an electrical characteristic of a component of the speaker; and generating an emergency alert including audio content with the speaker at the resonant frequency.
According to other aspects of the subject disclosure, there is provided an electronic device comprising: a speaker; an electronic component; and one or more processors configured to: obtaining an electrical characteristic of the electronic component during operation of the speaker; determining a resonant frequency of the speaker based on the electrical characteristic; and generating an audio output with the speaker using the resonant frequency.
According to other aspects of the subject disclosure, there is provided an electronic device comprising: a speaker; and one or more processors configured to: determining a resonant frequency of the speaker when the speaker is blocked by a blocking object; and operating the speaker based on the resonant frequency to expel the obstruction.
According to other aspects of the subject disclosure, there is provided a method comprising: determining a resonant frequency of the speaker when the speaker is blocked by the blocking object; and operating the speaker based on the resonant frequency to expel the obstruction.
According to other aspects of the subject disclosure, there is provided a non-transitory computer-readable medium storing instructions that, when executed by one or more processors, cause the one or more processors to: determining a resonant frequency of the speaker when the speaker is blocked by the blocking object; and operating the speaker based on the resonant frequency to expel the obstruction.
Implementations within the scope of the present disclosure may be partially or fully implemented using a tangible computer-readable storage medium (or multiple tangible computer-readable storage media of one or more types) having one or more instructions written thereon. The tangible computer readable storage medium may also be non-transitory in nature.
A computer readable storage medium may be any storage medium that can be read, written, or otherwise accessed by a general purpose or special purpose computing device including any processing electronics and/or processing circuitry capable of executing the instructions. By way of example, and not limitation, computer readable media can comprise any volatile semiconductor memory such as RAM, DRAM, SRAM, T-RAM, Z-RAM and TTRAM. The computer readable medium may also include any non-volatile semiconductor memory, such as ROM, PROM, EPROM, EEPROM, NVRAM, flash, nvSRAM, feRAM, feTRAM, MRAM, PRAM, CBRAM, SONOS, RRAM, NRAM, racetrack, FJG, and Millipede memories.
Furthermore, the computer-readable storage medium may include any non-semiconductor memory, such as optical disk storage, magnetic tape, other magnetic storage devices, or any other medium capable of storing one or more instructions. In one or more implementations, the tangible computer-readable storage medium may be directly coupled to the computing device, while in other implementations, the tangible computer-readable storage medium may be indirectly coupled to the computing device, for example, via one or more wired connections, one or more wireless connections, or any combination thereof.
The instructions may be directly executable or may be used to develop executable instructions. For example, the instructions may be implemented as executable or non-executable machine code, or may be implemented as high-level language instructions that may be compiled to produce executable or non-executable machine code. Further, the instructions may also be implemented as data, or may include data. Computer-executable instructions may also be organized in any format, including routines, subroutines, programs, data structures, objects, modules, applications, applets, functions, and the like. As will be appreciated by one of skill in the art, details including, but not limited to, the number, structure, sequence, and organization of instructions may vary significantly without altering the underlying logic, functionality, processing, and output.
While the above discussion primarily refers to a microprocessor or multi-core processor executing software, one or more implementations are performed by one or more integrated circuits, such as an ASIC or FPGA. In one or more implementations, such integrated circuits execute instructions stored on the circuits themselves.
The various functions described above may be implemented in digital electronic circuitry, computer software, firmware, or hardware. The techniques may be implemented using one or more computer program products. The programmable processor and computer may be included in or packaged as a mobile device. The processes and logic flows can be performed by one or more programmable processors and one or more programmable logic circuits. The general purpose and special purpose computing devices and the storage devices may be interconnected by a communication network.
Some implementations include electronic components, such as microprocessors, storage devices, and memories, that store computer program instructions in a machine-readable or computer-readable medium (alternatively referred to as a computer-readable storage medium, a machine-readable medium, or a machine-readable storage medium). Some examples of such computer-readable media include RAM, ROM, compact disk read-only (CD-ROM), compact disk recordable (CD-R), compact disk rewriteable (CD-RW), digital versatile disk read-only (e.g., DVD-ROM, dual-layer DVD-ROM), various recordable/rewriteable DVDs (e.g., DVD-RAM, DVD-RW, dvd+rw, etc.), flash memory (e.g., SD card, mini-SD card, micro-SD card, etc.), magnetic and/or solid state hard drives, ultra-dense optical disks, any other optical or magnetic media, and floppy disks. The computer-readable medium may store a computer program executable by at least one processing unit and comprising a set of instructions for performing various operations. Examples of a computer program or computer code include machine code, such as produced by a compiler, and files containing higher level code that may be executed by the computer, electronic component, or microprocessor using an interpreter.
While the discussion above refers primarily to microprocessors or multi-core processors executing software, some implementations are performed by one or more integrated circuits, such as an Application Specific Integrated Circuit (ASIC) or a Field Programmable Gate Array (FPGA). In some implementations, such integrated circuits execute instructions stored on the circuits themselves.
As used in this specification and any claims of this patent application, the terms "computer," "processor," and "memory" refer to electronic or other technical equipment. These terms exclude a person or group of people. For purposes of this specification, the term "display" or "displaying" means displaying on an electronic device. As used in this specification and any claims of this patent application, the terms "computer-readable medium" and "computer-readable medium" are entirely limited to tangible objects that store information in a form that can be read by a computer. These terms do not include any wireless signals, wired download signals, and any other transitory signals.
Many of the features and applications described above can be implemented as software processes specified as a set of instructions recorded on a computer-readable storage medium (also referred to as a computer-readable medium). When executed by one or more processing units (e.g., one or more processors, cores of processors, or other processing units), the instructions cause the one or more processing units to perform the actions indicated in the instructions. Examples of computer readable media include, but are not limited to, CD-ROM, flash memory drives, RAM chips, hard drives, EPROMs, and the like. Computer readable media does not include carrier waves and electrical signals transmitted wirelessly or through a wired connection.
In this specification, the term "software" is intended to include firmware residing in read-only memory or applications stored in magnetic storage devices, which can be read into memory for processing by a processor. Also, in some implementations, various software aspects of the subject disclosure may be implemented as sub-portions of a larger program while retaining the different software aspects of the subject disclosure. In some implementations, multiple software aspects may also be implemented as separate programs. Finally, any combination of separate programs that collectively implement the software aspects described herein is within the scope of the subject disclosure. In some implementations, the software program, when installed to run on one or more electronic systems, defines one or more particular machine implementations that execute and perform the operations of the software program.
A computer program (also known as a program, software application, script, or code) can be written in any form of programming language, including compiled or interpreted languages, declarative or procedural languages, and it can be deployed in any form, including as a stand-alone program or as a module, component, subroutine, object or other unit suitable for use in a computing environment. The computer program may, but need not, correspond to a file in a file system. A program can be stored in a portion of a file that holds other programs or data (e.g., one or more scripts stored in a markup language document), in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub-programs, or portions of code). A computer program can be deployed to be executed on one computer or on multiple computers at the same site or distributed across multiple sites and interconnected by a communication network.
It should be understood that the specific order or hierarchy of blocks in the processes disclosed herein is an illustration of exemplary approaches. Based on design preference requirements, it should be understood that the particular order or hierarchy of blocks in the process may be rearranged or all illustrated blocks may be performed. Some of these blocks may be performed simultaneously. For example, in some cases, multitasking and parallel processing may be advantageous. Moreover, the partitioning of various system components in the implementations described above should not be understood as requiring such partitioning in all implementations, and it should be understood that program components and systems may generally be integrated together in a single software product or packaged into multiple software products.
The previous description is provided to enable any person skilled in the art to practice the various aspects described herein. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other aspects. Accordingly, the claims are not intended to be limited to the aspects shown herein, but is to be accorded the full scope consistent with the language claims, wherein reference to elements in singular values is not intended to mean "one and only one" but rather "one or more" unless specifically so stated. The term "some" means one or more unless specifically stated otherwise. The terminology of male (e.g., his) includes female and neutral (e.g., her and its), and vice versa. Headings and sub-headings (if any) are used for convenience only and do not limit the subject disclosure.
The predicates "configured to", "operable to", and "programmed to" do not mean any particular tangible or intangible modification to a subject but are intended to be used interchangeably. For example, a component or a processor configured to monitor and control operation may also mean that the processor is programmed to monitor and control operation or that the processor is capable of operating to monitor and control operation. Likewise, a processor configured to execute code may be interpreted as a processor programmed to execute code or operable to execute code.
A phrase such as an "aspect" does not imply that this aspect is essential to the subject technology or that this aspect applies to all configurations of the subject technology. The disclosure relating to one aspect may apply to all configurations, or one or more configurations. A phrase such as an aspect may refer to one or more aspects and vice versa. Phrases such as "configuration" do not imply that such configuration is required by the subject technology or that such configuration applies to all configurations of the subject technology. The disclosure relating to a configuration may apply to all configurations or one or more configurations. A phrase such as a configuration may refer to one or more configurations and vice versa.
The word "example" is used herein to mean "serving as an example or illustration. Any aspect or design described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other aspects or designs.
In one aspect, the term "coupled" or the like may refer to a direct coupling. On the other hand, the term "coupled" or the like may refer to an indirect coupling.
Terms such as top, bottom, front, rear, side, horizontal, vertical, etc. refer to any frame of reference and not to the usual gravitational frame of reference. Thus, such terms may extend upwardly, downwardly, diagonally or horizontally in a gravitational frame of reference.
All structural and functional equivalents to the elements of the various aspects described throughout this disclosure that are known or later come to be known to those of ordinary skill in the art are expressly incorporated herein by reference and are intended to be encompassed by the claims. Furthermore, nothing disclosed herein is intended to be dedicated to the public regardless of whether such disclosure is explicitly recited in the claims. No claim element should be construed in accordance with the specification of 35u.s.c. ≡112 (f) unless the element is explicitly stated using the phrase "means for … …" or, in the case of method claims, the element is stated using the phrase "step for … …". Furthermore, to the extent that the terms "includes," "including," "has," and the like are used in either the description or the claims, such terms are intended to be inclusive in a manner similar to the term "comprising" as "comprising" is interpreted when employed as a transitional word in a claim.

Claims (41)

1. A method, comprising:
obtaining electrical characteristics of an electronic component of an electronic device during operation of the electronic component;
determining a resonant frequency of a speaker of the electronic device based on the electrical characteristic; and
an audio output is generated with the speaker using the resonant frequency.
2. The method of claim 1, further comprising:
an emergency condition is detected by the electronic device, wherein generating the audio output includes generating the audio output in response to the detection.
3. The method of claim 1, wherein the electrical characteristic comprises at least one of a voltage, a current, or an impedance.
4. The method of claim 1, wherein the electronic component comprises a component of the speaker.
5. The method of claim 4, wherein the component of the speaker comprises a voice coil of the speaker.
6. The method of claim 1, wherein generating the audio output comprises:
synthesizing, by the electronic device, audio content at the resonant frequency; and
and outputting the synthesized audio content by using the loudspeaker.
7. The method of claim 6, wherein synthesizing the audio content at the resonant frequency comprises: the audio content is synthesized according to an encoding recipe defining a duration and a frequency of a tone, the frequency of the tone corresponding to a half-tone lattice corresponding to the resonant frequency.
8. The method of claim 1, wherein generating the audio output comprises:
obtaining an audio file stored at the electronic device;
shifting a pitch of audio content in the audio file based on the resonant frequency; and
the audio content having the pitch shifted based on the resonant frequency is output by the speaker.
9. The method of claim 1, further comprising:
detecting a change in the electrical characteristic while generating the audio output with the speaker;
determining an updated resonant frequency different from the resonant frequency based on the detected change in the electrical characteristic; and
modifying the audio output based on the updated resonant frequency.
10. The method according to claim 9, wherein:
determining the resonant frequency includes determining a first resonant frequency and a second resonant frequency of the speaker; and is also provided with
Generating the audio output includes generating the audio output based on the first resonant frequency and the second resonant frequency.
11. The method of claim 10, wherein determining the updated resonant frequency that is different from the resonant frequency comprises: determining a first change in the first resonant frequency and a second change in the second resonant frequency, the first change being different from the second change, and wherein modifying the audio output based on the updated resonant frequency comprises: a first portion of the audio output is modified based on the first variation and a second portion of the audio output is modified based on the second variation.
12. The method of claim 1, further comprising:
detecting debris in a speaker port of the speaker based on the change in the electrical characteristic; and
the speaker is operated to remove the debris.
13. The method of claim 1, wherein determining the resonant frequency of the speaker based on the electrical characteristic comprises: the model is adjusted based on the electrical characteristic and the resonant frequency is obtained from the adjusted model.
14. An electronic device, comprising:
a speaker;
an electronic component; and
one or more processors configured to:
obtaining electrical characteristics of the electronic component during operation of the speaker;
determining a resonant frequency of the speaker based on the electrical characteristic; and
an audio output is generated with the speaker using the resonant frequency.
15. The electronic device of claim 14, further comprising: a housing having a port for the speaker, wherein the sound generating component of the speaker is offset from the port.
16. The electronic device of claim 15, wherein the port has an additional resonant frequency, and wherein the one or more processors are further configured to:
Determining the additional resonant frequency of the port based on the electrical characteristic; and
the audio output is generated with the speaker using the resonant frequency and the additional resonant frequency.
17. The electronic device defined in claim 15 wherein the electronic component comprises a voice coil of the speaker and wherein the electrical characteristic comprises an impedance of the voice coil.
18. The electronic device of claim 17, wherein the one or more processors are further configured to:
detecting a change in the electrical characteristic while generating the audio output with the speaker;
determining an updated resonant frequency different from the resonant frequency based on the detected change in the electrical characteristic; and
modifying the audio output based on the updated resonant frequency.
19. An electronic device, comprising:
a speaker;
an electronic component; and
one or more processors configured to:
receiving an emergency alert trigger;
determining a resonant frequency of the speaker based on an electrical characteristic of a component of the speaker in response to the emergency alert trigger; and
an emergency alert including audio content is generated at the resonant frequency using the speaker.
20. The electronic device of claim 19, further comprising: a sensor, wherein the emergency alert trigger comprises a sensor-based trigger based on a sensor signal from the sensor.
21. The electronic device of claim 19, wherein the emergency alert trigger comprises a user input.
22. A method, comprising:
determining a resonant frequency of a speaker when the speaker is blocked by a blocking object; and
the speaker is operated to expel the obstruction based on the resonant frequency.
23. The method of claim 22, wherein the resonant frequency is a first resonant frequency, wherein operating the speaker based on the resonant frequency expels a first portion of the obstruction, and wherein the method further comprises:
determining a second resonant frequency of the speaker after draining the first portion of the obstruction and while the speaker is obstructed by a remaining second portion of the obstruction, the second resonant frequency being different from the first resonant frequency; and
the speaker is operated to expel the remaining second portion of the obstruction based on the second resonant frequency.
24. The method of claim 22, further comprising: prior to said determining and when said speaker is blocked by said obstruction, obtaining a value of an electrical characteristic of an electronic component of an electronic device comprising said speaker,
Wherein determining the resonant frequency of the speaker comprises determining the resonant frequency of the speaker based on the value of the electrical characteristic.
25. The method of claim 24, wherein the electrical characteristic comprises at least one of a voltage, a current, or an impedance.
26. The method of claim 25, wherein obtaining the value of the electrical characteristic comprises:
providing a fixed current through a voice coil of the speaker;
obtaining a voltage across the voice coil of the speaker while providing the fixed current; and
the resonant frequency of the speaker is determined based on the voltage.
27. The method of claim 24, wherein determining the resonant frequency based on the value of the electrical characteristic comprises:
operating the speaker at a plurality of frequencies while the speaker is blocked by the obstruction;
obtaining a plurality of respective values of the electrical characteristic when the speaker is operated at the plurality of frequencies;
identifying peaks of the plurality of respective values of the electrical characteristic; and
the resonant frequency is determined based on the peak values of the plurality of respective values.
28. The method of claim 24, further comprising: before determining the resonant frequency, the obstruction is detected by:
Comparing the value of the electrical characteristic with an expected value of the electrical characteristic; and
detecting the occlusion based on the comparison.
29. The method of claim 24, further comprising: the obstruction is detected based on a change in the value of the electrical characteristic prior to determining the resonant frequency.
30. The method of claim 24, further comprising: the obstruction is detected based on a failure of a model of the electrical characteristic to fit the value of the electrical characteristic prior to determining the resonant frequency.
31. The method of claim 24, wherein the electronic component comprises a component of the speaker.
32. The method of claim 31, wherein the component of the speaker comprises a voice coil of the speaker.
33. The method of claim 24, further comprising: the determining and the operating are performed iteratively until the value of the electrical characteristic reaches an end-of-discharge threshold.
34. The method of claim 22, wherein operating the speaker based on the resonant frequency comprises operating the speaker at the resonant frequency.
35. The method of claim 22, wherein operating the speaker based on the resonant frequency comprises:
Determining an output frequency different from the resonant frequency using the resonant frequency and a previous output frequency; and
the speaker is operated at the output frequency.
36. The method of claim 35, wherein determining the output frequency different from the resonant frequency using the resonant frequency and the previous output frequency comprises: the previous output frequency is used to determine the output frequency in the large scale or the small scale.
37. An electronic device, comprising:
a speaker; and
one or more processors configured to:
determining a resonant frequency of the speaker when the speaker is blocked by a blocking object; and
the speaker is operated to expel the obstruction based on the resonant frequency.
38. The electronic device of claim 37, further comprising: an electronic component, wherein the one or more processors are further configured to obtain a value of an electrical characteristic of the electronic component before determining the resonant frequency and when the speaker is blocked by the obstruction, wherein the one or more processors are configured to determine the resonant frequency of the speaker based on the value of the electrical characteristic.
39. The electronic device of claim 38, wherein the electronic component comprises a voice coil of the speaker, and wherein the electrical characteristic comprises a voltage across the voice coil.
40. The electronic device of claim 39, wherein the one or more processors are further configured to:
detecting the obstruction based on the value of the electrical characteristic prior to determining the resonant frequency; and
after the speaker is operated based on the resonant frequency, it is determined that the obstruction has been expelled based on the updated value of the electrical characteristic.
41. A non-transitory computer-readable medium storing instructions that, when executed by one or more processors, cause the one or more processors to:
determining a resonant frequency of a speaker when the speaker is blocked by a blocking object; and
the speaker is operated to expel the obstruction based on the resonant frequency.
CN202310546238.3A 2022-05-20 2023-05-16 Adaptive resonance controlled audio system and method Pending CN117098038A (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US63/344,526 2022-05-20
US18/136,862 2023-04-19
US18/136,862 US20230379625A1 (en) 2022-05-20 2023-04-19 Adaptive resonance-controlled audio systems and methods
US18/136,860 2023-04-19

Publications (1)

Publication Number Publication Date
CN117098038A true CN117098038A (en) 2023-11-21

Family

ID=88774087

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310546238.3A Pending CN117098038A (en) 2022-05-20 2023-05-16 Adaptive resonance controlled audio system and method

Country Status (1)

Country Link
CN (1) CN117098038A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117880725A (en) * 2024-02-08 2024-04-12 上海傅里叶半导体有限公司 Speaker resonant frequency detection method and device and speaker fault detection system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117880725A (en) * 2024-02-08 2024-04-12 上海傅里叶半导体有限公司 Speaker resonant frequency detection method and device and speaker fault detection system
CN117880725B (en) * 2024-02-08 2024-06-28 上海傅里叶半导体有限公司 Speaker resonant frequency detection method and device and speaker fault detection system

Similar Documents

Publication Publication Date Title
US10869118B2 (en) Sound management systems for improving workplace efficiency
US20200068300A1 (en) Audio circuitry
WO2018157688A1 (en) Electronic device and loudness-based detection method
CN117098038A (en) Adaptive resonance controlled audio system and method
US9460592B2 (en) Human audible localization for sound emitting devices
CN106878885B (en) Electronic device and air pressure-based detection method
KR102595050B1 (en) Environmental and aggregate acoustic dosimetry
WO2012092731A1 (en) Electronic terminal and ring prompt method of the electronic terminal
EP1606799B1 (en) Method and device for generating a tone sequence
CN106686493A (en) Method and system for automatically adjusting tone quality
KR20200138671A (en) Environmental and aggregate acoustic dosimetry
CN113542963B (en) Sound mode control method, device, electronic equipment and storage medium
US20230379625A1 (en) Adaptive resonance-controlled audio systems and methods
US20230379626A1 (en) Adaptive resonance-controlled audio systems and methods
KR100772880B1 (en) Portable media player and sound managing method using the information of ambient noises
US20090086997A1 (en) System and method for increasing ring tone volume
US20150124983A1 (en) Circuit and method for driving a loudspeaker
JP2006215232A (en) Apparatus and method for reducing noise
JP2013201758A (en) Provision for adjusting communication device setting
US20240210519A1 (en) Sound-based location detection for electronic devices
US20230379624A1 (en) Speaker control
US20240267674A1 (en) Device-independent audio for electronic devices
US20240214734A1 (en) Content sharing using sound-based locations of electronic devices
CN112753229B (en) Acoustic device and acoustic reproduction method
JP2010161431A (en) Check system of hearing aid state

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