2. 1
Outline
Introduction
Initial Model and Simulation
Assignment of Speed based on Slope
Simulink Model completion
Subtask Implementation – Modification of Support power
Simulation Results
3. 2
`Pedelec` : Pedalling + Electric motor
□ Not a moped
□ Limited Support
Available in different use cases
□ Mountain Bikes
□ Road Bikes
□ Touring Bikes
Precise estimation of Battery capacity is a must.
Introduction
Hybrid mountain bike, Image : www.trekbikes.com
4. 3
Initial model and Simulation
1. Average Speed =
Current speed+Previous Speed
2
2. Delta Speed = Current Speed − Previous Speed
3. Segment Time =
Segment Distance
Average Speed
4. Cumulative Time = Previous Cumulative time +
Current Segment Time
5. Acceleration =
Delta Speed
Segment Time
6. 5
Assignment of Speed based on Slope
𝑉𝑓 : Velocity along the segment
𝑉𝑖 : Initial velocity (Here, Velocity while
entering the segment)
a : Acceleration along the segment =
gsin 𝜃
S : Distance covered in the segment
(Here, Length of the segment)
tan 𝜃 =
𝐷𝐸
𝐸𝐵
=
𝐴𝐶
𝐴𝐵
= Slope of the figure
𝑉𝑓
2
= 2(gsin 𝜃)s + 𝑉𝑖
2
𝑉𝑓 = 2(g sin 𝜃 )s + 𝑉𝑖
2
13. 12
Support power modification
Above 25 km/h, motor power should
be shut off.
Should not be done immediately but
gradually.
Gradual interval : 20 km/h – 25 km/h
𝑚 =
𝑦2− 𝑦1
𝑥2− 𝑥1
Point 1 = (20,1)
Point 2 = (25,0)
𝑚 =
0−1
25−20
= -0.2
Y = m * x + c
0 = (-0.2) 25 + c
c = 5
1
0
20 21 22 23 24 25SupportPower_old
Velocity
Y = m*x + c
14. 13
Support power modification (Contd.)
Implemented as a sub-sysem in Simulink – `Support power modification`
‘Support power_new’ decreases linearly with velocity.