You are on page 1of 6

A measurement setup for electric bicycles

powered from renewable energy sources


Marco Caruso, Valeria Boscaino, Giovanni Cipriani, Vincenzo Di Dio, Vincenzo Ferraro, Rosario Miceli, Member
IEEE, Filippo Pellitteri, Giuseppe Ricco Galluzzo
Dipartimento di Energia, Ingegneria dell'Informazione e Modelli Matematici (DEIM)
Università degli Studi di Palermo
Palermo, Italy

Abstract—In this paper a measurement system for a pedal- tourists can get the ease of some room to stay comfortably
assist rickshaw is described. It has been designed and realized seated.
with the purpose of a deep analysis of operating time, range and
general performance of the prototype vehicle. The three-wheel A specific prototype of pedal-assist vehicle, named
velocipede under test, developed in the SDES laboratory of the "ecolapa" (Fig. 1) [8-10], has been designed and realized by a
University of Palermo, is equipped with two battery packs, and a group of engineers of the University of Palermo, and is
photovoltaic panel which is used to recharge one of the packs at a currently at disposal of the SDES (Sustainable Development
time. To further improve the autonomy of this mean, a fuel cell Energy Saving) laboratory. It is equipped, alongside with two
will be added as a power source, whose consequent improvement independent battery packs, selectable alternatively, with a
in performance could be easily investigated by the presented photovoltaic panel installed over the roof, and a fuel cell will
measurement setup. An Arduino board has been employed to be hosted under the seats.
receive and store all collected data into a microSD card, allowing
a convenient accessibility of all gathered information. In this paper, the design and development of a
measurement system are described, aimed to the acquisition of
Keywords—electric power assist vehicle; measurement system; static and on the march data from this pedal-assist electric
photovoltaic; fuel cell; battery pack velocipede, so as to permit the collection of useful information
for the evaluation of the performance of the vehicle and its
I. INTRODUCTION operating range, and for future optimizations and further
Global energy needs are more and more demanding, improvements, specifically for the insertion of an additional
mainly originated by the increasing difficulty in oil provision. fuel cell power source.
While one of the keys for success is energy reduction by
means of an efficient energy use, finding new alternatives to II. FEATURES OF THE TRICYCLE UNDER TEST
traditional and established energy sources is a major goal in The ecolapa prototype can be considered a pedal-assist
order to address this problem. The investigation of energy- velocipede since it is a three-wheel vehicle adopting a
efficient transport vehicles is therefore pursued, as well, in brushless DC motor whose nominal power is 250 W and
order to contribute to the destination of a sustainable complies with other prescriptions of the laws of the road [11-
development [1]. 13]. It employs a Pedal Assist System (PAS) providing
information about presence or absence of driver's thrust on
An advantageous solution is the evolution of means of pedals, and respects the restrictions about dimensions, being
transport powered by electric energy obtained from renewable 298 cm long, 128 cm wide, 156 cm high. It can host two
sources, e.g. photovoltaic panels [2], permitting the reduction passengers in addition to the driver, and it can take advantage
of carbon dioxide emissions, at the same time. Similarly, a of the motor thrust up to the speed of 25 km/h, above which it
viable compromise is the employ of hybrid vehicles –
energized by both electricity and fuel or hydrogen [3-5] –
which succeed in avoiding the main disadvantages of vehicles
powered exclusively by alternative energies, e.g., the reduced
operating range.
At the same time, electric bicycles with pedal-assist
(pedelecs) are spreading more and more. They combine the
convenience of a zero-emission mean of transport with low-
cost per kilometer, and the sensation of naturalness of a low-
speed mean, with limited dimensions and need for
maintenance.
For this reason, vehicles of this kind are being employed
for touristic purposes, e.g. pedal-assist rickshaws [6,7], where
Fig. 1. Picture of the ecolapa prototype
which changes the connection topology of the pack, from a
series one to a topology providing three independent recharge
subcircuits.
Furthermore, the system will integrate a Proton Exchange
Membrane (PEM) fuel cell to supply the motor by means of
on board hydrogen reserve. The electric motor will be
powered by battery packs, the fuel cell and the photovoltaic
module in a multi-source configuration. The proposed setup
would allow simultaneous use of both renewable sources,
meeting all power load requirements [16].
III. THE MEASUREMENT SYSTEM
Before setting the measurement system up, a few basic
preliminary steps were needed, that is the identification of the
quantities of interest, the range of values where every one of
Fig. 2. PV management and charging system these can vary, and the accuracy level requested to achieve
scheme desired goals.
Selected quantities have been identified with relationship
to system sub-blocks: about the batteries, every pack's voltage
is to be measured, together with the current delivered to the
motor or the current that batteries absorb from the
photovoltaic charge regulators. Further, the voltage of the PV
panel must be added, and its related temperature, which is to
be compared with ambient temperature.
With respect to the vehicle, it has been chosen to keep
track of instantaneous speed of the velocipede, and its
coordinates with a GPS receiver. Gathering all of these
collected information, we can evaluate the response of the
ecolapa to load variations corresponding to the sections of
road with higher slope, and the ability of the energy sources to
supply the needed power.
Fig. 3. PV managing and charging system An Arduino Mega 2560 board [17] has been individuated
circuit located on board for the acquisition and collection of data. It includes an
ATmega 2560 microcontroller and is equipped with 54
is disabled from the controller, in order to obey to law rules. input/output digital pins and 16 input analog pins. It is
programmed through a computer by means of a USB
Precisely, the ecolapa is equipped with a Crystalyte 4011 connection. In order to provide power to Arduino, it has been
brushless DC motor, controlled by a PWM signal generated by realized a simple supply circuit based on a linear regulator,
the CY8C3866 chip by Cypress. Only if the PAS perceives able to guarantee a stable fixed 8 V voltage. Using a higher
pedals' movement, a control unit can activate the motor voltage, the power dissipated on the linear regulator located
supplying with the requested current. This is interrupted either inside the Arduino board would increase, and for this reason it
when the threshold speed is reached or when brakes are has been preferred not to power it with the 12 V voltage
activated by levers, which includes appropriately designed already available from the batteries. This double-regulation
sensors. choice causes an additional conversion loss which proves
Under the back seats is placed a compartment where two irrelevant if compared with powers at stake in the rest of the
battery packs are stored, each formed by three flooded lead- system. Furthermore, it permits to obtain a more stable supply
acid Fiamm FG21803 12 V / 18 Ah batteries connected in voltage, which is critical since it is employed as a reference
series. Which battery pack is connected to the control unit is voltage inside Arduino. Data are saved into a microSD 1 GB
chosen by an A/B/null selector. card, inserted in an Ethernet Shield mounted on Arduino pin
headers, which acts as a hardware extension board. The
The vehicle is equipped with one Conergy E-215P recording is triggered at intervals of one second, when enabled
photovoltaic module [14], able to provide a maximum power through a dedicated slide switch.
of 215 Wp. This is connected with three Western WRM-15
charge regulators [15] (Figs. 2-3), in order to achieve the Among the voltage measurements, those related to battery
maximum power point tracking (MPPT). Each regulator is packs and controller supply are directly referred to the
connected with one of the three disconnected batteries (i.e., common ground, while the other ones (e.g., photovoltaic panel
the three-battery pack which is not selected for powering the output voltage) required a differential measure. In order to
electric motor), by a purposely designed switching circuit [7], reduce the noise generated from the motor operation,
instrumentation amplifiers have been chosen for every voltage
between an impulse and the next one, a datum is extracted,
which is then processed via software to remove spurious
impulses or eventual missing identifications. The developed
code has been structured such as not to alter the temporal
periodicity of data recording, despite the unpredictability of
pulses arrival from the reed switch. Last, all acquired data is
also visualized on a 20-character 4-line LCD display, selecting
which quantity has to be shown by means of a tactile
pushbutton.
Nevertheless, in the log file a coordinate pair is associated
to every data set, received by virtue of an A2035H Maestro
GPS module. It is also employed to get the actual date and
time, saved into the microSD card, too. The GPS receiver has
not been employed for vehicle's speed estimation because this
information is affected by excessive fluctuations when
evaluated from simple coordinate variations.
IV. THE PCB BOARD
A double-sided PCB board has been designed and realized
to gather all electronic devices described in previous section
(Fig. 4). CadSoft EAGLE has been adopted for both the
schematic and the layout of the designed circuit, by virtue of
its compatibility with LPKF ProtoMat S42 circuit board
plotter, available in the laboratory. It is to be noticed that some
of the components were not available in the library, and have
thus been purposely designed for this project.
First of all, a constant 8 V power supply has been
produced through a linear regulator, whose input is connected
Fig. 4. PCB board schematic

