Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:automation:02-glossary:analog-inputs-hidden [2020/03/10 09:04]
jan_kozak
en:automation:02-glossary:analog-inputs-hidden [2021/06/09 08:48] (current)
avsetula
Line 1: Line 1:
 ====== Analog inputs ====== ====== Analog inputs ======
-Analog inputs (AI) are for measuring analog values such as DC voltage, current and resistance. These values are produced by sensors which indicate multiple states such as thermometers,​ tensometers,​ distance meters, ​luxmeters ​etc.+Analog inputs (AI) are for measuring analog values such as DC voltage, current and resistance. These values are produced by sensors which indicate multiple states such as thermometers,​ tensometers,​ distance meters, ​lux meters ​etc.
  
 +----
 +
 +<​html><​span class="​kbBlueText">​More information about analog inputs can be found in specific categories:</​span></​html>​\\
 +
 +<​tile>​
 +| en:​hw:​007-patron:​description-of-io:​04-description-of-ai ​    | Patron ​            | :​en:​hw:​unipi-kb-icon-patron.png ​    |
 +| en:​hw:​01-axon:​description-of-io:​04-description-of-ai ​       | Axon               | :​en:​hw:​unipi-kb-icon-axon.png ​      |
 +| en:​hw:​02-neuron:​description-of-io:​04-description-of-ai ​     | Neuron ​            | :​en:​hw:​unipi-kb-icon-neuron.png ​    |
 +| en:​hw:​03-unipi11:​description-of-io:​04-description-of-ai ​    | 1.1 & 1.1 Lite     | :​en:​hw:​unipi-kb-icon-1.png ​         |
 +| en:​hw:​04-extensions:​description-of-io:​04-description-of-ai ​ | Extension modules ​ | :​en:​hw:​unipi-kb-icon-extension.png ​ | 
 +</​tile>​
 +
 +
 +/*
 ===== Analog inputs on Neuron and Axon ===== ===== Analog inputs on Neuron and Axon =====
-The functionality of AIs on Neuron and Axon is different on Group 1 and Group 2/3 and on Neuron extensions. ​+The functionality of AIs on Neuron and Axon is different on Group 1 and Group 2/3 and Neuron extensions. ​
  
 On Group 1, the analog input is capable of: On Group 1, the analog input is capable of:
Line 13: Line 27:
 </​WRAP>​ </​WRAP>​
  
-On Group 2 and 3 and on the Neuron extensions, the analog input is capable of:+On Group 2 and 3 and the Neuron extensions, the analog input is capable of:
   * measuring 0-10V DC   * measuring 0-10V DC
   * measuring 0-2.5V DC with higher precision   * measuring 0-2.5V DC with higher precision
   * measuring of 0-20mA DC   * measuring of 0-20mA DC
-  * measuring of resistance 0-100kOhm via 2-wire method +  * measuring of resistance 0-100kOhm via 2-wire method 
-  * measuring of resistance 0-2kOhm via more precise 3-wire method+  * measuring of resistance 0-2kOhm via more precise 3-wire method
  
 Changing between modes depends on the [[en:​sw:​00-start|software]] you are using, please follow the relevant tutorial. ​ Changing between modes depends on the [[en:​sw:​00-start|software]] you are using, please follow the relevant tutorial. ​
Line 24: Line 38:
 ==== Measuring voltage ==== ==== Measuring voltage ====
 ==== Measuring current ==== ==== Measuring current ====
-==== Measuring resistance ==== 
- 
  
 ===== Analog inputs on Unipi 1.1 ===== ===== Analog inputs on Unipi 1.1 =====
Line 34: Line 46:
  
 {{:​en:​automation:​02-glossary:​unipi_ai.png?​300|}} {{:​en:​automation:​02-glossary:​unipi_ai.png?​300|}}
-R_sens = the sensor itself 
-R_ref = the resistor 
  
-<WRAP center round tip 60%>  +   ​R_sens = the sensor itself 
- For reading temperature between 200-3800R (-200°C/​+800°C),​ a 1K resistor should be used to ensure ​the voltage will not exceed 10V.  +   R_ref = the reference resistor
-</​WRAP>​+
  
-The value at the AI is calculated using the following formula+There is also a input resistor inside of the AI with the value:
  
-''​R_sens (200) 12V/969.7 + 200)*969.7 = 9.948V''​+   ​R_ai ​12200ohm
  
-''​R_sens (3800) = 12V/​(969.7+3800)*969.7 = 2.439V''​ +<WRAP center round alert 60%> 
- +For R_sens >= 200ohmuse R_ref = 1kFor R_sens < 200ohmuse R_ref = 10k
-When the -200°C temperature is measured, a 9.948V voltage is present on the AI, while with the +800°C temperature the AI voltage will be 2.439V. To verify those values, please check the documentation of your sensor.  +
- +
-<WRAP center round info 60%> +
-Please keep in mind the ability of Unipi 1.1's architecture to precisely measure voltage is limited at voltages below and including 0.05V. ​For our showcase sensorthe resulting deviation could be up to +-50°CIf a more precise measurement is requiredchange the R_ref value accordingly.+
 </​WRAP>​ </​WRAP>​
  
 +The value at the AI is calculated from the voltage you read from the AI (V_ai)
  
-If the R_sens value does not match the requirement,​ you need to change the R_ref setting. The R_ref value is calculated using this formula +             Vcc - V_ai     R_ref * R_ai 
-''​Rx ​(R_ref*12K8)/(R_ref+12K2)''​ +   R_sens ​------------ ​-------------- 
- +                V_ai        ​R_ref + R_ai 
-When setting ​the R_ref, please ensure that at maximum/​minimum resistance ​the voltage at AI+ will not exceed 10V or decrease below 0V+                 
 +The Vcc is the applied voltage (12V in the picture above). 
 +*/