Communication circuit and related device
By introducing anti-interference circuits, including common mode inductors and capacitors, into the WIFI module and processing module paths of terminal equipment, the problem of clutter interference during data signal transmission in routers is solved, network stability and signal quality are improved, and problems are avoided. Network lags and disconnections.
Patent Information
- Application Number
- CN202310833304.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-24
- Publication Date
- 2024-08-27
AI Technical Summary
Terminal devices are prone to network freezes and disconnections when connecting to the Internet through routers. This is mainly due to clutter interference in the bus transmission process between the processing module in the router and the WIFI module, resulting in data signal distortion and loss.
An anti-interference circuit is connected to the path of the WIFI module and processing module, and the anti-interference circuit is used to filter out the clutter interference generated during the signal transmission process, including using common mode inductors and capacitors to reduce the common mode interference of the data signal, and through the instantaneous State-of-the-art diodes improve surge and static electricity resistance.
It effectively improves abnormal phenomena such as network jams and interruptions caused by interference, improves the quality of data signals and clock signals, and ensures the stable operation of the bus.
Smart Images

Figure CN118555504A
Abstract
Description
[0001] This application is a divisional application. The application number of the original application is 202310159153.X, and the original application date is February 24, 2023. The entire contents of the original application are incorporated into this application by reference. Technical Field
[0002] The present application relates to the field of terminal technology, and in particular to communication circuits and related devices. Background Art
[0003] With the development of Internet technology, Internet access is becoming more and more popular in people's lives. Sometimes multiple terminal devices need to use one account to access the Internet at the same time. For example, in a home network, there are multiple terminal devices, such as mobile phones, computers, and network TVs. These terminal devices are all connected to a router, which is connected to the Internet through one account.
[0004] With the continuous upgrading of router products, the transmission rate of network cables is getting higher and higher, from the previous 10M, 100M, 1000M to the current 2.5G or 10G.
[0005] However, when terminal devices connect to the Internet through a router, they may experience lags, disconnections, and other issues, resulting in a poor user experience. Summary of the invention
[0006] The embodiment of the present application provides a communication circuit and related devices, which are applied to the field of terminal technology. An anti-interference circuit is connected in the path between the WIFI module and the processing module, and the clutter interference generated during the signal transmission process is filtered out by the anti-interference circuit, thereby effectively improving abnormal phenomena such as network freezes and interruptions caused by interference.
[0007] In the first aspect, the embodiment of the present application proposes a communication circuit. The communication circuit includes: a processing module, an anti-interference circuit and a wireless fidelity WIFI module; an anti-interference circuit is set on the bus path between the processing module and the WIFI module; the processing module is used to transmit a first data signal to the WIFI module, and receive a second data signal from the WIFI module; the anti-interference circuit is used to filter out interference when the bus transmits the first data signal, and / or, to filter out interference when the bus transmits the second data signal; the WIFI module is used to receive the first data signal from the processing module, and transmit the second data signal to the processing module; wherein the anti-interference circuit includes a first common-mode inductor, and / or, a second common-mode inductor; one end of the first common-mode inductor is connected to a first group of interfaces in the processing module for transmitting the first data signal, and the other end of the first common-mode inductor is connected to a second group of interfaces in the WIFI module for transmitting the first data signal; one end of the second common-mode inductor is connected to a third group of interfaces in the processing module for transmitting the second data signal, and the other end of the second common-mode inductor is connected to a fourth group of interfaces in the WIFI module for transmitting the second data signal.
[0008] In the embodiments of the present application, it is found that the network freeze and disconnection of the terminal device are caused by: when the processing module and the WIFI module in the router connected to the terminal device transmit data through the bus, there is noise interference, which causes the data obtained by the WIFI module to be distorted or lost, thereby causing abnormal phenomena such as network freeze and disconnection. In the embodiments of the present application, an anti-interference circuit is connected in the path between the WIFI module and the processing module, and the noise interference generated during the signal transmission process is filtered out by the anti-interference circuit, thereby effectively improving abnormal phenomena such as network freeze and disconnection caused by interference. In addition, the access to common-mode inductors can reduce common-mode interference in the data signal transmission process, reduce the distortion and loss of data signals, and thereby improve abnormal phenomena such as network freeze and disconnection caused by interference.
[0009] Optionally, the anti-interference circuit also includes a first capacitor, and / or a second capacitor; one end of the first capacitor is connected to the first interface or the second interface, and the other end of the first capacitor is grounded, the first interface is any interface in the first group of interfaces, and the second interface is any interface in the second group of interfaces; one end of the second capacitor is connected to the third interface or the fourth interface, and the other end of the second capacitor is grounded, the third interface is any interface in the third group of interfaces, and the fourth interface is any interface in the fourth group of interfaces; the value of the first capacitor is any value from 0pF to 68pF, and the value of the second capacitor is any value from 0pF to 68pF.
[0010] In this way, high-frequency interference during data signal transmission can be eliminated, data signal distortion and loss can be reduced, and network freezes, interruptions and other abnormal phenomena caused by interference can be improved.
[0011] Optionally, the value of the first capacitor is 8.2 pF, and the value of the second capacitor is 8.2 pF.
[0012] In this way, not only can abnormal conditions such as distortion and loss of data signals be effectively improved, but the operation of the bus can also be guaranteed.
[0013] Optionally, the first capacitor is connected to the second interface and is located on a side close to the WIFI module; the second capacitor is connected to the fourth interface and is located on a side close to the processing module.
[0014] In this way, the capacitor is placed on the receiving side of the first data signal, and the interference introduced in the transmission can be filtered out, further improving the filtering and anti-interference effect, and improving the quality of the first data signal. The capacitor is placed on the receiving side of the second data signal, and the interference introduced in the transmission can be filtered out, further improving the filtering and anti-interference effect, and improving the quality of the second data signal.
[0015] Optionally, the anti-interference circuit also includes: a first transient diode, and / or, a second transient diode; one end of the first transient diode is connected to the first interface or the second interface, and the other end of the first transient diode is grounded; one end of the second transient diode is connected to the third interface or the fourth interface, and the other end of the second transient diode is grounded.
[0016] In this way, the surge resistance and anti-static ability between the processing module and the WIFI module are improved, and the stability and reliability of signal transmission are improved.
[0017] Optionally, the processing module is also used to transmit a clock signal to the WIFI module, and the clock signal is used to trigger the WIFI module to read the first data signal; the anti-interference circuit also includes: a third capacitor; one end of the third capacitor is connected to the fifth group of interfaces in the processing module for transmitting the clock signal, and the other end of the third capacitor is connected to the sixth group of interfaces in the WIFI module for transmitting the clock signal; the value of the third capacitor is any value from 0pF to 265pF.
[0018] In this way, the DC component of the clock signal can be filtered out, so that the voltage value corresponding to the symmetry axis of the clock signal is closer to 0V, the offset of the sampling time is reduced, and the situation where the data signal read by the WIFI module is incorrect is reduced.
[0019] Optionally, the value of the third capacitor is 100 pF.
[0020] In this way, not only can abnormal conditions such as clock signal distortion be effectively improved, but the operation of the bus can also be guaranteed.
[0021] Optionally, the processing module is also used to transmit a clock signal to the WIFI module, and the clock signal is used to trigger the WIFI module to read the first data signal; the anti-interference circuit also includes: a fourth capacitor; one end of the fourth capacitor is connected to the fifth interface or the sixth interface, and the other end of the fourth capacitor is grounded, the fifth interface is any interface in the fifth group of interfaces in the processing module for transmitting the clock signal, and the sixth interface is any interface in the sixth group of interfaces in the WIFI module for transmitting the clock signal; the value of the fourth capacitor is any value from 0pF to 68pF.
[0022] In this way, the high-frequency interference received by the clock signal during transmission can be eliminated, the distortion and loss of the clock signal can be reduced, and abnormal phenomena such as network freezes and interruptions caused by interference can be improved.
[0023] Optionally, the value of the fourth capacitor is 8.2 pF.
[0024] In this way, not only can abnormal conditions such as clock signal distortion be effectively improved, but the operation of the bus can also be guaranteed.
[0025] Optionally, the fourth capacitor is connected to the sixth interface and is located on a side close to the WIFI module.
[0026] In this way, the capacitor is placed on the receiving side of the clock signal, which can also filter out the interference introduced during transmission, further improve the filtering anti-interference effect, and improve the quality of the clock signal.
[0027] Optionally, the bus is a Peripheral Component Interconnect standard PCIE bus path or a Serial Gigabit Media Independent SGMII bus.
[0028] Optionally, the WIFI module includes: a WIFI module operating in a 2.4G frequency band, and / or a WIFI module operating in a 5G frequency band.
[0029] In a second aspect, an embodiment of the present application provides an electronic device, the electronic device includes a terminal device, which may also be referred to as a terminal, a user equipment (UE), a mobile station (MS), a mobile terminal (MT), etc. The terminal device may be a router, a mobile phone, a smart TV, a wearable device, a tablet computer (Pad), a computer with a wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical surgery, a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, a wireless terminal in a smart home, etc.
[0030] The electronic device comprises: a power module, and the communication circuit of any one of the first aspects; the power module is used to supply power to the communication circuit.
[0031] The second aspect of the present application corresponds to the technical solution of the first aspect of the present application. The beneficial effects achieved by the feasible implementation methods corresponding to the second aspect are similar and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 A schematic diagram of a terminal device surfing the Internet provided in an embodiment of the present application;
[0033] Figure 2 A test diagram of a transition bit in a data signal transmitted in a PCIE bus in a possible design;
[0034] Figure 3 A schematic diagram of the structure of a communication circuit provided in an embodiment of the present application;
[0035] Figure 4 A test diagram of a jump bit in a data signal transmitted in a PCIE bus after adding a common mode inductor provided in an embodiment of the present application;
[0036] Figure 5 A schematic diagram of the structure of a communication circuit provided in an embodiment of the present application;
[0037] Figure 6A test diagram of all bits in a data signal transmitted in a bus when the capacitor C5 and the capacitor C6 are not added, provided in an embodiment of the present application;
[0038] Figure 7 A test diagram of all bits in a data signal transmitted in a bus after adding capacitors C5 and C6 provided in an embodiment of the present application;
[0039] Figure 8 A schematic diagram of the structure of a communication circuit provided in an embodiment of the present application;
[0040] Fig. 9 A test diagram of a transition bit in a data signal transmitted in a bus when the capacitor C9 and the capacitor C10 are not added, provided in an embodiment of the present application;
[0041] Fig.10 A test diagram of a transition bit in a data signal transmitted in a bus after adding capacitors C9 and C10 provided in an embodiment of the present application;
[0042] Fig.11 A schematic diagram of the structure of a communication circuit provided in an embodiment of the present application;
[0043] Fig.12 A test diagram of a transition bit in a data signal transmitted in a bus when the capacitor C11 and the capacitor C12 are not added, provided in an embodiment of the present application;
[0044] Fig.13 A test diagram of a transition bit in a data signal transmitted in a bus after adding capacitors C11 and C12 provided in an embodiment of the present application;
[0045] Fig.14 A schematic diagram of the structure of a communication circuit provided in an embodiment of the present application;
[0046] Fig.15 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0047] In order to clearly describe the technical solutions of the embodiments of the present application, some terms and technologies involved in the embodiments of the present application are briefly introduced below:
[0048] 1. Peripheral component interconnect express (PCIE bus): a high-speed serial computer expansion bus standard.
[0049] It should be noted that the data path (lane) in the PCIE bus consists of two groups of differential signals, a total of 4 signal lines. Among them, the sending component of the sending end and the receiving component of the receiving end are connected using a group of differential signals, and this link is also called the sending link of the sending end, and is also the receiving link of the receiving end; and the receiving component of the sending end and the sending component of the receiving end are connected using another group of differential signals, and this link is also called the receiving link of the sending end, and is also the sending link of the receiving end.
[0050] 2. Serial gigabit media independent interface (SGMII bus): a high-speed serial computer expansion bus standard.
[0051] 3. Eye diagram: The eye diagram is a graph displayed by accumulating a series of digital signals on an oscilloscope. It contains rich information. The influence of inter-symbol crosstalk and noise can be observed from the eye diagram, reflecting the overall characteristics of the digital signal, thereby estimating the quality of the system.
[0052] The method to observe the eye diagram is: use an oscilloscope to bridge the output end of the receiving filter, and then adjust the oscilloscope scanning period to synchronize the horizontal scanning period of the oscilloscope with the period of the received code element. At this time, the pattern seen on the oscilloscope screen looks like a human eye, so it is called an "eye diagram".
[0053] It should be noted that the size of the "eye" of the eye diagram reflects the strength of the inter-symbol crosstalk. The larger the "eye" is and the more straight the eye diagram is, the smaller the inter-symbol crosstalk is; conversely, the greater the inter-symbol crosstalk is.
[0054] When noise is present, it will be superimposed on the signal, and the trace of the observed eye diagram will become blurred. If there is also inter-symbol crosstalk, the "eye" will open even smaller. Compared with the eye diagram without inter-symbol crosstalk, the original clear and neat thin traces become a relatively fuzzy strip line, and it is not very straight. The greater the noise, the wider and more blurred the trace; the greater the inter-symbol crosstalk, the more irregular the eye diagram.
[0055] 4. Phase-locked loop (PLL): It is a frequency and phase synchronization technology that uses the feedback control principle to synchronize the clock output by the circuit with its external reference clock. When the frequency or phase of the reference clock changes, the phase-locked loop will detect this change and adjust the output frequency through its internal feedback system until the two are synchronized again. This synchronization is also called "phase lock".
[0056] 5. Other terms
[0057] In the embodiments of the present application, words such as "first" and "second" are used to distinguish the same or similar items with substantially the same functions and effects. For example, the first chip and the second chip are only used to distinguish different chips, and their order is not limited. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit them to be different.
[0058] It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0059] In the embodiments of the present application, "at least one" refers to one or more, and "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, a--c, bc, or abc, where a, b, c can be single or multiple.
[0060] In the embodiment of the present application, "at..." can be the instant when a certain situation occurs, or can be a period of time after a certain situation occurs, and the embodiment of the present application does not specifically limit this. In addition, the interface of the terminal device provided in the embodiment of the present application is only an example, and the interface can also include more or less content.
[0061] 6. Terminal equipment
[0062] The terminal device of the embodiment of the present application may also be any form of electronic device. For example, the electronic device may include a handheld device with communication function, a vehicle-mounted device, etc. For example, some electronic devices are: mobile phones, tablet computers, PDAs, laptop computers, mobile internet devices (MIDs), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, wireless terminals in self driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, cellular phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants (PDAs), handheld devices with wireless communication capabilities, computing devices or other processing devices connected to wireless modems, vehicle-mounted devices, wearable devices, terminal devices in 5G networks or future evolved public land mobile communication networks (public land mobile The embodiments of the present application do not limit this.
[0063] As an example but not limitation, in the embodiments of the present application, the electronic device may also be a wearable device. Wearable devices may also be referred to as wearable smart devices, which are a general term for wearable devices that are intelligently designed and developed using wearable technology for daily wear, such as glasses, gloves, watches, clothing, and shoes. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothes or accessories. Wearable devices are not only hardware devices, but also powerful functions achieved through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include full-featured, large-sized, and fully or partially independent of smartphones, such as smart watches or smart glasses, as well as devices that only focus on a certain type of application function and need to be used in conjunction with other devices such as smartphones, such as various types of smart bracelets and smart jewelry for vital sign monitoring.
[0064] In addition, in the embodiments of the present application, the electronic device can also be a terminal device in the Internet of Things (IoT) system. IoT is an important part of the future development of information technology. Its main technical feature is to connect objects to the network through communication technology, thereby realizing an intelligent network that interconnects people and machines and things.
[0065] The electronic devices in the embodiments of the present application may also be referred to as: terminal equipment, user equipment (UE), mobile station (MS), mobile terminal (MT), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication equipment, user agent or user device, etc.
[0066] In an embodiment of the present application, the electronic device or each network device includes a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer. The hardware layer includes hardware such as a central processing unit (CPU), a memory management unit (MMU), and a memory (also called main memory). The operating system can be any one or more computer operating systems that implement business processing through processes, such as Linux operating system, Unix operating system, Android operating system, iOS operating system, or Windows operating system. The application layer includes applications such as browsers, address books, word processing software, and instant messaging software.
[0067] With the continuous development of information technology in modern society, wireless networks have been increasingly used in modern society. In order to transmit wireless data to the environment where people live, routers are usually needed. Routers can also be called gateway devices, which are used to connect multiple logically separated networks. The so-called logical network represents a separate network or a subnet. When data is transmitted from one subnet to another, it can be completed through the routing function of the wireless router.
[0068] For example, Figure 1 A schematic diagram of a terminal device surfing the Internet provided in an embodiment of the present application. Figure 1 As shown, when the terminal device opens a web page or plays a video, it can connect to the WIFI provided by the router and then connect to the Internet through the router.
[0069] Possible scenarios include the following: the terminal device is connected to the WIFI provided by the router, but is not connected to the network. Or, when the terminal device plays a video through the WIFI provided by the router, it sometimes plays normally and sometimes fails to play, that is, the network is unstable.
[0070] Generally speaking, if a terminal device cannot access the Internet normally through the WIFI provided by the router, it may be that the account logged into the router is in arrears or expired. Or the router fails and cannot connect to the Internet. Or the software system of the terminal device fails and cannot access the Internet. Therefore, when the terminal device cannot access the Internet normally through the WIFI provided by the router, the means used can be to reconnect the terminal device to the WIFI provided by the router, replace the router or terminal device, or restart the router.
[0071] However, the above methods of replacing the hardware of the terminal device or reconnecting it, and restarting the router, sometimes do not work. By testing the hardware or software of the terminal device that cannot access the Internet normally, as well as the hardware or software of the router, it can be found that the hardware of the terminal device and the software system of the terminal device, the hardware of the router and the software system of the terminal device are all normal and have no faults.
[0072] Based on this, the reasons why terminal devices without hardware or software failures cannot access the Internet normally are further analyzed in the embodiments of the present application. It is found that the terminal devices cannot access the Internet normally because: when the system on chip (SOC) of the router and the WIFI module of the router transmit signals through the bus, there is noise interference, which causes the terminal device to experience abnormal situations such as disconnection and freeze when accessing the Internet through the WIFI provided by the router.
[0073] For example, when a terminal device accesses the Internet through the WIFI provided by a router, it can obtain data from the SOC through the WIFI module of the router. However, the data signal transmitted between the WIFI module of the router and the SOC is interfered with, and the data signal is distorted, resulting in partial or complete data loss, causing abnormal phenomena such as freezing and disconnection of the terminal device.
[0074] Specifically, taking the example of the WIFI module and SOC in the router being connected by the PCIE bus, the quality of the data signal in the PCIE bus is poor and there is noise.
[0075] For example, Figure 2 The test diagram (eye diagram) of transition bits in a data signal transmitted in a PCIE bus in a possible design is shown, taking the example of superimposing 100, 101, 011, and 010 in a data signal.
[0076] Figure 2The test diagram shown includes: a curve formed by superimposing 100, 101, 011, and 010 in the data signal, and a plurality of black areas. When the data signal passes through the black area, the data signal does not meet the communication specification.
[0077] like Figure 2 As shown, the black area includes: a top area 201, a middle area 202, and a bottom area 203. The top area 201 defines the maximum amplitude requirement of the data signal, the middle area 202 defines the eye opening requirement of the data signal, and the bottom area 203 defines the minimum amplitude requirement of the data signal.
[0078] from Figure 2 As can be seen from the figure, some data signals in the possible design do not meet the communication specification. Exemplarily, some data signals in the gray box 204 fall in the top area 201 , and some data signals in the gray box 205 fall in the bottom area 203 .
[0079] It should be noted that with the continuous upgrading of router products, the transmission rate of network cables is getting higher and higher, from the previous 10M, 100M, 1000M to the current 2.5G or 10G. When the router's system on chip (SOC) and the router's WIFI module transmit signals through the bus, the clutter interference is more serious. In addition, with the diversification and complexity of the application scenarios of routing products, the anti-interference performance requirements of router products have increased.
[0080] In view of this, in the embodiment of the present application, an anti-interference circuit is connected in the path between the WIFI module and the SOC in the router, and the clutter interference generated during the signal transmission process is filtered out by the anti-interference circuit, thereby effectively improving abnormal phenomena such as network freezes and interruptions caused by interference.
[0081] The following takes the PCIE bus as an example and describes the communication circuit provided in the embodiment of the present application in combination with the accompanying drawings.
[0082] For example, Figure 3 The structure diagram of a communication circuit provided in an embodiment of the present application is shown in FIG. Figure 3 As shown, the communication circuit includes: SOC 301, WIFI module 302 and first anti-interference circuit 303. SOC 301 and WIFI module 302 are connected via a bus. The first anti-interference circuit 303 is arranged on the bus path between SOC 301 and WIFI module.
[0083] The SOC 301 is used to transmit a first data signal to the WIFI module 302. The SOC 301 is also used to receive a second data signal from the WIFI module 302.
[0084] It is understandable that in the embodiment of the present application, the SOC is used as the processing module, and the SOC can be replaced by other processing modules (for example, a microprocessor (MCU), a processor, etc.) in the communication circuit, and the SOC can also be replaced by a corresponding component including a processing module, for example, a controller, etc. The embodiment of the present application does not limit this.
[0085] Correspondingly, the WIFI module 302 is used to receive the first data signal from the SOC 301 , and the WIFI module 302 is also used to transmit the second data signal to the SOC 301 .
[0086] In the embodiment of the present application, the WIFI module can be a WIFI module working in the 2.4G frequency band (2.4G WIFI module), or a WIFI module working in the 5G frequency band (5G WIFI module), or a WIFI module working in other frequency bands, which is not limited in the embodiment of the present application.
[0087] The first anti-interference circuit 303 is used to filter out the common-mode interference received when the bus between the SOC 301 and the WIFI module 302 transmits the data signal. Specifically, the first anti-interference circuit 303 is used to filter out the common-mode interference received when the bus transmits the first data signal, and / or, to filter out the common-mode interference received when the bus transmits the second data signal.
[0088] In this way, the first anti-interference circuit is used to filter out the clutter interference generated during the data signal transmission process, thereby giving priority to improving abnormal phenomena such as network freezes and interruptions caused by interference.
[0089] Specifically, SOC 301 includes a data transmission module, a reference clock module, and a reset module. The data transmission module in SOC 301 is used to transmit a first data signal to WIFI module 302, and to receive a second data signal from WIFI module 302. Correspondingly, WIFI module 302 includes a data transmission module, a reference clock module, and a reset module. The data transmission module in WIFI module 302 is used to receive a first data signal from SOC 301, and to transmit a second data signal to SOC 301.
[0090] It should be noted that the PCIE bus uses differential signals to transmit the first data signal and the second data signal. Figure 3 The data transmission module of the SOC 301 includes two groups of interfaces, corresponding to four ports: a first port 301a, a second port 301b, a third port 301c, and a fourth port 301d.
[0091] Among them, one group of interfaces is used to send the first data signal, that is, the first port 301a is used to send the D+ signal related to the first data signal, and the second port 301b is used to send the D- signal related to the first data signal; another group of interfaces is used to receive the second data signal, that is, the third port 301c is used to receive the D+ signal related to the second data signal, and the fourth port 301d is used to receive the D- signal related to the second data signal.
[0092] Correspondingly, Figure 3 The data transmission module of the WIFI module 302 includes two groups of interfaces, corresponding to four ports: a first port 302a, a second port 302b, a third port 302c and a fourth port 302d.
[0093] Among them, one group of interfaces is used to receive the first data signal, that is, the first port 302a is used to receive the D+ signal related to the first data signal, and the second port 302b is used to send the D- signal related to the first data signal; another group of interfaces is used to send the second data signal, that is, the third port 302c is used to send the D+ signal related to the second data signal, and the fourth port 302d is used to send the D- signal related to the second data signal.
[0094] It should be noted that the electrical specification of the PCIE physical layer link requires that a capacitor be connected in series on the TX link of the PCIE data transmission link for AC coupling. Specifically, a capacitor C1 is provided between the first port 301a of the SOC 301 and the first port 302a of the WIFI module 302; a capacitor C2 is provided between the second port 301b of the SOC 301 and the second port 302b of the WIFI module 302; a capacitor C3 is provided between the third port 301c of the SOC 301 and the third port 302c of the WIFI module 302; and a capacitor C4 is provided between the fourth port 301d of the SOC 301 and the fourth port 302d of the WIFI module 302.
[0095] The values of the capacitors C1, C2, C3 and C4 can be any value between 75 nF and 265 nF. For example, the values of the capacitors C1, C2, C3 and C4 can be 100 nF.
[0096] The first anti-interference circuit 303 is used to filter out common-mode interference that occurs when the bus transmits a first data signal, and / or is used to filter out common-mode interference that occurs when the bus transmits a second data signal.
[0097] In this way, the common-mode interference of data signals can be reduced, and the distortion of data signals and partial data loss caused by transmission can be reduced, thereby effectively improving abnormal phenomena such as network freezes and interruptions caused by interference.
[0098] In a possible implementation manner 1, the first anti-interference circuit 303 is used to filter out common-mode interference received when the bus transmits the first data signal.
[0099] For example, Figure 3 As shown, the first anti-interference circuit 303 includes a first common mode inductor L1. One end of the first common mode inductor L1 is connected to an interface of the SOC 301 for sending a first data signal, and the other end of the first common mode inductor L1 is connected to an interface of the WIFI module 302 for receiving a first data signal.
[0100] Specifically, one end of the first common mode inductor L1 includes a first pin 303 a and a second pin 303 b . The first pin 303 a is connected to the first port 301 a of the SOC 301 , and the second pin 303 b is connected to the second port 301 b of the SOC 301 .
[0101] The other end of the first common mode inductor L1 includes a third pin 303 c and a fourth pin 303 d . The third pin 303 c is connected to the first port 302 a of the WIFI module 302 , and the fourth pin 303 d is connected to the second port 302 b of the WIFI module 302 .
[0102] In this way, the common mode interference of the first data signal can be reduced, the distortion of the first data signal caused by transmission, the partial data loss, etc. can be reduced, and the abnormal phenomena such as network freeze and interruption caused by interference can be improved.
[0103] It can be understood that when the interference signal is a common-mode signal, the magnetic field generated by the interference signal transmitted on the signal line used to transmit the first data signal is of the same magnitude and opposite direction, increasing the magnetic field existing in the coil in the common-mode inductor and generating current. The inductor can prevent the change of current and the change of magnetic flux in the coil, thereby offsetting the magnetic field generated by the interference signal and suppressing the common-mode signal. Alternatively, it can be understood that the common-mode inductor can form a high impedance to the common-mode signal and has less obstruction to the differential-mode signal (for example, the D+ signal related to the first data signal, the D- signal related to the first data signal), thereby suppressing common-mode noise and reducing common-mode interference.
[0104] For example, Figure 4 This is a test diagram of the transition bits in the data signal transmitted in the PCIE bus after adding the common mode inductor provided in the embodiment of the present application. Take the superposition of 100, 101, 011, and 010 in the data signal as an example.
[0105] Figure 4The test diagram shown includes: a curve formed by superimposing 100, 101, 011, and 010 in the data signal, and a plurality of black areas. When the data signal passes through the black area, the data signal does not meet the communication specification.
[0106] like Figure 4 As shown, the black area includes: a top area 401, a middle area 402, and a bottom area 403. The top area 401 defines the maximum amplitude requirement of the data signal, the middle area 402 defines the eye opening requirement of the data signal, and the bottom area 403 defines the minimum amplitude requirement of the data signal.
[0107] Compared to Figure 2 The test diagram shown, Figure 4 In the test diagram shown in , the curve formed by the transition bit does not pass through the top area and the bottom area, which can reduce abnormal conditions such as distortion and loss of data signals.
[0108] Therefore, adding common-mode inductors can reduce data signal distortion and loss, thereby improving network freezes and interruptions caused by common-mode interference.
[0109] In a second possible implementation, the first anti-interference circuit 303 is used to filter out common-mode interference received when the bus transmits the second data signal.
[0110] For example, Figure 3 As shown, the first anti-interference circuit 303 includes a second common mode inductor L2. One end of the second common mode inductor L2 is connected to the interface of the SOC 301 for receiving the second data signal, and the other end of the second common mode inductor L2 is connected to the interface of the WIFI module 302 for sending the second data signal.
[0111] Specifically, one end of the second common mode inductor L2 includes a fifth pin 303e and a sixth pin 303f. The fifth pin 303e is connected to the third port 301c of the SOC 301, and the sixth pin 303f is connected to the fourth port 301d of the SOC 301.
[0112] The other end of the first common mode inductor L1 includes a seventh pin 303g and an eighth pin 303h. The seventh pin 303g is connected to the third port 302c of the WIFI module 302, and the eighth pin 303h is connected to the fourth port 302d of the WIFI module 302.
[0113] In this way, the common-mode interference of the second data signal can be reduced, and the distortion of the second data signal and partial data loss caused by transmission can be reduced, thereby giving priority to improving abnormal phenomena such as network freezes and interruptions caused by interference.
[0114] It is understandable that the first anti-interference circuit of the embodiment of the present application can be used in the later maintenance of the router, and the first anti-interference circuit is added to the mainboard of the router, or the first anti-interference circuit can also be used in the production process of the router, when the router is manufactured, the first anti-interference circuit is integrated into the mainboard of the router to improve the network instability of the router. The first anti-interference circuit can be any other form of anti-interference circuit, which is not specifically limited in the embodiment of the present application.
[0115] For example, Figure 5 A schematic diagram of the structure of a communication circuit provided in an embodiment of the present application.
[0116] like Figure 5 As shown, the communication circuit includes: a system-on-chip (SOC) 301, a WIFI module 302 and a second anti-interference circuit 304. The SOC 301 and the WIFI module 302 are connected via a bus. The second anti-interference circuit 304 is arranged on the bus path between the SOC 301 and the WIFI module.
[0117] The functions and structures of the SOC 301 and the WIFI module 302 can refer to the above related descriptions and will not be elaborated here.
[0118] In the embodiment of the present application, the second anti-interference circuit 304 is used to perform high-frequency filtering on the first data signal transmitted by the bus, and / or to perform high-frequency filtering on the second data signal transmitted by the bus.
[0119] In possible implementation mode 1, the second anti-interference circuit 304 is used to perform high-frequency filtering on the first data signal transmitted by the bus. In this way, the high-frequency interference received by the first data signal during transmission can be reduced, and the distortion and loss of the first data signal can be reduced, thereby improving abnormal phenomena such as network freeze and interruption caused by interference.
[0120] For example, Figure 5 As shown, the second anti-interference circuit includes a capacitor C5 and a capacitor C6. One end of the capacitor C5 is connected to the first port 301a of the SOC 301, or to the first port 302a of the WIFI module 302. The other end of the capacitor C5 is grounded. One end of the capacitor C6 is connected to the second port 301b of the SOC 301, or to the second port 302b of the WIFI module 302. The other end of the capacitor C6 is grounded.
[0121] The value of the capacitor C5 can be any value from 0 pF to 68 pF, and the value of the capacitor C6 can be any value from 0 pF to 68 pF.
[0122] Optionally, the capacitor C5 is located on a side close to the WIFI module 302 , and the capacitor C6 is located on a side close to the WIFI module 302 .
[0123] In this way, the capacitor is placed on the receiving side of the first data signal, and can also filter out interference introduced during transmission, further improving the filtering anti-interference effect and improving the quality of the first data signal.
[0124] It is understandable that the larger the value of the capacitor, the better the filtering effect for high frequencies. However, too large a capacitor will affect the bus, so the value of capacitor C5 is 8.2pF and the value of capacitor C6 is 8.2pF, which can not only effectively improve abnormal conditions such as distortion and loss of data signals, but also ensure the operation of the bus.
[0125] For example, the following is combined Figure 6 and Figure 7 The signal transmission before and after adding capacitors C5 and C6 is described. Figure 6 FIG. 1 shows a test diagram (eye diagram) of all bits in the data signal transmitted in the bus when the capacitors C5 and C6 are not added. Figure 7 The figure shows a test diagram (eye diagram) of all bits in the data signal transmitted in the bus after adding the capacitor C5 and the capacitor C6.
[0126] Figure 6 The test diagram shown includes: a curve formed by superimposing all waveforms in the data signal, and multiple black areas. The black areas include: a top area 601, a middle area 602, and a bottom area 603. The functions of the top area 601, the middle area 602, and the bottom area 603 can refer to the corresponding description above, and will not be repeated here.
[0127] from Figure 6 It can be seen that when capacitors C5 and C6 are not added, part of the data signal in the bus will pass through the black area, and part of the data signal transmitted by the bus does not meet the communication specification. For example, part of the data signal in the gray box 604 falls in the middle area 602.
[0128] Figure 7 The test diagram shown includes: a curve formed by superimposing all waveforms in the data signal, and multiple black areas. The black areas include: a top area 701, a middle area 702, and a bottom area 703. The functions of the top area 701, the middle area 702, and the bottom area 703 can refer to the corresponding description above, and will not be repeated here.
[0129] Compared to Figure 6 The test diagram shown, Figure 7 In the test diagram shown, the curve formed by all bits does not pass through the middle area, and the data signal meets the communication specification. Therefore, after adding capacitors C5 and C6, the distortion and loss of data signals can be reduced, thereby improving abnormal phenomena such as network freezes and interruptions.
[0130] In possible implementation mode 2, the second anti-interference circuit 304 is used to perform high-frequency filtering on the second data signal transmitted by the bus. In this way, the high-frequency interference received by the second data signal during transmission can be reduced, and the distortion and loss of the second data signal can be reduced, thereby improving abnormal phenomena such as network freeze and interruption caused by interference.
[0131] For example, Figure 5 As shown, the second anti-interference circuit includes a capacitor C7 and a capacitor C8. One end of the capacitor C7 is connected to the third port 301c of the SOC 301, or to the third port 302c of the WIFI module 302. The other end of the capacitor C7 is grounded. One end of the capacitor C8 is connected to the fourth port 301d of the SOC 301, or to the fourth port 302d of the WIFI module 302. The other end of the capacitor C8 is grounded.
[0132] The value of the capacitor C7 can be any value from 0 pF to 68 pF, and the value of the capacitor C8 can be any value from 0 pF to 68 pF.
[0133] Optionally, the capacitor C7 is located on a side close to the SOC 301 , and the capacitor C8 is located on a side close to the SOC 301 .
[0134] In this way, the capacitor is placed on the receiving side of the second data signal, and can also filter out interference introduced during transmission, further improving the filtering anti-interference effect and improving the quality of the second data signal.
[0135] It is understandable that the larger the value of the capacitor, the better the filtering effect for high frequencies. However, too large a capacitor will affect the bus, so the value of capacitor C7 is 8.2pF and the value of capacitor C8 is 8.2pF, which can not only effectively improve abnormal conditions such as distortion and loss of data signals, but also ensure the operation of the bus.
[0136] On the basis of the above embodiment, the second anti-interference circuit 304 is also used for surge protection and electrostatic protection.
[0137] In a possible implementation manner 1, the second anti-interference circuit 304 is used to perform surge protection and electrostatic protection on the signal line of the first data signal transmitted by the bus.
[0138] For example, Figure 5As shown, the second anti-interference circuit 304 includes a transient voltage suppressor (TVS tube) D1 and a TVS tube D2. One end of the TVS tube D1 is connected to the first port 301a of the SOC 301, or to the first port 302a of the WIFI module 302. The other end of the TVS tube D1 is grounded. One end of the TVS tube D2 is connected to the second port 301b of the SOC 301, or to the second port 302b of the WIFI module 302. The other end of the TVS tube D2 is grounded.
[0139] In a second possible implementation, the second anti-interference circuit 304 is used to perform surge protection and electrostatic protection on a signal line of a second data signal transmitted by the bus.
[0140] For example, Figure 5 As shown, the second anti-interference circuit 304 includes a TVS tube D3 and a TVS tube D4. One end of the TVS tube D3 is connected to the third port 301c of the SOC 301, or to the third port 302c of the WIFI module 302. The other end of the TVS tube D3 is grounded. One end of the TVS tube D4 is connected to the fourth port 301d of the SOC 301, or to the fourth port 302d of the WIFI module 302. The other end of the TVS tube D4 is grounded.
[0141] In this way, the surge resistance and anti-static ability between the SOC and the WIFI module are improved, and the stability and reliability of signal transmission are improved. It can be understood that the second anti-interference circuit of the embodiment of the present application can be used in the later maintenance of the router, and the second anti-interference circuit is added to the mainboard of the router, or the second anti-interference circuit can also be used in the production process of the router. When the router is manufactured, the second anti-interference circuit is integrated into the mainboard of the router to improve the network instability of the router. The second anti-interference circuit can be any other form of anti-interference circuit, which is not specifically limited in the embodiment of the present application.
[0142] It is understandable that the WIFI module reads the data signal transmitted on the bus based on the clock signal. If the clock signal is read incorrectly, it may also affect the reading of the data signal, thereby causing abnormal phenomena such as network freeze and disconnection.
[0143] The clock signal received by the WIFI module may be provided by the SOC or by other external circuits, which is not limited here.
[0144] Above Figure 3-Figure 7 The transmission interference of data signals is explained below. Figure 8-Figure 13 The transmission interference of the clock signal is described.
[0145] It is understandable that the reference clock module in the SOC 301 is used to transmit a clock signal to the WIFI module 302. Correspondingly, the WIFI module 302 includes a data transmission module, a reference clock module and a reset module. The reference clock module in the WIFI module 302 is used to receive a clock signal from the SOC 301.
[0146] It is understandable that after receiving the clock signal, the WIFI module 302 can integrate the clock signal in the PLL module and use it as a reference clock for the serial-to-parallel conversion module, the encoding and decoding module, the scrambling / descrambling module and other modules, so as to read the first data signal received by the WIFI module 302 based on the clock signal.
[0147] For example, Figure 8 A schematic diagram of the structure of a communication circuit provided in an embodiment of the present application. Figure 8 As shown, the communication circuit includes: a system-on-chip (SOC) 301, a WIFI module 302 and a third anti-interference circuit 305. The SOC 301 and the WIFI module 302 are connected via a bus. The third anti-interference circuit 305 is arranged on the bus path between the SOC 301 and the WIFI module.
[0148] The functions and structures of the SOC 301 and the WIFI module 302 can refer to the above related descriptions and will not be elaborated here.
[0149] like Figure 8 As shown, the reference clock module of SOC 301 corresponds to a group of interfaces, including two ports: the fifth port 301e and the sixth port 301f. The fifth port 301e is used to send a D+ signal related to the clock signal, and the sixth port 301f is used to send a D- signal related to the clock signal.
[0150] Correspondingly, the reference clock module of the WIFI module 302 has a set of interfaces, including two ports: the fifth port 302e and the sixth port 302f. The fifth port 302e is used to receive a D+ signal related to the clock signal, and the sixth port 302f is used to receive a D- signal related to the clock signal.
[0151] The third anti-interference circuit 305 is used to filter out low-frequency interference when the bus between the SOC 301 and the WIFI module 302 transmits the clock signal. The low-frequency interference can also be understood as interference of the DC component.
[0152] It should be noted that when the clock signal is transmitted, there may be crosstalk of the DC component, which will cause the voltage value corresponding to the symmetry axis of the clock signal to be far away from 0V, and the sampling time will be offset, so that the time for the WIFI module to read the data signal based on the clock signal will be offset, resulting in errors in the read data signal.
[0153] In the embodiment of the present application, the third anti-interference circuit 305 includes a capacitor C9 and a capacitor C10. One end of the capacitor C9 is connected to the fifth port 301e of the SOC 301, and the other end of the capacitor C9 is connected to the fifth port 302e of the WIFI module 302. One end of the capacitor C10 is connected to the sixth port 301f of the SOC 301, and the other end of the capacitor C10 is connected to the sixth port 302f of the WIFI module 302.
[0154] The value of the capacitor C9 can be any value from 0nF to 265nF, and the value of the capacitor C10 can be any value from 0nF to 265nF.
[0155] In this way, capacitors C9 and C10 can filter out the DC component of the clock signal, making the voltage value corresponding to the symmetry axis of the clock signal closer to 0V, reducing the offset of the sampling time, and reducing the situation where the data signal read by the WIFI module is incorrect.
[0156] It is understandable that the larger the value of the capacitor, the better the filtering effect for low frequencies, making the voltage value corresponding to the symmetry axis of the clock signal closer to 0V. However, if the capacitance is too large, the attenuation of the high-frequency components in the clock signal will increase, which will lead to a decrease in the height of the clock signal in the eye diagram, and a slow rise and increased jitter corresponding to the analyzed clock signal. Therefore, the value of capacitor C9 is 100nF, and the value of capacitor C10 is 100nF, which can not only effectively improve abnormal conditions such as distortion of the clock signal, but also ensure the operation of the bus.
[0157] Combine the following Fig. 9 and Fig.10 The signal transmission before and after adding capacitors C9 and C10 is described. Fig. 9 FIG. 1 shows a test diagram (eye diagram) of the transition bits in the clock signal transmitted in the bus when the capacitors C9 and C10 are not added. Fig.10 The figure shows a test diagram (eye diagram) of transition bits in a clock signal transmitted in the bus after adding capacitors C9 and C10.
[0158] Exemplarily, take the example of superimposing 100, 101, 011, and 010 in the clock signal. Fig. 9 The test diagram shown includes: a curve formed by superimposing 100, 101, 011, and 010 in the clock signal, and multiple black areas. The black areas include: a top area 901, a middle area 902, and a bottom area 903. The functions of the top area 901, the middle area 902, and the bottom area 903 can refer to the corresponding description above, and will not be repeated here.
[0159] from Fig. 9It can be seen that the voltage value corresponding to the symmetry axis of the curve formed by superimposing 100, 101, 011, and 010 in the clock signal is not 0V.
[0160] In addition, when capacitors C9 and C10 are not added, due to the offset of the clock signal, part of the clock signal in the bus will pass through the black area, and part of the clock signal transmitted by the bus does not meet the communication specification.
[0161] Fig.10 The test diagram shown includes: a curve formed by superimposing 101 and 010 in the clock signal, and multiple black areas. The black areas include: a top area 1001, a middle area 1002, and a bottom area 1003. The functions of the top area 1001, the middle area 1002, and the bottom area 1003 can refer to the corresponding description above, and will not be repeated here.
[0162] from Fig.10 It can be seen that after adding capacitors C9 and C10, the voltage value corresponding to the symmetric axis of the curve formed by superimposing 101 and 010 in the clock signal is close to or equal to 0 V. In addition, the clock signal in the bus does not pass through the black area, and the clock signal meets the communication specifications.
[0163] In this way, the offset, distortion and loss of the clock signal can be reduced.
[0164] It is understandable that the third anti-interference circuit of the embodiment of the present application can be used in the later maintenance of the router, and the third anti-interference circuit is added to the mainboard of the router, or the third anti-interference circuit can also be used in the production process of the router. When the router is manufactured, the third anti-interference circuit is integrated into the mainboard of the router to improve the network instability of the router. The third anti-interference circuit can be any other form of anti-interference circuit, which is not specifically limited in the embodiment of the present application.
[0165] For example, Fig.11 A schematic diagram of the structure of a communication circuit provided in an embodiment of the present application. Fig.11 As shown, the communication circuit includes: a system-on-chip (SOC) 301, a WIFI module 302 and a fourth anti-interference circuit 306. The SOC 301 and the WIFI module 302 are connected via a bus. The fourth anti-interference circuit 306 is arranged on the bus path between the SOC 301 and the WIFI module.
[0166] The functions and structures of the SOC 301 and the WIFI module 302 can refer to the above related descriptions and will not be elaborated here.
[0167] The fourth anti-interference circuit 306 is used to perform high-frequency filtering on the clock signal transmitted by the bus.
[0168] For example, Fig.11 As shown, the fourth anti-interference circuit 306 includes a capacitor C11 and a capacitor C12. One end of the capacitor C11 is connected to the fifth port 301e of the SOC 301, or to the fifth port 302e of the WIFI module 302. The other end of the capacitor C11 is grounded. One end of the capacitor C12 is connected to the sixth port 301f of the SOC 301, or to the sixth port 302f of the WIFI module 302. The other end of the capacitor C12 is grounded.
[0169] The value of the capacitor C11 can be any value from 0nF to 68pF, and the value of the capacitor C12 can be any value from 0nF to 68pF.
[0170] In this way, the high-frequency interference received by the clock signal during transmission can be reduced, the distortion and loss of the clock signal can be reduced, and the abnormal phenomena such as network freeze and interruption caused by interference can be improved.
[0171] Optionally, the capacitor C11 is located on a side close to the WIFI module 302 , and the capacitor C12 is located on a side close to the WIFI module 302 .
[0172] In this way, the capacitor is placed on the receiving side of the clock signal, which can also filter out the interference introduced during transmission, further improve the filtering anti-interference effect, and improve the quality of the clock signal.
[0173] It is understandable that the larger the value of the capacitor, the better the filtering effect for high frequencies. However, too large a capacitor will affect the bus, so the value of capacitor C11 is 8.2pF and the value of capacitor C12 is 8.2pF, which can not only effectively improve abnormal conditions such as distortion and loss of clock signals, but also ensure the operation of the bus.
[0174] For example, the following is combined Fig.12 and Fig.13 The signal transmission before and after adding capacitors C11 and C12 is described. Fig.12 FIG. 1 shows a test diagram (eye diagram) of all bits in the clock signal transmitted in the bus when the capacitors C11 and C12 are not added. Fig.13 The figure shows a test diagram (eye diagram) of all bits in the clock signal transmitted in the bus after adding the capacitors C11 and C12.
[0175] Take the example of superimposing 101 and 010 in the clock signal. Fig.12The test diagram shown includes: a curve formed by superimposing 101 and 010 in the clock signal, and multiple black areas. The black areas include: a top area 1201, a middle area 1202, and a bottom area 1203. The functions of the top area 1201, the middle area 1202, and the bottom area 1203 can refer to the corresponding description above, and will not be repeated here.
[0176] from Fig.12 As can be seen from the figure, when capacitors C11 and C12 are not added, part of the clock signal in the bus will pass through the black area, and part of the clock signal transmitted by the bus does not meet the communication specification.
[0177] Fig.13 The test diagram shown includes: a curve formed by superimposing 101 and 010 in the clock signal, and multiple black areas. The black areas include: a top area 1301, a middle area 1302, and a bottom area 1303. The functions of the top area 1301, the middle area 1302, and the bottom area 1303 can refer to the corresponding description above, and will not be repeated here.
[0178] from Fig.13 It can be seen that after adding capacitors C11 and C12, the clock signal in the bus will not pass through the black area, and the clock signal meets the communication specifications.
[0179] In this way, the distortion and loss of the clock signal can be reduced.
[0180] It is understandable that the fourth anti-interference circuit of the embodiment of the present application can be used in the later maintenance of the router, and the fourth anti-interference circuit is added to the mainboard of the router, or the fourth anti-interference circuit can also be used in the production process of the router. When the router is manufactured, the fourth anti-interference circuit is integrated into the mainboard of the router to improve the network instability of the router. The fourth anti-interference circuit can be any other form of anti-interference circuit, which is not specifically limited in the embodiment of the present application.
[0181] It is understandable that the communication circuit provided in the embodiment of the present application may include the above Figure 3 The first anti-interference circuit shown, Figure 5 The second anti-interference circuit shown, Figure 8 The third anti-interference circuit shown, Fig.11 Any one or more of the fourth anti-interference circuits shown. Exemplarily, the communication circuit may include Figure 3 The first anti-interference circuit shown may also include Figure 5 The second anti-interference circuit shown; the communication circuit may also include: Figure 3 The first anti-interference circuit shown, Figure 5The second anti-interference circuit shown, Figure 8 The third anti-interference circuit shown and Fig.11 The fourth anti-interference circuit shown is not specifically limited here.
[0182] In some embodiments, the SOC 301 further includes a reset module. Figure 3 , Figure 5 , Figure 8 , Fig.11 As shown, the reset module of the SOC 301 corresponds to one port, namely the seventh port 301g. The seventh port 301g is used to send a reset signal.
[0183] Adaptively, the WIFI module 302 also includes a reset module. Figure 3 , Figure 5 , Figure 8 , Fig.11 As shown, the reset module of the WIFI module 302 corresponds to one port, namely the seventh port 302g. The seventh port 302g is used to receive a reset signal. When the reset signal is valid, the WIFI module is reset.
[0184] It can be understood that the above-mentioned SOC 301 includes a group of PCIE interfaces, and the PCIE interfaces include: a first port 301a, a second port 301b, a third port 301c, a fourth port 301d, a fifth port 301e, a sixth port 301f, and a seventh port 301g in the SOC 301.
[0185] The above embodiment is to illustrate the anti-interference circuit by taking the SOC including a group of PCIE interfaces as an example. The SOC may include multiple groups of PCIE interfaces, and each group of PCIE interfaces may correspond to an anti-interference circuit. Exemplarily, the first group of PCIE interfaces is connected to one or more of the first anti-interference circuit, the second anti-interference circuit, the third anti-interference circuit, and the fourth anti-interference circuit. The second group of PCIE interfaces is connected to one or more of the first anti-interference circuit, the second anti-interference circuit, the third anti-interference circuit, and the fourth anti-interference circuit. This is not limited here.
[0186] For example, Fig.14 A schematic diagram of a communication circuit provided in an embodiment of the present application. For example, each group of PCIE interfaces is connected to a first anti-interference circuit, a second anti-interference circuit, a third anti-interference circuit, and a fourth anti-interference circuit. Fig.14As shown, the communication circuit includes SOC 1401, 2.4G WIFI module 1402, 5G WIFI module 1403, 2.4G anti-interference circuit 1404 and 5G anti-interference circuit 1405. SOC 1401 is connected to 2.4G WIFI module 1402 through 2.4G anti-interference circuit 1404, and SOC 1401 is connected to 5G WIFI module 1403 through 5G anti-interference circuit 1405.
[0187] Fig.14 In the embodiment, the first group of PCIE interfaces of SOC 1401 corresponds to a group of PCIE interfaces of 2.4G WIFI module 1402; the second group of PCIE interfaces of SOC 1401 corresponds to a group of PCIE interfaces of 5G WIFI module 1403.
[0188] Specifically, SOC 1401 includes two groups of PCIE interfaces, the first group of PCIE interfaces includes: TX1+ port, TX1- port, RX1+ port, RX1- port, CLK1+ port, CLK1- port and RST1 port. The second group of PCIE interfaces includes: TX2+ port, TX2- port, RX2+ port, RX2- port, CLK2+ port, CLK2- port and RST2 port.
[0189] Correspondingly, the 2.4G WIFI module 1402 includes a group of PCIE interfaces, including: RX1+ port, RX1- port, TX1+ port, TX1- port, CLK1+ port, CLK1- port and RST1 port.
[0190] The 5G WIFI module 1403 includes a group of PCIE interfaces, including: RX2+ port, RX2- port, TX2+ port, TX2- port, CLK2+ port, CLK2- port and RST2 port.
[0191] The 2.4G anti-interference circuit 1404 is used to perform anti-interference processing on the signal transmitted between the SOC 1401 and the 2.4G WIFI module 1402. The specific structure and function of the 2.4G anti-interference circuit 1404 can refer to the above corresponding description, which will not be repeated here. The 5G anti-interference circuit 1405 can be used to perform anti-interference processing on the signal transmitted between the SOC 1401 and the 5G WIFI module 1403. The specific structure and function of the 5G anti-interference circuit 1405 can refer to the above corresponding description, which will not be repeated here.
[0192] The above embodiment is described by taking the PCIE bus transmission signal in the communication circuit as an example. The anti-interference circuit shown in the embodiment of the present application can also be applied to other buses that use differential signals for transmission, such as SGMII bus, etc., which is not limited here.
[0193] The communication circuit provided in the embodiment of the present application can be applied to electronic devices with routing functions, electronic devices with hotspot services, or electronic devices that can use full network aggregation acceleration technology (link turbo). No specific limitation is made here. The communication circuit provided in the embodiment of the present application can be applied to electronic devices with WIFI functions. Electronic devices include routers, mobile phones, tablet computers, computers with wireless transceiver functions and other terminal devices. The specific device form of the terminal device can refer to the above-mentioned related instructions, which will not be repeated here.
[0194] For example, Fig.15 The hardware structure diagram of an electronic device provided in an embodiment of the present application is shown in FIG. Fig.15 As shown, the electronic device includes: a power module 1501, a processing module 1502 and a WIFI module 1503. The specific connection and respective functions of the processing module 1502 and the WIFI module 1503 can refer to the corresponding description in the above communication circuit, which will not be repeated here.
[0195] The power module 1501 may include a power supply, a power management component, etc. The power management component is used to manage the charging of the power supply and the supply of power to other modules (eg, the processing module and the WIFI module).
[0196] If the electronic device is a router, the electronic device may further include: a memory, a switch, a physical interface, etc. The physical interface includes but is not limited to: a local area network interface, a wide area network interface, and a router configuration interface. The router configuration interface includes a console port and an auxiliary port.
[0197] The memory can be non-volatile memory, random access memory, flash memory and read-only memory. Random access memory will discard its information when the router is started or the power is off. Read-only memory stores the startup software of the router. The startup software is the first software run by the router and is responsible for the router to enter the normal working state. The router saves the complete operating system in the random access memory as a backup so that it can be used as a backup when the operating system cannot be used. The router has a dynamic host configuration protocol server (dynamic host configurationProtocol, DHCPserver).
[0198] The random access memory can be used as a storage device for the IP pool. The DHCP server of the router selects an IP address from the IP pool and assigns it to an electronic device connected to the router. In addition, the random access memory can also store various parameters such as the MAC address of the electronic device connected to the router, the IP address assigned to the electronic device by the router, and the binding relationship between the MAC address and IP address of the electronic device connected to the router.
[0199] In addition, the random access memory can also store image resource data (the location, interface parameters, appearance, etc. of the virtual interface (virtual LAN interface of the LAN interface) corresponding to the physical interface of the router (such as the LAN interface), the mapping relationship between the physical interface and the virtual interface, etc.
[0200] The ROM is usually located on one or more chips that are soldered onto the router's motherboard.
[0201] The main purpose of flash memory is to store the operating system of the router and maintain the normal operation of the router. If the router is installed with flash memory, it is mainly used to boot the default location of the router operating system. As long as the capacity of the flash memory is sufficient, multiple operating system images can be saved to provide multiple boot options. Among them, the operating system of the router can use Linux operating system or other operating system, which is not limited here.
[0202] The main function of non-volatile memory is to save the configuration data (startup configuration) read in when the operating system starts. Random access memory is mainly used as a storage area for operating system tables and buffers. The operating system can meet all regular storage needs through random access memory, allowing the router to quickly access this information. Among them, the storage speed of random access memory is better than the three mentioned above.
[0203] It is understandable that parameters such as the IP pool of the router, parameters of electronic devices connected to the router, image resource data, and the binding relationship between the MAC address and IP address of an electronic device connected to the router can also be stored in a non-volatile memory or other types of memory, and the embodiments of the present application are not limited thereto.
[0204] If the electronic device is a terminal device such as a mobile phone or a tablet, the electronic device may further include one or more of the following modules: an external memory interface, an internal memory, a universal serial bus (USB) interface, a mobile communication module, an audio module, a speaker, a receiver, a microphone, an earphone interface, a sensor module, a button, a motor, an indicator, a camera, a display screen, and a subscriber identification module (SIM) card interface, etc. The sensor module may include a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, etc.
[0205] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware. The embodiment of the present application provides a chip. The chip includes the above-mentioned communication circuit. Its implementation principle and technical effect are similar to those of the above-mentioned related embodiments, and will not be repeated here.
[0206] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0207] The above specific implementation methods further illustrate the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above are only specific implementation methods of the present invention and are not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solutions of the present invention should be included in the scope of protection of the present invention.
Claims
1. A communication circuit, characterized in that: include: Processing module, anti-interference circuit and wireless fidelity WIFI module; The anti-interference circuit is arranged on the bus path between the processing module and the WIFI module; The processing module is used to transmit a first data signal to the WIFI module and receive a second data signal from the WIFI module; The anti-interference circuit is used to filter out interference received by the bus when transmitting the first data signal, and / or is used to filter out interference received by the bus when transmitting the second data signal; The WIFI module is used to receive the first data signal from the processing module, and transmit the second data signal to the processing module; Wherein, the anti-interference circuit includes a first capacitor and a second capacitor; One end of the first capacitor is connected to the first interface or the second interface, and the other end of the first capacitor is grounded, the first interface is any interface in the first group of interfaces in the processing module for transmitting the first data signal, and the second interface is any interface in the second group of interfaces in the WIFI module for transmitting the first data signal; One end of the second capacitor is connected to the third interface or the fourth interface, and the other end of the second capacitor is grounded. The third interface is any interface in the third group of interfaces in the processing module for transmitting the second data signal, and the fourth interface is any interface in the fourth group of interfaces in the WIFI module for transmitting the second data signal.
2. The communication circuit according to claim 1, characterized in that: The value of the first capacitor is any value between 0 pF and 68 pF, and the value of the second capacitor is any value between 0 pF and 68 pF.
3. The communication circuit according to claim 2, characterized in that: The value of the first capacitor is 8.2 pF, and the value of the second capacitor is 8.2 pF.
4. The communication circuit according to any one of claims 1 to 3, characterized in that: The first capacitor is connected to the second interface and is located on a side close to the WIFI module; The second capacitor is connected to the fourth interface and is located at a side close to the processing module.
5. The communication circuit according to any one of claims 1 to 4, characterized in that: The processing module is further used to transmit a clock signal to the WIFI module, and the clock signal is used to trigger the WIFI module to read the first data signal; The anti-interference circuit further includes: a third capacitor; One end of the third capacitor is connected to the fifth group of interfaces in the processing module for transmitting the clock signal, and the other end of the third capacitor is connected to the sixth group of interfaces in the WIFI module for transmitting the clock signal.
6. The communication circuit according to claim 5, characterized in that: The value of the third capacitor is any value between 0nF and 265nF.
7. The communication circuit according to claim 6, characterized in that: The value of the third capacitor is 100nF.
8. The communication circuit according to any one of claims 1 to 7, characterized in that: The anti-interference circuit includes a first common-mode inductor and / or a second common-mode inductor; One end of the first common-mode inductor is connected to the first group of interfaces, and the other end of the first common-mode inductor is connected to the second group of interfaces; One end of the second common-mode inductor is connected to the third group of interfaces, and the other end of the second common-mode inductor is connected to the fourth group of interfaces.
9. The communication circuit according to any one of claims 1 to 8, characterized in that: The anti-interference circuit further includes: a first transient diode, and / or a second transient diode; One end of the first transient diode is connected to the first interface or the second interface, and the other end of the first transient diode is grounded; One end of the second transient diode is connected to the third interface or the fourth interface, and the other end of the second transient diode is grounded.
10. The communication circuit according to any one of claims 1 to 9, characterized in that: The processing module is further used to transmit a clock signal to the WIFI module, and the clock signal is used to trigger the WIFI module to read the first data signal; The anti-interference circuit further includes: a fourth capacitor; One end of the fourth capacitor is connected to the fifth interface or the sixth interface, and the other end of the fourth capacitor is grounded, the fifth interface is any interface in the fifth group of interfaces in the processing module for transmitting the clock signal, and the sixth interface is any interface in the sixth group of interfaces in the WIFI module for transmitting the clock signal; The value of the fourth capacitor is any value between 0 pF and 68 pF.
11. The communication circuit according to claim 10, characterized in that: The value of the fourth capacitor is 8.2 pF. The fourth capacitor is connected to the sixth interface and is located on a side close to the WIFI module.
12. The communication circuit according to any one of claims 1 to 11, characterized in that: The bus is a Peripheral Component Interconnect standard PCIE bus path or a Serial Gigabit Media Independent SGMII bus.
13. The communication circuit according to any one of claims 1 to 12, characterized in that: The WIFI module includes: a WIFI module operating in a 2.4G frequency band, and / or a WIFI module operating in a 5G frequency band.
14. An electronic device, characterized in that: include: A power module, and a communication circuit according to any one of claims 1 to 13; The power module is used to supply power to the communication circuit.
