Samsung Galaxy Note 3 Charge and USB-OTG simultaneously

I’d like to charge my phone and use USB devices at the same time, but it seems like it requires a 64.9kOhm resistor from sensor ID pin (micro USB) to ground. Instead of melting a USB-OTG cable, I bought an this adapter

micro USB3.0 Type B Male to USB3.0 Type A Female adapter

Schematics so that I can have direct access to the ID pin. This is a USB 3.0 give that I have a Galaxy Note 3. The same principles apply to the USB 2.0 versions for Galaxy Note 4.


According to this website, fsa9480_i2c.h has the table for the resistor ID values. Turns out 64.9kOhm is the one for both charging (slowly) and using USB devices (like mouse, network adapter, etc.).

RID_USB_OTG_MODE,	/* 0 0 0 0 0 	GND

USB OTG Mode

              */
RID_AUD_SEND_END_BTN,	/* 0 0 0 0 1 	2K		Audio Send_End Button*/
RID_AUD_REMOTE_S1_BTN,	/* 0 0 0 1 0 	2.604K		Audio Remote S1 Button */
RID_AUD_REMOTE_S2_BTN,	/* 0 0 0 1 1 	3.208K		Audio Remote S2 Button                         */
RID_AUD_REMOTE_S3_BTN,	/* 0 0 1 0 0 	4.014K		Audio Remote S3 Button */
RID_AUD_REMOTE_S4_BTN,	/* 0 0 1 0 1 	4.82K		Audio Remote S4 Button */
RID_AUD_REMOTE_S5_BTN,	/* 0 0 1 1 0 	6.03K		Audio Remote S5 Button */
RID_AUD_REMOTE_S6_BTN,	/* 0 0 1 1 1 	8.03K		Audio Remote S6 Button */
RID_AUD_REMOTE_S7_BTN,	/* 0 1 0 0 0 	10.03K		Audio Remote S7 Button */
RID_AUD_REMOTE_S8_BTN,	/* 0 1 0 0 1 	12.03K		Audio Remote S8 Button */
RID_AUD_REMOTE_S9_BTN,	/* 0 1 0 1 0 	14.46K		Audio Remote S9 Button */
RID_AUD_REMOTE_S10_BTN,	/* 0 1 0 1 1 	17.26K		Audio Remote S10 Button */
RID_AUD_REMOTE_S11_BTN,	/* 0 1 1 0 0 	20.5K		Audio Remote S11 Button */
RID_AUD_REMOTE_S12_BTN,	/* 0 1 1 0 1 	24.07K		Audio Remote S12 Button */
RID_RESERVED_1,		/* 0 1 1 1 0 	28.7K		Reserved Accessory #1 */
RID_RESERVED_2,		/* 0 1 1 1 1 	34K 		Reserved Accessory #2 */
RID_RESERVED_3,		/* 1 0 0 0 0 	40.2K		Reserved Accessory #3 */
RID_RESERVED_4,		/* 1 0 0 0 1 	49.9K		Reserved Accessory #4 */
RID_RESERVED_5,		/* 1 0 0 1 0 	64.9K		Reserved Accessory #5 */
RID_AUD_DEV_TY_2,	/* 1 0 0 1 1 	80.07K		Audio Device Type 2 */
RID_PHONE_PWD_DEV,	/* 1 0 1 0 0 	102K		Phone Powered Device */
RID_TTY_CONVERTER,	/* 1 0 1 0 1 	121K		TTY Converter */
RID_UART_CABLE,		/* 1 0 1 1 0 	150K		UART Cable */
RID_CEA936A_TY_1,	/* 1 0 1 1 1 	200K		CEA936A Type-1 Charger(1) */
RID_FM_BOOT_OFF_USB,	/* 1 1 0 0 0 	255K		Factory Mode Boot OFF-USB */
RID_FM_BOOT_ON_USB,	/* 1 1 0 0 1 	301K		Factory Mode Boot ON-USB */
RID_AUD_VDO_CABLE,	/* 1 1 0 1 0 	365K		Audio/Video Cable */
RID_CEA936A_TY_2,	/* 1 1 0 1 1 	442K		CEA936A Type-2 Charger(1) */
RID_FM_BOOT_OFF_UART,	/* 1 1 1 0 0 	523K		Factory Mode Boot OFF-UART */
RID_FM_BOOT_ON_UART,	/* 1 1 1 0 1 	619K		Factory Mode Boot ON-UART */
RID_AUD_DEV_TY_1_REMOTE,	/* 1 1 1 1 0 	1000.07K	Audio Device Type 1 with Remote(1) */
RID_AUD_DEV_TY_1_SEND = RID_AUD_DEV_TY_1_REMOTE ,		/* 1 1 1 1 0 	1002K		Audio Device Type 1 / Only Send-End(2) */
RID_USB_MODE,		/* 1 1 1 1 1 	Open		USB Mode, Dedicated Charger or Accessory Detach */

 

