Solar Data Logger
Solar Data Logger
Abstract
Solar intensity data log is an instrument for calibrating the insolation of sun radiations. Being aware of the available intensity of
an area, it is easier to design and implement a solar power plant in specifically identified area. Such a design criteria need to identify
the number of solar cells [1] and their placement as per the radiation level and how much battery to store the generated power. The
conventional existing technology to measure solar intensity is Pyranometer which is a broad spectrum device. This device manages
the calculations for the whole spectrum which includes radiations which may not provide any work function. Therefore the
efficiency of this device is very low. Considering the above mentioned factors, a low cost device for measurement of solar intensity
is designed and is presented in this paper. This will contribute in providing intensity manipulation for the relevant spectrum of
solar radiation.
Keywords: Calibrating, Insolation, Radiations, Pyranometer, Spectrum
________________________________________________________________________________________________________
I. INTRODUCTION
Device that records data for a given time in relation to location either with an available instrument or sensor or through external
instruments and sensors is called Data Logger. They are generally small, battery powered, reliable, and equipped with a
microprocessor, internal memory for data storage, and various sensors (Current, Voltage and many others). Some data loggers
interface with a personal computer, and use software to activate it and to view and analyse the collected data, while many others
have a local interface device (keypad, LCD) and can be used as a stand-alone device. Data loggers vary between general purpose
types or specific environment [2] or application type only. General purpose types needs to be programmed; however, many data
loggers remain as static machines with only a limited number or non-changeable parameters. Electronic data loggers have replaced
chart recorders in variety of applications. One of the fundamental benefits of utilizing data loggers is the capacity to automatically
collect data on a 24-hour basis where data can be very accurately recoded during a particular hour, minute, second or mili second
of a day, week, month or year. Upon activation, data loggers are deployed to measure and record information for the specific
duration of the monitoring period. This permits a comprehensive and accurate scenario of the environmental conditions being
monitored [14] [15], such as solar intensity, air temperature and relative humidity. Renewable source of energy harnessed through
photovoltaic cell [9] [10] can also be now be measured and stored in a memory card for various usage.
Knowledge Formats
Standardisation of protocols and knowledge formats has been a drag however is currently growing within the trade and XML,
JSON, and YAML are progressively being adopted for knowledge exchange. The event of the linguistics net and therefore the web
of Things is probably going to accelerate this gift trend.
Instrumentation Protocols
Several protocols are standardised together with a wise protocol, SDI-12, that permits some instrumentation to be connected to a
spread of knowledge loggers. The employment of this normal has not gained abundant acceptance outside the environmental trade.
SDI-12 additionally supports multi drop instruments. Some knowledge work corporations also are currently supporting the
MODBUS normal. This has been used historically within the industrial management space, and there are several industrial
instruments that support this communication normal. Another multi drop protocol that is currently commencing to become a lot of
wide used is predicated upon will Bus (ISO 11898). Some knowledge loggers use a versatile scripting atmosphere to adapt
themselves to numerous non-standard protocols .MODBUS could be a serial prescript originally revealed by an ovulatory drug
(now Schneider Electric) in 1979 to be used with its programmable logic controllers (PLCs). Easy and strong, it's since become a
factual normal protocol, and it's currently a usually on the market means that of connecting industrial electronic devices.
Meteorological Applications
Rain Fall Totalization
Cup Anemometer Wind Speed
Wind Direction and Averaging
Process Industry Applications
Metal Refining and Production
Energy usage overview [4]
Process control tuning
Outflow monitoring
HVAC System troubleshooting
Cooling tower efficiency studies
Compressed Air Audit
Mobile / Vehicle Testing Applications
Vehicle HVAC testing
Reliability studies
Cycled Temperature qualification
Exhaust Component Road Testing
Vehicle Performance Tuning
Environmental Studies Applications [14]
Noxious Gas Detection
Air pollution site monitoring / alarming
CEMS certification
Bio-remediation studies
Nitrogen Dioxide Base Line Study
Mining Industry Applications
Machinery testing
Energy efficiency studies
Shoring studies
Ventilation / Gas monitoring
return;
}
// Create/Open file
myFile = SD.open("test.txt", FILE_WRITE);
// if the file opened okay, write to it:
if (myFile) {
Serial.println("Writing to file...");
// Write to file
myFile.println("Testing text 1, 2 ,3...");
myFile.close(); // close the file
Serial.println("Done.");
}
// if the file didn't open, print an error:
else {
Serial.println("error opening test.txt");
}
// Reading the file
myFile = SD.open("test.txt");
if (myFile) {
Serial.println("Read:");
// Reading the whole file
while (myFile.available()) {
Serial.write(myFile.read());
}
myFile.close();
}
else {
Serial.println("error opening test.txt");
}
}
void loop() {
// empty
}
Code Description
So first we need to include the standard SD and SPI libraries, create a File object and define the ChipSelect pin of the SPI bus,
the pin 53 in my case for the Arduino Mega Board. For this example we want our code to be executed only once, so all the code
will be placed in the setup section, while the loop section will remain empty. So first we need to start the serial communication
and define the Chip Select pin as output. We have to do this because the ChipSelect pin needs to be Low so that the SPI
communication between the module and the Arduino works. Next, using the SD.begin() function we will initialize the SD card
and if initialization is successful the if statement will become true and the String SD card is ready to use. will be printed on
the serial monitor, and then the strings SD card initialization failed will be printed and also the program will be terminated. Next,
using the SD.open() function we will create a new file named test.txt, including the FILE_WRITE argument meaning that we
can both read and write to the file. If the file already exist the SD.open() function will just open it. So if the file has been successfully
created first we will print the string Writing to file on the serial monitor and then using the myFile.println() function we will
print the text Testing text 1, 2 ,3 into the file. After that we need to use close() function to ensure that the previous data written
to the file is physically saved to the SD Card. Next, we will see how we can read from the file. So again we will the same function,
SD.open(), but this time as the file test.txt has already been created, the function will just open the file. Then using the myFile.read
() function we will read from the file and print it on the serial monitor. The read() function actually reads just one character at a
time, so therefore we need to use the while loop and the function myFile.available() to read all characters or the whole previously
written data. At the end we need to close the file. Now after uploading the code to the Arduino, if everything is ok, the following
will appear on the serial monitor.
IV. CONCLUSION
Data Loggers are changing more rapidly now than before. The original model of a stand-alone data logger is changing to one of a
device that collects data but also has a wide access to wireless communications for forecasting of events, automatic reporting of
data and remote control. Data loggers are widely used for web pages for instantaneous readings e-mail their alarms and FTP their
routine results into databases or directed towards the users. Very recently, there is a trend to move away from proprietary products
with commercial software to open source software and hardware devices.
Digital interfaces like I2C, SPI or UART enabling the direct interconnection of a digital sensor and a computer,
Unlimited number of configurations to show measurements in real-time over the internet, process data, plot charts and
diagrams.
Based on the data obtained from excel sheet it can be employed to forecast current, voltage , solar intensity of solar panel for
the next day as well as certain interval of time provided climatic conditions do not change abruptly and suddenly.
Based on the data of the excel sheet one can predict the best angle at which solar panel must be inclined to so as to increase
the efficiency of the solar panel.[6] [7].
Based on the data of excel sheet one can predict at which time of day power should be drawn from solar panel and at which
time of the day power must be drawn from main supply so as to avoid ambiguity in operation in case a firm draws power from
both sources.
The data so obtained from excel sheet can also form the basis of building MPPT [10][11][12] or PWM[13] based solar power
system.
REFERENCES
[1] Chetan Singh Solanki, Solar Photovoltaics, Fundamentals, Technologies and Applications, Second edition, Prentice HALL of India, pp.73-80, 2011.
[2] Leon Freris, David Infield, Renewable Energy in Power Systems, First edition, John Wiley & Sons, pp.127-133, 2008.
[3] M. Calavia, J. M. Perie, J. F. Sanz, J Sallan, MPPT Strategies for Solar Modules, FYP Progress Report, pp.6-8, 2011.
[4] John Twidell, Tony Weir, Renewable Energy Resources, Second edition, Taylor & Francis Group, pp.46-60, 2006.
[5] G. N. Tiwari, M. K. Ghoshal, Renewable Energy Resources: Basic Principles And Applications, First edition, Alpha Science International Ltd, pp.32-40,
2005
[6] Thomas P. Johansson, Henry Kelly, Amulya K. N. Reddy, Robert H. Williams, Renewable Energy Sources for Fuel and Electricity, Revised Printing,
Island Press, USA, pp.201-210, 1993.
[7] Stuart R. Wenham, Martin A. Green, Muriel E. Watt, Richard Corkish, Applied Photovoltaics, First edition, TJ International Ltd. UK, pp.102- 114, 2007.
[8] Augustin McEvoy, Tom Markvart, Luis Castaner, Practical Handbook of Photovoltaics- Fundamentals and Applications, Second edition, Elsevier Ltd, pp.60-
69, 2012.
[9] ATmega8(L) Data Sheet, ATMEL, pp.137-143 and pp.196-208, 2006
[10] N. Femia, G. Petrone, G. Spagnuolo, and M. Vitelli, Optimization of perturb and observe maximum power point tracking method, IEEE Trans. Power
Electron., vol. 20, no. 4, pp. 963-973, Jul. 2005.
[11] W. Xiao and W. G. Dunford, A modified adaptive hill climbing MPPT method for photovoltaic power systems, in IEEE Power Electron. Specialists Conf.,
2004, PESC '04. IEEE 35th, 2004, pp. 1957-1963.
[12] K. H. Hussein and I. Mota, Maximum photovoltaic power tracking: Analgorithm for rapidly changing atmospheric conditions, in Proc. IEE Generation
Transmiss. Distrib., 1995, pp. 59-64.
[13] E. Roman, R. Alonso, P. Ibanez, S. Elorduizapatarietxe, and D. Goitia, Intelligent PV Module for Grid-Connected PV Systems, IEEE Trans. Ind. Electron.,
vol. 53, no. 4, pp. 1066-1073, Jun. 2006.
[14] Falk Antony, Christian Durschner, Karl-Heinsz Remmers Photovoltaics for Professionals, solar electric systems Markeing, design and installations. Berlin:
Solar praxis AG 2006.
[15] Kim, Jin-Hee and Kim, Jun-Tae, An experimental study of air type PVT collector with performance improvements, in Proceedings of the World Conference,
2008.