measure. These amplifiers have been designed to provide a


nominal voltage around 2.5 V, thus keeping it at the center of
the 0-5 V range of acceptable voltages for Arduino analog
input pins. Simple low-pass filters have been included to
reduce measurement errors, sized such as to cut noise whose
frequency is approximately above 100 Hz.
For the measurement of currents flowing from
photovoltaic panel or batteries, sensing resistors of 20
mΩ ц1% have been selected, capable of dissipating a
maximum power of 5 W. At higher estimated current (i.e., 10
A), dissipated power is 3 W and power derating is about 10%
at the temperature of 100 °C. An instrumentation amplifier
analogous to the ones adopted for differential voltage
measurements has been applied to every sensing resistor.
Ambient temperature and photovoltaic module temperature
remain both limited under 100 °C, and – for preset goals of
built system – an accuracy of 0.5-1 °C is sufficient. For this
reason, a simple circuit has been adopted, based on a high-
precision 10 kΩ thermistor at the reference temperature, able
to provide Arduino with a voltage ranging from 1.2 V to 4.7
V, when the temperature is between 0 °C and 100 °C.
The speed of the vehicle has been measured by means of a
reed switch, which closes the contact once every wheel turn.
The signal is thus sent in an asynchronous way, and therefore
received by Arduino as an interrupt, unlike all other signals
which are instead periodically read, in a synchronous way.
With a few simple calculations, from the time elapsed
Fig. 5. PCB board layout
Fig. 6. Prototype board Fig. 7. Measurement system mounted on Arduino

