1.3 programmable tone generator

1
Project Scope 1.3 Programmable Tone Generator Sponsored by: FlexRadio Project Schedule Performance Acknowledgements Team Members Sponsor: Steve Hicks, Ed Gonzalez Faculty Advisor: Dr. Harold Stern Instructor: Lee Hinkle Progress Testing Each section will be examined in a series of focused tests. Power Regulator Output levels, September 3rd Source Transfer, September 3rd Battery Life, September 10th Interface Display, September 10th Buttons, September 17th Encoder, September 18th Serial Port, October 17th Signal Processing RCA Port Signal Timing, October 2nd Signal Accuracy, October 9th Signal-to-Noise Ratio, October 25th Software Processing Time, October 2nd Fabrication Finish Layout and order board, April 30th First printed circuit board soldered, May 10th Programming Each section will be worked on individually and then combined together. Interface Display, August 31st Buttons, September 7th Encoder, September 10th Data Processing Microcontroller to DAC, September 24th Full Code Integration Compile and run all software together, October 2nd Purpose The scope of this project is to deliver an accurate Programmable Tone Generator. To accomplish this goal our team is tasked with: Continual research in direct digital synthesis signal generation and processing. The development and design of the entire system, including the user interface, power regulator, and signal processing. Designing the schematic and layout of a printed circuit board. Programming the device to perform all desired functions and processing. Testing the entirety of the hardware and software of the device. Hardware Performance Parameters Parameter Min Max Units How Tested System Voltages 3.3 16.5 V Measure input / output voltages of each component using a voltmeter and check LEDs for visual test. System Amperage Draw 250 mA Measure total device current. A thermal camera will help see which components draw the most power. RCA Port Function 0 1 ms Use oscilloscope to check RCA port timing response, i.e. the timing between the grounding of the trigger and the production of the signal. Signal-to- Noise Ratio 60 106 dB Use an audio spectrum analyzer and/or radio to compare the input to output ratio. Total Harmonic Distortion + Noise 0 0.00 2 % Use an audio spectrum analyzer. Line Level amplitude 1 V Use an oscilloscope to check the signals amplitude. Mic Level amplitude 1 10 mV Use an oscilloscope to check the signals amplitude. Signal Frequency Accuracy 0 0.00 3 % Use an oscilloscope to check the accuracy of the signal frequency. Features Software Performance Parameters Encoder Encoder should cycle through full range of frequency output wrap back around to 20 on next click once 20 kHz is reached. Encoder should start at 1,000 Hz every use. Display Correct frequency display on LCD screen Buttons Buttons should change step of the encoder by 200 Hz and 1,000 Hz. Clock synchronizations The PIC32MK clock should be synchronous with the DAC and LCD display clocks to produce an accurate signal. The project’s main purpose is to test and calibrate software defined radios for FlexRadio. The Programmable Tone Generator produces an accurate test signal using digital direct synthesis and is an audio DDS. The test signal: allows for comparison and accurate calibration of both existing and future products. will evaluate signal distortion due to the environment, software, or hardware issues. will be tailored to the specific testing needs of the sponsor to assist them in product design and debugging. Luke Banda Testing Simon Konrad Printed Circuit Board Design Hayley Boynton Project Manager, Software 4. Created all component libraries for Eagle CAD 5. Created circuit board Schematic on Eagle CAD 6. Tested and Coded Clock Synchronization System Clock Green: Bit Clock Yellow: Left Right (Word) Clock 1. Researched Tone Generation 2. Designed system 3. Selected and Ordered Components Feature Description PIC Microcontroller 32 bit, 256k byte Programmable Memory Clock Signal Synchronization External Crystal Oscillator Variable Frequency encoder Select Frequency from 20-20 kHz Signal Timing Control RCA Port Amplitude Control Line Level Output Mic Level Output Physical Output Connections 1/8” Audio Jack Serial Port Command Line Output via Serial Port Real Time Signal Manipulation Status LED’s Component Operation and Power indication Standard Frequency Selections 200 Hz multiples 1 kHz multiples Multiple Power Supplies 9 V Battery Voltage Pins Modifiable Design Reprogrammable User Interface

Upload: others

Post on 14-Jan-2022

12 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 1.3 Programmable Tone Generator

Project Scope

1.3 Programmable Tone Generator

