Community
Wiki Posts
Search
Like Tree8Likes

Lap Timing Decoder

Thread Tools
 
Search this Thread
 
Old 04-10-2013 | 11:46 AM
  #181  
Tech Initiate
 
Joined: Feb 2013
Posts: 29
Default

Hi Payalneg,
nice to hear about progress. I did decoder in cpld (VHDL in lattice machx02) but as far as i can tell it is overkill. I had bpsk to spi converter in cpld but i still needed mcu for pc interfacing. I choose to override need for cpld by using faster mcu.

regards

Brano
OM2KW is offline  
Old 04-10-2013 | 12:13 PM
  #182  
Tech Initiate
 
Joined: Dec 2012
Posts: 48
Default

Originally Posted by OM2KW
Hi Payalneg,
nice to hear about progress. I did decoder in cpld (VHDL in lattice machx02) but as far as i can tell it is overkill. I had bpsk to spi converter in cpld but i still needed mcu for pc interfacing. I choose to override need for cpld by using faster mcu.

regards

Brano
I just did today programmer for epm3064. Today, digital phase detector will be finished by Howard. Calculate crc via cpld probably not a problem Wait and see.
I posted a couple of posts above MCU computer
Payalneg is offline  
Old 04-10-2013 | 12:27 PM
  #183  
Tech Initiate
 
Joined: Feb 2013
Posts: 29
Default

Originally Posted by Payalneg
I just did today programmer for epm3064. Today, digital phase detector will be finished by Howard. Calculate crc via cpld probably not a problem Wait and see.
I posted a couple of posts above MCU computer
you have more option in cpld. I used different approach. I measured pulse widht in cpld and ignored too short and too long pulses. So you can take in to account only pulses let say between 90-110ns for normal and 170-220 for phase change pulses. In this case you can align perfectly to pulse edge and can have tolerance for freq deviation.
OM2KW is offline  
Old 04-16-2013 | 06:48 AM
  #184  
howardcano's Avatar
Thread Starter
Tech Elite
iTrader: (37)
 
Joined: Jan 2012
Posts: 3,783
From: Olathe, KS
Default

Originally Posted by OM2KW
you have more option in cpld. I used different approach. I measured pulse widht in cpld and ignored too short and too long pulses. So you can take in to account only pulses let say between 90-110ns for normal and 170-220 for phase change pulses. In this case you can align perfectly to pulse edge and can have tolerance for freq deviation.
You'll probably want to change your criteria for detecting a phase change. Some transponders (particularly MRT PTX) will generate two short pulses rather than one long pulse during a phase change, due to the tuning and relatively high Q of the tank circuit. If the detector ignores the short pulses, it will miss the phase change.
howardcano is offline  
Old 04-19-2013 | 04:57 AM
  #185  
Tech Initiate
 
Joined: Dec 2012
Posts: 48
Default

Howard, if you need Digital Phase Detector in CLPD, please PM me.
Payalneg is offline  
Old 04-20-2013 | 02:37 AM
  #186  
howardcano's Avatar
Thread Starter
Tech Elite
iTrader: (37)
 
Joined: Jan 2012
Posts: 3,783
From: Olathe, KS
Default

Originally Posted by Payalneg
Howard, if you need Digital Phase Detector in CLPD, please PM me.
This is exciting! Can you fit all of the digital circuitry into the PLD?
howardcano is offline  
Old 04-20-2013 | 07:33 AM
  #187  
Tech Initiate
 
Joined: Dec 2012
Posts: 48
Default

Originally Posted by howardcano
This is exciting! Can you fit all of the digital circuitry into the PLD?
I think yes. I will start this work after test my device
Payalneg is offline  
Old 04-21-2013 | 02:10 AM
  #188  
Tech Initiate
 
Joined: Apr 2013
Posts: 46
Default

really very interesting these posts!
I'm french, I'll try to make the phase detector ? Do you think it's possible to connect the phase detector after the original AMB loop (wire with 470ohm resisitor and balun) ?
to reduce the parasitic noises, why not put a 5MHz filter before the amplifier loop?

thanks
luluFRA is offline  
Old 04-21-2013 | 05:21 AM
  #189  
howardcano's Avatar
Thread Starter
Tech Elite
iTrader: (37)
 
Joined: Jan 2012
Posts: 3,783
From: Olathe, KS
Default

