| SONATA(YF) >2012 > G 2.4 GDI > Body Electrical System > Keyless Entry And Burglar Alarm>Description and Operation |

Description

Burglar Alarm System
The burglar alarm system is armed automatically after the doors, hood, and trunk lid are closed and locked.
The system is set off when any of these things occur:

• | A door is forced open.

• | A door is unlocked without using the transmitter & key.

• | The trunk lid is opened without using the key.

• | The hood is opened.

• | The engine starter circuit and battery circuit are bypassed by breaking the ignition switch.

When the system is set off, the alarm (horn) sounds and the hazard lamp flash for about two minutes or until the system is disarmed by unlocking the transmitter.
For the system to arm, the ignition switch must be off and the key removed. Then, the body control module must receive signals that the doors, hood, and trunk lid are closed and locked. When everything is closed and locked, none of the control unit inputs are grounded.
The door switches, hood switch and trunk lid switch are all close and lock the doors with the remote transmitter and then the system arms after 30 second.
If anything is opened or improperly unlocked after the system is armed, the body control module gets a ground signal from that switch, and the system is set off.
If one of the switches is misadjusted or there is a short in the system, the system will not arm. As long as the body control module continues to get a ground signal, it thinks the vehicle is not closed and locked and will not arm.
The receiver is integrated in the body control module.
Keyless Entry System
The burglar alarm system is integrated with the keyless entry system. The keyless entry system allows you to lock and unlock the vehicle with the remote transmitter. When you push the lock button, all doors lock. When you push the unlock button all doors unlock.
The room lamp, if its switch is in the center position, will come on when you press the unlock button. If you do not open a door, the light will go off in about 30 seconds, the doors will automatically relock, and the burglar alarm system will rearm. If you relock the doors with the remote transmitter within 30 seconds, the light will go off immediately.
You cannot lock or unlock the doors with the remote transmitter if the key is in the ignition switch.
The system will signal you when the doors lock and unlock by flashing the hazard lamp once when they lock, and twice when they unlock.

Data Flow

Overview Description

1. | The following conditions are changed, accounding to rarious input signal and perform the many functions.

A. | ARM

B. | ARM WAIT

C. | AUTO lock TIMER1

D. | AUTO lock TIMER2

E. | ARM HOLD

F. | REARM

G. | ALARM

H. | PREARM

I. | DISARM

Condition 1 : At least one entrance opened
(4Door Not Close=ON) or (Trunk Open Switch=ON) or (Hood Switch=ON)
Condition 2 : All doors closed, but HOOD or TRUNK open
(4Door Not Close=OFF) & (Trunk Open Switch=ON) or (Hood Switch=ON)
Condition 3 : Close the 4DOOR with DOOR lock
(4Doors Locked) & (4Door Not Close ON→OFF)
Condition 2 & 3 : Close the 4DOOR with lock with HOOD or TRUNK OPEN
(4Doors Locked) & (4Door Not Close ON→OFF) & (Trunk Open Switch=ON) or (Hood Switch=ON)
All entrances closed : 4DOOR Switch & HOOD Switch & TRUNK OPEN Switch is CLOSE
LOCK : Lock command by Tx
UNLOCK : Unlock command by Tx
LOCK : Driver key lock switch is ON
UNLOCK : Driver key unlock switch is ON
TRUNK : TRUNK OPEN signal or TRUNK or RKE TRUNK command by Tx
IGN KEY ON : KEY IN Switch = ON & IGN1 = ON & IGN2 =ON
IGN KEY OUT : KEY IN Switch = OFF & IGN1 = OFF & IGN2 =OFF
KEY IN : KEY IN Switch = ON
KEY IN 1 : KEY IN Switch = ON or IGN1 = ON or IGN2 = ON
H1 : Hazard Time is one-time(lock) 1sec on
H2 : Hazard Time is two-time(unlock) 0.5sec/on, 0.5sec/off
AUTO LOCK TIMER1 : 30sec
AUTO LOCK TIMER2 : 30sec
ARM WAIT TIMER : 30sec
TRUNK TIMER : 30sec
TRUNK MARK : Default value is clear
LOCK CONFIRM CHECK : 0.2 ~ 5sec

Security Ind Control

1. | Key In switch ON or ACC ON1 ON or IGN1 ON or IGN2 ON or FOB IN is LED OFF.

2. | IGN KEY OUT entry in the ARM WAIT mode, the Infinite On control of the ARM WAIT mode, the other will control the BLINKING.

3. | BLINKING cycle is 2.3s.(ON during 0.3s / OFF during 2.0s) T1 : 0.3sec, T2 : 2sec

