It you're trying to sync two AC signals I would think the easiest/most reliable way would be to use the zero-crossings.