Anti-interference circuit, method and device, control module and building control system

By designing anti-interference circuits in the building control system, using controllable switching modules and filter modules to dynamically adjust the lines according to the operating frequency of the equipment, the problem of signal interference between the equipment is solved and the signal fidelity and stability are improved.

CN119668174APending Publication Date: 2025-03-21GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411933724.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-26
Publication Date
2025-03-21

AI Technical Summary

Technical Problem

In the building control system, multiple devices share the same grounding system, resulting in large interference in signals between devices. In particular, the transmission of high-frequency devices such as wireless controllers will cause serious interference to the ground circuits of other devices.

Method used

An anti-interference circuit is designed. By setting one or more first lines and a second line, each first line includes a controllable switching module and a filter module, the control module selects to turn on some or all of the controllable switching modules in the lines according to the operating frequency of the first and second equipment to reduce interference.

Benefits of technology

It effectively guarantees the fidelity and stability of the signal of the first and second devices during signal transmission, reduces the impact of noise interference and power supply fluctuations, improves the integrity of the signal and the reliability of the anti-interference circuit.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119668174A_ABST
    Figure CN119668174A_ABST
Patent Text Reader

Abstract

The invention relates to an anti-interference circuit, an anti-interference method, an anti-interference device, a control module and a building control system, and relates to the technical field of anti-interference. The anti-interference circuit is arranged between a first device and a second device and comprises one or more first lines and a control module, each of the one or more first lines comprises a controllable switch module and a filtering module, the parameters of the filtering modules in different first lines are different, and the parameters of the filtering modules in different first lines are different. The first end of the controllable switch module in each first line is connected with the control module, the second end is connected with the first end of the filtering module in the same first line, the third end is connected with the grounding end of the first device, and the second end of the filtering module in each first line is connected with the grounding end of the second device. And the control module is configured to select to open the controllable switch modules in part or all of the one or more first lines according to the working frequency of the first equipment and the working frequency of the second equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of anti-interference technology, and in particular to an anti-interference circuit, an anti-interference method, an anti-interference device, a control module, a building control system, a computer-readable storage medium, and a computer program product. Background Art

[0002] In the current building control system, with the rapid development of intelligent and automated technologies, more and more building control systems are gradually migrating to the cloud. This cloud-based operating system can provide more efficient, flexible and scalable management and control methods, enabling the equipment and systems in the building to achieve a higher degree of automation and centralized management.

[0003] In this process, the wireless controller, as a key device, plays the role of bridging local devices and cloud systems. The wireless controller needs to convert local signals from devices in the building and upload these signals to the cloud through wireless communication technology to achieve remote monitoring and management. Summary of the invention

[0004] The inventor of the present disclosure found that the above-mentioned related technologies have the following problems: In actual applications, there are many devices in the building control system, and multiple devices share the same grounding system, which leads to large interference between the signals of the devices. In particular, the transmission of high-frequency devices such as wireless controllers will cause relatively serious interference to the ground loops of other devices. Therefore, how to ensure the fidelity and stability of the signals transmitted by the devices in the building is a problem that needs to be solved.

[0005] According to some embodiments of the first aspect of the present disclosure, an anti-interference circuit is provided, wherein the anti-interference circuit is arranged between a first device and a second device, and comprises: one or more first lines and a control module, wherein each of the one or more first lines comprises a controllable switch module and a filter module, the parameters of the filter modules in different first lines are different, a first end of the controllable switch module in each first line is connected to the control module, a second end is connected to the first end of the filter module in the same first line, and a third end is connected to a ground terminal of the first device, a second end of the filter module in each first line is connected to a ground terminal of the second device, and the control module is configured to select to turn on the controllable switch modules in part or all of the one or more first lines according to the operating frequency of the first device and the operating frequency of the second device.

[0006] In some embodiments, the anti-interference circuit also includes a second circuit, the second circuit includes a controllable switch module, the first end of the controllable switch module in the second circuit is connected to the control module, the second end is connected to the ground terminal of the second device, and the third end is connected to the ground terminal of the first device. The control module is also configured to select to turn on the controllable switch module in the second circuit according to the operating frequency of the first device and the operating frequency of the second device.

[0007] In some embodiments, the control module is also configured to determine a first frequency range in which the operating frequency of the first device is located and a second frequency range in which the operating frequency of the second device is located, and select to turn on a controllable switch module in part or all of one or more of the first lines and the second line based on the correspondence between the first frequency range and the parameters of the filtering module and the correspondence between the second frequency range and the parameters of the filtering module.

[0008] In some embodiments, the control module is further configured to select to turn on the controllable switch module in the second circuit when the maximum value of the first frequency range and the maximum value of the second frequency range are less than or equal to the first frequency threshold.

[0009] In some embodiments, the control module is also configured to obtain the communication distance between the first device and the second device when the maximum value of the first frequency range and the maximum value of the second frequency range are less than or equal to the first frequency threshold, determine whether the communication distance between the first device and the second device is less than or equal to the distance threshold, and select to turn on the controllable switch module in the second line when the communication distance between the first device and the second device is less than or equal to the distance threshold.

[0010] In some embodiments, one or more first circuits include a circuit in which the filtering module is a capacitor, and the second frequency threshold is greater than the first frequency threshold. The control module is also configured to select and turn on the controllable switch modules in part or all of the circuits in which the filtering module is a capacitor according to the correspondence between the first frequency range and the capacitance value of the capacitor and the correspondence between the second frequency range and the capacitance value of the capacitor when any of the following conditions is met: the first frequency range is within the range from the first frequency threshold to the second frequency threshold, the second frequency range is within the range from the first frequency threshold to the second frequency threshold, the maximum value of the first frequency range is greater than the second frequency threshold and the maximum value of the second frequency range is less than or equal to the second frequency threshold, and the maximum value of the second frequency range is greater than the second frequency threshold and the maximum value of the first frequency range is less than or equal to the second frequency threshold.

[0011] In some embodiments, different frequency ranges correspond to different capacitance values ​​of capacitors, and the higher the frequency in the frequency range, the smaller the capacitance value of the corresponding capacitor.

[0012] In some embodiments, one or more first circuits include a circuit in which the filtering module is a capacitor and a circuit in which the filtering module is a choke, and the second frequency threshold is greater than the first frequency threshold. The control module is also configured to select to turn on the controllable switch modules in some or all of the circuits in which the filtering module is a capacitor and the controllable switch modules in some or all of the circuits in which the filtering module is a choke when the minimum value of the first frequency range and the minimum value of the second frequency range are greater than the second frequency threshold.

[0013] In some embodiments, the control module is also configured to determine that the interference evaluation index value after anti-interference by the controllable switch modules in part or all of the one or more first lines and the second lines selected to be turned on is greater than the interference threshold, and dynamically adjust the controllable switch modules in part or all of the one or more first lines and the second lines selected to be turned on.

[0014] In some embodiments, the interference assessment index value is a bit error rate, the interference threshold is a bit error rate threshold, and the control module is further configured to send an indication message to the first device or the second device, wherein the indication message is used to instruct the first device and the second device to send a test frame and determine the bit error rate based on the test frame; and receive the bit error rate sent by the first device or the second device.

[0015] In some embodiments, the control module is further configured to select and open controllable switch modules in part or all of one or more first lines and second lines according to the identification of the first device and the identification of the second device.

[0016] In some embodiments, the controllable switch module includes a metal oxide semiconductor field effect transistor MOSFET, the first end of the controllable switch module is a gate, the second end is a drain, and the third end is a source.

[0017] In some embodiments, the first device and the second device are any one of a main controller, a wireless controller, a power supply, an RS485 expansion module, and a sensor.

[0018] According to some embodiments of the second aspect of the present disclosure, an anti-interference method is provided, which is applied to the anti-interference circuit in any of the above embodiments, and the anti-interference circuit includes: one or more first lines and a control module, wherein each of the one or more first lines includes a controllable switch module and a filter module, and the parameters of the filter modules in different first lines are different. The anti-interference method is executed by the control module, and includes: determining the operating frequency of the first device and the operating frequency of the second device; and according to the operating frequency of the first device and the operating frequency of the second device, selecting to turn on the controllable switch modules in part or all of the one or more first lines.

[0019] In some embodiments, the anti-interference circuit further includes a second circuit, and the anti-interference method further includes: selecting to turn on a controllable switch module in the second circuit according to an operating frequency of the first device and an operating frequency of the second device.

[0020] In some embodiments, the anti-interference method also includes: determining a first frequency range in which the operating frequency of the first device is located and a second frequency range in which the operating frequency of the second device is located, and selecting to turn on a controllable switch module in part or all of one or more of the first lines and the second line based on the correspondence between the first frequency range and the parameters of the filtering module and the correspondence between the second frequency range and the parameters of the filtering module.

[0021] In some embodiments, based on the correspondence between the first frequency range and the parameters of the filtering module and the correspondence between the second frequency range and the parameters of the filtering module, selecting to turn on the controllable switch modules in part or all of one or more first lines and the second line includes: when the maximum value of the first frequency range and the maximum value of the second frequency range are less than or equal to the first frequency threshold, selecting to turn on the controllable switch module in the second line.

