Design of a vehicle-mounted infrared night vision device based on PIC microcontroller

Publisher:创意航海Latest update time:2009-11-29 Source: 电源技术应用Keywords:driver  car  design Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

The night vision system can help the driver navigate in the dark, allowing the driver to see the driving environment clearly in both light and dark conditions.

0 Introduction

With the rapid development of the automobile market and the increasing awareness of security, people have higher and higher requirements for automobile safety technology. However, the existing automobile lighting system has the disadvantages of short viewing distance and poor effect in low visibility conditions such as snowy nights, snowy days or heavy fog, which has become one of the safety hazards of automobile driving. What is more serious is that when driving at night, drivers are usually distracted by the lights of other vehicles and have blind spots, which is prone to traffic accidents. The night vision system can help drivers navigate in the dark, allowing drivers to see the driving environment clearly in both light and dark conditions. Therefore, the development of an automobile infrared night vision system with simple structure, stable performance, good reliability and strong applicability has important market application prospects.

1 Overall system design

1) System Principle

According to different working principles, infrared night vision systems are divided into passive infrared night vision systems and active infrared night vision systems. The active infrared night vision system uses the infrared light source it carries to actively illuminate the target, and the objective lens of the optical system receives the infrared radiation reflected by the target, and forms an infrared image of the target radiation on the photocathode surface of the infrared image converter. The image converter performs spectral conversion and brightness enhancement on the infrared image of the target, and finally displays the visible light image of the target on the fluorescent screen. The human eye can observe the enhanced target image through the eyepiece. Taking into account the durability of use, economic rationality, versatility of devices, etc., most people choose active infrared night vision systems as vehicle-mounted systems.

According to the functional objectives and design requirements, this system is mainly composed of infrared irradiation lamps, CCD cameras, video processing systems and vehicle-mounted displays.

2) Hardware Design

(1) Camera selection

Camera is also called camera or CCD. It can convert light into electric charge and store and transfer the electric charge. It can also take out the stored electric charge to change the voltage. It is an ideal camera element. Its working principle is: the light reflected by the camera body is transmitted to the lens, and is focused on the CCD chip through the lens. The CCD accumulates the corresponding electric charge according to the intensity of the light, and generates an electric signal representing a picture after periodic discharge. After filtering and amplification, a standard composite video signal is output through the output terminal of the camera. Here, WAT-902H2 camera is selected as the camera. It has the advantages of good camera effect, easy maintenance and economical.

(2) Design of infrared irradiation part

A far-infrared laser is selected as the light emitter. It is a laser emitter with good monochromaticity, concentrated beam, small size, long life and high electro-optical conversion efficiency. It consists of a fiber-coupled semiconductor laser, a drive circuit, a temperature control circuit and a beam shaping lens. The core part is the drive circuit design. DD312 is selected as the driver chip. It is a single-channel constant current driver chip designed for high-power LEDs. It has a current absorption architecture and can provide a maximum constant current output of 1A. It also supports the enable terminal switch function. The microcontroller command signal is added to the enable terminal of DD312 through an optical coupler to control the switch of the laser. The drive circuit is shown in Figure 1.

(3) Design of power module

The display, microcontroller, MAX487 communication chip, CCD camera, and laser transmitter driver circuit in the system all need power supply. The microcontroller and DD312 driver chip require relatively stable power supply voltage, small ripple, and small electromagnetic interference. The LM2576 module is used to provide a regulated power supply for the microcontroller and DD312 driver chip (Figure 2). The MAX4877 chip has a relatively high operating voltage and a wide range, and the NW1-05S05S power conversion module is used to provide power for it.

(4) Control system design

The PIC16F877A and PIC16F876A microcontrollers are used as the control chips of the system. The entire control system is also a small transmission system. The PIC16F877A microcontroller is the initial end of the transmission system, responsible for data collection and "memory" buttons; the Max487 chip is a communication chip, responsible for receiving and transmitting signals. The PIC 16F876A microcontroller is the receiving end of the transmission system, controlling the rotation of the motor.

① Initial

The core of this part is the PIC16F877A microcontroller. It is an 8-bit microcontroller produced by Microchip Corporation of the United States. It has a unique RISC structure and a Harvard bus structure with separate data bus and instruction bus. It connects various terminal devices, responds to the query command sent by the host computer, and sends the status information of the device under test back to the host computer. The I/O port of the microcontroller is connected to the terminal of the device under test to obtain the required status information. The circuit is divided into three parts: data acquisition circuit (Figure 3), LED display circuit, and key circuit.

Pin 2 of the single-chip microcomputer is connected to an external temperature sensor to transmit the system's real-time temperature change signal to the single-chip microcomputer; pins 3 to 7 are connected to external LED display circuits, and when the low-level signal of the pin is turned on, the corresponding LED becomes brighter; pins 8 and 9 are connected to external laser drive circuits to detect the laser status; pin 19 is connected to an external semiconductor refrigerator to collect information and decide whether to trigger the semiconductor refrigerator to work; pins 22, 25, and 26 are connected to the communication circuit to transmit signals to the main control chip; pins 27 to 40 are pan-tilt and lens button detection signals. When the operator presses the buttons on the panel, the single-chip microcomputer receives the button signals through these ports, and sends these information to the main control chip through the communication circuit. After receiving the signals, the main control chip analyzes and controls and executes the corresponding commands.

