Welcome
Username or Email:

Password:


Missing Code




[ ]
[ ]
Online
  • Guests: 79
  • Members: 0
  • Newest Member: omjtest
  • Most ever online: 396
    Guests: 396, Members: 0 on 12 Jan : 12:51
Members Birthdays:
All today's birthdays', congrats!
Capper (60)
cereus (73)
Mcanderson (43)


Next birthdays
11/06 dan (37)
11/06 rchydro (64)
11/06 CapRack (30)
Contact
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.
Forums
4hv.org :: Forums :: General Science and Electronics
« Previous topic | Next topic »   

Getting a 1hz signal from 50hz mains using only logic gates

1 2 3 4 
Move Thread LAN_403
Download
Thu May 10 2012, 05:01AM Print
Download Registered Member #561 Joined: Sat Mar 03 2007, 02:46AM
Location: Adelaide Australia
Posts: 230
I've been thinking of building a mains synchronous clock, with a catch; using only digital logic, vacuum tubes, and nixie tubes. The biggest problem I foresee, besides the large number of tubes I will need, is turning a 50hz signal into a 1hz signal for timing, I know you can get IC that do it but I wanted to do it using tubes. Has anyone seen anything that might help? or if it's even possible?

I probably won't be able to get round to this till I've got some surplus cash, but for now I'd like to get this problem of my mind :P

Digital vacuum tubes just seems so odd to me, which i why I think it will be an interesting challenge, before anyone asks
Back to top
Legit_bacon
Thu May 10 2012, 05:09AM
Legit_bacon Registered Member #4034 Joined: Thu Jul 28 2011, 10:41PM
Location: somewhere in the Southern hemisphere
Posts: 138
a 50bit Shift register? would take alot of tubes though...
to save tubes you could have 2 10bit shift registers with one output onto the other's input/ clock.
Back to top
Download
Thu May 10 2012, 05:17AM
Download Registered Member #561 Joined: Sat Mar 03 2007, 02:46AM
Location: Adelaide Australia
Posts: 230
50 bits is way to much, I'd be looking at hundreds of tubes for that

Even 2 10bit registers would be a lot. I'd be better off increasing my counter from 17bit to 22bit and having my counter go 24:60:60:50 instead of just 24:60:60
Back to top
Legit_bacon
Thu May 10 2012, 05:22AM
Legit_bacon Registered Member #4034 Joined: Thu Jul 28 2011, 10:41PM
Location: somewhere in the Southern hemisphere
Posts: 138
I donno 100's of tubes for an essentially pointless task sounds great to me :P may I ask why you are using tubes?
Back to top
Turkey9
Thu May 10 2012, 06:58AM
Turkey9 Registered Member #1451 Joined: Wed Apr 23 2008, 03:48AM
Location: Boulder, Co
Posts: 661
I don't think that the frequency is stable enough to use as a counting source. Unless maybe you can calibrate it once and a while? Then again, the error wouldn't propagate as much as it would doing the same thing with an inaccurate 1MHz clock.

To get the timing signal, you could use a 16 bit counter, the MSB would flit at about .0015Hz. Then multiply this by 659 (probably the hardest part in terms of number of tubes). This would give a clock of about 1.002 Hz. Your clock would still be off almost 3 minutes each day, needing to be calibrated. Of course, the more you divide it and then multiply back up, the more accuracy you will get. For instance a 32 bit counter with the MSB multiplied by 42918455 will give a clock of 1.0000000015 Hz. I'm pretty sure this is how the IC's do it, but when they can hold millions of transistors there isn't a problem with space.
Back to top
Download
Thu May 10 2012, 07:22AM
Download Registered Member #561 Joined: Sat Mar 03 2007, 02:46AM
Location: Adelaide Australia
Posts: 230
mattster_mac wrote ...

I donno 100's of tubes for an essentially pointless task sounds great to me :P may I ask why you are using tubes?

I know they used to use them in the first computers, but tubes and digital logic just feel like opposites to me :P, thus why I want to use them. Still though, I don't have the budget to buy hundreds of tubes, I'd like to minimise the number used to save my wallet

Turkey9 wrote ...

I don't think that the frequency is stable enough to use as a counting source. Unless maybe you can calibrate it once and a while? Then again, the error wouldn't propagate as much as it would doing the same thing with an inaccurate 1MHz clock.

To get the timing signal, you could use a 16 bit counter, the MSB would flit at about .0015Hz. Then multiply this by 659 (probably the hardest part in terms of number of tubes). This would give a clock of about 1.002 Hz. Your clock would still be off almost 3 minutes each day, needing to be calibrated. Of course, the more you divide it and then multiply back up, the more accuracy you will get. For instance a 32 bit counter with the MSB multiplied by 42918455 will give a clock of 1.0000000015 Hz. I'm pretty sure this is how the IC's do it, but when they can hold millions of transistors there isn't a problem with space.


Apparently it is stable enough, they used to use this type of clock before quartz clocks became popular, except they were electromechanical instead of digital. When the frequency is slightly off during times of heavy demand, they counter correct it at night (if it was a bit slow during the high demand period they would speed it up during low demand times), this is so this type of timer stays accurate, I figure they are more common than we think and thus the electricity providers maintain this system



I'm probably going to just divide each second into 50 and increase the counter to 22 bits, seem like the cheaper option
Back to top
Myke
Thu May 10 2012, 08:35AM
Myke Registered Member #540 Joined: Mon Feb 19 2007, 07:49PM
Location: MIT
Posts: 969
You can divide the line freq by 5, 5, and 2 to get 1Hz. See Link2
You can also use astable multivibrators or a relaxation oscillator (see 2D21) oscillating at some freq and then synced up by pulses.
Back to top
Steve Conner
Thu May 10 2012, 10:10AM
Steve Conner Registered Member #30 Joined: Fri Feb 03 2006, 10:52AM
Location: Glasgow, Scotland
Posts: 6706
You can't do it with just logic gates, you need flip-flops. The Eccles-Jordan circuit was a classic building block, made with the two sections of a dual triode tube.
Back to top
Download
Thu May 10 2012, 01:36PM
Download Registered Member #561 Joined: Sat Mar 03 2007, 02:46AM
Location: Adelaide Australia
Posts: 230
Flip flops are made from logic gates...
Back to top
Steve Conner
Thu May 10 2012, 02:09PM
Steve Conner Registered Member #30 Joined: Fri Feb 03 2006, 10:52AM
Location: Glasgow, Scotland
Posts: 6706
Well then, what Boolean function do flip-flops perform?
Back to top
1 2 3 4 

Moderator(s): Chris Russell, Noelle, Alex, Tesladownunder, Dave Marshall, Dave Billington, Bjørn, Steve Conner, Wolfram, Kizmo, Mads Barnkob

Go to:

Powered by e107 Forum System
 
Legal Information
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.