{"id":1160,"date":"2016-05-08T20:52:27","date_gmt":"2016-05-09T03:52:27","guid":{"rendered":"https:\/\/dubinko.info\/blog\/?p=1160"},"modified":"2016-05-08T20:52:27","modified_gmt":"2016-05-09T03:52:27","slug":"the-antenna-project","status":"publish","type":"post","link":"https:\/\/dubinko.info\/blog\/2016\/05\/the-antenna-project\/","title":{"rendered":"The antenna project"},"content":{"rendered":"<p>A layman\u00e2\u20ac\u2122s description of how antennas work, plus some related experiments. Physics is strange when you think about it.<\/p>\n<p>I\u00e2\u20ac\u2122ve been working with electronics since I was about five. (Not an exaggeration. I \u00e2\u20ac\u0153fixed\u00e2\u20ac\u009d one of my two-battery-requiring cars with one good battery and some wire.) I sailed through high school electronics, and went on to get professional training in the field. But I\u00e2\u20ac\u2122m still pretty mystified by radio waves.<\/p>\n<p>So here\u00e2\u20ac\u2122s my set of experiments and a written journal of my learning process. I\u00e2\u20ac\u2122m going to figure out Radio, RF, antennas, wave propagation, and be able to explain it to a beginner. My goal is to create a device that harvests ambient RF from the air and illuminates\u00c2\u00a0(possibly intermittently) an LED.<\/p>\n<p>First off, DC circuits. Most people have seen something like this, or can figure it out just by looking. (Schematic diagrams courtesy of the <a href=\"http:\/\/icircuitapp.com\">iCircuit<\/a> simulator on OS X)<\/p>\n<blockquote><p><a href=\"https:\/\/dubinko.info\/blog\/wp-content\/uploads\/2016\/05\/DC.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1161\" src=\"https:\/\/dubinko.info\/blog\/wp-content\/uploads\/2016\/05\/DC.png\" alt=\"DC\" width=\"164\" height=\"133\" \/><\/a><\/p><\/blockquote>\n<p>Due to a chemical reaction, the nine volt battery produces a constant potential of 9 volts. The longer side in the diagram is the + terminal. The squiggly line is a resistor, a device that\u00c2\u00a0slows the flow of electricity. The arrow is a LED, a light emitting diode. In this configuration, it would light up, though not terribly brightly. In a circuit like this, the wires can be treated as if they have no resistance at all, because compared to anything else in the circuit, they effectively are zero resistance. So measuring the voltage, say at the top of the battery terminal, is within a rounding error of the measurement on the left-hand side of the resistor.<\/p>\n<p>This circuit is static and simple. In particular, there\u00e2\u20ac\u2122s no energy storage anywhere. Current is always proportional to voltage divided by resistance (Ohm\u00e2\u20ac\u2122s Law). Compare with this circuit:<\/p>\n<p><a href=\"https:\/\/dubinko.info\/blog\/wp-content\/uploads\/2016\/05\/RLC.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1162\" src=\"https:\/\/dubinko.info\/blog\/wp-content\/uploads\/2016\/05\/RLC-300x193.png\" alt=\"RLC\" width=\"300\" height=\"193\" srcset=\"https:\/\/dubinko.info\/blog\/wp-content\/uploads\/2016\/05\/RLC-300x193.png 300w, https:\/\/dubinko.info\/blog\/wp-content\/uploads\/2016\/05\/RLC.png 352w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Same 9 volt supply and a limiting 1k resistor. But also two more branches on the right. The rightmost one is a capacitor. As the diagram indicates, it is essentially two metal plates separated by an insulator. This has the ability to store energy in the form an electric field. Notice that the voltmeter still reads the full 9 volts, even though the switch in the lower-left is open. The battery has been disconnected from the circuit, but it\u00e2\u20ac\u2122s still live. (This, by the way, is why old CRT-style TV sets can be dangerous to poke around inside, even after they\u00e2\u20ac\u2122re unplugged.)<\/p>\n<p>As further evidence that energy is being stored, when the circuit is first turned on, the voltmeter doesn\u00e2\u20ac\u2122t instantly snap up to 9 volts. It gradually builds up, because the capacitor is charging.<\/p>\n<p>The other branch in the circuit is an inductor, or a a coil. This can store energy in the form of a magnetic field. (The 10 ohm resistor is to model the inevitable resistance in the windings of the coil. Without it, this simulator assumes a perfect conductor which throw things off a bit.)<\/p>\n<p>What would happen if we closed the switch on the\u00c2\u00a0inductor circuit? Well, the energy from the capacitor would suddenly gush through the inductor, which stretch out a magnetic field around the coil, like a rubber band. Then the magnetic field would collapse, sending a new burst of energy into the capacitor, and so forth. Current will slosh back and forth in the circuit until the losses through the resistor diminish the impulse. The circuit would ring like a tuning fork, though with the values here, the frequency is only around 5 cycles per second.<\/p>\n<p>Within the coils of the inductor, we can no longer assume that all voltages and currents will be equal, because it is interacting with the outside world through a magnetic field. Because there is more going on than simple DC, the simplifying assumption from the first circuit no longer holds. Voltage and current may not be directly proportional, because we have to account for stored energy.<\/p>\n<p>So what in the world is a radio wave then? How is visible light, or an X-Ray, the same as an AM radio broadcast? We need more theory to get there.<\/p>\n<p>Every wire that conducts electricity produces a magnetic field (and every moving magnetic field produces current in a conductor) like this:<\/p>\n<p><a href=\"https:\/\/dubinko.info\/blog\/wp-content\/uploads\/2016\/05\/wikimedia-commons-V-1_right_hand_thumb_rule.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1163\" src=\"https:\/\/dubinko.info\/blog\/wp-content\/uploads\/2016\/05\/wikimedia-commons-V-1_right_hand_thumb_rule-300x235.gif\" alt=\"wikimedia-commons-V-1_right_hand_thumb_rule\" width=\"300\" height=\"235\" \/><\/a><\/p>\n<p>(image: Wikimedia Commons)<\/p>\n<p>If you put iron filings on paper, ran a wire through perpendicularly as shown here, and put a strong current through the wire, you\u00e2\u20ac\u2122d get a nested donut pattern. (Incidentally, this is why inductors are coils. That shape makes all the magnetic donuts on every turn of the wire point the same way and sum\u00c2\u00a0together.) My electric toothbrush uses magnetic\u00c2\u00a0induction to charge. But this still isn\u00e2\u20ac\u2122t a radio wave.<\/p>\n<p>A closely related concept is an electric field. While the magnetic field is caused by current (flow), an electric field is caused by voltage (potential). Every charged particle exhibits\u00c2\u00a0a field like this:<\/p>\n<p><a href=\"https:\/\/dubinko.info\/blog\/wp-content\/uploads\/2016\/05\/wikimedia-commons-220px-VFPt_charges_plus_minus_thumb.svg_.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1164\" src=\"https:\/\/dubinko.info\/blog\/wp-content\/uploads\/2016\/05\/wikimedia-commons-220px-VFPt_charges_plus_minus_thumb.svg_.png\" alt=\"wikimedia-commons-220px-VFPt_charges_plus_minus_thumb.svg\" width=\"220\" height=\"165\" \/><\/a><\/p>\n<p>(image: Wikimedia Commons)<\/p>\n<p>When you combine an electric field with a magnetic field, amazing things can happen. Like in the circuit above where energy sloshed back and forth, electric and magnetic fields can support each other and propagate, that is, travel through space at the speed of light.<\/p>\n<p>Probably the most straightforward\u00c2\u00a0math comes from a \u00e2\u20ac\u0153dipole\u00e2\u20ac\u009d antenna, which we can make by taking twin-lead wire and separating out the ends. This is most efficient when each end of the T is half a wavelength of the signal. (For example, the speed of light ~= 300M m\/sec. So your 2.4Ghz wifi signal has a wavelength of ~ 300M \/ 2400M = 0.125 m, or a hair under 5 inches.)<\/p>\n<p>If you\u00c2\u00a0drive this antenna at its resonant frequency, you\u00c2\u00a0could measure the current along various points of either side of the dipole, and you&#8217;d\u00c2\u00a0measure different values. This isn\u00e2\u20ac\u2122t a simple DC circuit! It took me a while to figure out how to visualize this, but you need to start with the current. At the extreme end of the wires, the current will always be zero. Think of a long, arterial one-way street. At the very end, there will always be no traffic, but the farther you get toward the main road, the more traffic there will be coming and going. You can visualize it like this. The black represents the physical wires of the antenna, and blue is a graph of the current at a given point along the wire.<\/p>\n<p><a href=\"https:\/\/dubinko.info\/blog\/wp-content\/uploads\/2016\/05\/DipoleCurrent-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1167 size-full\" src=\"https:\/\/dubinko.info\/blog\/wp-content\/uploads\/2016\/05\/DipoleCurrent-2.png\" width=\"291\" height=\"116\" \/><\/a><\/p>\n<p>Remember that current flow means there\u00e2\u20ac\u2122s a magnetic donut circling the wire, proportional in strength to the amount of current flow.<\/p>\n<p>This flow means that electric charge will accumulate, being strongest at the very ends of the wires. Which in turn means there will be an electric field that looks <em>very much<\/em> like our diagram above.<\/p>\n<p><a href=\"https:\/\/dubinko.info\/blog\/wp-content\/uploads\/2016\/05\/DipoleElectricField-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1171\" src=\"https:\/\/dubinko.info\/blog\/wp-content\/uploads\/2016\/05\/DipoleElectricField-1-300x230.png\" alt=\"DipoleElectricField\" width=\"300\" height=\"230\" srcset=\"https:\/\/dubinko.info\/blog\/wp-content\/uploads\/2016\/05\/DipoleElectricField-1-300x230.png 300w, https:\/\/dubinko.info\/blog\/wp-content\/uploads\/2016\/05\/DipoleElectricField-1.png 332w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>The applied signal, being a sine wave, drops to zero a quarter of a cycle later, and these electric fields, supported by\u00c2\u00a0the donut magnetic fields, slosh back and detach from the wire to\u00c2\u00a0become closed loops in space, and then proceed to propagate. The cycle repeats, switching polarity each time.<\/p>\n<p><a href=\"https:\/\/dubinko.info\/blog\/wp-content\/uploads\/2016\/05\/DipoleElectricFieldQuarterWavelength.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1169 size-full\" src=\"https:\/\/dubinko.info\/blog\/wp-content\/uploads\/2016\/05\/DipoleElectricFieldQuarterWavelength.png\" alt=\"DipoleElectricFieldQuarterWavelength\" width=\"437\" height=\"285\" srcset=\"https:\/\/dubinko.info\/blog\/wp-content\/uploads\/2016\/05\/DipoleElectricFieldQuarterWavelength.png 437w, https:\/\/dubinko.info\/blog\/wp-content\/uploads\/2016\/05\/DipoleElectricFieldQuarterWavelength-300x196.png 300w\" sizes=\"auto, (max-width: 437px) 100vw, 437px\" \/><\/a><\/p>\n<p>The wikipedia page for <a href=\"https:\/\/en.wikipedia.org\/wiki\/Dipole_antenna\">dipole antenna<\/a> has some animated gifs which may or \u00c2\u00a0may not help you visualize this.<\/p>\n<p>I welcome your feedback. Coming up next: some experiments. If you have suggestions, I\u00e2\u20ac\u2122d love to hear them. -m<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A layman\u00e2\u20ac\u2122s description of how antennas work, plus some related experiments. Physics is strange when you think about it. I\u00e2\u20ac\u2122ve been working with electronics since I was about five. (Not an exaggeration. I \u00e2\u20ac\u0153fixed\u00e2\u20ac\u009d one of my two-battery-requiring cars with one good battery and some wire.) I sailed through high school electronics, and went on&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1183],"tags":[1184,1185,1188,895,1189,1187,1190,1186,675],"class_list":["post-1160","post","type-post","status-publish","format-standard","hentry","category-electronics","tag-antenna","tag-current","tag-electric","tag-em","tag-field","tag-magnetic","tag-radio","tag-rf","tag-voltage"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8eo8l-iI","_links":{"self":[{"href":"https:\/\/dubinko.info\/blog\/wp-json\/wp\/v2\/posts\/1160","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dubinko.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dubinko.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dubinko.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dubinko.info\/blog\/wp-json\/wp\/v2\/comments?post=1160"}],"version-history":[{"count":4,"href":"https:\/\/dubinko.info\/blog\/wp-json\/wp\/v2\/posts\/1160\/revisions"}],"predecessor-version":[{"id":1174,"href":"https:\/\/dubinko.info\/blog\/wp-json\/wp\/v2\/posts\/1160\/revisions\/1174"}],"wp:attachment":[{"href":"https:\/\/dubinko.info\/blog\/wp-json\/wp\/v2\/media?parent=1160"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dubinko.info\/blog\/wp-json\/wp\/v2\/categories?post=1160"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dubinko.info\/blog\/wp-json\/wp\/v2\/tags?post=1160"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}