Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Time Delay Function ??

Subject: Time Delay Function ??

From: Vusa

Date: 5 Sep, 1999 03:41:56

Message: 1 of 3

I am trying to write an M-file to simulate a Controller(PID) added to
any sytem with a varying time delay. The problem is getting the time
delay function to work if there is any at all. PLS help if you can.

Alec

Subject: Time Delay Function ??

From: bv

Date: 9 Sep, 1999 17:28:32

Message: 2 of 3

Vusa wrote:
>
> I am trying to write an M-file to simulate a Controller(PID) added to
> any sytem with a varying time delay. The problem is getting the time
> delay function to work if there is any at all. PLS help if you can.


There were a number of posts in a distant past regarding the faulty
variable delay fcn, and assurances by Mathworks that they're working on
it!? Sorry, I guess they couldn't find one to copy from the
http://netlib.org and didn't get around to allocate the "brain power" to
write their own.

It's not that hard really. Start with constructing a fixed delay
function from where the varying delay should be just a few extra lines
of code.

--
Dr.B.Voh
-----------------------------------------------
Modeling * Simulation * Analysis
http://www.netcom.com/~essoft
-----------------------------------------------

Subject: Time Delay Function ??

From: W.Whiten@mailbox.uq.edu.au (Bill Whiten)

Date: 10 Sep, 1999 06:53:57

Message: 3 of 3

In article <37D159E3.604F39C9@jcu.edu.au>, Vusa <eng-vz@jcu.edu.au> wrote:

> I am trying to write an M-file to simulate a Controller(PID) added to
> any sytem with a varying time delay. The problem is getting the time
> delay function to work if there is any at all. PLS help if you can.
>
> Alec
Alec,

First you must decide what type of variable time delay you want (I find it
best to think in terms of a conveyor) eg:
A variable speed conveyer with fixed length,
A varying length conveyer with fixed speed,
A variable speed and varying length conveyer.

Next decide on the type of compartments along the conveyor eg:
Fixed time secgments,
Fixed length segments,
Varying time and length segments.

I would be interested to see your resulting function(s).
-----------
Bill Whiten, W.Whiten@mailbox.uq.oz.au
Julius Kruttschnitt Mineral Research Centre,
The University Of Queensland, Tel: int +61 7 3365 5888
Isles Rd, Indooroopilly, Fax: int +61 7 3365 5999
Brisbane Qld 4068, AUSTRALIA.

Tags for this Thread

No tags are associated with this thread.

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.

Contact us