Operation CHARM: Car repair manuals for everyone.

Part 3

Tailgate Cinching and latching
Description
This function provides assistance in tailgate latching and cinching. The RAM sends a command to external module, connected to latching and cinching motors.
Functional Diagram





RAM
Description
Tailgate cinching and latching 30 s enable timer (1):
The tailgate cinching and latching function is enabled for 30 sec after receiving the Door Lock Ctrl CAN signal with tailgate unlock value. During this delay, the tailgate can be opened if the Inhibit Sw Sts CAN signal is received with P or N values and if the vehicle speed is ≤ 5 km/h.
During the 30 sec Cinch & Latch Timer delay:
If the tailgate close->open transition is detected during this 30 sec delay, the timer is stopped and the function becomes disabled immediately.
After this 30 sec Cinch & Latch Timer delay:
After this 30 sec delay, if no action is detected on the tailgate handle switch, the cinching and latching function is disabled (any action on tailgate handle switch is ignored).
1) This timer is not started when the vehicle state is unlocked, i.e. after successful completion of the key reminder unlock sequence or if the previous value of Door Lock Ctrl was : all unlock, rear door and tailgate unlock, rear door, tailgate and driver door unlock, rear door, tailgate and assist door unlock.
Description
Tailgate unlock logic for latch pulse generation:
-> Case 1




-> Case 2




-> Case 3




-> Case 4





Power Feed To Sun Roof Relay Coil
Description
This function controlled by the IPM defines the condition for switching on or off power feed to Sun Roof Relay Coil.
Functional Diagram





Driver Information

Cluster Indicators and Chime Control
Description
The cluster indicators, managed by the cluster module, show the state of activated functions or warn the driver if a problem occurs. Some visual cluster indications are associated with a chime warning.
The IPM, FAM or RAM sends on the CAN the status of several switches and sensors. The cluster module receives the status of several switches and sensors from the CAN and activates the corresponding indicators.
The following table gives a list of existing cluster indicators and associated chime warnings:





The chime control function provides also the several chime warnings that are not associated with the cluster visual indications.
The following table gives a list of these warnings:





All following SMK warnings are activated by IPM when receiving CAN signals from the SMK ECU.





Functional Diagram





Seat Belt Warning
Description
Seat Belt Warning Chime and Indicator synchronization:
When the Seat Belt Warning Chime is activated, the Seat Belt Indicator is blinking simultaneously.
Time Chart of Seat Belt Reminder
Time Chart #1




T1 : 6 ± 1 sec
T2 : 0.5 ± 0.1 sec
Time Chart #2




T1 : 6 ± 1 sec
T2 : 0.5 ± 0.1 sec
Time Chart #3




T1 : 6 ± 1 sec
T2 : 0.5 ± 0.1 sec

Safety and Security

