SlideShare uma empresa Scribd logo
1 de 22
Building Measurement
Systems with Object
Oriented Labview
How can measurement systems be built from
objects ?



                                    Scalable
                                   Architectures
Measurement systems can be
  naturally thought of as
combinations of instruments.
A Real
                         Some extra
                         diagnostic
                         DMMs


                                                          Example
                                                        A bunch of
                                                        Lockin amplifiers




                                                        A special
                                                        multiplexor we
                                                        built for this
At least 4                                              project
thermometers



                                                          Some instruments
                                                          are standalone -
       A couple of
       superconducting

                                                          some are embedded
       magnets                        A (dual) magnet
                                      power supply
                                                          in hardware.
Let’s start with a simpler example
Thermometry Example

• this is a current source

• this is a voltmeter

• this is a resistor that varies its resistance
  with temperature - we can use it as a
  thermometer
Resistance First
     The actual circuit - we’ll
     make a 4-point resistance
     measurement.
     Let’s code to measure the
     resistance first.
Resistance Example
  MyCurrSource

  A (dual) current
  source instrument


                      Let’s identify the instruments
                      that we might need to use.




                                      FirstVoltmeter

                                      A simple voltmeter
Thermometry Example
                       Now something to describe
   MyCurrSource
                       the measurement process...
   A (dual) current
   source instrument




                         MyFirstResMeas

                         Which current
                         source ?
                         Which voltmeter ?




                                             FirstVoltmeter

                                             A simple voltmeter
Thermometry Example
                    MyFirstResMeas
                                                      Measure the Resistance Process
                    Which current source ?
                      ‘Mycurrsource’
                                                       - set current to zero
                    Which voltmeter ?
                                                       - wait for 1s
                      ‘FirstVoltmeter’
MyCurrSource
                                                       - measure the dc voltage (V1)
                                                          (take account of thermal offsets)
A (dual) current
source instrument                FirstVoltmeter
                                                       - set current to 100µA
                                 A simple voltmeter
                                                       - wait for 1s
                                                       - measure the new DC voltage (V2)

                                                       - set current to zero

                                                       - Calculate R as (V2-V1)/100µA

An example of the process
Thermometry Example
                          MyFirstResMeas

                          Which current source ?
                            ‘Mycurrsource’

                          Which voltmeter ?
                            ‘FirstVoltmeter’

      MyCurrSource
                                                   FirstVoltmeter

      A (dual) current
                                                   A simple voltmeter
      source instrument




The structure of measurement systems naturally
factors into measurement processes (green) and the
instruments which they use (yellow).
Thermometry Example
  MyCurrSource


                      Now add a second circuit
  A (dual) current
  source instrument



                                          SecondVoltmeter

                                          A simple voltmeter
Thermometry Example
                                                          Myfirstresmeas
             MySecondResMeas
                                                          Which current source ?
             Which current source ?
                                                            ‘ MyCurrSource’
               ‘MyCurrSource’
                                                          Which voltmeter ?
             Which voltmeter ?
                                                            ‘FirstVoltmeter’
               ‘SecondVoltmeter’

                                      MyCurrSource
                                                                                   FirstVoltmeter

                                      A (dual) current
                                                                                   A simple voltmeter
                                      source instrument
SecondVoltmeter

A simple voltmeter




           Using object references allows different
         measurements to share the same instruments.
Being able to call objects by reference is a
critical requirement for building a flexible
and reconfigurable system.
Making a thermometer
• Actually we package the resistor and
  calibrate it to yield a thermometer
  calibration file
                                     X312 Calib.csv

                                20
                                15
                            +   10
                                 5
                  SN X312        0
                                     0 7.5 15.0   30.0
Now add the calibration
                          Create a more specific measurement subclass
 MySecondResMeas

 Which current source ?
   ‘MyCurrSource’
                              MySecondThermMeas
 Which voltmeter ?
   ‘SecondVoltmeter’          Which current source ?
                                ‘Mycurrsource’
                                                                       X312
                              Which voltmeter ?
                                                               20
                                ‘SecondVoltmeter’

                                                               10
                              Where’s the calibration ?
                                ‘C:dataX312.csv’
                                                                0
                                                                    0 7.5 22.5



