??? 12/24/04 19:57 Read: times |
#83810 - variable time interval Responding to: ???'s previous message |
Finally from the review, I found that the real time computations using equations will be slow in '51. So I did the offline calculations in Matlab. And I have the desired output values. But my problem is that I have to give that output switching pattern at different time intervals. Whether this could be done in 8051, help me please.
For better understanding i am giving the problem briefly below... My problem is that from 2-input(signals) values I have to find the switching pulses(9-different pulses). I have done the offline calculations, sample result is shown below. Time------------------------------p1 p2 p3 p4........p9 0.000000000000000000---------0 0 0 1........... 9.47390314346800E-18---------1 2.30581481443810E-04---------1 2.30581481443820E-04---------1 2.30581481443829E-04---------1 4.00037491176927E-04---------1 4.00037491176936E-04---------1 4.00037491176946E-04---------1 4.01837491176927E-04---------1 . . . . . . If i am storing the P1....P9 values in EPROM, then how can I run the microcontroller to fetch the EPROM values at variable time intervals. Is it possible? and also can I operate the microcontroller for such minute time intervals? as a Timer. Please give suggestions for this problem |