Author Topic: Radio Transmittor using FPGA  (Read 11891 times)

0 Members and 1 Guest are viewing this topic.

Offline tiofilo75Topic starter

  • Contributor
  • Posts: 37
Radio Transmittor using FPGA
« on: October 18, 2013, 10:21:57 pm »
Hello everyone. I am currently in my last year of school so I have to come up with a possible senior project to do for my last year and have been thinking about some projects that I could do. One of them is making a transmitter with my Spartan 3E FPGA board. I wanted to know if this would be possible? I want to transmit bits so I would have to do some AM modulation and come up with the receiver which would also be an FPGA. I want to start small so I would be happy just being able to transmit the bits down a small distance. Thanks.
 

Offline Odysseus

  • Regular Contributor
  • *
  • Posts: 151
  • Country: us
Re: Radio Transmittor using FPGA
« Reply #1 on: October 19, 2013, 02:14:37 am »
I'm going to assume you want to do as much as possible directly with the FPGA.  Also, I know barely anything practical about RF, but here's some links that should help get you started:

http://en.wikipedia.org/wiki/On-off_keying
http://en.wikipedia.org/wiki/Whip_antenna

Pick a frequency of operation that your FPGA can easily generate, but not so slow that your antenna has to stretch across the room.

You might be able to get away without an amplifier for the TX (i.e. directly drive antenna with I/O pin), but you'll definitely need some sort of front end amplification for the receiver.
 

Offline Whuffo

  • Regular Contributor
  • *
  • Posts: 112
  • Country: ph
  • An American Living In Paradise
Re: Radio Transmittor using FPGA
« Reply #2 on: October 19, 2013, 05:41:42 am »
I'd suggest looking for another project idea. This one is fraught with peril; the output pin of your chip provides a square wave which if put to an antenna would cause interference on a wide range of frequencies. You'd need at least one stage of RF amplification, a tank circuit, and an output filter between that chip and the antenna. The difference between a RF amplifier and a RF oscillator is experience; they're simple on the schematic, but in the real world they get a lot more tricky. The higher the frequency, the worse the challenges become.
 

Offline NiHaoMike

  • Super Contributor
  • ***
  • Posts: 9347
  • Country: us
  • "Don't turn it on - Take it apart!"
    • Facebook Page
Re: Radio Transmittor using FPGA
« Reply #3 on: October 19, 2013, 05:44:02 am »
It's possible, but keep in mind that Tiffany Yep spent years learning that sort of stuff. (And she doesn't even custom build the analog front ends!)
Cryptocurrency has taught me to love math and at the same time be baffled by it.

Cryptocurrency lesson 0: Altcoins and Bitcoin are not the same thing.
 

Offline SeanB

  • Super Contributor
  • ***
  • Posts: 16386
  • Country: za
Re: Radio Transmittor using FPGA
« Reply #4 on: October 19, 2013, 05:51:31 am »
You can quite easily make an AM transmitter in the FPGA with only thing being analogue is the output filter ( at low power the FPGA will be able to provide the power needed direct) and then you feed in digital audio ( or use an external audio ADC driven by the FPGA) and do the modulation in digital, then feed the digital output into a DAC which drives the antenna direct after a low pass filter.
 

Offline Abstr7ct

  • Regular Contributor
  • *
  • Posts: 88
  • Country: 00
  • Learner
Re: Radio Transmittor using FPGA
« Reply #5 on: October 19, 2013, 08:57:56 am »
I'd suggest looking for another project idea. This one is fraught with peril; the output pin of your chip provides a square wave which if put to an antenna would cause interference on a wide range of frequencies. You'd need at least one stage of RF amplification, a tank circuit, and an output filter between that chip and the antenna. The difference between a RF amplifier and a RF oscillator is experience; they're simple on the schematic, but in the real world they get a lot more tricky. The higher the frequency, the worse the challenges become.

May I know how a square wave would cause interference on a wide range of frequencies?
 

Offline Balaur

  • Supporter
  • ****
  • Posts: 525
  • Country: fr
Re: Radio Transmittor using FPGA
« Reply #6 on: October 19, 2013, 09:16:06 am »
May I know how a square wave would cause interference on a wide range of frequencies?

Certainly

Hint: look at the harmonics plot.
 

Offline Abstr7ct

  • Regular Contributor
  • *
  • Posts: 88
  • Country: 00
  • Learner
Re: Radio Transmittor using FPGA
« Reply #7 on: October 19, 2013, 09:39:15 am »
May I know how a square wave would cause interference on a wide range of frequencies?

Certainly

Hint: look at the harmonics plot.

In such a case, what should be done to remove the unneeded harmonics? a LPF with a cutoff frequency of 1KHz (the fundamental frequency)?
 

Offline awallin

  • Frequent Contributor
  • **
  • Posts: 694
Re: Radio Transmittor using FPGA
« Reply #8 on: October 19, 2013, 11:49:07 am »
Hello everyone. I am currently in my last year of school so I have to come up with a possible senior project to do for my last year and have been thinking about some projects that I could do. One of them is making a transmitter with my Spartan 3E FPGA board. I wanted to know if this would be possible? I want to transmit bits so I would have to do some AM modulation and come up with the receiver which would also be an FPGA. I want to start small so I would be happy just being able to transmit the bits down a small distance. Thanks.

