Bayley Wang / priustroller

Prius IPM controller

Dependencies:   mbed

Fork of analoghalls5_5 by N K

Revisions of main.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
:86b87913d8e1 23 months agoCurrent sensor zeroing about as good as I can get it; 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
:d00561c7bf43 23 months agoSeparate loop constants for Id and Iq 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 24 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
:dccbaa9274c5 24 months ago--Initial Commit: 03-08-2015 new context-based code; no more timers (=easier debugging) File  Diff  Annotate
:b4abecccec7a 24 months agouguu; File  Diff  Annotate
:d3b70c15baa9 24 months agoloop is closed.; File  Diff  Annotate
:76d6ceb23e0d 24 months agouh what; File  Diff  Annotate
:99ee0ce47fb2 24 months ago3/4; File  Diff  Annotate
:ee1e6c84c302 24 months agohi there; File  Diff  Annotate
:fdadf4a3577a 24 months agomotor spins; File  Diff  Annotate
:0a2396597e0d 24 months agoshould turn moter File  Diff  Annotate
:1f58bdcf2956 24 months agomoar File  Diff  Annotate
:54cf32d35f4d 24 months agofirst publish File  Diff  Annotate