Bit Mining Project

 

Topics of Concern


 
 
 
 
 
 
 
 
 

Communication:
 

Bit Mining System Setup

Overview of the Experiment

The goal of the experiment system is to run the software simulation with the physical system. Here the physical system could be the real application or the experiment system. By doing so, we can integrate the simulation data and the real data to make real time decisions. Our experiment is to explore a way to implement this concept.
Consider a simple production system. The system is shown in Figure 1. There are three trucks running in the experiment. The truck’s task is to move the product from the loading zone to unloading zone. For our experiment, we use the bits (0 or 1) to represent the material. The assembly lines get the bits from the unloading zone and produce a three-bit string as production. The capacity of the truck is just one bit.

Text Box:  Figure 1 Bit Mining SystemThe 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.

Detail Setups

·Communications:
oThe computer transceiver talks with the virtual truck and real trucks and vise versa;

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.


 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Sensors:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Controls:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Simulation:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Relay Stations:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Trucks:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Aisles:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Experiments:
 

Experiment Plan for Layer II Models

Motivation

In SPEED-CS project, Layer I Models includes all the details of the model. The vehicle model consists of irod model, motor model, processor model, and compass model. The vehicle dynamics comes from the combined correspondence of these models. In Layer II, the vehicle components need not be modeled in such detail. From the observer’s point of view, only the dynamics of the vehicle are of interest. This experiment helps acquire the input and output relation of the vehicle.

Vehicle Inputs

Vehicle Outputs

Experiment Plan

For different compass inputs, examine the output data of the vehicle. Record the data.
For different program modules, there are different vehicle behaviors. Record these data.
Integrate all the inputs and record the data. Conclude these experiment results in a table. The Layer II vehicle model checks the table according to the inputs and figures out the corresponding output. The table can be illustrated as follows:

 
Irod Input
Compass Input 
(Actual/relative)
Program
Instruction
Distance Settings
Wheel 
Settings
Output
No obstacle
4 degrees
Go straight 
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.

Data Collection Plan

Speed Mapping

Input:

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
LWS1
RWS1
D1
T1
S1
D2
T2
S2
D3
T3
S3

Distance Mapping

Input:

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
DS1
680
800
D1
D2
D3
D4
D5
700
810
D1`
D2`
D3`
D4`
D5`

Orientation Mapping

Input:

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)
RS1
IP1
FP1
AP1
IP2
FP2
AP2
IP3
FP3
AP3
IP4
FP4
AP4
IP5
FP5
AP5

Precision of Distance

Same as Distance mapping except the unit for the Distance Setting is 1.

Precision of Smallest Angles

Same as Orientation mapping except the unit for the Reference Setting is 1.

Precision of Speed

Same as Speed mapping except the unit for the Distance Setting is 1.

*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.


 
 
 
 
 
 
 
 
 
 
 

Results:
 
 

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

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

On Order: