CN114845224A - Method and device for adjusting position of loudspeaker diaphragm and storage medium - Google Patents

Method and device for adjusting position of loudspeaker diaphragm and storage medium Download PDF

Info

Publication number
CN114845224A
CN114845224A CN202210389156.8A CN202210389156A CN114845224A CN 114845224 A CN114845224 A CN 114845224A CN 202210389156 A CN202210389156 A CN 202210389156A CN 114845224 A CN114845224 A CN 114845224A
Authority
CN
China
Prior art keywords
value
capacitance value
capacitance
electrical parameter
standard
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210389156.8A
Other languages
Chinese (zh)
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.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology 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 Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN202210389156.8A priority Critical patent/CN114845224A/en
Publication of CN114845224A publication Critical patent/CN114845224A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R9/00Transducers of moving-coil, moving-strip, or moving-wire type
    • H04R9/06Loudspeakers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R7/00Diaphragms for electromechanical transducers; Cones
    • H04R7/02Diaphragms for electromechanical transducers; Cones characterised by the construction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R9/00Transducers of moving-coil, moving-strip, or moving-wire type
    • H04R9/02Details

Landscapes

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

Abstract

The embodiment of the invention discloses a method and a device for adjusting the position of a loudspeaker diaphragm and a storage medium, which are applied to the technical field of loudspeakers and can solve the problem of how to correct the position of the diaphragm. The method comprises the following steps: detecting a first capacitance value of the loudspeaker, and if the first capacitance value is not within a preset capacitance value range, acquiring a capacitance change value according to the first capacitance value and a standard capacitance value; the standard capacitance value corresponds to the standard position of the loudspeaker diaphragm, and the first capacitance value corresponds to the current position of the loudspeaker diaphragm; and adjusting the standard electrical parameter value corresponding to the standard capacitance value according to the capacitance change value to control the loudspeaker diaphragm to move to a target position, wherein the target position is within a preset position range, and the preset position range corresponds to the preset capacitance value range. The method is applied to a scene that the position of the diaphragm is deviated when the loudspeaker is in a working state.

Description

