-
外文文献及译文
文献、资料题目:
Design and
Implementation Intelligent
Car Wiper Based on LIN Bus
文献、资料来源:
Trans Tech
期刊
文献、资料发表(出版)日期:
2012
< br>年
04
月
12
< br>日
学生姓名:
学号:
系
别:
专
业:
指导教师:
职称:
2017
年
5
月
19
日
Design and
Implementation intelligent car wiper based on LIN
Bus
Abstract
:
Contrary
to
the
problem
that
the
process
of
rainy
car
manual
manipulation
causes much interference to the driver,
a design method for intelligent car wiper based on
the LIN bus is proposed. It adopts the
chips MC9S08DZ60 and MC33661 as the controller
from Freescale that dedicated to the
automotive electronics field. During its working,
with
the
rain
sensor
sensing
the
magnitude
of
outside
rainfall,
it
can
automatically
adjust
the
wiper speed, achieving
the intelligent wiper control.
Keywords:
Rain wiper
control, LIN bus, Intelligent, Freescale.
1
Introduction
The
number of wiring harnesses is increasing at the
double speed by the growing in the
quantity of automotive electronic
components. The increasing of wiring harness
occupies
the interior effective space
and enlarges the cost of vehicle. On the other
hand, it impedes
the
improvement
of
vehicle
reliability.
LIN
bus,
as
a
low-cost
serial
bus
technology
meeting
the
requirements
of
car
body
electronics,
can
provide
a
low-
cost
and
short-distance
network connection for electric machines,
switches, sensors and
light
[1]
.
As an important
part of
the electronic automotive vehicle,
car
wiper
plays a
particularly
important role in the rain
and fog weather. At present, the automobile wiper
control system
in the market mainly
adjusts wiper speed through manually. The manual
adjustment will
not only cause some
interference to the driver's energy but also can
not promptly respond
to
the
sudden
incident
such
as
rain
splashing
on
the
windshield,
increasing
the
accident
probability. Therefore, it’s especially
important to install the intelligent car wiper on
the car
body.
Based on the above introduction, the
text designs and implements an intelligent car
wiper
based on the LIN bus. We select
the Freescale chip MC9S08DZ60 and MC33661 as the
controller to complete the hardware
design and communicate with the rainfall
monitoring
devices or central
controller through the LIN bus. Its overall block
diagram can be seen in
Figure 1.
Fig.1 The overall block
diagram of intelligent car wiper
LIN bus protocol
2
Protocol
Overview
:
LIN bus network
consists of a master node and several slave nodes.
Each node contains a secondary
communication task decomposed to
the
task of sending
and receiving. The master node also
contains an additional major sending task. The LIN
bus communication is
usually
composed of the
responses
generated by the master node,
namely the main task and the secondary
task
[2]
.
There are several main features in the
LIN protocol. First, it’s in low cost and carried
out
based on the common SCI / UART
interface. Secondly, it uses the mode of one
master and
several
slaves.
The
data
priority
is
determined
by
the
master
node
and
can
be
changed
flexibly according
to the need. Lastly, the delay time of signal
transmission can be ensured.
The
highest transfer rate can reach up to 20kb/s and
its largest bus length is 40m.
Message Frame
Structure
:
The formation of
message frame from LIN bus includes the
header and the response. The header is
made up of interrupt, synchronization and
protected
identifier.
The
response
consists
of
data
field
and
check
sum,
of
which
the
data
field
includes one to eight data bytes. All
the other fields in the message frame except
interrupt
follow
the
byte
and
can
be
generated
by
the
serial
communication
interface
of
microcontroller.
Hardware design and
achievement
This
design
uses
the
microchip
MC9S08DZ60
as
the
main
chip
and
is
powered
by
the
MC3388. The main chip connects with the
wiper controller MC33486 through I/O ports to
control the rotating direction and
speed of the wiper electric machine. The sensor
KM241
as
the
detecting
device
of
wiper
machine
gets
its
speed
and
position
and
sends
to
the
microcontroller by AD ports. Meanwhile,
it communicates with rainfall monitoring device
and MCU module through the LIN
controller MC33661[3]. The overall circuit is
shown in
Figure 2.
3
Fig.2 The overall schematic of
intelligent car wiper
MCU
module
:
As shown in Figure 2,
we select the Freescale chip MC9S08DZ60 as the
microcontroller. It is 8-bit microchip
in higher integration and powerful function
specially
designed for the automobile
field, providing the Freescale embedded CAN,
EEPROM and
on-chip emulation/debug
module in the lowest cost. The chip has an
internal flash memory
of
60K,
RAM
memory
of
2K
and
E2PROM
memory
of
1K.
MC9S08DZ60
can
communicate with
peripheral intelligent chip using SPI module of
which the SCI module
can achieve the
LIN bus communication
[4]
.
Power
module
:
The power module is
the device that provides voltage conversion to
wiper
controller. The voltage of power
supply in the car battery is 12V DC while the MCU,
LIN
transceiver and Hall sensor are the
power supply device in 5V
, therefore,
the power module
needs to convert 12V
to 5V and supply to them.
The chip
MC33889
:
is selected for the
power management. It can work in the car ultimate
application range of
-40
℃
to
125
℃
with CAN physical layer
and voltage stabilization. It
has
internal
watchdog
timer
and
local
wake-up
circuit
providing
MCU
a
stable
5V
operating voltage. In addition, its
integrated design reduces packaging cost and
increases
the design flexibility.
Wiper
electric
module
:
Wiper
electric
module
works
with
the
PWM
output
by
4
microcontroller
going
with
intelligent
power
components
to
adjust
the
speed
of
electric
machine
and
drive
the
forward
and
reverse
rotation
of
wiper
machine.
Moreover,
it
can
make appropriate response to the
condition whether the machine was blocked.
Wiper control module adopts
MC33486 to be the controller of which the stable
output is up
to
10A,
especially
meeting
the
control
requirements
in
positive
and
inverse
phase
demanding
high
power
and
impact
current
such
as
the
electric
window
machine,
wiper
machine
and
so
on.
In
the
regulation
for
wiper
machine,
two
different
power
output
modules respectively
control the coil of wiper electric machine in high
and low speed.
Detecting
device for wiper
machine
:
Intelligent car
wiper need to make real-time monitor
and control to wiper rotation so that
it’s necessary to monitor the status of wiper
machine
such as position , speed,
temperature and so on. The system selects the Hall
sensor KMZ41
to
work
with
the
microchip
so
that
the
angle
signal
within
the
range
of
180°
can
be
measured.
After
detecting
the
position
of
wiper
machine,
the
microcontroller
will
determine whether
current position is correct. If not, it makes the
electric machine rotate to
the
correct
position.
Then,
after
detecting
its
speed,
the
single-chip
receives
the
number
and
compares it to given value to make wiper machine
run in the most accurate speed.
Software design and achievement
In this design, we use software
simulation to achieve the intermittent operation
of wiper
machine. Timing 3s by the
system timer, the MCU outputs chip selection
signals of wiper
machine
to
MC33486.
Then,
the
gear
judge
is
entered
and
the
corresponding
switch
variables are read to
carry out the wiper operation.
Software design of wiper
machine
:
When the
microcontroller detects the condition that
wiper
switch
is
pressed,
it
will
judge
the
gear
and
enable
MC33486
to
complete
the
corresponding wiper control operations
according to different gears. First, it determines
the
gear
and
carries
out
error
detection
as
well
as
marking
the
error
counting
variable.
If
everything
is
normal,
the
appropriate
action
will
be
taken.
The
total
flow
of
software
5
design is
shown in Figure 3.
Fig.3
The total flow chart of software design for wiper
machine
LIN
drive
and
software
design
of
the
wiper
system
:
According
to
the
LIN
2.X
specification,
the
master control node
sends LIN messages and the slave nodes feedback
them. Only when receiving the
query
frame from the master node could the slave node
send feedback frame to the master node.
LIN communication need to
configure two files:
including
the
receiving
and
sending
direction
of
ID
and
frame
length.
The
document
mainly
defines the baud rate, clock, and bit
time of SCI communication. Configured with these
two files, the
register definition in
DZ60 and set the interrupt vector.
After configuring the above
conditions, the data sending can be achieved by
the steps shown in Figure 4.
Figure 5
is the flow chart of data receiving in the master
node. To the slave node, the LIN_MsgStatus
(MsgId) should be called and determine
whether the data under ID is LIN_OK. If there is
data, the ID
data in the buffer can be
transferred to *data which is defined by user by
calling LIN_GetMsg (MsgId ,
*data).
6
Fig.4 Data
sending
Fig.5 Data reception flowchart
of master node
Conclusion
Contrary
to
the
disadvantages of the
existing wiper
control system, the text
proposes
an
intelligent car wiper control system
based on LIN bus. It can control the speed of
wiper
machine
based
on
rainfall
information
and
achieve
the
communication
between
wiper
controller
and
ECU
through
the
LIN
bus,
making
the
wiper
intelligent.
In
addition,
the
extensive
application
of
LIN
bus
in
the
automobile
field
encourages
more
devices
supporting LIN protocol to be produced.
After doing some modifications to MC9S08DZ60,
the system can achieve the data
transmission with other automobile devices,
increasing the
design flexibility.
Acknowledgment
This
paper
is
supported
by
Tianjin
Social
Development
key
Foundation
of
China
(NO.
09ZCGYSF00300)
and
Tianjin
Key
Laboratory
for
Control
Theory
and
Application
in
Complicated Systems,
Tianjin University of Technology, Tianjin 300384,
China.
References
7
-
-
-
-
-
-
-
-
-
上一篇:关于英语中形容词的分类
下一篇:最新英语高级词汇替换