Design of Intelligent Security Measurement and Control System Based on ARM LM3S1138

According to the security requirements of the dormitory, following the principles of reliability, independence, security, linkage, scalability, practicability and economy, an intelligent apartment anti-theft fire alarm system based on ARM was designed. The system uses Easyarm LM3S1138, RS232 bus and a variety of sensors to achieve remote control and multi-terminal network synchronization control. The test shows that the system not only realizes the functions of human body detection, smoke detection, sound and light alarm, keyboard password alarm and valuables entry and exit in the dormitory, but also has simple circuit design, high reliability, friendly interaction and cost. Low features.
Looking at the current situation of campus security, no matter colleges or small and medium-sized schools are not optimistic, students in the school bedroom stolen goods and students use electrical appliances to cause fire, is a "big problem" in college management. With the adjustment and development of sensor technology, network technology, control technology and communication technology, it provides a modern and dynamic management of student apartments, enhances the safety of student apartments, and keeps security incidents at a minimum, thus eliminating the worries of academic students and schools. may. This paper designs an intelligent security measurement and control system for student apartments based on ARM based on the principles of reliability, independence, security, linkage, scalability, practicability and economy. The system consists of two parts: the collection terminal and the remote centralized control terminal. The two communicate serially through the RS232 bus, which can realize remote control and multi-terminal network synchronization control. It not only has human body detection, smoke detection, sound and light alarm, and keyboard password solution. The police, as well as the record of the entry and exit of valuables in the dormitory, have the characteristics of simple circuit design, high reliability, strong pertinence, friendly human-computer interaction and low cost.
1. Intelligent security system composition and basic principle The system consists of multiple dormitory monitoring stations and a building management station, as shown in Figure 1. The dormitory monitoring station is installed in the dormitory to be guarded, and the various parameters (such as human pyroelectric infrared signal, fire smoke concentration) before the occurrence of various disasters in the detection area are not detected, and RS232 is passed. The bus is transmitted to the building management station. The building management station is located in the duty area. It is implemented by PC for convenient inquiry and storage function. It monitors each dormitory through the information displayed on the PC, so as to timely alarm and notify the administrator to take corresponding measures.

Figure 1 System diagram The dormitory monitoring station consists of various detectors, microprocessors, sound and light alarms, displays and interface circuits. The block diagram is shown in Figure 2. The human body detector is used to monitor the human body's illegal intrusion and personnel in and out information: the infrared detector and the smoke sensor are used to realize the collection of fire scene information: the magnetic sensor is used to monitor the movement of valuables. The workflow is as follows: the microprocessor processes and saves the information provided by the data acquisition module according to a preset program, and realizes the sound and light alarm of the theft situation and the fire situation, and sends it to the remote PC management terminal through the RS232 interface.
The building management station consists of the main control computer, communication interface chip, monitoring management software, laying bus and power supply. The T process is as follows: the building management station monitors the situation of the dormitory monitoring station through the information displayed by the main control computer. When the dormitory monitoring station sends the alarm information, it saves and processes it, and notifies the administrator to take necessary measures.

Figure 2 Overall block diagram of the dormitory monitoring station 2 Hardware circuit design Because the function of the building management station is mainly realized by the monitoring management software, the circuit design of the system is mainly the circuit design of the dormitory monitoring station.
Main control module: This system uses ARM-based Easyarm LM3S1138 as the main control module chip to process and save the information sent by the data acquisition module. Easyarm LM3S1138[5] has 32-bit code instructions, 32-bit address bus, 34 interrupt sources, 64 KB single-cycle Flash, 16 KB single-cycle SRAM, addressing range 32-bit address width, and two synchronous serial ports (SSI) ), 3 fully programmable serial ports, ADC and multiple GPIOs. With rich internal resources, its high-performance 32-bit computing capability can easily control the entire system, while its low power consumption and low cost meet the application environment, especially its rich interrupt source provides very good data for receiving collectors. Great convenience.
Infrared detection module: E18-D80NK infrared obstacle avoidance sensor is adopted. The infrared barrier of the south gate of the module and the infrared barrier of the door are combined side by side.
When someone enters, the external device is first blocked and detects the signal, and sends a low-level signal to the main control chip. The switch inside the door is blocked to detect the signal, and the low-level gate is sent to the main control chip. After the sensor level signals on both the inner and outer sides disappear, the terminal detects that one person has entered. If the person leaves the room, the principle is reversed.
Human body detection module: mainly adopts DYP-ME003 human body sensing module, when the number of people records is zero, the module circuit is turned on. If someone enters the sensing range, the output is high, and the sound and light module alarms: If the person enters the door and enters the correct password to unlock through the keyboard, the sound and light module stops the alarm and realizes the anti-theft function. If the counter is zero and the gate switch circuit is open, the module outputs a high level, and the sound and light module alarms to realize the door lock prompt function.
Smoke detection module: It mainly uses GH-312 smoke sensor module to detect the generation of harmful gases and smoke. When the indoor smoke exceeds the threshold, it outputs a high level, and the ARM process causes the sound and light module to alarm to achieve the fire prevention function.
Valuables Detection Module: This module uses a SEN-65 magnetic sensor to detect objects with a specific magnetic strip. When someone carries a valuable item with a magnetic tag and leaves the room, the magnetic induction device detects and sends a high level to the main control module, and the controller makes the alarm system work to realize the function of detecting the entry and exit of valuables.
Communication module: The system communication module adopts the program-controlled resistance communication protocol, and the level conversion is completed between the ARM and the PC through the MAX232. The basic parameters for setting up communication for the installed system are shown in Table 1.
Table 1 basic parameter values

