Network-based car anti-theft system based on S3C2410

introduction

The popularization of cars has brought convenience to people's lives, and it also poses a big problem for people-car theft prevention. This design is to solve the shortcomings and deficiencies of the previous car anti-theft products and developed an integrated car anti-theft alarm system that integrates three major functional modules of sensing, alarm and remote image monitoring.

System working principle and composition

This system is to install the sensor in the hidden position of the body. When someone walks into the monitoring distance, the body moves or vibrates, and the door is opened, the sensor sends an electrical signal to the main controller through the A / D conversion device. According to the source of the signal, the controller divides the alarm into three levels: "someone is approaching", "car body vibration" and "the door is opened", and uses GPRS / GSM terminal to send the alarm information to the user's mobile phone by SMS. Take "door opened" as a high-level alarm, notify the user, start the video driver, record the live situation in the car through the camera in the car, and send it to the owner's mobile phone. In the first two cases, the system does not transmit images unless the client actively views the images. At this time, the system hardly occupies the channel. When an intruder enters the defense area, the MCU sends a warning message to the user via SMS. Because only text messages are sent at this time, the amount of information is small, and the speed of information transmission is fast. At the same time, the system stores the screen at the time of alarm in the storage device in the system for the user to view.

System hardware design

The overall framework of the system

The system hardware consists of the following modules: main controller module, information acquisition module (sensor), USB camera module, wireless communication module (GPRS MODEM) and image compression module.

Main control module

Samsung's S3C2410 is based on the ARM core, the maximum operating frequency can reach 203MHz, can support NAND flash memory startup, and has a higher cost performance. In addition, S3C2410 has many mature applications in the market, so S3C2410 was selected as the system CPU.

S3C410 integrates an LCD controller (supports STN and TFT liquid crystal display), NAND flash memory controller, SDRAM controller, 3 channel UART, 4 channel DMA, 4 timers with PWM function and 1 internal Clock, and 8-channel 10-bit ADC.

S3C2410 also has a lot of rich external interfaces, such as touch screen, I2C bus, 12S bus interface, and 2 US host interfaces, 1 USB device interface, 2 SPI interfaces, SD interface. In terms of clock, S3C2410 integrates an RTC (real-time control) with calendar function and a chip clock generator with PLL. Can produce an operating frequency of 200MHz. This working frequency can make the processor easily run WinCE, Linux and other operating systems, as well as more complex data processing.

USB camera

The USB camera is mainly composed of 3 parts: lens, image sensor and USB interface control chip. The camera used in this system is a relatively common one on the market. Its USB interface control chip model is 301p, the image sensor chip uses CMOS technology, so the cost performance is higher. The camera can directly communicate with the host through the USB interface, and transfer the collected images to the host. The characteristics of the chip are as follows: the maximum image is 640 & TImes; 480 pixels, which can be configured and adjusted according to different cameras; the image white balance and other parameters can be configured; it can be efficiently operated under the Arm-Linux embedded system; the internal CMOS image sensor is programmed through the I2C bus Register to change the default parameters.

Wireless communication module

This system uses the GSM2406 module. It has a simple interface and is easy to use. It only needs a single 2.7V power supply to work. The AT command is used to control this module, and the initial plan is to use a serial port to communicate with the controller. At the same time, use this module to realize the voice call function. Since GPRS is based on the IP protocol, the processor must send data packets that conform to the IP protocol when communicating with the GPRS network.

Image compression module

Because the video processing chip 1s outputs 25 frames of images, and a frame of 640 & TImes; 480 images is about 2.45Mb, in order to ease the storage pressure of the memory, the images must be compressed to increase the access speed.

The system design uses the ZR36060 image compression chip with integrated JPEG codec. It can easily realize real-time compression / decompression of video signals. When compressing, ZR36060 receives YUV 4: 2: 2 digital video signal and encodes it as JPEG stream output; when decompressing, it receives JPEG stream and decodes it as YUV 4: 2: 2 digital video signal Output.

