Torque

Forums

Forums

Guest  

Show or hide header
Welcome Guest, posting in this forum require registration.




Torque » Torque OBD ECU Scanner » Torque Discussion / Ideas » Custom Oil Pid Flashes

Pages: 1 [2]
Author Topic: Custom Oil Pid Flashes
Capp777
Member
Posts: 2993
Post Re: Custom Oil Pid Flashes
on: March 24, 2017 (GMT)

Just wondering if you tried setting the max
to 255 or higher to stop the flashing?

I believe the flashing is because the process
variable is outside of min/max settings.

andre4813
Member
Posts: 30
Post Re: Custom Oil Pid Flashes
on: March 24, 2017 (GMT)

ok.
I try to do this.
only the maximum value?

I noted that it flash also with negative values..

example..we are in stable temp 85°C. I’ll see:

85…. 170….85……-27…..85….
in random way… the value 85 is surely more present then the flash values that appear and disappear very very fast!

here a video of previous unit that show you the problem

https://www.youtube.com/watch?v=oOXdDJIFXjo&feature=youtu.be

Capp777
Member
Posts: 2993
Post Re: Custom Oil Pid Flashes
on: March 24, 2017 (GMT)

Im thinking the ‘A value is being interpreted
as a value outside your min/max. It will probably
lead you to using a digital gauge.

Ian has also added a number of functions that
might be able to average the occasional bogus
reading away. Should be listed in his wiki links
above.

andre4813
Member
Posts: 30
Post Re: Custom Oil Pid Flashes
on: March 24, 2017 (GMT)

don’t find.
can you link that?

Capp777
Member
Posts: 2993
Post Re: Custom Oil Pid Flashes
on: March 24, 2017 (GMT)

As requested link…

https://torque-bhp.com/wiki/Equations

andre4813
Member
Posts: 30
Post Re: Custom Oil Pid Flashes
on: March 24, 2017 (GMT)

wow!
very interesting!

but how to use this?
where i have to write the equations?
and specially which I have to use?

I suppose this:
EWMAF(weight:value)
Exponentially weighted moving average filter – filter noisy signals here. ‘weight’ should be between 0(more smoothing) and 1(less smoothing)

Capp777
Member
Posts: 2993
Post Re: Custom Oil Pid Flashes
on: March 24, 2017 (GMT)

Quote from andre4813 on March 24, 2017
wow!
very interesting!

but how to use this?
where i have to write the equations?
and specially which I have to use?

I suppose this:
EWMAF(weight:value)
Exponentially weighted moving average filter – filter noisy signals here. ‘weight’ should be between 0(more smoothing) and 1(less smoothing)

End Quote.

Equation: EWMAF(0.001:((A*256)+B))
Equation: EWMAF(1.0:A)
Equation: EWMAF(0.1:Val{Tilt(z)})

andre4813
Member
Posts: 30
Post Re: Custom Oil Pid Flashes
on: March 24, 2017 (GMT)

sorry for my stupid questions..
but where I have to write this equations?
and I have to write all the equations yous wrote?

PS: I tried to change the scales..the minimum and the maximum..the problem remain..the shown error values is lower, it stay in the the range, but it flash in any case.

Capp777
Member
Posts: 2993
Post Re: Custom Oil Pid Flashes
on: March 24, 2017 (GMT)

There are no stupid questions.

No you don’t have to enter all
the examples. You need to edit
the equation of your custom pid
and put your current equation into
the value portion of the EWMAF
function. My equations were just
examples of how to use the function
and its syntax.

andre4813
Member
Posts: 30
Post Re: Custom Oil Pid Flashes
on: March 25, 2017 (GMT)

Ok my equation is AC-40

Can you write me what I have to put considering my equation?

Capp777
Member
Posts: 2993
Post Re: Custom Oil Pid Flashes
on: March 25, 2017 (GMT)

Quote from andre4813 on March 25, 2017
Ok my equation is AC-40

Can you write me what I have to put considering my equation?

End Quote.

Equation: EWMAF(0.1:AC-40)

You can change the 0.1 value as needed to smooth.

andre4813
Member
Posts: 30
Post Re: Custom Oil Pid Flashes
on: March 25, 2017 (GMT)

Tks very much
I TRY and give feedback

andre4813
Member
Posts: 30
Post Re: Custom Oil Pid Flashes
on: March 25, 2017 (GMT)

nothing…
I gone with the value up to 1.
tried
0,1
0,5
1
the problem stays.
smoother but it stays

Pages: 1 [2]
WP-Forum by: Fredrik Fahlstad, Version: 2.4
Page loaded in: 0.041 seconds.

  Follow me on twitter