Keep the basic resistance code but add a
thermometer measurement subclass that has a
path to a calibration file stored on the file system.
The Final Object Model
                        MySecondThermMeas
MyCurrSource
                          X337

                          ‘C:dataX337.csv’               SecondVoltmeter


                                               SN X337




                                              SN X312

               MyFirstThermMeas

                 X312
                                                         FirstVoltmeter
                 ‘C:dataX312.csv’
What can we take from this
       example ?
Measurements and
            Instruments
Measurements

                                      Almost all conceivable
     MySecondThermMeas

                MyFirstThermMeas
                                      measurements can be
                                      factored as a generic
                                      measurement process
     SecondVoltmeter
                                      linked to some
          FirstVoltmeter
                                      instruments that do work
                       MyCurrSource
                                      in the real world.
Instruments
Measurements, Instruments
     .... and Controls
Measurements
                                                                       Controls
     MySecondThermMeas
                                              ProbeHeater
                MyFirstThermMeas



                                                       SampleMagneticField



     SecondVoltmeter

          FirstVoltmeter
                                              Changes would be made
                       MyCurrSource
                                              by accessing control
                             New CurrSource
                                              objects not the
Instruments
                                              instruments directly.
Control Loops
                                      TempControlledStage

Measurements
                                                                              Controls
                                get                  set

     MySecondThermMeas
                                                      ProbeHeater
                MyFirstThermMeas



                                                               SampleMagneticField



     SecondVoltmeter

          FirstVoltmeter

                       MyCurrSource
                                                 Control loops can be built
                             New CurrSource
                                                 by referencing both control
Instruments
                                                 and measurement objects.
Measurement systems can be
   naturally factored into
Measurement, Instrument and
 Control objects that work
         together.
Measurement systems naturally factor into physical
•
Instrument and virtual Measurement and Control
classes.
•Accessing Objects by reference allows the system to
be reconfigured very easily.
 This also allows instruments and measurements to
•
be shared for multiple purposes.


Scalable Architectures specialises in developing
measurement systems that scale continuously from
prototype to finished product.
                                     St. Johns Innovation Centre
     Scalable                        Cowley Road
    Architectures                    Cambridge
                                     CB4 0WS, UK
    www.scalable-architectures.com

Mais conteúdo relacionado

Destaque

Building Your Content Marketing Measurement Program From The Ground Up
Building Your Content Marketing Measurement Program From The Ground UpBuilding Your Content Marketing Measurement Program From The Ground Up
Building Your Content Marketing Measurement Program From The Ground Up
Act-On Software
 

Destaque (7)

Building Your Content Marketing Measurement Program From The Ground Up
Building Your Content Marketing Measurement Program From The Ground UpBuilding Your Content Marketing Measurement Program From The Ground Up
Building Your Content Marketing Measurement Program From The Ground Up
 
Social Bakers EngageX: Building Measurement Frameworks - 1000heads
Social Bakers EngageX: Building Measurement Frameworks - 1000headsSocial Bakers EngageX: Building Measurement Frameworks - 1000heads
Social Bakers EngageX: Building Measurement Frameworks - 1000heads
 
Pr news pr measurement- building a foundation in metrics
Pr news   pr measurement- building a foundation in metricsPr news   pr measurement- building a foundation in metrics
Pr news pr measurement- building a foundation in metrics
 
Data Center Measurement
Data Center MeasurementData Center Measurement
Data Center Measurement
 
Implementing Mobile Number Portability (MNP) in Africa: Kenyan Case Study
Implementing Mobile Number Portability (MNP) in Africa: Kenyan Case Study Implementing Mobile Number Portability (MNP) in Africa: Kenyan Case Study
Implementing Mobile Number Portability (MNP) in Africa: Kenyan Case Study
 
Building a Digital Measurement Plan - PSE Web 2013
Building a Digital Measurement Plan - PSE Web 2013Building a Digital Measurement Plan - PSE Web 2013
Building a Digital Measurement Plan - PSE Web 2013
 
Advance building measurement NRM 2
Advance building measurement NRM 2Advance building measurement NRM 2
Advance building measurement NRM 2
 

Semelhante a Introduction to Objects - building Measurement Systems

Digital Multimeters- Basic Guide
Digital Multimeters- Basic GuideDigital Multimeters- Basic Guide
Digital Multimeters- Basic Guide
Mithila6190
 
