Rei Vilo's fischertechnik Corner
  • About
  • Blog
  • Reviews
    • How to Start?
    • Controllers >
      • Robotics TXT
      • TXT 4.0 Controller
      • Bluetooth Smart Beginner Set
      • Interface Boards for fischertechnik Models
      • Didacta Advance Pi-F5 interface board
    • Sets >
      • Technical Revolutions Set
      • Pneumatic Power Set
      • Automation Robots Set
      • Electro-Pneumatic Set
      • Starter Set for micro:bit
      • Bluetooth Smart Beginner Set
      • Robotics TXT Smart Home Set
    • Exploring the Lego World >
      • Purchasing
      • Unboxing
      • Installing
      • Building
      • Programming
      • Connecting
      • Playing
      • Expanding
      • Concluding
  • Models
    • Back to the 70's
    • Micro Models
    • New Magasin >
      • Magasin releases 1, 2 and 3
      • Long X-Axis
      • Moving Desk And Y-Axis
      • Compressed Air And Vacuum For Z-Axis
      • Pictures
      • Specifications
    • Power Saving White LED
    • Flipper with I²C LCD Panel
    • Celebrating 50 Years!
    • ft Convention 2013
    • ft Convention 2014
  • Sensors
    • Interfacing an Arduino to a Robo TX Controller >
      • Analog Interface
      • Digital Interface
      • I²C Interface
    • Standard Sensors >
      • Playing With Accelerometers
      • Proximity Sensor
      • Pressure Sensor
    • Advanced Sensors >
      • Industrial Colour Reader
      • Stepper Motor Controller
      • DC-Motor with Quadrature Encoder Controller
    • smartDevices >
      • smartColours
      • smartRFID
      • smartLED
      • smartHub
      • smartControls
      • smartMeter
      • smartCamera
      • smartNewCamera
      • smartWiFi
      • smartBLE
      • smartNode
      • smartIMU
  • RoboPro
    • Value Operations >
      • Min and Max Functions
      • Signal Management With Median
      • Modulo Function
      • Map Function
    • Standard Modules >
      • Software Managed Compressor
      • Self-Calibrated Colour-Reader
      • Standard Conveyor Belt Routine
      • Management Panel
      • Encoder-Motor Position Management
    • Variable Types >
      • CSV List Management
      • Queue Function
    • Program Structures >
      • Parallel Processing
      • Multi-Tasking End Management Procedure
    • Tutorials >
      • Setting Bluetooth LAN with Multiple TX-Cs
      • Dealing with Very Large Models >
        • Getting a General View
        • Defining User's Functions
        • Elaborating the Modelisation
        • Defining the Processes
        • Setting the Messages
        • Going Further
        • References
      • Program Error 2 Message
  • I²C
    • How to Connect an I²C Device to the Robo TX?
    • How to Connect an I²C Device to the Robotics TXT?
    • How to Manage an I²C Device?
    • How to Use an I²C Driver?
    • List of I²C Drivers for Sensors >
      • I²C Real Time Clock DS1307
      • I²C LCD screen 4 lines of 20 characters LCD03
      • I²C Triple Axis Accelerometer ADXL345
      • I²C Red-Green-Blue LED BlinkM
      • I²C Two Axis Compass HMC6352
      • I²C Triple Axis Magnetometer HMC5843
      • I²C True Colour Sensor ADJD-S371
      • I²C Stepper Controller AMIS-30624
    • List of I²C Drivers for smartDevices >
      • I²C True Colours Smart Sensor smartColours
      • I²C RFID Smart Sensor smartRFID
      • I²C 4-Digit 7-Segment LED Display smartLED
      • I²C Screen With Touch and SD-Card smartControls
      • I²C Smart Sensor smartCamera
      • I²C Smart Sensor smartNewCamera
      • I²C Remote WiFi Interface smartWiFi​
      • I²C Remote Bluetooth Interface smartBLE​
      • I²C Remote Interface smartNode​
      • I²C New LCD Screen 4 x 20 characters smartLCD
      • I²C Inertial Measurement Unit smartIMU

Pressure Sensor

I selected a pressure sensor from Freescale Semiconductor wide range. I picked up one with the following specifications: integrated, absolute measure, 0 to 250 kPa. 

It comes in various form-factors, either small outline / surface mount package or unibody package, with or without a nose.

The manufacturer provides an excellent application note Understanding Pressure and Pressure Measurement. The sensor provides a voltage linear to the pressure measured. So implementation is rather easy. 

After extensive testing with the Arduino board, I went into packing the sensor into a fischertechnik block so I could use it with my industrial models. 
Picture

Pressure Sensor Tests

I carried out some tests with the pressure sensor on an Arduino board. 

How many measures per second? What is the reactivity?

The sensor is powered by a fischertechnik battery. Signal is sent to A0 analog input. 

When used, SD card is connected to TX → 1 pin.

I guess the hardware has a consequence on the measures: 
  • the Arduino processor runs at 16 MHz, 
  • the SD card is linked through a serial connection at 19200 bps,  
  • the USB connection speed to the PC is 57600 bps. 

Measures rate and reactivity are good enough for my fischertechnik industrial models!

    
Picture

Pressure Sensor Mathematical Model

I've built a very basic model based on the ideal gas law (reference):
PV = nRT
with
P = Pressure (in atm)
V = Volume (in L)
n = moles
R = universal gas constant 8.314 J·K−1·mol−1
T = Temperature (in K) 
I considered R and T as constants and took 1 atm close to 100 kPa. Actually, 1 atm = 101,33 kPa instead of 1 atm ≈ 100 kPA.

I measured the volumes of the tank and the piston rods, with and without spring.

I conducted two series of measures:
  • 1b— one tank and two piston rods
  • 2b— two tanks and two piston rods
Then I filled the model in with the measures I've recorded.

As always, the model and the measures are provided below. It's always nice to see that Nature obeys physical laws!
Picture

Results and Interpretation

The findings are:
  • 20 s to fill either one or two tanks, from 100 kPa to 160 kPa
  • steps appear around 135 kPa
  • activating a piston rod requires either 10 kPa with 1 tank or 5 kPa with 2 tanks, the same
  • at least 127 kPa of pressure is needed to activate a piston rod, on either one or two tanks
  • one tank can deal with up to three or four piston rods
  • two tanks can deal with four or more and up to 7 piston rods 

Now, how to build a smart pressure management?

Downloads

Please find the RoboPro project and the Excel sheets discussed in this article. 
smart_pressure-b.rpp.zip
File Size: 25 kb
File Type: zip
Download File

smart_pressure_-b1.xls.zip
File Size: 13 kb
File Type: zip
Download File

smart_pressure_-b2.xls.zip
File Size: 13 kb
File Type: zip
Download File

Powered by Create your own unique website with customizable templates.