[0022] In some embodiments, based on the correspondence between the first frequency range and the parameters of the filtering module and the correspondence between the second frequency range and the parameters of the filtering module, selecting to turn on the controllable switch modules in part or all of one or more first lines and the second line includes: when the maximum value of the first frequency range and the maximum value of the second frequency range are less than or equal to the first frequency threshold, obtaining the communication distance between the first device and the second device, determining whether the communication distance between the first device and the second device is less than or equal to the distance threshold, and when the communication distance between the first device and the second device is less than or equal to the distance threshold, selecting to turn on the controllable switch module in the second line.

[0023] In some embodiments, one or more first lines include a line whose filtering module is a capacitor, the second frequency threshold is greater than the first frequency threshold, and according to the correspondence between the first frequency range and the parameters of the filtering module and the correspondence between the second frequency range and the parameters of the filtering module, selecting to turn on the controllable switch modules in part or all of the lines in one or more first lines and second lines includes: when any of the following conditions is met: the first frequency range is within the range from the first frequency threshold to the second frequency threshold, the second frequency range is within the range from the first frequency threshold to the second frequency threshold, the maximum value of the first frequency range is greater than the second frequency threshold and the maximum value of the second frequency range is less than or equal to the second frequency threshold, the maximum value of the second frequency range is greater than the second frequency threshold and the maximum value of the first frequency range is less than or equal to the second frequency threshold, according to the correspondence between the first frequency range and the capacitance value of the capacitor and the correspondence between the second frequency range and the capacitance value of the capacitor, selecting to turn on the controllable switch modules in part or all of the lines in the line whose filtering module is a capacitor.

[0024] In some embodiments, different frequency ranges correspond to different capacitance values ​​of capacitors, and the higher the frequency in the frequency range, the smaller the capacitance value of the corresponding capacitor.

[0025] In some embodiments, one or more first lines include a line whose filtering module is a capacitor and a line whose filtering module is a choke, the second frequency threshold is greater than the first frequency threshold, and according to the correspondence between the first frequency range and the parameters of the filtering module and the correspondence between the second frequency range and the parameters of the filtering module, selecting to turn on the controllable switch modules in part or all of the lines in one or more first lines and the second line includes: when the minimum value of the first frequency range and the minimum value of the second frequency range are greater than the second frequency threshold, selecting to turn on the controllable switch modules in part or all of the lines in the line whose filtering module is a capacitor and the controllable switch modules in part or all of the lines in the line whose filtering module is a choke.

[0026] In some embodiments, the anti-interference method also includes: determining that the interference evaluation index value after anti-interference is performed by selecting and turning on the controllable switch modules in part or all of the one or more first lines and the second lines is greater than the interference threshold, and dynamically adjusting the controllable switch modules in part or all of the one or more first lines and the second lines that are selected and turned on.

[0027] In some embodiments, the interference assessment index value is a bit error rate, the interference threshold is a bit error rate threshold, and the anti-interference method further includes: sending indication information to the first device or the second device, wherein the indication information is used to instruct the first device and the second device to send a test frame, and determine the bit error rate based on the test frame; and receiving the bit error rate sent by the first device or the second device.

[0028] In some embodiments, the anti-interference method further includes: according to the identification of the first device and the identification of the second device, selecting to open the controllable switch modules in part or all of the one or more first lines and the second line.

[0029] According to some embodiments of the third aspect of the present disclosure, a control module is provided, which is applied to the anti-interference circuit in any of the above embodiments, and the anti-interference circuit includes: one or more first lines and a control module, wherein each of the one or more first lines includes a controllable switch module and a filter module, and the parameters of the filter modules in different first lines are different, and the control module includes: a determination unit, configured to determine the operating frequency of the first device and the operating frequency of the second device; a selection unit, configured to select and turn on the controllable switch modules in part or all of the first lines in one or more first lines according to the operating frequency of the first device and the operating frequency of the second device.

[0030] According to some embodiments of the fourth aspect of the present disclosure, an anti-interference device is provided, comprising: a memory and a processor coupled to the memory, wherein the processor is configured to execute the anti-interference method in any one of the above embodiments based on instructions stored in the memory.

[0031] According to some embodiments of the fifth aspect of the present disclosure, a building control system is provided, comprising: the anti-interference circuit in any one of the above embodiments; a first device and a second device, wherein the anti-interference circuit is arranged between the first device and the second device, the first ground terminal is connected to the first device, and the second ground terminal is connected to the second device.

[0032] In some embodiments, the anti-interference circuit is configured to determine that the interference evaluation index value after anti-interference by selecting the controllable switch modules in some or all of the one or more first lines and the second lines that are turned on is greater than the interference threshold, and dynamically adjust the controllable switch modules in some or all of the one or more first lines and the second lines that are turned on.

[0033] In some embodiments, the interference assessment index value is a bit error rate, the interference threshold is a bit error rate threshold, and the anti-interference circuit is further configured to send indication information to the first device or the second device, wherein the indication information is used to instruct the first device and the second device to send a test frame, and determine the bit error rate based on the test frame; the first device or the second device is configured to receive the indication information sent by the anti-interference circuit, wherein, in the case where the first device receives the indication information, the first device is further configured to send a test frame to the second device, the second device is further configured to receive and determine the bit error rate based on the test frame, and send the bit error rate to the anti-interference circuit, or, in the case where the second device receives the indication information, the second device is further configured to send a test frame to the first device, the first device is further configured to receive and determine the bit error rate based on the test frame, and send the bit error rate to the anti-interference circuit; the anti-interference circuit is further configured to receive the bit error rate sent by the first device or the second device.

[0034] According to some embodiments of the sixth aspect of the present disclosure, a computer-readable storage medium is provided, on which computer instructions are stored, and when the instructions are executed by a processor, the anti-interference method in any of the above embodiments is implemented.

[0035] According to some embodiments of the seventh aspect of the present disclosure, a computer program product is provided, comprising computer instructions, which, when executed by a processor, implement the anti-interference method in any of the above embodiments.

[0036] In the above embodiment, a flexible anti-interference circuit is provided, which is arranged between the first device and the second device, and includes one or more first lines, each of which includes a controllable switch module and a filter module, and the filter module can play an anti-interference role. The control module determines the corresponding anti-interference lines for the first device and the second device by selecting to open the controllable switch modules in some or all of the lines according to the working frequency of the first device and the working frequency of the second device, thereby playing a more effective anti-interference role, and ensuring the fidelity, stability and integrity of the signals (i.e., wired signals and wireless signals) of the first device and the second device during the signal transmission process. The control module can also dynamically adjust the anti-interference lines corresponding to the first device and the second device according to the working frequency of the first device and the working frequency of the second device, which is suitable for a variety of scenarios with different working frequencies of the first device and the second device, effectively eliminates or weakens the ground loop interference between the devices, and reduces the influence of noise interference and power supply fluctuations on signal transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] The accompanying drawings, which constitute a part of the specification, illustrate embodiments of the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0038] The present disclosure can be more clearly understood from the following detailed description with reference to the accompanying drawings.

[0039] Figure 1 Schematic diagrams showing some embodiments of the anti-interference circuit of the present disclosure.

[0040] Figure 2 Schematic diagrams showing some embodiments of the anti-interference method of the present disclosure.

[0041] Figure 3 Schematic diagram showing some embodiments of the control module of the present disclosure.

[0042] Figure 4 Schematic diagrams showing some embodiments of the anti-interference device of the present disclosure.

[0043] Figure 5 Schematic diagram showing some embodiments of the building control system of the present disclosure. DETAILED DESCRIPTION

[0044] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present disclosure unless otherwise specifically stated.

[0045] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.

[0046] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present disclosure, its application, or uses.

[0047] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered part of the specification.

[0048] In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not as limiting. Therefore, other examples of the exemplary embodiments may have different values.

[0049] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0050] With the development of building control systems, different types of equipment are widely used in intelligent management of buildings. The ground loop refers to the return path of the signal. Generally, the return path of the signal uses the ground plane as a reference. Because all signals have a return path, all return paths are on the ground plane, which will affect the ground plane.

[0051] The devices in the building control system each have different functions, and their operating frequencies also vary significantly. Specifically, some devices, such as wireless controllers, operate at very high frequencies. For example, when the wireless controller converts the local signals of the devices in the building into high-frequency wireless signals for transmission, the large fluctuations and rapid changes in the signals will form transient voltages and transient currents on the reference ground, causing serious interference to other signal ground loops in the building, and thus causing interference to other devices on the same reference ground. This interference will lead to a decrease in the stability of the building control system and will also affect the normal operation of the devices in the building.

[0052] The above interference is caused by different devices sharing the same grounding system. During the transmission of signals (especially high-frequency signals), electromagnetic radiation and inductive coupling will cause voltage and current differences on the grounding path. For other signals (especially low-frequency signals), these additional voltages and currents may cause signal distortion, increased noise, and even cause equipment malfunctions. Especially in some building control scenarios that require high signal stability (for example, fire alarm systems, security monitoring systems, or environmental control systems), this interference problem will greatly affect the reliability and safety of building control systems.