Functions

DISARM
Condition 1

State | Description
Initial Condition | ALARM
Event |

- | IGN KEY ON during 30sec or ALT ”L” on

NON SMK SPEC :

- | Any door open & TX unlock

- | TX Trunk

- | TX Lock & Lock confirm Failed

SMK SPEC :

- | Any door open & RKE CMD Unlock/ Passive Access Unlock 1

- | RKE trunk 1

- | TP AUTH 1/ PIC AUTH 1

- | RKE CMD Lock/ Passive Access Lock 1 & Lock confirm Failed

Mechanical Key Option Enable :

- | Unlock

- | lock & Lock confirm Failed

Action | The state goes to DISARM state

- | Horn Relay, Hazard Relay, Start inhibit OFF

- | TX Unlock, RKE CMD Unlock, Passive Access Unlock 1 -> Unlock relay on for 0.5sec -> Hazard relay on (TWICE)

Lock failure : Lock attempts within 5 seconds after the Unlock door maintain at least one if
RKE CMD = Unlock : RKE CMD = Unlock & Fob1 or Unlock & Fob2
RKE CMD = Lock : RKE CMD = Lock & Fob1 or Lock & Fob2

T1 : 0.5s, T2 : 0.5s +-0.1s

Condition 2

State | Description
Initial Condition | DISARM state & (IGN KEY OUT) & Any Door open
Event | NON SMK spec :

- | Any door open & TX UNLOCK

SMK spec :

- | Any door open & RKE CMD UNLOCK / Passive Access Unlock 1 / RKE TRUNK 1

- | TP AUTH 1 / PIC AUTH 1

Action | No state change

- | TX UNLOCK, RKE CMD UNLOCK, Passive Access Unlock 1 -> Hazard relay for 0.5s ON/OFF(twice)

Condition 3

State | Description
Initial Condition | ARM WAIT state
Event |

- | Any door open or Hood switch OPEN or Trunk switch OPEN

- | Any door is unlocked

- | Key In switch ON

SMK spec : TP AUTH 1 / PIC AUTH 1
Mechanical Key OPTION Enable : UNLOCK
Action | The state goes to DISARM state

Condition 4

State | Description
Initial Condition | AUTOLOCK TIMER1 STATE
Event |

- | Any door open or Hood switch OPEN or Trunk switch OPEN

- | Key In switch ON

- | AUTO LOCK & Lock confirmation failure

NON SMK spec :

- | AUTO LOCK & Lock confirmation failure

SMK spec :

- | RKE CMD LOCK / Passive Access Lock 1& Lock confirmation failure

- | TP AUTH 1 / PIC AUTH 1

Mechanical Key option Enable :

- | LOCK & Lock confirmation failure

Action | The state goes to DISARM state

Condition 5

State | Description
Initial Condition | AUTOLOCK TIMER2 STATE
Event |

- | Any door open

- | Key In switch ON

- | AUTO LOCK & Lock confirmation failure

- | Hood switch Open and Memory Hood was Close

- | Trunk switch Open and Memory Trunk was Close

NON SMK spec :

- | TX LOCK& Lock confirmation failure

SMK spec :

- | RKE CMD=LOCK/ Passive Access Lock 1& Lock confirmation failure

- | TP AUTH 1/PIC AUTH 1

Mechanical Key option Enable : LOCK & Lock confirmation failure
Action | The state goes to DISARM state

Condition 6

State | Description
Initial Condition | ARM STATE
Event |

- | IGN KEY ON

SMK spec :

- | TP AUTH 1 / PIC AUTH 1

Mechanical Key option Enable :

- | UNLOCK

Action | The state goes to DISARM state

Condition 7

State | Description
Initial Condition | REARM state
Event |

- | IGN KEY ON during 30sec or ALT”L” on

NON SMK spec :

- | TX LOCK& Lock confirmation failure

- | TX TRUNK

SMK spec :

- | TP AUTH 1 / PIC AUTH 1

- | RKE CMD LOCK / Passive Access Lock 1 & Lock confirmation failure

- | RKE TRUNK 1

Mechanical Key option Enable :

- | UNLOCK

- | LOCK & Lock confirmation failure

Action | The state goes to DISARM state Start inhibit OFF

Condition 8

State | Description
Initial Condition | PREARM state
Event |

- | Key In switch ON

- | All entrance closed & Any Door is unlocked

- | Any Door open & Tx Unlock

NON SMK :

- | Any door open & TX UNLOCK

SMK :

- | TP AUTH 1 / PIC AUTH 1

- | Any door open & RKE CMD UNLOCK/ Passive Access Unlock 1

