I played a bit today with my two modules to sync together the maf-lfo. bas program. I can't use P6 or P7 to sync since I dedicated those to i2c so I used aux instead. I commented out the aux lines in the program and created a master and slave version. It would be simple enough to modify the program to use P6 or P7 to synchronize the modules. The slave version looks for both edges of aux for the pause function. The master version sets aux high for the duration of the pause. It seemed to work pretty good although I didn't put the time into it to consider if it would function correctly in extreme tolerance cases. It cerainly works good enough to validate the master / slave arrangement. I frequency modulate the master PSIM and they are locked together now after about 30 minutes. Photo and programs in the Files > BasicAtomPro > Original PSIM > Dave Brown folder. Scope capture is synced mal-lfo2.jpg yellow is aux sync magenta and cyan are out1 of my two modules Master program which drives aux is maf-lfo2-master.bas Slave program which listens to aux is maf-lfo2-slave.bas Dave --- In ComputerVoltageSources@yahoogroups.com, "Gary Chang" <gchang@. ..> wrote: > > Being one of very few that has more than one of the PSIM-1 module, I > did a little test to evaluate the relative timing accuracy of the > PSIM'S internal clock, by loading the maf-lfo2.bas application into > each of three modules and starting them with a common start pulse. > > The test results can be heard in an mp3 called PSIM mayhem, found in > the files folder of this group. > > So - it looks as if we are going to need an external sync reference to > get these guys to be time reliable. Probably a simple pilot tone > (such as a vco) would be the easiest to reference.... > > GC >
Message
Re: Atompro timing anomolies....
2007-01-28 by djbrow54
Attachments
- No local attachments were found for this message.