11 total views, 1 views today

Data Precision 8200 Repair Service

I just bought a big lot of Data Precision 8200 and some Analogic AN3200 DC Voltage/Current Calibrators with a bunch of hard to find (unobtainium) genuine parts (relays, switches, hardware, regulator and amp ICs, whole modules, transformers) that that I believe it’s the leftovers of a closed down repair shop.

That means I’ll have all the materials needed to service and upgrade Analogic / Data Precision 8200 that you are unlikely to be able to find elsewhere.

Data Precision 8200 is the official unit to field adjust TDS 500~800 series oscilloscopes as the automation software (GPIB) was hard-coded to this model. Nonetheless, I find it a reliable reference for verifying oscilloscope performance and adjusting my multimeters as well.

Call me at 949-682-8145 for a repair quote or if you are interested in buying a unit. GPIB and 1kV option can be ordered for extra, either with the unit or service upgrade.

 

 

33 total views, no views today

Duracell leaks in original package before being used!

I knew Duracell is known for leaking when left in equipment for too long (too numerous to count: I had it leaked in wireless mouse, remote control, clocks, etc), but I always thought it’s my fault for leaving them in my electronics for a long time.

Today I got my answer: it’s not my fault that the batteries leaked. I just opened a new box of 4 AAA Duracells, and one of the new unused battery (the marking says it expires in 2023. It’s 2019 at the time of writing). I bought them from Tigerdirect so it’s likely to be genuine (on 10/2015). Here’s the pictures:

Not only I am not going to get Duracell batteries even if they are free, I’m going to toss all Duracell I have. It’s nothing but a menace. It’s worse than white label brands as it’s known to leak. It has to be a design or chemical formula or manufacturing process problem they have. By no means it’s an isolated incident.

98 total views, no views today

Aging problem just from storage Working 6632B stored for 10 years has a failed tantalum cap

I fired up one of my 6632B stored for almost 10 years and smelled burned electronics, despite everything is functioning. I tested the unit immediately when I bought them a decade ago and it was working fine, so it’s an example where electronics can deteriorate by storing (even in temperature controlled, dry environment).

Since I see smoke, I turned everything off immediately and investigated. Turns out one of the tantalum capacitors in the processor/controller board gave in:

136 total views, no views today

Wobbling rotary encoder in Agilent/HP/Keysight 6630B series 6631B, 6632B, 6633B, 6634B, 6634A, 6635A, 66332A*

6630 series system power supply is sturdy as a rock, but has a rotary encoder sticking out that it’s almost guaranteed to wobble if you buy it used.

I thought they would have known better to secure the rotary encoder with a nut so it won’t wobble (HP usually does a perfect job making their designs reliable. This one is a rare miss), so I opened it up to see what I can do about it.

My initial guess was that the solder joints were weakened as it was used to mechanically support external forces for users of the dial. But I was wrong. Here’s what I’ve found:

The weak metal strip retainers gave in and the whole rotary encoder is about to break loose! The encoder was actually still functioning before I opened the case up. So HP assumed their vendor for the mechanical rotary encoder did a good job withstanding frequent wiggling. Apparently their vendor completely failed them: the metal retainer design was hopelessly flimsy that I wouldn’t even consider using it even in light-usage applications! FAIL!