Mechanical Key option Enable :

- | UNLOCK

Action | The state goes to DISARM state

- | TX UNLOCK, RKE CMD UNLOCK, Passive Access Unlock 1 -> Hazard relay for 0.5s ON/OFF(twice)

Condition 9

State | Description
Initial Condition | ARMHOLD
Event |

- | IGN KEY ON

SMK :

- | TP AUTH 1 / PIC AUTH 1

Mechanical Key option Enable :

- | UNLOCK

Action | The state goes to DISARM state

ARM
Condition 1

State | Description
Initial Condition | ARM state
Event | NON SMK :

- | TX LOCK

NON SMK :

- | RKE CMD LOCK / Passive Access Lock 1

Action | No state change Hazard relay 1Time on(1sec)

Condition 2

State | Description
Initial Condition | ARM WAIT state
Event |

- | After ARM WAIT TIMER finished

Action | The state goes to ARM state

Condition 3

State | Description
Initial Condition | ARMHOLD state
Event | Trunk close for at least Trunk Release Time Out(default 30sec) in ARMWAIT state
Action | The state goes to ARM state

ALARM
Condition 1

State | Description
Initial Condition | ARM state
Event | Any door open or Hood switch open or Trunk switch open
Action | The state goes to ALARM state

- | Engine Start Inhibit is ON

- | The horn is ON one time for 27sec(±2sec) and OFF two times for 10sec(±1sec)

- | The hazard is driven also (During Horn driving)

T1 : 27s(±2sec), T2 : 10s(±2sec), T3 : 0.5s ± 0.1sec
Note : Horn Output : Period : 1sec(Can be calibrated Horn Period), 50% Duty
Condition 2

State | Description
Initial Condition | REARM state
Event | Any door open or Hood switch OPEN or Trunk switch OPEN
Action | The state goes to ALARM state The horn is ON one time for 27sec(±2sec) and OFF two times for 10sec(±1sec) The hazard is driven also (During Horn driving)

Condition 3

State | Description
Initial Condition | ARMHOLD state
Event | Any door open or Hood switch OPEN
Action | The state goes to ALARM state The horn is ON one time for 27sec(±2sec) and OFF two times for 10sec(±1sec) The hazard is driven also (During Horn driving).

ARM WAIT MODE
Condition 1

State | Description
Initial Condition | ARMWAIT state
Event | NON SMK :

- | TX LOCK

NON SMK :

- | RKE CMD LOCK / Passive Access Lock 1

Action | No state change Hazard relay 1Time on(1sec)

Condition 2

State | Description
Initial Condition | DISARM state & IGN KEY OUT & All entrances closed(DOORS, HOOD and TRUNK)
Event | NON SMK :

- | Tx Lock & locked confirmed

SMK spec :

- | RKE CMD LOCK / Passive Access Lock 1 & locked confirmed

Mechanical Key option Enable :

- | LOCK & locked confirmed

- | DOOR LOCK state : Any door open → All door closed

Action |

- | The state goes to ARMWAIT State

- | Start ARM WAIT TIMER

- | Hazard relay 1Time on(1sec)

Condition 3

State | Description
Initial Condition | ALARM state & All entrances closed(DOORS, HOOD and TRUNK)
Event | NON SMK :

- | Tx Lock & locked confirmed

SMK spec :

- | RKE CMD LOCK / Passive Access Lock 1 & locked confirmed

Mechanical Key option Enable :

- | LOCK & locked confirmed

Action |

- | The state goes to ARMWAIT State

- | Horn relay, Start inhibit relay OFF

- | Hazard relay 1Time on(1sec) (LOCK : Except)

- | Start ARMWAIT TIMER

Condition 4

State | Description
Initial Condition | AUTOLOCK TIMER1 state
Event | AUTOLOCK & locked confirmed
NON SMK :

- | Tx Lock & locked confirmed

SMK :

- | RKE CMD LOCK / Passive Access Lock 1 & locked confirmed

Mechanical Key option Enable : LOCK & locked confirmed
Action |

- | The state goes to ARMWAIT State

- | Hazard relay 1Time on(1sec)

- | Start ARMWAIT TIMER

Condition 5

State | Description
Initial Condition | PREARM state
Event | All door closed and (Trunk switch CLOSE & TRUNK MARK CLEAR) & Hood switch CLOSE & DOOR LOCK
Action |

- | The state goes to ARMWAIT State

- | Hazard relay 1Time on(1sec)

- | Start ARMWAIT TIMER

Condition 6

State | Description
Initial Condition | REARM state
Event | NON SMK :

- | TX LOCK & locked confirmed

SMK :

- | RKE CMD LOCK/ Passive Access Lock 1 & locked confirmed

Mechanical Key option Enable :

- | LOCK & locked confirmed

Action |

- | The state goes to ARMWAIT State

- | Hazard relay 1Time on(1sec) (LOCK : Except)

- | Start Inhibit relay OFF

- | Start ARMWAIT TIMER

*1 : Lock : Driver Door Unlock Switch or Assist Door Unlock Switch or Rear Right Driver Unlock Switch = LOCK
Unlock : Driver Door Unlock Switch or Assist Door Unlock Switch or Rear Right Driver Unlock Switch = UNLOCK
REARM MODE
Condition 1

State | Description
Initial Condition | ALARM state
Event | All door closed and trunk switch close, hood switch close state, and ALARM PATTERN finished
Action | The state goes to REARM state

AUTO LOCK TIMER1 MODE
Condition 1

State | Description
Initial Condition | ARM state
Event | NON SMK :

- | TX UNLOCK

SMK :

- | RKE CMD UNLOCK / Passive Access Unlock 1

Action |

- | The state goes to AUTO LOCK TIMER1 state

- | Start AUTO LOCK TIMER1

- | Hazard relay Twice on(0.5s ON/0.5s OFF)

Condition 2

State | Description
Initial Condition | AUTO-LOCK TIMER1 state
Event | AUTOLOCK TIMER1 finished
NON SMK :

- | TX UNLOCK

SMK :

- | RKE CMD UNLOCK / Passive Access Unlock 1

Action | No change state
CASE1: AUTO LOCK TIMER1 Finished AUTOLOCK
CASE2: TX UNLOCK, RKE CMD UNLOCK, Passive Access Unlock 1 Hazard relay Twice on(0.5s ON/0.5s OFF) Restart AUTO LOCK TIMER1

Condition 3

State | Description
Initial Condition | ARM WAIT state
Event | NON SMK : TX UNLOCK
SMK : RKE CMD UNLOCK / Passive Access Unlock 1
Action |

- | The state goes to AUTO LOCK TIMER1 state

- | Start AUTO LOCK TIMER1

- | Hazard relay Twice on(0.5s ON/0.5s OFF)

Condition 4

State | Description
Initial Condition | DISARM state & All entrances closed(DOORS, Hood SW & Trunk SW) & IGN KEY OUT
Event | NON SMK : TX UNLOCK
SMK : RKE CMD UNLOCK/ Passive Access Unlock 1
Action |

- | The state goes to AUTO LOCK TIMER1 state

- | Start AUTO LOCK TIMER1

- | Hazard relay Twice on(0.5s ON/0.5s OFF)

Condition 5

State | Description
Initial Condition | ALARM state & All door closed and Trunk switch CLOSE, Hood switch CLOSE
Event | NON SMK : TX UNLOCK
SMK : RKE CMD UNLOCK / Passive Access Unlock 1
Action |

- | The state goes to AUTO LOCK TIMER1 state

- | Start AUTO LOCK TIMER1

- | Hazard relay Twice on(0.5s ON/0.5s OFF)

- | Start inhibit relay off /Horn relay off

Condition 6

State | Description
Initial Condition | REARM state
Event | NON SMK : TX UNLOCK
SMK : RKE CMD UNLOCK/ Passive Access Unlock 1
Action | The state goes to AUTO LOCK TIMER1 state

- | Start AUTO LOCK TIMER1

- | Hazard relay Twice on(0.5s ON/0.5s OFF)

- | Start inhibit relay off

AUTO LOCK TIMER2 MODE
Condition 1

State | Description
Initial Condition | AUTO-LOCK TIMER2 state
Event | Finished AUTO LOCK TIMER2
NON SMK : TX UNLOCK
SMK : RKE CMD UNLOCK/ Passive Access Unlock 1
Action | No change state
CASE1: AUTO LOCK TIMER2 finished AUTOLOCK
CASE2: TX UNLOCK, RKE CMD UNLOCK, Passive Access Unlock 1

- | Start AUTOL OCK TIMER2

- | Hazard relay Twice on(0.5s ON/0.5s OFF)

Condition 2

State | Description
Initial Condition | DISARM state & IGN KEY OUT & (Trunk switch OPEN or Hood switch OPEN) state
Event | NON SMK : TX UNLOCK
SMK : RKE CMD UNLOCK/ Passive Access Unlock 1
Action |

- | The state goes to AUTOLOCKTIMER2 state

- | Start AUTOLOCKTIMER2

- | Hazard relay Twice on(0.5s ON/0.5s OFF)