[page]

②Communication circuit

The communication circuit connects the initial end and the receiving end of the transmission system. Its main function is to realize the reception and transmission of signals. The Max487 chip is used, which is a low-power half-duplex transceiver device for communication. It integrates a driver and a receiver. The initial end first encodes the signal, and the receiving end decodes the signal. At the same time, in order to eliminate interference, an optical coupler is used to isolate the circuit. See Figure 4.


[page]

③Terminal

The terminal control chip uses PIC 16F876A microcontroller. RA0-RA5, RC0, RC1 pins are eight signal input ports for detecting the upper position, lower position, left position, right position, upper reset, lower reset, left reset, and right reset of the pan/tilt. RB0-RB7 are eight ports for controlling the lens focus, zoom, and pan/tilt up, down, left, and right rotation. The external relay circuit controls the motor rotation. As shown in Figure 5.

3) Software Design

The entire system software is divided into the master PIC 16F876A side and the slave PIC16F877A side. In addition to the communication interface software, the master software also includes the user interface, data processing, etc. The slave software includes data acquisition and MAX487 communication programs. The slave communication interface software flow is shown in Figure 6.

2 Experimental Results

[page]

Figure 7 shows pictures taken on the highway. a is a picture without the night vision system, and b is a picture with the night vision system. The experimental results show that this system can enable drivers to accurately identify the road ahead in the dark and reduce traffic accidents.


3 Conclusion

This paper uses PIC microcontroller to design a complete set of infrared night vision system, which has the advantages of simple structure and high reliability. It is especially suitable for long-distance driving, can effectively reduce traffic accidents, and has very good social benefits.

Keywords:driver  car  design Reference address:Design of a vehicle-mounted infrared night vision device based on PIC microcontroller

Previous article:Architecture design and wire miniaturization of automotive electronic nervous system
Next article:Research on integrated intelligent control technology of automobile power transmission system

Recommended ReadingLatest update time:2024-11-17 01:38

Detailed explanation: What are the advantages and disadvantages of Tesla's electric drive system?
    (1) Tesla's power system   Unlike traditional gasoline-powered cars, Tesla's power system consists of four main parts:   Energy Storage System (ESS)   Power Electronics Module (PEM)   Electric Motor (EM)   Sequential Manual Transmission (SMT)   The energy storage system ESS consists of 6,831 lithi
[Automotive Electronics]
Detailed explanation: What are the advantages and disadvantages of Tesla's electric drive system?
Current linearity test experiment of transistor PWM drive
Purpose: To test the npn transistor s8050, the base is driven by PWM, and whether the relationship between duty cycle and current is linear. Equipment: transistor, resistor (500R), perforated board, oscilloscope, LED (3.3V-3.6V), stm8 microcontroller (generating PWM signal), adjustable power supply with current displa
[Microcontroller]
Development of stator winding technology for new energy vehicle drive motors
1 Definition and function of drive motor stator winding The stator winding is the power heart of the drive motor for new energy vehicles. It usually refers to a symmetrical circuit connection loop composed of multiple coils or coil groups through different winding methods. As shown in Figure 1 and Figure 2, the
[Embedded]
Development of stator winding technology for new energy vehicle drive motors
How to add PWM brightness adjustment to LED constant current driver
introduction Maxim Integrated Products provides Among them, fCLOCK is the clock frequency of the data interface, fPWM is the PWM frequency, nPORT is the number of control ports, and nLEVEL is the brightness level. In this technology, PWM simulation data is continuously sent by the controller
[Power Management]
How to add PWM brightness adjustment to LED constant current driver
Automotive headlights require buck-boost LED drivers
background Today, the definition of a car is evolving more than ever before. For the past 100 years, cars have been dominated by internal combustion drivetrains, powered primarily by gasoline and to a lesser extent by diesel. Today, however, we have a wide variety of automotive drivetrains, from pure electr
[Power Management]
Automotive headlights require buck-boost LED drivers
UART device driver for s3c6410(1)
1、 This passage is excerpted from "Detailed Explanation of Device Driver Development" After using the serial port core layer, the interface of the universal serial port tty driver layer, the main tasks of a serial port driver are: (1) Define instances of structures such as uart_driver, uart_ops, uart_port, etc.
[Microcontroller]
UART device driver for s3c6410(1)
Xi'an Zhongying's patent for "a constant current source drive circuit with double-loop negative feedback" was approved
Zhongying Electronics recently issued an announcement stating that an invention patent applied for by the company's wholly-owned subsidiary Xi'an Zhongying Electronics Co., Ltd. (hereinafter referred to as "Xi'an Zhongying") has been awarded an invention patent certificate issued by the State Intellectual Property Off
[Mobile phone portable]
Selecting LED Driver ICs for Backlighting LCDs and TVs
The intrinsic qualities of light-emitting diodes (LEDs) make them a viable replacement for cold cathode fluorescent lamps (CCFLs) as the backlighting solution for next-generation TVs, desktops, and notebook displays. LEDs consume far less power than CCFLs, last five times longer, are more efficient, enable thinner d
[Power Management]
Latest Automotive Electronics Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号