CN109633309A - Electromagnetic interference identification device, method and intelligent door lock - Google Patents
Electromagnetic interference identification device, method and intelligent door lock Download PDFInfo
- Publication number
- CN109633309A CN109633309A CN201811532206.3A CN201811532206A CN109633309A CN 109633309 A CN109633309 A CN 109633309A CN 201811532206 A CN201811532206 A CN 201811532206A CN 109633309 A CN109633309 A CN 109633309A
- Authority
- CN
- China
- Prior art keywords
- sentry
- signal
- signal wire
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/001—Measuring interference from external sources to, or emission from, the device under test, e.g. EMC, EMI, EMP or ESD testing
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/001—Measuring interference from external sources to, or emission from, the device under test, e.g. EMC, EMI, EMP or ESD testing
- G01R31/002—Measuring 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)
- Lock And Its Accessories (AREA)
- Shielding Devices Or Components To Electric Or Magnetic Fields (AREA)
Abstract
The invention discloses a kind of electromagnetic interference identification device, method and intelligent door locks; the device includes sentry's signal wire: sentry's signal wire is set in PCB circuit board close to the presumptive area for needing signal wire to be protected, sentry's signal wire use and the identical cabling mode of the need signal wire to be protected and need to keep state of insulation between signal wire to be protected described;The need signal wire to be protected is connected with first resistor, and sentry's signal wire connects second resistance, and the resistance value of the second resistance is greater than or equal to the resistance value of the first resistor;After being powered to sentry's signal wire, judge its corresponding need signal wire to be protected with the presence or absence of electromagnetic interference according to sentry's signal that sentry's signal wire transmits.The present invention is by needing electromagnetic interference present in the signal transmitted in signal wire to be protected with identification close to needing the region of signal wire to be protected that sentry's signal wire is arranged.
Description
Technical field
The present invention relates to Smart Home technical fields, in particular to a kind of electromagnetic interference identification device, method and intelligence
It can door lock.
Background technique
Electromagnetic interference (Electro-Magnetic Interference, EMI) is interference signal and reduces signal integrity
Electronic noise.People have recognized the problem of electromagnetic interference will cause equipment cisco unity malfunction very early.
In smart home field, especially intelligent door lock, exists and intelligent door lock is interfered by Tesla coil, cause not having
The case where directly being unlocked by verifying (verifyings of the modes such as key, password, access card, fingerprint).This electromagnetic interference is asked
The problem of topic has surmounted traditional Electro Magnetic Compatibility again, electromagnetic interference before is not for the purpose of destruction system, this destruction
Sexual assault behavior belongs to the range of electromagnetic countermeasure.
In civil field, common solution be exactly reinforce electromagnetic shielding, in addition add again Transient Suppression Diode and
Metal oxide varistor etc. protects device.However, shielding electromagnetic interference does not ensure that solution this problem, it is understood that
Shielding can only weaken electromagnetic interference, be not to completely eliminate, even if electromagnetic interference is reduced to original 1/1000, or even to 1/
1000000, it also can only be the difficulty for improving interference;After the device upgrade for generating electromagnetic interference, it can issue stronger
Interference signal, can also for specific lockset formulation crack scheme, still there is security risk.Meanwhile it is enterprising in lock body
Row electromagnetic shielding protection high-grade in this way, the cost paid is also very surprising.
Summary of the invention
In view of the above problems, the embodiment of the present invention is designed to provide a kind of electromagnetic interference identification device, method and intelligence
Energy door lock, so as to solve the deficiencies in the prior art.
According to embodiment of the present invention, a kind of electromagnetic interference identification device, including sentry's signal wire are provided:
Sentry's signal wire is set in PCB circuit board close to the presumptive area for needing signal wire to be protected, the whistle
Soldier's signal wire use and it is described need to the identical cabling mode of signal wire to be protected and it is described need to be between signal wire to be protected
Keep state of insulation;
The need signal wire to be protected is connected with first resistor, and sentry's signal wire connects second resistance, and described
The resistance value of second resistance is greater than or equal to the resistance value of the first resistor;
After being powered to sentry's signal wire, its corresponding need is judged according to sentry's signal that sentry's signal wire transmits
Signal wire to be protected whether there is electromagnetic interference.
In above-mentioned electromagnetic interference identification device, sentry's signal wire is parallel with the need signal wire to be protected to be set
It sets.
In above-mentioned electromagnetic interference identification device, sentry's signal wire and second resistance and signal wire to be protected is needed
It is arranged parallel between first resistor with the identical order of connection.
According to another implementation of the invention, a kind of electromagnetic interference recognition methods is provided, applied to above-mentioned electromagnetism
Disturbance ecology device, this method comprises:
Obtain sentry's signal of sentry's signal wire transmission;
Judge its corresponding need signal wire to be protected with the presence or absence of electromagnetic interference according to sentry's signal.
It is described " to judge that its corresponding needs to protect according to sentry's signal in above-mentioned electromagnetic interference recognition methods
Signal wire whether there is electromagnetic interference " include:
The sampled value of sentry's signal is compared with predetermined level value;
If the sampled value of sentry's signal is inconsistent with predetermined level value, the corresponding need of sentry's signal wire are assert
There are electromagnetic interferences for signal wire to be protected.
In above-mentioned electromagnetic interference recognition methods, further includes:
If there are electromagnetic interferences for the need signal wire to be protected, generates exception information and be simultaneously sent to corresponding user's end
End.
In above-mentioned electromagnetic interference recognition methods, further includes:
In the need signal wire to be protected, there are the signals that when electromagnetic interference, the need signal wire to be protected is transmitted
As invalid signals.
In above-mentioned electromagnetic interference recognition methods, further includes:
In the first preset time before being sampled to the signal for needing signal wire to be protected to be transmitted, described in judgement
Whether the sampled value of sentry's signal is consistent with predetermined level value, inconsistent in the sampled value and predetermined level value of sentry's signal
When, using the signal of sampling transmitted as invalid signals;
When the sampled value of sentry's signal is consistent with predetermined level value, to the letter for needing signal wire to be protected to be transmitted
Number sampled, and judge sentry's signal in the second preset time after sampling sampled value and predetermined level value whether
Unanimously, if the sampled value and predetermined level value of sentry's signal are inconsistent, using the signal of sampling transmitted as invalid letter
Number;
If the sampled value of sentry's signal wire is consistent with predetermined level value, using the signal of sampling transmitted as effectively
Signal.
In above-mentioned electromagnetic interference recognition methods, when needing signal wire transmission signal to be protected, preset times are acquired
Sentry's signal, after sentry's signal of preset times is correct, then the transmission signal is effective.
Yet another embodiment according to the present invention provides a kind of intelligent door lock, which includes above-mentioned electromagnetism
Disturbance ecology device;
After being powered to sentry's signal wire, the whistle that the electromagnetic interference identification device is transmitted according to sentry's signal wire
Soldier's signal judges the input terminal of its corresponding intelligent door lock with the presence or absence of electromagnetic interference;
It is described need to signal wire to be protected there are when electromagnetic interference, using the signal of the intelligent door lock input terminal as nothing
Imitate signal.
Yet another embodiment according to the present invention provides a kind of computer readable storage medium, described computer-readable
Computer program is stored in storage medium, the computer program, which is performed, holds above-mentioned electromagnetic interference recognition methods.
The technical scheme provided by this disclosed embodiment may include it is following the utility model has the advantages that
A kind of electromagnetic interference identification device, method and intelligent door lock in the present invention, close to needing signal wire to be protected
Sentry's signal wire is arranged in region, to identify electromagnetic interference present in the signal for needing to transmit in signal wire to be protected, improves letter
Number transmission safety.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate
Appended attached drawing, is described in detail below.
Detailed description of the invention
In order to illustrate more clearly of technical solution of the present invention, letter will be made to attached drawing needed in the embodiment below
It singly introduces, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as to the present invention
The restriction of protection scope for those of ordinary skill in the art without creative efforts, can be with root
Other relevant attached drawings are obtained according to these attached drawings.
Fig. 1 a-1b shows a kind of schematic diagram of circuit connection structure of input terminal provided in an embodiment of the present invention.
Fig. 2 shows a kind of structural schematic diagrams of electromagnetic interference identification device provided in an embodiment of the present invention.
Fig. 3 a-3b shows a kind of structural schematic diagram of sentry's signal wire provided in an embodiment of the present invention.
Fig. 4 shows a kind of flow diagram of electromagnetic interference recognition methods provided in an embodiment of the present invention.
Fig. 5 shows the flow diagram of another electromagnetic interference recognition methods provided in an embodiment of the present invention.
Fig. 6 shows the flow diagram of another electromagnetic interference recognition methods provided in an embodiment of the present invention.
Fig. 7 shows the flow diagram of another electromagnetic interference recognition methods provided in an embodiment of the present invention.
Fig. 8 shows a kind of structural schematic diagram of electromagnetic interference identification device provided in an embodiment of the present invention.
Fig. 9 shows a kind of structural schematic diagram of intelligent door lock provided in an embodiment of the present invention.
Component symbol explanation:
10- electromagnetic interference identification device;100- sentry's signal wire;110- second resistance;200- needs signal wire to be protected;
210- first resistor;800- electromagnetic interference identification device;810- obtains module;820- judgment module;900- intelligent door lock.
Specific embodiment
Below in conjunction with attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete
Ground description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Usually exist
The component of the embodiment of the present invention described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause
This, is not intended to limit claimed invention to the detailed description of the embodiment of the present invention provided in the accompanying drawings below
Range, but it is merely representative of selected embodiment of the invention.Based on the embodiment of the present invention, those skilled in the art are not doing
Every other embodiment obtained under the premise of creative work out, shall fall within the protection scope of the present invention.
Embodiment 1
Existing programmable digital circuit mainly include MCU (Micro Controller Unit, microcontroller),
The combination of FPGA (Field-Programmable Gate Array, field programmable gate array), MCU and FPGA, gate circuit group
Close circuit etc..The technique of the input/output section of digital circuit generally uses CMOS (Complementary Metal Oxide
Semiconductor, complementary metal oxide semiconductor) mode, feature is input impedance height, and output impedance is low, to reach province
The purpose of electricity.
PCB is circuit substrate, and main body is made of insulating materials, and upper and lower surface and centre can generally be used with cloth upper conductor
Copper;Then upper and lower surface can weld electronic component, and intermediate conducting wire may be coupled to other layers by sky excessively.PCB's is main
Effect is physical support electronic component.Copper connects each element herein as conductor.Copper is initially formed uniform thin slice, is applied to
On PCB insulating substrate, then as needed, unwanted part is eroded.The thickness of the copper conductor of all same layers on pcb board
It is the same, but width designs as needed;The place by high current is needed, just will use the broader copper of width
Conducting wire is attached.
For CMOS inputs device, since input impedance is very high, so input signal must be specific low electricity
Flat (number 0 can be used to indicate) or high level (number 1 can be used to express).It is hanging that input terminal is not allow in CMOS input device
State.
If input terminal is a switch key, then input terminal common are such as two kinds of circuit side connectors of Fig. 1 a and Fig. 1 b
Formula:
As shown in Figure 1a, input signal cable is connected with first resistor 210 and switch key A, which is drop-down
Resistance, input signal cable are connected to MCU (Microcontroller Unit, micro-control unit).It is not pressed in switch key A
In the case where, because there is pull down resistor to be connected to ground, input signal cable transmission at this time is low level, the input that MUC is read
It is 0;After switch key A is pressed, input signal cable is (small to can neglect without resistance or resistance value by conducting wire and switch key A
It slightly) is connected to positive pole, input signal cable transmission at this time is high level, and the input that MUC is read is 1.
As shown in Figure 1 b, input signal cable is connected with first resistor 210, which is pull-up resistor, input letter
Number line is connected to MCU.In the case where switch key A is not pressed, input signal cable passes through and first resistor 210 is connected to electricity
Source anode, input signal cable transmission at this time is high level, and the input signal that MCU is read is 1;After switch key A is pressed, because
Key A (small to can ignore without resistance or resistance value) is switched on and off with being connected to for input signal cable, so, input signal at this time
Line transmission is low level, and the input that MUC is read is 0.
Wherein, the upper pull down resistor of input signal cable connection can be input terminal institute in the chips built in resistance,
It is also possible to the resistance of chip exterior connection.
For present internet of things product, for low-power consumption, the often upper pull down resistor of input signal cable connection
Resistance value is all bigger, usually uses 100 kilohms to ten megohms (100K Ω~10M Ω), but the resistance the big more power saving
Meanwhile it is also easier to be disturbed.
Fig. 2 shows a kind of structural schematic diagrams of electromagnetic interference identification device provided in an embodiment of the present invention.
The electromagnetic interference identification device 10 includes sentry's signal wire 100 and need to signal wire 200 to be protected.
The need signal wire 200 to be protected can be the input signal cable in PCB circuit board.
Sentry's signal wire 100 is set in PCB circuit board close to the presumptive area for needing signal wire 200 to be protected
It is interior, sentry's signal wire 100 using and the need identical cabling mode of signal wire 200 to be protected and need to protect with described
State of insulation is kept between the signal wire 200 of shield.
Wherein, the cabling mode may include right angle cabling, difference cabling or serpentine etc..
Further, described in the presumptive area for needing signal wire 200 to be protected, sentry's signal wire 100
It can be arranged in parallel with the need signal wire 200 to be protected.
For example, when by extraneous electromagnetic interference, in order to make sentry's signal wire 100 and the need letter to be protected
Number line 200 by same electromagnetic interference, sentry's signal wire 100 may be provided at it is described need to signal wire 200 to be protected
Both sides keep state of insulation as close as possible to the need signal wire 200 to be protected, and with the need signal wire 200 to be protected.
In order to make sentry's signal wire 100 and need signal wire 200 to be protected similar as far as possible, it is dry to receive identical electromagnetism
It disturbs, sentry's signal wire 100 uses and the need same cabling mode of signal wire 200 to be protected, same signal wire material,
Same copper conductor thickness and same copper conductor width etc..
The need signal wire 200 to be protected is connected with first resistor 210, second electricity of the connection of sentry's signal wire 100
Resistance 110, and the resistance value of the second resistance 110 is greater than or equal to the resistance value of the first resistor 210.
Further, sentry's signal wire 100 connect the using with the identical connection type of signal wire to be protected is needed
Two resistance 110.
Specifically, in the case of input terminal cannot be hanging, the need signal wire 200 to be protected is also connected with the first electricity
Resistance 210, which can be pull-up resistor, or pull down resistor.Sentry's signal wire 200 is used and is needed
The same connection type of signal wire 200 to be protected connects second resistance 110, wherein the connection type is connection drop-down electricity
The mode of resistance and the mode of connection pull-up resistor.
In order to make sentry's signal wire 100 and need signal wire 200 to be protected by same electromagnetic interference, second electricity
The resistance value of resistance 110 can be identical as the resistance value of first resistor 210.The resistance value of the second resistance 110 can also be greater than described the
The resistance value of one resistance 210, resistance is bigger, and when input is easier to be interfered.
Further, sentry's signal wire 100 and second resistance 110 and need signal wire 200 to be protected and the first electricity
It is arranged parallel between resistance 210 with the identical order of connection.
Specifically, for the case where output end of PCB circuit board uses push pull mode, the signal quilt of input terminal this side
A possibility that interference, is very low, and the position of the second resistance 110 in sentry's signal wire 100 can be according to the hardware of PCB circuit board
Depending on design requirement.
For the case where output end open-drain of PCB circuit board or open source export, need signal wire 200 to be protected necessary
Pullup or pulldown resistance 210 is set, and second resistance 110 may be provided at and need signal to be protected in sentry's signal wire 100
In line 200 at the corresponding position of first resistor 210.Open source or open-drain output are the terms for metal-oxide-semiconductor, if using crystal three
Pole pipe, corresponding term are opener or exploitation, or as Fig. 1 a-1b using a switch realization on-off line operation the case where, it is subsequent all
Using term open-drain or open source, but situations such as use transistor or switch, also within the protection scope of this programme.
For example, as shown in Figure 3a, the circuit of sentry's signal wire 100 when connecting pull down resistor for input signal cable is illustrated
Figure.
In Fig. 3 a, signal wire 200 to be protected is needed to be connected with first resistor 210 and switch key A, the first resistor 210
For pull down resistor.Second resistance 110 is set in the sentry's signal wire 100 for needing signal wire 200 to be protected to be arranged, this
The resistance value of two resistance 110 is greater than or equal to the resistance value of first resistor 210.
Sentry's signal wire 100 does not need to connect true switch key, or switch can be designed in PCB circuit board
Pad, but actual switch key is not welded.So that sentry's signal wire continuous transmission high level or low level.
For the case where output signal of the input signal opposite end in PCB circuit board is using open-drain or open source mode,
Signal wire 200 to be protected is needed to connect the first resistor 210, the other end ground connection of first resistor 210 at P2 point;Sentry's letter
Number line 100 uses and needs the identical cabling mode of signal wire 200 to be protected, the signal wire of identical material, and with P2 point
Second resistance 110, the other end ground connection of second resistance 110 are connected at corresponding point P1.
For example, if enabling P2 point and needing the distance between the starting point (i.e. input endpoint) of signal wire 200 to be protected for L2,
Enable the distance between starting point (i.e. input endpoint) of P1 point and sentry's signal wire 100 for L1, then, guarantee L1=L2 as far as possible.
For the case where output signal of the input signal opposite end in PCB circuit board uses push pull mode, do not need
Upper pull down resistor, general actual circuit will not design pull down resistor, then the second resistance 110 can be according to PCB circuit board
Design requirement (for example, cabling demand, component distributed needs etc.) be connected on sentry's signal wire 100, the selection of resistance value
It determines as needed.
As shown in Figure 3b, for input signal cable connect pull-up resistor when sentry's signal wire 100 circuit diagram.
In Fig. 3 b, signal wire 200 to be protected is needed to be connected with first resistor 210 and switch key A, the first resistor 210
For pull-up resistor.Second resistance 110 is set in the sentry's signal wire 100 for needing signal wire 200 to be protected to be arranged, this
The resistance value of two resistance 110 is greater than or equal to the resistance value of first resistor 210.
Sentry's signal wire 100 does not need to connect true switch key, or switch can be designed in PCB circuit board
Pad, but actual switch key is not welded.So that sentry's signal wire continuous transmission high level or low level.
For the case where output signal of the input signal opposite end in PCB circuit board is using open-drain or open source mode,
Signal wire 200 to be protected is needed to connect the first resistor 210 at P3 point, the other end of first resistor 210 connects power supply;The whistle
Soldier's signal wire 100 use and need the identical cabling mode of signal wire 200 to be protected, the signal wire of identical material, and with
Second resistance 110 is connected at the corresponding point P4 of P3 point, the other end of second resistance 110 connects power supply.
For example, if enabling P3 point and needing the distance between the starting point (i.e. input endpoint) of signal wire 200 to be protected for L3,
Enable the distance between starting point (i.e. input endpoint) of P4 point and sentry's signal wire 100 for L4, then, guarantee L3=L4 as far as possible.
For the case where output signal of the input signal opposite end in PCB circuit board uses push pull mode, do not need
Upper pull down resistor, general actual circuit will not design pull down resistor, then the second resistance 110 can be according to PCB circuit board
Design requirement (for example, cabling demand, component distributed needs etc.) be connected on sentry's signal wire 100, the selection of resistance value
It determines as needed.
After being powered to sentry's signal wire 100, judge that its is right according to sentry's signal that sentry's signal wire 100 transmits
The need answered signal wire 200 to be protected is interfered with the presence or absence of RF.
Specifically, for the case where sentry's signal wire 100 connects pull down resistor, after energization and the case where not interfering with
Under, sentry's signal wire 100 generates low level;For the case where sentry's signal wire 100 connects pull-up resistor, after energization
And in the case where not interfering with, sentry's signal wire 100 generates high level.
Specifically, sampled point is set on sentry's signal wire 100, obtains the sampled value of sentry's signal, and sentry is believed
Number value is compared with predetermined level value, if the sampled value and the predetermined level value of sentry's signal are inconsistent, is determined
Sentry's signal wire 100 is inferred that its corresponding need signal wire 200 to be protected is similarly subjected to electromagnetic interference by electromagnetic interference.
Certainly, when needing signal wire 200 to be protected to be connected with pull down resistor, 100 company of may also be configured to of sentry's signal wire
Pull-up resistor is connected, the corresponding predetermined level value of sentry's signal wire 100 is high level, for example, predetermined level value is set as 1.According to
Whether the sampled value and predetermined level value of sentry's signal wire 100 judge sentry's signal wire 100 by electromagnetic interference, and then judging should
Sentry's signal wire 100 it is corresponding need to signal wire to be protected 200 whether by electromagnetic interference.
When needing signal wire 200 to be protected to be connected with pull-up resistor, sentry's signal wire 100 may also be configured to connection drop-down
Resistance, the corresponding predetermined level value of sentry's signal wire 100 is low level, for example, predetermined level value is set as 0.Believed according to sentry
The sampled value and predetermined level value of number line 100 judge that sentry's signal wire 100 whether by electromagnetic interference, and then judges that the sentry believes
Number line 100 it is corresponding need to signal wire to be protected 200 whether by electromagnetic interference.
It, can also be close to need signal wire 200 to be protected when need signal wire 200 to be protected is connected with pull down resistor
More sentry's signal wires 100 are set in presumptive area, in more sentry's signal wires 100, a portion sentry signal wire 100
It is connected with pull-up resistor, another part sentry signal wire 100 is connected with pull down resistor, will be connected with sentry's signal of pull down resistor
The predetermined level value of line 100 is set as low level, for example, predetermined level value is set as 0;Sentry's signal of pull-up resistor will be connected with
The predetermined level value of line 100 is set as high level, for example, predetermined level value is set as 1.Sentry's signal wire of pull down resistor will be connected
100 sampled value and corresponding predetermined level value compare, and adopting the sentry's signal wire 100 for connecting pull-up resistor simultaneously
Sample value and corresponding predetermined level value compare, in the sampled value of sentry's signal wires 100 of all connection pull down resistors and right
The predetermined level value answered it is consistent and it is all connection pull-up resistor sentry's signal wire 100 sampled value and corresponding predetermined level
When being worth consistent, electromagnetic interference is not present in the corresponding need signal wire 200 to be protected of two sentry's signal wires 100;Otherwise, should
There are electromagnetic interferences for the corresponding need signal wire 200 to be protected of two sentry's signal wires 100.
It, can also be close to need signal wire 200 to be protected when need signal wire 200 to be protected is connected with pull-up resistor
More sentry's signal wires 100 are set in presumptive area, in more sentry's signal wires 100, a portion sentry signal wire 100
It is connected with pull-up resistor, another part sentry signal wire 100 is connected with pull down resistor, will be connected with sentry's signal of pull down resistor
The predetermined level value of line 100 is set as low level, for example, predetermined level value is set as 0;Sentry's signal of pull-up resistor will be connected with
The predetermined level value of line 100 is set as high level, for example, predetermined level value is set as 1.Sentry's signal wire of pull down resistor will be connected
100 sampled value and corresponding predetermined level value compare, and adopting the sentry's signal wire 100 for connecting pull-up resistor simultaneously
Sample value and corresponding predetermined level value compare, in the sampled value of sentry's signal wires 100 of all connection pull down resistors and right
The predetermined level value answered it is consistent and it is all connection pull-up resistor sentry's signal wire 100 sampled value and corresponding predetermined level
When being worth consistent, electromagnetic interference is not present in the corresponding need signal wire 200 to be protected of two sentry's signal wires 100;Otherwise, should
There are electromagnetic interferences for the corresponding need signal wire 200 to be protected of two sentry's signal wires 100.
It is worth noting that, in signal wire 200 to be protected there are more need, it can also be to be protected in the more need
Setting one is with sentry's signal wire 100 near signal wire 200, by the sampled value of a signal wire 100 and predetermined level value into
Row comparison, when the sampled value and predetermined level value of a signal wire 100 are inconsistent, the more need signal wires to be protected are equal
There are electromagnetic interferences;When the sampled value of a signal wire 100 is consistent with predetermined level value, the more need signals to be protected
Electromagnetic interference is not present in line.
Embodiment 2
Fig. 4 shows a kind of flow diagram of electromagnetic interference recognition methods provided in an embodiment of the present invention.
The electromagnetic interference recognition methods is applied to RF disturbance ecology device described in embodiment 1, the electromagnetic interference identification side
Method includes the following steps:
Step S410 obtains sentry's signal of sentry's signal wire transmission.
Specifically, sampled point is set in sentry's signal wire.
If the digit chip device where sentry's signal wire is programmable logic device, can be during the digit chip
On be programmed realization the input of the sampled point is sampled.
Step S420 judges its corresponding need signal wire to be protected with the presence or absence of electromagnetic interference according to sentry's signal.
Further, described " to judge that its corresponding need signal wire to be protected is dry with the presence or absence of electromagnetism according to sentry's signal
Disturb " include:
The sampled value of sentry's signal is compared with predetermined level value;If the sampled value of sentry's signal and pre-
It is inconsistent to determine level value, then assert that there are RF interference for the corresponding need signal wire to be protected of sentry's signal wire.
For example, under normal circumstances, the input signal cable is corresponding for the case where input signal connects pull down resistor
The transmission of sentry's signal wire is low level, and the sampled value of sentry's signal of sentry's signal wire transmission is 0;By electromagnetic interference
In the case of, the sampled value of sentry's signal of sentry's signal wire transmission will appear the case where 0,1 alternating changes.So can will be normal
In the case of sentry's signal wire transmission sentry's signal sampled value 0 be used as predetermined level value.
In the case where above-mentioned input signal connects pull down resistor, if the sampled value of collected sentry's signal is 1, this is adopted
Sample value is 1 inconsistent with predetermined level value 0, then sentry's signal wire is by electromagnetic interference, corresponding need signal to be protected
Line is affected by electromagnetic interference;If the sampled value of collected sentry's signal is 0, which is 0 and predetermined level value 0 one
It causes, then sentry's signal wire is not affected by electromagnetic interference, and corresponding need signal wire to be protected is similarly not affected by electromagnetic interference.
For another example, for the case where input signal cable connects pull-up resistor, under normal circumstances, the input signal cable is corresponding
The transmission of sentry's signal wire be high level, the sampled value of sentry's signal of sentry's signal wire transmission is 1;In the feelings being interfered
Under condition, the sampled value of sentry's signal of sentry's signal wire transmission will appear the case where 0,1 alternating changes.So can be by positive reason
The sampled value 1 of sentry's signal of sentry's signal wire transmission under condition is used as predetermined level value.
In the case where above-mentioned input signal connects pull down resistor, if the sampled value of collected sentry's signal is 1, this is adopted
Sample value is 1 consistent with predetermined level value 1, then sentry's signal wire is not affected by electromagnetic interference, corresponding need signal to be protected
Line is similarly not affected by electromagnetic interference;If the sampled value of collected sentry's signal is 0, which is 0 and predetermined level value 1
Inconsistent, then sentry's signal wire is affected by electromagnetic interference by electromagnetic interference, corresponding need signal wire to be protected.
Fig. 5 shows the flow diagram of another electromagnetic interference recognition methods provided in an embodiment of the present invention.
The electromagnetic interference recognition methods is applied to RF disturbance ecology device described in embodiment 1, the electromagnetic interference identification side
Method includes the following steps:
Step S510 obtains sentry's signal of sentry's signal wire transmission.
Step S520 judges its corresponding need signal wire to be protected with the presence or absence of electromagnetic interference according to sentry's signal.
Step S530, there are electromagnetic interferences for the signal wire if desired protected, and generate exception information and are sent to corresponding use
Family terminal.
Specifically, the exception information may include journal file and/or warning message.Record has this in the journal file
Need signal wire to be protected there are when electromagnetic interference information and this need signal wire to be protected that electromagnetic interference is not present when letter
Breath.
Fig. 6 shows the flow diagram of another electromagnetic interference recognition methods provided in an embodiment of the present invention.
The electromagnetic interference recognition methods is applied to RF disturbance ecology device described in embodiment 1, the electromagnetic interference identification side
Method includes the following steps:
Step S610 obtains sentry's signal of sentry's signal wire transmission.
Step S620 judges its corresponding need signal wire to be protected with the presence or absence of electromagnetic interference according to sentry's signal.
Step S630, there are electromagnetic interferences for the signal wire if desired protected, and generate exception information and are sent to corresponding use
Family terminal.
Step S640 will need the signal of signal wire transmission to be protected as invalid signals.
Specifically, there are electromagnetic interferences for the signal wire if desired protected, and can will need the signal of signal wire transmission to be protected
It as invalid signals, treats as not inputting, does not execute the corresponding operation of signal of the transmission, improve safety.
It is worth noting that, the electromagnetic interference recognition methods can also first carry out step S640, then step S630 is executed, also
Step S630 and step S640 can be performed simultaneously.
Fig. 7 shows the flow diagram of another electromagnetic interference recognition methods provided in an embodiment of the present invention.
The electromagnetic interference recognition methods is applied to RF disturbance ecology device described in embodiment 1, the electromagnetic interference identification side
Method includes the following steps:
Step S710, the first preset time before being sampled to the signal for needing signal wire to be protected to be transmitted
It is interior, obtain sentry's signal of sentry's signal wire transmission.
Specifically, in the first preset time before being sampled to the signal for needing signal wire to be protected to be transmitted,
Sentry's signal of sentry's signal wire transmission is obtained every preset time;Or it is notified immediately in level change using interrupt mode
MCU in pcb board.
Wherein, first preset time can be 3 minutes, 5 minutes etc..
The preset time can be 1 second etc..
Step S720 judges whether sentry's signal sampling value is consistent with predetermined level value.
In the first preset time, sentry's signal of every acquisition, by the sampled value and predetermined level of sentry's signal
Value compares, if sentry's signal sampling value is inconsistent with predetermined level value, illustrates that there are electromagnetic interferences for sentry's signal, right
There is also electromagnetic interferences for the need answered signal wire to be protected, advance to step S730;If sentry's signal sampling value and predetermined level
Value is consistent, illustrates sentry's signal there is no electromagnetic interference, and electromagnetic interference is also not present in corresponding need signal wire to be protected,
Advance to step S750.
Step S730, using the signal of sampling transmitted as invalid signals.
Step S740 generates exception information and is sent to corresponding user terminal.
Step S750 resets the first preset time.
Further, after generating unexpected message and being sent to corresponding user terminal, the first preset time can be also reset,
And be back to step S720, judge in the first preset time of resetting sentry's signal sampling value and predetermined level value whether one
It causes.
Step S760 samples the signal for needing signal to be protected to be transmitted.
Specifically, in the first preset time before being sampled to the signal for needing signal wire to be protected to be transmitted,
When electromagnetic interference is not present in the need signal wire to be protected, need the be transferred to signal of signal to be protected is sampled.
Step S770 judges whether sentry's signal sampling value is consistent with predetermined level value.
In the second preset time after being sampled to the signal for needing signal wire to be protected to be transmitted, every default
Time obtains sentry's signal of sentry's signal wire transmission.
In the second preset time, sentry's signal of every acquisition, by the sampled value and predetermined level of sentry's signal
Value compares, if sentry's signal sampling value is inconsistent with predetermined level value, illustrates that there are electromagnetic interferences for sentry's signal, right
There is also electromagnetic interferences for the need answered signal wire to be protected;If sentry's signal sampling value is consistent with predetermined level value, illustrate the whistle
Electromagnetic interference is not present in soldier's signal, and corresponding need signal wire to be protected is also not present electromagnetic interference, advances to step S770.
Wherein, first preset time and the second preset time can be identical.It is, of course, also possible to different.
Step S780, using the signal of sampling transmitted as useful signal.
With this, realize within a period of time before being sampled to the signal for needing signal wire to be protected to be transmitted, and
Within a period of time after sampling to the signal for needing signal wire to be protected to be transmitted, this needs signal wire to be protected equal
There is no electromagnetic interferences, so as to improve the safety for the signal that acquisition needs signal wire to be protected to be transmitted, prevent the presence of electricity
When magnetic disturbance, error signal is collected.
Embodiment 3
Fig. 8 shows a kind of structural schematic diagram of electromagnetic interference identification device provided in an embodiment of the present invention.
The electromagnetic interference identification device 800 is applied to RF disturbance ecology device described in embodiment 1, electromagnetic interference identification
Device 800 includes obtaining module 810 and judgment module 820.
Module 810 is obtained, for obtaining sentry's signal of sentry's signal wire transmission.
Judgment module 820, for judging that its corresponding need signal wire to be protected whether there is according to sentry's signal
Electromagnetic interference.
Further, which further includes generation module, the first invalid module, the second invalid mould
Block and the invalid module of third.
Generation module, for there are when electromagnetic interference, generate exception information and be sent to pair needing signal wire to be protected
The user terminal answered.
First invalid module, in the need signal wire to be protected, there are when electromagnetic interference, letter to be protected will to be needed
The signal of number line transmission is as invalid signals.
Second invalid module, it is pre- for first before being sampled to the signal for needing signal wire to be protected to be transmitted
If in the time, judging whether the sampled value of sentry's signal and predetermined level value are consistent, in the sampled value of sentry's signal
When inconsistent with predetermined level value, using the signal of sampling transmitted as invalid signals.
The invalid module of third, when consistent with predetermined level value for the sampled value in sentry's signal, to needing to protect
The signal that is transmitted of signal wire sampled, and judge the sampling of sentry's signal in the second preset time after sampling
Whether value is consistent with predetermined level value, if the sampled value and predetermined level value of sentry's signal are inconsistent, by being passed for sampling
Defeated signal is as invalid signals.
Effective module, if the sampled value for sentry's signal wire is consistent with predetermined level value, by being transmitted for sampling
Signal as useful signal.
Embodiment 4
Fig. 9 shows a kind of structural schematic diagram of intelligent door lock provided in an embodiment of the present invention.
The intelligent door lock 900 includes above-mentioned electromagnetic interference identification device 10;It is described after being powered to sentry's signal wire
Electromagnetic interference identification device 10 judges its corresponding intelligent door lock 900 according to sentry's signal that sentry's signal wire transmits
Input terminal whether there is electromagnetic interference;It is described need to signal wire to be protected there are when electromagnetic interference, by the intelligent door lock
The signal of 900 input terminals is as invalid signals.
The embodiment of the present invention also provides a kind of computer readable storage medium, stores in the computer readable storage medium
There is computer program, the computer program, which is performed, holds above-mentioned electromagnetic interference recognition methods.
So far, the present invention provides a kind of electromagnetic interference identification device, method and intelligent door locks, to be protected close to needing
Sentry's signal wire is arranged in the region of signal wire, and sentry's signal wire is connected with and needs first resistor in signal wire to be protected consistent
Second resistance, and the resistance value of second resistance is greater than or equal to the resistance value of first resistor, is easier sentry's signal wire disturbed;Root
The electricity that whether there is in the signal transmitted in signal wire to be protected is needed according to the sampled value judgement of sentry's signal in sentry's signal wire
Magnetic disturbance, and used in needing signal wire to be protected there are exception information in the case where electromagnetic interference, is sent to counterpart terminal
The case where electromagnetic interference for needing signal wire to be protected to be subject to is grasped in time in family;It is dry that there are electromagnetism in needing signal wire to be protected
In the case where disturbing, the signal transmitted in signal wire to be protected will be needed as invalid signals;Signal wire to be protected is being needed to exist
When electromagnetic interference, the transmission signal in a period of time of front and back when need signal wire to be protected can be transmitted signal is used as in vain
Signal improves the safety of signal transmission.
In several embodiments provided herein, it should be understood that disclosed device and method can also pass through
Other modes are realized.The apparatus embodiments described above are merely exemplary, for example, flow chart and structure in attached drawing
Figure shows the system frame in the cards of the device of multiple embodiments according to the present invention, method and computer program product
Structure, function and operation.In this regard, each box in flowchart or block diagram can represent a module, section or code
A part, a part of the module, section or code includes one or more for implementing the specified logical function
Executable instruction.It should also be noted that function marked in the box can also be to be different from the implementation as replacement
The sequence marked in attached drawing occurs.For example, two continuous boxes can actually be basically executed in parallel, they are sometimes
It can execute in the opposite order, this depends on the function involved.It is also noted that in structure chart and/or flow chart
The combination of each box and the box in structure chart and/or flow chart, can function or movement as defined in executing it is dedicated
Hardware based system realize, or can realize using a combination of dedicated hardware and computer instructions.
In addition, each functional module or unit in each embodiment of the present invention can integrate one independence of formation together
Part, be also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be intelligence
Can mobile phone, personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or
Part steps.And storage medium above-mentioned include: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory),
Random access memory (RAM, Random Access Memory), magnetic or disk etc. be various to can store program code
Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.
Claims (10)
1. a kind of electromagnetic interference identification device, which is characterized in that including sentry's signal wire:
Sentry's signal wire is set in PCB circuit board close to the presumptive area for needing signal wire to be protected, sentry's letter
Number line is used and described the identical cabling mode of signal wire to be protected and need to need to be kept between signal wire to be protected described
State of insulation;
The need signal wire to be protected is connected with first resistor, and sentry's signal connects second resistance, and second electricity
The resistance value of resistance is greater than or equal to the resistance value of the first resistor;
After being powered to sentry's signal wire, judge that its corresponding needs to protect according to sentry's signal that sentry's signal wire transmits
The signal wire of shield whether there is electromagnetic interference.
2. electromagnetic interference identification device according to claim 1, which is characterized in that sentry's signal wire and the needs
The signal wire of protection is arranged in parallel.
3. electromagnetic interference identification device according to claim 1, which is characterized in that sentry's signal wire and second resistance
It is arranged parallel between need signal wire to be protected and first resistor with the identical order of connection.
4. a kind of electromagnetic interference recognition methods, which is characterized in that it is dry to be applied to electromagnetism as described in any one of claims 1 to 3
Identification device is disturbed, this method comprises:
Obtain sentry's signal of sentry's signal wire transmission;
Judge its corresponding need signal wire to be protected with the presence or absence of electromagnetic interference according to sentry's signal.
5. electromagnetic interference recognition methods according to claim 4, which is characterized in that described " to be sentenced according to sentry's signal
Its corresponding need signal wire to be protected break with the presence or absence of electromagnetic interference " include:
The sampled value of sentry's signal is compared with predetermined level value;
If the sampled value of sentry's signal is inconsistent with predetermined level value, assert that sentry's signal wire is corresponding and need to protect
There are electromagnetic interferences for the signal wire of shield.
6. electromagnetic interference recognition methods according to claim 5, which is characterized in that further include:
If there are electromagnetic interferences for the need signal wire to be protected, generates exception information and be simultaneously sent to corresponding user terminal.
7. electromagnetic interference recognition methods according to claim 5, which is characterized in that further include:
It is described need to signal wire to be protected there are when electromagnetic interference, using it is described need to signal wire transmission to be protected signal as
Invalid signals.
8. electromagnetic interference recognition methods according to claim 5, which is characterized in that further include:
In the first preset time before sampling to the signal for needing signal wire to be protected to be transmitted, the sentry is judged
Whether the sampled value of signal is consistent with predetermined level value, when the sampled value and predetermined level value of sentry's signal are inconsistent,
Using the signal of sampling transmitted as invalid signals;
When the sampled value of sentry's signal is consistent with predetermined level value, to the signal for needing signal wire to be protected to be transmitted into
Row sampling, and judge sampling after the second preset time in sentry's signal sampled value and predetermined level value whether one
It causes, if the sampled value and predetermined level value of sentry's signal are inconsistent, using the signal of sampling transmitted as invalid signals;
If the sampled value of sentry's signal wire is consistent with predetermined level value, using the signal of sampling transmitted as effective letter
Number.
9. electromagnetic interference recognition methods as claimed in claim 4, which is characterized in that signal wire to be protected is being needed to transmit signal
When, sentry's signal of preset times is acquired, after sentry's signal of preset times is correct, then the transmission signal has
Effect.
10. a kind of intelligent door lock, which is characterized in that identify and fill including electromagnetic interference as described in any one of claims 1 to 3
It sets;
After being powered to sentry's signal wire, the electromagnetic interference identification device is believed according to the sentry that sentry's signal wire transmits
Number judge the input terminal of its corresponding intelligent door lock with the presence or absence of electromagnetic interference;
In the need signal wire to be protected there are when electromagnetic interference, believe using the signal of the intelligent door lock input terminal as invalid
Number.
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 true CN109633309A (en) | 2019-04-16 |
CN109633309B 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) |
Cited By (3)
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 (6)
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 |
US20110241721A1 (en) * | 2008-10-07 | 2011-10-06 | Klaus Schroeter | Switching apparatus for electrical contact testing |
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 |
-
2018
- 2018-12-14 CN CN201811532206.3A patent/CN109633309B/en active Active
Patent Citations (6)
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 |
US20110241721A1 (en) * | 2008-10-07 | 2011-10-06 | Klaus Schroeter | Switching apparatus for electrical contact testing |
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 |
Cited By (3)
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 |
Also Published As
Publication number | Publication date |
---|---|
CN109633309B (en) | 2021-10-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109633309A (en) | Electromagnetic interference identification device, method and intelligent door lock | |
CN109389724A (en) | The smart lock and its method for preventing signal interference from unlocking | |
CN105786277A (en) | Touch screen with fingerprint identification function, and control method and electronic equipment thereof | |
CN205405654U (en) | Intelligence lock system based on touch -sensitive | |
CN105275274B (en) | A kind of wisdom identifies lockset | |
CN109345662A (en) | A kind of smart lock and unlocking method of multi-functional unlocking manner | |
CN109416742A (en) | Fingerprint mould group touches wake-up module, door lock | |
CN206220692U (en) | A kind of Domestic anti-theft Fingerprint Lock | |
CN107977571A (en) | A kind of combination button encryption system and application method | |
CN100412746C (en) | Computer casing with cipher code magnetic control lock | |
CN203012864U (en) | Intelligent monitoring system for ATM terminal | |
CN105844131A (en) | Fingerprint acquisition module, electronic equipment and fingerprint unlocking method under standby state | |
CN203930971U (en) | Fingerprint lock for glass door | |
CN205486156U (en) | Utilize integrated authentication device of fingerprint information | |
CN211201449U (en) | Electromagnetic interference resistance's signal processing mechanism and intelligent lock | |
CN205670316U (en) | A kind of indoor intelligent access control equipment | |
CN205541015U (en) | Access control ware and have remote monitering system of this controller | |
CN208861346U (en) | A kind of gate inhibition for supporting multimode to open the door | |
CN207473702U (en) | A kind of Intelligent lock device for renting, selling management for real estate | |
CN103198547A (en) | Fingerprint recognition controller | |
CN209413496U (en) | A kind of fingerprint locking device that can block mechanical key hole automatically | |
CN208538130U (en) | A kind of intelligent computer key | |
CN206957382U (en) | A kind of intelligent lock based on Internet of Things | |
CN206075057U (en) | It is a kind of to be based on NFC mobile phone application system | |
CN204782331U (en) | Discernment anti -theft system |
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 |