• 5 April 2019 at 12:43 #1847
      Dedier
      Participant

      Abstract
      The datalogger is used to monitor the onboard CANbus and collect data about the battery, maximum power point trackers and motor driver. The datalogger has the possibility to read his own sensors as well, with an onboard IMU and I2C expansion header as well as four UART serial ports. The datalogger can support three different CAN busses, two of the busses are wired through the SPI peripheral since there is kernel support for the CAN controller, the third bus uses the SAMA5D36’s CAN peripheral. The datalogging system can write to two SD cards, the second SD card is used as a fail-safe in case the first one fails or corrupts. The datalogger can push data over the internet with the use of a mini PCIe compatible modem and a valid SIM card, some modems can receive a GPS signal as well which can be used to geographically stamp the data.

      Requirements

      1. Supply voltage 12 volts, supports up to 32 volts
      2. Has at least two separate CAN buses available
      3. Write to redundant SD cards
      4. Communicate over the internet for remote data evaluation
      5. Receive a GPS signal
      6. Ethernet functionality
      7. Wifi through a USB dongle
      8. Has a backup power supply for safe shutdown
      9. Possibility to connect an LCD display
      10. Onboard IMU

      The datalogger will be built around the Acme systems Acqua, this system on module uses a SAMA5D36 as its main CPU and has all the peripherals we desire and is well documented. More information about the SOM can be found on the manufacturer’s website (https://www.acmesystems.it/acqua). The Acqua board has been chosen because the SAMA5D36 that is used on the board supports CAN, MMC, UART, Ethernet, SPI, I2C, USB and has support for an LCD.

      Component selection

      The schematics are available below under “Schematics”

      MPU
      Selected: Acmesystems ACQUA-512E-N256-D36
      The choice for the Acqua was made based on its power consumption, the number of peripherals and the fact that the system-on-module is very well documented.

      Modem
      There is a mPCIe slot on the board which can fit a modem, we use the slot in combination with the quectel EC-20. This modem can communicate over 3G and 4G networks and receive a GNSS/GPS signal to get the boat’s position.

      Super Capacitors
      The supercapacitors were chosen because of their leakage current, capacitance and voltage rating. The specifications for the surge current en ESR are less interesting since the amount of current drawn is not that excessive and only for a minute when the main power source is not available. The supercapacitors are used when the LTC4412 measures the main power failure when this happens a P-channel MOSFET is switched so the capacitors will be the power source. When the P-channel MOSFET is conducting the LTC4412 signals the MPU which upon receiving the signal starts shutting down.

      Voltage Regulators
      Since the systems, input voltage was specified at a minimum of 12V and a maximum of 32 V and most components operate at 3.3V or 5V there must be a voltage converter for this we use converters with a buck topology since the input is always higher than the output. While doing research into switching regulator IC’s we found that Linear makes quite efficient regulators whit efficiencies up to 95%. The LT8610 buck converter is one of the IC’s with a 95% efficiency and can deliver 2.5A output current which is plenty for the 3.3V and 5V rail (which has USB ports). The charging of the supercapacitors is a one time only event and we chose the LTC3630 for this, this regulator is a bit cheaper and charges the caps using pulsed current outputs.

      SD slot
      Selected DM3AT-SF-PEJM5
      We wanted a push-push SD card slot for easy insertion and removal. This SD slot has just that and the footprint is quite compact which is a plus for component placement.

      RTC
      Apart from the internal RTC in the acqua we wanted an external RTC as redundancy. The choice was made for the RV-1805-C3 which is a very efficient RTC in a small but easily solderable package. The IC communicates using the I2C protocol which is fast enough for reading the time upon boot.

      IMU
      The IMU (Inertial measurement unit) collects data about the angle the boat is in. Based on the raspberry pi data logging systems which had an IMU as well we knew how much G force we can expect on the boat, this parameter, as well as efficiency and operating voltage, made us choose the ICM-20602.

      LCD
      The LCD is used as feedback from the system to the driver, it shows the data received over the CAN bus that is useful when sailing such as the battery percentage and cell voltage as well as how much power is coming in from the solar deck. Acmesystems has a couple of LCD’s available and we quite liked the 5.0-inch display. Implementing the display started as something we just liked to do for fun, but after we had an issue with a wave of salt water in Monaco and our former display we are going to implement it as our main display.

      SD ESD protection
      Selected: CM1624
      The ESD protection device CM1624 is made specifically for SD cards and has the pull-up resistors integrated, in its uDFN package it doesn’t take up much space on the board. The main disadvantage of the IC while designing the board was the stock at our suppliers which is why we placed external pull-up resistors as well so the CM1693 can be placed as well.

      CAN Transceiver
      Selected: MCP2561
      The MCP2561 was selected since we used the same IC on our first raspberry pi based datalogging system.

      Schematics
      The full set of schematics for the datalogger are made available upon request via https://engineersofinnovation.nl/contact/ free of charge, by requesting the CAD files you agree to not use the design files for commercial purposes.

      For more information or any other questions see our website: https://engineersofinnovation.nl/portfolio/datalogger/

      Special thanks to:

      Euro Circuits, Altium and RS Components

      • This topic was modified 4 years, 11 months ago by Dedier.
      • This topic was modified 4 years, 11 months ago by Dedier.
      • This topic was modified 4 years, 11 months ago by Dedier.
      • This topic was modified 4 years, 11 months ago by Dedier.
      • This topic was modified 4 years, 11 months ago by Dedier.

You must be logged in to reply to this topic.