Definition of a Magnetic Field: A magnetic field is a region where magnetic forces can act. It is represented by the symbol B. The standard unit for measuring magnetic field strength is the tesla (T).
Interactions with Magnetic Fields: A magnetic field can exert force on four specific entities:
Moving electric charges.
Current-carrying wires.
Magnetic materials, such as iron.
Other magnets.
Source of Magnetic Fields: A central principle in physics is that electric currents create magnetic fields. Because current consists of moving charge, any wire through which current flows generates a magnetic field in its surrounding environment.
Magnetic Fields Around Straight Wires and Loops
Magnetic Field Around a Straight Wire: For a long straight wire carrying current, the magnetic field does not point away from the wire like an electric field. Instead, it forms concentric circles wrapping around the wire.
The Right-Hand Rule for Wires: The direction of this field is determined by the right-hand rule:
Point your right thumb in the direction of the current flow.
Your fingers curl in the direction of the magnetic field circles.
Mathematical Representation for Straight Wires: For a long straight wire, the field strength at a distance r is calculated as:
B=2πrμ0I
B: Magnetic field strength (T).
I: Current in the wire (A).
r: Distance from the wire (m).
μ0: Permeability of free space, defined as 4π×10−7T m/A.
Factors Influencing Strength: The field becomes stronger as the current increases or as the observer moves closer to the wire. It weakens proportionally as the distance from the wire increases.
Molecular Basis: At a fundamental level, magnetism is linked to electricity because any moving charge produces a field. In a wire, even though drift velocity for electrons is slow, the massive quantity of electrons creates a significant cumulative magnetic effect.
Loops of Wire: When a wire is bent into a circle, every segment of the loop contributes to the field. Inside the loop, these individual circular fields align and point in the same direction, reinforcing each other. A current loop essentially acts as a miniature bar magnet with a North and South pole.
Solenoids and Electromagnetism
Definition of a Solenoid: A solenoid is a cylindrical coil created by many loops of wire.
Internal Magnetic Field: Each loop creates its own field. Because the loops are aligned, their fields add together to create a strong and uniform magnetic field inside the coil that points along the axis of the cylinder.
External Magnetic Field: Outside the solenoid, the field is weaker and resembles the looping field of a standard bar magnet.
Field Strength Formula: For a long solenoid, the internal field is:
B=μ0nI
n=LN, representing the number of turns (N) per meter of length (L).
Equivalent formula: B=μ0LNI.
Strength Optimization: The field increases with higher current, more turns of wire per meter, or tighter coil packing.
Iron Cores: Adding an iron core significantly increases field strength because the permeability (μ) of iron is much higher than μ0. The formula then becomes:
B=μnI
Solenoid Right-Hand Rule:
Curl your right fingers in the direction of the current circulating around the loops.
Your thumb points toward the North pole of the solenoid.
Inside the solenoid, the field points toward that North end.
Transformers and Voltage Induction
Transformer Overview: A transformer consists of two solenoids (primary and secondary coils) usually wrapped around a shared iron core to facilitate magnetic coupling.
Physical Principle: The operation follows a chain of events: current→magnetic field→changing magnetic field→induced voltage.
Requirement for Alternating Current (AC): Transformers cannot operate on steady Direct Current (DC). A constant magnetic field does not induce voltage. AC is required because the current, and thus the magnetic field, changes direction and size over time, modeled as:
I(t)=I0sin(ωt)
Faraday’s Law: The induced voltage (V) is proportional to the rate of change of magnetic flux (Φ):
V=−NdtdΦ
Φ=BA, where B is field strength and A is the cross-sectional area.
Turn Ratios and Ideal Transformers: For an ideal transformer, the ratio of voltages equals the ratio of the number of turns:
VpVs=NpNs
Step-up Transformer: Ns>Np, resulting in higher secondary voltage.
Step-down Transformer: Ns<Np, resulting in lower secondary voltage.
Power Conservation: In an ideal transformer, power in equals power out (Pp=Ps):
VpIp=VsIs
Implication: If voltage increases, current must decrease. This is utilized in power lines to minimize energy loss by transmitting at high voltages and low currents (Ploss=I2R).
Direct Current (DC) Motors
Core Principle: A DC motor converts electrical energy into mechanical energy using the interaction of magnetic fields to generate rotation. The chain is: current→magnetic field→force→rotation.
Magnetic Force on Wires: A current-carrying wire in a magnetic field experiences a force defined by:
F=BILsin(θ)
F: Force.
B: Magnetic field.
I: Current.
L: Length of wire in the field.
θ: Angle between wire and field. Force is maximum (F=BIL) when the wire is perpendicular (θ=90∘).
Components: A DC motor includes a coil of wire, magnets (permanent or electromagnets), a DC power source, a commutator, and brushes.
Mechanism of Rotation: In a current loop, the vertical sides carry current in opposite directions. This produces opposite forces, creating torque (τ) that spins the coil.
The Motor Right-Hand Rule:
Point fingers in the direction of the magnetic field (N to S).
Point thumb in the direction of conventional current (I).
The palm pushes in the direction of the Force (F).
Role of the Commutator: To prevent the coil from getting stuck after half a turn, the commutator (a split metal ring) reverses the current direction every half-turn. This ensures the torque always acts in the same rotational direction.
Torque Relationship:
τ∝NBIA
N: Number of turns.
A: Area of the coil.
Relays and Audio Components
Relays: An electrically controlled switch using the principle of current→magnetic field→motion.
A small control current energizes a solenoid coil, creating a magnetic field that pulls a metal armature to close (or open) a separate load circuit.
Normally Open (NO): Switch is open/off when the coil is not energized.
Normally Closed (NC): Switch is closed/on when the coil is not energized.
Advantage: Provides electrical isolation, allowing low-voltage microcontrollers to control high-voltage machinery safely.
Speakers: Convert electrical signals into sound waves (current→force→vibration).
Audio AC signals sent to a voice coil in a magnetic field cause the coil (and attached cone) to move back and forth (F=BIL).
Pitch is determined by frequency; loudness is determined by current amplitude.
Microphones: Convert sound vibrations into electrical signals (vibration→motion in field→voltage).
Sound waves move a diaphragm/coil within a magnetic field, inducing a voltage according to Faraday's Law (V=−NdtdΦ).
Alternating Current (AC) and Diodes
AC Voltage Modeling: AC voltage is typically represented as a sine wave:
V(t)=Vmaxsin(ωt+ϕ)
ω=2πf.
RMS Voltage: Most AC ratings (like 120V wall outlets) use Root Mean Square (RMS) values:
Vrms=2Vmax
Example: For 120V RMS, the peak voltage Vmax≈170V.
Diodes: one-way electrical valves made from semiconductor PN junctions.
Forward Bias: Conducts when the Anode is at a higher potential than the Cathode (typically requiring a 0.7V drop for silicon).
Reverse Bias: Blocks current when the Cathode potential is higher than the Anode.
The Diode Equation:
I=Is(enVtVd−1)
Is: Saturation current.
Vt: Thermal voltage (≈0.026V at room temperature).
Relationship is exponential; current rises sharply after passing the forward voltage threshold.
Bipolar Junction Transistors (BJT) and LEDs
BJT Function: A three-terminal device (Base, Collector, Emitter) where a small base current (Ib) controls a larger collector-emitter current (Ic).
NPN vs. PNP:
NPN: Turns on when Base is ≈0.7V higher than the Emitter. Current flows Collector to Emitter.
PNP: Turns on when Base is ≈0.7V lower than the Emitter.
Current Gain (Beta):
Ic=βIb
Operating Regions:
Cutoff: Both junctions reverse-biased; transistor is OFF.
Active: Base-Emitter forward-biased, Base-Collector reverse-biased; acts as an amplifier.
Saturation: Both junctions forward-biased; acts as a fully closed switch with low voltage drop (0.1V–0.3V).
Light-Emitting Diodes (LEDs): Diodes that release energy as photons when charge carriers recombine at the PN junction.
Photon energy (E=hf) determines color.
Forward Voltages: Red (1.8–2.2V), Blue/White (3.0–3.5V).
Resistor Protection: Resistors are required to limit current: R=IVsupply−VLED.
Rectifiers and Smoothing
Rectifier: A circuit using diodes to convert AC into DC.
Half-Wave: Single diode; discards the negative half of the AC cycle.
Full-Wave (Bridge): Four-diode configuration that flips the negative half of the cycle, creating pulsating DC.
Smoothing: A capacitor is placed across the output to store charge during peaks and discharge during troughs, reducing "ripple."
Ripple Voltage Approximation:
Vripple≈fCI
For full-wave, ripple frequency is 2×AC frequency.
Total diode drop in a bridge rectifier is 2×0.7V=1.4V.
Inductors and Energy Storage
Definition: A coil of wire that opposes changes in electric current. It stores energy within a magnetic field.
Inductor Equation:
V=LdtdI
L: Inductance (Henry, H).
Stored Energy:
E=21LI2
DC Behavior: Initially acts as a block; after a long time, behaves like a standard wire.
Inductive Reactance (Opposition to AC):
XL=2πfL
Higher frequency signals face more opposition.
Phase Relationship: In an inductor, current lags voltage (mnemonic: ELI).
RL Time Constant:
τ=RL
The 555 Timer Integrated Circuit
Architecture: Composed of a voltage divider (3×5kΩ resistors), two comparators, an SR latch, a discharge transistor, and an output driver.
Resistors (R): Limit current flow (I) through opposition. Unit: Ohms (Ω).
Capacitors (C): Store energy in an electric field between two plates; oppose sudden changes in voltage.
Ohm’s Law: Defines the relationship between voltage, current, and resistance:
V=I×R
I=RV
R=IV
Kirchhoff’s Laws:
Current Law (KCL/Junction Rule): Total current entering a junction must equal the total current exiting; charge cannot accumulate.
Voltage Law (KVL/Loop Rule): The algebraic sum of all voltage drops around a closed loop must equal zero; total energy provided by the source is consumed by the components in the loop.