Skip to content

PWM and Signal Fundamentals

What is PWM?

Pulse Width Modulation (PWM): Switching power on/off rapidly to control average power delivery.

100% Duty Cycle (always on):
████████████████████████████████

50% Duty Cycle:
████    ████    ████    ████

25% Duty Cycle:
██      ██      ██      ██

0% Duty Cycle (always off):
________________________________

Key terms:

  • Period: Time for one complete on/off cycle
  • Frequency: Cycles per second (Hz) = 1/Period
  • Duty Cycle: Percentage of time signal is HIGH

$$\text{Duty Cycle} = \frac{T_{on}}{T_{on} + T_{off}} \times 100%$$


Why PWM in Modern Motorcycles?

Efficiency

  • Transistor fully on or fully off (low heat)
  • No power wasted in resistors
  • Precise control without energy loss

Applications in EURO 5+ Bikes

ComponentPWM Purpose
Cooling fanVariable speed control
Heated grips/seatsTemperature regulation
LED lightingBrightness control / DRL dimming
Fuel pumpPressure regulation
Idle Air ControlIdle speed adjustment
EGR valveEmissions control
Secondary air valveCatalyst heating

Signal Types in Motorcycles

Analog Signals

Continuously variable voltage representing a value.

Examples:

  • Throttle Position Sensor (TPS): 0.5V - 4.5V
  • Coolant Temperature Sensor: Resistance varies with temp
  • Manifold Absolute Pressure (MAP): 0.5V - 4.5V
  • Oxygen sensor (narrowband): 0.1V - 0.9V

Testing: DC voltage mode, check at various conditions

Digital Signals

Two states only: HIGH or LOW.

Examples:

  • Neutral switch: 0V (in gear) / 12V (neutral)
  • Side stand switch: Open/Closed
  • Clutch switch: Open/Closed
  • Kill switch: Open/Closed

Testing: DC voltage, should see 0V or ~12V only

Frequency/Pulse Signals

Signal that varies in frequency with measured value.

Examples:

  • Wheel speed sensors (ABS): Pulses per revolution
  • Crankshaft position sensor: Pulses per rotation
  • Vehicle Speed Sensor (VSS): Frequency = speed

Testing: Frequency mode on multimeter, or oscilloscope

PWM Signals

Fixed frequency, variable duty cycle.

Examples:

  • Injector pulse width
  • Cooling fan speed
  • Heated grip control

Testing: Duty cycle mode (%) on multimeter, or oscilloscope


Sensor Signal Characteristics

Hall Effect Sensors

Output: Clean digital square wave

Used for:

  • Crankshaft/camshaft position
  • Wheel speed (modern ABS)
  • Gear position

Characteristics:

  • 3 wires: Power, Ground, Signal
  • Output: 0V / 5V (or 0V / 12V)
  • Clean edges, easy to read on scope

Variable Reluctance (VR) Sensors

Output: AC sine wave, amplitude varies with speed

Used for:

  • Crankshaft position (older systems)
  • Wheel speed (older ABS)

Characteristics:

  • 2 wires: No power needed
  • AC voltage output (can be 0.5V to 100V+)
  • Amplitude and frequency increase with speed
  • Measure with AC voltage

Resistive Sensors

Output: Variable resistance based on measured condition

Used for:

  • Coolant/oil temperature (NTC thermistor)
  • Fuel level sender
  • Throttle position (older potentiometer type)

Characteristics:

  • Usually 2 wires
  • ECU provides reference voltage
  • Resistance changes → voltage divider changes

Introduction to Oscilloscope

Why Oscilloscope?

A multimeter shows average values. An oscilloscope shows signal shape over time.

Multimeter can't show:

  • Signal glitches or dropouts
  • Waveform shape (sine, square, etc.)
  • Timing relationships between signals
  • Fast transients

Basic Oscilloscope Concepts

Time base (horizontal): How fast the display sweeps (ms/div) Voltage scale (vertical): Voltage per division (V/div) Trigger: What causes the display to start capturing

Automotive Oscilloscope Uses

SignalWhat to Look For
CKP (crankshaft)Missing tooth pattern, consistent amplitude
CMP (camshaft)Correct timing relative to CKP
InjectorSharp on/off transitions, correct pulse width
Ignition primaryClean dwell, good spark line
Wheel speedConsistent pulses, no dropouts
O2 sensor0.1V-0.9V switching, cross-count rate

Recommended Entry Oscilloscopes

TypeExamplesPrice
USB PC-basedHantek 6022BE, PicoScope 2204A$80-200
Handheld automotiveMicsig, Hantek 2D72$150-300
ProfessionalPicoScope 4425A, Fluke 190$1500+

Practical: Testing PWM Fan Circuit

Tools Needed

  • Multimeter with duty cycle function
  • (Optional) Oscilloscope

Procedure

  1. Locate cooling fan connector (2-3 wires)
  2. Identify signal wire (often thinner, different color)
  3. Set multimeter to duty cycle (%)
  4. Back-probe signal wire with meter
  5. Start engine, let it warm up
  6. Observe duty cycle increase as temp rises

Expected results:

  • Cold engine: 0% or low duty cycle
  • Normal operating temp: 30-60%
  • Hot (fan running hard): 80-100%

Practical: Reading Crankshaft Position Signal

Hall Effect Type (3-wire)

  1. Identify wires: Power (5V/12V), Ground, Signal
  2. Connect oscilloscope to Signal and Ground
  3. Set timebase: 10-50ms/div
  4. Set voltage: 2-5V/div
  5. Crank or run engine
  6. Should see clean square wave with missing tooth gap

VR Type (2-wire)

  1. Connect oscilloscope across both wires
  2. Set to AC coupling
  3. Set voltage: 1-5V/div initially
  4. Crank engine
  5. Should see sine wave with missing tooth signature
  6. Amplitude increases with RPM

Key Takeaways

  1. PWM = efficient power control via rapid switching
  2. Duty cycle = percentage of ON time
  3. Analog signals = continuous voltage representing value
  4. Digital signals = two states only (HIGH/LOW)
  5. Hall effect = clean digital output, needs power
  6. VR sensors = AC output, amplitude varies with speed
  7. Oscilloscope shows what multimeters can't: signal shape and timing