Journal Publication of International Research for Engineering and Management (JOIREM)
Volume: 10 Issue: 05 | Oct-2021
Vehicle control system implementation Using CAN protocol
Rohit Ingle1
Department of Electrical Engineering & K. V. N. Naik Collage of Engineering, Nashik
---------------------------------------------------------------------***---------------------------------------------------------------------
Abstract - Present Autos area unit being developed by Fig 1. Existing and Proposed vehicle control system
added of electrical belt for effective operation. usually a Fig. one shows the vehicle management of living and
vehicle was assembled with associate analog automobilist- planned system. A vehicle was typically created with associate
vehicle interface for indicating chromatic vehicle standing like degree analog motorist- vehicle interface for indicating
speed, energy degree, Engine temperatureetc., This paper polychromatic parameters of auto standing like temperature,
presents the event and accomplishment of a digital driving pressure and speed etc. to reinforce the motorist- vehicle
system for asemi-autonomous vehicle to ameliorate the interface, associate degree interactive digital system is
automobilist- vehicle interface. It uses associate ARM intended. A microcontroller adorned information accession
grounded knowledge accession system that uses ADC to bring system that uses ADC to bring all management information
all management knowledge from analog to digital format and from analog to digital format is employed. Since the in-
vanity through Plasma. The communication module employed vehicle data systems square measure detached everywhere the
in this arrangement is bedded networking by will that has body of a sensible vehicle, a communication module that
effective knowledge transfer. It conjointly takes feedback of supports to use a 1 stop management of the vehicle through the
car conditions like Vehicle speed, Engine temperature etc., master management of the digital driving system.
and management led by main control. additional this unit 2. HARDWARE STRUCTURE
equipped with GSM that communicates to the holder
throughout brink things.
The things structure typically integrates the will motor
Keywords: eu (Engine management Unit), will (Controller regulator, ARM because the main management module, Tube
space Network), Bedded C, GSM (Global System for Mobile ( show at hand Digital interface, GSM for mobile
communication)) communication and different accessories.
1. INTRODUCTION A. CAN bus
1. CAN Bus in an Automobile
With quick dynamical pc and knowledge technology and
material of the technology chancing manner into vehicles. they will may be a local area network ( Transplanted space
are passing dramatic changes in their capabilities and the way Network) regulator will motor will transfer the serialized
they act with the motorists. though some vehicles have viands information one by one. Fig two shows a typical infrastructure
for deciding to either effect warnings for the mortal driver or from associate degree automotive. All players within the will
dominant the vehicle autonomously, they usually should build
these diagnoses in real time with solely [*fr1] data. So, it is motor subsystems square measure accessible via the
vital that mortal motorists still have some management over management unit on the will motor band for transferring and
the vehicle. Advanced in- vehicle data systems provide taking information. will motor is amulti-channel gear
vehicles with differing kinds and reaches of intelligence to mechanism. once a unit fails, it does not have an effect on
backstop the driver. The preface into the vehicle style has
others. the info transfer rate of will motor in an exceedingly
allowed Associate in Nursing truthful dependent relationship
between the driver Associate in Nursingd vehicle by giving a vehicle system is completely different. For representative, the
complicated & intelligent motorist- vehicle interface through speed of {motor management|control} system and ABS is high
an intelligent data network. This paper discusses the event of speed of real- time control fashion of 125Kbps to 1M rate.
such a bearing frame for the vehicle that is named the digital- While, the speed of movement adaption is low- speed with
driving conduct, that consists of a conjunct expedient between
transmission rate of ten to 125K rate. Others like multimedia
the driver and vehicle for perception, call stuff and
management. system systems use medium- speed rate between the precedent
2.
© 2021, JOIREM |www.joirem.com| Page 1
Journal Publication of International Research for Engineering and Management (JOIREM)
Volume: 10 Issue: 05 | Oct-2021
also the core of ARM7TDMI-S ™ may be a low budget-
accustomed, action the management of the system. The
ARM7TDMI-S processor conjointly employs a novel field of
study strategy referred to as Thumb, that makes it pat suited to
high- volume employments with memory restrictions. It will
be utilized in a range of areas, akin as bedded management,
multimedia, DSP and mobile employments. The LPC2119/
LPC2129 square measure grounded on a16/32 bit
ARM7TDMI-S “ processor with real- time emulation and
bedded trace support, along with128/256 kilobytes (kB) of
frozen high speed bash memory.
Fig2. CAN bus system in an Automobile
A 128- bit wide memory interface and a novel accelerator
skeleton modify 32- bit law prosecution at most timer rate. It
2. CAN Bus for vehicle drive control System contains a 16/ 32- bit ARM7TDMI-S microcontroller during a
A typical drive system with the management unit has itsy-bitsy LQFP64 package. With their compact sixty four leg
electronic mechanical system system, transmission systems, package, low power consumption, varied 32- bit- channel 10-
antilock braking system (ABS), airbag systems etc. These units
bit ADC, two advanced will channels, PWM channels, Real
square measure the core parts in a very fashionable automotive
system. they're sensitive for time and closed to the Time Timer and Watchdog and forty six GPIO lines with up to
dependability and security of the complete system. As every nine external intrude legs these microcontrollers square
management unit for time {period|period of time|period} measure notably appropriate for automotive and natural
demand relies on the information update rate and therefore the management uses yet as medical systems and fault-tolerant
management period varies, so as to satisfy the period of time
needs of every system, it's necessary to attain the maintenance motors. It does not contain MMU ( memory
implementation of public information sharing, like engine supervising unit). however owing to its low value, trustability
speed, wheel speed, and throttle pedal location. The contents and different factors, it's universally utilized in varied natural
embrace the completion of speed activity, fuel activity, A/D regulators.
conversion, the calculation conditions, the management
mechanism and a series of processes. meaning the causing and
Other accessories
receiving information in 1ms should be completed inside the
electrical management of fuel so as to attain period of time
needs. Therefore, the information exchange network should be IR detector, Motor speed detector, Alarm, Temperature
a priority-based competitive mode, and features a terribly high detector, Pressure detector, Station detector, TV display, GSM
speed communication fashion. modem.
3. CAN Bus for accessories control system
CAN bus for vehicle system could be a leading
management network that connects many objects. they're
central controller, 4- gates controller, memory modules and
alternative parts. There ar many things controlled by the will
bus [2]. they're locker, windows, bags locker, mirrors and
interior dome lightweight. within the case of device, it involves
the device signal receiving and process the anti-theft and
warning systems.
B. Main control module
1. ARM Architecture
The ARM7TDMI-S may be a general purpose 32- bit Fig 3. Block diagram of proposed system
microchip, that offers high performance and very low power
Fig three shows the block visual of will vehicle system. It
consumption. The ARM coil is grounded on Reduced consists of 1 master swelling and 2 slavenodes.ARM because
Instruction Set pc (RISC) principles. it is the initial computer the master regulator (Engine management Module) that
architecture microchip designed for low- budget decision. one controls the vehicle standing with varicolored detectors. 2
among the everyday product is ARM seven family that is the Snap ICs square measure used as slave swellings to require the
inputs of auto standing. The communication between these
most efficient computer architecture. So, it's like low-cost, and detectors is finished by mistreatment will regulator. Slave
© 2021, JOIREM |www.joirem.com| Page 2
Journal Publication of International Research for Engineering and Management (JOIREM)
Volume: 10 Issue: 05 | Oct-2021
regulator receives the signals from vehicles like pressure,
temperature, power plant, and IR obstacles and GSMetc.,
transmit to master regulator with high speed rate. Master 4. WORKING MODEL CIRCUITS AND
controls the standing of auto and sends the feedback to RESULTS
wheelman panel by giving digital information’s via receiver
show and forewarnings. Presently Operator interface is digital
kind. By this wheelman will freely see the signals and fit
management the vehicle. IR holdback detector helps in
correlating the obstacles presence round the vehicle. Vibration
detector detects external force ( Hit by different vehicle or
mediumetc.,) and sends the signal to GSM. GSM can shoot the
dispatch to the owner of the vehicle.
Fig 5. Master circuit
3. SOFTWARE STRUCTURE
Fig 5 shows the circuit diagram of master node. It consists
The vehicle system is programmed mistreatment the of Arm LPC2129, Speed detection unit, LCD, Buzzer.
Embedded C and debugged with MPLAB X IDE.
Fig 6. Slave circuit
Fig 6 half-dozen shows the slave circuit. This unit consists a
pair of slave unit named as Slave one and Slave a pair of. each
slave units square measure PIC 18F4580 regulator. Power
stock for each slave units and different detectors square
measure five V DC. Slave one unit connected with three
detectors. Temperature detector, Pressure detector, Power
standing detector. This detector generates analog signal and
transport to Slave1 regulator. Slave one regulator changing
analog signal into digital signal, either sends to ARM regulator
through will MCP2551 regulator. Slave a pair of unit
connected with following units. IR stop detector, Vibration
detector, Sucker ( Vehicle speed), GSM modem.
Fig 4. Flowchart for program
Fig 4 shows the flowchart for Embedded C program for
vehicle control system using CAN protocol.
© 2021, JOIREM |www.joirem.com| Page 3
Journal Publication of International Research for Engineering and Management (JOIREM)
Volume: 10 Issue: 05 | Oct-2021
solves the matter of automotive system plays, additionally
incorporates a sure sensible price and significance. With ARM
Fig7. Working model
because the main management and it makes full use of the
high- performance of ARM, high- speed reduction of will
Fig 7 shows the working model of vehicle control system machine communication management networks and
using CAN. instrument management thus on come through full sharing of
knowledge between lumps and enhance their conjunct work.
Results: this method options fruitful information transfer among totally
different lumps within the sensible operations.
REFERENCES
[1] Kumar, M. A.Verma, and A. Srividya, Response-Time “Modeling
of Controller Area Network (CAN). Distributed Computing and
Fig 8. Pressure high alarm (More load) Networking, Lecture Notes in Computer Science Volume 5408, p
163-174, 2009.
[2] Tindell, K., A. Burns, and A.J. Wellings, Calculating controller
area network (CAN) message response times. Control
Engineering Practice, 3(8): p. 1163-1169, 2005.
[3] Li, M., Design of Embedded Remote Temperature Monitoring
System based on Advanced RISC Machine. Electrotechnics
Electric, 06, p. 273, 2009.
[4] Prodanov, W., M. Valle, and R. Buzas, A controller area network
Fig 9. Fuel level low alarm bus transceiver behavioral model for network design and
simulation. IEEE Transactions on Industrial Electronics, 56(9): p.
3762-377, 2009.
[5] ISO (1993). Road Vehicles: Interchange of Digital Information:
Controller Area Network (CAN) for High Speed Communication.
ISO 11898:1993.
[6] B.Gmbh, “CAN specification” vol 1 Version 2.0, 1991.
[7] Pazul, “Controller Area Network (CAN) Basics”, Microchip
technology Inc., AN713, May 1999.
Fig 10. Obstacle detect alarm [8] Wilfried Voss, A comprehensive guide to controller area network,
Copperhill Media Corporation, 2005-2008.
[9] Benjamin C Kuo, M. Farid Golnaraghi, Automatic Control
systems, Eight edition, John wiley & sons., Inc 2003.
Fig 11. Over speed control OK
The liquid crystal display provided at the driver’s panel
displays the varied alarms generated with totally different
sensors. Alarm throughout the varied cases like high in tyres,
stockpile low, Obstacles round the vehicles, Over speed etc.,
Vibration sensing element receives detects with external
impact like accidents, sends the signal to GSM. GSM sends the
message to vehicle owner.
5. CONCLUSIONS
This program introduces Associate in Nursing lodged
system with a mixture of will motor systems. Digital
management of the vehicle is a crucial criterion of current
technology. With the fast development of lodged technology,
high- performance lodged processor is entered into the motor
determination, that is low value, high solidness and different
options to fulfill the requirements of the current motor
determination. The projected high- speed will motor system
© 2021, JOIREM |www.joirem.com| Page 4