LoRa (LoRaWAN) is a new modulation technique optimised for long range, low power, low bitrate communication. You'll often hear people say LoRa uses "Chirp Spread Spectrum', but this alone is only a small part of the story. LoRa uses an elegant mathematical trick to allow more efficient receivers. In this video, I outline how LoRa modulation works - it is incredibly unique. I was amazed how LoRa can communicate well beneath the noise floor. I tested the performance of LoRa with a Matlab livescript demonstration.
00:00 Introduction 01:00 Chirps as the basis for LoRa 04:20 Towards a mathematical description of the LoRa symbol 09:00 Correlation 12:34 Our first attempt at a receiver 13:12 Towards a more efficient receiver using a "mathematical trick" 16:40 Performance of LoRa 18:54 Matlab code to simulate a LoRa system 26:32 Summary
LoRa (LoRaWAN) is a new modulation technique optimised for long range, low power, low bitrate communication. You'll often hear people say LoRa uses "Chirp Spread Spectrum', but this alone is only a small part of the story. LoRa uses an elegant mathematical trick to allow more efficient receivers. In this video, I outline how LoRa modulation works - it is incredibly unique. I was amazed how LoRa can communicate well beneath the noise floor. I tested the performance of LoRa with a Matlab livescript demonstration.
00:00 Introduction 01:00 Chirps as the basis for LoRa 04:20 Towards a mathematical description of the LoRa symbol 09:00 Correlation 12:34 Our first attempt at a receiver 13:12 Towards a more efficient receiver using a "mathematical trick" 16:40 Performance of LoRa 18:54 Matlab code to simulate a LoRa system 26:32 SummaryThe Life of Claude Shannon (in 75 seconds)Visual Electric2025-05-04 | ...The Story of Information Theory: from Morse to Shannon to ENTROPYVisual Electric2025-04-27 | Course: udemy.com/course/introduction-to-power-system-analysis/?couponCode=KELVIN ✅ If you want to support me to make more frequent videos, consider becoming a channel member. ✅
I use AEJuice for a lot of my animations — it saves me hours and adds great effects. Check it out here: aejuice.com/?ref=VisualElectric ✅
This is the story of how Claude Shannon founded the field of Information Theory, and proved that entropy is the true measure of information. But Shannon's groundbreaking 1948 paper "A Mathematical Theory of Communication" has its foundations in earlier times, from Morse, Vail, Hartley and Nyquist.
Credits Signal to Noise by Scott Buckley – released under CC-BY 4.0. www.scottbuckley.com.au
References "What Hath God Wrought: The Transformation of America, 1815-1848 (Oxford History of the United States)" amzn.to/4iL1RUS
"A Mind at Play: The Brilliant Life of Claude Shannon, Inventor of the Information Age" amzn.to/4jW0x2e
"The Story of Samuel Morse and the Telegraph" amzn.to/43aZKF2
"The Victorian Internet: The Remarkable Story of the Telegraph and the Nineteenth Century's On-Line Pioneers" amzn.to/437QkKx
"The Logician and the Engineer – How George Boole and Claude Shannon Created the Information Age " amzn.to/42VCKc2
C. E. Shannon, "A mathematical theory of communication," in The Bell System Technical Journal, vol. 27, no. 3, pp. 379-423, July 1948
R. V. L. Hartley, "Transmission of information," in The Bell System Technical Journal, vol. 7, no. 3, pp. 535-563, July 1928
H. Nyquist, "Certain Topics in Telegraph Transmission Theory," in Transactions of the American Institute of Electrical Engineers, vol. 47, no. 2, pp. 617-644, April 1928,
Excerpts from the Oral History of Claude Shannon are printed with permission from the IEEE History Center.The Story of the Telegraphers Equations - from diffusion to a wave #wave #diffusion #heavisideVisual Electric2024-04-21 | in 1876, Oliver Heaviside did something remarkable.
Out of nowhere, a 26 year old derived the Telegrapher's Equations for the first time. His name was Oliver Heaviside. In 1876, "On the Extra Current", Heaviside introduced the new ideas of Maxwell's dynamic theory of electromagnetism to unlock to a new mode of propagation which went beyond the conventional diffusion model - a wave.
This is the story of how the Telegrapher's Equations came to be. Starting with Fourier's magnus opus, to William Thomson's (Lord Kelvin) application of the diffusion equation to the 2000 mile transatlantic cable, and finally to Heaviside, who made the final leap, incorporating wave like properties.
References Oliver Heaviside: The Life, Work, and Times of an Electrical Genius of the Victorian Age amzn.to/3SfSL7A
Correction: 00:50 the date on the cable should be 1858, not 1958! Quick note: I incorrectly used 'phenomena' instead of 'phenomenon' a few times.Why does Capacitive Current Lead the Voltage in AC circuits?🔌💡 #reactivepower #capacitance #leadingVisual Electric2023-11-05 | #capacitance #reactive power #leading
This video explains why capacitive current leads the voltage by 90 degrees in AC electrical circuits. For more detail, go to the full video: youtu.be/AmHy1bZ_i5MAC Power: Basic Principles - Real, Reactive and Apparent Power - what do they REALLY mean?Visual Electric2023-11-04 | Courses: udemy.com/course/introduction-to-power-system-analysis/?couponCode=KELVIN ✅ If you want to support me to make more frequent videos, consider becoming a channel member. ✅
This video is an animated explanation of Power in AC systems. Why are there 3 different types of power? We use an intuitive approach to try to understand what Real, Reactive and Apparent power actually are. We first look at their fundamental mechanisms in isolation - first for real power, then for reactive power. After this, we define Power Factor. With this intuition, it is easier to understand the true nature of power. 00:00 - 00:52 Introduction 00:52 - 06:32 Real Power 06:33 - 10:44 Reactive Power (capacitance) 10:45 - 13:12 Reactive Power (inductance) 13:12 - 16:21 Mixed Systems 16:21 - 17:35 Power Factor
The Global Positioning System (GPS) - and other Global Navigation Satellite systems (GNSS) provide time and location anywhere on the planet with unprecedented accuracy. But how do they work? It's actually quite simple! This video will explore the core principles behind GPS and go on to explain why the technology is more vulnerable than most people realise.How NASA Plan to Bring GPS to the MoonVisual Electric2023-07-28 | An audacious mission to bring GPS to the moon using Earth's own navigational satellites.Nyquist - the amazing 1928 BREAKTHROUGH which showed every communication channel has a capacityVisual Electric2023-04-01 | Courses: udemy.com/course/introduction-to-power-system-analysis/?couponCode=KELVIN ✅ If you want to support me to make more frequent videos, consider becoming a channel member. ✅
In 1928, Harry Nyquist published a paper which would change the course of history [1]. But his original contribution was not the sampling theorem.
Inspired by the work of Fourier, Nyquist discovered that there is a maximum rate at which signals could be sent through a bandlimited channel. For a bandwidth of B, 2B signals per second is the limit (the capacity). This, of course, does not set the limit on how much information you can squeeze into a single symbol/signal, but it shows something remarkable - the bandwidth of the channel limits the signaling rate of a channel. 20 years later, and inspired by Nyquist, Claude Shannon would publish his Mathematical Theory of Communication [2], which combined Nyquist's signalling rate capacity in a bandlimited channel with the impact of noise.
Sources: [1] H. Nyquist, "Certain Topics in Telegraph Transmission Theory," in Transactions of the American Institute of Electrical Engineers, vol. 47, no. 2, pp. 617-644, April 1928, doi: 10.1109/T-AIEE.1928.5055024. [2] C. E. Shannon, "A mathematical theory of communication," in The Bell System Technical Journal, vol. 27, no. 3, pp. 379-423, July 1948, doi: 10.1002/j.1538-7305.1948.tb01338.x.Real and Reactive Power - what do they actually mean? #reactivepowerVisual Electric2023-03-18 | Power systems are characterised as a mix real and reactive power, but these phenomena can be linked to distinct physical mechanisms of energy transfer.
Power is just the rate of energy transfer. In a power system, energy is transferred between the source and circuit. In real power, it is one way - from source to circuit. In reactive power, energy is transferred back and forth between source and circuit, cyclically. But why?
In real power, the voltage excites the electrons and they collide with the ionic lattice, transferring energy to the circuit from the source. Even when the voltage reverses, the collisions still happen so energy is always from source to load.
Reactive power is different. Here, no mechanism for real power transfer exists (if we assume a purely capacitive or inductive circuit, which of course isn't possible in practice!), but energy transfer still happens. This is because the source charges up the electric field when it rises. When it collapses, energy is released from the circuit BACK to the source. Energy is flowing both ways, and its average is actually zero over the cycle. The electric field (for capacitance) and the magnetic field (inductance) provides a storage of energy in the circuit which is cyclically charged up then released back to the source.Phasors - what are they and why are they so important in power system analysis?Visual Electric2023-01-24 | Courses: udemy.com/course/introduction-to-power-system-analysis/?couponCode=KELVIN ✅ If you want to support me to make more frequent videos, consider becoming a channel member. ✅
What are phasors and why are they they the default system for expressing voltage and current in power system analysis? Phasor notation was proposed in 1893 by Charles Proteus Steinmetz, and were rapidly adopted in AC circuit theory. Phasors hugely simplify the analysis of power systems, in particular through the use of the impedance triangle and Ohms law. In this video, we will use a visual approach to try to understand why Phasors are so useful. 0:00-1:32 Introduction 1:32-4:41 What is a phasor? 4:41-8:27 Example of the use of phasors using complex Ohms law
For tutorial on electrical engineering, please subscribe to my other channel @VisualElectricTutorials-m7xHow the First Transatlantic Submarine Cable in 1858 led to Transmission Line Theory as we know itVisual Electric2022-08-13 | Courses: udemy.com/course/introduction-to-power-system-analysis/?couponCode=KELVIN✅ If you want to support me to make more frequent videos, consider becoming a channel member. ✅
The key to understanding modern transmission line theory is to first understand its history. This is the story of how the first Transatlantic Telegraph Cable in 1858 led to the birth of Transmission Line Theory. Professor William Thomson (later Lord Kelvin) was the genius who developed the initial breakthrough that led to the first accurate model of a long cable. Although it would be left to Oliver Heaviside some decades later to introduce inductance, Kelvin's idea to distribute the resistance and capacitance evenly along the line led to a powerful mathematical analysis with enough predictive power to explain the failure of the first transatlantic cable.
The mathematics of Lord Kelvin's analysis is fascinating - and crucial to understanding how modern transmission theory was developed.
If you enjoy my videos and looking to master the fundamentals of power system engineering, consider enrolling on my new course at https://www.udemy.com/course/introduc... **Special limited time discount with coupon code HEAVISIDE.**
00:00 Introduction 00:39 Motivation 01:53 A primitive starting point 02:58 Description of Kelvin's model 09:41 The first transatlantic cable 11:32 Lord Kelvin risesOvercurrent Protection in Electrical Substations: the simple genius of the RelayVisual Electric2022-01-08 | Courses: udemy.com/course/introduction-to-power-system-analysis/?couponCode=KELVIN
Although digital relays have replaced their older electromechanical counterparts, the terminology and theory of operation remains the same. In fact, to properly understand digital relays, a good working knowledge of the physical principles underpinning the electromechanical relay is required.
This video is a simple introduction to how overcurrent protection works in electrical substations, with emphasis on the electromechanical relay. We will look at the role of relays in overcurrent protection, the current transformer, relay settings (plug setting, time multiplier) and discrimination.DC Motors - how do they work? COMPREHENSIVE guide to brushed DC motorsVisual Electric2021-09-24 | If you enjoy my videos and looking to master the fundamentals of power system engineering, consider enrolling on my new course at udemy.com/course/introduction-to-power-system-analysis/?couponCode=KELVIN
This animated video explains the basic principles underpinning the operation and control of the Brushed DC motor. We start with an easy to understand mental model rooted in fundamental physics (the Lorentz Force and the Left Hand Rule), then progress to a basic model of the DC motor (incorporating back EMF) and how they can be controlled using modern chopper circuits. I focus on 4 types of DC motor - Permanent Magnet and then the 3 wound varieties: Separately Excited, Shunt and Series.
I also explore some more in-depth topics such as flux weakening and armature control.
Please let me know if you have any comments on this video!
00:00 Introduction 00:19 Summary of topics 01:00 The Lorentz Force 01:49 The 3 Basic Requirements 03:00 The Permanent Magnet DC Motor 05:15 Commutators 07:35 Back EMF 08:37 The Voltage Balance Equation 10:19 The Speed/Torque Regulation curve 11:19 Why is regulation so good in constant flux machines? 12:00 DC motor control 15:36 The need for more efficient voltage control 16:00 How chopper circuits work and control loops to regulate torque and speed 19:03 The Separately Excited DC Motor 19:49 Why is speed inversely proportional to field? - intro to flux weakening 22:30 The Shunt DC Motor 24:07 The Series DC Motor 26:00 ConclusionNCOs are everywhere - heres how to make one using an FPGAVisual Electric2021-05-11 | Numerically Controlled Oscillators (NCOs) give FPGA designers an easy, flexible and efficient way to generate sinusoidal signals of arbitrary frequency. In this video, we show how an NCO works, how to design one for a particular output frequency. We then do a demonstration using Quartus, Verilog, the Cyclone V starter kit and a 14-bit DAC.The best way to start learning VerilogVisual Electric2021-03-31 | I use AEJuice for my animations — it saves me hours and adds great effects. Check it out here: aejuice.com/?ref=VisualElectric ✅ Courses: udemy.com/course/introduction-to-power-system-analysis/?couponCode=STEINMETZ ✅ If you want to support me to make more frequent videos, consider becoming a channel member. ✅
My new channel dedicated to FPGAs: youtube.com/@visualfpga-gw7dh/featured There aren't that many fundamental concepts in Verilog Hardware Description Language, but the few there are, we need to know WELL. This video explores some of these fundamental concepts. We look at Combinational Versus Sequential logic and explore the 3 modelling styles in Verilog; Gate Level, Dataflow and Behavioral.Substations: Basic Principles | Circuit Breakers | Disconnectors | Relays | CTs & VTs | ArrestersVisual Electric2021-03-23 | Courses: udemy.com/course/introduction-to-power-system-analysis/?couponCode=KELVIN✅
If you want to support me to make more frequent videos, consider becoming a channel member. ✅
A quick look into the main assets inside an electrical substation, including the Voltage Transformers (VTs) and Current Transformers (CTs), Disconnectors, Circuit Breakers, Relays and Transformers. Let's see how they work individually and as a team to perform the necessary functions of the substation.
Substations are key to the operation of the power system. A new video on power system protection is coming soon....
Finite state machines are essential tool hardware and software design, but they are actually quite simple to understand. We walk through 1) What is a finite state machine?, what is the difference between a Moore and Mealy state machine? 2) How to design a state machine, 3) How to code a machine in Verilog.
We will be using the example of a simple pair detector, but the principle can be applied for any state machine.FPGA Based Power Analyser and Matlab GUI: PART 2: CORDIC and Embedded ProcessorVisual Electric2021-01-10 | In part 2 of 2 of this video series, we will finish the build of an FPGA based Power Analyser to measure the Voltage and Current Input at Power Frequency PLUS the Harmonics. I am using the Cyclone 5 starter kit, which has a Cyclone 5 FPGA and the LTC2308 ADC on board. To design a power analyser we will use a pair of FFT MegaFunctions in Quartus. The frequency domain outputs contain the fundamental 50 Hz PLUS the harmonics. We use the CORDIC algorithm to determine the other necessary component for Complex Power - the phase. A Nios embedded processor is added to the project to help us output the information as a UART message. A graphical user interface in Matlab will help visualise the power analyser output.
This is a complex project but it will help us understand how a full system can be pieced together using MegaFunctions and Verilog glue logic. The agenda for this video (part 2) is below. 1. Understand the real and imaginary outputs of the FFT 2. Use a pair of CORDIC blocks to convert from rectangular to phase
3. Use a NIOS embedded processor and write into its memoy scope using a memory mapped writer master. 4. Look at a simple piece of C code for PRINTF'ing the memory contents out of the UART 5. Use a GUI in Matlab to show the results in real timeFPGA Based Power Analyser (4K) with FFT, CORDIC, Embedded Processor and Matlab GUI: PART 1:ADC & FFTVisual Electric2020-12-26 | In part 1 of 2 of this video series, we will begin the build of an FPGA based Power Analyser to measure the Voltage and Current Input at Power Frequency PLUS the Harmonics. I am using the Cyclone 5 starter kit, which has a Cyclone 5 FPGA and the LTC2308 ADC on board. To design a power analyser we will use a pair of FFT MegaFunctions in Quartus. The frequency domain outputs contain the fundamental 50 Hz PLUS the harmonics. We use the CORDIC algorithm to determine the other necessary component for Complex Power - the phase. A Nios embedded processor is added to the project to help us output the information as a UART message. A graphical user interface in Matlab will help visualise the power analyser output.
This is a complex project but it will help us understand how a full system can be pieced together using MegaFunctions and Verilog glue logic. The agenda for this video (part 1) is below. 1. Understand the high level architecture 2. Write ADC SPI interface code for the LTC2308. 3. Interface to a pair of FFTs.
In Part 2 of this series, we will do the following: 4. Use the CORDIC algorithm to determine the phase of the Voltage and Current 5. Implement a NIOS embedded processor and use a write master to write our information into its memory scope. The processor can them access this memory and print them out as UART messages. 6. A Matlab GUI will be developed to read these UART messages and visualise our power analyser waveforms.FPGA based Bluetooth Social Distancing Indicator using a NIOS Embedded ProcessorVisual Electric2020-10-03 | I develop a Bluetooth based social distancing indicator with an LED indication of proximity to an iBeacon enabled Bluetooth device. My device uses the low cost HM-10 Bluetooth module with the DEO-Nano board. An embedded processor is used to process the serial communication with the HM-10 and memory mapped read master accesses the RSSI number from within memory. The system seems to work pretty well, but further iterations need to fix the slow update rate!Simulating Verilog Designs in Quartus and Modelsim using Testbenches - Essential design flow.Visual Electric2020-09-24 | This is a step by step guide on how to simulate Verilog designs in the Intel Quartus Prime Design environment. I show how to set up a testbench and how to instantiate one and more interconnected verilog modules.How to write SPI Interface code in Verilog HDL for a 12-bit ADC (using the DE0-Nano)Visual Electric2020-09-22 | Writing SPI interface code for ADCs is all about getting the timing right. In this video, I go through, step by step, my process for writing SPI interface code in Verilog. I'm using the DE0-Nano FPGA development board with its on-board ADC128S022 - a 12-bit, 8-channel 200 ksps ADC. This video also serves as a good tutorial on the use of Signaltap for debugging FPGA signals in real time.
00:00- Introduction 00:49 - SPI Overview 2:38 - Looking at the datasheet for the ADC128S022 7:43 - Verilog code 14:21 - Simulation 26:19 - BDF development and programming the deviceFFT development on an FPGA - Simulation Design Flow using Quartus and Verilog (no board required).Visual Electric2020-07-12 | This video shows how to design an FFT in Quartus and simulate it using Modelsim. A Numerically Controlled Oscillator (NCO) is used as the input signal to the FFT. Testbench code is listed below (the FFT wrapper code is in the previous video description.)
endmoduleSetting up and testing the FFT MegaFunction in Quartus (Part 2 of FPGA Spectrum Analyzer design)Visual Electric2020-07-12 | I set up the FFT MegaFunction within Quartus and write Verilog interface code. I test the hardware using my 65MSPS ADC and use Signaltap to probe the results.
//----------------Instantiation of the FFT Megafunction------------------------------------------------- fft fft_inst( .clk(clk), // clk.clk .reset_n(reset_n), // rst.reset_n .sink_valid(sink_valid), // sink.sink_valid .sink_ready(sink_ready), // .sink_ready .sink_error(2'b00), // .sink_error .sink_sop(sink_sop), // .sink_sop .sink_eop(sink_eop), // .sink_eop .sink_real(real_to_fft_p), // .sink_real .sink_imag(imag_to_fft_p), // .sink_imag .fftpts_in(fft_pts), // .fftpts_in .inverse(1'b0), // FFT .source_valid(), // source.source_valid .source_ready(1'b1), // .source_ready .source_error(), // .source_error .source_sop(fft_source_sop), // .source_sop .source_eop(fft_source_eop), // .source_eop .source_real(real_power), // .source_real .source_imag(imag_power), // .source_imag .fftpts_out() // .fftpts_out ); //----------------------------------------------------------------------------------------------------- endmodulePer Unit Analysis - how does it work? (with examples) || Basics of Power Systems AnalysisVisual Electric2020-06-26 | This plugin really helps with my animations: aejuice.com/?ref=VisualElectric Courses: udemy.com/course/introduction-to-power-system-analysis/?couponCode=STEINMETZ
Per-Unit analysis is still an essential tool for power systems engineers. This video looks at what per unit analysis is and how it can be used to solve power systems. 0:00 Introduction 2:37 High level intuitive overview 5:11 Step by step description of the method with simple example 13:54 Review of simple example - what can we conclude? 16:27 Dealing with complex impedances and transformers 19:19 Example single phase system 21:20 Dealing with transformers mismatched to our system bases 22:16 Three phase systems with an exampleBuilding an FPGA-based Spectrum Analyzer with GUI control: PART 1: Design ScopeVisual Electric2020-06-13 | This is the first in a series of videos to build an FPGA based Spectrum Analyzer with GUI control. Comprehensive step by step guide. I'll be using Verilog and the Intel Quartus design environment, and the Cyclone V starter kit with a 65 MSPS ADC.What is Mutual and Self Inductance? Intuitive explanationVisual Electric2020-06-12 | Here we describe what Mutual and Self inductance are. We begin with two separated, but close conductors and intuitively explain what mutual inductance is. We apply the same reasoning to the case of self inductance. Finally, we explain the significance of Mutual and Self inductance.Complex Power - the best way to understand what it REALLY is. (VISUAL and INTUITIVE explanation).Visual Electric2020-05-24 | Complex Power is one of the most misundersotod concepts in the power industry. Here I show how it is made up of two components - real power and reactive power. But what are these two components? I take a visual approach in these video to demonstrate the key concepts.LARGEST Digital Filter on an FPGA - design, build and test of an FIR filter. How big can we go?Visual Electric2020-05-09 | A fun little experiment, trying to find the largest Finite Impulse Response digital filter we can fit onto my Cyclone V FPGA - using the Intel Quartus design environment, the Cyclone V starter kit and the THDB-ADA ADC/DAC daughter board.Verilog basics - a SIMPLE Verilog module - an inverterVisual Electric2020-05-07 | We create a simple inverter module in Verilog and express it in two ways - with gate level code and then using an assign statement. We are slowly progressing towards behavioral code where we can describe the behaviour of hardware rather than the actual logic.Verilog Basics - STRUCTURE of a Verilog Module | Starting out in Hardware Description Language (HDL)Visual Electric2020-05-05 | Modules are the building blocks of Verilog. Luckily, they all follow the same structure. In this video, we look at the basic structure of a Verilog module.Beginners guide to The Separately Excited DC MotorVisual Electric2019-11-10 | *Updated and improved video on DC motors here youtu.be/upAkPSRUgqQ.
We start with the basic construction of a DC motor. You require a field and an armature that can move. Then we focus in on the separately excited DC motor. WHY does the speed of the motor decrease when the field strength increases? This is a good guide for beginner's who know very little about DC motors. Please hit like and subscribe for more content like this.FFT based Frequency Detector using an FPGA -Intel Quartus (IT WORKS!!)Visual Electric2019-04-08 | This video describes a nice little project which uses a Fast Fourier Transform (FFT) to implement a frequency detection circuit on an FPGA (using the Cyclone V starter kit).