Author Topic: Do it yourself 50 ohm BNC to alligator clip cable for function generator  (Read 3654 times)

0 Members and 1 Guest are viewing this topic.

Offline robsimsTopic starter

  • Regular Contributor
  • *
  • Posts: 243
  • Country: sr
Hi. i need a BNC to alligator cable for my function generator. I'm new to electronics and this is my first generator. I want to make the cable myself, because it will take up to 4 weeks to get a cable to my country. The local electronic shop doesn't have cables.  I want to know if i'm on the right track. I bought a BNC connector, 2 meters of standard 50 ohm coax cable and a black and red alligator clip. What is the maximum length the cable can have? What do i need to do to make the cable perfect or what do i need to do to prevent making a poor quality cable?
« Last Edit: July 10, 2019, 08:47:35 pm by robsims »
 

Online tggzzz

  • Super Contributor
  • ***
  • Posts: 19516
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
What frequencies and voltages do you want to use?

The frequency determines the length, the voltage the cable type. As you are a beginner, I hope the latter is unimportant!
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 

Offline robsimsTopic starter

  • Regular Contributor
  • *
  • Posts: 243
  • Country: sr
I see on the net that a 50 ohm cable (coax cable) is the impedance of the cable itself. Do i need that cable, or a cable pair (normal cable) with a total resistance of 50 ohm?
 

Offline robsimsTopic starter

  • Regular Contributor
  • *
  • Posts: 243
  • Country: sr
The generator is a siglent SDG 810. Max frequency is 10 mhz and max voltage is 20 volt pp. So i want to be able to do tests at max frequency and voltage
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28382
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
The generator is a siglent SDG 810. Max frequency is 10 mhz and max voltage is 20 volt pp. So i want to be able to do tests at max frequency and voltage
Things to note, 20Vp-p is only available into a HiZ load.
Whatever load setting you select, the source impedance is always 50 ohms.

In the menus check that output protection is turned ON so that for a AWG beginner there is less chance of damaging the output stages if connection is to a powered circuit.
The datasheet and manual has more info about this.

For general LF and normal amplitude levels nearly any type of connection will work but for fast edges ringing can be a problem if the output is not terminated into 50 ohms.
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 
The following users thanked this post: robsims

Offline thm_w

  • Super Contributor
  • ***
  • Posts: 6389
  • Country: ca
  • Non-expert
I see on the net that a 50 ohm cable (coax cable) is the impedance of the cable itself. Do i need that cable, or a cable pair (normal cable) with a total resistance of 50 ohm?

The cable will say "RG58" or something like that on the side, 50 ohm impedance, sounds like you have the right cable.
Attenuation is 10dB at 50MHz and 100m length, so any sort of length you'd want to use will be fine (<5m).

Heatshrink and some short wires to extend the leads out 5cm or so would be recommended.
Profile -> Modify profile -> Look and Layout ->  Don't show users' signatures
 
The following users thanked this post: robsims

Offline robsimsTopic starter

  • Regular Contributor
  • *
  • Posts: 243
  • Country: sr
Hi Tautech, many thanks for the advice
 

Offline robsimsTopic starter

  • Regular Contributor
  • *
  • Posts: 243
  • Country: sr
Yes thm_w,  like "Coax cable 50 ohm", "RG58" is also is imprinted on the piece of coax cable. I bought 2 meters of the coax cable. Can i just connect/solder the BNC connector on one end and the alligator clips on the other end of the cable or do i have to take other things into consideration?
 

Offline robsimsTopic starter

  • Regular Contributor
  • *
  • Posts: 243
  • Country: sr
Did not read you're post fully thm_w. Cable is fine and i need to extend it with short wires for the alligator clips. 
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28382
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Did not read you're post fully thm_w. Cable is fine and i need to extend it with short wires for the alligator clips.
Pay particular attention to strain relief.  ;)
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 
The following users thanked this post: robsims

Offline robsimsTopic starter

  • Regular Contributor
  • *
  • Posts: 243
  • Country: sr
Many thanks for you're help Tautech and thm_w. I'm going to make the cable right away.
 

Online radiolistener

  • Super Contributor
  • ***
  • Posts: 3383
  • Country: ua
alligator clips will be unusable for frequencies more than 1-2 MHz. High frequency should be delivered through transmission line with constant impedance. Coax line has constant impedance and it can be used, BNC connector also can be used. But usual wires with alligators cannot have constant impedance it will leads to random reflections, interference and radiation loss. You can use it with no issues for DC voltage or at frequencies below 100 kHz.

