Hyundai Sonata LF: Engine Control System / Camshaft Position Sensor (CMPS) Description and Operation
Camshaft Position Sensor (CMPS) is a hall sensor and detects the camshaft position by using a hall element.
It is related with Crankshaft Position Sensor (CKPS) and
detects the piston position of each cylinder which the CKPS can't
detect.
The CMPS is installed on engine head cover and uses a target
wheel installed on the camshaft. The Cam Position sensor is a
hall-effect type sensor. As the target wheel passes the Hall sensor, the
magnetic field changes in the sensor. The sensor then switches a signal
which creates a square wave.

Inspection
1.
Check signal waveform of CKPS and CMPS using a GDS.
Specification: Refer to “Waveform”
Removal
1.
Turn the ignition switch OFF and disconnect the battery negative (-) cable...
Other information:
Replacement
1.
Remove the fuel pump.
(Refer to Fuel Delivery System - "Fuel Pump")
2.
Remove the fixing clip (A), and then disconnect the fuel tube (B).
3.
Remove the fuel pressure regulator fixing clip (A).
4.
Remove the fuel pressure regulator (B) from the fuel filter...
C..