PWM duty cycle gauge missing feature?

For discussion of Phil Tobin's Tuner Studio software (Only about the tuning software itself, not about how to tune or firmware features)

Moderator: LT401Vette

Post Reply
SwedCharger-67
Experienced MS/Extra'er
Posts: 264
Joined: Sun Dec 23, 2012 2:20 pm
Location: Nordmaling, Sweden

PWM duty cycle gauge missing feature?

Post by SwedCharger-67 »

I've designed my own PWM power electronics for speed control of a cooling pump. I would like to have a gauge showing the duty cycle driving the pump i.e. 0% at no pump and 100% at full pump.
Unfortunately my electronics is inverting the PWM signal (generic PWM output B connected to Nitrous 1 pin) and TS gauge is showing 100% at no pump and 0% at full pump.
I don't seem to find a way to swap it around, is there a way?
MS3X FW 1.5.1, regged TS v3.0.28 Linux-version.
Martin, Sweden
Mopar 512 cui, 8.4 liters, high compression, fuel E85, full sequential control by MS3X, burning rubber just blipping the throttle... :D
LT401Vette
Super MS/Extra'er
Posts: 12697
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: PWM duty cycle gauge missing feature?

Post by LT401Vette »

Create a new OutputChannel that inverts it

[OutptuChannels]

invertedDutyCycle = { 100 - yourCurrentChannel }


Then assign your gauge to that OutptuChannel.

You can make the OutputChannel in the TuenrStudio MS Ultra Channel Editor, or edit/add your custom.ini file.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
SwedCharger-67
Experienced MS/Extra'er
Posts: 264
Joined: Sun Dec 23, 2012 2:20 pm
Location: Nordmaling, Sweden

Re: PWM duty cycle gauge missing feature?

Post by SwedCharger-67 »

Thanks a lot Phil!
That did the trick nicely! Impressive flexibility and excellent software engineering in the TunerStudio! :D
Martin, Sweden
Mopar 512 cui, 8.4 liters, high compression, fuel E85, full sequential control by MS3X, burning rubber just blipping the throttle... :D
Post Reply