You can buy such cable on aliexpress: https://www.aliexpress.com/item/32816571566.html
It's price is just 1-2 usd.

if you decide to build your own cable, then try to make wires from coax cable to alligators as short as possible, it will reduce negative effect on high frequency.
« Last Edit: July 11, 2019, 01:43:21 am by radiolistener »
 
The following users thanked this post: tautech

Offline MarkF

  • Super Contributor
  • ***
  • Posts: 2550
  • Country: us
F.Y.I.
You might like a BNC to Minigrabber Test Lead instead of the alligator clips.

Or one of each:   BNC Test Leads Set

« Last Edit: July 11, 2019, 01:59:00 am by MarkF »
 

Offline robsimsTopic starter

  • Regular Contributor
  • *
  • Posts: 243
  • Country: sr
My scope has 2 cables, for the two outputs. Can i use one of the scope cables, because i think the scope cables are of higher quality? If not, than i will make the cable for the function generator myself. I will use the 50 ohm coax cable, with the BNC connector. I will make sure the cables to the alligator clips will be short.
« Last Edit: July 11, 2019, 02:57:17 am by robsims »
 

Offline robsimsTopic starter

  • Regular Contributor
  • *
  • Posts: 243
  • Country: sr
One thing i still don't understand is the 50 ohm. What do they mean by 50 ohm on the coax cable. The resistance of the cables is not 50 ohms. I read on the net that it is for better transfer of electronic signals.
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28382
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
One thing i still don't understand is the 50 ohm. What do they mean by 50 ohm on the coax cable. The resistance of the cables is not 50 ohms. I read on the net that it is for better transfer of electronic signals.
It's not about resistance but impedance.
So a 50 ohm impedance source >50 ohm impedance cable (and connectors)>50 ohm load is an impedance matched system. It really matters for fast frequencies and fast edges.

Have a study here:
https://www.eevblog.com/forum/testgear/show-us-your-square-wave/
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 
The following users thanked this post: robsims

Offline robsimsTopic starter

  • Regular Contributor
  • *
  • Posts: 243
  • Country: sr
Thanks Tautech, i get it now
 
The following users thanked this post: tautech

Offline MarkF

  • Super Contributor
  • ***
  • Posts: 2550
  • Country: us
My scope has 2 cables, for the two outputs. Can i use one of the scope cables, because i think the scope cables are of higher quality? If not, than i will make the cable for the function generator myself. I will use the 50 ohm coax cable, with the BNC connector. I will make sure the cables to the alligator clips will be short.

If you are talking about 1x/10x scope probes, no you can not use them.
See a video Dave did on scope probes (time 17:00)

   
 
The following users thanked this post: robsims

Online radiolistener

  • Super Contributor
  • ***
  • Posts: 3383
  • Country: ua
One thing i still don't understand is the 50 ohm. What do they mean by 50 ohm on the coax cable. The resistance of the cables is not 50 ohms. I read on the net that it is for better transfer of electronic signals.

this is impedance, it depends on relation of distributed inductance to distributed capacitance of the cable.

In simple words, it means that cable will have 50 Ohm for just very short period of time, this short period of time is the time of electromagnetic wave propagation forth and back in the cable. As you know, it is moving with a speed of light, this is very-very fast. So, you can measure such 50 Ohm for very-very short period of time. When the wave come back to the input of cable it will change it's input resistance. The new resistance will depends on frequency, cable length and load resistance on the second end of the cable.

So, you cannot measure impedance with multimeter, because it's too slow for such measurements. There are exists special equipment for such measurements. For example, vector analyzers. You can also measure it with LC meter.

Actually the things is a little more complicated, because wave propagation speed also depends on distributed inductance and distributed capacitance of the cable. What you're needs to know is relation between impedance and distributed inductance and distributed capacitance in transmission line:

Z = sqrt( L / C )

and wave propagation speed:

v = 1 / sqrt( L * C )

Where:
L - distributed inductance [H/m]
C - distributed capacitance [F/m]

You can use LC meter in order to measure L and C values. Use long piece of cable for better precision (for example 5-10 meters), because short piece of cable has too small capacitance and inductance and it will be hard to measure.

Then measure L of the cable shortened on the second end. And measure C of the cable open on the second end. Then divide these values with cable length. For impedance you can just ignore cable length and use total L and C of the cable. For wave propagation speed you're need to divide it with cable length.

