Thread Subject: Mapminmax in SIMULINK

Subject: Mapminmax in SIMULINK

From: Greg

Date: 26 Jun, 2009 19:13:18

Message: 1 of 1

On Jun 26, 7:27 am, dedy <masded...@gmail.com> wrote:
> I have a system with PI controller. I want to replace this controller
> with neural network (NN). So, the input of PI controller i use as
> input of NN. The output of PI controller i use as target of NN.
>
> I am using the premnmx function to preprocess the training data before
> the neural network can be trained:
>
> [pn,minp,maxp,tn,mint,maxt]=premnmx(P,T)
> net=train (net,pn,tn);
>
> then to transform the neural network, i use
> gensim (net,Ts)
>
> I use the result of gensim to replace the old controller in simulink.
> But why the output of NN controller doesn't sama as target (when it
> trained). The result of NN controller worse than PI controller..
>
> is it need processing block (like mapminmax) before processed by NN
> controller in simulink ?
> if its need block, how to use it with NN in simulink ?
> please help me.

How did you train, validate and test the net before
incorporating into simulink?

Size of training, validation and test sets?
Number of hidden nodes?

Size of training, validation and test set errors?

Hope this helps.

Greg

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com