Longwave AM radio receiver

Similar documents
Software Defined Radio! Primer + Project! Gordie Neff, N9FF! Columbia Amateur Radio Club! March 2016!

FYS3240 PC-based instrumentation and microcontrollers. Signal sampling. Spring 2015 Lecture #5

Audio Noise Figure Meter

Description of the AM Superheterodyne Radio Receiver

CHAPTER 13 TRANSMITTERS AND RECEIVERS

Electrical signal types

Exercise 1: RF Stage, Mixer, and IF Filter

Training Schedule. Robotic System Design using Arduino Platform

4/30/2012. General Class Element 3 Course Presentation. Practical Circuits. Practical Circuits. Subelement G7. 2 Exam Questions, 2 Groups

EE445L Fall 2011 Quiz 2A Page 1 of 6

Function Generator Using Op Amp Ic 741 Theory

FYS3240 PC-based instrumentation and microcontrollers. Signal sampling. Spring 2017 Lecture #5

Topic Advanced Radio Receivers. Explain that an RF amplifier can be used to improve sensitivity;

OBJECTIVES EQUIPMENT LIST

Chapter 2 Analog-to-Digital Conversion...

Massachusetts Institute of Technology MIT

THE AMAZING BARLOW WADLEY XCR-30 CRYSTAL CONTROLLED 30 BAND TRANSISTOR RADIO. (A method to set the AGC) H. Holden, 2018.

Computer Controlled Curve Tracer

Introduction. Chapter 6 Notes

HF Receivers, Part 2

ADVANCED EMBEDDED MONITORING SYSTEM FOR ELECTROMAGNETIC RADIATION

HART Modem DS8500. Features

SIMPLE Raspberry Pi VHF TRANSCEIVER & TNC

The Design and Construction of a DDS based Waveform Generator

ADS9850 Signal Generator Module

KNOWLEDGE INTEGRATION IN THE RED PROGRAM. Revolutionizing Engineering Departments

Roland Kammerer. 13. October 2010

AM Generation High Level Low Level

Low Power with Long Range RF Module DATASHEET Description

EE12: Laboratory Project (Part-2) AM Transmitter

AC : PERSONAL LAB HARDWARE: A SINE WAVE GENERATOR, LOGIC PULSE SIGNAL, AND PROGRAMMABLE SYNCHRONOUS SERIAL INTERFACE FOR ENHANCING EDUCATION

6.101 Introductory Analog Electronics Laboratory

2m Weak Signal Sources January 2018

Experiment No. 3 Pre-Lab Phase Locked Loops and Frequency Modulation

EE445L Spring 2017 Final Page 1 of 7

How Radio Works by Marshall Brain

AES Cambridge Seminar Series 27 October Audio Signal Processing and Rapid Prototyping with the ARM mbed. Dr Rob Toulson

NEW YORK CITY COLLEGE of TECHNOLOGY THE CITY UNIVERSITY OF NEW YORK DEPARTMENT OF ELECTRICAL ENGINEERING AND TELECOMMUNICATIONS TECHNOLOGIES

Chapter 7: From Digital-to-Analog and Back Again

How Radio Works By Marshall Brain

LABORATORY #3 QUARTZ CRYSTAL OSCILLATOR DESIGN

Oscillations and Regenerative Amplification using Negative Resistance Devices

Exercise 3: Sound volume robot

EE445L Fall 2012 Final Version B Page 1 of 7

CATALOG. ANALOG COMMUNICATION SYSTEMS DIGITAL COMMUNICATION SYSTEMS Microcontroller kits Arm controller kits PLC Trainer KITS Regulated Power supplies

UNIT-3. Electronic Measurements & Instrumentation

14 MHz Single Side Band Receiver

ericssonz LBI-38640E MAINTENANCE MANUAL FOR VHF TRANSMITTER SYNTHESIZER MODULE 19D902780G1 DESCRIPTION

The Icom PCR-1000 as a SDR RF Front End OscarOnline.org David Carr, KD5QGR partially based on a document by Edgar J. Kaiser, DF2MZ

EE445L Fall 2014 Quiz 2A Page 1 of 5

Tuned Radio Frequency Receiver (TRF) The most elementary receiver design, consisting of RF amplifier stages, detector and audio amplifier stages.

Radiation Hardened RF Transceiver For In-Containment Environment Applications Using Commercial Off the Shelf Components

EE445L Fall 2014 Quiz 2A Page 1 of 5

CHAPTER 6 Radio Circuits and Systems

S.E. (Electronics/Electronics and Telecommunication Engg.) (Second Semester) EXAMINATION, 2014 COMMUNICATION THEORY (2008 PATTERN)