[0053] In addition, since there are devices with multiple operating frequencies in the building control system, the intensity of interference generated between the devices is different. Using a single anti-interference method, such as grounding the device, is difficult to effectively reduce the interference between different devices.

[0054] In view of the above problems, the present disclosure proposes an anti-interference circuit to ensure the fidelity and stability of signals during signal transmission between the first device and the second device.

[0055] Figure 1 Schematic diagrams of some embodiments of the anti-interference circuit disclosed in the present invention are shown. Figure 1 Take three devices (first device 124, second device 125 and third device 126) as an example. A first anti-interference circuit is provided between the first device 124 and the second device 125, and a second anti-interference circuit is provided between the second device 125 and the third device 126.

[0056] The anti-interference circuit is arranged between the first device and the second device, and includes: one or more first lines and a control module, wherein each of the one or more first lines includes a controllable switch module and a filter module, and the parameters of the filter modules in different first lines are different.

[0057] For example, the control module controls the controllable switch module according to the digital control logic, and the control module may be, for example, an MCU (Micro-Controller Unit) or an FPGA (Field-Programmable Gate Array).

[0058] like Figure 1 As shown, the first anti-interference circuit between the first device 124 and the second device 125 includes one or more first lines, a second line and a control module 101, wherein: Figure 1 Taking four first lines as an example, these four first lines are composed of a controllable switch module and a filter module. Figure 1 As shown, the controllable switch module 103 and the filter module (capacitor) 108 form a first line; the controllable switch module 104 and the filter module (capacitor) 109 form a first line; the controllable switch module 105 and the filter module (capacitor) 110 form a first line; the controllable switch module 106 and the filter module (choke) 111 form a first line. Among them, the capacitance values ​​of the filter module 108, the filter module 109 and the filter module 110 are different.

[0059] Similarly, the second anti-interference circuit disposed between the second device 125 and the third device 126 includes one or more first circuits, second circuits and a control module 102, wherein: Figure 1 Taking four first lines as an example, these four first lines are composed of a controllable switch module and a filter module. Figure 1 As shown, the controllable switch module 112 and the filter module (capacitor) 117 form a first line; the controllable switch module 113 and the filter module (capacitor) 118 form a first line; the controllable switch module 114 and the filter module (capacitor) 119 form a first line; the controllable switch module 115 and the filter module (choke) 120 form a first line. Among them, the capacitance values ​​of the filter module 117, the filter module 118 and the filter module 119 are different.

[0060] For example, the first device and the second device are any one of a main controller, a wireless controller, a power supply, an RS485 expansion module, and a sensor. The third device may also be any one of a main controller, a wireless controller, a power supply, an RS485 expansion module, and a sensor.

[0061] An application scenario of the anti-interference circuit of the present invention is provided, wherein the first device, the second device and the third device involve high-frequency devices and low-frequency devices, indicating that the ground loop interference that needs to be eliminated or weakened by the anti-interference circuit of the present invention exists between high-frequency devices, between low-frequency devices, and between high and low frequency devices.

[0062] In some embodiments, the first device and the second device perform signal exchange via CAN (Controller Area Network) communication.

[0063] The first end of the controllable switch module in each first line is connected to the control module, the second end is connected to the first end of the filter module in the same first line, and the third end is connected to the ground end of the first device. The second end of the filter module in each first line is connected to the ground end of the second device.

[0064] By connecting the first end of the filter module to the second end of the controllable switch module and the second end of the filter module to the ground terminal of the second device, different capacitors can be selected by selecting different lines to adjust the isolation effect.

[0065] like Figure 1 As shown, taking the anti-interference circuit including 4 first lines and 1 second line as an example, the control module 101 includes 5 output interfaces (X1, X2, X3, X4, X5) and two input interfaces (U1, U2), wherein the 5 output interfaces are respectively connected to the first ends of the controllable switch modules in the 5 lines.

[0066] Taking the controllable switch module 103 as an example, the first end of the controllable switch module 103 is connected to the control module 101, the second end is connected to the filter module 108, and the third end is connected to the ground end 121. The same is true for other controllable switch modules (controllable switch modules 104, 105, 105, 112, 113, 114, 115).

[0067] like Figure 1 As shown, the ground terminal 121 is connected to the first device 124 , the ground terminal 122 is connected to the second device 125 , and the ground terminal 123 is connected to the third device 126 .

[0068] For example, the controllable switch module includes a MOSFET (Metal-Oxide-Semiconductor Field-Effect Transistor), and the first end of the controllable switch module is a gate, the second end is a drain, and the third end is a source.

[0069] A specific embodiment of a controllable switch module is provided, which provides feasibility for dynamically selecting a circuit for anti-interference by controlling the conduction or disconnection of the controllable switch module through a control module, and adopts MOSFET as the controllable switch module, which is simple in configuration and easy to operate, thereby reducing the complexity of the entire circuit implementation.

[0070] For example, the controllable switch module can be an N-channel MOSFET (i.e., N-MOSFET), whose gate is connected to the control module. When the signal output by the control module is at a high level, the MOSFET is turned on, and the corresponding filter module is connected between the ground terminal of the first device and the ground terminal of the second device to form a loop.

[0071] In some embodiments, first ends of different controllable switch modules are connected to different pins of the control module.

[0072] By controlling different pins of the control module, it is possible to selectively turn on which controllable switch modules are connected, thereby determining which filter modules are connected between the ground terminal of the first device and the ground terminal of the second device.

[0073] The control module is configured to select and open the controllable switch modules in part or all of the one or more first lines according to the operating frequency of the first device and the operating frequency of the second device.

[0074] Selecting different filter module parameter lines for signals of different frequencies can effectively solve the ground loop interference problem between devices.

[0075] In the above embodiment, a flexible anti-interference circuit is provided, and different anti-interference circuits are selected for devices with different operating frequencies. The anti-interference circuit is arranged between the first device and the second device, and the control module determines the corresponding anti-interference circuits for the first device and the second device by selecting to open the controllable switch modules in part or all of one or more first circuits according to the operating frequency of the first device and the operating frequency of the second device, thereby ensuring the fidelity and stability of the signals (i.e., wired signals and wireless signals) of the first device and the second device during the signal transmission process, and improving the integrity of the signals and the reliability of the anti-interference circuit. In addition, the first end of the controllable switch module in the first circuit is connected to the control module, the second end is connected to the first end of the filter module in the same first circuit, and the third end is connected to the ground end of the first device, so that the controllable switch module can be controlled to be turned on or off by the control module, which provides feasibility for selecting corresponding anti-interference circuits for the first device and the second device according to the operating frequency of the first device and the operating frequency of the second device. The control module can also dynamically adjust the anti-interference circuits corresponding to the first device and the second device according to the operating frequency of the first device and the operating frequency of the second device, so as to resist the interference generated by the first device and the second device during the signal transmission process, effectively eliminate or weaken the ground loop interference between the devices, and significantly reduce the influence of noise interference and power supply fluctuations.

[0076] In some embodiments, the anti-interference circuit also includes a second circuit, the second circuit includes a controllable switch module, wherein the first end of the controllable switch module in the second circuit is connected to the control module, the second end is connected to the ground terminal of the second device, and the third end is connected to the ground terminal of the first device.

[0077] The control module is also configured to select and turn on the controllable switch module in the second circuit according to the operating frequency of the first device and the operating frequency of the second device.

[0078] In the above embodiment, the anti-interference circuit is also configured with a second circuit that only includes a controllable switch module. When the second circuit is turned on, the ground terminal of the first device is connected to the ground terminal of the second device, and the control module can choose to perform anti-interference by connecting the ground terminal of the first device to the ground terminal of the second device according to the operating frequency of the first device and the operating frequency of the second device. That is, by connecting the ground terminals of the first device and the second device together, the first device and the second device are at the same potential reference, which can effectively reduce the risk of interference current caused by the potential difference between different ground terminals, and also expand the scope of use scenarios of the anti-interference circuit. Combined with the setting of the first circuit, it can effectively reduce interference in various scenarios.

[0079] like Figure 1 As shown, the controllable switch module 107 forms a second line.

[0080] Similarly, in the second anti-interference circuit arranged between the second device 125 and the third device 126 , a second line is formed by the controllable switch module 116 .

[0081] In some embodiments, the control module is also configured to determine a first frequency range in which the operating frequency of the first device is located and a second frequency range in which the operating frequency of the second device is located, and select to turn on a controllable switch module in part or all of one or more of the first lines and the second line based on the correspondence between the first frequency range and the parameters of the filtering module and the correspondence between the second frequency range and the parameters of the filtering module.

[0082] For example, the control module will be divided according to the working frequency of the device. For example, a gateway with wireless transmission function has a very high working frequency. For example, the frequency of 4G signals is generally around 2000MHz, and the rising and falling frequency of the data bit edge of CAN communication is usually within 1MHz. According to the frequency characteristics of these devices, the devices can be classified into different frequency ranges, and for each frequency range of devices, controllable switch modules for different lines can be selected.