If you want up the challenge level (stand on the shoulders of giants...):
Get in touch with one of the many SDR projects out there, such as http://openhpsdr.org/
Talk to those people, ask them what new/better/novel stuff their project would need, and do that.
 

Offline Nerull

  • Frequent Contributor
  • **
  • Posts: 694
Re: Radio Transmittor using FPGA
« Reply #9 on: October 19, 2013, 03:25:17 pm »
May I know how a square wave would cause interference on a wide range of frequencies?

Certainly

Hint: look at the harmonics plot.

In such a case, what should be done to remove the unneeded harmonics? a LPF with a cutoff frequency of 1KHz (the fundamental frequency)?

By not using square waves.

Their very nature causes the problems. A square wave has a square shape because it goes through many, many different frequencies. The way to take those out is to make it a sine wave. A LPF will tend to nudge a square wave towards a sine shape, ending up with who knows what in between.

« Last Edit: October 19, 2013, 03:35:00 pm by Nerull »
 

Offline tiofilo75Topic starter

  • Contributor
  • Posts: 37
Re: Radio Transmittor using FPGA
« Reply #10 on: October 19, 2013, 05:49:02 pm »
Thanks everyone. I looked around the web and it seems as though someone did it through FM. They were transmitting SOS into an FM station.
http://youtu.be/4YbDjc3Xb1E

This sounds like a fun project to do.
 

Offline madshaman

  • Frequent Contributor
  • **
  • Posts: 698
  • Country: ca
  • ego trans insani
Radio Transmittor using FPGA
« Reply #11 on: October 19, 2013, 05:59:22 pm »

Thanks everyone. I looked around the web and it seems as though someone did it through FM. They were transmitting SOS into an FM station.
http://youtu.be/4YbDjc3Xb1E

This sounds like a fun project to do.

I hope it was *very* low power, you know, if I were broadcasting SOS on *any* frequency using *any* kind of modulation, even if I was using a spark gap, I would hope someone would investigate and not assume I was just goofing around.  ^^'
To be responsible, but never to let fear stop the imagination.
 

Offline tiofilo75Topic starter

  • Contributor
  • Posts: 37
Re: Radio Transmittor using FPGA
« Reply #12 on: October 19, 2013, 06:38:03 pm »
Yeah it was not a good idea to transmitting SOS, but the proof of concept is pretty cool.
 

Offline Nerull

  • Frequent Contributor
  • **
  • Posts: 694
Re: Radio Transmittor using FPGA
« Reply #13 on: October 19, 2013, 06:47:32 pm »
That's a federal felony in the US, up to 6 years in prison.

False SOS/Mayday/etc. calls are no joke. They can cost a lot of money and even put rescuers at risk before it's determined to be false. Automated systems can pick up a SOS call even if no one is actively listening to the station.
« Last Edit: October 19, 2013, 06:52:09 pm by Nerull »
 

Offline Whuffo

  • Regular Contributor
  • *
  • Posts: 112
  • Country: ph
  • An American Living In Paradise
Re: Radio Transmittor using FPGA
« Reply #14 on: October 20, 2013, 06:31:57 am »
You can quite easily make an AM transmitter in the FPGA with only thing being analogue is the output filter ( at low power the FPGA will be able to provide the power needed direct) and then you feed in digital audio ( or use an external audio ADC driven by the FPGA) and do the modulation in digital, then feed the digital output into a DAC which drives the antenna direct after a low pass filter.

Wow, that's really using a sledgehammer to drive tacks. For this kind of output level with AM in the broadcast band, the analog solution is a big winner.
http://www.richardmcwhorter.com/AM_Transistor_Transmitter/

Engineering is coming up with the most appropriate solution - one that does the job at the lowest cost.
 

Offline SeanB

  • Super Contributor
  • ***
  • Posts: 16386
  • Country: za
Re: Radio Transmittor using FPGA
« Reply #15 on: October 20, 2013, 09:56:34 am »
I have used an old PC to replace a box of 555 timers..................... ;) It was better for the job.
 

Offline Whuffo

  • Regular Contributor
  • *
  • Posts: 112
  • Country: ph
  • An American Living In Paradise
Re: Radio Transmittor using FPGA
« Reply #16 on: October 20, 2013, 11:09:36 am »
I have used an old PC to replace a box of 555 timers..................... ;) It was better for the job.

Maybe, but how long can you run it on a 9 volt battery?
 

Offline SeanB

  • Super Contributor
  • ***
  • Posts: 16386
  • Country: za
Re: Radio Transmittor using FPGA
« Reply #17 on: October 20, 2013, 05:57:43 pm »
I have used an old PC to replace a box of 555 timers..................... ;) It was better for the job.

Maybe, but how long can you run it on a 9 volt battery?

Less than a single mains cycle, and the box of 555 timers would do about the same time on the 9V battery anyhow.
 

Online mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 14160
  • Country: gb
    • Mike's Electric Stuff
Re: Radio Transmittor using FPGA
« Reply #18 on: October 21, 2013, 01:18:29 pm »
Article about making an RF receiver with an FPGA, using a diff input as a comparator
http://issuu.com/xcelljournal/docs/xcell_journal_issue_84/28?e=2232228/4052461
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf