Subject: DOS PB speed measuring RPM.
From: Rotary Engine
Date: 5/31/2010, 9:21 AM
To: AAA Put this in the To box

 Power Basic has a very powerful function called MTIME
 where it can measure the time it takes to do something
 in the 2 micro second resolution range.

 Back when I got my first copy of PB in about 1998 or so
 it took 210 microseconds to calculate the value of pi
 on the PC computers that were common in those days.


 pi# = ATN(1) * 4

 Now this is done in less than a microsecond on this PC board
 I am going to use for the EFI controller.
 In fact it can do this 100 times in about 51 micro seconds.
 In other word words it only takes about 1/2 microsecond.

 Lets say we wanted to know the exact RPM of the rotary
 running around 7500 RPM or 7 ms or 7,000 micro seconds per rev.
 We start the timer at rotor 1 TDC and stop it when
 TDC rotor 1 happens again. Our resolution on the exact RPM
 is one part in 3500 or plus or minus 2 RPM!!!!!!!!!!!!!!!!!!!!!!!

 This has far reaching implications for PC boards used
 as real time hardware controllers.

 BTW here is a picture of the computer in a $20 BTC key board
 we will use as a hard ware interrupter controller.

 Paul Lamar.


Paul,

I just discovered this message.  You did not tell the source of the computer
board which is used to measure the short time interval.

Thank you for the additional information.

Gene

It was a VIA PC board but Intel makes something similar based on
the Atom processor for $90 including the processor. Available
from Fry's. There could be a better way of doing
it if you give me more info on what exactly you are trying to do.

We gave up on that project because PB refused to add USB support
to their DOS product and RS232 ports disappeared on mother boards.
The picture attached to that message was a keyboard controller. Not
the board that did the math. Here is the board that did the math.
The newer Intel version is probably faster.

Paul Lamar
-- 
The Rotary Engine NewsLetter. Powered by Linux.
ACRE NL web site. http://www.rotaryeng.net
Youtube key word PaulLamar2
Copyright 1998-2010 All world wide rights reserved.