Showing posts with label BA662. Show all posts
Showing posts with label BA662. Show all posts

Monday, June 29, 2020

A tiny bit of future proofing

I am trying to create a small buffer of parts for my synths, in particular the JP-8. This beast has around 50 BA662 chips in it, each of which costs 50-60 USD to replace.

I stumled upon someone selling pulled 80017A chips from serviced Juno 106's, and bought 18 of them. Status is unknown but they weren't specifically replaced because they failed, more because they WILL fail.

In each 80017A there are two BA662 and one IR3109, both of which go for around 50 USD. I had to pay quite a lot, but if I am able to rescue at the chips from at least TWO of the 18 I will turn a profit (or rather, save money if I ever need the chips).


Thursday, August 9, 2018

Checking the Xonik Linear VCA performance

Way back in october 2017 I did some research on the BA662 clone. To my surprise I got massive distortion when trying to get unity gain out of it. This made me fear that my Xonik Linear VCA had the same issues.

Yesterday I simulated the circuit:


At 5V CV and 5kHz sine input, I got unity gain with no visible distortion. I then doubled the frequency:


I still didn't get the kind of distortion I expected, but I got SOME distortion (see the blue graph).

Now, this isn't good. I tried both with and without the output filter cap, no change there.

I am however using LT1001 opamps in place of the TL072.


Today I breadboarded the circuit, first without the output cap. The results were very promising. I could see no visible distortion, not even at 20kHz:


Changing to a triangle wave at 40kHz showed a slight distortion at the top of the curve:



Changing again to a square wave showed severe ringing on the output:



I then added a 33pF cap:



It worked wonders for the other waveforms as well:



I then experimented with a lot of other cap values, here are some:

10pF

22pF

18pF and 10pF in parallel

22pF and 22pF in parallel

It seems that 33pF is still the best match (or 18pF + 10pF if one wants a tiny ring instead of a rounded edge). It has to be said though, that this is not a very scientific method, and it has a huge error factor in that the breadboard itself may contribute massively, making the capacitance higher than expected. 


Just to make sure that I wouldn't get a significantly better result with a lower CV and higher compensating gain, I replaced the CV resistor with 6k8 and the output gain resistor with 22k (I did however not replace the cap. The filter frequency is 1/2*PI*R*C (presumably), so in doubling the R I also halved the output frequency, leading to more rounded corners:


I only realized this right now while writing this post. Still I think the results are quite good, the selected values seem ok though I have to test with both a 33pF and a 47pF cap (specified in the circuit) on the final board to see which one is best.

Anyway, my conclusion is that the Xonik Linear VCA is still a good choice.


Tuesday, October 24, 2017

BA662 clone

While studying the Juno 106 filter I came across Analogue Renaissance's BA662 clone. It is dirt simple, but when I tried simulating it, I got massive distortion on the output compared to my Xonik linear VCA (based on the research by bergfotron etc, see separate post on the VCA)

When running a 2V p-p signal through it, using a 0.110mA (15V/136k) control current I got an output signal with the same amplitude, but the sine wave had been visibly distorted. Suspecting that this was only a simulation problem, I tried breadboarding the circuit. The distortion was even more visible on the oscilloscope.

2V p-p input (green), distorted output (blue)

I quickly realised that the amplification was not linear close to the maximum signal amplitude, much like a compressor/limiter circuit. Reducing the input to 1V p-p showed that the gain was in fact not 1 but more like 1.5.

Adjusted input, 1V p-p
After readjusting the control current to get unity gain again, I could still see some distortion:

Adjusted amplitude. Output wave is still distorted, though not as much as earlier

After reducing the input further, to 0.5V p-p, and readjusting the control current again, I got this, which seems much better. The control current is now 61.9uA


Then I took a closer look at a document I printed a few years back, that shows what voltages and currents to expect in the Juno:

An annotated Juno 106 service manual showing the various voltages. I can't quite remember where I got it, but I THINK Analogue renaissance made it?

To see how the BA662 is actually used in the circuit, I added the resistors between VCF out and VCA in (though not the VCA offset pot) and set the pot to 25k. Without changing the control current I got this:

Clone as used in the Juno 106 - with the 50k pot centered. Ampitude is MUCH lower.

Notice the significantly lower amplitude. I then adjusted the control current to the maximum according to the document above and got this:

Same configuration but with the control current at 0.3mA, which according to the picture above is the maximum. Notice that the amplitude is alost a quarter of the input. Even if we increase the control current, we are unable to reach unity gain.
So, there is no way to get unity gain out of this. I guess it is compensated elsewhere in the circuit. What troubles me is that with that much attenuation, wouldn't the VCA be unnecessarily noisy?

I will have to recheck the Xonik Linear VCA to see it it suffers from the same distortion problems. From my notes I see that I run it using a control current up to 1.5mA.

Tuesday, July 18, 2017

BA662 pinout

While drawing up various uses of the Roland IR3109 VCF-chip, I needed to make an Eagle part for the OTA used in the resonance circuit. My initial circuit was the one from the Jupiter 4 service manual, and it uses a BA662, IC17:



The service manual only shows a part using four pins while the BA662 has 9:
This shows that the BA662 is actually an OTA and a buffer combined into one package. The buffer is apparently not used in the JP-4, so how is it disabled?

The Juno-6 and Juno-60 service manuals answers the question:
Pin four, the buffer control, is connected to -V and the buffer input is connected to +V. The buffer output, as expected, is not connected to anything.

Incidently, the IR3109 itself is just four OTAs, four buffers and an exponential converter connected to the control of each OTA.