There’s a huge number of these high quality power supplies on the market because Motorola/Nokia closed down their massive operations, flooding the market with 6632Bs for years to come.

I’ll now strengthen (I came up with a solid technique to make sure the dial will never fall apart again) the 6632Bs I have for sale to businesses that needs a perfect unit (which I sell for $699/ea). If you are a hobbyist, feel free to send me a message and I’ll tell you how to do it, provided that you do not share it with anybody else (I’ll trust you). If you are a business, I can restore 6630B series to a professionally salable state starting at $499.


* Note that I included 66332A despite it’s a mobile communication DC source (66300 series) here because the guts of it is actually 6630 series. Every other 66300 series (3 Amps max) or less has a different form factor (that’s more like a 33120A) and the only odd one out of the series is 6632A (5 Amps max).

148 total views, no views today

The mess converting decibels to voltages in test instruments (dBm, dBW, W, dbV, V)

Complex conversions between decibels and physical quantity has always been a rich source of confusion. The reason is that dB(something) is actually a loaded word with hidden assumptions:

  • dB always works on base-10
  • dB is always a relative (dimensionless) POWER quantity, the convenience scaling factor is always 10. It does NOT make sense directly on non-power quantities.
  • dB(something) is always with respect to a quantity (the something), and the reference quantity is often not written in full. Since there is an implicit reference, db(something) can be mapped to absolute quantities.

If you are a diverse multi-disciplinary techie like me (math, electronics, programming, computers), it’d frustrate the hell out of you when you talk to people who has been working exclusively on a narrow field for at least a decade and they have a table of commonly used numbers in their memorized: they act like you are supposed to know how to get the numbers in the dB-variant that they use, than explaining to you what the field-specific assumptions are (likely because they forgot about it).

I hope this post will clear up the confusion by working out an example in test instrumentation, most commonly in RF as well, converting dBm to Volts.


Before I start, I’ll clarify the most common form of beginner confusion in EE and physics: converting between dB and voltages:

\mathrm{dB}= 20\log_{10}(V)

This looks like a definition of decibel, except the scaling factor is 20 magically for Volts. It is correct (under very commonly used assumptions) as well. Most people take it as an equivalent definition of decibels, and throw away these important assumptions behind it:

  • the reference is 1V,
  • and the resistance* (common to the voltage of interest and the reference voltage) gets cancelled

and run into troubles when they venture into those dB-variants like dBm. Technically the above should be written as dBV, but I have seen very few people use the clearer term.

The decibel formula for voltage came from

\mathrm{dBV} = 10\log_{10}(\frac{P}{P_{ref}})

where P = \frac{V^2}{R} and P_{ref} = \frac{1^2}{R}, you get

\mathrm{dBV} = 10\log_{10}(\frac{V^2/R}{1^2/R})

The R get cancelled out and you get

\mathrm{dBV} = 10\log_{10}(V^2)

People moved the squaring out and lumped (multiplied) it with the scaling factor 10:

\mathrm{dBV} = 20\log_{10}(V)

So the whole reason why it is 20 instead of 10 is simply because P\propto V^2, and \log(V^2) \equiv 2\log(V).


Now back to the business converting dBm to dBV or Volts.

First of all dBm is dB(mW), NOT dB(mV). The RF/telecom people are just too lazy to write out the most important part: the physical quantity expressly, because nearly all the time, it’s the power that matters to them.

However, I often need to connect a RF generator to a high bandwidth oscilloscope, so the very self-centered RF/telecom nomenclature start to become problematic when people of different fields need to talk to each other. Oscilloscope see everything in volts. RF sees everything in power, often in dB.

Then we get to the (mW) part, which means the reference quantity in the definition is 1mW, which is a physical quantity with dimensions. Then how are we going to convert it to Volts? You cannot jump to the shortcut formula I illustrated above with the 20 factor this time because the reference is in mW and your quantity is in Volts.

You’ll need to convert power to voltages. To do so, you’ll need to know voltages induced by power ‘dissipated’ through a ‘resistance’ across a component (load). The missing gap is that you will need to know the load ‘resistance’ before the conversion. With that, you can use P = V^2/R, or rewritten as V^2 = PR when it’s more convenient.

