I sort of follow this. Don't these devices phase-lock to the
frequency of the pilot tone? The AtomPro doesn't have the processing
capability nor the phase-lock capabilities to do any of this. Even if
you replace the resonator with an xtal, you still have to synchronize
them due to power-on and instruction execution differences. As such,
I think each PSIM needs to be externally synchronized to some type of
external unit.
What kind of time resolution is required for events? 1 mS, 10 mS?
There isn't much time available in a 1 mS interrupt routine but there
might be in a 10 mS interval. That would allow the main code to
execute and calculate output values, and then an interrupt routine
could actually do the output. Just setting the four DACs requires
~760 uS. However, if the interrupt latency was the same for each PSIM
depending upon the code, they would more or less stay in sync but just
be delayed from the external clock. That might work.
It seems to me that this external unit could translate the pilot
tone into an appropriate external clock and sync for the PSIMs. P6
and P7 could be used for external clocks. Both can be setup for
external edge interrupts so one could be used for a master
synchronized reset and one could be used for a clock. Or, if latency
could be tolerated, for serial communication where the data provides
the intelligence as to clock or reset. Multiple PSIMs could each
monitor the same master signals.
Does such a unit exist? I would think there could be pilot tone
clocking units. I have no first hand knowledge of any of this.
Dave
--- In
ComputerVoltageSources@yahoogroups.com, "Gary Chang" <gchang@.
..> wrote:
> they use a master sync source to synchronize each an every device.
> In the case of the PSIM, to simply be able to record a tone on my
> DAW and then play it back, each time triggering the PSIM to play
> at the EXACT same tempo