Presentation is loading. Please wait.

Presentation is loading. Please wait.

Digital Techniques for Radio. What is digital? Digital normally means binary Digital can mean: Digital techniques for analogue modes e.g. SSB AM FM (Overview.

Similar presentations


Presentation on theme: "Digital Techniques for Radio. What is digital? Digital normally means binary Digital can mean: Digital techniques for analogue modes e.g. SSB AM FM (Overview."— Presentation transcript:

1 Digital Techniques for Radio

2 What is digital? Digital normally means binary Digital can mean: Digital techniques for analogue modes e.g. SSB AM FM (Overview in this talk) Or it can mean: Digital techniques for digital modes e.g. PSK31, GSM, DAB (a later talk)

3 When should one use a digital system? This is a mixed audience with mixed views. Amateur radio is a hobby so its up to you! Some things people may not allow in their hobby: Equipment built in a factory Mobile phones Repeaters (May as well use a mobile phone?) Voice (only Morse) Transistors (only Valves) Valves not made oneself ICs (Only transistors) Digital (only Analogue) PCs (only logic ICs) Software (only non programmable Logic) Hardware description languages (only Software)

4 Some reasons to use a digital system When it is cheaper When you want versatility When analogue would be less practical When analogue would be impossible! When you want to be nearer to the leading edge When you have seen this talk

5 What do we mean by doing things digitally? We could solder together logic gates We could use a PC We could use a microcontroller / DSP We could use an FPGA Note that use of software is not necessarily required (but it can make things a lot easier)

6 SoftRock Receiver

7

8 BITX20 bidirectional SSB transceiver

9 Receive direction shown

10 Compare the SoftRock Receiver

11 The missing digital parts we need: Tuning (The SoftRock has a Fixed Xtal LO) The BFO The last mixer stage (for BFO) The audio filter The audio output

12 Block diagram of the missing digital parts

13 How do we do these digitally? Get our analogue signals into digital form? Generate a tuneable LO/BFO sine wave? Create In-phase and Quadrature signals? Produce the mixer stage? Filter signals? Produce the audio output?

14 We have seen many of these before. Generate a tuneable LO/BFO sine wave? We did this in our simulation spread sheet! Create In-phase and Quadrature signals? Our simulated Current and Voltage were I/Q! Produce the mixer stage? We did this in our ideal mixer talk (it’s a multiply) Filter signals? We already simulated an analogue RC filter

15 A tuneable digital oscillator In our simulation talk we simulated an RC oscillator in time steps. As we said we could have done this on a sheet of paper, one row per time step. Using a computer saves a lot of effort with a pencil but is perhaps less clear. We used a spreadsheet rather than a sheet of paper as a compromise.

16 Our simulated tuned circuit

17 Time StepOhmsFaradsmicrofaradsmillifaradsHenriesLC Period 11000.055000050500099.35 SecondsCapacitor VAmps milliampsInductor VVolts ChangeCurrent Change 0250.00000.025.00.0000.0050 125.00.00505.024.50.1000.0049 224.90.00999.923.90.1980.0048 324.70.014714.723.20.2940.0046 424.40.019319.322.50.3870.0045 524.00.023823.821.60.4760.0043 623.50.028228.220.70.5630.0041 Spreadsheet for a tuned circuit (See TunedA.xls for details)

18 In-phase and Quadrature generator based on the spreadsheet (R=0)

19 What are these building blocks? A latch stores a binary number. It replaces it with a new number when it gets a clock. (Our time step in the spreadsheet) As expected the adders and multipliers can add and multiply binary numbers. We will look at this another day. The circuit produces 2 sine waves (Just like the simulated Current and Voltage in our spreadsheet) These are our I and Q signals to feed to the digital mixers.

20 The ideal mixer Previously we looked at the electronics of mixers. An ideal mixer multiplies rather than adds waveforms. If you feed two sine waves at frequencies F and G into a multiplier you just get sine waves at frequencies F+G and F-G and no harmonics. Rather than prove this using maths we just looked at the waveforms and listened.

21 The inputs to the ideal mixer 2000Hz 2200Hz

22 The output from the ideal mixer 200Hz 4200Hz and

23 The components of the mixer output 200Hz 4200Hz

24 What else do we need? To get our analogue signals into digital form and to produce the audio output. There are many types of Analogue to Digital (A/D) and Digital to Analogue (D/A) converters. We will cover these another day. To filter signals one could simulate the equivalent analogue filter (as mentioned earlier). However there are much better ways. Such a simulation would be an approximation to what is called an IIR (infinite impulse response) filter. Our next example is an FIR filter.

25 The Finite Impulse Response (FIR) filter (Diagram From an Altera FPGA application note)

26 The basics of an FIR filter An FIR filter works in the “Time domain” It represents the filter one wants in terms of its time response ‘h()’ to an “impulse” (A very short pulse) The input waveform ‘x(n)’ (being digital) naturally can be regarded as a series of such pulses of varying height. The output waveform ‘y(n)’ is calculated by the FIR filter by adding up the response to each input “pulse” Fortunately there are standard design tools for FIR filters.

27 Conclusion? We did not use any software. As stated its not necessary but can make things a lot easier. In a later talk we will look at how logic gates and larger building blocks work. We will also look at CPU design. We will look at software techniques and development tools for PCs and microcontroller / DSP chips. We can build complex digital things without software if we use an FPGA. However we then need Hardware languages!

28 Some more real world examples follow (These next examples are from product briefs on the Broadcom public website).

29 MULTIFUNCTION MONOLITHIC IC: AGPS, BLUETOOTH® 2.1 + EDR, AND INTEGRATED FM TRANSCEIVER: BROADCOM BCM2075

30 BCM6368-based VDSL2/ADSL2+ Multimode Residential Gateway

31

32 Questions?


Download ppt "Digital Techniques for Radio. What is digital? Digital normally means binary Digital can mean: Digital techniques for analogue modes e.g. SSB AM FM (Overview."

Similar presentations


Ads by Google