Skip to main content

Posts

Showing posts with the label Analog

Analog Output in Mitsubishi FX3U PLC

Mitsubishi FX3U PLC has the analog output of voltage (0-10V) or current (4-20mA). It features a 12-bit resolution (0 to 4095). That 12-bit resolution means that this digital value is converted by the analog output module into a physical voltage or current signal based on the configuration. The PLC converts digital data with 12-bit resolution into physical voltage through a process called Digital to Analog Conversion. In short form, it is called DAC. In this case, the Register contact AI/AO (M8011) is used as a trigger to activate the WR3A instruction. WR3A uses to write the data to an analog output channel on an FX3U analog module. It is used to write analog values to an analog output channel connected to the FX3U PLC. Reference : Instrumentationtools

4-20mA Formulas

As seen in the accompanying image, the voltage output of a 4–20 mA transmitter can be transformed to a specific range, from 0 to a maximal amplitude Vmax: I [mA] = ( ( (V − Vmin) / ( Vmax − Vmin) ) × 16 ) + 4 (Voltage to Current) V [Voltage] = ( (I − 4 ) / 16) × ( Vmax − Vmin ) + Vmin (Current to Voltage) PV [units] = ( (I − 4 ) / 16) × ( PVmax − PVmin ) + PVmin (Current to Process Variable) Where, I is the current. V is the voltage. PV is the Process Variable. min is the Lower Range Value of the respective signal. max is the Upper Range Value of the respective signal. Keep in mind that the min and max values and units must match. For Voltage to Current, As an illustration, The output voltage of an analog output card is 3V, and its total range is 0–6V. Determine the corresponding 4–20 mA current value. I = ( ( (V − Vmin) / ( Vmax − Vmin) ) × 16 ) + 4 I = ( ( (3 − 0) / ( 6 − 0) ) × 16 ) + 4 I = 12A Reference : Instrumentationtools

Example of 3-15 psi to 4-20mA Conversion

    Current to Pressure Transducer ကို 4-20 mA ကနေ 3-15 psi ကိုပြောင်းမယ်ဆိုရင်တော့ လွယ်လွယ်ကူးကူးပဲ Scaling လုပ်ပြီး​သုံးရင်ရပါတယ်။     အခုဟာက ဒီ Transducer ကို Direct အစား Reverse Action သုံးပြီးတော့ Analog Scaling ကိုတွက်ပြီးသုံးရမယ်ပေါ့။ Reverse Action ဆိုတာက 15 psi မှာဆိုရင် 4mA ဖြစ်ပြီးတော့ 3 psi မှာဆိုရင် 20mA ဖြစ်တယ်ပေါ့။     Transducer ရဲ့ Output Pressure 12.7 psi မှာဆိုရင်အဲ့ဒီ Current Signal တန်ဖိုးဘယ်လောက်ရှိမလဲဆိုတာတွက်ရပါမယ်။     ကျွန်တော်တို့ဟာ အရင်ပုံစံမျိုးဖြစ်တဲ့ Range Signal ကိုတည်ပြီးတော့ Range Physical Output နဲ့ စားလိုက်တဲ့ Formula ကိုပဲသုံးထားတာပါ။ အဲ့ဒီ Formula က ဘယ်လိုဖြစ်လာလည်းဆိုရင် Signal Output နဲ့ ပြင်ပ Physical Output ရဲ့တန်ဖိုးတွေက တစ်ခုနဲ့တစ်ခု Proportional အချိုးကျကျဖြစ်နေပါတယ်။ အဲ့လိုဖြစ်နေတဲ့အတွက်ကြောင့်မလို့ XY axis Graph နဲ့သုံးလိုက်တဲ့အခါမှာတော့ Linear Equation ပုံစံမျိုးဖြစ်နေတာကိုတွေ့ရပါမယ်။ အဲ့ဒီတော့ ခုနကပြောတဲ့ Range နှစ်ခုကိုစားထဲတဲ့ တန်ဖိုးဟာ တကယ်တော့ Linear Equation ရဲ့ Slope တန...

Gain & Offset

    လောလောဆယ် အရင်ပုံထဲက XY Graph အကြောင်းကိုပဲ အရင်ပြောပါမယ်။ X-Axis က Digital Decimal ကို ကိုယ်စားပြုတာဖြစ်ပြီးတော့ Y-Axis ကတော့ Analog တန်ဖိုးကိုပြောတာပါ။ Analog တန်ဖိုးဆိုတာတွေကတော့ Voltage တို့ Current တို့ကိုပေါ့။ အခုပုံမှာက Maximum Digital ကို 1000 နဲ့ Maximum Analog ကို 5V or 20mA လို့သတ်မှတ်ထားတယ်။ Gain     Gain ကို Digital 1000 မှာရှိတဲ့ Calibration Line ရဲ့ Angle သို့မဟုတ် Slope ပေါ်မူတည်ပြီးတော့ ပြောင်းလဲနိုင်တယ်။ Gain Value အမျိုးအစားကတော့ ၃မျိုးရှိတယ်။ ပုံနဲ့စာ ယှဥ်ကြည့်စေလိုပါတယ်။ a) Small Gain Value b) Zero Gain Value (Default 0-5V or 0-20mA) c) Large Gain Value တို့ဖြစ်တယ်။     Small Gain Value က Digital Reading လုပ်ရင် Step တွေက ကြီးတယ်။ ဥပမာနဲ့ပြောရရင် 0V ကို 0 Digital လို့သတ်မှတ်ပြီးတော့ 5V ကို 1000 လို့သတ်မှတ်မယ်ဆိုပါတော့။ Gain = ( 5 -0 ) / (1000 - 0 ) = 5 / 1000 = 0.005V = 5mV     1 Digital တိုင်းမှာ 5mV ထွက်တယ်လို့ဆိုလိုပါတယ်။     အခု Zero Gain Value ဖြစ်တဲ့ဟာက သူ့နဂို Default အတိုင်းပဲတွက်ရတာ။ 0V ကို 0...