to a service 12V battery, already used in the velocipede for the Western WRM-15 regulators, which has the function to
powering lights, turn signals and horn. This component needs avoid a current flowing from the batteries to the panel during
to feed the whole measurement system, including Arduino, the the nighttime [15]. To ensure a high-precision evaluation, an
Ethernet shield, the LCD display and the GPS. Since the integrated single-supply instrumentation amplifier has been
overall current the regulator needs to provide is about 0.5 A, a selected, whose inputs have been connected to an ungrounded
heat sink has been placed on the board, as visible in the layout voltage divider, and the gain has been set to its minimum
(to the right in Fig. 5) in correspondence to the red "reverse-C value, i.e., 5.
shaped" area.
A differential configuration has been employed for current
The vehicle is equipped with two 36 V battery packs, measurements, too. There are five currents of interest in this
capable of powering the electric motor through the control system. The first one is the current from the photovoltaic
unit. Each of these two voltages is measured reducing the panel, which nominally cannot exceed 8.21 A. It has been
amplitude with a voltage divider, and extracting this value by estimated lower than a maximum value of 10 A, as a safety
means of a unity gain buffer made from an operational limit. This output current is split into three parts, because of
amplifier. With this configuration, input impedance of three equivalent paths to the respective charge regulators, and
Arduino's pins doesn't affect the measure. A capacitor in increased of a factor up to three, because of the ratio between
parallel with the grounded resistor helps to stabilize this the input and output voltages of the regulators. Therefore,
voltage which is assumed to be slowly varying, or constant other three 10 A currents have been considered.
during most of the service time.
The last one is the current absorbed by the Crystalyte
Since this task doesn't involve high frequency operation, motor, which can reach 15 A when under a heavy load.
the main requirement for the op-amp is a low offset voltage Considering a safety margin, a maximum of 20 A has been
and the support for an 8 V single supply. A low-power LM324 taken into account.
proved to meet these specifics, including four op-amps inside
a single chip. More crucial is the role of resistors, whose value All of these current measurements are performed by means
has been chosen to be 1% precise, while the capacitor's value of a sensing resistor, whose voltage drop is transferred to input
is clearly not critical at all, and a regular 20% tolerance is pins of an AD8223 in-amp. In this case, a 22.2 gain has been
definitely acceptable. employed, to amplify the small drop across 20mΩ resistors
and make it easily manageable by Arduino. To ensure
The mounted photovoltaic panel produces a voltage adequate power dissipation even in case of the higher current,
ranging approximately from 28.27 V (at maximum power) to two sensing resistors are placed in parallel. In the layout, trace
36.37 V (at open circuit), which is delivered to three charge widths have been enlarged accordingly, considering at least
regulators, each producing a 12 V voltage. Since one of the 190 mils and 490 mils for 10 A and 20 A currents,
two battery packs is under charge at a time, while the other respectively.
one is connected to the electric motor, then the measure of all
single regulators voltages provides all additional information The voltage stability of every in-amp device is critical, and
needed about the batteries voltages. These WRM-15 output is strongly influenced by the fluctuations in power source. To
voltages are collected using the same circuit described above, ensure a constant supply, every AD8223 chip features two
where a different resistor ratio is employed. capacitors (10ʅF and 100nF) close to the power pins of the
device. However, in the whole PCB board most signals are
In order to determine the photovoltaic voltage, a diffe- almost steady, except for the TX/RX couple from/to the GPS
rential measure is needed instead, since the negative pole module. Both the two 103-AT high-precision NTC thermistors
cannot be connected to ground without creating a short circuit adopted for ambient and photovoltaic panel temperature
between anode and cathode of the block diode included inside measurement have been employed with their recommended
Fig. 8. Route travelled for the measurement test Fig. 9. Torque vs wheel speed (rounds per minute)

