Re: Shameless Plug

From: YD (yd.techHAT_at_techie.com)
Date: 11/30/04


Date: Tue, 30 Nov 2004 20:56:35 -0300

On Tue, 30 Nov 2004 10:59:17 -0800, Tim Wescott
<tim@wescottnospamdesign.com> wrote:

>Guy Macon wrote:
>
>> Tim Wescott wrote:
>>
>>
>>>Guy Macon wrote:
>>>
>>>
>>>> "Why do some controller boards have an option to reverse the
>>>> phase of the D? What is that good for?"
>>>
>>>OK, I'll bite -- what _is_ it good for? I've never done closed-loop
>>>control with prepackaged controllers and I've never seen that done
>>>elsewhere. I can certainly see reversing the phase of the whole thing,
>>>or reversing the phase of the D term if it's coming from some other
>>>feedback source (which would imply a second input) but I _can't_ see the
>>>point in intentionally establishing an unstable zero in your control system.
>>
>>
>> My experience is more hands-on than theory, but here is the answer
>> I gave my classes:
>>
>> In N years of setting up servos, I have never once found a use for
>> it, nor have I found any literature that explains when it might be
>> of some use. I think that somewhere back in the early days someone
>> was told to put in a jumper that reverses the phase of the entire
>> servo (quite handy when someone miswired a section that is really
>> hard to get to), got it wrong, and some other manufacturers have
>> been copying the "feature" ever since.
>>
>> If one of the theory boys has a better answer, I am all ears.
>>
>Being able to reverse the sign of the whole thing is good -- one of the
>old curmudgeonly engineers from whom I learned practical control liked
>to say that when designing one of these things you should count up all
>the sign changes in the loop -- then throw in one extra for the one you
>missed. His circuits always had at least one spot where you could
>rearrange the inputs to an op amp and reverse the sense of a signal. I
>follow that now: there's always at least one place in my software where
>one can insert a '-' and change the sign of the whole thing.

All controllers I've seen, be they in software or hardware, have a
flag or switch to reverse the controller action. Some even let you
reverse the output action. Eases up a lot in initial implementation.

I've seen the ones that let you reverse the terms individually but
haven't found a need for trying them out. One accidentally had the
integral term reversed and I went bonkers trying to tune it before
finding the error.

The derivative term is useful when you have a slow process with
inertia. Once the controlled variable starts to respond it puts a lid
on further controller action which might cause unacceptable overshoot.
On the few occasions I do apply it it's usually in homeopathic doses.

- YD.

-- 
Remove HAT if replying by mail.


Relevant Pages

  • Re: Encryption of messages between embedded system and PC?
    ... it is simply too easy to tap in to that link and reverse engineer the ... the option of preventing external access to the controller, ... encryption code in the PC and thus reverse engineering the protocol? ... It depends on what you are trying to protect against as well as ...
    (comp.arch.embedded)
  • Re: The devil made me do it
    ... I think I'll cut my losses and scrap the controller. ... the controller will still drive the motor in forward and reverse but the armature ... As others pointed out, it's most likely diodes and SCRs and transistors that are damaged, the older drives are easy to fix, just find all the bad parts and replace them - newer ones have surface mounted parts and custom VLSI and are much harder to work on. ...
    (rec.crafts.metalworking)
  • Re: Shameless Plug
    ... One of the early power system simulation packages developed by ... >> In N years of setting up servos, I have never once found a use for ... > rearrange the inputs to an op amp and reverse the sense of a signal. ...
    (sci.electronics.design)
  • Re: servo reversal Y lead
    ... It is a lot more than reversing the wires on the Y-lead. ... You have to reverse one of your servos, ... when servos were "wired", but most of today's servos are mounted to a PC ... Those are the first three hits when I typed in "servo reverser" into google. ...
    (rec.models.rc.air)
  • Re: servo reversal Y lead
    ... Is it just a matter of reversing the + and - wires on one side of the Y ... You have to reverse one of your servos, meaning that you have to disassemble ... Need to learn how to apply control theory in your embedded system? ...
    (rec.models.rc.air)