Originally Posted by luluFRA
really very interesting these posts!
I'm french, I'll try to make the phase detector ? Do you think it's possible to connect the phase detector after the original AMB loop (wire with 470ohm resisitor and balun) ?
to reduce the parasitic noises, why not put a 5MHz filter before the amplifier loop?

thanks
You'll still need amplification and a comparator with some hysteresis to create the digital input levels necessary for the phase detector. The tank circuit formed by the timing loop and its parallel capacitance filters at 5 MHz, so it would be best to not use the 470R resistor and balun transformer. It might be possible to use more filtering, but if you use too much then the system won't follow the modulation very well. It's certainly worth trying if there are noise problems.
howardcano is offline  
Old 04-21-2013 | 11:08 AM
  #190  
Tech Initiate
 
Joined: Apr 2013
Posts: 46
Default

Originally Posted by howardcano
You'll still need amplification and a comparator with some hysteresis to create the digital input levels necessary for the phase detector. The tank circuit formed by the timing loop and its parallel capacitance filters at 5 MHz, so it would be best to not use the 470R resistor and balun transformer. It might be possible to use more filtering, but if you use too much then the system won't follow the modulation very well. It's certainly worth trying if there are noise problems.
OK,

What is the unit used to make your loop? foot, inch ?
I think is foot.
For an outdoor application on our circuit I need a 1' x 13' minimum loop.
What is the minimal input level for the pase detector circuit ?

I think I'll start with your installation with your loop decoding to understand and see the analog levels.

thanks.
luluFRA is offline  
Old 04-22-2013 | 03:38 AM
  #191  
howardcano's Avatar
Thread Starter
Tech Elite
iTrader: (37)
 
Joined: Jan 2012
Posts: 3,783
From: Olathe, KS
Default

Originally Posted by luluFRA
OK,

What is the unit used to make your loop? foot, inch ?
I think is foot.
For an outdoor application on our circuit I need a 1' x 13' minimum loop.
What is the minimal input level for the pase detector circuit ?

I think I'll start with your installation with your loop decoding to understand and see the analog levels.

thanks.
I'm using a 1x8 foot loop. You can use a larger or smaller loop by changing C1 in the loop amplifier to make the loop resonate at 5 MHz. (The tuning is not very critical.) For experimentation, it's easiest to just use a trim capacitor for C1.

The phase detector requires 5V CMOS logic levels: <0.6V low, > 4.4V high.

Here are the schematics for the loop amp and phase detector input amp, which should be used together:

http://www.rctech.net/forum/11802000-post68.html
howardcano is offline  
Old 04-23-2013 | 11:58 AM
  #192  
Tech Initiate
 
Joined: Apr 2013
Posts: 46
Default

I have done the loop amplifier. I have only 140mV peak to peak AMB transponder, the signal level is it correct before I build the phase detector input amp ? On the 42 post you have 200mV peak to peak.


Thanks.

Last edited by luluFRA; 04-23-2013 at 12:31 PM.
luluFRA is offline  
Old 04-23-2013 | 12:58 PM
  #193  
howardcano's Avatar
Thread Starter
Tech Elite
iTrader: (37)
 
Joined: Jan 2012
Posts: 3,783
From: Olathe, KS
Default

Originally Posted by luluFRA
I have done the loop amplifier. I have only 140mV peak to peak AMB transponder, the signal level is it correct before I build the phase detector input amp ? On the 42 post you have 200mV peak to peak.


Thanks.
That will work fine. The phase detector input amplifier provides the rest of the gain needed.
howardcano is offline  
Old 04-25-2013 | 12:21 PM
  #194  
Tech Initiate
 
Joined: Apr 2013
Posts: 46
Default

I have a problem with the phase detector input amplifier.
When I connect Q4 output to the 74HC04 input, the signal is disturbs. Before the 74HC04 input, signal is perfect centered to 2,5 V.
Have you met this problem before ?
thanks
luluFRA is offline  
Old 04-25-2013 | 12:29 PM
  #195  
howardcano's Avatar
Thread Starter
Tech Elite
iTrader: (37)
 
Joined: Jan 2012
Posts: 3,783
From: Olathe, KS
Default

Originally Posted by luluFRA
I have a problem with the phase detector input amplifier.
When I connect Q4 output to the 74HC04 input, the signal is disturbs. Before the 74HC04 input, signal is perfect centered to 2,5 V.
Have you met this problem before ?
thanks
That isn't a problem. What you have observed is normal.
howardcano is offline  


Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service -

Copyright © 2026 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.