Electromagnetic interference elimination circuit for SPI communication
By connecting a common mode inductor to the SPI communication interface and increasing the high-frequency impedance of the communication line, the problem of SPI communication equipment being susceptible to electromagnetic interference in industrial scenarios is solved, enabling normal use of the equipment and reducing costs.
Patent Information
- Application Number
- CN202323580687.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-27
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2033-12-27
AI Technical Summary
In industrial scenarios, SPI communication equipment is susceptible to electromagnetic interference (EMI). Existing solutions such as adding a magnetic ring are costly and not suitable for all scenarios, and there is a lack of effective electromagnetic interference elimination methods.
Design an electromagnetic interference elimination circuit for SPI communication. Connect the common mode inductor through the SPI communication interface on the main device side to increase the high-frequency impedance of the communication line and reduce the common mode current, thereby reducing the EMI power.
It effectively reduces EMI power and improves the high-frequency impedance of equipment communication lines. It is suitable for a variety of industrial scenarios, reduces costs and improves the normal utilization rate of equipment.
Smart Images

Figure CN221784042U
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of SPI communication, and in particular to an electromagnetic interference elimination circuit for SPI communication. Background Art
[0002] In industrial scenarios, devices such as inverters that use SPI communication are often used. Industrial scenarios are generally complex and have a lot of electromagnetic interference (EMI). These electromagnetic interferences usually interfere with SPI communication devices, causing the devices to not work properly. In order to solve this problem, we found that adding an anti-interference magnetic ring in the middle of the SPI communication line will enable most industrial equipment in industrial scenarios to work normally. However, adding a magnetic ring is costly and is not suitable for all scenarios. Therefore, a better solution is urgently needed. Utility Model Content
[0003] The purpose of this application is to provide an electromagnetic interference elimination circuit for SPI communication to solve the technical problems raised in the above background technology.
[0004] To achieve the above-mentioned purpose, the present application discloses the following technical scheme: an electromagnetic interference elimination circuit for SPI communication, comprising a main chip at the main device end and an SPI communication interface J6 connected to the main chip, wherein pin 8 of the SPI communication interface J6 is connected to a common-mode inductor L4, pin 1 of the SPI communication interface J6 is grounded, pin 2 is connected to the IKEY-EN pin of the main chip, pin 3 is connected to the KEY-SH / L pin of the main chip, pin 4 is connected to the KEY-DO pin of the main chip, pin 5 is connected to the IKEY-DI-E pin of the main chip, pin 6 is connected to the KEY-CLK pin of the main chip, and pin 7 is connected to the AI3-2 pin of the main chip.
[0005] Preferably, the common-mode inductor L4 includes a connection terminal 1 pin, a connection terminal 2 pin, a connection terminal 3 pin and a connection terminal 4 pin; the connection terminal 1 pin and the connection terminal 2 pin are arranged on the same side, and the connection terminal 3 pin and the connection terminal 4 pin are arranged on the same side, wherein the connection terminal 1 pin is connected to the 8th pin of the SPI communication interface J6, the connection terminal 2 pin and the connection terminal 4 pin are grounded, and the connection terminal 3 pin is connected to the +5V voltage.
[0006] Beneficial effect: The electromagnetic interference elimination circuit for SPI communication of the present application increases the high-frequency impedance of the device communication line to the SPI through the common-mode inductor L4 connected to the SPI communication interface J6, and increasing the impedance can reduce the common-mode current, thereby reducing the power value of EMI. BRIEF DESCRIPTION OF THE DRAWINGS
[0007] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.
[0008] Figure 1 This is a circuit schematic diagram of an electromagnetic interference elimination circuit for SPI communication provided in an embodiment of the present application. DETAILED DESCRIPTION
[0009] The technical solutions in the embodiments of the present application are described clearly and completely below. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present application.
[0010] In this article, the term "comprising" is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of more restrictions, the elements defined by the sentence "comprising..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0011] A kind of Figure 1 The electromagnetic interference elimination circuit for SPI communication shown includes a main chip at the main device end and an SPI communication interface J6 connected to the main chip, wherein pin 8 of the SPI communication interface J6 is connected to a common-mode inductor L4, pin 1 of the SPI communication interface J6 is grounded, pin 2 is connected to the IKEY-EN pin of the main chip, pin 3 is connected to the KEY-SH / L pin of the main chip, pin 4 is connected to the KEY-DO pin of the main chip, pin 5 is connected to the IKEY-DI-E pin of the main chip, pin 6 is connected to the KEY-CLK pin of the main chip, and pin 7 is connected to the AI3-2 pin of the main chip.
[0012] Based on the above, the electromagnetic interference elimination circuit for SPI communication in this embodiment increases the high-frequency impedance of the device communication line to the SPI through the common-mode inductor L4 connected to the SPI communication interface J6, and increasing the impedance can reduce the common-mode current, thereby reducing the power value of EMI.
[0013] Specifically, in this embodiment, the common-mode inductor L4 includes a connection terminal 1 pin, a connection terminal 2 pin, a connection terminal 3 pin and a connection terminal 4 pin; the connection terminal 1 pin and the connection terminal 2 pin are arranged on the same side, and the connection terminal 3 pin and the connection terminal 4 pin are arranged on the same side, wherein the connection terminal 1 pin is connected to the 8th pin of the SPI communication interface J6, the connection terminal 2 pin and the connection terminal 4 pin are grounded, and the connection terminal 3 pin is connected to the +5V voltage.
[0014] In the above description, the SPI communication interface J6 is the SPI communication interface of the master device, and the common mode inductor L4 is located close to the SPI communication interface J6 in the PCB of the master device.
[0015] It is understandable that the application of common-mode inductor L4 has a frequency restriction range, and it can only suppress common-mode noise within a certain frequency band. The noise frequency in most industrial scenarios is tens of KHZ. We need to consider inductance value, rated current, rated voltage, frequency impedance, temperature range and other conditions in the selection. Normally, the operating frequency of common-mode inductor L4 should be the same as the operating frequency of the circuit, which can be calculated by L=V / (I*f). Among them, L is the inductance value of common-mode inductor L4, in Henry; V is the working power supply voltage, in volts; I is the current passing through the common-mode inductor, in amperes; f is the operating frequency, in Hertz. At the same time, when the common-mode inductor L4 is used to suppress common-mode interference, it needs to have a certain anti-interference ability to prevent the interference signal from interfering with the original signal.
[0016] Finally, it should be noted that the above is only a preferred embodiment of the present application and is not intended to limit the present application. Although the present application has been described in detail with reference to the aforementioned embodiments, it is still possible for those skilled in the art to modify the technical solutions described in the aforementioned embodiments or to make equivalent substitutions for some of the technical features therein. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. An electromagnetic interference elimination circuit for SPI communication, comprising a main chip at a main device end and an SPI communication interface J6 connected to the main chip, characterized in that: Pin 8 of the SPI communication interface J6 is connected to a common-mode inductor L4, pin 1 of the SPI communication interface J6 is grounded, pin 2 is connected to the IKEY-EN pin of the main chip, pin 3 is connected to the KEY-SH / L pin of the main chip, pin 4 is connected to the KEY-DO pin of the main chip, pin 5 is connected to the IKEY-DI-E pin of the main chip, pin 6 is connected to the KEY-CLK pin of the main chip, and pin 7 is connected to the AI3-2 pin of the main chip.
2. The electromagnetic interference elimination circuit for SPI communication according to claim 1, characterized in that: The common-mode inductor L4 includes a connection terminal 1 pin, a connection terminal 2 pin, a connection terminal 3 pin and a connection terminal 4 pin; the connection terminal 1 pin and the connection terminal 2 pin are arranged on the same side, and the connection terminal 3 pin and the connection terminal 4 pin are arranged on the same side, wherein the connection terminal 1 pin is connected to the 8th pin of the SPI communication interface J6, the connection terminal 2 pin and the connection terminal 4 pin are grounded, and the connection terminal 3 pin is connected to the +5V voltage.