All RF-related test-instruments and bench function generators typically have a 50Ω output impedance, which means it also assumes a matching 50Ω as mathematically, it provides the maximum power transfer (sadly split evenly between the load and wasted at the instrument’s output impedance). For convenience, the amplitude you see in the instrument control panel refers to the amplitude you see at a 50Ω load, not what the instrument pumps out internally (that’s why you see 2Vpp when your function generator says 1Vpp if you hook it up to a low-end oscilloscope that serves 1MΩ by default).

Since we are dealing with continuous wave (not transient power), all amplitude quantities on RF test instruments are in RMS (power or voltage) unless otherwise specified. So the quantities we have for dBm is

\mathrm{dBm} = 10\log_{10}(\frac{P_{rms}}{1mW})

when written in terms of voltages,

\mathrm{dBm} = 10\log_{10}(\frac{V^{2}_{rms}/50Ω}{1mW})

Instead of splitting it into 3 terms and immediately grouping the constants, I’d like to first convert dBm to dBW:

\mathrm{dBW} = 10\log_{10}(P/1W)

\mathrm{dBm} = 10\log_{10}(P/0.001W)

The linear quantity in dBm is artificially scaled 1000 times bigger than in dbW, to put it in a comfortable scale for us to work with smaller signals. Therefore dBm is always 30dB higher than dbW (the smaller the reference, the bigger the relative numbers look).

So back to the above in dBW, we subtract 30dB to get to dBW:

\mathrm{dBm} = \mathrm{dBW} + 30\mathrm{dB}

where

\mathrm{dBW} = 10\log_{10}(V^{2}_{rms}/50Ω)

We can separate the load and put it on the left hand side

\mathrm{dBW} + 10\log_{10}(50Ω) = 10\log_{10}(V^{2}_{rms})

The right hand side is dBV, and you can think of the load as scaling the power up (inducing) the voltage-squared quantity (V^2 = PR, or \log(V^2) = \log(P) + \log(R)).

10\log_{10}(50Ω) is 16.9897dB, for most purposes I’ll just say the load lift the dBW by 17dB when turning it into dbV.

Having both together,

\mathrm{dBW} + 17\mathrm{dB} = \mathrm{dBV}
\mathrm{dBW} = \mathrm{dBm} - 30\mathrm{dB}

\mathrm{dBm} - 30\mathrm{dB} + 17\mathrm{dB} = \mathrm{dBV}
(This is how you should remember it, so you can replace the +17dB for 50Ω with
10\log_{10}(R) when you work on other applications, like 600Ω, 4Ω, 8Ω for audio.)

Basically:

-30dB to undo the mili- prefix (small reference value bloated the numbers)
+17dB to account for the load inducing the voltage by burning Watts

The end result (for the 50Ω case):

\mathrm{dBV} = \mathrm{dBm} - 13\mathrm{dB}

Then you can convert dBV to V_{rms}:

\mathrm{dBV} = 10\log_{10}(V^2_{rms}/1^2) = 20\log_{10}(V_{rms})

V_{rms} = 10^{\frac{\mathrm{dBV}}{20}}

V_{rms} = 10^{\frac{\mathrm{dBm}-13dB}{20}}

Phew! That’s a lot of steps to get to something this simple. So the moral of the story is that these assumptions cannot be ignored:

  • The quantity is always power in dB, not voltages
  • dB(mW) has a reference of 1mW. The smaller the reference, the bigger the numbers
  • RMS voltages and power are used in RF
  • 50Ω is the load required to convert from power to voltages

Keysight already has a derivation, but it’s just a bunch of equations. The missing gap I want to fill in this blog post is that people find this so confusing they’d rather believe a formula or a table pulled on the internet:  it doesn’t have to be this way after realizing that there’s a bunch of overlooked assumptions.


* Technically I should call it (load) impedance Z, as in RF, capacitive and inductive elements are nearly always involved, but I want to make it appealing to those with high school physics background.

218 total views, no views today

Newark Electronics’ order fulfillment/invoicing/logistics is deeply broken

