P0334
Knock/Combustion Vibration Sensor B Circuit Intermittent.
- Generic
- Powertrain
- Generic code
- Medium severity
How this code is built
- P
- SystemPowertrain
- 0
- Defined bySAE, the same on every car
- 3
- AreaIgnition system or misfire
- 34
- FaultThe specific fault in that area
What it means
P0334 is the generic code for an intermittent fault in the circuit of knock or combustion vibration sensor B, which is normally the sensor on the second cylinder bank or a second sensor position. The engine control unit saw the sensor signal drop out, spike or go out of range from time to time, rather than staying faulty all the time. Which sensor counts as B depends on the engine layout, so check the model-specific information.
Symptoms
- Engine warning light on
- Reduced power or flat feeling under load
- Pinking or rattling under acceleration
- Poorer fuel economy
- Rough running or hesitation that comes and goes
- Code returns after being cleared, often at certain temperatures or on rough roads
Possible causes
- Damaged, chafed or corroded wiring to the knock sensor, often where it runs near the engine block or exhaustlikely
- Loose, corroded or contaminated sensor or control unit connector pinslikely
- Faulty knock sensor with an intermittent internal faultlikely
- Knock sensor loose or tightened to the wrong torque, giving a poor signalpossible
- Oil or coolant contamination in the sensor connector or harness from a leakpossible
- Electrical interference from a poor earth or a damaged nearby harnesspossible
- Fault inside the engine control unitrare
How to diagnose
- Read all stored codes and the freeze frame data to see engine speed, load and temperature when the fault set, and note any related codes.
- Check for manufacturer service information on which sensor is B on this engine and where it is fitted.
- Visually inspect the sensor, harness and connector for chafing, heat damage, oil contamination, corrosion and bent or pushed-back pins.
- Wiggle test the harness and connector with the engine running or on live data, watching for the signal dropping out or the code resetting.
- Check the sensor is fitted correctly, clean on its mounting face and tightened to the specified torque.
- Test the sensor circuit for continuity, short to earth and short to supply, and check the sensor resistance against the manufacturer's specification where one is given.
- Check the engine earths and the control unit supply and earth connections.
- Use live data or a scope to confirm the sensor produces a clean signal when the engine is tapped near it or under load.
How to fix
- Repair or replace the damaged wiring section and secure it away from heat and moving parts.
- Clean or replace the corroded connector or terminals, and fix any oil leak that is contaminating them.
- Replace the knock sensor if it fails testing, fitting it to the correct torque on a clean surface.
- Refit or tighten a loose sensor to the manufacturer's torque.
- Repair poor earths or supply faults found in the circuit.
- Only after all else is ruled out, diagnose and replace the engine control unit as advised by the manufacturer.
Can I keep driving?
The car can usually be driven for a short time, but the engine may run in a reduced-power or retarded-timing mode to protect itself. Get it checked soon, and avoid heavy loads or hard acceleration, as any real detonation could damage the engine.
Guide written by AI from the code's definition. Confirm with a diagnosis before replacing parts.
