R/C Tech Forums

R/C Tech Forums (https://www.rctech.net/forum/)
-   Radio and Electronics (https://www.rctech.net/forum/radio-electronics-137/)
-   -   Lap Timing Decoder (https://www.rctech.net/forum/radio-electronics/688671-lap-timing-decoder.html)

OM2KW 04-10-2013 11:46 AM

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

Payalneg 04-10-2013 12:13 PM


Originally Posted by OM2KW (Post 12031493)
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

OM2KW 04-10-2013 12:27 PM


Originally Posted by Payalneg (Post 12031563)
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.

howardcano 04-16-2013 06:48 AM


Originally Posted by OM2KW (Post 12031599)
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.

Payalneg 04-19-2013 04:57 AM

Howard, if you need Digital Phase Detector in CLPD, please PM me.
http://cs319029.vk.me/v319029346/9afb/V0XOZwtyE5k.jpg

howardcano 04-20-2013 02:37 AM


Originally Posted by Payalneg (Post 12063217)
Howard, if you need Digital Phase Detector in CLPD, please PM me.
http://cs319029.vk.me/v319029346/9afb/V0XOZwtyE5k.jpg

This is exciting! Can you fit all of the digital circuitry into the PLD?

Payalneg 04-20-2013 07:33 AM


Originally Posted by howardcano (Post 12066407)
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

luluFRA 04-21-2013 02:10 AM

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

howardcano 04-21-2013 05:21 AM


Originally Posted by luluFRA (Post 12069148)
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.

luluFRA 04-21-2013 11:08 AM


Originally Posted by howardcano (Post 12069345)
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.

howardcano 04-22-2013 03:38 AM


Originally Posted by luluFRA (Post 12070143)
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

luluFRA 04-23-2013 11:58 AM

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.

howardcano 04-23-2013 12:58 PM


Originally Posted by luluFRA (Post 12078106)
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.

luluFRA 04-25-2013 12:21 PM

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

howardcano 04-25-2013 12:29 PM


Originally Posted by luluFRA (Post 12085847)
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.


All times are GMT -7. It is currently 01:32 AM.

Powered By: vBulletin v3.9.3.9 Patch Level 3
Copyright © 2026 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.