Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Date

Individual

Progress

Feb 27 2021

Jess

BMS CARRIER

  • testing with two AFEs, not one in the middle

  • initially wasn't working, got just 0xff for data and PEC error

  • plugged just far left IsoSPI to carrier, then put config back to normal, then it worked fine

  • looking at thermistor readings only lists 12/AFE, changed to 32 (from schematics)

    • there's some significant reworking to be done around thermistor readings

    • seems like we already just cycle through all aux readings before proceeding, maybe can just bump to 32 different reads

  • I spent most of my time looking at code / data sheets, no real new testing

Things for other firmware members to do

  • validate the controller boards sitting on elec bench (check leds, check CAN)

  • set up what boards we currently have, make sure power sequencing works

Feb 28 2021

Jess

BMS CARRIER

  • worked on thermistor readings more

  • figured out some fiddly code bits in smoketest, we seem to be getting realistic data

    • code will definitely need some cleanup, but it's a good start

  • plugging in a resistor directly to thermistor ports didn't seem to change the data we got

  • created a real crimped 10k NTC (the expected thermistor) to test with

  • PROBING TIME (we love hardware)

    • we seem to be getting no signals via GPIO to the mux

    • turns out a bunch of debugging went into this, but we never merged the changes

    • from gerald, branch soft_222_smoke_ltc6811_validation has the changes

  • Temperature readings seem to be accurate now! this is so exciting

  • Far left AFE temperatures are actually broken, readings are wack

  • It turns out only the primary AFE reads temps correctly, which is probably a firmware issue

    • It seems like we’re only writing to the COMM register with the first AFE. The code change necessary is probably to duplicate the packet multiple times to write the same packet to all AFEs in the chain.

Feb 28 2021

Nita

Centre Console

  • Worked on hand assembling the board

    • mostly just resistors/caps so far

  • No problems so far. Left the unfinished board on the bench next to the blank controller board PCBs.

Feb 28 2021

Aashmika

AFE Validation

  • Helping Jess with isolating some of the thermistor reading problems, and harnessed a quick NTC for testing out with any of the AFEs

Centre Console

  • found all the necessary components for assembly

  • unfortunately either jlc messed up or I did - did not have a stencil for this board, but there is one for current sense which I didnt want 😕

Motor hall effect testing

  • Borrowed a scope from robotics since ours was having a day

  • scoped the hall effect peaks from the motor

    • found that the peaks are still a bit under 200mV which is still very small, even with a 12VDC supply (limited it to 20mA, and it drew 15mA for both 5V and 12V reference)

  • the major concern with the 200mV peak is this part of the sensor board datasheet

    • I don’t know how possible this is, but we should talk to nomura about expected output from the mitsuba’s, or the iowa state team.

  • need to discuss possible steps forward

March 2 2021

Jess

BMS Carrier

  • Made a code change to write the COMM register to all AFEs

  • We now read temps from multiple AFEs correctly!

  • It still seems like the last AFE (far left) is borked, its numbers are way off the other ones

March 6 2021

Jess

BMS Carrier

  • Fixed some firmware issues that stopped passive balancing from working, lol I dunno how it ever worked (I actually did the worst code review on it, my bad)

  • passive balancing seems to be working on at least one AFE, haven’t tested on more

  • TODO: test balancing on multiple AFEs, have to write some more code to handle this

March 6 2021

Aashmika

Motor + WS22

TODO:

  • MCI based control on motors and test with precharge circuit

  • HV testing with motors and DCDC

March 6, 2021

shanika

BMS Carrier

  • set up BMS carrier board for reflow

  • located components for BMS carrier board

    • missing: IC HSD dual-channel 40V (TPS2H000BQPWPRQ1) 😔 ✊

  • todo: reflow board

March 6 2021

Janvi + Hunter

CENTER CONSOLE

  • Worked on finding components and assembling the board (Resistors, some caps & U5)

  • All parts are in the Center Console box

March 7 2021

Jess

BMS CARRIER

  • updated project to be good rather than just smoketest

  • fixed a few unit tests

  • Killswitch doesn’t seem to be working at all 🤔

  • AFEs should be fully validated now (at least firmware is), need to test current sense again for good measure, then hook everything up

