Page 1 of 1

Load Cell

Posted: Wed Aug 04, 2010 8:25 pm
by RichardB
Hi gents,

I have upgraded to the 1.17.1 version of the firmware on S6Pnp for the A/C related funtionality. After importing my previous Cal, I went to configure the A/C Switch in I/O Configuration. I found that the AN12 pin which appears to be the correct pin for the A/C Switch based on the pinouts I've seen on this forum, was already configured for Load Cell 1. I can't find any information on what Load Cell 1 does, except that it seems to be a sensor input of sorts. Before I set the A/C Switch to AN12 and set Load Cell 1 to NOT CONNECTED, could someone please let me know that's ok?

Edited to add the car is a MY05 Impreza.

Thanks
Richard

Re: Load Cell

Posted: Thu Aug 05, 2010 11:04 am
by pat
Richard,

The Load Cell inputs (three of) are used to sense desired pressure for the Brake By Wire strategy. The sum of all three load cells is used to look up the desired brake PWM duty (two outputs). The strategy was designed for those drives unfortunate enough not to have functional legs and therefore unable to press the brake pedal (and it *IS* in use!). Since it isn't in use on the Impreza and because I needed a function that could control the A/C clutch, I opted for using the Brake By Wire function as a stand-in until the proper A/C strategy was ready. Please just re-assign AN12 to the Air Con Switch input and PWM8 (if memory serves) to the Air Con Relay output (or whatever is currently on Brake By Wire 1 output). Please note you will need to set the switch polarity to Active High and set the Input Pullup to Off...

Note also that you can now in the Fan1 and Fan2 outputs allow them to be triggered by the Air Con output, to cool the condenser matrix; there is a configurable delay for this to prevent a huge load change, I normally delay them 3 and 5 seconds respectively. Furthermore note that under the idle control there is both a base duty and a target idle speed adder for when A/C is on.

Hope this helps,

Pat.

Re: Load Cell

Posted: Thu Aug 05, 2010 3:54 pm
by RichardB
Thanks Pat, much appreciated.
That most certainly answers all the questions I did and may have had on this funtion.

Cheers
Richard

PS: please don't forget to send out my Cal switch when you get a moment.

Re: Load Cell

Posted: Sat Aug 07, 2010 7:47 pm
by secure
I am getting a cal error active LR CAN datastreams frames must be filled
It is a MY98

cheers

Re: Load Cell

Posted: Sun Aug 08, 2010 7:01 pm
by secure
I got sort out cal error problem by selecting NONE from datastream temporarily but I couldn't make A/C work yet.

The original output configuration was
Inputs: Brake by wire PWM_01
Output: Loadcell AN12

I change it to
Inputs: Aircon Switch AN12
Output: Air Con control PWM_01

the problem is
"Aircon Switch" gets ON/OFF when I switch the climate button and ecu adds idle duty and idle rpm but the a/c compressor does not work thus no cooling =)
It seems like the "Aircon Ctrl" stays OFF all the time. I don't know what I am missing but I have also configured Aircon Control in the output functions.
Is it smt about the clutch switch or enable switch? or i am gonna check aircon relay or compressor.

cheers

Re: Load Cell

Posted: Mon Aug 09, 2010 9:29 pm
by pat
Curious that you get idle raised but no A/C compressor! If airConCtl remains OFF just check that you haven't set the RPM and TPS thresholds to silly values:

Off engine speed is the maximum RPM the compressor can cope with, normally 6000RPM. Above this speed the output will be turned off until it falls below On engine speed again, typically set this 100 RPM lower than the Off speed, so 5900 RPM. Off throttle position allows the A/C to be disengaged when you go foot to the floor, typically set around 80%, above this throttle position the output will turn off until the throttle drops below the On throttle position, typically 5% less than the Off setting, so about 75%.

Also bear in mind that the A/C input pullup must be turned off and that it is active high not active low....

Hope this helps,

Pat.

Re: Load Cell

Posted: Mon Aug 09, 2010 9:48 pm
by secure
weird :geek:
This is what i did :/
I get idle raise by pressing the A/C button(Aircon sw gets ON) but the AirCtrl remains OFF.
May be i need to check aircon relay.

Re: Load Cell

Posted: Mon Aug 09, 2010 10:40 pm
by secure
just checked my calibration file again.
it seems that i set the ON throttle position below %5 and OFF throttle position to %80.
I thought ON throttle position value is where the ecu turns the output ON above this value.
so I set it below my default TPS value (%5)
but it seems like it works like hysteresis

Thanks Pat!