CN109270352B - Amplitude adjusting method and sound generating device - Google Patents

Amplitude adjusting method and sound generating device Download PDF

Info

Publication number
CN109270352B
CN109270352B CN201810967315.1A CN201810967315A CN109270352B CN 109270352 B CN109270352 B CN 109270352B CN 201810967315 A CN201810967315 A CN 201810967315A CN 109270352 B CN109270352 B CN 109270352B
Authority
CN
China
Prior art keywords
current
voltage
impedance value
loudspeaker
coil
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.)
Active
Application number
CN201810967315.1A
Other languages
Chinese (zh)
Other versions
CN109270352A (en
Inventor
陆阿楠
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
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
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810967315.1A priority Critical patent/CN109270352B/en
Publication of CN109270352A publication Critical patent/CN109270352A/en
Application granted granted Critical
Publication of CN109270352B publication Critical patent/CN109270352B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R27/00Arrangements for measuring resistance, reactance, impedance, or electric characteristics derived therefrom
    • G01R27/02Measuring real or complex resistance, reactance, impedance, or other two-pole characteristics derived therefrom, e.g. time constant
    • G01R27/08Measuring resistance by measuring both voltage and current

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Circuit For Audible Band Transducer (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention provides an amplitude adjusting method and a sound generating device, wherein the sound generating device comprises a loudspeaker and a digital signal processor, the loudspeaker comprises a detection device, and the method is characterized by comprising the following steps: the digital signal processor detects the current and the voltage of the detection device in real time and calculates the impedance value of the detection device based on the current and the voltage; comparing the impedance value with a preset impedance value to obtain a comparison result; based on the comparison, the current output value and the voltage output value of the horn are adjusted. The impedance value of the detection device can be detected in real time, the current output value and the voltage output value of the loudspeaker are regulated and controlled by comparing the impedance value of the detection device with the preset impedance value, and therefore the amplitude of the loudspeaker is regulated and controlled not to exceed the maximum amplitude, and noise is avoided.

Description

Amplitude adjusting method and sound generating device
Technical Field
The invention relates to the technical field of terminal equipment, in particular to an amplitude adjusting method and a sound generating device.
Background
At present, along with the popularization of mobile terminals, the frequency of people in various occasions and various places is higher and higher, and because electronic devices are easily influenced by the environment due to some physical characteristics, the performance of the whole machine is influenced to a certain extent, especially under some severe use environments, for example: environments such as low or high pressure, low or high temperature, dry or wet, etc., may have a relatively large influence on the overall parameters of the electroacoustic device.
At present, the control method for the sound production device is to use the intelligent power amplifier to model the loudspeaker, and control the maximum voltage and current used by different frequencies according to the standard characteristic parameters of the loudspeaker, but when the environment changes, the intelligent power amplifier cannot adjust the environment in time, and when the amplitude of the loudspeaker is greater than the maximum amplitude, noise can occur and the loudspeaker is damaged.
Disclosure of Invention
The embodiment of the invention provides an amplitude adjusting method and a generating device, which aim to solve the problem that a loudspeaker in the prior art generates noise.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides an amplitude adjustment method, including: the digital signal processor detects the current and the voltage of the detection device in real time and calculates the impedance value of the detection device based on the current and the voltage; comparing the impedance value with a preset impedance value to obtain a comparison result; adjusting a current output value and a voltage output value of the horn based on the comparison result; wherein the different current output values and voltage output values correspond to different amplitude values of the horn.
In a second aspect, an embodiment of the present invention further provides a sound generating apparatus, including: the loudspeaker comprises a detection device, and the digital signal processor comprises; the detection module is used for detecting the current and the voltage of the detection device in real time and calculating the impedance value of the detection device based on the current and the voltage; the comparison module is used for comparing the impedance value with a preset impedance value to obtain a comparison result; an adjustment module for adjusting based on the comparison result; wherein the different current output values and voltage output values correspond to different amplitude values of the horn.
In the embodiment of the invention, the current and the voltage of the detection device are detected in real time through a digital signal processor, and the impedance value of the detection device is calculated based on the current and the voltage; comparing the impedance value with a preset impedance value to obtain a comparison result; based on the comparison result, the current output value and the voltage output value of the loudspeaker are adjusted to adjust the amplitude of the loudspeaker, the impedance value of the detection device can be detected in real time, the current output value and the voltage output value of the loudspeaker are regulated and controlled by comparing the impedance value of the detection device with the preset impedance value, and therefore the amplitude of the loudspeaker is regulated and controlled not to exceed the maximum amplitude, and noise is avoided.
Drawings
Fig. 1 is a flowchart of an amplitude adjustment method according to an embodiment of the present invention;
fig. 2 is a second flowchart of an amplitude adjustment method according to an embodiment of the present invention;
fig. 3 is a third flowchart of an amplitude adjustment method according to an embodiment of the present invention;
fig. 4 is a block diagram of a sound generating device according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a hardware structure of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a flowchart illustrating steps of an amplitude adjustment method according to a first embodiment of the present invention is shown.
The amplitude adjusting method provided by the embodiment of the invention comprises the following steps:
step 101: the digital signal processor detects the current and voltage of the detection device in real time and calculates the impedance value of the detection device based on the current and voltage.
The detecting device uses a special material with elasticity in a telescopic shape, and when the material is stretched, the resistance value is increased because the gap between the conductive materials is stretched, and when the material is compressed, the resistance value is decreased.
The current and the voltage of the detection device are detected in real time through the digital signal processor, and the current impedance value of the detection device is calculated according to the current and the voltage.
Step 102: and comparing the impedance value with a preset impedance value to obtain a comparison result.
It should be noted that, when the horn is in a low-frequency state, the amplitude of the horn is the largest, a specific low-frequency point is selected as a feature point, and the impedance value at this frequency point is used as a preset impedance value.
The frequency point is fixed in the working state of the loudspeaker, the voltage and the current of the frequency point are detected in real time based on a power amplifier algorithm, the impedance value of the frequency point is determined, and the impedance value can be continuously adjusted through material change, so that the impedance value can reach the detectable precision range.
Step 103: based on the comparison result, the current output value and the voltage output value of the horn are adjusted.
Wherein, different current output values and voltage output values correspond to different amplitude values of the horn.
When the impedance value is larger than the preset impedance value, the current output value and the voltage output value of the loudspeaker are reduced, and when the impedance value is smaller than or equal to the preset impedance value, the current amplitude of the loudspeaker is not beyond the rated range, and noise cannot be generated.
In the embodiment of the invention, the current and the voltage of the detection device are detected in real time through a digital signal processor, and the impedance value of the detection device is calculated based on the current and the voltage; comparing the impedance value with a preset impedance value to obtain a comparison result; based on the comparison result, the current output value and the voltage output value of the loudspeaker are adjusted to adjust the amplitude of the loudspeaker, the impedance value of the detection device can be detected in real time, the current output value and the voltage output value of the loudspeaker are regulated and controlled by comparing the impedance value of the detection device with the preset impedance value, and therefore the amplitude of the loudspeaker is regulated and controlled not to exceed the maximum amplitude, and noise is avoided.
Referring to fig. 2, a flowchart of steps of an amplitude adjustment method according to a second embodiment of the present invention is shown.
The amplitude adjusting method provided by the embodiment of the invention comprises the following steps:
step 201: the digital signal processor detects the first current and the first voltage of the coil in real time.
Wherein the coil is wound around the horn.
The present embodiment is described with respect to a case where the detecting device is a coil, where the coil is made of a special material having elasticity in a stretchable shape, and when the amplitude of the horn is increased, the coil is stretched, the gap between the material units is widened, the contact area between the material units becomes irregular, the size of the contact surface also becomes small, the coil impedance becomes large, and conversely when the coil is compressed, the gap between the material units becomes small, the contact area between the material units becomes regular and compact, and the contact surface also becomes large, and the impedance value becomes gradually small.
Step 202: a first impedance value of the coil is calculated according to the first current and the first voltage.
And calculating a first impedance value of the current coil through the digital signal processor based on the first current and the first voltage through the first current and the first voltage acquired in real time.
Because the coil uses scalable form to have elastic special material, when the amplitude grow of loudspeaker, then the coil is tensile, then can learn the impedance of coil through the first electric current and the first voltage of detecting coil, the impedance of loudspeaker promptly, and the operation is convenient and fast more.
Step 203: and comparing the impedance value with a preset impedance value to obtain a comparison result.
It should be noted that, when the horn is in a low-frequency state, the amplitude of the horn is the largest, a specific low-frequency point is selected as a feature point, and the impedance value at this frequency point is used as a preset impedance value.
The frequency point is fixed in the working state of the loudspeaker, the voltage and the current of the frequency point are detected in real time based on a power amplifier algorithm, the impedance value of the frequency point is determined, the impedance value of the frequency point is used as the impedance value of the coil, and the impedance value can be continuously adjusted through material change, so that the impedance value can be detected within the precision range.
By comparing the impedance value with the preset impedance value, whether the amplitude of the horn exceeds the rated amplitude can be determined.
Step 204: and under the condition that the first impedance value is larger than the preset impedance value, controlling the voltage output value of the loudspeaker to be smaller than the first voltage or controlling the current output value of the loudspeaker to be smaller than the first current.
Wherein the current value flowing through the horn and the coil is the same.
Because the coil and the loudspeaker are supplied with power by the same current, when the first impedance value is detected to be larger than the preset impedance value, the fact that the amplitude of the current loudspeaker is too large is indicated, the voltage output value of the loudspeaker or the coil needs to be controlled to be smaller than the first voltage, or the current output value of the loudspeaker or the coil is controlled to be smaller than the first current, so that the amplitude of the loudspeaker is reduced, the loudspeaker is protected from being damaged, and noise is avoided.
In the embodiment of the invention, the current and the voltage of the coil are detected in real time through a digital signal processor, and the impedance value of the coil is calculated based on the current and the voltage; comparing the impedance value with a preset impedance value to obtain a comparison result; based on the comparison result, the current output value and the voltage output value of the loudspeaker are adjusted to adjust the amplitude of the loudspeaker, the impedance value of the coil can be detected in real time, the current output value and the voltage output value of the loudspeaker are regulated and controlled by comparing the impedance value of the coil with the preset impedance value, and therefore the amplitude of the loudspeaker is regulated and controlled not to exceed the maximum amplitude, and noise is avoided.
Referring to fig. 3, a flowchart of steps of an amplitude adjustment method according to a third embodiment of the present invention is shown.
The amplitude adjusting method provided by the embodiment of the invention comprises the following steps:
the embodiment of the invention is explained aiming at a detection device comprising a coil and a detection line, wherein the coil is wound on a loudspeaker, the detection line is coupled with the coil, and the detection line is made of a special telescopic elastic material.
Step 301: the digital signal processor detects a second current and a second voltage of the detection line in real time.
Step 302: based on the second current and the second voltage, a second impedance value of the detection line is calculated.
Because the change of the temperature influences the change of the coil impedance value, in order to avoid that the impedance value of the coil becomes high at high temperature, the voltage output value and the current output value of the horn are regulated and controlled, the detection line is coupled with the coil, the impedance value of the detection line is not required, and only the impedance value of the detection line is required to be detected.
The related descriptions of step 301 to step 302 are the same as those of step 201 to step 202 in the second embodiment, which are not repeated herein, and the only difference is that the impedance value of the detection line needs to be detected.
Step 303: and comparing the impedance value with a preset impedance value to obtain a comparison result.
It should be noted that, when the horn is in a low-frequency state, the amplitude of the horn is the largest, a specific low-frequency point is selected as a feature point, and the impedance value at this frequency point is used as a preset impedance value.
The frequency point is fixedly arranged in the working state of the loudspeaker, the voltage and the current of the frequency point are detected in real time based on a power amplifier algorithm, the impedance value of the frequency point is determined, the impedance value of the frequency point is used as the impedance value of the detection line, and the impedance value can be continuously adjusted through material change, so that the impedance value can reach the detectable precision range.
Step 304: and reducing the voltage output value of the horn or reducing the current output value of the horn under the condition that the second impedance value is larger than the preset impedance value.
Wherein the values of the currents flowing through the horn and the coil are different.
Because coil and loudspeaker are different electric current power supplies, when detecting that the second impedance value is greater than predetermineeing the impedance value, then indicate that present loudspeaker's amplitude is too big, need reduce loudspeaker voltage output value or reduce loudspeaker's current output value to this reduces loudspeaker's amplitude, protects loudspeaker not damaged, and avoids the appearance of noise.
In the embodiment of the invention, the current and the voltage of the detection line are detected in real time through a digital signal processor, and the impedance value of the detection line is calculated based on the current and the voltage; comparing the impedance value with a preset impedance value to obtain a comparison result; based on the comparison result, the current output value and the voltage output value of the loudspeaker are adjusted to adjust the amplitude of the loudspeaker, the impedance value of the detection line can be detected in real time, the current output value and the voltage output value of the loudspeaker are regulated and controlled by comparing the impedance value of the coil with the preset impedance value, and therefore the amplitude of the loudspeaker is not more than the maximum amplitude, and noise is avoided. In addition, the detection line is coupled with the coil, so that the influence of temperature on the impedance value of the coil is avoided.
Referring to fig. 4, a block diagram of a sound generating apparatus according to a third embodiment of the present invention is shown.
The embodiment of the invention provides a sound generating device, which comprises: a loudspeaker 401 and a digital signal processor 402, the loudspeaker 401 comprising a detection arrangement 4011, the digital signal processor 402 comprising: the detection module 4021 is used for detecting the current and the voltage of the detection device in real time and calculating the impedance value of the detection device based on the current and the voltage; the comparison module 4022 is configured to compare the impedance value with a preset impedance value to obtain a comparison result; the adjusting module 4023 is configured to adjust a current output value and a voltage output value of the horn based on the comparison result; wherein the different current output values and voltage output values correspond to different amplitude values of the horn.
Preferably, the detection device comprises a coil, and the detection module comprises: the first detection submodule is used for detecting a first current and a first voltage of the coil in real time, wherein the coil is wound on the loudspeaker; a first calculation submodule for calculating a first impedance value of the coil based on the first current and the first voltage.
Preferably, the adjusting module comprises: the first adjusting submodule is used for controlling the voltage output value of the loudspeaker to be smaller than the first voltage or controlling the current output value of the loudspeaker to be smaller than the first current under the condition that the first impedance value is larger than a preset impedance value; wherein the current values flowing through the horn and the coil are the same.
Preferably, the detection device comprises a coil wound around the horn and a detection wire coupled to the coil; the detection module comprises: the second detection submodule is used for detecting a second current and a second voltage of the detection line in real time; a second calculation submodule to calculate a second impedance value of the detection line based on the second current and the second voltage.
Preferably, the adjusting module comprises: the second adjusting submodule is used for reducing the voltage output value of the loudspeaker or reducing the current output value of the loudspeaker under the condition that the second impedance value is larger than a preset impedance value; wherein the values of current through the horn and the coil are different.
The sound generating device provided by the embodiment of the present invention can implement each process implemented by the sound generating device in the method embodiments of fig. 1 to fig. 3, and is not described herein again to avoid repetition.
In the embodiment of the invention, the current and the voltage of the detection device are detected in real time through a digital signal processor, and the impedance value of the detection device is calculated based on the current and the voltage; comparing the impedance value with a preset impedance value to obtain a comparison result; based on the comparison result, the current output value and the voltage output value of the loudspeaker are adjusted to adjust the amplitude of the loudspeaker, the impedance value of the detection device can be detected in real time, the current output value and the voltage output value of the loudspeaker are regulated and controlled by comparing the impedance value of the detection device with the preset impedance value, and therefore the amplitude of the loudspeaker is regulated and controlled not to exceed the maximum amplitude, and noise is avoided.
Referring to fig. 5, a hardware structure diagram of a mobile terminal for implementing various embodiments of the present invention is shown.
The mobile terminal 500 includes, but is not limited to: radio frequency unit 501, network module 502, audio output unit 503, input unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, processor 510, power supply 511, speaker 512, and digital signal processor 513. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 5 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The digital signal processor detects the current and the voltage of the detection device in real time and calculates the impedance value of the detection device based on the current and the voltage; comparing the impedance value with a preset impedance value to obtain a comparison result; adjusting a current output value and a voltage output value of the horn based on the comparison result; wherein the different current output values and voltage output values correspond to different amplitude values of the horn.
In the embodiment of the invention, the current and the voltage of the detection device are detected in real time through a digital signal processor, and the impedance value of the detection device is calculated based on the current and the voltage; comparing the impedance value with a preset impedance value to obtain a comparison result; based on the comparison result, the current output value and the voltage output value of the loudspeaker are adjusted to adjust the amplitude of the loudspeaker, the impedance value of the detection device can be detected in real time, the current output value and the voltage output value of the loudspeaker are regulated and controlled by comparing the impedance value of the detection device with the preset impedance value, and therefore the amplitude of the loudspeaker is regulated and controlled not to exceed the maximum amplitude, and noise is avoided.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 510; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 501 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 502, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output related to a specific function performed by the mobile terminal 500 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used to receive an audio or video signal. The input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 506. The image frames processed by the graphic processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502. The microphone 5042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 501 in case of the phone call mode.
The mobile terminal 500 also includes at least one sensor 505, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 5061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 5061 and/or a backlight when the mobile terminal 500 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 505 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 506 is used to display information input by the user or information provided to the user. The Display unit 506 may include a Display panel 5061, and the Display panel 5061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 507 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 5071 using a finger, stylus, or any suitable object or attachment). The touch panel 5071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 510, and receives and executes commands sent by the processor 510. In addition, the touch panel 5071 may be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may include other input devices 5072. In particular, other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 5071 may be overlaid on the display panel 5061, and when the touch panel 5071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 510 to determine the type of the touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of the touch event. Although in fig. 5, the touch panel 5071 and the display panel 5061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 508 is an interface through which an external device is connected to the mobile terminal 500. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 508 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 500 or may be used to transmit data between the mobile terminal 500 and external devices.
The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 509 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 510 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 509 and calling data stored in the memory 509, thereby performing overall monitoring of the mobile terminal. Processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The mobile terminal 500 may further include a power supply 511 (e.g., a battery) for supplying power to various components, and preferably, the power supply 511 may be logically connected to the processor 510 via a power management system, so that functions of managing charging, discharging, and power consumption are performed via the power management system.
In addition, the mobile terminal 500 includes some functional modules that are not shown, and thus, are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 510, a memory 509, and a computer program that is stored in the memory 509 and can be run on the processor 510, and when the computer program is executed by the processor 510, the processes of the above-mentioned embodiment of the picture generation method are implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned embodiment of the image generation method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (8)

1. An amplitude adjustment method is applied to a sound production device, the sound production device comprises a loudspeaker and a digital signal processor, the loudspeaker comprises a detection device, and the method comprises the following steps:
the digital signal processor detects the current and the voltage of the detection device in real time and calculates the impedance value of the detection device based on the current and the voltage;
comparing the impedance value with a preset impedance value to obtain a comparison result;
adjusting a current output value and a voltage output value of the horn based on the comparison result;
wherein different current output values and voltage output values correspond to different amplitude values of the horn;
when the detection device deforms, the impedance value of the detection device changes;
the detection device comprises a coil and a detection wire, wherein the coil is wound on the loudspeaker, and the detection wire is coupled with the coil;
the digital signal processor detects the current and the voltage of the detection device in real time, and calculates the impedance value of the detection device based on the current and the voltage, and comprises the following steps:
the digital signal processor detects a second current and a second voltage of the detection line in real time;
calculating a second impedance value of the sensing line based on the second current and the second voltage.
2. The method of claim 1, wherein the detection device comprises a coil;
the digital signal processor detects the current and the voltage of the detection device in real time, and calculates the impedance value of the detection device based on the current and the voltage, and comprises the following steps:
the digital signal processor detects a first current and a first voltage of the coil in real time, wherein the coil is wound on the loudspeaker;
based on the first current and the first voltage, a first impedance value of the coil is calculated.
3. The method of claim 2, wherein adjusting the current output value and the voltage output value of the horn based on the comparison comprises:
when the first impedance value is larger than a preset impedance value, controlling the voltage output value of the loudspeaker to be smaller than the first voltage or controlling the current output value of the loudspeaker to be smaller than the first current;
wherein the current values flowing through the horn and the coil are the same.
4. The method of claim 1, wherein adjusting the current output value and the voltage output value of the horn based on the comparison comprises:
reducing the voltage output value of the horn or reducing the current output value of the horn when the second impedance value is greater than a preset impedance value;
wherein the values of the currents flowing through the horn and the coil are different.
5. The utility model provides a sound generating mechanism, its characterized in that, sound generating mechanism includes loudspeaker and digital signal processor, loudspeaker include detection device, digital signal processor includes:
the detection module is used for detecting the current and the voltage of the detection device in real time and calculating the impedance value of the detection device based on the current and the voltage;
the comparison module is used for comparing the impedance value with a preset impedance value to obtain a comparison result;
the adjusting module is used for adjusting the current output value and the voltage output value of the loudspeaker based on the comparison result; wherein different current output values and voltage output values correspond to different amplitude values of the horn;
when the detection device deforms, the impedance value of the detection device changes;
the detection device comprises a coil and a detection wire, wherein the coil is wound on the loudspeaker, and the detection wire is coupled with the coil; the detection module comprises:
the second detection submodule is used for detecting a second current and a second voltage of the detection line in real time;
a second calculation submodule for calculating a second impedance value of the detection line based on the second current and the second voltage.
6. The apparatus according to claim 5, wherein said detection device comprises a coil, and said detection module comprises:
the first detection submodule is used for detecting a first current and a first voltage of the coil in real time, wherein the coil is wound on the loudspeaker;
a first calculation submodule for calculating a first impedance value of the coil based on the first current and the first voltage.
7. The apparatus according to claim 6, wherein said adjustment module comprises:
the first adjusting submodule is used for controlling the voltage output value of the loudspeaker to be smaller than the first voltage or controlling the current output value of the loudspeaker to be smaller than the first current under the condition that the first impedance value is larger than a preset impedance value; wherein the current values flowing through the horn and the coil are the same.
8. The apparatus according to claim 7, wherein said adjustment module comprises:
the second adjusting submodule is used for reducing the voltage output value of the loudspeaker or reducing the current output value of the loudspeaker under the condition that the second impedance value is larger than a preset impedance value; wherein the values of the currents flowing through the horn and the coil are different.
CN201810967315.1A 2018-08-23 2018-08-23 Amplitude adjusting method and sound generating device Active CN109270352B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810967315.1A CN109270352B (en) 2018-08-23 2018-08-23 Amplitude adjusting method and sound generating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810967315.1A CN109270352B (en) 2018-08-23 2018-08-23 Amplitude adjusting method and sound generating device

Publications (2)

Publication Number Publication Date
CN109270352A CN109270352A (en) 2019-01-25
CN109270352B true CN109270352B (en) 2021-08-10

Family

ID=65154475

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810967315.1A Active CN109270352B (en) 2018-08-23 2018-08-23 Amplitude adjusting method and sound generating device

Country Status (1)

Country Link
CN (1) CN109270352B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110996220B (en) * 2019-12-02 2021-03-23 维沃移动通信有限公司 Electronic equipment and volume adjusting method thereof
CN111669695B (en) * 2020-07-17 2022-01-04 维沃移动通信有限公司 Loudspeaker amplitude detection method and electronic equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000270394A (en) * 1999-03-18 2000-09-29 Matsushita Electric Ind Co Ltd Acoustic reproduction device
US6359449B1 (en) * 1999-06-29 2002-03-19 Intellectual Property Llc Single coil conductance measuring apparatus
CN201504312U (en) * 2009-09-08 2010-06-09 先歌国际影音股份有限公司 Loudspeaker and sound generator thereof
TWI543638B (en) * 2014-01-28 2016-07-21 宏達國際電子股份有限公司 Sound producing system and audio amplyfying method thereof
CN106101932A (en) * 2016-07-11 2016-11-09 深圳天珑无线科技有限公司 A kind of loudspeaker audio drive circuit, method and intelligent terminal
CN106101934A (en) * 2016-08-05 2016-11-09 北京小米移动软件有限公司 Speaker and the method for adjustment of speaker amplitude
CN108430004B (en) * 2018-04-16 2020-09-25 维沃移动通信有限公司 Loudspeaker amplitude adjusting device, adjusting method and mobile terminal

Also Published As

Publication number Publication date
CN109270352A (en) 2019-01-25

Similar Documents

Publication Publication Date Title
CN109905812B (en) Input power control method and device and terminal equipment
CN110045807B (en) Voltage control method and terminal
CN108289270B (en) Loudspeaker and mobile terminal
CN111385714B (en) Method for determining voice coil temperature of loudspeaker, electronic device and storage medium
CN109739394B (en) SAR value processing method and mobile terminal
CN110830861B (en) Telephone receiver control method and device and electronic equipment
CN109547894B (en) Amplitude adjustment method and device for electroacoustic device and mobile terminal
CN111459447B (en) Volume adjustment display method and electronic equipment
CN108848267B (en) Audio playing method and mobile terminal
CN107786751A (en) A kind of method for broadcasting multimedia file and mobile terminal
CN111225315B (en) Audio playing device, audio playing method and electronic equipment
CN111240451B (en) Heat dissipation method, electronic device and computer-readable storage medium
CN109639861A (en) A kind of cut-in method of matching network, system and mobile terminal
CN111124346B (en) Electronic equipment and volume adjusting method thereof
CN110099434B (en) Power adjustment method, terminal equipment and computer readable storage medium
CN109343811B (en) Display adjustment method and terminal equipment
CN109270352B (en) Amplitude adjusting method and sound generating device
CN108540642B (en) Mobile terminal and operation method thereof
CN107769324B (en) Charging method, charger, mobile terminal and server
CN109348366B (en) Method for adjusting volume by using electrical parameters and mobile terminal
CN110677770B (en) Sound production control method, electronic device, and medium
CN108900942B (en) Play control method and electronic equipment
CN107743174B (en) Clipping judgment method of sound signal and mobile terminal
CN111510075B (en) Voltage adjustment method and device of power amplifier and electronic equipment
CN109309758B (en) Audio processing device, terminal equipment and signal processing method

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
GR01 Patent grant
GR01 Patent grant