If you need assistance, please send an email to forum at 4hv dot org. To ensure your email is not marked as spam, please include the phrase "4hv help" in the subject line. You can also find assistance via IRC, at irc.shadowworld.net, room #hvcomm.
Support 4hv.org!
Donate:
4hv.org is hosted on a dedicated server. Unfortunately, this server costs and we rely on the help of site members to keep 4hv.org running. Please consider donating. We will place your name on the thanks list and you'll be helping to keep 4hv.org alive and free for everyone. Members whose names appear in red bold have donated recently. Green bold denotes those who have recently donated to keep the server carbon neutral.
Special Thanks To:
Aaron Holmes
Aaron Wheeler
Adam Horden
Alan Scrimgeour
Andre
Andrew Haynes
Anonymous000
asabase
Austin Weil
barney
Barry
Bert Hickman
Bill Kukowski
Blitzorn
Brandon Paradelas
Bruce Bowling
BubeeMike
Byong Park
Cesiumsponge
Chris F.
Chris Hooper
Corey Worthington
Derek Woodroffe
Dalus
Dan Strother
Daniel Davis
Daniel Uhrenholt
datasheetarchive
Dave Billington
Dave Marshall
David F.
Dennis Rogers
drelectrix
Dr. John Gudenas
Dr. Spark
E.TexasTesla
eastvoltresearch
Eirik Taylor
Erik Dyakov
Erlend^SE
Finn Hammer
Firebug24k
GalliumMan
Gary Peterson
George Slade
GhostNull
Gordon Mcknight
Graham Armitage
Grant
GreySoul
Henry H
IamSmooth
In memory of Leo Powning
Jacob Cash
James Howells
James Pawson
Jeff Greenfield
Jeff Thomas
Jesse Frost
Jim Mitchell
jlr134
Joe Mastroianni
John Forcina
John Oberg
John Willcutt
Jon Newcomb
klugesmith
Leslie Wright
Lutz Hoffman
Mads Barnkob
Martin King
Mats Karlsson
Matt Gibson
Matthew Guidry
mbd
Michael D'Angelo
Mikkel
mileswaldron
mister_rf
Neil Foster
Nick de Smith
Nick Soroka
nicklenorp
Nik
Norman Stanley
Patrick Coleman
Paul Brodie
Paul Jordan
Paul Montgomery
Ped
Peter Krogen
Peter Terren
PhilGood
Richard Feldman
Robert Bush
Royce Bailey
Scott Fusare
Scott Newman
smiffy
Stella
Steven Busic
Steve Conner
Steve Jones
Steve Ward
Sulaiman
Thomas Coyle
Thomas A. Wallace
Thomas W
Timo
Torch
Ulf Jonsson
vasil
Vaxian
vladi mazzilli
wastehl
Weston
William Kim
William N.
William Stehl
Wesley Venis
The aforementioned have contributed financially to the continuing triumph of 4hv.org. They are deserving of my most heartfelt thanks.
Registered Member #74
Joined: Thu Feb 09 2006, 09:17AM
Location: Nottingham UK
Posts: 99
I need to create a short distance (~10M) RS232 link over fibre optic to send and receive a data rate of 115Kbaud (MAX). for Tesla Coil Control and monitoring.
Both of these devices will permit the use of a 500Khz or higher carrier which I will frequency shift and demodulate with a VCO / PLL (CD4046 is my thought at the moment)
I'm looking for any Ideas, suggestions, IC's or circuits that my be useful, especially on the receiver/demodulator side.
Registered Member #30
Joined: Fri Feb 03 2006, 10:52AM
Location: Glasgow, Scotland
Posts: 6706
You might want to check out the Wavefront ADAT transmitter/receiver chipset. These look like they could send any Tesla coil control signal you ever wanted down a fibre optic... RS232, interrupter pulses, MIDI, PCM audio, all at once. They work with the Toslink fibre optic parts.
Also have you considered a Bluetooth RS232 dongle? The Bluetooth frequencies might be high enough that the Tesla coil doesn't jam them.
Registered Member #74
Joined: Thu Feb 09 2006, 09:17AM
Location: Nottingham UK
Posts: 99
Steve,
I can't seem to find much information ADAT apart for ma interesting amatur radio design... Do you have any links ?
RS232 will be fine especially if I can acheive 115Kb, At present I cant get teh data from the coil back fast enough at high breakrates. Even averaged over a burst.
I don't really want to start adding on to the processor any software to accept Ethernet, IRDA stacks, Bluetooth Stacks or any other complex protocol. I would prefer to keep the device simple (ish). Rs232 is supported in hardware, Easy.
With Bluetooth, my worry about any form of RF is the noise issue. Even Bluetooth has to be mixed to lower frequencies to be decoded. Even Fibre could be fun. Much of my desire to get a proper RS232 fibre driver is that at the moment I can take out a USB RS232 converter at 2+ feet with an 8" strike to earth. Even with the isolation I already have.
I like the idea of an optic link, its contained. I picked FSK so I could have a simple coil shutdown in hardware if the RX control carrier was lost. So If you are really in trouble, just pull out the fibres. Even if the processor is off playing solitare...
Registered Member #1232
Joined: Wed Jan 16 2008, 10:53PM
Location: Doon tha Toon!
Posts: 881
All sounds okay, but you might have to use an FSK carrier frequency significantly higher than the baud rate. I can't remember the rule now, but you can treat the two carrier frequencies for binary '0's and '1's like two Amplitude Modulated carriers. The FSK spectrum is the sum of these two AM (or ASK) spectrums each centred around it's own carrier frequency. As long as there is not too much overlap your PLL should be able to seperate the symbols with a minimum of error rate.
Obviously if the carrier frequency isn't high compared to the bit rate, then it will be very hard to see any change in frequency in the carrier over less than a complete cycle. In this case PSK might work better.
Registered Member #74
Joined: Thu Feb 09 2006, 09:17AM
Location: Nottingham UK
Posts: 99
Richie,
I haven't had too much time to check the specs, but I can go up to (at a push) 1Mhz carrier. So I was thinking something like a 500Khz Carrier for '0' and a 700Khz Carrier for '1' This gives me >5 cycles to get a PLL lock.
I need to brush up on my transmission theory and to look in more detail at the MCP2120. If I acheive only 56K Ill be happy, its still 3 times faster than what I have at the moment.
Registered Member #74
Joined: Thu Feb 09 2006, 09:17AM
Location: Nottingham UK
Posts: 99
So finally had time to sit and play. I've gone down the MCP2120 IRDA route.
Quickly adding in a MCP2120 into the PC end of my existing un-encoded RS232 link and looping back the fibre. Nothing. Spent about 2 hours trying to work out why. I then realised that IRDA is a half duplex protocol and there is a hint in the MCP2120 that the chip only works half duplex. So I built another board with two MCP2120's one for RX and One For TX. I managed to get looped back comms over a 1M fibre.
After upping the pulse current on the transmitter and some tweeking with my photodiode and crude MC4049 amplifier, I have now got a 115.2Kb data link over 3M half duplex to the Tesla coil with intermittant errors.
I am convinced that these errors are caused by my crude photodiode amplifier so my next step is to buy a combined phototransistor and amplifier. this has two benifits. 1. Its likley to work properly. 2. It should be much more tolerant to noise.
The MCP2120 has two downfalls in this app. The half duplex means that I need 4 chips to get full duplex, although I may not bother, most of the data is command/responce in nature so shouldn't be too much of a hastle.
The other problem is I was looking at FSK so there would be a carrier. The Idea was that lack of carrier would shut down the HV power of the TC in an emergency. If all else fails pull out the fibres!!
Lack of a carrier means that I will need to devlop some PC software that will give me a blank byte every 500mS or so as a 'keep alive' for the TC, which is a bit of a pain as at the moment I can run with a standard RS232 terminal emulator on either a PC or Linux Box.
Registered Member #74
Joined: Thu Feb 09 2006, 09:17AM
Location: Nottingham UK
Posts: 99
Cr,
Flow Control ???
I'll put in another fibre for RTS/CTS
The amount of data is small and (now) the data rate is high enough for flow control not to be an issue. At the TC end I have a TX and RX 32 byte circular buffer to take care of any processing delays in either direction.
I'm aware I'm pushing the link, my aim was 57K, but If I can get 115.2K running over 5M then I have the option to go own to 57K if I have noise issues. If I aim for 57K now, Ill get 19.2K when I get the noise issues, if you follow my logic.
I'm convinced that the link is being held back by the receiver. The circuit I have used in the past for slow pulse detection isn't up to the task. It should be a nice transconductance amplifier and a shmitt, but as you can get all of those in a package with a photodiode in for £5 (~$7), why bother.
Ive attached the circuit just for a laugh...
Although if there is a better, simple circuit I'd love to have go whilst my new parts arrive ?
This site is powered by e107, which is released under the GNU GPL License. All work on this site, except where otherwise noted, is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. By submitting any information to this site, you agree that anything submitted will be so licensed. Please read our Disclaimer and Policies page for information on your rights and responsibilities regarding this site.