Method and device for adjusting position of loudspeaker diaphragm and storage medium
The present application is a divisional application, and the application date of the original application, namely "a method, an apparatus, and a storage medium for adjusting the position of a loudspeaker diaphragm" is 26/11/2020, and the application number is 202011366902.9.
Technical Field
The embodiment of the invention relates to the technical field of loudspeakers, in particular to a method and a device for adjusting the position of a loudspeaker diaphragm and a storage medium.
Background
At present, a loudspeaker is widely applied to daily production and life of people as a sounding device for electronic products such as mobile phones, televisions, computers and the like. The loudspeaker drives the diaphragm to vibrate and produce sound based on the electromagnetic field generated by the electromagnetic coil, so the diaphragm is an essential part for determining the performance of the loudspeaker.
The position of the diaphragm in the loudspeaker is not fixed, and the position of the diaphragm may deviate from a normal range due to incorrect use of the loudspeaker by a user during operation, so that the working performance of the loudspeaker is affected. Therefore, how to correct the position of the diaphragm is a problem which needs to be solved at present.
Disclosure of Invention
The embodiment of the invention provides a method and a device for adjusting the position of a loudspeaker diaphragm and a storage medium, which are used for solving the problem of how to correct the position of the diaphragm in the prior art. In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, a method for adjusting a position of a loudspeaker diaphragm is provided, the method including: detecting a first capacitance value of a loudspeaker, and if the first capacitance value is not within a preset capacitance value range, acquiring a capacitance change value according to the first capacitance value and a standard capacitance value; the standard capacitance value corresponds to a standard position of a loudspeaker diaphragm, and the first capacitance value corresponds to a current position of the loudspeaker diaphragm;
and adjusting a standard electrical parameter value corresponding to the standard capacitance value according to the capacitance change value to control the loudspeaker diaphragm to move to a target position, wherein the target position is within a preset position range, and the preset position range corresponds to the preset capacitance value range.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the adjusting, according to the capacitance variation value, a standard electrical parameter value corresponding to the standard capacitance value to control the loudspeaker diaphragm to move to a target position includes:
according to the capacitance change value, the standard electrical parameter value corresponding to the standard capacitance value is adjusted to be a target electrical parameter value;
and generating a first acting force on the loudspeaker diaphragm according to the target electrical parameter value so as to enable the loudspeaker diaphragm to move to the target position.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the adjusting, according to the capacitance variation value, the standard electrical parameter value corresponding to the standard capacitance value to a target electrical parameter value includes:
calculating to obtain a first electrical parameter change value according to the capacitance change value;
and adjusting the standard electrical parameter value corresponding to the standard capacitance value to the target electrical parameter value according to the first electrical parameter change value.
As an alternative implementation manner, in the first aspect of the embodiment of the present invention, the calculating, according to the capacitance variation value, a first electrical parameter variation value includes:
determining the current position according to the first capacitance value, and determining the standard position according to the standard capacitance value;
acquiring a position difference value of the loudspeaker diaphragm according to the current position and the standard position;
and calculating the first electrical parameter change value through a force balance model according to the position difference value.
As an alternative implementation, in the first aspect of the embodiment of the present invention, the loudspeaker is in an unsealed environment, and the force balance model includes:
BLI=kx;
the magnetic induction intensity of the loudspeaker is B, the effective length of a voice coil of the loudspeaker diaphragm is L, the current applied to the voice coil of the loudspeaker diaphragm is I, the elastic coefficient of the loudspeaker diaphragm is k, and the position difference value is x.
As an alternative implementation, in the first aspect of the embodiment of the present invention, the loudspeaker is in a closed environment, and the force balance model includes:
BLI=kx+PS;
wherein B is the magnetic induction of the loudspeaker, L is the effective length of the voice coil of the loudspeaker diaphragm, I is the current applied to the voice coil of the loudspeaker diaphragm, k is the elastic coefficient of the loudspeaker diaphragm, x is the position difference value, P is the pressure in the loudspeaker, and S is the effective area of the loudspeaker diaphragm.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the adjusting, according to the capacitance variation value, a standard electrical parameter value corresponding to the standard capacitance value to control the loudspeaker diaphragm to move to a target position includes:
determining a second electrical parameter change value according to the capacitance change value;
controlling the loudspeaker diaphragm to move to a first position according to the standard electrical parameter value and the second electrical parameter change value;
and if the second capacitance value corresponding to the first position is not in the preset capacitance value range, taking the second capacitance value as the first capacitance value until the first position is in the preset position range.
In a second aspect, there is provided a position adjustment apparatus comprising: the acquisition module is used for detecting a first capacitance value of the loudspeaker, and acquiring a capacitance change value according to the first capacitance value and a standard capacitance value if the first capacitance value is not within a preset capacitance value range; the standard capacitance value corresponds to a standard position of a loudspeaker diaphragm, and the first capacitance value corresponds to a current position of the loudspeaker diaphragm;
and the processing module is used for adjusting a standard electrical parameter value corresponding to the standard capacitance value according to the capacitance change value so as to control the loudspeaker diaphragm to move to a target position, wherein the target position is within a preset position range, and the preset position range corresponds to the preset capacitance value range.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the processing module is further configured to adjust the standard electrical parameter value corresponding to the standard capacitance value to a target electrical parameter value according to the capacitance variation value;
the processing module is further configured to generate a first acting force on the loudspeaker diaphragm according to the target electrical parameter value, so that the loudspeaker diaphragm moves to the target position.
As an optional implementation manner, in a second aspect of the embodiment of the present invention, the processing module is further configured to calculate a first electrical parameter variation value according to the capacitance variation value;
the processing module is further configured to adjust the standard electrical parameter value corresponding to the standard capacitance value to the target electrical parameter value according to the first electrical parameter variation value.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the obtaining module is further configured to determine the current position according to the first capacitance value, and determine the standard position according to the standard capacitance value;
the obtaining module is further configured to obtain a position difference of the loudspeaker diaphragm according to the current position and the standard position;
and the processing module is further used for calculating the first electrical parameter change value through a force balance model according to the position difference value.
As an alternative implementation, in the second aspect of the embodiment of the present invention, the loudspeaker is in an unsealed environment, and the force balance model includes:
BLI=kx;
the magnetic induction intensity of the loudspeaker is B, the effective length of a voice coil of the loudspeaker diaphragm is L, the current applied to the voice coil of the loudspeaker diaphragm is I, the elastic coefficient of the loudspeaker diaphragm is k, and the position difference value is x.
As an alternative implementation, in the second aspect of the embodiment of the present invention, the loudspeaker is in a closed environment, and the force balance model includes:
BLI=kx+PS;
wherein B is the magnetic induction of the loudspeaker, L is the effective length of the voice coil of the loudspeaker diaphragm, I is the current applied to the voice coil of the loudspeaker diaphragm, k is the elastic coefficient of the loudspeaker diaphragm, x is the position difference value, P is the pressure in the loudspeaker, and S is the effective area of the loudspeaker diaphragm.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the obtaining module is further configured to determine a second electrical parameter variation value according to the capacitance variation value;
the processing module is further configured to control the loudspeaker diaphragm to move to a first position according to the standard electrical parameter value and the second electrical parameter change value;
the processing module is further configured to use a second capacitance value corresponding to the first position as the first capacitance value if the second capacitance value is not within the preset capacitance value range until the first position is within the preset position range.
In a third aspect, there is provided a position adjustment apparatus comprising:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute the position adjusting method in the first aspect of the embodiment of the present invention.
In a fourth aspect, a terminal device is provided, where the terminal device includes the position adjustment apparatus according to the second aspect or the third aspect of the embodiment of the present invention.
In a fifth aspect, a computer-readable storage medium is provided, which stores a computer program that causes a computer to execute the position adjustment method in the first aspect of the embodiment of the present invention. The computer readable storage medium includes a ROM/RAM, a magnetic or optical disk, or the like.
A sixth aspect provides a computer program product for causing a computer to perform some or all of the steps of any one of the methods of the first aspect when the computer program product is run on the computer.
In a seventh aspect, an application publishing platform is provided for publishing a computer program product, wherein the computer program product, when run on a computer, causes the computer to perform some or all of the steps of any one of the methods of the first aspect.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, the terminal device can detect the first capacitance value of the loudspeaker, and if the first capacitance value is not in the preset capacitance value range, the capacitance change value is obtained according to the first capacitance value and the standard capacitance value; the standard capacitance corresponds to the standard position of the loudspeaker diaphragm, and the first capacitance corresponds to the current position of the loudspeaker diaphragm; and adjusting the standard electrical parameter value corresponding to the standard capacitance value according to the capacitance change value to control the loudspeaker diaphragm to move to a target position, wherein the target position is within a preset position range, and the preset position range corresponds to the preset capacitance value range. In the technical scheme, because the capacitance value and the position of the loudspeaker diaphragm are corresponding to each other, when the first capacitance value is not in the preset capacitance value range, the position of the loudspeaker diaphragm can be indicated to be shifted and not in the preset position range; the terminal device can obtain a capacitance change value according to the first capacitance value and the standard capacitance value, and then adjust a standard electrical parameter value corresponding to the standard capacitance value according to the capacitance change value, so that the loudspeaker diaphragm moves to a target position within a preset position range. Therefore, the effect of correcting the position deviation of the loudspeaker diaphragm from the preset position range can be achieved, the loudspeaker diaphragm can be ensured to return to the preset position range, and the performance of the loudspeaker is not affected.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1a is a schematic diagram of a cone speaker according to an embodiment of the present invention;
fig. 1b is a schematic diagram of a dome speaker according to an embodiment of the present invention;
fig. 1c is an exploded view of an electromagnetic speaker according to an embodiment of the present invention;
FIG. 1d is a side cross-sectional view of an electromagnetic loudspeaker according to an embodiment of the present invention;
fig. 2 is a first schematic flow chart of a position adjustment method according to an embodiment of the present invention;
fig. 3 is a schematic flow chart illustrating a position adjustment method according to an embodiment of the present invention;
fig. 4 is a third schematic flowchart of a position adjustment method according to an embodiment of the present invention;
fig. 5 is a first schematic structural diagram of a position adjustment apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a position adjustment apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 8 is a schematic hardware structure diagram of a position adjustment apparatus 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.
The terms "first" and "second," and the like, in the description and in the claims of the present invention are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first and second capacitance values, etc. are used to distinguish between different capacitance values, rather than to describe a particular order of capacitance values.
The terms "comprises," "comprising," and any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
The loudspeaker is a transducer for converting an electric signal into an acoustic signal, and the quality of the loudspeaker has great influence on the sound quality. The speakers can be divided into a wide variety of basic configurations, with fig. 1a showing the basic configuration of a cone speaker and fig. 1b showing the basic configuration of a dome speaker.
As can be seen from fig. 1a and 1b, the speakers both include a vibrating diaphragm, a voice coil, a magnetic conductive plate, a magnet, and a corrugated rim; the magnetic force generated by the magnetic conductive plate and the magnet can drive the voice coil to move, and the folding ring has flexibility, so that the vibrating diaphragm connected with the folding ring can vibrate under the driving of the voice coil, and sound is generated. In addition, the cone speaker of fig. 1a further includes: blank pressing, a dust cover, a basin frame, T iron (a magnetic conduction column) and a centering support sheet. The dome speaker of fig. 1b further comprises: a liner and a back cavity. Wherein, the function of the edge pressing and the gasket are similar, and both are used for fixing the folding ring; the basin frame is used for supporting the external structure of the whole loudspeaker; the dustproof cover is used for preventing dust from entering the loudspeaker to influence the performance; the centering support piece is also called as an elastic wave, is an important component of the loudspeaker, is a support component of a loudspeaker suspension system, and is used for supporting the joint part of a voice coil and a basin frame in the loudspeaker so as to ensure that the voice coil freely moves up and down in a magnetic gap without transverse movement and ensure that the voice coil does not collide with a magnetic conduction plate to generate abnormal sound; the T iron can form a magnetic field with the magnetic conduction plate and the magnet. The back volume is the interior space of the entire speaker and is typically filled with sound absorbing material.
Fig. 1c is a schematic exploded perspective view of the electromagnetic speaker, and fig. 1d is a side sectional view of the electromagnetic speaker shown in fig. 1c after assembly. Referring to fig. 1c and 1d, the electromagnetic speaker 1 includes a frame 10, a magnetic assembly 11, and a vibration system 12. The magnetic assembly 11 comprises a magnetic gap 111 and a washer 112 in fig. 1d, wherein the magnetic gap 111 is formed by the washer 112 and a core column of the T-iron after the electromagnetic speaker is assembled. The vibration system 12 includes a diaphragm 13 and a voice coil 14. The diaphragm 13 is disposed above the magnetic assembly 11, and the edge of the diaphragm is fixed to the edge of the frame 10. One end of the voice coil 14 is suspended in the magnetic gap 111, and the other end thereof is connected to the diaphragm 13. The diaphragm 13 includes a corrugated rim 131 and a dome 135 stacked on the corrugated rim 131. The corrugated rim 131 includes a corrugated rim portion 132 and a flat surface 134 at the center thereof, and the lower surface of the dome 135 is closely attached to the flat surface 134.
In the embodiment of the present invention, the dome 135 and the washer 112 constitute two plates of a flat capacitor.
Optionally, the dome may further form two plates of a flat-plate capacitor with other opposite planes, for example, the dome and a front cover of the speaker, the dome and a sound cavity wall, and the dome and a casing wall may all form two plates of a flat-plate capacitor, which is not limited in the embodiment of the present invention.
During operation of a loudspeaker, the position of the loudspeaker diaphragm may shift for various reasons, such as: the sound cavity of the loudspeaker is in a closed state, and heat is generated during working to increase the internal pressure so that the vibrating diaphragm is deflected by pressure; or the user adjusts the volume too much, causing the diaphragm to drop and making the position of the diaphragm shift. If the loudspeaker diaphragm is displaced, the performance of the loudspeaker is also affected to some extent. There is currently no good way to correct the position of the loudspeaker diaphragm.
In order to solve the above problem, embodiments of the present invention provide a method and an apparatus for adjusting a position of a loudspeaker diaphragm, and a storage medium, which can achieve an effect of correcting a position of the loudspeaker diaphragm deviating from a preset position range, and ensure that the loudspeaker diaphragm can return to the preset position range, so that performance of a loudspeaker is not affected.
The execution main body of the position adjustment method provided by the embodiment of the present invention may be a position adjustment device, and may also be a terminal device including the position adjustment device, and specifically may include the following three conditions:
(1) the execution main body is a terminal device, and a loudspeaker is arranged in the terminal device;
(2) the execution main body is a functional module capable of realizing the position adjusting method, the functional module exists in the terminal equipment, and a loudspeaker is arranged in the terminal equipment;
(3) the execution subject is a position adjustment device in a speaker, which exists in the terminal apparatus.
The terminal device according to the embodiment of the present invention may be an electronic device such as a Mobile phone, a tablet Computer, a notebook Computer, a palmtop Computer, a vehicle-mounted terminal device, a wearable device, an Ultra-Mobile Personal Computer (UMPC), a netbook, or a Personal Digital Assistant (PDA). The wearable device may be a smart watch, a smart bracelet, a watch phone, a smart foot ring, a smart earring, a smart necklace, a smart headset, or the like, and the embodiment of the present invention is not limited.
The specific method can be determined according to actual use requirements, and the embodiment of the invention is not limited. The following takes a terminal device as an example to exemplarily explain the position adjustment method provided by the embodiment of the present invention.
The position adjusting method provided by the embodiment of the invention can be applied to a scene that the position of the diaphragm deviates when the loudspeaker is in a working state.
Example one
As shown in fig. 2, an embodiment of the present invention provides a position adjustment method, which may include the following steps:
201. a first capacitance value of the speaker is detected.
It should be noted that the capacitance can represent the capacity of the capacitor to store charge at a certain potential difference, and is denoted by symbol C. For a plate capacitor, the capacitance is calculated by the following two equations:
(1) capacitance determination formula:
Figure BDA0003594539610000091
wherein epsilon is the dielectric constant of a medium between two polar plates of the flat-plate capacitor, S is the relative area between the two polar plates of the flat-plate capacitor, and d is the distance between the two polar plates of the flat-plate capacitor.
(2) Calculation formula of capacitance:
Figure BDA0003594539610000092
wherein Q is the amount of charge between the two plates of the plate capacitor, and U is the voltage between the two plates of the plate capacitor.
In the embodiment of the present invention, when the loudspeaker diaphragm deflects in the vibration direction, the distance between the dome 135 and the washer 112 in fig. 1c changes, that is, d in the capacitance decision formula changes, and neither epsilon nor S changes, so that the capacitance changes.
It should be noted that, as can be seen from the calculation formula and the decision formula of the capacitor, when the terminal device detects the first capacitance value of the speaker, a fixed voltage may be applied to the two electrode plates, so that only the amount of charge may be changed when the current is changed, thereby changing the capacitor, and adjusting the distance between the two electrode plates under the condition that the dielectric constant and the relative area are not changed; when the terminal equipment detects the first capacitance value of the loudspeaker, the two polar plates can be provided with fixed electric charge, so that only voltage can be changed when current is changed, the capacitance is changed, and the distance between the two polar plates is adjusted under the condition that the dielectric constant and the relative area are not changed.
202. And acquiring a capacitance change value.
In the embodiment of the invention, if the first capacitance value is not within the preset capacitance value range, the capacitance variation value is obtained according to the first capacitance value and the standard capacitance value. The standard capacitance value corresponds to a standard position of the loudspeaker diaphragm, and the first capacitance value corresponds to a current position of the loudspeaker diaphragm.
As can be seen from the above formula (2), when the loudspeaker diaphragm deflects, only the distance d between the two plates changes, but the dielectric constant e of the medium between the plates and the relative area S of the two plates do not change, so that the capacitance value and the position of the loudspeaker diaphragm can be in one-to-one correspondence.
It should be noted that the standard capacitance value is a capacitance value corresponding to a standard position of the diaphragm of the speaker, and the standard position is a position where the performance of the speaker reaches the national standard. This standard capacitance value is in presetting the capacitance value within range, and it is that terminal equipment sets for according to the performance of speaker to predetermine the capacitance value within range, and when first capacitance value was in presetting the capacitance value within range, the influence that the performance of speaker received was little.
203. And adjusting the standard electrical parameter value corresponding to the standard capacitance value to control the loudspeaker diaphragm to move to the target position.
In the embodiment of the invention, the terminal equipment can adjust the standard electrical parameter value corresponding to the standard capacitance value according to the capacitance change value so as to control the loudspeaker diaphragm to move to the target position.
It should be noted that the target position is within a preset position range, and the preset position range corresponds to a preset capacitance range. The target position may be a standard position, or may be a position other than the standard position within a preset position range.
Optionally, the electrical parameter values include: at least one of current magnitude, current direction, voltage magnitude, voltage direction.
The embodiment of the invention provides a position adjusting method, wherein terminal equipment can detect a first capacitance value of a loudspeaker, and if the first capacitance value is not within a preset capacitance value range, a capacitance change value is obtained according to the first capacitance value and a standard capacitance value; and adjusting the standard electrical parameter value corresponding to the standard capacitance value according to the capacitance change value so as to control the loudspeaker diaphragm to move to the target position. In the technical scheme, because the capacitance value and the position of the loudspeaker diaphragm are corresponding to each other, when the first capacitance value is not in the preset capacitance value range, the position of the loudspeaker diaphragm can be indicated to be shifted and not in the preset position range; the terminal device can obtain a capacitance change value according to the first capacitance value and the standard capacitance value, and then adjust a standard electrical parameter value corresponding to the standard capacitance value according to the capacitance change value, so that the loudspeaker diaphragm moves to a target position within a preset position range. Therefore, the effect of correcting the position deviation of the loudspeaker diaphragm from the preset position range can be achieved, the loudspeaker diaphragm can be ensured to return to the preset position range, and the performance of the loudspeaker is not affected.
Example two
As shown in fig. 3, the position adjustment method provided in the embodiment of the present invention may further include the following steps:
301. a first capacitance value of the speaker is detected.
302. And acquiring a capacitance change value.
In the embodiment of the present invention, for the description of steps 301 to 302, please refer to the detailed description of steps 201 to 202 in the first embodiment, which is not repeated herein.
303. And adjusting the standard electrical parameter value corresponding to the standard capacitance value to be the target electrical parameter value.
In the embodiment of the present invention, the terminal device may adjust the standard electrical parameter value corresponding to the standard capacitance value to the target electrical parameter value according to the capacitance change value.
It should be noted that, before the loudspeaker diaphragm deflects, the electrical parameter value is a standard electrical parameter value corresponding to the standard capacitance value, and after the loudspeaker diaphragm deflects, the terminal device needs to adjust the standard electrical parameter value, that is, adjust the current standard electrical parameter value to the target electrical parameter value, in order to move the loudspeaker diaphragm to the preset position range.
Optionally, the adjusting, by the terminal device, the standard electrical parameter value corresponding to the standard capacitance value to the target electrical parameter value may include: calculating to obtain a first electrical parameter change value according to the capacitance change value; and adjusting the standard electrical parameter value corresponding to the standard capacitance value to be the target electrical parameter value according to the first electrical parameter change value.
In the embodiment of the invention, after the terminal device calculates the first electrical parameter change value, the first electrical parameter change value can be added on the basis of the standard electrical parameter value to obtain the target electrical parameter value.
Further, calculating a variation value of the first electrical parameter according to the variation value of the capacitance may include: determining the current position according to the first capacitance value, and determining a standard position according to the standard capacitance value; acquiring a position difference value of the loudspeaker diaphragm according to the current position and the standard position; and calculating a first electrical parameter change value through a force balance model according to the position difference value.
It should be noted that the capacitance values and the positions of the speaker diaphragms are in one-to-one correspondence, so that the terminal device can determine the current position according to the first capacitance value and then determine the standard position according to the standard capacitance value. And then, according to the current position and the standard position, the position difference value of the loudspeaker diaphragm, namely the offset distance of the loudspeaker diaphragm, can be obtained. The terminal device may substitute the position difference value into the force balance model, and obtain a first electrical parameter change value through calculation, where the first electrical parameter change value is a value of a change of an electrical parameter value, that is, a difference value between the target electrical parameter value and the standard electrical parameter value.
The force balance model can be specifically applied to two scenes:
scene one: when the loudspeaker is in an unsealed environment, the force balance model can be expressed as:
BLI=kx
wherein, B is the magnetic induction of the loudspeaker, L is the effective length of the voice coil of the loudspeaker diaphragm, I is the current applied to the voice coil of the loudspeaker diaphragm, k is the elastic coefficient of the loudspeaker diaphragm, and x is the position difference.
It should be noted that, because the speaker is in the non-sealed environment, the speaker diaphragm is only subjected to the elastic force when being deflected, which is to say, the terminal device needs to apply the first acting force to the speaker diaphragm, so that the speaker diaphragm can be moved to the target position under the action of the first acting force.
Because the voice coil of the loudspeaker diaphragm is connected in the whole magnetic circuit system and the voice coil is an electrified coil, when current flows through the voice coil, the voice coil can be subjected to ampere force. The ampere force is the acting force of the magnetic field to the current, and is the resultant force of the Lorentz force on the charge which forms the directional movement of the current, and experiments show that the magnitude F of the ampere force on a certain position in the magnetic field is in direct proportion to the product of the current intensity I and the length L of the wire.
In the embodiment of the invention, after the loudspeaker is shipped, the magnetic induction intensity and the effective length of the voice coil are constant, so that the ampere force of the voice coil is only influenced by the current. When the position of the loudspeaker diaphragm is not deviated, the ampere force and the elastic force are balanced; after the position of the loudspeaker diaphragm deviates to a certain extent, the elastic force is greater than the ampere force, and at the moment, the terminal equipment can increase the ampere force by increasing the intensity of the current, so that the loudspeaker diaphragm moves to the target position under the action of the ampere force, and the force balance is continuously kept.
It should be noted that the current and the voltage correspond to each other through the resistor, and since the resistance of the voice coil is constant, the terminal device can adjust the current and also adjust the voltage, and both can achieve the effect of adjusting the ampere force.
Scene two: when the loudspeaker is in a closed environment, the force balance model can be expressed as:
BLI=kx+PS
wherein, B is the magnetic induction intensity of the loudspeaker, L is the effective length of the voice coil of the loudspeaker diaphragm, I is the current applied to the voice coil of the loudspeaker diaphragm, k is the elastic coefficient of the loudspeaker diaphragm, x is the position difference value, P is the pressure intensity in the loudspeaker, and S is the effective area of the loudspeaker diaphragm.
It should be noted that, because the speaker is in a closed environment, when the speaker generates heat when operating, which causes air expansion, the speaker will be subjected to the combined action of elastic force and pressure, and thus the terminal device needs to maintain the combined balance of the ampere force and the elastic force and the pressure when adjusting the current value.
Optionally, calculating a variation value of the first electrical parameter according to the variation value of the capacitance, and may further include: determining a current position according to the first capacitance value, and determining a standard position according to the standard capacitance value; acquiring a position difference value of the loudspeaker diaphragm according to the current position and the standard position; and obtaining a first electrical parameter change value according to the position difference value and the corresponding relation between the position difference value and the electrical parameter change value.
It should be noted that the terminal device may further perform a plurality of tests to store the corresponding relationship between the position difference and the electrical parameter variation value, and after the loudspeaker diaphragm has a certain deviation, the first electrical parameter variation value corresponding to the position difference may be directly obtained from the corresponding relationship between the position difference and the electrical parameter variation value.
For example, the corresponding relationship between the position difference and the electrical parameter variation value is assumed to include: when the position difference is 0.1cm, the change value of the electrical parameter is current adjustment of 0.5A; when the position difference is 0.15cm, the change value of the electrical parameter is current adjustment of 0.7A; when the position difference is 0.2cm, the change value of the electrical parameter is current adjustment of 0.95A; when the position difference is 0.25cm, the change value of the electrical parameter is current adjustment of 1.3A; when the position difference is 0.3cm, the change value of the electrical parameter is current adjustment of 1.75A; when the position difference is 0.35cm, the change value of the electrical parameter is current adjustment 2.4A. If the position difference value obtained after the terminal device determines the current position and the standard position according to the first capacitance value and the standard capacitance value is 0.2cm, the first electrical parameter change value can be directly obtained from the corresponding relation between the position difference value and the electrical parameter change value and is 0.95A.
According to the technical scheme, the corresponding relation between the position difference value and the electrical parameter change value is stored, the electrical parameter change value does not need to be calculated through a force balance model every time in the subsequent process of adjusting the electrical parameter value, the electrical parameter change value can be directly obtained through the corresponding relation, and therefore the power consumption of the terminal equipment can be reduced.
304. A first force is generated against the loudspeaker diaphragm to cause the loudspeaker diaphragm to move to a target position.
In the embodiment of the present invention, after the standard electrical parameter value is adjusted to the target electrical parameter value, the terminal device may generate a first acting force on the loudspeaker diaphragm according to the target electrical parameter value, so that the loudspeaker diaphragm moves to the target position.
It should be noted that, after the electrical parameter value is adjusted, the voice coil generates a first acting force on the loudspeaker diaphragm, so that the loudspeaker diaphragm moves to the target position under the action of the first acting force. The target position is any position in the preset position range, may be a standard position, or may be any position in the preset position range except for the standard position, and the embodiment of the present invention is not limited.
The embodiment of the invention provides a position adjusting method, because the capacitance value and the position of a loudspeaker diaphragm are corresponding to each other, when the first capacitance value is not in the range of the preset capacitance value, the position of the loudspeaker diaphragm can be indicated to be shifted and not in the range of the preset position; the terminal equipment can acquire a capacitance change value according to the first capacitance value and the standard capacitance value; and adjusting the standard electrical parameter value to a target electrical parameter value according to the capacitance change value, so as to generate a first acting force on the loudspeaker diaphragm, and move the loudspeaker diaphragm to a target position. This technical scheme can in time detect the skew condition of loudspeaker diaphragm, after loudspeaker diaphragm has taken place the skew, makes loudspeaker diaphragm move to the target position that is in predetermineeing the position within range under the effect of first effort through adjustment electrical parameter value, and the position of correcting loudspeaker diaphragm that like this can be more accurate ensures that loudspeaker diaphragm can return to predetermineeing the position within range to make the performance of speaker not influenced.
EXAMPLE III
As shown in fig. 4, the position adjustment method provided in the embodiment of the present invention may further include the following steps:
401. a first capacitance value of the speaker is detected.
402. And acquiring a capacitance change value.
In the embodiment of the present invention, for the description of steps 401 to 402, please refer to the detailed description of steps 201 to 202 in the first embodiment, which is not repeated herein.
403. A second electrical parameter change value is determined.
In the embodiment of the present invention, the terminal device may determine the second electrical parameter variation value according to the capacitance variation value.
It should be noted that the second electrical parameter variation value is arbitrarily set according to the capacitance variation value.
404. And controlling the loudspeaker diaphragm to move to the first position.
In the embodiment of the invention, the terminal device can generate a second acting force on the loudspeaker diaphragm according to the standard electrical parameter value and the second electrical parameter change value, so that the voice coil on the loudspeaker diaphragm drives the loudspeaker diaphragm to move to the first position under the action of the second acting force.
405. And detecting whether a second capacitance value corresponding to the first position is within a preset capacitance value range.
In the embodiment of the present invention, if the second capacitance value corresponding to the first position is within the predetermined capacitance range, the step is ended, and if the second capacitance value corresponding to the first position is not within the predetermined capacitance range, the following step 406 is performed.
406. And taking the second capacitance value as the first capacitance value until the first position is within the preset position range.
In the embodiment of the present invention, if the second capacitance value corresponding to the first position is not within the preset capacitance value range, the second capacitance value is used as the first capacitance value, and the steps in the embodiment of the present invention are continuously performed until the first position is within the preset position range.
Specific cases may include three cases:
the first condition is as follows: when the second capacitance value is closer to the preset capacitance value range than the first capacitance value, and the second capacitance value and the first capacitance value are on the same side of the preset capacitance value range, it can be stated that the first adjustment of the electrical parameter value promotes the loudspeaker diaphragm to move to the preset position range, but the adjusted electrical parameter change value is not enough, and at this time, the terminal device may add a certain electrical parameter change value on the basis of the second electrical parameter change value.
Illustratively, assume the predetermined capacitance range is 1.5 farad (F) to 2F and the standard capacitance is 1.7F. When the first capacitance value obtained by the terminal device is 3F and is not within the preset capacitance value range, and the capacitance change value is 1.3F according to the standard capacitance value, the electrical parameter value can be properly adjusted at this time, assuming that the second electrical parameter change value is 0.2 ampere (a), the current can be changed from 3A to 3.2A, and the loudspeaker diaphragm can move, and at this time, the terminal device detects that the capacitance value corresponding to the position of the loudspeaker diaphragm after moving is 2.6F and is not within the preset capacitance value range, but both 3F and 2.6F are greater than 2F, and 2.6F is closer to 2F than 3F, it can be said that the current is changed from 3A to 3.2A effectively, but the change is not enough; then, at this time, the terminal device may use 2.6F as the first capacitance value, determine the second electrical parameter change value again, assume that the current is 0.3A, change the current from 3.2A to 3.5A, at this time, the loudspeaker diaphragm may move again, at this time, the terminal device detects that the capacitance value corresponding to the position where the loudspeaker diaphragm moves is 2.15F, and is closer to the preset capacitance value range, the terminal device may use 2.15F as the first capacitance value, and execute the above steps again until the terminal device detects that the capacitance value corresponding to the position where the loudspeaker diaphragm moves is within the range of 1.5F to 2F.
Case two: when the second capacitance value is farther from the preset capacitance range than the first capacitance value, and the second capacitance value and the first capacitance value are on the same side of the preset capacitance range, it can be stated that the first adjustment of the electrical parameter value inhibits the loudspeaker diaphragm from moving to the preset position range, and at this time, the terminal device can change the direction of the electrical parameter change value.
For example, assume that the predetermined capacitance range is 1.5F-2F and the standard capacitance range is 1.7F. When the first capacitance value obtained by the terminal device is 3F and is not within the preset capacitance value range, and the capacitance change value is 1.3F according to the standard capacitance value, the electrical parameter value can be properly adjusted at this time, assuming that the second electrical parameter change value is 0.2A, the current can be changed from 3A to 3.2A, at this time, the loudspeaker diaphragm can move, at this time, the capacitance value corresponding to the position where the loudspeaker diaphragm moves detected by the terminal device is 3.4F and is not within the preset capacitance value range, but 3.4F and 3F are both greater than 2F, but 3.4F is farther than 3F than 2F, it can be stated that the direction of the first adjustment of the electrical parameter value is wrong; then, the terminal device may use 3.4F as the first capacitance value, change the direction of the change value of the second electrical parameter, and execute the above steps again until the terminal device detects that the capacitance value corresponding to the position of the loudspeaker diaphragm after moving is within the range of 1.5F to 2F.
Case three: when the second capacitance value and the first capacitance value are at different sides of the preset capacitance value range, it can be shown that the second electrical parameter change value is too large, so that the loudspeaker diaphragm moves beyond the range, and then the terminal device can reduce the certain electrical parameter change value on the basis of the second electrical parameter change value and change the direction of the electrical parameter change value.
For example, assume that the predetermined capacitance range is 1.5F-2F and the standard capacitance range is 1.7F. When the first capacitance value obtained by the terminal device is 3F and is not in the preset capacitance value range, and the capacitance change value is 1.3F according to the standard capacitance value, then the electrical parameter value can be properly adjusted, assuming that the second electrical parameter change value is 0.2A, the current can be changed from 3A to 3.2A, at this time, the loudspeaker diaphragm can move, at this time, the terminal device detects that the capacitance value corresponding to the position of the loudspeaker diaphragm after the loudspeaker diaphragm moves is 1.3F and is not in the preset capacitance value range, and 1.3F and 3F are on two sides of 1.5F-2F, it can be said that the second electrical parameter change value is too large, the loudspeaker diaphragm moves too far, at this time, 1.3F can be used as the first capacitance value, the second electrical parameter change value is determined again, assuming that the second electrical parameter change value is 0.05A, and the direction of the second electrical parameter change value is changed, at this time, the loudspeaker diaphragm moves again, at this time, the capacitance value corresponding to the position of the terminal device after detecting the movement of the loudspeaker diaphragm is 1.45F, and is closer to the preset capacitance value range compared with 1.3F, then the terminal device may use 1.45F as the first capacitance value, and execute the above steps again until the capacitance value corresponding to the position of the terminal device after detecting the movement of the loudspeaker diaphragm is within the range of 1.5F to 2F.
The embodiment of the invention provides a position adjusting method, because the capacitance value and the position of a loudspeaker diaphragm are corresponding to each other, when the first capacitance value is not in the range of the preset capacitance value, the position of the loudspeaker diaphragm can be indicated to be shifted and not in the range of the preset position; the terminal equipment can acquire a capacitance change value according to the first capacitance value and the standard capacitance value; and determining a second electrical parameter change value according to the capacitance change value, adjusting the standard electrical parameter value to control the loudspeaker diaphragm to move to the first position, and if a second capacitance value corresponding to the first position is not in a preset capacitance value range, taking the second capacitance value as the first capacitance value and continuing to execute all the steps of the embodiment of the invention until the first position is in the preset position range. According to the technical scheme, the electrical parameter value can be adjusted through multiple cycles, so that the loudspeaker diaphragm can move to the target position within the preset position range, and the loudspeaker diaphragm can move to the preset position range as soon as possible due to the fact that the offset of the loudspeaker diaphragm is possibly not large in practice.
Example four
As shown in fig. 5, an embodiment of the present invention provides a position adjustment apparatus, including:
an obtaining module 501, configured to detect a first capacitance value of the speaker, and if the first capacitance value is not within a preset capacitance value range, obtain a capacitance variation value according to the first capacitance value and a standard capacitance value; the standard capacitance value corresponds to the standard position of the loudspeaker diaphragm, and the first capacitance value corresponds to the current position of the loudspeaker diaphragm;
the processing module 502 is configured to adjust a standard electrical parameter value corresponding to the standard capacitance value according to the capacitance change value to control the loudspeaker diaphragm to move to a target position, where the target position is within a preset position range, and the preset position range corresponds to the preset capacitance value range.
As an optional implementation manner, the processing module 502 is further configured to adjust the standard electrical parameter value corresponding to the standard capacitance value to the target electrical parameter value according to the capacitance change value;
the processing module 502 is further configured to generate a first acting force on the loudspeaker diaphragm according to the target electrical parameter value, so that the loudspeaker diaphragm moves to the target position.
As an optional implementation manner, the processing module 502 is further configured to calculate a first electrical parameter variation value according to the capacitance variation value;
the processing module 502 is further configured to adjust the standard electrical parameter value corresponding to the standard capacitance value to the target electrical parameter value according to the first electrical parameter variation value.
As an optional implementation manner, the obtaining module 501 is further configured to determine a current position according to the first capacitance value, and determine a standard position according to the standard capacitance value;
the obtaining module 501 is further configured to obtain a position difference of the loudspeaker diaphragm according to the first position and the standard position;
the processing module 502 is further configured to calculate a first electrical parameter variation value through a force balance model according to the position difference.
As an alternative embodiment, the loudspeaker is in an unsealed environment, and the force balance model comprises:
BLI=kx
wherein, B is the magnetic induction of the loudspeaker, L is the effective length of the voice coil of the loudspeaker diaphragm, I is the current applied to the voice coil of the loudspeaker diaphragm, k is the elastic coefficient of the loudspeaker diaphragm, and x is the first offset.
As an alternative embodiment, the loudspeaker is in a closed environment, and the force balance model comprises:
BLI=kx+PS
wherein, B is the magnetic induction of the loudspeaker, L is the effective length of the voice coil of the loudspeaker diaphragm, I is the current applied to the voice coil of the loudspeaker diaphragm, k is the elastic coefficient of the loudspeaker diaphragm, x is the first offset, P is the pressure in the loudspeaker, and S is the effective area of the loudspeaker diaphragm.
As an optional implementation manner, the obtaining module 501 is further configured to determine a second electrical parameter variation value according to the capacitance variation value;
the processing module 502 is further configured to control the loudspeaker diaphragm to move to the first position according to the standard electrical parameter value and the second electrical parameter variation value;
the processing module 502 is further configured to use the second capacitance value as the first capacitance value if the second capacitance value corresponding to the first position is not within the preset capacitance value range until the first position is within the preset position range.
In the embodiment of the present invention, each module may implement the position adjustment method provided in the above method embodiment, and may achieve the same technical effect, and in order to avoid repetition, details are not described here.
As shown in fig. 6, an embodiment of the present invention further provides a position adjustment apparatus, where the position adjustment apparatus may include:
a memory 601 in which executable program code is stored;
a processor 602 coupled to a memory 601;
the processor 602 calls the executable program code stored in the memory 601 to execute all or part of the steps in the position adjustment method in the above embodiments.
As shown in fig. 7, an embodiment of the present invention further provides a terminal device, where the terminal device may include: such as the position adjustment device shown in fig. 5 or 6.
As shown in fig. 8, an embodiment of the present invention further provides a position adjustment apparatus, which includes but is not limited to: a Radio Frequency (RF) circuit 801, a memory 802, an input unit 803, a display unit 804, a sensor 805, an audio circuit 806, a WiFi (wireless communication) module 807, a processor 808, a power supply 809, and a camera 810. The rf circuit 801 includes a receiver 8011 and a transmitter 8012. It will be appreciated by those skilled in the art that the configuration of the position adjustment arrangement shown in fig. 8 is not intended to be limiting and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
The RF circuit 801 may be used for receiving and transmitting signals during a message transmission or call, and in particular, receives downlink information from a base station and then processes the downlink information to the processor 808; in addition, the data for designing uplink is transmitted to the base station. In general, the RF circuit 801 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 801 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to global system for mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Message Service (SMS), etc.
The memory 802 may be used for storing software programs and modules, and the processor 808 executes various functional applications and data processing of the position adjusting apparatus by operating the software programs and modules stored in the memory 802. The memory 802 may mainly include a program storage area and a data storage area, wherein the program storage 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 position adjustment apparatus, and the like. Further, the memory 802 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 input unit 803 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the position adjustment apparatus. Specifically, the input unit 803 may include a touch panel 8031 and other input devices 8032. The touch panel 8031, also referred to as a touch screen, can collect touch operations of a user on or near the touch panel 8031 (e.g., operations of the user on or near the touch panel 8031 using any suitable object or accessory such as a finger or a stylus), and drive a corresponding connection device according to a preset program. Alternatively, the touch panel 8031 may include two parts, 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 808, and can receive and execute commands sent by the processor 808. In addition, the touch panel 8031 can be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 803 may include other input devices 8032 in addition to the touch panel 8031. In particular, other input devices 8032 can include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 804 may be used to display information input by a user or information provided to the user and various menus of the position adjustment apparatus. The display unit 804 may include a display panel 8041, and optionally, the display panel 8041 may be configured in the form of a Liquid Crystal Display (LCD), an organic light-Emitting diode (OLED), or the like. Further, the touch panel 8031 can cover the display panel 8041, and when the touch panel 8031 detects a touch operation on or near the touch panel 8031, the touch panel can transmit the touch operation to the processor 808 to determine a touch event, and then the processor 808 can provide a corresponding visual output on the display panel 8041 according to the touch event. Although in fig. 8, the touch panel 8031 and the display panel 8041 are implemented as two separate components to implement the input and output functions of the position adjustment apparatus, in some embodiments, the touch panel 8031 and the display panel 8041 may be integrated to implement the input and output functions of the position adjustment apparatus.
The position adjustment device may also include at least one sensor 805, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 8041 according to the brightness of ambient light, and a proximity sensor that exits the display panel 8041 and/or the backlight when the position adjustment device 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 for applications of recognizing the posture of the position adjustment device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured to the position adjusting device, further description is omitted here. In the embodiment of the present invention, the position adjusting device may include an acceleration sensor, a depth sensor, a distance sensor, or the like.
The audio circuit 806, speaker 8061, microphone 8062 may provide an audio interface between the user and the position adjustment device. The audio circuit 806 can transmit the electrical signal converted from the received audio data to the speaker 8061, and the electrical signal is converted into a sound signal by the speaker 8061 and output; on the other hand, the microphone 8062 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 806, and then outputs the audio data to the processor 808 for processing, and then sends the audio data to, for example, another position adjustment device via the RF circuit 801, or outputs the audio data to the memory 802 for further processing.
WiFi belongs to short distance wireless transmission technology, and the position adjusting device can help the user to send and receive e-mail, browse web page and access streaming media, etc. through the WiFi module 807, which provides wireless broadband internet access for the user. Although fig. 8 shows the WiFi module 807, it is understood that it does not belong to the essential constitution of the position adjusting means, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 808 is a control center of the position adjusting apparatus, connects various parts of the entire position adjusting apparatus using various interfaces and lines, and performs various functions of the position adjusting apparatus and processes data by operating or executing software programs and/or modules stored in the memory 802 and calling data stored in the memory 802, thereby performing overall monitoring of the position adjusting apparatus. Optionally, processor 808 may include one or more processing units; preferably, the processor 808 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 808.
The position adjustment device further includes a power supply 809 (e.g., a battery) for supplying power to the various components, which may be logically connected to the processor 808 via a power management system, so as to manage charging, discharging, and power consumption via the power management system. Although not shown, the position adjustment device may further include a bluetooth module, etc., which will not be described herein.
In an embodiment of the present invention, the processor 808 is configured to detect a first capacitance value of the speaker, and obtain a capacitance variation value according to the first capacitance value and a standard capacitance value if the first capacitance value is not within a preset capacitance value range; the standard capacitance value corresponds to the standard position of the loudspeaker diaphragm, and the first capacitance value corresponds to the current position of the loudspeaker diaphragm;
and adjusting the standard electrical parameter value corresponding to the standard capacitance value according to the capacitance change value to control the loudspeaker diaphragm to move to a target position, wherein the target position is within a preset position range, and the preset position range corresponds to the preset capacitance value range.
Optionally, the processor 808 may also be configured to implement other processes implemented by the terminal device in the foregoing method embodiments.
Embodiments of the present invention provide a computer-readable storage medium storing a computer program, wherein the computer program causes a computer to execute some or all of the steps of the method as in the above method embodiments.
Embodiments of the present invention also provide a computer program product, wherein the computer program product, when run on a computer, causes the computer to perform some or all of the steps of the method as in the above method embodiments.
Embodiments of the present invention further provide an application publishing platform, where the application publishing platform is configured to publish a computer program product, where the computer program product, when running on a computer, causes the computer to perform some or all of the steps of the method in the above method embodiments.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. Those skilled in the art should also appreciate that the embodiments described in this specification are exemplary and alternative embodiments, and that the acts and modules illustrated are not required in order to practice the invention.
The terminal device provided by the embodiment of the present invention can implement each process shown in the above method embodiments, and is not described herein again to avoid repetition.
In various embodiments of the present invention, it should be understood that the sequence numbers of the above-mentioned processes do not imply an inevitable order of execution, and the execution order of the processes should be determined by their functions and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated units, if implemented as software functional units and sold or used as a stand-alone product, may be stored in a computer accessible memory. Based on such understanding, the technical solution of the present invention, which is a part of or contributes to the prior art in essence, or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several requests for causing a computer device (which may be a personal computer, a server, a network device, or the like, and may specifically be a processor in the computer device) to execute part or all of the steps of the above-described method of each embodiment of the present invention.
It will be understood by those skilled in the art that all or part of the steps in the methods of the embodiments described above may be implemented by hardware instructions of a program, and the program may be stored in a computer-readable storage medium, where the storage medium includes Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Compact Disc Read-Only Memory (CD-ROM), or other Memory, such as a magnetic disk, or a combination thereof, A tape memory, or any other medium readable by a computer that can be used to carry or store data.

