Language: 
To browser these website, it's necessary to store cookies on your computer.
The cookies contain no personal information, they are required for program control.
  the storage of cookies while browsing this website, on Login and Register.

Storing Cookies (See : http://ec.europa.eu/ipg/basics/legal/cookies/index_en.htm ) help us to bring you our services at overunity.com . If you use this website and our services you declare yourself okay with using cookies .More Infos here:
https://overunity.com/5553/privacy-policy/
If you do not agree with storing cookies, please LEAVE this website now. From the 25th of May 2018, every existing user has to accept the GDPR agreement at first login. If a user is unwilling to accept the GDPR, he should email us and request to erase his account. Many thanks for your understanding

User Menu

Custom Search

Author Topic: Homebrew 3 Channel Pure SIN Generator ( 0 ... 60MHz )  (Read 39104 times)

Offline Yucca

  • Hero Member
  • *****
  • Posts: 884
Re: Homebrew 3 Channel Pure SIN Generator ( 0 ... 60MHz )
« Reply #15 on: September 24, 2009, 11:46:18 PM »
Hi Peter,

I knew about the synching pulse supplied by micro, but the hardware clocks are a bit of a pain as you point out.

I wonder if micro coax transmission lines could be cut to length to get exact input clock phases from one shared clock?

I know it'll probably just result in chaos but before I remove the clocks and make a shared clock I will try (probably in vain) to tie the 3 seperate clocks together somehow.

I've just been writing hibernation procedure in the GUI. Across the 10V input supply I have a big electrolytic. I sample this electrolytic through a pot, tuned so its output is just above logic 1 level. As soon as the cap sags I have a few hundred ms to save the complete system state to EEPROM and shut down, I want to make a routine to write in different EEPROM positions each time so I don't wear out the first EEPROM positions.

Offline dankie

  • Sr. Member
  • ****
  • Posts: 463
Re: Homebrew 3 Channel Pure SIN Generator ( 0 ... 60MHz )
« Reply #16 on: September 25, 2009, 01:00:35 AM »
The TPU is in the khz range .

You dont need high Mhz speeds .The 74HC series can go up to 20 mhz . Why not just go with some 555 regular square waves for such a simple task ? You are bringing a 100 pound sledgehammer for this one little nail sticking out ...

It will be alot less complicated and expensive to start from scratch and make this with cheap IC components . The most expensive IC is 2$ , most are like 50 cents . You can sim most of it with a free sim , but theres always a limit to what you can sim with free unregistered .

Bringing a PC into this is not necessary .

And everybody experimenting on a tpu needs an oldschool analog scope , any old piece of crap is way good enough , not computer scopes .


Offline Yucca

  • Hero Member
  • *****
  • Posts: 884
Re: Homebrew 3 Channel Pure SIN Generator ( 0 ... 60MHz )
« Reply #17 on: September 25, 2009, 01:16:14 AM »
The TPU is in the khz range .

You dont need high Mhz speeds .The 74HC series can go up to 20 mhz

It will be alot less complicated and expensive to start from scratch and make this with cheap IC components . The most expensive IC is 2$ , most are like 50 cents . You can sim most of it with a free sim , but theres always a limit to what you can sim with fre unregistered .

I'm not building the unit solely for TPU research. I want to experiment with RF intermodulation in small coils amongst other things. I understand this unit is not for everybody, many will see it as folly and so be it, I will still build it.

I have a full complement of 74 chips, hundreds of them, probably enough to build a small CPU. I know 74HC are fast logic, but you would only have square output. Also to get rock solid freq you would need to drive 74 from xtal clock and it would only be easy to divide that clock by 2,3,4 etc using n bit ripple counter. To design an accurate square sig source even to 500kHz capable of 1Hz resolution would be near impossible with 74.

I can guarantee to design a clean sin generator with 1Hz resolution even up to 1MHz would cost alot of time and expense and to get all harmonic content 40dB under fundamental as these DDS are capable of would not be an easy task.

Offline dankie

  • Sr. Member
  • ****
  • Posts: 463
Re: Homebrew 3 Channel Pure SIN Generator ( 0 ... 60MHz )
« Reply #18 on: September 25, 2009, 01:31:28 AM »
Well I happen to have much experience with this , There is much much effort to be done to make a good sine wave , the wave is a stepped wave and needs post filtering .

A 1 mhz pure  "sine wave" is not possible to do , you should forget that idea , a word of advice , stick with those square waves ,

A very fast clock is indeed necessary but that clock must be "variable"  haha ! , good luck with finding a 100 mhz simple square wave oscillator thats not too exotic , something simple ...

Offline Yucca

  • Hero Member
  • *****
  • Posts: 884
Re: Homebrew 3 Channel Pure SIN Generator ( 0 ... 60MHz )
« Reply #19 on: September 25, 2009, 02:02:25 AM »
Well I happen to have much experience with this , There is much much effort to be done to make a good sine wave , the wave is a stepped wave and needs post filtering .

A 1 mhz pure  "sine wave" is not possible to do , you should forget that idea , a word of advice , stick with those square waves ,

A very fast clock is indeed necessary but that clock must be "variable"  haha ! , good luck with finding a 100 mhz simple square wave oscillator thats not too exotic , something simple ...

Using DDS a "pure" sin wave is quite possible. DDS is a digital synthesizer producing a 10 bit linear approximation of a sin. So yes it contains 2^10 = 1024 discreet steps vertically but these are so fine that the output elliptical filter can pretty much take them all out. As I say all harmonic content guaranteed to be under 40dB relative to fundamental.

To test the stability of an oscillator it is best to listen to a heterodyne signal against another accurate oscillator. I have a DDS based small Yaesu VR-500 receiver 200kHz...1GHz all mode all band, and when I tune it on sideband to say 6MHz and then make an oscillator with an LC and listen to it, it is all over the place, very unstable and muddy and wide, I wave my hand near it and it zips away to another freq, I change the load impedance and it again loses freq. DDS would produce a rock solid tone with very narrowband regardless of conditions.

Don't get me wrong I'm not saying this is the perfect TPU tool. It's what it is, a 3 channel sin source with spectral purity as good as can be achieved and 3D scanning capability, I plan to keep it for life and use it in many experiments to gain a better understanding of frequency mixing in various systems.

You may well be right, square waves may be the way to go with TPU research, who's to say?

Offline Yucca

  • Hero Member
  • *****
  • Posts: 884
Re: Homebrew 3 Channel Pure SIN Generator ( 0 ... 60MHz )
« Reply #20 on: September 25, 2009, 02:26:33 AM »
Here's a photo of the approx layout of the device on a verocard.

At the back is two 5V 1A PSUs, serial linked for 10V 1A.

Down the left is two caps, these give the unit a little time after power is unplugged, in that time it can easily save whole system state to permanent memory.

Behind the microcontroller and screen you can see 3 x DIL16 sockets, These I will plug the DDS modules into (using only one row in each socket). If I have to have the modules horizontal to accomodate a clock buscard then I will have to use 90DEG sil pins and do that.

The micro itself will have SIL headers soldered at 90deg to the board and it will also plug into the vero card.

The whole card will go into some box on standoffs with a cutout for the screen. Jogwheel on the right and output BNC connectors on the left.

Input sample conditioning circuit will be built on the front left of the verocard.

Offline otto

  • elite_member
  • Hero Member
  • ******
  • Posts: 1215
Re: Homebrew 3 Channel Pure SIN Generator ( 0 ... 60MHz )
« Reply #21 on: September 25, 2009, 09:10:31 AM »
Hello all,

@Yucca

it doesnt matter if you use square waves or sine waves: A TPU will convert squares in sines. Automatically. This automatically means that "mother earth" is doing it.

A verocard!!!

Now I will tell you something.

A oscillator builded on a verocard is something like .....  its worthless!!!

I have 1 of my 3 oscillators years ago builded on such a verocard. Better NOT to use such an oscillator to pulse coils.

Yes, you get the signals, but they are not worth a cent.

And build the oscillator as simple as possible. @dankie said the same? Yes, he is right.

With such a simple oscillator maybe you can discover anomalies in your coils that will blow you from your chair and your coils will be soooo "happy" you cant imagine. Coils are "happy" when they are blown. And then your happy because then you know that you have SOMETHING.

Otto




Offline Peterae

  • Sr. Member
  • ****
  • Posts: 327
Re: Homebrew 3 Channel Pure SIN Generator ( 0 ... 60MHz )
« Reply #22 on: September 25, 2009, 09:47:23 AM »
otto
The oscillators are not built on vero they are prebuilt professionally, he is only using vero for the digital side of things, he's trying to make it so an ameature can build it without having to buy or make their own pcb's.

If you goto page 1 you can see the link for buying the DDS modules.
and yes the DDS module use a filter on the output to make the stepped DDS output pure sine.

@Yucca
i am not famillar with the atmel processor, but with the pic the EEPROM can be written to many millions of time without failure, so over use is unlikely, you could do a write verify read and if an error occurs switch to bank 2.

Again on the pic you have a built in function called brownout, which monitors the voltage rail and at a preset voltage level adjustable with some pics, you get an interrupt to save your code.

Another scheme i have used before is to save 1 byte of your parameters every second if it's different to your eeprom, this way the eeprom is gradually updated when the power is on, and then do a final check as a power down situation occurs, this way you can have little or no eeprom to write during a power down situation.

Peter




Offline MasterPlaster

  • Hero Member
  • *****
  • Posts: 529
Re: Homebrew 3 Channel Pure SIN Generator ( 0 ... 60MHz )
« Reply #23 on: September 25, 2009, 11:41:08 AM »
KISS

Offline otto

  • elite_member
  • Hero Member
  • ******
  • Posts: 1215
Re: Homebrew 3 Channel Pure SIN Generator ( 0 ... 60MHz )
« Reply #24 on: September 25, 2009, 12:01:28 PM »
Hello all,

again and as mentioned, if you want to work on coils like an amateur without any successes you can use profi builded oscillators.

But if you are working on coils to discover "something" than you have to build oscillators with PCBs and then you may have something good.

Ever thought about capacitances in oscillators? Between every single part in an oscillator?? Capacitances in picofarads.

O yes, they are not important. But maybe something weird could "jump out" from such not important capacitances.

It was just a thought so forget it.

Otto

Offline otto

  • elite_member
  • Hero Member
  • ******
  • Posts: 1215
Re: Homebrew 3 Channel Pure SIN Generator ( 0 ... 60MHz )
« Reply #25 on: September 25, 2009, 12:19:04 PM »
Hello all,

something very important for me. As I cant use PMs I have to do it in this way:

@tao

years ago you posted to discharge caps into the TPU or something like this. We were told that this is SMs secret.

Thanks for this.

Otto

Offline Yucca

  • Hero Member
  • *****
  • Posts: 884
Re: Homebrew 3 Channel Pure SIN Generator ( 0 ... 60MHz )
« Reply #26 on: September 25, 2009, 04:23:27 PM »
KISS

I agree. That's why I'm using off the shelf modules and plugging them together like lego, what could be simpler! Why reinvent the wheel when a group of radio HAMs have evolved a really nice oscillator module already over several years, you can get each module as a kit for only $30 and then you get a free sample chip. Or you can buy the modules preassembled.

@Peter, the EEPROM has 100k write cycles guaranteed, so less hardy than pic. I suppose If I just dump state to beginning blocks then it should last a lifetime if it only writes on powerdown. My caps are a whopping 1F and it has a few seconds on powerdown because the micro has a 5V reg so the 10V supply can afford to drop to 6V.

Offline Yucca

  • Hero Member
  • *****
  • Posts: 884
Re: Homebrew 3 Channel Pure SIN Generator ( 0 ... 60MHz )
« Reply #27 on: September 25, 2009, 05:18:23 PM »
@Otto,

I am not an expert on the TPU, definitely not! You may be right, no it may not be needed for working TPU but it will help me learn more about radio like systems.

I plan to look for weird effects in lots of systems not just the TPU. I think 3 channels is overkill, I was going to do just 2, but its always good to have a spare  ;D

So now you know I am only building a 3 channel radio quality oscillator. I am spending 3 months hobby budget on this thing but I hope to have it for many years.

Yucca.

Offline giantkiller

  • TPU-Elite
  • Hero Member
  • *******
  • Posts: 2791
    • http://www.planetary-engineering.com
Re: Homebrew 3 Channel Pure SIN Generator ( 0 ... 60MHz )
« Reply #28 on: September 26, 2009, 04:13:12 AM »
Yes! This the way to get the skin effect before the conductor conducts!
Now what if you have a bias field around a conductor and then shock that? Canon balls, my friends, canon balls. Directional travelling shock waves.

Grumpy posted Ehrenhaft.
http://www.rexresearch.com/ehrenhaf/ehrenhaf.htm
I noticed this diagram and related it to the TPU. I can't be that far off.

Hello all,

something very important for me. As I cant use PMs I have to do it in this way:

@tao

years ago you posted to discharge caps into the TPU or something like this. We were told that this is SMs secret.

Thanks for this.

Otto

Offline Yucca

  • Hero Member
  • *****
  • Posts: 884
Re: Homebrew 3 Channel Pure SIN Generator ( 0 ... 60MHz )
« Reply #29 on: September 26, 2009, 11:42:19 PM »
@all (including all miserable old farts): I've just increased the GUI resolution to 100mHz. The oscillator modules have an incredible 24mHz resolution but one tenth Hz seems good enough. I had to reduce the digit widths by 2 pixels but it is still easily readable up to 1m away.

I've been in correspondence with the module designers, they assure me I should have no problems by sharing a common clock using same length runs of RG174 coax. I may also have to have measured lines to the load signal inputs. But I will try on the same bus to start with as only 1cm length between modules. If I cant assert within refclock*6 on all lines then I'll also have to use same length coax to route that signal also.

Also just picked up a bucketload of SIL pin plugs and sockets from ebay china for peanuts, shame about the 3 week wait, but no problem because I have a lot of software to write.

I had a worry today because my LCD kept crashing after many fast writes to it, I spent ages looking for a code error and now I realise that when powered by USB cable the power getting to the screen is marginal. When I power 10V through the regulator everything is rock solid.

Any ideas about menu fuctions would be welcome before I start to code, at the moment I'm thinking:

[1]
linear sweep (1,2 or 3D) (maximum ADC signal shown at end)

[2]
log10 sweep (1,2 or 3D) (maximum ADC signal shown at end)

[3]
1D graphical spectrum analyser (realtime ADC response graph plotted)

[3]
2D graphical spectrum analyser (realtime ADC response graph plotted)