ILER MK2. QRP SSB Transceiver in Kit Form Appendices. Last update: May 01, ILER-17 MK2 SSB QRP Transceiver Kit Page 1

Faculty of Information Engineering & Technology. The Communications Department. Course: Advanced Communication Lab [COMM 1005] Lab 6.

Radio Receivers. Al Penney VO1NO

A Simple Notch Type Harmonic Distortion Analyzer

JUMA-TRX2 DDS / Control Board description OH2NLT

FlexDDS-NG DUAL. Dual-Channel 400 MHz Agile Waveform Generator

Technician License Course Chapter 3 Types of Radios and Radio Circuits. Module 7

Chapter 14 FSK Demodulator

Gentec-EO USA. T-RAD-USB Users Manual. T-Rad-USB Operating Instructions /15/2010 Page 1 of 24

UNIT III Data Acquisition & Microcontroller System. Mr. Manoj Rajale

LABORATORIES-ECE. Sir Srinivasa Ramanujan - Microprocessor & Microcontroller Laboratory

EE301 ELECTRONIC CIRCUITS CHAPTER 2 : OSCILLATORS. Lecturer : Engr. Muhammad Muizz Bin Mohd Nawawi

EET 223 RF COMMUNICATIONS LABORATORY EXPERIMENTS

Amateur Wireless Station Operators License Exam

Low distortion signal generator based on direct digital synthesis for ADC characterization

AVL-10000T AUDIO VIDEO LINK TRANSMITTER TECHNICAL MANUAL

10 GHz Microwave Link

Phase-locked loop PIN CONFIGURATIONS

Introduction. sig. ref. sig

Rethinking The Role Of phemt Cascode Amplifiers In RF Design


B.Tech II Year II Semester (R13) Supplementary Examinations May/June 2017 ANALOG COMMUNICATION SYSTEMS (Electronics and Communication Engineering)

LABORATORIES-ECE. Microprocessor & Microcontroller Lab - Srinivasa Ramanujan Lab

At the end of this course, students should be able to: 1 explain experimental results with theoretical expected outcome

TLE9879 EvalKit V1.2 Users Manual

FM to AM Radio Converter

Design of Class F Power Amplifiers Using Cree GaN HEMTs and Microwave Office Software to Optimize Gain, Efficiency, and Stability

Design and Implementation of Digital Stethoscope using TFT Module and Matlab Visualisation Tool

AN Low Frequency RFID Card Reader. Application Note Abstract. Introduction. Working Principle of LF RFID Reader

ME 461 Laboratory #3 Analog-to-Digital Conversion

Week 8 AM Modulation and the AM Receiver

ENEE 307 Electronic Circuit Design Laboratory Spring 2012

Analog I/O. ECE 153B Sensor & Peripheral Interface Design Winter 2016

ni.com Sensor Measurement Fundamentals Series

(Refer Slide Time: 00:03:22)

ILER MK2. Appendices

433MHz front-end with the SA601 or SA620

HF Amateur SSB Receiver

LAB Assignment No. 6: TO STUDY GENERATION OF DOUBLE SIDE BAND AMPLITUDE MODULATE (AM) WAVEFORMS, USING DSB/SSB TRANSMITTER

Module 1B RF Test & Measurement

A DSP IMPLEMENTED DIGITAL FM MULTIPLEXING SYSTEM

070 ELECTRONICS WORKS EXAMINATION STRUCTURE

P a g e 1. Introduction

Single Conversion LF Upconverter Andy Talbot G4JNT Jan 2009

Copyright by Syed Ashad Mustufa Younus Copyright by Syed Ashad Mustufa Younus

Transcription:

...using LM3S811 microcontroller - abstract DesignStellaris 2006 entry 1. Short description This project is a digital direct conversion receiver for long waves. It proves that a working radio receiver can be built using only a few discrete components, computer speakers with amplifier and EK-LM3S811 evaluation board. Its performance might be worse than of a well designed analog receiver but this device uses no inductors at all in the signal path and there are no tuning capacitors. Instead, tuning and control is done by a USB serial connection with a computer running any terminal emulating software. Although designers of the LM3S811 for sure did not expect that it will be used as a radio receiver, its speed and other features are sufficient to build one. Modern microcontrollers are truly multi-purpose! 2. Principle of operation The idea of digital receiver is not new. It has been around for a few years now. The main idea of it is to perform all the tuning and demodulation by mathematical operations performed in digital domain. Using this technology, in general, it is possible to build a receiver that equally well receives analog AM, SSB and FM signals, digital OOK, FSK and other, using the same hardware. The only changes are done in software. The analog part of this circuit is limited to signal conditioning and filtering. Rest of the processing is done by a digital circuit after converting the signal by analog to digital converter (ADC). In presented here the idea of digital radio is used to receive AM signals at frequencies below 250 khz. The block diagram of the device is shown below on Fig. 1. tuning and control ADC PC running terminal software mixer frequency generator amplifier bias 1st RC filter EK-LM3S811 R-2R DAC 2nd RC filter loudspeaker Fig. 1. Block diagram of longwave radio receiver The device works as follows: signal from antenna (a few meters of wire) is amplified in a two transistor amplifier. After amplification the signal is biased to approximately half of the analog to digital converter input range and filtered by a very simple RC lowpass filter. It also acts as an antialiasing filter for analog to digital converter. Next stage is analog to digital converter itself, working 1

