# PMU delayed power off

**URL:** <https://community.ecumaster.com/t/pmu-delayed-power-off/594>\
**Category:** PMU\
**Created:** [January 12, 2024, 2:53pm UTC](https://community.ecumaster.com/t/pmu-delayed-power-off/594 "2024-01-12T14:53:32Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![mario](https://avatars.discourse-cdn.com/v4/letter/m/8e7dd6/32.png) [@mario](https://community.ecumaster.com/u/mario)\
**Post date:** [January 12, 2024, 2:53pm UTC](https://community.ecumaster.com/t/pmu-delayed-power-off/594/1 "2024-01-12T14:53:32Z")

</div>

I am trying to setup a delayed power off of my PMU.  
For that I would like to create a function tcombining the signal to shutdown from the ECU that I have in Analog2 with the signal from PMU pin 7 + 12v switched.  
Is it possible to have the pin 7 status without using another analog entry?

---

<div class="post-metadata">

**Author:** ![FloorItGarage](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ecumaster.com/flooritgarage/32/61_2.png) [@FloorItGarage](https://community.ecumaster.com/u/FloorItGarage)\
**Post date:** [January 12, 2024, 7:28pm UTC](https://community.ecumaster.com/t/pmu-delayed-power-off/594/2 "2024-01-12T19:28:38Z")

</div>

What ecu are you using?  
This can probably be done via CAN if the ecu supports it

Just so I understand the desired function, you want the ecu shutdown to turn off the PMU? what currently controls 12V to the pmu turn on (pin 7)?

---

<div class="post-metadata">

**Author:** ![mario](https://avatars.discourse-cdn.com/v4/letter/m/8e7dd6/32.png) [@mario](https://community.ecumaster.com/u/mario)\
**Post date:** [January 13, 2024, 3:25pm UTC](https://community.ecumaster.com/t/pmu-delayed-power-off/594/3 "2024-01-13T15:25:20Z")

</div>

I have a a PMU 16 that is powering a diesel Baldur Ecu that normaly needs some seconds to shutdown.  
Originaly the power supply for the ecu was controled by a relay that is controled by the Ecu itself.  
The Relay is powered directly from the batery thru a fuse and is controled by the Ecu  
The Ecu has an entry for the 12v from ignition switch and has 1 output with Gnd that controls the relay.  
How does it work:  
when we cut the 12v from ignition switch the Ecu starts the power off process and when the process is done the grd output of the relay shuts the relay.  
What I want is to replac e the relay by the PMU16.  
The 12V on pin 7 of the PMU is controled by a switch (the same switch that controls the ECU)

---

<div class="post-metadata">

**Author:** ![FloorItGarage](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ecumaster.com/flooritgarage/32/61_2.png) [@FloorItGarage](https://community.ecumaster.com/u/FloorItGarage)\
**Post date:** [January 15, 2024, 1:06am UTC](https://community.ecumaster.com/t/pmu-delayed-power-off/594/4 "2024-01-15T01:06:33Z")

</div>

Ahh I understand better now.

For the PMU to stay on it will need to be connected to 12V on pin 7. If the ecu’s relay control is a ground signal, it can’t keep the PMU awake. It does not have a delayed shutdown in a global sense.

You could make the PMU always on and have the switch that turns on the ecu enable power to the ecu, and another analog input for the signal from the ecu that controls the relay. In software you set it up that it holds power until the input from the ecu lifts from ground.

---

<div class="post-metadata">

**Author:** ![mario](https://avatars.discourse-cdn.com/v4/letter/m/8e7dd6/32.png) [@mario](https://community.ecumaster.com/u/mario)\
**Post date:** [January 15, 2024, 12:45pm UTC](https://community.ecumaster.com/t/pmu-delayed-power-off/594/5 "2024-01-15T12:45:18Z")

</div>

Thanks for the reply.  
In fact Originaly the ECU has 2 outputs to control the Relay one with 12V and another with ground.I was only uising the Gnd one, but I can try to connect the output of the 12V to pin 7 of the PMU.

---

<div class="post-metadata">

**Author:** ![mkuklis\_ECUMASTER](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ecumaster.com/mkuklis_ecumaster/32/104_2.png) [@mkuklis\_ECUMASTER](https://community.ecumaster.com/u/mkuklis_ECUMASTER)\
**Post date:** [January 15, 2024, 1:22pm UTC](https://community.ecumaster.com/t/pmu-delayed-power-off/594/6 "2024-01-15T13:22:14Z")

</div>

Connect the ignition switch signal to ECU (conn 3 pin 31) and PMU (pin 7).  
Connect the PMU output to the ECU supply pins (conn 1 pin 1, 7, 8).  
Connect the ECU main relay negative output (conn 3 pin 46) to the PMU analog input.

Configure analog input:  
 ![obraz](https://europe1.discourse-cdn.com/flex013/uploads/ecumaster/original/1X/5c63c429c74e1c77846f7225b7763aadb71fda39.png)

Configure delayed turn off:  
 ![obraz](https://europe1.discourse-cdn.com/flex013/uploads/ecumaster/original/1X/3edaad1c26c003b6050240182122e2fd31a93b12.png)

How it works:

1. The engine is running and the main relay negative output is grounded.
2. “ReadyForShutdown” input in PMU is 0 (inactive).
3. The ignition signal is turned off.
4. PMU first waits the minimum time (0,5 sec), and after that, the PMU will turn off when the “ReadyForShutdown” signal becomes active or after the maximum turn off time (3 sec).

---

<div class="post-metadata">

**Author:** ![FloorItGarage](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ecumaster.com/flooritgarage/32/61_2.png) [@FloorItGarage](https://community.ecumaster.com/u/FloorItGarage)\
**Post date:** [January 16, 2024, 1:16am UTC](https://community.ecumaster.com/t/pmu-delayed-power-off/594/7 "2024-01-16T01:16:23Z")

</div>

well I sit corrected, I didn’t know that there was a global shut off delay.  
You have add a pane for it as its not visible in the default layout.

---

<div class="post-metadata">

**Author:** ![mario](https://avatars.discourse-cdn.com/v4/letter/m/8e7dd6/32.png) [@mario](https://community.ecumaster.com/u/mario)\
**Post date:** [January 16, 2024, 10:14am UTC](https://community.ecumaster.com/t/pmu-delayed-power-off/594/8 "2024-01-16T10:14:43Z")

</div>

Thanks for the solution.  
It will work for sure.  
Thanks again

---

<div class="post-metadata">

**Author:** ![mkuklis\_ECUMASTER](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ecumaster.com/mkuklis_ecumaster/32/104_2.png) [@mkuklis\_ECUMASTER](https://community.ecumaster.com/u/mkuklis_ECUMASTER)\
**Post date:** [January 16, 2024, 10:49am UTC](https://community.ecumaster.com/t/pmu-delayed-power-off/594/9 "2024-01-16T10:49:42Z")

</div>

I corrected the analog input configuration to have a pull-up resistor enabled.  
You need pull-up to have a high-level signal because the ECU is providing ground only.

Previously it was pull-down as default because I selected the active high switch.

---

<div class="post-metadata">

**Author:** ![mario](https://avatars.discourse-cdn.com/v4/letter/m/8e7dd6/32.png) [@mario](https://community.ecumaster.com/u/mario)\
**Post date:** [January 24, 2024, 11:29am UTC](https://community.ecumaster.com/t/pmu-delayed-power-off/594/10 "2024-01-24T11:29:47Z")

</div>

I have tested the solution and it works perfectly.  
If I remove the 12v from 12Switched (pin 7) the PMU stays ON for 3 seconds, but in the meanwhile if I remove the signal from Analog 1 the PMU shutdown immediately.  
Thanks
