STARC ABL Software Harry Olar Software Engineer System - - PowerPoint PPT Presentation

starc abl software
SMART_READER_LITE
LIVE PREVIEW

STARC ABL Software Harry Olar Software Engineer System - - PowerPoint PPT Presentation

STARC ABL Software Harry Olar Software Engineer System architecture 8 250 KW Inverters 2 PCs 4 Embedded Linux Devices (PowerDNA) GUI (Graphical User Interface ) Controls Motors Controls Relays Saves Data Shows Relay


slide-1
SLIDE 1

STARC ABL Software

Harry Olar Software Engineer

slide-2
SLIDE 2

System architecture

  • 8 250 KW Inverters
  • 2 PCs
  • 4 Embedded Linux Devices

(PowerDNA)

slide-3
SLIDE 3

GUI (Graphical User Interface )

  • Controls Motors
  • Controls Relays
  • Saves Data
  • Shows Relay Feedback
  • Displays Data
  • Runs Flight Profiles
  • Software written in C#
slide-4
SLIDE 4

Embedded Linux Boxes

  • Firmware written in C
  • One for each wing (Starboard,

Port and Tail)

  • A Master that talks to all wing

units

  • Contains the ARINC664 and

CANbus interfaces

  • Allows access through SSH, SFTP
slide-5
SLIDE 5

Inverter Setup and Feedback

  • Rinehart GUI
  • Allows changing the limits(

speed/torque rate)

  • Display the raw data
slide-6
SLIDE 6

Communication

  • Protocols

UDP,CANBus,ARINC664

  • Over optical fiber
  • Redundant for data and

commands

slide-7
SLIDE 7

CANBus Communication (Controller Area Network )Communication

  • Used because of the Inverter
  • CANBus is used mainly by auto

industry

  • 1 Mb/s
  • Sends Telemetry
  • Receives commands
slide-8
SLIDE 8

ARINC 664 Protocol

  • Used by Airbus 380 ,Boeing 787
  • Full duplex
  • Redundant
  • Deterministic
  • Virtual links
slide-9
SLIDE 9

Motor Control

  • Ability to use flight profiles
  • (saved as excel files)
  • Variable command control rate

(normally 50 Hz)

  • Torque or Speed modes

200 400 600 800 1000 1200 1400 1600 1 1487 2973 4459 5945 7431 8917 10403 11889 13375 14861 16347 17833 19319 20805 22291 23777 25263 26749 28235 29721 31207 32693 34179 35665 37151 38637 40123

Chart Title

slide-10
SLIDE 10

Data collection

  • Collect all inverter and motor

telemetry

  • Collected data is used to verify

the simulation

  • Saved as Excel csv format
  • 50 samples/second
  • 50

50 100 150 200 250 1 944 1887 2830 3773 4716 5659 6602 7545 8488 9431 10374 11317 12260 13203 14146 15089 16032 16975 17918 18861 19804 20747 21690 22633 23576 24519 25462 26405 27348 28291 29234 30177

dcBusCurrent1

slide-11
SLIDE 11

Software Unit Testing

  • RUNNING rinehartTelemetryUpdate_can0xA6_inverter_unit_test UNIT TEST
  • RUNNING rinehartTelemetryUpdate_can0xA7_inverter_unit_test UNIT TEST
  • RUNNING rinehartTelemetryUpdate_can0xA8_inverter_unit_test UNIT TEST
  • RUNNING rinehartTelemetryUpdate_can0xA9_inverter_unit_test UNIT TEST
  • RUNNING rinehartTelemetryUpdate_can0xAA_inverter_unit_test UNIT TEST
  • RUNNING rinehartTelemetryUpdate_can0xAB_inverter_unit_test UNIT TEST
  • RUNNING rinehartTelemetryUpdate_can0xAC_inverter_unit_test UNIT TEST
  • RUNNING rinehartTelemetryUpdate_can0xAD_inverter_unit_test UNIT TEST
  • RUNNING rinehartTelemetryUpdate_can0xAE_inverter_unit_test UNIT TEST
  • RUNNING rinehartTelemetryUpdate_can0xAF_inverter_unit_test UNIT TEST
  • Software version 115 software major: 1 Software version 115 software minor: 15

ALL TESTS PASSED

  • Tests run: 41 .It took 0.066000 ms to finish the tests.
  • [centos@localhost Unit_tests_x86]$
  • Using MinUnit Framework
  • The smallest testable part of an

application

  • Unit testing finds problems early
slide-12
SLIDE 12

Code Statistics(lines of code)

  • Firmware
  • Language files blank comment code
  • C

28 2192 1673 5885

  • C/C++ Header 24 262 353 572
  • make 8 70 0 191
  • XML 8 1

0 114

  • YAML 1 0

0 21

  • Bourne Shell 1 3

3 3

  • SUM: 70 2528 2029 6786
  • GUI
  • Language files blank comment code
  • XML 25 193 0 25356
  • C#

63 2716 2738 11204

  • HTML 1 32 0

1811

  • MSBuild script 3 0 21

779

  • SUM: 92 2941 2759 39150
slide-13
SLIDE 13

Error handling

  • Communication Errors
  • Inverter Errors
  • Timeout Errors
slide-14
SLIDE 14

Future Work

  • Add computer control redundancy
  • Add generator redundancy
slide-15
SLIDE 15

Questions