AC control by PDM issue

Discussion and support for MoTeC Power Distribution Modules

AC control by PDM issue

Postby Ultima on Fri Oct 27, 2023 1:54 pm

I have the Air Conditioning in my Ultima GTR controlled by a MoTeC keypad and PDM30. The logic was previously setup for me by a tuner.

With the AC button selected, and the car running the AC compressor constantly clicks on and off every few seconds.

Its not mechanical as the compressor, gas level and high pressure switch have all been checked. The PDM is turning the compressor output on and off continually which can be monitored, but if I manually test the output it will run continually without an issue.

I'm trying to understand why the PDM logic has been set up the way it was and why it constantly turns on and off.

The setup is probably not optimum, but this is the way it currently is:

The physical wiring is simple. There is no temperature control circuit, just on or off. When AC is switched at the CAN keypad power goes from the PDM output to the compressor, through a high pressure switch to the single wire point on the compressor clutch, and a signal wire from the same point at the compressor end goes back to a PDM input to tell it the compressor is running. The PDM uses the compressor running signal to tell the dash (Plex) via CAN and the dash tells the ECU (Syvecs) via CAN that the AC is running. It was done that way because they ran out of inputs on the ECU to wire the AC directly.

So the ECU isn't wired to and doesn't control the AC. Only the PDM controls the AC.

The settings in the PDM are as follows:

One of the keypad buttons is designated as the AC.Button channel.
Image

A function AC.Sw is setup based on the AC Button condition:
Image

The 5A compressor output AC Compressor turns on conditional on the AC.Sw value
Image

An input pin designated ACRunning receives the looped back signal wire from the compressor and a CAN output sends that info out to the ECU via the dash.
Image
Image

Is this how it should be setup and are these settings causing the compressor to continually turn on and off?

I don't understand why the output condition was setup using a 'flash' parameter, but if I just change it to AC.Sw true the AC doesn't come on at all.
Ultima
 
Posts: 3
Joined: Fri Nov 13, 2020 3:42 pm

Re: AC control by PDM issue

Postby Stephen Dean on Fri Oct 27, 2023 4:25 pm

Hi,

Flash is not the correct function for this. I would setup a counter function that swaps between 0 and 1 when the AC.Button is pressed, then use the output of this to turn the output on/off. If you want to post the config we can check it out for you.
Stephen Dean
MoTeC Research Centre Melbourne, Australia
User avatar
Stephen Dean
Site Admin
 
Posts: 1614
Joined: Tue Dec 02, 2014 10:29 am
Location: Melbourne

Re: AC control by PDM issue

Postby Ultima on Fri Oct 27, 2023 6:09 pm

That would be great. Config attached.
Attachments
Ultima PDM 30 - 010823.pdm
(200.83 KiB) Downloaded 151 times
Ultima
 
Posts: 3
Joined: Fri Nov 13, 2020 3:42 pm

Re: AC control by PDM issue

Postby Stephen Dean on Fri Oct 27, 2023 8:22 pm

Hi,

Give this a try, I haven't made much of a change. Have a look at the states for ACsw and AC Compressor in the Monitor PDM window when the button is pressed. The state of AC.sw should toggle between on and off when thebutton is pressed, and the AC Compressor should switch on when the AC.sw toggles on.
Attachments
Ultima PDM 30 - 010823.pdm
(199 KiB) Downloaded 150 times
Stephen Dean
MoTeC Research Centre Melbourne, Australia
User avatar
Stephen Dean
Site Admin
 
Posts: 1614
Joined: Tue Dec 02, 2014 10:29 am
Location: Melbourne

Re: AC control by PDM issue

Postby Ultima on Sat Oct 28, 2023 12:44 pm

That works thanks.
Ultima
 
Posts: 3
Joined: Fri Nov 13, 2020 3:42 pm


Return to PDM15 PDM16 PDM30 and PDM32

Who is online

Users browsing this forum: No registered users and 2 guests

cron