[0083] According to the first frequency range of the first device and the second frequency range of the second device, the parameters of the corresponding filter module are determined, and according to the determined parameters of the filter module, the controllable switch modules in part or all of the first line and the second line are selected to be turned on, thereby dynamically matching the filter modules with different parameters according to the frequency range of the device, and more accurately resisting the interference generated by the first device and the second device during the signal transmission process, and effectively eliminating or weakening the ground loop interference between the devices.

[0084] Different operating frequencies belong to different frequency ranges. The specific method of selecting to open the controllable switch modules in part or all of one or more first lines and the second line according to the correspondence between the first frequency range and the parameters of the filtering module and the correspondence between the second frequency range and the parameters of the filtering module is as follows.

[0085] In some embodiments, when the maximum value of the first frequency range and the maximum value of the second frequency range are less than or equal to the first frequency threshold, the control module will select to turn on the controllable switch module in the second circuit.

[0086] The maximum value of the first frequency range and the maximum value of the second frequency range are less than or equal to the first frequency threshold, which may indicate that the first device and the second device are low-frequency devices. For the ground loop solution between low-frequency devices: Although there is less interference between low-frequency devices, in some complex application scenarios, voltage differences may still occur in the ground loop between low-frequency devices to cause interference.

[0087] For the ground loop between low-frequency devices, the control module can be used to select and turn on the controllable switch module in the second circuit to perform anti-interference.

[0088] In the above embodiment, the control module selects to open the controllable switch module in the second circuit according to the operating frequency of the first device and the second device, so that the ground terminal of the first device is connected to the ground terminal of the second device, thereby realizing the discharge of the ground terminal energy and solving the signal interference caused by uneven grounding of low-frequency signals. A method for effectively eliminating or reducing the ground loop interference between low-frequency devices is provided.

[0089] In some embodiments, when the maximum value of the first frequency range and the maximum value of the second frequency range are less than or equal to the first frequency threshold, the communication distance between the first device and the second device is obtained, and it is determined whether the communication distance between the first device and the second device is less than or equal to the distance threshold. When the communication distance between the first device and the second device is less than or equal to the distance threshold, the control module will choose to turn on the controllable switch module in the second circuit.

[0090] Whether the communication distance between the first device and the second device is less than or equal to the distance threshold may indicate that the communication distance between the first device and the second device is short. For two low-frequency devices with a short communication distance, the interference caused by the communication line between them can be ignored, and the controllable switch module in the second line can be turned on to perform anti-interference.

[0091] In the above embodiment, the control module dynamically controls the selection of the controllable switch module for opening the second line according to the working frequency of the first device and the second device, not only considering the size of the frequency range of the device, but also considering the communication distance between the two devices, that is, the current adapted line for anti-interference is dynamically selected from two aspects of comprehensive consideration, which improves the accuracy and efficiency of anti-interference, realizes the discharge of energy at the ground end, and solves the signal interference caused by uneven grounding of low-frequency signals. A method is provided for the ground loop interference problem of short-distance communication of low-frequency devices, which can effectively eliminate or weaken the ground loop interference between devices and ensure the accuracy and efficiency of anti-interference.

[0092] In long-distance wired communications, the communication line will receive various radiations in space like a receiving antenna, and the interference components are complex. In addition, due to the long communication distance and the large resistance of the signal line, the potential difference between the devices is large, and the impact on the ground plane is greater. Since the ground loop is long, it is easy to form an antenna effect and absorb EMI in space. In order to reduce this interference, the length of the ground loop and its parasitic inductance and parasitic capacitance determine its resonant frequency. Usually, this resonant frequency is in the low-frequency to medium-frequency range. The ground loop is most sensitive to signals close to its resonant frequency and is prone to amplifying interference in this frequency band. The resonant frequency can be adjusted by adjusting the capacitance value of the capacitor in the line used for anti-interference, so that the first frequency range of the first device and the second frequency range of the second device are far away from the resonant frequency, thereby reducing interference in long-distance wired communications.

[0093] In some embodiments, one or more first circuits include a circuit in which the filtering module is a capacitor, and the second frequency threshold is greater than the first frequency threshold. When any of the following conditions is met: the first frequency range is within the range from the first frequency threshold to the second frequency threshold, the second frequency range is within the range from the first frequency threshold to the second frequency threshold, the maximum value of the first frequency range is greater than the second frequency threshold and the maximum value of the second frequency range is less than or equal to the second frequency threshold, the maximum value of the second frequency range is greater than the second frequency threshold and the maximum value of the first frequency range is less than or equal to the second frequency threshold, according to the correspondence between the first frequency range and the capacitance value of the capacitor and the correspondence between the second frequency range and the capacitance value of the capacitor, the control module will select to turn on the controllable switch modules in some or all of the circuits in which the filtering module is a capacitor.

[0094] If the first frequency range is within the range from the first frequency threshold to the second frequency threshold, it can be indicated that the first device is between the high-frequency device and the low-frequency device; if the second frequency range is within the range from the first frequency threshold to the second frequency threshold, it can be indicated that the second device is between the high-frequency device and the low-frequency device; if the maximum value of the first frequency range is greater than the second frequency threshold and the maximum value of the second frequency range is less than or equal to the second frequency threshold, it can be indicated that the first device is a high-frequency device, the second device is a low-frequency device, or is between the high-frequency device and the low-frequency device; if the maximum value of the second frequency range is greater than the second frequency threshold and the maximum value of the first frequency range is less than or equal to the second frequency threshold, it can be indicated that the second device is a high-frequency device, the first device is a low-frequency device, or is between the high-frequency device and the low-frequency device.

[0095] In the case where the filter module is a capacitor, the interference corresponding to different frequencies is solved by capacitors with different capacitance values, and the filtering characteristics of the capacitor are utilized. In the above embodiment, a method is provided for the ground loop interference problem between high-frequency equipment and low-frequency equipment. The operating frequency of the equipment is divided according to the relationship between the first frequency range and the second frequency range and the first frequency threshold and the second frequency threshold, which provides feasibility for dynamically adjusting the capacitor in the selected circuit to achieve different anti-interference effects. The anti-interference effect of the selected circuit is controlled by dynamically adjusting the capacitance of the capacitor, which effectively eliminates or weakens the ground loop interference between high-frequency equipment and low-frequency equipment. In addition, for high-frequency equipment, the electromagnetic interference problem caused by energy discharge of high-frequency signals of high-frequency equipment is solved.

[0096] For the ground loop solution between high-frequency devices and low-frequency devices: Interference between high-frequency devices and low-frequency devices is a common problem. The signal of the high-frequency device may interfere with the low-frequency device through electromagnetic induction or ground loop, which may cause signal distortion or device abnormality of the low-frequency device.

[0097] In some embodiments, the relationship between the frequency range and the capacitance value of the capacitor is as follows: different frequency ranges correspond to different capacitance values ​​of the capacitor, and the higher the frequency of the frequency range, the smaller the capacitance value of the corresponding capacitor.

[0098] The decoupling, filtering and voltage balance of signals of different frequencies can be optimized by selecting appropriate capacitor values, as explained in detail below. The circuit used for anti-interference is selected by comprehensively considering the capacitor's voltage balance and decoupling and filtering capabilities.

[0099] The first aspect is the capacitor's ability to balance voltage differences. Regarding the relationship between capacitance value and the ability to balance voltage differences, when the capacitance value is smaller, the capacitive reactance of the capacitor will be larger, and the ability of the capacitor to balance voltage differences will be stronger. In addition, the size of the capacitive reactance is inversely proportional to the operating frequency of the device. Therefore, it is necessary to comprehensively consider the operating frequency of the device and the capacitance value of the capacitor to select a circuit for anti-interference for the device to ensure the anti-interference effect.

[0100] The second aspect is the frequency characteristics of the capacitor. The impedance characteristics of the capacitor are different at different frequencies. Specifically: low-frequency signal: at low frequencies, the impedance of the capacitor is higher, and the decoupling effect on low-frequency signals is poor; high-frequency signal: at high frequencies, the impedance of the capacitor is lower, and the decoupling effect on high-frequency signals is better.

[0101] The third aspect is to choose capacitors with different capacitance values. For low-frequency signals, choosing large capacitance values ​​(such as 10 μF, 100 μF) can provide lower impedance and effectively filter out low-frequency noise. The role of large capacitors is to provide a stable DC power supply and reduce the power supply noise of low-frequency signals. For high-frequency signals, choosing small capacitance values ​​(such as 100 nF, 10 nF) can provide lower impedance and effectively filter out high-frequency noise. The role of small capacitors is to quickly respond to changes in high-frequency signals, provide instantaneous large current, and reduce the voltage drop and noise of high-frequency signals.

[0102] Anti-interference is achieved by providing capacitors with smaller capacitance values ​​for high-frequency devices and capacitors with larger capacitance values ​​for low-frequency devices. The characteristics of the capacitors are taken into consideration and the anti-interference effect is controlled by combining the characteristics of the capacitors. This ensures the reliability of the anti-interference circuit and provides the feasibility of dynamically adjusting the capacitance in the selected circuit to achieve different anti-interference effects.

