View Single Post
Old 11-23-2015, 10:21 PM   #2361 (permalink)
thingstodo
Master EcoModder
 
Join Date: Sep 2010
Location: Saskatoon, canada
Posts: 1,483

ChargE (not yet running) - '92 Mazda MX6 LX
90 day: 33.89 mpg (US)

Ford Prefect - '18 Ford F150 XLT XTR
Thanks: 747
Thanked 562 Times in 445 Posts
Quote:
Originally Posted by MPaulHolmes View Post
I've been updating the software more, so that all the optional variables are in the normal nice format, like real life actual amps (with 1 decimal) and real life volts, and also % of voltage being used, etc.. 16 variables to choose from (0, 1, 2, ..., or all 16). And as you suggested, the 1kHz timer is one of the 16, so you can know what time things are actually happening. I should get it tested and sent over to you hopefully tomorrow. And when you mentioned the csv format or whatever it was called, I looked that up, and just changed it so the output format would be CSV.
Cool. That will make it faster to import to LibreOffice Calc - the open source version of excel

Quote:
No sense forcing people to cut and paste into excel. Here's the list of variables:
Code:
	// bit 15 set: display counter1ms
	// Bit 15 set: display Id
	// bit 14 set: display Iq
	// Bit 13 set: display IdRef
	// bit 12 set: display IqRef
	// Bit 11 set: display Vd
	// bit 10 set: display Vq
	// Bit 9 set: display Ia
	// bit 8 set: display Ib
	// bit 7 set: display Ic
	// Bit 6 set: display Va
	// bit 5 set: display Vb
	// bit 4 set: display Vc
	// Bit 3 set: display rawThrottle
	// bit 2 set: display normalizedThrottle
	// Bit 1 set: display temperature
	// bit 0 set: display slipSpeedRPM
	// Bit  3 set: display electricalSpeedRPM
	// bit  2 set: display mechanicalSpeedRPM
	// Bit  1 set: display batteryCurrent
	// bit  0 set: display % of voltage being used.  Ratio of radius of <Vd,Vq> to Total voltage.
So - more than 16 means you can do 32 and have some spare slots for future expansion!

I would suggest this split - no real reason but it seems to work out.
Code:
        // LogFlags1
	// Bit 15 set: display Id
	// bit 14 set: display Iq
	// Bit 13 set: display IdRef
	// bit 12 set: display IqRef
	// Bit 11 set: display Vd
	// bit 10 set: display Vq
	// Bit 9 set: display Ia
	// bit 8 set: display Ib
	// bit 7 set: display Ic
	// Bit 6 set: display Va
	// bit 5 set: display Vb
	// bit 4 set: display Vc
        // bits 3 - 0 are for future

        // LogFlags2
	// bit 15 set: display counter1ms
	// Bit 14 set: display rawThrottle
	// bit 13 set: display normalizedThrottle
	// Bit 12 set: display temperature
	// bit 11 set: display slipSpeedRPM
	// Bit 10 set: display electricalSpeedRPM
	// bit  9 set: display mechanicalSpeedRPM
	// Bit  8 set: display batteryCurrent
	// bit  7 set: display % of voltage being used.  Ratio of radius of <Vd,Vq> to Total voltage.
        // bits 6 - 0 are for future
Looking forward to the new code!

  Reply With Quote
The Following User Says Thank You to thingstodo For This Useful Post:
MPaulHolmes (11-23-2015)