Development of a low-cost data acquisition system for ...

5 downloads 159 Views 4MB Size Report
Aug 26, 2013 - Education and Publishing, http://www.i-techonline.com. Beyond Excellence©. 81 Governor F.T. San Luis Avenue, Masaya, Bay 4033, Laguna, ...
ASIA LIFE SCIENCES Supplement 9: 263-274, 2013 The Asian International Journal of Life Sciences

Development of a low-cost data acquisition system for total solar insolation and temperature monitoring

STEVEN RWABONA K ATASHAYA1* and RICHARD OPIO OCAYA2 This paper reports on the design, development and application of a solar energy LQWHJUDWRU LQVWUXPHQW 6,  WKDW LV VSHFL¿FDOO\ LQWHQGHG WR EH D ORZ FRVW VROXWLRQ IRU VRODU energy measurements and research. The use of the high-performance PIC18 series embedded FRQWUROOHUDOORZVKLJKLQWHJUDWLRQRIWKHGDWDDFTXLVLWLRQVXSHUYLVLRQDQGXQLYHUVDOVHULDO EXV 86% FRQQHFWLYLW\$VWDQGDUGL]HGVRIWZDUHGULYHUDOORZVFXUUHQW0LFURVRIW:LQGRZV operating systems to enumerate the device as a USB 2.0 device capable of full-speed data UDWHVRIXSWR0%LWVV7KHHPEHGGHGFRGHLVZULWWHQLQWKH&ODQJXDJHDQGWKHFRQWURO SURJUDP LV ZULWWHQ LQ 9%1(7 7KH LQVWUXPHQW XVHV ERWK KDUGZDUH DQG VRIWZDUH EDVHG ]HUR RIIVHW FRPSHQVDWLRQ DQG JDLQ IRU HDFK RI WKH WHQ LQSXW FKDQQHOV WKHUHE\ DOORZLQJ ORZOHYHO KLJKLPSHGDQFH VLJQDOV WR EH PHDVXUHG DQG ORJJHG DFFXUDWHO\ 7KH SURJUDP output is in a form that can be accessed directly by most spreadsheet programs, making the DFTXLVLWLRQDQGSURFHVVLQJRIWKHGDWDVHDPOHVV7KHHDVHRILQVWDOODWLRQDQGXVDJHPDNHVWKH LQVWUXPHQWHVSHFLDOO\YDOXDEOHDVDORZFRVWEXWSUHFLVLRQPHDVXUHPHQWWRROIRUVRODUHQHUJ\ measurement based on pyranometers, although the versatility built into the instrument HQDEOHVLWWREHXVHGIRUJHQHUDOSXUSRVHGDWDDFTXLVLWLRQ:HSUHVHQWDFRPSDULVRQRIWKH designed instrument against a commercial Kipp and Zonen unit connected to calibrated S\UDQRPHWHUVWKURXJKERWKUDZS\UDQRPHWHUGDWDDFTXLVLWLRQDQGDQDFWXDOLQWHJUDWLRQUXQ We also present typical results of temperature monitoring. Keywords: solar energy monitoring, temperature, solar integrator, instrumentation, microcontroller 'HSDUWPHQW RI 3K\VLFV DQG (OHFWURQLFV 1RUWK :HVW 8QLYHUVLW\ 0D¿NHQJ &DPSXV 3ULYDWH %DJ ;0PDEDWKR6RXWK$IULFD 2 'HSDUWPHQWRI3K\VLFV8QLYHUVLW\RI)UHH6WDWH4ZDTZD&DPSXV3ULYDWH%DJ;3KXWKDGLWMKDED 9866, South Africa * &RUUHVSRQGLQJDXWKRUVWHYHQNDWDVKD\D#QZXDF]DNDWDVKD\DVU#JPDLOFRP

1

Received 03 July 2013; Accepted 26 August 2013 ©Rushing Water Publishers Ltd. 2013

Printed in the Philippines

Katashaya & Ocaya 2013 INTRODUCTION

