Engine Mechanical

12 Lessons

Understand how internal combustion engines work — from the block to the valvetrain.

Overview

The engine is still the heart of most vehicles on the road. This module covers four-stroke operation, cylinder head design, valvetrain configurations, timing systems, piston and ring design, and engine block construction. Whether it is a 4-cylinder economy car or a V8 truck, the fundamentals are the same.

Lessons

LESSON 01
Engine Overview — The Four Strokes
An engine is a machine that converts fuel into motion. That is all it does. It mixes air and fuel together, compresses the mixture, ignites it, and uses the force of the expanding gases to push a piston down inside a cylinder. That piston is connected to a crankshaft that converts the up-and-down piston motion into rotational motion — spinning — that eventually turns the wheels. Every gasoline engine you will ever work on repeats four steps over and over, hundreds of times per minute, in each cylinder.
Stroke 1 — Intake
The piston moves down from the top of the cylinder to the bottom. As it moves down, it creates a vacuum — like pulling back a syringe. The intake valve opens and air mixed with fuel gets pulled into the cylinder by that vacuum. Think of it like breathing in. The cylinder fills with the air-fuel mixture.
Stroke 2 — Compression
Both valves close. The piston moves back up from bottom to top and squeezes the air-fuel mixture into a very small space at the top of the cylinder. This compression is critical — squeezing the mixture makes it much more powerful when it ignites. A typical gasoline engine compresses the mixture to about one-tenth of its original volume. That is called a 10-to-1 compression ratio.
Stroke 3 — Power
At the exact right moment when the piston reaches the top and the mixture is fully compressed, the spark plug fires. A spark jumps the gap at the tip of the plug and ignites the compressed mixture. The fuel burns rapidly, the gases expand with tremendous force, and that force pushes the piston back down with thousands of pounds of pressure. This is the only stroke that produces power. The other three strokes just prepare for this one.
Stroke 4 — Exhaust
The exhaust valve opens and the piston moves back up, pushing the burned gases out of the cylinder and into the exhaust system. The cylinder is now empty and ready to start the intake stroke again. The whole cycle — intake, compression, power, exhaust — takes two full rotations of the crankshaft. In a four-cylinder engine running at 3,000 RPM, each cylinder fires 1,500 times per minute. All four cylinders firing in sequence produce 6,000 power strokes every minute. That is what makes the engine run.
Three requirements for combustion
Every engine needs three things to run. Fuel — the right amount, at the right time. Air — mixed with the fuel in the correct ratio. Spark — at the precise moment. If any one of these three is missing or wrong, the engine will not run correctly. When you are diagnosing a no-start or driveability concern, your first question is always — which one of these three is the problem? That one question focuses every diagnosis.
LESSON 02
The Cylinder Block
The engine block is the main structural piece of the entire engine. Everything else bolts onto it or fits inside it. Think of it as the skeleton that holds the engine together. It is a heavy casting — either cast iron or aluminum — with cylindrical holes bored through it. Those holes are the cylinders where the pistons move up and down.
What is inside the block
Cylinders — the round holes where the pistons travel. The cylinder walls must be perfectly smooth and round because the piston rings seal against them. Any scratches, scoring, or out-of-round conditions in the cylinder wall allow compression and oil to leak past the rings. Coolant passages — channels cast into the block that allow coolant to circulate around the cylinders and absorb heat. Oil passages — drilled channels that deliver pressurized oil to the crankshaft bearings, camshaft bearings, and other moving parts. The main bearing saddles — precision-machined surfaces at the bottom of the block where the crankshaft sits and rotates.
Cast iron vs aluminum
Cast iron blocks are heavier but extremely strong and durable. They handle heat well and resist wear. Aluminum blocks are much lighter — saving fuel and improving performance — but aluminum is softer than iron and requires iron or steel cylinder liners pressed into the bores to provide a wear-resistant surface for the piston rings. Some modern aluminum blocks use a special plasma-sprayed coating on the cylinder walls instead of liners. The trade-off with aluminum is always weight savings versus durability and repairability.
LESSON 03
Pistons, Rings, and Connecting Rods
The piston is a cylindrical plug that slides up and down inside the cylinder bore. It is the component that actually receives the force of combustion and transfers it to the crankshaft through the connecting rod. Pistons are made of aluminum alloy because aluminum is light — and since the piston changes direction thousands of times per minute, keeping it light reduces the forces on the engine.
Piston rings
Each piston has a set of rings that fit into grooves machined around its circumference. Most engines use three rings per piston. The top ring and second ring are compression rings — their job is to seal the cylinder and prevent combustion pressure from leaking past the piston into the crankcase below. The bottom ring is the oil control ring — its job is to scrape excess oil off the cylinder wall and return it to the oil pan so it does not get into the combustion chamber and burn. When the rings wear out, compression drops and oil consumption increases. Blue smoke from the tailpipe often indicates worn rings allowing oil past.
Connecting rod
The connecting rod is the link between the piston and the crankshaft. The small end of the rod connects to the piston through a wrist pin. The big end of the rod wraps around the crankshaft journal. The connecting rod converts the straight-line up-and-down motion of the piston into the rotational motion of the crankshaft. The rod and its bearing must be incredibly strong because they transmit all of the combustion force while changing direction thousands of times per minute.
Wrist pin
The wrist pin — also called a piston pin — passes through the piston and the small end of the connecting rod. It allows the rod to pivot relative to the piston as the crankshaft rotates. The wrist pin is a hardened steel cylinder machined to very tight tolerances. A worn or loose wrist pin produces a distinctive double-knock sound — two quick taps in rapid succession — that is most noticeable at idle and under light load.
LESSON 04
The Crankshaft
The crankshaft is a heavy steel shaft that runs the length of the bottom of the engine block. It converts the up-and-down motion of the pistons into rotational motion — spinning — that ultimately drives the wheels. Think of a bicycle pedal. Your legs push straight down on the pedals. The crank arm converts that push into rotation of the sprocket. The crankshaft does exactly the same thing with the pistons.
How it works
The crankshaft has offset sections called throws or crank journals. Each connecting rod attaches to one of these offset journals. Because the journals are offset from the center of the shaft, the downward push of the piston on the rod forces the shaft to rotate. Multiple cylinders firing in a carefully timed sequence keep the crankshaft turning smoothly.
Main bearings
The crankshaft sits in main bearing saddles in the bottom of the block. Between the crankshaft and the saddles are precision insert bearings — thin shells of soft bearing material that the crankshaft rides on. A thin film of pressurized oil separates the bearing surface from the crankshaft surface. The crankshaft never actually touches the bearing — it floats on a microscopic film of oil. When that oil film fails — low oil level, low oil pressure, wrong oil viscosity, or contaminated oil — metal contacts metal and the bearing is destroyed. This is why oil maintenance is not optional.
Harmonic balancer
Bolted to the front of the crankshaft, the harmonic balancer — also called a damper — absorbs torsional vibrations in the crankshaft. Every time a cylinder fires, the crankshaft twists slightly. These repeated twisting forces at high RPM can crack the crankshaft if not dampened. The balancer uses a rubber ring between an inner hub and an outer ring to absorb these vibrations. When the rubber deteriorates with age, the outer ring can shift or separate — changing ignition timing readings and causing vibrations.
LESSON 05
Cylinder Head and Valvetrain
The cylinder head bolts to the top of the engine block and forms the roof of the combustion chamber. It contains the intake and exhaust valves, the valve springs, and on overhead cam engines, the camshafts. The head is where the spark plug threads in and fires into the combustion chamber. The cylinder head is one of the most complex castings on the engine — it has coolant passages, oil passages, intake and exhaust ports, and precisely machined valve seats all in one piece.
Valves
Intake valves open to let the air-fuel mixture into the cylinder. Exhaust valves open to let burned gases out. Most modern engines have four valves per cylinder — two intake and two exhaust — because four smaller valves flow more air than two large ones. Each valve has a head — the flat disc that seals against the valve seat — and a stem that slides in a guide pressed into the head. The valve seat in the head must be perfectly smooth and the valve face must seal against it with zero leakage for proper compression. A burnt valve — one with damage to its sealing face — leaks compression and causes a misfire on that cylinder.
Valve springs
Each valve has a spring that holds it closed. The camshaft pushes the valve open against spring pressure, and the spring pushes it closed when the camshaft lobe rotates past. A weak or broken valve spring fails to close the valve quickly enough at high RPM, which causes a misfire and possible valve-to-piston contact. On overhead cam engines with hydraulic lash adjusters, a ticking noise at startup that goes away after a few seconds is usually an adjuster that bled down overnight — normal. A tick that persists after warmup may indicate a collapsed adjuster.
Camshaft
The camshaft is a shaft with egg-shaped lobes on it. As the camshaft rotates, each lobe pushes a valve open at exactly the right time and for exactly the right duration. The shape of the lobe determines how far the valve opens, how long it stays open, and how quickly it opens and closes. The camshaft is driven by the crankshaft through a timing chain or timing belt at exactly half crankshaft speed — the camshaft turns once for every two turns of the crankshaft. This is because the four-stroke cycle takes two crankshaft revolutions. The camshaft must be timed precisely to the crankshaft — if the relationship is off by even a few degrees, valves open and close at the wrong time, the engine runs poorly, and in severe cases the pistons can strike the valves.
LESSON 06
Timing Chains and Timing Belts
The timing chain or timing belt connects the crankshaft to the camshaft and keeps them perfectly synchronized. This is one of the most critical components in the engine because if the timing relationship between the crankshaft and camshaft is lost, the valves and pistons can collide and destroy the engine internally.
Timing chains
Timing chains are metal roller chains similar to a heavy-duty bicycle chain. They are durable and typically last the life of the engine if oil changes are maintained. However, they do stretch over time as the chain links and pins wear. A stretched timing chain retards cam timing — the camshaft falls slightly behind where it should be relative to the crankshaft. Symptoms include a rattle from the front of the engine at startup, reduced power, poor fuel economy, and timing-related fault codes. Chain-driven engines also have chain tensioners — either hydraulic or spring-loaded — that keep the chain tight. A failed tensioner allows the chain to slap and can cause the chain to jump teeth.
Timing belts
Timing belts are reinforced rubber belts with teeth that mesh with sprockets on the crankshaft and camshaft. They are lighter and quieter than chains but they wear out and must be replaced at the manufacturer's specified interval — typically 60,000 to 105,000 miles. This is not a suggestion. A timing belt that breaks while the engine is running causes immediate loss of power steering and power brakes — the vehicle becomes very difficult to control.
Interference vs non-interference
This is critical. An interference engine is designed with the valves and pistons occupying the same space at different times. If the timing belt or chain breaks or jumps, the pistons strike the open valves. Bent valves. Damaged pistons. Possible cylinder head and block damage. Thousands of dollars in repairs. A non-interference engine has enough clearance that the pistons and valves never contact each other even if timing is lost. If a customer's vehicle has a timing belt and is approaching the replacement interval — make the recommendation clearly and document it. A timing belt failure on an interference engine is a preventable catastrophe.
LESSON 07
Head Gasket
The head gasket sits between the cylinder head and the engine block. It is a single gasket that must simultaneously seal combustion pressure at over 1,000 PSI, coolant passages at 15 PSI, and oil passages — all in a joint that cycles from cold to over 200 degrees Fahrenheit and back hundreds of thousands of times. It is one of the hardest-working gaskets in the entire vehicle.
What happens when it fails
A blown head gasket can fail in several ways depending on where the breach occurs. Combustion gases leak into the cooling system — you see bubbles in the coolant reservoir or radiator with the cap off and the engine running. The cooling system pressurizes rapidly. Coolant leaks into the combustion chamber — white sweet-smelling smoke from the exhaust that does not go away after warmup. Coolant level drops with no visible external leak. Oil and coolant mix — a milky tan substance appears on the oil cap or dipstick. Cylinders leak into each other — two adjacent cylinders show low compression.
Testing for head gasket failure
Chemical block test — the most definitive shop test. A chemical fluid in a test tool changes color when exposed to combustion gases. Place the tester in the radiator neck or reservoir opening with the engine running and the cap off. If the fluid changes color, combustion gases are entering the cooling system through the head gasket. Compression test — two adjacent cylinders with low compression that improves when tested together points to a gasket breach between those cylinders. Pressure testing the cooling system — if the system loses pressure with no visible external leak, suspect an internal leak through the head gasket into the combustion chamber or oil passages.
LESSON 08
Variable Valve Timing — VVT
Variable valve timing lets the engine adjust when the valves open and close while the engine is running. This is a game changer because different driving conditions need different valve timing. At idle you want one timing. At full throttle you want different timing. At cruise you want something else entirely. VVT gives the engine the ability to optimize itself for whatever you are doing at that moment.
How it works
A VVT actuator — also called a cam phaser — sits on the end of the camshaft where the timing chain sprocket attaches. Inside the phaser, oil pressure acts on vanes that can rotate the camshaft position relative to the sprocket by a small number of degrees. The PCM controls an oil control solenoid that directs oil pressure to advance or retard the camshaft position. When you need more low-end torque — the PCM retards the timing. When you need more high-RPM power — it advances. When you need fuel efficiency at cruise — it finds the sweet spot.
VVT problems
VVT systems are entirely dependent on oil pressure and oil quality. Dirty oil, sludge buildup, or low oil level clogs the tiny oil passages in the phaser and solenoid. The most common VVT symptom is a rattle or knocking on cold startup that goes away after 10 to 30 seconds — the phaser is not receiving oil pressure fast enough on startup. A code for camshaft position timing over-advanced or over-retarded — Bank 1 or Bank 2 — often traces to a failed oil control solenoid or a phaser that is sticking due to sludge. Always check oil level and condition first. Many VVT concerns resolve with an oil change and solenoid cleaning.
LESSON 09
Engine Sensors
The engine computer — the PCM — cannot see, hear, or feel the engine. It relies entirely on sensors to tell it what is happening. Each sensor converts a physical condition — temperature, pressure, position, speed — into an electrical signal the PCM can read. Understanding what each sensor measures and what happens when it fails is fundamental to diagnosis.
Coolant temperature sensor — ECT
Measures engine coolant temperature. A thermistor — a resistor that changes resistance based on temperature. Cold engine — high resistance, low voltage signal. Hot engine — low resistance, high voltage signal. The PCM uses this to determine cold start enrichment, cooling fan activation, and transmission shift strategy. A failed ECT sensor that reads too cold causes the engine to run rich, waste fuel, and never go into closed loop fuel control.
Mass airflow sensor — MAF
Measures the volume and density of air entering the engine through the intake. A heated wire or film element inside the sensor housing is cooled by incoming air. The more air flows past, the more cooling occurs, and the sensor reports a higher airflow value. The PCM uses this to calculate exactly how much fuel to inject. A contaminated MAF sensor — from oil residue in an oiled aftermarket air filter for example — reads incorrectly and causes lean or rich fuel conditions. MAF sensors can be cleaned with dedicated MAF sensor cleaner spray. Never touch the sensing element with anything.
Throttle position sensor — TPS
Tells the PCM how far the driver has pressed the accelerator pedal. On electronic throttle systems — drive by wire — a sensor on the accelerator pedal tells the PCM the driver's intent, and a sensor on the throttle body tells the PCM the actual throttle position. The PCM compares the two and commands the throttle motor. A TPS with a dead spot — a position where the signal drops out momentarily — causes a hesitation or stumble at that specific throttle position.
MAP sensor — Manifold Absolute Pressure
Measures intake manifold vacuum and pressure. At idle the manifold has high vacuum — typically 18 to 22 inches of mercury. At wide open throttle the vacuum drops to near zero. On turbocharged engines the MAP sensor also reads positive boost pressure above atmospheric. The PCM uses MAP data along with engine RPM to calculate engine load and determine fuel delivery and ignition timing. Some engines use a MAP sensor instead of a MAF sensor. Some use both.
LESSON 10
Compression Testing
A compression test directly measures the mechanical ability of each cylinder to seal and build pressure. It answers one of the most fundamental diagnostic questions — can this cylinder hold the compression it needs to fire? No amount of fuel or spark fixes a cylinder that cannot build compression.
Procedure
Disable the fuel system — pull the fuel pump relay or fuse. Disable the ignition system. Remove all spark plugs — all of them, not just the one you are testing. Removing all plugs equalizes cranking resistance and gives accurate readings. Hold the throttle wide open. Install the compression gauge in the first cylinder. Crank the engine for about five revolutions. Record the reading. Repeat for each cylinder. All cylinders should be within 15 percent of each other and above the manufacturer's minimum specification — typically 120 to 180 PSI depending on the engine.
Wet compression test
If a cylinder reads significantly low, squirt a small amount of clean engine oil into the cylinder through the spark plug hole. Retest immediately. If the reading jumps up significantly — the oil temporarily sealed the piston rings and the low compression is caused by worn rings or cylinder wall wear. If the reading does not change — the leak is at the valves or head gasket. The oil cannot seal a valve or gasket leak.
Cylinder leakdown test
A leakdown test goes one step further than a compression test. Compressed air is fed into the cylinder through the spark plug hole with the piston at top dead center on the compression stroke — both valves closed. The tester measures what percentage of air pressure leaks out. Then you listen. Air hissing from the intake — the intake valve is leaking. Air hissing from the tailpipe — exhaust valve is leaking. Air bubbling in the coolant — head gasket is leaking into the cooling passage. Air hissing from the oil fill cap or dipstick tube — the rings are leaking past. The leakdown test not only tells you there is a leak but tells you exactly where it is.
LESSON 11
Variable Displacement and Cylinder Deactivation
Here is a simple idea. A V8 engine makes great power when you need it — merging onto the highway, towing a trailer, passing on a two-lane road. But cruising down a flat highway at 60 miles per hour, you do not need all eight cylinders. You might only need four. Variable displacement systems shut off some cylinders when the engine does not need them and reactivate them instantly when power is demanded. It is like turning off lights in rooms you are not using to save on the electric bill.
How it works
The system uses special hydraulic lifters — also called solenoid-controlled lifters — on the cylinders that can be deactivated. Under light load and steady cruise, the PCM commands oil control solenoids to collapse specific lifters. When a lifter collapses, it no longer opens the intake and exhaust valves on that cylinder. The valves stay closed. No air enters, no exhaust exits, and the PCM shuts off fuel injection to those cylinders. The piston still moves up and down — it is still connected to the crankshaft — but the sealed cylinder acts like an air spring. The remaining active cylinders do all the work. When the driver presses the throttle harder, the PCM reactivates the solenoids within milliseconds, the lifters pump back up, the valves resume operation, and fuel injection restarts. The transition is designed to be seamless.
What manufacturers call it
Every manufacturer has a different name for the same technology. GM calls it AFM — Active Fuel Management — or the older name DOD — Displacement on Demand. Chrysler and Ram call it MDS — Multi-Displacement System. Honda calls it VCM — Variable Cylinder Management. Some newer GM engines use Dynamic Fuel Management, which can deactivate any combination of cylinders — not just a fixed set — giving 17 different firing patterns. Regardless of the name, the operating principle is the same: solenoid-controlled lifters deactivate valves on selected cylinders.
What happens when it fails
These systems have a well-documented history of problems, especially on GM AFM V8 engines. The most common issue is excessive oil consumption — the deactivating lifters and their oil control solenoids can allow oil past the valve seals on deactivated cylinders. Some GM 5.3L and 6.2L engines consume a quart of oil every 1,000 to 2,000 miles with AFM active. Collapsed or stuck lifters cause misfires on deactivated cylinders — you will see misfire codes on specific cylinders that correspond to the deactivation bank. A ticking or knocking noise from the valvetrain that worsens over time often points to a failing AFM lifter. In severe cases, a broken lifter can score the camshaft lobe and the lifter bore in the block — requiring camshaft replacement and sometimes block replacement.
Diagnosis and repair
Scan data is your best friend. Watch the cylinder deactivation status on the scan tool while driving. If a cylinder shows active but is misfiring, the lifter on that cylinder may be stuck collapsed. Oil consumption complaints on AFM-equipped engines should start with a proper oil consumption test — document the level, drive a set number of miles, and recheck. Many shops install AFM or DOD delete kits that replace the solenoid-controlled lifters with standard lifters and reprogram the PCM to disable cylinder deactivation entirely. This is a common and accepted repair on high-mileage GM trucks. Always verify the customer complaint by confirming AFM is actually engaging during the conditions when the problem occurs.
LESSON 12
GDI Carbon Buildup Service
Gasoline Direct Injection — GDI — is used on most modern engines because it improves power and fuel efficiency by injecting fuel directly into the combustion chamber at extremely high pressure. But GDI has a side effect that creates real work for technicians. On a traditional port injection engine, fuel is sprayed onto the back of the intake valves before entering the cylinder. That fuel acts like a solvent — it washes the valves clean with every injection cycle. On a GDI engine, fuel never touches the intake valves. It goes straight into the cylinder. Over tens of thousands of miles, oil vapors from the PCV system and combustion blow-by coat the back of the intake valves and bake on from engine heat. The result is a thick layer of hard carbon buildup on the intake valve stems and seats.
Symptoms of carbon buildup
Carbon buildup restricts airflow into the cylinder and can prevent the intake valves from sealing properly. The most common symptom is a rough idle or misfire on cold start that smooths out after a few minutes as the engine warms and the metal expands. You may see random misfire codes — P0300 — or single cylinder misfires. Reduced power and poor fuel economy develop gradually as buildup worsens. Some customers report hesitation on acceleration. The tricky part is these symptoms creep in slowly over years and miles, so the driver may not notice until it is severe. GDI engines with 60,000 to 80,000 miles are prime candidates.
Walnut shell blasting
The most effective method for removing intake valve carbon is walnut shell blasting. The intake manifold is removed to expose the intake ports. Each cylinder is brought to a position where both intake valves are closed — this prevents debris from entering the cylinder. A specialized blasting tool shoots crushed walnut shell media into the intake port at controlled pressure. The walnut shells are hard enough to break off carbon deposits but soft enough not to damage the aluminum port or valve surfaces. A shop vacuum removes the debris as you blast. After blasting, each port is inspected with a borescope camera to verify the valves are clean. This is a labor-intensive job — typically 3 to 5 hours depending on the engine — but it is the gold standard for carbon removal.
Chemical cleaning options
Chemical cleaning methods exist but are generally less effective than walnut blasting for heavy buildup. Some shops use intake cleaning machines that spray a chemical solvent into the intake while the engine runs — products like CRC GDI IVD Intake Valve Cleaner or similar. These can help with light to moderate buildup and work as preventive maintenance. For severe buildup with chunks of carbon on the valve faces, chemical cleaning alone usually does not get the job done. Some manufacturers — BMW and some Hyundai and Kia engines — have updated their PCV system designs or added port injectors alongside direct injectors on newer models to wash the valves. If the engine has both port and direct injection, carbon buildup is significantly reduced.
Prevention
Catch cans installed on the PCV system capture oil vapors before they reach the intake valves. This slows carbon buildup significantly. Regular oil changes with quality synthetic oil reduce the volume of blow-by vapors. Some technicians recommend walnut blasting as preventive maintenance every 60,000 miles on GDI-only engines. Educate the customer — this is a maintenance item on GDI engines, not a defect. The engine is not broken. It just needs periodic cleaning the same way a chimney needs sweeping.

Key Components

  • Cylinder block and head
  • Pistons, rings, and connecting rods
  • Crankshaft and bearings
  • Camshaft and valvetrain
  • Timing chain/belt systems

How It Works

The four-stroke cycle — intake, compression, power, exhaust — converts chemical energy (fuel) into mechanical energy (rotation). Air and fuel enter the cylinder, get compressed, ignite, push the piston down, and exhaust gases exit. The timing system ensures valves open and close at precisely the right moment.

Common Problems

  • Timing chain stretch causing misfires and codes
  • Valve seal leaks causing oil consumption
  • Head gasket failure from overheating
  • Carbon buildup on GDI engines
  • Piston ring wear causing blowby

Diagnostic Tips

  • Compression test reveals cylinder health quickly
  • Leak-down test tells you where the leak is
  • Listen for timing chain rattle on cold start
  • Blue smoke = oil burning, white smoke = coolant

Want to Dig Deeper?

Pro members get an AI vocational instructor that teaches alongside every lesson. Ask follow-up questions, break down concepts, and study together like having a master tech sitting next to you.

Related Systems