Central Lock/Unlock
Description
Central locking/unlocking logic is controlled by IPM. Locking/Unlocking inputs are located in ADM, DDM (Lock/Unlock switch, door knobs, door key cylinder) and in IPM (RKE receiver).
Locking/Unlocking actuators are located in ADM for assist door, DDM for driver door and RAM for rear doors and tailgate.
There are 5 ways of operating central lock/unlock:
- With Key fob
- With Smart key ECU (when equipped)
- With Door Lock/Unlock switches located on ADM/DDM (assist/driver door trim).
- With Door Key Cylinder Lock/Unlock switches located on assist/driver door.
- Treatment for those switches depends on the country.
RAM/ADM/DDM Input Control
Except for RKE, all inputs for controlling lock/unlock actions are located on ADM, DDM or RAM.
ADM/DDM/RAM controls those inputs and manages the configuration according to the country. IPM controls central lock/unlock process.
If a lock/unlock command is issued by ADM/DDM to IPM through CAN, IPM does not check the command validity according to the country.
Door Lock Monitoring Switches
Door Lock Monitoring Switches are equipped on all vehicles. ADM/DDM send Assist door Lock Monitor Switch status/Driver door lock monitor switch status to IPM with value locked when the corresponding Door Monitoring Switch indicates a locked door and unlocked otherwise.
RAM sends rear right door Lock Monitor switch status/rear left door lock monitor switch status to IPM with "Locked" value when the right/left rear doors are locked, otherwise with "Unlocked" value.
Concerning Tailgate Open Switch status is closed handle disabled when it is closed and locked and closed handle enabled when it is closed and unlocked
Door Key Cylinder
When Assist/Driver Door Key Cylinder request lock/unlock, ADM/DDM send assist door Key Cylinder Sw Sts/ Driver door Key Cylinder Sw Sts CAN signal with value lock/unlock.
Door Lock Switches
When Assist/Driver Door Lock Switch request lock, ADM/DDM send Assist door lock switch status /Driver door lock switch status CAN signal with value lock.
When Assist/Driver Door Lock Switch request unlock, ADM/DDM send Assist door lock switch status /Driver door lock switch status CAN signal with value unlock.
ADM/DDM Actuators Control
ADM and DDM control lock/unlock motors.
DDM
LOCK/UNLOCK is performed when DDM receives Door Lock Ctrl CAN signal from IPM
ADM
LOCK/UNLOCK is performed when ADM receives Door Lock Ctrl CAN signal from IPM

Main Functional Diagram





Lock/Unlock With Door Lock Switch
Description
Lock/unlock with Door Lock Switch does not depend on Ignition Key position.

IPM
Description
Working conditions
For vehicle not equipped with burglar alarm :
All following requirements are applicable.
For vehicle equipped with burglar alarm :
In ARM alarm state, there is no action on door lock switch. So, all following requirements are applicable in alarm state DISARM, PREARM, 30SEC DELAY, ARM_WAIT, ALARM, AFTER_ALARM and REARM.
Lock
Description
Locking process
Upon a transition of Assist door lock switch status or Driver door lock switch status CAN signal from any value to LOCK value, IPM issues Door Lock Ctrl CAN signal with value LOCK_ALL for 500 ms.
Unlock
Description
Unlocking process
Upon a transition of Assist door lock switch status or Driver door lock switch status CAN signal from any value to UNLOCK value, IPM issues Door Lock Ctrl CAN signal with value UNLOCK_ALL for 500 ms.
Unlocking process
When Assist door lock switch status and Driver door lock switch status CAN signal state change at the same moment, IPM uses Driver door lock switch status state for lock/unlock operation
This locking/unlocking process doesn't depend on the Driver Door Open Switch status, Assist Door Open Switch status, Rear Doors Open Switch status Tailgate Open Switch Status.
This locking/unlocking process doesn't activate or deactivate hazard lamps, horn or interior lamps.

Lock/Unlock With Door Key Cylinder
Description
When a lock/unlock command is requested using Assist/Driver door key cylinder, ADM/DDM modules deal with this request according to §‎0 and use CAN signal to issue the command to IPM, then IPM issues central lock/unlock when Assist/driver door lock monitoring switches is locked/unlocked.
When IPM issues lock/unlock command, it does not check monitoring switches to make sure command was successful.

2-Turn Unlock
The 2-turn unlock process divides the unlocking of all doors into 2 steps. The first unlock command unlocks only the driver door, the second one unlocks all the doors.

Key Off Unlock
Description
When the key is withdrawn from Ignition Key Cylinder if any door is locked, the IPM issues a command to unlock only locked doors.

Key Reminder Unlock
Description
The purpose of this function is to avoid locking the doors when the key is inserted in the Ignition Key Cylinder and the vehicle speed is lower than 3 km/h.