Usual RG58 coax cable has about the following L and C:
C = 100 [pF/m]
L  = 250 [nH/m].

It may vary for different manufacturer. Let's calculate it's impedance:

Z = sqrt( 0.000000250 / 0.000000000100 ) = sqrt( 2500 ) = 50 [Ohm]

v = 1 / sqrt( 0.000000250 * 0.000000000100 ) = 1 / sqrt( 0.000000000000000025 ) = 1 / 0.000000005 = 200'000'000 [m/s]

As you know, speed of light in the vacuum is 299'792'458 [m/s], so the wave propagation speed in RG58 cable will be slower than  speed of light in the vacuum. The relation of this speed to the speed of light in the vacuum is known as velocity factor of the cable:

RG58 velocity factor = v / c = 200'000'000 / 299'792'458 = 0.667

In the same way you can calculate impedance and wave propagation speed in the vaccum. Distributed inductance and capacitance of the vacuum are known as physics constants - magnetic permeability and electric permittivity of the vaccuum:

L = μ0 = 4 * pi * 1e-7  [H/m]
C = ε0 = 8.8541878128e-12 [F/m]

Z = sqrt( (4 * pi * 1e-7) / 8.8541878128e-12 ) = 376.73 [Ohm]

v = 1 / sqrt( (4 * pi * 1e-7) * 8.8541878128e-12 ) = 299'792'458 [m/s]

This 376 [Ohm] is known as impedance of free space.
And this 299'792'458 [m/s] is known as speed of light in the vacuum. :)

Now you're ready to understand - simple wires with alligators will have random and variable inductance and capacitance through it's length. This is why it's impedance will not be constant through it's length. And this is why it so much affects measurements for high frequencies.
« Last Edit: July 11, 2019, 04:43:47 am by radiolistener »
 
The following users thanked this post: robsims

Offline robsimsTopic starter

  • Regular Contributor
  • *
  • Posts: 243
  • Country: sr
Many thanks for the info radiolistener. Okay, i will make the cable. The 2 meter 50 ohm coax cable i bought is good. I have already attached the BNC connector. Tomorrow i will attach the alligator clips.
« Last Edit: July 11, 2019, 04:37:31 am by robsims »
 

Online tggzzz

  • Super Contributor
  • ***
  • Posts: 19516
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
My scope has 2 cables, for the two outputs. Can i use one of the scope cables, because i think the scope cables are of higher quality? If not, than i will make the cable for the function generator myself. I will use the 50 ohm coax cable, with the BNC connector. I will make sure the cables to the alligator clips will be short.

You need to understand the basic theory and practice of different types of scope probes. I suggest you have a look at the links at https://entertaininghacks.wordpress.com/library-2/scope-probe-reference-material/

I also recommend you have a look at some of those safety links, so that you don't accidentally cause loud noises and clouds of smoke.
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 
The following users thanked this post: robsims

Offline bsfeechannel

  • Super Contributor
  • ***
  • Posts: 1667
  • Country: 00
There is a nice tutorial embedded in the video below on how to solder alligator clip leads to coaxial cable.



It starts at 22min and goes up to 30min.
 
The following users thanked this post: robsims

Offline robsimsTopic starter

  • Regular Contributor
  • *
  • Posts: 243
  • Country: sr
Very informative vid . Nice to see how to attach alligator clips the proper way.
« Last Edit: July 12, 2019, 12:43:58 am by robsims »
 

Offline Gyro

  • Super Contributor
  • ***
  • Posts: 9507
  • Country: gb
The generator is a siglent SDG 810. Max frequency is 10 mhz and max voltage is 20 volt pp. So i want to be able to do tests at max frequency and voltage

If you want to preserve maximum signal integrity at the top end of the frequency range (say, a 10MHz squarewave), then it's useful to buy or make a BNC to BNC lead too and buy a BNC socket with a ground solder tag.

Tack the socket onto the edge of your PCB prototype or whatever with the solder tag and solder a 50 ohm resistor (47 or 51 will do) between the centre pin and the tag. You can the take the signal straight to the input point of your circuit using a very short wire.

As others have mentioned, you won't get the full 20V p-p at 50 ohms (the resistor would fry for one thing) but you will get the cleanest possible high frequency signal.

Having both lead options will cover you for all practical circumstances.

You can also hook your scope probe to the resistor leads if you just want to look at the signal.
Best Regards, Chris
 
The following users thanked this post: robsims


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf