CN110996220B - Electronic equipment and volume adjusting method thereof - Google Patents

Electronic equipment and volume adjusting method thereof Download PDF

Info

Publication number
CN110996220B
CN110996220B CN201911215097.7A CN201911215097A CN110996220B CN 110996220 B CN110996220 B CN 110996220B CN 201911215097 A CN201911215097 A CN 201911215097A CN 110996220 B CN110996220 B CN 110996220B
Authority
CN
China
Prior art keywords
ceramic
current
detection
ceramic loudspeaker
electronic device
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
CN201911215097.7A
Other languages
Chinese (zh)
Other versions
CN110996220A (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 CN201911215097.7A priority Critical patent/CN110996220B/en
Publication of CN110996220A publication Critical patent/CN110996220A/en
Priority to PCT/CN2020/133265 priority patent/WO2021110016A1/en
Application granted granted Critical
Publication of CN110996220B publication Critical patent/CN110996220B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups

Landscapes

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

Abstract

The invention discloses electronic equipment and a volume adjusting method thereof, which are used for solving the problem that the output volume of the ceramic loudspeaker exciter of the electronic equipment in the prior art is influenced when the exciter is damaged. The method comprises the following steps: acquiring current information of a plurality of ceramic loudspeaker exciters detected by the detection component; and controlling the multi-channel ceramic loudspeaker driving module based on the current information of the ceramic loudspeaker exciters detected by the detection component so as to adjust the volume of the electronic equipment.

Description

Electronic equipment and volume adjusting method thereof
Technical Field
The invention relates to the technical field of electronic equipment, in particular to electronic equipment and a volume adjusting method thereof.
Background
With the rapid development of electronic devices, in order to satisfy the hearing enjoyment of users, many electronic devices are provided with speakers to provide users with a function of playing audio. Most of the existing speakers of electronic devices are moving-coil speakers, and sound holes need to be designed on the electronic devices so as to ensure that the sound of the moving-coil speakers can be radiated. However, the design of the sound outlet hole not only affects the appearance of the electronic device, but also increases the risk of water entering the speaker, thereby increasing the risk of electrostatic damage to the speaker, and further seriously affecting the function of the speaker.
At present, piezoelectric ceramic speakers are also used as speakers of some electronic devices. In order to ensure the sound intensity output by the electronic equipment, the monolithic design area of the piezoelectric ceramic plate of the loudspeaker is often large. If the electronic equipment falls from a high place or is beaten, the piezoelectric ceramic piece of the electronic equipment is easy to damage, and the output volume of the electronic equipment is further influenced. In addition, the broken pieces of the piezoelectric ceramic piece can generate noise when the electronic equipment outputs volume, so that the hearing experience of a user is influenced.
Therefore, how to avoid the problem that the output volume of the electronic device is affected by the damage of the piezoelectric ceramic piece still needs a further solution.
Disclosure of Invention
The embodiment of the invention provides electronic equipment and a volume adjusting method thereof, and aims to solve the problem that the output volume of the electronic equipment is influenced when a ceramic loudspeaker exciter of the electronic equipment is damaged in the prior art.
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 electronic device, including a central processing unit, a multi-channel ceramic speaker driving module, a plurality of ceramic speaker drivers, a housing, and a detection assembly, where:
the ceramic loudspeaker drivers are arranged in the shell at intervals, each ceramic loudspeaker driver is connected with the shell, the ceramic loudspeaker drivers are connected in parallel, and the multichannel ceramic loudspeaker driving module is used for driving the ceramic loudspeaker drivers;
the detection assembly is respectively connected with the ceramic loudspeaker exciters and is used for acquiring current information of each ceramic loudspeaker exciter;
the multi-channel ceramic loudspeaker driving module is connected with the plurality of ceramic loudspeaker exciters and is used for driving each ceramic loudspeaker exciter;
the central processing unit is respectively connected with the detection assembly and the multichannel ceramic loudspeaker driving module, and the central processing unit controls the multichannel ceramic loudspeaker driving module based on the current information detected by the detection assembly so as to sound through one or more ceramic loudspeaker exciters.
In a second aspect, an embodiment of the present invention provides a volume adjustment method for an electronic device, where the method is applied to an electronic device, and the electronic device includes the electronic device of the first aspect, and includes:
acquiring current information of a plurality of ceramic loudspeaker exciters detected by the detection component;
and controlling the multi-channel ceramic loudspeaker driving module based on the current information of the ceramic loudspeaker exciters detected by the detection component so as to adjust the volume of the electronic equipment.
In a third aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes the electronic device of the first aspect, and includes:
an acquisition unit configured to acquire current information of the plurality of ceramic speaker drivers detected by the detection component;
and the control unit is used for controlling the multi-channel ceramic loudspeaker driving module based on the current information of the ceramic loudspeaker exciters detected by the detection component so as to adjust the volume of the electronic equipment.
In a fourth aspect, an embodiment of the present invention further provides an electronic device, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the volume adjustment method of an electronic device according to the second aspect.
In a fifth aspect, the embodiment of the present invention further provides a readable storage medium, where a computer program is stored on the readable storage medium, and when the computer program is executed by a processor, the computer program implements the steps of the volume adjustment method of the electronic device according to the second aspect.
The electronic equipment provided by the embodiment of the invention comprises a central processing unit, a multi-channel ceramic loudspeaker driving module, a plurality of ceramic loudspeaker exciters, a shell and a detection assembly, wherein the ceramic loudspeaker exciters are arranged in the shell at intervals; the detection assembly is respectively connected with the ceramic loudspeaker exciters and is used for acquiring current information of each ceramic loudspeaker exciter; the multi-channel ceramic loudspeaker driving module is connected with the plurality of ceramic loudspeaker exciters and is used for driving each ceramic loudspeaker exciter; the central processing unit is respectively connected with the detection assembly and the multi-channel ceramic loudspeaker driving module, and the central processing unit controls the multi-channel ceramic loudspeaker driving module based on current information detected by the detection assembly so as to sound through one or more ceramic loudspeaker exciters.
Therefore, when the electronic equipment is dropped or beaten from a high place and the like, so that one or more ceramic loudspeaker exciters in the electronic equipment are damaged, the detection assembly can detect the current change at two ends of the detection resistor caused by the damage of the ceramic exciters and can send the current change to the central processing unit, so that the central processing unit can adjust the volume of the electronic equipment by adjusting the output gain of the multi-channel ceramic loudspeaker driving module and the ceramic loudspeaker exciters driven by the multi-channel ceramic loudspeaker driving module according to the current change and the initial volume of the current electronic equipment. For example, the ceramic speaker driver corresponding to the detection resistor for stopping the driving current of the multi-channel ceramic speaker driving module from changing makes the sound output by the electronic device not affected by the damaged ceramic speaker driver, and increases the output gain of the electronic device to ensure that the volume of the electronic device does not change, thereby avoiding affecting the hearing experience of the user.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced 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 inventive labor.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a housing of an electronic device according to an embodiment of the present invention;
fig. 3 is a schematic flow chart illustrating an implementation of a volume adjustment method of an electronic device according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram illustrating a damaged ceramic speaker driver in an electronic device according to an embodiment of the present invention;
fig. 5 is a schematic flow chart illustrating a method for adjusting a volume of an electronic device according to an embodiment of the present invention applied to an actual scene;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a hardware structure of an electronic device 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 technical solutions provided by the embodiments of the present invention are described in detail below with reference to the accompanying drawings.
In order to solve the above problems in the prior art, the present invention provides an electronic device and a volume adjusting method thereof, wherein a detection assembly includes a plurality of detection resistors and a plurality of current detection modules, the plurality of detection resistors correspond to a plurality of ceramic speaker drivers one to one, and the detection assembly is connected to the plurality of ceramic speaker drivers respectively for obtaining current information of each ceramic speaker driver; the central processing unit is respectively connected with the detection assembly and the multi-channel ceramic loudspeaker driving module, and controls the multi-channel ceramic loudspeaker driving module based on the current information detected by the detection assembly.
The multi-channel ceramic loudspeaker driving module is connected with the central processing unit, the multi-channel ceramic loudspeaker driving module is used for sending currents of the plurality of detection resistors to the central processing unit, and the central processing unit is used for determining the target detection resistor with abnormal current from the plurality of detection resistors based on the currents of the plurality of detection resistors. Therefore, when the electronic equipment falls from a high place or is beaten, and the like, so that one or more ceramic loudspeaker exciters in the electronic equipment are damaged, the detection assembly can detect the current change at two ends of the detection resistor caused by the damage of the ceramic loudspeaker exciters and can send the current change to the central processing unit.
The central processing unit can adjust the volume of the electronic equipment by adjusting the output gain of the multi-channel ceramic loudspeaker driving module and the ceramic loudspeaker exciter driven by the multi-channel ceramic loudspeaker driving module according to the current change and the current initial volume of the electronic equipment. For example, the ceramic speaker driver corresponding to the detection resistor for stopping the driving current of the multi-channel ceramic speaker driving module from changing makes the sound output by the electronic device not affected by the damaged ceramic speaker driver, and increases the output gain of the electronic device to ensure that the volume of the electronic device does not change, thereby avoiding affecting the hearing experience of the user.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. Taking as an example an electronic device comprising 4 ceramic loudspeaker drivers, the electronic device comprises a central processor 105, a multi-channel ceramic loudspeaker drive module 103, a plurality of ceramic loudspeaker drivers 107, a housing 201 and a detection assembly 106, wherein:
a plurality of ceramic loudspeaker drivers 107 are arranged in the shell 201 at intervals, each ceramic loudspeaker driver 107 is connected with the shell 201, the ceramic loudspeaker drivers 107 are connected in parallel, and the multi-channel ceramic loudspeaker driving module 103 is used for driving the ceramic loudspeaker drivers 107;
the detection component 106 is respectively connected with a plurality of ceramic loudspeaker drivers 107 and is used for acquiring current information of each ceramic loudspeaker driver 107;
the multi-channel ceramic speaker driver module 103 is connected to a plurality of ceramic speaker drivers 107 and is configured to drive each ceramic speaker driver 107;
the central processing unit 105 is respectively connected with the detection component 106 and the multi-channel ceramic speaker driving module 103, and the central processing unit 105 controls the multi-channel ceramic speaker driving module 103 to generate sound through one or more of the plurality of ceramic speaker drivers 103 based on the current information detected by the detection component 106.
In addition, the detection component 106 includes a plurality of detection resistors 1062 and a plurality of current detection modules 1061, the plurality of detection resistors 1062 correspond to the plurality of ceramic speaker drivers 107 one by one, the plurality of current detection modules 1061 correspond to the plurality of detection resistors 1062 one by one, each detection resistor 1062 is connected in series between the multi-channel ceramic speaker driver module 103 and the corresponding ceramic speaker driver 107, each current detection module 1061 is connected to the corresponding detection resistor 1062 to obtain a current on the detection resistor 1062, and each current detection module 1061 is connected to the central processing unit 105.
Specifically, the cpu 105 determines an abnormal target detection resistance from the plurality of detection resistances 1062 according to the currents detected by the plurality of current detection modules 1061, and the multi-channel ceramic speaker driver module 103 adjusts the plurality of ceramic speaker drivers 107 to emit sound based on the target detection resistance.
Specifically, as shown in fig. 2, a schematic view of a housing structure of the electronic device according to the embodiment of the present invention is provided. In order to determine and count which ceramic speaker drivers 107 are damaged when the electronic device falls from a high place or is hit, so as to adjust the volume of the electronic device, in the embodiment of the present invention, a plurality of detection resistors 1062 are disposed between the ceramic speaker drivers 107 and the multi-channel ceramic speaker driving module 103, and the number of the ceramic speaker drivers 107, the number of the current detection modules 1061 and the number of the detection resistors 106 are in one-to-one correspondence. That is, each ceramic speaker driver 107 is connected to one sensing resistor 1062, and each sensing resistor is connected to each current sensing module 1061, so that the current flowing through each sensing resistor 1062 is sensed by the current sensing module 1061.
Also, in order to avoid noise generated by broken pieces of the ceramic speaker drivers 107 when the electronic device outputs sound, the plurality of ceramic speaker drivers 107 may be attached to the housing 201 by the adhesive 202. Thus, even if one or more of the plurality of ceramic speaker drivers 107 are damaged, the damaged pieces thereof are stuck to the housing 201 without generating noise due to collision with each other.
In order to facilitate the current detection module 1061 in the multi-channel detection assembly 106 to detect the detection resistor 1062 with abnormal current in time, the current detection module 1061 in the embodiment of the invention may detect the current of the detection resistor 1062 at intervals of a preset time period, where the preset time period may be a short time period, such as 2 milliseconds or 3 milliseconds. The current detection module 1061 may be connected to the detection resistor 1062 through the connector/spring 104, wherein the connector/spring 104 has advantages of improving the production process, facilitating maintenance, facilitating upgrade, and improving design flexibility, and may be used to transmit the driving signal output by the multi-channel ceramic speaker driving module 103 to the ceramic speaker driver 107, and transmit the current flowing through the detection resistor 1062 to the current detection module 1061.
It should be appreciated that the central processor 105 may be coupled to the multi-channel ceramic speaker driver module 103 in order to be able to determine in time whether the ceramic speaker driver 107 is damaged and to accurately determine which one or ones of the plurality of ceramic speaker drivers 107 are damaged and to control the multi-channel ceramic speaker driver module 103 to adjust the volume of the electronic device.
Specifically, after the plurality of current detection modules 1061 send the detected currents of the plurality of detection resistors 1062 to the central processor 105, the central processor 105 may determine whether any ceramic speaker driver 107 of the plurality of ceramic speaker drivers 107 is damaged based on the currents and the reference current, and may determine which ceramic speaker drivers 107 are damaged and the number of damaged ceramic speaker drivers based on the identification corresponding to each current.
It should be appreciated that in order for the central processor 105 to determine which ceramic speaker drivers from the plurality of ceramic speaker drivers 107 are damaged, the current sent by the multi-channel ceramic speaker driver module 103 to the central processor 105 may also carry an identification of the corresponding ceramic speaker driver 107, and the central processor 105 may have stored the correspondence of these identifications to the ceramic speaker drivers 107. For example, if ceramic speaker driver 1071 is labeled 01 and ceramic speaker driver 1072 is labeled 10, then the current of the sense resistor in series with ceramic speaker driver 1071 may carry label 01, the current of the sense resistor in series with ceramic speaker driver 1072 may carry label 10, and so on.
Specifically, the audio processor module 101 can output audio signals, and the audio bus 102 can transfer the audio signals output by the audio processor module 101 to the multi-channel ceramic speaker driver module 103. Multichannel ceramic loudspeaker drive module 103 can drive a plurality of ceramic loudspeaker exciters 107, and multichannel ceramic loudspeaker drive module 103 output voltage signal along with the sound signal changes promptly for a plurality of ceramic loudspeaker exciters 107 take place deformation along with the voltage, promote casing 201 vibrating diaphragm vibration, and then promote the air vibration, produce sound. The specific driving of which of the plurality of ceramic speaker drivers 107 is driven by the multi-channel ceramic speaker driver module 103 may be determined by receiving instructions from the central processor 105.
Since the current of the detection resistor 1062 is identical to the current value flowing through the corresponding ceramic speaker actuator 107, whether the ceramic speaker actuator 107 corresponding to the detection resistor 1062 is damaged or not may be determined by the current detection module 1061 detecting the current of the detection resistor 1062.
Further, a signal line connecting the plurality of detection resistors 1062 and the current detection module 1061 can transmit the current of the plurality of detection resistors 1062 to the current detection module 1061. The signal lines connecting the multi-channel ceramic speaker driver module 103 and the plurality of ceramic speaker drivers 107 can transmit the voltage signal, which is transmitted from the multi-channel ceramic speaker driver module 103 and varies with the sound signal, to the plurality of ceramic speaker drivers 107.
The electronic equipment provided by the embodiment of the invention comprises a central processing unit, a multi-channel ceramic loudspeaker driving module, a plurality of ceramic loudspeaker exciters, a shell and a detection assembly, wherein the ceramic loudspeaker exciters are arranged in the shell at intervals; the detection assembly is respectively connected with the ceramic loudspeaker exciters and is used for acquiring current information of each ceramic loudspeaker exciter; the multi-channel ceramic loudspeaker driving module is connected with the plurality of ceramic loudspeaker exciters and is used for driving each ceramic loudspeaker exciter; the central processing unit is respectively connected with the detection assembly and the multi-channel ceramic loudspeaker driving module, and the central processing unit controls the multi-channel ceramic loudspeaker driving module based on current information detected by the detection assembly so as to sound through one or more ceramic loudspeaker exciters.
Therefore, when the electronic equipment is dropped or beaten from a high place and the like, so that one or more ceramic loudspeaker exciters in the electronic equipment are damaged, the detection assembly can detect the current change at two ends of the detection resistor caused by the damage of the ceramic exciters and can send the current change to the central processing unit, so that the central processing unit can adjust the volume of the electronic equipment by adjusting the output gain of the multi-channel ceramic loudspeaker driving module and the ceramic loudspeaker exciters driven by the multi-channel ceramic loudspeaker driving module according to the current change and the initial volume of the current electronic equipment. For example, the ceramic speaker driver corresponding to the detection resistor for stopping the driving current of the multi-channel ceramic speaker driving module from changing makes the sound output by the electronic device not affected by the damaged ceramic speaker driver, and increases the output gain of the electronic device to ensure that the volume of the electronic device does not change, thereby avoiding affecting the hearing experience of the user.
In order to solve the above problems in the prior art, the present invention provides an electronic device and a volume adjustment method thereof, where an execution subject of the method, which may be but is not limited to a mobile phone, a tablet computer, a wearable device, and the like, can be configured to execute at least one of the user terminals of the method provided by the embodiments of the present invention.
For convenience of description, the following description will be made on embodiments of the method, taking an execution subject of the method as an example of an electronic device capable of executing the method. It is to be understood that the implementation of the method as an electronic device is merely an exemplary illustration and should not be construed as a limitation of the method.
The technical scheme provided by the format example of the invention is explained in detail below with reference to the accompanying drawings.
As shown in fig. 3, a schematic diagram of a specific implementation flow of a volume adjustment method for an electronic device according to an embodiment of the present invention is applied to an electronic device, where the electronic device includes the electronic device described above.
The following describes in detail an implementation process of the method with reference to a schematic flow chart of a specific implementation of the volume adjustment method of the electronic device shown in fig. 3, and includes:
step 301, obtaining current information of a plurality of ceramic loudspeaker exciters detected by a detection assembly;
alternatively, in order to facilitate the cpu to determine the target detection resistor with abnormal current, when the electronic device is manufactured, the manufacturer may use the minimum current flowing through the detection resistor corresponding to the ceramic speaker actuator during normal operation as the reference current, and store the reference current in the cpu, so that the cpu determines the target detection resistor with abnormal current from the plurality of detection resistors based on the reference current.
If the manufacturer does not give an initial value to the reference current, when the user starts the electronic device for the first time, the multi-channel ceramic speaker driving module may obtain all currents flowing through the plurality of detection resistors corresponding to the plurality of ceramic speaker drivers when the plurality of ceramic speaker drivers are not damaged, and send the currents to the central processing unit, so that the central processing unit obtains the minimum current from the currents and stores the minimum current as the reference current, so that the central processing unit determines the target detection resistor with abnormal current from the plurality of detection resistors based on the reference current.
When the electronic equipment works, the detection assembly can detect the voltage at two ends of the detection resistor through the current detection module and detect the voltage according to a formula
Figure BDA0002299289480000091
The current flowing through the detection resistor is calculated.
Wherein n represents the detection resistance corresponding to the driver of the ceramic loudspeaker, V1、V2Respectively, the voltage across the sense resistor, RsenseIs the known resistance value of the sense resistor.
Optionally, in order to monitor whether a ceramic speaker driver in the electronic device is damaged in real time and adjust the volume of the electronic device to prevent noise emitted by the damaged ceramic speaker driver from affecting the hearing experience of a user, an embodiment of the present invention may determine a target detection resistor with abnormal current in the electronic device and a ceramic speaker driver corresponding to the target detection resistor based on the current value of the detection resistor and the reference current thereof. That is, by comparing the current of the sense resistor with the reference current, it is possible to determine which ceramic speaker actuator is damaged.
Specifically, when the detection assembly includes a plurality of detection resistors and a plurality of current detection modules, the plurality of detection resistors correspond to the plurality of ceramic speaker drivers one by one, acquiring current information of the plurality of ceramic speaker drivers detected by the detection assembly, including:
detecting the current of a plurality of detection resistors through a plurality of current detection modules;
and acquiring current information of the plurality of ceramic loudspeaker exciters detected by the detection component based on the currents of the plurality of detection resistors.
Alternatively, to be able to determine a damaged ceramic loudspeaker actuator, a target detection resistance for the current anomaly may be determined first. Specifically, the method for controlling a multi-channel ceramic speaker driving module to adjust the volume of an electronic device based on the current information of a plurality of ceramic speaker drivers detected by a detection component comprises the following steps:
determining a target detection resistance with abnormal current from a plurality of detection resistances;
and controlling the ceramic loudspeaker exciter corresponding to the target detection resistor to adjust the volume of the electronic equipment.
Alternatively, in order to be able to determine a detection resistance with an abnormal current from among a plurality of detection resistances, the current of the detection resistance may be compared with a reference current. Specifically, in an embodiment of the present invention, determining a target detection resistance of a current abnormality from a plurality of detection resistances includes:
sending currents of a plurality of detection resistors to a central processing unit through a multi-channel ceramic loudspeaker driving module;
a target detection resistor with abnormal current is determined from the plurality of detection resistors by the CPU based on the currents of the plurality of detection resistors and the reference current.
Optionally, when the central processing unit receives the currents of the plurality of detection resistors sent by the multi-channel ceramic speaker driving module, in order to further determine the damaged ceramic speaker driver, the central processing unit may first calculate a plurality of current differences between the currents of the plurality of detection resistors and the reference current, and determine which ceramic speaker drivers are damaged based on a preset threshold and a corresponding relationship between the plurality of detection resistors and the plurality of ceramic speaker drivers.
In order to avoid that errors of components in the electronic equipment influence a determination result of a central processing unit, the embodiment of the invention can limit the resistance difference between the components to be +/-1%, control the accuracy of normal detection of resistance incoming materials to be within +/-5% and control the accuracy of a current detection module to be +/-1%.
Fig. 4 is a schematic structural diagram of a damaged ceramic speaker driver in an electronic device according to an embodiment of the present invention. Wherein, because the damage of this pottery speaker driver leads to the area that the electric current can flow through this pottery speaker driver to diminish, resistance value grow promptly, and then make the electric current that flows through this pottery speaker driver diminish, and because the audio signal that each pottery speaker driver received is unanimous, then central processing unit can be through judging that the audio signal that this pottery speaker driver received is unanimous
Figure BDA0002299289480000111
And judging whether the current of the detection resistor is abnormal or not according to whether the current is larger than a preset threshold value, namely 0.12 or not.
Wherein, InormalFor detecting reference current of resistor, InFor the detected current of the sense resistor, n indicates that the sense resistor corresponds to the fourth ceramic loudspeaker driver. If it is
Figure BDA0002299289480000112
If the value of (2) is greater than 0.12, the current abnormality of the corresponding detection resistor can be judged, and the detection resistor can be determined as the target detection resistor; if it is
Figure BDA0002299289480000113
And if the current is less than or equal to 0.12, the current of the corresponding detection resistor can be judged to be normal.
Specifically, the method for determining a target detection resistor with abnormal current from a plurality of detection resistors by a central processing unit based on the currents of the plurality of detection resistors and a reference current comprises the following steps:
respectively determining a plurality of current differences between the currents of the plurality of detection resistors and the reference current through a central processing unit;
and determining a target detection resistor with abnormal current from the plurality of detection resistors by the central processing unit based on the plurality of current differences, the reference current and a preset threshold value.
Specifically, first, since the central processing unit needs to constantly determine whether the ceramic speaker driver is damaged in a short period of time, the central processing unit may reserve a process for processing the task of adjusting the volume of the electronic device in the embodiment of the present invention, and then the central processing unit may process the task of adjusting the volume of the electronic device through the reserved process without suspending any task in the process after receiving the currents of the plurality of detection resistors.
Then, the central processing unit can obtain the reference current of the detection resistor and determine the current difference between the detected current of the detection resistor and the reference current; and then determining the target detection resistor with abnormal current based on the current difference, the reference current and a preset threshold value, and counting the total number of the target detection resistors.
Finally, the central processing unit may determine the ceramic speaker exciter corresponding to the target detection resistor, i.e., the damaged ceramic speaker exciter, according to the correspondence between the plurality of detection resistors and the plurality of ceramic speaker exciters, so as to implement the task of adjusting the volume of the electronic device in the embodiment of the present invention.
Step 302, controlling a multi-channel ceramic loudspeaker driving module based on the current information of the ceramic loudspeaker exciters detected by the detection component so as to adjust the volume of the electronic equipment;
optionally, in order to avoid that when one or more ceramic speaker drivers in the electronic device are damaged, the auditory experience of a user is affected, in the embodiment of the present invention, the target detection resistors with abnormal current are determined by the central processing unit, and the number of the target detection resistors is counted, and then based on the target detection resistors, the number of the target detection resistors, and the initial output gain of the electronic device, the output gain of the multi-channel ceramic speaker driving module is adjusted, and the multi-channel ceramic speaker driving module is controlled to stop driving the ceramic speaker driver corresponding to the target detection resistor, so as to ensure that the volume of the electronic device remains unchanged.
Specifically, adjusting the volume of the electronic device based on the ceramic speaker exciter corresponding to the target detection resistor comprises:
determining the number of ceramic loudspeaker exciters corresponding to the target detection resistor;
acquiring initial output gain of a multi-channel ceramic loudspeaker driving module;
and adjusting the volume of the electronic equipment based on the number of the ceramic loudspeaker actuators corresponding to the initial output gain and the target detection resistance, and enabling the multi-channel ceramic loudspeaker driving module to stop driving the ceramic loudspeaker actuators corresponding to the target detection resistance.
Assuming that the number of target detection resistors, i.e., the number of broken ceramic speaker drivers is d, the total number of ceramic speaker drivers of the electronic device is n, and the initial output gain of the electronic device is a0Then the cpu can adjust the output gain a of the electronic device to a ═ a0*n/d。
For example, if the total number of ceramic actuators of the electronic device is 4 and the number of target detection resistors, that is, the number of broken ceramic speaker actuators is 2, the cpu may adjust the output gain a of the electronic device to a ═ a04/2, so as to increase the volume of the electronic device, thereby maintaining the overall volume of the electronic device unchanged.
In addition, the central processing unit can also control the multi-channel ceramic loudspeaker driving module to stop driving the damaged ceramic loudspeaker exciter corresponding to the target detection resistor, so that the situation that the fragments of the damaged ceramic loudspeaker exciter generate noise due to vibration and influence the hearing experience of a user is avoided.
The following describes in detail a volume adjustment method of an electronic device according to an embodiment of the present invention with reference to fig. 1 and 5, including:
s51, the electronic equipment is dropped or beaten, and the ceramic loudspeaker exciter in the electronic equipment can be damaged;
s52, the current detection module in the detection assembly detects the currents { I1, I2, I3, I4} of the detection resistors and sends the currents { I1, I2, I3, I4} of the detection resistors to the central processing unit;
s53, the CPU obtains the reference current I of multiple detection resistorsnormal
S54, the CPU calculates a plurality of current differences between the detected currents of the plurality of detection resistors and the reference current, i.e. calculates Inormal-InWherein n ∈ [1,4 ]];
S55, CPU judges one by one (I)normal-In)/InormalWhether it is greater than 0.12, to determine the detection resistance of the current abnormality, if (I)normal-In)/InormalIf > 0.12, determining InCurrent abnormality of the corresponding detection resistor;
s56, if there is no current abnormal detection resistance, the normal output of the electronic device is ensured, i.e. no adjustment is made;
s57, the central processing unit determines that (I) is satisfiednormal-In)/InormalThe ceramic loudspeaker exciters corresponding to the target detection resistor are larger than 0.12, and the number d of the ceramic loudspeaker exciters corresponding to the target detection resistor is counted;
s58, the CPU obtains the initial output gain A of the electronic device0
S59, the cpu adjusts the output gain of the electronic device to a ═ a0And n/d, and controlling the multi-channel ceramic loudspeaker driving module to stop driving the ceramic loudspeaker exciter corresponding to the target detection resistor.
The electronic equipment in the volume adjusting method of the electronic equipment comprises a central processing unit, a multi-channel ceramic loudspeaker driving module, a plurality of ceramic loudspeaker exciters, a shell and a detection assembly, wherein the ceramic loudspeaker exciters are arranged in the shell at intervals, each ceramic loudspeaker exciter is connected with the shell, the ceramic loudspeaker exciters are connected in parallel, and the multi-channel ceramic loudspeaker driving module is used for driving the ceramic loudspeaker exciters; the detection assembly is respectively connected with the ceramic loudspeaker exciters and is used for acquiring current information of each ceramic loudspeaker exciter; the multi-channel ceramic loudspeaker driving module is connected with the plurality of ceramic loudspeaker exciters and is used for driving each ceramic loudspeaker exciter; the central processing unit is respectively connected with the detection assembly and the multi-channel ceramic loudspeaker driving module, and the central processing unit controls the multi-channel ceramic loudspeaker driving module based on current information detected by the detection assembly so as to sound through one or more ceramic loudspeaker exciters.
Therefore, when the electronic equipment is dropped or beaten from a high place and the like, so that one or more ceramic loudspeaker exciters in the electronic equipment are damaged, the detection assembly can detect the current change at two ends of the detection resistor caused by the damage of the ceramic exciters and can send the current change to the central processing unit, so that the central processing unit can adjust the volume of the electronic equipment by adjusting the output gain of the multi-channel ceramic loudspeaker driving module and the ceramic loudspeaker exciters driven by the multi-channel ceramic loudspeaker driving module according to the current change and the initial volume of the current electronic equipment. For example, the ceramic speaker driver corresponding to the detection resistor for stopping the driving current of the multi-channel ceramic speaker driving module from changing makes the sound output by the electronic device not affected by the damaged ceramic speaker driver, and increases the output gain of the electronic device to ensure that the volume of the electronic device does not change, thereby avoiding affecting the hearing experience of the user.
An embodiment of the present invention further provides an electronic device 600, as shown in fig. 6, including:
an acquiring unit 601 configured to acquire current information of the plurality of ceramic speaker drivers detected by the detecting unit;
a control unit 602, configured to control the multi-channel ceramic speaker driving module to adjust a volume of the electronic device based on the current information of the ceramic speaker drivers detected by the detection component.
Optionally, in an embodiment, when the detection assembly includes a plurality of detection resistors and a plurality of current detection modules, and a plurality of detection resistors correspond to a plurality of ceramic speaker drivers, the obtaining unit 601 is configured to:
detecting the current of a plurality of detection resistors by a plurality of current detection modules;
and acquiring current information of a plurality of ceramic loudspeaker exciters detected by the detection component based on the currents of a plurality of detection resistors.
Optionally, in an embodiment, the control unit 602 is configured to:
determining a target detection resistance of current abnormality from a plurality of the detection resistances;
and controlling the ceramic loudspeaker exciter corresponding to the target detection resistor, and adjusting the volume of the electronic equipment.
Optionally, in an embodiment, the control unit 602 is further configured to:
sending the currents of the detection resistors to the central processing unit through the multi-channel ceramic loudspeaker driving module;
determining, by the cpu, a target detection resistance of current abnormality from among the plurality of detection resistances based on the currents of the plurality of detection resistances and a reference current.
Optionally, in an embodiment, the control unit 602 is further configured to:
determining, by the central processing unit, a plurality of current differences of currents of the plurality of detection resistors and the reference current, respectively;
and determining, by the central processing unit, a target detection resistance with abnormal current from the plurality of detection resistances based on the plurality of current differences, the reference current and a preset threshold.
Optionally, in an embodiment, the control unit 602 is further configured to:
determining the number of ceramic loudspeaker exciters corresponding to the target detection resistor;
acquiring initial output gain of the multi-channel ceramic loudspeaker driving module;
and adjusting the volume of the electronic equipment based on the initial output gain and the number of the ceramic loudspeaker actuators corresponding to the target detection resistor, and enabling the multi-channel ceramic loudspeaker driving module to stop driving the ceramic loudspeaker actuators corresponding to the target detection resistor.
Optionally, in an embodiment, the control unit 602 is further configured to:
determining, by the central processing unit, an amplification factor for the initial output gain based on the number of ceramic speaker drivers corresponding to the target detection resistance and the number of the plurality of ceramic speaker drivers;
adjusting the volume of the electronic device based on the amplification factor and the initial output gain.
The electronic device 600 can implement the method of the embodiment of the method shown in fig. 1 to 5, and specifically refer to the method for adjusting the volume of the electronic device shown in the embodiment shown in fig. 1 to 5, which is not described again.
Figure 7 is a schematic diagram of a hardware configuration of an electronic device implementing various embodiments of the invention,
the electronic device 700 includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, a processor 710, a power supply 711, and the like. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 7 does not constitute a limitation of the electronic device, and that the electronic device 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 electronic device 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 processor 710 is configured to obtain current information of the plurality of ceramic speaker drivers detected by the detection component; then, based on the current information of the plurality of ceramic speaker drivers detected by the detection component, the multi-channel ceramic speaker driving module is controlled to adjust the volume of the electronic device.
The electronic equipment provided by the embodiment of the invention comprises a central processing unit, a multi-channel ceramic loudspeaker driving module, a plurality of ceramic loudspeaker exciters, a shell and a detection assembly, wherein the ceramic loudspeaker exciters are arranged in the shell at intervals; the detection assembly is respectively connected with the ceramic loudspeaker exciters and is used for acquiring current information of each ceramic loudspeaker exciter; the multi-channel ceramic loudspeaker driving module is connected with the plurality of ceramic loudspeaker exciters and is used for driving each ceramic loudspeaker exciter; the central processing unit is respectively connected with the detection assembly and the multi-channel ceramic loudspeaker driving module, and the central processing unit controls the multi-channel ceramic loudspeaker driving module based on current information detected by the detection assembly so as to sound through one or more ceramic loudspeaker exciters.
Therefore, when the electronic equipment is dropped or beaten from a high place and the like, so that one or more ceramic loudspeaker exciters in the electronic equipment are damaged, the detection assembly can detect the current change at two ends of the detection resistor caused by the damage of the ceramic exciters and can send the current change to the central processing unit, so that the central processing unit can adjust the volume of the electronic equipment by adjusting the output gain of the multi-channel ceramic loudspeaker driving module and the ceramic loudspeaker exciters driven by the multi-channel ceramic loudspeaker driving module according to the current change and the initial volume of the current electronic equipment. For example, the ceramic speaker driver corresponding to the detection resistor for stopping the driving current of the multi-channel ceramic speaker driving module from changing makes the sound output by the electronic device not affected by the damaged ceramic speaker driver, and increases the output gain of the electronic device to ensure that the volume of the electronic device does not change, thereby avoiding affecting the hearing experience of the user.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 701 may be used for receiving and sending signals during a message transmission and reception process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 710; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 701 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 701 may also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 702, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 703 may convert audio data received by the radio frequency unit 701 or the network module 702 or stored in the memory 709 into an audio signal and output as sound. Also, the audio output unit 703 may also provide audio output related to a specific function performed by the electronic apparatus 700 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 703 includes a speaker, a buzzer, a receiver, and the like.
The input unit 704 is used to receive audio or video signals. The input Unit 704 may include a Graphics Processing Unit (GPU) 7041 and a microphone 7042, and the Graphics processor 7041 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 706. The image frames processed by the graphic processor 7041 may be stored in the memory 709 (or other storage medium) or transmitted via the radio unit 701 or the network module 702. The microphone 7042 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 701 in case of a phone call mode.
The electronic device 700 also includes at least one sensor 705, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 7061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 7061 and/or a backlight when the electronic device 700 is moved to the ear. As one type of motion sensor, an 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 an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 705 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 706 is used to display information input by the user or information provided to the user. The Display unit 706 may include a Display panel 7061, and the Display panel 7061 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 707 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 7071 (e.g., operations by a user on or near the touch panel 7071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 7071 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 710, receives a command from the processor 710, and executes the command. In addition, the touch panel 7071 can be implemented by various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 707 may include other input devices 7072 in addition to the touch panel 7071. In particular, the other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 7071 may be overlaid on the display panel 7061, and when the touch panel 7071 detects a touch operation on or near the touch panel 7071, the touch operation is transmitted to the processor 710 to determine the type of the touch event, and then the processor 710 provides a corresponding visual output on the display panel 7061 according to the type of the touch event. Although the touch panel 7071 and the display panel 7061 are shown in fig. 7 as two separate components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 7071 and the display panel 7061 may be integrated to implement the input and output functions of the electronic device, which is not limited herein.
The interface unit 708 is an interface for connecting an external device to the electronic apparatus 700. 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 708 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 700 or may be used to transmit data between the electronic apparatus 700 and the external device.
The memory 709 may be used to store software programs as well as various data. The memory 709 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 709 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 710 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 709 and calling data stored in the memory 709, thereby monitoring the whole electronic device. Processor 710 may include one or more processing units; preferably, the processor 710 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 710.
The electronic device 700 may also include a power supply 711 (e.g., a battery) for providing power to the various components, and preferably, the power supply 711 may be logically coupled to the processor 710 via a power management system, such that functions of managing charging, discharging, and power consumption may be performed via the power management system.
In addition, the electronic device 700 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 710, a memory 709, and a computer program stored in the memory 709 and capable of running on the processor 710, where the computer program is executed by the processor 710 to implement each process of the embodiment of the volume adjustment method for an electronic device, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here.
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 embodiment of the volume adjustment method for an electronic device, and can achieve the same technical effect, and in order to avoid repetition, the detailed description is omitted 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 (10)

1. An electronic device comprising a central processing unit, a multi-channel ceramic speaker driver module, a plurality of ceramic speaker drivers, a housing, and a detection assembly, wherein:
the ceramic loudspeaker drivers are arranged in the shell at intervals, each ceramic loudspeaker driver is connected with the shell, the ceramic loudspeaker drivers are connected in parallel, and the multichannel ceramic loudspeaker driving module is used for driving the ceramic loudspeaker drivers;
the detection assembly is respectively connected with the ceramic loudspeaker exciters and is used for acquiring current information of each ceramic loudspeaker exciter;
the multi-channel ceramic loudspeaker driving module is connected with the plurality of ceramic loudspeaker exciters and is used for driving each ceramic loudspeaker exciter;
the central processing unit is respectively connected with the detection assembly and the multi-channel ceramic loudspeaker driving module, and controls the multi-channel ceramic loudspeaker driving module based on the current information detected by the detection assembly so as to sound through one or more ceramic loudspeaker exciters;
the detection component is used for acquiring the current change of the damaged ceramic loudspeaker exciter when the ceramic loudspeaker exciter in the ceramic loudspeaker exciters is damaged, so that the central processing unit adjusts the volume of the electronic equipment based on the current change of the damaged ceramic loudspeaker exciter and the initial volume of the electronic equipment.
2. The electronic device according to claim 1, wherein the detecting assembly comprises a plurality of detecting resistors and a plurality of current detecting modules, the plurality of detecting resistors correspond to the plurality of ceramic speaker drivers one to one, the plurality of current detecting modules correspond to the plurality of detecting resistors one to one, each detecting resistor is connected in series between the multi-channel ceramic speaker driving module and the corresponding ceramic speaker driver, each current detecting module is connected to the corresponding detecting resistor to obtain a current on the detecting resistor, and each current detecting module is connected to the central processing unit.
3. The electronic device of claim 2, wherein said cpu determines an abnormal target detection resistance from a plurality of said detection resistances according to the currents detected by a plurality of said current detection modules, and said multi-channel ceramic speaker driver module adjusts the sound emission of a plurality of said ceramic speaker drivers based on said target detection resistance.
4. A volume adjustment method of an electronic device, the method being applied to the electronic device according to any one of claims 1-3, the method comprising:
acquiring current information of a plurality of ceramic loudspeaker exciters detected by the detection component;
and controlling the multi-channel ceramic loudspeaker driving module based on the current information of the ceramic loudspeaker exciters detected by the detection component so as to adjust the volume of the electronic equipment.
5. The method of claim 4, wherein when the sensing assembly comprises a plurality of sensing resistors and a plurality of current sensing modules, the plurality of sensing resistors corresponding to a plurality of ceramic speaker drivers, the obtaining current information of the plurality of ceramic speaker drivers sensed by the sensing assembly comprises:
detecting the current of a plurality of detection resistors by a plurality of current detection modules;
and acquiring current information of a plurality of ceramic loudspeaker exciters detected by the detection component based on the currents of a plurality of detection resistors.
6. The method of claim 5, the controlling the multi-channel ceramic speaker driver module to adjust the volume of the electronic device based on the current information of the plurality of ceramic speaker drivers detected by the detection component, comprising:
determining a target detection resistance of current abnormality from a plurality of the detection resistances;
and controlling the ceramic loudspeaker exciter corresponding to the target detection resistor, and adjusting the volume of the electronic equipment.
7. The method of claim 6, wherein said determining a target sense resistor of current anomalies from a plurality of said sense resistors comprises:
sending the currents of the detection resistors to the central processing unit through the multi-channel ceramic loudspeaker driving module;
determining, by the cpu, a target detection resistance of current abnormality from among the plurality of detection resistances based on the currents of the plurality of detection resistances and a reference current.
8. The method of claim 7, wherein determining, by the central processor, a target sense resistor of current anomalies from the plurality of sense resistors based on the currents of the plurality of sense resistors and a reference current comprises:
determining, by the central processing unit, a plurality of current differences of currents of the plurality of detection resistors and the reference current, respectively;
and determining, by the central processing unit, a target detection resistance with abnormal current from the plurality of detection resistances based on the plurality of current differences, the reference current and a preset threshold.
9. The method of any one of claims 6-8, wherein adjusting the volume of the electronic device based on the ceramic speaker driver corresponding to the target detection resistor comprises:
determining the number of ceramic loudspeaker exciters corresponding to the target detection resistor;
acquiring initial output gain of the multi-channel ceramic loudspeaker driving module;
and adjusting the volume of the electronic equipment based on the initial output gain and the number of the ceramic loudspeaker actuators corresponding to the target detection resistor, and enabling the multi-channel ceramic loudspeaker driving module to stop driving the ceramic loudspeaker actuators corresponding to the target detection resistor.
10. The method of claim 9, wherein adjusting the volume of the electronic device based on the number of ceramic speaker drivers for which the initial output gain corresponds to the target detection resistance comprises:
determining, by the central processing unit, an amplification factor for the initial output gain based on the number of ceramic speaker drivers corresponding to the target detection resistance and the number of the plurality of ceramic speaker drivers;
adjusting the volume of the electronic device based on the amplification factor and the initial output gain.
CN201911215097.7A 2019-12-02 2019-12-02 Electronic equipment and volume adjusting method thereof Active CN110996220B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201911215097.7A CN110996220B (en) 2019-12-02 2019-12-02 Electronic equipment and volume adjusting method thereof
PCT/CN2020/133265 WO2021110016A1 (en) 2019-12-02 2020-12-02 Electronic device and sound volume adjustment method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911215097.7A CN110996220B (en) 2019-12-02 2019-12-02 Electronic equipment and volume adjusting method thereof

Publications (2)

Publication Number Publication Date
CN110996220A CN110996220A (en) 2020-04-10
CN110996220B true CN110996220B (en) 2021-03-23

Family

ID=70089289

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911215097.7A Active CN110996220B (en) 2019-12-02 2019-12-02 Electronic equipment and volume adjusting method thereof

Country Status (2)

Country Link
CN (1) CN110996220B (en)
WO (1) WO2021110016A1 (en)

Families Citing this family (1)

* 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

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102892058A (en) * 2011-07-18 2013-01-23 中兴通讯股份有限公司 Method and device for automatically regulating volume
CN104469620A (en) * 2014-11-24 2015-03-25 青岛歌尔声学科技有限公司 Acoustical product with audio output power adjustable within large range
CN104837102A (en) * 2014-02-11 2015-08-12 联发科技股份有限公司 Method and electronic device for headphone speaker impedance detection
CN107734427A (en) * 2017-09-13 2018-02-23 广州市迪士普信息科技有限公司 A kind of guard method and device according to voice coil loudspeaker voice coil temperature rise adjust automatically speaker volume
CN109086024A (en) * 2018-07-09 2018-12-25 Oppo广东移动通信有限公司 Screen vocal technique, device, electronic device and storage medium
CN109270352A (en) * 2018-08-23 2019-01-25 维沃移动通信有限公司 A kind of amplitude adjusting method and sounding device
CN109600463A (en) * 2018-11-23 2019-04-09 维沃移动通信有限公司 A kind of mobile terminal
CN109819118A (en) * 2019-03-29 2019-05-28 维沃移动通信有限公司 A kind of volume adjusting method and mobile terminal
CN110312032A (en) * 2019-06-17 2019-10-08 Oppo广东移动通信有限公司 Audio frequency playing method and Related product

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004260281A (en) * 2003-02-24 2004-09-16 Alps Electric Co Ltd Audio control system, audio controller, electronic apparatus, and audio control method
SE531023C2 (en) * 2007-02-08 2008-11-18 Paer Gunnars Risberg Listening System
CN203279178U (en) * 2013-05-08 2013-11-06 广州美电贝尔电业科技有限公司 Loudspeaker fault detection apparatus
DE102015002009A1 (en) * 2015-02-20 2016-08-25 Dialog Semiconductor (Uk) Limited Optimized speaker operation
EP3409030B1 (en) * 2016-01-29 2020-03-11 Dolby Laboratories Licensing Corporation Distributed amplification and control system for immersive audio multi-channel amplifier
CN110300201A (en) * 2019-07-29 2019-10-01 Oppo广东移动通信有限公司 Terminal device
CN110996220B (en) * 2019-12-02 2021-03-23 维沃移动通信有限公司 Electronic equipment and volume adjusting method thereof

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102892058A (en) * 2011-07-18 2013-01-23 中兴通讯股份有限公司 Method and device for automatically regulating volume
CN104837102A (en) * 2014-02-11 2015-08-12 联发科技股份有限公司 Method and electronic device for headphone speaker impedance detection
CN104469620A (en) * 2014-11-24 2015-03-25 青岛歌尔声学科技有限公司 Acoustical product with audio output power adjustable within large range
CN107734427A (en) * 2017-09-13 2018-02-23 广州市迪士普信息科技有限公司 A kind of guard method and device according to voice coil loudspeaker voice coil temperature rise adjust automatically speaker volume
CN109086024A (en) * 2018-07-09 2018-12-25 Oppo广东移动通信有限公司 Screen vocal technique, device, electronic device and storage medium
CN109270352A (en) * 2018-08-23 2019-01-25 维沃移动通信有限公司 A kind of amplitude adjusting method and sounding device
CN109600463A (en) * 2018-11-23 2019-04-09 维沃移动通信有限公司 A kind of mobile terminal
CN109819118A (en) * 2019-03-29 2019-05-28 维沃移动通信有限公司 A kind of volume adjusting method and mobile terminal
CN110312032A (en) * 2019-06-17 2019-10-08 Oppo广东移动通信有限公司 Audio frequency playing method and Related product

Also Published As

Publication number Publication date
CN110996220A (en) 2020-04-10
WO2021110016A1 (en) 2021-06-10

Similar Documents

Publication Publication Date Title
CN108449489B (en) Flexible screen control method, mobile terminal and server
CN108737921B (en) Play control method, system, earphone and mobile terminal
CN108289270B (en) Loudspeaker and mobile terminal
CN111385714B (en) Method for determining voice coil temperature of loudspeaker, electronic device and storage medium
CN109905812B (en) Input power control method and device and terminal equipment
CN108988421B (en) Battery charging method, charging circuit and terminal
CN110139018B (en) Camera control module, camera movement control method and terminal
CN108681413B (en) Control method of display module and mobile terminal
CN110187822B (en) Terminal and screen display control method applied to terminal
CN109962514B (en) Charging method and mobile terminal
CN110830861B (en) Telephone receiver control method and device and electronic equipment
CN111124346B (en) Electronic equipment and volume adjusting method thereof
CN107749306B (en) Vibration optimization method and mobile terminal
CN108430004B (en) Loudspeaker amplitude adjusting device, adjusting method and mobile terminal
CN112511960A (en) Method and device for adjusting position of loudspeaker diaphragm and storage medium
CN110995924B (en) Account management method and electronic equipment
CN111443822A (en) Electronic device, control method thereof, and medium
CN110996220B (en) Electronic equipment and volume adjusting method thereof
CN108521417B (en) Communication processing method and mobile terminal
CN108429363B (en) Wireless charging method and wireless charging device
CN110677770B (en) Sound production control method, electronic device, and medium
CN111061407B (en) Video program operation control method, electronic device, and storage medium
CN109124647B (en) Laser module, detection method of laser module and terminal
CN109348366B (en) Method for adjusting volume by using electrical parameters and mobile terminal
CN109951584B (en) Cleaning method 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
GR01 Patent grant
GR01 Patent grant