[0103] For example, when the frequency range is 0 Hz to 100 kHz (for example, the device is a power supply or a sensor), the capacitance value of the capacitor ranges from 10 µF to 1000 µF; when the frequency range is 100 kHz to 10 MHz (for example, digital signals or wired communication signals), the capacitance value of the capacitor ranges from 1 µF to 10 µF; when the frequency range is 10 MHz to 100 MHz (for example, Ethernet communication signals), the capacitance value of the capacitor ranges from 100 nF to 1 µF; when the frequency range is 100 MHz to 1 GHz (for example, high-speed signals such as memory and storage), the capacitance value of the capacitor ranges from 100 pF to 1 nF; when the frequency range is 1 GHz to 10 GHz (for example, 4G signals, 5G signals, and WiFi signals), the capacitance value of the capacitor ranges from 10 pF to 100 pF.

[0104] In some embodiments, one or more first circuits include a circuit in which the filtering module is a capacitor and a circuit in which the filtering module is a choke, and the second frequency threshold is greater than the first frequency threshold. When the minimum value of the first frequency range and the minimum value of the second frequency range are greater than the second frequency threshold, the control module will select to turn on the controllable switch modules in some or all of the circuits in which the filtering module is a capacitor and the controllable switch modules in some or all of the circuits in which the filtering module is a choke.

[0105] The minimum value of the first frequency range and the minimum value of the second frequency range are greater than the second frequency threshold, which may indicate that the first device and the second device are high-frequency devices.

[0106] In the above embodiment, for the ground loop interference problem between high-frequency devices, the controller can achieve an anti-interference effect by dynamically selecting a circuit including different capacitance values ​​of capacitors and chokes, effectively eliminating or weakening the ground loop interference between high-frequency devices. In addition, for high-frequency devices, the electromagnetic interference problem caused by energy discharge of high-frequency signals of high-frequency devices is solved.

[0107] The high-frequency choke effectively blocks the passage of high-frequency signals. For the grounding end, the fewer high-frequency signals in the ground loop, the cleaner it is, the better.

[0108] For example, a choke with a larger inductance value may be allocated to the line of the choke for the filter module to ensure the blocking effect of the choke on the signal.

[0109] That is to say, for the ground loop solution between high-frequency devices: signal transmission between high-frequency devices is often accompanied by strong electromagnetic interference, which can easily cause voltage fluctuations in the shared grounding system. For this reason, a high-frequency choke isolation solution is used to ensure that high-frequency signals do not cause additional interference in the ground loop. Designing a high-frequency choke in parallel with a small capacitor (such as 100pF or 1nF) on the ground path of the high-frequency device can be used to quickly suppress high-frequency noise and interference.

[0110] For example, for the ground loop solution between high-frequency devices, you can use 3 to 5 10nF capacitors to filter out very high-frequency noise, 1 1uF capacitor to filter out the noise of the power supply circuits of both, and 1 high-frequency choke to suppress the electromagnetic interference generated by high-frequency signals.

[0111] It should be noted that, whether between high-frequency devices, between low-frequency devices, or between high- and low-frequency devices, the line that selects to turn on the corresponding controllable switch module is used to remove interference signals, and non-interference signals will not be transmitted through the selected line.

[0112] Take a typical application scenario as an example: when the first device is a power supply and the second device is a main controller, or when the first device is a main controller and the second device is a power supply, the control module will choose to open a line with a capacitor whose filter module is 0.1μF, open a line with a capacitor whose filter module is 1μF, open four lines with capacitors whose filter modules are 2.2μF, and open three lines with capacitors whose filter modules are 1nF.

[0113] When the first device is the main controller and the second device is a wireless controller, or when the first device is the wireless controller and the second device is the main controller, the control module will choose to open three lines with 10μF capacitors in the filter module, open eleven lines with 100nF capacitors in the filter module, open two lines with 15pF capacitors in the filter module, and open one line with 50nH 1A choke in the filter module.

[0114] The signal of the main controller is a wired signal, and the signal of the wireless controller is a wireless signal. The anti-interference circuit proposed in the present invention can not only reduce the interference of wired signals on wireless signals, but also reduce the interference of wireless signals on wired signals. That is to say, under the premise of ensuring the quality of wired signals, since wireless signals are obtained by converting wired signals, the quality of wireless signals will also be improved to a certain extent.

[0115] When the first device is a wireless controller and the second device is RS485, or when the first device is RS485 and the second device is a wireless controller, the control module will choose to open three lines with capacitors having filter modules of 100nF, open one line with capacitors having filter modules of 10μF, and open one line with capacitors having filter modules of 100pF.

[0116] In some embodiments, the control module is also configured to determine that the interference evaluation index value after anti-interference by the controllable switch modules in part or all of the one or more first lines and the second lines selected to be turned on is greater than the interference threshold, and dynamically adjust the controllable switch modules in part or all of the one or more first lines and the second lines selected to be turned on.

[0117] By determining that the interference evaluation index value after anti-interference is performed by selecting and turning on the controllable switch modules in part or all of the first and second lines, or more, is greater than the interference threshold, it is judged whether the anti-interference effect of the currently selected line meets the requirements. If the requirements are not met, the selected line is dynamically adjusted again, thereby ensuring the stability and efficiency of the anti-interference circuit, realizing the autonomous calibration of the line selection for anti-interference, and helping to effectively eliminate or weaken the ground loop interference between devices. In addition, after the controllable switch modules in part or all of the first and second lines have been selected, the interference evaluation index value after anti-interference is detected, that is, the effectiveness of the anti-interference circuit is guaranteed at two levels. First, the anti-interference effect of the anti-interference circuit is guaranteed by dynamically selecting the line for anti-interference. When the effectiveness of the dynamically selected anti-interference line is not good, the effectiveness of the anti-interference circuit can also be achieved by dynamically adjusting the selected line. Better level.

[0118] For example, the interference evaluation index value is a bit error rate, and the interference threshold is a bit error rate threshold.

[0119] In some embodiments, the control module is further configured to send indication information to the first device or the second device, wherein the indication information is used to instruct the first device and the second device to send a test frame and determine the bit error rate according to the test frame; receive the bit error rate sent by the first device or the second device. The first device and the second device perform signal interaction through CAN communication, and the test frame generated by the first device or the second device is used to detect the bit error rate of CAN communication.

[0120] The control module triggers the first device or the second device to determine the bit error rate by sending indication information to the first device or the second device, and judges whether the anti-interference effect of the currently selected line for anti-interference meets the requirements through the received bit error rate sent by the first device or the second device, so as to determine whether to trigger the subsequent autonomous calibration process. In addition, the feasibility of the subsequent autonomous calibration process is guaranteed through the interaction of indication information and bit error rate between the control module and the first device or the second device.

[0121] In some embodiments, the device is connected and the device identification (e.g., the device model) is identified according to the engineering file, and then a pre-stored line connection scheme (i.e., ground loop connection scheme) is selected according to the device identification, and the baud rate of the CAN communication module of the first device or the second device is configured, and the bit error rate detection module is initialized (e.g., the number of test frames is set to a certain value, and the test frame transmission interval is specified in milliseconds), and then the bit error rate is calculated by comparing the sent test frame with the received test frame. If the bit error rate does not meet the requirements, the controllable switch modules of which lines are selected to be turned on are dynamically adjusted, and this process is repeated until the bit error rate meets the requirements.

[0122] In some embodiments, the control module is further configured to select and open the controllable switch modules in part or all of one or more first lines and second lines according to the identification of the first device and the identification of the second device. The identification of the first device and the identification of the second device may be, for example, the model of the first device and the model of the second device.

[0123] For example, the control module may select and open the controllable switch modules in part or all of the one or more first lines and the second line according to the identifier of the first device and the identifier of the second device by looking up a table.

[0124] For example, the correspondence between the identifier of the first device and the identifier of the second device and part or all of the one or more first lines and the second lines is pre-stored.

[0125] By storing the correspondence between the identifier of the first device and the identifier of the second device and part or all of one or more first lines and second lines, it is helpful for the subsequent control module to call and select the line according to the identifier of the first device and the identifier of the second device.

[0126] The above embodiment provides a solution for selecting and turning on controllable switch modules in part or all of one or more first lines and second lines through the identification of the device, which is applicable to the corresponding relationship between the identification of the device and the corresponding line that has been stored, and helps to improve the efficiency of dynamic selection of lines for anti-interference.

[0127] Figure 2 Schematic diagrams showing some embodiments of the anti-interference method of the present disclosure.

[0128] like Figure 2 As shown, the anti-interference method includes steps 210 to 220, and the anti-interference method is executed by a control module in the anti-interference circuit. The anti-interference method is applied to the anti-interference circuit in any of the above embodiments, and the anti-interference circuit includes: one or more first lines and a control module, wherein each of the one or more first lines includes a controllable switch module and a filter module, and the parameters of the filter modules in different first lines are different.