The interface of ZR36060 is divided into 3 parts, namely video interface, code and host interface and control interface. The function of the video interface is to complete the input / output video signal; the function of the code and host interface is to complete the initialization of the chip control word through the host, and in the active mode, the JPEG compressed code stream also passes CODE [7: 0] input / output ; The control interface completes a series of simple work sequence control operations. The two video synchronization methods are sync master mode and sync slave mode. Synchronous master mode means that all control and timing signals are generated inside the chip; synchronous slave mode means that the chip is used as a slave to synchronize with an external video source.

Data acquisition module

The data collection module of the anti-theft system consists of a microwave Doppler sensor group, a vibration sensor group, a Hall device group, and a pyroelectric infrared sensor group. It is used for the collection of automobile anti-theft information and the preliminary fusion processing of data. The structure of the data acquisition module is shown in Figure 1.

Figure 1 The composition of the data acquisition module

Using microwave Doppler sensors

Monitor the scope of the invasion

The microwave Doppler sensor uses HB100 microwave motion sensor module of Agilis. HB100's Doppler effect transceiver module uses dielectric resonance oscillator and microstrip patch antenna technology to achieve low current consumption, high temperature stability and high sensitivity.

Use acceleration sensor to monitor vehicle body vibration and tilt

By measuring the vibration and tilt of the car body, it is possible to give early warning to the phenomenon that the thief uses the towing method to steal the vehicle and damage the car body. Because the acceleration sensor ADXL202E can measure the dynamic or static acceleration in the range of 0 ~ 5kHz, ± 2g: the measurement of dynamic acceleration can be used for vibration detection, and the static gravity acceleration can be used as the input vector to determine the spatial direction of the object. Therefore, ADXL202E can be used to monitor the vibration and tilt angle of the car body at the same time.

Using Hall Switching Devices

Monitor the opening and closing of doors

A3210E is a Hall effect switching device. Using digital signal output, the Hall effect can be produced under the action of the north and south magnetic poles: when the magnetic pole is close, the switch is turned on, and the output level is low; when the magnetic pole is far away, the switch is turned off, and the output level is high. The power consumption of this type of sensor is very low. For example, the power consumption of A3209E is as low as 400mW, which is especially suitable for low power consumption applications.

The design of the Hall device group is to distribute multiple Hall devices in the four doors of the car. When the door is opened, the Hall device will emit a weak electrical signal, and then send the output signal of each switching device to the The local decision-making center performs the fusion. Here, the alarm levels of the four doors are regarded as the same. You can directly use the hardware to perform the OR operation to obtain the fusion result and send it to the central processing module.

Key technologies in design

operating system

Linux kernel configuration

The steps to configure the Linux kernel are as follows:
First, enter the system's source code directory / Linux-2.4.18, run the menuconfig command, the system automatically enters the configuration interface. The interface is very intuitive, here, you need to configure the serial port, network card and camera separately.

1. Configuration of network card and serial port The download of the kernel image requires the use of serial port and network card. The serial port and network card driver must be modified to ensure that the migration can be completed successfully. In order for the kernel to support the serial port, when configuring the kernel, the serial port must have the following configuration options:
[*] ARM AMBA PLOT! Serial port support
[*] Support for console on AMBA serial port
The network card must have the following kernel configuration options:
*) Ethernet (10 or 100M)
Generic Media independent Interface device support
[*] SMC 91C9x / 91Clxxx support

The serial port driver is located at //drivers/serial/amba.c in the source tree, and the network card driver is located at linux / drivers / net / ann / smc9lx.c and linux / drivers / net / arm / smc9lx.h. The memory map of the network card is simpler than the serial port.

General Purpose Steel Wire Rope

Aircraft Cable And GP Steel Wire Rope

Widely used in the industry of Port Machinery, Vessels, Elevators, Engineering Machinery, Mining, Petroleum, etc
GAC: 7x7 7x19
GP steel wire rope: 1x7 1x19 6x7 7x7 6x19 7x19 6x12 6x24 6x37
Surface: (1) hot-dip galvanized; (2) electric galvanized; (3) black; (4) PVC coating; (5) stainless steel; (6) zinc + aluminum, etc.

Steel Wire Rope,Galvanized Wire Rope,Galvanized Steel Wire Rope,Galvanized Aircraft Cable

ROYAL RANGE INTERNATIONAL TRADING CO., LTD , https://www.royalrangelgs.com