It has always been a weird experience dealing with Newark as their order has always come in ridiculously wastefully packed shipments, like ONE standard size jiffy bag FOR EACH pack of 5 resistors (I got like a dozen of jiffy bags after unpacking). It resulted in oversized boxes that could have been expensive to ship as it’s charged dimensional weights. Then they split shipments whenever and whatever way they feel like it without consulting me at all.

I had multiple deliveries of jiffy bags by UPS/Fedex that packs a feather each when Newark could have waited a little and consolidated them in one box/bag. I never complained because the shipping they charged me was as if everything were packed sanely in one shipment. I always wondered if they had deals with Fedex/UPS that will allow them to be this wasteful.

However, after my most recent order (early 2019), I had enough with Newark. Apparently over the years the operations management avoided addressing their messy web order, logistics, fulfilling and invoicing infrastructure and used the savings to cover the overhead losses. This time, they screwed up the invoicing so I got overcharged, and on an unrelated issue, randomly made pay one of their stupidity overheads for the first time.

When I called customer service, they initially said I shouldn’t be charged more for extra shipments caused by Newark breaking the order into a few installments. It’s not special order or back-order or even direct-ship order. It was a pack of zener diodes is from UK warehouse, which Newark stated it’s going to take longer but they won’t charge extra to ship. In fact, I was not charged extra shipping for the other two packs (also from their UK warehouse) that was EACH shipped separately through UPS. Stuff from UK warehouse was never charged extra shipping for my past orders either.

Nonetheless, once I pull up the credit card records showing I was charged $10.22 for shipping a $0.19 pack of zener diodes, the customer service representative changed stance and said that Newark charged me exactly what UPS scanned and charged them AFTER the item was shipped. Basically they are saying that you gave them a blank check for shipping if you ordered from Newark. This is where I decided to stop doing business with Newark. The distributor has all the weight and size data that customers have no access to. They are responsible for quoting how much shipping will cost (at least within ballpark) before we agree to order from them, so we know the actual costs for comparing it with a different distributor.

They also screwed up the web pricing for the Molex tool that I ordered. Everything I was told until I completed checkout said $50.15 (web-only pricing), but the invoice I received says $59 (normal pricing, which is higher than everybody else). They credited me the difference back, but I observed they cannot do it easily and not until the order has shipped, so I had to call back later. This means if you order from Newark, they can stealthily charge you full price when your web-order should have been charged web-only pricing, unless you catch them in the act.

My second last order with them was actually in a hurry, but 3 days is fine so I picked USPS Priority (which is guaranteed to be at most 3 days). The ordered ended up arriving more than a week later because they stealthily shipped with UPS Ground and charged me USPS Priority price because their system has a glitch that prevents them from using USPS. They didn’t put the information anywhere on their webpages (now they do after I called and complained) and nobody told me about that. Apparently they didn’t realize that despite Newark pays more to ship with UPS ground, I got my order slower than the cheaper USPS priority I asked and paid for.

Newark electronics’ system is deeply broken. After leaving them the worst feedback possible with their survey engine, the customer service followed-up with this:

Thank you for your feedback.  I apologize for the frustration which you have experienced with our company regarding your orders.  Please allow me to address the situations as they are listed.

  1. The listed shipping at checkout is an estimation, and the final invoicing is lists the shipping charges based on the scanning of package by UPS with current rates.
  2. Orders may be in separate packaging, as our warehouse is the size of several football fields and putting parts from different sides of the facility into the same box is not a workable solution.
  3. Unless otherwise chosen as “ship complete” on the website by the customer, orders may be shipped in installments as product is available.  Backordered portions will be shipped separately.
  4. In response to UPS shipping as opposed to USPS, the Postal Service’s software has a glitch that does not allow it to communicate with our system.  Updates are being installed and upgrades implemented to resolve this situation.

