From: Michael Robinson on
I built a voltage regulator for an old truck I own. The circuit uses a
voltage controlled oscillator with a square wave output to drive the gate of
a mosfet that controls the alternator's field. The voltage regulation
feedback loop uses a voltage divider from the alternator output/vehicle
battery, connected to the reference pin of a TL431. The TL431 controls the
vco.

Now, for a bit of a digression. Years ago I built a boost converter with a
similar feedback loop, the major difference being that it used a bjt instead
of a TL431. But it worked on the same principle, with a voltage divider from
the output to the base of the bjt, which controlled a blocking oscillator.
The output voltage wandered up and down and was very unstable, so I put a
capacitor from the collector to the base of the bjt. That fixed the problem
and made the output voltage stable.

So, having had this experience, I put a cap from the cathode to the
reference of the TL431 in my truck regulator. When I installed it in the
truck, the alternator output regulation was unstable; the voltage jumped up
and down like crazy. After much head scratching, on a hunch I took wire
clippers and removed that cap from the circuit board. Then the regulator
worked GREAT. System voltage perfectly stable, good load regulation.

Perhaps I could be forgiven for thinking the boost converter and the vehicle
voltage regulator would operate on the same principle and that a cap would
have the same effect, in view of the fact that in both circuits the cap
provides negative feedback in the controlling element of the feedback loop.
But the two circuits have opposite behavior, and adding a cap to the
controlling element in the feedback loop has exactly the opposite effect in
each circuit. The boost regulator was unstable without a capacitor, and
stable with one. Contrarily, the alternator regulator was stable without a
capacitor, and unstable with one.

At best I have some intuitive sense that the presence of a big mechanical
device that drives the load and resides within the loop changes things
dramatically. But I'm lacking in knowledge of theory and could use
elucidation. Any pointers?


From: Tim Wescott on
On Sun, 20 Dec 2009 15:32:04 -0500, Michael Robinson wrote:

> I built a voltage regulator for an old truck I own. The circuit uses a
> voltage controlled oscillator with a square wave output to drive the
> gate of a mosfet that controls the alternator's field. The voltage
> regulation feedback loop uses a voltage divider from the alternator
> output/vehicle battery, connected to the reference pin of a TL431. The
> TL431 controls the vco.
>
> Now, for a bit of a digression. Years ago I built a boost converter with
> a similar feedback loop, the major difference being that it used a bjt
> instead of a TL431. But it worked on the same principle, with a voltage
> divider from the output to the base of the bjt, which controlled a
> blocking oscillator. The output voltage wandered up and down and was
> very unstable, so I put a capacitor from the collector to the base of
> the bjt. That fixed the problem and made the output voltage stable.
>
> So, having had this experience, I put a cap from the cathode to the
> reference of the TL431 in my truck regulator. When I installed it in the
> truck, the alternator output regulation was unstable; the voltage jumped
> up and down like crazy. After much head scratching, on a hunch I took
> wire clippers and removed that cap from the circuit board. Then the
> regulator worked GREAT. System voltage perfectly stable, good load
> regulation.
>
> Perhaps I could be forgiven for thinking the boost converter and the
> vehicle voltage regulator would operate on the same principle and that a
> cap would have the same effect, in view of the fact that in both
> circuits the cap provides negative feedback in the controlling element
> of the feedback loop. But the two circuits have opposite behavior, and
> adding a cap to the controlling element in the feedback loop has exactly
> the opposite effect in each circuit. The boost regulator was unstable
> without a capacitor, and stable with one. Contrarily, the alternator
> regulator was stable without a capacitor, and unstable with one.
>
> At best I have some intuitive sense that the presence of a big
> mechanical device that drives the load and resides within the loop
> changes things dramatically. But I'm lacking in knowledge of theory and
> could use elucidation. Any pointers?

A schematic would help - either an ASCII art one, or put one up on a
website somewhere so folks could look.

