- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Every one,
I want to detect phase of my input signal. Is there any possibilty to do that using counter or pwm?
Looking forward for your reply!
Regards
Awais
Solved! Go to Solution.
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, looks like a PLL. I cannot see exactly what the capture input for your counters is generated from.
What is the input frequency range? Width of the counters?
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Some more information needed:
Analog signal or digital?
Phase compared to what?
Frequency of signal?
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Signal: Digital
Frequency: 500Hz to 1KHz
I want to detect the phase of the signal comming out of my comparator.
Awais
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Probably I am stumbling over the language barrier, sorry.
What do you understand by the "phase" of a digital signal, it is just a bit-stream. In my understanding the "phase" is something you compare to another signal. Or are you reflecting to the edge transitions high-low and low->high?
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry, I make it a little complicated.
Its actually a frequency counter, I want to compare the frequency and phase of the signal with my input signal (actual signal). For that i was thinking about to use a counter with PWM but i am not sure about it.
My input signal is a sine wave so, for that i converted into square wave using logic signals. But, I am also getting some trouble in selecting the clocks.
I attached a pic what i make so far, may b you will better get the idea.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, looks like a PLL. I cannot see exactly what the capture input for your counters is generated from.
What is the input frequency range? Width of the counters?
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content