None of that admits their faults. They ‘addressed’ it by pointing fingers and citing illegitimate excuses, which I am the most upset about:

  1. HOW are we supposed to know how much will it cost to ship something if your ‘estimation’ can be way-off and you are not responsible for even staying in the ballpark?
  2. WHY are we supposed to pay for your logistic problems? The orders I received from Digikey/Mouser/Allied were packed nowhere nearly as wasteful. Yours can’t be the norm. Fix it!
  3. WHEN did you tell me that I’ll be charged for the separate shipments for the installments you decided on your own? Until the order is shipped and I’m stuck with the charges!
  4. WHO did you assign to tell me when you switched to a slower and more expensive shipper because of your software problem (that Mouser/Digikey was able to get around if it was USPS’s fault), and threw my plans off because my order arrived very late?

WTF Newark!

Newark’s operations are completely dysfunctional. I don’t think Newark even intended to bill me for shipping the tiny bag of zener diode separately. I was pissed because the customer service gave me the ‘policy’ bullshit because they don’t want to do the hard work getting to the bottom of it because Newark’s billing jungle is so daunting. I know it’s bullshit because if they could legitimately charge me extra for one separate shipment, they would have done it for the other two separate shipments, which could be much more.

At the end of the day, if I had not caught Newark shortchanging me, I would have paid more than Digikey/Mouser just to get the same parts shipped late. It’s not worth the hassle to get just $10.22 back by spending hours on the phone digging through their accounting nightmare (their billing is kludgy: I got 5 invoices for 1 order, yet I received 4 shipments), but I chose to spend the time to blog about it so others won’t have to deal with this kind of structural incompetence across the board until Newark gets their act together.

I was worse off in every way ordering from Newark.

They make you pay more for less by not telling you the deviations from your original order that Newark introduced for their own convenience until the order has shipped and everything set in stone.

Newark didn’t get more money by making their customers worse off. The company paid a fair share of the unnecessary overheads too. To put it more bluntly: the entire infrastructure is falling apart and nobody gives a shit. I’ve seen more motivated people working at the post office.

148 total views, no views today

Teardown of Infiniium probe interface card 54810-66511

I have a bad probe interface card from a 4 channel unit. Since the label at the front is nearly impossible the transfer, and the screws was put on before the label covers it, plus the FFC connector is impossibly tight even for hot air to get there without much damage, it’s near impossible to save it with a 2 channel card.

Out of curiosity, I removed the label sheet to see what’s inside it:

The PCB is the same for 2 channels or 4 channels. The 2 channel version simply have channel 3 and the aux trigger hole covered (channel 4 is the external trigger port in a 2 channel model). So technically, you can cut out the excess label and cover up the “Ext Trig” text, but it won’t look professional. If it’s your personal unit, then feel free to go with the hack.

164 total views, no views today

Infiniium front panel keypad 54810-66504 (2 channels vs 4 channels)

54810 series (first generation) Infiniium uses the same PCB for 2 channels and 4 channel models. They slap on a different rubber keypad sheet and the button labels depending on whether it’s a 2 channel or 4 channel model.

I received a 4-channel front panel keypad module that was ruined by ripped pads around the relay while trying to replace it. Instead of trying to fix it, I transferred the rotary encoders to a 2 channel PCB which are in abundance, and I noticed this:

It seems like HP/Agilent at some point tried to save a few pennies by skipping the SMD grains (resistors, capacitors, inductors, transistors, diodes) surrounding Channel 3 and 4 for the newer board on the right.

So if you are looking to repair a 4 channel front panel keypad with 2 channel PCB, you should preferentially select ones from the older lot which has all the parts for 4 channels populated except the rotary encoders. If not, time to get a pair of SMD hot tweezers and transfer the grains one by one.

249 total views, no views today

Synthesized/Arbitrary Waveform/Function Generators: sampling rate matters

It’s basic (signal processing) mathematics that square waves (or any waveform with sharp edges) carry harmonics that doesn’t die fast enough, therefore not band-limited. The more sudden the transition is, the more harmonics you need to preserve to faithfully represent a signal in practice.

Unless the signal itself is known to be band-limited (like sine waves, classical modulation schemes, SRRC), it puts the burden on the test instruments involved to provide large bandwidths and the matching high sampling rate (needs to do better than Nyquist).

