Atmel Autocompilation Vol4 Oct2007
Atmel Autocompilation Vol4 Oct2007
COMPILATION
Atmel’s 2nd Generation LIN Transceiver, LIN System Basis Chip,
and System-in-Package Solutions
Page 14
EDITORIAL
In this fourth installment of automo- ANTARIS®4 GPS chipset, which is exception. The digitalization of both
tive compilation, we are delighted widely employed in navigation sys- audio and video broadcasting in
once again to present a range of arti- tems, has been used at the proto- automotives is supported by Atmel’s
cles created by the people that make type stage in BMW ’s Dynamic Pass
®
full DAB solution including front-end,
our products happen. Atmel® strives Predication system, which indicates baseband, and software (page 36).
to create and pioneer electronic road sections that are unsafe for
solutions for the constantly evolving overtaking. Details of this new driver Atmel continues to shape the future
automotive industry, and with this assistance system can be read on of the automobile by providing inno-
publication, we welcome the chance page 58. While supporting these rev- vative solutions. As LIN is now firmly
to share some of our innovative auto- olutionary safety applications, Atmel established as a low-cost networking
motive solutions with you. continues to pioneer advancements solution, we have recently released
in existing automotive safety solu- our 2nd generation LIN family (page
Technological advancements in elec- tions. Our ultra low-power smart RF 14). With this modular collection of
tronics are revolutionizing automotive microtransmitter ICs and our AVR LIN devices, designed in Atmel’s
safety, and Atmel’s ICs are playing an microcontroller combine to form a well-proven high-voltage BCD-on-
intrinsic part in these solutions. Our long-lasting battery-driven telemet- SOI process technology, automotive
AVR 32-bit microcontroller, with its
®
ric solution, perfect for tire pressure suppliers can build extremely robust
high-processing rate, is a perfect monitoring systems (page 42). and low-cost vehicle networking
match for computational-intensive applications (page 20).
image-processing applications. Its Car antennas are increasingly seen
implementation in an advance lane as an intrinsic element of car design, With this volume we not only intro-
departure system is described in and our antenna amplifier ICs are duce exciting new solutions, but also
detail on page 50. Our AVR 8-bit directly addressing this challenging celebrate over a decade of Atmel’s
flash microcontroller also forms the design trend, without compromising AEC-Q100-qualified EEPROM (page
cornerstone of an anti-pinch system on reception performance (page 4). 66). We boast industry’s broadest
for the control of power-operated The digital revolution and the subse- EEPROM product portfolio.
automotive windows in accordance quent advancement of multimedia
with safety standards MCSS118 entertainment is seen in every facet Please enjoy our fourth edition of
and 74/60/EEC (page 55). Atmel’s of modern life. The automobile is no Atmel’s Automotive Compilation.
BODY ELECTRONICS
26 Replacing Mechanical Wiper Systems with a Semiconductor Solution
55 Anti-pinch System for Electric Windows Using
an AVR 8-bit Flash Microcontroller
SECURITY
30 ATA5723, ATA5724, and ATA5728 –
New Members for Atmel’s Receiver Family
INFOTAINMENT
4 Addressing Challenging Antenna Designs with
Atmel’s Antenna Amplifiers
36 Moving Towards Digital Broadcasting: Receivers for DAB and DMB
SAFETY
42 ATA6285/ATA6286 – An Ideal Solution for Low-power Applications
50 Image Processing for Automotive Safety Applications Using
AVR32 Processors
58 Superior and Safe Overtaking with Dynamic Pass Prediction
STANDARD PRODUCTS
14 Atmel’s 2nd Generation LIN Transceiver, LIN System Basis Chip,
and System-in-Package Solutions
20 SOI Technology Offers Cost-effective LIN Communication
66 Atmel’s Automotive Serial EEPROM Products
POWERTRAIN
8 Atmel’s High-temperature Automobile Electronics
www.atmel.com
Atmel Automotive Compilation, Vol. 4
Infotainment
Radio
Car radio antennas are nowadays maximum of 240 MHz, a frequency and magnetic fields enables the use
increasingly seen as an intrinsic ele- where DAB signals in Europe can be of a vertical antenna as required for
ment of car design. Atmel ’s antenna
®
received. the AM band. Figure 1 illustrates
amplifier IC’s are directly address- the phenomenon where only verti-
ing this challenging design trend for For the AM section, the signals are cally oriented field vectors exist at
small and minature antennas without transmitted as vertically polarized the horizontal planes of the car body
compromising the reception perfor- waves and therefore the car antenna e.g., car roof or trunk. The horizontal
mance of car radios. should be polarized in a vertical direc- vectors are bent in a vertical direc-
tion. In the FM frequency range, the tion. In addition, the field strength is
The outlook of the modern car polarization of the transmitted signals increased by discontinuities primarily
antenna leads to technical require- is mostly horizontal, which seems caused by window apertures. These
ments and restrictions that are ever to be opposite to the AM reception discontinuities determine the most
more difficult to fulfill. The first and demands. suitable point of installation for a
most challenging problem is the car antenna. The middle of the roof
small dimensions required of the Fortunately the influences of the is probably not the best place for
antennas. The second is the length metal body of a car on the electric antenna installation.
of the connecting cable particular-
ily in SUVs. Additional requirements
include multi-antenna concepts as
well as antenna diversity applications
for different kinds of antennas (wind-
Antenna
shield, roof, or bumper antennas).
Antenna Physics
www.atmel.com
Atmel Automotive Compilation, Vol. 4
by decreasing the input imped- hand protects the output of the AM terminals are accessible from the out-
ance of the tuner. A series resistor antenna amplifier against short-cir- side. For low-cost applications, the
of about 33 Ohms is used at the cuit by the PIN diode attenuator in common emitter configuration pro-
ATR4251’s AM amplifier output for the car radio. vides good performance at a reason-
standard applications. This series able BOM cost. For high-end appli-
resistor on the one hand guarantees The FM amplifier’s NPN transistor cations, common base configuration
a well-defined source impedance allows an optimized configuration for with lossless transformer feedback
for the radio tuner and on the other the customer’s requirements as all provides a high OIP3 of 148 dBµV
ATR4251
FM
Attenuator
Amplifier
Detector AGC
Threshold
Antenna
AGC
(FM) AGC
Time
Constant
Bandgap Antenna
Reference Cable
AGC
Time
AGC Constant
(AM)
Detector AGC
Threshold
AM
Attenuator
Buffer
and a low noise figure of 2.8 dB at for the extended automotive tem- solutions, such as AM/FM front-end
reasonable current consumption. In perature range between –40°C and devices or active antenna solutions.
both configurations, the gain as well +115°C. This upper temperature One focus area of Atmel’s broad-
as input and output impedance can level is requested due to the location cast radio activities is the car audio
be adjusted by modifying external of the antenna amplifier on top of the segment. Atmel’s in-depth radio
components. car’s roof. know-how and high quality stan-
dards (ISO 9001 and TS 16949)
The ATR4251 is also equipped with enable Atmel to meet the specific
two separate AGC circuits for AM Summary and Future quality and performance require-
and FM bands to prevent overdriv- Prospects ments of the automotive market.
ing the antenna amplifier in the event Atmel provides complete solutions
of a very strong antenna signal. The Atmel provides highly integrated for antenna amplifiers and tuner
amplifier outputs are connected to antenna amplifiers for AM, FM, DRM, front-ends and supports design-ins
a resistive (AM) or capacitive (FM) and HD Radio. The antenna amplifiers with a broad range of tools includ-
voltage divider and the divided sig- facilitate outstanding radio reception ing software and dedicated refer-
nal is applied to the corresponding performance. Atmel’s solutions offer a ence designs.
AGC level detector, which has been highly dynamic range and thus allow
specially optimized for low distor- crystal-clear reception without distor- Atmel offers intensive design-in sup-
tion. The rectified signal is com- tions even under extremely difficult and port, system expert know-how, demo
pared against an internal reference quickly changing field strength condi- boards, and evaluation kits as well as
level. For individual applications, the tions as found with moving antenna detailed documentation to reduce
threshold of the AGC can be eas- systems in automobiles. Long cables design risk and time-to-market of the
ily adjusted by modifying the divider and the small sizes of modern anten- final application.
ratio of the external dividers. As soon nas create signal losses, which are
as the the threshold is reached, the compensated for by the impedance
AGC output opens an external tran- matching amplifier. References
sistor, which controls the PIN diode
current and reduces the level of the To increase the performance and 1. Rothammel, Karl; Alois Krischke
amplifiers input signal. reduce the BOM of the application, (2001).“Rothammels Antennen-
a refinement of the ATR4251 is on buch”. DARC Verlag GmbH.
The inbuilt bandgap voltage refer- Atmel’s road map. 2. Atmel Datasheet: Low-noise High-
ence maintains the overall techni- dynamic-range AM/FM Antenna
cal parameters for temperature and Atmel has more than 30 years expe- Amplifier IC ATR4251. Ref.: 4913-
operating voltage variations even rience in designing broadcast radio AUDR-07/07.
www.atmel.com
Atmel Automotive Compilation, Vol. 4
Powertrain
ASICs
The number of electronics used in enough that one individual electronic the latch-up performance of the
automobiles continues to rise. This component meets these high require- components worsen with rising tem-
trend also applies to areas which ments, rather all components of such peratures. SOI material offers a range
due to harsh environmental condi- a system including the driver circuits, of advantages in comparison to bulk
tions, cost-effective use of electron- power supply circuits, and the micro- material. Bulk technologies are, in
ics was difficult and often impossible, controller must fulfill these require- general, dependent on PN-junctions
for example, directly on the motor or ments. Substantial power dissipation operated in cutoff regions. SOI tech-
gearbox, in the turbo-charger or in occurs in particular with driver chips nology, however, offers the possibil-
the exhaust gas recirculation system. and chips used to supply the system. ity of completely isolating individual
There has long been a demand for In these cases permissible junction components with oxide – both hori-
compact, economical mechatronic temperatures from 175°C to 200°C zontally and vertically. (Figure 1)
systems, which could be attached are required.
together with the motor directly to the With SOI technology, no wells are
mechanic to be driven. However as a in contact with the substrate and
result of the temperatures occurring SOI Technology for therefore, there is no corresponding
in these areas of the automobile, the Junction Tempera- leakage current path. The leakage
use of specialized high-temperature tures of 200ºC current path to the substrate with
electronics (i.e., circuits with normal conventional bulk technology has an
operating temperatures of 125ºC or Junction temperatures of 200ºC are increasing significance with increas-
greater) is essential. An environmen- not attainable with semiconductors ing temperatures as thermal leakage
tal temperature of 150°C has been made with standard bulk materials. current in the PN-junction drastically
stated as a requirement; however, The main reasons for this are that in increases.
demand for values of 175ºC and combination with high-temperatures,
higher have been heard. However, the leakage current in semiconduc-
with these temperatures, it is not tors dramatically increase and also
Figure 1 SOI Technology REM Picture (Active Silicon is Isolated Both Horizontally and Vertically)
www.atmel.com
10-08
10-09
10-10 BCDMOS
Leakage Current [A]
10-11
10-12 SMARTISTM1
10-13
10-14
10-15
0 50 100 150 200 250
Temperature [ºC]
Figure 2 Leakage Current vs. Temperature for 65V High-voltage Transistor Created
with Bulk and SOI Materials
Up to 50 Times Less
Leakage Current with
SOI Technology -VS +VS
almost always results in damage. that this does not hinder the devel-
The sensitivity of the thyristor rises opment of protection concepts that Figure 4 Parasitic Thyristor
www.atmel.com
10 Atmel Automotive Compilation, Vol. 4
-VS +VS
n+ n+ p+ p+
P-Well N-Well
Oxide
P-Substrate
meet the highest ESD requirements. of SOI technology in automobiles is integration density is possible when
This graphic shows the characteris- too costly since the basis material in compared with standard technolo-
tic curve of an ESD protection that SOI is considerably more expensive gies. The cost advantages resulting
offers a stability of 6 kV at the system than common processed wafers. from the reduced chip size compen-
level test without additional external This is not the case. The dielectric sates for the higher costs of the basis
protection circuits. isolation required with SOI material material.
has substantially less die size when
Cost pressure is another important compared with bulk technology. So Figure 7 illustrates the die-size reduc-
aspect in automobile manufacturing. with the same lithographic struc- tions with a driver component trans-
Current opinion holds that the use tural dimensions, significantly higher ferred from bulk technology to SOI.
12
ESD Current [A]
0
0 20 40 60 80 100 120
ESD Voltage [V]
Market Availability of data-retention of the memory cells. As 8, the first failure occurs after 50,000
Microcontrollers for a general rule, cost-efficient 1-transis- cycles.
Extreme Environments tor cells are used for these memories
in commercial microprocessors. For Atmel’s 8-bit microcontroller has an
In addition to the previously men- high-temperature processes, this is RISC architecture, which has been
tioned driver components, high-tem- no longer sufficient. Instead, 2-tran- optimized to execute one instruction
perature applications also require sistor cells are used. These excel at per clock cycle. It is manufactured
microprocessors. For this purpose, high temperatures as they are sub- using a non-volatile embedded pro-
through appropriate design and qual- stantially more robust. cess technology that enables both
ification measures, existing proces- on-chip flash and EEPROM memo-
sors are primed for use in areas with The ATmega88, an 8-bit microcon- ries, complemented by a local SRAM
temperatures of 125°C to 150°C. troller from Atmel ’s AVR ® ®
family for immediate or temporary storage.
These components must have very demonstrates this. As seen in figure
low power-dissipation so that cumu-
lative self-heating is negligible, and 6
the maximum junction temperature
can almost be fully exploited as ambi-
ent temperature. The very low internal
heat-dissipation of the microproces- 4
Error Count
www.atmel.com
12 Atmel Automotive Compilation, Vol. 4
Battery
ATA6624 BLDC
Protection
U Motor
LIN Charge Pump
TRX
V
VCC 16-bit SPI, PWM
Regulator
Diagnosis
W
LIN Watchdog
ATA6832
Tx Rx
VCC
SPI
Hall Sensor
ATmega88
Figure 9 Three-phase Brushless DC Motor Control Application with ATmega88 and ATA6832
www.atmel.com 13
Network, a widely used automobile DC Motor Control can be implemented using the output
communications bus), which takes with H-bridges voltage of the charge pump to drive
over the communication with the a reverse operating power MOSFET
automobile. The module is coupled The microcontroller ATmega88 and switch.
with the automobile system using the the system basis chip ATA6824,
LIN transceiver of the system basis which has been developed specially The complete movement control of
chip ATA6624. This integrated circuit for H-bridge motor drivers, provide a the motor is performed by the inte-
also supplies the 5V supply voltage system solution for high-temperature grated control logic of the ATA6824.
for the complete system. To pre- DC motors. Like the ATmega88, the A PWM signal with a frequency up
vent exceeding the maximum junc- ATA6824 is also qualified for environ- to 25 KHz for speed control and a
tion temperature of the circuits, an mental temperatures up to 150ºC. direction signal are sufficient as input
external bipolar transistor is used as The ATA6824 can also operate with signals. Depending on the activated
a linear regulator. Transistors with a junction temperatures up to 200ºC. output stage, the corresponding
junction temperature of up to 175ºC External power MOSFETs, which are drain-source voltage is monitored for
are readily available on the market. necessary for the power switches short-circuits.
Furthermore, the circuit includes a are easily obtainable and suitable for
watchdog, which monitors the sys- junction temperatures up to 175ºC. If required, the precise motor current
tem functions independently from The SBC ATA6824, in addition to the can be measured by a shunt resistor
the microcontroller. driver stages for the external power in the H-bridges’ ground. The micro-
MOSFETS, also contains a voltage controller can monitor the bridge
The microcontroller ATmega88 and regulator to supply the complete drivers using the diagnostic pins of
the driver ATA6832 are specialized module. The output voltages can the ATA6824. Short-circuit, open
for use in environmental tempera- be set to 3.3V or 5V. The SBC also load, overvoltage, and overtempera-
tures up to 150ºC. The system basis contains a watchdog and a serial ture on the bridge are monitored and
chip ATA6624 is specified with a interface to communicate with other in the event of a fault, the bridge is
maximum junction temperature of modules in the automobile. The switched off. The microcontroller can
150ºC. The IC’s junction is warmed high-side switch is supplied through signal this event over the serial inter-
approximately 3K as a result of its an integrated charge pump, which face to the automobile.
own current consumption and LIN makes the use of cost-effective N-
communication, therefore, the maxi- MOSFETs possible. A cost-efficient Reprinted with kind permission of Elek-
mum environmental temperature of reverse battery protection with low tronik. Originally printed, “Chips in Fege-
the application is 147ºC. on-resistance and power dissipation feuer”, March 20th 2007.
VBAT
VMODE VBATSW
H2
VCC 3.3/5V VCC 13V Gate Driver
Regulator CP S2
Regulator High Side 2
DG1
Supervisor
DG2 Short-circuit
Open Load
AVR
DG3
Overtemperature ATA6824 H1
Undervoltage Gate Driver
ATmega88 High Side 1 S1
/RESET M
WD
EN1 Logic Control Gate Driver L1
Low Side 1
DIR
PWM
L2
RX
WD WCC Gate Driver
TX SIO Timer Timer Low Side 2
PGND
SIO
Figure 10 DC Motor Control with H-bridge with ATA6824, ATmega88, and 4 External Power MOSFETs
www.atmel.com
14 Atmel Automotive Compilation, Vol. 4
Standard
Products
Networking
LIN
ATA6622/23, The ATA6622/24 also contains a to handle the low-speed data com-
ATA6622/24 LIN watchdog, a positive-edge-trig- munication in vehicles. Improved
System Basis Chip gered high-voltage input wake-up slope control at the LIN driver output
pin (KL15) and a negative-edge- ensures secure data communica-
ATA6623/25 and ATA6622/24 con- triggered high-voltage input wake- tion up to 20 kBd. The bus output is
tain a fully integrated LIN transceiver, up pin (WAKE). The combination of designed to withstand a DC voltage
designed in compliance with the LIN voltage regulator, bus transceiver, range between –27V and +40V. Due
2.0 specification and the SAEJ2602-2 and watchdog makes it possible to to the monolithic integration of the
standard. These chips include a low- develop simple, yet powerful, master voltage regulator and the watchdog
drop voltage regulator (ATA6622/23 and slave nodes in LIN bus systems. in the ATA6622/24, system costs
3V/50 mA, ATA6622/24 5V/50mA). ATA6622 – ATA6625 are designed can be reduced by about 25%; this
LIN Bus
Watchdog
ATA6623/25 VS
Receiver Filter
RXD LIN
GND
Voltage Regulator
Voltage Regulator
VCC
NRES
www.atmel.com
16 Atmel Automotive Compilation, Vol. 4
LIN Bus
ATA6622/24
VS
Receiver Filter
RXD LIN
KL 15
is because discrete components as of switches in dashboards or door as the GND pin has a metallic con-
used with other solutions are not control units is a typical application nection to the internal lead frame. This
needed. As a result, the ATA6622/24 for this mode. enables the GND pin to act as a heat
also requires less board space, sink. Atmel’s ATA6622/24 has out-
which makes it perfectly suited for standing thermal performance due to
applications with space restrictions. Voltage Regulator its 20-pin 5 mm x 5 mm QFN pack-
Another outstanding feature of the age with heat slug. Some automotive
new LIN SBCs is their extremely The internal voltage regulator is capa- applications need extended current
low quiescent current consumption, ble of driving loads up to 50 mA, thus and power capability; for this type
which is typically 10 µA in standby supplying the microcontroller and of application, Atmel’s ATA6622/24
mode. An additional silent mode has other ICs in the ECU. It is short-circuit provides the possibility of boosting
been implemented to achieve quies- and overload protected by means of the output current of the integrated
cent currents down to 66 µA with the current limitation and overtempera- voltage regulator via a discrete NPN
internal voltage regulator enabled. ture shutdown. ATA6623/25 is deliv- transistor connected between the
This allows a microcontroller to be ered in Atmel’s SO8 power package VCC and PVCC pins. This can also be
operated in sleep mode. Scanning and offers improved thermal behavior used to extend the ambient tempera-
www.atmel.com 17
LIN Bus
LIN
Node 1
ATA6624 LIN
DC Motor LIN SBC
Driver IC including
8-bit AVR
or LIN Transceiver
Sensor IC Voltage Regulator
Watchdog
LIN
Node 3
ture range of applications by moving Atmel offers this solution as a multi- • 32 general-purpose working regis-
the power dissipation of the voltage chip module in a small 48-pin QFN ters
regulator to the external NPN transis- 7 mm x 7 mm package with heat • 3 flexible timer/counters with
tor. In this case, the power dissipation slug. All pins of the LIN system basis compare modes
in the LIN SBC is so small that it can chip as well as all pins of the AVR • Internal and external interrupts
be used for ambient temperatures up microcontroller are bonded out to • Serial programmable USART
to 145°C. Therefore, Atmel’s SBCs provide customers the same flexibil- • Byte-oriented 2-wire serial interface
are also suitable for high-temperature ity for their applications as they have • 8-channel 10-bit ADC
applications. when using discrete parts. • 5 software selectable power sav-
ing modes
The application note “Fully integrated
BLDC Motor Control” details the AVR 8-bit The AVR 8-bit microcontrollers are
use of the ATA6624 in a high-tem- Microcontrollers based on a RISC architecture that
perature, under-the-hood, environ- has been developed to take advan-
ment. (See http://www.atmel.com/ The ATA6624 includes a LIN trans- tage of modern semiconductor inte-
dyn/resources/prod_documents/ ceiver, voltage regulator, watchdog, gration and software capabilities.
doc4987.pdf for details.) and the 8-bit AVR microcontroller The fast-access RISC architecture,
ATmega88 with 8-kB flash memory. which consists of 32 x 8-bit gen-
The ATA6613 differs only in the size eral-purpose working registers, is an
ATA6612, ATA6613 of the flash memory, with 16 kB advantage of the AVR. Within one
LIN System-in- available. The AVR microcontroller single clock cycle, AVR can feed two
Package Solution includes the following functions: arbitrary registers from the register
• Bootloader file to the ALU, do a requested oper-
In addition to LIN transceivers and • Internal RC oscillator with toler- ation, and write back the result to an
LIN system basis chips, Atmel also ances suitable for LIN applications arbitrary register. AVR uses a Har-
provides system-in-package solu- • 512 bytes EEPROM vard architecture, where the program
tions, which combine a LIN system • 1 Kbyte SRAM memory space is separated from the
basis chip with an AVR microcon- • SPI serial port data memory space.
troller in a single package. • 23 general-purpose I/O lines
www.atmel.com
18 Atmel Automotive Compilation, Vol. 4
Implementing a single-level pipeline boot-code section with independent time generator on some devices) or
design whereby the next machine lock bits for protection. input capture are also available.
instruction is fetched as the cur-
rent one is executed, AVR achieves AVR offers a wide range of features, For analog measurements, multiple-
throughputs approaching 1 MIPS from multifunction, bi-directional input 10-bit ADC with selectable gain
per MHz. This makes AVRs very fast general-purpose I/O ports with con- can be combined with an analog
in comparison with other 8-bit micro- figurable inbuilt pull-up resistors to comparator. In addition, a brown-out
controllers, allowing system design- on-chip debugging (OCD) support detection circuit is implemented.
ers to optimize power consumption through JTAG or debugWIRE on
versus processing speed. most devices. Series of 8-bit and
16-bit timers with PWM output (dead
The AVR automotive line can support
clock speeds from 0 – 16 MHz. All
AVRs feature an on-chip calibrated
RC oscillator, removing the need for
external clocks or resonator circuitry.
GND VCC
Watchdog debugWIRE
Timer
Power Supervision
POR / BOD and
Reset
Watchdog Program
Oscillator Logic
Flash SRAM
Oscillator Circuits /
Clock Generation
AVR CPU
EEPROM
AVCC
AREF
GND
2
8-bit T/C 0 16-bit T/C 1 A/D Converter
DATABUS
Analog Internal 6
8-bit T/C 2 Compensation Bandgap
RESET
XTAL[1..2]
www.atmel.com
20 Atmel Automotive Compilation, Vol. 4
Standard
Products
Networking
LIN
The LIN bus has in recent times High EMC circuit board (PCB) of the electronic
become firmly established in auto- Requirements for the module, the small dimensions of the
mobiles as an inexpensive bus LIN Bus integrated circuits and the connection
option, one which is indispensable pins does not result in efficient anten-
for automobile manufacturers. Its The EMC requirements for LIN nodes nas for undesired HF radiation in fre-
many uses include electric windows, have risen continually over the past quency ranges smaller than 1 GHz.
electric mirrors, or car-door control couple of years. The testing efforts The HF interferences are transmitted
buttons. LIN buses are also found required by the automotive manufac- through the wire harness or the wir-
in car seats, air conditioning, in the turer and the suppliers are immense. ing of the PCB over the connection
car dashboard, windscreen wipers, The electromagnetic immunity tests pins of the ICs directly into the silicon.
or sunroof control; so much so that with radiated RF waves, performed To represent this in the laboratory,
the use of a LIN bus is considered by the automotive manufacturers, the DPI procedure was developed.
standard. The number of inbuilt LIN are not only carried out in automo- Using this procedure, each individual
nodes in automobiles has risen with biles. Well in advance of in-car test- device pin is independently tested for
the increase in the number of pos- ing, complete bus systems are built its susceptibility to electromagnetic
sible uses. Currently LIN nodes aver- up in specialized RF laboratories, interferences.
age over several hundred million units and long before implementation in
per automobile. As a result, automo- cars, the electromagnetic immunity is An RF generator with frequency
bile manufacturers are increasingly vigorously tested enabling early iden- variation is used to generate the RF
concerned with the security of the tification of flaws. Standardized EMC interference, which is then ampli-
data transfer in the harsh automotive tests on the LIN transceiver at the cir- fied by an RF amplifier. A directional
environment. In addition to software cuit level by independent test labora- coupler is then used to measure
methods, tougher requirements are tories offers another testing possibil- the power injected on the LIN bus.
being defined for hardware so as to ity. For these tests, specialized Direct A LIN bus with 3 LIN nodes in star
avoid data transfer anomalies. Auto- Power Injection (DPI) measurements configuration is built to compare the
mobile manufacturers are demand- are taken, which enable testing of the performance of various ICs. With this
ing that devices conform not only electromagnetic immunity of the inte- formation, each LIN node and LIN
to the LIN2.0 standard, but also to grated circuit. transceiver is equidistance from the
specialized electromagnetic compat- induction point and thus experience
ibility (EMC) tests. the same HF characteristics. A pat-
DPI Method of Deter- tern generator creates a signal that
mining EMC Stability is transmitted to the LIN bus, where
one LIN node acts a transceiver. The
In contrast to the wire harness of remaining two LIN nodes function as
the car and the wiring on the printed receivers. Interference signals with a
www.atmel.com 21
RxD
LIN
Node 3
RF Amplifier
LIN Bus
Directional
Coupler
LI e 2
No LIN
No
1
N
de
d
DSO
Pattern
Generator
Bus Connection for Instrument Control
Control PC
frequency range of 1 MHz to 1 GHz sible errors are specified by the lead- perform better. Due to the electro-
are injected. The interference signal ing automobile manufacturers as magnetic interference, an RF signal
is slowly increased from 0 to 34 dBm between 25 dBm und 30 dBm. is added to the bus signal. Thus, the
for each testing frequency. A fault is resulting voltage can be a negative
determined if the timing of the signal voltage compared to ground poten-
at receiver output (RxD) varies by SOI Technology’s tial. As a result, parasitic transistors,
15% when compared with the unin- Suitability for LIN which are also located on these pin
terfered signal or if the difference in Buses are activated and cause interference
the voltage level is more than 0.9 V in other parts of the IC. (Figure 2)
when compared to the undisturbed These tests identify the weakness
signal. These are the maximum toler- of integrated circuits developed with SOI technology does not exhibit this
ated values as stated in the LIN EMC technologies where individual com- behavior as no parasitic transistors
test specifications. The individual val- ponents are isolated with junctions. In are present in the neighboring wells
ues for the failures are plotted against contrast, technologies using an oxide due to the oxide isolation. DPI tests
the frequency. The limits for permis- isolation (SOI as Silicon-on-Insulator) of ICs fabricated with SOI technology
www.atmel.com
22 Atmel Automotive Compilation, Vol. 4
30
munication is no longer possible. 25
This may result in the functions of a
20
whole area in a car no longer working
15
(for example, all the door electronics). LIN Transceiver Developed with Bulk Technology
10
The LIN pin must be suitable for DC
5
voltages in the range of +40V to –27V
without external protective circuits. 0
1 10 10 0 10 0 0
The LIN pin’s inbuilt ESD protection
Frequency/MHz
must only be active at voltages lower
than –27V. Junction isolation drasti-
cally limits the construction of the Figure 3 Comparison of DPI Test Fault Limits Between Bulk and SOI Technologies
www.atmel.com 23
1.6 µm
25M
MOST
Data Rate (Bit/s)
10M Component
SiO2
FlexRay® Si-Handling Wafer
1M
CAN-C Bluetooth® 16 µm
125K
CAN-B
20K
P+ Fox
LIN N+
P-Well Component
PBL NBL
1 2 5 10
P-Substrate
Relative Costs per Node
HV-NDrift N-Sinker
Figure 4 Cost per Node of the Various Bus Systems Figure 5 Comparison of the Component
Isolation in SOI (above) and Bulk (below)
Technologies
the fact that additional an oxide isola- higher integration density for analog < 150°C) is required. Latch-up in
tion has to be implemented. However, components and therefore a signifi- standard BCD technology, in particu-
as a result of the die-size reductions cant die-size reduction. lar with high temperatures, causes
in design, SOI offers a substantial difficulties. However, since there is
overall cost advantage. For example, no junction between two compo-
the die size of the junction isolation Latch-up Stability nents in SOI technology, this problem
for high-voltage components, which is non-existent. Therefore, additional
are connected directly to the power- Latch-up stability also provides a sig- die surface for layout arrangements
line of the car, can be replaced by a nificant advantage. In automobiles, such as protection rings and addi-
small trench in the oxide, as can be a latch-up stability for the complete tional redesigns are not required.
seen in figure 5. This enables much temperature range (–40°C < Tjunction
www.atmel.com
24 Atmel Automotive Compilation, Vol. 4
Figure 6 Surface Reduction Through the Use of SOI (right) Instead of Junction Isolated BCD Technology (left)
LIN
LIN
Microcontroller Sensor
Transceiver
ATA6623/25
ATA6622/24
ATA6602/ATA6603
Atmel’s LIN Family mentioned above, also have an inte- And in the Future?
grated AVR® microcontroller. The
Atmel offers, alongside the standard 8-Kbyte ATmega88 microcontroller It is expected that the number of
LIN transceiver ATA6662, further is used in the ATA6602, and the LIN nodes in automobiles will signifi-
SOI-fabricated system-basis ICs, ATmega168 with a 16-Kbyte flash cantly increase in the future. Both the
for example, the ATA6623/25, a LIN memory is used in the ATA6603. ESD and EMV stability requirements
transceiver with integrated voltage These two microcontrollers have a of such systems and the cost pres-
regulator with an output voltage of LIN-compatible UART, a 10-bit ADC sures will grow. The semiconductor
3.3V/5V. The next integration level with 8 channels, 512 byte EEPROM, industry is ready for this.
introduces the system basis chips and 1 Kbyte SRAM.
ATA6622/24. These chips contain
an integrated watchdog in addition Reprinted with kind permission of Elek-
to a voltage regulator. The two ICs tronik. Originally printed, “SOI für den LIN-
ATA6602/03, besides the functions Bus”, October 2007.
www.atmel.com
26 Atmel Automotive Compilation, Vol. 4
Body
Electronics
Central Unit
Mechical Linkage
Wipers
Figure 1 Typical Wiper Linkage Layout
Left
Wiper Motor Synchronization
+ Electronic Right
Interface Wiper Motor
+ Electronic
Voltage
Hall Sensor Regulator
USART
µC Gate Driver Wiper Left
~10 A
Watchdog SCI
Voltage
Hall Sensor Regulator SCI
USART
Switch µC Gate Driver Wiper Right
~10 A
Interval Watchdog
A solution is the replacement of the motor can easily be controlled by a fortable for the car driver. A differential
mechanical linkage by an electronic full H-bridge gate driver supporting SCI transceiver (serial communication
one (figure 2). In this architecture, PWM and direction-controlled driv- interface) can be used to reduce these
each wiper is powered by a DC ing of four power MOSFETs. An IC radiation emissions for improved EMC
motor. The DC motors are controlled for this purpose must be designed in performance. The SCI transceiver is a
by a microcontroller and a driver IC a high-voltage process and appropri- differential device which can also oper-
that can be mounted directly at the ate for applications in harsh environ- ate in single-ended mode for systems
motors. An interface handles the ments. An optimized communication with only one wiper. The SCI function-
synchronization between the left and interface is necessary for a high-vol- ality makes this gate driver very similar
right wiper, so that no mechanical ume DC-motor application such as a to LIN devices; compared to standard
link between the wipers is necessary windshield wiper system. LIN interfaces, however, a faster data
as with conventional wiper systems, transfer of up to 100 Kbaud is pos-
achieving considerable noise and Because the wiper electronics are sible.
space reduction. usually located very close to the car
radio, the EMC emissions have to be Each wiper module (see figure 3)
DC motors are used in wiper sys- controlled – the eclectic disruption of consists of a microcontroller, a highly
tems for cost reasons. This type of the car radio would be very uncom- integrated gate driver and the DC
H-bridge
Voltage Driver
Watchdog
Regulator Actuator
SCI
µC
Transceiver
ATA6026
Sensor Interface
SCI Bus
www.atmel.com
28 Atmel Automotive Compilation, Vol. 4
motor. Several hall sensors measure as overtemperature shutdown, over- detects a window error – no trigger
the positions of the two wipers. The voltage and undervoltage protec- in the open window or a false trigger
driver sends the commands via the tion, as well as full protection against in the closed window – a reset pulse
wiper switches to the microcontroller. short-circuits as well as meeting strict will be generated.
The electronics can be mounted very automotive qualification demands
close to the wiper motor without any (protection against conducted inter- The block diagram in figure 5 shows
huge space demand. ference, EMC and ESD protection). the implemented functions and the
typical application schematic.
The importance of low current con- To solve these problems and meet
sumption of an ECU continues to the above detailed requirements, The microcontroller controls the driv-
grow. To be able to guarantee the Atmel ®
created a highly integrated ing function of the IC by providing a
low quiescent current of the inactive gate driver IC, the ATA6026. This gate PWM speed signal and a direction
IC, a dedicated wake-up and sleep driver IC is highly integrated (figure 4) signal. The ATA6026 has to drive the
mode strategy is required. and includes a 5V/100-mA voltage gates of the external H-bridge, there-
regulator plus a watchdog, result- fore the IC includes two push-pull
A typical partitioning of a wiper appli- ing in fewer external components drivers to control two external power
cation is shown in figure 4. It consists for smaller designs requiring less NMOS used as high-side drivers and
of the microcontroller, the voltage PCB area – a critical issue in mecha- two push-pull drivers to control two
regulator supplying the microcon- tronic solutions. The motion control external power NMOS used as low-
troller, and other discrete elements, is carried out by the IC, so this func- side drivers. The drivers are able to
e.g. hall sensors. For safety reasons tion does not need any additional be used with standard or logic-level
– it would be critical if a wiper failed memory in the microcontroller. The power NMOS. The drivers for the
while driving in the rain – a watchdog watchdog is implemented as a win- high-side control use external boot-
in the system is required. dow watchdog and will be triggered strap capacitors to supply the gates
by the microcontroller via a LOW to with a voltage of 8V to 14V above the
As further guard against failure, an HIGH transition at pin WD during battery voltage level. It is also possi-
automotive IC requires features such the open window. If the watchdog ble to control the motor in the reverse
direction. A duty cycle of 100% in
both directions is possible by using
the charge pump to supply the gates
of the high-side drivers. To prevent
high peak currents in the H-bridge, a
non-overlapping phase for switching
the external power NMOS is imple-
mented. An external RC combination
defines the cross-conduction time.
VBAT VCC
ment helps to reduce power dissipa- tery protection may be supplied by SCI for going to active, the EN pin
tion. When inactive, the device’s sleep the charge-pump output. can remain LOW without disturbing
mode guarantees a low quiescent the active mode.
current of typically 35 microamperes. As mentioned earlier, ECU applica-
For a battery voltage level between tions need sleep mode functionality Due to the monolithic integration of
6V and 9V the regulated output volt- to meet the low current consumption the voltage regulator, motion control,
age is 5V ± 10%, above 9V the regu- requirement. During the ATA6026’s watchdog and the communication
lated output voltage is 5V ± 3%. To sleep mode, it is possible to wake interface in one small QFN package,
prevent destruction of external NPN up the IC by using either the pin overall system costs can be reduced
and of the IC, a sense resistor is EN or /DATA. Only a few blocks are while maintaining the flexibility of the
used to detect the current delivered awake (the bandgap, the internal 5V output stages for plug-and-play use
by the regulator. In case of overcur- regulator with 100-nF external block- in almost any kind of motor driver
rent, the regulator limits the current ing capacitor, the input structure for application without needing adapta-
to the specified level. This means detecting the EN pin threshold and tion. The motion control is part of the
if the characteristic of the voltage the wake-up block of the SCI receive IC, only the PWM speed signal and
regulator changes to one of a cur- part). The default state after power the direction information has to be
rent regulator, the delivered voltage ON is the active mode. To change provided by the microcontroller. Two
will break down. The fully integrated between the two modes, three pro- diagnosis pins enable the possibility
charge pump supplies the gates of cedures are implemented. In addi- for fail-safe functions.
the external power MOSFETs of the tion to the activation/deactivation of
high-side drivers in case of a per- the EN pin there is a second possi-
manent ON state (100% PWM, the bility for waking up by using the SCI
bootstrap function is not available). transceiver. In sleep mode the SCI Reprinted with the kind permission of
In addition, the gate of an external receiver is partially active and works Auto Electronics. Originally printed in July
power NMOS used for reverse bat- in single-ended mode. If using the 2007.
www.atmel.com
30 Atmel Automotive Compilation, Vol. 4
Security
Car Access
RF Remote Control
The new members of Atmel®’s Remote Keyless Entry
receiver family ATA5723, ATA5724,
and ATA5728, have not only inher- µController + Transmitter Receiver: AVR Micro-
ATAR862 RF Data ATA5723 controller
ited the beneficial attributes of ATA5724
or
Atmel’s ATA5743, but also bring with ATA5728
µController Transmitter
them their own features. This article, ATARx9x T5750/3/4
in addition to providing a technical
description of the new receivers, also µTransponder Energy Data
Base Station:
U9280M
highlights both their inherited and U2270B
or Car
additional features. Data
Transponder
TK5561
The ATA572x are available in three Key
versions for Industrial, Scientific, Immobilizer
and Medical (ISM) frequency bands
313 to 317 MHz (ATA5723), 432 to
436 MHz (ATA5724), and 868 to 870-
MHz (ATA5728). The RF parts are Figure 1 Typical Automotive RF Applications
manufactured using Atmel’s RF BiC-
MOS process UHF6 and are housed trates the information exchange focuses on the RF data transmission
in a small SSO20 package making between a car and a key fob. If the and, in particular, on the receiver.
them a perfect fit for the automotive driver pushes the key fob button to
applications, remote keyless entry open the car door, the microproces- Like the ATA5743, the new receiv-
(RKE) and tire pressure monitoring sor inside the key fob passes the ers have a polling feature, which
Systems (TPMS), where application authorization data to the UHF trans- enables the microcontroller to remain
space is at a premium. The three mitter, which sends the data. If the in standby mode. This considerably
devices are pin compatible, enabling data is received, it is passed, by the saves the system’s current consump-
system designers to develop a single receiver to the microprocessor in the tion. The active current consumption
layout for worldwide solutions. car control unit for data verification. is specified at approximately 8 mA in
If the data from the key fob matches receiving mode. These new devices
Figure 1 illustrates the automotive the car’s authorization data, the door are highly integrated and offer excel-
applications RKE and immobilizer, is opened. An similar procedure is lent receiving performance as a result
which are supported by Atmel’s used for the immobilizer application of their fully integrated IF filter, low
receiver products. The figure illus- to start the car engine. This article phase noise VCO, PLL, and loop fil-
www.atmel.com 31
FSK/ASK Dem_out
Data
CDEM Demodulator DATA
Interface
and Data Filter
RSSI
RSSI Limiter out
RSSI
POLLING/_ON
SENS IF Sensitivity Polling Circuit
Amp. reduction and Control Logic
AVCC DATA_CLK
AGND MODE
4. Order
DGND f0 = 1 MHz FE CLK
DVCC IC_ACTIVE
LPF Standby
fg = 2.2 MHz Logic
IF Loop
Amp. Filter
XTAL2
XTO
XTAL1
Poly-LPF
fg = 7 MHz f
LC-VCO :2
or :3
LNAREF
f f
LNA_IN LNA :2 :128
or :4 or :64
LNAGND
ter. (Figure 2) The single-ended RF System Description structure of the new receivers’
input allows easy adaptation of /4 front-end is illustrated in figure 2.
or printed loop antennas. The devices The receivers' RF front-end is a
support the typically requested pro- low-IF super heterodyne configu- The PLL generates the frequency
tocols – Manchester and Bi-phase ration that converts the input sig- fLO for the mixer via a fully integrated
codes. As discussed later, the new nal into an approximately 1 MHz synthesizer with integrated low noise
receiver ICs need few external intermediate frequency (IF) with a LC-VCO (Voltage Controlled Oscil-
devices and no external IF filter – ten typical image rejection of 30 dB. lator) and PLL-loop filter. The XTO
passive components, a crystal, and It consists of an LNA (Low Noise (crystal oscillator) generates the ref-
an RF antenna are typically all that Amplifier), LO (Local Oscillator), erence frequency fREF = fXTO/2 (868
is needed to create a receiver board I/Q mixer, polyphase low-pass fil- and 433 MHz versions) or fREF = fXTO/3
application. In addition, the ATA572x ter, and an IF amplifier. The signals (315 MHz version). The XTO is a two-
receivers have a logarithmic RSSI coming from the LNA are down- pin oscillator that operates at the
output allowing determination of the mixed to an intermediate fre- series resonance of the quartz crystal
signal strength of different transmit- quency and are filtered by the fully with high current but low voltage sig-
ters with an excellent resolution. integrated filter circuit. The exact nal, so that there is only a small volt-
www.atmel.com
32 Atmel Automotive Compilation, Vol. 4
C3
LNAREF
LNAGND
L3
C1
50Ω C1 100 pF LNA_IN
LNA_IN 50Ω
L1
L1
LNAGND
ATA572x ATA5743
Table 1 shows a comparison between from the receiver’s antenna. Figure ground, sets the receiver signal pro-
the sensitivity of the ATA5723/24 55 – a linear plot of signal strength cessing at full sensitivity. The con-
receivers and the ATA5743. This (dBm) against VRSSI – shows the nection to Vtt configures the receiver
illustrates the sensitivity improve- RSSI characteristics of the ATA572x. to reduce the sensitivity. In a practi-
ment, which is attained by the new cal application, this feature enables
receivers. The sensitivity reduction function an RKE application to define two
is an established feature of Atmel’s different receiving ranges around the
The RSSI output with a dynamic receiver family. The output voltage of vehicle.
range of 60 dB is another feature of the RSSI amplifier is internally com-
the ATA572x receivers. (Figure 2) The pared to a threshold voltage, which is Figure 6 and figure 7 show sche-
signal of the IF amplifier is enhanced determined by the value of the resis- matics of Atmel’s demoboards for
by the RSSI amplifier before it is tor (Rsens) at SENS pin. The resistor the ATA5723 and ATA5743. When
passed to the demodulator block must be connected to the power comparing the schematics of both
and this signal is available at the out- supply (Vs) or ground. The output of application boards, it is clearly seen
put pin. The RSSI output signal can the comparator is fed into the digital that the ATA5723 requires substan-
be used in applications to identify the control logic, which decides whether tially fewer additional elements for
signal strength of different transmit- the receiver operates in low or full its application – 12 when compared
ters in different positions or distances sensitivity. Connecting the Rsens to with the ATA5743’s 20. There are two
reasons for the reduction in exter-
nal elements. Firstly, in contrast to
RSSI Characteristics
the ATA5743, the ATA572x has an
3,5
integrated loop filter. Secondly, the
ground of the LNA in the ATA572x
3
is connected directly to ground and
does not required any compensa-
2,5
V_RSSI (V)
1,5
For some applications, a typical image
rejection of 30 dB is sufficient. In this
1
case a front-end SAW filter is not
-120 -110 -100 -90 -80 -70 -60 -50 -40
necessary. For tougher requirements,
PIN (dBm)
a SAW filter is necessary to achieve
4.5V –40ºC 4.5V 25ºC 4.5V 85ºC 4.5V 105ºC the required selectivity. The receiving
5V –40ºC 5V 25ºC 5V 85ºC 5V 105ºC frequency response without a SAW
5.5V –40ºC 5.5V 25ºC 5.5V 85ºC 5.5V 105ºC front-end filter is illustrated in figure 8 .
www.atmel.com
34 Atmel Automotive Compilation, Vol. 4
VS +
C7 C6 IC_ACTIVE
2.2 µF 10 nF R2
Sensitivity Reduction
GND 56 kΩ
R3
ATA5723 27 kΩ
1 20
C14 SENS DATA DATA
2 19
33 nF IC_ACTIVE POLLING/_ON POLLING/_ON
3 18
CDEM DGND DATA_CLK
4 17
AVCC DATA_CLK
C13 5 16
10 nF TEST1 MODE C12 C11
6 15
RSSI DVCC
Test Pin 7 14
AGND XTAL2
8 13 Q1
COAX LNAREF XTAL1
9 12
LNA_IN TEST3
10 11
C17 LNAGND TEST2 C10
L3
VS +
C7 C6 IC_ACTIVE
2.2 µF 10 nF R2
Sensitivity Reduction
GND 56 kΩ to 150 kΩ
R3
ATA5743 ≥ 1.6 kΩ
1 20
SENS DATA DATA
2 19
C14 IC_ACTIVE POLLING/_ON POLLING/_ON
3 18
CDEM DGND DATA_CLK
4 17
AVCC DATA_CLK
C13 5 16
10 nF C15 TEST MODE
6 15 Q1
150 pF AGND DVCC
7 14
MIXVCC XTO
C3 8 13
LNAGND LFGND C11
9 12
LNA_IN LF
10 11
NC LFVCC
25 nH C8
C12
R1
C17 C16
50Ω L2
C9 C10
10
The ATA572x receivers combine
inherited features such as integrated 0
IF filter, self-polling, bi-directional -10
data interface, sensitivity reduction,
-20
ASK, FSK, DATA_CLK, and digital
noise suppression with the addi- -30
(dB)
tive applications. 430 431 432 433 434 435 436 437 438
(MHz)
www.atmel.com
36 Atmel Automotive Compilation, Vol. 4
Infotainment
Radio
The move from analog to digital stor- people have the possibility of receiving ing of about 2 – 3 MHz for the trans-
age or transmission is an ongoing around 1,000 different DAB services [1]. mission of one audio program, DAB
trend that is typified by changing audio The number of services and licenses is requires only approximately 1.5 MHz to
formats. The compact disc, first intro- rapidly changing. The DAB system is transmit 7 audio channels in CD qual-
duced in eighties, has all but rendered gaining interest not only from listeners, ity. Another reason is error-correction
the vinyl record obsolete. Technical but also from the automotive industry. codes, which can be used to reduce
advances such as re-writable CDs and DAB uses a frequency bandwidth of failures resulting from the transmission
data reduction has simplified music 1.536 MHz, which is sufficient for the channel. And finally, the transmission
recording making analog recordings concurrent transmission of approxi- power can be reduced while keeping
techniques with devices such as cas- mately seven audio programs. the same reception range. DAB typi-
sette recorders a thing of the past. cally transmits using 1 kW, whereas
With the introduction of the DVD, this A development extension of DAB has analog FM requires up to 100 kW for
digitalization trend continues, replac- resulted in a multimedia broadcasting similar transmitter coverage.
ing analog video recorders with digital system known as DMB, which uses
recorders. the DAB system to transmit video data. The DAB system was developed in
Five concurrent video channels can be Europe at the end of last century. One
Digital techniques are also common- transmitted with data rates of 200 – of the primary goals of the develop-
place in many communication systems, 240 kbit per second. A slide show and ment was to enable excellent recep-
for example, cordless telephones con- a data channel, bundled in one DAB tion under mobile conditions with a
vert analog speech information to digi- channel, can also be simultaneously low input power. The DAB system
tal signals, which are compressed and transmitted. Other digital broadcasting was one of the first systems to use
transmitted to the base station. Simi- systems include DVB-T for television, OFDM (orthogonal frequency division
larly so with mobile phones, speech HD Radio for audio transmission, and multiplex) techniques to distribute the
data is converted to digital data, then DRM. antenna signal. With this technique,
compressed and digitally transmitted. the signal uses up to 1536 carriers
The reasons behind the change from that are distributed in parallel. The DAB
In broadcasting, several digital sys- analog to digital, irrespective of the standard defines four different transmit
tems are currently available. One of medium, is that the use of (com- modes; each mode using a band-
the most well known is DAB (Digital pressed) digital data allows the trans- width of 1.536 MHz. The number of
Audio Broadcast), a technology for mission of more data over a given carriers and the carrier spacing varies
broadcasting of audio using digital bandwidth than analog transmission. depending on the DAB transmission
radio transmission. This system trans- This is referred to as “spectrum effi- mode used. The characteristics of the
mits digitally decoded audio data and ciency”. Comparing DAB with conven- four transmission modes are summa-
for several years has had an increas- tional analog FM transmission, we see rized in table 1. The first two modes,
ing global presence. Over 500 million that while FM needs a frequency spac- in particular, are used for the terrestrial
www.atmel.com 37
transmission of DAB signals. Mode 1 the DAB receivers are completely vices. To enable video reception,
is normally used to cover large areas, synchronized to the transmitted sig- an additional external processor is
whereas mode 2 is employed to dis- nal during reception. As a result, it is required.
tribute the DAB signal in large towns possible to simultaneously receive all
and smaller areas. The remaining two services with one DAB channel using The ATR2732 front-end IC has been
modes were introduced for the satellite Atmel ’s baseband IC ATR2740.
®
developed as a highly integrated
reception of DAB signals (mode 3) and Users can receive audio, video, and tuner IC for DAB reception. It con-
to address the particular requirements data services at the same time. tains all the functional blocks required
of the Canadian landscape, where for clock generation and OFDM sig-
larger distances occur between trans- Data services, specified in the DAB nal conversion. It was designed
mitter stations (mode 4). standard include slide shows. An for operation in L-band (1452 MHz
application of this is the transmission – 1492 MHz) and VHF BIII (174 MHz
DAB was developed with a primary of a CD cover while listening to a – 240 MHz), but it can also cover the
focus on the issue of mobile recep- song. Broadcast websites, electronic recently introduced Chinese frequen-
tion. In contrast to FM broadcasting, program guides (EPG), and traffic cies below 174 MHz. The front-end
DAB/DMB uses a single-frequency information (TPEG) are other such contains gain-controlled LNAs, an
network. Echoes and delays, which DAB data services. Some automotive L-band mixer with a corresponding
may occur, are negated by the use manufacturers offer special DAB ser- PLL and a VHF-band mixer with a
of a special guard interval. The length vices to customers, including slides fractional PLL. The IF path contains
of this guard interval is chosen to fit shows or special data services. An three gain-controlled amplifiers. An
the delays that arise between two example of this type of service offer- adjustable antenna VHF BIII filter and
or more transmitters on the same ing is described on the NewsService an adjustable pre-selection filter for
frequency. A DAB receiver simply Journaline website [3].
®
L-band and VHF reception allows
disregards signals that are received automatic tuning alignment with the
within this guard interval. Diversity Atmel’s DAB solution includes a front-end. All functional blocks can
techniques, as used in FM reception, front-end ATR2732 and a baseband be controlled via the SPI bus. Fig-
are not necessary as DAB is a single- ATR2740. With these products, cus- ure 1 provides an overview of the
frequency network. Another differ- tomers can create a DAB receiver ATR2732’s functional blocks.
ence between FM and DAB is that suited for both audio and data ser-
www.atmel.com
38 Atmel Automotive Compilation, Vol. 4
Dielectric
Bandpass L-band Vtune
Mixer Gen.
Control Unit
L-band
VCO
PLL
VHF
VCO SPI Interface
Frac. PLL
To Baseband
DAB usually uses signals in the VHF block adjusts the pass-band of this A DAB signal in the L-band fre-
range (174 – 240 MHz) and L-band filter to the required frequency. This fil- quency passes a high-pass filter,
(1,452 – 1,492 MHz). The signal ter is used – together with the antenna which is part of the passive diplexer.
flow for VHF reception starts at the tank – to get excellent image rejec- The signal is bandpass filtered using
antenna or the RF connector. The tion and sufficient far-off selectivity. a simple LC-filter with low insertion
signal passes a pin-diode attenu- After passing this filter, the RF signal is loss and converted to a balanced
ator block, which can be used for mixed down to a fixed IF frequency of signal with a small balun. This balun
strong incoming signals and a low- 38.912 MHz. The IF signal is amplified is also used to convert the character-
pass filter, which is part of a passive and passed to a SAW filter. The SAW istic impedance of the antenna input
diplexer. The diplexer is used, instead filter is necessary for adjacent channel (usually 50 Ohm) to the required
of an antenna switch, to separate reduction and far-off selectivity close impedance of the integrated L-band
VHF signals from L-band signals. to the chosen reception channel. The LNA. The internal variable gain L-
The VHF signal is bandpass filtered signal enters the IC again and is ampli- band LNA amplifies the signal. A
with an antenna tank circuitry that is fied in the first IF variable-gain amplifier dielectric bandpass filter between
automatically adjusted to the recep- followed by a simple LC-bandpass fil- L-band LNA output and L-band
tion frequency. A variable-gain VHF ter. Finally, the DAB signal is amplified mixer input is used to get sufficient
LNA amplifies the signal. The signal to the desired IF output level using the L-band image rejection and rejection
leaves the front-end IC and is fed to second IF amplifier. The signal leaves of far-off signals. The L-band mixer
an external pre-selection filter. This fil- the front-end IC and is passed to the converts the antenna signal to the
ter has an automatic tuner alignment, DAB baseband IC ATR2740. VHF BIII frequency regime (174 MHz
i.e., the tuning-voltage generation – 240 MHz). The output of the L-
www.atmel.com 39
Marker 1 [T1] RBW 300 kHz RF Att 0 dB Marker 1 [T1] RBW 300 kHz RF Att 0 dB
Ref Lv1 -94.92 dBm VBW 300 kHz Ref Lv1 -69.55 dBm VBW 300 kHz
-30 dBm 200.00000000 MHz SWT 5 ms Unit dBm -20 dBm 77.82400000 MHz SWT 5 ms Unit dBm
-30 -20
A A
-40 -30
band mixer is internally connected to -50 -40
-80 -70
The use of the external filters results -90 -80
-110
together with high sensitivity and -100
-120 -110
large signal behavior. The noise figure -130 -120
Center 225 MHz 10 MHz/ Span 100 MHz Center 38.912 MHz 7.7824 MHz/ Span 77.824 MHz
of the receiver is below 3 dB for VHF Date: 04.APR.1906 11:00:59 Date: 04.APR.1906 11:55:15
www.atmel.com
40 Atmel Automotive Compilation, Vol. 4
the necessary software. (Figure 4) has made it a crucial tool for auto- systems, it can also be used for the
Although this kit has been developed motive manufacturers for design-in development of USB dongles and
both for performance evaluation activities. Atmel’s DAB solution con- integrated receivers for reception
of Atmel’s chipset under lab condi- tains a front-end IC ATR2732 and a and decoding of DMB signals.
tions and for software development, baseband IC ATR2740. Despite the
it can also be used for drive tests. fact that this device has been primar-
The superior performance of this kit ily developed for use in automotive
www.atmel.com 41
www.atmel.com
42 Atmel Automotive Compilation, Vol. 4
Safety
TPMS
a defined period of time has elapsed. instruction required when reading and Sample Power Con-
For this purpose, the ATA628x uses an writing data to the RAM resulting in sumption Calculations
internal interval timer, which is clocked high code efficiency.
by an internal 90-kHz oscillator. In this The following calculations illustrate
mode (power-down timer active), the In general, applications using the the ultra low-power consumption of
maximum power consumption at ATA628x are typically only active for the ATA628x in an application such as
3.6V and +85°C is 1.2 µA. a small percent of the time (10-15%) TPMS. The measurement intervals are
and have long power-down times based on typical customer requests.
The ATA628x has an active current at (85%). This pattern of activity further
1 MHz of 1200 µA. Although the active negates the impact of the elevated With these measurement intervals, a
current consumption of the ATA628x active current. Table 1 shows a com- TPMS using Atmel’s ATA628x con-
is greater than that of competitor parison between the ATA628x and sumes approximately 160 mAh bat-
microcontrollers (see table 1 competi- some of our main competitors. tery power over 10 years. Taking the
tor comparison), the high data-quote self-discharge of the battery and the
efficiency of the AVR compensates for In addition, when compared with leakage current through the blocking
the larger current consumption and embedded integrated sensor ICs, the capacitors into account, a battery with
keeps the overall power consumption ATA628x offers a far lower current 350 mAh should be sufficient. Figure
at a minimum. The high data-quote consumption in power-down mode 1 shows the current distribution of a
efficiency of the AVR is achieved by (timer active) (at least 50% less cur- TMPS over 10 years. From figure 1
its hardware multiplier and large regis- rent consumption). we can see that more than 50% of
ter file, which reduces the number of the total required power is consumed
www.atmel.com
44 Atmel Automotive Compilation, Vol. 4
Temperature Measurement
8% Self Discharge
Pressure Measurement
8% 16%
RF Transmission
5%
Leakage Charge
Others
(Capacitor)
4%
7%
Power-down Charge
52%
Data
Wake up
LFEN
Data
Wake up
LFEN
potential disturbances, two wake-up detection and header & ID detection. Typical ATA628x-based
modes are available: start-gap and The use of the preamble, the gap, the TPMS Application
start-signal. In both these modes, an 7-bit header, and the 16-bit ID should
interrupt is invoked to wake-up the prevent almost any erroneous wake- One of the primary usage areas for
CPU if a preamble followed by a gap ups as a result of disturbances at the the ultra low-power consumption
is detected by the LR receiver. Figure LF receiver input. feature of the ATA628x is in a tire
2 illustrates both of these wake-up
modes. Header Detection
www.atmel.com
46 Atmel Automotive Compilation, Vol. 4
Pressure
Sensor RF Micro-
Transmitters
ATA6285 TPMS LIN MCM
Receiver IC
Motion ATA6286 ATA6602
433 or 315 MHz ATA5745
Sensor Polling
ATA5746 LIN
Bit Check
E
RK
ECU
pressure monitoring system (TPMS). monitor the air pressure inside the Capacitive Sensor Interface
A standard TPMS system requires a wheel. This measurement data is
life-time of approximately 10 years; transmitted to a UHF receiver in the Figure 5 shows a typical ATA628x
hence, power consumption is para- vehicle. (Figure 4) TPMS application. External capaci-
mount. Sensor modules are typically tance sensors elements can be con-
mounted at the tire rim, where they nected to pins 15, 16, and 17. These
VDD
Battery
Motion Pressure
Sensor Sensor
16 15 14 13 12 11 10 9
17 8
18 7
19 6
20 5
ATA628x
21 4
22 3
23 2 RF
24 1 Loop Antenna
25 26 27 28 29 30 31 32 1) ISP Interface
Figure 5 Typical ATA628x-based TPMS with Pure Capacitive Pressure and Motion Sensor Elements
www.atmel.com 47
CREFx
C
CREF2 CREF6 Control CX
fC
CS1 = CEX1
S1 (CEX1)
Control
CS2 = CEX2
S2 (CEX2)
pins are available for capactive range The frequency output of the sen- as capture timer to measure the time
of 2 pF to 16 pF, with one channel sor interface, which represents the taken to receive this number of pulses.
configured as motion wake-up in capacitor value, can be measured At first, one of the internal reference
the range of 3 pF to 5 pF. See table using a combination of two timers capacitor should be measured. The
3 for further details. Figure 6 shows inside the ATA628x. The external second measurement measures the
a block diagram of this ADC sensor pressure-dependent capacitor is second reference capacitor and the
interface. measured against two internal refer- third measurement is done with the
ence capacitors. The measurement pressure-dependent capacitor. The
The sensor interface carries out a is shown in figure 7. pressure-dependent capacitor value
capacity-to-frequency conversion of can be calculated using the following
the external or internal capacitors. Timer 2 is programmed to count the formula:
The capacitor is selected by the mul- number of pulses coming from the
tiplexer by setting the SCCR register. sensor interface and timer 3 is used
www.atmel.com
48 Atmel Automotive Compilation, Vol. 4
CLT = CLKMeasure
Timer/Counter 2
TC 16-bit Comparator
SENO
16-bit Counter 2
T(CX)
T(CX)
Timer/Counter 2
Tests with calibrated capacitive sen- A motion wake-up detection circuit is calibrated capacitive sensor element
sor elements demonstrate that it is also connected to the sensor inter- with an inbuilt logic block, which
possible to achieve pressure accu- face. This circuit is used in sensor generates a signal-conditioned pulse
racy greater than +/- 75 mbar. modules for tire pressure monitor- width modulation (PWM) output.
ing systems to detect if the vehicle This digital output is decoded by the
The sensor measurement is carried is moving. The interval time of the ATA628x. This digital PWN signal is
out in a special power-down mode. motion detection measurement is easier to handle than the analog value
This mode is called sensor noise programmed with timer 0. The mea- transmitted from the pressure sensor
reduction mode. This mode was surement itself uses only 100 µs and described in the previous section as
designed to reduce the disturbance consumes 10 µA. parasitic values must be taken into
coming from the microcontroller and account for the analog value. This
to use as little power as possible for Alternative ATA628x- pressure sensor can be connected
the AD conversion. With the use of based TPMS to the bi-directional I/O port, pin 25.
the noise reduction mode, the AD This configuration can also optionally
conversion of the pressure sensor An alternative configuration of a include a roll-switch connected to pin
element consumes 140/450 µA at a TPMS system using the ATA628x is 31, and a motion sensor connected
clock of 1/4 MHz. shown in figure 8. This uses a pre- at pins 16 and 17.
www.atmel.com 49
VDD
Battery
Motion
Sensor
16 15 14 13 12 11 10 9
17 8
18 7
19 6
20 5
ATA628x
21 4
22 3
23 2 RF
24 1 Loop Antenna
25 26 27 28 29 30 31 32 1) ISP Interface
Figure 8 ATA628x-based TPMS with PWM Output Pressure Sensor and Optional Motion Sensor or Roll-switch
www.atmel.com
50 Atmel Automotive Compilation, Vol. 4
Safety
Introduction The range of technology that can be by various factors, including driver
integrated into cars is ever increasing distraction, inattention, or drowsi-
In Europe, road accidents cause and the application in road safety and ness. The Lane Departure Warning
around 45,500 deaths and over one convenience is reported to be the system generates a warning to alert
million serious injuries each year. one of the major source of growth. the driver that the vehicle is about to
Some estimates indicate that world- move out of its lane.“
wide annual figures are at around In this trend, the introduction of cam-
500,000 deaths and five million seri- era technology is foreseen to be a Lane departure warning (LDW) sys-
ous injuries. Automotive safety is an relevant way to achieve road-user tems are about to migrate from suc-
issue of global significance, with two protection enhancement. This con- cessful applications in heavy com-
main areas where automotive indus- sists of a combination of sensors and mercial vehicles into the car and light
try enhancements are focusing: processing circuits optimized and truck market. The LDW system is
• Primary safety the purpose of highly integrated to reach the cost directly aimed at reducing the num-
which is to avoid an accident requirements of automotive industry. ber of vehicles inadvertently leaving
• Secondary safety aimed at minimiz- the road. Strategy analytics exam-
ing the consequences of an acci- This article describes the imple- ines the potential market demand
dent (minimizing injuries to vehicle mentation of a demonstrator using and predicts the realistic LDW sys-
occupants and other road users) the new Atmel® AVR®32 processor, tem forecast to reach a total of 3.6
opening the way for highly integrated million units by 2010.
Systems integration and improved image processing systems for auto-
sensor availability are driving the motives. Today, the LDW is already imple-
progress in primary and secondary mented in commercial cars such as
safety systems. In primary safety the Lexus Infinity or more recently the
systems, contribution to casualty Application Focus: Citroen C4 model following different
reduction comes with systems that Lane Departure principles.
can increase the performance of Warning (LDW)
driving. For secondary safety sys- The C4 LDW uses six infrared sen-
tems, the number of systems is “Studies show that 55% of fatal acci- sors, which are fitted under the front
growing aggressively; one of the dents in the U.S. are caused by lane bumper, three on each side. Each
most famous current applications is departure,” said Robert Yakushi, sensor is equipped with an infrared
driver and passenger airbags, which Director, Product Safety, Regula- light-emitting diode and a detection
equip 80% of new light vehicles sold tory, Accessory Quality, Nissan North cell. Lane departures are detected by
in Europe today. America, Inc. “These are caused variations in the reflections from the
www.atmel.com 51
infrared beams emitted by the diode ture. The processing power required • Single-cycle load/store instruc-
onto the road. is of course higher than for IR sensor tions with pointer arithmetic that
techniques. reduce cycles required for load/
INRETS/LIVIC, Interaction Vehicle- store, accurate branch prediction
Infrastructure-Drivers research labo- Proposed Embedded with zero-penalty branches
ratory, a French laboratory based Platform: AVR32, • Maximizing code density to reduce
in Versailles, in collaboration with High-performance cache misses
the CNRS/LASMEA French labo- 32-bit Microcontroller
ratory based in Clermont-Ferrand, The AT32AP7000, the first AVR32
has developed another technique The AVR32 is a high-performance derivative, runs at frequency of up
that is based on imagers (optical 32-bit RISC microprocessor core to 150 MHz. It includes a vectored
sensors) instead of IR sensors. A introduced by Atmel at the begin- multiplier co-processor, 32 KB on-
single imager system running on an ning of 2006. This new architecture chip SRAM, 16 KB instruction and
embedded platform, on which soft- is designed to do more processing 16 KB data caches, Memory Man-
ware redundancy is applied, is capa- per clock cycle so the same through- agement Unit, DMA for high-speed
ble of providing a reliable, robust, put can be achieved at a lower clock peripherals and peripheral DMA con-
and accurate feedback to the driver. frequency. In fact, the AVR32 CPU troller that allows data to be trans-
This assistance feature can iden- executes about three times as much ferred between peripherals such as a
tify a vehicle’s position in relation to processing per clock cycle compared CMOS camera and memories with-
lane boundary markings by using a to other 32-bit microcontrollers. This out wasting processor cycles. The
small camera attached to the inside means the computational-intensive processor also includes a rich set of
rearview mirror scopes. If the vehicle algorithms required for today’s appli- DSP and SIMD instructions, which
should deviate too strongly from its cations can be executed at a lower are very useful for image processing.
ideal course of travel, the system will clock rate, with substantially less In standard mode, it can execute 16
send out a warning to drivers before power consumption. or 32-bit instructions without switch-
they potentially go off the road. ing modes. Most instructions are
The AVR32 core has been designed 16-bit, which reduces code size and
The benefits of this image processing with a special emphasis on: effectively increases the cache per-
approach is that it supports sophis- • Maximizing the use of computa- formance (more instructions can fit
ticated algorithms handling various tional resources with a 7-stage pipe- into the cache).
road and weather conditions and it line and 3 parallel sub-pipelines that
allows the anticipation of events and support automatic data forwarding
warns the drivers prior to lane depar- and out-of-order execution
www.atmel.com
52 Atmel Automotive Compilation, Vol. 4
VMU
AVR32 AP CPU Coprocessor
Nexus Class 3
16-KB ICACHE MMU 16-KB DCACHE
OCD
DMA
16-KB SRAM
Image Sensor
DMA
Interface
DMA Controller
DMA
Ethernet MAC0
Bus Matrix
EBI
DMA
Input/Output Pins
Ethernet MAC1
SDRAM
Controller
DMA
LCD Controller
ECC
Peripheral DMA
Static Memory
Input/Output Pins
Controller
Controller
PS2
System Manager
Peripheral Peripheral
TWI Bridge Bridge
PIO
INTC
Peripheral Bus B
USART0 EMAC0
USART1 PWM
PDC
PIO
EMAC1
USART2
ISI
Peripheral Bus A
USART3
TC0
USB
TC1
BUS Matrix
SPI0
PDC
SMC
DMA
SPI1 DAC
SDRAM
ECC
DMA
AC97
SSC0 Configuration
PDC
SSC1 Registers
SSC2
DMA
MCI
Peripheral Bus A
Application Demon-
strator Description Figure 4 LDW Application Demonstrator
The LDW algorithm, initially devel- an SD card available on the STK1000 of the Inrets/Livic algorithm devel-
oped on a PC platform, has been kit, on which the complete program oped in C/C++ inside the software
ported to the AT32AP7000 dedi- and Linux OS is also resident. A 128- architecture. The complete code is
cated to multimedia, communica- MB SD card is sufficient to store a full then compiled on the AVR32 using
tion, and image processing applica- sequence together with the applica- the G++ compiler. Some optimiza-
tions. The environment has been set tion code. tions are performed smoothly by
up with the following elements: introducing SIMD instructions as well
• AT32STK1000 development kit A simple man-machine interface is as dedicated co-processing such as
with AVR32 clocked at 150 MHz performed using 2 buttons to turn Vector Multiplication Unit instructions
• Linux® OS 2.6 with a full AVR32 the algorithm on/off or to change the in some software libraries.
module support visual information for the user. Sec-
• A free-of-charge GCC C/C++ ondly, real-time image processing The result is very impressive with
cross compiler for AVR32 target is shown on the LCD TFT screen of a system capable of processing
In order to have an application dem- the development kit divided in four more than 10 fps (frame per sec-
onstrator, it is clear that images have regions, each one showing different ond) images, which is close to what
to be produced from pre-recorded view of the processing. system manufacturers expect for
image database before having a such applications as it shall repre-
complete sub-system installed in a The software implementation is quite sent around 5 meters at a speed of
vehicle. Thus, images are stored on straightforward, with the integration 200km/h.
www.atmel.com
54 Atmel Automotive Compilation, Vol. 4
Conclusion Linux OS provides a simple way to system platform for designers. New
port applications as many drivers for applications can be developed in
Atmel provides a complete devel- peripherals have been already devel- a very short time using this sys-
opment environment to system oped. Furthermore, free-of-charge tem as a basis. New technologies
designers. Combining the knowl- compilers and tools maintain low such as vision systems may sooner
edge gathered from the participa- costs in the first step toward dem- rather than later enter the automotive
tion in European projects dealing onstration. arena.
with image processing applications
for automotives with the unique and Final systems with CMOS imagers
powerful AVR32 architecture results can be developed fairly quickly by
in an efficient system implementa- interfacing the sensor directly to the
tion and targeted future automotive AVR32 through its on-chip camera Originally printed in Hanser Automotive,
safety applications. interface, providing an optimized November 2006.
www.atmel.com 55
Body
Electronics
Door
Automotive motorized windows cars. The ability of dense electron- powered window but which can be
or doors that close automatically ics to improve control sensors and easily adapted to any other moving
involve the risk of trapping, squeez- actuators is utilized to enhance part.
ing, or injuring people. They must comfort and safety in cars. Most of
reverse their movement if the force middle and upper-class vehicles are The Standards
applied by the motor is higher than equipped with motorized window or
the normalized limit. The feature door systems. The majority of this Power-operated automotive win-
requires the constant monitoring of equipment comes with full automa- dows are governed by international
the speed, current, and position of tion, however, it must also be accom- standards: MVSS118 in the USA or
the glass. For cost and simplicity, the panied by safety systems to prevent 74/60/EEC in Europe. The require-
system described in this article uses injury to people or mechanical deg- ments specified in these standards
a universal brush motor equipped radation. The legislation offers a set can be summarized as follows:
with hall-effect sensors. The detec- of rules to which powered systems • Detection area: 4 mm to 200 mm
tion algorithm is based on speed and must comply. This is particularly true • Maximum pinch force = 100N
torque derivate and has been verified for window lifts or sliding doors. An • Reverse direction on a pinch
for robustness and fault tolerance. It application note describes how to • Tests with determined deflection
is applicable to all Atmel AVR Flash
® ®
implement an anti-pinch algorithm, ratio objects: 5N/mm to 20N/mm
microcontrollers with an A/D con- which was initially developed for a
verter and interrupt-on-Change I/O.
Powered Equipment
in Modern Cars
www.atmel.com
56 Atmel Automotive Compilation, Vol. 4
• Direct measurements: force sen- The force applied to the glass can be
sors or contactors are integrated extrapolated from the current through AVR Implementation
on the door seal. These solutions the motor. The position of the moving
are costly and reduce the styling elements permanently provides infor- The algorithm detailed in the previous
possibilities for window/door mation on speed. Both parameters paragraphs has been implemented
designs can then be used to determine if an and tested using an AVR ATmega88-
• Indirect measurements via physi- obstacle has been encountered and based board.
cal monitoring. This is a global if it is in the detection area and if the
cost-optimized solution. force applied increases higher than The hardware used for the imple-
the limit. mentation of the algorithm is shown
in figure 2. It implements a standard
Anti-pinch Algorithm This document describes an anti- ATmega88 as well as an analog
Specification pinch algorithm developed to work chain to measure the motor current.
with motor current measurements It has two hall-effects sensors. The
The pinch detection algorithm should and hall-effect speed indications. With motor direction is controlled by one
first respect the requirements of the minor modifications, the algorithm two-pole relay, while the ON-OFF of
standards (FMVSS118 & 74/60/EEC): can be adapted to other systems like the motor is activated by a MOSFET.
• Detection area from 4 to 200 mm sliding doors or roof panels.
www.atmel.com 57
Programming Flash
www.atmel.com
58 Atmel Automotive Compilation, Vol. 4
Safety
When it comes to GPS, many people immediately think The article was first published in the April 2007 edition of
about handheld devices from TomTom, Garmin®, or GPS World and introduces a new driving concept real-
Magellan®, which are used for personal navigation. This ized at a prototype stage with Atmel’s ANTARIS®4 GPS
article, however, describes the potential that can be chipset. The ANTARIS4 chipset is currently being used in
unlocked using GPS technology as an enabling tech- various BMW models for their in-car navigation systems.
nology for exiting new applications like the Dynamic Jörg M. Alber
Pass Prediction from BMW®, which perfectly underlines This article has been reprinted with the kind permission of Dr. Jan
BMW’s “sheer driving pleasure” ambition. Loewenau, BMW Group Research and Technology
Abstract times – even where the general con- Should ACC Active Cruise Control,
ditions for mobility are not always for example, start to accelerate the
The paper introduces a new driver perfect. car after a vehicle ahead has moved
assistance system within the BMW out of the car’s direct lane, the driver
ConnectedDrive concept. Based on Growing traffic density and its con- is able to reduce speed again imme-
the driving dynamics and naviga- sequences such as traffic congestion diately to let another motorist merge
tion data, the Dynamic Pass Predic- and longer traveling times, as well as into his own lane.
tion (DPP) indicates road sections the greater complexity of many traffic
that are not safe for overtaking. By situations, are making driver assis- Consistent application and implemen-
reducing the enormous driver work- tance systems increasingly attractive tation of these principles always pays
load before overtaking situations a and useful. These systems give the off. And as a result, driver assistance
safer and more comfortable driving is driver helpful information making it systems developed and introduced in
achieved without losing driving plea- easier to make decisions and handle series production by the BMW Group
sure. This example shows how driver difficult and complex traffic situa- are acknowledged not only as innova-
assistance systems can take advan- tions. Hence, driver assistance sys- tive, but also as attractive and mature,
tage of navigation data especially if it tems serve to ensure superiority at making a practical and, therefore,
contains curve and sign information. the wheel even under difficult condi- much appreciated contribution to
With the quality of navigation data tions, enhancing both safety in road superior motoring at all times.
available today the DPP function is traffic and sheer driving pleasure at
feasible. Taking driving parameters all times. About 43% of severe traffic accidents
into account, a situation adaptive today occur on rural roads. Typically,
recommendation provides even more The fundamental principle applica- severe accidents can be assigned
benefit for the customer. ble to all functions is that the driver to following accident sites: 33%
retains an active role and responsibil- on curved roads, 18% on sloped
ity, remaining in control of the car and roads, 20% at or close to intersec-
Introduction its functions at all times. And a further tions, 29% on other places, see [1].
point is that generally driver assis- On rural roads, overtaking counts for
More comfort, more performance, tance systems only take effect when about 10% of all severe accidents.
more safety. Precisely these are the activated by the driver. The driver Even though road traffic in Europe
demands BMW Group products naturally retains the final decision in is steadily increasing, the number of
consistently meet and fulfill at all the assessment of traffic situations. fatal accidents was reduced by 40%
www.atmel.com 59
www.atmel.com
60 Atmel Automotive Compilation, Vol. 4
Map Database the curvature data is of good quality. DPP. Typically, DPP will be used on
The legal overtaking restrictions are cross-country roads where frequency
A prototype version of DPP is based not part of standard NAVTEQ digi- of crossings is not very high. In addi-
on commercial NAVTEQ ®
digital tal map attribute set. NAVTEQ col- tion, on each such crossing the EH
maps that can be found in most of lected and integrated to the data- algorithm takes the most important
today’s in-car navigation systems. base number of street attributes that road to follow. Drivers only turn to
may affect the overtaking decision side roads either when they know in
To find out of if a street segment is process. For instance, positions of advance which path they will follow
suitable for overtaking, the DPP sys- pedestrian crossings, traffic lights as (i.e., they already are aware of the
tem examines a number of standard well as street markers are inserted in crossing), or if calculated route follows
street attributes such as number the database of the test area. that way. In the later case, since cal-
of lanes, form-of-way (motorway, culated route is used as parameter in
single-carriage road, roundabout), EH algorithm, the side road will be on
speed restrictions, etc. Electronic Horizon the most-probable-path and the turn
and Most-Probable- will be taken in account by the DPP
Another important element in the Path algorithm.
realization of DPP functionality is
availability of street curvatures. While An extract of the digital map contain-
this data is not yet available in com- ing streets that can be reached by DPP Driving
mercial digital maps, NAVTEQ pre- the car in the near future is called an Dynamics
calculates the curvatures at shape Electronic Horizon (ADAS Horizon,
points using existing street geometry. Extended Driver Horizon). The path Based on road geometry and other
In general, such calculation can take on the Electronic Horizon that will attributes in digital navigation maps
place on-board. However, to achieve be followed with highest probability as well as actual driving dynamic
better results, a sophisticated spline- is called most-probable-path. Con- parameters, DPP informs the driver
interpolation algorithm is used. This struction of the Electronic Horizon about road sections that are not safe
method is calculation intensive and it and Most-Probable-Path is outside for overtaking. In the sense of the
is not practical to perform in real-time of scope of this article, but it can BMW ConnectedDrive concept, the
on the navigation computer. be said that EH is generated using driver gets knowledge about roads
probabilistic algorithms that takes ahead even when he is driving in
In the digital map database, calcu- into account the number of street unfamiliar areas. This avoids the con-
lated curvatures for street shape attributes as well as the calculated tinuously increasing willingness of the
points are stored. In addition, on route (if available). driver to take an overtaking risk. By
each crossing, one curvature value using DPP in overtaking situations,
for every pair of streets is pre-cal- DPP algorithms examines only street safe, relaxed and comfortable driving
culated and stored in the database. segments along the Most-Probable- is achieved.
Hyperbolic interpolation is used to Path. While is possible that the Elec-
emulate continuous curvature func- tronic Horizon most-probable-path Since the proposed system does not
tion over entire street length. During does not correspond with the driver’s monitor oncoming traffic, it will not
the road tests, it was found out that intentions, this situation is very rare in indicate that overtaking is safe. So
www.atmel.com 61
SH
S1 I1 S2 I2
SL
the complete maneuver remains the
driver’s responsibility. As a matter of 2
course the driver is obliged to obey
effective traffic rules.
2 1 1 2
V V V
Vm < Vmax Vm = V1 Vm > Vmax
Vm Vm Vm
Vmax
V1 V1
V0 V0 V0
ta td ta ta tc td
t t t
Figure 3 Speed Plot During the Over- Figure 4 Speed Plot During the Figure 5 Speed Plot During the Over-
taking Maneuvers (Vm < Vmax) Overtaking Maneuvers (Vm = V1) taking Maneuvers (Vm > Vmax)
www.atmel.com
62 Atmel Automotive Compilation, Vol. 4
Figure 6 to 8 Orange Road Sections Indicate “Overtaking Not Recommended” for Various Velocity Parameters
Hardware and mentioned GPS receiver module the navigation display and on the
Software used in the and sends them via CAN. Figure 9 head-up display.
BMW vehicle shows a block diagram demonstrat-
ing how the GPS data and vehicle In this implementation, DPP is an
The GPS receiver module used for data are integrated into the onboard ADASRP 2006 Plug-In. Advanced
our prototype is manufactured by system with the map database and Driver Assistance System Research
U-Blox and based on the ANTARIS4 the presentation in the vehicle via Platform 2006 is Windows®-based
chipset. The U-Blox RCB-4H is an
ultra-low power GPS receiver board BMW Vehicle
featuring the ANTARIS4 position-
GPS
ing engine with SuperSense® Indoor ADASRP/NAVTEQ GPS Receiver
GPS. It is the pin-compatible suc- Module
Map Vector Map Database Access
cessor product of the RCB-LJ. The Database (PSF)
RCB-4H is equipped with a MCX/ GPS
OSX RF connector and a 20-pin con- Route Vehicle Odometer
Gyroscope
nector for power and digital I/O. The Calculation Positioning
Reverse Sig
supported Assisted GPS (A-GPS)
Vehicle CAN Bus
HMI, Visualization Figure 11 Dynamic Pass Prediction Integrated in the Head up Display
and Results from
Real Test Drives show the matched vehicle position event signs symbolize the reason for
and the electronic horizon in the navi- the classification in the DPP engine.
Dynamic Pass Prediction is imple- gation display. Figure 10 shows the The most-probable-path (MPP) is
mented in a 5 series sedan with illustration on the head-up display. part of the electronic horizon. If mul-
navigation system and head-up tiple reasons recommend not pass-
display (HuD). Results from real test If a road segment is straight and free ing, an MPP event sign representing
drives have shown that the system of crossings but too short for over- the first reason will be shown. All the
enhances safety and actively sup- taking, it will be marked with light colours in visualization are freely con-
ports drivers without interfering. orange color. Since the overtaking figurable. It is possible, for instance,
The calculated distance is matched distance is a function of speed, it is to set the colour of ‘too short’ seg-
with map and navigation data where possible that road segments that are ments same as colour ‘do not pass’
overtaking is not recommended. The too short become white if the vehicle segments.
resulting information is shown on the changes speed.
head-up display and on the naviga- As illustrated in the HuD design (Fig-
tion display (shown in Figure 10 and Segments, which the DPP algorithm ure 12), the vehicle on the display is
Figure 11). In Figure 10 the orange finds unsuitable for overtaking, are orange if the start of an overtaking
colored bars indicate road sections marked in orange color (see fig- maneuver is not recommended; oth-
that are not safe for overtaking and ure 12). most-probable-path (MPP) erwise the vehicleis shown in white.
www.atmel.com
64 Atmel Automotive Compilation, Vol. 4
Figure 12 demonstrates the function tem is able to relieve drivers of their Conclusion
on the road. The Dynamic Pass Pre- responsibility at the wheel. The driver
diction info not only enhances driving is still required to properly assess traf- Driver assistance systems heav-
comfort and ensures a superior style fic conditions and take appropriate ily rely on remote sensing for road
of motoring, but also help to optimise decisions. The system does provide traffic situation perception. The con-
active safety on the road. It is a fact very effective and helpful support in cept of advanced vehicle navigation
that one out of every ten severe traf- this process, reliably telling the driver extends the driver’s visual horizon to
fic accidents on country and over- where it is not advisable to overtake an electronic horizon with a much
land roads in Europe is attributable a slower vehicle. larger range. The ability to combine
to overtaking. In many cases this is dynamic data (such as vehicle data)
due to a lack of knowledge of local and map data (such as the roadway
conditions and the road itself lead-
ing to false assessmenta of traffic
and overtaking options. Dynamic
Pass Prediction, therefore, makes it
much easier for the driver to choose
precisely those sections of the road
where the driver can overtake at min-
imum risk. The bottom line, therefore,
is that the driver benefits from better
knowledge of local conditions and
again can relax to an even greater
extent at the wheel.
geometry from a vehicle navigation extending driver horizon and there- aiming at supporting and promoting
system), provides the means for a fore contributing to safer, smarter, and the development and the implemen-
driver assistance system to generate cleaner road transport. For a predic- tation of a standardized interface
a “clear” picture of the current traffic tive sensor called ADAS Horizon, in- between ADAS applications and dig-
scene. vehicle digital maps are an important ital map content. The ADASIS Forum
source of information providing look- is composed of 30 members from
BMW has proven by series appli- ahead capability for ADAS applica- vehicle manufacturers, ADAS suppli-
cations, that the integration of tions and providing further informa- ers, navigation system suppliers, and
advanced vehicle navigation in driver tion for on-board sensors to enhance map providers.
assistance systems, can bring sub- environment perception. This paper
stantial benefits in terms of reliability, reports on results from the European
robustness, increased functionality, Commission project MAPS&ADAS, References
fuel efficiency, active safety and per- part of PReVENT Integrated Project,
formance. Driver assistance products dedicated to the development, test- [1] Source: Statistisches Bundesamt
using map databases as an additional ing, and validation of a standardized Wiesbaden, September 2005.
information source will most likely be interface (ADAS Interface) between [2] www.ConnectedDrive.com
introduced in phases. The Dynamic ADAS applications and ADAS map [3] Loewenau, J.P. et al (2005),
Pass Prediction is based on avail- data sources for accessing map data MAPS&ADAS: Real Time Opti-
able GPS technologies and common for vehicle position. mization of Active Cruise Control
map databases designed for driver with Map Data using a Standard-
assistance systems. Even with the MAPS&ADAS (start February 2004, ized Interface, 12th World Con-
quality of navigation data available duration 3 years) is a subproject of gress on ITS, San Francisco,
today, BMW’s DPP system can be the Integrated Project (IP) Preven- USA 2005
enhanced by dynamics, which adapt tive Safety (PReVENT), funded by [4] Brandstaeter, M. et al (2004),
to the situation providing even more the European Commission. The “Functional Optimization of Active
benefit for the customer. By using MAPS&ADAS subproject seeks to Cruise Control using Navigation
DPP in overtaking situations, safer develop and validate appropriate Data”, SAE 04AE-155, Detroit,
more comfortable and superior driv- methods for the collection and main- USA 2004.
ing is achieved. tenance of safety content to be inte- [5] Loewenau, J.P. et al (1999),
grated into safety-enhanced in-vehi- “Advanced Vehicle Navigation
To travel safely and in relaxed style at cle digital maps and related changes applied in the BMW”, The Royal
all times, it is essential for motorists of the standardized exchange for- Institute of Navigation, Notting-
not only to maintain superior con- mat (GDF) to be used in ADAS and ham, England 1999, and Ven-
trol of their cars, but also precisely Navigation Applications, as well as hovens, P.J., et al (1999), “The
assess the road ahead. It is precisely a standard interface from navigation Application of Advanced Vehicle
for this reason that BMW’s modern systems or general positioning and Navigation in BMW Driver Assis-
navigation systems support drivers map systems towards ADAS that tance Systems”, SAE1999-01-
in providing clear orientation and, in make use of map data for track pre- 0490, Detroit, USA 1999.
future, by offering additional informa- view purposes. The MAPS&ADAS
tion on the course of the road and consortium is composed of leading
for appropriate judgment of current partners: ERTICO (project coordina-
traffic conditions. tor), BMW, DaimlerChrysler, Ford®,
Volvo Tech, Blaupunkt, Navigon®,
Siemens® VDO, Navteq, Tele Atlas,
Outlook for MAPS & Lower Saxony, Transver, and Hanover
ADAS and ADASIS University. Dr. Jan Loewenau
Forum BMW Group
The ADASIS Forum acting as the Research and Technology
Digital maps have large potential to MAPS&ADAS user forum is a self- Hanauerstrasse 46
enhance or enable Advanced Driver funded industry initiative launched in D-80992 Munich
Assistance Systems (ADAS) by 2002 and coordinated by ERTICO, E-mail: [email protected]
www.atmel.com
66 Atmel Automotive Compilation, Vol. 4
Standard
Products
In 1996, Atmel® introduced its first Automotive over 75 microcontrollers. This increase
Automotive-grade Serial EEPROM Applications in electronics and sensors means the
product becoming the first Serial automotive market is experiencing
EEPROM (SEEPROM) supplier for The electronic content in passenger ever more issues relating to data han-
the automotive electronics industry. automobiles and trucks has been rap- dling and data storage.
idly increasing over the years with no
Since then, Atmel has grown to offer end in sight as systems become more The reasons for the increase in elec-
the industry’s broadest automotive intelligent and require more data stor- tronics are mainly safety-related
EEPROM product portfolio providing age. The average low-end car can resulting from recent advancements
innovative products with outstanding have 20 to 30 electronic control units, in ABS systems with traction con-
quality, service, and support. while a high-end luxury car can have trol, airbag, electronic shift, electronic
Smart Airbag
Occupa
Steer-by-Wire HVAC
Diagnostics
Automatic
Transmission Atmel
Atmel
Atmel SEEPROM
SEEPROM
SEEPROM
Adaptive Atmel
Cruise Control Atmel SEEPROM
SEEPROM
Atmel
SEEPROM Atmel
SEEPROM
Headlight Atmel
Dimming SEEPROM
Atmel
SEEPROM
Atmel
SEEPROM Atmel Atmel
SEEPROM SEEPROM
Atmel
SEEPROM
parking brakes, dynamic stability con- retention is another challenge but not Summary
trol, multimedia platforms to include for Atmel’s SEEPROMs as all prod-
DVD players with car navigation, air- ucts have over 40 years of proven For over a decade, Atmel has been
bags and crash recording (black-box) data retention. the leading Serial EEPROM supplier
technology – just to name a few. to the automotive electronics indus-
try, dedicated to supplying the highest
The challenge of handling and storing AEC–Q100-Qualified quality automotive products across the
data in automotive systems makes broadest density and protocol product
selecting the right memory medium Within its extensive product portfolio, portfolio. For more information, please
ever more important. One inference Atmel offers AEC-Q100-Qualified (–40 visit our website at:
is that increased data handling results to +125ºC) automotive grade 2-wire, http://www.atmel.com/dyn/prod-
in an increase in frequency of data 3-wire, and SPI bus protocols in den- ucts/datasheets.asp?family_id=647
updates. Atmel’s Serial EEPROM sities ranging from 1 Kbit to 256 Kbit.
products are perfectly suited for this All devices are available in 8-lead
requirement as they can be written to SOIC and TSSOP packages and are
over one million times. Memory data also available in “Green” versions.
ancy Sensors
Power Windows
Seat Position Anit-Pinch/Trap
Atmel
SEEPROM
Atmel Atmel
SEEPROM SEEPROM Parking Sensors
M
Atmel
SEEPROM
Keyless Entry
Pressure/Temperature
Sensors
www.atmel.com
© 2007 Atmel Corporation.
All rights reserved. Atmel®, logo and combinations thereof, AVR®, AVR Studio®, ANTARIS® , and others, are
registered trademarks, SMARTIS(tm) and others are trademarks of Atmel Corporation or its subsidiaries.
Windows® is a registered trademark of Microsoft Corporation. Other terms and product names may be the
trademarks of others.
Ref.: 4649A-AUTO-07/07/03M
Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by
estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Atmel products.
EXCEPT AS SET FORTH IN ATMEL’S TERMS AND CONDITIONS OF SALES LOCATED ON ATMEL’S WEB SITE, ATMEL ASSUMES NO
LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
NON-INFRINGEMENT. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL
OR INCIDENTAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS AND PROFITS, BUSINESS INTERRUPTION,
OR LOSS OF INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS BEEN ADVI-
SED OF THE POSSIBILITY OF SUCH DAMAGES. Atmel makes no representations or warranties with respect to the accuracy or com-
pleteness of the contents of this document and reserves the right to make changes to specifications and products descriptions at any
time without notice. Atmel does not make any commitment to update the information contained herein. Unless specifically provided
otherwise, Atmel products are not suitable for, and shall not be used in, automotive applications. Atmel’s products are not intended,
authorized, or warranted for use as components in applications intended to support or sustain life.