WO2020078091A9 - 抗电磁干扰的方法、智能门锁 - Google Patents

抗电磁干扰的方法、智能门锁 Download PDF

Info

Publication number
WO2020078091A9
WO2020078091A9 PCT/CN2019/100608 CN2019100608W WO2020078091A9 WO 2020078091 A9 WO2020078091 A9 WO 2020078091A9 CN 2019100608 W CN2019100608 W CN 2019100608W WO 2020078091 A9 WO2020078091 A9 WO 2020078091A9
Authority
WO
WIPO (PCT)
Prior art keywords
control signal
door lock
control
motor drive
drive circuit
Prior art date
Application number
PCT/CN2019/100608
Other languages
English (en)
French (fr)
Other versions
WO2020078091A1 (zh
Inventor
董明珠
谭建明
李绍斌
宋德超
陈道远
李宇飞
彭磊
钟伦赋
Original Assignee
珠海格力电器股份有限公司
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 珠海格力电器股份有限公司 filed Critical 珠海格力电器股份有限公司
Publication of WO2020078091A1 publication Critical patent/WO2020078091A1/zh
Publication of WO2020078091A9 publication Critical patent/WO2020078091A9/zh

Links

Images

Classifications

    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B47/00Operating or controlling locks or other fastening devices by electric or magnetic means
    • E05B47/0001Operating or controlling locks or other fastening devices by electric or magnetic means with electric actuators; Constructional features thereof
    • E05B47/0012Operating or controlling locks or other fastening devices by electric or magnetic means with electric actuators; Constructional features thereof with rotary electromotors
    • EFIXED CONSTRUCTIONS
    • E21EARTH OR ROCK DRILLING; MINING
    • E21BEARTH OR ROCK DRILLING; OBTAINING OIL, GAS, WATER, SOLUBLE OR MELTABLE MATERIALS OR A SLURRY OF MINERALS FROM WELLS
    • E21B49/00Testing the nature of borehole walls; Formation testing; Methods or apparatus for obtaining samples of soil or well fluids, specially adapted to earth drilling or wells
    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B47/00Operating or controlling locks or other fastening devices by electric or magnetic means
    • E05B2047/0048Circuits, feeding, monitoring
    • E05B2047/0067Monitoring

Definitions

  • the present disclosure relates to the field of smart homes, and in particular to a method for resisting electromagnetic interference and a smart door lock.
  • the smart door lock is usually opened by verifying the user's identity, such as a fingerprint, and driving the motor to rotate to unlock the door.
  • a "small black box” on the market (actually a small Tesla coil, which can generate high-frequency high-voltage current for a short time to generate a strong electromagnetic interference signal), and the strong electromagnetic generated by the "small black box” Interfering with the signal to interfere with the smart door lock will cause the motor in the smart door lock to rotate, which can quickly open the smart door lock in a short time.
  • Some illegal intruders used this security loophole of smart door locks and used "small black boxes" to invade users' homes and steal users' belongings, which caused great security risks for users.
  • an anti-electromagnetic interference method provided by an embodiment of the present disclosure is applied to an intelligent door lock.
  • the technical solution of the method is as follows:
  • control signal If yes, delay the control signal, and when the delay reaches the specified duration, send the currently received control signal to the motor drive circuit to make the motor drive circuit within the specified duration Not controlled by the control signal.
  • the specified duration is specifically not less than the duration of the reset signal of the control unit that outputs the control signal.
  • the preferred value of the specified duration is 200 ms.
  • the control signal is an OR operation on binary data corresponding to the control signals output by the at least two control units After the signal obtained by each control unit adopts a different identity verification method from the other control units to authenticate the user, the corresponding output control signal can control the motor drive circuit.
  • an intelligent door lock for anti-electromagnetic interference including:
  • a motor, a motor drive circuit, and a control circuit the motor drive circuit is used to drive the motor to open the smart door lock, the control circuit is used to verify the identity of the user, and the output controls the motor drive circuit to work after verification Control signal, the smart door lock also includes:
  • a delay circuit connected between the motor drive circuit and the control circuit is used to detect when the voltage value of the control signal sent to the motor drive circuit of the smart door lock is greater than a preset threshold The control signal is processed for delay. When the delay reaches the specified duration, the currently received control signal is sent to the motor drive circuit, so that the motor drive circuit is not controlled by the control signal for the specified duration.
  • the smart door lock further includes:
  • OR gate the input terminal of the OR gate is connected to at least two control units in the control circuit, and the output terminal of the OR gate is connected to the input terminal of the delay circuit, for connecting the at least two The binary data corresponding to the control signal output by the control unit performs OR operation; wherein, each control unit adopts a different identity verification method from the other control units to authenticate the user, and the corresponding output control signal can control the motor drive circuit
  • the signal corresponding to the result of the OR operation is the control signal received by the motor drive circuit.
  • the specified duration is specifically not less than the duration of the reset signal of the control unit that outputs the control signal.
  • the preferred value of the specified duration is 200 ms.
  • an embodiment of the present disclosure also provides an intelligent door lock, including:
  • At least one processor and
  • a memory connected to the at least one processor
  • the memory stores instructions executable by the at least one processor, and the at least one processor executes the method described in the first aspect by executing the instructions stored in the memory.
  • an embodiment of the present disclosure also provides a non-transitory computer-readable storage medium, including:
  • the computer-readable storage medium stores computer instructions, which when executed on a computer, causes the computer to perform the method as described in the first aspect above.
  • FIG. 1 is a schematic flowchart of an anti-electromagnetic interference method (especially anti-strong electromagnetic interference method) provided by some embodiments of the present disclosure
  • FIG. 2 is a schematic diagram of the waveform of the DC power output of the smart door lock provided by some embodiments of the present disclosure after the smart door lock is subjected to strong electromagnetic interference;
  • FIG. 3 is a connection schematic diagram of an intelligent door lock provided by some embodiments of the present disclosure.
  • FIG. 4 is a schematic diagram of the principle of a delay circuit provided by some embodiments of the present disclosure.
  • FIG. 5 is a connection schematic diagram of another intelligent door lock provided by some embodiments of the present disclosure.
  • Some embodiments of the present disclosure provide a method for resisting electromagnetic interference (especially strong electromagnetic interference), intelligent door locks, and computer storage media to solve the problem that the intelligent door lock is susceptible to interference by electromagnetic signals (especially strong electromagnetic signals) and is opened by mistake Technical issues.
  • the technical solutions in the embodiments of the present disclosure provide a method for resisting electromagnetic interference (especially strong electromagnetic interference), including: detecting the voltage value of the control signal sent to the motor drive circuit of the smart door lock Whether it is greater than the preset threshold; where the control signal is used to control the motor drive circuit to drive the motor in the smart door lock to open the smart door lock; if it is, the control signal is delayed, and when the delay reaches the specified time, the The control signal currently received is sent to the motor drive circuit, so that the motor drive circuit is not controlled by the control signal for a specified period of time.
  • electromagnetic interference especially strong electromagnetic interference
  • the control signal by detecting whether the voltage value of the control signal sent to the motor drive circuit of the smart door lock is greater than a preset threshold, and when it is determined to be greater than the preset threshold, the control signal is delayed, and when the delay reaches the specified duration After that, the currently received control signal is sent to the motor drive circuit, so that the motor drive circuit is not controlled by the control signal within a specified time, which can effectively prevent the smart door lock from being subjected to electromagnetic signals (especially strong electromagnetic interference signals). Turned on by mistake.
  • an embodiment of the present disclosure provides a method for resisting electromagnetic interference (especially strong electromagnetic interference), which is applied to an intelligent door lock.
  • the processing procedure of the method is as follows.
  • Step 101 Detect whether the voltage value of the control signal sent to the motor drive circuit of the smart door lock is greater than a preset threshold; wherein, the control signal is used to control the motor drive circuit to drive the motor in the smart door lock to open the smart door lock.
  • Step 102 If yes, the control signal is delayed. When the delay reaches the specified time, the control signal currently received is sent to the motor drive circuit, so that the motor drive circuit is not controlled by the control signal within the specified time.
  • the waveform of the DC power output of the smart door lock is shown in Figure 2. It can be seen from Figure 2 that when subjected to strong electromagnetic interference, the voltage amplitude of the power signal will increase exponentially. Taking a 5V DC power supply as an example, the peak-to-peak voltage can reach a maximum of 15V when subjected to strong electromagnetic signal interference . The research found that at this time, the main control chip and the signal in the smart door lock will also be interfered, which will reset the main control chip, which will cause the control signal to control the opening of the smart door lock to be triggered by mistake and the smart door lock to be mistaken. Open.
  • the voltage value of the control signal sent to the motor drive circuit of the smart door lock can be detected.
  • the motor drive circuit will delay the received control signal until the delay reaches the specified time, and then the current received control signal is sent to the motor drive circuit, so that the motor drive circuit is not controlled within the specified time Signal control.
  • the preset threshold value is the power supply voltage value of the control unit (or control chip). For example, if the power voltage of the control unit is 5V, the preset threshold is 5V, if the power voltage of the control unit is 3.3V, the preset threshold is 3.3V, or if the power voltage of the control unit is 1.8V, the preset threshold is 1.8V.
  • the specified duration is specifically not less than the duration of the reset signal of the control unit that outputs the control signal. For example, if the duration of the output of the reset signal of the control unit A is 100 ms, the designated duration is 100 ms.
  • the preferred value of the preset duration is 200ms. Setting the value of the preset duration to 200ms on the one hand will not make the user notice the delay in use, on the other hand, it can better adapt to the reset duration of most control units.
  • the strong electromagnetic signal interferes with the smart door lock, it will reset the control unit briefly, and output an erroneous control signal that controls the opening of the smart door lock.
  • the voltage value of the erroneous control signal will suddenly increase and the duration is short. Therefore, when it is determined that the voltage value of the control signal sent by the control unit exceeds the preset threshold, delay processing of the received control signal is started, and when the delay reaches the specified time, the control signal currently received is sent to the motor drive
  • the circuit can effectively avoid the erroneous control signal output by the main control chip due to strong electromagnetic interference, so that the intelligent door lock has better performance against strong electromagnetic interference, avoids being opened by mistake, and improves safety.
  • the control signal is a signal obtained by performing an OR operation on the binary data corresponding to the control signals output by the at least two control units; wherein, each After the control unit adopts different identity verification methods to verify the user's identity, the corresponding output control signals can control the motor drive circuit.
  • the smart door lock can verify the user's identity by inputting passwords, fingerprints, face recognition, and iris recognition on the touch screen.
  • the control unit A is used for identity verification.
  • fingerprints, face recognition the iris recognition method uses the control unit B for identity verification.
  • the control unit A determines that the user's identity verification has passed and outputs the control signal A (assuming a high-level signal), and then the control signal A and the control
  • the control signal B (assumed to be a low-level signal) output by the unit B performs an OR operation to obtain a new control signal (a high-level signal), and then detects whether the voltage value of the new control signal is greater than the preset threshold 3.3V, If it is to start the delay processing, when the delay reaches 200ms, the currently received control signal is still a high level signal, it means that it is the correct control signal, and then the currently received control signal is sent to the motor drive
  • the circuit opens the smart door lock.
  • any one of the control units A and B is reset and the output is wrongly controlled Signal A (assuming that the control unit A outputs a high-level signal), and then perform an OR operation on the control signals A and B to obtain a new control signal, and then detect whether the voltage value of the new control signal is greater than the preset threshold 3.3V, if
  • the delay reaches 200ms, the current control signal received is still a low-level signal, which means that the smart door lock is interfered by a strong electromagnetic signal, because the wrong control signal disappears after 200ms , That is, the control signal after 200ms returns to normal, so the current control signal sent to the motor drive circuit after 200ms is a normal control signal, which can effectively prevent the motor drive circuit from receiving the erroneous control signal caused by strong electromagnetic interference , And allows normal control signals to be sent to
  • the duration of the correct control signal sent by the control unit to control the motor drive circuit to open the smart door lock is greater than the specified duration.
  • the smart door lock at least includes a motor 304, a motor drive circuit 303, a control circuit 301, and the motor drive circuit 303
  • the motor 304 opens the smart door lock
  • the control circuit 301 is used to verify the user's identity, and outputs a control signal to control the operation of the motor drive circuit 303 after the verification is passed.
  • the smart door lock also includes:
  • a delay circuit 302 connected between the motor drive circuit 303 and the control circuit 301 is used to control the received control when the voltage value of the control signal sent to the motor drive circuit 303 of the smart door lock is greater than a preset threshold The signal is processed for delay. When the delay reaches the specified duration, the currently received control signal is sent to the motor drive circuit 303, so that the motor drive circuit 303 is not controlled by the control signal within the specified duration.
  • the schematic diagram of the delay circuit 302 is shown in FIG. 4, IN is the control signal output by the control circuit 301, OUT is the control signal output by the delay circuit 302 as a smart door lock, and C1 and C2 are 0.1uF ⁇ 10 %/16V filter capacitor, R1 is a 10k ⁇ current limiting resistor, U1 is a delay unit (or delay chip), can detect whether the voltage value of the received signal is greater than the preset threshold, and is greater than the preset threshold Time delay starts, the delay time is the specified duration.
  • the delay chip U1 detects that the voltage value of the control signal IN is greater than the preset threshold (such as 1.8V), it starts to delay, and after the delay time reaches the specified duration (such as 200ms), the current control signal IN is used as an output The signal OUT is sent to the motor drive circuit 303. If the current control signal IN is the control signal for controlling the motor drive circuit 303 to open the smart door lock, the smart door lock is opened. If the current control signal IN is for controlling the motor drive circuit 303 not to open the smart The control signal of the door lock will not open the intelligent door lock.
  • the preset threshold such as 1.8V
  • the delay circuit 302 detects the increase of the voltage value of the control signal IN, and begins to delay. After the delay time reaches the specified time of 200ms, the current control signal IN is sent to the motor drive circuit 303. At this time, the current The voltage value of the control signal IN has returned to the normal value (low voltage value).
  • the control unit that manages the password input sets the pin level of the output control signal IN to a high level; You can also enter the fingerprint, and after the fingerprint verification is successful, send the verification result to the control unit through the serial port. The control unit then sets the pin level of the output control signal IN to a high level; other verification methods can also be used, such as The magnetic card, Bluetooth, iris, face recognition, etc., after the verification is successful, the control unit outputs a control signal; in the same smart door lock, one of the above verification methods can be used, or multiple verification methods can also be used. When using multiple verification methods, if different verification methods use different control units to verify separately, the smart door lock also includes:
  • OR gate 305 the input terminal of OR gate 305 is connected to at least two control units in control circuit 301, or the output terminal of OR gate 305 is connected to the input terminal of delay circuit 302, for controlling the output of at least two control units OR operation of the binary data corresponding to the signal; where each control unit uses a different authentication method to authenticate the user, the corresponding output control signal can control the motor drive circuit 303, or the signal corresponding to the result of the operation It is the control signal received by the motor drive circuit 303.
  • the touch circuit and the password circuit output a control signal to the OR gate 305 after the password is verified, or the control signal (assumed to be a high level) output by the OR gate 305 to the control unit A3011 in the control circuit 301 and the control circuit 301
  • the control signal (assumed to be low level) output by the control unit B3012 performs OR operation, and uses the result of the OR operation as the input signal of the delay chip.
  • the delay chip detects that the voltage value of the input signal is greater than the preset threshold, the delay starts.
  • the signal currently received by the delay chip is sent to the motor drive circuit 303, M represents the unlocked motor.
  • the specified duration is specifically not less than the duration of the reset signal of the control unit that outputs the control signal.
  • the preferred value of the specified duration is 200ms.
  • an embodiment of the present disclosure provides an intelligent door lock, including: at least one processor, and a memory connected to the at least one processor;
  • the memory stores instructions executable by the at least one processor, and the at least one processor executes the anti-electromagnetic interference (especially anti-electromagnetic interference) method as described above by executing the instructions stored in the memory .
  • embodiments of the present disclosure also provide a computer-readable storage medium, including:
  • the computer-readable storage medium stores computer instructions, which when executed on the computer, causes the computer to perform the anti-electromagnetic interference (especially anti-electromagnetic interference) method as described above.
  • the present disclosure by detecting whether the voltage value of the control signal sent to the motor drive circuit of the smart door lock is greater than a preset threshold, and delaying the control signal when it is determined to be greater than the preset threshold, when the delay When the time reaches the specified time, the currently received control signal is sent to the motor drive circuit, so that the motor drive circuit is not controlled by the control signal within the specified time, which can effectively prevent the intelligent door lock from being affected by electromagnetic interference signals (especially strong Electromagnetic interference signal) and turned on by mistake.
  • electromagnetic interference signals especially strong Electromagnetic interference signal
  • embodiments of the present disclosure may be provided as methods, systems, or computer program products. Therefore, the embodiments of the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Moreover, embodiments of the present disclosure may take the form of computer program products implemented on one or more computer usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer usable program code.
  • computer usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • Embodiments of the present disclosure are described with reference to flowcharts and/or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present disclosure. It should be understood that each flow and/or block in the flowchart and/or block diagram and a combination of the flow and/or block in the flowchart and/or block diagram may be implemented by computer program instructions.
  • These computer program instructions can be provided to the processor of a general-purpose computer, special-purpose computer, embedded processing machine, or other programmable data processing device to produce a machine that enables the generation of instructions executed by the processor of the computer or other programmable data processing device
  • These computer program instructions may also be stored in a computer readable memory that can guide a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, the instructions
  • the device implements the functions specified in one block or multiple blocks of the flowchart one flow or multiple flows and/or block diagrams.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operating steps are performed on the computer or other programmable device to produce computer-implemented processing, which is executed on the computer or other programmable device
  • the instructions provide steps for implementing the functions specified in one block or multiple blocks of the flowchart one flow or multiple flows and/or block diagrams.

Landscapes

  • Life Sciences & Earth Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Geology (AREA)
  • Mining & Mineral Resources (AREA)
  • Physics & Mathematics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Fluid Mechanics (AREA)
  • General Life Sciences & Earth Sciences (AREA)
  • Geochemistry & Mineralogy (AREA)
  • Lock And Its Accessories (AREA)

Abstract

一种抗电磁干扰的方法、智能门锁,用以解决智能门锁易受电磁信号干扰而误开启的技术问题。该方法包括:检测发送给所述智能门锁的电机驱动电路(303)的控制信号的电压值是否大于预设阈值;其中,所述控制信号用于控制所述电机驱动电路(303)驱动所述智能门锁中的电机(304)开启所述智能门锁;若为是,则对所述控制信号进行延时处理,当延时达到指定时长后,将当前接收到的控制信号发送到所述电机驱动电路(303),使所述电机驱动电路(303)在所述指定时长内不受所述控制信号控制。

Description

抗电磁干扰的方法、智能门锁
相关申请的交叉引用
本申请是以CN申请号为201811198941.5,申请日为2018年10月15日的申请为基础,并主张其优先权,该CN申请的公开内容在此作为整体引入本申请中。
技术领域
本公开涉及智能家居领域,尤其是涉及一种抗电磁干扰的方法、智能门锁。
背景技术
在智能家居中,智能门锁的使用越来越普遍,通过使用智能门锁可以使用户不需携带钥匙便能轻松开门,也无需再因钥匙丢失、家庭成员增加而配置钥匙,从而为用户的生活带来了极大的便利性。
智能门锁的开启通常是通过验证用户身份如指纹后,驱动电机转动打开门锁的。然而,目前市面上出现的一款“小黑盒”(实际为小型特斯拉线圈,可生成短时间的高频高压电流进而产生强电磁干扰信号),通过“小黑盒”产生的强电磁干扰信号来干扰智能门锁,会使智能门锁中的电机转动,进而可在短时间内迅速打开智能门锁。一些非法入侵者利用智能门锁的这一安全漏洞,利用“小黑盒”侵入用户家中,盗取用户财物,给用户造成了极大的安全隐患。
发明内容
第一方面,本公开实施例提供的一种抗电磁干扰的方法,应用于智能门锁,该方法的技术方案如下:
检测发送给所述智能门锁的电机驱动电路的控制信号的电压值是否大于预设阈值;其中,所述控制信号用于控制所述电机驱动电路驱动所述智能门锁中的电机开启所述智能门锁;
若为是,则对所述控制信号进行延时处理,当延时达到指定时长后,将当前接收到的控制信号发送到所述电机驱动电路,使所述电机驱动电路在所述指定时长内不受所述控制信号控制。
在一些实施例中,所述指定时长具体为不小于输出所述控制信号的控制单元的复 位信号的时长。
在一些实施例中,所述指定时长的优选值为200ms。
在一些实施例中,当所述智能门锁设置有至少两个控制单元对用户身份进行验证时,所述控制信号为对所述至少两个控制单元输出的控制信号对应的二进制数据进行或运算后得到的信号;其中,每个控制单元采用与其他控制单元不同的身份验证方法对用户身份验证通过后,对应输出的控制信号都能控制所述电机驱动电路。
第二方面,本公开实施例提供了一种用于抗电磁干扰的智能门锁,包括:
电机、电机驱动电路、控制电路,所述电机驱动电路用于驱动所述电机开启所述智能门锁,所述控制电路用于验证用户身份,并在验证通过后输出控制所述电机驱动电路工作的控制信号,所述智能门锁还包括:
连接于所述电机驱动电路与所述控制电路之间的延时电路,用于在检测到发送给所述智能门锁的电机驱动电路的控制信号的电压值大于预设阈值时,对所述控制信号进行延时处理,当延时达到指定时长后,将当前接收到的控制信号发送到所述电机驱动电路,使所述电机驱动电路在所述指定时长内不受控制信号控制。
在一些实施例中,所述智能门锁还包括:
或门,所述或门的输入端与所述控制电路中的至少两个控制单元连接,所述或门的输出端与所述延时电路的输入端连接,用于对所述至少两个控制单元输出的控制信号对应的二进制数据进行或运算;其中,每个控制单元采用与其他控制单元不同的身份验证方法对用户身份验证通过后,对应输出的控制信号都能控制所述电机驱动电路,所述或运算的结果对应的信号为所述电机驱动电路接收到的控制信号。
在一些实施例中,所述指定时长具体为不小于输出所述控制信号的控制单元的复位信号的时长。
在一些实施例中,所述指定时长的优选值为200ms。
第三方面,本公开实施例还提供一种智能门锁,包括:
至少一个处理器,以及
与所述至少一个处理器连接的存储器;
其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述至少一个处理器通过执行所述存储器存储的指令,执行如上述第一方面所述的方法。
第四方面,本公开实施例还提供一种非瞬时性计算机可读存储介质,包括:
所述计算机可读存储介质存储有计算机指令,当所述计算机指令在计算机上运行 时,使得计算机执行如上述第一方面所述的方法。
附图说明
图1为本公开一些实施例提供的一种抗电磁干扰方法(特别是抗强电磁干扰方法)的流程示意图;
图2为本公开一些实施例提供的在智能门锁受到强电磁干扰后,智能门锁的直流电源输出的波形示意图;
图3为本公开一些实施例提供的一种智能门锁的连接示意图;
图4为本公开一些实施例提供的延时电路的原理示意图;
图5为本公开一些实施例提供的另一种智能门锁的连接示意图。
具体实施方式
本公开一些实施列提供一种抗电磁干扰(特别是抗强电磁干扰)的方法、智能门锁及计算机存储介质,以解决智能门锁易受电磁信号(特别是强电磁信号)干扰而误开启的技术问题。
本公开实施例中的技术方案为解决上述的技术问题,提供一种抗电磁干扰(特别是抗强电磁干扰)的方法,包括:检测发送给智能门锁的电机驱动电路的控制信号的电压值是否大于预设阈值;其中,控制信号用于控制电机驱动电路驱动智能门锁中的电机开启智能门锁;若为是,则对控制信号进行延时处理,当延时达到指定时长后,将当前接收到的控制信号发送到电机驱动电路,使电机驱动电路在指定时长内不受控制信号控制。
在上述方案中,通过检测发送给智能门锁的电机驱动电路的控制信号的电压值是否大于预设阈值,并在确定大于预设阈值时对控制信号进行延时处理,当延时达到指定时长后,则将当前接收到的控制信号发送到电机驱动电路,使电机驱动电路在指定时长内不受控制信号控制,从而能有效地防止智能门锁受电磁信号(特别是强电磁干扰信号)而误开启。
为了更好的理解上述技术方案,下面通过附图以及具体实施例对本公开技术方案做详细的说明,应当理解本公开实施例以及实施例中的具体特征是对本公开技术方案的详细的说明,而不是对本公开技术方案的限定,在不冲突的情况下,本公开实施例以及实施例中的技术特征可以相互组合。
请参考图1,本公开实施例提供一种抗电磁干扰(特别是抗强电磁干扰)的方法,应用于智能门锁,该方法的处理过程如下。
步骤101:检测发送给智能门锁的电机驱动电路的控制信号的电压值是否大于预设阈值;其中,控制信号用于控制电机驱动电路驱动智能门锁中的电机开启智能门锁。
步骤102:若为是,则控制信号进行延时处理,当延时达到指定时长后,将当前接收到的控制信号发送到电机驱动电路,使电机驱动电路在指定时长内不受控制信号控制。
在智能门锁受到强电磁干扰后,智能门锁的直流电源输出的波形,请参见图2。从图2中可以看出,在受到强电磁干扰时,电源信号的电压幅值会成倍增加,以5V直流电源为例,当其受到强电磁信号干扰时其电压峰峰值最高可达到15V以上。经研究发现,在此时智能门锁中的主控芯片及信号也会受到干扰,进而使主控芯片发生复位,从而引起控制智能门锁开启的控制信号被误触发,使智能门锁被误开启。
为了避免主控芯片发生复位后输出的信号使智能门锁被开启,可以对发送给智能门锁的电机驱动电路的控制信号的电压值进行检测,当检测到控制信号的电压值大于预设阈值时,对电机驱动电路将接收到的控制信号开始进行延时,直到延时到指定时长后,才将当前接收到的控制信号发送给电机驱动电路,使电机驱动电路在指定时长内不受控制信号的控制。
其中,预设阈值为控制单元(或称控制芯片)的电源电压值。例如,控制单元的电源电压值为5V,则预设阈值为5V,控制单元的电源电压值为3.3V则预设阈值为3.3V,或者控制单元的电源电压值为1.8V则预设阈值为1.8V。
指定时长具体为不小于输出控制信号的控制单元的复位信号的时长。例如,控制单元A的复位信号输出的时长为100ms,则指定时长为100ms。
优选的,预设时长的优选值为200ms。将预设时长的值设为200ms一方面不会使用户在使用中明显的察觉到时延,另一方面又能较好的适应大多数控制单元的复位时长。
由于强电磁信号干扰对智能门锁进行干扰时会使控制单元短暂复位,并输出控制智能门锁开启的错误的控制信号,该错误的控制信号的电压值会突然升高且持续时长较短,所以在确定控制单元发送的控制信号的电压值超过预设阈值时,开始对接收到的控制信号进行延时处理,当延时到指定时长后,再将当前接收到的控制信号发送给电机驱动电路,便可以有效地规避掉因强电磁干扰而使主控芯片输出的错误的控制信 号,进而使智能门锁具有较好的抗强电磁干扰的性能、避免被误开启,提高安全性。
进一步的,当智能门锁设置有至少两个控制单元对用户身份进行验证时,控制信号为对至少两个控制单元输出的控制信号对应的二进制数据进行或运算后得到的信号;其中,每个控制单元采用不同的身份验证方法对用户身份验证通过后,对应输出的控制信号都能控制电机驱动电路。
例如,智能门锁可以通过触摸屏输入密码、指纹、人脸识别、虹膜识别的方式对用户身份进行验证,对于触摸屏输入密码的方式采用的是控制单元A进行身份验证,对于指纹、人脸识别、虹膜识别的方式采用的是控制单元B进行身份验证。
若用户用触摸屏输入密码的方式开启门锁时,当密码输入正确时,控制单元A确定用户的身份验证通过了并输出控制信号A(假设为高电平信号),之后将控制信号A与控制单元B输出的控制信号B(假设为低电平信号)进行或运算,得到新的控制信号(为高电平信号),然后再检测新的控制信号的电压值是否大于预设阈值3.3V,若为是开始进行延时处理,当延时达到200ms后,当前接收到的控制信号仍为高电平信号,则说明为正确的控制信号,此时将当前接收到的控制信号发送给电机驱动电路开启智能门锁。
若有非法入侵者使用“小黑盒”对用户的智能门锁进行强电磁干扰,由于智能门锁受强电磁干扰信号的干扰后,控制单元A、B中任意一个被复位、输出错误的控制信号A(假设控制单元A输出高电平信号),之后对控制信号A和B进行或运算之后得到新的控制信号,然后再检测新的控制信号的电压值是否大于预设阈值3.3V,若为是开始进行延时处理,当延时达到200ms后,当前接收到的控制信号仍为低电平信号,则说明智能门锁受到强电磁信号的干扰,由于错误的控制信号在200ms后消失了,即200ms后的控制信号恢复了正常,所以200ms后发送给电机驱动电路的当前控制信号为正常的控制信号,从而既能有效的防止电机驱动电路接收到受强电磁干扰产生的错误的控制信号,又能让正常的控制信号在指定时长后被送达电机驱动电路。
需要说明的是,控制单元发送的控制电机驱动电路开启智能门锁的正确的控制信号的持续时长大于指定时长。
基于同一发明构思,本公开一些实施例中提供一种用于抗电磁干扰(特别是抗强电磁干扰)的智能门锁,该智能门锁的抗电磁干扰方法(特别是抗强电磁干扰方法)的具体实施方式可参见方法实施例部分的描述,重复之处不再赘述,请参见图3,该智能门锁至少包括电机304、电机驱动电路303、控制电路301,电机驱动电路303用 于驱动电机304开启智能门锁,控制电路301用于验证用户身份,并在验证通过后输出控制电机驱动电路303工作的控制信号,该智能门锁还包括:
连接于电机驱动电路303与控制电路301之间的延时电路302,用于在检测到发送给智能门锁的电机驱动电路303的控制信号的电压值大于预设阈值时,对接收到的控制信号进行延时处理,当延时达到指定时长后,则将当前接收到的控制信号发送到电机驱动电路303,使电机驱动电路303在指定时长内不受控制信号控制。
具体的,该延时电路302的原理图如图4所示,IN为控制电路301输出的控制信号,OUT为延时电路302输出为智能门锁的控制信号,C1、C2为0.1uF±10%/16V的滤波电容,R1为10kΩ的限流电阻,U1为一延时单元(或称延时芯片),可以检测接收到的信号的电压值是否大于预设阈值,并在大于预设阈值时开始进行延时,延时的时长为指定时长。
当延时芯片U1检测到控制信号IN的电压值大于预设阈值(如1.8V)时,开始进行延时,在延时时长达到指定时长(如200ms)后,将当前的控制信号IN作为输出信号OUT发送给电机驱动电路303,若当前的控制信号IN为控制电机驱动电路303开启智能门锁的控制信号,则开启智能门锁,若当前的控制信号IN为控制电机驱动电路303不开启智能门锁的控制信号,则不开启智能门锁。
例如,有“小黑盒”产生强电磁干扰信号干扰智能门锁时,控制信号IN的电压值突然升高,持续时间为80ms,这80ms内的干扰信号可以是如图2所示的高频信号,延时电路302检测到控制信号IN的电压值升高后,开始进行延时,在延时时长达到指定时长200ms后,将当前的控制信号IN发送给电机驱动电路303,此时当前的控制信号IN的电压值已恢复到正常值(低电压值)。
由于现在智能门锁的开锁验证方式多种多样,例如可以通过输入密码的方式,在密码验证成功后,管理密码输入的控制单元会将输出控制信号IN的引脚电平置为高电平;还可以通过输入指纹的方式,在指纹验证成功后通过串口将验证结果发送给控制单元,控制单元再将输出控制信号IN的引脚电平置为高电平;还可以使用其它验证方式,如磁卡、蓝牙、虹膜、人脸识别等,在验证成功后控制单元输出控制信号;在同一个智能门锁中可以用以上述一种验证方式,也可以使用多种验证方式。在使用多种验证方式时,若不同的验证方式是用了不同的控制单元来分别进行验证,则智能门锁还包括:
或门305,或门305的输入端与控制电路301中的至少两个控制单元连接,或门 305的输出端与延时电路302的输入端连接,用于对至少两个控制单元输出的控制信号对应的二进制数据进行或运算;其中,每个控制单元采用不同的身份验证方法对用户身份验证通过后,对应输出的控制信号都能控制所述电机驱动电路303,或运算的结果对应的信号为电机驱动电路303接收到的控制信号。
请参见图5,触摸电路及密码电路在验证密码通过后输出控制信号到或门305,或门305对控制电路301中的控制单元A3011输出的控制信号(假设为高电平)和控制电路301的控制单元B3012输出的控制信号(假设为低电平)进行或运算,将或运算的结果作为延时芯片的输入信号,延时芯片检测到输入信号的电压值大于预设阈值时,开始延时指定时长,在延时到指定时长后,将延时芯片当前接收到的信号发送给电机驱动电路303,M代表开锁的电动机。
在本公开提供的实施例中,指定时长具体为不小于输出控制信号的控制单元的复位信号的时长。优选的,指定时长的优选值为200ms。
基于同一发明构思,本公开实施例中提供了一种智能门锁,包括:至少一个处理器,以及与所述至少一个处理器连接的存储器;
其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述至少一个处理器通过执行所述存储器存储的指令,执行如上所述的抗电磁干扰(特别是抗电磁干扰)方法。
基于同一公开构思,本公开实施例还提一种计算机可读存储介质,包括:
所述计算机可读存储介质存储有计算机指令,当所述计算机指令在计算机上运行时,使得计算机执行如上所述的抗电磁干扰(特别是抗电磁干扰)方法。
在本公开提供的实施例中,通过检测发送给智能门锁的电机驱动电路的控制信号的电压值是否大于预设阈值,并在确定大于预设阈值时对控制信号进行延时处理,当延时达到指定时长后,则将当前接收到的控制信号发送到电机驱动电路,使电机驱动电路在指定时长内不受控制信号控制,从而能有效地防止智能门锁受电磁干扰信号(特别是强电磁干扰信号)而误开启。
本领域内的技术人员应明白,本公开实施例可提供为方法、系统、或计算机程序产品。因此,本公开实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本公开实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本公开实施例是参照根据本公开实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
显然,本领域的技术人员可以对本公开进行各种改动和变型而不脱离本公开的精神和范围。这样,倘若本公开的这些修改和变型属于本公开权利要求及其等同技术的范围之内,则本公开也意图包含这些改动和变型在内。

Claims (10)

  1. 一种抗电磁干扰的方法,应用于智能门锁,包括:
    检测发送给所述智能门锁的电机驱动电路的控制信号的电压值是否大于预设阈值;其中,所述控制信号用于控制所述电机驱动电路驱动所述智能门锁中的电机开启所述智能门锁;
    若为是,则对所述控制信号进行延时处理,当延时达到指定时长后,将当前接收到的控制信号发送到所述电机驱动电路,使所述电机驱动电路在所述指定时长内不受所述控制信号控制。
  2. 如权利要求1所述的方法,其中,所述指定时长具体为不小于输出所述控制信号的控制单元的复位信号的时长。
  3. 如权利要求2所述的方法,其中,所述指定时长的优选值为200ms。
  4. 如权利要求1-3任一权项所述的方法,其中,当所述智能门锁设置有至少两个控制单元对用户身份进行验证时,所述控制信号为对所述至少两个控制单元输出的控制信号对应的二进制数据进行或运算后得到的信号;其中,每个控制单元采用与其他控制单元不同的身份验证方法对用户身份验证通过后,对应输出的控制信号都能控制所述电机驱动电路。
  5. 一种智能门锁,所述智能门锁至少包括电机、电机驱动电路、控制电路,所述电机驱动电路用于驱动所述电机开启所述智能门锁,所述控制电路用于验证用户身份,并在验证通过后输出控制所述电机驱动电路工作的控制信号,所述智能门锁还包括:
    连接于所述电机驱动电路与所述控制电路之间的延时电路,用于在检测到发送给所述智能门锁的电机驱动电路的控制信号的电压值大于预设阈值时,对所述控制信号进行延时处理,当延时达到指定时长后,将当前接收到的控制信号发送到所述电机驱动电路,使所述电机驱动电路在所述指定时长内不受控制信号控制。
  6. 如权利要求5所述的智能门锁,其中,所述智能门锁还包括:
    或门,所述或门的输入端与所述控制电路中的至少两个控制单元连接,所述或门的输出端与所述延时电路的输入端连接,用于对所述至少两个控制单元输出的控制信号对应的二进制数据进行或运算;其中,每个控制单元采用与其他控制单元不同的身份验证方法对用户身份验证通过后,对应输出的控制信号都能控制所述电机驱动电 路,所述或运算的结果对应的信号为所述电机驱动电路接收到的控制信号。
  7. 如权利要求5或6所述的智能门锁,其中,所述指定时长具体为不小于输出所述控制信号的控制单元的复位信号的时长。
  8. 如权利要求7所述的智能门锁,其中,所述指定时长的优选值为200ms。
  9. 一种智能门锁,包括:
    至少一个处理器,以及
    与所述至少一个处理器连接的存储器;
    其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述至少一个处理器通过执行所述存储器存储的指令,执行如权利要求1-4任一项所述的方法。
  10. 一种非瞬时性计算机可读存储介质,所述计算机可读存储介质存储有计算机指令,当所述计算机指令在计算机上运行时,使得计算机执行如权利要求1-4中任一项所述的方法。
PCT/CN2019/100608 2018-10-15 2019-08-14 抗电磁干扰的方法、智能门锁 WO2020078091A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811198941.5A CN109372336B (zh) 2018-10-15 2018-10-15 一种抗强电磁干扰的方法、智能门锁及计算机存储介质
CN201811198941.5 2018-10-15

Publications (2)

Publication Number Publication Date
WO2020078091A1 WO2020078091A1 (zh) 2020-04-23
WO2020078091A9 true WO2020078091A9 (zh) 2020-06-25

Family

ID=65400469

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/100608 WO2020078091A1 (zh) 2018-10-15 2019-08-14 抗电磁干扰的方法、智能门锁

Country Status (2)

Country Link
CN (1) CN109372336B (zh)
WO (1) WO2020078091A1 (zh)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109372336B (zh) * 2018-10-15 2020-03-27 珠海格力电器股份有限公司 一种抗强电磁干扰的方法、智能门锁及计算机存储介质
CN110130732A (zh) * 2019-05-08 2019-08-16 重庆鸣洋科技股份有限公司 一种智能门锁防盗系统
CN112227834B (zh) * 2019-07-15 2024-05-07 紫光同芯微电子有限公司 一种用于智能锁的安全控制电路
CN111127705A (zh) * 2019-11-21 2020-05-08 广东名门锁业有限公司 一种主动防御电磁干扰的智能门锁
CN110837018A (zh) * 2019-11-26 2020-02-25 北京智慧云测信息技术有限公司 一种智能门锁抗电磁干扰检测系统
CN115199149B (zh) * 2022-07-22 2023-11-21 天津市众隆科技有限公司 一种高效智能防盗锁及其工作方法

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1722466A1 (en) * 2005-05-13 2006-11-15 STMicroelectronics S.r.l. Method and relative circuit for generating a control voltage of a synchronous rectifier
DE102006005053B4 (de) * 2006-02-03 2012-10-25 Infineon Technologies Ag Vorichtung und Verfahren zum Erfassen eines Angriffs auf eine elektrische Schaltung
CN102568940B (zh) * 2010-12-15 2016-01-27 上海良信电器股份有限公司 低电压工作的延时保护驱动电路
CN103927801B (zh) * 2014-04-14 2016-06-08 重庆特斯联智慧科技股份有限公司 基于智能终端的蓝牙门锁控制方法
CN104076244A (zh) * 2014-06-06 2014-10-01 西安电子科技大学 一种基于工控板和fpga的电缆故障检测装置
CN104391195A (zh) * 2014-11-20 2015-03-04 江苏省电力公司扬州供电公司 一种电磁干扰的识别及滤波方法
TWI577128B (zh) * 2015-08-07 2017-04-01 DC motor control device
US10778123B2 (en) * 2015-10-16 2020-09-15 Kohler Co. Synchronous inverter
CN105952279B (zh) * 2016-05-25 2017-07-04 刘明华 一种智能门锁
CN106761130A (zh) * 2017-01-11 2017-05-31 上海应用技术大学 一种智能门控制系统
CN207332511U (zh) * 2017-10-31 2018-05-08 美的智慧家居科技有限公司 门锁系统
CN109372336B (zh) * 2018-10-15 2020-03-27 珠海格力电器股份有限公司 一种抗强电磁干扰的方法、智能门锁及计算机存储介质

Also Published As

Publication number Publication date
CN109372336B (zh) 2020-03-27
WO2020078091A1 (zh) 2020-04-23
CN109372336A (zh) 2019-02-22

Similar Documents

Publication Publication Date Title
WO2020078091A9 (zh) 抗电磁干扰的方法、智能门锁
WO2017113380A1 (zh) 一种指纹识别的方法、装置及触摸屏终端
CN106131072A (zh) 一种计算机信息安全系统
CN107977568B (zh) Mcu安全保护身份认证装置及方法
CN105701896A (zh) 一种指纹授权开锁的方法、装置及终端
Vamsi et al. Face recognition based door unlocking system using Raspberry Pi
CN105389497A (zh) 指纹识别的操作界面的安全验证方法及系统
WO2017166523A1 (zh) 一种解锁方法、装置及智能电视
AU2021328076B2 (en) Control circuitry for offline authentication in an aerosol-generating device
CN104574583A (zh) 一种保险柜用人脸识别装置及识别方法
CN109681039A (zh) 一种抗磁场或特斯拉干扰的电子锁及其开锁控制方法
CN110620708A (zh) 一种家电设备的控制方法、装置、家电设备及存储介质
CN204189172U (zh) 一种计算机
US20130305353A1 (en) Low Power Driver System and Method for Controlling The Same
CN107558821A (zh) 一种智能门锁及其开锁方法
WO2016165537A1 (zh) 一种控制智能终端的方法及控制智能终端的装置
WO2019242401A1 (zh) 用户操作权限的控制方法、装置、存储介质及电子设备
CN113989957B (zh) 一种防止儿童或宠物外出的门锁控制方法
Kovalchuk et al. A practical proposal for ensuring the provenance of hardware devices and their safe operation
CN207296652U (zh) 一种智能门锁
US20190139341A1 (en) Multi-factor biometric authentication
CN111719954B (zh) 智能锁防干扰方法及智能锁
CN109377610A (zh) 防线圈盗开的智能门锁结构及智能门锁的防盗开方法
CN105573636A (zh) 触屏设备的解锁方法和装置
CN109104526A (zh) 控制移动终端锁定的方法、装置、终端设备和介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19872832

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19872832

Country of ref document: EP

Kind code of ref document: A1