7KH SUHVHQW DUWLFOH GHVFULEHV D V\VWHP WKDW ZDV GHYHORSHG PDLQO\ IURP WKH VWDQGSRLQWRIDFKLHYLQJDKLJKSHUIRUPDQFHWRORZFRVWUDWLRDVDQLQFUHPHQWDOSDUW LQDFRRSHUDWLYHGDWDDFTXLVLWLRQDQGGLVWULEXWLRQV\VWHP 2FD\D 0LQQ\  &XUUHQW VHQVRU QHWZRUNV DUH EDVHG RQ WHFKQRORJLHV WKDW ZHUH QRW DYDLODEOH WZR GHFDGHVDJRDQGSHUIRUPIXQFWLRQVWKDWPD\DSSHDUIXWXULVWLFHYHQQRZ6PDOODQG LQH[SHQVLYH0LFUR(OHFWUR0HFKDQLFDO6\VWHPV 0(06 QRZH[LVWWKDWFRXSOHG ZLWKORZSRZHUHPEHGGHGSURFHVVRUV +HDWK HQDEOHWKHUDSLGGHSOR\PHQWRI HIIHFWLYHVROXWLRQVIRUPDQ\VFHQDULRVLQPHDVXUHPHQWFRQWURODQGGDWDDFTXLVLWLRQ ,WLVSUHGLFWHGWKDWFRQWLQXLQJDGYDQFHVLQ0(06WHFKQRORJ\ZLOOSURGXFHVHQVRUV WKDWFRQWLQXHWRSXVKWKHVHERXQGDULHVEDFN &KRQJ .XPDU 7KHJURZWKRI VHQVRUQHWZRUNVIRUDSSOLFDWLRQVLQHQYLURQPHQWDODQGKDELWDWPRQLWRULQJLQGXVWULDO VHQVLQJ FROODERUDWLYH VLJQDO DQG LQIRUPDWLRQ SURFHVVLQJ WR PHQWLRQ D IHZ LV KDSSHQLQJDWDQLQFUHDVLQJUDWH 2FD\D 0LQQ\&KRQJ .XPDU $VWKH VRSKLVWLFDWLRQRIWKHVHV\VWHPVJURZVWRLQFOXGHPRUHKHWHURJHQHRXVQHWZRUNVWKH GDWDDFTXLVLWLRQGHYLFHVWKHPVHOYHVRSHUDWHPRVWO\DXWRQRPRXVO\$WWKHVDPHWLPH WKH\DUHEHFRPLQJUHODWLYHO\VLPSOHWRXVHZKLOHPDLQWDLQLQJDGHVLUDEOHWHFKQLFDO opacity for most end users. This latter aspect is attractive since the data control and GLVWULEXWLRQQHWZRUNVPD\WKHPVHOYHVEHJHRJUDSKLFDOO\GLVSHUVHGDQGRYHUDOOWKH system is perceptually vast and intimidating to the end user. The increase in the VRSKLVWLFDWLRQRIVHQVRUQHWZRUNVLVWKHUHIRUHQRWQHFHVVDULO\PDWFKHGE\LQFUHDVHV in the general expertise to make the most of the system and the designers of such systems must factor this aspect in. The typical institution based researcher may EHQHILWPXFKPRUHIURPDVLPSOHLQWHUIDFHZKHUHWKHSURYHUELDO³QXWVDQGEROWV´ DUHHPEHGGHGDOORZLQJIXOOFRQFHQWUDWLRQRQWKHUHVHDUFKDWKDQG7KLVLVQRWWRVD\ that duplication is impossible. The nature of the technology is such that should the LQWHUHVWWRGXSOLFDWHDQLQVWUXPHQWH[LVWWKHQLWFDQEHGRQHZLWKPLQLPXPRIHIIRUW once the conditions of usage of the underlying code are agreed upon. In that case ERWKWKHXQGHUO\LQJILUPZDUHDQGWKHFRQWUROSURJUDPFRGHVFDQEHPDGHDYDLODEOH IRUGRZQORDGIURPDQLQWHUQHWVHUYHU,QVSLWHRIWKHDGYDQFHVLQWHFKQRORJ\WKHUH are challenges that still exist apart from the perceptual complexity. For example, in HQYLURQPHQWDOPRQLWRULQJLWLVDFFHSWHGWKDWZKLOHFRVWVFRQWLQXHWRIDOOWKH\UHPDLQ the primal hurdle in attempts to increase scalability of sensing systems (Koutroulis  .DODLW]DNLV  +LOO   7KH DQWLFLSDWHG UHDOL]DWLRQ RI PXOWLSOH ORZFRVW sensor systems has therefore not really happened yet (Fay et al. 2013). There is D JURZLQJ WUHQG WRZDUGV PRGHOOLQJ DQG VLPXODWLRQ RI HQHUJ\ DQG HQYLURQPHQWDO SURFHVVHVHVSHFLDOO\DVGHVNWRSFRPSXWHUDQGQHWZRUNLQJV\VWHPVLPSURYH 2UHQ  3HWURQH  &DPPDUDWD   +RZHYHU VLPXODWLRQV VWLOO UHO\ RQ HPSLULFDO GDWDIRUPRGHOYDOLGDWLRQDQGILQHWXQLQJ,QDFROODERUDWLYHUHVHDUFKQHWZRUNZKHUH JHRJUDSKLFDOO\ZLGHVSUHDGZRUNHUVPHDVXUHWKHVDPHGDWDFOHDUO\WKHGXSOLFDWLRQ of instrumentation is indicated if the simulations are to have reliable input. The REMHFWLYHVRIWKLVDUWLFOHDUHWKHUHIRUHPDQ\IROG+RZHYHUWKHRYHUDUFKLQJDLPVDUH DVIROORZV)LUVWO\ZHGHVFULEHDIXQFWLRQDOO\VWUHDPOLQHGLQVWUXPHQWWKDWTXDOLILHV DVEHLQJORZFRVWDQGHDV\WRGXSOLFDWH)LQDOO\LWSUHVHQWVWZRVDPSOHDSSOLFDWLRQV RI WKH LQVWUXPHQW 7KH ILUVW DSSOLFDWLRQ LV EDVHG RQ DQ HTXDOO\ ORZFRVW VROXWLRQ

264

Asia Life Sciences Supplement 9 2013

Data acquisition system for monitoring sunlight & temperature IRUDW\SLFDOS\UDQRPHWHUVHQVRUHOHPHQW 0HGXJXHWDO%URRNV 7KH second is based on a direct connection of a K-type thermocouple for temperature measurement. The instrument, henceforth referred to as the Solar Integrator version  6, LQFRUSRUDWHVSDVWOHVVRQVOHDUQWIURPWZRSUHYLRXVYHUVLRQVWRJHWKHUZLWK QXPHURXV UHTXHVWV IURP SHHUV WR DGGUHVV RWKHU DGGLWLRQDO SUDFWLFDO LVVXHV :H VKRZ WKDW LW PHHWV WKHVH FKDOOHQJHV DQG IRUPV D UREXVW LQVWUXPHQW WKDW LV KLJKO\ marketable and easy to proliferate.

DESCRIPTION OF THE SI3 SYSTEM

7KH PDLQ GHVLJQ WKHPH RI WKH 6, LQVWUXPHQW ZDV ORZFRVW DQG IXOOVSHHG USB 2.0 compliance. Figure 4 is a block diagram of the SI3 instrument. It FRQVLVWVRIDVLQJOH3,&IKLJKSHUIRUPDQFH3,&SURFHVVRUIURP0LFURFKLS 7HFKQRORJ\ 0LFURFKLS   D VLQJOH )XWXUH 7HFKQRORJ\ 'HYLFHV 86%  interface controller, the FT232RL, and ten non-inverting input amplifiers. In earlier YHUVLRQVRIWKHLQWHJUDWRUWKHLQSXWDPSOLILHUVZHUHVSHFLDOLVWORZRIIVHWDPSOLILHUV EXLOW DURXQG WHQ 23$ RSHUDWLRQDO DPSOLILHUV 7R ORZHU FRVWV HYHQ IXUWKHU WKH WHQ DPSOLILHUV ZHUH LPSOHPHQWHG XVLQJ RIIWKHVKHOI RSHUDWLRQDO DPSOLILHUV LQ WZR VLQJOH SDFNDJHV 23&  DQG WZR TXDG SDFNDJHV /0  7KHVH ODWWHU DPSOLILHUVH[KLELWVXEVWDQWLDOLQSXWRIIVHWVWKDWZHUHREVHUYHGWRSURGXFHRXWSXWV DV KLJK DV  P9 XQGHU ]HUR LQSXW FRQGLWLRQV 7KH HODERUDWH RIIVHW DGMXVWPHQW VFKHPH GHVFULEHG EHORZ UHDOL]HV DPSOLILHUV ZKRVH SHUIRUPDQFHV PDWFK WKRVH based on OPA111 a fraction of the cost. The PIC processor is configured to run at 0+]XVLQJDSKDVHORFNHGORRS 3// FORFNGHULYHGIURPWKH)75/GHYLFH 6RPHRIWKHSRUWSLQVRIWKH)75/GHYLFHFDQEHFRQILJXUHGXVLQJDVRIWZDUH XWLOLW\FDOOHG)7352*WKDWLVIUHHO\GRZQORDGDEOH )7', 7KHXVHRI D VWDQGDUGL]HG )7', GULYHU IURP WKH PDQXIDFWXUHU¶V RZQ ZHE VLWH JXDUDQWHHV D ZLGHDFFHVVDQGJXDUDQWHHGVXSSRUWRIWKH)75/GHYLFH7KHPXOWLSOH[HGFORFN RXWSXWRIWKH)75/LVRQHRIVHYHUDOKDUGZDUHRSWLRQVWKDWFDQEHFRQILJXUHG XVLQJ WKH :LQGRZV XWLOLW\ 7KH )75/ LV LWVHOI FRQILJXUHG WR XVH DQ LQWHUQDO crystal. These oscillator configurations collectively eliminate the need for external FU\VWDOVDQGFDSDFLWLYHORDGLQJQHWZRUNVIXUWKHUUHGXFLQJFRVW$WWKHVDPHWLPH WKHGHVLJQRIWKHJURXQGLQJSODQHVDQGGLJLWDOVLJQDOVKLHOGLQJLVPXFKHDVLHUZLWK LPSURYHGQRLVHUHMHFWLRQFKDUDFWHULVWLFV7KH3,&LPSOHPHQWVDELWWKHDQDORJXH WRGLJLWDOFRQYHUWHU $'& EORFNZLWKWHQPXOWLSOH[HGLQSXWV7KH0+]$'& FORFNLVGHULYHGIURPDUHVLVWRUFDSDFLWRU 5& QHWZRUNWKDWLVDOVRLQWHUQDOWRWKH 3,&JLYLQJDW\SLFDOFKDQQHODFTXLVLWLRQWLPHRIV,QWKHLQWHUHVWRINHHSLQJWKH FRVWVGRZQQRVWRUDJHRIDFTXLUHGGDWDZDVLPSOHPHQWHGRQWKHLQVWUXPHQW:H H[SHFW WKDW IXWXUH YHUVLRQV RI WKH LQVWUXPHQW ZLOO LPSOHPHQW RQERDUG VWRUDJH RQ VWDWLFGULYHPXOWLPHGLDPHPRU\FDUG 6'00& GHYLFHVWKDWDUHFRPPRQO\XVHG in portable devices such as mobile phones and cameras, especially as their cost per PHJDE\WHFRQWLQXHWRIDOO7KLVZLOOPDNHLWHDVLHUWRH[FKDQJHGDWDZLWKDFRPSXWHU DQGZLOODOVRLPSURYHUHSHDWUDWHVIRUSURFHVVHVWKDWRFFXULQVKRUWHUWLPHLQWHUYDOV For many applications such as solar energy monitoring the combined repeat UDWHVRIRQHVHFRQGRUPRUHDUHPRUHWKDQVXIILFLHQW7KHFRQWUROVRIWZDUHUXQQLQJ RQWKH:LQGRZVRSHUDWLQJV\VWHPFDQEHDGMXVWHGIRUVORZHUUHSHDWUDWHV7KH3,&

Asia Life Sciences Supplement 9 2013

265

Katashaya & Ocaya 2013 SURFHVVRU FRGH ZDV ZULWWHQ LQ WKH & ODQJXDJH IRU KLJK SHUIRUPDQFH DQG VSHHG Both the assembled PIC target or HEX file and the .NET control program are DYDLODEOH IURP WKH DXWKRUV XQGHU FHUWDLQ XVDJH FRQGLWLRQV 7KH PDLQ :LQGRZV FRQWUROSURJUDPLVZULWWHQLQWKH1(7IUDPHZRUNDQGVXSSRUWVIUDPHZRUNVWR ,QNHHSLQJXSZLWKWKHDLPRIVWUHDPOLQLQJWKHRSHUDWLRQRIWKHFRPSOHWHV\VWHP IRUPRVWHQGXVHUVWKHXVHULQWHUIDFHZDVFDUHIXOO\GHVLJQHG,WLVFHQWHUHGDERXWD VLQJOHSDQHOZLWKZKLFKLQWHUDFWLYLW\LVPDLQO\WKURXJKSRLQWDQGFOLFNDVOLGHUDQG context sensitive menus. It includes numerous help features such as screen tooltips and an unambiguous reporting style for instantaneous system status on the program SDQHOV7KHVHDVSHFWVRIWKHXVHULQWHUIDFHDUHGHVFULEHGLQWKHIROORZLQJVHFWLRQV Unlike earlier versions, the present design permits the target computer to run other WDVNVFRQFXUUHQWO\ZLWKRXWQRWLFHDEOHGHWHULRUDWLRQLQRYHUDOOV\VWHPVSHHG

)LJXUH$QLQVSHFWLRQRIWKHFRQWHQWVRIDW\SLFDOGDWD¿OHXVLQJDWH[WHGLWRU 7KHGHIDXOWRXWSXWZULWWHQWRWKHGLVNGDWDILOHLVFXPXODWLYHRULQWHJUDO$VDQ example, in the context of a calibrated global spectral pyranometer connected to a channel, data that is integrated per second gives a sense of the total solar insolation at the locality. By toggling a checkbox control on the panel the control program can EHFRQILJXUHGWRVWRUHGLUHFWFKDQQHOLQSXWYDOXHLQVWHDG7KLVDOORZVWKHLQVWUXPHQW WREHXVHGDVDJHQHUDOSXUSRVHGDWDDFTXLVLWLRQV\VWHPMXVWDVHDVLO\7KHRXWSXW RI WKH 6, GDWD DFTXLVLWLRQ LV VWRUHG DV D VSDFHGHOLPLWHG WH[W ILOH WKDW LV HDVLO\ H[SRUWHGWRPDQ\SURFHVVLQJSURJUDPVVXFKDV0LFURVRIW([FHO0LFURFDO2ULJLQ 0DWODEDQGVRRQ)LJXUHVKRZVWKHOD\RXWRIDW\SLFDOGDWDILOH The digital hardware. 7KH6,V\VWHPZDVFRQVWUXFWHGLQWZRSKDVHVERWKSKDVHV FXOPLQDWLQJ LQ D VHSDUDWH SULQWHG FLUFXLW ERDUG 3&%  7KH ILUVW SKDVH ZDV WKH UHDOL]DWLRQRIWKH3,&IHPEHGGHGSURFHVVRUFLUFXLWRQD×FP2 board that DOVR KHOG WKH 86%  SHULSKHUDO FRQWUROOHU $[HOVRQ   7KH WHQ PXOWLSOH[HG $'& LQSXWV ZHUH EURXJKW RXW WR WKH HGJH RI WKH ERDUG WR DOORZ JHQHUDO SXUSRVH FRQQHFWLRQ RI  WR  YROW DQDORJXH VLJQDO OHYHOV IURP DQ\ VRXUFH 7KLV ERDUG LV SRZHUHGRIIWKH86%SRUWDQGGUDZVDERXWP$ P: IURPWKHSRUWZKHQ

266

Asia Life Sciences Supplement 9 2013

Data acquisition system for monitoring sunlight & temperature WKH3,&LVUXQQLQJDW0+]DQGHQJDJHGLQFRQWLQXRXVGDWDDFTXLVLWLRQDQGGDWD WUDQVIHUV7KHVHFRQGSKDVHZDVWKHFRQVWUXFWLRQRIWKHORZQRLVHORZRIIVHWLQSXW DPSOLILHUV RQ D ×20 cm2 3&% 7KH QRQLQYHUWLQJ LQSXW RI HDFK DPSOLILHU ZDV WHUPLQDWHGZLWKNŸUHVLVWRUWROLPLWQRLVHSLFNXS ,Q WKH 6, GHVLJQ WKH DPSOLILHUV DUH SRZHUHG IURP D PDLQV GHULYHG ± YROW VWDELOL]HGVXSSO\7KHDPSOLILHUERDUGGUDZVDERXWP$SHUDPSOLILHURUP: LQWRWDO7KHWRWDOSRZHUFRQVXPSWLRQRIWKH6,LQVWUXPHQWDWIXOORSHUDWLRQGRHV QRWH[FHHGP:PDNLQJLWDFDQGLGDWHIRUEDWWHU\SRZHUHGDSSOLFDWLRQV'XHWR WKHQHHGWRPLQLPL]HQRLVHSLFNXSE\WKHGHFLEHOJDLQDPSOLILHUVLWZDVGHFLGHG not to derive the dual rail supply from the USB port of the controlling computer. 1RWRQO\ZRXOGWKLVQHFHVVLWDWHDPRUHHODERUDWHGHFRXSOLQJDQGVKLHOGLQJVFKHPH IRUWKHDPSOLILHUVIURPWKHUHDFWLYHVZLWFKLQJSURFHVVHVWKDWDUHDQLQWHJUDOSDUWRI VZLWFKHGPRGHSRZHUVXSSO\ 6036 RSHUDWLRQEXWLWZRXOGDOVRLQFUHDVHFRPSRQHQW FRXQWDQGFRVWGXHWRDQDGGLWLRQDO6036FRQWUROOHU7KHSK\VLFDOGLPHQVLRQVRI the instrument can be made even smaller if surface mounted components are used DOWKRXJKLWZDVQRWRISULPDU\FRQFHUQLQWKHSURWRW\SH

Figure 2. A block diagram of the Solar Integrator system. The firmware. 7KH ILUPZDUH SURJUDP ZDV ZULWWHQ LQ WKH & ODQJXDJH XVLQJ WKH 0LNUR&3URFRPSLOHU 0LNUR(OHNWURQLND &RGLQJLQ&VLPSOLILHVWKHIORDWLQJ SRLQWFDOFXODWLRQVWKDWDUHSDUWRIWKHGDWDDFTXLVLWLRQSURFHVV)LJXUHVKRZVWKH SURJUDPPLQJRIWKHILUPZDUH7KHSURFHVVRULVLQHIIHFWDVODYHGHYLFHWKDWVHWV XS DV\QFKURQRXV FRPPXQLFDWLRQV ZLWK WKH )75/ GHYLFH DW  EDXG 7KH latter then implements USB 2.0 connectivity. As can be seen in Figure 4, the actual FLUFXLWVFKHPDWLFLVVLPSOH+RZHYHUPXFKRIWKHZRUNGRQHLVLQWKHSURJUDPPLQJ RI WKH ILUPZDUH DV ZHOO DV WKH :LQGRZV EDVHG FRQWURO VRIWZDUH ZULWWHQ LQ WKH

Asia Life Sciences Supplement 9 2013

267

Katashaya & Ocaya 2013 1(7IUDPHZRUN7KHGHVLJQRIWKH6,ILUPZDUHDOORZVWKHLQVWUXPHQWWRH[HUW VWUXFWXUHG UHVSRQVHV WR UHTXHVWV IURP WKH FRQWUROOLQJ FRPSXWHU 7KH WKUHH EDVLF types of response from the SI3 depend on the decoded character received from WKHFRPSXWHU7KHSRVVLEOHUHVSRQVHVDUHDTXHU\FRPPDQGUHFHLYHGDVFKDUDFWHU µ4¶ WR ZKLFK WKH 6, UHVSRQGV E\ VHQGLQJ EDFN VWDWXV LQIRUPDWLRQ 7KLV LV XVHG DVDGLDJQRVWLFPRGHWRDOORZWKH:LQGRZVSURJUDPWRHYDOXDWHWKH6,PRGXOH Secondly, the SI3 can respond to the ‘A’ character signifying that all analogue FKDQQHOV VKRXOG EH DFTXLUHG DQG VHTXHQWLDOO\ WUDQVPLWWHG EDFN WR WKH FRPSXWHU )LQDOO\ WKH 6, FDQ UHVSRQG WR µ6[[¶ ZKHUH µ[[¶ GHQRWHV D VSHFLILF FKDQQHO WR DFTXLUH IRU H[DPSOH µ6¶ $V VKRZQ LQ )LJXUH  WKH RSHUDWLRQ RI WKH ILUPZDUH relies on a loop repeated ad infinitumLQWHUUXSWHGPRPHQWDULO\ZKHQDFKDUDFWHULV received by the UART buffers of the processor.

)LJXUH)ORZFKDUWRIWKH6,¿UPZDUH Input amplifiers and offset control. The input amplifiers of the SI3 instrument DUHLPSOHPHQWHGXVLQJVWDQGDUGTXDGSDFNDJHVIRUZKLFKWUDGLWLRQDOO\WKHUHLVQR provision for direct input off-set trimming. For amplifiers intended for precision LQVWUXPHQWDWLRQ DSSOLFDWLRQV VXFK DV VRODU GDWD JDWKHULQJ XVLQJ ORZRXWSXW OHYHO VHQVRUV VRPH PHFKDQLVP WR DGMXVW RIIVHWV PXVW EH LPSOHPHQWHG LQ DGGLWLRQ WR VRIWZDUHEDVHGGDWDFRUUHFWLRQ7KHVROXWLRQXVHGLQWKH6,LQVWUXPHQWLVEDVHG RQH[WHUQDOELDVFLUFXLWVWKDWLQMHFWDFRQWUROOHGYROWDJHOHYHODWWKHLQSXWIHHGEDFN

268

Asia Life Sciences Supplement 9 2013

Data acquisition system for monitoring sunlight & temperature resistor thereby shifting the input level offset to a desired level centred at zero 1DWLRQDO6HPLFRQGXFWRU )LJXUHVKRZVWKHJHQHUDOVFKHPHWKDWLVXVHGIRU each of the 10-input amplifiers in the SI3. In addition, the primary consideration PDGH LQ WKH GHVLJQ RI WKH RIIVHW DGMXVW FLUFXLWU\ KDV EHHQ WR NHHS WKH HIIHFWLYH loading by the potentiometers on the ±YROWSRZHUOLQHVPDOOLQWHUPVRIWKHWRWDO FXUUHQWGUDZQE\WKHGLYLGHUQHWZRUNV

Figure 4. Detailed schematic diagram of the embedded controller and the USB.

)LJXUH&KDQQHORIIVHWDGMXVWPHQWVFKHPDWLFGLDJUDP 7KHNGLYLGHUVLQWKH6,FROOHFWLYHO\GUDZDERXWP:RISRZHU:LWK UHIHUHQFHWR)LJXUHWKHUDQJHRILQSXWRIIVHWDGMXVWPHQWLVJLYHQE\

'V

r

R2 R V |r 2V R1  R2 R1

since

R2 ! R1 .

Asia Life Sciences Supplement 9 2013

269

Katashaya & Ocaya 2013 The overall gain is given by:

'V

1

R R2  R4 .

)RU WKH YDOXHV XVHG LQ WKH 6, FLUFXLW WKH UDQJH RI DGMXVWPHQW RI WKH LQSXW offset is ±P9DQGWKHJDLQLV G% 

Figure 6. Appearance of the main SI3 user interface.

SYSTEM PERFORMANCE

7KHSHUIRUPDQFHRIWKHGHVLJQHGV\VWHPZDVJDXJHGLQWKUHHZD\V7KHILUVW WHVWZDVDHVWKHWLFLQQDWXUHE\VXEMHFWLQJWKH6,LQVWUXPHQWWRVHYHUDOXVHUVDQG JDXJLQJWKHHDVHZLWKZKLFKWKHXVHULQWHUIDFHVZHUHRSHUDWHG,WZDVUHSRUWHGO\ stable, repeatable and easy to set up. In the second test the sustained throughput DQG UHSHDW UDWHV ZHUH JDXJHG ,Q WKH ILQDO WHVW WZR YDULDEOHV ZHUH PHDVXUHG VLPXOWDQHRXVO\RQWZRFKDQQHOVQDPHO\WHPSHUDWXUHRIERLOLQJZDWHUVXEMHFWHGWR ambient cooling over a short period of time and an integration test for photovoltaic voltage levels from a simple pyranometer.

)LJXUH6,FRQQHFWHGWRDFRQWUROOLQJ)LJXUH)URQWYLHZRIWKH6,LQVWUXPHQW FRPSXWHU7KHDPSOLILHUVDUHQRWVKRZLQJ86%FRQQHFWLRQZLWKDPSOL¿HUV

270

Asia Life Sciences Supplement 9 2013

Data acquisition system for monitoring sunlight & temperature Sustained throughput and repeat rate. While all ten inputs of the SI3 are WKHRUHWLFDOO\ FRQYHUWHG ZLWKLQ —V WKH RYHUKHDGV DVVRFLDWHG ZLWK GDWD WUDQVPLVVLRQ FRQWURO RYHU WKH DFTXLVLWLRQ SURFHVV WKH GDWD IUDPLQJ LQ D XQLTXH IRUPDWIRUWUDQVPLVVLRQDQGUXQQLQJRSHUDWLQJV\VWHPDQGILUPZDUHWDVNVLQFUHDVH WKH DFTXLVLWLRQ WLPH SHU FKDQQHO VXEVWDQWLDOO\ 7KH UHOLDEOH GDWD UHSHDW UDWHV RI WKH LQVWUXPHQW IRU DOO WHQ FKDQQHOV DPRXQW WR  PLOOLVHFRQGV 7KLV ILJXUH ZDV obtained under the condition that a channel convert command is issued from :LQGRZVUHFHLYHGE\WKH6,GHFRGHGDFWHGXSRQWKHDQDORJXHFKDQQHODFTXLUHG DQGWUDQVPLWWHGEDFNWR:LQGRZVDQGWKHQWKHVHTXHQFHUHSHDWHGXQWLODOOFKDQQHOV KDYHEHHQDFTXLUHG2QFHWKLVF\FOHLVFRPSOHWHDGGLWLRQDORYHUKHDGVDULVHGXULQJ WKHGLVNZULWLQJRIGDWDIUDPHGLQDIRUPDWWKDWHQFDSVXODWHVDGDWHDQGWLPHVWDPS DQGWKHDFTXLUHGDQDORJXHGDWDIRUDOOWKHFKDQQHOV7KLVRYHUKHDGDOVRLQFOXGHV WKHIORDWLQJSRLQWFDOFXODWLRQVWKDWDFTXLUHWKHDQDORJXHGDWDDSSHQGWKHJDLQDQG VRIWZDUH EDVHG RIIVHW DGMXVWPHQWV XSGDWHV WKH YDULRXV RQ VFUHHQ FRQWUROV EHIRUH repeating the cycle. Application to solar energy monitoring. 7KHIROORZLQJDSSOLFDWLRQVDUHXVHGRQO\ WR LOOXVWUDWH WKH VXLWDELOLW\ RI WKH 6, LQVWUXPHQW WR DFTXLUH DQG SURFHVV W\SLFDO UHDO ZRUOG VLJQDOV ,W LV LQWHQGHG RQO\ WR EH LOOXVWUDWLYH RI LQWHJUDO WUHQGV UDWKHU than as an accurate trend of total solar energy for the accurate extraction of solar HQHUJ\SDUDPHWHUV,QSUDFWLFHWKH6,LVLQWHQGHGWREHXVHGZLWKSXUSRVHO\EXLOW and calibrated pyranometers and other intended sensors. A simple pyranometer ZDV EXLOW DURXQG D SKRWRGLRGH RSHUDWHG LQ D SKRWRYROWDLF FRQILJXUDWLRQ EXLOW DURXQG WKH SULQFLSOHV GHVFULEHG LQ 0HGXJX HW DO  0XNDUR HW DO   ,Q WKH ILUVW WHVW WKH VHQVLWLYLW\ RI WKH KRPHPDGH S\UDQRPHWHU ZDV GHWHUPLQHG WKURXJK GLUHFW FRPSDULVRQV RQ GLIIHUHQW GD\V DW PD[LPXP LQVRODWLRQ EHWZHHQ WKH VLPSOH S\UDQRPHWHU ZLWK D FDOLEUDWHG .LSS DQG =RQHQ &03 S\UDQRPHWHU ZLWKDVHQVLWLYLW\RI—9:P2. The sensitivity of the homemade pyranometer ZDVIRXQGWREH “ P9:P2. The second test involved integrating solar insolation over one day, 14th$SULO7RGRWKLVWKHFRPPHUFLDOS\UDQRPHWHUZDV FRQQHFWHGWRDQ(SSOH\SUHFLVLRQVSHFWUDOS\UDQRPHWHU (363 ZKLOHWKHKRPHPDGH S\UDQRPHWHUZDVFRQQHFWHGWRWKH6,LQVWUXPHQWWRJDXJHWKHSHUIRUPDQFHRIWKH ODWWHUUHODWLYHWRDFRPPHUFLDOXQLW)LJXUHVKRZVWKHGDWDREWDLQHGLQRXUORFDOLW\ Application to temperature monitoring. The second test involves the direct FRQQHFWLRQRID.W\SHWKHUPRFRXSOHWRRQHRIWKHLQSXWVRIWKH6,ZLWKRXWDQ\SULRU conditioning. The K-type thermocouple (Omega 2013) typically has a coefficient of —9o& :LWK D FROG MXQFWLRQ DW DPELHQW WHPSHUDWXUH RI oC it generates about  P9 ZKHQ WKH KRW MXQFWLRQ LV DURXQG oC. In the simple test 1 kg of boiling ZDWHULVDOORZHGWRFRROGRZQLQDJODVVFRQWDLQHUWRDPELHQWWHPSHUDWXUHDVLWV WHPSHUDWXUHLVPRQLWRUHGXVLQJWKH.W\SHWKHUPRFRXSOHRYHUDSSUR[LPDWHO\WZR KRXUV)LJXUHVKRZVWKHFRROLQJFXUYHDVVDPSOHGE\WKH6,DWVLQWHUYDOV

Asia Life Sciences Supplement 9 2013

271

Katashaya & Ocaya 2013

Figure 9. Integrated solar energy using a home-made global pyranometer versus D .LSS  =RQHQ S\UDQRPHWHU ZLWK D FDOLEUDWLRQ IDFWRU RI  P9:P2 and —9:P2UHVSHFWLYHO\7KHWRWDOLQVRODWLRQIRUWKHGD\ZDVN:P2.

Figure 10. Water cooling data obtained using a direct connection of a K-type thermocouple to one input of the SI3 instrument.

272

Asia Life Sciences Supplement 9 2013

Data acquisition system for monitoring sunlight & temperature CONCLUSION We have described the design and construction of the SI3 instrument WKDW FRQWHQGV IRU WKH WLWOH RI EHLQJ WUXO\ ORZ FRVW DQG KLJK SHUIRUPLQJ DV D GDWD DFTXLVLWLRQ LQVWUXPHQW ZLWK IXOOVSHHG 86%  FRPSOLDQFH 7KH HVWLPDWHG FRVW RIWKHILQLVKHGLQVWUXPHQWLVDERXW86DQGWKHHQFORVXUHZDVWKHVLQJOHPRVW costly component in the finished instrument. We have described the competing UHTXLUHPHQWVRIWKHGHVLJQDQGDGGUHVVHGVRPHRIWKHLQVWUXPHQWDWLRQFKDOOHQJHV WKDWDW\SLFDOLQVWLWXWLRQDOUHVHDUFKHUPLJKWKDYHZLWKUHVSHFWWRUHOLDEOHORZFRVW instrumentation. The success of the SI3 instrument is due to careful design and RSWLPL]DWLRQRIWKHILUPZDUHDQGWKHFRQWUROOLQJ1(7IUDPHZRUNSURJUDP0DQ\ RIWKHORJLFDOIXQFWLRQVDUHLPSOHPHQWHGLQWKHVRIWZDUHUDWKHUWKDQLQWKHKDUGZDUH DOORZLQJDVLPSOHUKDUGZDUHGHVLJQDVVKRZQLQ)LJXUH7KH6,LQVWUXPHQWLV VWDEOHKDVUHSHDWUDWHVRIPVWHQLQSXWVDQGZRUNVZLWKFXUUHQWYHUVLRQVRI 0LFURVRIW :LQGRZV LQFOXGLQJ ;3 DQG YHUVLRQV  DQG  7KLV ZLOO HQVXUH WKDW LW continues to be usable for the foreseeable future. It logs in a format that makes it VWUDLJKWIRUZDUGWRDVVLPLODWHWKHGDWDGLUHFWO\LQWRSURFHVVLQJHQYLURQPHQWVVXFK as spreadsheets programs. The turnaround time from setting up an experiment and interpreting the results is therefore reduced.

LITERATURE CITED

$[HOVRQ-/USB Complete: Everything You Need to Develop USB Peripherals, 3rd HGLWLRQ/DNHYLHZ5HVHDUFK %URRNV '  0HDVXULQJ VXQOLJKW DW (DUWK¶V VXUIDFH %XLOG \RXU RZQ S\UDQRPHWHU ,QVWLWXWHIRU(DUWK6FLHQFH5HVHDUFKDQG(GXFDWLRQKWWSZZZLQVWHVUHRUJFRQVWUXFWLRQ S\UDQRPHWHUS\UDQRPHWHUKWP $FFHVVHG)HEUXDU\  &KRQJ &

Suggest Documents