The technology today provides generous bandwidths and sampling rates for oscilloscopes at reasonable prices, but synthesized function/waveform generators with the same bandwidth/sampling rate can easily cost 10 times if not even more. For the money to buy a used not-too-old 500Mhz pulse generator, you can buy a 4GHz 20GS/s oscilloscope!

For oscilloscopes, users are often aware that the rounded square waves/transitions they see on the screen is due to bandwidth limitations, and will account for the reality distortion in their mind. If your square wave clocks are pushing the sampling rate of the scope and the combined bandwidth between the scope and the probes, you should very well expect that you cannot catch much glitches and pretty much use the oscilloscope as a frequency counter or check for modulations.

For synthesized signal generators, bandwidth and samplers are way more precious. Oscilloscopes generally has 8-bit vertical resolution (256 steps), but synthesizers typically has 12-bit vertical resolution (4096 steps) or better. There are imperfect techniques trading vertical resolution and sampling rate, but there is no free lunch. 

I have on my bench these 12-bit function generators:

  • an old Analogic 2045B (roughly US$1300, 400Mhz, 800MS/s, 2Mpts) and
  • a much more modern Agilent/HP 33120A (roughly US$600, 15Mhz, 40MS/s, 16Kpts)

that I’d like to illustrate the value of getting a higher bandwidth (and therefore higher sampling rate) unit. The 33120A has a much finer control over frequency/amplitude/offset steps (2045B only allows fixed point increments) and might have better noise characteristics and much smaller form factor considering Analogic 2045B is made in the 1970s and HP 33120A is made at least 20 years after that. I would have liked to keep only my 33120A or 33255B on my bench to save space, but once you’ve seen this screenshot, you’ll know why I’m still willing to cough up the space for 2045B:

The upper waveform (Channel 1, yellow) is a from Analogic 2045B while the lower waveform (Channel 2, green) is from HP 33120A. They are both set at around 15Mhz and you can see that when approaching the limit of the synthesizer, 33120A rounds off the square wave to almost a sinusoid.  Square waves gets ugly quickly above 10Mhz and this is as far as 33120A is capable of.

On the other hand, the square waves are bang-on for 2045B, and is still decent at around 50Mhz (my BNC cable starts to come in question). That’s why it’s still worth getting a high bandwidth synthesized function generator even if your budget only allows for clumsy old models if you use your function generator for something more than sinusoids.


Note that function generators are typically designed to pump out to 50Ω loads and the amplitude displayed in the function generator (V_{gen}) assumed so. That’s why beginners gets confused why they read 2V_{pp} when the function generators says 1V_{pp}: the function generator sends out nearly double the voltage so the potential divider formed between the 50Ω output impedance of the function generator and the 50Ω load impedance will split the voltage into half. If you set your oscilloscope to 1MΩ load, you are getting (2V_{gen})\frac{1MΩ}{1MΩ+50Ω}, which is nearly 2V_{gen}.

More importantly, if the load is not matched, the small capacitances in the chain will distort the waveform received by your oscilloscope severely at higher frequencies, so you can barely get a square wave at fundamental frequency above 2Mhz undistorted if you feed it into an oscilloscope with 1MΩ input impedance, while in reality the signal generator, cables, and oscilloscope can do much better.

Most cheap low bandwidth oscilloscopes (like 100Mhz) do not have 50Ω option. Nonetheless the impedance needs to be matched if you work with square waves at 2Mhz or above. Just buy a 50Ω feed-through BNC ‘termination’ adapter and plug it right at the 1MΩ input port. In reality, it’s a divider between 50Ω and (1MΩ//50Ω), with the scope seeing \frac{(1M//50)}{(1M//50)+50} of 2V_{gen}. For all practical purposes the oscilloscope sees (2V_{gen})\times0.5 or V_{gen}.

With 50Ω feed-through BNC ‘termination’ adapters, make sure you work out the impedance matching if you split the signals if it’s not the simple nearly 1:1 potential divider halving the voltage. At low frequencies, the amplitudes will be off, but when you start going into Mhz range and above, your signal will be distorted badly as well.

 

303 total views, 2 views today

 

303 total views, 2 views today