Previous in Forum: Changing CT Ration in Ct2e Socomec Kwh Meter   Next in Forum: Service Factor of Electrical Motor
Close
Close
Close
9 comments
Rate Comments: Nested
Active Contributor

Join Date: Jun 2009
Posts: 10

Fuzzy Logic Based Active Power Filter

05/12/2010 10:08 PM

Dear All,
I am workin on Fuzzy Logic Based active Power Filter where i have taken a
plant model frm where load voltage is sensed and is maintained at a
specified reference point using Fuzzy Logic Controller (FLC Tool box
in SIMULINK) . I have taken 2 Input 1 Output FLC where voltage error
and the change in Voltage error are the 2 input signals and the outout
is my control signal given back to the filter Now my problem is when i run the simulation i get lots of error which
states as follows:
"Input data dependency violation due to action subsystems. See
Subsystem Examples in the Simulink library for valid and invalid
examples of action subsystems"
This error although is getting eliminated by using a unit delay block or memory block
between the filter and the FLC but i am not getting proper control
action. SO is there any other way to overcome this error inspite of
using a delay block memory block. Also actually i am not able to understand what
the error is stating.
Hope u would help me at the earliest possible. Waiting for ur
response please.

Thanking u in Advance,

shams memon

Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.
Guru
Engineering Fields - Electrical Engineering - Been there, done that. Engineering Fields - Control Engineering - New Member

Join Date: Dec 2008
Location: Long Island NY
Posts: 15600
Good Answers: 981
#1

Re: Fuzzy Logic Based Active Power Filter

05/13/2010 2:26 PM

Have you done a Laplace characterization of your supply control and feedback system? If you have then just do a Routh test of the entire closed loop system.

__________________
"Don't disturb my circles." translation of Archimedes last words
Register to Reply
Guru

Join Date: May 2007
Location: Geelong, Australia
Posts: 1084
Good Answers: 54
#2
In reply to #1

Re: Fuzzy Logic Based Active Power Filter

05/14/2010 12:16 AM

Hi Redfred. I thought I'd never see those words again.

Your solution may not be helpful, since the point of using fuzzy logic to dodge having to determine the systems characterstic equation. (I'm not saying that's a good thing) and instead substitute a series of rule based responses.

There's a interesting discussion about fuzzy logic by Bob Pease called "What's All This Fuzzy Logic Stuff, Anyhow?"

__________________
If there's something you don't understand...Then a wizard did it. As heard on "The Simpsons".
Register to Reply
Guru
Engineering Fields - Electrical Engineering - Been there, done that. Engineering Fields - Control Engineering - New Member

Join Date: Dec 2008
Location: Long Island NY
Posts: 15600
Good Answers: 981
#3
In reply to #2

Re: Fuzzy Logic Based Active Power Filter

05/14/2010 8:42 AM

Do you honestly think that the rules found to work in the analog world can now just be ignored because you can tinker in software until you stumble into a software loop that follows the analog rules?

__________________
"Don't disturb my circles." translation of Archimedes last words
Register to Reply
Guru

Join Date: May 2007
Location: Geelong, Australia
Posts: 1084
Good Answers: 54
#8
In reply to #3

Re: Fuzzy Logic Based Active Power Filter

05/17/2010 7:43 PM

Easy Redfred, I was agreeing with you.

__________________
If there's something you don't understand...Then a wizard did it. As heard on "The Simpsons".
Register to Reply
Guru
Engineering Fields - Electrical Engineering - Been there, done that. Engineering Fields - Control Engineering - New Member

Join Date: Dec 2008
Location: Long Island NY
Posts: 15600
Good Answers: 981
#9
In reply to #8

Re: Fuzzy Logic Based Active Power Filter

05/17/2010 9:33 PM

Yes you were agreeing with me, and I thank you. When I made my comment I thought you were the OP who has yet to return with any comment. I was at least hoping for the OP to say "do I really have to derive the whole transfer function" or maybe "What's a Laplace?" Once I realized my error the edit option was closed. Sorry about that.

__________________
"Don't disturb my circles." translation of Archimedes last words
Register to Reply Off Topic (Score 5)
Guru
Hobbies - DIY Welding - Wannabeabettawelda

Join Date: May 2007
Location: Annapolis, Maryland
Posts: 7940
Good Answers: 458
#4
In reply to #2

Re: Fuzzy Logic Based Active Power Filter

05/14/2010 11:04 AM

I read the Bob Pease posting on fuzzy logic. His reasoning is very difficult to refute. I remember when it was all the rage and then it just seemed to fade into the background. No doubt many doctoral candidates rode that wave for a while. Lotsa papers published on that.

Register to Reply
Guru
Canada - Member - Specialized in power electronics

Join Date: Feb 2008
Location: Montreal, Canada.
Posts: 1372
Good Answers: 80
#5

Re: Fuzzy Logic Based Active Power Filter

05/14/2010 2:35 PM

Shamsmemon,

Welcome to real life. You cannot instantaneously feed back the result of a signal on this same signal and expect your simulator to be happy. The time delay lets the simulator digest the previous sample and generate the correction to be applied to the input before performing the next sample. Without this, your are calculating with a signal that is constantly affected by the result of your calculation.

In real life it is very likely that this feedback combined with the components delays will turn into a nice high frequency oscillator. For these reasons, real active harmonics filters are not done that way. (Each valid method is proprietary to different manufacturer)

You have to come up with your own.

__________________
Experienced is earned, common sense is taught, both are rare essentials of life.
Register to Reply
Guru
Engineering Fields - Electrical Engineering - Been there, done that. Engineering Fields - Control Engineering - New Member

Join Date: Dec 2008
Location: Long Island NY
Posts: 15600
Good Answers: 981
#6
In reply to #5

Re: Fuzzy Logic Based Active Power Filter

05/14/2010 3:35 PM

Quite true. By doing a step response measurement of an existing or simulated power supply control system and then translating this into a Laplace transfer function, one will be including all of the delays that are part of the system. Combining this with a Routh test will permit an exact knowledge of the possible precision, response time and stability of the power supply. This will also identify the feedback control system requirements of gain and delay to obtain these supply characteristics without oscillating. More importantly this will tell the engineer if the desired supply characteristics can be obtained from the existing supply configuration.

__________________
"Don't disturb my circles." translation of Archimedes last words
Register to Reply
Guru
Canada - Member - Specialized in power electronics

Join Date: Feb 2008
Location: Montreal, Canada.
Posts: 1372
Good Answers: 80
#7
In reply to #6

Re: Fuzzy Logic Based Active Power Filter

05/14/2010 5:48 PM

I agree with your technique but what Shamsmemon is describing is impossible to do. This is why Matlab refuses to even try. Adding a sampling time removes the mathematical impossibility but does not solve the feedback problem.

If Shamsmemon wants to solve his problem, he will have to come up with a model with real time delays. Then he will be in position to follow your suggestion and maybe come up with a stable topology.

Active filters are much harder to design than it sounds once real life components are used. This applies to low power noise cancellation devices as well as power harmonics mitigation at 50-500A. I have been there.

__________________
Experienced is earned, common sense is taught, both are rare essentials of life.
Register to Reply
Register to Reply 9 comments
Copy to Clipboard

Users who posted comments:

Brave Sir Robin (1); ffej (2); marcot (2); redfred (4)

Previous in Forum: Changing CT Ration in Ct2e Socomec Kwh Meter   Next in Forum: Service Factor of Electrical Motor

Advertisement