Search the web
Sign In
New User? Sign Up
basicstamps · BASIC Stamps
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Urgent ! BS2 Code Need.......SOS !   Message List  
Reply | Forward Message #46951 of 46953 |
Dear BS2 fans,
I need your urgent help on this, I am running out of
time for this urgent programming requirement.

How to program the equation 1,2,3,4 and 5 into Bs2
code ?

The defination for 'Process Simulator':
This 'Process Simulator' will connect to a PID
Controller.

X=Input of 'Process Simulator' = Output from PID
Controller

X1 = (X + D)
-----------------------------------------------[1]
X2 = (X+D) (1-exp(-t/T1)) , T1,T2,T3 are delay values
---------[2]
X3 = X2.(1-exp(-t/T2))
----------------------------------------[3]
X4 = X3. Ka.(1-exp(-t/T3)), Ka rate of Change of input
gain ---[4]
Y= X4-0.5, Deduct 50 OR 3V
------------------------------------[5]

t =instantaneous time value, when X and D are changed,
may use AD
D= Disturbance Input
Ka=2=System Gain=Gain of rate of Change of X & D

X,D,T1,T2,T3 are set by hardware (rotation selector
switch as SW3,SW4,SW5 and SW6),

Ka and 0.5 are set by software.

Y=Output of 'Process Simulator'= Input of PID
Controller

t =instantaneous time value, when X and D are changed,
may use AD sampling time period , t = 0…..µ

Thank you for the help.
Best regards.
Kam



=====
Thank you.
Best regards.

Kam Soon Cheng



__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail

[Non-text portions of this message have been removed]





Fri Aug 20, 2004 12:56 am

sckam
Offline Offline
Send Email Send Email

Forward
Message #46951 of 46953 |
Expand Messages Author Sort by Date

Dear BS2 fans, I need your urgent help on this, I am running out of time for this urgent programming requirement. How to program the equation 1,2,3,4 and 5...
Kam Soon Cheng
sckam
Offline Send Email
Aug 23, 2004
9:00 pm

Dear BS2 fans, I need your urgent help on this, I am running out of time for this urgent programming requirement. How to program the equation 1,2,3,4 and 5...
Kam Soon Cheng
sckam
Offline Send Email
Aug 23, 2004
9:01 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help