Gradually changing the phase of a signal

  • Thread starter Thread starter jmjsilvester
  • Start date Start date
  • Tags Tags
    Phase Signal
AI Thread Summary
A square wave with a frequency of 0.5 seconds is being used to match the phase with a periodic pulse of the same frequency. The user seeks a method to allow the phase of the square wave to drift slowly until it aligns with the pulse phase, with an on/off control to manage this drift. A suggestion was made to utilize a Phase Lock Loop (PLL) to achieve this, where a Voltage-Controlled Oscillator (VCO) generates the square wave and adjusts its frequency based on the reference pulse. This approach could help maintain synchronization between the two signals. Exploring PLLs may provide the necessary solution for phase matching.
jmjsilvester
Messages
4
Reaction score
0
Hello all.

I have produced a square wave with a given frequency (period of about 0.5 seconds). I am trying to match the phase of the square wave with a periodic pulse of the same frequency. I can detect when I have acheved the phase difference between them of zero but I need a way to initially match up the phases.

I was wondering if there is any way that I can let the phase of the square wave slowly drift until I detect that they are in phase. An on/off signal to start and stop the drift would be ideal so that I could stop it drifting when required and let it drift again if they get out of sync.

Thanks in advanced
 
Engineering news on Phys.org
jmjsilvester said:
Hello all.

I have produced a square wave with a given frequency (period of about 0.5 seconds). I am trying to match the phase of the square wave with a periodic pulse of the same frequency. I can detect when I have acheved the phase difference between them of zero but I need a way to initially match up the phases.

I was wondering if there is any way that I can let the phase of the square wave slowly drift until I detect that they are in phase. An on/off signal to start and stop the drift would be ideal so that I could stop it drifting when required and let it drift again if they get out of sync.

Thanks in advanced

How are you making the square wave now? Can you post the circuit?
 
jmjsilvester said:
Hello all.

I have produced a square wave with a given frequency (period of about 0.5 seconds). I am trying to match the phase of the square wave with a periodic pulse of the same frequency. I can detect when I have acheved the phase difference between them of zero but I need a way to initially match up the phases.

I was wondering if there is any way that I can let the phase of the square wave slowly drift until I detect that they are in phase. An on/off signal to start and stop the drift would be ideal so that I could stop it drifting when required and let it drift again if they get out of sync.

Thanks in advanced

What you described sounds like a typical phase lock loop! You use the VCO to generate the square wave, then mix with the reference pulse and it will to generate the control voltage to control the frequency of the VCO. Look up Phase Lock Loop ( PLL) and see whether that helps.
 
Last edited:
I have recently moved into a new (rather ancient) house and had a few trips of my Residual Current breaker. I dug out my old Socket tester which tell me the three pins are correct. But then the Red warning light tells me my socket(s) fail the loop test. I never had this before but my last house had an overhead supply with no Earth from the company. The tester said "get this checked" and the man said the (high but not ridiculous) earth resistance was acceptable. I stuck a new copper earth...
Thread 'Electromagnet magnetic field issue'
Hi Guys We are a bunch a mechanical engineers trying to build a simple electromagnet. Our design is based on a very similar magnet. However, our version is about 10 times less magnetic and we are wondering why. Our coil has exactly same length, same number of layers and turns. What is possibly wrong? PIN and bracket are made of iron and are in electrical contact, exactly like the reference design. Any help will be appreciated. Thanks. edit: even same wire diameter and coil was wounded by a...
Thread 'Beauty of old electrical and measuring things, etc.'
Even as a kid, I saw beauty in old devices. That made me want to understand how they worked. I had lots of old things that I keep and now reviving. Old things need to work to see the beauty. Here's what I've done so far. Two views of the gadgets shelves and my small work space: Here's a close up look at the meters, gauges and other measuring things: This is what I think of as surface-mount electrical components and wiring. The components are very old and shows how...
Back
Top