With the improvement of living standards and housing conditions of urban and rural residents, people's demand for residential security facilities has become more and more urgent. Although there are many kinds of alarm devices for residential security produced at home and abroad, most of them are either unaffordable due to high prices (several thousand yuan) or dare not be used due to poor quality. There are almost no security alarm devices that truly meet the national conditions of my country and the needs of urban and rural residents in my country.
In view of this, based on an in-depth study of various types of alarm devices currently available at home and abroad, and targeting the actual conditions of urban and rural residential areas in my country, we have separated the relatively simple and inexpensive sensor signal detection part (sub-end controller) from the relatively complex and expensive control and management part (central controller) of the entire system based on the design concept of high energy and low price. The two communicate via convenient and reliable telephone lines, and a central controller controls and manages multiple front-end controllers. We have developed a comprehensive residential safety alarm system that adopts a hierarchical distributed interconnection topology.
System Structure
The structure of this security alarm system is shown in Figure 1. It consists of three parts: front-end controller, central controller and communication line.
The front-end controller is installed in residential buildings to monitor and control different types of sensors (such as infrared, harmful gases and vibration, etc.) in different parts of residential buildings. It also processes the data collected from each sensor. When an abnormal situation occurs, it establishes a connection with the central controller through the telephone line in the home and transmits the relevant information to the central controller. The front-end controller can also receive and execute various control commands with password marks transmitted through the telephone line. When executing such control commands, the front-end controller will perform password verification, and only control commands with the correct password will continue to be executed.
The central controller is installed in the duty room of a residential building or community. It can control and manage multiple front-end controllers at the same time, so its cost is also shared by multiple users. The central controller is mainly used to receive and process data information from the front-end controller. Once an alarm message is received, it will immediately inform the duty personnel through the display speaker and other equipment so that corresponding processing can be made in time. In addition to being able to receive and execute various control commands with password marks transmitted through the telephone line like the front-end controller, the central controller also has an Internet interface, which can be easily connected to the Internet. Therefore, users can use any computer with Internet access to use a common web browser to access and control the central controller remotely within their authority range at any place through the Internet.
How the system works
Front Controller
The front-end controller is mainly composed of five parts: sensor group, AT89C2051 single-chip microcomputer, DTMF transceiver chip MT8888, telephone interface and sound circuit. As shown in Figure 2, it has a very simple circuit structure, and the type and number of sensors in the sensor group can also be freely combined according to the user's implementation needs and economic strength. The front-end controller has two working states: automatic operation and controlled operation.
Automatic working status
Controlled working state
The front-end controller can receive and execute control commands transmitted through the telephone line. These control commands include:
a. Command. Through it, the central controller can regularly detect the working status of each front-end controller to confirm whether each front-end controller is in normal working condition, so as to eliminate hidden dangers in time.
b. Open and close commands. Through it, the central controller and residents can open or close a front-end controller or several sensor inputs in a front-end controller according to the situation.
The controlled working state is password protected. The above commands can only be executed after entering the correct password.
Central Controller
As shown in Figure 3, the central controller is mainly composed of 7 parts: AT89C52 microcontroller, DTMF transceiver chip MT8888, voice chip ISD1420, serial interface chip MAX232, telephone interface and sound circuit.
(1) Receive alarm information from the front-end controller
(2) Monitoring and control of front-end controller
The central controller can monitor and control multiple front-end controllers: it can periodically cycle through each front-end controller under the operation of the on-duty personnel to confirm whether each front-end controller under its control is in normal working condition; it can also turn on or off a front-end controller or several sensor inputs of a front-end controller under the operation of the on-duty personnel.
(3) Accept remote telephone control
In addition to operating the central controller through the keyboard in the duty room, the duty personnel can also remotely control the central controller from a remote location. As long as the correct password is entered, the remote operation and control of the central controller can be completed through any audio telephone and the keyboard of the telephone under the voice prompt of the central controller.
(4) Internet access
The central controller uses emWare's EMIT (Embedded Micro Internetworking Technology) to connect to the Internet. EMIT is mainly composed of the device service software emMicro, the network protocol emNet, and the gateway software emGateway. EmMicro resides in the microcontroller, monitors various state variables pre-defined in the central controller, and transmits the results to emGateway via MAX232; at the same time, emMicro can also interpret emGateway's commands to modify or control various state variables in the central controller. The information exchange between EmMicro and emGateway follows the emNet network protocol. EmGateway is installed in the PC, which is the communication bridge between the central controller and the Internet. In addition to exchanging information with emMicro, it also establishes a connection with the Internet web browser. In this way, users can use any computer with Internet access to complete the access or control of the central controller through the linked control web page anywhere in the world.
(5) Central controller interconnection
Since this alarm system adopts a hierarchical interconnection topology, the reliability and scalability of the system are greatly enhanced. Multiple central controllers can be easily interconnected to form a larger-scale security alarm network.
in conclusion
Since the software and hardware resources of cheap single-chip computers are fully utilized in the development of this alarm system, the traditional hardware circuit functions are realized by software to the maximum extent under the premise of meeting the real-time requirements, which greatly reduces the number of electronic components used, making the entire hardware circuit very simple and compact. This not only improves the reliability of the entire hardware circuit, but also effectively reduces the hardware cost.
In addition, in the design of the system structure, the use of a hierarchical interconnection topology and the control method of regular self-inspection and mutual inspection during system operation is very beneficial to the maintenance and management of the entire system, ensuring the safe and reliable operation of the system; and because the front-end controller has a simple structure and low cost, the cost of the central controller is shared by multiple users, which greatly reduces the cost that each user needs to pay (the total cost for each user is only a few hundred yuan).
Previous article:Making a Universal TV Remote Control Using a Single Chip Microcomputer
Next article:Design of IPTV Set-Top Box Based on Single Chip Microcomputer
Recommended ReadingLatest update time:2024-11-17 00:20
- Popular Resources
- Popular amplifiers
- Wireless Sensor Network Technology and Applications (Edited by Mou Si, Yin Hong, and Su Xing)
- Modern Electronic Technology Training Course (Edited by Yao Youfeng)
- Modern arc welding power supply and its control
- Small AC Servo Motor Control Circuit Design (by Masaru Ishijima; translated by Xue Liang and Zhu Jianjun, by Masaru Ishijima, Xue Liang, and Zhu Jianjun)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Analysis of several reasons that lead to serious functional abnormalities in MCU
- Optimization of embedded system design based on MCU
- Build a laser tripwire alarm using the MSP430 LaunchPad
- Reprint
- [Sipeed LicheeRV 86 Panel Review] - 2 Burning Waft System Image
- CC2538EM Reference Design CC2538EM-RD
- Source Insight Open Issues
- Why do many domestic chip information require signing an NDA before obtaining it?
- STM Arduion cannot download firmware?
- MSP430F5438A serial port