Mar 7 2021

Mitchell

CHARGER

  • All plug states working correctly, begin_sequence logic is correct

  • Can logging for plug is successful, ALLOW_CHARGING recv’d correctly

TODO:

  • verify pin outputs for relay circuit, load switch, control pilot select, charger sense

March 7 2021

Hewitt

MCI

  • Tested and made sure it was still generally working as expected – messages from the motor controller are picked up correctly + periodically broadcast

  • Made some small changes to FW

  • Messages that we aren’t filtering for still get processed by the MCP2515 very rarely, will look into and try to find a fix but I haven’t been able to find a way to reproduce so far

March 13 + 14 2021

Hewitt

MCI (+ pedal)

  • Got speed commands working with pedal by changing some stuff to make it always in forward state. Will always send 100 rpm for forward/-100 for reverse with current code

  • Pedal only worked for 20 seconds before starting to send int16_max for brake + throttle values. ADS1015 readings are returning STATUS_CODE_INVALID_ARGS when getting brake data (due to channel_is_enabled returning false), STATUS_CODE_TIMEOUTwhen getting throttle data

  • MCI should™️ be good to test with the motor/precharge if we can get pedal working/mock pedal TXs

  • Removing the LOG_DEBUGs in mcp2515.c causes it to stop working

March 14, 2021

Nita

BMS CURRENT SENSE

  • spent like 3h finding stuff

  • got half of the components onto the board before I ran out of time and shoved everything in the reflow oven

  • left the board in the blue box.

  • The rest will probably have to be hand soldered

March 16 2021

Hewitt

Pedal

  • Tested with the MCI controller board and got the same errors as with the pedal controller board (see above), so probably an issue with the board itself

Power Select

  • Still works, ran for a while and everything was as expected

  • IIRC it was working with the power on main sequence earlier, so should be good to work with mockup. I changed that part of the code a bit so needs to be tested again, but should be quick

March 16 2021

Mitchell

Charger

  • Worked on getting the mcp2515 working, determined that it is broken and will need to be replaced.

  • Next time will work on validating pwm input (EVSE_CONTROL_PILOT), should be relatively straight forward

March 20 2021

Hewitt

MCI

  • Pedal still not working, wrote script to mock CAN messages

  • Precharge is wonky, hardware looking at it

March 27 2021

Hewitt

MCI

  • Can kind of control motor with it now yay

  • Base addr of driver controls is 0x500, can send speed/current settings OK

  • Theoretically we’ll be setting motor to 20000 and control it by changing the current. Right now if we have it set there pretty much any nonzero pedal value gets us to 250 rpm and then status starts setting the “Output Voltage PWM” limit flag

  • If we increase motor voltage through the power supply from 60 V, rpm increases but the limit flag is still set

  • I feel like we need to add resistance to the motor so that it starts getting limited by torque, but idk. There’s a dynamometer next to the motor that might be meant to be used for this

  • From what I can tell the wavesculptor receives motor speed commands in terms of rpm, but we treat them in terms of m/s in the code. Should probably convert them but I think we need wheel radius to go between?

March 27

Jess + Aashmika

Current sense

  • Made a completely new current sense last week

  • clock seems to be triggering but it’s super short bursts that aren’t read correctly on the scope

  • We replaced the XFMR1 and LTC6820 at least twice for each of them

  • Things to try next:

    • send other things, see if the clock changes at all based on the things we send

    • look online for this problem

    • revisit data sheet

    • try to learn how to debug isospi directly

    • reach out to linear technology to get help

    • validate the rest of the board (ADC), jumper SPI from carrier to current sense

Precharge

  • Still not working with the WS22s (relays wont latch and precharge wont end properly unless we are using the testing capacitors… should look more into the datasheet for this or ask prohelion)

  • need to debug this problem, but for now turning on and off the high voltage power supply makes the relays latch, so we are doing this for hewitt to test the motor controllers

March 27 2021

Janvi

CENTER CONSOLE

  • Added the LEDs and some ICs to center console

  • All parts are in the Center Console box

  • To do: Look for remaining components + assemble

...