Part 2 of 2
Lamp ControlThe Lamp function includes the sub functions for On/Off control of the following devices:
- Tail / Head Lamp
- Fog Lamp
Tail / Head Lamp Control
Tail / Head Lamp sub functions are controlled by MFSW, IPM and FAM.
The Tail Lamps are turned on and off by Tail Lamp Switch or Auto Light.
The Head Lamps Low and High are turn on and off by Head Lamp Switch or Auto Light.
The DRL controls Head Lamp High when the engine is running.
The Head Lamp High is on when the Passing switch is on.
1. MFSW : lamp switch control
Input detection of lamp switches (Lamp Off, Tail Lamp, Head Lamp Low, Head Lamp High, Passing, and Auto Light)
Generate Light Switch Status data compounding by some switch input (Lamp Off, Tail Lamp, Head Lamp Low, Auto Light) for FAM and IPM.
Generate Head Lamp High switch data for FAM
Generate Passing switch data for FAM
Send Light Switch Status, Head Lamp High Switch and Passing Switch data via CAN
2. IPM : Auto light control
The IPM detects Input of Auto Light Sensor level.
When IGN switch is ACC or IGN or cranking state, the IPM generates CAN signal Auto Light Out Status for FAM.
* Behavior for normal state
From ACC ON state, the IPM monitors the range of this supply and raises up a failure as the supply's voltage is out of range (that is less than 4 Volts, more than 6 Volts).
The filtering of the error is 300ms to rise up this one, and also 300ms to clear this one.
Then this failure occurs and as long as this is present, the head lamp low must be turned on, that IPM sends (Auto Light Out Status), without taking care about the sunlight level provided by the sensor.
3. FAM : Auto Light Control
The FAM controls tail and head lamp low with filtering time according to (Auto Light Out Status)
The FAM controls continuous turn on mode.
* Behaviour for normal state
If the state of IGN Switch FAM is IGN or ST and Light Switch Status state is Auto Light Switch On, then TAIL LAMP RELAY output and HEAD LAMP LOW RELAY output are controlled by FAM with filtering time in accordance with Auto Light Out Status state change that is AUTO LIGHT Sensor's INPUT from IPM and according to specifications for each lamp described in below.
4. FAM : Tail Control
The FAM memorizes the AUTO CUT state in EEPROM and describes the following features.
A. Turn on and off Tail Lamp by Light switch.
B. Turn on and off Tail Lamp by Auto Light out Status.
C. Automatically cut the Tail Lamps if the driver forgets to turn them off.
D. Output control of Tail Lamp relay
E. Generate Tail Lamp Activity data.
5. FAM : Head lamp Control
A. Turn on and off Head Lamp Low by Light Switch Status.
B. Turn on and off Head Lamp High by Light Switch Status.
C. Turn on and off Head Lamp Low by Auto Light out Status.
D. Turn on and off Head Lamp High and Low by Passing Switch.
E. Output control of Head Lamp Low Relay.
F. Output control of Head Lamp High IPS by PWM Control.
G. Generate Head Lamp High IND data for CLU.
H. Generate Head Lamp Low IND data for CLU.
I. Generate Head Lamp High Activity data for Front Fog Lamp.
J. Generate Head Lamp Low Activity data for Front and Rear Fog Lamp.
6. FAM: DRL Control
Turn on and off DRL by some condition, using Head Lamp High DRL Relay outputs with dimmed intensity compared with normal High Beam operation.
FAM Escort Control
This component describes the following features:
- Generate Escort function (Only if Escort Enabled variants)
- Head Lamp on for 20min or 30sec according to the condition
- Tail Lamp on for 20min or 30sec according to the condition
- Turn off Head Lamp Low by Escort Function
- Turn off Tail Lamp Low by Escort Function
Behaviour For Normal State
- FAM turns Head Lamp Low ON by escort function for 20minutes or for 30 seconds.
- FAM turns Head Lamp Low/Tail Lamp ON by escort function for 20minutes or for 30 seconds.
- This function is available only for Escort enabled variants
State Escort OFF:
- Escort disabled
- CAN and CPU are allowed to switch in LP
State Escort ARMED:
- Escort disabled
- CAN and CPU are not allowed to switch in LP
State Escort ACTIVE LONG TIMER:
- Escort enabled
- CAN and CPU are not allowed to switch in LP
- Escort active long timer(20mins) is decreasing
- Count "Lock request"
State Escort ACTIVE SHORT TIMER:
- Escort enabled
- CAN and CPU are not allowed to switch in LP
- Escort active short timer(30sec) is decreasing
- Count "Lock request"
NOTE:
Lock requests are coming from the four signal below: Same command can add in the "Lock request" count.
- RKE CMD = Lock No1(1)
- RKE CMD = Lock No2(3)
- Passive Access Lock = Lock No1(1)
- Passive Access Lock = Lock No2(2)
Fog Lamp Control
Fog Lamp sub functions are controlled by FAM.
- Turn Front Fog Lamp on and off by control of Front Fog IPS.
- Front Fog Lamp on when only Tail Lamp on (Head Lamp on for North America).
- Turn Rear Fog Lamp on and off by control of Rear Fog IPS.
- Rear Fog Lamp on when only Front Fog Lamp on or Head Lamp on.
- Generate Front Fog Lamp Activity data for Rear Fog Lamp.
Turn Signal Lamp Control
The Turn Signal Lamp Control function controls turn signal lamps and indicators.
The Turn Signal/Hazard Control FAM controls Lamps
- Normal or Double blinking by Hazard Switch or Turn signal Switches with ignition on condition
NOTE:
Turn lamps Priority: 1st is the highest priority
- 1st : ARM blinking, DISARM blinking
- 2nd : ALARM blinking
- 3rd : PANIC, MTS blinking
- 4th : HAZARD blinking
- 5th : TURN Left blinking, TURN Right blinking
- 6th : Three time blinking for PTL (Power Trunk module)
1. FAM : Normal Operating Condition
While IGN Switch FAM is IGN state, if Turn Signal RH Switch or Turn Signal LH Switch or Hazard switch is ON then turn signal outputs are turned ON following the switch input (LEFT, RIGHT or HAZARD).
2. FAM : Double Blinking Condition
In case of activation of hazard the fault detection will be able to detect the failure only if 3 bulbs are broken-down.
The double blinking works at IGN Switch FAM is IGN state, double blinking for Hazard.
In case of turn signal activation when one of the FRONT or REAR is broken-down (Lamp failure), the turn signal blinks with double frequency.
3. FAM : SCG (SHORT CIRCUIT TO GND) Fault Condition
If The FAM detects Short circuit to Ground, then FAM turns off the OUTPUT
.The fault detection is carried out continuously, until fault is confirmed by FAM. Once FAM confirms SCG, FAM keeps the fault condition until flasher trigger condition is changed.
Wiper Function Control
Inform wiper module current operation mode to Rain Sensor and transfer Rain sensor command to ECW via CAN network.
The Wiper Control FAM manages the Rain sensor communication.
Behaviour For Normal State
1. Rain Sensing Wiping
If without the rain sensor option, the FAM can't receive Wiper Aut oSW from the multi function switch via CAN.
2. The FAM shall output the various modes according to the following.
A. OFF, MIST, LOW, and HIGH / Washer operation in Non AUTO mode.
MIST, LOW, and HIGH shall be interpreted as driver requested manual modes. The RAIN SENSOR output during these switch positions shall be an "Off" or "Rain Detected" duty cycle.
B. AUTO (Sensitivity 0 - 4)
One of five sensitivity switch positions will signal the RAIN SENSOR to operate in automatic mode. Sensitivity 0 refers to the least sensitive state(the slowest, step5) while Sensitivity 4 refers to the most sensitive state(the fast, step1).
C. WASHER (Washer operation only in AUTO mode by washer Switch)
WASHER signals the RAIN SENSOR that the Wash Paddle is being depressed and that the wiper system is going through a PROGRAMMED or DEMAND WASH cycle. The RAIN SENSOR output during this switch position is an "Off" or "Rain Detected" duty cycle. The RAIN SENSOR will ignore washer fluid spray.
D. In-wipe
The in-wipe signal specifies when received (Wiper Park Position) from ECW. In-wipe information is provided so the RAIN SENSOR can assure accurate delay times and smooth operation while in the automatic mode.
3. Rain Sensor to FAM
The Sensor shall output the various modes according to the following:
A. OFF
OFF is the Sensor's request to the wiper controller to stop wiping.
B. Fault 1 - Internal Fault Detected
Internal Fault Detected shall attempt to be asserted by the Sensor whenever an internal or onboard software or hardware fault is detected. This signal implies that, through on-board diagnostics, the Sensor has detected a problem within the Sensor module and, therefore, has little or no confidence in its' ability to function properly.
C. Fault 2 - Glass Attachment Fault Detected
Glass Attachment Fault Detected is asserted when the Sensor module, through internal light intensity monitoring, detects an attachment problem between the Sensor and windshield.
D. Fault 3 - No Input Signal Present
No Input Signal Present is asserted when the Sensor cannot detect a usable input signal from the wiper control for a minimum of 0.5 seconds.
E. Rain Detected
Rain Detected shall be asserted in place of an OFF output in all modes when rain is detected and for 5 minutes following rain detection. Rain Detected is defined as when the internal Rain Intensity variable is greater 40.
F. Low Speed Request
A Low Speed Request shall be asserted in the automatic mode when the Sensor determines that the wiper system should be operating in Low speed. A minimum of 5 consecutive output periods and not more than 10 shall be sent to request a single wipe (command wipe).
G. High Speed Request
A High Speed Request shall be asserted in the automatic mode when the Sensor determines that the wiper system should be operating in High speed.
H. Sensitivity Performance
Sensor sensitivity (ability to respond to various moisture accumulation conditions) performance shall meet the nominal wiper period.
I. Output Wipe Mode Smoothing/Response Time
The Sensor processing algorithms shall contain smoothing characteristics that prevent erratic wipe transitions. Delay time changes, transitions between delay and continuous low speed, and transitions between continuous low speed and continuous high speed shall be smooth.
Automatic Mode
When the wiper switch is moved to AUTO position (Wiper Auto Switch=ON & Wiper Int Switch=ON) and (IGN Switch FAM = IGN), the Rain sensor is considered to be in "AUTOMATIC" mode.
1. If the wiper switch has been left in AUTOMATIC Mode with the vehicle ignition OFF, and then the vehicle ignition switch is turned on, the FAM transmits single wiping command.
2. The FAM transmits a single wiping command whenever rain has been detected(Rain Detected signal from Rain sensor) and the wiper switch is moved to the AUTO position. But The FAM does not transmit single wiping command when the wiper switch is moved to the AUTO position and OFF signal is being received from Rain sensor. But if the wiper switch is moved to AUTO position for the first time since vehicle ignition switch is turned on then the FAM transmits single wiping command regardless of Rain Detected or OFF signal.
3. Sensitivity Adjustment Function
The drive may adjust the rain sensor performance by adjusting the sensitivity input. When in AUTOMATIC mode, the FAM transmits single wiping command each time the SENSITIVITY is adjusted upward to a more sensitive setting(downward more then one step). This single wiping command will only be transmitted if Rain Detected signal is being received from the Rain sensor. If the sensitivity adjustment is adjusted upward more than one sensitivity, the FAM will transmit single wiping command unless the time between Increases is more than 2 seconds.
Head Lamp Washer Function
1. In case of IGN Switch FAM = IGN & (Tail Lamp LH=ON and Tail Lamp RH=ON)status, if head lamp washer Switch input is detected, head lamp washer output is turned ON.
2. In case of (IGN Switch FAM = IGN & Head Lamp Low Relay=ON) status, if washer Switch input is detected more T1 time, head lamp washer output is turned ON.
3. When a washer request arrived during washer activation, the second it's not take in account.
T1,T2,T3 Time is implemented in the FAM EEPROM.
The Outside Mirror Control
The Outside Mirror angle control function and IMS function controls the following devices.
- Driver side of Outside Glass control motor and 2 potentio-meters (vertical and horizontal).
- Assist side of Outside Glass control motor and 2 potentio-meters (vertical and horizontal).
Outside Mirror Function (DDM)
The Mirror operation function in DDM contains of the following function.
- Manual control with direction switches (UP, DOWN, LEFT and RIGHT).
- Playback with position switches (P1 and P2 switches) and Fob Unlock(Fob1 and Fob2 Unlock).
- Memory with position switches (P1 and P2 switches) and Fob Lock (Fob1 and Fob2 Lock).
- Auto Reverse control according to the Shift-lever.
- Arbitration control of overlapped function mentioned above (1) to (4). DDM controls mirror position according to the priority mentioned.
- Mirror motor control according to 2 positioning sensors, which are vertical and horizontal sensor.
1. Behavior For Normal State
(1) Mirror Select Switch Operation
In order to avoid miss-operation by user, Mirror select (L) and Mirror select (R) are read out as follows.
If both Mirror select (L) and Mirror select (R) is pushed at same time, Indicate LED will light Left LED.
H (History) : H memorize Current state When go to disable from enable. And then, Go to memorized state If Return to enable that satisfied IGN SW DDM condition.
MIRR SEL SW is according to SE SW CTRL State as follow table.
(2) Manual switches Operation
A. Mirror operation is carried out in DDM according to user operation of direction switches when the following conditions are satisfied.
- IGN switch DDM = (ACC, IGN, or ST).
- Mirror select switch is MIRR SEL SW = LEFT.
- Only one of direction switches is pressed ON (Mirr SW Up, Mirr SW Down, Mirr SW Left or Mirr SW Right).
B. If one of the above conditions is not satisfied, DDM stops mirror motor control immediately.
C. DDM shall not output continuously to same direction more than 15s±500ms.
DDM transmits mirror select switch (MIRR SEL SW) and direction switches condition (MIRR SW Up, MIRR SW Down, MIRR SW Left, and MIRR SW Right) to ADM via CAN communication as follows. ADM will control mirror according to these CAN signals
(3) Playback Operation
DDM controls mirror position according to memorized position by memory function, and DDM has 4 memories for positioning that is selected by user operation of P1 or P2 switches and Fob1 or Fob2.
A. Shift-lever is P position
B. All direction switches (Mirr SW Up, Mirr SW Down, Mirr SW Left, and Mirr SW Right) are OFF.
C. Not Memory mode
A. The playback operation is carried out when the following conditions are satisfied.
1) P1 and P2 SW Playback
- IGN SW DDM = IGN ON (IGN, ST) or. DR Door Open condition (DRV DR SW = OPEN) or Operating *30s timer.
- DDM starts positioning if one of IMS P1 or P2 (Ims Memory=P1 ON or Ims Memory=P2 ON) switches is pressed ON
- DDM transmits one of IMS P1, and P2 switches condition to ADM via can communication when DDM starts positioning. ADM controls playback function according to this CAN signal and memory mode
2) Fob1 and Fob2 Playback
DDM transmits one of Fob1, and Fob2 Playback Start command to ADM via can communication when As for DDM, it starts Playback with last received the fob command when becoming IGN SW DDM =Key Off -> Not Key Off in the condition which is necessary for Fob Playback Enable Mode after sending a corresponding Playback command (after ADM receives Playback command from DDM ).
B. The playback(both P1 or P2 SW and Fob1 or Fob2 ) is stopped immediately and canceled when one of the following conditions is satisfied.
- Memory Enable Mode
- Shift-lever is NOT P position.
- Any direction switch (Mirr SW Up, Mirr SW Down, Mirr SW Left, and Mirr SW Right) is ON when Only IGN SW DDM =ACC or IGN or ST
C. When playback is carrying out, the playback will be completed, even if IGN switch is IGN OFF (Key Off, Key In or ACC) or DR Door Close condition (DRV DR SW = CLOSE) or Ended *30s timer.
* 30s timer : Playback operation is able to operation for 30s after DR Door Close condition (DRV DR SW = CLOSE).
(4) Memory Operation
A. DDM enters to memory mode (ready to memory) when the following conditions are satisfied.
- IGN SW DDM = IGN ON.(IGN, ST)
- Shift-lever is P position
- Vehicle speed is < 3Km
- DDM enters memory mode if IMS set switch is pressed ON by user operation.
- DDM transmits MEM P1 CMD or MEM P2 CMD to ADM and other ECU via CAN communication when IMS P1 or P2 switch is pressed ON in memory mode as follows.
- DDM transmits MEM Fob1 CMD or MEM Fob2 CMD to ADM and other ECU via CAN communication when receives MEM Fob Lock = "1" or "2" from IPM.
B. DDM exits memory enable mode when one of the following conditions is satisfied.
- IGN SW DDM = IGN OFF.(Key Off, Key In, ACC,)
- Shift-lever is NOT P position
- Vehicle speed is ≥ 3Km
- Position is memorized by P1 or P2 switch mentioned below.
- Position is memorized by Fob1 or Fob2 of MEM Fob Lock = "1" or "2".
- Elapsed 5s in memory enable.
C. When DDM is in memory mode, if IMS set switch is pressed ON again by user operation, memory mode will be extended for 5s.
When DDM is in memory mode (ready to memory) and no manual operation is performing,
A. DDM memorizes position ONCE if one of IMS P1 or P2 or Fob1 or Fob2 Input is executed by user.
B. After memorized, DDM not memorizes position even if P1 or P2 or Fob1 or Fob2 Input is executed again. In order to memory position again, memory mode should be ENABLED again.
C. Save position is memorized according to current operation as follows.
X is memorized position.
(5) Auto Reverse
The Auto Reverse function controls mirror position according to Shift-lever. When Shift-lever changed to R position, mirror position will go down 5 degrees below automatically. And then Shift-lever change back to P position, mirror position will go back previous position (before Auto reverse) automatically.
A. In the NORMAL state mentioned above, DDM starts reverse down when one of the following conditions is satisfied.
1) Shift-lever changes to R position and keeps R position ≥ (350±50ms), under mirror select switch is in NOT NEUTRAL and IGN SW DDM = IGN ON and Current Vertical AD> VvReverse min.
2) Mirror select switch changes to NOT NEUTRAL from NEUTRAL, under Shift-lever ≥ (350±50ms) in R position and IGN SW DDM = IGN ON and Current Vertical AD> VvReverse min.
3) IGN SW DDM changes to IGN ON from (ACC Key In or Key Off), under Shift-lever ≥ (350±50ms) in R position and mirror select switch is in NOT NEUTRAL and Current Vertical AD> VvReverse min.
B. In the MOVING DOWN or DOWN state mentioned above,
1) DDM starts returning to previous position when one of the following conditions is satisfied.
- Shift-lever is NOT R position.
- Mirror select switch = NEUTRAL.
- IGN SW DDM = (Key Off, Key In or ACC).
2) DDM stops reverse down immediately if Manual function is operate by user. After this, mirror will go back previous position if above condition (a) is satisfied.
3) DDM stops reverse down if mirror position reached to target position or position not reached after 40s±1s.
C. In the RETURING state mentioned above,
1) DDM stops returning if mirror position reached to previous position or position not reached after 40s±1s.
2) DDM stops moving immediately if Manual function is operate by user. And mirror moves according to the manual switch operation.
3) DDM stops returning if IGN SW DDM changes to IGN ON and select switch is not neutral, then check Shift- lever for 1 sec. However one of following condition is satisfied in STOP CHECKING SHIFT LEVER. DDM goes previous position again immediately.
- Mirror select switch is NEUTRAL.
- IGN SW DDM = (Key Off, Key In or ACC).
- Exceeded 1 sec in STOP CHECKING SHIFT LEVER and Shift-lever is NOT R position.
(6) Arbitration Control
IMS function is carried out according to the following priority table. If IMS requirement happen same time.
- : Don't care
*1 : This is impossible because playback by P1/P2 switch will be carried out under P position, and Auto Reverse is carried out under R position.
The Outside Mirror Folding & Unfolding Control
- Driver side of Outside Mirror Folding IPS.
- Assist side of Outside Mirror Folding IPS.
DDM Operation
1. Operating Condition
DDM controls the operating condition (Enable or Disable) of the Outside Mirror Folding as follows. Outside Mirror Folding can be controlled by user under operating condition that is in ENABLE, TIMER, and TIMER EXTEND.
A. The Outside Mirror Folding will be enabled when IGN Switch DDM is ACC, IGN or ST.
B. After IGN Switch DDM released from (ACC, IGN or ST), the Outside Mirror Folding will be enabled until 30s normally, which called "TIMER".
C. In the "TIMER" and timer elapsed 15s±500ms, if user press Outside Mirror Fold Switch ON, "30s Enable Timer" is extended 15s±500ms this is called "TIMER EXTEND" function.D33
2. Fold/Unfold Operation
When operating condition is in ENABLE, TIMER, and TIMER EXTEND mentioned above, Fold/Unfold is controlled by user operation of Outside Mirror Fold Switch as follows.
ADM Operation
Fold/Unfold is controlled by Assist Outside Mirror Fold/Unfold command from DDM via CAN communication.
No switch input for controlling Fold/Unfold operation is available in ADM.
Trunk Open Function
The Trunk Open function controls opening of the Trunk by the following way:
- Trunk Open switch of IPM
- Trunk Lid Switch in Trunk
- Remote Key / Passive Trunk
1. Input And Output
ATWS: this value is a IPM internal ATWS signal that is consist of below mode
ARM, DISARM, ARMWait, ALARM, REARM, ARM HOLD, AUTOLOCKTIMER1, AUTOLOCKTIMER2, PREARM
A. ATWS armed: ARM or ARMWait,or ALARM or REARM
B. ATWS Disarmed: DISARM or AUTOLOCKTIMER1 or AUTOLOCKTIMER2 or PREARM
PAS Trunk : It is an IPM internal that is Passive Access Trunk.
RKE CMD(Trunk) / RKE Trunk : It is an IPM internal signal that is Trunk open command form RKE (Non PIC option) or Trunk Access by RKE.
Trunk Open Control (IPM)
This component describes the following features
- Input detection of Trunk switch
(Trunk switch is installed at Trunk and detects states of Open or Close the trunk.)
- Input detection of Trunk Lid switch (Trunk Lid SW)
(Trunk Lid switch is installed in Trunk and allows user to open the trunk)
- Input detection of Trunk Open switch
(Trunk open switch is installed in interior dash board and allows user to open the trunk)
- Open the Trunk by the Remote control or Passive Trunk
- Generate Trunk Open Indicator signal Trunk Open IND for CLU via CAN
- Generate Trunk Open Status internal signal for Burglar Alarm function
- Generate Trunk open command signal issued by Trunk Lid switch for PTL via CAN
- TRUNK OPEN RELAY is driven for 0.2sec (Trunk Release On Time)
Trunk Open switch is installed in interior dash board and IPM detects switch status.
Summary for Trunk release condition
NOTE:
Commend by INT: Trunk Open SW Logic input in the IPM
EXT: Trunk Lid SW logic input in the IPM
RKE or PIC: PAS Trunk or RKE CMD (Trunk) or RKE Trunk
1. Trunk Open Inhibit Condition
NOTE:
A. This function is inactivated state during Trunk Motor Inhibition Time On Reset(default 0.5sec) after reset.
B. During Trunk is opened state, if the IPM receives the Trunk release command from door module via CAN, External Trunk Open SW then the IPM does not take trunk release action, but if the command comes from RKE or in case of PIC variant: from PIC as a passive trunk command then the release action is performed anyway.