[SOLVED] Rigol DG1022 attempted repair (and reverse engineering?) - Page 1
Forum section: electronics / repair

author: giosif
author_rank: Frequent Contributor
timestamp: May 28, 2016, 11:48:05 pm
content: Hi all,I've recently got a Rigol DG1022 ARB function generator off eBay, I'm trying to repair it and I am hoping that, with your help, I'll manage to restore it.I hope you'll have the patience to go through the whole ride.The problem reported when I bought it was no signal on channel 1 after putting some voltage into it (see original report of the issue here -https://www.eevblog.com/forum/testgear/rigol-dg1022-problem/msg451006/).On investigation, I found that there actually is an output on channel 1, but much lower amplitude than what the device is reporting on the display.More specifically, for an amplitude of under 2V p-p, the output is correct.For an amplitude of 2V p-p or above (up to 20V), the signal is 10 times weaker than it should be.Thankfully, channel 2 is working, so I can use that for reference to some degree.Now, for the things I managed to work out (please use the attached picture and annotations on it for reference):For each of the two channels, the generated signal is coming out of some ADC's, then goes through a first set of relays - marked in the picture with 4 for channel 1 and with D for channel 2.Both of these relays are in the "off" position (i.e. no power to the coil and the signal just goes through the relay with no change) if the set signal amplitude is below 2V p-p.For any higher amplitude setting, they are "turned on" (i.e. the coil is powered), which makes the signal go through a series of resistors before continuing to the next stage of the circuit.And this is expected behaviour, from what I could figure out about how the whole thing works.Next in the path of the signal towards the output connectors, we have another set of relays - marked in the picture with 3 for channel 1 and with C for channel 2.I do not know exactly what these relays are for and when they get turned on, as none of my test settings managed to power any of the two relays.Judging by the set of resistors connected to them, I suspect they are used when the signal needs to be further atenuated or the impedance is set higher.Question 1: Is anyone on the forum reading this who has the same function generator and who would be willing to test if and when these relays are powered on?Next in the path of the signal, we have yet another set of relays - marked in the picture with 2 for channel 1 and with B for channel 2.Here, things start to be somewhat different between channel 1 and channel 2:- for channel 2, the relay is in the "off" position if the signal amplitude is set to below 2V p-p, and in the "on" position for a signal amplitude set at or above 2V p-p.- for channel 1, there is no change on the position of the relay, irrespective of the set amplitude of the signal.The above behaviour for channel 2 is as expected, as this now takes the signal (which, at the same time, is being attenuated at relay D mentioned at step 1 above) through what I am guessing is an amplifying stage to bring the signal to the desired >=2V p-p amplitude.The behaviour for channel 1, I am 99% sure, is not normal and is the reason why the output at the unit's connector for channel 1 is so low.What I expect should happen is for the relay to turn on and change the path of the signal through an amplifying stage, similar to the approach on channel 2.Question 2: Would anyone of the same device be kind enough to confirm this (i.e. relay is turned on for amplitude >=2V p-p)?I did trace the device that is supposed to turn on relay 2 for channel 1 and it is a SN74AHC595 8-Bit Shift Register - marked with SR1 in the attached picture.So, my guess is that the shift register is faulty.At this stage, I tried to use channel 2 as reference and look to confirm SR1 is not working properly.However, as you can see marked in the picture, SR2 and relay B are connected slightly differently when compared to SR1 and relay 2 - i.e. relay B is connected to pin 3 of SR2, while relay 2 is connected to pin 4 of SR1.And, unfortunately, I don't know shift registers that well to be able to evaluate if those different pins would make a difference in results or not.Question 3: Is there an easy way to check if a shift register is faulty or not?I'm looking for something that does not involve desoldering the component, as I already have a replacement shift register and I might just as well perform a replacement and skip the checking altogether.Plus, I don't have an SMD re-working station and de- and re-soldering such a component would be some challenge for me.Now, the interesting thing is that, if relay 2 for channel 1 would turn on as I expect, the signal would then go to an operational amplifier.You won't see that in the picture, since I've removed it as it was faulty.Unfortunately, Rigol was "kind" enough to scrape any markings from this op-amp, so I don't know what make and model it is.I searched the forum and could see I'm not the only one looking to find out that information.I also pinged Rigol asking them if they could provide some info on the op-amp or at least provide a (aslo scraped) replacement op-amp - still waiting for a reply.In the meantime and since I don't expect Rigol to be that forthcoming with the information/help I requested, I extracted as many details around the op-amp as I could, in the attempt to narrow down the search for the specific make and model.So, as you can see in the attached picture, we'd be looking at an op-amp with the following specs:- SOIC 8 pin package, with thermal pad at the bottom- single channel- dual supply: +15V and -15V- enable/disable (power on/shutdown) pin (i.e. pin 8 )- [my guess] 10x amplification when using a 33 Ohm resistor on the (inverting?) input and an 800 Ohm resistor on the (positive?) feedback loopQuestion 4: Anyone that can make suggestions on op-amps with such characteristics?I did some searches but wasn't able to find op-amps with all the above specs.Also, suggestions made on other forum threads on the topic don't entirely match the above specs either.BTW, on the enable/disable pin 8 I mention above, I confirmed that it is connected to the coil of relay 2 and to shift register SR1.This looks to confirm my guess that SR1 should turn on relay 2 for signal amplitudes at or above 2V p-p and, at the same time, enable the op-amp.Finally, on its way out of the device, the signal goes through a last set of relays - marked in the picture with 1 for channel 1 and with A for channel 2.These are easy to guess - they are used for turning the respective channel output on and off.And both of these work as expected.Anyone still reading this at this stage?If yes, I thank you for your patience and would appreciate any answers/pointers/sugestions/wishes/etc or, indeed, even other quesions that would allow me to get this device fixed.Thank you!Regards,George

author: giosif
author_rank: Frequent Contributor
timestamp: May 29, 2016, 09:52:25 pm
content: Just an update: today, I mustered enough courage to try de-solder the two shift registers SR1 and SR2 and replace them with new components.I've decided this after seeing a video on xDevs, watching Tin de-solder some components, including SMD, with just a regular soldering iron.I'm happy to report that, after some sweat, emotions, etc. I've managed to replace the shift registers with new ones and that did the trick: relay 2 on channel 1 and the pad associated with pin 8 of the (still missing) op-amp are now being turned on when the signal amplitude is set to 2V p-p or above.So, questions 2 and 3 were answered.Question 1 still stands, but I'm not too bothered about it right now, as the behaviour is the same for both channels 1 and 2 (and channel 2 is working properly).The main outstanding item is the op-amp.I am yet to make any significant progress on that.Regards,George

author: giosif
author_rank: Frequent Contributor
timestamp: May 30, 2016, 10:14:02 am
content: Another update: I've just got the response from Rigol (I asked them for schematics of the main board and/or info on the op-amp) and they kindly told me to bugger off.Actually, they suggested I buy a replacement main board as the only way of fixing the function generator.Oh well, back to searching for an unofficial replacement op-amp...

author: 1kostik1976
author_rank: Contributor
timestamp: May 30, 2016, 03:07:34 pm
content: Hi giosifhow you determined that the amplifier is faulty? very warm?

author: TurboTom
author_rank: Super Contributor
timestamp: May 30, 2016, 03:10:26 pm
content: You can probably try a current feedback operational amplifier like the Linear LT1227CS8. Since it's got offset null inputs on terminals 1 and 5 you'll have to cut terminal 1 since it must not be connected to GND. Otherwise it should fit on the foorprint.Good luck,Thomas

author: 1kostik1976
author_rank: Contributor
timestamp: May 30, 2016, 04:05:22 pm
content: THS3095

author: giosif
author_rank: Frequent Contributor
timestamp: May 30, 2016, 11:16:18 pm
content: Quote from: 1kostik1976 on May 30, 2016, 03:07:34 pmYeah, I dreamt that dream too (i.e. hoping the op-amp was ok), but it wasn't to be. :-)I reached the conclusion that the op-amp was dead because one of its input pins was shorted with pin 8 (enable/shutdown pin).Also that pin 8 and, by consequence, the positive terminal of relay 2 were being driven to -4.5V, which was definitely wrong.And that wasn't because of the relay, since I desoldered it and the -4.5V was still there.At this stage, I desoldered the op-amp and the negative voltage went away.It's most likely that this negative voltage messed up the shift registers as well.Regards,George

author: giosif
author_rank: Frequent Contributor
timestamp: May 30, 2016, 11:24:37 pm
content: Quote from: TurboTom on May 30, 2016, 03:10:26 pmThanks, Thomas!I'll give that a look.Regards,George

author: giosif
author_rank: Frequent Contributor
timestamp: May 30, 2016, 11:36:23 pm
content: Quote from: 1kostik1976 on May 30, 2016, 04:05:22 pmNice. That looks like the most promising candidate.Or do you actuallyknowthis is what Rigol are using for the DG1022?Thanks,George

author: 1kostik1976
author_rank: Contributor
timestamp: May 31, 2016, 03:30:40 am
content: HII do not know. all the answers are in the photo that you posted. + 30 minutes of searching on digikey ......

author: giosif
author_rank: Frequent Contributor
timestamp: May 31, 2016, 06:58:46 am
content: Quote from: 1kostik1976 on May 31, 2016, 03:30:40 amOk. Thank you for your help and time spent on that!I ordered the part and will let you know once I have the component in place.

author: giosif
author_rank: Frequent Contributor
timestamp: June 01, 2016, 11:53:26 pm
content: IT'S A...LIVE!!!Thanks to 1kostik1976's suggestion for the op-amp (i.e. THS3095), I now have a fully functional ARB function generator.

author: giosif
author_rank: Frequent Contributor
timestamp: June 01, 2016, 11:56:13 pm
content: I should also mention that I eventually figured out the answer to question 1 from my original post: relays 3 and C kick in when the signal needs to be atenuated into the tens of mV p-p area.

author: 1kostik1976
author_rank: Contributor
timestamp: June 02, 2016, 01:50:01 am
content: HICongratulations.

author: giosif
author_rank: Frequent Contributor
timestamp: June 02, 2016, 06:10:40 am
content: Quote from: 1kostik1976 on June 02, 2016, 01:50:01 amThank you, sir!

author: Giovanni28
author_rank: Contributor
timestamp: April 16, 2021, 08:03:42 pm
content: Is it a THS3095DDA ?

author: giosif
author_rank: Frequent Contributor
timestamp: April 17, 2021, 10:44:54 am
content: Quote from: Giovanni28 on April 16, 2021, 08:03:42 pmYes, I believe so.

author: Giovanni62
author_rank: Contributor
timestamp: May 08, 2021, 09:54:10 am
content: Thanks. I replaced the op amp, but apparently nothing has changed. Is it possible to test the circuit without installing the heatsink?

author: giosif
author_rank: Frequent Contributor
timestamp: May 09, 2021, 02:47:57 pm
content: That's what I did back then.Provided you keep the output off most of the times and turn it on only briefly, when checking things, I believe you should be fine.That said, it's been a few years since I did this...

author: Giovanni62
author_rank: Contributor
timestamp: May 10, 2021, 10:29:40 pm
content: Hi! I made some measurements, and I saw that the sinusoidal signal is present at the output of the OP AMP THS3095, but then it does not arrive at the output of the channel, what do you recommend?

author: giosif
author_rank: Frequent Contributor
timestamp: May 11, 2021, 09:12:22 am
content: I would say:1. check the + and - power rails for the op-amp2. check the output of the op-amp is not shorted to GNDIf all of the above is ok, then I'd suspect THS3095 is faulty.

author: Giovanni62
author_rank: Contributor
timestamp: May 11, 2021, 09:53:55 am
content: I checked, the THS3095 is ok.

author: giosif
author_rank: Frequent Contributor
timestamp: May 11, 2021, 07:43:02 pm
content: Sorry, I misread your earlier post!In that case, there is a problem somewhere along the path from the output of the op-amp to the BNC connector for CH1.There are a few things on that path, so you will need to check for the signal at different points: resistors, relay (it is relay marked with 1 in my drawing above), inductors, etc.

author: Giovanni62
author_rank: Contributor
timestamp: May 12, 2021, 06:53:19 pm
content: On pin 6 of the THS3095 the signal is present, but it does not reach the output of relay 2 and the input of relay 1. Could it be the TL072? What function does this OP-AMP perform?

author: HB9EVI
author_rank: Frequent Contributor
timestamp: May 19, 2021, 11:55:54 pm
content: hi therewhen working on my DI-box, I obviously fried the opamp on my DG1062 with the 48V phantom; CH1 cannot be turned on anymore with warning of overload;checking with the scope I briefly see the signal entering the opamp when turning on the channel, but no amplified signal on the outputso I'll order a THS3095DDA and report again, but the case seems to be quite evidentanyway, interesting is, that there's a proper signal when activating square wave, but the overload warning persists and disables the channel again; so far I cannot figure out the overload detection mechanism - would be good to know though

author: HB9EVI
author_rank: Frequent Contributor
timestamp: May 20, 2021, 10:10:44 am
content: a small follow up so farI removed the supposed broken THS3095DDA; now the channel can be activated again and outputs the square wave signal again.so no doubt that the opamp is through and also responsible for the overload protection.

author: HB9EVI
author_rank: Frequent Contributor
timestamp: May 26, 2021, 06:26:18 pm
content: problem solved!a new THS3095DDA arrived today from Mouser; so the device is up and running again

author: mojorizing
author_rank: Contributor
timestamp: June 02, 2021, 08:03:49 am
content: This post motivated me to get out my broken DG1022. CH1 failed for some unknown reason, but it had been working when I put it away the last time I used it. A square wave output would have a short pulse (looked like a tooth) on top of the square wave, and there was a -2vdc offset when it should have been zero. As I trouble shot it, the CH1 DAC basically failed altogether with no output on pin’s 21 and 22. I measured the voltage outputs from CH2 pin’s 21 and 22 setup for a 1Khz, 2vP-P, no offset square wave with an O’scope . I removed the Ch1 DAC and applied the waveforms from a Rigol DG1032 with the wavforms I measured from the working CH2. Now CH1 had the 1Khz square wave on the front panel output but with an offset. I installed the CH2 DAC to CH1 DAC location and still had the offset. The offset was coming from the first opamp HKJ downstream of the DAC. I replace the DAC with a DAC904E (https://www.mouser.com/ProductDetail/595-DAC904E) and the HKJ with an AD8009 (https://www.mouser.com/ProductDetail/584-AD8009JRTZ-R7). CH1 now works. Funny thing, while I had both DAC’s removed I performed a self-test and the unit passed…..Pictures are with the DAC’s removed and bad opamp circled. The shifted cap to the right was pushed aside when I hot-aired the DAC’s off the board.