Kitz ADSL Broadband Information
adsl spacer  
Support this site
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
   Glossary   Glossary
 
Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1] 2

Author Topic: Potential Line Length Calculation using Broadcom Diagnostics  (Read 3747 times)

boozy

  • Reg Member
  • ***
  • Posts: 130

I've been playing with the outputs from the Broadcom Diagnostics Tool and have come across a possible way of calculating line length.

My line was last reported by OR as 876m and from the Diagnostics output I get 890m.

I've also added a calculation from the high tones down, which should match on a good line (mine doesn't, but the value is where I think a fault lies - so might be good).

Curious if others try it or post the output to the "Run Hybrid Response Test" under the AFE menu.  This *will* cause a disconnect as it is done before sync, so bear that in mind when playing.

The range is likely limited to under 1km as I'm using a lookup rather than a calculation (as the accuracy will never be 100%), but it will try up to 7.4Km...  7.4Km is unlikely to be measurable as that would be about 2 tones per sinusoid.

The code is anything but clean, given everything I was experimenting with, but I will tart it up and post it...  Linux friendly for b*cat.
Logged

burakkucat

  • Respected
  • Senior Kitizen
  • *
  • Posts: 38300
  • Over the Rainbow Bridge
    • The ELRepo Project
Re: Potential Line Length Calculation using Broadcom Diagnostics
« Reply #1 on: July 16, 2018, 04:36:14 PM »

The code is anything but clean, given everything I was experimenting with, but I will tart it up and post it...  Linux friendly for b*cat.

Thank you. I would be interested to see what you have done.  :)

As for running the diagnostics program, The Cattery is BGW-system free and I have no intention of creating a 'doze execution environment in which to run the utility.  :(

Looking at your "Lengths" plot, considering that which is more positive than -22.5 (is dBm the unit?) and if one discounts the "manic" low frequencies (sub-carrier 384 and below), is there a semi-symmetric point around sub-carrier 2304?  :-\
Logged
:cat:  100% Linux and, previously, Unix. Co-founder of the ELRepo Project.

Please consider making a donation to support the running of this site.

boozy

  • Reg Member
  • ***
  • Posts: 130
Re: Potential Line Length Calculation using Broadcom Diagnostics
« Reply #2 on: July 16, 2018, 06:12:15 PM »

I'm a bit more ecumenical in my OSes (Bill has had me over to Seattle twice, so I will always be a loss maker for him), I run many different ones.

It's badged as a HLog graph as shown by the tool but under the covers it has three outputs - hybrid response data (4096 points), Impulse Response Data (8192 points) and Phasese Response Data (4096 points between +/- 3.125...  I assume pi for now).

It was the manic bit piqued my interest.  There are clearly 2 sinusoids in the graph; one more noticeable in the low tones which attenuates quickly, but is present throughout, and one you've picked up by the symmetry.  I tried to autocorrelate, but failed in the low tones, then couldn't get a good fit for a sine wave as there were two interacting (but I feel if I reverse out the 27 and 250 using a sine function with some attenuation built in, I learn something more) - so looked at all the minima and maxima.

There were two clear periods in the data one of 27 tones and one about 250 tones, as well as extra fun caused by the interactions.  I tinkered up some code to measure across 4 avoiding noise, to give slightly more accuracy, and then looked up the distance needed for that reflection.

:) - that nearly took more typing than the code.

