Re: PID question



hondgm@xxxxxxxxx wrote:

Actually, I have an ADC that reads the load current. I also have one
that reads load voltage, which is a little redundant. The micro is 16
bit, with a 100ksps A/D and a some DSP type functionality. It seems to
handle it ok; it's just that some loads causes the voltage output to
jump all over the place. For example, pure resistive loads are fine.
If I put a small motor on as a load with some current limiting, it has
problems. The voltage output jumps all over.

Just to add a few thoughts. If your A/D can sample at 100k samples per second, you'll have 10us sampling time (assuming no s/w overhead). You must also take into account that, since you have a discrete-time closed-loop system, you must allocate several samples to your desired response time, so as not to de-stabilise the loop. That will slow it down, but may still be acceptable for what you want to do. My very rough guess would be a response (settling) time of at least 100us, probably a lot more (for a very stable loop).

If/when you have the circuit and PIC code working, please post the current limiter speed of response you get to a load step change.

--
Regards,
Costas
_________________________________________________
Costas Vlachos Email: c-X-vlachos@xxxxxxxxxxxxxx
SPAM-TRAPPED: Please remove "-X-" before replying
.



Relevant Pages

  • converting ATX supply into variable output
    ... So I modified the voltage ... I played around with the loop compensation in attempt to stabilize the ... into 0.1 Ohm load. ... Here is the original feed back circuit: ...
    (sci.electronics.design)
  • Re: Will Radio Engineering be QMs worst nightmare?
    ... See what kind of voltage gets produced by 150 watts ... I am thinking of an amplifier that is turned on with no load. ... > don't increase because the load resistance changes. ... What kind of amp. ...
    (sci.physics)
  • Re: Flyback transformer design confusion!!
    ... When applying a constant DC voltage across a resistive ... load, just *how* can I increase the power into that load, other than by ... Iout is to change the resistor. ...
    (sci.electronics.design)
  • Re: HELP! Onan Emerald III No AC
    ... I replaced the fuse and let it sit for a minute. ... motor purrs along just fine and does not blow the fuse. ... I applied the load and the surging was ... 'transformer regulated' set - no electronic voltage regulator. ...
    (rec.outdoors.rv-travel)
  • Re: NFB101 part 3
    ... the FB voltage is from a simple resistance divider, ... be more familiar to tube heads than op-amp like triangles. ... as the gain reduction. ... The load affects the output tube open loop gain, ...
    (rec.audio.tubes)

Loading