Sponsored by: FlexRadio

Project Schedule

Performance

Acknowledgements

Team Members

Sponsor: Steve Hicks, Ed Gonzalez

Faculty Advisor: Dr. Harold Stern

Instructor: Lee Hinkle

ProgressTesting

Each section will be examined in a series offocused tests.Power Regulator

• Output levels, September 3rd• Source Transfer, September 3rd• Battery Life, September 10th

Interface• Display, September 10th• Buttons, September 17th• Encoder, September 18th• Serial Port, October 17th

Signal Processing• RCA Port Signal Timing, October 2nd

• Signal Accuracy, October 9th• Signal-to-Noise Ratio, October 25th

Software• Processing Time, October 2nd

Fabrication• Finish Layout and order board, April 30th

• First printed circuit board soldered, May 10th

ProgrammingEach section will be worked on individually andthen combined together.Interface

• Display, August 31st• Buttons, September 7th• Encoder, September 10th

Data Processing• Microcontroller to DAC, September 24th

Full Code Integration• Compile and run all software together,

October 2nd

PurposeThe scope of this project is to deliver an accurate Programmable Tone Generator. To accomplish this goal our team is tasked with:

• Continual research in direct digital synthesis signal generation and processing.

• The development and design of the entire system, including the user interface, power regulator, and signal processing.

• Designing the schematic and layout of a printed circuit board.

• Programming the device to perform all desired functions and processing.

• Testing the entirety of the hardware and software of the device.

Hardware Performance Parameters

Parameter Min Max Units How TestedSystem Voltages

3.3 16.5 V Measure input / output voltages of each component using a voltmeter and check LEDs for visual test.

System Amperage Draw

250 mA Measure total device current. A thermal camera will help see which components draw the most power.

RCA Port Function

0 1 ms Use oscilloscope to check RCA port timing response, i.e. the timing between the grounding of the trigger and the production of the signal.

Signal-to-Noise Ratio

60 106 dB Use an audio spectrum analyzer and/or radio to compare the input to output ratio.

Total Harmonic Distortion + Noise

0 0.002

% Use an audio spectrum analyzer.

Line Level amplitude

1 V Use an oscilloscope to check the signals amplitude.

Mic Level amplitude

1 10 mV Use an oscilloscope to check the signals amplitude.

Signal FrequencyAccuracy

0 0.003

% Use an oscilloscope to check the accuracy of the signal frequency.

Features

Software Performance ParametersEncoder Encoder should cycle through full range of

frequency output wrap back around to 20 on next click once 20 kHz is reached.Encoder should start at 1,000 Hz every use.

Display Correct frequency display on LCD screenButtons Buttons should change step of the encoder

by 200 Hz and 1,000 Hz.Clock synchronizations

The PIC32MK clock should be synchronous with the DAC and LCD display clocks to produce an accurate signal.

The project’s main purpose is to test and calibrate software defined radios for FlexRadio. The Programmable Tone Generator produces an accurate test signal using digital direct synthesis and is an audio DDS.

The test signal:• allows for comparison and accurate calibration

of both existing and future products.• will evaluate signal distortion due to the

environment, software, or hardware issues.• will be tailored to the specific testing needs of

the sponsor to assist them in product design and debugging.

Luke BandaTesting

Simon KonradPrinted Circuit Board

Design

Hayley BoyntonProject Manager,

Software

4. Created all component libraries for Eagle CAD

5. Created circuit board Schematic on Eagle CAD

6. Tested and Coded Clock Synchronization

System Clock Green: Bit ClockYellow: Left Right (Word) Clock

1. Researched Tone Generation

2. Designed system

3. Selected and Ordered Components

Feature Description

PIC Microcontroller 32 bit, 256k byte Programmable Memory

Clock Signal Synchronization External Crystal Oscillator

Variable Frequency encoder Select Frequency from 20-20 kHz

Signal Timing Control RCA Port

Amplitude Control Line Level OutputMic Level Output

Physical Output Connections 1/8” Audio Jack

Serial PortCommand Line Output via Serial Port

Real Time Signal Manipulation

Status LED’s Component Operation and Power indication

Standard Frequency Selections 200 Hz multiples

1 kHz multiples

Multiple Power Supplies 9 V Battery

Voltage Pins

Modifiable Design Reprogrammable User Interface