Edit: forgot to state the obvious.  The shortest period sinusoid should always be the line length (as that's the furthest thing measured) and if there is a second (or third) sinusoid - it'll be between the start point and the line end (hence why I calculated from each end of the frequency range, as the furthest response should attenuate quicker, leaving any other reflection visible).
« Last Edit: July 16, 2018, 06:33:07 PM by boozy »
Logged

boozy

  • Reg Member
  • ***
  • Posts: 130
Re: Potential Line Length Calculation using Broadcom Diagnostics
« Reply #3 on: July 16, 2018, 10:13:28 PM »

Here's code and some data - it may work immediately under mono (or chartarea may be a problem).

I've just noticed some missing code on the length lookups, it may fail for short lengths.  I'll have a play (and finish tidying the code later).
Logged

konrado5

  • Reg Member
  • ***
  • Posts: 896
Re: Potential Line Length Calculation using Broadcom Diagnostics
« Reply #4 on: July 18, 2018, 12:07:19 AM »

Perhaps hybrid response test is related to hybrid circuit. I've found some information on hybrid circuit on pages 18-19. There is also similar graph on page 19.
http://www.ti.com/lit/an/slyt091/slyt091.pdf
Logged

banger

  • Kitizen
  • ****
  • Posts: 1186
  • TTB 80/20
Re: Potential Line Length Calculation using Broadcom Diagnostics
« Reply #5 on: July 18, 2018, 01:33:42 AM »

Boozy where did you download the Win Diagnostics Tool. I have googled and come up with nothing.
Logged
Tim
talktalkbusiness.net & freenetname
Asus RT-AC68U and ZyXEL VMG1312-B10A Bridge on 80 Meg TTB Fibre

https://www.thinkbroadband.com/speedtest/1502566996147131655

boozy

  • Reg Member
  • ***
  • Posts: 130
Re: Potential Line Length Calculation using Broadcom Diagnostics
« Reply #6 on: July 18, 2018, 10:20:56 AM »

It’s just further down in this forum category (phone won’t give me a link to post) call Broadcom DSL Diagnostic... the download is on post 55.
Logged

johnson

  • Reg Member
  • ***
  • Posts: 838
Re: Potential Line Length Calculation using Broadcom Diagnostics
« Reply #7 on: July 18, 2018, 10:32:20 AM »

This one I assume:

https://forum.kitz.co.uk/index.php/topic,11293.0.html

Seems that link wants some login credentials now though....

Edit: Silly me didnt read the rest of the thread, working link here:
https://forum.kitz.co.uk/index.php/topic,11293.msg255970.html#msg255970
« Last Edit: July 18, 2018, 10:34:59 AM by johnson »
Logged

boozy

  • Reg Member
  • ***
  • Posts: 130
Re: Potential Line Length Calculation using Broadcom Diagnostics
« Reply #8 on: July 18, 2018, 08:51:24 PM »

Thanks @konrado5.

Useful document, that also implies that the impulse response should be looked at in two halves, I've named them how I hope they are (but I have no idea if that's correct :))

The code for the graphs is:

            DrawLine(impulse1Data, "Impulse 1",0, -200);
            DrawLine(Reverse(impulse2Data), "Impulse 2",0, -200);

should anyone want to play with them.

and I can embarrassedly add that Arrays have a .Reverse Method...  I'll pretend mine is more efficient  :P

[attachment deleted by admin]
« Last Edit: July 18, 2018, 09:13:51 PM by boozy »
Logged

banger

  • Kitizen
  • ****
  • Posts: 1186
  • TTB 80/20
Re: Potential Line Length Calculation using Broadcom Diagnostics
« Reply #9 on: July 18, 2018, 08:54:17 PM »

Thanks. :)
Logged
Tim
talktalkbusiness.net & freenetname
Asus RT-AC68U and ZyXEL VMG1312-B10A Bridge on 80 Meg TTB Fibre

https://www.thinkbroadband.com/speedtest/1502566996147131655

konrado5

  • Reg Member
  • ***
  • Posts: 896
Re: Potential Line Length Calculation using Broadcom Diagnostics
« Reply #10 on: July 18, 2018, 09:32:14 PM »

But it seems to me that it is not related to TDR. It is test of modem AFE.
Logged

boozy

  • Reg Member
  • ***
  • Posts: 130
Re: Potential Line Length Calculation using Broadcom Diagnostics
« Reply #11 on: July 18, 2018, 10:42:30 PM »

@konrado5 - QLN is nothing to do with TDR either, but provides useful information :)  It's useful to correlate the numbers to existing known graphs, as the only clue in the file is "time domain".  I'm not 100% so I'm not saying what I think it is yet.
Logged

konrado5

  • Reg Member
  • ***
  • Posts: 896
Re: Potential Line Length Calculation using Broadcom Diagnostics
« Reply #12 on: July 18, 2018, 11:04:31 PM »

boozy: what do you think about my Hlog graph?
Logged

boozy

  • Reg Member
  • ***
  • Posts: 130
Re: Potential Line Length Calculation using Broadcom Diagnostics
« Reply #13 on: July 19, 2018, 01:04:18 PM »

Konrad:  there are 2 pairs of dips in the HLog, but neither set could be caused by anything I know about (although I don’t really know about all the things which could cause it).  The first 2 are most mysterious as there’s only 2...  my understanding is that any effect should appear regularly in relation to the wavelength I.e. if there’s something at 400khz there should be another at 800 and 1200 etc. The second pair could show that, but as the dip is so small I don’t know what it could be (change in gauge or material? - don’t know, could only guess).

I’ll pull out the bit of the document that took my interest when I get home. Don’t know if it’ll lead anywhere, but it’s always interesting to find correlations as the results can be surprising.
Logged
Pages: [1] 2
 

anything