Full - Scale Wayside (01/28/2019 - 02/27/2019)

Team + Individual (Tynan) Blog (Up until 02/27/2019)
Programming: 

ATtiny841
ATtiny841 is configured and accepting code from master. (Not through UART but ISP). Explanation of the code can be seen in the flow chart on the ride hand side of the above schematic ("1st Attempt").

Each controller will have to be programmed an a value (controller #1, #2, ... , #n) in EEPROM using EEPROM.write (EEPROM_ARDUINO). EEPROM is essentially an extra hard drive with limited space. Things stored in here will remain when the chip is shut off.

Using Serial Communications, (Sent in Binary with serial.write(SERIAL_ARDUINIO)) the master can send a value to a specific chip telling it to turn on, read its supercapacitors voltage, send it back to the master and finally turn back off. This method ensures minimum current draw from cells and eliminates the need for a voltage divider (which is constantly drawing power).

The slaves are isolated from the master by a device called optoisolator. This device transmits incoming serial data digitally by blinking its build in LED. On the opposite side of the isolator, an opto transistor senses the binary data and opens its gate to simulate the flashing LED with serial data. The gate allows current to flow into the receiving pin on the ATtiny841 chip thus transmitting the correct data.

On receiving this "interrupt" signal, the chip will wake, delay, receive the serial communication, check that message with its own value stored in EEPROM. If it matches, a voltage will be read and mapped based on the internal ref voltage. This voltage will then be converted sent back to the master (Serial.write) using an optoisolator like before.

As long as only one chip is sending and receiving data, all chips can be wired in parallel, reducing the number of pins on the master.

Balancing Cells
To balance the caps sells a method commonly used when a large number of small voltage cells are wired in series (Li-ion, supercaps, etc) of "shuttling" energy from a full capacitor to a less full capacitor via a shuttling supercapacitor.  Paper here: Example using Battery Cells. 

The following simulations show a 350F supercapacitor being charged by a shuttling supercapacitor of 50F, 100F, 350F respectively. Pink = shuttle supercapacitor voltage. Blue = supercapacitor being charged voltage. Orange = Current [A].
50F --> 350F
100F --> 350F 


350F --> 350F

Comments

Popular posts from this blog

4 Weeks remaining: Small Scale Prototype

Week 10 - UCAP Update, Power Curves, Flow Chart. Mechanism Cad/Materials, etc