at approximately 500 000 samples per second. After converting the signal to digital domain the samples are fed to the digital mixer. This mixer multiplies consecutive samples by sine wave samples stored in microcontroller's memory. Appropriate samples of sine wave are supplied by frequency generator that uses direct digital synthesis technique to generate signal of desired frequency. After multiplying the samples are converted back to analog domain by simple R-2R resistor ladder. Sound quality is improved by filtering the output by another simple RC filter. Last stage is amplification of the signal in an amplifier of a computer loudspeaker. 3. Reception The reception of broadcast stations with this radio differs a little from reception with an analog tuner. First of all, due to a fixed tuning step, it might be impossible to tune exactly to the station frequency this would result in fadeouts of sound (when frequency of local generator is almost the same as the carrier frequency) or metallic sound (when frequency of local generator differs from the carrier frequency by a few hertz). Next problem is weak filtering of the input signal. As a result aliasing may occur. Additionally, weak filtering on the input means that quite significant amount of noise is amplified. Next difference is the way the radio is tuned. In digital radio the received frequency can be set more accurately and it is stabilized by quartz oscillator, therefore it does not change significantly with time, as it sometimes happens with analog receivers. The radio is controlled via USB connection. Terminal software is configured to use virtual COM port created by the driver supplied with the board. Parameters of connection are: 115200bps, 8 bits, 1 stop bit, no parity bits. All commands need to be followed by Enter key. Control commands are the following: set Increase value: f[new Increase value] example: f7249536 set output scaling value: o[scaling value] (can be regarded as volume control) example: o8 Increase value up by 1: = Increase value down by 1: Increase value up by 100: ] Increase value down by 100: [ get current Increase value: g Due to problems with acquiring exact ADC frequency there is no command to set the receiver to the desired frequency directly. Instead tuning of Increase value has to be done. 4. Photograph of the test setup Photograph of the test setup of receiver is shown on Fig. 3. The loudspeaker used during tests is shown on Fig. 4. Fig. 3. Photograph of the hardware 2

Fig. 4. Loudspeaker 5. Code Two fragments of the code (ADC interrupt routine and unsigned long send via UART routine) are presented on the following listings void ADCIntHandler(void) register long Data; #ifdef filtr static long M0 = 0; static long M1 = 0; long Out; int A2 = 16384 * 0.9760; int A1 = 16384 * -1.9750; int B2 = 16384 * 0.3083; int B1 = 16384 * 0.6167; int B0 = 16384 * 0.3083; #endif //Acknowledge interrupt HWREG(ADC_BASE + ADC_O_ISC) = 1; //Retreive sample Data = (HWREG(ADC_BASE + ADC_O_SEQ + ADC_O_X_SSFIFO)&1023) - 512; //Multiply by sine sample Data = Data * sine[(temp_pointer >> 14) & 0x3ff]; //Increase sine table pointer Temp_Pointer += Increase; //filtering - problems encountered, therefore - turned off by default #ifdef filtr Data>>=scaleIn; Out = ldata * B0 + M0; Out>>=14; M0 = B1 * ldata + M1 - A1 * Out; M1 = B2 * ldata - A2 * Out; //Update output HWREG(GPIO_PORTD_BASE + (GPIO_O_DATA + (0xff << 2))) = (char)(out>>scaleout) + 128; #else //Update output HWREG(GPIO_PORTD_BASE + (GPIO_O_DATA + (0xff << 2))) = (char)(data>>scaleout) + 128; #endif void my_send_ul(unsigned long co, myuart_mode mode) 3

int i; int divider; if(mode == MODE_DEC) divider = 1000000000; for(i=10;i>0;i--) UARTCharPut(UART0_BASE, '0'+(( co / divider ) % 10)); divider /= 10; if(mode == MODE_BIN) for(i=31;i>=0;i--) UARTCharPut(UART0_BASE, '0'+((co >> i) & 1)); UARTCharPut(UART0_BASE, '\r'); UARTCharPut(UART0_BASE, '\n'); 4

Fig. 2. Circuit schematic 5