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

PWM duty cycle gauge missing feature?

Postby SwedCharger-67 » Sat Feb 10, 2018 12:14 pm

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
SwedCharger-67
Helpful MS/Extra'er
 
Posts: 99
Joined: Sun Dec 23, 2012 2:20 pm
Location: Nordmaling, Sweden

Re: PWM duty cycle gauge missing feature?

Postby LT401Vette » Sun Feb 11, 2018 10:16 am

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
User avatar
LT401Vette
Super MS/Extra'er
 
Posts: 10454
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC

Re: PWM duty cycle gauge missing feature?

Postby SwedCharger-67 » Mon Feb 12, 2018 10:32 am

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
SwedCharger-67
Helpful MS/Extra'er
 
Posts: 99
Joined: Sun Dec 23, 2012 2:20 pm
Location: Nordmaling, Sweden


Return to Tuner Studio

Who is online

Users browsing this forum: Baidu [Spider] and 2 guests