[0129] For example, the controllable switch module includes a MOSFET, a first end of the controllable switch module is a gate, a second end is a drain, and a third end is a source.

[0130] For another example, the first device and the second device are any one of a main controller, a wireless controller, a power supply, an RS485 expansion module, and a sensor.

[0131] In step 210, an operating frequency of the first device and an operating frequency of the second device are determined.

[0132] In step 220, according to the operating frequency of the first device and the operating frequency of the second device, a controllable switch module in part or all of the one or more first lines is selected and turned on.

[0133] In some embodiments, the anti-interference circuit further includes a second circuit, and the control module may further select to turn on a controllable switch module in the second circuit according to an operating frequency of the first device and an operating frequency of the second device.

[0134] In some embodiments, a first frequency range in which the operating frequency of the first device is located and a second frequency range in which the operating frequency of the second device is located are first determined, and then, based on the correspondence between the first frequency range and the parameters of the filtering module and the correspondence between the second frequency range and the parameters of the filtering module, finally, a controllable switch module in part or all of one or more first lines and the second line is selected to be turned on.

[0135] The details of how to select and open the controllable switch modules in part or all of one or more first lines and second lines according to the correspondence between the first frequency range and the parameters of the filtering module and the correspondence between the second frequency range and the parameters of the filtering module are as follows.

[0136] In some embodiments, when the maximum value of the first frequency range and the maximum value of the second frequency range are less than or equal to the first frequency threshold, the control module will select to turn on the controllable switch module in the second circuit.

[0137] In some embodiments, when the maximum value of the first frequency range and the maximum value of the second frequency range are less than or equal to the first frequency threshold, the communication distance between the first device and the second device is obtained, and it is determined whether the communication distance between the first device and the second device is less than or equal to the distance threshold. When the communication distance between the first device and the second device is less than or equal to the distance threshold, the control module will choose to turn on the controllable switch module in the second circuit.

[0138] In some embodiments, one or more first circuits include a circuit in which the filtering module is a capacitor, and the second frequency threshold is greater than the first frequency threshold. When any of the following conditions is met: the first frequency range is within the range from the first frequency threshold to the second frequency threshold, the second frequency range is within the range from the first frequency threshold to the second frequency threshold, the maximum value of the first frequency range is greater than the second frequency threshold and the maximum value of the second frequency range is less than or equal to the second frequency threshold, the maximum value of the second frequency range is greater than the second frequency threshold and the maximum value of the first frequency range is less than or equal to the second frequency threshold, according to the correspondence between the first frequency range and the capacitance value of the capacitor and the correspondence between the second frequency range and the capacitance value of the capacitor, the control module will select to turn on the controllable switch modules in some or all of the circuits in which the filtering module is a capacitor.

[0139] In some embodiments, different frequency ranges correspond to different capacitance values ​​of capacitors, and the higher the frequency in the frequency range, the smaller the capacitance value of the corresponding capacitor.

[0140] In some embodiments, one or more first circuits include a circuit in which the filtering module is a capacitor and a circuit in which the filtering module is a choke, and the second frequency threshold is greater than the first frequency threshold. When the minimum value of the first frequency range and the minimum value of the second frequency range are greater than the second frequency threshold, the control module will select to turn on the controllable switch modules in some or all of the circuits in which the filtering module is a capacitor and the controllable switch modules in some or all of the circuits in which the filtering module is a choke.

[0141] In some embodiments, after determining the controllable switch modules of some or all of the one or more first lines and the second lines that are selected to be turned on, it can also be determined that the interference evaluation index value after anti-interference by the controllable switch modules of some or all of the one or more first lines and the second lines that are selected to be turned on is greater than the interference threshold, and the controllable switch modules of some or all of the one or more first lines and the second lines that are selected to be turned on are dynamically adjusted.

[0142] For example, the interference evaluation index value is a bit error rate, and the interference threshold is a bit error rate threshold.

[0143] In some embodiments, the following method may be used to determine the interference evaluation index value after anti-interference is performed by selecting and turning on controllable switch modules in part or all of one or more first lines and second lines.

[0144] First, an indication message is sent to the first device or the second device, wherein the indication message is used to instruct the first device and the second device to send a test frame and determine a bit error rate according to the test frame; secondly, the bit error rate sent by the first device or the second device is received.

[0145] In some embodiments, the control module may also select to open the controllable switch modules in part or all of one or more first lines and the second line according to the identification of the first device and the identification of the second device.

[0146] In the above embodiment, an anti-interference method applied to an anti-interference circuit is provided, by determining the operating frequency of the first device and the operating frequency of the second device, and dynamically selecting to open the controllable switch modules in part or all of the first lines in one or more first lines according to the operating frequency of the first device and the operating frequency of the second device, so as to perform anti-interference on the interference generated by the first device and the second device during the signal transmission process, thereby ensuring the fidelity and stability of the signals of the first device and the second device during the signal transmission process.

[0147] Figure 3 Schematic diagram showing some embodiments of the control module of the present disclosure.

[0148] like Figure 3 As shown, the control module 30 includes a determination unit 31 and a selection unit 32. The control module 30 is applied to the anti-interference circuit in any of the above embodiments, and the anti-interference circuit includes: one or more first lines and a control module, each of the one or more first lines includes a controllable switch module and a filter module, and the parameters of the filter modules in different first lines are different.

[0149] For example, the controllable switch module includes a MOSFET, a first end of the controllable switch module is a gate, a second end is a drain, and a third end is a source.

[0150] For another example, the first device and the second device are any one of a main controller, a wireless controller, a power supply, an RS485 expansion module, and a sensor.

[0151] The determining unit 31 is configured to determine an operating frequency of the first device and an operating frequency of the second device.

[0152] The selection unit 32 is configured to select and open the controllable switch modules in part or all of the first lines in one or more first lines according to the operating frequency of the first device and the operating frequency of the second device.

[0153] In some embodiments, the selection unit 32 is further configured to select and turn on a controllable switch module in the second circuit according to the operating frequency of the first device and the operating frequency of the second device, wherein the anti-interference circuit also includes the second circuit.

[0154] In some embodiments, the determination unit 31 is also configured to determine a first frequency range in which the operating frequency of the first device is located and a second frequency range in which the operating frequency of the second device is located, and the selection unit 32 is also configured to select and turn on the controllable switch modules in part or all of one or more of the first lines and the second line based on the correspondence between the first frequency range and the parameters of the filtering module and the correspondence between the second frequency range and the parameters of the filtering module.

[0155] In some embodiments, the selection unit 32 is further configured to select to turn on the controllable switch module in the second line when the maximum value of the first frequency range and the maximum value of the second frequency range are less than or equal to the first frequency threshold.

[0156] In some embodiments, the selection unit 32 is also configured to obtain the communication distance between the first device and the second device when the maximum value of the first frequency range and the maximum value of the second frequency range are less than or equal to the first frequency threshold, determine whether the communication distance between the first device and the second device is less than or equal to the distance threshold, and select to turn on the controllable switch module in the second line when the communication distance between the first device and the second device is less than or equal to the distance threshold.

[0157] In some embodiments, one or more first lines include a line in which the filtering module is a capacitor, and the second frequency threshold is greater than the first frequency threshold. The selection unit 32 is also configured to select and turn on the controllable switch modules in part or all of the lines in which the filtering module is a capacitor when any of the following conditions is met: the first frequency range is within the range from the first frequency threshold to the second frequency threshold, the second frequency range is within the range from the first frequency threshold to the second frequency threshold, the maximum value of the first frequency range is greater than the second frequency threshold and the maximum value of the second frequency range is less than or equal to the second frequency threshold, the maximum value of the second frequency range is greater than the second frequency threshold and the maximum value of the first frequency range is less than or equal to the second frequency threshold.

[0158] In some embodiments, different frequency ranges correspond to different capacitance values ​​of capacitors, and the higher the frequency in the frequency range, the smaller the capacitance value of the corresponding capacitor.

[0159] In some embodiments, one or more first lines include a line whose filtering module is a capacitor and a line whose filtering module is a choke, and the second frequency threshold is greater than the first frequency threshold. The selection unit 32 is also configured to select and turn on the controllable switch modules in some or all of the lines in the line whose filtering module is a capacitor and the controllable switch modules in some or all of the lines in the line whose filtering module is a choke when the minimum value of the first frequency range and the minimum value of the second frequency range are greater than the second frequency threshold.

[0160] In some embodiments, the determination unit 31 is further configured to determine that the interference evaluation index value after anti-interference by the controllable switch modules in part or all of the one or more first lines and the second lines selected to be turned on is greater than the interference threshold, and the selection unit 32 is further configured to dynamically adjust the controllable switch modules in part or all of the one or more first lines and the second lines selected to be turned on.

[0161] For example, the interference evaluation index value is a bit error rate, and the interference threshold is a bit error rate threshold.

[0162] In some embodiments, the control module 30 also includes a sending unit and a receiving unit, wherein the sending unit is configured to send indication information to the first device or the second device, wherein the indication information is used to instruct the first device and the second device to send a test frame and determine a bit error rate based on the test frame, and the receiving unit is configured to receive the bit error rate sent by the first device or the second device.