IPM
Description
Requirements for SMK only
There is no insertion of ignition key with SMK equipment, all following requirements are applicable for SMK equipment with these changes :
"key is inserted" must be replaced by CAN signal Key Reminder Sw Sts is set to value inserted
"key is not inserted, key is removed" must be replaced by CAN signal Key Reminder Sw Sts is set to value not inserted
If a SMK reminder unlock is on going, a Key reminder unlock is not taken into account.
Description
Key reminder unlock, driver door lock change
When ignition key is inserted into the ignition key cylinder, driver door is OPEN and driver door lock monitoring sw status changes from unlocked to locked, then Key Reminder Unlock Ctrl signal is sent with valueDD long unlock(consisting in 1s +/-0.1s long driver door unlock)
Key reminder unlock, assist door lock change
When ignition key is inserted into the ignition key cylinder, assist door is OPEN and assist door lock monitoring sw status changes from unlocked to locked, then Key Reminder Unlock Ctrl signal is sent with valuelong unlock
Key reminder unlock, second driver door unlock
If driver door remains locked after the 1s DD long unlock and if driver door is still OPEN and key is still inserted, then Key Reminder Unlock Ctrl signal is sent with values
no value/DD short unlockat a rate of 0.5s/0.5s three times.
Key reminder unlock, second unlock
If assist door remains locked after the 1s long unlock and if assist door is still OPEN and key is still inserted, then Key Reminder Unlock Ctrl signal is sent with valuesno value/short unlockat a rate of 0.5s/0.5s three times.
Key reminder unlock, inserting Key
When inserting a key into ignition key cylinder with driver door opened and locked, only DD long unlock unlock is issued (no DD short unlock).
Key reminder unlock, inserting Key
When inserting a key into ignition key cylinder with assist door opened and locked, only long unlock unlock is issued (no short unlock).
Key reminder unlock, driver door opening
If driver door is CLOSE to OPEN when key reminder switch is IN and driver's door LOCKED, then issue DD long unlock pulse.
Key reminder unlock, assist door opening
If assist door is CLOSE to OPEN when key reminder switch is IN and assist door LOCKED, then issue long unlock pulse.
Key reminder unlock, driver door closing.
When closing driver door within 0.5 second after locking this door, Key Reminder Unlock Ctrl signal withDD long unlockvalue is sent.
Key reminder unlock, assist door closing
When closing assist door within 0.5 second after locking this door, Key Reminder Unlock Ctrl signal withlong unlockvalue is sent.

RAM
Description
Key Reminder Unlock
When CAN signal Key Reminder Unlock Ctrl is received with Short Unlock,
Door Unlock is sent with value ON during 0.5s to right and left rear doors
Key Reminder Unlock
When CAN signal Key Reminder Unlock Ctrl is received with Long Unlock,
Door Unlock is sent with value ON during 1s to Tailgate, right and left rear doors
Key Reminder Unlock Priority
CAN signal Key Reminder Unlock Ctrl LONG or SHORT UNLOCK have higher priority than Door Lock Ctrl lock or unlock command
Key reminder unlock, tailgate unlock
When CAN signal Key Reminder Unlock Ctrl is received with Short Unlock or Long Unlock and if tailgate is closed, tailgate Open Sw Sts is set to Closed Handle Enabled

Crash Unlock
Description
In case of crash of the vehicle, all doors must be unlocked as fast as possible.

IPM

Activation & Deactivation
Description
Crash Unlock Function Activation
The crash unlock function is activated after 100 ms delay after the ignition switch state is changed from OFF or ACC to RUN or START position (Ign1 active).
Crash Unlock Function
In case of crash, the time between the "Crash Sensor From Air Bag Unit" signal activation sent by the sensor and the unlock motors activation (driver door, assist door, Right/Left rear door and tailgate unlock) to unlock the doors must be less than 40 ms.
Crash Unlock Function Deactivation
The crash unlock function is deactivated when the ignition switch state is changed from RUN or START to ACC or OFF position.
There are two steps in deactivation:
- crash sensor deactivation in ignition switch ACC or OFF position
- turn indicators deactivation in ignition switch OFF position (sending also the Crash Sensor Sts CAN signal with OFF value)