Testing components
Testing componentsTesting components
Testing components
vietem0610
 
Psim tutorial- tiristor
Psim tutorial- tiristorPsim tutorial- tiristor
Psim tutorial- tiristor
SENAI
 

Semelhante a Introduction to Objects - building Measurement Systems (20)

Digital Multimeters- Basic Guide
Digital Multimeters- Basic GuideDigital Multimeters- Basic Guide
Digital Multimeters- Basic Guide
 
Section 1 1
Section 1   1Section 1   1
Section 1 1
 
EEE project.pptx
EEE project.pptxEEE project.pptx
EEE project.pptx
 
Electrical measurement & measuring instruments [emmi (nee-302) -unit-4]
Electrical measurement & measuring instruments [emmi  (nee-302) -unit-4]Electrical measurement & measuring instruments [emmi  (nee-302) -unit-4]
Electrical measurement & measuring instruments [emmi (nee-302) -unit-4]
 
ammeter and voltmeter presentation. For college pdf
ammeter and voltmeter presentation. For college pdfammeter and voltmeter presentation. For college pdf
ammeter and voltmeter presentation. For college pdf
 
Testing components
Testing componentsTesting components
Testing components
 
various types of meters
various types of metersvarious types of meters
various types of meters
 
TOPIC 2.5- Testing Equipments.pptx
TOPIC 2.5- Testing Equipments.pptxTOPIC 2.5- Testing Equipments.pptx
TOPIC 2.5- Testing Equipments.pptx
 
EMI-SUBJEST-VBR
EMI-SUBJEST-VBREMI-SUBJEST-VBR
EMI-SUBJEST-VBR
 
Outcome 2.3 identify appropriate electrical instruments for the measurement...
Outcome 2.3   identify appropriate electrical instruments for the measurement...Outcome 2.3   identify appropriate electrical instruments for the measurement...
Outcome 2.3 identify appropriate electrical instruments for the measurement...
 
Analog sensor Part-9
Analog sensor Part-9Analog sensor Part-9
Analog sensor Part-9
 
Photo resistor devices its working and applications.
Photo resistor devices its working and applications.Photo resistor devices its working and applications.
Photo resistor devices its working and applications.
 
Sensors-Interfacing Techniques
Sensors-Interfacing TechniquesSensors-Interfacing Techniques
Sensors-Interfacing Techniques
 
Free Ebooks Download
Free Ebooks DownloadFree Ebooks Download
Free Ebooks Download
 
Elec01
Elec01Elec01
Elec01
 
Psim tutorial- tiristor
Psim tutorial- tiristorPsim tutorial- tiristor
Psim tutorial- tiristor
 
Senior Design#2 Cortes
Senior Design#2 CortesSenior Design#2 Cortes
Senior Design#2 Cortes
 
FUNDAMENTAL OF VOLTAGE AND CURRENT
FUNDAMENTAL OF VOLTAGE AND CURRENTFUNDAMENTAL OF VOLTAGE AND CURRENT
FUNDAMENTAL OF VOLTAGE AND CURRENT
 
4. Test instruments and their connections
4. Test instruments and their connections4. Test instruments and their connections
4. Test instruments and their connections
 
Basicelectricalmeasuringinstruments 160111044802
Basicelectricalmeasuringinstruments 160111044802Basicelectricalmeasuringinstruments 160111044802
Basicelectricalmeasuringinstruments 160111044802
 

Último

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 

Último (20)

TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 

