Sorry for the delay, I was doing simulations and different calculations. Thanks for your answers they are very important for me.
It's a university work, just a little project: after I get the VCO and triangle wave at the output I should use it for a triangle-sinusoidal shaper. I'll be going to work on this second block later.
In this 2Hz-20kHz I think it's not essential to have a very accurate 1V/kHz relation as the main task is the shaper. I want my triangle wave to have 0 mean value (alternating). I've added some things to adapt the schematic if two comparators to my needs but I'm gonna share it later.
I want to ask you for help with another problem. This is the original schematic I'm talking about
I think using the LM393 with one of the comparators used to directly switch the resistor, would be better than a discrete transistor and the faster LM311.
(Attachment Link)
I tried to simulate it in LTSpice (I added LM393 and NE5532 models to LTSpice) in transient mode.
My problem is that when it starts running, I has some "too many steps error" . Sometimes I get it istantly other times later but anyway it looks like it's going like overclock: starts showing picoseconds in the graph and keeps on adding them slowly.
I looked for a solution google but I find that it's circuit related. I also tried changing operational amplifier (for something like OP77 or LT.. which are already inside) and it doesn't help, instead when I completely remove the opamp and adjust a bit the circuit of the comparator for a test it works.