Crash Unlock Function
Description
Crash Unlock Function (initial unlock output)
When the vehicle crashes, the airbag unit activates the "Crash Sensor From Air Bag Unit" signal. IPM detects this signal change, filters it and sends the CAN signal Crash Sensor Sts with the following logic:




Crash Unlock Function
After this initial unlock output, a 100 ms long pause (Crash Sensor Sts =OFF) is done and then if any door is still locked, CAN signal Crash Sensor Sts = ON is sent again for 5 s.
Crash Unlock Function
This unlock action is done one more time if doors are still locked after 2 unlock attempts. After 3 attempts, if any door is still locked, IPM stops trying to unlock and Crash Sensor Sts CAN signal is set to OFF.
Crash Unlock Function
Once a crash has occurred, Door Lock Ctrl cannot be set to lock doors until crash is cancelled (ignition switch status turned OFF). Only unlock is authorized.
After Crash Unlock
When all doors are UNLOCKED by crash unlock function, if any door becomes LOCKED, the IPM sends the CAN signal Crash Sensor Sts = ON again for 5sec then OFF

RAM
Description
Crash Unlock Function
Upon detection of Crash Sensor Sts signal transition from any value to ON, RAM activate unlock motors outputs as long as Crash Sensor Sts is ON
Crash Unlock Function
In case of crash, the time between the "Crash Sensor From Air Bag Unit" signal activation sent by the sensor and the unlock motors activation (driver door, assist door, Right/Left rear door and tailgate unlock) to unlock the doors must be less than 40 ms.
Crash Unlock and tailgate open switch Sts dependences
After reception of Crash Sensor Sts CAN signal with ON value, the RAM sends the tailgate Open Sw Sts CAN signal with tailgate closed handle enabled value if the tailgate is closed or with tailgate opened value if the tailgate is opened. In this case the RAM does not take into account the vehicle speed or Inhibit Sw state until the change of ignition switch position to OFF

Horn
Description
The different ways of activation of the horn are:
The driver is directly activating the horn manually. Since the horn stalk switch is directly wired to the horn relay, the software does not manage this command.
Functional Diagram





ATM Shift Lock
Description
The purpose of this function is to prevent gear change from

to others if no pressure is applied on brake pedal.
ATM stands for Automatic Transmission
Functional Diagram





Key Interlock Relay Control
Functional Diagram





Answers back
Description
Answers back give a visual and/or sound feedback to user's action. These actions are linked to lock / unlock action and the alarm status (if equipped). Visual feedback is realized with the hazard turn indicators and the interior lighting, sound feedback with the horn sound.

IPM
Here are the different answers back with their description.
Description
Horn answer back sequence description
Horn lock sequence : Horn Relay Drive is set to ON for 50ms to activate the horn
Description
Hazard answer back sequence description
Hazard lock sequence : IPM sends the CAN signal Turn Indicator Ctrl with the value ALL_ON for 1s to switch on hazard lamps then ALL_OFF
Hazard unlock sequence : IPM sends the CAN signal Turn Indicator Ctrl with the sequence value ALL_ON / ALL_OFF during 2s to blink the hazard lamps at 1Hz frequency (duty 50%) then ALL_OFF
Description
Hazard answer back sequence description, 2-Turn unlock.
If the time between the first UNLOCK and the second UNLOCK is less than hazard lamp flashing time (2s), the first hazard unlock sequence stops immediately, turn signals are switched OFF (ALL_OFF) for 100ms then, the new sequence is started
If the time between the first UNLOCK and the second UNLOCK is more than hazard lamp flashing time (2s), IPM sends the CAN signal Turn Indicator Ctrl with the sequence value ALL_ON / ALL_OFF during 2s to blink the hazard lamps at 1Hz frequency (duty 50%) for the first and the second UNLOCK

Low Power Mode

