Research and design of automotive wireless sensors

Publisher:牟牟的侬Latest update time:2012-04-09 Source: 电子技术 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

0 Introduction

Radio frequency (RF) technology is commonly used in car driving and vehicle diagnostics. According to international standards, all vehicle technology applications must be thoroughly tested, and these tests must be based on reasonable empirical experiments involving sensor data collection. Therefore, in the automotive industry, the development of wireless sensor networks has developed along with the development of typical sensors and RF devices. For automotive test environments, wireless sensors have three advantages: first, they are small in size and do not require cable ports; second, they save time. Wireless sensors save time connecting all sensors to power and data cables, so wireless sensors can be deployed more quickly and moved easily, which not only improves the spatial resolution of sensor data but also improves the fault tolerance of sensor networks; third, during the driving test, the number of data cables that can be safely inserted into the cockpit along with the sensors is limited.

The specific structure of this paper is as follows: In the second part, the hardware design of the wireless sensor is given; in the third part, the wireless sensor network and communication protocol are given; in the fourth part, the usage cycle of the wireless sensor network is mainly discussed; finally, the overall design is summarized.

1 Wireless sensor structure hardware design

1.1 Wireless sensor structure diagram

The wireless sensor architecture contains a power supply unit, a sensing module, a wireless communication module, and a microcontroller. The hardware design structure is shown in Figure 1.

Research and design of automotive wireless sensors
Figure 1 Structure diagram of wireless sensor

1.2 Power supply unit

The normal operating voltage range of wireless sensors is 3.0V to 3.6V. The power supply design incorporates the TLFA274 voltage regulator (as shown in Figure 2), which can convert voltages from 3V to 40V, such as commonly used small batteries or car batteries, bringing great convenience to users.

Research and design of automotive wireless sensors
Figure 2 Power module hardware circuit design

1.3 Sensing Module

To minimize power consumption, the sensing module (as shown in Figure 3) is powered on before measurement and then immediately turned off (rapid on/off switching has no effect on the device).

Research and design of automotive wireless sensors
Figure 3: Sensor module hardware circuit design

1.4 Wireless Communication Module

Due to the differences between different brands of cars, the operating environment of radio frequency technology (RF) is uncertain. The wireless communication module must meet two basic design criteria: first, multi-band communication, choose low-power radio frequency (RF) chips, namely 433/868/915 MHz band transceiver nRF905 and 2.4GHz band nRF2401 transceiver; second, two optional antennas (as shown in Figure 4), PCB (simple, low power, but difficult to adjust) and external antenna (as opposed to PCB). There is a switch function between different RF bands and antennas to ensure smooth communication, especially in vehicles with thick metal plate baffles between the engine compartment and the cockpit.

Research and design of automotive wireless sensors
Figure 4 Schematic diagram of wireless sensor RF antenna

1.5 Microcontroller

Atmel ATmega88 was chosen as the microcontroller chip because of its low power consumption and fast switching between standby mode and active mode, so the wireless sensor can complete the measurement and transmission of data in a very short time; it has a built-in power-off detection circuit that can be used to remind the user whether the sensor network battery needs to be replaced; it also has a built-in A/D converter that can convert the sensor's analog signal into a digital signal with a 10-bit digital value (zero represents 0V, 210-1 represents the power supply voltage and the maximum possible voltage).

The above only illustrates the design of a single wireless sensor. However, in an actual automotive test environment, you must also consider how many sensors are working at the same time and how much data needs to be transmitted.

2 Wireless Sensor Networks

The wireless sensor data communication will use the time division multiple access communication protocol. Using time division multiple access (TDMA) means that only useful data can be transmitted and received in the communication mode (higher power), so the wireless sensor is in real-time communication mode at all other times. We assume that a wireless sensor (master) acts as a constant data receiver (star topology network), and the wireless sensor is powered by a car battery (so there is no need to consider the power supply problem of the master wireless sensor). In addition to playing the role of the central processor, when all the slave wireless sensors start to transmit data, the master wireless sensor will synchronously return a special request message to the slave wireless sensors.