[0163] In some embodiments, the selection unit 32 is further configured to select and open controllable switch modules in part or all of one or more first lines and second lines according to the identification of the first device and the identification of the second device.

[0164] In the above embodiment, a control module is provided for executing an anti-interference method. The control module determines the operating frequency of the first device and the operating frequency of the second device, so that the control module can dynamically select to open the controllable switch modules in part or all of the first lines in one or more first lines according to the operating frequency of the first device and the operating frequency of the second device, so as to perform anti-interference on the interference generated by the first device and the second device during the signal transmission process, thereby ensuring the fidelity and stability of the signals of the first device and the second device during the signal transmission process.

[0165] Figure 4 Schematic diagrams showing some embodiments of the anti-interference device of the present disclosure.

[0166] like Figure 4 As shown, the anti-interference device 40 of this embodiment includes: a memory 41 and a processor 42 coupled to the memory 41 , and the processor 42 is configured to execute the anti-interference method in any one of the aforementioned embodiments based on instructions stored in the memory 41 .

[0167] The memory 41 may include, for example, a system memory, a fixed non-volatile storage medium, etc. The system memory may store, for example, an operating system, an application program, a boot loader, and other programs.

[0168] The anti-interference device 40 may also include an input / output interface 43, a network interface 44, a storage interface 45, etc. These interfaces 43, 44, 45, the memory 41, and the processor 42 may be connected, for example, via a bus 46. The input / output interface 43 provides a connection interface for input / output devices such as a display, a mouse, a keyboard, a touch screen, a microphone, and a speaker. The network interface 44 provides a connection interface for various networked devices. The storage interface 45 provides a connection interface for external storage devices such as an SD card and a USB flash drive.

[0169] In the above embodiment, an anti-interference device is provided for executing an anti-interference method. The control module determines the operating frequency of the first device and the operating frequency of the second device, so that the control module can dynamically select to open the controllable switch modules in part or all of the first lines in one or more first lines according to the operating frequency of the first device and the operating frequency of the second device, so as to perform anti-interference on the interference generated by the first device and the second device during the signal transmission process, thereby ensuring the fidelity and stability of the signals of the first device and the second device during the signal transmission process.

[0170] Figure 5 Schematic diagram showing some embodiments of the building control system of the present disclosure.

[0171] like Figure 5 As shown, the building control system 50 includes a first device 51, an anti-interference circuit 52 in any one of the above embodiments, and a second device 53, wherein the anti-interference circuit is arranged between the first device and the second device, the first ground terminal is connected to the first device, and the second ground terminal is connected to the second device.

[0172] In some embodiments, the anti-interference circuit 52 is configured to determine that the interference evaluation index value after anti-interference by selecting the controllable switch modules in part or all of the one or more first lines and the second lines that are turned on is greater than the interference threshold, and dynamically adjust the controllable switch modules in part or all of the one or more first lines and the second lines that are turned on.

[0173] For example, the interference evaluation index value is a bit error rate, and the interference threshold is a bit error rate threshold.

[0174] In some embodiments, the anti-interference circuit 52 is further configured to send indication information to the first device or the second device, wherein the indication information is used to instruct the first device and the second device to send a test frame and determine a bit error rate based on the test frame.

[0175] In some embodiments, the first device 51 or the second device 53 is configured to receive indication information sent by the anti-interference circuit 52 .

[0176] If it is the indication information received by the first device 51, the first device 51 is also configured to send a test frame to the second device 53, and the second device 53 is also configured to receive the test frame, determine the bit error rate according to the test frame, and send the bit error rate to the anti-interference circuit 52.

[0177] If it is the indication information received by the second device 53 , the second device 53 is also configured to send a test frame to the first device 51 , and the first device 51 is also configured to receive the test frame, determine the bit error rate according to the test frame, and send the bit error rate to the anti-interference circuit 52 .

[0178] In the above embodiment, a building control system is provided, including an anti-interference circuit for executing an anti-interference method and a first device and a second device that provide a bit error rate for the anti-interference circuit, thereby ensuring the fidelity and stability of signals of the first device and the second device during signal transmission, realizing autonomous calibration of line selection for anti-interference, and improving the overall performance and reliability of the building control system.

[0179] In some embodiments, a computer program product is protected, including a computer program or instruction, which implements the above-mentioned display method when executed by a processor. The computer program product includes a computer instruction carried on a computer-readable medium, and the computer instruction contains a program code for executing the method shown in the flowchart. In such an embodiment, the computer instruction can be downloaded and installed from the network through a control module, or installed from a storage device, or installed from a ROM. When the computer program is executed by the CPU, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0180] Those skilled in the art will appreciate that the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present disclosure may take the form of a computer program product implemented on one or more computer-usable non-transient storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0181] So far, the anti-interference circuit, method, device, control module and building control system disclosed in the present invention have been described in detail. In order to avoid obscuring the concept of the present invention, some details known in the art are not described. Based on the above description, those skilled in the art can fully understand how to implement the technical solution disclosed here.

[0182] The method and system of the present disclosure may be implemented in many ways. For example, the method and system of the present disclosure may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above order of steps for the method is for illustration only, and the steps of the method of the present disclosure are not limited to the order specifically described above, unless otherwise specifically stated. In addition, in some embodiments, the present disclosure may also be implemented as a program recorded in a recording medium, which includes machine-readable instructions for implementing the method according to the present disclosure. Therefore, the present disclosure also covers a recording medium storing a program for executing the method according to the present disclosure.

[0183] Although some specific embodiments of the present disclosure have been described in detail by way of example, it should be understood by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the present disclosure. It should be understood by those skilled in the art that the above embodiments may be modified without departing from the scope and spirit of the present disclosure. The scope of the present disclosure is defined by the appended claims.

Claims

1. An anti-interference circuit, wherein: The anti-interference circuit is arranged between the first device and the second device, and includes: one or more first lines and a control module, wherein: Each of the one or more first lines comprises a controllable switch module and a filter module, and parameters of the filter modules in different first lines are different. The first end of the controllable switch module in each first line is connected to the control module, the second end is connected to the first end of the filter module in the same first line, and the third end is connected to the ground end of the first device. The second end of the filter module in each first line is connected to the ground end of the second device, The control module is configured to select and turn on the controllable switch modules in part or all of the one or more first lines according to the operating frequency of the first device and the operating frequency of the second device.

2. The anti-interference circuit according to claim 1, wherein: The anti-interference circuit also includes a second circuit, The second circuit includes a controllable switch module, The controllable switch module in the second circuit has a first end connected to the control module, a second end connected to the ground terminal of the second device, and a third end connected to the ground terminal of the first device. The control module is further configured to select and turn on a controllable switch module in the second circuit according to an operating frequency of the first device and an operating frequency of the second device.

3. The anti-interference circuit according to claim 2, wherein: The control module is also configured to determine a first frequency range in which the operating frequency of the first device is located and a second frequency range in which the operating frequency of the second device is located, and select to turn on the controllable switch modules in part or all of the one or more first lines and the second line according to the correspondence between the first frequency range and the parameters of the filtering module and the correspondence between the second frequency range and the parameters of the filtering module.

4. The anti-interference circuit according to claim 3, wherein: The control module is further configured to select and turn on the controllable switch module in the second line when the maximum value of the first frequency range and the maximum value of the second frequency range are less than or equal to a first frequency threshold.

5. The anti-interference circuit according to claim 3, wherein: The control module is also configured to, when the maximum value of the first frequency range and the maximum value of the second frequency range are less than or equal to a first frequency threshold, obtain the communication distance between the first device and the second device, determine whether the communication distance between the first device and the second device is less than or equal to a distance threshold, and select to turn on the controllable switch module in the second line when the communication distance between the first device and the second device is less than or equal to the distance threshold.

6. The anti-interference circuit according to claim 3, wherein: The one or more first lines include a line whose filtering module is a capacitor, the second frequency threshold is greater than the first frequency threshold, The control module is also configured to select to turn on the controllable switch modules in part or all of the circuits in which the filtering module is a capacitor according to the correspondence between the first frequency range and the capacitance value of the capacitor and the correspondence between the second frequency range and the capacitance value of the capacitor when any of the following conditions is met: the first frequency range is within the range from the first frequency threshold to the second frequency threshold, the second frequency range is within the range from the first frequency threshold to the second frequency threshold, the maximum value of the first frequency range is greater than the second frequency threshold and the maximum value of the second frequency range is less than or equal to the second frequency threshold, and the maximum value of the second frequency range is greater than the second frequency threshold and the maximum value of the first frequency range is less than or equal to the second frequency threshold.

7. The anti-interference circuit according to claim 6, wherein: Different frequency ranges correspond to different capacitance values ​​of capacitors. The higher the frequency in the frequency range, the smaller the capacitance value of the corresponding capacitor.

