PV Watchdog WebEnabled Photovoltaic System Monitor Art Barnes
PV Watchdog Web-Enabled Photovoltaic System Monitor Art Barnes Austin Fisher Ryan Mann Josh Stone
PV Watchdog Mission Statement • To construct a photovoltaic monitor that is affordable for small photovoltaic installations. It will be capable of uploading system information to the web. The purpose of the system is to further awareness, aid in implementation and function as a diagnostic utility.
PV Watchdog Baseline vs. Desired functionality Above the Line • Read from serial port and download code from serial • Sensor electronics integrated into module • Download new OS • Modem Communication THE LINE!! Below the Line • Download code from the web page • Ethernet Communication • Event Logging
– – PV Watchdog External Components Sensors PC Software Parts and Software Requirements – Monitor serial port to read bytes and write to data file l – – l Format data file into web page Upload OS and or configuration data via serial port PV Monitor Software – – Read sensor information through A/D Pre-process data Send data readings over serial Monitor serial port for updates from server
PV Watchdog Block Diagram
PV Watchdog Hardware : Micro-controller : Why 68 HC 11 E l Why Motorola 68 HC 11 E – – – – low power consumption (sleep mode) wake on interrupt watchdog timer ease of availability and price DIP package for mounting ease Built-in SPI interface Built-in RAM/EPROM
PV Watchdog Hardware : Micro-controller : Features/Limitations l Features/Limitations – – – Low order address lines and data lines are multiplexed, requiring external latches Must use wait mode with higher current drain in order to use internal timers to wake up 8 -bit resolution offered by internal A/D is insufficient, requiring external A/D – SPI interface specifies Enable pin, but selection logic is not included, requiring an FPGA
PV Watchdog Hardware : Memory • 0000 – 01 FF Internal RAM • 0200 – 03 FF Sensor Config. • 1000 – 103 F Register Block • 6000 – 7 FFF External RAM • 8000 – FFFF External EPROM • B 600 – 87 FF Internal EEPROM
PV Watchdog Hardware : FPGA Xilinx 4005 E takes care of ‘chip selects’ and ‘enables’
PV Watchdog Hardware : FPGA uses simple combinational logic to perform bus selection based on address lines
PV Watchdog Hardware : FPGA
PV Watchdog Hardware : A/D Converter and Multiplexer l l Use 12 -bit single channel A/D converter 16 inputs are selected using a 16 -1 analog multiplexer Converter talks with microcontroller over the SPI interface Converter has low power consumption when not enabled
PV Watchdog Hardware : A/D Converter and Multiplexer
PV Watchdog Hardware : Board Schematic
PV Watchdog Hardware : Sensors l Sensors encapsulated into modular package – – Analog level conversion and impedance matching circuitry Sensor type and configuration set using on-board DIP switches l Sensor Types – – – Insolation Sensor DC Voltage Sensor DC Current Sensors Temperature Sensors AC Voltage Sensor AC Current Sensor
PV Watchdog Hardware : Sensors : Sensor Module l l Consists of setting switch logic and analog conversion circuitry Analog circuitry is specific to the type of sensor the module is intended to be used for
PV Watchdog Hardware : Sensors : Sensor Module Settings l l Use DIP switches on the sensor module to identify sensor type and port number of temperature compensation module Enable pin of Buffer is used for chip select, connected to Xilinx 4005 E chip select logic
PV Watchdog Modem Communication l l Still want to add this feature Optional to system functionality PV Monitoring System Modem
PV Watchdog Software : Monitor OS
PV Watchdog Software : Host PC l l Master Control Program (MCP) polls the serial port and writes the bytes read to a data file MCP can send email to administrator if it detects erroneous readings MCP can log errors for diagnostic purposes MCP can wake up PV Monitor from sleep through the 68 HC 11’s interrupt-on-serial capability to change settings via serial port
PV Watchdog Software : Webpage Simple, easy to read table layout l PV System Monitor Current Statistics Panel Voltage (V) 123. 45 Panel Temp (degrees C) Panel Curren t (A) Power Supplied (W) Battery Voltage (V) 123. 45 Display One Hour History 123. 45 Display 24 Hour History 123. 45 Display One Week History Display One Month History 123. 45
PV Watchdog Parts Listing Motorola 68 HC 11 E 1 Current Sensors (CSLA 2 CD) Discrete Components Xilinx 4005 E Buffers (74 HC 241, 74 HC 245) Plugs & Jacks Discrete Logic (7400, 7414) LCD Display Cabling Sockets & Headers Clock (DOC-20 CF) Switches/Buttons 2 EPROM (AM 27 C 256) Temp. Sensors RAM (HM 6264 P) Indicator LEDs A/D Converter (MAX 189 AEPA) Insol. Sensor (Si-04 -T) Analog Mux (DG 406 DJ) Latch (74 BCT 373) UART (MAX 3110 ECNI) Power Bus Enclosures
PV Watchdog Parts Cost • Xilinx FPGA • Maxim A / D • HC 11 Microcontroller • Maxim UART/RS 232 • Maxim Analog Mux • AMD 32 k EPROM • 8 k RAM • Clock • Discrete Logic, Buffers Latches • Sockets, etc… • Prototype board • LCD Display $26. 65 $6. 95 $5. 12 $4. 73 $3. 48 $3. 44 $3. 42 $1. 21 < $1 each Estimated Total $165 $40 $35 $25
PV Watchdog Currently…. l What Works: - Program can be burned onto EPROM and successfully run l What We Are Working On: - The FPGA is indicating a frame fault as it receives chip select data from the second EPROM We are currently in the debugging process
PV Watchdog Schedule : Milestones l Milestone 1: Nov 7 – – l Load program via serial connection Implement Sensors Design sensor interfaces Setup configuration data Milestone 2: Nov 21 – – – Implement Flash memory Setup web interfaces Be able to upload data to server
PV Watchdog Schedule : Comprehensive
PV Watchdog Conclusion l Intentions before expo - complete “above the line” items - Provide full documentation on the project - Provide easy to use, brief manual - Prepare system for delivery to the sponsor
- Slides: 27