DIYstompboxes.com

DIY Stompboxes => Digital & DSP => Topic started by: Benoi31 on December 05, 2016, 04:48:00 AM

Title: Getting started with the FV1
Post by: Benoi31 on December 05, 2016, 04:48:00 AM
Hello !

Finally, I have decided to give a try to the Spin FV1, which seems quite a nice and fun chip to work with, even if I am not familiar at all with DSP coding!

But first, I wanted to design a 125B enclosure PCB using the system of switching I used on my Montagne Tremolo that allows to fit 6 positions switches in 125B enclosures. With the 8 built in programs, I can have 12 programs this way (if I manage to code successfully 6 other nice programs...)

I have read a lot about the FV1, designing the circuit seems a bit tricky and experimental compared to the BTDR2 for instance.

I have a few questions :

Here is the schematic I have made for now:
(https://2.bp.blogspot.com/-s709cE0GDyk/WEUuTQqYGxI/AAAAAAAAC_I/e98_OufhJDoBjclQE1OVSL7xYV3ManXhgCLcB/s1600/SpinFV1.jpg)

They are 6 controls + 2 switchs:

I try to made it buffered, so the signal is always going trough both OP amps. I have seen some schematics with treble filtering in the last stage, is it to remove noise?

I am currently designing the PCB, but I would like to know if I did any mistake before sending it to OshPark...
Title: Re: Getting started with the FV1
Post by: free electron on December 05, 2016, 05:58:19 AM
You have biased the opamps as if they'd be powered with a bipolar supply, yet your power is not only single, but also taken from the virtual ground potential 4.5V.
In other words:
Pin 8 of the opamp goes to 9V.
Pins 3 & 5 (non-inverting input) to 4.5V
I'd use an SPDT as the Kill switch. CR5 would be switched between the dry signal (IC3a out) and 4.5V potential. This way the dry signal input in to the mixer stage will be properly muted, not hanging in the air, picking up any noise.
You could also cascade the voltage regulators. 9V goes into 5V Vreg and 5V into 3.3V Vreg.
Title: Re: Getting started with the FV1
Post by: Benoi31 on December 05, 2016, 08:50:27 AM
Right!
I will change the OP amp biasing.

The SPDT switch seems like a good idea too, especially as digital circuits can already be noisy at the basal level.

Thank you very much!
Title: Re: Getting started with the FV1
Post by: Digital Larry on December 05, 2016, 10:39:48 AM
I'm not an expert in FV-1 HW design, but I do hear a number of people have had noise issues.  My strongest recommendation regarding HW design is to get advice from Frank at the Spin forum, since he was involved with the chip design and probably has more experience in that regard than anyone on the planet.

Regarding coding, you can hit this link (http://holycityaudio.com/spincad-designer-2/) to learn about a program I wrote which makes designing algorithms for the FV-1 relatively easy.
Title: Re: Getting started with the FV1
Post by: Ice-9 on December 06, 2016, 06:17:27 AM
You are sending the output from pin 28 FV-1 back into the input pins 1+2, but you are taking this directly before any filtering of the output, this could be a likely source to build increasing noise. It would be best to feedback the output AFTER the output filtering.
Title: Re: Getting started with the FV1
Post by: octfrank on December 06, 2016, 11:35:22 AM
What Ice-9 said, you must filter the output prior to feeding back. It is a delta-sigma converter so it pushes noise out of band so if you feedback without filtering the noise will alias back in band and you will hear it.
Title: Re: Getting started with the FV1
Post by: slacker on December 06, 2016, 03:15:03 PM
It might be an idea to send the input just into the left input and send the feedback into the right input. This way you can process the feedback separately to the input, so you could for example lowpass filter the feedback signal or pitch shift it, if you just want feedback just add the left and right input together in code. I did this in a synth module and it gives you some interesting options.
You could also take the feedback from the right output, then you can do stuff like have the feedback be just wet signal and have a mix of wet and dry on the left output.
Title: Re: Getting started with the FV1
Post by: pruttelherrie on December 07, 2016, 05:37:09 PM
With regards to feedback, in addition to all the remarks above: if you make it a pot with which you can control the amount of signal fed back, you free up a parameter pot for other functions.
Title: Re: Getting started with the FV1
Post by: Benoi31 on December 20, 2016, 04:24:05 AM
Thank you all for your tips :)

I finally decided to remove the feedback loop, in order to be able to use the pre-stored programs of the FV1.
I used a second relay with the PIC to be able to place a second footswitch that will set pot1 to max.

Here is the updated schematic:
(https://3.bp.blogspot.com/-cFNgZeYvljA/WErOgXh_LDI/AAAAAAAAC_c/_Sdfa6UpqK02YFZv3OqRQi1g2og6mMHpwCLcB/s1600/schematic.png)

So I will have :

I designed a PCB for a 125B enclosure, currently waiting for it from OshPark
(https://3.bp.blogspot.com/-_t0qVK-JjF0/WE6G0df92uI/AAAAAAAAC_w/eQ9UYI3gMzMrn5C6CEeCqe6LyX7e31lsACLcB/s1600/PCB-design-1.png)
Title: Re: Getting started with the FV1
Post by: Benoi31 on March 13, 2017, 04:38:22 AM
OK I have just tested this board, and it works fine :)
(apart from one forgotten connection)

The "tone" switch is not really interesting, so I replaced it with a "dry / wet" switch.
The buffered bypass needs improvements, because the dry / wet switch affects the bypass signal and the volume too.

I also have a bit of noise (not much, but still, it could be nice to reduce it). I read that it could be a good idea to drive the chip a bit more by using an amplification on the first gain stage. Have you tried it ?

I tried to make my own algorithms using SpinCad, I am amazed of how easy it is!
Title: Re: Getting started with the FV1
Post by: cloudscapes on March 14, 2017, 10:54:10 PM
for noise, it generally really helps to put the input cap as physically close as possible to the input pin, as a general rule of thumb for ADC covnerters, in your case FC1/1nf.