8. The anti-interference circuit according to claim 3, wherein: The one or more first lines include a line in which the filter module is a capacitor and a line in which the filter module is a choke, the second frequency threshold is greater than the first frequency threshold, The control module is also configured to select and turn on the controllable switch modules in part or all of the circuits in which the filtering module is a capacitor and the controllable switch modules in part or all of the circuits in which the filtering module is a choke when the minimum value of the first frequency range and the minimum value of the second frequency range are greater than the second frequency threshold.

9. The anti-interference circuit according to any one of claims 3 to 8, wherein: The control module is also configured to determine that an interference evaluation index value after anti-interference by the controllable switch modules in the one or more first lines and part or all of the second lines selected to be turned on is greater than an interference threshold, and dynamically adjust the controllable switch modules in the one or more first lines and part or all of the second lines selected to be turned on.

10. The anti-interference circuit according to claim 9, wherein: The interference evaluation index value is the bit error rate, and the interference threshold is the bit error rate threshold. The control module is further configured to send indication information to the first device or the second device, wherein the indication information is used to instruct the first device and the second device to send a test frame between each other, and determine the bit error rate according to the test frame; Receive the bit error rate sent by the first device or the second device.

11. The anti-interference circuit according to any one of claims 3 to 8, wherein: The control module is further configured to select and open the controllable switch modules in part or all of the one or more first lines and the second line according to the identification of the first device and the identification of the second device.

12. The anti-interference circuit according to any one of claims 1 to 8, wherein: The controllable switch module comprises a metal oxide semiconductor field effect transistor MOSFET, the first end of the controllable switch module is a gate, the second end is a drain, and the third end is a source.

13. The anti-interference circuit according to any one of claims 1 to 8, wherein: The first device and the second device are any one of a main controller, a wireless controller, a power supply, an RS485 expansion module, and a sensor.

14. An anti-interference method, applied to the anti-interference circuit according to any one of claims 1 to 13, the anti-interference circuit comprising: One or more first circuits and a control module, wherein, Each of the one or more first lines comprises a controllable switch module and a filter module, and parameters of the filter modules in different first lines are different. The anti-interference method is executed by a control module and includes: determining an operating frequency of the first device and an operating frequency of the second device; According to the operating frequency of the first device and the operating frequency of the second device, the controllable switch modules in part or all of the one or more first lines are selected to be turned on.

15. The anti-interference method according to claim 14, wherein: The anti-interference circuit further includes a second circuit, and the anti-interference method further includes: According to the operating frequency of the first device and the operating frequency of the second device, a controllable switch module in the second circuit is selected and turned on.

16. The anti-interference method according to claim 15, further comprising: Determine a first frequency range in which the operating frequency of the first device is located and a second frequency range in which the operating frequency of the second device is located, and select to turn on the controllable switch modules in part or all of the one or more first lines and the second line according to the correspondence between the first frequency range and the parameters of the filtering module and the correspondence between the second frequency range and the parameters of the filtering module.

17. The anti-interference method according to claim 16, wherein: The step of selecting to open the controllable switch modules in part or all of the one or more first lines and the second lines according to the correspondence between the first frequency range and the parameter of the filter module and the correspondence between the second frequency range and the parameter of the filter module comprises: When the maximum value of the first frequency range and the maximum value of the second frequency range are less than or equal to the first frequency threshold, the controllable switch module in the second line is selected to be turned on.

18. The anti-interference method according to claim 16, wherein: The step of selecting to open the controllable switch modules in part or all of the one or more first lines and the second lines according to the correspondence between the first frequency range and the parameter of the filter module and the correspondence between the second frequency range and the parameter of the filter module comprises: When the maximum value of the first frequency range and the maximum value of the second frequency range are less than or equal to a first frequency threshold, obtain the communication distance between the first device and the second device, determine whether the communication distance between the first device and the second device is less than or equal to a distance threshold, and when the communication distance between the first device and the second device is less than or equal to the distance threshold, select to turn on the controllable switch module in the second line.

19. The anti-interference method according to claim 16, wherein: The one or more first lines include a line whose filtering module is a capacitor, the second frequency threshold is greater than the first frequency threshold, and the selecting to open the controllable switch modules in part or all of the one or more first lines and the second line according to the correspondence between the first frequency range and the parameter of the filtering module and the correspondence between the second frequency range and the parameter of the filtering module includes: When any of the following conditions is met: the first frequency range is within the range from the first frequency threshold to the second frequency threshold, the second frequency range is within the range from the first frequency threshold to the second frequency threshold, the maximum value of the first frequency range is greater than the second frequency threshold and the maximum value of the second frequency range is less than or equal to the second frequency threshold, the maximum value of the second frequency range is greater than the second frequency threshold and the maximum value of the first frequency range is less than or equal to the second frequency threshold, according to the corresponding relationship between the first frequency range and the capacitance value of the capacitor and the corresponding relationship between the second frequency range and the capacitance value of the capacitor, select to turn on the controllable switch module in some or all of the circuits in which the filtering module is a capacitor.

20. The anti-interference method according to claim 19, wherein: Different frequency ranges correspond to different capacitance values ​​of capacitors. The higher the frequency in the frequency range, the smaller the capacitance value of the corresponding capacitor.

21. The anti-interference method according to claim 16, wherein: The one or more first lines include a line whose filter module is a capacitor and a line whose filter module is a choke, the second frequency threshold is greater than the first frequency threshold, and the selecting to open the controllable switch modules in part or all of the one or more first lines and the second line according to the correspondence between the first frequency range and the parameter of the filter module and the correspondence between the second frequency range and the parameter of the filter module includes: When the minimum value of the first frequency range and the minimum value of the second frequency range are greater than the second frequency threshold, the controllable switch modules in some or all of the circuits in which the filtering module is a capacitor and the controllable switch modules in some or all of the circuits in which the filtering module is a choke are selected to be turned on.

22. The anti-interference method according to any one of claims 16 to 21, further comprising: Determine that an interference evaluation index value after anti-interference is performed by the controllable switch modules in the one or more first lines and part or all of the second lines that are selected to be turned on is greater than an interference threshold, and dynamically adjust the controllable switch modules in the one or more first lines and part or all of the second lines that are selected to be turned on.

23. The anti-interference method according to claim 22, wherein: The interference evaluation index value is a bit error rate, the interference threshold is a bit error rate threshold, and the anti-interference method further includes: Sending instruction information to the first device or the second device, wherein the instruction information is used to instruct the first device and the second device to send a test frame between each other, and determining the bit error rate according to the test frame; Receive the bit error rate sent by the first device or the second device.

24. The anti-interference method according to any one of claims 16 to 21, further comprising: According to the identifier of the first device and the identifier of the second device, the controllable switch modules in part or all of the one or more first lines and the second line are selected to be turned on.

25. A control module, applied to the anti-interference circuit according to any one of claims 1 to 13, the anti-interference circuit comprising: One or more first circuits and a control module, wherein, Each of the one or more first lines comprises a controllable switch module and a filter module, and parameters of the filter modules in different first lines are different. The control module comprises: A determination unit, configured to determine an operating frequency of the first device and an operating frequency of the second device; The selection unit is configured to select and turn on the controllable switch modules in part or all of the one or more first lines according to the operating frequency of the first device and the operating frequency of the second device.

26. An anti-interference device, comprising: Memory; and A processor coupled to the memory, wherein the processor is configured to execute the anti-interference method according to any one of claims 14 to 24 based on instructions stored in the memory.

27. A building control system comprising: The anti-interference circuit according to any one of claims 1 to 14; A first device and a second device, wherein the anti-interference circuit is arranged between the first device and the second device, the first ground terminal is connected to the first device, and the second ground terminal is connected to the second device.

28. The building control system according to claim 27, wherein: The anti-interference circuit is configured to determine that an interference evaluation index value after anti-interference is performed by the controllable switch modules in the one or more first lines and part or all of the second lines selected to be turned on is greater than an interference threshold, and dynamically adjust the controllable switch modules in the one or more first lines and part or all of the second lines selected to be turned on.

29. The building control system according to claim 28, wherein: The interference evaluation index value is the bit error rate, and the interference threshold is the bit error rate threshold. The anti-interference circuit is further configured to send indication information to the first device or the second device, wherein the indication information is used to instruct the first device and the second device to send a test frame between each other, and determine the bit error rate according to the test frame; The first device or the second device is configured to receive the indication information sent by the anti-interference circuit, wherein, in the case where the first device receives the indication information, the first device is further configured to send a test frame to the second device, the second device is further configured to receive and determine the bit error rate according to the test frame, and send the bit error rate to the anti-interference circuit, or, in the case where the second device receives the indication information, the second device is further configured to send a test frame to the first device, the first device is further configured to receive and determine the bit error rate according to the test frame, and send the bit error rate to the anti-interference circuit; The anti-interference circuit is further configured to receive the bit error rate sent by the first device or the second device.

30. A computer-readable storage medium having computer instructions stored thereon, wherein the instructions, when executed by a processor, implement the anti-interference method according to any one of claims 14 to 24.

31. A computer program product, comprising computer instructions, wherein when the computer instructions are executed by a processor, the anti-interference method according to any one of claims 14 to 24 is implemented.