- | Memo Hood/Trunk state

Condition 3

State | Description
Initial Condition | ALARM state & All door closed & (Trunk switch OPEN or Hood switch OPEN) state
Event | NON SMK : TX UNLOCK
SMK : RKE CMD UNLOCK / Passive Access Unlock 1
Action |

- | The state goes to AUTO LOCK TIMER2 state

- | Horn relay, Start inhibit relay OFF

- | Start AUTO LOCK TIMER2

- | Hazard relay Twice on(0.5s ON/0.5s OFF)

- | Memo Hood/Trunk state

Condition 4

State | Description
Initial Condition | PREARM state & All door closed & (Trunk switch OPEN or Hood switch OPEN)state
Event | NON SMK : TX UNLOCK
SMK : RKE CMD UNLOCK / Passive Access Unlock 1
Action |

- | The state goes to AUTO LOCK TIMER2 state

- | Start AUTO LOCK TIMER2

- | Hazard relay Twice on(0.5s ON/0.5s OFF)

- | Memo Hood/Trunk state

Condition 5

State | Description
Initial Condition | ARMHOLD state
Event | NON SMK : TX UNLOCK
SMK : RKE CMD UNLOCK / Passive Access Unlock 1
Action |

- | The state goes to AUTO LOCK TIMER2 state

- | Start AUTO LOCK TIMER2

- | Hazard relay Twice on(0.5s ON/0.5s OFF)

- | Memo Hood/Trunk state

PREARM MODE
Condition 1

State | Description
Initial Condition | AUTO-LOCK TIMER2 state
Event | AUTO LOCK & locked confirmed
NON SMK : TX LOCK& locked confirmed
SMK : RKE CMD LOCK/ Passive Access Lock 1 & locked confirmed
Mechanical Key option Enable : LOCK & locked confirmed
Action | The state goes to PREARM state

Condition 2

State | Description
Initial Condition | DISARM state & IGN KEY OUT
Event | NON SMK :

- | Any door open or Hood SW OPEN or Trunk SW OPEN state & locked confirmed

SMK :

- | Any door open or Hood SW OPEN or Trunk SW OPEN state RKE CMD LOCK / Passive Access Lock 1 & locked confirmed

Mechanical Key option Enable : LOCK & locked confirmed ALL DOOR LOCK state (Any door open → All doors closed) and (Trunk switch OPEN or Hood switch OPEN)
Action | The state goes to PREARM state

Condition 3

State | Description
Initial Condition | ALARM state & IGN KEY OUT and(Any door open or Hood SW OPEN or Trunk SW OPEN)
Event | NON SMK : TX LOCK& locked confirmed
SMK : RKE CMD LOCK/ Passive Access Lock 1 & locked confirmed
Mechanical Key option Enable : LOCK & locked confirmed
Action | The state goes to PREARM state Horn relay, Hazard relay, Start INH relay => OFF

Condition 4

State | Description
Initial Condition | ARMHOLD state
Event | NON SMK : TX LOCK & locked confirmed
SMK : RKE CMD LOCK/ Passive Access Lock 1& locked confirmed
Mechanical Key option Enable : LOCK locked confirmed
Action | The state goes to PREARM state

Condition 5

State | Description
Initial Condition | ARMWAIT state
Event | NON SMK : TX TRUNK
SMK : RKE TRUNK 1
Action | The state goes to PREARM state Start TRUNK TIMER TRUNK MARK Set

Condition 6

State | Description
Initial Condition | PREARM state
Event | Trunk switch OPEN Trunk TimeR expired(Trunk Release Time Out: 30s)
Action | No state change CASE Trunk switch OPEN : Stop to Trun Timer. TRUNK MARK Clear CASE TRUNK TIMER expired :
TRUNK MARK Clear

ARMHOLD MODE
Condition 1

State | Description
Initial Condition | ARM state
Event | NON SMK : TX Trunk
SMK : RKE Trunk 1
Action | The state goes to ARMHOLD state

RESET

1. | In case of taking the BATTERY out during the ALARM state Condition

State | Description
Initial Condition | ALARM, REARM state
Event | Taking the battery out
Action | Start INH relay ON and Horn relay twice The state goes to ALARM mode

2. | In case of taking the BATTERY out during ARM Condition

State | Description
Initial Condition | ARM state
Event | Taking the battery out
Action | The state goes to ARM mode

3. | In case of taking the BATTERY out during the ARMHOLD state Condition

State | Description
Initial Condition | Except ARM, ALARM, REARM,ARMHOLD state
Event | Taking the battery out
Action | The state goes to DISARM mode