Abstract: Abstract: This paper introduces the overall design scheme of a remote infrared monitoring and management system based on mobile GSM/GPRS network. This system uses C8051F15 as the core processor to collect data from wireless infrared, door magnetic, and smoke sensors; By embedding a GPRS module with TCP/IP protocol, complete data communication and transmission with the monitoring center; Install terminal monitoring software for centralized monitoring center based on B/S structure, complete upstream alarm query, downstream remote control, etc. Ultimately achieving remote real-time monitoring function. With the development of social economy and the progress of science and technology, people
Abstract: This paper introduces the overall design scheme of a remote infrared monitoring and management system based on mobile GSM/GPRS network. G122-824A002 This system uses C8051F15 as the core processor to complete data collection for wireless infrared, door magnetic, and smoke sensors; By embedding a GPRS module with TCP/IP protocol, complete data communication and transmission with the monitoring center; Install terminal monitoring software for centralized monitoring center based on B/S structure, complete upstream alarm query, downstream remote control, etc. Ultimately achieving remote real-time monitoring function.
With the development of social economy and the advancement of science and technology, people have put forward higher requirements for the safety of office spaces. Especially for enterprises, fire and theft prevention are essential security precautions. In response to the high cost and weak real-time performance of traditional security measures, difficulties in centralized management and control, and difficulty in identifying and warning security risks; A real-time, wireless, easy to manage, and low-cost active protection remote infrared monitoring and management system has been developed based on microcontroller technology and mobile communication networks.
1. System composition and functions
1.1 System composition
The entire system mainly consists of three parts: on-site monitoring end, G122-824A002 mobile transmission network, and monitoring center. The on-site monitoring end includes a monitoring host, sensors (including infrared sensors, smoke sensors, and door magnetic sensors), cameras, and GPRS communication modules. The transmission network utilizes the GSM/GPRS network of mobile communication to complete remote communication. The monitoring center is composed of reliable DCN/DDN dedicated lines, monitoring computers, mobile phones, wireless browsers, etc., and runs TCP/IP protocol online.
1.2 System Functions
The monitoring host with a microcontroller as the core processing chip will analyze, detect, and recognize the output data of the sensors collected, store the alarm information locally, and transmit it in real time to the monitoring center through a mobile network; After processing and analyzing the programs on the application server and database server of the monitoring center, alarm SMS and MMS are sent to the user’s mobile phone. The user can directly browse and query the parameters and status of the monitored object through the Internet or mobile WAP.
The authorized control commands issued by mobile phones and computers are transmitted to the monitoring center through ZSM/GPRS and the Internet, and forwarded to the monitoring host for execution.
Figure 1 System working principle diagram
Figure 1 System working principle diagram
2. On site monitoring end
2.1 Hardware composition
The on-site monitoring end is an independent monitoring subsystem, mainly composed of a monitoring host (with the main control chip being F8051C015), a GPRS communication module (Siemens MC35i), and wireless sensors. It can collect the status and environmental parameters of devices such as infrared, door magnet, smoke detector, video capture, etc; Using USSD, SMS, GPRS combined with the Internet transmission method to regularly upload data to the centralized monitoring center and upload alarm information in real time; Receive and real-time process control commands issued by network or mobile users through the centralized monitoring center.
2.1.1 Monitoring host
The monitoring host controls the digital acquisition unit through 16 DI ports, the analog acquisition unit through 15 AD ports, the GPRS communication module is connected to the UART0 port, and the power failure reset module AT89C2051 is connected to the UART1 port; Connect 1-4 video capture monitoring boards through RS232/RS485 for on-site debugging or connection to other interface units; The SMBUS bus connects to the remote upgrade unit, with 1-4 switch power interface boards, UPS power interface boards, motor interface boards, and 1-4 video capture and monitoring interface boards.
Figure 2 Hardware composition architecture diagram
Figure 2 Hardware composition architecture diagram
The core part of the monitoring host is the C8051F015 microcontroller, whose P34 is connected to the 15 pin (IGT) of MC35i to enable the MC35i module; Connect the TXD/RXD pins of C8051F015 to the TX0/RX0 of MC35i for data input and output; The MC35i module outputs signals such as RXD, CTS, DSR, DCD, and RING through each pin of the RS-232 interface, while the input signals are TXD, RTS, and DTR. The data interface of MC35i adopts serial asynchronous transmission and reception, which complies with the ITU 2T RS-232 interface circuit standard and operates at CMOS level (2.65 V). The data interface is configured with 8 data bits, 1 stop bit, and no check bit. The C8051F015 chip integrates 2304 bytes of internal data memory and 32K bytes of flash memory, a 10 bit ADC module, two 12 bit DACs, and two analog comparators. It has abundant external I/O resources and a full duplex UART, SPI bus, and I2C/SMBus, which can achieve communication with the outside. It comes with a cross switch module that can control registers to configure on-chip counters/timers, serial buses, hardware interrupts, ADC conversion start inputs, comparator outputs, and other digital signals inside the microcontroller to appear on the port I/O pins. This allows users to choose universal port I/O combinations based on their own needs, simplifying hardware circuit design, improving system reliability, and reducing production costs.