Audio signal control method and device
By detecting the impedance and material heating coefficient of the speaker, combined with the audio amplifier output model, the available temperature of the speaker is determined and the control voltage is adjusted, the problem of the speaker's working status and service life in a high temperature environment is solved, and the normal operation and use effect of the speaker is achieved guarantee.
Patent Information
- Application Number
- CN202110384384.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-09
- Publication Date
- 2025-01-17
- Estimated Expiration
- 2041-04-09
AI Technical Summary
The working state and service life of the speaker in a high temperature environment are affected, and it is difficult for the prior art to effectively determine the appropriate control voltage to ensure the normal operation of the speaker.
By detecting the current impedance and reference impedance of the speaker, combining the material heating coefficient of the speaker coil, the available temperature of the speaker is determined, and the control voltage is determined using a preset audio amplifier output model to ensure that the speaker operates at the appropriate temperature.
Effectively control the audio signal output by the speaker, avoid the damage to the speaker by high temperature, ensure that the speaker works normally in high temperature environments, extends service life, and improves user experience.
Smart Images

Figure CN115209308B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of audio signal processing, and in particular to an audio signal control method and device. Background Art
[0002] In order to realize the audio playback function, wearable devices are often equipped with speakers, and the membrane of the speaker produces sound through vibration. It can be seen that the membrane of the speaker is an important component for wearable devices to realize the audio playback function.
[0003] However, the working state of the speaker's membrane will be affected by the temperature of the environment in which it is located. If the temperature of the environment is too high, it may have a negative impact on the working state of the membrane and even the service life of the membrane. For example, the speaker of an electronic watch works normally under normal working conditions, but under high temperature conditions, due to the characteristics of the speaker material, the diaphragm will change with temperature, causing the amplitude to increase. Therefore, it is necessary to ensure the normal operation of the speaker in different temperature ranges, thereby ensuring the normal operation of the electronic watch. Summary of the invention
[0004] The embodiments of this specification provide an audio signal control method and device to partially solve the above problems existing in the prior art.
[0005] The embodiments of this specification adopt the following technical solutions:
[0006] This specification provides an audio signal control method, the method is based on a wearable device, the wearable device includes a speaker, and the method includes:
[0007] Determine the detection impedance of the speaker at the current moment;
[0008] The available temperature of the speaker is obtained according to the detection impedance, the reference impedance of the speaker, and the material temperature rise coefficient of the speaker coil; wherein the reference impedance shows: the influence degree of the current working state of the speaker on the impedance of the speaker when it is in a normal working state;
[0009] A preset audio power amplifier output model is used to determine a control voltage output by the audio power amplifier to the speaker according to the available temperature, and the control voltage is used to control the audio signal output by the speaker.
[0010] In an optional embodiment of the present specification, the detection impedance is obtained based on a test voltage and a test current; the test voltage and the test current are obtained by detecting the speaker when the speaker receives a test signal.
[0011] In an optional embodiment of the present specification, the reference impedance is obtained by weighting the impedance of the speaker when it is in a normal working state through an impedance correction weight;
[0012] The impedance correction weight is obtained based on the material temperature rise coefficient, the detection temperature, and a reference temperature that makes the speaker in a normal working state; wherein the detection temperature is obtained by performing temperature detection on the speaker at the current moment.
[0013] In an optional embodiment of the present specification, the audio power amplifier output model shows the corresponding relationship between the temperature, the amplitude range of the speaker membrane and the control voltage corresponding to the amplitude range.
[0014] In an optional embodiment of the present specification, the adopting a preset audio power amplifier output model to determine the control voltage output by the audio power amplifier to the speaker according to the available temperature includes:
[0015] Determine an amplitude range corresponding to the available temperature in a preset audio power amplifier output model as an available range;
[0016] If the amplitude corresponding to the available range is higher than the amplitude corresponding to the normal amplitude range when the speaker is in a normal working state, the audio signal output by the speaker is controlled according to the control voltage corresponding to the normal amplitude range.
[0017] In an optional embodiment of the present specification, controlling the audio signal output by the speaker according to the control voltage corresponding to the normal amplitude range includes:
[0018] Among the preset amplitude ranges, the amplitude displayed is the largest and the amplitude range displayed is smaller than the amplitude range displayed in the available range, and is determined as the target range;
[0019] The control voltage corresponding to the target range is determined as the control voltage output by the audio power amplifier to the speaker.
[0020] In an optional embodiment of the present specification, the method is executed by a control system of the wearable device; or, the wearable device further includes an audio amplifier, and the method is executed by a client that controls the audio amplifier.
[0021] This specification provides an audio signal control device, which is used to implement any of the above-mentioned audio signal control methods.
[0022] This specification provides a computer-readable storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned audio signal control method is implemented.
[0023] The present specification provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned audio signal control method when executing the program.
[0024] At least one of the above technical solutions adopted in the embodiments of this specification can achieve the following beneficial effects:
[0025] The process in this specification is based on a wearable device, and the audio signal output by the speaker is controlled by a control voltage. Among them, the control voltage is obtained according to the detection impedance and the reference impedance. The detection impedance shows the detection result of the speaker impedance, and the reference impedance shows the degree of influence of the current working state of the speaker on the impedance of the speaker when it is in a normal working state. It can be seen that the process in this specification can combine the detection result and the current working state of the speaker to determine the control voltage output to the speaker, so that the speaker works under the control voltage to meet the needs of the user and will not be damaged. In addition, the wearable device needs to be worn on the user during use. Since the user's body temperature is usually higher than the room temperature, and the user's limbs are close to the wearable device, the wearable device is more likely to face a higher operating temperature, which makes the speaker component of the wearable device more susceptible to high temperature. Through the process in this specification, it is possible to more sensitively and reasonably determine the control voltage suitable for the speaker for the use scenario of the wearable device close to the human body, so as to ensure the use effect of the speaker set on the wearable device. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0027] Figure 1 A partial structural diagram of a wearable device provided in an embodiment of this specification;
[0028] Figure 2 An audio signal control process provided in an embodiment of this specification;
[0029] Figure 3 A process for determining an impedance correction weight provided in an embodiment of this specification;
[0030] Figure 4 A schematic diagram of the structure of an audio signal control device provided in an embodiment of this specification;
[0031] Figure 5 The embodiments of this specification provide corresponding to Figure 2 Schematic diagram of electronic equipment. DETAILED DESCRIPTION
[0032] In order to make the purpose, technical solutions and advantages of this specification more clear, the technical solutions of this application will be clearly and completely described below in combination with the specific embodiments of this specification and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in the specification, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0033] It is understandable that a high temperature environment (in this specification, "environment" refers to the working environment of the speaker) will have a certain degree of impact on the working state and service life of the equipment and components. For example, due to the influence of the material, the amplitude of the speaker's membrane at high temperature is different from its amplitude at normal temperature, resulting in changes in the working state of the membrane. For another example, high temperature will cause the speaker's membrane to age and deform easily, thereby affecting its service life.
[0034] There are many factors that affect the temperature of the environment, such as the natural temperature of the environment, the heat generated when the speaker is working (in some scenarios, the heat is mainly generated by the heating of the speaker coil), and the heat generated when other components in the speaker's environment are working. In particular, the specific usage scenarios of wearable devices must also be considered. Since wearable devices are mostly close to the user's skin, the user's body temperature may cause the speaker to be in an environment with a higher temperature, and the temperature will change with the user's motion state (when the user is in motion, the body temperature is usually higher, which may cause the speaker's environment temperature to be higher; when the user is stationary, the user's body temperature may not affect the temperature of the speaker's working environment too much). In other words, the usage scenarios of wearable devices will make the factors that affect the speaker's working environment more complicated.
[0035] It can be seen that it is difficult to effectively determine the impact of temperature on the working state of the speaker by only relying on temperature detection of the speaker, and thus it is difficult to determine.
[0036] In view of this, the present specification provides an audio signal control method to at least partially solve the technical problem in the prior art that a more suitable control voltage cannot be determined for a speaker.
[0037] The following is a detailed description of the technical solutions provided by various embodiments of the present application in conjunction with the accompanying drawings. The process of this specification is applied to a wearable device. For example, the wearable device may include: Figure 1 The structure shown. Figure 1 The wearable device shown may include: a master control device, an audio amplifier, and a speaker.
[0038] The master control device is equipped with a control system of the wearable device. In an optional embodiment, the process in this specification (exemplary, such as Figure 1 The control process A) shown can be executed by the control system.
[0039] In addition, an audio amplifier client is installed in the audio amplifier. In another optional embodiment, the process in this specification (exemplary, such as Figure 1 The control process B) shown can be executed by the audio power amplifier client.
[0040] Further, in another optional embodiment of this specification, the process in this specification (exemplary, such as Figure 1 The control process C) shown can be executed by a server that is in communication with the wearable device. Specifically, the server can receive the data collected by the wearable device, and on this basis, based on the data pre-stored in the server, use the process in this specification to obtain a control voltage for controlling the speaker.
[0041] It can be seen that the execution subject of the process in this specification can be selected and / or adjusted according to the actual scenario. For the convenience of explanation, the object that executes the audio signal control process is referred to as a designated execution subject in this specification.
[0042] Figure 2 An audio signal control process provided in an embodiment of this specification may specifically include the following steps:
[0043] S200: Determine the detection impedance of the speaker at the current moment.
[0044] The audio signal control process in this specification may be started under various conditions.
[0045] In an optional embodiment, whether to start executing the process in this specification can be determined according to the working state of the speaker. Specifically, it can be first determined whether the speaker has an audio signal output. If so, it indicates that the speaker is currently in a working state, and step S200 is executed; if not, it indicates that the speaker is not currently in a working state, and the speaker is detected again until the result of the determination is yes.
[0046] In another optional embodiment, this step may be performed periodically according to a preset audio signal control period.
[0047] The detection impedance in this specification is obtained by detecting the speaker. In an optional embodiment of this specification, a voltage detection unit and a current detection unit may be pre-set in the wearable device, and the detection impedance is obtained according to the voltage detected by the voltage detection unit and the test current detected by the current detection unit (for example, the detection voltage may be divided by the detection current to obtain the detection impedance). Specifically, the wearable device may be an electronic watch (for example, a children's watch).
[0048] The process of obtaining the detection impedance can be performed by a designated execution subject. Specifically, the designated execution subject can generate a test signal and send it to the speaker; obtain the test voltage and test current detected when the speaker processes the test signal (the test signal can be a single-frequency signal). According to the test voltage and test current, the detection impedance is obtained.
[0049] In addition, the process of obtaining the detection impedance can also be performed by other execution entities other than the designated execution entity. After the other execution entities obtain the detection impedance, the other execution entities send the detection impedance to the designated execution entity, so that the designated execution entity obtains the detection impedance of the speaker at the current moment.
[0050] From the above content, it can be seen that the working environment of the speaker may have temperature changes over time, and the working state of the speaker may also change over time. In this case, the detection impedance determined at different times may be different. For wearable devices, this phenomenon may be more serious due to the influence of the user's body temperature.
[0051] S202: Detect the impedance of the speaker according to the detection impedance and the reference impedance (R n ), and the material temperature rise coefficient of the speaker coil, the available temperature (T) of the speaker is obtained.
[0052] However, the components for detecting the speaker (e.g., the aforementioned voltage detection unit and / or current detection unit) and the components for controlling the speaker (e.g., the aforementioned designated execution subject) may also be in the working environment of the speaker, and the detection component and / or control component may also be affected by the working environment. In addition, the detection component and / or control component may also obtain detection results and / or control results with certain errors for the speaker under the influence of its own working state.
[0053] Taking the wearable device as an electronic watch as an example, the speaker of the electronic watch is electrically connected to the audio power amplifier, and there is an ammeter and a voltmeter inside the audio power amplifier. Therefore, the detection impedance can be calculated using the audio power amplifier.
[0054] For this reason, the procedures in this manual also incorporate the reference impedance of the speaker (R n ), and the material temperature rise coefficient (T coef ) and other factors to determine the current available temperature of the speaker to avoid the error having a negative impact on the control of the speaker.
[0055] The reference impedance shows the influence of the current working state of the speaker on the impedance of the speaker when it is in a normal working state. In an optional embodiment of the present specification, the reference impedance can be the impedance of the speaker when it is in a normal working state (R cal ) is weighted (the correction weights will be described in detail below).
[0056] Therefore, before the process in this specification, the impedance of the speaker when it is in a normal working state can be obtained by means of testing (illustratively, it can be obtained by testing the aforementioned test signal, voltage detection unit and current detection unit). Afterwards, the impedance of the speaker when it is in a normal working state can be stored in the storage component of the execution subject for subsequent use; or, it can also be stored in other execution subjects other than the designated execution subject, and when the designated execution subject executes the process in this specification, the impedance is obtained from the other execution subject.
[0057] In this specification, the normal working state of the speaker is the working state in which the amplitude of the membrane is within the normal amplitude range. The normal amplitude range can be obtained by testing. In some embodiments, the amplitude of the vibration that does not cause plastic deformation to the membrane can be determined as the amplitude within the normal amplitude range.
[0058] S204: Using a preset audio power amplifier output model, and according to the available temperature, determining a control voltage output by the audio power amplifier to the speaker.
[0059] The audio amplifier output model in this specification may be a priori model obtained based on historical experimental data. After obtaining the available temperature, the control voltage matching the available temperature may be screened out from the data stored in the audio amplifier output model and determined as the control voltage output by the audio amplifier to the speaker.
[0060] In an optional embodiment of the present specification, the audio power amplifier output model shows the corresponding relationship between the temperature, the amplitude range of the speaker membrane and the control voltage corresponding to the amplitude range. The audio power amplifier output model can be stored in a storage component of the execution subject in a certain data format; or, the audio power amplifier output model can also be stored in other execution subjects other than the designated execution subject, and when the designated execution subject executes the process in the present specification, the data output according to the audio power amplifier output model (for example, the control voltage output in this step) is obtained from the other execution subject.
[0061] In order to obtain the control voltage output by the audio power amplifier to the speaker, in an optional embodiment of the present specification, an amplitude range that matches the available temperature (i.e., satisfies the corresponding relationship) can be determined as an available range in each corresponding relationship shown in the audio power amplifier output model. If the amplitude corresponding to the available range is higher than the amplitude corresponding to the normal amplitude range when the speaker is in a normal working state, the audio signal output by the speaker is controlled according to the control voltage corresponding to the normal amplitude range. For example, the control voltage corresponding to the normal amplitude range can be directly determined as the control voltage output to the speaker to control the audio signal output by the speaker.
[0062] In this embodiment, when the designated execution entity finds that the membrane of the speaker is not in a normal working state, it can directly adjust the control voltage to the control voltage when the speaker is in a normal working state, so as to quickly and efficiently adjust the working state of the speaker and reduce the damage caused by high temperature to the greatest extent and as quickly as possible.
[0063] In addition, in other optional embodiments of the present specification, after obtaining the amplitude range matching the available temperature, the amplitude range with the largest amplitude shown in each preset amplitude range and the maximum amplitude shown is smaller than the amplitude range shown in the available range can be determined as the target range. Then, the control voltage corresponding to the target range is determined as the control voltage output by the audio power amplifier to the speaker.
[0064] It can be seen that the adjustment range of the control voltage in this embodiment is small. If the speaker is still not in a normal working state after the adjustment of the control voltage, the process of this specification can be executed again from step S200. After several iterative and gradual adjustments, the working state of the speaker can be adjusted from abnormal to normal in a gradual manner. It can be understood that the control voltage affects the playback volume of the speaker to a certain extent. If the playback volume of the speaker changes drastically in a short time due to the influence of the control voltage, it may cause the user to not get a good audio listening experience. Through the process of this specification, the adjustment of the working state of the speaker can be achieved to a large extent without the user's perception.
[0065] It can be seen that the process in this specification can combine the detection results and the current working state of the speaker to determine the control voltage output to the speaker, so that the speaker works under the control voltage to meet the needs of the user and will not be damaged. In addition, the temperature of the working environment of the wearable device will be affected by the user's body temperature. The process in this specification can more sensitively and reasonably determine the control voltage suitable for the speaker for the use scenario of the wearable device close to the human body, so as to ensure the use effect of the speaker set on the wearable device.
[0066] It can be seen from the foregoing that the impedance correction weight plays a relatively important role in the process of this specification. Now, how to determine the impedance correction weight is explained.
[0067] In this specification, the process of determining the impedance correction weight (W) can be performed by the designated execution subject. Specifically, Figure 3 As shown, the process can be:
[0068] S300: Obtaining the detected temperature (T cal ).
[0069] In an optional embodiment, the detected temperature (T cal ). The temperature of the speaker can be collected by the temperature sensor in the wearable device. Specifically, the designated execution subject can generate a temperature collection instruction and send it to the temperature sensor, so that the temperature sensor collects the detected temperature and returns it to the designated execution subject. In this specification, the detected temperature collected each time may be different. Affected by the usage scenario of the wearable device, the operating temperature of the speaker may change more frequently due to changes in ambient temperature. The process in this specification will detect the temperature of the speaker each time the control voltage is determined, which is conducive to more timely and agile adjustment of the control voltage.
[0070] S302: Determine the detected temperature and a predetermined reference temperature (T n ) is the difference between .
[0071] The reference temperature is the temperature at which the speaker is in a normal working state. The reference temperature can be obtained through experiments. For example, if the speaker is in a working state at room temperature, then T n =25℃
[0072] S304: Based on the difference and the material temperature rise coefficient (T coef ), and obtain the impedance correction weight (W).
[0073] In this specification, the impedance correction weight (W) can be related to the detection temperature (T cal ), and / or the impedance correction weight (W) can be negatively correlated with the reference temperature (T n ), and / or the impedance correction weight (W) can be directly related to the material temperature rise coefficient (T coef ) is negatively correlated.
[0074] In an optional embodiment, the impedance correction weight (W) can be obtained by the following formula (1):
[0075] W=[1+T coef (T cal -T n )] -1
[0076] Formula (1)
[0077] Furthermore, the reference impedance (R n ) can be obtained by the following formula (2):
[0078] R n =W·R cal
[0079] Formula (2)
[0080] Further, in an optional embodiment of the present specification, after obtaining the reference impedance (R n ), the available temperature (T) can be obtained by (3):
[0081] (R t -R n )(TT n ) -1 =T coef ·R n
[0082] Formula (3)
[0083] By reference impedance (R n ) calculation process, it can be known that the reference impedance (R n ) can reflect the influence of the material of the speaker coil and the current temperature of the speaker on the impedance of the speaker when it is in normal working state. Then, when determining the control voltage later, the control voltage suitable for the hardware conditions of the speaker itself and the current working state of the speaker can be determined, so that the speaker can work under the control voltage to meet the needs of the user and will not be damaged.
[0084] It should be noted that the wearable device in this specification may be an electronic watch, an electronic bracelet, an electronic glasses, etc. In addition, the wearable device in this specification may also be a portable heart rate monitor, a blood pressure monitor, etc., which are used to implement the detection function. When the instrument detects a specific condition, it can send a sound signal through a speaker provided thereon.
[0085] Based on the same idea, the embodiment of this specification also provides a corresponding audio signal control device such as Figure 4 As shown. The audio signal control device is applied to the designated execution subject. That is, the audio signal control device can be applied to at least one of a master control device of a wearable device, an audio amplifier of a wearable device, and a server connected to the wearable device for communication, so as to implement the aforementioned audio signal control method.
[0086] Figure 4 A schematic diagram of the structure of an audio signal control device provided in an embodiment of this specification includes:
[0087] The detection impedance determination module 400 determines the detection impedance of the speaker at the current moment.
[0088] The available temperature determination module 402 obtains the available temperature of the speaker based on the detection impedance, the reference impedance of the speaker, and the material temperature rise coefficient of the speaker coil; wherein the reference impedance shows: the degree of influence of the current working state of the speaker on the impedance of the speaker when it is in a normal working state.
[0089] The control voltage determination module 404 uses a preset audio power amplifier output model to determine the control voltage output by the audio power amplifier to the speaker according to the available temperature, wherein the control voltage is used to control the audio signal output by the speaker.
[0090] In an optional embodiment of the present specification, the detection impedance is obtained based on a test voltage and a test current; the test voltage and the test current are obtained by detecting the speaker when the speaker receives a test signal.
[0091] In an optional embodiment of the present specification, the reference impedance is obtained by weighting the impedance of the speaker when it is in a normal working state through an impedance correction weight; the impedance correction weight is obtained based on the material temperature rise coefficient, the detection temperature, and the reference temperature that makes the speaker in a normal working state; wherein the detection temperature is obtained by performing temperature detection on the speaker at the current moment.
[0092] In an optional embodiment of the present specification, the audio power amplifier output model shows the corresponding relationship between the temperature, the amplitude range of the speaker membrane and the control voltage corresponding to the amplitude range.
[0093] In an optional embodiment of the present specification, the control voltage determination module 404 is specifically configured to: determine the amplitude range corresponding to the available temperature in a preset audio power amplifier output model as the available range; if the amplitude corresponding to the available range is higher than the amplitude corresponding to the normal amplitude range when the speaker is in a normal working state, then control the audio signal output by the speaker according to the control voltage corresponding to the normal amplitude range.
[0094] In an optional embodiment of the present specification, the control voltage determination module 404 is further configured to: in each preset amplitude range, determine the amplitude range with the largest amplitude and the maximum amplitude smaller than the amplitude range shown in the available range as the target range; and determine the control voltage corresponding to the target range as the control voltage output by the audio power amplifier to the speaker.
[0095] The present specification also provides a computer-readable storage medium, which stores a computer program, which can be used to execute the above Figure 2 Provides audio signal control process.
[0096] The embodiments of this specification also propose Figure 5 The schematic structure diagram of the electronic device shown in FIG. Figure 5 At the hardware level, the electronic device includes a processor, an internal bus, a network interface, a memory, and a non-volatile memory, and may also include other hardware required for the business. The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it to achieve the above Figure 2 Of course, in addition to the software implementation, this specification does not exclude other implementations, such as logic devices or a combination of software and hardware, etc., that is, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.
[0097] In the 1990s, improvements to a technology could be clearly distinguished as hardware improvements (for example, improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the method flow). However, with the development of technology, many improvements to the method flow today can be regarded as direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement in a method flow cannot be implemented using a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming it themselves, without having to ask a chip manufacturer to design and produce a dedicated integrated circuit chip. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.
[0098] The controller can be implemented in any appropriate manner, for example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in a purely computer-readable program code manner, the controller can be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, this controller can be considered as a hardware component, and the devices included therein for implementing various functions can also be regarded as structures within the hardware component. Or even, the devices for implementing various functions can be regarded as both software modules for implementing the method and structures within the hardware component.
[0099] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0100] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0101] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0102] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0103] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0104] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0105] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0106] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0107] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0108] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0109] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0110] The present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0111] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0112] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. An audio signal control method, characterized in that: The method is based on a wearable device, the wearable device includes a speaker, and the method includes: Determine the detection impedance of the speaker at the current moment; The available temperature of the speaker is obtained according to the detection impedance, the reference impedance of the speaker, and the material temperature rise coefficient of the speaker coil; wherein the reference impedance shows: the influence degree of the current working state of the speaker on the impedance of the speaker when it is in a normal working state; Using a preset audio power amplifier output model, according to the available temperature, determining a control voltage output by the audio power amplifier to the speaker, wherein the control voltage is used to control an audio signal output by the speaker, and the audio power amplifier output model shows a corresponding relationship between temperature, an amplitude range of a speaker membrane, and a control voltage corresponding to the amplitude range; The method of using a preset audio power amplifier output model to determine the control voltage output by the audio power amplifier to the speaker according to the available temperature includes: Determine an amplitude range corresponding to the available temperature in a preset audio power amplifier output model as an available range; If the amplitude corresponding to the available range is higher than the amplitude corresponding to the normal amplitude range when the speaker is in a normal working state, the audio signal output by the speaker is controlled according to the control voltage corresponding to the normal amplitude range; The step of controlling the audio signal output by the speaker according to the control voltage corresponding to the normal amplitude range includes: Among the preset amplitude ranges, the amplitude displayed is the largest and the amplitude range displayed is smaller than the amplitude range displayed in the available range, and is determined as the target range; The control voltage corresponding to the target range is determined as the control voltage output by the audio power amplifier to the speaker.
2. The method according to claim 1, characterized in that The detection impedance is obtained according to a test voltage and a test current; the test voltage and the test current are obtained by detecting the speaker when the speaker receives a test signal.
3. The method according to claim 1, characterized in that The reference impedance is obtained by weighting the impedance of the speaker when it is in a normal working state through an impedance correction weight; The impedance correction weight is obtained based on the material temperature rise coefficient, the detection temperature, and a reference temperature that makes the speaker in a normal working state; wherein the detection temperature is obtained by performing temperature detection on the speaker at the current moment.
4. The method according to claim 1, characterized in that The method is executed by a control system of the wearable device; or, the wearable device further includes an audio amplifier, and the method is executed by a client that controls the audio amplifier.
5. An audio signal control device, characterized in that: The device is used to implement the method according to any one of claims 1 to 4.
6. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method described in any one of claims 1 to 4 is implemented.
7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method described in any one of claims 1 to 4 is implemented.
Citation Information
Patent Citations
Method for calibrating non-uniformity resistance of horn
CN106162487A
Protection method and device for automatically regulating volume of loudspeaker according to temperature raising of voice coil
CN107734427A
Electronic equipment and call state control method applied to electronic equipment
CN110493470A