Figure 3 Circuit Schematic Diagram 3 Software Design The software design of this system is implemented by C language and IAR system embedded Workbench tool. WorkbenCh [6] is a flexible and integrated environment for developing applications with a variety of different Japanese standard processors. It provides a convenient window interface for rapid development and debugging. The embedded Workbench supports a variety of different target processors. Projects developed by users with different Japanese standard processors can specify the Japanese standard project one by one on the basis of engineering.
3.1 Software design of the dormitory monitoring station The monitoring station of the dormitory mainly carries information (human body intrusion information and personnel in and out information obtained by human body detectors, on-site fire information captured by infrared detectors and smoke sensors, and valuable items captured by magnetic sensors) The software flow of mobile information collection and data acquisition is shown in Figure 4.

Figure 4 Data acquisition software flow chart 3.2 Software design of the building management station The building management station uses the information uploaded by each dormitory monitoring station displayed on the human-machine interface to monitor the situation of each dormitory station, and uses the serial port to realize the data between the monitoring station and the dormitory monitoring station. Transmission, receiving the alarm information sent by the dormitory monitoring station, saving and processing it, and notifying the administrator to take necessary measures. The flow chart of the data processing of the building management station is shown in Figure 5.

Figure 5 Data processing software flow chart The building management station uses serial communication, using the human-machine interface of the PC host computer to realize real-time query and display of the security status of each alarm system in the network, and record the security situation for query, wherein the human-machine interface is Developed under the VC development environment [7], as shown in Figure 6.

Figure 6 Human-machine interface 4 System implementation and testing The system is mainly composed of indoor pyroelectric sensor and smoke sensor, infrared obstacle avoidance device, ARM controller and PC computer. The controller part is placed outside the door right frame about 155 cm away from the ground, which is convenient for the person to enter the password to unlock. The two infrared obstacle avoidance sensors are placed side by side on the sides of the right door frame about 145 cm away from the ground, and the magnetic induction module is placed. The right side of the door frame is 120 cm away from the ground. The indoor smoke sensor is placed on the beam. The left side door frame is placed 160 cm away from the ground to place the indoor pyroelectric sensor. The main controller is connected to the PC through the RS232 bus to realize remote monitoring and system installation. The figure is shown in Figure 7. Then test the function and performance of the system. The specific results are shown in Tables 2 and 3.

Figure 7 System installation chart 2 Influence of wind and light on detection angle Test results

The test results show that the maximum average detection angle under windy and windless natural light conditions is 70.2. And 100.8. The average maximum detection distance is 5.5 m and 7 m, respectively. In the absence of wind, the influence of strong light on the maximum detection angle and the maximum detection distance is large.
5 Conclusion Through the system function and performance test, the results show that the system not only realizes human body detection, sound and light alarm, password input and alarm, entry and exit personnel count, lock door prompt when the last person goes out, valuables detection, network information Transmission and other functions, and has the characteristics of simple circuit design, high reliability, friendly human-computer interaction and low cost. It meets the needs of intelligent management of student apartments, which helps to improve the safety of student apartments and solve the worries of schools and students. However, the system still has some shortcomings. For example, the system uses wired transmission. When the wired network is interrupted, the collected data cannot be transmitted to the monitoring terminal in time, and the alarm cannot be timely. The system still needs to be improved.
0 times
Window._bd_share_config = { "common": { "bdSnsKey": {}, "bdText": "", "bdMini": "2", "bdMiniList": false, "bdPic": "", "bdStyle": " 0", "bdSize": "24" }, "share": {}, "image": { "viewList": ["qzone", "tsina", "tqq", "renren", "weixin"], "viewText": "Share to:", "viewSize": "16" }, "selectShare": { "bdContainerClass": null, "bdSelectMiniList": ["qzone", "tsina", "tqq", "renren" , "weixin"] } }; with (document) 0[(getElementsByTagName('head')[0] || body).appendChild(createElement('script')).src = 'http://bdimg.share. Baidu.com/static/api/js/share.js?v=89860593.js?cdnversion=' + ~(-new Date() / 36e5)];

Cummins Parts

Cummins Parts,Cummins Spare Parts,Cummins Performance Parts,Original Cummins Parts

JINING SHANTE SONGZHENG CONSTRUCTION MACHINERY CO.LTD , https://www.huaxinbrush.com

Posted on