Bayley Wang / priustroller

Prius IPM controller

Dependencies:   mbed

Fork of analoghalls5_5 by N K

Revisions of callbacks.cpp

Revision Date Message Actions
:83cf9564bd0c 23 months agoSet for 3A Iq, 0A Id, Ki = 1e-3, Kp = Kd = 0, loop still oscillates but is passable File  Diff  Annotate
:bfe180de813a 23 months ago[WORKING] current loop closed, signs of (Iq, Id) and (Vq, Vd) aligned. File  Diff  Annotate
:e7b132029bae 23 months agoNew working set - reverted to synchronous current sensor reads File  Diff  Annotate
:4e1a223fad52 23 months agoCrunchy motor, temp commit for reverting File  Diff  Annotate
:2b6d426f3bfc 23 months agoNew interrupt driven current-sensing; current sensors have a ~0.2A offset File  Diff  Annotate
:cb03760ba9ea 23 months agoCautionary commit, possibly works File  Diff  Annotate
:846c08fb3697 23 months agoNONWORKING: debugging native ADC reading File  Diff  Annotate
:0003b824dd7d 23 months agofixed swapped _kp and _kd in context.cpp; doesn't run great with the loop closed.; File  Diff  Annotate
:f1ff9c7256b5 23 months agoAdded multi-channel debug logger in debug/, set up #channels and depth in main(), write in log() function. motor stops turning after trace is captured, requires reset to restart File  Diff  Annotate
:46d164aa4f1c 23 months agoSVM table now correct. 2.05A at 65V,; todo: correct 50% dtc at 0 throttle; incorporate PI control File  Diff  Annotate
:da41c08e51bc 23 months agofixed an issue with the debug output File  Diff  Annotate
:fd6771a6685a 23 months agotweaks to debugging code - debug registers are now global; define aliases to them in includes.h File  Diff  Annotate
:c10d0aa3c0e1 23 months agoreworked serial so that printing is possible even outside of contexts File  Diff  Annotate
:79e247e54d78 23 months agofixed a bug in position sensor initialization + hack in modulators.cpp to make motor turn, 2.19A@20V File  Diff  Annotate
:c35ad58f6620 23 months agomisc documentation changes File  Diff  Annotate
:dccbaa9274c5 23 months ago--Initial Commit: 03-08-2015 new context-based code; no more timers (=easier debugging) File  Diff  Annotate