Two transceivers have 240-bit RF packets, using fifteen 16-bit packets (3 bits for the 5-channel A/D converter, 10 bits for sensing data, and 3 bits for the remainder). The 10ms window time is enough for the receiver to process a single packet, and the minimum TDMA also requires a 5ms interval.

Next, we calculate the maximum number of wireless sensors that this network can carry, that is, the value that a TDMA network can support.

Definition: NP = data bit number in the data packet = 240; MB = measurement size (number of bits) = 16; SIl = sampling time interval (user-defined unit: seconds); SN = number of sensors (user-defined unit: seconds); TT = minimum time required for each transceiver when using TDMA protocol = 5ms; MT = minimum time required for MCU to process each data packet = 10ms.

Based on the above definitions, the variables that can be calculated from the following data are:

Sp = number of sample packets = Research and design of automotive wireless sensors = 15; TA = average transmission time interval; TM = average window time for each master sensor to transmit and process under TDMA protocol (unit: milliseconds);

The sensor will send a data packet every 15 samples at the sampling time interval rate, and the average transmission time interval is as follows: TA=SP*SI. [page]

If each TA sensor transmits a data packet, then each sensor can get a time window of time division multiplexing. In order to accurately calculate the size of the time slot, the interval time must be divided by the number of nodes in the network. 1000 is converted to milliseconds as follows:

Research and design of automotive wireless sensors

The maximum number of wireless sensors that a wireless sensor network can support depends on the sampling time interval (SI). Once the appropriate time interval is selected (based on the rate of change of the input), the number of nodes and the number of TDMA time slots are determined using formula (1).

Using the temperature sensor as the sensor, if a sampling interval of 1 s is required, the maximum number of nodes that the master node can handle is 1400 (10.714 ms TM) and the master node has reached 10 ms, as shown in Figure 5(b).

Research and design of automotive wireless sensors
Figure 5 Comparison of two sampling intervals and the number of signal sources of temperature sensors

In this section, we study the transmission protocol of wireless sensors and show that the design can achieve relatively high spatial resolution (greater than a car with 1000 nodes). However, if the sensors consume power too quickly, thousands of batteries need to be replaced regularly, which actually limits the spatial resolution. Therefore, it is necessary to consider the life cycle of the wireless sensor network.

3 Life cycle of sensor networks

The three main power consumption modules of wireless sensors are: sensing module, wireless communication module and microcontroller module, as shown in Table 1. These three modules have two main operation modes: shutdown mode and working mode. The power consumption of each module and the total consumption are analyzed in these two modes.

Research and design of automotive wireless sensors

In addition, using a standard 500mAh battery, the current required by the supply cannot be reduced, and 20% of the theoretical amount must be deducted. Therefore, to calculate the average life (hours), the calculation formula is:

Research and design of automotive wireless sensors

BS = battery power for one hour = 500mAh; AO = sensor current in working mode = 453.581μA;

AOF = sensor current in shutdown mode = 17.479 μA; TO = time rate (%) when the sensor is in working mode.

4 Conclusion

This article introduces the hardware design of a single wireless sensor and the wireless sensor network transmission protocol in detail, which can quickly and easily collect a large amount of real data in the automotive test environment. This design is relatively flexible and can use a variety of bandwidths, antennas, power supplies, and sensor types. The use of wireless transmission to test the conditions of various parts of the vehicle greatly improves the impact of the test equipment on the real environment and makes the test data more realistic. However, in the actual test environment, a wireless star network topology is often used, with multiple RF transmitters, which may cause intermodulation distortion. The wireless signal may propagate multiple times around the vehicle (reflection, diffraction, etc.), resulting in noise. These problems will require further experiments and debugging. Due to the large power consumption of the external oscillator, a relatively accurate internal oscillator will be used internally; due to the high clock error rate, resynchronization must be performed regularly to achieve the expected communication performance.

Reference address:Research and design of automotive wireless sensors

Previous article:Design of EPS driving circuit based on single chip microcomputer
Next article:A wireless radio frequency identification system for vehicle use

Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
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号