Full Low Power Mode
Description
In normal mode, all modules and the CAN network are powered and running. All module functions are available; communication through the bus is possible as well as communication with the SCAN tool.
Low power mode is a state in which the modules try to lower their power consumption as much as possible in order to save energy. Low power mode can also be called "sleep mode". In this mode, CAN bus communication is not available and the ignition key position is OFF (Acc = OFF Ign1 = OFF and Ign2 = OFF). In low power mode the normal features of the modules are not available. The modules have to switch to normal mode in order to perform their functions. Thus, in low power mode, the modules periodically monitor changes on a given set of inputs in order to detect a user request and then enter normal mode. Those monitored inputs are called "Wake Up" inputs.
Full low power is the lowest power consumption state in which all the modules inputs and outputs as well as the modules themselves are in their lowest power consumption state. This implies that none of the equipments controlled by the modules are active, i.e., they do not consume energy. For example, in full low power mode, keyhole illumination must be off. All power consumption measurements in low power mode are made in full low power mode.
Low power mode is entered to save energy when the car is not running. This implies that low power mode can only be entered when ignition key is in OFF position. In low power mode, the software is not running, hence all the modules features must be in a stable inactive state for low power mode to be entered. The exact conditions for allowing a module to enter low power mode depending on each function are described in requirements.
In order to enter low power mode, the K line transceiver must be powered down. This means that low power mode cannot be entered while the SCAN tool is connected.
Sequence for entering low power mode for one module is as follows:
Check that all the module functions are in a state where they can enter low power mode.
If all the module functions are in a state where they can enter low power mode for 10s, the module sends a CAN message informing that it is ready to enter low power mode.
When all the modules on the network are ready to enter low power mode, the IPM sends a CAN message authorizing the CAN to be shut down.
Once the CAN network is in low power mode, each module enters low power mode.
This process can be interrupted at any time to go back to normal mode when a wake up event is detected.
The transition process from normal to low power mode is the same whether full low power or intermediate low power mode is being entered.





Intermediate Low Power Mode
Description
Intermediate low power is a state in which the modules lower their power consumption as much as possible. In this mode, one or several components connected to the modules are active. The modules reduce their power consumption but cannot achieve full low power mode because of those external components that need to be maintained in powered state.

Safe and Rescue Mode

Safe mode
Description
There are 2 safe modes:
- Software safe mode;
- Hardware safe mode.
The software safe mode is a transition state entered as soon as one of the CAN signals monitored is lost. It is built in such a manner that the current state of the lighting on the low beams and tail lamps is kept. The rest of the functions follow their own default behavior.
This transition state is mainly used to avoid going back and forth between the normal mode and the rescue mode in case of sporadic trouble on a signal. This will avoid having the low beams and tail lamps being turned ON/OFF for small periods.
The hardware safe mode consists in maintaining the state of the low beam if the exterior lighting was active before entering the safe mode.
Functional Diagram





Rescue mode
Description
The goal of this mode is to be able to cope with failures that may happen on some of the most critical functionalities (for the driver security) of the system.
There are 2 rescue modes:
- The hardware rescue mode;
- The software rescue mode.
The software rescue mode consists in activating some safety functions when IGN2_INPUT = ON:
Switch on the low beams (FAM), park lamps (FAM), tail lamps (RAM) and cluster backlighting (IPM);
Unlock of all the doors when the rescue mode is entered with IGN2_INPUT = ON
All other functions (apart from head lamp low beams, tail lamps and front wipers) will try to behave as specified and will enter their own default mode if it is not possible.
Front wipers do not need to be turned on by software in rescue mode because wipers can be turned on by manually setting the MF switch to low speed. The FAM software must keep the same state as before entering the rescue mode.
When IGN2_INPUT = OFF, low beams, park/tail lamps and cluster backlighting are turned off.
The hardware rescue mode will switch on the low beams and the tail lamps. The front wipers are not taken into account due to the direct wiring of the stalk switch (low speed position).
The boards are designed to allow this hardware rescue mode to ensure their own integrity.
Note that none of the modules powered by IPM, RAM or FAM are kept powered in rescue mode.
Functional Diagram