Documente Academic
Documente Profesional
Documente Cultură
htm
ABSTRATO
O objetivo deste trabalho é projetar e desenvolver um carro
inteligente autônomo multiuso. O carro inteligente é um seguidor
de linha que rastreia uma linha preta, em uma plataforma branca,
com uma variedade de sensores infravermelhos. Para um
rastreamento eficiente, vários algoritmos de controle foram
implementados e os resultados foram comparados. O desvio da
trilha ou linha é tratado como um erro e o algoritmo escolhido
serve para minimizar esse erro. À medida que o desvio é reduzido,
o tempo de deslocamento, a distância e a energia consumida são
significativamente reduzidos. Para que a direção seja mais precisa
e suave, o mecanismo de controle Proporcional Integral e
Derivativo foi incorporado ao algoritmo escolhido. Todo o sistema
foi projetado em um circuito fechado, com o valor de erro sendo
devolvido aos servomotores para fazer a direção necessária. O
algoritmo de velocidade adaptável em malha fechada para motor
CC ajuda a modificar a velocidade, dependendo da natureza da
pista. O algoritmo de rastreamento para direção servo e o Fig 1: Carro Inteligente
algoritmo de controle de velocidade adaptativo para o inversor CC
ajudam a otimizar o rastreamento do caminho, proibindo a taxa de
aumento do erro. Portanto, é possível vincular o rastreamento e a 2.1 Circuito de Rastreamento
velocidade desejada. O desempenho do carro foi bastante Para detecção e correção de erros em alta velocidade, é utilizado
aprimorado pelo algoritmo proposto. o módulo sensor IR. O circuito do sensor consiste em 4 números
de LEDs infravermelhos [8], que fornecem alta intensidade
Palavras - chave : carro inteligente, microcontrolador, radiante, emissão estreita e tempo de comutação curto e 8
PID, seguidor de linha, controle automático de direção. números de fototransistores NPN [9] com boa área sensível à
radiação. O circuito transmissor e receptor de infravermelho é
1. INTRODUÇÃO mostrado na Figura 2 e na Figura 3. O transistor de comutação
A navegação autônoma em carros é um sonho para a humanidade [10] com amplificador operacional [12] atua como uma fonte de
há muito tempo. A década passada viu avanços revolucionários corrente constante para os LEDs de infravermelho.
no campo da automação e não demorará muito para que as
+ 5V
estradas sejam preenchidas com veículos pilotados
+ 5V
automaticamente. Quando se trata de dirigir, os seres humanos
têm um histórico de segurança terrível. Com base nos dados
coletados pela alta administração federal, existem quase + 5V SFH4550
6.420.000 acidentes automobilísticos nos Estados Unidos a cada 5K
ano. O custo financeiro desses acidentes é superior a 230 bilhões
de dólares. 2,9 milhões de pessoas ficaram feridas e 42.636
pessoas mortas. Cerca de 115 pessoas morrem todos os dias em TLC
SMBT3904
272
acidentes de veículos nos Estados Unidos, uma morte a cada 13 560
minutos .As estatísticas de acidentes de trânsito do
'Departamento de Transporte Rodoviário e Rodoviário da Índia'
relatam que existem cerca de 406.730 acidentes que matam
86.000 vidas humanas a cada ano. Portanto, essa tecnologia será 56.
um benefício para a sociedade. Para começar, implementamos
um modelo de protótipo para rastrear uma linha de maneira
adaptativa e autônoma.
12
comparison to that from the black surface. This voltage difference helps
our algorithm to predict the nature of the track. Analog signal from
sensors are connected to the on-chip analog channels of microcontroller.
https://www.htmlpublish.com/newTestDocStorage/DocStorage/1461563072/bcl_1461563072.htm 1/6
02/11/2019 bcl_1461563072.htm
Data acquisition rate, from the track, close to 1 to 2 ms is achieved using
this scanning circuit.
+5V
10K
To ADC
SFH314
13
https://www.htmlpublish.com/newTestDocStorage/DocStorage/1461563072/bcl_1461563072.htm 2/6
02/11/2019 bcl_1461563072.htm
3.2.2 Gray Scale Scheme
1. Compensation ratio (CR) is calculated.
CR = 256 ………………….. (6)
(black value − white value )
2. Compensated reading is found using CR
If reading > black value then reading=black
If reading < white value then reading=white
Compensated reading =(reading - white)⋅ CR …... (7)
14
https://www.htmlpublish.com/newTestDocStorage/DocStorage/1461563072/bcl_1461563072.htm 3/6
02/11/2019 bcl_1461563072.htm
To make the car to track the entire lap at desired speed 1 66 67 68 69 70 71 72 73
irrespective of the curvature and terrain of the track, adaptive 2 67 69 71 73 75 77 79 81
speed control algorithm is proposed. Constant rotation value 3 68 71 74 77 80 83 86 89
(CR) of the wheel is fixed for the constant speed of the car.
4 69 73 7 81 85 89 93 97
Current speed of the car (ROT) is measured and compared
periodically with CR. Based on the comparison result if the 5 70 75 80 85 90 95 100 105
current speed is greater that the desired speed (i.e.) ROT>CR 6 71 77 83 89 95 101 017 113
then the vehicle is slowed down by reducing the PWM to the 7 72 79 86 93 100 107 114 121
constant duty value (i.e) 65 to make the vehicle to move in the
desired speed. If the speed of the vehicle decreases from the
desired speed (i.e.) ROT<CR then we increment ‘Ks’ for every
iteration which increases the speed by increasing the PWM duty
gradually according to equation 16 until the vehicle reaches the
desired speed. Equation 16 shows how the PWM value for the
DC drive is assigned dynamically and they are tabulated in Table
2. In table 2 the first row values are the speed factor(Ks) value
which is incremented for every iteration. The first column value
is the difference of Constant Rotation value (CR) with the
Current Speed (ROT). When this difference is zero, vehicle
moves in a desired speed hence the row values are 65 which is
the PWM duty value for DC motor. When the difference is more,
the PWM duty value is increased for each iteration to attain the
desired speed. Different possible PWM duty values with respect
to the speed factor and speed difference is shown in table 2. Thus
the speed of the car is dynamically varied to maintain the desired
speed independent of the road conditions. This is the adaptive
speed control method which is proposed. The entire flow is
shown in the Figure 8. Fig 9: Adaptive speed 3D
PWM_duty = Const_duty +(Ks ⋅(CR - ROT)) ……. (16) Fig 10: Steer and Speed Control Structure
https://www.htmlpublish.com/newTestDocStorage/DocStorage/1461563072/bcl_1461563072.htm 4/6
02/11/2019 bcl_1461563072.htm
Fig 11: Proposed track return back to the track by analyzing the track record.
Experimental results revealed range value as 20. The threshold
recognizes all the sensor values as white in the following two
5. EXPERIMENTAL RESULTS conditions.
To optimse Kp, Ki and Kd values for the three proposed schemes Case 1: 7th sensor senses very low black track value.
several iterations was carried out to achieve the better speed
accuracy and tracking accuracy. Code Warrior IDE[6] is used for Sensor 0 1 2 3 4 5 6
the sofware development.
Reading 8 8 8 9 9 9 25
5.1 Speed Accuracy
Adjustment of speed towards the desired speed gives the speed
accuracy. Encoder samples are obtained in every 12.5ms and the Case 2: All sensors sense black track value.
speed of the car is measured and the speed accuracy is calculated
Sensor 0 1 2 3 4 5 6
using the expression (17) and (18) and the results are plotted in
table 3. Table 3 shows the lap completion time and speed accuracy Reading 244 246 240 241 242 241 241
of different algorithms. X-Y algorithm takes more time to
complete the lap and the speed accuracy is just 69.04%. Binary In-order to overcome the above conditions, the difference between
algorithm completes the lap in 28.1 seconds and the speed two maximum values is used and the range should be less than 20.
accuracy is 98.62%. From the test results binary scheme gives Experimental results proved better performance, even with
better speed accuracy. This justifies the proposed speed control different lighting setup and track complexity.
method gives better performance over the entire track. Ten curves
of different radius does not affect the speed of the car and
proposed speed control algorithm gives smooth performance in all
6. CONCLUSIONS AND FUTURE SCOPE
The three algorithms were compared on the basis of various
the curves.
parameters like speed, tracking time and tracking efficiency. The
Gray scale scheme proved to be efficient in terms of sensitivity but
it lost out to binary scheme in terms of speed accuracy. So a trade
off would be required between these two depending upon the
application where speed matters over tracking accuracy or vice
versa. With reference to our base paper, our proposed method
proved efficient in terms of tracking and speed accuracy. This
method is suitable even when the track has inclined or declined
slopes.
It is believed that autonomous navigating cars will be the next big
thing of the future. There will be a need where the car would be
required to park in the allotted space autonomously
16
[2] M.Zafri Baharuddin, “Analyst of Line Sensor Configuration [12] Precision Dual Operational Amplifier, TLC272 datasheet.
for Advanced Line Follower Robot”, University Tenaga [13] Slotted couplers, MOC7811 datasheet.
National.
https://www.htmlpublish.com/newTestDocStorage/DocStorage/1461563072/bcl_1461563072.htm 5/6
02/11/2019 bcl_1461563072.htm
17
https://www.htmlpublish.com/newTestDocStorage/DocStorage/1461563072/bcl_1461563072.htm 6/6