
# Design Notes for the Wave Energy Controller Board (REV B)

## Table of Contents
- [Design Notes for the Wave Energy Controller Board (REV B)](#design-notes-for-the-wave-energy-controller-board-rev-b)
  - [Table of Contents](#table-of-contents)
  - [Supported Configurations](#supported-configurations)
    - [Battery Controller](#battery-controller)
    - [PTO Top Hat Pneumatic Spring Controller](#pto-top-hat-pneumatic-spring-controller)
    - [Heave Cone Controller](#heave-cone-controller)
  - [Connector Occupancy](#connector-occupancy)
  - [Changelog](#changelog)

This design is an evolution of the Revision A Boost Controller Board, and going forward will be re-branded as the Wave Energy Controller Board, as the Generator housing now has its controller directly on the power electonics PCBs as well. 

## Supported Configurations

### Battery Controller

* CAN Bus
* Bender IRDH275(B)
* Humidity Sensor
* Battery Load Switch Board
* Battery Pack (Equalizing & Stop Charge)
* [Bender IRDH275(B)](X:\707976_EPBuoyPrototypeAndTesting\EE.Drawings\BuoyControllerBoard_10021168b\datasheets\offboard\benderGFI)
* [Hydrogen Sensor](X:\707976_EPBuoyPrototypeAndTesting\EE.Drawings\BuoyControllerBoard_10021168b\datasheets\offboard\rkiHydrogenSensor)
* [SurgeStopper For Bender](X:\707976_EPBuoyPrototypeAndTesting\EE.Drawings\BuoyControllerBoard_10021168b\datasheets\offboard\linearTechSurgeStopper)



### PTO Top Hat Pneumatic Spring Controller

* CAN Bus
* [Laser Range finder (0-20mA)](X:\707976_EPBuoyPrototypeAndTesting\EE.Drawings\BuoyControllerBoard_10021168b\datasheets\offboard\laserRangeFinder)
* [Pressure Sensors (2), Honeywell FPA1CP,1Y,2F,5R,6Q](X:\707976_EPBuoyPrototypeAndTesting\EE.Drawings\BuoyControllerBoard_10021168b\datasheets\offboard\honeywellPressureSensor)
* [Motorized Valve (Digital IO)](X:\707976_EPBuoyPrototypeAndTesting\EE.Drawings\BuoyControllerBoard_10021168b\datasheets\offboard\mbariMotorizedValve)
* [Ultramotion A1 Series ServoCylinder (DIO)](https://ultramotion.com/servo_cylinder/ultra-motion-servo-cylinder-manual.pdf)

### Heave Cone Controller

* CAN Bus
* BatteryBackUp Board/Trefoil Power
    * Vectornav VN100, TTL UART on RS485 J?
    * 
* [Actuator, RS232 Maxon Motor Controller](https://www.maxongroup.com/medias/sys_master/8825356615710.pdf) with Maxon motor and encoder. [Datasheets](X:\707976_EPBuoyPrototypeAndTesting\EE.Drawings\BuoyControllerBoard_10021168b/datasheets/offboard/heaveConeActuator)
* Analog Inputs, {Bus V (48V), Batt V}
* [Pressure Sensor, Honeywell FPA1CP,1Y,2F,5R,6Q](X:\707976_EPBuoyPrototypeAndTesting\EE.Drawings\BuoyControllerBoard_10021168b\datasheets\offboard\honeywellPressureSensor)

## Connector Occupancy

| Connector/ShortName | Battery Box | Top Hat | Heave Cone |
|:--- |:--- |:--- |:--- |
| J1 / PWR      | X        | X      | X        |
| J2 / CAN      | X        | X      | X        |
| J3 / ICD      | X        | X      | X        |
| J4 / RS485    |          |        | VN100    |
| J5 / RS232    | MAXON    | DIAG   | ACTUATOR |
| J6 / AIN      | V/I ANA  |        | BATT-MON |
| J7 / VIN-1    | CHARGED  | DIFFP  | SW-PRESS |
| J8 / VIN-2    | EQUALIZE | DIFFP  |          |
| J9 /  CIN-1   | HYDROGEN |        |          |
| J10 / CIN-2   | BENDER   | LRF    |          |
| J11 / DIGIO   |          | PUMP   |          |
| J12 / PWM     |          | VALVE  | BATT-CTL |
| J13 / EMCABLE |          |        |          |
| J14 / DIO     | LOAD SW  | RELAYS |          |

## Changelog

2018-05-04 09:47:50 added SPI connector and mapped to SPI2
*  does SPI connector need voltage output
*  what is the SPI bus voltage you want?

2018-05-04 09:48:19 did reference noise budget in worksheet

2018-05-04 09:49:54 Highlighting 
*  highlight em cable test, remove or convert to simpler switch circuit? 

2018-06-13 10:23:25 Added SPI1 connections
*  inserted appropriate IC for differential reception on the encoder channels, dig inputs connector (J11) is now a 12-pin harwin. 
*  removed cable fault detection circuit, kept switch circuit.

2019-08-21 15:13 Wrapped up a the first pass at changes
*  2: changed power supplies to LT uModules
*  4: changed differential VSIG to 5V primary, reduce number of channels
*  1: implement variant for ref 3V0 and 3V3
*  3: implement variant for RS485
*  3: added chokes and TVS to CAN
*  3: set slope control on CANBUS
*  5: implemented variant for battery monitoring
*  5: generic renaming on channels
*  6: need to better define the DIO and review PWM channels
*  7: added i2c device page  

2019-08-26 15:00 REV 2.0.3
*  1: Removed option for 3v3 ref
*  1: Cleaned up off page connector names
*  2: Removed 5V supply as an option (TODO, remove components after approval)
*  3: Created daughterboard interface header, changed TVS to pushpull single packages
*  4: Optimized channels for higher resolution in 0-2V input channels that are not employed in the generator can, which is also the range for the battery voltages in the heave cone, and will be the range for the battery box as well as we upgrade all V/I sensing. Also, this greatly reduces part count.
*  5: Now that 3V0 ref is the standard, all signal reduction is tuned for 3V0 output.
*  6: Switched RB3-5 triple output drive to a proper opto drive circuit for the ultramotion. Also switched selector resistors to solderblobs. 
*  7: Moved i2c connector into the daughtercard header on page 3 with SPI lines. 

2019-09-12 11:12:28 REV 2.1.0

* 4: Changed R26 value for 3V3 to 3V0 scaling
* 2: Added more #4 hole for all corners, only one hooked up to chassis.
* Updated Off-page
* Sent to Layout

2019-09-15 16:51:00 REV 2.1.1

* Post initial layout review, changed to jumper resistors on analog channels for less voltage drop risk.
