Bit Mining Project
Topics of Concern
The
whole experiment consists of two parts, the real experiment and virtual
simulation. The real experiment includes the physical aisle, loading zone
and unloading zone. Two trucks run on the real setup. The loading zone
emits a one bit of 0 or 1 with a certain rate. The emission has some range
constraint and the trucks need to come into the range to pick up the bit.
The trucks pick up the bit and move along the aisle toward one of the three
destinations. At the destination, the truck sends the bit to one of the
computer assembly processes. After this, the truck is able to load and
move from the loading zone again. If the assembly process comes up with
the three bits as designed, then the output is a good product. There are
demands associated with the products.
The virtual simulation includes all static experiment objects in the environment, i.e., model of the aisles, loading zone and unloading zone, and one DEVS truck model. There are four more processes running on the computer. Three of which are assembly processes to produce the stream of three-bit product. The other one is the control process, which is in charge of the truck movement controls and traffic controls on the aisle.
oThe trucks do not talk with each other.
oThe aisle sensors give the location data of the trucks.
·Loading zone:
oLoading zones are two relay stations to send bits out.
oThe relay stations have limited range.
·Sensors:
oLocation sensors tell the position of the truck;
oAisle sensors give information if the truck is on the aisle.
·Simulations:
oAisle model: a graph representation of the real aisle, including the position sensors;
oTruck model: simulates the behavior of the truck, including movements and deviations;
oLoading zone: should have the exact the same behavior of the loading zone as that of the physical one;
oUnloading zone: should have exact the same behavior of the unloading zone as that of the physical one.
oControl process: truck movement control and traffic control.
|
Irod
Input
|
Compass
Input
(Actual/relative)
|
Program
Instruction
|
Distance
Settings
|
Wheel
Settings
|
Output
|
|
No
obstacle
|
4
degrees
|
Go
straight
|
4
|
Left
Wheel 650
Right
Wheel 800
|
Distance:
|
|
Orientation:
|
|||||
|
Speed:
|
The irod and compass input is divided into several ranges. The program has different pieces to perform different tasks. For different combination of the input, the vehicle’s travel distance and orientation data will be looked up from the table for the virtual model. The data range comes from the experiments.
Right Wheel setting and Left Wheel setting.
Note: Times are taken for those outputs displacements that have a straight heading.Data will be taken for different Wheel Setting pairs
Output:
Time necessary to travel several specified distances.
|
Left
Wheel Setting
|
Right
Wheel
Setting
|
Distance
Setting
|
Time(s)
|
Speed
= Dn/Tn
|
|
|
|
|
|
|
|
|
|
|
||
|
|
|
|
Distance settings.
Left Wheel and Right Wheel Settings.
Note: Times are taken for those outputs displacements that have a straight heading.Data will be taken for different Distance Settings.
Output:
Actual
resulting distance.
|
Distance
Setting
|
Left
Wheel Setting
|
Right
Wheel Setting
|
Actual
Distance
|
|
|
|
|
|
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|
|
|
|
|
|||
|
|
|||
|
|
|||
|
|
Reference
Setting of a certain number.
Initial
angular position.
Final
angular position.
Note:
These data will be collected for different Reference Settings.
Output:
Angular
displacement of car.
|
Reference
Setting
|
Initial
Angular Position
(compass
reading)
|
Final
Angular Position
(compass
reading)
|
Output:Angular
Displacement (FP-IP)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
*Precision
of speed mapping proved to be unreasonable to pursue.Given
the measuring equipment available in the lab and the precision needed to
accurately measure the times over such short distances the precision will
have to be acquired using distances greater than one unit.
| SPEED MAPPING | ||||||||||||
| truck set to slow speed | ||||||||||||
| distance(cm) | times | total time | avg time | |||||||||
| t1 | t2 | t3 | t4 | t5 | ||||||||
| 20 | 2.63 | 2.63 | 2.74 | 2.64 | 2.64 | 13.28 | 2.656 | 7.53012 | ||||
| 30 | 4.22 | 4.15 | 4.26 | 4.24 | 4.21 | 21.08 | 4.216 | 7.11575 | ||||
| 40 | 5.65 | 5.67 | 5.86 | 5.75 | 5.58 | 28.51 | 5.702 | 7.015082 | ||||
| avg spd cm/s | ||||||||||||
| 21.66095 | 7.220317478 | |||||||||||
| truck set to medium speed | ||||||||||||
| distance(cm) | times | total time | avg time | |||||||||
| t1 | t2 | t3 | t4 | t5 | ||||||||
| 20 | 2.63 | 2.63 | 2.74 | 2.64 | 2.64 | 13.28 | 2.656 | 7.53012 | ||||
| 30 | 4.22 | 4.15 | 4.26 | 4.24 | 4.21 | 21.08 | 4.216 | 7.11575 | ||||
| 40 | 5.65 | 5.67 | 5.86 | 5.75 | 5.58 | 28.51 | 5.702 | 7.015082 | ||||
| avg spd cm/s | ||||||||||||
| 21.66095 | 7.220317478 | |||||||||||
| truck set to fast speed | ||||||||||||
| distance(cm) | times | total time | avg time | |||||||||
| t1 | t2 | t3 | t4 | t5 | ||||||||
| 20 | 2.63 | 2.63 | 2.74 | 2.64 | 2.64 | 13.28 | 2.656 | 7.53012 | ||||
| 30 | 4.22 | 4.15 | 4.26 | 4.24 | 4.21 | 21.08 | 4.216 | 7.11575 | ||||
| 40 | 5.65 | 5.67 | 5.86 | 5.75 | 5.58 | 28.51 | 5.702 | 7.015082 | ||||
| avg spd cm/s | ||||||||||||
| 21.66095 | 7.220317478 | |||||||||||
| PRECISION OF DISTANCES | ||||
| Distance | left wheel | right wheel | actual | |
| to travel | setting | setting | distance | |
| 1 | 600 | 900 | 2.75 | |
| 2.7 | ||||
| 2.7 | ||||
| 2.5 | ||||
| 2.7 | ||||
| 1 | 721 | 770 | 1.4 | |
| 1.3 | ||||
| 1.3 | ||||
| 1.3 | ||||
| 1.4 | ||||
| 1 | 730 | 763 | 0.8 | |
| 0.8 | ||||
| 0.8 | ||||
| 0.9 | ||||
| 0.8 | ||||
| PRECISION OF ANGLES | |||||
| Angle | Left Turn | Right Turn | |||
| setting | Act. Deg | Act. Deg | |||
| 1 | 1.2 | 0.9 | |||
| 1 | 0.2 | ||||
| 2 | 0.2 | ||||
| 2 | 1 | ||||
| 1 | 0.5 | ||||
| DISTANCE MAPPING | ||||||||
| speed: | slow | |||||||
| wheel | settings: | right | 763 | |||||
| left | 730 | |||||||
| Step settings: | 10 | 20 | 30 | 40 | 50 | |||
| 5.5 | 10.4 | 15.9 | 21.1 | 26.15 | ||||
| 5.55 | 10.8 | 16.1 | 21.1 | 26.2 | ||||
| Actual distances: | 5.6 | 10.6 | 16.05 | 21 | 26.25 | |||
| 5.6 | 10.5 | 15.9 | 21 | 26.2 | ||||
| 5.6 | 10.6 | 15.95 | 21 | 26.2 | ||||
| avg: | 5.57 | 10.58 | 15.98 | 21.04 | 26.2 | |||
| speed: | medium | |||||||
| wheel | settings: | right | 770 | |||||
| left | 721 | |||||||
| Step settings: | 10 | 20 | 30 | 40 | 50 | |||
| 8.5 | 16.3 | 23.75 | 31.8 | 39.85 | ||||
| 8.6 | 16.1 | 23.75 | 31.8 | 39.5 | ||||
| Actual distances: | 8.4 | 16.1 | 23.6 | 31.8 | 39.4 | |||
| 8.4 | 16.1 | 23.7 | 31.7 | 39.3 | ||||
| 8.3 | 16 | 23.7 | 31.65 | 39.4 | ||||
| avg: | 8.44 | 16.12 | 23.7 | 31.75 | 39.49 | |||
| speed: | fast | |||||||
| wheel | settings: | right | 900 | |||||
| left | 600 | |||||||
| Step settings: | 10 | 20 | 30 | 40 | 50 | |||
| 15.75 | 28 | 43.8 | 58 | 71.8 | ||||
| 16 | 30.1 | 43.95 | 57.7 | 71.7 | ||||
| Actual distances: | 15.75 | 30.5 | 43.95 | 57.75 | 71.7 | |||
| 15.8 | 30 | 43.95 | 58 | 71.49 | ||||
| 15.75 | 29 | 43.92 | 57.7 | 71.5 | ||||
| avg: | 15.81 | 29.52 | 43.914 | 57.83 | 71.638 | |||