1122 User Guide: Difference between revisions

From Phidgets Support
(Created page with "==Getting Started== ===Checking the Contents=== {{UGbox| '''You should have received:''' * A 30A current sensor AC/DC * A sensor cable | '''In order to test your new Phidget...")
 
 
(20 intermediate revisions by 4 users not shown)
Line 1: Line 1:
__NOINDEX__
<metadesc>Measure up to 30 amps DC or ±30 amps AC with The Phidgets Current Sensor. Connects to an Analog Input or VINT Hub port.</metadesc>
[[Category:UserGuide]]
==Getting Started==
==Getting Started==
{{UgSensorIntro|1122|30 Amp Current Sensor AC/DC|Voltage Ratio Input port}}
* A current-carrying wire to test the sensor


===Checking the Contents===
{{UGbox|
'''You should have received:'''
* A 30A current sensor AC/DC
* A sensor cable
|
'''In order to test your new Phidget you will also need:'''
* A PhidgetInterfaceKit 8/8/8 or PhidgetTextLCD
* A USB cable
||}}


===Connecting the Pieces===
Next, you will need to connect the pieces:
{{UGbox|
[[Image:1122_0_Connecting_The_Hardware.jpg|400px|right|link=]]
#Connect the 30 Amp Current Sensor AC/DC to the Analog Input 6 on the PhidgetInterfaceKit 8/8/8 using the sensor cable.
# Connect the 1122 to the HUB0000 with the Phidget cable.
#To measure alternating current, you can use the DC port to measure a peak-to-peak AC signal, or you can use the AC port to measure the RMS value. To measure direct current, either the AC port or the DC port will work, since RMS calculations will have no effect on a DC signal.
# To measure alternating current, you can either use the DC port to measure a peak-to-peak AC signal, or you can use the AC port to measure the RMS value. To measure direct current, either the AC port or the DC port will work, since RMS calculations will have no effect on a DC signal.
#Connect your power source to the terminal block.
# Connect the current-carrying wire into the terminals of the current sensor, paying attention to polarity. For safety, ensure that the wire is not powered until you're finished connecting everything.
#Connect the PhidgetInterfaceKit to your PC using the USB cable.
# Connect the HUB0000 to your computer with the USB cable.
|
[[File:1122_0_Connecting_The_Hardware.jpg|400px|link=]]
||}}


===Testing Using Windows 2000 / XP / Vista / 7===
<br clear="all">
{{UGIntroDone|1122}}


{{UGwin}}
==Using the 1122==
{{UGcontrolpanelSensor|1122|HUB0000}}


===Running Phidgets Sample Program===
{{UGSensorVoltageRatioInput|1122|amperage (A)}}


{{UGwin2|'''InterfaceKit-full'''}}
==Technical Details==
===General===
The 1122 measures alternating current (AC) up to 30 Amps and direct current (DC) between –30 and +30 Amps.  It uses a Hall effect based sensor to measure the magnetic field induced by the applied current flowing through a copper conductor. It then converts the magnetic data into a current measurement with internal calculations. The AC output will give the root mean square (RMS) value of an alternating current assuming the current is sinusoidal, and the sine wave is varying equally across the zero point. The AC output can also be used for signals that are not varying evenly around the zero point but the value will be the RMS plus a DC component. If a DC signal is being measured, the AC output will produce a signal that can be used to calculate the current but without the value representing direction of current flow.


{{UGbox|
===Measuring Current===
#Double Click on Phidget InterfaceKit 8/8/8 in the Phidget Control Panel to bring up InterfaceKit-full and check that the box labelled Attached contains the word True.
The 1122 should be wired in series with the circuit under test, as shown in the following diagrams:
#Make sure that the Ratiometric box is Ticked.
#The Amp value of your power source is displayed in the Analog In box. If you do not connect any power source to the sensor board, the Analog In value should be 500 if you use the DC connector and 0 if you use the AC connector.
#You can adjust the input sensitivity by moving the slider pointer.
#Click on the Sensors button to bring up the Advanced Sensor Form.
|
[[File:1122 0 InterfaceKit Screen.jpg|400px|link=]]
|
#In the Sensor 6 box, select the 1122 - 30Amp Current Sensor [DC] or [AC] from the drop down menu.
#The current measured across the sensor is shown here.
#Formula used to convert the analog input SensorValue into current.
|
[[File:1122 0 Advanced Sensor Form Screen.jpg|link=|400px]]
}}


===Testing Using Mac OS X===


{{UGmac| | }}
[[File:Measuring_Current_Diagram_1.jpg|300px|link=|center]]


===Using Linux===


{{UGlinux}}
[[File:Measuring_Current_Diagram_2.jpg|300px|link=|center]]


===Using Windows Mobile / CE 5.0 / CE 6.0===


{{UGce}}
In the diagrams above, the voltage source is represented by the battery symbol. The load is represented by a light bulb or schematic resistor symbol. The current flowing from the battery to the load is measured through the current sensor.


==Technical Details==
===Formulas===
The 30 Amp Sensor measures alternating current (AC) up to 30 Amps and direct current (DC) between –30 and +30 Amps.  The AC output will give the RMS (Root Mean Square) value of an alternating current assuming the current is sinusoidal, and the sine wave is varying equally across the zero point.  The AC output can also be used for signals that are not varying evenly around the zero point but the value will be the RMS plus a DC component.  If a DC signal is being measured, the AC output will produce a signal that can be used to calculate the current but without the value representing direction of current flow.
{{UGSensorFormula|amperage (A)}} The formula to translate voltage ratio from the sensor into amperage is:
 