Claims (10)

1. A method of adjusting a position of a loudspeaker diaphragm, the method comprising:
detecting a first capacitance value of a loudspeaker, and if the first capacitance value is not within a preset capacitance value range, acquiring a capacitance change value according to the first capacitance value and a standard capacitance value; the standard capacitance value corresponds to a standard position of a loudspeaker diaphragm, and the first capacitance value corresponds to a current position of the loudspeaker diaphragm;
determining a second electrical parameter change value according to the capacitance change value;
controlling the loudspeaker diaphragm to move to a first position according to the standard electrical parameter value and the second electrical parameter change value;
and if the second capacitance value corresponding to the first position is not in the preset capacitance value range, taking the second capacitance value as a new first capacitance value, and controlling the loudspeaker diaphragm to execute the next moving operation according to the new first capacitance value until the first position is in the preset position range, wherein the preset position range corresponds to the preset capacitance value range.
2. The method of claim 1, wherein the controlling the loudspeaker diaphragm to perform the next moving operation according to the new first capacitance value comprises:
when the second capacitance value is closer to the preset capacitance value range than the first capacitance value and the second capacitance value and the first capacitance value are in the same condition of the preset capacitance value range, increasing an electrical parameter change value on the basis of a new second electrical parameter change value; the new second electrical parameter change value is determined according to a new capacitance change value obtained by the new first capacitance value and the standard capacitance value;
and controlling the loudspeaker diaphragm to execute the next moving operation according to the standard electrical parameter value and a new second electrical parameter change value after the electrical parameter change value is added.
3. The method of claim 1, wherein the controlling the loudspeaker diaphragm to perform the next moving operation according to the new first capacitance value comprises:
when the second capacitance value and the second capacitance value are farther away from a preset capacitance value range than the first capacitance value and are positioned at the same side of the preset capacitance value range, changing the direction of a new second electrical parameter change value; the new second parameter change value is determined according to a new capacitance change value obtained by the new first capacitance value and the standard capacitance value;
and controlling the loudspeaker diaphragm to execute the next moving operation according to the standard electrical parameter value and the new second electrical parameter change value with the changed direction.
4. The method of claim 1, wherein the controlling the loudspeaker diaphragm to perform the next moving operation according to the new first capacitance value comprises:
when the second capacitance value and the first capacitance value are positioned at different sides of the preset capacitance value range, reducing the change value of the electrical parameter on the basis of the new second electrical parameter change value, and changing the direction of the new second electrical parameter change value; the new second parameter change value is determined according to a new capacitance change value obtained by the new first capacitance value and the standard capacitance value;
and controlling the loudspeaker diaphragm to execute the next moving operation according to the standard electrical parameter value and the new second electrical parameter change value with the electrical parameter change value reduced and the direction changed.
5. The method according to any one of claims 1 to 4, wherein the second electrical parameter variation value is arbitrarily set according to a capacitance variation value.
6. The method of any one of claims 1-4, wherein said controlling the loudspeaker diaphragm to move to the first position based on the normalized electrical parameter value and the second electrical parameter variation value comprises:
and generating a second acting force for the loudspeaker diaphragm according to the standard electrical parameter value and the second electrical parameter change value, so that the voice coil on the loudspeaker diaphragm drives the loudspeaker diaphragm to move to the first position under the action of the second acting force.
7. A position adjustment device, comprising:
the acquisition module is used for detecting a first capacitance value of the loudspeaker, and acquiring a capacitance change value according to the first capacitance value and a standard capacitance value if the first capacitance value is not within a preset capacitance value range; the standard capacitance value corresponds to a standard position of a loudspeaker diaphragm, and the first capacitance value corresponds to a current position of the loudspeaker diaphragm;
the acquisition module is further used for determining a second electrical parameter change value according to the capacitance change value;
the processing module is used for controlling the loudspeaker diaphragm to move to a first position according to the standard electrical parameter value and the second electrical parameter change value;
the processing module is further configured to, when a second capacitance value corresponding to the first position is not within the preset capacitance value range, use the second capacitance value as a new first capacitance value, and control the loudspeaker diaphragm to perform a next moving operation according to the new first capacitance value until the first position is within the preset position range, where the preset position range corresponds to the preset capacitance value range.
8. A position adjustment device, comprising:
a memory storing executable program code;
and a processor coupled to the memory;
the processor calls the executable program code stored in the memory for executing the position adjustment method according to any one of claims 1 to 6.
9. A terminal device, comprising: the position adjustment apparatus according to claim 7 or 8.
10. A computer-readable storage medium, comprising: the computer-readable storage medium stores thereon computer instructions that, when executed by a processor, implement the position adjustment method of any one of claims 1 to 6.
CN202210389156.8A 2020-11-26 2020-11-26 Method and device for adjusting position of loudspeaker diaphragm and storage medium Pending CN114845224A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210389156.8A CN114845224A (en) 2020-11-26 2020-11-26 Method and device for adjusting position of loudspeaker diaphragm and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210389156.8A CN114845224A (en) 2020-11-26 2020-11-26 Method and device for adjusting position of loudspeaker diaphragm and storage medium
CN202011366902.9A CN112511960B (en) 2020-11-26 2020-11-26 Method and device for adjusting position of loudspeaker diaphragm and storage medium

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN202011366902.9A Division CN112511960B (en) 2020-11-26 2020-11-26 Method and device for adjusting position of loudspeaker diaphragm and storage medium

