CN109633309B - Electromagnetic interference recognition device and method and intelligent door lock - Google Patents

Electromagnetic interference recognition device and method and intelligent door lock Download PDF

Info

Publication number
CN109633309B
CN109633309B CN201811532206.3A CN201811532206A CN109633309B CN 109633309 B CN109633309 B CN 109633309B CN 201811532206 A CN201811532206 A CN 201811532206A CN 109633309 B CN109633309 B CN 109633309B
Authority
CN
China
Prior art keywords
signal line
sentinel
signal
protected
electromagnetic interference
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811532206.3A
Other languages
Chinese (zh)
Other versions
CN109633309A (en
Inventor
官德力
陈文辉
陈仕建
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Galaxywind Network Systems Co ltd
Original Assignee
Shenzhen Galaxywind Network Systems Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Galaxywind Network Systems Co ltd filed Critical Shenzhen Galaxywind Network Systems Co ltd
Priority to CN201811532206.3A priority Critical patent/CN109633309B/en
Publication of CN109633309A publication Critical patent/CN109633309A/en
Application granted granted Critical
Publication of CN109633309B publication Critical patent/CN109633309B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/001Measuring interference from external sources to, or emission from, the device under test, e.g. EMC, EMI, EMP or ESD testing
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/001Measuring interference from external sources to, or emission from, the device under test, e.g. EMC, EMI, EMP or ESD testing
    • G01R31/002Measuring interference from external sources to, or emission from, the device under test, e.g. EMC, EMI, EMP or ESD testing where the device under test is an electronic circuit

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • General Physics & Mathematics (AREA)
  • Shielding Devices Or Components To Electric Or Magnetic Fields (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The invention discloses an electromagnetic interference recognition device, a method and an intelligent door lock, wherein the device comprises a sentinel signal wire: the guard signal line is arranged in a preset area, close to the signal line to be protected, on the PCB, the guard signal line is in the same wiring mode as the signal line to be protected, and the guard signal line and the signal line to be protected are kept in an insulation state; the signal line to be protected is connected with a first resistor, the sentinel signal line is connected with a second resistor, and the resistance value of the second resistor is greater than or equal to that of the first resistor; and after the sentinel signal line is electrified, judging whether the corresponding signal line needing to be protected has electromagnetic interference or not according to the sentinel signal transmitted by the sentinel signal line. The invention identifies the electromagnetic interference existing in the signal transmitted in the signal line to be protected by arranging the sentinel signal line in the area close to the signal line to be protected.

Description

Electromagnetic interference recognition device and method and intelligent door lock
Technical Field
The invention relates to the technical field of intelligent home furnishing, in particular to an electromagnetic interference recognition device and method and an intelligent door lock.
Background
Electromagnetic Interference (EMI) is an electronic noise that interferes with a signal and reduces signal integrity. It has long been recognized that electromagnetic interference can cause problems in the failure of equipment to function properly.
In the field of smart homes, especially smart door locks, the situation that the smart door locks are interfered by a tesla coil and are directly unlocked without passing verification (verification in a key, a password, an access card, a fingerprint and the like) exists. The problem of electromagnetic interference exceeds the conventional problem of electromagnetic compatibility, and the prior electromagnetic interference is not aimed at destroying the system, and the destructive attack is in the range of electromagnetic countermeasure.
In the civil field, the common solution is to strengthen electromagnetic shielding and add transient suppression diodes, metal oxide piezoresistors and other protection devices. However, the shielding of the electromagnetic interference cannot guarantee the solution of the problem, and the shielding is known to only weaken the electromagnetic interference and not completely eliminate the electromagnetic interference, so that the difficulty of the interference is only improved even if the electromagnetic interference is reduced to 1/1000 or even 1/1000000; after the equipment generating electromagnetic interference is upgraded, stronger interference signals can be sent out, a cracking scheme can be formulated aiming at a specific lockset, and potential safety hazards still exist. At the same time, the cost of providing such a high level of electromagnetic shielding protection on the lock body is also very prohibitive.
Disclosure of Invention
In view of the foregoing problems, an object of the embodiments of the present invention is to provide an electromagnetic interference identification apparatus and method, and an intelligent door lock, so as to solve the deficiencies of the prior art.
According to one embodiment of the invention, there is provided an electromagnetic interference identification device comprising a sentinel signal line:
the guard signal line is arranged in a preset area, close to the signal line to be protected, on the PCB, the guard signal line is in the same wiring mode as the signal line to be protected, and the guard signal line and the signal line to be protected are kept in an insulation state;
the signal line to be protected is connected with a first resistor, the sentinel signal line is connected with a second resistor, and the resistance value of the second resistor is greater than or equal to that of the first resistor;
and after the sentinel signal line is electrified, judging whether the corresponding signal line needing to be protected has electromagnetic interference or not according to the sentinel signal transmitted by the sentinel signal line.
In the electromagnetic interference recognition device, the sentinel signal line is arranged in parallel with the signal line to be protected.
In the above electromagnetic interference recognition apparatus, the sentinel signal line and the second resistor are arranged in parallel with the signal line to be protected and the first resistor in the same connection order.
According to another embodiment of the present invention, there is provided an electromagnetic interference recognition method applied to the electromagnetic interference recognition apparatus, the method including:
obtaining a sentinel signal transmitted by the sentinel signal line;
and judging whether the corresponding signal line needing to be protected has electromagnetic interference or not according to the sentinel signal.
In the above electromagnetic interference identification method, the step of "judging whether electromagnetic interference exists in a signal line to be protected corresponding to the sentinel signal according to the sentinel signal" includes:
comparing the sampling value of the sentinel signal with a preset level value;
and if the sampling value of the sentinel signal is inconsistent with the preset level value, determining that the signal line corresponding to the sentinel signal line and needing to be protected has electromagnetic interference.
In the above electromagnetic interference recognition method, the method further includes:
and if the signal line needing to be protected has electromagnetic interference, generating abnormal information and sending the abnormal information to the corresponding user terminal.
In the above electromagnetic interference recognition method, the method further includes:
and when the signal line needing to be protected has electromagnetic interference, taking the signal transmitted by the signal line needing to be protected as an invalid signal.
In the above electromagnetic interference recognition method, the method further includes:
judging whether a sampling value of the sentinel signal is consistent with a preset level value or not within a first preset time before sampling a signal transmitted by a signal line needing to be protected, and taking the sampled transmitted signal as an invalid signal when the sampling value of the sentinel signal is inconsistent with the preset level value;
when the sampling value of the sentinel signal is consistent with the preset level value, sampling a signal transmitted by a signal line needing to be protected, judging whether the sampling value of the sentinel signal is consistent with the preset level value within second preset time after sampling, and if the sampling value of the sentinel signal is not consistent with the preset level value, taking the sampled transmitted signal as an invalid signal;
and if the sampling value of the sentinel signal line is consistent with the preset level value, taking the sampled transmitted signal as an effective signal.
In the electromagnetic interference identification method, when a signal line needing to be protected transmits signals, the sentinel signals are collected for preset times, and the transmission signals are effective after the sentinel signals for the preset times are all correct.
According to another embodiment of the present invention, an intelligent door lock is provided, which includes the electromagnetic interference recognition device;
after the sentinel signal line is electrified, the electromagnetic interference recognition device judges whether electromagnetic interference exists at the input end of the intelligent door lock corresponding to the sentinel signal line according to the sentinel signal transmitted by the sentinel signal line;
and when the signal line needing to be protected has electromagnetic interference, taking the signal at the input end of the intelligent door lock as an invalid signal.
According to still another embodiment of the present invention, there is provided a computer-readable storage medium having stored therein a computer program which, when executed, performs the above-described electromagnetic interference identification method.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the electromagnetic interference identification device, the electromagnetic interference identification method and the intelligent door lock, the sentinel signal line is arranged in the area close to the signal line needing to be protected so as to identify the electromagnetic interference in the signal transmitted in the signal line needing to be protected, and the safety of signal transmission is improved.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings needed in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention, and therefore should not be considered as limiting the scope of the present invention, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1a-1b are schematic diagrams illustrating a circuit connection structure of an input terminal according to an embodiment of the present invention.
Fig. 2 is a schematic structural diagram illustrating an electromagnetic interference recognition apparatus according to an embodiment of the present invention.
Fig. 3a-3b are schematic structural diagrams illustrating a sentinel signal line provided by an embodiment of the invention.
Fig. 4 is a flowchart illustrating an electromagnetic interference identification method according to an embodiment of the present invention.
Fig. 5 is a flow chart illustrating another electromagnetic interference identification method according to an embodiment of the present invention.
Fig. 6 is a flowchart illustrating another electromagnetic interference identification method according to an embodiment of the present invention.
Fig. 7 is a flowchart illustrating a further electromagnetic interference identification method according to an embodiment of the present invention.
Fig. 8 is a schematic structural diagram illustrating an electromagnetic interference recognition apparatus according to an embodiment of the present invention.
Fig. 9 shows a schematic structural diagram of an intelligent door lock according to an embodiment of the present invention.
Description of the reference symbols:
10-an electromagnetic interference identification device; 100-sentinel signal line; 110-a second resistance; 200-signal lines to be protected; 210-a first resistance; 800-an electromagnetic interference identification device; 810-an obtaining module; 820-a judgment module; 900-intelligent door lock.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
Example 1
The existing Programmable digital circuit mainly includes an MCU (Micro Controller Unit), an FPGA (Field-Programmable Gate Array), a combination of the MCU and the FPGA, a Gate circuit combination circuit, and the like. The input and output part of the digital circuit is generally processed in a CMOS (Complementary Metal Oxide Semiconductor) manner, and has the characteristics of high input impedance and low output impedance, so as to achieve the purpose of power saving.
The PCB is a circuit substrate, the main body of the PCB is made of insulating materials, conductors can be distributed on the upper surface, the lower surface and the middle of the PCB, and copper is generally used; the electronic components can then be soldered on the upper and lower sides, and the intermediate conductor can be connected to the other layers via vias. The primary function of a PCB is to physically support electronic components. The copper here serves as a conductor connecting the individual elements. Copper is first fabricated into a uniform sheet, applied to the PCB insulating substrate, and then, as necessary, the unwanted portions are etched away. The thickness of all copper wires in the same layer on the PCB is the same, but the width is designed according to the requirement; where high currents need to be passed, wider copper wires are used for the connections.
For a CMOS input device, the input signal must be either a well-defined low level (which can be represented using the number 0) or high level (which can be represented using the number 1) because the input impedance is very high. The CMOS input device does not allow the input end to be suspended.
If the input terminal is a switch button, the input terminal is commonly connected with two circuits as shown in fig. 1a and fig. 1 b:
as shown in fig. 1a, the input signal line is connected to a first resistor 210 and a switch button a, the first resistor 210 is a pull-down resistor, and the input signal line is connected to an MCU (micro controller Unit). When the switch key A is not pressed, because a pull-down resistor is connected to the ground, the input signal line transmits a low level at the moment, and the input read by the MUC is 0; after the switch key A is pressed, the input signal line is connected to the positive pole of the power supply by a conducting wire and the switch key A (without a resistor or with a small enough value to be ignored), and at the moment, the input signal line transmits a high level, and the input read by the MUC is 1.
As shown in fig. 1b, the input signal line is connected to a first resistor 210, the first resistor 210 is a pull-up resistor, and the input signal line is connected to the MCU. Under the condition that the switch key A is not pressed, the input signal line is connected to the positive pole of the power supply through the first resistor 210, the transmission of the input signal line is high level, and the input signal read by the MCU is 1; after switch key a is pressed, because the input signal line is grounded by switch key a (with no resistance, or with a negligible resistance), the input signal line now carries a low level and the input read by the MUC is 0.
The pull-up and pull-down resistor connected with the input signal line can be a resistor built in a chip where the input end is located, and can also be a resistor connected outside the chip.
For the existing internet of things products, for low power consumption, the resistance values of the pull-up and pull-down resistors connected with the input signal line are often large, and one hundred kilo ohms to ten mega ohms (100K Ω -10M Ω) are often used, but the larger the resistor is, the more power is saved, and the more interference is caused.
Fig. 2 is a schematic structural diagram illustrating an electromagnetic interference recognition apparatus according to an embodiment of the present invention.
The electromagnetic interference recognition device 10 includes a sentinel signal line 100 and a signal line 200 to be protected.
The signal line 200 to be protected may be an input signal line on a PCB circuit board.
The sentinel signal line 100 is arranged in a predetermined area on the PCB close to the signal line 200 to be protected, and the sentinel signal line 100 is in the same wiring mode as the signal line 200 to be protected and keeps an insulation state with the signal line 200 to be protected.
The routing manner may include a right-angle routing, a differential routing, or a serpentine.
Further, the sentinel signal line 100 may be disposed in parallel with the signal line 200 to be protected within the predetermined area near the signal line 200 to be protected.
For example, in order to subject the sentinel signal line 100 and the signal line 200 to be protected to the same electromagnetic interference when the external electromagnetic interference is received, the sentinel signal line 100 may be disposed on both sides of the signal line 200 to be protected, may be as close as possible to the signal line 200 to be protected, and may be insulated from the signal line 200 to be protected.
In order to make the sentinel signal line 100 and the signal line 200 to be protected as similar as possible and receive the same electromagnetic interference, the sentinel signal line 100 adopts the same wiring mode, the same signal line material, the same copper wire thickness, the same copper wire width and the like as the signal line 200 to be protected.
The signal line 200 to be protected is connected with a first resistor 210, the sentinel signal line 100 is connected with a second resistor 110, and the resistance value of the second resistor 110 is greater than or equal to that of the first resistor 210.
Further, the sentinel signal line 100 is connected to the second resistor 110 in the same connection manner as the signal line to be protected.
Specifically, for the case that the input terminal cannot be floated, the signal line 200 to be protected is further connected to a first resistor 210, and the first resistor 210 may be a pull-up resistor or a pull-down resistor. The sentinel signal line 200 is connected with the second resistor 110 in the same connection mode as the signal line 200 to be protected, wherein the connection mode is a mode of connecting a pull-down resistor and a mode of connecting a pull-up resistor.
In order to subject the sentinel signal line 100 and the signal line 200 to be protected to the same electromagnetic interference, the resistance of the second resistor 110 may be the same as the resistance of the first resistor 210. The resistance of the second resistor 110 may also be greater than the resistance of the first resistor 210, and the larger the resistor is, the more easily the input is interfered.
Further, the sentinel signal line 100 and the second resistor 110 are arranged in parallel with the signal line 200 to be protected and the first resistor 210 in the same connection order.
In particular, in the case of the output terminal of the PCB in the push-pull manner, the possibility of the signal on the input terminal side being interfered is very low, and the position of the second resistor 110 in the sentinel signal line 100 may be determined according to the hardware design requirement of the PCB.
For the case of the output terminal of the PCB with open drain or open source output, the signal line 200 to be protected must be provided with a pull-up or pull-down resistor 210, and the second resistor 110 in the sentinel signal line 100 can be arranged at the position corresponding to the first resistor 210 in the signal line 200 to be protected. The open source or open drain output is a term for a MOS transistor, and if a transistor is adopted, the corresponding term is open collection or development, or if a switch is adopted to realize on-off operation like fig. 1a-1b, the term open drain or open source is used subsequently, but the conditions of the transistor or the switch are adopted, which is also within the protection scope of the scheme.
For example, as shown in fig. 3a, a schematic circuit diagram of a sentinel signal line 100 is shown when a pull-down resistor is connected to the input signal line.
In fig. 3a, a first resistor 210 and a switch button a are connected to a signal line 200 to be protected, and the first resistor 210 is a pull-down resistor. The sentinel signal line 100 arranged close to the signal line 200 to be protected is provided with a second resistor 110, and the resistance value of the second resistor 110 is larger than or equal to that of the first resistor 210.
The sentinel signal line 100 does not need to be connected to real switch keys, or pads of the switch can be designed on a PCB circuit board, but the actual switch keys are not soldered. So that the sentinel signal line continuously transmits a high level or a low level.
For the case that the output signal of the opposite end of the input signal in the PCB adopts an open-drain or open-source manner, the signal line 200 to be protected is connected to the first resistor 210 at point P2, and the other end of the first resistor 210 is grounded; the sentinel signal wire 100 is a signal wire made of the same material and in the same wiring mode as the signal wire 200 to be protected, and is connected with the second resistor 110 at a point P1 corresponding to a point P2, and the other end of the second resistor 110 is grounded.
For example, if the distance between the P2 point and the start point (i.e., the input end point) of the signal line 200 to be protected is L2, and the distance between the P1 point and the start point (i.e., the input end point) of the sentinel signal line 100 is L1, L1 is ensured to be L2.
For the case that the output signal of the opposite end of the input signal in the PCB is in the push-pull mode, a pull-up resistor is not needed, and a pull-up resistor is not designed in a general actual circuit, so the second resistor 110 can be connected to the sentinel signal line 100 according to the design requirements (e.g., the wiring requirements, the component distribution requirements, etc.) of the PCB, and the selection of the resistance value is also determined according to the requirements.
As shown in fig. 3b, is a schematic circuit diagram of the sentinel signal line 100 when the input signal line is connected to the pull-up resistor.
In fig. 3b, the signal line 200 to be protected is connected to a first resistor 210 and a switch button a, and the first resistor 210 is a pull-up resistor. The sentinel signal line 100 arranged close to the signal line 200 to be protected is provided with a second resistor 110, and the resistance value of the second resistor 110 is larger than or equal to that of the first resistor 210.
The sentinel signal line 100 does not need to be connected to real switch keys, or pads of the switch can be designed on a PCB circuit board, but the actual switch keys are not soldered. So that the sentinel signal line continuously transmits a high level or a low level.
For the condition that the output signal of the opposite end of the input signal in the PCB adopts an open-drain or open-source mode, the signal line 200 to be protected is connected to the first resistor 210 at point P3, and the other end of the first resistor 210 is connected to the power supply; the sentinel signal wire 100 is a signal wire made of the same material and in the same wiring mode as the signal wire 200 to be protected, and is connected with a second resistor 110 at a point P4 corresponding to a point P3, and the other end of the second resistor 110 is connected with a power supply.
For example, if the distance between the P3 point and the start point (i.e., the input end point) of the signal line 200 to be protected is L3, and the distance between the P4 point and the start point (i.e., the input end point) of the sentinel signal line 100 is L4, L3 is ensured to be L4.
For the case that the output signal of the opposite end of the input signal in the PCB is in the push-pull mode, a pull-up resistor is not needed, and a pull-up resistor is not designed in a general actual circuit, so the second resistor 110 can be connected to the sentinel signal line 100 according to the design requirements (e.g., the wiring requirements, the component distribution requirements, etc.) of the PCB, and the selection of the resistance value is also determined according to the requirements.
And after the sentinel signal line 100 is electrified, judging whether the corresponding signal line 200 needing to be protected has RF interference or not according to the sentinel signal transmitted by the sentinel signal line 100.
Specifically, in the case where the sentinel signal line 100 is connected to a pull-down resistor, the sentinel signal line 100 generates a low level after power-on and without interference; in the case where a pulling resistance is connected to the sentinel signal line 100, the sentinel signal line 100 generates a high level after power-on and without interference.
Specifically, a sampling point is arranged on the sentinel signal line 100, a sampling value of the sentinel signal is obtained, the sentinel signal value is compared with a preset level value, if the sampling value of the sentinel signal is inconsistent with the preset level value, it is determined that the sentinel signal line 100 is subjected to electromagnetic interference, and it is inferred that the corresponding signal line 200 which needs to be protected is also subjected to electromagnetic interference.
Of course, when the signal line 200 to be protected is connected with a pull-down resistor, the sentinel signal line 100 may also be set to be connected with a pull-up resistor, and the predetermined level value corresponding to the sentinel signal line 100 is a high level, for example, the predetermined level value is set to 1. And judging whether the sentinel signal line 100 is subjected to electromagnetic interference or not according to the sampling value and the preset level value of the sentinel signal line 100, and further judging whether the signal line 200 which corresponds to the sentinel signal line 100 and needs to be protected is subjected to electromagnetic interference or not.
When the signal line 200 to be protected is connected with a pull-up resistor, the sentinel signal line 100 may be further configured to be connected with a pull-down resistor, and the predetermined level value corresponding to the sentinel signal line 100 is a low level, for example, the predetermined level value is set to 0. And judging whether the sentinel signal line 100 is subjected to electromagnetic interference or not according to the sampling value and the preset level value of the sentinel signal line 100, and further judging whether the signal line 200 which corresponds to the sentinel signal line 100 and needs to be protected is subjected to electromagnetic interference or not.
When the signal line 200 to be protected is connected with a pull-down resistor, a plurality of sentinel signal lines 100 may be further provided in a predetermined region near the signal line 200 to be protected, in the plurality of sentinel signal lines 100, a part of the sentinel signal lines 100 is connected with a pull-up resistor, another part of the sentinel signal lines 100 is connected with a pull-down resistor, and a predetermined level value of the sentinel signal line 100 connected with the pull-down resistor is set to a low level, for example, the predetermined level value is set to 0; the predetermined level value of the sentinel signal line 100 to which the pull-up resistor is connected is set to a high level, for example, the predetermined level value is set to 1. Comparing the sampling values of the sentinel signal lines 100 connected with the pull-down resistors with the corresponding preset level values, and simultaneously comparing the sampling values of the sentinel signal lines 100 connected with the pull-down resistors with the corresponding preset level values, wherein when the sampling values of all the sentinel signal lines 100 connected with the pull-down resistors are consistent with the corresponding preset level values and the sampling values of all the sentinel signal lines 100 connected with the pull-up resistors are consistent with the corresponding preset level values, the signal lines 200 which are corresponding to the two sentinel signal lines 100 and need to be protected do not have electromagnetic interference; otherwise, electromagnetic interference exists between the signal lines 200 which are required to be protected and correspond to the two sentinel signal lines 100.
When the signal line 200 to be protected is connected with a pull-up resistor, a plurality of sentinel signal lines 100 may be further provided in a predetermined region near the signal line 200 to be protected, in the plurality of sentinel signal lines 100, a part of the sentinel signal lines 100 is connected with a pull-up resistor, another part of the sentinel signal lines 100 is connected with a pull-down resistor, and a predetermined level value of the sentinel signal line 100 connected with the pull-down resistor is set to a low level, for example, the predetermined level value is set to 0; the predetermined level value of the sentinel signal line 100 to which the pull-up resistor is connected is set to a high level, for example, the predetermined level value is set to 1. Comparing the sampling values of the sentinel signal lines 100 connected with the pull-down resistors with the corresponding preset level values, and simultaneously comparing the sampling values of the sentinel signal lines 100 connected with the pull-down resistors with the corresponding preset level values, wherein when the sampling values of all the sentinel signal lines 100 connected with the pull-down resistors are consistent with the corresponding preset level values and the sampling values of all the sentinel signal lines 100 connected with the pull-up resistors are consistent with the corresponding preset level values, the signal lines 200 which are corresponding to the two sentinel signal lines 100 and need to be protected do not have electromagnetic interference; otherwise, electromagnetic interference exists between the signal lines 200 which are required to be protected and correspond to the two sentinel signal lines 100.
It should be noted that, when there are a plurality of signal lines 200 to be protected, a sentinel signal line 100 may be further disposed near the plurality of signal lines 200 to be protected, the sampled value of the signal line 100 is compared with the predetermined level value, and when the sampled value of the signal line 100 is inconsistent with the predetermined level value, there is electromagnetic interference in all the plurality of signal lines to be protected; when the sampling value of the signal line 100 is consistent with the predetermined level value, the signal lines to be protected do not have electromagnetic interference.
Example 2
Fig. 4 is a flowchart illustrating an electromagnetic interference identification method according to an embodiment of the present invention.
The electromagnetic interference recognition method is applied to the RF interference recognition apparatus described in embodiment 1, and includes the steps of:
and S410, obtaining the sentinel signal transmitted by the sentinel signal wire.
Specifically, sampling points are set on the sentinel signal lines.
If the digital chip device where the sentinel signal line is located is a programmable logic device, programming can be performed during the period of the digital chip to realize sampling of the input of the sampling point.
And step S420, judging whether the corresponding signal line needing to be protected has electromagnetic interference according to the sentinel signal.
Further, the step of judging whether the corresponding signal line needing to be protected has electromagnetic interference according to the sentinel signal comprises the following steps:
comparing the sampling value of the sentinel signal with a preset level value; and if the sampling value of the sentinel signal is inconsistent with the preset level value, determining that the signal line corresponding to the sentinel signal line and needing protection has RF interference.
For example, in the case that an input signal is connected to a pull-down resistor, in a normal case, the transmission of a sentinel signal line corresponding to the input signal line is at a low level, and the sampling value of a sentinel signal transmitted by the sentinel signal line is 0; under the condition of electromagnetic interference, the sampling value of the sentinel signal transmitted by the sentinel signal wire can be changed alternately by 0 and 1. Therefore, the sampling value 0 of the sentinel signal transmitted by the sentinel signal line in a normal condition can be used as the predetermined level value.
Under the condition that the input signal is connected with a pull-down resistor, if the sampling value of the collected sentinel signal is 1, and the sampling value is 1 and is inconsistent with the preset level value 0, the sentinel signal line is subjected to electromagnetic interference, and the corresponding signal line needing to be protected is also subjected to electromagnetic interference; if the sampling value of the collected sentinel signal is 0, and the sampling value is 0 and is consistent with the preset level value 0, the sentinel signal line is not subjected to electromagnetic interference, and the corresponding signal line needing to be protected is also not subjected to electromagnetic interference.
For another example, for the case that the input signal line is connected with the pull-up resistor, under normal conditions, the transmission of the sentinel signal line corresponding to the input signal line is at a high level, and the sampling value of the sentinel signal transmitted by the sentinel signal line is 1; under the condition of interference, the situation that the sampling value of the sentinel signal transmitted by the sentinel signal wire is changed alternately by 0 and 1 occurs. Therefore, the sampling value 1 of the sentinel signal transmitted by the sentinel signal line in a normal condition can be used as the predetermined level value.
Under the condition that the input signal is connected with a pull-down resistor, if the sampling value of the collected sentinel signal is 1, and the sampling value is 1 and is consistent with the preset level value 1, the sentinel signal line is not subjected to electromagnetic interference, and the corresponding signal line needing to be protected is also not subjected to electromagnetic interference; if the sampling value of the collected sentinel signal is 0, and the sampling value is 0 and is inconsistent with the preset level value 1, the sentinel signal line is subjected to electromagnetic interference, and the corresponding signal line needing to be protected is also subjected to electromagnetic interference.
Fig. 5 is a flow chart illustrating another electromagnetic interference identification method according to an embodiment of the present invention.
The electromagnetic interference recognition method is applied to the RF interference recognition apparatus described in embodiment 1, and includes the steps of:
and step S510, obtaining the sentinel signal transmitted by the sentinel signal wire.
And S520, judging whether the corresponding signal line needing to be protected has electromagnetic interference or not according to the sentinel signal.
Step S530, if there is electromagnetic interference in the signal line to be protected, generating abnormal information and sending the abnormal information to the corresponding user terminal.
Specifically, the abnormality information may include a log file and/or alarm information. The log file records information when the signal line to be protected has electromagnetic interference and information when the signal line to be protected does not have electromagnetic interference.
Fig. 6 is a flowchart illustrating another electromagnetic interference identification method according to an embodiment of the present invention.
The electromagnetic interference recognition method is applied to the RF interference recognition apparatus described in embodiment 1, and includes the steps of:
and step S610, obtaining the sentinel signal transmitted by the sentinel signal wire.
And S620, judging whether the corresponding signal line needing to be protected has electromagnetic interference or not according to the sentinel signal.
Step S630, if there is electromagnetic interference in the signal line to be protected, generating abnormal information and sending the abnormal information to the corresponding user terminal.
Step S640 is to use the signal transmitted by the signal line to be protected as an invalid signal.
Specifically, if there is electromagnetic interference in the signal line to be protected, the signal transmitted by the signal line to be protected can be used as an invalid signal, and if no signal is input, the operation corresponding to the transmitted signal is not executed, so that the safety is improved.
It is noted that, the electromagnetic interference identification method may further perform step S640 first, then perform step S630, and further perform step S630 and step S640 simultaneously.
Fig. 7 is a flowchart illustrating a further electromagnetic interference identification method according to an embodiment of the present invention.
The electromagnetic interference recognition method is applied to the RF interference recognition apparatus described in embodiment 1, and includes the steps of:
step S710, obtaining the sentinel signal transmitted by the sentinel signal line within a first preset time before sampling the signal transmitted by the signal line needing to be protected.
Specifically, in a first preset time before sampling a signal transmitted by a signal line needing to be protected, sentinel signals transmitted by the sentinel signal line are acquired at intervals of a preset time; or immediately informing the MCU in the PCB by adopting an interrupt mode when the level changes.
Wherein, the first preset time may be 3 minutes, 5 minutes, etc.
The preset time may be 1 second, etc.
And S720, judging whether the sentinel signal sampling value is consistent with the preset level value.
In a first preset time, comparing the sampling value of the sentinel signal with a preset level value every time the sentinel signal is acquired, if the sampling value of the sentinel signal is inconsistent with the preset level value, indicating that the sentinel signal has electromagnetic interference and the corresponding signal line to be protected also has electromagnetic interference, and advancing to step S730; if the sampled value of the sentinel signal is consistent with the predetermined level value, it is indicated that the sentinel signal does not have electromagnetic interference, and the corresponding signal line to be protected does not have electromagnetic interference, and the process proceeds to step S750.
Step S730, the sampled transmitted signal is taken as an invalid signal.
Step S740, generating abnormal information and sending the abnormal information to the corresponding user terminal.
In step S750, the first preset time is reset.
Further, after the abnormal message is generated and sent to the corresponding user terminal, the first preset time can be reset, and the step S720 is returned, and whether the sentinel signal sampling value is consistent with the predetermined level value is judged within the reset first preset time.
Step S760, samples the signal transmitted by the signal that needs to be protected.
Specifically, when the signal line to be protected does not have electromagnetic interference within a first preset time before the signal line to be protected is sampled, the signal line to be protected is sampled.
And step S770, judging whether the sentinel signal sampling value is consistent with the preset level value.
And acquiring the sentinel signals transmitted by the sentinel signal lines at preset intervals within second preset time after sampling the signals transmitted by the signal lines needing to be protected.
In a second preset time, every time a sentinel signal is acquired, comparing a sampling value of the sentinel signal with a preset level value, and if the sampling value of the sentinel signal is inconsistent with the preset level value, indicating that the sentinel signal has electromagnetic interference and the corresponding signal line to be protected also has electromagnetic interference; if the sampled value of the sentinel signal is consistent with the predetermined level value, it is indicated that the sentinel signal does not have electromagnetic interference, and the corresponding signal line to be protected does not have electromagnetic interference, and the process proceeds to step S770.
Wherein the first preset time and the second preset time may be the same. Of course, it may also be different.
Step S780, the sampled transmitted signal is taken as a valid signal.
Therefore, the signal line needing to be protected does not have electromagnetic interference in a period of time before the signal transmitted by the signal line needing to be protected is sampled and in a period of time after the signal transmitted by the signal line needing to be protected is sampled, so that the safety of collecting the signal transmitted by the signal line needing to be protected is improved, and the error signal is prevented from being collected when the electromagnetic interference exists.
Example 3
Fig. 8 is a schematic structural diagram illustrating an electromagnetic interference recognition apparatus according to an embodiment of the present invention.
The electromagnetic interference identification apparatus 800 is applied to the RF interference identification apparatus described in embodiment 1, and the electromagnetic interference identification apparatus 800 includes an obtaining module 810 and a determining module 820.
And the obtaining module 810 is used for obtaining the sentinel signal transmitted by the sentinel signal line.
And the judging module 820 is used for judging whether the corresponding signal line needing to be protected has electromagnetic interference according to the sentinel signal.
Further, the emi recognition apparatus 800 further includes a generation module, a first invalidation module, a second invalidation module, and a third invalidation module.
And the generating module is used for generating abnormal information and sending the abnormal information to the corresponding user terminal when the signal line needing to be protected has electromagnetic interference.
And the first invalid module is used for taking the signal transmitted by the signal line needing to be protected as an invalid signal when the electromagnetic interference exists in the signal line needing to be protected.
And the second invalid module is used for judging whether the sampling value of the sentinel signal is consistent with the preset level value or not in a first preset time before sampling the signal transmitted by the signal line needing to be protected, and taking the sampled transmitted signal as an invalid signal when the sampling value of the sentinel signal is inconsistent with the preset level value.
And the third invalid module is used for sampling the signal transmitted by the signal line needing to be protected when the sampling value of the sentinel signal is consistent with the preset level value, judging whether the sampling value of the sentinel signal is consistent with the preset level value within second preset time after sampling, and taking the sampled transmitted signal as an invalid signal if the sampling value of the sentinel signal is inconsistent with the preset level value.
And the effective module is used for taking the sampled transmitted signal as an effective signal if the sampling value of the sentinel signal line is consistent with the preset level value.
Example 4
Fig. 9 shows a schematic structural diagram of an intelligent door lock according to an embodiment of the present invention.
The intelligent door lock 900 includes the electromagnetic interference recognition device 10; after the sentinel signal line is powered on, the electromagnetic interference recognition device 10 judges whether electromagnetic interference exists at the input end of the intelligent door lock 900 corresponding to the sentinel signal line according to the sentinel signal transmitted by the sentinel signal line; and when electromagnetic interference exists in the signal line needing to be protected, taking the signal at the input end of the intelligent door lock 900 as an invalid signal.
An embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed, the method for identifying electromagnetic interference is performed.
The invention provides an electromagnetic interference recognition device, an electromagnetic interference recognition method and an intelligent door lock.A sentinel signal line is arranged in a region close to a signal line to be protected, the sentinel signal line is connected with a second resistor consistent with a first resistor in the signal line to be protected, and the resistance value of the second resistor is greater than or equal to that of the first resistor, so that the sentinel signal line is easier to be interfered; judging whether electromagnetic interference exists in signals transmitted in the signal line needing to be protected or not according to the sampling value of the sentinel signal in the sentinel signal line, and sending abnormal information to a corresponding terminal under the condition that the electromagnetic interference exists in the signal line needing to be protected, so that a user can timely master the condition of the electromagnetic interference on the signal line needing to be protected; taking a signal transmitted in a signal line needing to be protected as an invalid signal under the condition that electromagnetic interference exists in the signal line needing to be protected; when electromagnetic interference exists in the signal line needing to be protected, transmission signals in a period of time before and after the signal line needing to be protected transmits signals can be used as invalid signals, and the safety of signal transmission is improved.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative and, for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, each functional module or unit in each embodiment of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention or a part of the technical solution that contributes to the prior art in essence can be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a smart phone, a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention.

Claims (10)

1. An electromagnetic interference recognition device, comprising a sentinel signal line:
the guard signal line is arranged in a preset area, close to the signal line to be protected, on the PCB, the guard signal line is in the same wiring mode as the signal line to be protected, and the guard signal line and the signal line to be protected are kept in an insulation state;
the signal line to be protected is connected with a first resistor, the sentinel signal is connected with a second resistor, and the resistance value of the second resistor is greater than or equal to that of the first resistor;
and after the sentinel signal line is electrified, judging whether the corresponding signal line needing to be protected has electromagnetic interference or not according to the sentinel signal transmitted by the sentinel signal line.
2. The emi recognition apparatus of claim 1, wherein the sentinel signal line is disposed in parallel with the signal line to be protected.
3. The emi recognition apparatus as claimed in claim 1, wherein the sentinel signal line and the second resistor are arranged in parallel with the signal line to be protected and the first resistor in the same connection order.
4. An electromagnetic interference recognition method applied to the electromagnetic interference recognition apparatus according to any one of claims 1 to 3, the method comprising:
obtaining a sentinel signal transmitted by the sentinel signal line;
and judging whether the corresponding signal line needing to be protected has electromagnetic interference or not according to the sentinel signal.
5. The EMI identification method as claimed in claim 4, wherein said "determining whether there is EMI in the corresponding signal line to be protected according to the sentinel signal" includes:
comparing the sampling value of the sentinel signal with a preset level value;
and if the sampling value of the sentinel signal is inconsistent with the preset level value, determining that the signal line corresponding to the sentinel signal line and needing to be protected has electromagnetic interference.
6. The EMI identification method of claim 5, further comprising:
and if the signal line needing to be protected has electromagnetic interference, generating abnormal information and sending the abnormal information to the corresponding user terminal.
7. The EMI identification method of claim 5, further comprising:
and when the signal line needing to be protected has electromagnetic interference, taking the signal transmitted by the signal line needing to be protected as an invalid signal.
8. The EMI identification method of claim 5, further comprising:
judging whether a sampling value of the sentinel signal is consistent with a preset level value or not within a first preset time before sampling a signal transmitted by a signal line needing to be protected, and taking the sampled transmitted signal as an invalid signal when the sampling value of the sentinel signal is inconsistent with the preset level value;
when the sampling value of the sentinel signal is consistent with the preset level value, sampling a signal transmitted by a signal line needing to be protected, judging whether the sampling value of the sentinel signal is consistent with the preset level value within second preset time after sampling, and if the sampling value of the sentinel signal is not consistent with the preset level value, taking the sampled transmitted signal as an invalid signal;
and if the sampling value of the sentinel signal line is consistent with the preset level value, taking the sampled transmitted signal as an effective signal.
9. The EMI identification method as claimed in claim 4, wherein when the signal line to be protected transmits a signal, a predetermined number of said sentinel signals are collected, and when the predetermined number of said sentinel signals are all correct, said transmission signal is valid.
10. An intelligent door lock, characterized by comprising the electromagnetic interference recognition apparatus according to any one of claims 1 to 3;
after the sentinel signal line is electrified, the electromagnetic interference recognition device judges whether electromagnetic interference exists at the input end of the intelligent door lock corresponding to the sentinel signal line according to the sentinel signal transmitted by the sentinel signal line;
and when the signal line needing to be protected has electromagnetic interference, taking the signal at the input end of the intelligent door lock as an invalid signal.
CN201811532206.3A 2018-12-14 2018-12-14 Electromagnetic interference recognition device and method and intelligent door lock Active CN109633309B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811532206.3A CN109633309B (en) 2018-12-14 2018-12-14 Electromagnetic interference recognition device and method and intelligent door lock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811532206.3A CN109633309B (en) 2018-12-14 2018-12-14 Electromagnetic interference recognition device and method and intelligent door lock

Publications (2)

Publication Number Publication Date
CN109633309A CN109633309A (en) 2019-04-16
CN109633309B true CN109633309B (en) 2021-10-08

Family

ID=66074033

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811532206.3A Active CN109633309B (en) 2018-12-14 2018-12-14 Electromagnetic interference recognition device and method and intelligent door lock

Country Status (1)

Country Link
CN (1) CN109633309B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110130732A (en) * 2019-05-08 2019-08-16 重庆鸣洋科技股份有限公司 A kind of intelligent door lock burglary-resisting system
CN110837018A (en) * 2019-11-26 2020-02-25 北京智慧云测信息技术有限公司 Anti-electromagnetic interference detection system of intelligent door lock
CN111105533A (en) * 2019-12-20 2020-05-05 珠海格力电器股份有限公司 Unlocking control method and device of intelligent door lock

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2852138Y (en) * 2005-06-22 2006-12-27 湖南科技大学 Magnetic field probe for electromagnetism compatibility diagnosis testing
CN101169454A (en) * 2007-11-14 2008-04-30 中兴通讯股份有限公司 Advanced sandwich sub card test general carrier plate and its production method
CN101813728A (en) * 2009-02-23 2010-08-25 深圳易拓科技有限公司 Electromagnetic interference detection device
CN105100339A (en) * 2015-06-26 2015-11-25 小米科技有限责任公司 Terminal for call
CN107121598A (en) * 2017-04-14 2017-09-01 南京航空航天大学 A kind of radiosensitivity method of testing of multi-conductor transmission lines coupling

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AT507322B1 (en) * 2008-10-07 2011-07-15 Nanoident Technologies Ag SWITCHING DEVICE FOR ELECTRICAL CONTACT TESTING

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2852138Y (en) * 2005-06-22 2006-12-27 湖南科技大学 Magnetic field probe for electromagnetism compatibility diagnosis testing
CN101169454A (en) * 2007-11-14 2008-04-30 中兴通讯股份有限公司 Advanced sandwich sub card test general carrier plate and its production method
CN101813728A (en) * 2009-02-23 2010-08-25 深圳易拓科技有限公司 Electromagnetic interference detection device
CN105100339A (en) * 2015-06-26 2015-11-25 小米科技有限责任公司 Terminal for call
CN107121598A (en) * 2017-04-14 2017-09-01 南京航空航天大学 A kind of radiosensitivity method of testing of multi-conductor transmission lines coupling

Also Published As

Publication number Publication date
CN109633309A (en) 2019-04-16

Similar Documents

Publication Publication Date Title
CN109633309B (en) Electromagnetic interference recognition device and method and intelligent door lock
EP0886834B1 (en) Smart card and process for manufacturing a smart card
US20070177363A1 (en) Multilayer printed circuit board having tamper detection circuitry
US6344972B2 (en) Electronic equipment
US20110255253A1 (en) Protective serpentine track for card payment terminal
EP2733620B1 (en) Peripheral device detection on an unpowered bus
CN100562241C (en) The electronic installation of anti-electromagnetic interference
WO2007014270A3 (en) System and method for protecting ic components
US20200028695A1 (en) Secure crypto module including conductor on glass security layer
Park et al. Measurement and analysis of statistical IC operation errors in a memory module due to system-level ESD noise
US20130161086A1 (en) Device for Protecting an Electronic Printed Circuit Board
EP2661158A1 (en) System for mechanical and electronic protection of safe equipment
CN106067055A (en) Electronic equipment
US11181940B2 (en) Device for detecting a fault in circuit propagating a clock signal, and corresponding method
CN114647280B (en) Self-describing cable
US20140377993A1 (en) Male connector assembly with antenna
CN101937039B (en) Connecting detection method
CN111034381B (en) Flexible printed circuit for USB 3.0 interconnect in mobile devices
CN206968842U (en) A kind of electric car electric anti-thief device
CN105989312A (en) Electronic device and control method therefor
WO2011128778A2 (en) Security techniques card payment terminal
TWI410799B (en) Detecting apparatus
US7351919B1 (en) Port cover for limiting transfer of electromagnetic radiation from a port defined in a host device
CN103942890B (en) The EPP keyboard that a kind of security performance is good
US9519018B2 (en) Systems and methods for detecting unauthorized population of surface-mount devices on a printed circuit board

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant