Analyze the basic working principle and hardware components of smart password lock

A combination lock is a type of lock that is opened with a series of numbers or symbols. Passwords for password locks are usually just an arrangement rather than a true combination. Some code locks use only one turntable to turn a number of discs or cams inside the lock; some locks are a set of several numbered dials that directly drive the inside of the lock.

The basic working principle and hardware components of smart password lock

The basic working principle and hardware components of smart password lock

Smart password lock working principle and hardware composition

The system of smart code locks consists of a smart monitor and an electronic lock. The two are placed off-site, and the smart monitor supplies the power required by the electronic lock and receives the alarm and status information it sends. Here, the line multiplexing technology is adopted to share a two-core cable for power supply and information transmission, which improves the reliability and safety of the system.

The basic principle and composition of intelligent monitor

Current monitoring technology

Data communication and preprocessing technology

The intelligent monitor receives the status information sent by the lock (including the opening and closing of the lock, the first password error, the second password error, the third password error, etc.), the current value flowing through the electromagnetic actuator coil, and Reading the supply current value of the communication line at that time, the three combine to form a data block, wherein the operation state occupies 1 byte, the supply current occupies 2 bytes, and the coil current occupies 2 bytes. The intelligent monitor is always in the receiving state during communication with the electronic lock. In order to improve communication reliability, this paper adopts the method of repeated transmission in the communication protocol. The electronic lock repeatedly transmits 5 times for each group of data. After receiving the data, the intelligent monitor corrects the error by using the large number decoding law. The accuracy of data reception. In addition, in order to save memory, pre-processing technology is adopted for the received data, that is, after receiving one data, the data is first compared with the set threshold, and if it is greater than the threshold, an over-limit alarm is issued; if less than The threshold value is compared with the same type of data received on the same day, and the larger one is retained. In this way, the data stored every day is the maximum value in the same type of data.

Intelligent analysis

The intelligent analysis and prediction technology is based on each received data block, compared with the recorded value of the previous similar data, analyzes the magnitude and trend of the current change caused by the operation, finds problems in time, and reports the management personnel. Improve the reliability of the entire system.

System software design

The intelligent password lock software uses the 51 series MCU assembly language to separately program the intelligent monitor and the electronic lock. The intelligent monitor software includes keyboard scanning and LCD display programs, buzzer drivers, clock modification and reading programs, data communication and pre-processing programs, intelligent analysis programs and line monitoring programs. The electronic lock software includes modules such as a keyboard scanning and decoding program, an LCD display program, a communication program, an electromagnetic actuator drive and detection program, and a sensor interface program. The modular design method is used in the software design process to facilitate reading, debugging and improvement of the program.

The intelligent password lock fully utilizes the software and hardware resources of the 51 system microcontroller, and introduces intelligent analysis functions to improve the reliability and security of the system. It is welcomed by users by installing it in a certain type of safe. In addition, the smart password lock can be modified in software and hardware to form an intelligent distributed monitoring network, achieving centralized monitoring and management within a certain range, and is widely used in finance, insurance, military and other security fields. Application prospects.

The intelligent monitor is always in the receiving state and receives the alarm information and status information from the electronic lock in a fixed format. For the alarm information, the sound and light alarms are immediately sent through the LCD display and the buzzer; for the status information, it is stored in the memory and compared with the historical state of the electronic lock before this time, and the trend is changed to predict the future. The status changes, and the corresponding information is provided to the duty officer through the LCD display for decision making. While the intelligent monitor establishes communication with the electronic lock, the A/D converter monitors the change of the supply current flowing through the communication line in real time, effectively preventing the damage caused by human factors and ensuring the smooth communication line.

Fiberglass Tape Measure

Fiberglass Tape Measure,Tape Line Measure,Magnet Tape Measure,Abs Fiberglass Tape Measure

Shangqiu Hengli Measuring Tools Co.,Ltd , http://www.henglimtools.com