Publications (1)

Publication Number Publication Date
CN114845224A true CN114845224A (en) 2022-08-02

Family

ID=74967424

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202011366902.9A Active CN112511960B (en) 2020-11-26 2020-11-26 Method and device for adjusting position of loudspeaker diaphragm and storage medium
CN202210389156.8A Pending CN114845224A (en) 2020-11-26 2020-11-26 Method and device for adjusting position of loudspeaker diaphragm and storage medium

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202011366902.9A Active CN112511960B (en) 2020-11-26 2020-11-26 Method and device for adjusting position of loudspeaker diaphragm and storage medium

Country Status (1)

Country Link
CN (2) CN112511960B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116896713A (en) * 2023-09-04 2023-10-17 立臻精密智造(昆山)有限公司 Device and method for determining height of loudspeaker diaphragm

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113676807B (en) * 2021-08-05 2024-04-19 维沃移动通信有限公司 Earphone and electronic equipment assembly
CN113691905B (en) * 2021-08-05 2024-02-27 维沃移动通信有限公司 Air pressure adjusting method and device, electronic equipment and storage medium
CN113676806B (en) * 2021-08-05 2024-04-19 维沃移动通信有限公司 Earphone and electronic equipment assembly

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ATE370633T1 (en) * 2001-09-10 2007-09-15 Sonion As MINIATURE SPEAKER WITH INTEGRATED SIGNAL PROCESSING ELECTRONICS
CN101296533B (en) * 2007-12-29 2013-01-16 瑞声声学科技(常州)有限公司 Loudspeaker diaphragm equivalent mass and equivalent force measuring method
US9648432B2 (en) * 2013-07-23 2017-05-09 Analog Devices Global Method of controlling sound reproduction of enclosure mounted loudspeakers
US9980068B2 (en) * 2013-11-06 2018-05-22 Analog Devices Global Method of estimating diaphragm excursion of a loudspeaker
US9681228B2 (en) * 2014-09-30 2017-06-13 Apple Inc. Capacitive position sensing for transducers
CN105721993B (en) * 2016-03-21 2018-12-14 歌尔股份有限公司 The method of the vibration displacement of loudspeaker monomer, speaker system and adjustment vibrating diaphragm
CN106454679B (en) * 2016-11-17 2019-05-21 矽力杰半导体技术(杭州)有限公司 Diaphragm of loudspeaker method for estimating state and the loudspeaker driving circuit for applying it
CN109997372B (en) * 2016-12-14 2020-10-23 华为技术有限公司 Method for adjusting vibration balance position of vibrating diaphragm and loudspeaker
US10462565B2 (en) * 2017-01-04 2019-10-29 Samsung Electronics Co., Ltd. Displacement limiter for loudspeaker mechanical protection
CN107222807A (en) * 2017-05-11 2017-09-29 深圳市金立通信设备有限公司 A kind of speaker control method and intelligent terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116896713A (en) * 2023-09-04 2023-10-17 立臻精密智造(昆山)有限公司 Device and method for determining height of loudspeaker diaphragm
CN116896713B (en) * 2023-09-04 2023-12-05 立臻精密智造(昆山)有限公司 Device and method for determining height of loudspeaker diaphragm

Also Published As

Publication number Publication date
CN112511960B (en) 2022-05-27
CN112511960A (en) 2021-03-16

Similar Documents

Publication Publication Date Title
CN112511960B (en) Method and device for adjusting position of loudspeaker diaphragm and storage medium
CN108430003B (en) Sound effect compensation method and device, readable storage medium and terminal
CN108519871B (en) Audio signal processing method and related product
CN111385714B (en) Method for determining voice coil temperature of loudspeaker, electronic device and storage medium
CN108668009B (en) Input operation control method, device, terminal, earphone and readable storage medium
CN108646971B (en) Screen sounding control method and device and electronic device
CN108540900B (en) Volume adjusting method and related product
CN109032556B (en) Sound production control method, sound production control device, electronic device, and storage medium
CN110838748B (en) Electronic equipment and charging control system thereof
CN108289270B (en) Loudspeaker and mobile terminal
CN109905812B (en) Input power control method and device and terminal equipment
CN108562890B (en) Method and device for calibrating ultrasonic characteristic value and computer readable storage medium
WO2021104450A1 (en) Electronic device and volume adjustment method therefor
CN109739394B (en) SAR value processing method and mobile terminal
CN109788402B (en) Audio signal processing method and audio signal processing device
JP2023513286A (en) Circuit control device and method
JP2022549250A (en) Wireless capability identifier transmission method, terminal equipment and network node
CN110995909B (en) Sound compensation method and device
CN109062533B (en) Sound production control method, sound production control device, electronic device, and storage medium
CN108430004B (en) Loudspeaker amplitude adjusting device, adjusting method and mobile terminal
CN111541975B (en) Audio signal adjusting method and electronic equipment
CN110545340B (en) Vibration device of terminal equipment, control method and computer readable storage medium
CN110677770B (en) Sound production control method, electronic device, and medium
CN109451146B (en) Vibration processing method and terminal
CN109348366B (en) Method for adjusting volume by using electrical parameters and mobile terminal

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