| Electronics > Projects, Designs, and Technical Stuff |
| Output voltage ramp up and down for input voltage window |
| << < (3/3) |
| Ian.M:
--- Quote from: harnon on May 08, 2019, 09:30:29 pm ---PS The whole thing is overly complicated... but that's becoming a theme for my projects :) At least I'm entertained! --- End quote --- Me too! :-DD I found a bug in my first solution: I forgot the load resistor after the ideal diode at the output. Add 100K to ground to fix it. Here's another version, with non-railing precision rectifiers to reduce the glitches due to slew rate limiting at each transition at higher input frequencies. It ended up needing a *LOT* more parts with a whole extra OPAMP. I also have parameterised the resistors and diodes to make the use of realistic component models easier, and swapped the generic OPAMPs for LT1001, an older LT one. Unfortunately even with the non-railing rectifiers, it still gets pretty crappy above 10KHz. Its also a lot slower to simulate using LT1001 OPAMPs and BAT54 diodes rather than the original UniversalOpamp2 and generic 'D' diodes. |
| harnon:
Ok I had another go at it last night and I think I'm a bit closer - I still haven't looked at your spice template. The V1/V2 values aren't quite right but I think I'm on the right track now :) |
| Navigation |
| Message Index |
| Previous page |