From: john1987 on
It worked for me too. Thanks

John

From: Grant on
On Mon, 26 Jul 2010 20:38:55 -0400, "Martin Riddle" <martin_rid(a)verizon.net> wrote:

>
>
>"Tim Wescott" <tim(a)seemywebsite.com> wrote in message
>news:iJKdnWYsC-kvudPRnZ2dnUVZ_i2dnZ2d(a)web-ster.com...
>> On 07/26/2010 02:37 PM, john1987 wrote:
>>> Hi,
>>>
>>> I am monitoring the voltage across the resistor and needs to maintain
>>> it steady at set point value. Let? suppose if the set point value is
>>> 100 volts peak to peak and if the voltage goes below this value or
>>> above this value than I have to make MOSFETS turn ON and OFF using
>>> pulse width modulation to keep the voltage steady.
>>>
>>> Right now, I am reading the voltage across the coil and doing ?f
>>> else?statements to see whether the voltage is right and make
>>> adjustments accordingly.
>>>
>>>
>>> My question is
>>>
>>> Is this algorithm of using ?f else?algorithm is enough or should I
>>> be controlling the voltage using like control algorithm like PID
>>> controller etc.
>>
>> Depending on what "make adjustments accordingly" translates to, you're
>> working on something that might work.
>>
>> Do a PID, get it right, and you'll be working on something that _will_
>> work. Assuming, of course, that all the rest of the system is
>> right --
>> but if the rest of the system is screwed up, then some oddball hybrid
>> bang-bang controller is going to have less of a chance at it than even
>> a simple PID controller.
>>
>> While it lasts: dpm1480.pbworks.com/f/PID%20without%20a%20PhD.pdf.
>>
>> eetimes.com has moved things around; they've put all the interesting
>> stuff behind an email harvester. Dang!!
>>
>
>Nope, dead link ;(
>and not even a half hour.

Just worked for me. Email me and I'll forward it.

Grant.
>
>Cheers
>
>
From: ehsjr on
Tim Wescott wrote:
> On 07/26/2010 02:37 PM, john1987 wrote:
>
>> Hi,
>>
>> I am monitoring the voltage across the resistor and needs to maintain
>> it steady at set point value. Let�s suppose if the set point value is
>> 100 volts peak to peak and if the voltage goes below this value or
>> above this value than I have to make MOSFETS turn ON and OFF using
>> pulse width modulation to keep the voltage steady.
>>
>> Right now, I am reading the voltage across the coil and doing �if
>> else� statements to see whether the voltage is right and make
>> adjustments accordingly.
>>
>>
>> My question is
>>
>> Is this algorithm of using �if else� algorithm is enough or should I
>> be controlling the voltage using like control algorithm like PID
>> controller etc.
>
>
> Depending on what "make adjustments accordingly" translates to, you're
> working on something that might work.
>
> Do a PID, get it right, and you'll be working on something that _will_
> work. Assuming, of course, that all the rest of the system is right --
> but if the rest of the system is screwed up, then some oddball hybrid
> bang-bang controller is going to have less of a chance at it than even a
> simple PID controller.
>
> While it lasts: dpm1480.pbworks.com/f/PID%20without%20a%20PhD.pdf.
>
> eetimes.com has moved things around; they've put all the interesting
> stuff behind an email harvester. Dang!!
>

Nice article. Repeating your link:

http://dpm1480.pbworks.com/f/PID%20without%20a%20PhD.pdf

Ed
From: Richard Henry on
On Jul 26, 3:03 pm, john1987 <conphil...(a)hotmail.com> wrote:
> Hi,
>
> The microprocessor has an 12 BIT, 400Ksps ADC and four I/O ports
> available. It's clock is 50MHz.  Is that what you wanted to know.
> Please let me know.
>
> Thanks
> John

I wanted to know what controls you had over the power you are
controlling - how many, how attached to the power source and the
device under control, discrete or analog ocntrols, etc.
From: john1987 on
Hi,

I am controlling the power via H bridge 4081A and four mosfets.
Basically controlling the current via PWM using micro.

John

First  |  Prev  |  Next  |  Last
Pages: 1 2 3 4
Prev: Spice model for 6N139
Next: RC filter selection