===Measuring Current===
The Phidgets Current Sensor should be wired in series with the circuit under test, as shown in the following diagrams.
 
[[File:placeholder.jpg|link=|center]]


In the diagrams above, the voltage source is represented by the battery symbol.  The load is represented by a light bulb or schematic resistor symbol.  The current flowing from the battery to the load is measured through the current sensor.


===Formulas===
::<math>
The formula to translate SensorValue into Current is:
\text{DC Current (A)} = (\text{VoltageRatio} \times 75.76) - 37.8787
</math>


<math>DC Amps = frac{SensorValue}{13.2} - 37.8787</math>
<math>C RMS Amps = SensorValue x 0.04204</math>


{{UGotherint}}
::<math>
\text{AC Current (RMS)} = \text{VoltageRatio} \times 42.04
</math>


{{UGasens}}
{{UGasens}}


==Product History==
{{UGnext|}}
{{UGhist}}
{{UGrow|March 2008 |0 |N/A |Product Release }}

Latest revision as of 17:44, 10 May 2018


Getting Started

Welcome to the 1122 user guide! In order to get started, make sure you have the following hardware on hand:


Next, you will need to connect the pieces:

1122 0 Connecting The Hardware.jpg
  1. Connect the 1122 to the HUB0000 with the Phidget cable.
  2. To measure alternating current, you can either use the DC port to measure a peak-to-peak AC signal, or you can use the AC port to measure the RMS value. To measure direct current, either the AC port or the DC port will work, since RMS calculations will have no effect on a DC signal.
  3. Connect the current-carrying wire into the terminals of the current sensor, paying attention to polarity. For safety, ensure that the wire is not powered until you're finished connecting everything.
  4. Connect the HUB0000 to your computer with the USB cable.


Now that you have everything together, let's start using the 1122!

Using the 1122

Phidget Control Panel

In order to demonstrate the functionality of the 1122, we will connect it to the HUB0000, and then run an example using the Phidget Control Panel on a Windows machine.


The Phidget Control Panel is available for use on both macOS and Windows machines. If you would like to follow along, first take a look at the getting started guide for your operating system:


Linux users can follow the getting started with Linux guide and continue reading here for more information about the 1122.

First Look

After plugging in the 1122 into the HUB0000, and the HUB0000 into your computer, open the Phidget Control Panel. You will see something like this:

HUB0000 Panel.jpg


The Phidget Control Panel will list all connected Phidgets and associated objects, as well as the following information:

  • Serial number: allows you to differentiate between similar Phidgets.
  • Channel: allows you to differentiate between similar objects on a Phidget.
  • Version number: corresponds to the firmware version your Phidget is running. If your Phidget is listed in red, your firmware is out of date. Update the firmware by double-clicking the entry.


The Phidget Control Panel can also be used to test your device. Double-clicking on an object will open an example.

Voltage Ratio Input

Double-click on a Voltage Ratio Input object in order to run the example:

1018 Sensors VoltageRatioInput.png


General information about the selected object will be displayed at the top of the window. You can also experiment with the following functionality:

  • Modify the change trigger and/or data interval value by dragging the sliders. For more information on these settings, see the data interval/change trigger page.
  • Select the 1122 from the Sensor Type drop-down menu. The example will now convert the voltage into amperage (A) automatically. Converting the voltage to amperage (A) is not specific to this example, it is handled by the Phidget libraries, with functions you have access to when you begin developing!


Technical Details

General

The 1122 measures alternating current (AC) up to 30 Amps and direct current (DC) between –30 and +30 Amps. It uses a Hall effect based sensor to measure the magnetic field induced by the applied current flowing through a copper conductor. It then converts the magnetic data into a current measurement with internal calculations. The AC output will give the root mean square (RMS) value of an alternating current assuming the current is sinusoidal, and the sine wave is varying equally across the zero point. The AC output can also be used for signals that are not varying evenly around the zero point but the value will be the RMS plus a DC component. If a DC signal is being measured, the AC output will produce a signal that can be used to calculate the current but without the value representing direction of current flow.

Measuring Current

The 1122 should be wired in series with the circuit under test, as shown in the following diagrams:


Measuring Current Diagram 1.jpg


Measuring Current Diagram 2.jpg


In the diagrams above, the voltage source is represented by the battery symbol. The load is represented by a light bulb or schematic resistor symbol. The current flowing from the battery to the load is measured through the current sensor.

Formulas

The Phidget libraries can automatically convert sensor voltage into amperage (A) by selecting the appropriate SensorType. See the Phidget22 API for more details. The formula to translate voltage ratio from the sensor into amperage is:



Phidget Cable

Analoginput.jpg

The Phidget Cable is a 3-pin, 0.100 inch pitch locking connector. Pictured here is a plug with the connections labelled. The connectors are commonly available - refer to the Analog Input Primer for manufacturer part numbers.

What to do Next

  • Programming Languages - Find your preferred programming language here and learn how to write your own code with Phidgets!
  • Phidget Programming Basics - Once you have set up Phidgets to work with your programming environment, we recommend you read our page on to learn the fundamentals of programming with Phidgets.