standard configuration, but followed by an op-amp voltage permitting to couple instantaneous position with collected
buffer for each one, to guarantee that the output reading data. E.g., it is possible to match information about power
doesn't load the sensor. The resistive change with temperature peaks with high slope locations.
is not linear, but is provided a lookup table in the datasheet.
From this information, a slight extension of the Steinhart–Hart All above described information can be also shown on an
equation has been adopted: LCD display. With its four lines, each 20 characters long, it
permits to present to the user more than just one measure at
1 once, but not all data within a single frame. Therefore, a tactile
T= – 273.15 (1a) pushbutton has been mounted on the main board, allowing to
A + B·f – C·f 2 + D·f 3 cycle among different subsequent frames. The first screen
illustrates the values of voltages and currents related to
VCC photovoltaic panel and electric motor. Next one shows
f = Loge R  – 1 (1b) voltages and currents provided by the three charge regulators.
VTH
Then a screen exhibits ambient and PV panel temperatures,
where T is the obtained temperature in °C, VCC = 8 V is the together with the speed of the velocipede and the traveled
voltage supply, VTH is the voltage drop across the resistor distance. Following frame is dedicated to latitude and
(whose value is R) selected for the voltage divider. A, B, C, D longitude coordinates of GPS location. Last screen includes
constants have been determined analytically from the data at two lines with current date and time, received from the GPS
four reference temperatures (0 °C, 25 °C, 50 °C, 75 °C). The signal too, and two lines describing which battery pack is
resulting relation is accurate in the -50 °C ÷ 100 °C range currently selected and if recording mode is on or off. In a
within 0.1 °C. These two equations have been programmed future (non-prototypal) system the pushbutton will be located
inside the Arduino sketch, and proved to create no slowdown separately from the board, right next to the display.
at all.
The LCD display, compatible with the Hitachi HD44780
The reed switch used to calculate the speed of the ecolapa driver, is connected to Arduino in 4-bit mode, requiring 6 pins
is applied in proximity of the front wheel, where a strong from Arduino and two for the 5 V supply. For contrast
magnet determines the closing of the contact every wheel turn. regulation, after a few tests, a fixed voltage divider has been
It is encapsulated in a glass shell which turned out to be solid adopted. Connection with Arduino Mega 2560 is obtained
enough to resist to normal use shocks. through stackable header pins soldered on the board. The
exact Arduino Mega layout has been reproduced in CadSoft
On the board three on/off switches have been included.
EAGLE, but only effectively used pins have been considered
The first one is used to power the whole circuit, since it
while placing all other components, allowing no waste of
connects/disconnects the 12V service battery to the input of
space.
the linear regulator, letting a green led light up. Another
switch manages the recording on the microSD card, and drives V. EXPERIMENTAL RESULTS
the lighting of a red led. A different kind of task is assigned to
last switch, which is used to transfer to Arduino information The prototype board (Figs. 6-7) was installed on the
about which battery pack is currently selected. This is needed ecolapa, providing live measurements available from the back
to store the correct information in the log data, permitting to seats. A test path has been designed and traveled to emulate a
couple it with the specific battery pack. complete tourist tour. In Fig. 8 all intended stops are
represented, as expected for the touristic use of the vehicle in
The GPS module included is powered at 3.3 V, provided the city of Palermo. The full route is 18 km long and most of it
by a specific linear regulator inside Arduino. Its main role is to has been covered taking advantage of the charge of one
track the coordinates of the ecolapa while running on the road, battery pack, which could cover 16.6 km in 79 minutes. Other
TABLE I. MEASURED QUANTITIES REFERENCES
[1] B. Kumar and H. Oman, "Power control for battery-electric bicycles", in
operating maximum
79 minutes 16.6 km Proc. NAECON '93–Nat. Aerospace and Electronics Conf., Dayton, OH,
time range vol. 1, pp. 428-434, May 1993
average maximum [2] P. Mulhall, S. M. Lukic, S. G. Wirasingha, Y.-J. Lee and A. Emadi,
12.6 km/h 19.7 km/h
speed speed "Solar-Assisted Electric Auto Rickshaw Three-Wheeler", IEEE Trans.
on Vehicular Technology, vol. 59, no. 5, pp. 2298-2307, June 2010
average maximum
9.7 N·m 30.4 N·m [3] V. Di Dio, D. La Cascia, R. Liga and R. Miceli, "Integrated
torque torque
Mathematical Model of Proton Exchange Membrane Fuel Cell Stack
average maximum (PEMFC) with Automotive Synchronous Electrical Power Drive", in
115.6 W 211.0 W
motor power motor power Proc. ICEM 2008–International Conf. on Electrical Machines,
average maximum Vilamoura, Portugal, pp. 1-6, Sep. 2008
photovolt. 120.8 W photovolt. 203.5 W [4] V. Boscaino, R. Collura, G. Capponi and F. Marino, "A fuel cell-battery
power power hybrid power supply for portable applications", in Proc. SPEEDAM
2010–Int. Symp. on Power Electronics Electrical Drives Automation and
average maximum Motion, Pisa, Italy, pp. 580-585, June 2010
46.2 % 66.1 %
efficiency efficiency [5] J. Hwang, D. Wang, N. Shih, D. Lai and C.-K.Chen, "Development of
average maximum fuel-cell-powered electric bicycle", Journal of Power Sources, vol. 133,
ambient 33.2 °C ambient 35.6 °C no. 2, pp. 223-228, Feb. 2004
temperature temperature [6] S. Barua, M. Hasan, "Savings of electricity consumption through solar
based recharging station for power assisted pedal rickshaw in
average maximum Chittagong", in 3rd International Conference on the Developments in
photovolt. 70.1 °C photovolt. 77.4 °C Renewable Energy Technology (ICDRET), Dhaka, Bangladesh, pp. 1-4,
temperature temperature May 2014
[7] M. Caruso, V. Cecconi, G. Cipriani, V. Di Dio, A. O. Di Tommaso et
al., "A photovoltaic charging system of an electrically assisted tricycle
experimental results acquired on the vehicle are reported in for touristic purposes", in Proc. AEIT 2013 Annual Conference,
Table I, which shows that the average speed during one round Mondello, Italy, pp. 1-6, Oct. 2013
was 12.6 km/h, with a top speed of 19.7 km/h. At its [8] G. Cipriani, V. Di Dio, R. Miceli, G. Ricco Galluzzo and M. Russo,
maximum, the torque reached 30.4 N·m at the speed of 4.4 "Evaluation of Performance and Efficiency and Type Approval of an
km/h, corresponding to 35.4 rpm (see Fig. 9). The electric Electrically Assisted Bicycle Drive", in International Conference on
Renewable Energy Research and Applications (ICRERA), Oct. 2013
motor power always remained under 250 W, as required by
Italian law for pedal-assist vehicles. It reached 211.0 W [9] V. Cecconi, V. Di Dio, A. Di Tommaso, D. La Cascia and R. Miceli,
"Test Bench Realization and Application of Specific Working Cycles for
maximum, settling to an average value of 115.6 W. the Characterization of Wheelchair Electrical Drives", IEEE
International Symposium Industrial Electronics, pp. 2188-2193, July
Conergy E-215P photovoltaic panel reached the maximum 2006.
power a little below its nominal peak value, arriving to 203.5
[10] G. Cipriani, V. Di Dio and G. Ricco Galluzzo, "A photovoltaic system
W in correspondence to radiation peak, around 12:20pm. suitable for the battery pack charging of an electrically power assisted
Because of meteorological variations its average value in one velocipede", in International Symposium on Power Electronics,
round was far lower, about 120.8 W. Its temperature never Electrical Drives, Automation and Motion (SPEEDAM), pp. 1142-1147,
exceeded 77.4 °C, while ambient temperature stayed around June 2012
33.2 °C throughout the path. [11] A. Muetze and Y.C. Tan, "Electric bicycles - A performance
evaluation", IEEE Industry Applications Magazine, vol. 13, no. 4, pp.
VI. CONCLUSIONS 12-21, July-Aug. 2007
[12] E. A. Lomonova, A. J. A. Vandenput, J. Rubacek, B. d'Herripon, and G.
A measurement system has been designed, realized and Roovers, "Development of an improved electrically assisted bicycle",
tested, with the aim of keeping track of some relevant data 37th IAS Annual Meeting, Industry Applications Conference, pp. 384-
about a pedal-assist three-wheel rickshaw named ecolapa, 389 vol.1, Oct. 2002
previously developed in the University of Palermo. All [13] A. Muetze and Y.C. Tan, "Performance evaluation of electric bicycles",
collected data (voltages, currents, temperatures, speed, etc.) 40th IAS Annual Meeting, Industry Applications Conference, pp. 2865-
2872 vol. 4, Oct. 2005
have been processed and stored by means of an Arduino board
[14] Crystalyte 4011 datasheet [Online]. Available: http://www.crystalyte-
and a purposely realized PCB board will allow the selection of europe.com
a suitable fuel cell to improve vehicle's range and
[15] Western WRM-15 charge regulators datasheet [Online]. Available:
sustainability. http://www.conergy.it
[16] C.H. Lin, H.W. Liu and C.M. Wang, "Design and Implementation of a
ACKNOWLEDGMENT Bi-directional Power Converter for Electric Bike with Charging
This publication was partially supported by the Feature", in Proc. ICIEA 2010–5th IEEE Conf. on Industrial Electronics
PON04a2_H "i-NEXT" Italian research program. This work and Applications, Taichung, Taiwan, pp. 538-543, June 2010
was realized within the SDESLab - University of Palermo and [17] Arduino Mega 2560 datasheet [Online]. Available: www.arduino.cc
with the contribution of Eng. Giuseppe Amante and Eng.
Salvatore Di Girolamo.

You might also like