Introduction to Objects - building Measurement Systems

  • 1. Building Measurement Systems with Object Oriented Labview How can measurement systems be built from objects ? Scalable Architectures
  • 2. Measurement systems can be naturally thought of as combinations of instruments.
  • 3. A Real Some extra diagnostic DMMs Example A bunch of Lockin amplifiers A special multiplexor we built for this At least 4 project thermometers Some instruments are standalone - A couple of superconducting some are embedded magnets A (dual) magnet power supply in hardware.
  • 4. Let’s start with a simpler example
  • 5. Thermometry Example • this is a current source • this is a voltmeter • this is a resistor that varies its resistance with temperature - we can use it as a thermometer
  • 6. Resistance First The actual circuit - we’ll make a 4-point resistance measurement. Let’s code to measure the resistance first.
  • 7. Resistance Example MyCurrSource A (dual) current source instrument Let’s identify the instruments that we might need to use. FirstVoltmeter A simple voltmeter
  • 8. Thermometry Example Now something to describe MyCurrSource the measurement process... A (dual) current source instrument MyFirstResMeas Which current source ? Which voltmeter ? FirstVoltmeter A simple voltmeter
  • 9. Thermometry Example MyFirstResMeas Measure the Resistance Process Which current source ? ‘Mycurrsource’ - set current to zero Which voltmeter ? - wait for 1s ‘FirstVoltmeter’ MyCurrSource - measure the dc voltage (V1) (take account of thermal offsets) A (dual) current source instrument FirstVoltmeter - set current to 100µA A simple voltmeter - wait for 1s - measure the new DC voltage (V2) - set current to zero - Calculate R as (V2-V1)/100µA An example of the process
  • 10. Thermometry Example MyFirstResMeas Which current source ? ‘Mycurrsource’ Which voltmeter ? ‘FirstVoltmeter’ MyCurrSource FirstVoltmeter A (dual) current A simple voltmeter source instrument The structure of measurement systems naturally factors into measurement processes (green) and the instruments which they use (yellow).
  • 11. Thermometry Example MyCurrSource Now add a second circuit A (dual) current source instrument SecondVoltmeter A simple voltmeter
  • 12. Thermometry Example Myfirstresmeas MySecondResMeas Which current source ? Which current source ? ‘ MyCurrSource’ ‘MyCurrSource’ Which voltmeter ? Which voltmeter ? ‘FirstVoltmeter’ ‘SecondVoltmeter’ MyCurrSource FirstVoltmeter A (dual) current A simple voltmeter source instrument SecondVoltmeter A simple voltmeter Using object references allows different measurements to share the same instruments.
  • 13. Being able to call objects by reference is a critical requirement for building a flexible and reconfigurable system.
  • 14. Making a thermometer • Actually we package the resistor and calibrate it to yield a thermometer calibration file X312 Calib.csv 20 15 + 10 5 SN X312 0 0 7.5 15.0 30.0
  • 15. Now add the calibration Create a more specific measurement subclass MySecondResMeas Which current source ? ‘MyCurrSource’ MySecondThermMeas Which voltmeter ? ‘SecondVoltmeter’ Which current source ? ‘Mycurrsource’ X312 Which voltmeter ? 20 ‘SecondVoltmeter’ 10 Where’s the calibration ? ‘C:dataX312.csv’ 0 0 7.5 22.5 Keep the basic resistance code but add a thermometer measurement subclass that has a path to a calibration file stored on the file system.
  • 16. The Final Object Model MySecondThermMeas MyCurrSource X337 ‘C:dataX337.csv’ SecondVoltmeter SN X337 SN X312 MyFirstThermMeas X312 FirstVoltmeter ‘C:dataX312.csv’
  • 17. What can we take from this example ?
  • 18. Measurements and Instruments Measurements Almost all conceivable MySecondThermMeas MyFirstThermMeas measurements can be factored as a generic measurement process SecondVoltmeter linked to some FirstVoltmeter instruments that do work MyCurrSource in the real world. Instruments
  • 19. Measurements, Instruments .... and Controls Measurements Controls MySecondThermMeas ProbeHeater MyFirstThermMeas SampleMagneticField SecondVoltmeter FirstVoltmeter Changes would be made MyCurrSource by accessing control New CurrSource objects not the Instruments instruments directly.
  • 20. Control Loops TempControlledStage Measurements Controls get set MySecondThermMeas ProbeHeater MyFirstThermMeas SampleMagneticField SecondVoltmeter FirstVoltmeter MyCurrSource Control loops can be built New CurrSource by referencing both control Instruments and measurement objects.
  • 21. Measurement systems can be naturally factored into Measurement, Instrument and Control objects that work together.
  • 22. Measurement systems naturally factor into physical • Instrument and virtual Measurement and Control classes. •Accessing Objects by reference allows the system to be reconfigured very easily. This also allows instruments and measurements to • be shared for multiple purposes. Scalable Architectures specialises in developing measurement systems that scale continuously from prototype to finished product. St. Johns Innovation Centre Scalable Cowley Road Architectures Cambridge CB4 0WS, UK www.scalable-architectures.com