Loudspeaker and control method and device thereof, electronic equipment and readable storage medium
By setting up an electromagnetic component that generates a magnetic field by powering on the speaker, and using the synchronous control of the driving component to dynamically manage the magnetic field in the speaker, solving the problem of the speaker being disturbed by the changing magnetic field when the audio is not played, and the output without interference is achieved.
Patent Information
- Application Number
- CN202510278290.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-10
- Publication Date
- 2025-06-10
AI Technical Summary
When the speaker does not play audio, the variable magnetic field interference caused by the operation of the power amplifier will cause the generation of current interference.
Set up an electromagnetic assembly in the speaker that will generate a magnetic field by powering on it, and connect it to the audio coil to the driving assembly. When the driving component receives the audio input signal, it synchronizes the first driving signal to the electromagnet assembly and the audio output signal to the audio coil, thereby dynamically controlling whether the electromagnet assembly generates a magnetic field.
It realizes that the speaker only has a magnetic field when it needs to output audio, avoiding the interference of the changing magnetic field when the audio is not played.
Smart Images

Figure CN120128863A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the technical field of speakers, and particularly relates to a speaker, a control method, a device, an electronic device, and a readable storage medium thereof. Background Art
[0002] In existing electronic devices such as mobile phones, tablet computers, and laptop computers, a power amplifier and a speaker are usually included. When the power amplifier operates, there will be intermittent large current draw, and these large current draws will generate corresponding changing magnetic fields in the designed circuit loop.
[0003] In related technologies, in some scenarios, although the speaker is not playing audio, the PA (Power Amplifier) of the speaker is still turned on, resulting in a low-resistance closed-loop circuit formed by the speaker, and current interference noise appears under the interference of the changing magnetic field. How to avoid the current interference noise generated by the speaker under the interference of the changing magnetic field when the speaker is not playing audio has become an urgent problem to be solved. Summary of the Invention
[0004] The purpose of the embodiments of this application is to provide a speaker, a control method, a device, an electronic device, and a readable storage medium thereof, which solve the problem of current interference noise generated by the speaker under the interference of the changing magnetic field when the speaker is not playing audio.
[0005] In a first aspect, the embodiments of this application provide a speaker, including: an audio coil, on which a diaphragm is provided; an electromagnetic component, disposed around the circumference of the audio coil and spaced apart from the audio coil; wherein, when the audio coil receives an audio input signal and the electromagnetic component receives a first driving signal, the audio coil drives the diaphragm to vibrate and generate sound.
[0006] In a second aspect, the embodiments of this application provide an electronic device, including: the speaker in any of the above technical solutions, a driving component, connected to the electromagnetic component and the audio coil in the speaker, and the driving component is configured to transmit an audio output signal to the audio coil and transmit a first driving signal to the electromagnetic component when receiving an audio input signal, so as to drive the audio coil to drive the diaphragm to vibrate and generate sound.
[0007] In a third aspect, the present application provides a control method for a loudspeaker. The loudspeaker includes an audio coil, an electromagnetic component, and a driving component. A diaphragm is provided on the audio coil. The electromagnetic component is disposed around the circumference of the audio coil and is spaced apart from the audio coil. The driving component is connected to the electromagnetic component and the audio coil. The control method for the loudspeaker includes: transmitting an audio input signal to the driving component; when the driving component receives the audio input signal, controlling the driving component to transmit an audio output signal to the audio coil and a first driving signal to the electromagnetic component to drive the audio coil to drive the diaphragm to vibrate and generate sound.
[0008] In a fourth aspect, the present application provides a control device for a loudspeaker. The loudspeaker includes an audio coil, an electromagnetic component, and a driving component. A diaphragm is provided on the audio coil. The electromagnetic component is disposed around the circumference of the audio coil and is spaced apart from the audio coil. The driving component is connected to the electromagnetic component and the audio coil. The control device for the loudspeaker includes: a transmission module for transmitting an audio input signal to the driving component; a control module for, when the driving component receives the audio input signal, controlling the driving component to transmit an audio output signal to the audio coil and a first driving signal to the electromagnetic component to drive the audio coil to drive the diaphragm to vibrate and generate sound.
[0009] In a fifth aspect, an embodiment of the present application provides an electronic device, including: a processor and a memory. The memory stores a program or instruction that can run on the processor. When the program or instruction is executed by the processor, the steps of the method as in the third aspect are implemented.
[0010] In a sixth aspect, an embodiment of the present application provides a readable storage medium. A program or instruction is stored on the readable storage medium. When the program or instruction is executed by the processor, the steps of the method as in the third aspect are implemented.
[0011] In a seventh aspect, an embodiment of the present application provides a chip, including a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run a program or instruction to implement the steps of the method as in the third aspect.
[0012] In an eighth aspect, an embodiment of the present application provides a computer program product. The program product is stored in a storage medium. The program product is executed by at least one processor to implement the method as in the third aspect.
[0013] In the embodiments of the present application, an electromagnet component that generates a magnetic field only when powered on is provided in the speaker, which can control the presence or absence of the magnetic field in the speaker. Both the electromagnet component and the audio coil are connected to the driving component. When the driving component receives an audio input signal, it can synchronously transmit a first driving signal to the electromagnet component and an audio output signal to the audio coil, thereby dynamically controlling whether the electromagnet component generates a magnetic field, that is, the speaker has a magnetic field only when it needs to output audio, solving the problem that the speaker generates current interference noise due to the interference of the changing magnetic field generated by the power amplifier when not playing audio. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 FIG. 1 shows one of the schematic structural diagrams of a speaker provided in some embodiments of the present application;
[0015] Figure 2 FIG. 2 shows another schematic structural diagram of a speaker provided in some embodiments of the present application;
[0016] Figure 3 FIG. 3 shows the schematic block diagram of a speaker provided in some embodiments of the present application;
[0017] Figure 4 FIG. 4 shows the schematic structural diagram of an electronic device provided in some embodiments of the present application;
[0018] Figure 5 FIG. 5 shows the flowchart of the control method of a speaker provided in some embodiments of the present application;
[0019] Figure 6 FIG. 6 shows the schematic block diagram of the control device of a speaker provided in some embodiments of the present application;
[0020] Figure 7 FIG. 7 shows the schematic block diagram of an electronic device provided in some embodiments of the present application;
[0021] Figure 8 FIG. 8 is a schematic hardware structure diagram of an electronic device for implementing the embodiments of the present application.
[0022] Figures 1 to 4 The reference numerals are as follows:
[0023] 100 Speaker, 110 Audio Coil, 112 Diaphragm, 120 Electromagnet Assembly, 121 First Magnet Group, 1211 First Electromagnet, 122 Second Magnet Group, 1221 Second Electromagnet, 123 Connecting Wire, 200 Electronic Device, 202 Sound Outlet Hole, 210 Driving Assembly, 211 First Power Amplifier, 212 Signal Processing Circuit, 2121 Signal Amplification Circuit, 2122 Half-Wave Rectification Circuit, 2123 Integration Circuit, 2124 Discharge Circuit, 2125 Level Conversion Circuit, 214 Control Chip. Detailed Implementation Manner
[0024] Next, the technical solutions in the embodiments of the present application will be clearly described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art belong to the scope of protection of the present application.
[0025] The terms "first" and "second" in the description and claims of the present application may explicitly or implicitly include one or more of such features. In the description of the present application, unless otherwise stated, the meaning of "a plurality" is two or more. In addition, "and / or" in the description and claims means at least one of the connected objects. The character " / " generally indicates an "or" relationship between the associated objects before and after.
[0026] In the description of the present application, it should be understood that the terms "center", "longitudinal", "transverse", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc. indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings. It is only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the present application.
[0027] In the description of the present application, it should be noted that, unless otherwise clearly specified and limited, the terms "installation", "connection", and "connection" should be understood in a broad sense. For example, it may be a fixed connection, a detachable connection, or an integral connection; it may be a mechanical connection or an electrical connection; it may be directly connected or indirectly connected through an intermediate medium, and it may be the communication inside two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood according to specific situations.
[0028] Next, in combination with the attached Figures 1 to 8, the loudspeaker, its control method, device, electronic device and readable storage medium provided by the embodiments of the present application are described in detail through specific embodiments and their application scenarios.
[0029] In some embodiments of the present application, a loudspeaker is provided. Figure 1 FIG. 1 shows one of the schematic structural diagrams of the loudspeaker provided in some embodiments of the present application. Figure 2 FIG. 2 shows another schematic structural diagram of the loudspeaker provided in some embodiments of the present application. As Figure 1 and Figure 2 shown, the loudspeaker 100 includes: an audio coil 110, on which a diaphragm 112 is provided; an electromagnet assembly 120, which is disposed around the circumference of the audio coil 110 and is spaced apart from the audio coil 110; wherein, when the audio coil 110 receives an audio input signal and the electromagnet assembly 120 receives a first driving signal, the audio coil 110 drives the diaphragm 112 to vibrate and generate sound.
[0030] In the embodiments of the present application, the loudspeaker 100 includes an audio coil 110 and an electromagnet assembly 120, and the electromagnet assembly 120 is disposed on the audio coil 110. The electromagnet assembly 120 is disposed around the circumference of the audio coil 110. The electromagnet assembly 120 can generate a magnetic field when energized, and the electromagnet assembly 120 will not generate a magnetic field when not energized. When the electromagnet assembly 120 generates a magnetic field and the audio coil 110 receives an audio output signal, the audio output signal can generate an audio current in the audio coil 110. At this time, the audio coil 110 will move up and down under the action of electromagnetic force, thereby driving the diaphragm 112 to move and generate sound.
[0031] Specifically, the electromagnet assembly 120 is an electromagnet structure formed by winding a coil around an iron core. The electromagnet assembly 120 is disposed outside the audio coil 110. When the electromagnet assembly 120 is energized, it can generate a magnetic field with a stable direction. Figure 1 The arrows A and B in FIG. 3 show the directions of the magnetic field lines generated by the electromagnet assembly 120. Among them, the audio coil 110 is quadrilateral. The magnetic field lines generated by the electromagnet assembly 120 at the two long sides are as shown by the arrow A, and the magnetic field lines generated by the electromagnet assembly 120 at the two short sides are as shown by the arrow B, that is, the electromagnet assembly 120 forms two closed-loop magnetic field lines.
[0032] In the embodiments of the present application, the first drive signal is used to drive the electromagnetic component 120 to generate a magnetic field, and the audio output signal is used to generate an audio current in the audio coil 110, so that the audio coil 110 moves in the magnetic field generated by the electromagnetic component 120. When the drive circuit of the microphone synchronously transmits the first drive signal and the audio output signal in response to the audio input signal, the electromagnetic component 120 in the speaker 100 generates a magnetic field only when audio needs to be output. Even when the power amplifier is in the working state, a low-resistance closed-loop circuit will not be formed in the speaker 100, so there will be no current interference noise caused by the interference of the changing magnetic field. Specifically, when the speaker 100 needs to output audio, the first drive signal is synchronously transmitted to the electromagnetic component 120, and the audio output signal is transmitted to the audio coil 110. Among them, both the audio output signal and the audio input signal are audio signals, and the audio output signal is an amplified signal, and the audio input signal is an unamplified signal.
[0033] In the embodiments of the present application, the electromagnetic component 120 that generates a magnetic field only when powered on is provided in the speaker 100, which can control whether there is a magnetic field in the speaker 100. When the speaker 100 needs to output audio, the first drive signal is synchronously transmitted to the electromagnetic component 120 and the audio output signal is transmitted to the audio coil 110. Otherwise, the first drive signal is not transmitted to the electromagnetic component 120, thereby dynamically controlling whether the electromagnetic component 120 generates a magnetic field, that is, the speaker 100 has a magnetic field only when audio needs to be output, and does not generate a magnetic field when audio does not need to be output, solving the problem that the speaker 100 generates current interference noise due to the interference of the changing magnetic field generated by the operation of the power amplifier when no audio is played.
[0034] As Figure 1 and Figure 2 shown, in some embodiments of the present application, the electromagnetic component 120 includes: at least one first magnet group 121, the first magnet group 121 includes two first electromagnets 1211, and the two first electromagnets 1211 are distributed on opposite sides of the audio coil 110; wherein, the winding directions of the two first electromagnets 1211 are the same, and the magnetic poles of the ends of the two first electromagnets 1211 facing the audio coil 110 are opposite.
[0035] In the embodiment of the present application, the electromagnetic component 120 includes a first magnet group 121. The first magnet group 121 includes two first electromagnets 1211, that is, two first electromagnets 1211 are in a group. The two first electromagnets 1211 in a group are respectively located on opposite sides of the audio coil 110. The first electromagnets 1211 in the first magnet group 121 are arranged in pairs. The winding directions of the paired first electromagnets 1211 are the same, and the two first electromagnets 1211 are located at the opposite ends of the audio coil 110, so that each first magnet group 121 can generate a magnetic field when energized, and the magnetic poles of the ends of the two first electromagnets 1211 facing the audio coil 110 are opposite, that is, one end of one first electromagnet 1211 facing the audio coil 110 is an S pole, and the other end of the other first electromagnet 1211 facing the audio coil 110 is an N pole.
[0036] As Figure 2 shown, the first magnet group 121 includes two first electromagnets 1211, b2 and b4, and the winding directions of b2 and b4 are the same. When the first magnet group 121 is energized, b2 presents an S pole in the direction of the audio coil 110, and b4 presents an N pole in the direction of the audio coil 110. Arrow A shows the direction of the magnetic field lines generated by the first magnet group 121 formed by b2 and b4 when energized.
[0037] It should be noted that the number of the first magnet groups 121 can be multiple, that is, multiple pairs of first electromagnets 1211 are provided. The winding directions of the first electromagnets 1211 in the first magnet group 121 are all the same, and the first magnet groups 121 are all arranged on the opposite sides of the audio coil 110.
[0038] In the embodiment of the present application, by arranging the paired first electromagnets 1211 in the first magnet group 121 and setting the first electromagnets 1211 at the opposite ends of the audio coil 110, since the winding directions of the first electromagnets 1211 are the same, the two first electromagnets 1211 arranged at the opposite ends of the audio coil 110 can generate a stable magnetic field when energized, so that the audio coil 110 can drive the diaphragm 112 to move and generate sound when receiving an audio output signal.
[0039] As Figure 1 and Figure 2As shown, in some embodiments of the present application, the electromagnetic component 120 further includes: at least one second magnet group 122, the second magnet group 122 includes two second electromagnets 1221, the two second electromagnets 1221 are distributed on opposite sides of the audio coil 110, and the second electromagnets 1221 and the first electromagnet 1211 are alternately located on the circumferential side of the audio coil 110; wherein, the winding directions of the two second electromagnets 1221 are the same, and the winding direction of the second electromagnet 1221 is different from the winding direction of the first electromagnet 1211, and the magnetic poles of the ends of the two second electromagnets 1221 facing the audio coil 110 are opposite.
[0040] In the embodiments of the present application, the electromagnetic component 120 includes a second magnet group 122, the second magnet group 122 includes two second electromagnets 1221, that is, the two second electromagnets 1221 are in a group, and the two second electromagnets 1221 in a group are respectively located on opposite sides of the audio coil 110. The second electromagnets 1221 in the second magnet group 122 are arranged in pairs, the winding directions of the second electromagnets 1221 arranged in pairs are the same, and the two second electromagnets 1221 are located at opposite ends of the audio coil 110, so that each second magnet group 122 can generate a magnetic field when energized, and the magnetic poles of the ends of the two second electromagnets 1221 facing the audio coil 110 are opposite, that is, one end of one second electromagnet 1221 facing the audio coil 110 is an S pole, and the end of the other second electromagnet 1221 facing the audio coil 110 is an N pole.
[0041] The winding direction of the second electromagnet 1221 in the second magnet group 122 is different from the winding direction of the first electromagnet 1211 in the first magnet group 121, and the second electromagnet 1221 and the first electromagnet 1211 are alternately located on the circumferential side of the audio coil 110. Therefore, when both the first magnet group 121 and the second magnet group 122 are energized, the magnetic field generated by the first magnet group 121 and the magnetic field generated by the second magnet group 122 can drive the audio coil 110 to move in the same direction, improving the loudness of the audio coil 110 when outputting audio.
[0042] Such as Figure 2As shown in the figure, the second magnet group 122 includes two second electromagnets 1221, namely b1 and b3, and the winding directions of b1 and b3 are the same. When the second magnet group 122 is energized, b1 presents an N pole toward the audio coil 110, and b3 presents an S pole toward the audio coil 110. The arrow B shows the direction of the magnetic field lines generated by the second magnet group 122 formed by b1 and b3 when energized. Among them, the audio coil 110 is quadrilateral, the two second electromagnets 1221 are located on the long sides of the audio coil 110, the first electromagnet 1211 and the second electromagnet 1221 are arranged alternately, and the two first electromagnets 1211 are located on the short sides of the audio coil 110. Therefore, when the first magnet group 121 and the second magnet group 122 are energized synchronously, the audio coil 110 drives the diaphragm 112 to move up and down under the action of the two magnetic fields.
[0043] It should be noted that the number of the first magnet group 121 and the second magnet group 122 can both be multiple, and the number of the first magnet group 121 is the same as that of the second magnet group 122.
[0044] In the embodiment of the present application, by arranging paired second electromagnets 1221 in the second magnet group 122, the second electromagnets 1221 and the first electromagnets 1211 are arranged alternately, the winding direction of the second electromagnets 1221 is opposite to that of the first electromagnets 1211, and the winding directions of the second electromagnets 1221 are the same. Therefore, the two second electromagnets 1221 arranged at the opposite ends of the audio coil 110 can generate a stable magnetic field when energized, and the magnetic field generated by the second magnet group 122 and the magnetic field generated by the first magnet group 121 have the same direction of the acting force on the audio coil 110, thereby improving the loudness of the sound generated by the audio coil 110 driving the diaphragm 112 to move when receiving an audio output signal.
[0045] In some embodiments of the present application, the electromagnet assembly 120 further includes: a connecting wire 123, which is arranged between adjacent first electromagnets 1211 and second electromagnets 1221, and the connecting wire 123 is used to electrically connect adjacent first electromagnets 1211 and second electromagnets 1221.
[0046] In the embodiment of the present application, the electromagnets in the electromagnet assembly 120 are all electromagnet structures formed by winding coils on iron cores, that is, both the first electromagnet 1211 and the second electromagnet 1221 are electromagnet structures formed by winding coils on iron cores. Since the first electromagnet 1211 and the second electromagnet 1221 are arranged alternately, that is, the first electromagnet 1211 and the second electromagnet 1221 are adjacent in position. Therefore, the coils on the first electromagnet 1211 and the second electromagnet 1221 are connected through the connecting wire 123, so that multiple first electromagnets 1211 and multiple second electromagnets 1221 can be powered on synchronously.
[0047] Exemplarily, a plurality of first electromagnets 1211 and a plurality of second electromagnets 1221 may share an iron core, and a coil is provided separately for each first electromagnet 1211 and each second electromagnet 1221. The coils of each first electromagnet 1211 and each second electromagnet 1221 are wound around the same iron core, and the coils of each first electromagnet 1211 and each second electromagnet 1221 are connected by a connecting wire 123.
[0048] Exemplarily, each electromagnet among a plurality of first electromagnets 1211 and a plurality of second electromagnets 1221 is provided with an iron core separately, and the coils of each first electromagnet 1211 and each second electromagnet 1221 are connected by a connecting wire 123.
[0049] In the embodiments of the present application, the first electromagnet 1211 in the first magnet group 121 is connected to the second electromagnet 1221 in the second magnet by a connecting wire 123, so that the first electromagnet 1211 and the second electromagnet 1221 can receive the first driving signal synchronously, thereby enabling the first magnet group 121 and the second magnet group 122 to generate magnetic fields synchronously, improving the operating stability of the speaker 100.
[0050] In some embodiments of the present application, an electronic device is provided. Figure 3 The block diagram of the speaker provided in some embodiments of the present application is shown. Figure 4 The schematic structural diagram of the electronic device provided in some embodiments of the present application is shown. As Figure 3 and Figure 4 shown, the electronic device 200 includes: the speaker 100 in any of the above embodiments and a driving component 210, which is connected to the electromagnet component 120 and the audio coil 110 in the speaker 100. The driving component 210 is configured to transmit an audio output signal to the audio coil 110 and transmit a first driving signal to the electromagnet component 120 when receiving an audio input signal, so as to drive the audio coil 110 to drive the diaphragm 112 to vibrate and generate sound, and thus has all the beneficial technical effects of the speaker 100 in any of the above embodiments, which will not be elaborated herein.
[0051] Exemplarily, the electronic device 200 includes a sound outlet hole 202, and the sound outlet hole 202 is provided on the housing of the electronic device and is correspondingly arranged opposite to the speaker 100.
[0052] In the embodiments of the present application, the electronic device may be a portable electronic device such as a mobile phone or a tablet computer.
[0053] In the embodiments of the present application, the loudspeaker 100 further includes a driving component 210. The driving component 210 is used to drive the operation of the loudspeaker 100. The output end of the driving component 210 is connected to the electromagnetic component 120 and the audio coil 110. The driving component 210 can transmit an audio output signal to the audio coil 110 and transmit a first driving signal to the electromagnetic component 120. The first driving signal is used to drive the electromagnetic component 120 to generate a magnetic field, and the audio output signal is used to generate an audio current in the audio coil 110 so that the audio coil 110 moves in the magnetic field generated by the electromagnetic component 120. The driving component 210 can respond to an audio input signal and synchronously transmit the first driving signal and the audio output signal, so that the electromagnetic component 120 in the loudspeaker 100 generates a magnetic field only when audio needs to be output. Even when the power amplifier is in a working state, a low-resistance closed-loop circuit will not be formed in the loudspeaker 100, so there will be no current interference noise caused by interference from a changing magnetic field.
[0054] Specifically, when the driving component 210 receives an audio input signal and at this time the loudspeaker 100 needs to output audio, the driving component 210 can synchronously transmit the first driving signal to the electromagnetic component 120 and transmit the audio output signal to the audio coil 110. Among them, both the audio output signal and the audio input signal are audio signals, and the audio output signal is an amplified signal, and the audio input signal is an unamplified signal.
[0055] As Figure 4 shown, in some embodiments of the present application, the driving component 210 includes: a first power amplifier 211. The output end of the first power amplifier 211 is connected to the audio coil 110. The output end of the first power amplifier 211 is used to output an audio output signal, and the input end of the first power amplifier 211 is used to receive an audio input signal; a signal processing circuit 212. The input end of the signal processing circuit 212 is connected to the output end of the first power amplifier 211. The signal processing circuit 212 is used to process the audio output signal to obtain an enabling signal, and the output end of the signal processing circuit 212 is used to output the enabling signal; a second power amplifier 213. The input end of the second power amplifier 213 is used to receive a second driving signal. The enabling end of the second power amplifier 213 is connected to the output end of the signal processing circuit 212. The output end of the second power amplifier 213 is connected to the electromagnetic component 120. The second power amplifier 213 is used to transmit the first driving signal to the electromagnetic component 120 based on the second driving signal when receiving the enabling signal.
[0056] In an embodiment of the present application, the first power amplifier 211 is an audio power amplifier. The input end of the first power amplifier 211 receives an audio input signal. After processing the audio input signal, the first power amplifier 211 outputs an audio output signal, which can be directly transmitted to the audio coil 110 to generate an audio current in the audio coil 110, so that the audio coil 110 can drive the diaphragm 112 to move in a magnetic field.
[0057] The driving component 210 further includes a signal processing circuit 212 and a second power amplifier 213. The signal processing circuit 212 is also connected to the output end of the first power amplifier 211. That is, the first power amplifier 211 transmits the audio output signal to the audio coil 110 and the signal processing circuit 212 respectively. The signal processing circuit 212 can process the audio output signal to form an enabling signal. The output end of the signal processing circuit 212 is connected to the enabling end of the second power amplifier 213. The input end of the second power amplifier 213 is used to receive a second driving signal. After the enabling signal is received at the enabling end of the second power amplifier 213, the second power amplifier 213 can output a first driving signal to the electromagnet component 120 to enable the electromagnet component 120 to generate a magnetic field.
[0058] In an embodiment of the present application, by transmitting the audio output signal output by the first power amplifier 211 to the signal processing circuit 212 and the audio coil 110 respectively, the signal processing circuit 212 transmits the enabling signal obtained by processing the audio output signal to the second power amplifier 213, so that the second power amplifier 213 can transmit a first driving signal to the electromagnet component 120 to drive the electromagnet component 120 to generate a magnetic field, and the audio output signal is transmitted to the audio coil 110 to generate an audio current in the audio coil 110, so that the audio coil 110 can drive the diaphragm 112 to move and generate sound under the action of the magnetic field generated by the electromagnet component 120.
[0059] In the present application, by multiplexing the audio output signal output by the first power amplifier 211, when the speaker 100 needs to output audio, the electromagnet component 120 is powered on to generate a magnetic field, and at the same time, an audio current is generated in the audio coil 110. When the speaker 100 does not need to output audio, the electromagnet component 120 remains in a stopped power-on state and does not generate a magnetic field, thereby avoiding the speaker 100 from outputting an interference current sound under the action of an interference signal.
[0060] As Figure 4 shown, in some embodiments of the present application, the driving component 210 includes: a control chip 214, which is connected to the input end of the second power amplifier 213, and the control chip 214 is used to transmit a second driving signal to the second power amplifier 213.
[0061] In the embodiment of the present application, a control chip 214 is further provided in the driving component 210. The control chip 214 is connected to the input end of the second power amplifier 213. The control chip 214 can continuously transmit a second driving signal to the second power amplifier 213, so that the second power amplifier 213 immediately transmits a first driving signal to the electromagnet component 120 when receiving an enabling signal from the signal processing circuit 212, thereby enabling the electromagnet component 120 to generate a magnetic field.
[0062] Exemplarily, the control chip 214 is an AP (Application Processor, application chip) in an electronic device.
[0063] As Figure 4 shown, in some embodiments of the present application, the signal processing circuit 212 includes: a signal amplification circuit 2121, the input end of the signal amplification circuit 2121 is connected to the output end of the first power amplifier 211; a half-wave rectification circuit 2122, the input end of the half-wave rectification circuit 2122 is connected to the output end of the signal amplification circuit 2121; an integration circuit 2123, the input end of the integration circuit 2123 is connected to the output end of the half-wave rectification circuit 2122; a discharge circuit 2124, the input end of the discharge circuit 2124 is connected to the output end of the integration circuit 2123, and the output end of the discharge circuit 2124 is used to output an enabling signal.
[0064] In the embodiment of the present application, the signal processing circuit 212 includes a signal amplification circuit 2121, a half-wave rectification circuit 2122, an integration circuit 2123, and a discharge circuit 2124 that are connected in sequence. The signal amplification circuit 2121 amplifies the audio output signal to form a sine wave signal, and the sine wave signal obtained after amplification can reach the working threshold of the subsequent circuit. The half-wave rectification circuit 2122 can perform half-wave rectification on the amplified sine wave signal, thereby filtering out the negative half-axis signal therein to form a half-sine wave signal. The half-sine wave signal is transmitted to the integration circuit 2123 for integration conversion, and a DC signal with smaller sawteeth is obtained through conversion. The DC signal is transmitted to the discharge circuit 2124 to form an enabling signal and is transmitted outward.
[0065] It should be noted that the integration circuit 2123 can be an RC (resistor-capacitor) integration circuit. The integration circuit 2123 converts the half-sine wave signal after half-wave rectification into a DC signal with smaller sawteeth, so as to continuously control the on-off of the subsequent switch. For example, a half-sine wave signal with a short continuous or intermittent time can output a DC signal with a continuously high level after passing through the integration circuit 2123.
[0066] Exemplarily, the audio output signal is a small sine wave signal, and the voltage value range of the audio output signal is from 5 mV to 900 mV. The sine wave signal amplified by the signal amplification circuit 2121 is a large sine wave signal, and the voltage value range of the amplified sine wave signal is from 1 V to 2 V.
[0067] In the embodiment of the present application, by arranging a signal amplification circuit 2121, a half-wave rectification circuit 2122, an integration circuit 2123, and a discharge circuit 2124 in the signal processing circuit 212, and enabling the audio output signal output by the first power amplifier 211 to sequentially pass through the signal amplification circuit 2121, the half-wave rectification circuit 2122, the integration circuit 2123, and the discharge circuit 2124 to form a DC signal with a higher level, and using this DC signal as an enabling signal, the multiplexing of the audio output signal is realized, so that the electromagnetic component 120 and the audio coil 110 can be powered on and off synchronously, further avoiding the interference current sound output by the speaker 100 under the action of interference signals.
[0068] In some embodiments of the present application, the signal processing circuit 212 further includes: a level conversion circuit 2125. The input end of the level conversion circuit 2125 is connected to the output end of the discharge circuit 2124, and the output end of the level conversion circuit 2125 is connected to the second power amplifier 213. The level conversion circuit 2125 is used for performing level conversion on the enabling signal.
[0069] In the embodiment of the present application, the signal processing circuit 212 further includes a level conversion circuit 2125. The level conversion circuit 2125 is connected between the output end of the discharge circuit 2124 and the enabling end of the second power amplifier 213. The level conversion circuit 2125 can perform level conversion on the enabling signal output by the discharge circuit 2124, so as to convert the level of the enabling signal to the level required by the enabling end of the second power amplifier 213, ensuring that the second power amplifier 213 can stably respond to the enabling signal and transmit the first driving signal to the electromagnetic component 120, so as to improve the stability of the magnetic field generated by the electromagnetic component 120.
[0070] It should be noted that the level conversion circuit 2125 can be set according to the level signal required by the enabling end of the second power amplifier 213 for driving the electromagnetic component 120.
[0071] In some embodiments of the present application, a control method for a speaker is provided. The speaker includes an audio coil, an electromagnetic component, and a driving component. A diaphragm is arranged on the audio coil. The electromagnetic component is disposed around the circumference of the audio coil, and the electromagnetic component is spaced apart from the audio coil. The driving component is connected to the electromagnetic component and the audio coil. Figure 5 The flowchart of the control method for the speaker provided in some embodiments of the present application is shown, as Figure 5As shown, a control method for a speaker includes:
[0072] Step 502: Transmit an audio input signal to a driving component;
[0073] In an embodiment of the present application, the audio input signal is a control signal transmitted to the driving component when the speaker needs to output audio.
[0074] Step 504: When the driving component receives the audio input signal, control the driving component to transmit an audio output signal to the audio coil and a first driving signal to the electromagnetic component to drive the audio coil to drive the diaphragm to vibrate and generate sound.
[0075] In an embodiment of the present application, the driving component is used to drive the operation of the speaker. The output end of the driving component is connected to the electromagnetic component and the audio coil. The driving component can transmit an audio output signal to the audio coil and a first driving signal to the electromagnetic component. The first driving signal is used to drive the electromagnetic component to generate a magnetic field, and the audio output signal is used to generate an audio current in the audio coil so that the audio coil moves in the magnetic field generated by the electromagnetic component. The driving component can synchronously transmit the first driving signal and the audio output signal in response to the audio input signal, so that the electromagnetic component in the speaker generates a magnetic field only when audio needs to be output. Even if the power amplifier is in a working state, a low-resistance closed-loop circuit will not be formed in the speaker, so there will be no current interference noise caused by interference from the changing magnetic field.
[0076] Specifically, when the driving component receives the audio input signal, at this time, the speaker needs to output audio, then the driving component can synchronously transmit the first driving signal to the electromagnetic component and the audio output signal to the audio coil. Among them, both the audio output signal and the audio input signal are audio signals, and the audio output signal is an amplified signal, and the audio input signal is an unamplified signal.
[0077] In an embodiment of the present application, an electromagnetic component that generates a magnetic field only when energized is provided in the speaker, which can control the presence or absence of a magnetic field in the speaker, and both the electromagnetic component and the audio coil are connected to the driving component. When the driving component receives the audio input signal, it can synchronously transmit the first driving signal to the electromagnetic component and the audio output signal to the audio coil, thereby dynamically controlling whether the electromagnetic component generates a magnetic field, that is, the speaker has a magnetic field only when audio needs to be output, solving the problem that the speaker generates current interference noise due to interference from the changing magnetic field generated by the operation of the power amplifier when not playing audio.
[0078] In some embodiments of the present application, the driving component includes: a first power amplifier, a signal processing circuit, and a second power amplifier; when the driving component receives the audio input signal, controlling the driving component to transmit an audio output signal to the audio coil and a first driving signal to the electromagnetic component, includes:
[0079] When the first power amplifier receives the audio input signal, controlling the first power amplifier to transmit the audio output signal to the audio coil; when the signal processing circuit receives the audio input signal, processing the audio input signal through the signal processing circuit to obtain an enabling signal, and transmitting the enabling signal to the second power amplifier; when the second power amplifier receives the enabling signal, controlling the second power amplifier to transmit the first driving signal to the electromagnetic component.
[0080] In an embodiment of the present application, the first power amplifier is an audio power amplifier. The input end of the first power amplifier receives the audio input signal. After processing the audio input signal, the first power amplifier outputs an audio output signal, and this audio output signal can be directly transmitted to the audio coil to generate an audio current in the audio coil, so that the audio coil can drive the diaphragm to move in the magnetic field.
[0081] The driving component further includes a signal processing circuit and a second power amplifier. The signal processing circuit is also connected to the output end of the first power amplifier, that is, the first power amplifier transmits the audio output signal to the audio coil and the signal processing circuit respectively. The signal processing circuit can process the audio output signal to form an enabling signal. The output end of the signal processing circuit is connected to the enabling end of the second power amplifier. The input end of the second power amplifier is used to receive a second driving signal. After the enabling end of the second power amplifier receives the enabling signal, the second power amplifier can output the first driving signal to the electromagnetic component to enable the electromagnetic component to generate a magnetic field.
[0082] In the embodiments of the present application, by respectively transmitting the audio output signal output by the first power amplifier to the signal processing circuit and the audio coil, the signal processing circuit transmits the enable signal obtained after processing the audio output signal to the second power amplifier, enabling the second power amplifier to transmit the first drive signal to the electromagnetic component to drive the electromagnetic component to generate a magnetic field. And the audio output signal is transmitted to the audio coil to generate an audio current in the audio coil, enabling the audio coil to drive the diaphragm to move and generate sound under the action of the magnetic field generated by the electromagnetic component. By multiplexing the audio output signal output by the first power amplifier, when the loudspeaker needs to output audio, the electromagnetic component is powered on to generate a magnetic field, and at the same time, an audio current is generated in the audio coil. When the loudspeaker does not need to output audio, the electromagnetic component remains in a powered-off state and does not generate a magnetic field, thus avoiding the output of interference current sound by the loudspeaker under the action of interference signals.
[0083] Specifically, the signal processing circuit includes a signal amplification circuit, a half-wave rectification circuit, an integration circuit, and a discharge circuit connected in sequence. The signal amplification circuit amplifies the audio output signal to form a sine wave signal, and the sine wave signal obtained after amplification can reach the working threshold of the subsequent circuit. The half-wave rectification circuit can perform half-wave rectification on the sine wave signal obtained after amplification to filter out the negative half-axis signal therein and form a half-sine wave signal. The half-sine wave signal is transmitted to the integration circuit for integration conversion to obtain a DC signal with a smaller sawtooth. The DC signal is transmitted to the discharge circuit to form an enable signal and transmit it outward.
[0084] In some embodiments of the present application, the signal processing circuit includes: a signal amplification circuit, a half-wave rectification circuit, an integration circuit, a discharge circuit, and a level conversion circuit;
[0085] Obtaining an enable signal by processing an audio input signal through a signal processing circuit includes:
[0086] Amplifying and processing the audio input signal through a signal amplification circuit to obtain a sine wave amplified signal, and transmitting the sine wave amplified signal to the half-wave rectification circuit; performing half-wave rectification processing on the sine wave amplified signal through the half-wave rectification circuit to obtain a half-sine wave signal, and transmitting the half-sine wave signal to the integration circuit; performing integration processing on the half-sine wave signal through the integration circuit to obtain a DC signal, and transmitting the DC signal to the discharge circuit; converting the DC signal into an enable signal through the discharge circuit, and transmitting the enable signal to the level conversion circuit; performing level conversion processing on the enable signal through the level conversion circuit, and transmitting the level-converted enable signal to the second power amplifier.
[0087] In the embodiment of the present application, the signal processing circuit includes a signal amplification circuit, a half-wave rectification circuit, an integration circuit, a discharge circuit, and a level conversion circuit connected in sequence. The signal amplification circuit amplifies the audio output signal to form a sine wave amplified signal, and the sine wave amplified signal obtained after amplification can reach the working threshold of the subsequent circuit. The half-wave rectification circuit can perform half-wave rectification on the sine wave signal obtained after amplification, thereby filtering out the negative half-axis signal therein to form a half-sine wave signal. The half-sine wave signal is transmitted to the integration circuit for integration conversion to obtain a DC signal with a small sawtooth. The discharge signal can transmit the DC signal as an enable signal to the level conversion circuit for processing, and the level conversion circuit can perform level conversion on the enable signal to adjust the level amplitude of the enable signal within the level threshold of the enable signal receiving pin of the second power amplifier.
[0088] It should be noted that if the level amplitude of the DC signal reaches the level threshold required by the enable signal receiving pin of the second power amplifier, the level conversion circuit may not perform level conversion on the enable signal and directly transmit the enable signal output by the discharge circuit to the enable signal receiving pin of the second power amplifier. If the DC signal does not reach the level threshold required by the enable signal receiving pin, the level can be adjusted through the level conversion circuit, and the adjusted enable signal can reach the level threshold. At this time, the adjusted enable signal is transmitted to the second power amplifier.
[0089] In the embodiment of the present application, by setting a signal amplification circuit, a half-wave rectification circuit, an integration circuit, a discharge circuit, and a level conversion circuit in the signal processing circuit, and enabling the audio output signal output by the first power amplifier to pass through the signal amplification circuit, the half-wave rectification circuit, the integration circuit, and the discharge circuit in sequence to form a high-level enable signal. The level conversion circuit is connected between the output end of the discharge circuit and the enable end of the second power amplifier. The level conversion circuit can perform level conversion on the enable signal output by the discharge circuit, thereby converting the level of the enable signal to the level required by the enable end of the second power amplifier, ensuring that the second power amplifier can stably respond to the enable signal to transmit the first drive signal to the electromagnetic component, improving the stability of the magnetic field generated by the electromagnetic component, thereby realizing the multiplexing of the audio output signal, enabling the electromagnetic component and the audio coil to be powered on and off synchronously, and further avoiding the interference current sound output by the speaker under the action of interference signals.
[0090] For the loudspeaker control method provided in the embodiment of the present application, the execution subject may be a loudspeaker control device. In the embodiment of the present application, taking the loudspeaker control device as an example to execute the loudspeaker control method, the loudspeaker control method provided in the embodiment of the present application is described.
[0091] In some embodiments of the present application, a control device for a speaker is provided. The speaker includes an audio coil, an electromagnet assembly, and a driving assembly. A diaphragm is provided on the audio coil. The electromagnet assembly is disposed around the periphery of the audio coil and is spaced apart from the audio coil. The driving assembly is connected to the electromagnet assembly and the audio coil. Figure 6 The structural block diagram of the control device for the speaker provided in some embodiments of the present application is shown. As Figure 6 shown, the control device 600 of the speaker includes:
[0092] A transmission module 602, configured to transmit an audio input signal to the driving assembly;
[0093] A control module 604, configured to control the driving assembly to transmit an audio output signal to the audio coil and transmit a first driving signal to the electromagnet assembly when the driving assembly receives the audio input signal, so as to drive the audio coil to drive the diaphragm to vibrate and generate sound.
[0094] In the embodiments of the present application, an electromagnet assembly that generates a magnetic field only when powered on is provided in the speaker, which can control the presence or absence of the magnetic field in the speaker. And both the electromagnet assembly and the audio coil are connected to the driving assembly. When the driving assembly receives the audio input signal, it can synchronously transmit the first driving signal to the electromagnet assembly and transmit the audio output signal to the audio coil, thereby dynamically controlling whether the electromagnet assembly generates a magnetic field, that is, the speaker has a magnetic field only when it needs to output audio, solving the problem that when the speaker does not play audio, it is interfered by the changing magnetic field generated by the operation of the power amplifier and generates current interference noise.
[0095] In some embodiments of the present application, the driving assembly includes: a first power amplifier, a signal processing circuit, and a second power amplifier;
[0096] The control module 604 is further configured to control the first power amplifier to transmit an audio output signal to the audio coil when the first power amplifier receives the audio input signal;
[0097] The control module 604 is further configured to, when the signal processing circuit receives the audio input signal, process the audio input signal through the signal processing circuit to obtain an enable signal, and transmit the enable signal to the second power amplifier;
[0098] The control module 604 is further configured to control the second power amplifier to transmit the first driving signal to the electromagnet assembly when the second power amplifier receives the enable signal.
[0099] In the embodiments of the present application, the audio output signal output by the first power amplifier is respectively transmitted to the signal processing circuit and the audio coil, so that the signal processing circuit transmits the enable signal obtained after processing the audio output signal to the second power amplifier, enabling the second power amplifier to transmit the first driving signal to the electromagnetic component to drive the electromagnetic component to generate a magnetic field, and the audio output signal is transmitted to the audio coil to generate an audio current in the audio coil, enabling the audio coil to drive the diaphragm to move and generate sound under the action of the magnetic field generated by the electromagnetic component. By multiplexing the audio output signal output by the first power amplifier, the present application enables the electromagnetic component to be powered on to generate a magnetic field when the speaker needs to output audio, and at the same time, an audio current is generated in the audio coil. When the speaker does not need to output audio, the electromagnetic component remains in a powered-off state and does not generate a magnetic field, thereby avoiding the output of interference current sound by the speaker under the action of interference signals.
[0100] In some embodiments of the present application, the signal processing circuit includes: a signal amplification circuit, a half-wave rectification circuit, an integration circuit, a discharge circuit, and a level conversion circuit;
[0101] The transmission module is further configured to amplify the audio input signal through the signal amplification circuit to obtain a sine wave amplified signal, and transmit the sine wave amplified signal to the half-wave rectification circuit;
[0102] The transmission module is further configured to perform half-wave rectification processing on the sine wave amplified signal through the half-wave rectification circuit to obtain a half-sine wave signal, and transmit the half-sine wave signal to the integration circuit;
[0103] The transmission module is further configured to perform integration processing on the half-sine wave signal through the integration circuit to obtain a DC signal, and transmit the DC signal to the discharge circuit;
[0104] The transmission module is further configured to convert the DC signal into an enable signal through the discharge circuit, and transmit the enable signal to the level conversion circuit;
[0105] The transmission module is further configured to perform level conversion processing on the enable signal through the level conversion circuit, and transmit the level-converted enable signal to the second power amplifier.
[0106] In the embodiments of the present application, a signal amplification circuit, a half-wave rectification circuit, an integration circuit, a discharge circuit, and a level conversion circuit are provided in a signal processing circuit, and the audio output signal output by the first power amplifier sequentially passes through the signal amplification circuit, the half-wave rectification circuit, the integration circuit, and the discharge circuit to form an enabling signal with a relatively high level. The level conversion circuit is connected between the output end of the discharge circuit and the enabling end of the second power amplifier. The level conversion circuit can perform level conversion on the enabling signal output by the discharge circuit, so as to convert the level of the enabling signal to the level required by the enabling end of the second power amplifier, ensuring that the second power amplifier can stably respond to the enabling signal and transmit a first driving signal to the electromagnetic component, thereby improving the stability of the magnetic field generated by the electromagnetic component, and thus realizing the multiplexing of the audio output signal, enabling the electromagnetic component and the audio coil to be powered on and off synchronously, and further avoiding the interference current sound output by the speaker under the action of interference signals.
[0107] The control device of the speaker provided in the embodiments of the present application can implement each process implemented in the above method embodiments. To avoid repetition, it will not be elaborated here.
[0108] Optionally, the embodiments of the present application further provide an electronic device, which includes the control device of the speaker in any of the above embodiments, and thus has all the beneficial effects of the control device of the speaker in any of the embodiments, and will not be elaborated here too much.
[0109] Optionally, the embodiments of the present application further provide an electronic device Figure 7 The block diagram of the structure of the electronic device provided in some embodiments of the present application is shown. As Figure 7 shown, the electronic device 700 includes a processor 702, a memory 704, a program or instruction stored in the memory 704 and executable on the processor 702. When the program or instruction is executed by the processor 702, it implements each process of the above method embodiment of the speaker control method and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.
[0110] It should be noted that the electronic device in the embodiments of the present application includes the above-mentioned mobile electronic devices and non-mobile electronic devices.
[0111] Figure 8 The schematic diagram of the hardware structure of an electronic device for implementing the embodiments of the present application.
[0112] The electronic device 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, and a processor 810 and other components.
[0113] Those skilled in the art can understand that the electronic device 800 may further include a power source (such as a battery) for supplying power to each component. The power source can be logically connected to the processor 810 through a power management system, so as to manage functions such as charging, discharging, and power consumption management through the power management system. Figure 8 The structure of the electronic device shown in Figure 8 does not limit the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements, which will not be elaborated here.
[0114] Among them, the audio output unit 803 includes a speaker. The speaker includes an audio coil, an electromagnetic component, and a driving component. A diaphragm is provided on the audio coil. The electromagnetic component is disposed around the circumference of the audio coil and is spaced apart from the audio coil. The driving component is connected to the electromagnetic component and the audio coil.
[0115] The processor 810 is configured to transmit an audio input signal to the driving component.
[0116] The processor 810 is configured to, when the driving component receives the audio input signal, control the driving component to transmit an audio output signal to the audio coil and transmit a first driving signal to the electromagnetic component to drive the audio coil to drive the diaphragm to vibrate and generate sound.
[0117] In the embodiment of the present application, an electromagnetic component that generates a magnetic field only when powered on is provided in the speaker, which can control the presence or absence of the magnetic field in the speaker, and both the electromagnetic component and the audio coil are connected to the driving component. When the driving component receives the audio input signal, it can synchronously transmit the first driving signal to the electromagnetic component and transmit the audio output signal to the audio coil, thereby dynamically controlling whether the electromagnetic component generates a magnetic field, that is, the speaker has a magnetic field only when it needs to output audio, solving the problem that when the speaker does not play audio, it is interfered by the changing magnetic field generated by the power amplifier working and generates current interference noise.
[0118] Further, the driving component includes: a first power amplifier, a signal processing circuit, and a second power amplifier.
[0119] The processor 810 is further configured to, when the first power amplifier receives the audio input signal, control the first power amplifier to transmit the audio output signal to the audio coil.
[0120] The processor 810 is further configured to, when the signal processing circuit receives the audio input signal, process the audio input signal through the signal processing circuit to obtain an enabling signal and transmit the enabling signal to the second power amplifier.
[0121] The processor 810 is further configured to control the second power amplifier to transmit a first driving signal to the electromagnetic component when the second power amplifier receives an enabling signal.
[0122] In the embodiment of the present application, by respectively transmitting the audio output signal output by the first power amplifier to the signal processing circuit and the audio coil, the signal processing circuit transmits the enabling signal obtained after processing the audio output signal to the second power amplifier, so that the second power amplifier can transmit the first driving signal to the electromagnetic component to drive the electromagnetic component to generate a magnetic field, and the audio output signal is transmitted to the audio coil to generate an audio current in the audio coil, so that the audio coil can drive the diaphragm to move and generate sound under the action of the magnetic field generated by the electromagnetic component. The present application multiplexes the audio output signal output by the first power amplifier, so that when the speaker needs to output audio, the electromagnetic component is powered on to generate a magnetic field, and at the same time, an audio current is generated in the audio coil. When the speaker does not need to output audio, the electromagnetic component remains in a powered-off state and does not generate a magnetic field, thereby avoiding the output of interference current sound by the speaker under the action of interference signals.
[0123] Further, the signal processing circuit includes: a signal amplification circuit, a half-wave rectification circuit, an integration circuit, a discharge circuit, and a level conversion circuit;
[0124] The processor 810 is further configured to amplify and process the audio input signal through the signal amplification circuit to obtain a sine wave amplified signal, and transmit the sine wave amplified signal to the half-wave rectification circuit;
[0125] The processor 810 is further configured to perform half-wave rectification processing on the sine wave amplified signal through the half-wave rectification circuit to obtain a half-sine wave signal, and transmit the half-sine wave signal to the integration circuit;
[0126] The processor 810 is further configured to perform integration processing on the half-sine wave signal through the integration circuit to obtain a direct current signal, and transmit the direct current signal to the discharge circuit;
[0127] The processor 810 is further configured to convert the direct current signal into an enabling signal through the discharge circuit, and transmit the enabling signal to the level conversion circuit;
[0128] The processor 810 is further configured to perform level conversion processing on the enabling signal through the level conversion circuit, and transmit the enabling signal after level conversion to the second power amplifier.
[0129] In the embodiment of the present application, a signal amplification circuit, a half-wave rectification circuit, an integration circuit, a discharge circuit, and a level conversion circuit are provided in the signal processing circuit, and the audio output signal output by the first power amplifier sequentially passes through the signal amplification circuit, the half-wave rectification circuit, the integration circuit, and the discharge circuit to form an enabling signal with a relatively high level. The level conversion circuit is connected between the output end of the discharge circuit and the enabling end of the second power amplifier. The level conversion circuit can perform level conversion on the enabling signal output by the discharge circuit, so as to convert the level of the enabling signal to the level required by the enabling end of the second power amplifier, ensuring that the second power amplifier can stably respond to the enabling signal to transmit the first driving signal to the electromagnetic component, improving the stability of the magnetic field generated by the electromagnetic component, thereby realizing the multiplexing of the audio output signal, enabling the electromagnetic component and the audio coil to be powered on and off synchronously, and further avoiding the speaker from outputting interference current sound under the action of interference signals.
[0130] It should be understood that, in the embodiment of the present application, the input unit 804 may include a Graphics Processing Unit (GPU) 8041 and a microphone 8042. The graphics processor 8041 processes the image data of the static pictures or action files obtained by the image capture device (such as a camera) in the action file capture mode or the image capture mode. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light-emitting diode, etc. The user input unit 807 includes at least one of a touch panel 8071 and other input devices 8072. The touch panel 8071 is also called a touch screen. The touch panel 8071 may include two parts: a touch detection device and a touch controller. The other input devices 8072 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 will not be elaborated here.
[0131] The memory 809 can be used to store software programs and various data. The memory 809 mainly includes a first storage area for storing programs or instructions and a second storage area for storing data. Among them, the first storage area can store an operating system, application programs or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 809 can include volatile memory or non-volatile memory, or the memory 809 can include both volatile and non-volatile memory. Among them, the non-volatile memory can be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash memory. The volatile memory can be a Random Access Memory (RAM), a Static RAM (SRAM), a Dynamic RAM (DRAM), a Synchronous DRAM (SDRAM), a Double Data Rate SDRAM (DDR SDRAM), an Enhanced SDRAM (ESDRAM), a Synch link DRAM (SLDRAM), and a Direct Rambus RAM (DRRAM). The memory 809 in the embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
[0132] The processor 810 can include one or more processing units; optionally, the processor 810 integrates an application processor and a modem processor. Among them, the application processor mainly processes operations related to the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communication signals, such as a baseband processor. It can be understood that the above-mentioned modem processor may not be integrated into the processor 810.
[0133] The embodiments of the present application also provide a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be elaborated here.
[0134] Among them, the processor is the processor in the electronic device in the above-mentioned embodiment. The readable storage medium includes computer-readable storage media such as computer read-only memory ROM, random access memory RAM, magnetic disk or optical disc, etc.
[0135] Another embodiment of the present application provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement each process of the above-mentioned embodiment of the speaker control method and can achieve the same technical effects. To avoid repetition, it will not be elaborated here.
[0136] It should be understood that the chip mentioned in the embodiment of the present application may also be referred to as a system-on-chip, system chip, chip system or system-on-chip, etc.
[0137] The embodiment of the present application provides a computer program product. The program product is stored in a storage medium and is executed by at least one processor to implement each process of the above-mentioned embodiment of the speaker control method and can achieve the same technical effects. To avoid repetition, it will not be elaborated here.
[0138] It should be noted that in this article, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, apparatus, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or further includes elements inherent to such process, apparatus, article or device. Without further limitation, an element defined by the statement "including a..." does not exclude the presence of additional identical elements in the process, apparatus, article or device including that element.
[0139] In addition, it should be pointed out that the devices and the scope of the devices in the embodiments of the present application are not limited to performing functions in the order shown or discussed. It may also include performing functions in a substantially simultaneous manner or in the reverse order according to the functions involved. For example, the devices described may be performed in an order different from that described, and various steps may be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0140] Through the description of the above embodiments, those skilled in the art can clearly understand that the device of the above embodiments can be implemented by means of software plus a necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is a better implementation. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. The computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions to enable a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the device of each embodiment of the present application.
[0141] The embodiments of the present application have been described above with reference to the accompanying drawings. However, the present application is not limited to the above specific embodiments. The above specific embodiments are merely illustrative and not restrictive. Under the inspiration of the present application, those of ordinary skill in the art can also make many forms without departing from the purpose of the present application and the scope protected by the claims, and all of them belong to the protection scope of the present application.
Claims
1. A loudspeaker, characterized in that: include: An audio coil, wherein a diaphragm is arranged on the audio coil; An electromagnet assembly is disposed around the audio coil, and the electromagnet assembly is spaced apart from the audio coil; Wherein, when the audio coil receives an audio input signal and the electromagnet assembly receives a first driving signal, the audio coil drives the diaphragm to vibrate and produce sound.
2. The loudspeaker according to claim 1, characterized in that The electromagnet assembly comprises: at least one first magnet group, the first magnet group comprising two first electromagnets, the two first electromagnets being distributed on opposite sides of the audio coil; The winding directions of the two first electromagnets are the same, and the magnetic poles of the two first electromagnets at one end facing the audio coil are opposite.
3. The loudspeaker according to claim 2, characterized in that The electromagnet assembly further comprises: at least one second magnet group, the second magnet group comprising two second electromagnets, the two second electromagnets being distributed on opposite sides of the audio coil, and the second electromagnets and the first electromagnets being alternately located on the circumference of the audio coil; The winding directions of the two second electromagnets are the same, the winding directions of the second electromagnets are different from the winding direction of the first electromagnet, and the magnetic poles of the two second electromagnets at one end facing the audio coil are opposite.
4. The loudspeaker according to claim 3, characterized in that The electromagnet assembly further comprises: A connecting line is disposed between the adjacent first electromagnet and the adjacent second electromagnet, and is used to electrically connect the adjacent first electromagnet and the adjacent second electromagnet.
5. An electronic device, characterized in that: include: The loudspeaker according to any one of claims 1 to 4; A driving component is connected to the electromagnet component and the audio coil in the speaker. The driving component is used to transmit an audio output signal to the audio coil when an audio input signal is received, and to transmit a first driving signal to the electromagnet component to drive the audio coil to drive the diaphragm to vibrate and produce sound.
6. The electronic device according to claim 5, characterized in that: The drive assembly comprises: a first power amplifier, wherein an output end of the first power amplifier is connected to the audio coil, the output end of the first power amplifier is used to output the audio output signal, and an input end of the first power amplifier is used to receive the audio input signal; a signal processing circuit, wherein an input end of the signal processing circuit is connected to an output end of the first power amplifier, the signal processing circuit is used to process the audio output signal to obtain an enable signal, and an output end of the signal processing circuit is used to output the enable signal; a second power amplifier, wherein an input end of the second power amplifier is used to receive a second drive signal, an enable end of the second power amplifier is connected to an output end of the signal processing circuit, an output end of the second power amplifier is connected to the electromagnet assembly, and the second power amplifier is used to transmit the first drive signal to the electromagnet assembly based on the second drive signal when receiving the enable signal.
7. The electronic device according to claim 6, characterized in that: The drive assembly comprises: A control chip is connected to the input end of the second power amplifier, and the control chip is used to transmit the second driving signal to the second power amplifier.
8. The electronic device according to claim 6, characterized in that: The signal processing circuit comprises: a signal amplifying circuit, wherein an input end of the signal amplifying circuit is connected to an output end of the first power amplifier; A half-wave rectifier circuit, wherein an input end of the half-wave rectifier circuit is connected to an output end of the signal amplifying circuit; an integrating circuit, wherein an input end of the integrating circuit is connected to an output end of the half-wave rectifying circuit; A discharge circuit, wherein the input end of the discharge circuit is connected to the output end of the integration circuit, and the output end of the discharge circuit is used to output the enable signal.
9. The electronic device according to claim 8, characterized in that: The signal processing circuit further includes: A level conversion circuit, wherein the input end of the level conversion circuit is connected to the output end of the discharge circuit, the output end of the level conversion circuit is connected to the second power amplifier, and the level conversion circuit is used to perform level conversion on the enable signal.
10. A method for controlling a speaker, characterized in that: The speaker comprises an audio coil, an electromagnet assembly and a driving assembly, wherein a diaphragm is arranged on the audio coil, the electromagnet assembly is arranged around the circumference of the audio coil, and the electromagnet assembly and the audio coil are arranged at intervals, the driving assembly is connected to the electromagnet assembly and the audio coil, and the control method of the speaker comprises: transmitting an audio input signal to the driving component; When the driving component receives the audio input signal, the driving component is controlled to transmit an audio output signal to the audio coil, and to transmit a first driving signal to the electromagnet component, so as to drive the audio coil to drive the diaphragm to vibrate and produce sound.
11. The method for controlling a loudspeaker according to claim 10, characterized in that: The driving component includes: a first power amplifier, a signal processing circuit and a second power amplifier; When the driving component receives the audio input signal, controlling the driving component to transmit the audio output signal to the audio coil and transmitting the first driving signal to the electromagnet component comprises: When the first power amplifier receives the audio input signal, controlling the first power amplifier to transmit the audio output signal to the audio coil; When the signal processing circuit receives the audio input signal, the signal processing circuit processes the audio input signal to obtain an enable signal, and transmits the enable signal to the second power amplifier; When the second power amplifier receives the enable signal, the second power amplifier is controlled to transmit the first drive signal to the electromagnet assembly.
12. The method for controlling a loudspeaker according to claim 11, characterized in that: The signal processing circuit comprises: a signal amplifying circuit, a half-wave rectifying circuit, an integrating circuit, a discharging circuit and a level converting circuit; The step of processing the audio input signal by the signal processing circuit to obtain an enable signal, and transmitting the enable signal to the second power amplifier includes: amplifying the audio input signal through the signal amplifying circuit to obtain a sine wave amplified signal, and transmitting the sine wave amplified signal to the half-wave rectifier circuit; The half-wave rectifier circuit performs half-wave rectification on the amplified sine wave signal to obtain a half-sine wave signal, and transmits the half-sine wave signal to the integration circuit; The half-sine wave signal is integrated by the integration circuit to obtain a DC signal, and the DC signal is transmitted to the discharge circuit; converting the DC signal into the enable signal through the discharge circuit, and transmitting the enable signal to the level conversion circuit; The level conversion circuit performs level conversion processing on the enable signal, and transmits the enable signal after level conversion to the second power amplifier.
13. A control device for a loudspeaker, characterized in that: The speaker comprises an audio coil, an electromagnet assembly and a driving assembly, wherein a diaphragm is arranged on the audio coil, the electromagnet assembly is arranged around the circumference of the audio coil, and the electromagnet assembly and the audio coil are arranged at intervals, the driving assembly is connected to the electromagnet assembly and the audio coil, and the control device of the speaker comprises: A transmission module, used for transmitting an audio input signal to the driving component; The control module is used to control the driving component to transmit an audio output signal to the audio coil and transmit a first driving signal to the electromagnet component when the driving component receives the audio input signal, so as to drive the audio coil to drive the diaphragm to vibrate and produce sound.
14. An electronic device, characterized in that: include: A processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the method according to any one of claims 10 to 12 are implemented.
15. A readable storage medium, characterized in that: The readable storage medium stores a program or an instruction, and when the program or the instruction is executed by a processor, the steps of the method according to any one of claims 10 to 12 are implemented.