Yes, the dynamics of your alternator are likely to be different from the
dynamics of your boost converter output stage, so that could certainly
have an effect on stability. Without knowing more about what you did
(and probably more about the alternator's dynamics) I can't say much.

--
www.wescottdesign.com
From: Michael Robinson on

"Tim Wescott" <tim(a)seemywebsite.com> wrote in message
news:K56dnfGL45LFBLPWnZ2dnUVZ_vRi4p2d(a)web-ster.com...
> On Sun, 20 Dec 2009 15:32:04 -0500, Michael Robinson wrote:
>
>> I built a voltage regulator for an old truck I own. The circuit uses a
>> voltage controlled oscillator with a square wave output to drive the
>> gate of a mosfet that controls the alternator's field. The voltage
>> regulation feedback loop uses a voltage divider from the alternator
>> output/vehicle battery, connected to the reference pin of a TL431. The
>> TL431 controls the vco.
>>
>> Now, for a bit of a digression. Years ago I built a boost converter with
>> a similar feedback loop, the major difference being that it used a bjt
>> instead of a TL431. But it worked on the same principle, with a voltage
>> divider from the output to the base of the bjt, which controlled a
>> blocking oscillator. The output voltage wandered up and down and was
>> very unstable, so I put a capacitor from the collector to the base of
>> the bjt. That fixed the problem and made the output voltage stable.
>>
>> So, having had this experience, I put a cap from the cathode to the
>> reference of the TL431 in my truck regulator. When I installed it in the
>> truck, the alternator output regulation was unstable; the voltage jumped
>> up and down like crazy. After much head scratching, on a hunch I took
>> wire clippers and removed that cap from the circuit board. Then the
>> regulator worked GREAT. System voltage perfectly stable, good load
>> regulation.
>>
>> Perhaps I could be forgiven for thinking the boost converter and the
>> vehicle voltage regulator would operate on the same principle and that a
>> cap would have the same effect, in view of the fact that in both
>> circuits the cap provides negative feedback in the controlling element
>> of the feedback loop. But the two circuits have opposite behavior, and
>> adding a cap to the controlling element in the feedback loop has exactly
>> the opposite effect in each circuit. The boost regulator was unstable
>> without a capacitor, and stable with one. Contrarily, the alternator
>> regulator was stable without a capacitor, and unstable with one.
>>
>> At best I have some intuitive sense that the presence of a big
>> mechanical device that drives the load and resides within the loop
>> changes things dramatically. But I'm lacking in knowledge of theory and
>> could use elucidation. Any pointers?
>
> A schematic would help - either an ASCII art one, or put one up on a
> website somewhere so folks could look.
>
> Yes, the dynamics of your alternator are likely to be different from the
> dynamics of your boost converter output stage, so that could certainly
> have an effect on stability. Without knowing more about what you did
> (and probably more about the alternator's dynamics) I can't say much.
>

I don't think I can find the diagram for the circuit, but the following
should help:
Here's a spice file for a vco with the topology of the one I used. I used a
different comparator, and component values may be different, but I didn't
change the basic design.
This spice file was actually posted by John Popelish a few years ago, and I
based my circuit on it.

Version 4
SHEET 1 880 680
WIRE -16 -80 -128 -80
WIRE 304 -80 64 -80
WIRE -64 16 -80 16
WIRE 32 16 16 16
WIRE 304 48 304 -80
WIRE 336 48 336 16
WIRE 336 48 304 48
WIRE 336 80 336 48
WIRE 288 160 224 160
WIRE 224 176 224 160
WIRE -240 240 -304 240
WIRE -128 240 -128 -80
WIRE -128 240 -160 240
WIRE -16 240 -128 240
WIRE 96 256 96 16
WIRE 96 256 48 256
WIRE 128 256 96 256
WIRE 176 256 128 256
WIRE -80 272 -80 16
WIRE -48 272 -48 176
WIRE -48 272 -80 272
WIRE -16 272 -48 272
WIRE -48 304 -48 272
WIRE -128 320 -128 240
FLAG 432 288 0
FLAG 432 208 p12
FLAG 336 176 0
FLAG 224 272 0
FLAG 16 288 0
FLAG -48 384 0
FLAG 336 -64 p12
FLAG -48 96 p12
FLAG 16 224 p12
FLAG 128 176 p12
FLAG 224 80 p12
FLAG -304 320 0
FLAG -128 384 0
FLAG 336 48 Out
SYMBOL voltage 432 192 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 12
SYMBOL Comparators\\LT1017 16 256 R0
SYMATTR InstName U1
SYMBOL nmos 176 176 R0
SYMATTR InstName M1
SYMATTR Value BSS145
SYMBOL nmos 288 80 R0
SYMATTR InstName M2
SYMATTR Value FDS6680A
SYMBOL res 208 64 R0
SYMATTR InstName R1
SYMATTR Value 1k
SYMBOL res 320 -80 R0
SYMATTR InstName R2
SYMATTR Value 1
SYMBOL res -64 288 R0
SYMATTR InstName R3
SYMATTR Value 100k
SYMBOL res -64 80 R0
SYMATTR InstName R4
SYMATTR Value 100k
SYMBOL res 112 160 R0
SYMATTR InstName R5
SYMATTR Value 10k
SYMBOL cap -144 320 R0
SYMATTR InstName C1
SYMATTR Value 220n
SYMBOL cap 96 0 R90
WINDOW 0 0 32 VBottom 0
WINDOW 3 32 32 VTop 0
SYMATTR InstName C3
SYMATTR Value 10n
SYMBOL res 32 0 R90
WINDOW 0 0 56 VBottom 0
WINDOW 3 32 56 VTop 0
SYMATTR InstName R6
SYMATTR Value 100k
SYMBOL res 80 -96 R90
WINDOW 0 0 56 VBottom 0
WINDOW 3 32 56 VTop 0
SYMATTR InstName R7
SYMATTR Value 100k
SYMBOL res -144 224 R90
WINDOW 0 0 56 VBottom 0
WINDOW 3 32 56 VTop 0
SYMATTR InstName R8
SYMATTR Value 100k
SYMBOL voltage -304 224 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value PULSE(0 12 0 1)
TEXT 184 360 Left 0 !.tran 1

At the input to the vco there's a TL431 with a pullup resistor on the
cathode, and the cathode is connected to the vco input.
For what it's worth, the truck is a 1994 Dodge 2500 Ram diesel.


Putting a cap across the TL431 cathode/reference terminals ought to slow the
circuit's response, which could be a problem.
From the way the voltage was jumping around, it was something more than just
loose regulation -- it's like the cap introduced some kind of nonlinear
effect in the feedback loop's dynamics. It wasn't just drifting, it was
bouncing around.


From: Hammy on
On Sun, 20 Dec 2009 17:23:50 -0500, "Michael Robinson"
<nospam(a)billburg.com> wrote:

>
>"Tim Wescott" <tim(a)seemywebsite.com> wrote in message
>news:K56dnfGL45LFBLPWnZ2dnUVZ_vRi4p2d(a)web-ster.com...
>> On Sun, 20 Dec 2009 15:32:04 -0500, Michael Robinson wrote:
>>
>>> I built a voltage regulator for an old truck I own. The circuit uses a
>>> voltage controlled oscillator with a square wave output to drive the
>>> gate of a mosfet that controls the alternator's field. The voltage
>>> regulation feedback loop uses a voltage divider from the alternator
>>> output/vehicle battery, connected to the reference pin of a TL431. The
>>> TL431 controls the vco.
>>>
>>> Now, for a bit of a digression. Years ago I built a boost converter with
>>> a similar feedback loop, the major difference being that it used a bjt
>>> instead of a TL431. But it worked on the same principle, with a voltage
>>> divider from the output to the base of the bjt, which controlled a
>>> blocking oscillator. The output voltage wandered up and down and was
>>> very unstable, so I put a capacitor from the collector to the base of
>>> the bjt. That fixed the problem and made the output voltage stable.
>>>
>>> So, having had this experience, I put a cap from the cathode to the
>>> reference of the TL431 in my truck regulator. When I installed it in the
>>> truck, the alternator output regulation was unstable; the voltage jumped
>>> up and down like crazy. After much head scratching, on a hunch I took
>>> wire clippers and removed that cap from the circuit board. Then the
>>> regulator worked GREAT. System voltage perfectly stable, good load
>>> regulation.
>>>
>>> Perhaps I could be forgiven for thinking the boost converter and the
>>> vehicle voltage regulator would operate on the same principle and that a
>>> cap would have the same effect, in view of the fact that in both
>>> circuits the cap provides negative feedback in the controlling element
>>> of the feedback loop. But the two circuits have opposite behavior, and
>>> adding a cap to the controlling element in the feedback loop has exactly
>>> the opposite effect in each circuit. The boost regulator was unstable
>>> without a capacitor, and stable with one. Contrarily, the alternator
>>> regulator was stable without a capacitor, and unstable with one.
>>>
>>> At best I have some intuitive sense that the presence of a big
>>> mechanical device that drives the load and resides within the loop
>>> changes things dramatically. But I'm lacking in knowledge of theory and
>>> could use elucidation. Any pointers?
>>
>> A schematic would help - either an ASCII art one, or put one up on a
>> website somewhere so folks could look.
>>
>> Yes, the dynamics of your alternator are likely to be different from the
>> dynamics of your boost converter output stage, so that could certainly
>> have an effect on stability. Without knowing more about what you did
>> (and probably more about the alternator's dynamics) I can't say much.
>>
>
>I don't think I can find the diagram for the circuit, but the following
>should help:
>Here's a spice file for a vco with the topology of the one I used. I used a
>different comparator, and component values may be different, but I didn't
>change the basic design.
>This spice file was actually posted by John Popelish a few years ago, and I
>based my circuit on it.
>
>Version 4
>SHEET 1 880 680
>WIRE -16 -80 -128 -80
>WIRE 304 -80 64 -80
>WIRE -64 16 -80 16
>WIRE 32 16 16 16
>WIRE 304 48 304 -80
>WIRE 336 48 336 16
>WIRE 336 48 304 48
>WIRE 336 80 336 48
>WIRE 288 160 224 160
>WIRE 224 176 224 160
>WIRE -240 240 -304 240
>WIRE -128 240 -128 -80
>WIRE -128 240 -160 240
>WIRE -16 240 -128 240
>WIRE 96 256 96 16
>WIRE 96 256 48 256
>WIRE 128 256 96 256
>WIRE 176 256 128 256
>WIRE -80 272 -80 16
>WIRE -48 272 -48 176
>WIRE -48 272 -80 272
>WIRE -16 272 -48 272
>WIRE -48 304 -48 272
>WIRE -128 320 -128 240
>FLAG 432 288 0
>FLAG 432 208 p12
>FLAG 336 176 0
>FLAG 224 272 0
>FLAG 16 288 0
>FLAG -48 384 0
>FLAG 336 -64 p12
>FLAG -48 96 p12
>FLAG 16 224 p12
>FLAG 128 176 p12
>FLAG 224 80 p12
>FLAG -304 320 0
>FLAG -128 384 0
>FLAG 336 48 Out
>SYMBOL voltage 432 192 R0
>WINDOW 123 0 0 Left 0
>WINDOW 39 0 0 Left 0
>SYMATTR InstName V1
>SYMATTR Value 12
>SYMBOL Comparators\\LT1017 16 256 R0
>SYMATTR InstName U1
>SYMBOL nmos 176 176 R0
>SYMATTR InstName M1
>SYMATTR Value BSS145
>SYMBOL nmos 288 80 R0
>SYMATTR InstName M2
>SYMATTR Value FDS6680A
>SYMBOL res 208 64 R0
>SYMATTR InstName R1
>SYMATTR Value 1k
>SYMBOL res 320 -80 R0
>SYMATTR InstName R2
>SYMATTR Value 1
>SYMBOL res -64 288 R0
>SYMATTR InstName R3
>SYMATTR Value 100k
>SYMBOL res -64 80 R0
>SYMATTR InstName R4
>SYMATTR Value 100k
>SYMBOL res 112 160 R0
>SYMATTR InstName R5
>SYMATTR Value 10k
>SYMBOL cap -144 320 R0
>SYMATTR InstName C1
>SYMATTR Value 220n
>SYMBOL cap 96 0 R90
>WINDOW 0 0 32 VBottom 0
>WINDOW 3 32 32 VTop 0
>SYMATTR InstName C3
>SYMATTR Value 10n
>SYMBOL res 32 0 R90
>WINDOW 0 0 56 VBottom 0
>WINDOW 3 32 56 VTop 0
>SYMATTR InstName R6
>SYMATTR Value 100k
>SYMBOL res 80 -96 R90
>WINDOW 0 0 56 VBottom 0
>WINDOW 3 32 56 VTop 0
>SYMATTR InstName R7
>SYMATTR Value 100k
>SYMBOL res -144 224 R90
>WINDOW 0 0 56 VBottom 0
>WINDOW 3 32 56 VTop 0
>SYMATTR InstName R8
>SYMATTR Value 100k
>SYMBOL voltage -304 224 R0
>WINDOW 123 0 0 Left 0
>WINDOW 39 0 0 Left 0
>SYMATTR InstName V2
>SYMATTR Value PULSE(0 12 0 1)
>TEXT 184 360 Left 0 !.tran 1
>
>At the input to the vco there's a TL431 with a pullup resistor on the
>cathode, and the cathode is connected to the vco input.
>For what it's worth, the truck is a 1994 Dodge 2500 Ram diesel.
>
>
>Putting a cap across the TL431 cathode/reference terminals ought to slow the
>circuit's response, which could be a problem.
>From the way the voltage was jumping around, it was something more than just
>loose regulation -- it's like the cap introduced some kind of nonlinear
>effect in the feedback loop's dynamics. It wasn't just drifting, it was
>bouncing around.
>
I don't see a TL431 in your schematic but here is a screen shot of
the TL431 showing capacitor values which may cause the device to
oscillate.

Page 24 of the data sheet.

http://i46.tinypic.com/34ficrs.png
From: Michael Robinson on

"Hammy" <spam(a)spam.com> wrote in message
news:24eti55cgbfsaf7n84ab0b9khkc5uknhr0(a)4ax.com...
> On Sun, 20 Dec 2009 17:23:50 -0500, "Michael Robinson"
> <nospam(a)billburg.com> wrote:
>
>>
>>"Tim Wescott" <tim(a)seemywebsite.com> wrote in message
>>news:K56dnfGL45LFBLPWnZ2dnUVZ_vRi4p2d(a)web-ster.com...
>>> On Sun, 20 Dec 2009 15:32:04 -0500, Michael Robinson wrote:
>>>
>>>> I built a voltage regulator for an old truck I own. The circuit uses a
>>>> voltage controlled oscillator with a square wave output to drive the
>>>> gate of a mosfet that controls the alternator's field. The voltage
>>>> regulation feedback loop uses a voltage divider from the alternator
>>>> output/vehicle battery, connected to the reference pin of a TL431. The
>>>> TL431 controls the vco.
>>>>
>>>> Now, for a bit of a digression. Years ago I built a boost converter
>>>> with
>>>> a similar feedback loop, the major difference being that it used a bjt
>>>> instead of a TL431. But it worked on the same principle, with a voltage
>>>> divider from the output to the base of the bjt, which controlled a
>>>> blocking oscillator. The output voltage wandered up and down and was
>>>> very unstable, so I put a capacitor from the collector to the base of
>>>> the bjt. That fixed the problem and made the output voltage stable.
>>>>
>>>> So, having had this experience, I put a cap from the cathode to the
>>>> reference of the TL431 in my truck regulator. When I installed it in
>>>> the
>>>> truck, the alternator output regulation was unstable; the voltage
>>>> jumped
>>>> up and down like crazy. After much head scratching, on a hunch I took
>>>> wire clippers and removed that cap from the circuit board. Then the
>>>> regulator worked GREAT. System voltage perfectly stable, good load
>>>> regulation.
>>>>
>>>> Perhaps I could be forgiven for thinking the boost converter and the
>>>> vehicle voltage regulator would operate on the same principle and that
>>>> a
>>>> cap would have the same effect, in view of the fact that in both
>>>> circuits the cap provides negative feedback in the controlling element
>>>> of the feedback loop. But the two circuits have opposite behavior, and
>>>> adding a cap to the controlling element in the feedback loop has
>>>> exactly
>>>> the opposite effect in each circuit. The boost regulator was unstable
>>>> without a capacitor, and stable with one. Contrarily, the alternator
>>>> regulator was stable without a capacitor, and unstable with one.
>>>>
>>>> At best I have some intuitive sense that the presence of a big
>>>> mechanical device that drives the load and resides within the loop
>>>> changes things dramatically. But I'm lacking in knowledge of theory and
>>>> could use elucidation. Any pointers?
>>>
>>> A schematic would help - either an ASCII art one, or put one up on a
>>> website somewhere so folks could look.
>>>
>>> Yes, the dynamics of your alternator are likely to be different from the
>>> dynamics of your boost converter output stage, so that could certainly
>>> have an effect on stability. Without knowing more about what you did
>>> (and probably more about the alternator's dynamics) I can't say much.
>>>
>>
>>I don't think I can find the diagram for the circuit, but the following
>>should help:
>>Here's a spice file for a vco with the topology of the one I used. I used
>>a
>>different comparator, and component values may be different, but I didn't
>>change the basic design.
>>This spice file was actually posted by John Popelish a few years ago, and
>>I
>>based my circuit on it.
>>
>>Version 4
>>SHEET 1 880 680
>>WIRE -16 -80 -128 -80
>>WIRE 304 -80 64 -80
>>WIRE -64 16 -80 16
>>WIRE 32 16 16 16
>>WIRE 304 48 304 -80
>>WIRE 336 48 336 16
>>WIRE 336 48 304 48
>>WIRE 336 80 336 48
>>WIRE 288 160 224 160
>>WIRE 224 176 224 160
>>WIRE -240 240 -304 240
>>WIRE -128 240 -128 -80
>>WIRE -128 240 -160 240
>>WIRE -16 240 -128 240
>>WIRE 96 256 96 16
>>WIRE 96 256 48 256
>>WIRE 128 256 96 256
>>WIRE 176 256 128 256
>>WIRE -80 272 -80 16
>>WIRE -48 272 -48 176
>>WIRE -48 272 -80 272
>>WIRE -16 272 -48 272
>>WIRE -48 304 -48 272
>>WIRE -128 320 -128 240
>>FLAG 432 288 0
>>FLAG 432 208 p12
>>FLAG 336 176 0
>>FLAG 224 272 0
>>FLAG 16 288 0
>>FLAG -48 384 0
>>FLAG 336 -64 p12
>>FLAG -48 96 p12
>>FLAG 16 224 p12
>>FLAG 128 176 p12
>>FLAG 224 80 p12
>>FLAG -304 320 0
>>FLAG -128 384 0
>>FLAG 336 48 Out
>>SYMBOL voltage 432 192 R0
>>WINDOW 123 0 0 Left 0
>>WINDOW 39 0 0 Left 0
>>SYMATTR InstName V1
>>SYMATTR Value 12
>>SYMBOL Comparators\\LT1017 16 256 R0
>>SYMATTR InstName U1
>>SYMBOL nmos 176 176 R0
>>SYMATTR InstName M1
>>SYMATTR Value BSS145
>>SYMBOL nmos 288 80 R0
>>SYMATTR InstName M2
>>SYMATTR Value FDS6680A
>>SYMBOL res 208 64 R0
>>SYMATTR InstName R1
>>SYMATTR Value 1k
>>SYMBOL res 320 -80 R0
>>SYMATTR InstName R2
>>SYMATTR Value 1
>>SYMBOL res -64 288 R0
>>SYMATTR InstName R3
>>SYMATTR Value 100k
>>SYMBOL res -64 80 R0
>>SYMATTR InstName R4
>>SYMATTR Value 100k
>>SYMBOL res 112 160 R0
>>SYMATTR InstName R5
>>SYMATTR Value 10k
>>SYMBOL cap -144 320 R0
>>SYMATTR InstName C1
>>SYMATTR Value 220n
>>SYMBOL cap 96 0 R90
>>WINDOW 0 0 32 VBottom 0
>>WINDOW 3 32 32 VTop 0
>>SYMATTR InstName C3
>>SYMATTR Value 10n
>>SYMBOL res 32 0 R90
>>WINDOW 0 0 56 VBottom 0
>>WINDOW 3 32 56 VTop 0
>>SYMATTR InstName R6
>>SYMATTR Value 100k
>>SYMBOL res 80 -96 R90
>>WINDOW 0 0 56 VBottom 0
>>WINDOW 3 32 56 VTop 0
>>SYMATTR InstName R7
>>SYMATTR Value 100k
>>SYMBOL res -144 224 R90
>>WINDOW 0 0 56 VBottom 0
>>WINDOW 3 32 56 VTop 0
>>SYMATTR InstName R8
>>SYMATTR Value 100k
>>SYMBOL voltage -304 224 R0
>>WINDOW 123 0 0 Left 0
>>WINDOW 39 0 0 Left 0
>>SYMATTR InstName V2
>>SYMATTR Value PULSE(0 12 0 1)
>>TEXT 184 360 Left 0 !.tran 1
>>
>>At the input to the vco there's a TL431 with a pullup resistor on the
>>cathode, and the cathode is connected to the vco input.
>>For what it's worth, the truck is a 1994 Dodge 2500 Ram diesel.
>>
>>
>>Putting a cap across the TL431 cathode/reference terminals ought to slow
>>the
>>circuit's response, which could be a problem.
>>From the way the voltage was jumping around, it was something more than
>>just
>>loose regulation -- it's like the cap introduced some kind of nonlinear
>>effect in the feedback loop's dynamics. It wasn't just drifting, it was
>>bouncing around.
>>
> I don't see a TL431 in your schematic

This won't get anywhere until I provide some visuals.
Here's an abstract of the system, a flow chart if you will. It's a loop.
View in fixed font.

,----------------------<----------------------------------------------<----------------------------,
|
|
|
|
V
^
|
|
|
|
'-->--tl431-->--osc-->--mosfet-->--alt rotor-->--magnetic field-->--alt
stator-->--battery---->----'


When I was putting the circuit together on the bench it was unconditionally
stable, without regard to the presence or absence of capacitance on the
TL431, which by the way is not from cath to ground as in your link; it's
cath to ref.
After I installed it in the truck's electrical system, the problem behavior
appeared which I described before.
That is, introducing capacitance between the cathode and the reference of
the TL431 in this system results in unstable behavior. The problem ONLY
reveals itself with the alternator in the loop (like I said, the circuit was
stable on the bench). I intended the circuit to pwm the field at a few
hundred Hz to hold a steady output voltage; instead the field turns on and
off in some seemingly random pattern about 1 Hz or slower, causing the
voltage to jump up and down.
Removing the capacitance made the voltage regulator work the way I meant it
to. It pwm's the field and holds the output voltage steady.
So I'm pretty sure it has something to do with the presence of the
alternator in the loop. But why?