Electronic device, audio noise reduction method, and storage medium
Patent Information
- Application Number
- CN202611061908.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-16
- Publication Date
- 2026-10-27
AI Technical Summary
[0004]然而,上述通过导电辅料构建物理屏蔽的隔离方式,仅能抑制空间辐射耦合所产生的电磁干扰,却无法阻断经由公共地回路传导的耦合电流,使得摄像头模组上仍会由于公共地回路传导的耦合电流而产生电流声,导致音频模块在接收到该电流声后输出的音频信号的有用信噪比较低
[0010]第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。
Smart Images

Figure CN122994602A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of electronic technology, specifically relating to an electronic device, an audio noise reduction method, and a storage medium. Background Technology
[0002] With the development of mobile communication technology, mobile terminals are integrating more and more functional modules. Because the communication module and camera module in a mobile terminal are often intertwined on the circuit board, during operation, the communication module generates coupling current in the camera module. This causes the camera module's coil to vibrate and produce a buzzing sound, which in turn causes the audio module to output a noisy audio signal.
[0003] To address this issue, the relevant technologies primarily involve adding conductive auxiliary materials between the communication module and the camera module on the circuit board to create a physical shield, thereby blocking or attenuating the electromagnetic energy coupled from the communication module to the camera module. This reduces the coupling current on the camera module to a certain extent, thus reducing current noise interference.
[0004] However, the above-mentioned isolation method of constructing physical shielding with conductive auxiliary materials can only suppress electromagnetic interference generated by spatial radiation coupling, but cannot block the coupling current conducted through the common ground loop. As a result, the camera module will still generate current noise due to the coupling current conducted through the common ground loop, resulting in a low useful signal-to-noise ratio of the audio signal output by the audio module after receiving the current noise. Summary of the Invention
[0005] The purpose of this application is to provide an electronic device, an audio noise reduction method, and a storage medium that can improve the useful signal-to-noise ratio of the audio signal output by the audio module after receiving current noise.
[0006] In a first aspect, embodiments of this application provide an electronic device, which includes a processing module, an audio module, a communication module, a camera module, and a current control module. The processing module is used to send a first current control command to the current control module when interference signals are detected in the audio signals output by the audio module. The current control module is connected to the processing module, the communication module, and the camera module, and is used to collect current information of the output current of the communication module based on the first current control command, generate a reverse current based on the current information, and send the reverse current to the camera module. The reverse current is opposite in phase to the output current and has the same frequency.
[0007] Secondly, embodiments of this application provide an audio noise reduction method, which includes: when the processing module detects an interference signal in the audio signal output by the audio module, sending a first current control command to the current control module through the processing module; and, based on the first current control command, collecting current information of the output current of the communication module through the current control module, generating a reverse current based on the current information, and sending the reverse current to the camera module; wherein the reverse current is opposite in phase to the output current and has the same frequency.
[0008] Thirdly, embodiments of this application provide an electronic device including a processor and a memory, wherein the memory stores programs or instructions executable on the processor, and the programs or instructions, when executed by the processor, implement the steps of the method described in the first aspect.
[0009] Fourthly, embodiments of this application provide a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the method described in the first aspect.
[0010] Fifthly, embodiments of this application provide a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the method as described in the first aspect.
[0011] In a sixth aspect, embodiments of this application provide a computer program product stored in a storage medium, which is executed by at least one processor to implement the method described in the first aspect.
[0012] In this embodiment, by adding a current control module to the electronic device, when the processing module in the electronic device detects interference signals in the audio signal output by the audio module, it can send a current control command to the current control module to instruct the current control module to collect the current information of the output current of the communication module and inject a reverse current into the camera module based on the current information. Since the reverse current is a current with the opposite phase and the same frequency as the output current of the communication module, it can offset the coupling current in the coil of the camera module, thereby reducing the current noise generated by the vibration of the coil due to the coupling current. This reduces the current noise received by the audio module from the root, thereby improving the useful signal-to-noise ratio of the audio signal output by the audio module. Attached Figure Description
[0013] Figure 1 This is one of the circuit structure schematic diagrams of a current control device provided in the embodiments of this application;
[0014] Figure 2 This is an exploded view of a camera using a current control device provided in an embodiment of this application;
[0015] Figure 3 This is a schematic diagram illustrating the coupling current generation principle of a current control device provided in an embodiment of this application;
[0016] Figure 4 This is one of the circuit structure schematic diagrams of a current control device provided in the embodiments of this application;
[0017] Figure 5 This is a schematic diagram of the sampling circuit of a current control device provided in an embodiment of this application;
[0018] Figure 6A This is a waveform diagram of the coupling current of a current control device provided in an embodiment of this application;
[0019] Figure 6B This is a waveform diagram of the reverse current of a current control device provided in an embodiment of this application;
[0020] Figure 7 This is one of the circuit structure schematic diagrams of a current control device provided in the embodiments of this application;
[0021] Figure 8 This is a schematic flowchart of an audio noise reduction method provided in an embodiment of this application;
[0022] Figure 9 This is a schematic flowchart of an audio noise reduction method provided in an embodiment of this application;
[0023] Figure 10 This is a schematic diagram of the hardware structure of the electronic device provided in the embodiments of this application;
[0024] Figure 11 This is a schematic diagram of the hardware structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0025] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.
[0026] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0027] The terms "at least one," "at least one of," etc., used in the specification and claims of this application refer to any one, any two, or a combination of two or more of the included items. For example, at least one of a, b, and c can mean: "a," "b," "c," "a and b," "a and c," "b and c," and "a, b, and c," where a, b, and c can be single or multiple. Similarly, "at least two" refers to two or more items, and its meaning is similar to that of "at least one."
[0028] With the development of mobile communication technology, smartphones and other mobile terminals integrate more and more functional modules, especially communication modules and audio modules, whose layout and wiring are often intertwined. During high-speed Wi-Fi downloads or data transfers, users sometimes hear a audible "buzzing" current sound from the phone; this is a common problem in smart terminal products. The mechanism of this audio current sound is briefly described as follows: During high-speed downloads, the Wi-Fi module's pumping current changes dynamically, with a pumping frequency of tens of kHz. This results in a power supply ripple of tens of kHz, which is the main source of interference. Then, the Wi-Fi pumping loop radiates electromagnetic waves. If these waves are coupled to the loop coil on the camera, a frequency audible to the human ear will be generated in the audio current or camera circuit. When the audio or camera circuit is coupled to this noise frequency, it will be picked up directly or indirectly by the microphone circuit near the motherboard, ultimately becoming the "current sound" perceptible to the user.
[0029] In related technologies, adding ferrite beads and capacitors to the circuit, adding conductive auxiliary materials to the path for shielding and grounding optimization to reduce the energy coupled to the disturbed body in space, or keeping the communication module away from the audio module during the layout stage, these solutions either have limited effect on optimizing current noise, increase costs, or have high structural design requirements.
[0030] For example, during a Wi-Fi download, the Wi-Fi power supply circuit radiates electromagnetic waves with a pumping frequency of 10kHz. These electromagnetic waves are coupled to the motor coil inside a nearby camera. The coupled current causes the camera housing to vibrate up and down at the same frequency. This vibration is received by the microphone (MIC), so a current sound will be heard when the MIC is turned on during a Wi-Fi download.
[0031] To address the aforementioned issues, this application provides an electronic device, an audio noise reduction method, and a storage medium. By adding a current control module to the electronic device, when the processing module detects interference signals in the audio signal output by the audio module, it sends a current control command to the current control module. This command instructs the current control module to collect current information from the output current of the communication module and, based on this current information, inject a reverse current into the camera module. Since this reverse current is opposite in phase to the output current and has the same frequency, it can offset the coupling current in the camera module coil, thereby reducing the current noise generated by the coil vibration due to the coupling current. This fundamentally reduces the current noise received by the audio module, thereby improving the useful signal-to-noise ratio of the audio signal output by the audio module.
[0032] The electronic device, audio noise reduction method, and storage medium provided in this application will be described in detail below with reference to the accompanying drawings and through specific embodiments and application scenarios.
[0033] Figure 1 A schematic diagram of the structure of the buffer device 1000 provided in an embodiment of this application is shown. Figure 1 As shown, the electronic device 1000 provided in this application embodiment may include a processing module 1001, an audio module 1002, a communication module 1003, a camera module 1004, and a current control module 1005, wherein:
[0034] The aforementioned processing module 1001 is used to send a first current control command to the aforementioned current control module 1005 when it detects that there is an interference signal in the audio signal output by the aforementioned audio module 1002.
[0035] The current control module 1005 is connected to the processing module 1001, the communication module 1003, and the camera module 1004. It is used to collect the current information of the output current of the communication module 1003 based on the first current control command, generate a reverse current based on the current information, and send the reverse current to the camera module 1004. The reverse current is opposite in phase to the output current and has the same frequency.
[0036] In some possible embodiments, the first end of the processing module 1001 is connected to the first end of the current control module 1005; the first end of the communication module 1003 is connected to the second end of the current control module 1005; and the first end of the camera module 1004 is connected to the third end of the current control module 1005.
[0037] In some possible embodiments, the processing module 1001 described above may be a central processing unit.
[0038] In some possible embodiments, the audio module 1002 described above may be a microphone.
[0039] For example, the aforementioned communication module may be a WIFI module, a cellular communication module, a wide area network module, etc.
[0040] In some possible embodiments, the camera module 1004 described above includes a loop coil.
[0041] For example, the camera in the camera module 1004 described above includes a loop coil. For instance, the camera can be an AF zoom camera, an OIS image stabilization camera, etc.
[0042] For example, taking the camera in the aforementioned camera module 1004 as an AF zoom camera, such as... Figure 2 As shown, Figure 2 An exploded view of an AF zoom camera is shown. An AF zoom camera includes: a shield case, a front spacer, a front spring, a magnet, a coil, a carrier, a rear spacer, a rear spring, and a base. Normally, during the operation of the communication module 1003, the operating current (also known as the pumping current) within the module is dynamically changing, generating power ripple on the power supply. This ripple is converted into electromagnetic waves and propagates outward. These electromagnetic waves are then coupled to the loop coil on the AF zoom camera, generating a coupling current in the coil. This causes the coil to vibrate and produce a buzzing sound. Consequently, the audio module receives this buzzing sound and outputs a noisy audio signal.
[0043] For example, such as Figure 3 As shown, Figure 3The diagram illustrates the principle of coupling current generation. When the communication module 1003 is a WIFI module, the WIFI module requires the battery to supply power to it through the WIFI power supply when it is working. The WIFI module, the WIFI power supply, and the battery form a power loop. Since the operating current of the WIFI module is dynamically changing, the PMIC power supply supplies power to the camera. The coil in the voice coil motor (VCM) used for focusing in the camera will generate coupling current due to the dynamically changing operating current of the communication module 1003, causing the camera to vibrate and generate current noise. This current noise is received by the main MIC of the audio module 1002 and will generate interference signals in the audio signal output by the audio module 1002.
[0044] To address the aforementioned noise issue, this application collects the current information of the output current of the communication module 1003 and generates a reverse current with the same frequency but opposite phase as the output current based on the current information, thereby reducing the current noise caused by camera vibration due to coupling current.
[0045] In some possible embodiments, the first current control command is used to instruct the current control module 1005 to collect the current information of the output current of the communication module 1003, so that the current control module 1005 can generate a reverse current that is opposite in phase and has the same frequency as the output current, and inject the reverse current into the loop coil of the camera module 1004. The reverse current offsets the coupling current of the loop coil, reduces the coupling current in the loop coil, and reduces the current noise caused by vibration due to the coupling current, so as to prevent the current noise from being received by the audio module 1002.
[0046] In some possible embodiments, when the processing module 1001 detects an interference signal in the audio signal output by the audio module 1002, it indicates that the loop coil in the current camera module 1004 is vibrating due to the coupling current, generating a current noise, and that this current noise is received by the audio module 1002, which then outputs an interference signal. At this time, the processing module 1001 can send a first current control command to the current control module 1005.
[0047] In some possible embodiments, the current information of the output current of the communication module 1003 includes, but is not limited to: phase, frequency, amplitude, and duty cycle.
[0048] In some possible embodiments, the current control module 1005 can generate reverse current information with the same frequency but opposite phase based on the phase and frequency in the current information, and generate a reverse current according to the reverse current information.
[0049] In some possible embodiments, after the current control module 1005 injects the generated reverse current into the camera module, the reverse current can offset the coupling current generated by the output current of the communication module 1003 in the camera module, reduce the magnitude of the coupling current, and reduce the interference signal received by the audio module 1002.
[0050] In this embodiment, by adding a current control module 1005 to the electronic device 1000, when the processing module 1001 in the electronic device 1000 detects interference signals in the audio signal output by the audio module 1002, it sends a current control command to the current control module 1005 to instruct the current control module 1005 to collect the current information of the output current of the communication module 1003, and inject a reverse current into the camera module 1004 based on the current information. Since the reverse current is a current with the opposite phase and the same frequency as the output current, it can offset the coupling current in the coil of the camera module 1004, thereby reducing the current noise generated by the vibration of the coil due to the coupling current. This reduces the current noise received by the audio module 1002 from the source, thereby improving the useful signal-to-noise ratio of the audio signal output by the audio module 1002.
[0051] In some possible embodiments, combined Figure 1 ,like Figure 4 As shown, the current control module 1005 includes a control unit 10051, a sampling unit 10052, and a reverse current generation unit 10053; the control unit 10051 is connected to the sampling unit 10052 and the reverse current generation unit 10053 respectively; the sampling unit 10052 is connected to the communication module 1003, and the reverse current generation unit 10053 is connected to the camera module 1004.
[0052] In some possible embodiments, the first terminal of the control unit 10051 is connected to the first terminal of the sampling unit 10052; the second terminal of the control unit 10051 is connected to the first terminal of the processing module 1001; the third terminal of the control unit 10051 is connected to the first terminal of the reverse current generating unit 10053; the second terminal of the sampling unit 10052 is connected to the first terminal of the communication module 1003; and the second terminal of the reverse current generating unit 10053 is connected to the first terminal of the camera module 1004.
[0053] In some possible embodiments, the control unit 10051 is configured to receive the first current control command from the processing module 1001 and, based on the first current control command, send a current sampling command to the sampling unit 10052; the sampling unit 10052 is configured to collect current information of the output current of the communication module 1003 based on the current sampling command and transmit the current information to the control unit 10051; the control unit 10051 is further configured to send a reverse current generation command to the reverse current generation unit 10053 based on the current information, the reverse current generation command including reverse current information; the reverse current generation unit 10053 is configured to generate the reverse current based on the reverse current information and send the reverse current to the camera module 1004.
[0054] In some possible embodiments, the control unit 10051 may be a basic logic device, a programmable logic device, or a microprogram controller, for receiving instructions from the processing module 1001 and sending instructions and information to the sampling unit 10052 and the reverse current generation unit 10053, or receiving instructions and information from the sampling unit 10052 and the reverse current generation unit 10053.
[0055] In some possible embodiments, the sampling unit 10052 is used to collect current information of the output current of the communication module 1003. For example, the sampling unit 10052 may be a Hall effect chip, a current transformer, a shunt resistor, etc.
[0056] For example, Figure 5 A possible sampling circuit diagram is shown. For example... Figure 5 As shown, the sampling unit 10052 includes an output power supply +VCC, a sampling resistor, and a differential amplifier. The sampling unit can collect current information such as the frequency, voltage, and phase of the current. Specifically, a sampling resistor is connected in series between the output power supply +VCC and the communication module 1003 to generate a voltage difference. By measuring this voltage difference, the magnitude of the current can be obtained. The differential amplifier connected across the sampling resistor samples the resistance across the sampling resistor to amplify the signal and obtain the output current Vout = G × (Vs+ - Vs-).
[0057] In some possible embodiments, the reverse current generation unit 10053 is used to generate a reverse current based on the reverse current information in the current generation command received from the control unit 10051. For example, the reverse current generation unit 10053 may be a power semiconductor switch, a power amplifier, a programmable current source, etc.
[0058] In some possible embodiments, the above-mentioned current sampling command is used to instruct the sampling unit 10052 to collect current information of the output current of the communication module 1003.
[0059] In some possible embodiments, after receiving the first current control command, the control unit 10051 can determine that the output current of the current communication module 1003 has generated a coupling current in the camera module 1004, and it is necessary to collect the current information of the output current in the communication module 1003 to generate a reverse current. At this time, the control unit 10051 can send a sampling command to the sampling unit 10052.
[0060] In some possible embodiments, after receiving a sampling command, the sampling unit 10052 can obtain the frequency information of the output current of the communication module 1003 by using the zero-crossing detection method, obtain the phase information of the output current of the communication module 1003 by using the zero-crossing time difference method, and send the current information to the control unit 10051.
[0061] In some possible embodiments, after receiving the current information, the control unit 10051 can obtain reverse current information based on the current information. The reverse current information has the same frequency and opposite phase to the current information, and sends a reverse current generation command including the reverse current information to the reverse current generation unit 10053.
[0062] In some possible embodiments, after receiving a reverse current generation command, the reverse current generation unit 10053 can generate a reverse current based on the reverse current information in the reverse current generation command and send the reverse current to the camera module 1004. Since the reverse current has the same frequency and opposite phase as the output current, the current and the coupling current on the loop coil in the camera module 1004 can cancel each other out, thereby reducing the impact of the coupling current on the camera module 1004 and reducing or eliminating the current noise caused by the vibration of the camera module 1004.
[0063] For example, Figure 6A A schematic diagram of the coupling current waveform of the camera's loop collar is shown. Figure 6B The diagram shows a waveform of the reverse current generated by the current control module 1005, based on... Figure 6A and Figure 6B It can be seen that since the coupling current and the reverse current have the same frequency but opposite phase, injecting the reverse current into the camera coil can offset the coupling current, thereby eliminating the coupling current.
[0064] In some possible embodiments, the processing module 1001 is further configured to, when an interference signal is detected in the audio signal output by the audio module 1002, send a second current control command to the current control module 1005 based on the signal parameters of the detected interference signal, the second current control command including a reverse current adjustment parameter; the current control module 1005 is further configured to adjust the reverse current based on the reverse current adjustment parameter in the second current control command.
[0065] In some possible embodiments, the above signal parameters may include, but are not limited to, information such as the signal strength, frequency, phase, amplitude, and time-domain characteristics of the interference signal.
[0066] In some possible embodiments, the second current control command described above is used to instruct the current control module 1005 to adjust the reverse current.
[0067] In some possible embodiments, the above-mentioned reverse current adjustment parameters may include information such as the phase and frequency of the reverse current.
[0068] In some possible embodiments, when the processing module 1001 detects an interference signal in the audio signal output by the audio module 1002, it indicates that the reverse current generated by the current control module 1005 is insufficient to completely offset the coupling current in the camera module 1004. At this time, the processing module 1001 can obtain the signal parameters of the interference signal and adjust the frequency, phase, and intensity of the reverse current through the current control module 1005, thereby adjusting the reverse current so that the influence of the coupling current on the camera module 1004 can be reduced as much as possible through the reverse current, thereby reducing the vibration-generated current noise.
[0069] In some possible embodiments, after receiving the second current control command, the current control module 1005 can adjust the reverse current based on the reverse current adjustment parameter in the second current control command.
[0070] In some possible embodiments, the control unit 10051 is further configured to receive the second current control command from the processing module 1001, generate a current adjustment command based on the reverse current adjustment parameters, and send the current adjustment command to the reverse current generation unit 10053; the reverse current generation unit 10053 is further configured to adjust the reverse current based on the current adjustment command.
[0071] In some possible embodiments, the above-mentioned current adjustment command is used to instruct the reverse current generation module to adjust the reverse current in order to reduce interference signals in the audio signal output by the audio module 1002.
[0072] In some possible embodiments, after receiving the second current control command, the control unit 10051 can generate a current adjustment command based on the reverse current adjustment parameter in the second current control command and send it to the reverse current generation unit 10053. The current adjustment command is used to instruct the reverse current generation unit 10053 to adjust the reverse current.
[0073] In some possible embodiments, after receiving a current adjustment command, the reverse current generation unit 11053 can adjust the reverse current according to the reverse current adjustment parameters in the current adjustment command.
[0074] Thus, after generating the reverse current, the interference signal in the audio signal output by the audio module 1002 is detected, and the intensity of the interference signal is minimized by adjusting the reverse current, thereby achieving the optimal adjustment effect through the reverse current.
[0075] Understandably, by generating a compensation current with the same frequency but opposite phase to the Wi-Fi power-draining current, the motor inside the camera stops vibrating after the compensation current cancels out the interference current. This breaks the noise transmission chain of "power-draining radiation, coil coupling, camera vibration, and microphone pickup," thus solving the current noise problem in the terminal product. Related technologies optimize circuits at the source, such as in the Wi-Fi circuitry, but this inevitably impacts the communication circuitry. This application's embodiment designs a power optimization circuit on the rear main camera to address current noise. Furthermore, a novel rear camera power control circuit scheme and corresponding method are designed, which can solve the current noise problem during Wi-Fi downloads.
[0076] The following example uses communication module 1003 as a WIFI module. Figure 7 As shown, the electronic device includes a processing module 1101, an audio module 1102, a WIFI module 1103, a camera module 1104, and a current control module 1105. The audio module 1102 includes a microphone 11021, and the current control module 1105 includes a control unit 11051, a sampling unit 11052, and a reverse current generation unit 11053.
[0077] Specifically, when the WIFI module 1103 is performing high-speed downloads, the current emitted by the battery module of the electronic device supplies power to the WIFI module 1103 through the WIFI power module. The pumping current in this power supply loop is dynamically changing, thus generating a coupling current in the camera module 1104 according to the frequency of the pumping current. This coupling current causes the camera module 1104 to vibrate and generate a current noise. After this current noise is received by the audio module 1102, it will cause interference signals in the output audio signal, resulting in a low useful signal-to-noise ratio of the audio signal output by the audio module 1102. Therefore, by adding a current control module 1105 to generate a reverse current to offset the coupling current, when the processing module 1101 receives the interference signal in the audio signal output by the audio module 1102, it can send a first current control command to the control unit 11051 in the current control module 1105. The first current control command is sent to the sampling unit 11052. After receiving the first current control command, the sampling unit 11052 can collect the current information of the working current in the WIFI module 1103 and send the current information to the control unit 11051. After receiving the current information, the control unit 11051 can generate a reverse current generation command based on the current information and send it to the reverse current generation unit 11053 to control the reverse current generation unit 11053 to generate a reverse current. Then, the reverse current generation unit 11053 injects the reverse current into the camera module 1104 to offset the coupling current in the camera module 1104, reduce the current noise generated by the vibration of the camera module 1104 caused by the coupling current, thereby reducing the current noise received by the audio module 1102 and reducing the interference signal in the audio signal output by the audio module 1102.
[0078] After the current control unit 11051 generates a reverse current and injects it into the camera module 1104, the processing module 1101 can continue to detect the audio signal output by the audio module 1102. If it detects that there is still an interference signal in the audio signal output by the audio module 1102, it can send a second current control command to the control unit 11051 in the current control module 1105, so that the control unit 11051 sends a current adjustment command to the reverse current generation unit 11053 according to the second current control command. The current adjustment command instructs the reverse current generation unit 11053 to adjust the reverse current until the processing module 1101 detects that the strength of the interference signal in the audio signal output by the audio module 1102 is lower than the preset signal strength threshold.
[0079] The audio noise reduction method provided in this application can be implemented by an electronic device. This application uses a method for current control by an electronic device as an example to illustrate the current control device provided in this application.
[0080] The audio noise reduction method provided in this application will be described in detail below with reference to the accompanying drawings, through specific embodiments and application scenarios.
[0081] Figure 8 The diagram shows a flowchart of an audio noise reduction method provided in an embodiment of this application. This audio noise reduction method is applied to the electronic device described in the above embodiment. The structure of the electronic device can be referred to the description above, and will not be repeated here.
[0082] like Figure 8 As shown, the audio noise reduction method provided in this application embodiment may include the following steps 201 and 202.
[0083] Step 201: When the electronic device detects an interference signal in the audio signal output by the audio module through the processing module, it sends a first current control command to the current control module through the processing module.
[0084] In some embodiments of this application, the interference signal present in the audio signal output by the audio module is generated by the audio module receiving current noise from the camera module.
[0085] In some embodiments of this application, the current noise in the camera module is caused by the vibration of the camera module due to the coupling current generated in the loop coil of the camera module.
[0086] In some embodiments of this application, the aforementioned coupling current is generated on the loop coil in the camera module due to the dynamic changes in the operating current of the communication module.
[0087] In some embodiments of this application, the first current control command is used to instruct the current control module to generate a reverse current to offset the coupling current.
[0088] Step 202: The electronic device, through the current control module, collects the current information of the output current of the communication module based on the first current control command, generates a reverse current based on the current information, and sends the reverse current to the camera module.
[0089] In some embodiments of this application, the reverse current is out of phase and has the same frequency as the output current.
[0090] In some embodiments of this application, the electronic device can collect current information such as the phase and frequency of the output current of the communication module through the current control module.
[0091] In some embodiments of this application, the electronic device can generate a reverse current based on the aforementioned current information.
[0092] In some embodiments of this application, the aforementioned reverse current is used to inject into the camera module to offset the coupling current in the camera module.
[0093] In some embodiments, combined with Figure 8 ,like Figure 9 As shown, step 202 above can be specifically implemented through steps 202a to 202d below.
[0094] Step 202a: The electronic device receives a first current control command from the processing module through the control unit in the current control module, and sends a current sampling command to the sampling unit in the current control module based on the first current control command.
[0095] In some embodiments of this application, the first current control command is used to instruct the control unit phase sampling unit to send a current sampling command.
[0096] In some embodiments of this application, the above-mentioned current sampling instruction is used to instruct the sampling unit to collect current information.
[0097] In some embodiments of this application, the electronic device can receive and parse the first current control command through the control unit, and send the current sampling command to the sampling unit.
[0098] Step 202b: The electronic device, through the sampling unit, collects the current information of the output current of the communication module based on the current sampling command, and transmits the current information to the control unit.
[0099] In some embodiments of this application, the electronic device can collect current information of the output current of the communication module through a sampling unit.
[0100] In some embodiments of this application, the electronic device can transmit current information to the control unit so that the control unit can generate reverse current generation information based on the current information.
[0101] Step 202c: The electronic device sends a reverse current generation command to the reverse current generation unit in the current control module based on the current information through the control unit.
[0102] In some embodiments of this application, the aforementioned reverse current generation instruction includes reverse current information.
[0103] In some embodiments of this application, the above-mentioned reverse current generation instruction is used to instruct the reverse current generation unit to generate a reverse current.
[0104] In some embodiments of this application, the frequency of the reverse current is the same as the frequency of the output current of the communication module, and the phase of the reverse current is opposite to the phase of the output current of the communication module.
[0105] In some embodiments of this application, the electronic device can generate reverse current information based on the aforementioned current information through the control unit, and add the reverse current generation information to the reverse current generation instruction so that the reverse current generation unit can generate a reverse current according to the reverse current generation information.
[0106] Step 202d: The electronic device generates the aforementioned reverse current based on the reverse current information through the reverse current generation unit, and sends the reverse current to the aforementioned camera module.
[0107] In some embodiments of this application, the electronic device can generate a reverse current to offset the coupling current in the camera module based on the reverse current generation information through the aforementioned reverse current generation unit.
[0108] It should be noted that since the coupling current in the camera module is generated based on the output current in the communication module, the frequency, phase and other current information of the coupling current and the output current are the same. Therefore, the reverse current information can be obtained based on the current information of the collected output current, so that the reverse current generated based on the reverse current information can offset the coupling current.
[0109] In some embodiments, the audio noise reduction method provided in this application may further include the following steps 301 and 302.
[0110] Step 301: When the electronic device detects an interference signal in the audio signal output by the audio module through the processing module, the processing module sends a second current control command to the current control module based on the signal parameters of the detected interference signal.
[0111] In some embodiments of this application, the second current control command includes a reverse current adjustment parameter.
[0112] In some embodiments of this application, the above-mentioned reverse current adjustment parameters may include information such as the adjusted current frequency, phase, and reverse current intensity.
[0113] In some embodiments of this application, the electronic device can detect the strength of interference signals in the audio signal output by the audio module through the processing module.
[0114] In some embodiments of this application, the electronic device can continuously send a second current control command to the current control module to adjust the reverse current until the interference signal strength detected by the processing module is lower than a preset signal strength threshold.
[0115] Step 302: The electronic device adjusts the reverse current based on the reverse current adjustment parameter in the second current control command through the current control module.
[0116] In some embodiments of this application, the electronic device can continuously adjust the reverse current through the current control module until the interference signal strength contained in the audio signal output by the audio module is lower than a preset signal strength threshold.
[0117] In some embodiments, step 302 can be implemented by steps 302a and 302b.
[0118] Step 302a: The electronic device receives the second current control command from the processing module through the control unit, generates a current adjustment command based on the reverse current adjustment parameters, and sends the current adjustment command to the reverse current generation unit.
[0119] In some embodiments of this application, the electronic device may receive a second control command through a control unit, which is used to instruct the reverse current generation unit to adjust the reverse current.
[0120] In some embodiments of this application, the aforementioned reverse current adjustment parameters may include current information such as the frequency and phase of the target reverse current.
[0121] Step 302b: The electronic device adjusts the reverse current based on the current adjustment command through the reverse current generation unit.
[0122] In some embodiments of this application, the electronic device can adjust the reverse current through a reverse current generation unit so that the reverse current conforms to the reverse current adjustment parameters.
[0123] In some embodiments, the step 202 above, "the electronic device collects the current information of the output current of the communication module through the current control module based on the first current control command", can be specifically implemented through the following step 202e.
[0124] Step 202e: The electronic device, through the current control module, collects the current information of the output current of the power module in the communication module based on the first current control command.
[0125] In some embodiments of this application, the electronic device can collect current information of the output current of the power module in the communication module through the current control module.
[0126] It should be noted that since the output current of the power module in the communication module needs to change dynamically according to the working conditions of the communication module, a coupling current is generated in the camera module. Therefore, by collecting the current information of the output current in the power module, a more accurate reverse current can be obtained to offset the coupling current.
[0127] In this embodiment, when the processing module in the electronic device detects interference signals in the audio signal output by the audio module, it sends a current control command to the current control module in the electronic device to instruct the current control module to collect the current information of the output current of the communication module, and injects a reverse current into the camera module based on the current information. Since the reverse current is a current with the opposite phase and the same frequency as the output current, the reverse current can offset the coupling current in the coil of the camera module, thereby reducing the current noise generated by the vibration of the coil due to the coupling current, reducing the current noise received by the audio module from the root, and thus improving the useful signal-to-noise ratio of the audio signal output by the audio module.
[0128] The audio noise reduction method provided in this application is applied to the electronic device described in the above embodiment. The audio noise reduction method provided in this application may include the following steps S1 to S3.
[0129] S1. The electronic device detects interference signals in the output signal of the audio module through the central processing unit.
[0130] In some embodiments of this application, when the electronic device is downloading via WIFI, the microphone 11021MIC is turned on, and then the audio signal is detected by the central processing unit (CPU). When noise is detected, the CPU is notified.
[0131] S2. The electronic device generates a reverse current that is injected into the camera coil.
[0132] In some embodiments of this application, the electronic device samples the output current of the WIFI power supply through the CPU-side control unit and sampling unit to obtain the frequency, phase, and amplitude of the current output by the WIFI power supply at this time.
[0133] In some embodiments of this application, the electronic device can control the reverse current generation module to generate currents with the same amplitude, the same frequency, and opposite phase, and inject them into the camera coil.
[0134] S3. The electronic device adjusts the reverse current based on the current interference in the audio signal.
[0135] In some embodiments of this application, after the electronic device injects reverse current into the coil through the reverse current generation module, the microphone 11021 is turned on to detect the current noise.
[0136] In some embodiments of this application, the electronic device can dynamically adjust the current amplitude generated by the reverse current generation module based on the detected current sound results.
[0137] In some embodiments of this application, when the electronic device detects the minimum current noise at a certain amplitude modulation level, the current output by the reverse current generation module is fixed at this amplitude, and the phase remains unchanged. This achieves closed-loop control of the current noise level.
[0138] It should be noted that each of the above method embodiments, or various possible implementations of each method embodiment, can be executed individually or in combination of any two or more. The specific implementation can be determined according to actual usage requirements, and this application embodiment does not impose any restrictions on this.
[0139] The current control device in this application embodiment can be an electronic device or a component within an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the device.
[0140] Optionally, such as Figure 10 As shown, this application embodiment also provides an electronic device 900, including a processor 901 and a memory 902. The memory 902 stores a program or instructions that can run on the processor 901. When the program or instructions are executed by the processor 901, they implement the various steps of the above-described audio noise reduction method embodiment and can achieve the same technical effect. To avoid repetition, they will not be described again here.
[0141] It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.
[0142] Figure 11 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of this application.
[0143] The electronic device 100 includes, but is not limited to, components such as: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, camera module 111, and current control module 112.
[0144] Those skilled in the art will understand that the electronic device 100 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 110 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 11 The electronic device structure shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.
[0145] The processor 110 is used to send a first current control command to the current control module 112 when it detects that there is an interference signal in the audio signal received by the input unit 104.
[0146] The aforementioned current control module 112 is used to collect current information of the output current of the network module 102 based on the aforementioned first current control command, generate a reverse current based on the aforementioned current information, and send the reverse current to the aforementioned camera module 111; wherein the aforementioned reverse current is opposite in phase to the aforementioned output current and has the same frequency.
[0147] In this embodiment, by adding a current control module to the electronic device, when the processing module in the electronic device detects interference signals in the audio signal output by the audio module, it can send a current control command to the current control module to instruct the current control module to collect the current information of the output current of the communication module and inject a reverse current into the camera module based on the current information. Since the reverse current is a current with the opposite phase and the same frequency as the output current, it can offset the coupling current in the coil of the camera module, thereby reducing the current noise generated by the vibration of the coil due to the coupling current. This reduces the current noise received by the audio module from the source, thereby improving the useful signal-to-noise ratio of the audio signal output by the audio module.
[0148] It should be noted that the description of the current control module 111 mentioned above can be found in the detailed introduction of the current control module above. To avoid repetition, it will not be repeated here.
[0149] It should be understood that, in this embodiment, the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042. The GPU 1041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 107 includes at least one of a touch panel 1071 and other input devices 1072. The touch panel 1071 is also called a touch screen. The touch panel 1071 may include a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, and joysticks, which will not be described in detail here.
[0150] The memory 109 can be used to store software programs and various data. The memory 109 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 109 may include volatile memory or non-volatile memory, or it may include both volatile and non-volatile memory. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 109 in the embodiments of this application includes, but is not limited to, these and any other suitable types of memory.
[0151] Processor 110 may include one or more processing units; optionally, processor 110 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into processor 110.
[0152] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described audio noise reduction method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.
[0153] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
[0154] This application embodiment also 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 the various processes of the above-described audio noise reduction method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0155] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.
[0156] This application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the audio noise reduction method embodiments described above, and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0157] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
[0158] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0159] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.
Claims
1. An electronic device, comprising a processing module, an audio module, a communication module, and a camera module, characterized in that, The electronic device also includes a current control module; The processing module is used to send a first current control command to the current control module when there is an interference signal in the audio signal output by the audio module. The current control module is connected to the processing module, the communication module, and the camera module. It is used to collect the current information of the output current of the communication module based on the first current control command, generate a reverse current based on the current information, and send the reverse current to the camera module. The reverse current is opposite in phase to the output current and has the same frequency.
2. The electronic device according to claim 1, characterized in that, The current control module includes a control unit, a sampling unit, and a reverse current generation unit; the control unit is connected to both the sampling unit and the reverse current generation unit; the sampling unit is connected to the communication module, and the reverse current generation unit is connected to the camera module. The control unit is configured to receive the first current control command from the processing module, and send a current sampling command to the sampling unit based on the first current control command. The sampling unit is used to collect current information of the output current of the communication module based on the current sampling command, and transmit the current information to the control unit; The control unit is further configured to send a reverse current generation instruction to the reverse current generation unit based on the current information, wherein the reverse current generation instruction includes the reverse current information; The reverse current generation unit is used to generate the reverse current based on the reverse current information and send the reverse current to the camera module.
3. The electronic device according to claim 2, characterized in that, The processing module is further configured to, when an interference signal is detected in the audio signal output by the audio module, send a second current control command to the current control module based on the signal parameters of the detected interference signal, wherein the second current control command includes a reverse current adjustment parameter; The current control module is further configured to adjust the reverse current based on the reverse current adjustment parameter in the second current control command.
4. The electronic device according to claim 3, characterized in that, The control unit is further configured to receive the second current control command from the processing module, generate a current adjustment command based on the reverse current adjustment parameters, and send the current adjustment command to the reverse current generation unit. The reverse current generation unit is also used to adjust the reverse current based on the current adjustment command.
5. An audio noise reduction method, characterized in that, Applied to the electronic device according to any one of claims 1 to 4, the electronic device comprising a processing module, an audio module, a communication module, a camera module, and a current control module, the method comprising: When the processing module detects an interference signal in the audio signal output by the audio module, it sends a first current control command to the current control module. The current control module collects the current information of the output current of the communication module based on the first current control command, and generates a reverse current based on the current information, and sends the reverse current to the camera module; wherein the reverse current is opposite in phase and has the same frequency as the output current, and the reverse current is used to offset the coupling current generated by the output current of the communication module to the camera module, so as to reduce audio noise.
6. The audio noise reduction method according to claim 5, characterized in that, The step of acquiring current information of the output current of the communication module based on the first current control command through the current control module, generating a reverse current based on the current information, and sending the reverse current to the camera module includes: The control unit in the current control module receives the first current control command from the processing module, and sends a current sampling command to the sampling unit in the current control module based on the first current control command. The sampling unit collects the current information of the output current of the communication module based on the current sampling command, and transmits the current information to the control unit. The control unit sends a reverse current generation command to the reverse current generation unit in the current control module based on the current information. The reverse current generation command includes reverse current information. The reverse current generation unit generates the reverse current based on the reverse current information and sends the reverse current to the camera module.
7. The audio noise reduction method according to claim 6, characterized in that, The method further includes: When the processing module detects an interference signal in the audio signal output by the audio module, the processing module sends a second current control command to the current control module based on the signal parameters of the detected interference signal. The second current control command includes a reverse current adjustment parameter. The reverse current is adjusted by the current control module based on the reverse current adjustment parameter in the second current control command.
8. The audio noise reduction method according to claim 7, characterized in that, The step of adjusting the reverse current through the current control module based on the reverse current adjustment parameter in the second current control command includes: The control unit receives the second current control command from the processing module, generates a current adjustment command based on the reverse current adjustment parameters, and sends the current adjustment command to the reverse current generation unit. The reverse current is adjusted by the reverse current generation unit based on the current adjustment command.
9. An electronic device, characterized in that, It includes a processor and a memory, the memory storing a program or instructions that can run on the processor, the program or instructions being executed by the processor to implement the steps of the audio noise reduction method as described in any one of claims 5-8.
10. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the steps of the audio noise reduction method as described in any one of claims 5-8.
